diff --git a/.github/workflows/defaultLabels.yml b/.github/workflows/defaultLabels.yml index 37331b8a..4404d7fe 100644 --- a/.github/workflows/defaultLabels.yml +++ b/.github/workflows/defaultLabels.yml @@ -1,9 +1,9 @@ name: setting-default-labels -# Controls when the action will run. +# Controls when the action will run. on: schedule: - - cron: "0 0/3 * * *" + - cron: "0 0/3 * * *" # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -13,24 +13,23 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - uses: actions/stale@v3 name: Setting issue as idle with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' - stale-issue-label: 'idle' + stale-issue-message: "This issue is idle because it has been open for 14 days with no activity." + stale-issue-label: "idle" days-before-stale: 14 days-before-close: -1 operations-per-run: 100 - exempt-issue-labels: 'backlog' - + exempt-issue-labels: "backlog" + - uses: actions/stale@v3 name: Setting PR as idle with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.' - stale-pr-label: 'idle' + stale-pr-message: "This PR is idle because it has been open for 14 days with no activity." + stale-pr-label: "idle" days-before-stale: 14 days-before-close: -1 operations-per-run: 100 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index cea92bee..a3b1b92f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -2,64 +2,64 @@ name: "Trigger Integration tests" on: pull_request: branches: - - master - - 'releases/*' -jobs: - trigger-integration-tests: - name: Trigger Integration tests - runs-on: ubuntu-latest - env: - HELM_3_8_0: "v3.8.0" - HELM_3_7_2: "v3.7.2" - HELM_3_5_0: "v3.5.0" - PR_BASE_REF: ${{ github.event.pull_request.base.ref }} - steps: - - name: Check out repository - uses: actions/checkout@v2 - - name: npm install and build - id: action-npm-build - run: | - echo $PR_BASE_REF - if [[ $PR_BASE_REF != releases/* ]]; then - npm install - npm run build - fi - - name: Setup helm - uses: ./ - with: - version: ${{ env.HELM_3_8_0 }} - - name: Validate helm 3.8.0 - run: | - if [[ $(helm version) != *$HELM_3_8_0* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" - fi - - name: Setup helm 3.7.2 - uses: ./ - with: - version: ${{ env.HELM_3_7_2 }} - - name: Validate 3.7.2 - run: | - if [[ $(helm version) != *$HELM_3_7_2* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" - fi - - name: Setup helm 3.5.0 - uses: ./ - with: - version: ${{ env.HELM_3_5_0 }} - - name: Validate 3.5.0 - run: | - if [[ $(helm version) != *$HELM_3_5_0* ]]; then - echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" - echo "HELM VERSION OUTPUT: $(helm version)" - exit 1 - else - echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" - fi \ No newline at end of file + - main + - "releases/*" +jobs: + trigger-integration-tests: + name: Trigger Integration tests + runs-on: ubuntu-latest + env: + HELM_3_8_0: "v3.8.0" + HELM_3_7_2: "v3.7.2" + HELM_NO_V: "3.5.0" + PR_BASE_REF: ${{ github.event.pull_request.base.ref }} + steps: + - name: Check out repository + uses: actions/checkout@v2 + - name: npm install and build + id: action-npm-build + run: | + echo $PR_BASE_REF + if [[ $PR_BASE_REF != releases/* ]]; then + npm install + npm run build + fi + - name: Setup helm + uses: ./ + with: + version: ${{ env.HELM_3_8_0 }} + - name: Validate helm 3.8.0 + run: | + if [[ $(helm version) != *$HELM_3_8_0* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.8.0" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_8_0 INSTALLED SUCCESSFULLY" + fi + - name: Setup helm 3.7.2 + uses: ./ + with: + version: ${{ env.HELM_3_7_2 }} + - name: Validate 3.7.2 + run: | + if [[ $(helm version) != *$HELM_3_7_2* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.7.2" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_7_2 INSTALLED SUCCESSFULLY" + fi + - name: Setup helm 3.5.0 with no v in version + uses: ./ + with: + version: ${{ env.HELM_NO_V }} + - name: Validate 3.5.0 without v in version + run: | + if [[ $(helm version) != *$HELM_NO_V* ]]; then + echo "HELM VERSION INCORRECT: HELM VERSION DOES NOT CONTAIN v3.5.0" + echo "HELM VERSION OUTPUT: $(helm version)" + exit 1 + else + echo "HELM VERSION $HELM_3_5_0 INSTALLED SUCCESSFULLY" + fi diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 1b781e69..ed7dd03b 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -1,4 +1,4 @@ -name: "Create release PR" +name: Create release PR on: workflow_dispatch: @@ -8,48 +8,7 @@ on: required: true jobs: - createPullRequest: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Check if remote branch exists - env: - BRANCH: releases/${{ github.event.inputs.release }} - run: | - echo "##[set-output name=exists;]$(echo $(if [[ -z $(git ls-remote --heads origin ${BRANCH}) ]]; then echo false; else echo true; fi;))" - id: extract-branch-status - # these two only need to occur if the branch exists - - name: Checkout proper branch - if: ${{ steps.extract-branch-status.outputs.exists == 'true' }} - env: - BRANCH: releases/${{ github.event.inputs.release }} - run: git checkout ${BRANCH} - - name: Reset promotion branch - if: ${{ steps.extract-branch-status.outputs.exists == 'true' }} - run: | - git fetch origin master:master - git reset --hard master - - name: Install packages - run: | - rm -rf node_modules/ - npm install --no-bin-links - npm run build - - name: Remove node_modules from gitignore - run: | - sed -i '/node_modules/d' ./.gitignore - - name: Create branch - uses: peterjgrainger/action-create-branch@v2.0.1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - branch: releases/${{ github.event.inputs.release }} - - name: Create pull request - uses: peter-evans/create-pull-request@v3 - with: - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: Add node modules and new code for release - title: ${{ github.event.inputs.release }} new release - base: releases/${{ github.event.inputs.release }} - branch: create-release \ No newline at end of file + release-pr: + uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main + with: + release: ${{ github.event.inputs.release }} \ No newline at end of file diff --git a/.github/workflows/tag-and-draft.yml b/.github/workflows/tag-and-draft.yml new file mode 100644 index 00000000..ef653d0e --- /dev/null +++ b/.github/workflows/tag-and-draft.yml @@ -0,0 +1,10 @@ +name: Tag and create release draft + +on: + push: + branches: + - releases/* + +jobs: + tag-and-release: + uses: OliverMKing/javascript-release-workflow/.github/workflows/tag-and-release.yml@main \ No newline at end of file diff --git a/.github/workflows/tag-and-release.yml b/.github/workflows/tag-and-release.yml deleted file mode 100644 index d301a52b..00000000 --- a/.github/workflows/tag-and-release.yml +++ /dev/null @@ -1,77 +0,0 @@ -name: "Tag and create release draft" - -on: - push: - branches: - - releases/* - -jobs: - gh_tagged_release: - runs-on: "ubuntu-latest" - - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: Test release - run: | - sudo npm install n - sudo n latest - npm test - - name: Get branch ending - run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/} | sed 's:.*/::')" - id: extract-branch - - name: Get tags - run: | - echo "##[set-output name=tags;]$(echo $(git tag))" - id: extract-tags - - name: Get latest tag - uses: actions/github-script@v5 - env: - TAGS: ${{ steps.extract-tags.outputs.tags }} - BRANCH: ${{ steps.extract-branch.outputs.branch }} - with: - script: | - const tags = process.env["TAGS"] - .split(" ") - .map((x) => x.trim()); - const branch = process.env["BRANCH"]; - const splitTag = (x) => - x - .substring(branch.length + 1) - .split(".") - .map((x) => Number(x)); - function compareTags(nums1, nums2, position = 0) { - if (nums1.length < position && nums2.length < position) return nums2; - const num1 = splitTag(nums1)[position] || 0; - const num2 = splitTag(nums2)[position] || 0; - if (num1 === num2) return compareTags(nums1, nums2, position + 1); - else if (num1 > num2) return nums1; - else return nums2; - } - const branchTags = tags.filter((tag) => tag.startsWith(branch)); - if (branchTags.length < 1) return branch + ".-1" - return branchTags.reduce((prev, curr) => compareTags(prev, curr)); - result-encoding: string - id: get-latest-tag - - name: Get new tag - uses: actions/github-script@v5 - env: - PREV: ${{ steps.get-latest-tag.outputs.result }} - with: - script: | - let version = process.env["PREV"] - if (!version.includes(".")) version += ".0"; // case of v1 or v2 - const prefix = /^([a-zA-Z]+)/.exec(version)[0]; - const numbers = version.substring(prefix.length); - let split = numbers.split("."); - split[split.length - 1] = parseInt(split[split.length - 1]) + 1; - return prefix + split.join("."); - result-encoding: string - id: get-new-tag - - uses: "marvinpinto/action-automatic-releases@v1.2.1" - with: - title: ${{ steps.get-new-tag.outputs.result }} release - automatic_release_tag: ${{ steps.get-new-tag.outputs.result }} - repo_token: "${{ secrets.GITHUB_TOKEN }}" - draft: true \ No newline at end of file diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index ca4a5d64..6a2f9a64 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -2,20 +2,20 @@ name: "Run unit tests." on: # rebuild any PRs and main branch changes pull_request: branches: - - master - - 'releases/*' + - main + - "releases/*" push: branches: - - master - - 'releases/*' + - main + - "releases/*" jobs: build: # make sure build/ci works properly runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - - name: Run L0 tests. - run: | - npm install - npm test \ No newline at end of file + - uses: actions/checkout@v1 + + - name: Run L0 tests. + run: | + npm install + npm test diff --git a/.gitignore b/.gitignore index c4974ad3..50f5ffb1 100644 --- a/.gitignore +++ b/.gitignore @@ -11,8 +11,6 @@ pids *.seed *.pid.lock -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov # Coverage directory used by tools like istanbul coverage @@ -60,3 +58,5 @@ typings/ .next coverage + +# Transpiled JS diff --git a/__tests__/run.test.ts b/__tests__/run.test.ts deleted file mode 100644 index bdc8573f..00000000 --- a/__tests__/run.test.ts +++ /dev/null @@ -1,174 +0,0 @@ -import * as run from '../src/run' -import * as os from 'os'; -import * as toolCache from '@actions/tool-cache'; -import * as fs from 'fs'; -import * as path from 'path'; -import * as core from '@actions/core'; - -describe('run.ts', () => { - test('getExecutableExtension() - return .exe when os is Windows', () => { - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - - expect(run.getExecutableExtension()).toBe('.exe'); - expect(os.type).toBeCalled(); - }); - - test('getExecutableExtension() - return empty string for non-windows OS', () => { - jest.spyOn(os, 'type').mockReturnValue('Darwin'); - - expect(run.getExecutableExtension()).toBe(''); - expect(os.type).toBeCalled(); - }); - - test('getHelmDownloadURL() - return the URL to download helm for Linux', () => { - jest.spyOn(os, 'type').mockReturnValue('Linux'); - const kubectlLinuxUrl = 'https://get.helm.sh/helm-v3.8.0-linux-amd64.zip' - - expect(run.getHelmDownloadURL('v3.8.0')).toBe(kubectlLinuxUrl); - expect(os.type).toBeCalled(); - }); - - test('getHelmDownloadURL() - return the URL to download helm for Darwin', () => { - jest.spyOn(os, 'type').mockReturnValue('Darwin'); - const kubectlDarwinUrl = 'https://get.helm.sh/helm-v3.8.0-darwin-amd64.zip' - - expect(run.getHelmDownloadURL('v3.8.0')).toBe(kubectlDarwinUrl); - expect(os.type).toBeCalled(); - }); - - test('getHelmDownloadURL() - return the URL to download helm for Windows', () => { - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - - const kubectlWindowsUrl = 'https://get.helm.sh/helm-v3.8.0-windows-amd64.zip' - expect(run.getHelmDownloadURL('v3.8.0')).toBe(kubectlWindowsUrl); - expect(os.type).toBeCalled(); - }); - - test('getLatestHelmVersion() - return the latest version of HELM', async () => { - try{ - expect(await run.getLatestHelmVersion()).toBe("v3.8.0"); - } catch (e){ - return e; - } - }); - - test('walkSync() - return path to the all files matching fileToFind in dir', () => { - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => { - if (file == 'mainFolder') return ['file1' as unknown as fs.Dirent, 'file2' as unknown as fs.Dirent, 'folder1' as unknown as fs.Dirent, 'folder2' as unknown as fs.Dirent]; - if (file == path.join('mainFolder', 'folder1')) return ['file11' as unknown as fs.Dirent, 'file12' as unknown as fs.Dirent]; - if (file == path.join('mainFolder', 'folder2')) return ['file21' as unknown as fs.Dirent, 'file22' as unknown as fs.Dirent]; - }); - jest.spyOn(core, 'debug').mockImplementation(); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { - const isDirectory = (file as string).toLowerCase().indexOf('file') == -1 ? true: false - return { isDirectory: () => isDirectory } as fs.Stats; - }); - - expect(run.walkSync('mainFolder', null, 'file21')).toEqual([path.join('mainFolder', 'folder2', 'file21')]); - expect(fs.readdirSync).toBeCalledTimes(3); - expect(fs.statSync).toBeCalledTimes(8); - }); - - test('walkSync() - return empty array if no file with name fileToFind exists', () => { - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => { - if (file == 'mainFolder') return ['file1' as unknown as fs.Dirent, 'file2' as unknown as fs.Dirent, 'folder1' as unknown as fs.Dirent, 'folder2' as unknown as fs.Dirent]; - if (file == path.join('mainFolder', 'folder1')) return ['file11' as unknown as fs.Dirent, 'file12' as unknown as fs.Dirent]; - if (file == path.join('mainFolder', 'folder2')) return ['file21' as unknown as fs.Dirent, 'file22' as unknown as fs.Dirent]; - }); - jest.spyOn(core, 'debug').mockImplementation(); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { - const isDirectory = (file as string).toLowerCase().indexOf('file') == -1 ? true: false - return { isDirectory: () => isDirectory } as fs.Stats; - }); - - expect(run.walkSync('mainFolder', null, 'helm.exe')).toEqual([]); - expect(fs.readdirSync).toBeCalledTimes(3); - expect(fs.statSync).toBeCalledTimes(8); - }); - - test('findHelm() - change access permissions and find the helm in given directory', () => { - jest.spyOn(fs, 'chmodSync').mockImplementation(() => {}); - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => { - if (file == 'mainFolder') return ['helm.exe' as unknown as fs.Dirent]; - }); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { - const isDirectory = (file as string).indexOf('folder') == -1 ? false: true - return { isDirectory: () => isDirectory } as fs.Stats; - }); - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - - expect(run.findHelm('mainFolder')).toBe(path.join('mainFolder', 'helm.exe')); - }); - - test('findHelm() - throw error if executable not found', () => { - jest.spyOn(fs, 'chmodSync').mockImplementation(() => {}); - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => { - if (file == 'mainFolder') return []; - }); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { return { isDirectory: () => true } as fs.Stats}); - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - expect(() => run.findHelm('mainFolder')).toThrow('Helm executable not found in path mainFolder'); - }); - - test('downloadHelm() - download helm and return path to it', async () => { - jest.spyOn(toolCache, 'find').mockReturnValue(''); - jest.spyOn(toolCache, 'downloadTool').mockResolvedValue('pathToTool'); - const response = JSON.stringify([{'tag_name': 'v4.0.0'}]); - jest.spyOn(fs, 'readFileSync').mockReturnValue(response); - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - jest.spyOn(fs, 'chmodSync').mockImplementation(() => {}); - jest.spyOn(toolCache, 'extractZip').mockResolvedValue('pathToUnzippedHelm'); - jest.spyOn(toolCache, 'cacheDir').mockResolvedValue('pathToCachedDir'); - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => ['helm.exe' as unknown as fs.Dirent]); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { - const isDirectory = (file as string).indexOf('folder') == -1 ? false: true - return { isDirectory: () => isDirectory } as fs.Stats; - }); - - expect(await run.downloadHelm("v4.0.0")).toBe(path.join('pathToCachedDir', 'helm.exe')); - expect(toolCache.find).toBeCalledWith('helm', 'v4.0.0'); - expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v4.0.0-windows-amd64.zip'); - expect(fs.chmodSync).toBeCalledWith('pathToTool', '777'); - expect(toolCache.extractZip).toBeCalledWith('pathToTool'); - expect(fs.chmodSync).toBeCalledWith(path.join('pathToCachedDir', 'helm.exe'), '777'); - }); - - test('downloadHelm() - throw error if unable to download', async () => { - jest.spyOn(toolCache, 'find').mockReturnValue(''); - jest.spyOn(toolCache, 'downloadTool').mockImplementation(async () => { throw 'Unable to download'}); - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - - await expect(run.downloadHelm('v3.2.1')).rejects.toThrow('Failed to download Helm from location https://get.helm.sh/helm-v3.2.1-windows-amd64.zip'); - expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1'); - expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v3.2.1-windows-amd64.zip'); - }); - - test('downloadHelm() - return path to helm tool with same version from toolCache', async () => { - jest.spyOn(toolCache, 'find').mockReturnValue('pathToCachedDir'); - jest.spyOn(fs, 'chmodSync').mockImplementation(() => {}); - - expect(await run.downloadHelm('v3.2.1')).toBe(path.join('pathToCachedDir', 'helm.exe')); - expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1'); - expect(fs.chmodSync).toBeCalledWith(path.join('pathToCachedDir', 'helm.exe'), '777'); - }); - - test('downloadHelm() - throw error is helm is not found in path', async () => { - jest.spyOn(toolCache, 'find').mockReturnValue(''); - jest.spyOn(toolCache, 'downloadTool').mockResolvedValue('pathToTool'); - jest.spyOn(os, 'type').mockReturnValue('Windows_NT'); - jest.spyOn(fs, 'chmodSync').mockImplementation(); - jest.spyOn(toolCache, 'extractZip').mockResolvedValue('pathToUnzippedHelm'); - jest.spyOn(toolCache, 'cacheDir').mockResolvedValue('pathToCachedDir'); - jest.spyOn(fs, 'readdirSync').mockImplementation((file, _) => []); - jest.spyOn(fs, 'statSync').mockImplementation((file) => { - const isDirectory = (file as string).indexOf('folder') == -1 ? false: true - return { isDirectory: () => isDirectory } as fs.Stats; - }); - - await expect(run.downloadHelm('v3.2.1')).rejects.toThrow('Helm executable not found in path pathToCachedDir'); - expect(toolCache.find).toBeCalledWith('helm', 'v3.2.1'); - expect(toolCache.downloadTool).toBeCalledWith('https://get.helm.sh/helm-v3.2.1-windows-amd64.zip'); - expect(fs.chmodSync).toBeCalledWith('pathToTool', '777'); - expect(toolCache.extractZip).toBeCalledWith('pathToTool'); - }); -}); \ No newline at end of file diff --git a/action.yml b/action.yml index 36870399..9e696272 100644 --- a/action.yml +++ b/action.yml @@ -1,15 +1,15 @@ -name: 'Helm tool installer' -description: 'Install a specific version of helm binary. Acceptable values are latest or any semantic version string like 1.15.0' +name: "Helm tool installer" +description: "Install a specific version of helm binary. Acceptable values are latest or any semantic version string like 1.15.0" inputs: version: - description: 'Version of helm' + description: "Version of helm" required: true - default: 'latest' + default: "latest" outputs: helm-path: - description: 'Path to the cached helm binary' + description: "Path to the cached helm binary" branding: - color: 'blue' + color: "blue" runs: - using: 'node12' - main: 'lib/run.js' \ No newline at end of file + using: "node12" + main: "lib/index.js" diff --git a/lib/index.js b/lib/index.js new file mode 100644 index 00000000..40c4f886 --- /dev/null +++ b/lib/index.js @@ -0,0 +1,8094 @@ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 5350: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.issue = exports.issueCommand = void 0; +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(7369); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +function escapeData(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return utils_1.toCommandValue(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map + +/***/ }), + +/***/ 6024: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; +const command_1 = __nccwpck_require__(5350); +const file_command_1 = __nccwpck_require__(8466); +const utils_1 = __nccwpck_require__(7369); +const os = __importStar(__nccwpck_require__(2037)); +const path = __importStar(__nccwpck_require__(1017)); +const oidc_utils_1 = __nccwpck_require__(7557); +/** + * The code to exit an action + */ +var ExitCode; +(function (ExitCode) { + /** + * A code indicating that the action was successful + */ + ExitCode[ExitCode["Success"] = 0] = "Success"; + /** + * A code indicating that the action was a failure + */ + ExitCode[ExitCode["Failure"] = 1] = "Failure"; +})(ExitCode = exports.ExitCode || (exports.ExitCode = {})); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function exportVariable(name, val) { + const convertedVal = utils_1.toCommandValue(val); + process.env[name] = convertedVal; + const filePath = process.env['GITHUB_ENV'] || ''; + if (filePath) { + const delimiter = '_GitHubActionsFileCommandDelimeter_'; + const commandValue = `${name}<<${delimiter}${os.EOL}${convertedVal}${os.EOL}${delimiter}`; + file_command_1.issueCommand('ENV', commandValue); + } + else { + command_1.issueCommand('set-env', { name }, convertedVal); + } +} +exports.exportVariable = exportVariable; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +function setSecret(secret) { + command_1.issueCommand('add-mask', {}, secret); +} +exports.setSecret = setSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + const filePath = process.env['GITHUB_PATH'] || ''; + if (filePath) { + file_command_1.issueCommand('PATH', inputPath); + } + else { + command_1.issueCommand('add-path', {}, inputPath); + } + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + if (options && options.trimWhitespace === false) { + return val; + } + return val.trim(); +} +exports.getInput = getInput; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +function getMultilineInput(name, options) { + const inputs = getInput(name, options) + .split('\n') + .filter(x => x !== ''); + return inputs; +} +exports.getMultilineInput = getMultilineInput; +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +function getBooleanInput(name, options) { + const trueValue = ['true', 'True', 'TRUE']; + const falseValue = ['false', 'False', 'FALSE']; + const val = getInput(name, options); + if (trueValue.includes(val)) + return true; + if (falseValue.includes(val)) + return false; + throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); +} +exports.getBooleanInput = getBooleanInput; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setOutput(name, value) { + process.stdout.write(os.EOL); + command_1.issueCommand('set-output', { name }, value); +} +exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + command_1.issueCommand('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function error(message, properties = {}) { + command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.error = error; +/** + * Adds a warning issue + * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function warning(message, properties = {}) { + command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.warning = warning; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function notice(message, properties = {}) { + command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message); +} +exports.notice = notice; +/** + * Writes info to log with console.log. + * @param message info message + */ +function info(message) { + process.stdout.write(message + os.EOL); +} +exports.info = info; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +function startGroup(name) { + command_1.issue('group', name); +} +exports.startGroup = startGroup; +/** + * End an output group. + */ +function endGroup() { + command_1.issue('endgroup'); +} +exports.endGroup = endGroup; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +function group(name, fn) { + return __awaiter(this, void 0, void 0, function* () { + startGroup(name); + let result; + try { + result = yield fn(); + } + finally { + endGroup(); + } + return result; + }); +} +exports.group = group; +//----------------------------------------------------------------------- +// Wrapper action state +//----------------------------------------------------------------------- +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function saveState(name, value) { + command_1.issueCommand('save-state', { name }, value); +} +exports.saveState = saveState; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +function getState(name) { + return process.env[`STATE_${name}`] || ''; +} +exports.getState = getState; +function getIDToken(aud) { + return __awaiter(this, void 0, void 0, function* () { + return yield oidc_utils_1.OidcClient.getIDToken(aud); + }); +} +exports.getIDToken = getIDToken; +//# sourceMappingURL=core.js.map + +/***/ }), + +/***/ 8466: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// For internal use, subject to change. +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.issueCommand = void 0; +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +const fs = __importStar(__nccwpck_require__(7147)); +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(7369); +function issueCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueCommand = issueCommand; +//# sourceMappingURL=file-command.js.map + +/***/ }), + +/***/ 7557: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OidcClient = void 0; +const http_client_1 = __nccwpck_require__(9628); +const auth_1 = __nccwpck_require__(4946); +const core_1 = __nccwpck_require__(6024); +class OidcClient { + static createHttpClient(allowRetry = true, maxRetry = 10) { + const requestOptions = { + allowRetries: allowRetry, + maxRetries: maxRetry + }; + return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions); + } + static getRequestToken() { + const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']; + if (!token) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'); + } + return token; + } + static getIDTokenUrl() { + const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']; + if (!runtimeUrl) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable'); + } + return runtimeUrl; + } + static getCall(id_token_url) { + var _a; + return __awaiter(this, void 0, void 0, function* () { + const httpclient = OidcClient.createHttpClient(); + const res = yield httpclient + .getJson(id_token_url) + .catch(error => { + throw new Error(`Failed to get ID Token. \n + Error Code : ${error.statusCode}\n + Error Message: ${error.result.message}`); + }); + const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; + if (!id_token) { + throw new Error('Response json body do not have ID Token field'); + } + return id_token; + }); + } + static getIDToken(audience) { + return __awaiter(this, void 0, void 0, function* () { + try { + // New ID Token is requested from action service + let id_token_url = OidcClient.getIDTokenUrl(); + if (audience) { + const encodedAudience = encodeURIComponent(audience); + id_token_url = `${id_token_url}&audience=${encodedAudience}`; + } + core_1.debug(`ID token url is ${id_token_url}`); + const id_token = yield OidcClient.getCall(id_token_url); + core_1.setSecret(id_token); + return id_token; + } + catch (error) { + throw new Error(`Error message: ${error.message}`); + } + }); + } +} +exports.OidcClient = OidcClient; +//# sourceMappingURL=oidc-utils.js.map + +/***/ }), + +/***/ 7369: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toCommandProperties = exports.toCommandValue = void 0; +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +function toCommandProperties(annotationProperties) { + if (!Object.keys(annotationProperties).length) { + return {}; + } + return { + title: annotationProperties.title, + file: annotationProperties.file, + line: annotationProperties.startLine, + endLine: annotationProperties.endLine, + col: annotationProperties.startColumn, + endColumn: annotationProperties.endColumn + }; +} +exports.toCommandProperties = toCommandProperties; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 2423: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getExecOutput = exports.exec = void 0; +const string_decoder_1 = __nccwpck_require__(1576); +const tr = __importStar(__nccwpck_require__(9216)); +/** + * Exec a command. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code + */ +function exec(commandLine, args, options) { + return __awaiter(this, void 0, void 0, function* () { + const commandArgs = tr.argStringToArray(commandLine); + if (commandArgs.length === 0) { + throw new Error(`Parameter 'commandLine' cannot be null or empty.`); + } + // Path to tool to execute should be first arg + const toolPath = commandArgs[0]; + args = commandArgs.slice(1).concat(args || []); + const runner = new tr.ToolRunner(toolPath, args, options); + return runner.exec(); + }); +} +exports.exec = exec; +/** + * Exec a command and get the output. + * Output will be streamed to the live console. + * Returns promise with the exit code and collected stdout and stderr + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code, stdout, and stderr + */ +function getExecOutput(commandLine, args, options) { + var _a, _b; + return __awaiter(this, void 0, void 0, function* () { + let stdout = ''; + let stderr = ''; + //Using string decoder covers the case where a mult-byte character is split + const stdoutDecoder = new string_decoder_1.StringDecoder('utf8'); + const stderrDecoder = new string_decoder_1.StringDecoder('utf8'); + const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout; + const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr; + const stdErrListener = (data) => { + stderr += stderrDecoder.write(data); + if (originalStdErrListener) { + originalStdErrListener(data); + } + }; + const stdOutListener = (data) => { + stdout += stdoutDecoder.write(data); + if (originalStdoutListener) { + originalStdoutListener(data); + } + }; + const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener }); + const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners })); + //flush any remaining characters + stdout += stdoutDecoder.end(); + stderr += stderrDecoder.end(); + return { + exitCode, + stdout, + stderr + }; + }); +} +exports.getExecOutput = getExecOutput; +//# sourceMappingURL=exec.js.map + +/***/ }), + +/***/ 9216: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.argStringToArray = exports.ToolRunner = void 0; +const os = __importStar(__nccwpck_require__(2037)); +const events = __importStar(__nccwpck_require__(2361)); +const child = __importStar(__nccwpck_require__(2081)); +const path = __importStar(__nccwpck_require__(1017)); +const io = __importStar(__nccwpck_require__(6202)); +const ioUtil = __importStar(__nccwpck_require__(6120)); +const timers_1 = __nccwpck_require__(9512); +/* eslint-disable @typescript-eslint/unbound-method */ +const IS_WINDOWS = process.platform === 'win32'; +/* + * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way. + */ +class ToolRunner extends events.EventEmitter { + constructor(toolPath, args, options) { + super(); + if (!toolPath) { + throw new Error("Parameter 'toolPath' cannot be null or empty."); + } + this.toolPath = toolPath; + this.args = args || []; + this.options = options || {}; + } + _debug(message) { + if (this.options.listeners && this.options.listeners.debug) { + this.options.listeners.debug(message); + } + } + _getCommandString(options, noPrefix) { + const toolPath = this._getSpawnFileName(); + const args = this._getSpawnArgs(options); + let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool + if (IS_WINDOWS) { + // Windows + cmd file + if (this._isCmdFile()) { + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows + verbatim + else if (options.windowsVerbatimArguments) { + cmd += `"${toolPath}"`; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows (regular) + else { + cmd += this._windowsQuoteCmdArg(toolPath); + for (const a of args) { + cmd += ` ${this._windowsQuoteCmdArg(a)}`; + } + } + } + else { + // OSX/Linux - this can likely be improved with some form of quoting. + // creating processes on Unix is fundamentally different than Windows. + // on Unix, execvp() takes an arg array. + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + return cmd; + } + _processLineBuffer(data, strBuffer, onLine) { + try { + let s = strBuffer + data.toString(); + let n = s.indexOf(os.EOL); + while (n > -1) { + const line = s.substring(0, n); + onLine(line); + // the rest of the string ... + s = s.substring(n + os.EOL.length); + n = s.indexOf(os.EOL); + } + return s; + } + catch (err) { + // streaming lines to console is best effort. Don't fail a build. + this._debug(`error processing line. Failed with error ${err}`); + return ''; + } + } + _getSpawnFileName() { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + return process.env['COMSPEC'] || 'cmd.exe'; + } + } + return this.toolPath; + } + _getSpawnArgs(options) { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`; + for (const a of this.args) { + argline += ' '; + argline += options.windowsVerbatimArguments + ? a + : this._windowsQuoteCmdArg(a); + } + argline += '"'; + return [argline]; + } + } + return this.args; + } + _endsWith(str, end) { + return str.endsWith(end); + } + _isCmdFile() { + const upperToolPath = this.toolPath.toUpperCase(); + return (this._endsWith(upperToolPath, '.CMD') || + this._endsWith(upperToolPath, '.BAT')); + } + _windowsQuoteCmdArg(arg) { + // for .exe, apply the normal quoting rules that libuv applies + if (!this._isCmdFile()) { + return this._uvQuoteCmdArg(arg); + } + // otherwise apply quoting rules specific to the cmd.exe command line parser. + // the libuv rules are generic and are not designed specifically for cmd.exe + // command line parser. + // + // for a detailed description of the cmd.exe command line parser, refer to + // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912 + // need quotes for empty arg + if (!arg) { + return '""'; + } + // determine whether the arg needs to be quoted + const cmdSpecialChars = [ + ' ', + '\t', + '&', + '(', + ')', + '[', + ']', + '{', + '}', + '^', + '=', + ';', + '!', + "'", + '+', + ',', + '`', + '~', + '|', + '<', + '>', + '"' + ]; + let needsQuotes = false; + for (const char of arg) { + if (cmdSpecialChars.some(x => x === char)) { + needsQuotes = true; + break; + } + } + // short-circuit if quotes not needed + if (!needsQuotes) { + return arg; + } + // the following quoting rules are very similar to the rules that by libuv applies. + // + // 1) wrap the string in quotes + // + // 2) double-up quotes - i.e. " => "" + // + // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately + // doesn't work well with a cmd.exe command line. + // + // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app. + // for example, the command line: + // foo.exe "myarg:""my val""" + // is parsed by a .NET console app into an arg array: + // [ "myarg:\"my val\"" ] + // which is the same end result when applying libuv quoting rules. although the actual + // command line from libuv quoting rules would look like: + // foo.exe "myarg:\"my val\"" + // + // 3) double-up slashes that precede a quote, + // e.g. hello \world => "hello \world" + // hello\"world => "hello\\""world" + // hello\\"world => "hello\\\\""world" + // hello world\ => "hello world\\" + // + // technically this is not required for a cmd.exe command line, or the batch argument parser. + // the reasons for including this as a .cmd quoting rule are: + // + // a) this is optimized for the scenario where the argument is passed from the .cmd file to an + // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule. + // + // b) it's what we've been doing previously (by deferring to node default behavior) and we + // haven't heard any complaints about that aspect. + // + // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be + // escaped when used on the command line directly - even though within a .cmd file % can be escaped + // by using %%. + // + // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts + // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing. + // + // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would + // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the + // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args + // to an external program. + // + // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file. + // % can be escaped within a .cmd file. + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; // double the slash + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '"'; // double the quote + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _uvQuoteCmdArg(arg) { + // Tool runner wraps child_process.spawn() and needs to apply the same quoting as + // Node in certain cases where the undocumented spawn option windowsVerbatimArguments + // is used. + // + // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV, + // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details), + // pasting copyright notice from Node within this function: + // + // Copyright Joyent, Inc. and other Node contributors. All rights reserved. + // + // Permission is hereby granted, free of charge, to any person obtaining a copy + // of this software and associated documentation files (the "Software"), to + // deal in the Software without restriction, including without limitation the + // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + // sell copies of the Software, and to permit persons to whom the Software is + // furnished to do so, subject to the following conditions: + // + // The above copyright notice and this permission notice shall be included in + // all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + // IN THE SOFTWARE. + if (!arg) { + // Need double quotation for empty argument + return '""'; + } + if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) { + // No quotation needed + return arg; + } + if (!arg.includes('"') && !arg.includes('\\')) { + // No embedded double quotes or backslashes, so I can just wrap + // quote marks around the whole thing. + return `"${arg}"`; + } + // Expected input/output: + // input : hello"world + // output: "hello\"world" + // input : hello""world + // output: "hello\"\"world" + // input : hello\world + // output: hello\world + // input : hello\\world + // output: hello\\world + // input : hello\"world + // output: "hello\\\"world" + // input : hello\\"world + // output: "hello\\\\\"world" + // input : hello world\ + // output: "hello world\\" - note the comment in libuv actually reads "hello world\" + // but it appears the comment is wrong, it should be "hello world\\" + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '\\'; + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _cloneExecOptions(options) { + options = options || {}; + const result = { + cwd: options.cwd || process.cwd(), + env: options.env || process.env, + silent: options.silent || false, + windowsVerbatimArguments: options.windowsVerbatimArguments || false, + failOnStdErr: options.failOnStdErr || false, + ignoreReturnCode: options.ignoreReturnCode || false, + delay: options.delay || 10000 + }; + result.outStream = options.outStream || process.stdout; + result.errStream = options.errStream || process.stderr; + return result; + } + _getSpawnOptions(options, toolPath) { + options = options || {}; + const result = {}; + result.cwd = options.cwd; + result.env = options.env; + result['windowsVerbatimArguments'] = + options.windowsVerbatimArguments || this._isCmdFile(); + if (options.windowsVerbatimArguments) { + result.argv0 = `"${toolPath}"`; + } + return result; + } + /** + * Exec a tool. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param tool path to tool to exec + * @param options optional exec options. See ExecOptions + * @returns number + */ + exec() { + return __awaiter(this, void 0, void 0, function* () { + // root the tool path if it is unrooted and contains relative pathing + if (!ioUtil.isRooted(this.toolPath) && + (this.toolPath.includes('/') || + (IS_WINDOWS && this.toolPath.includes('\\')))) { + // prefer options.cwd if it is specified, however options.cwd may also need to be rooted + this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath); + } + // if the tool is only a file name, then resolve it from the PATH + // otherwise verify it exists (add extension on Windows if necessary) + this.toolPath = yield io.which(this.toolPath, true); + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + this._debug(`exec tool: ${this.toolPath}`); + this._debug('arguments:'); + for (const arg of this.args) { + this._debug(` ${arg}`); + } + const optionsNonNull = this._cloneExecOptions(this.options); + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL); + } + const state = new ExecState(optionsNonNull, this.toolPath); + state.on('debug', (message) => { + this._debug(message); + }); + if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) { + return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`)); + } + const fileName = this._getSpawnFileName(); + const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName)); + let stdbuffer = ''; + if (cp.stdout) { + cp.stdout.on('data', (data) => { + if (this.options.listeners && this.options.listeners.stdout) { + this.options.listeners.stdout(data); + } + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(data); + } + stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => { + if (this.options.listeners && this.options.listeners.stdline) { + this.options.listeners.stdline(line); + } + }); + }); + } + let errbuffer = ''; + if (cp.stderr) { + cp.stderr.on('data', (data) => { + state.processStderr = true; + if (this.options.listeners && this.options.listeners.stderr) { + this.options.listeners.stderr(data); + } + if (!optionsNonNull.silent && + optionsNonNull.errStream && + optionsNonNull.outStream) { + const s = optionsNonNull.failOnStdErr + ? optionsNonNull.errStream + : optionsNonNull.outStream; + s.write(data); + } + errbuffer = this._processLineBuffer(data, errbuffer, (line) => { + if (this.options.listeners && this.options.listeners.errline) { + this.options.listeners.errline(line); + } + }); + }); + } + cp.on('error', (err) => { + state.processError = err.message; + state.processExited = true; + state.processClosed = true; + state.CheckComplete(); + }); + cp.on('exit', (code) => { + state.processExitCode = code; + state.processExited = true; + this._debug(`Exit code ${code} received from tool '${this.toolPath}'`); + state.CheckComplete(); + }); + cp.on('close', (code) => { + state.processExitCode = code; + state.processExited = true; + state.processClosed = true; + this._debug(`STDIO streams have closed for tool '${this.toolPath}'`); + state.CheckComplete(); + }); + state.on('done', (error, exitCode) => { + if (stdbuffer.length > 0) { + this.emit('stdline', stdbuffer); + } + if (errbuffer.length > 0) { + this.emit('errline', errbuffer); + } + cp.removeAllListeners(); + if (error) { + reject(error); + } + else { + resolve(exitCode); + } + }); + if (this.options.input) { + if (!cp.stdin) { + throw new Error('child process missing stdin'); + } + cp.stdin.end(this.options.input); + } + })); + }); + } +} +exports.ToolRunner = ToolRunner; +/** + * Convert an arg string to an array of args. Handles escaping + * + * @param argString string of arguments + * @returns string[] array of arguments + */ +function argStringToArray(argString) { + const args = []; + let inQuotes = false; + let escaped = false; + let arg = ''; + function append(c) { + // we only escape double quotes. + if (escaped && c !== '"') { + arg += '\\'; + } + arg += c; + escaped = false; + } + for (let i = 0; i < argString.length; i++) { + const c = argString.charAt(i); + if (c === '"') { + if (!escaped) { + inQuotes = !inQuotes; + } + else { + append(c); + } + continue; + } + if (c === '\\' && escaped) { + append(c); + continue; + } + if (c === '\\' && inQuotes) { + escaped = true; + continue; + } + if (c === ' ' && !inQuotes) { + if (arg.length > 0) { + args.push(arg); + arg = ''; + } + continue; + } + append(c); + } + if (arg.length > 0) { + args.push(arg.trim()); + } + return args; +} +exports.argStringToArray = argStringToArray; +class ExecState extends events.EventEmitter { + constructor(options, toolPath) { + super(); + this.processClosed = false; // tracks whether the process has exited and stdio is closed + this.processError = ''; + this.processExitCode = 0; + this.processExited = false; // tracks whether the process has exited + this.processStderr = false; // tracks whether stderr was written to + this.delay = 10000; // 10 seconds + this.done = false; + this.timeout = null; + if (!toolPath) { + throw new Error('toolPath must not be empty'); + } + this.options = options; + this.toolPath = toolPath; + if (options.delay) { + this.delay = options.delay; + } + } + CheckComplete() { + if (this.done) { + return; + } + if (this.processClosed) { + this._setResult(); + } + else if (this.processExited) { + this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this); + } + } + _debug(message) { + this.emit('debug', message); + } + _setResult() { + // determine whether there is an error + let error; + if (this.processExited) { + if (this.processError) { + error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`); + } + else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) { + error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`); + } + else if (this.processStderr && this.options.failOnStdErr) { + error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`); + } + } + // clear the timeout + if (this.timeout) { + clearTimeout(this.timeout); + this.timeout = null; + } + this.done = true; + this.emit('done', error, this.processExitCode); + } + static HandleTimeout(state) { + if (state.done) { + return; + } + if (!state.processClosed && state.processExited) { + const message = `The STDIO streams did not close within ${state.delay / + 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; + state._debug(message); + } + state._setResult(); + } +} +//# sourceMappingURL=toolrunner.js.map + +/***/ }), + +/***/ 4946: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +class BasicCredentialHandler { + constructor(username, password) { + this.username = username; + this.password = password; + } + prepareRequest(options) { + options.headers['Authorization'] = + 'Basic ' + + Buffer.from(this.username + ':' + this.password).toString('base64'); + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.BasicCredentialHandler = BasicCredentialHandler; +class BearerCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + options.headers['Authorization'] = 'Bearer ' + this.token; + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.BearerCredentialHandler = BearerCredentialHandler; +class PersonalAccessTokenCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + options.headers['Authorization'] = + 'Basic ' + Buffer.from('PAT:' + this.token).toString('base64'); + } + // This handler cannot handle 401 + canHandleAuthentication(response) { + return false; + } + handleAuthentication(httpClient, requestInfo, objs) { + return null; + } +} +exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; + + +/***/ }), + +/***/ 9628: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +const http = __nccwpck_require__(3685); +const https = __nccwpck_require__(5687); +const pm = __nccwpck_require__(6305); +let tunnel; +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +var Headers; +(function (Headers) { + Headers["Accept"] = "accept"; + Headers["ContentType"] = "content-type"; +})(Headers = exports.Headers || (exports.Headers = {})); +var MediaTypes; +(function (MediaTypes) { + MediaTypes["ApplicationJson"] = "application/json"; +})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {})); +/** + * Returns the proxy URL, depending upon the supplied url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ +function getProxyUrl(serverUrl) { + let proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + return proxyUrl ? proxyUrl.href : ''; +} +exports.getProxyUrl = getProxyUrl; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientError extends Error { + constructor(message, statusCode) { + super(message); + this.name = 'HttpClientError'; + this.statusCode = statusCode; + Object.setPrototypeOf(this, HttpClientError.prototype); + } +} +exports.HttpClientError = HttpClientError; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return new Promise(async (resolve, reject) => { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + }); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + let parsedUrl = new URL(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + } + get(requestUrl, additionalHeaders) { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + } + del(requestUrl, additionalHeaders) { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + } + post(requestUrl, data, additionalHeaders) { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + } + patch(requestUrl, data, additionalHeaders) { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + } + put(requestUrl, data, additionalHeaders) { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + } + head(requestUrl, additionalHeaders) { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return this.request(verb, requestUrl, stream, additionalHeaders); + } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ + async getJson(requestUrl, additionalHeaders = {}) { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + let res = await this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async postJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async putJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + async patchJson(requestUrl, obj, additionalHeaders = {}) { + let data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + let res = await this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + async request(verb, requestUrl, data, headers) { + if (this._disposed) { + throw new Error('Client has already been disposed.'); + } + let parsedUrl = new URL(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + while (numTries < maxTries) { + response = await this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (let i = 0; i < this.handlers.length; i++) { + if (this.handlers[i].canHandleAuthentication(response)) { + authenticationHandler = this.handlers[i]; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + let parsedRedirectUrl = new URL(redirectUrl); + if (parsedUrl.protocol == 'https:' && + parsedUrl.protocol != parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + await response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (let header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = await this.requestRaw(info, data); + redirectsRemaining--; + } + if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + await response.readBody(); + await this._performExponentialBackoff(numTries); + } + } + return response; + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return new Promise((resolve, reject) => { + let callbackForResult = function (err, res) { + if (err) { + reject(err); + } + resolve(res); + }; + this.requestRawWithCallback(info, data, callbackForResult); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + let socket; + if (typeof data === 'string') { + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + let handleResult = (err, res) => { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + }; + let req = info.httpModule.request(info.options, (msg) => { + let res = new HttpClientResponse(msg); + handleResult(null, res); + }); + req.on('socket', sock => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.end(); + } + handleResult(new Error('Request timeout: ' + info.options.path), null); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err, null); + }); + if (data && typeof data === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof data !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ + getAgent(serverUrl) { + let parsedUrl = new URL(serverUrl); + return this._getAgent(parsedUrl); + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers['user-agent'] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers) { + this.handlers.forEach(handler => { + handler.prepareRequest(info.options); + }); + } + return info; + } + _mergeHeaders(headers) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + } + return lowercaseKeys(headers || {}); + } + _getExistingOrDefaultHeader(additionalHeaders, header, _default) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + } + return additionalHeaders[header] || clientHeader || _default; + } + _getAgent(parsedUrl) { + let agent; + let proxyUrl = pm.getProxyUrl(parsedUrl); + let useProxy = proxyUrl && proxyUrl.hostname; + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (!!agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (!!this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + if (useProxy) { + // If using proxy, need tunnel + if (!tunnel) { + tunnel = __nccwpck_require__(9958); + } + const agentOptions = { + maxSockets: maxSockets, + keepAlive: this._keepAlive, + proxy: { + ...((proxyUrl.username || proxyUrl.password) && { + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` + }), + host: proxyUrl.hostname, + port: proxyUrl.port + } + }; + let tunnelAgent; + const overHttps = proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); + } + return agent; + } + _performExponentialBackoff(retryNumber) { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + } + static dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + let a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } + } + return value; + } + async _processResponse(res, options) { + return new Promise(async (resolve, reject) => { + const statusCode = res.message.statusCode; + const response = { + statusCode: statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode == HttpCodes.NotFound) { + resolve(response); + } + let obj; + let contents; + // get the result from the body + try { + contents = await res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, HttpClient.dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; + } + response.headers = res.message.headers; + } + catch (err) { + // Invalid resource (contents not json); leaving result obj null + } + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = 'Failed request: (' + statusCode + ')'; + } + let err = new HttpClientError(msg, statusCode); + err.result = response.result; + reject(err); + } + else { + resolve(response); + } + }); + } +} +exports.HttpClient = HttpClient; + + +/***/ }), + +/***/ 6305: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +function getProxyUrl(reqUrl) { + let usingSsl = reqUrl.protocol === 'https:'; + let proxyUrl; + if (checkBypass(reqUrl)) { + return proxyUrl; + } + let proxyVar; + if (usingSsl) { + proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + if (proxyVar) { + proxyUrl = new URL(proxyVar); + } + return proxyUrl; +} +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + let upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (let upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperReqHosts.some(x => x === upperNoProxyItem)) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; + + +/***/ }), + +/***/ 6120: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__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); } } + 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 _a; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rename = exports.readlink = exports.readdir = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; +const fs = __importStar(__nccwpck_require__(7147)); +const path = __importStar(__nccwpck_require__(1017)); +_a = fs.promises, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; +exports.IS_WINDOWS = process.platform === 'win32'; +function exists(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + try { + yield exports.stat(fsPath); + } + catch (err) { + if (err.code === 'ENOENT') { + return false; + } + throw err; + } + return true; + }); +} +exports.exists = exists; +function isDirectory(fsPath, useStat = false) { + return __awaiter(this, void 0, void 0, function* () { + const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + return stats.isDirectory(); + }); +} +exports.isDirectory = isDirectory; +/** + * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: + * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). + */ +function isRooted(p) { + p = normalizeSeparators(p); + if (!p) { + throw new Error('isRooted() parameter "p" cannot be empty'); + } + if (exports.IS_WINDOWS) { + return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello + ); // e.g. C: or C:\hello + } + return p.startsWith('/'); +} +exports.isRooted = isRooted; +/** + * Best effort attempt to determine whether a file exists and is executable. + * @param filePath file path to check + * @param extensions additional file extensions to try + * @return if file exists and is executable, returns the file path. otherwise empty string. + */ +function tryGetExecutablePath(filePath, extensions) { + return __awaiter(this, void 0, void 0, function* () { + let stats = undefined; + try { + // test file exists + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // on Windows, test for valid extension + const upperExt = path.extname(filePath).toUpperCase(); + if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { + return filePath; + } + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + // try each extension + const originalFilePath = filePath; + for (const extension of extensions) { + filePath = originalFilePath + extension; + stats = undefined; + try { + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // preserve the case of the actual file (since an extension was appended) + try { + const directory = path.dirname(filePath); + const upperName = path.basename(filePath).toUpperCase(); + for (const actualName of yield exports.readdir(directory)) { + if (upperName === actualName.toUpperCase()) { + filePath = path.join(directory, actualName); + break; + } + } + } + catch (err) { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`); + } + return filePath; + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + } + return ''; + }); +} +exports.tryGetExecutablePath = tryGetExecutablePath; +function normalizeSeparators(p) { + p = p || ''; + if (exports.IS_WINDOWS) { + // convert slashes on Windows + p = p.replace(/\//g, '\\'); + // remove redundant slashes + return p.replace(/\\\\+/g, '\\'); + } + // remove redundant slashes + return p.replace(/\/\/+/g, '/'); +} +// on Mac/Linux, test the execute bit +// R W X R W X R W X +// 256 128 64 32 16 8 4 2 1 +function isUnixExecutable(stats) { + return ((stats.mode & 1) > 0 || + ((stats.mode & 8) > 0 && stats.gid === process.getgid()) || + ((stats.mode & 64) > 0 && stats.uid === process.getuid())); +} +// Get the path of cmd.exe in windows +function getCmdPath() { + var _a; + return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; +} +exports.getCmdPath = getCmdPath; +//# sourceMappingURL=io-util.js.map + +/***/ }), + +/***/ 6202: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; +const assert_1 = __nccwpck_require__(9491); +const childProcess = __importStar(__nccwpck_require__(2081)); +const path = __importStar(__nccwpck_require__(1017)); +const util_1 = __nccwpck_require__(3837); +const ioUtil = __importStar(__nccwpck_require__(6120)); +const exec = util_1.promisify(childProcess.exec); +const execFile = util_1.promisify(childProcess.execFile); +/** + * Copies a file or folder. + * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js + * + * @param source source path + * @param dest destination path + * @param options optional. See CopyOptions. + */ +function cp(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + const { force, recursive, copySourceDirectory } = readCopyOptions(options); + const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null; + // Dest is an existing file, but not forcing + if (destStat && destStat.isFile() && !force) { + return; + } + // If dest is an existing directory, should copy inside. + const newDest = destStat && destStat.isDirectory() && copySourceDirectory + ? path.join(dest, path.basename(source)) + : dest; + if (!(yield ioUtil.exists(source))) { + throw new Error(`no such file or directory: ${source}`); + } + const sourceStat = yield ioUtil.stat(source); + if (sourceStat.isDirectory()) { + if (!recursive) { + throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`); + } + else { + yield cpDirRecursive(source, newDest, 0, force); + } + } + else { + if (path.relative(source, newDest) === '') { + // a file cannot be copied to itself + throw new Error(`'${newDest}' and '${source}' are the same file`); + } + yield copyFile(source, newDest, force); + } + }); +} +exports.cp = cp; +/** + * Moves a path. + * + * @param source source path + * @param dest destination path + * @param options optional. See MoveOptions. + */ +function mv(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + if (yield ioUtil.exists(dest)) { + let destExists = true; + if (yield ioUtil.isDirectory(dest)) { + // If dest is directory copy src into dest + dest = path.join(dest, path.basename(source)); + destExists = yield ioUtil.exists(dest); + } + if (destExists) { + if (options.force == null || options.force) { + yield rmRF(dest); + } + else { + throw new Error('Destination already exists'); + } + } + } + yield mkdirP(path.dirname(dest)); + yield ioUtil.rename(source, dest); + }); +} +exports.mv = mv; +/** + * Remove a path recursively with force + * + * @param inputPath path to remove + */ +function rmRF(inputPath) { + return __awaiter(this, void 0, void 0, function* () { + if (ioUtil.IS_WINDOWS) { + // Node doesn't provide a delete operation, only an unlink function. This means that if the file is being used by another + // program (e.g. antivirus), it won't be deleted. To address this, we shell out the work to rd/del. + // Check for invalid characters + // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file + if (/[*"<>|]/.test(inputPath)) { + throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows'); + } + try { + const cmdPath = ioUtil.getCmdPath(); + if (yield ioUtil.isDirectory(inputPath, true)) { + yield exec(`${cmdPath} /s /c "rd /s /q "%inputPath%""`, { + env: { inputPath } + }); + } + else { + yield exec(`${cmdPath} /s /c "del /f /a "%inputPath%""`, { + env: { inputPath } + }); + } + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + } + // Shelling out fails to remove a symlink folder with missing source, this unlink catches that + try { + yield ioUtil.unlink(inputPath); + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + } + } + else { + let isDir = false; + try { + isDir = yield ioUtil.isDirectory(inputPath); + } + catch (err) { + // if you try to delete a file that doesn't exist, desired result is achieved + // other errors are valid + if (err.code !== 'ENOENT') + throw err; + return; + } + if (isDir) { + yield execFile(`rm`, [`-rf`, `${inputPath}`]); + } + else { + yield ioUtil.unlink(inputPath); + } + } + }); +} +exports.rmRF = rmRF; +/** + * Make a directory. Creates the full path with folders in between + * Will throw if it fails + * + * @param fsPath path to create + * @returns Promise + */ +function mkdirP(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + assert_1.ok(fsPath, 'a path argument must be provided'); + yield ioUtil.mkdir(fsPath, { recursive: true }); + }); +} +exports.mkdirP = mkdirP; +/** + * Returns path of a tool had the tool actually been invoked. Resolves via paths. + * If you check and the tool does not exist, it will throw. + * + * @param tool name of the tool + * @param check whether to check if tool exists + * @returns Promise path to tool + */ +function which(tool, check) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // recursive when check=true + if (check) { + const result = yield which(tool, false); + if (!result) { + if (ioUtil.IS_WINDOWS) { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`); + } + else { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`); + } + } + return result; + } + const matches = yield findInPath(tool); + if (matches && matches.length > 0) { + return matches[0]; + } + return ''; + }); +} +exports.which = which; +/** + * Returns a list of all occurrences of the given tool on the system path. + * + * @returns Promise the paths of the tool + */ +function findInPath(tool) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // build the list of extensions to try + const extensions = []; + if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) { + for (const extension of process.env['PATHEXT'].split(path.delimiter)) { + if (extension) { + extensions.push(extension); + } + } + } + // if it's rooted, return it if exists. otherwise return empty. + if (ioUtil.isRooted(tool)) { + const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions); + if (filePath) { + return [filePath]; + } + return []; + } + // if any path separators, return empty + if (tool.includes(path.sep)) { + return []; + } + // build the list of directories + // + // Note, technically "where" checks the current directory on Windows. From a toolkit perspective, + // it feels like we should not do this. Checking the current directory seems like more of a use + // case of a shell, and the which() function exposed by the toolkit should strive for consistency + // across platforms. + const directories = []; + if (process.env.PATH) { + for (const p of process.env.PATH.split(path.delimiter)) { + if (p) { + directories.push(p); + } + } + } + // find all matches + const matches = []; + for (const directory of directories) { + const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions); + if (filePath) { + matches.push(filePath); + } + } + return matches; + }); +} +exports.findInPath = findInPath; +function readCopyOptions(options) { + const force = options.force == null ? true : options.force; + const recursive = Boolean(options.recursive); + const copySourceDirectory = options.copySourceDirectory == null + ? true + : Boolean(options.copySourceDirectory); + return { force, recursive, copySourceDirectory }; +} +function cpDirRecursive(sourceDir, destDir, currentDepth, force) { + return __awaiter(this, void 0, void 0, function* () { + // Ensure there is not a run away recursive copy + if (currentDepth >= 255) + return; + currentDepth++; + yield mkdirP(destDir); + const files = yield ioUtil.readdir(sourceDir); + for (const fileName of files) { + const srcFile = `${sourceDir}/${fileName}`; + const destFile = `${destDir}/${fileName}`; + const srcFileStat = yield ioUtil.lstat(srcFile); + if (srcFileStat.isDirectory()) { + // Recurse + yield cpDirRecursive(srcFile, destFile, currentDepth, force); + } + else { + yield copyFile(srcFile, destFile, force); + } + } + // Change the mode for the newly created directory + yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode); + }); +} +// Buffered file copy +function copyFile(srcFile, destFile, force) { + return __awaiter(this, void 0, void 0, function* () { + if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) { + // unlink/re-link it + try { + yield ioUtil.lstat(destFile); + yield ioUtil.unlink(destFile); + } + catch (e) { + // Try to override file permission + if (e.code === 'EPERM') { + yield ioUtil.chmod(destFile, '0666'); + yield ioUtil.unlink(destFile); + } + // other errors = it doesn't exist, no work to do + } + // Copy over symlink + const symlinkFull = yield ioUtil.readlink(srcFile); + yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null); + } + else if (!(yield ioUtil.exists(destFile)) || force) { + yield ioUtil.copyFile(srcFile, destFile); + } + }); +} +//# sourceMappingURL=io.js.map + +/***/ }), + +/***/ 3594: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const core = __nccwpck_require__(6024); +const io = __nccwpck_require__(6202); +const fs = __nccwpck_require__(7147); +const os = __nccwpck_require__(2037); +const path = __nccwpck_require__(1017); +const httpm = __nccwpck_require__(6566); +const semver = __nccwpck_require__(1554); +const uuidV4 = __nccwpck_require__(3902); +const exec_1 = __nccwpck_require__(2423); +const assert_1 = __nccwpck_require__(9491); +class HTTPError extends Error { + constructor(httpStatusCode) { + super(`Unexpected HTTP response: ${httpStatusCode}`); + this.httpStatusCode = httpStatusCode; + Object.setPrototypeOf(this, new.target.prototype); + } +} +exports.HTTPError = HTTPError; +const IS_WINDOWS = process.platform === 'win32'; +const userAgent = 'actions/tool-cache'; +// On load grab temp directory and cache directory and remove them from env (currently don't want to expose this) +let tempDirectory = process.env['RUNNER_TEMP'] || ''; +let cacheRoot = process.env['RUNNER_TOOL_CACHE'] || ''; +// If directories not found, place them in common temp locations +if (!tempDirectory || !cacheRoot) { + let baseLocation; + if (IS_WINDOWS) { + // On windows use the USERPROFILE env variable + baseLocation = process.env['USERPROFILE'] || 'C:\\'; + } + else { + if (process.platform === 'darwin') { + baseLocation = '/Users'; + } + else { + baseLocation = '/home'; + } + } + if (!tempDirectory) { + tempDirectory = path.join(baseLocation, 'actions', 'temp'); + } + if (!cacheRoot) { + cacheRoot = path.join(baseLocation, 'actions', 'cache'); + } +} +/** + * Download a tool from an url and stream it into a file + * + * @param url url of tool to download + * @returns path to downloaded tool + */ +function downloadTool(url) { + return __awaiter(this, void 0, void 0, function* () { + // Wrap in a promise so that we can resolve from within stream callbacks + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + try { + const http = new httpm.HttpClient(userAgent, [], { + allowRetries: true, + maxRetries: 3 + }); + const destPath = path.join(tempDirectory, uuidV4()); + yield io.mkdirP(tempDirectory); + core.debug(`Downloading ${url}`); + core.debug(`Downloading ${destPath}`); + if (fs.existsSync(destPath)) { + throw new Error(`Destination file path ${destPath} already exists`); + } + const response = yield http.get(url); + if (response.message.statusCode !== 200) { + const err = new HTTPError(response.message.statusCode); + core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`); + throw err; + } + const file = fs.createWriteStream(destPath); + file.on('open', () => __awaiter(this, void 0, void 0, function* () { + try { + const stream = response.message.pipe(file); + stream.on('close', () => { + core.debug('download complete'); + resolve(destPath); + }); + } + catch (err) { + core.debug(`Failed to download from "${url}". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`); + reject(err); + } + })); + file.on('error', err => { + file.end(); + reject(err); + }); + } + catch (err) { + reject(err); + } + })); + }); +} +exports.downloadTool = downloadTool; +/** + * Extract a .7z file + * + * @param file path to the .7z file + * @param dest destination directory. Optional. + * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this + * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will + * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is + * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line + * interface, it is smaller than the full command line interface, and it does support long paths. At the + * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website. + * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path + * to 7zr.exe can be pass to this function. + * @returns path to the destination directory + */ +function extract7z(file, dest, _7zPath) { + return __awaiter(this, void 0, void 0, function* () { + assert_1.ok(IS_WINDOWS, 'extract7z() not supported on current OS'); + assert_1.ok(file, 'parameter "file" is required'); + dest = dest || (yield _createExtractFolder(dest)); + const originalCwd = process.cwd(); + process.chdir(dest); + if (_7zPath) { + try { + const args = [ + 'x', + '-bb1', + '-bd', + '-sccUTF-8', + file + ]; + const options = { + silent: true + }; + yield exec_1.exec(`"${_7zPath}"`, args, options); + } + finally { + process.chdir(originalCwd); + } + } + else { + const escapedScript = path + .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1') + .replace(/'/g, "''") + .replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines + const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, ''); + const escapedTarget = dest.replace(/'/g, "''").replace(/"|\n|\r/g, ''); + const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`; + const args = [ + '-NoLogo', + '-Sta', + '-NoProfile', + '-NonInteractive', + '-ExecutionPolicy', + 'Unrestricted', + '-Command', + command + ]; + const options = { + silent: true + }; + try { + const powershellPath = yield io.which('powershell', true); + yield exec_1.exec(`"${powershellPath}"`, args, options); + } + finally { + process.chdir(originalCwd); + } + } + return dest; + }); +} +exports.extract7z = extract7z; +/** + * Extract a tar + * + * @param file path to the tar + * @param dest destination directory. Optional. + * @param flags flags for the tar. Optional. + * @returns path to the destination directory + */ +function extractTar(file, dest, flags = 'xz') { + return __awaiter(this, void 0, void 0, function* () { + if (!file) { + throw new Error("parameter 'file' is required"); + } + dest = dest || (yield _createExtractFolder(dest)); + const tarPath = yield io.which('tar', true); + yield exec_1.exec(`"${tarPath}"`, [flags, '-C', dest, '-f', file]); + return dest; + }); +} +exports.extractTar = extractTar; +/** + * Extract a zip + * + * @param file path to the zip + * @param dest destination directory. Optional. + * @returns path to the destination directory + */ +function extractZip(file, dest) { + return __awaiter(this, void 0, void 0, function* () { + if (!file) { + throw new Error("parameter 'file' is required"); + } + dest = dest || (yield _createExtractFolder(dest)); + if (IS_WINDOWS) { + yield extractZipWin(file, dest); + } + else { + yield extractZipNix(file, dest); + } + return dest; + }); +} +exports.extractZip = extractZip; +function extractZipWin(file, dest) { + return __awaiter(this, void 0, void 0, function* () { + // build the powershell command + const escapedFile = file.replace(/'/g, "''").replace(/"|\n|\r/g, ''); // double-up single quotes, remove double quotes and newlines + const escapedDest = dest.replace(/'/g, "''").replace(/"|\n|\r/g, ''); + const command = `$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ; [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}')`; + // run powershell + const powershellPath = yield io.which('powershell'); + const args = [ + '-NoLogo', + '-Sta', + '-NoProfile', + '-NonInteractive', + '-ExecutionPolicy', + 'Unrestricted', + '-Command', + command + ]; + yield exec_1.exec(`"${powershellPath}"`, args); + }); +} +function extractZipNix(file, dest) { + return __awaiter(this, void 0, void 0, function* () { + const unzipPath = yield io.which('unzip'); + yield exec_1.exec(`"${unzipPath}"`, [file], { cwd: dest }); + }); +} +/** + * Caches a directory and installs it into the tool cacheDir + * + * @param sourceDir the directory to cache into tools + * @param tool tool name + * @param version version of the tool. semver format + * @param arch architecture of the tool. Optional. Defaults to machine architecture + */ +function cacheDir(sourceDir, tool, version, arch) { + return __awaiter(this, void 0, void 0, function* () { + version = semver.clean(version) || version; + arch = arch || os.arch(); + core.debug(`Caching tool ${tool} ${version} ${arch}`); + core.debug(`source dir: ${sourceDir}`); + if (!fs.statSync(sourceDir).isDirectory()) { + throw new Error('sourceDir is not a directory'); + } + // Create the tool dir + const destPath = yield _createToolPath(tool, version, arch); + // copy each child item. do not move. move can fail on Windows + // due to anti-virus software having an open handle on a file. + for (const itemName of fs.readdirSync(sourceDir)) { + const s = path.join(sourceDir, itemName); + yield io.cp(s, destPath, { recursive: true }); + } + // write .complete + _completeToolPath(tool, version, arch); + return destPath; + }); +} +exports.cacheDir = cacheDir; +/** + * Caches a downloaded file (GUID) and installs it + * into the tool cache with a given targetName + * + * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid. + * @param targetFile the name of the file name in the tools directory + * @param tool tool name + * @param version version of the tool. semver format + * @param arch architecture of the tool. Optional. Defaults to machine architecture + */ +function cacheFile(sourceFile, targetFile, tool, version, arch) { + return __awaiter(this, void 0, void 0, function* () { + version = semver.clean(version) || version; + arch = arch || os.arch(); + core.debug(`Caching tool ${tool} ${version} ${arch}`); + core.debug(`source file: ${sourceFile}`); + if (!fs.statSync(sourceFile).isFile()) { + throw new Error('sourceFile is not a file'); + } + // create the tool dir + const destFolder = yield _createToolPath(tool, version, arch); + // copy instead of move. move can fail on Windows due to + // anti-virus software having an open handle on a file. + const destPath = path.join(destFolder, targetFile); + core.debug(`destination file ${destPath}`); + yield io.cp(sourceFile, destPath); + // write .complete + _completeToolPath(tool, version, arch); + return destFolder; + }); +} +exports.cacheFile = cacheFile; +/** + * Finds the path to a tool version in the local installed tool cache + * + * @param toolName name of the tool + * @param versionSpec version of the tool + * @param arch optional arch. defaults to arch of computer + */ +function find(toolName, versionSpec, arch) { + if (!toolName) { + throw new Error('toolName parameter is required'); + } + if (!versionSpec) { + throw new Error('versionSpec parameter is required'); + } + arch = arch || os.arch(); + // attempt to resolve an explicit version + if (!_isExplicitVersion(versionSpec)) { + const localVersions = findAllVersions(toolName, arch); + const match = _evaluateVersions(localVersions, versionSpec); + versionSpec = match; + } + // check for the explicit version in the cache + let toolPath = ''; + if (versionSpec) { + versionSpec = semver.clean(versionSpec) || ''; + const cachePath = path.join(cacheRoot, toolName, versionSpec, arch); + core.debug(`checking cache: ${cachePath}`); + if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) { + core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`); + toolPath = cachePath; + } + else { + core.debug('not found'); + } + } + return toolPath; +} +exports.find = find; +/** + * Finds the paths to all versions of a tool that are installed in the local tool cache + * + * @param toolName name of the tool + * @param arch optional arch. defaults to arch of computer + */ +function findAllVersions(toolName, arch) { + const versions = []; + arch = arch || os.arch(); + const toolPath = path.join(cacheRoot, toolName); + if (fs.existsSync(toolPath)) { + const children = fs.readdirSync(toolPath); + for (const child of children) { + if (_isExplicitVersion(child)) { + const fullPath = path.join(toolPath, child, arch || ''); + if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) { + versions.push(child); + } + } + } + } + return versions; +} +exports.findAllVersions = findAllVersions; +function _createExtractFolder(dest) { + return __awaiter(this, void 0, void 0, function* () { + if (!dest) { + // create a temp dir + dest = path.join(tempDirectory, uuidV4()); + } + yield io.mkdirP(dest); + return dest; + }); +} +function _createToolPath(tool, version, arch) { + return __awaiter(this, void 0, void 0, function* () { + const folderPath = path.join(cacheRoot, tool, semver.clean(version) || version, arch || ''); + core.debug(`destination ${folderPath}`); + const markerPath = `${folderPath}.complete`; + yield io.rmRF(folderPath); + yield io.rmRF(markerPath); + yield io.mkdirP(folderPath); + return folderPath; + }); +} +function _completeToolPath(tool, version, arch) { + const folderPath = path.join(cacheRoot, tool, semver.clean(version) || version, arch || ''); + const markerPath = `${folderPath}.complete`; + fs.writeFileSync(markerPath, ''); + core.debug('finished caching tool'); +} +function _isExplicitVersion(versionSpec) { + const c = semver.clean(versionSpec) || ''; + core.debug(`isExplicit: ${c}`); + const valid = semver.valid(c) != null; + core.debug(`explicit? ${valid}`); + return valid; +} +function _evaluateVersions(versions, versionSpec) { + let version = ''; + core.debug(`evaluating ${versions.length} versions`); + versions = versions.sort((a, b) => { + if (semver.gt(a, b)) { + return 1; + } + return -1; + }); + for (let i = versions.length - 1; i >= 0; i--) { + const potential = versions[i]; + const satisfied = semver.satisfies(potential, versionSpec); + if (satisfied) { + version = potential; + break; + } + } + if (version) { + core.debug(`matched: ${version}`); + } + else { + core.debug('match not found'); + } + return version; +} +//# sourceMappingURL=tool-cache.js.map + +/***/ }), + +/***/ 4353: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var GetIntrinsic = __nccwpck_require__(4880); + +var callBind = __nccwpck_require__(8724); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; + + +/***/ }), + +/***/ 8724: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(795); +var GetIntrinsic = __nccwpck_require__(4880); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} + + +/***/ }), + +/***/ 3967: +/***/ ((module) => { + +"use strict"; + + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + + +/***/ }), + +/***/ 795: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var implementation = __nccwpck_require__(3967); + +module.exports = Function.prototype.bind || implementation; + + +/***/ }), + +/***/ 4880: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __nccwpck_require__(407)(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = __nccwpck_require__(795); +var hasOwn = __nccwpck_require__(1122); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + + +/***/ }), + +/***/ 407: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = __nccwpck_require__(853); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + + +/***/ }), + +/***/ 853: +/***/ ((module) => { + +"use strict"; + + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + + +/***/ }), + +/***/ 1122: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(795); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + + +/***/ }), + +/***/ 3343: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var inspectCustom = (__nccwpck_require__(5038).custom); +var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function') { + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += ''; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if ('cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function') { + return obj[inspectSymbol](); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} + + +/***/ }), + +/***/ 5038: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(3837).inspect; + + +/***/ }), + +/***/ 1466: +/***/ ((module) => { + +"use strict"; + + +var replace = String.prototype.replace; +var percentTwenties = /%20/g; + +var Format = { + RFC1738: 'RFC1738', + RFC3986: 'RFC3986' +}; + +module.exports = { + 'default': Format.RFC3986, + formatters: { + RFC1738: function (value) { + return replace.call(value, percentTwenties, '+'); + }, + RFC3986: function (value) { + return String(value); + } + }, + RFC1738: Format.RFC1738, + RFC3986: Format.RFC3986 +}; + + +/***/ }), + +/***/ 737: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var stringify = __nccwpck_require__(3769); +var parse = __nccwpck_require__(2061); +var formats = __nccwpck_require__(1466); + +module.exports = { + formats: formats, + parse: parse, + stringify: stringify +}; + + +/***/ }), + +/***/ 2061: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var utils = __nccwpck_require__(3763); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var defaults = { + allowDots: false, + allowPrototypes: false, + allowSparse: false, + arrayLimit: 20, + charset: 'utf-8', + charsetSentinel: false, + comma: false, + decoder: utils.decode, + delimiter: '&', + depth: 5, + ignoreQueryPrefix: false, + interpretNumericEntities: false, + parameterLimit: 1000, + parseArrays: true, + plainObjects: false, + strictNullHandling: false +}; + +var interpretNumericEntities = function (str) { + return str.replace(/&#(\d+);/g, function ($0, numberStr) { + return String.fromCharCode(parseInt(numberStr, 10)); + }); +}; + +var parseArrayValue = function (val, options) { + if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) { + return val.split(','); + } + + return val; +}; + +// This is what browsers will submit when the ✓ character occurs in an +// application/x-www-form-urlencoded body and the encoding of the page containing +// the form is iso-8859-1, or when the submitted form has an accept-charset +// attribute of iso-8859-1. Presumably also with other charsets that do not contain +// the ✓ character, such as us-ascii. +var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓') + +// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded. +var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓') + +var parseValues = function parseQueryStringValues(str, options) { + var obj = {}; + var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str; + var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit; + var parts = cleanStr.split(options.delimiter, limit); + var skipIndex = -1; // Keep track of where the utf8 sentinel was found + var i; + + var charset = options.charset; + if (options.charsetSentinel) { + for (i = 0; i < parts.length; ++i) { + if (parts[i].indexOf('utf8=') === 0) { + if (parts[i] === charsetSentinel) { + charset = 'utf-8'; + } else if (parts[i] === isoSentinel) { + charset = 'iso-8859-1'; + } + skipIndex = i; + i = parts.length; // The eslint settings do not allow break; + } + } + } + + for (i = 0; i < parts.length; ++i) { + if (i === skipIndex) { + continue; + } + var part = parts[i]; + + var bracketEqualsPos = part.indexOf(']='); + var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1; + + var key, val; + if (pos === -1) { + key = options.decoder(part, defaults.decoder, charset, 'key'); + val = options.strictNullHandling ? null : ''; + } else { + key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); + val = utils.maybeMap( + parseArrayValue(part.slice(pos + 1), options), + function (encodedVal) { + return options.decoder(encodedVal, defaults.decoder, charset, 'value'); + } + ); + } + + if (val && options.interpretNumericEntities && charset === 'iso-8859-1') { + val = interpretNumericEntities(val); + } + + if (part.indexOf('[]=') > -1) { + val = isArray(val) ? [val] : val; + } + + if (has.call(obj, key)) { + obj[key] = utils.combine(obj[key], val); + } else { + obj[key] = val; + } + } + + return obj; +}; + +var parseObject = function (chain, val, options, valuesParsed) { + var leaf = valuesParsed ? val : parseArrayValue(val, options); + + for (var i = chain.length - 1; i >= 0; --i) { + var obj; + var root = chain[i]; + + if (root === '[]' && options.parseArrays) { + obj = [].concat(leaf); + } else { + obj = options.plainObjects ? Object.create(null) : {}; + var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root; + var index = parseInt(cleanRoot, 10); + if (!options.parseArrays && cleanRoot === '') { + obj = { 0: leaf }; + } else if ( + !isNaN(index) + && root !== cleanRoot + && String(index) === cleanRoot + && index >= 0 + && (options.parseArrays && index <= options.arrayLimit) + ) { + obj = []; + obj[index] = leaf; + } else if (cleanRoot !== '__proto__') { + obj[cleanRoot] = leaf; + } + } + + leaf = obj; + } + + return leaf; +}; + +var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) { + if (!givenKey) { + return; + } + + // Transform dot notation to bracket notation + var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey; + + // The regex chunks + + var brackets = /(\[[^[\]]*])/; + var child = /(\[[^[\]]*])/g; + + // Get the parent + + var segment = options.depth > 0 && brackets.exec(key); + var parent = segment ? key.slice(0, segment.index) : key; + + // Stash the parent if it exists + + var keys = []; + if (parent) { + // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties + if (!options.plainObjects && has.call(Object.prototype, parent)) { + if (!options.allowPrototypes) { + return; + } + } + + keys.push(parent); + } + + // Loop through children appending to the array until we hit depth + + var i = 0; + while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) { + i += 1; + if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) { + if (!options.allowPrototypes) { + return; + } + } + keys.push(segment[1]); + } + + // If there's a remainder, just add whatever is left + + if (segment) { + keys.push('[' + key.slice(segment.index) + ']'); + } + + return parseObject(keys, val, options, valuesParsed); +}; + +var normalizeParseOptions = function normalizeParseOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') { + throw new TypeError('Decoder has to be a function.'); + } + + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset; + + return { + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes, + allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse, + arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma, + decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder, + delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter, + // eslint-disable-next-line no-implicit-coercion, no-extra-parens + depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth, + ignoreQueryPrefix: opts.ignoreQueryPrefix === true, + interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities, + parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit, + parseArrays: opts.parseArrays !== false, + plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (str, opts) { + var options = normalizeParseOptions(opts); + + if (str === '' || str === null || typeof str === 'undefined') { + return options.plainObjects ? Object.create(null) : {}; + } + + var tempObj = typeof str === 'string' ? parseValues(str, options) : str; + var obj = options.plainObjects ? Object.create(null) : {}; + + // Iterate over the keys and setup the new object + + var keys = Object.keys(tempObj); + for (var i = 0; i < keys.length; ++i) { + var key = keys[i]; + var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string'); + obj = utils.merge(obj, newObj, options); + } + + if (options.allowSparse === true) { + return obj; + } + + return utils.compact(obj); +}; + + +/***/ }), + +/***/ 3769: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var getSideChannel = __nccwpck_require__(3355); +var utils = __nccwpck_require__(3763); +var formats = __nccwpck_require__(1466); +var has = Object.prototype.hasOwnProperty; + +var arrayPrefixGenerators = { + brackets: function brackets(prefix) { + return prefix + '[]'; + }, + comma: 'comma', + indices: function indices(prefix, key) { + return prefix + '[' + key + ']'; + }, + repeat: function repeat(prefix) { + return prefix; + } +}; + +var isArray = Array.isArray; +var split = String.prototype.split; +var push = Array.prototype.push; +var pushToArray = function (arr, valueOrArray) { + push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]); +}; + +var toISO = Date.prototype.toISOString; + +var defaultFormat = formats['default']; +var defaults = { + addQueryPrefix: false, + allowDots: false, + charset: 'utf-8', + charsetSentinel: false, + delimiter: '&', + encode: true, + encoder: utils.encode, + encodeValuesOnly: false, + format: defaultFormat, + formatter: formats.formatters[defaultFormat], + // deprecated + indices: false, + serializeDate: function serializeDate(date) { + return toISO.call(date); + }, + skipNulls: false, + strictNullHandling: false +}; + +var isNonNullishPrimitive = function isNonNullishPrimitive(v) { + return typeof v === 'string' + || typeof v === 'number' + || typeof v === 'boolean' + || typeof v === 'symbol' + || typeof v === 'bigint'; +}; + +var sentinel = {}; + +var stringify = function stringify( + object, + prefix, + generateArrayPrefix, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + sideChannel +) { + var obj = object; + + var tmpSc = sideChannel; + var step = 0; + var findFlag = false; + while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) { + // Where object last appeared in the ref tree + var pos = tmpSc.get(object); + step += 1; + if (typeof pos !== 'undefined') { + if (pos === step) { + throw new RangeError('Cyclic object value'); + } else { + findFlag = true; // Break while + } + } + if (typeof tmpSc.get(sentinel) === 'undefined') { + step = 0; + } + } + + if (typeof filter === 'function') { + obj = filter(prefix, obj); + } else if (obj instanceof Date) { + obj = serializeDate(obj); + } else if (generateArrayPrefix === 'comma' && isArray(obj)) { + obj = utils.maybeMap(obj, function (value) { + if (value instanceof Date) { + return serializeDate(value); + } + return value; + }); + } + + if (obj === null) { + if (strictNullHandling) { + return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix; + } + + obj = ''; + } + + if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) { + if (encoder) { + var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format); + if (generateArrayPrefix === 'comma' && encodeValuesOnly) { + var valuesArray = split.call(String(obj), ','); + var valuesJoined = ''; + for (var i = 0; i < valuesArray.length; ++i) { + valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format)); + } + return [formatter(keyValue) + '=' + valuesJoined]; + } + return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))]; + } + return [formatter(prefix) + '=' + formatter(String(obj))]; + } + + var values = []; + + if (typeof obj === 'undefined') { + return values; + } + + var objKeys; + if (generateArrayPrefix === 'comma' && isArray(obj)) { + // we need to join elements in + objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }]; + } else if (isArray(filter)) { + objKeys = filter; + } else { + var keys = Object.keys(obj); + objKeys = sort ? keys.sort(sort) : keys; + } + + for (var j = 0; j < objKeys.length; ++j) { + var key = objKeys[j]; + var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key]; + + if (skipNulls && value === null) { + continue; + } + + var keyPrefix = isArray(obj) + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix + : prefix + (allowDots ? '.' + key : '[' + key + ']'); + + sideChannel.set(object, step); + var valueSideChannel = getSideChannel(); + valueSideChannel.set(sentinel, sideChannel); + pushToArray(values, stringify( + value, + keyPrefix, + generateArrayPrefix, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + format, + formatter, + encodeValuesOnly, + charset, + valueSideChannel + )); + } + + return values; +}; + +var normalizeStringifyOptions = function normalizeStringifyOptions(opts) { + if (!opts) { + return defaults; + } + + if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') { + throw new TypeError('Encoder has to be a function.'); + } + + var charset = opts.charset || defaults.charset; + if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') { + throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined'); + } + + var format = formats['default']; + if (typeof opts.format !== 'undefined') { + if (!has.call(formats.formatters, opts.format)) { + throw new TypeError('Unknown format option provided.'); + } + format = opts.format; + } + var formatter = formats.formatters[format]; + + var filter = defaults.filter; + if (typeof opts.filter === 'function' || isArray(opts.filter)) { + filter = opts.filter; + } + + return { + addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix, + allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots, + charset: charset, + charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel, + delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter, + encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode, + encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder, + encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly, + filter: filter, + format: format, + formatter: formatter, + serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate, + skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls, + sort: typeof opts.sort === 'function' ? opts.sort : null, + strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling + }; +}; + +module.exports = function (object, opts) { + var obj = object; + var options = normalizeStringifyOptions(opts); + + var objKeys; + var filter; + + if (typeof options.filter === 'function') { + filter = options.filter; + obj = filter('', obj); + } else if (isArray(options.filter)) { + filter = options.filter; + objKeys = filter; + } + + var keys = []; + + if (typeof obj !== 'object' || obj === null) { + return ''; + } + + var arrayFormat; + if (opts && opts.arrayFormat in arrayPrefixGenerators) { + arrayFormat = opts.arrayFormat; + } else if (opts && 'indices' in opts) { + arrayFormat = opts.indices ? 'indices' : 'repeat'; + } else { + arrayFormat = 'indices'; + } + + var generateArrayPrefix = arrayPrefixGenerators[arrayFormat]; + + if (!objKeys) { + objKeys = Object.keys(obj); + } + + if (options.sort) { + objKeys.sort(options.sort); + } + + var sideChannel = getSideChannel(); + for (var i = 0; i < objKeys.length; ++i) { + var key = objKeys[i]; + + if (options.skipNulls && obj[key] === null) { + continue; + } + pushToArray(keys, stringify( + obj[key], + key, + generateArrayPrefix, + options.strictNullHandling, + options.skipNulls, + options.encode ? options.encoder : null, + options.filter, + options.sort, + options.allowDots, + options.serializeDate, + options.format, + options.formatter, + options.encodeValuesOnly, + options.charset, + sideChannel + )); + } + + var joined = keys.join(options.delimiter); + var prefix = options.addQueryPrefix === true ? '?' : ''; + + if (options.charsetSentinel) { + if (options.charset === 'iso-8859-1') { + // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark + prefix += 'utf8=%26%2310003%3B&'; + } else { + // encodeURIComponent('✓') + prefix += 'utf8=%E2%9C%93&'; + } + } + + return joined.length > 0 ? prefix + joined : ''; +}; + + +/***/ }), + +/***/ 3763: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var formats = __nccwpck_require__(1466); + +var has = Object.prototype.hasOwnProperty; +var isArray = Array.isArray; + +var hexTable = (function () { + var array = []; + for (var i = 0; i < 256; ++i) { + array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase()); + } + + return array; +}()); + +var compactQueue = function compactQueue(queue) { + while (queue.length > 1) { + var item = queue.pop(); + var obj = item.obj[item.prop]; + + if (isArray(obj)) { + var compacted = []; + + for (var j = 0; j < obj.length; ++j) { + if (typeof obj[j] !== 'undefined') { + compacted.push(obj[j]); + } + } + + item.obj[item.prop] = compacted; + } + } +}; + +var arrayToObject = function arrayToObject(source, options) { + var obj = options && options.plainObjects ? Object.create(null) : {}; + for (var i = 0; i < source.length; ++i) { + if (typeof source[i] !== 'undefined') { + obj[i] = source[i]; + } + } + + return obj; +}; + +var merge = function merge(target, source, options) { + /* eslint no-param-reassign: 0 */ + if (!source) { + return target; + } + + if (typeof source !== 'object') { + if (isArray(target)) { + target.push(source); + } else if (target && typeof target === 'object') { + if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) { + target[source] = true; + } + } else { + return [target, source]; + } + + return target; + } + + if (!target || typeof target !== 'object') { + return [target].concat(source); + } + + var mergeTarget = target; + if (isArray(target) && !isArray(source)) { + mergeTarget = arrayToObject(target, options); + } + + if (isArray(target) && isArray(source)) { + source.forEach(function (item, i) { + if (has.call(target, i)) { + var targetItem = target[i]; + if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') { + target[i] = merge(targetItem, item, options); + } else { + target.push(item); + } + } else { + target[i] = item; + } + }); + return target; + } + + return Object.keys(source).reduce(function (acc, key) { + var value = source[key]; + + if (has.call(acc, key)) { + acc[key] = merge(acc[key], value, options); + } else { + acc[key] = value; + } + return acc; + }, mergeTarget); +}; + +var assign = function assignSingleSource(target, source) { + return Object.keys(source).reduce(function (acc, key) { + acc[key] = source[key]; + return acc; + }, target); +}; + +var decode = function (str, decoder, charset) { + var strWithoutPlus = str.replace(/\+/g, ' '); + if (charset === 'iso-8859-1') { + // unescape never throws, no try...catch needed: + return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape); + } + // utf-8 + try { + return decodeURIComponent(strWithoutPlus); + } catch (e) { + return strWithoutPlus; + } +}; + +var encode = function encode(str, defaultEncoder, charset, kind, format) { + // This code was originally written by Brian White (mscdex) for the io.js core querystring library. + // It has been adapted here for stricter adherence to RFC 3986 + if (str.length === 0) { + return str; + } + + var string = str; + if (typeof str === 'symbol') { + string = Symbol.prototype.toString.call(str); + } else if (typeof str !== 'string') { + string = String(str); + } + + if (charset === 'iso-8859-1') { + return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) { + return '%26%23' + parseInt($0.slice(2), 16) + '%3B'; + }); + } + + var out = ''; + for (var i = 0; i < string.length; ++i) { + var c = string.charCodeAt(i); + + if ( + c === 0x2D // - + || c === 0x2E // . + || c === 0x5F // _ + || c === 0x7E // ~ + || (c >= 0x30 && c <= 0x39) // 0-9 + || (c >= 0x41 && c <= 0x5A) // a-z + || (c >= 0x61 && c <= 0x7A) // A-Z + || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( ) + ) { + out += string.charAt(i); + continue; + } + + if (c < 0x80) { + out = out + hexTable[c]; + continue; + } + + if (c < 0x800) { + out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + if (c < 0xD800 || c >= 0xE000) { + out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]); + continue; + } + + i += 1; + c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF)); + /* eslint operator-linebreak: [2, "before"] */ + out += hexTable[0xF0 | (c >> 18)] + + hexTable[0x80 | ((c >> 12) & 0x3F)] + + hexTable[0x80 | ((c >> 6) & 0x3F)] + + hexTable[0x80 | (c & 0x3F)]; + } + + return out; +}; + +var compact = function compact(value) { + var queue = [{ obj: { o: value }, prop: 'o' }]; + var refs = []; + + for (var i = 0; i < queue.length; ++i) { + var item = queue[i]; + var obj = item.obj[item.prop]; + + var keys = Object.keys(obj); + for (var j = 0; j < keys.length; ++j) { + var key = keys[j]; + var val = obj[key]; + if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) { + queue.push({ obj: obj, prop: key }); + refs.push(val); + } + } + } + + compactQueue(queue); + + return value; +}; + +var isRegExp = function isRegExp(obj) { + return Object.prototype.toString.call(obj) === '[object RegExp]'; +}; + +var isBuffer = function isBuffer(obj) { + if (!obj || typeof obj !== 'object') { + return false; + } + + return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj)); +}; + +var combine = function combine(a, b) { + return [].concat(a, b); +}; + +var maybeMap = function maybeMap(val, fn) { + if (isArray(val)) { + var mapped = []; + for (var i = 0; i < val.length; i += 1) { + mapped.push(fn(val[i])); + } + return mapped; + } + return fn(val); +}; + +module.exports = { + arrayToObject: arrayToObject, + assign: assign, + combine: combine, + compact: compact, + decode: decode, + encode: encode, + isBuffer: isBuffer, + isRegExp: isRegExp, + maybeMap: maybeMap, + merge: merge +}; + + +/***/ }), + +/***/ 1554: +/***/ ((module, exports) => { + +exports = module.exports = SemVer + +var debug +/* istanbul ignore next */ +if (typeof process === 'object' && + process.env && + process.env.NODE_DEBUG && + /\bsemver\b/i.test(process.env.NODE_DEBUG)) { + debug = function () { + var args = Array.prototype.slice.call(arguments, 0) + args.unshift('SEMVER') + console.log.apply(console, args) + } +} else { + debug = function () {} +} + +// Note: this is the semver.org version of the spec that it implements +// Not necessarily the package version of this code. +exports.SEMVER_SPEC_VERSION = '2.0.0' + +var MAX_LENGTH = 256 +var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || + /* istanbul ignore next */ 9007199254740991 + +// Max safe segment length for coercion. +var MAX_SAFE_COMPONENT_LENGTH = 16 + +// The actual regexps go on exports.re +var re = exports.re = [] +var src = exports.src = [] +var t = exports.tokens = {} +var R = 0 + +function tok (n) { + t[n] = R++ +} + +// The following Regular Expressions can be used for tokenizing, +// validating, and parsing SemVer version strings. + +// ## Numeric Identifier +// A single `0`, or a non-zero digit followed by zero or more digits. + +tok('NUMERICIDENTIFIER') +src[t.NUMERICIDENTIFIER] = '0|[1-9]\\d*' +tok('NUMERICIDENTIFIERLOOSE') +src[t.NUMERICIDENTIFIERLOOSE] = '[0-9]+' + +// ## Non-numeric Identifier +// Zero or more digits, followed by a letter or hyphen, and then zero or +// more letters, digits, or hyphens. + +tok('NONNUMERICIDENTIFIER') +src[t.NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' + +// ## Main Version +// Three dot-separated numeric identifiers. + +tok('MAINVERSION') +src[t.MAINVERSION] = '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIER] + ')' + +tok('MAINVERSIONLOOSE') +src[t.MAINVERSIONLOOSE] = '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')\\.' + + '(' + src[t.NUMERICIDENTIFIERLOOSE] + ')' + +// ## Pre-release Version Identifier +// A numeric identifier, or a non-numeric identifier. + +tok('PRERELEASEIDENTIFIER') +src[t.PRERELEASEIDENTIFIER] = '(?:' + src[t.NUMERICIDENTIFIER] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +tok('PRERELEASEIDENTIFIERLOOSE') +src[t.PRERELEASEIDENTIFIERLOOSE] = '(?:' + src[t.NUMERICIDENTIFIERLOOSE] + + '|' + src[t.NONNUMERICIDENTIFIER] + ')' + +// ## Pre-release Version +// Hyphen, followed by one or more dot-separated pre-release version +// identifiers. + +tok('PRERELEASE') +src[t.PRERELEASE] = '(?:-(' + src[t.PRERELEASEIDENTIFIER] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIER] + ')*))' + +tok('PRERELEASELOOSE') +src[t.PRERELEASELOOSE] = '(?:-?(' + src[t.PRERELEASEIDENTIFIERLOOSE] + + '(?:\\.' + src[t.PRERELEASEIDENTIFIERLOOSE] + ')*))' + +// ## Build Metadata Identifier +// Any combination of digits, letters, or hyphens. + +tok('BUILDIDENTIFIER') +src[t.BUILDIDENTIFIER] = '[0-9A-Za-z-]+' + +// ## Build Metadata +// Plus sign, followed by one or more period-separated build metadata +// identifiers. + +tok('BUILD') +src[t.BUILD] = '(?:\\+(' + src[t.BUILDIDENTIFIER] + + '(?:\\.' + src[t.BUILDIDENTIFIER] + ')*))' + +// ## Full Version String +// A main version, followed optionally by a pre-release version and +// build metadata. + +// Note that the only major, minor, patch, and pre-release sections of +// the version string are capturing groups. The build metadata is not a +// capturing group, because it should not ever be used in version +// comparison. + +tok('FULL') +tok('FULLPLAIN') +src[t.FULLPLAIN] = 'v?' + src[t.MAINVERSION] + + src[t.PRERELEASE] + '?' + + src[t.BUILD] + '?' + +src[t.FULL] = '^' + src[t.FULLPLAIN] + '$' + +// like full, but allows v1.2.3 and =1.2.3, which people do sometimes. +// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty +// common in the npm registry. +tok('LOOSEPLAIN') +src[t.LOOSEPLAIN] = '[v=\\s]*' + src[t.MAINVERSIONLOOSE] + + src[t.PRERELEASELOOSE] + '?' + + src[t.BUILD] + '?' + +tok('LOOSE') +src[t.LOOSE] = '^' + src[t.LOOSEPLAIN] + '$' + +tok('GTLT') +src[t.GTLT] = '((?:<|>)?=?)' + +// Something like "2.*" or "1.2.x". +// Note that "x.x" is a valid xRange identifer, meaning "any version" +// Only the first item is strictly required. +tok('XRANGEIDENTIFIERLOOSE') +src[t.XRANGEIDENTIFIERLOOSE] = src[t.NUMERICIDENTIFIERLOOSE] + '|x|X|\\*' +tok('XRANGEIDENTIFIER') +src[t.XRANGEIDENTIFIER] = src[t.NUMERICIDENTIFIER] + '|x|X|\\*' + +tok('XRANGEPLAIN') +src[t.XRANGEPLAIN] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIER] + ')' + + '(?:' + src[t.PRERELEASE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGEPLAINLOOSE') +src[t.XRANGEPLAINLOOSE] = '[v=\\s]*(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:\\.(' + src[t.XRANGEIDENTIFIERLOOSE] + ')' + + '(?:' + src[t.PRERELEASELOOSE] + ')?' + + src[t.BUILD] + '?' + + ')?)?' + +tok('XRANGE') +src[t.XRANGE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAIN] + '$' +tok('XRANGELOOSE') +src[t.XRANGELOOSE] = '^' + src[t.GTLT] + '\\s*' + src[t.XRANGEPLAINLOOSE] + '$' + +// Coercion. +// Extract anything that could conceivably be a part of a valid semver +tok('COERCE') +src[t.COERCE] = '(^|[^\\d])' + + '(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '})' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:\\.(\\d{1,' + MAX_SAFE_COMPONENT_LENGTH + '}))?' + + '(?:$|[^\\d])' +tok('COERCERTL') +re[t.COERCERTL] = new RegExp(src[t.COERCE], 'g') + +// Tilde ranges. +// Meaning is "reasonably at or greater than" +tok('LONETILDE') +src[t.LONETILDE] = '(?:~>?)' + +tok('TILDETRIM') +src[t.TILDETRIM] = '(\\s*)' + src[t.LONETILDE] + '\\s+' +re[t.TILDETRIM] = new RegExp(src[t.TILDETRIM], 'g') +var tildeTrimReplace = '$1~' + +tok('TILDE') +src[t.TILDE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAIN] + '$' +tok('TILDELOOSE') +src[t.TILDELOOSE] = '^' + src[t.LONETILDE] + src[t.XRANGEPLAINLOOSE] + '$' + +// Caret ranges. +// Meaning is "at least and backwards compatible with" +tok('LONECARET') +src[t.LONECARET] = '(?:\\^)' + +tok('CARETTRIM') +src[t.CARETTRIM] = '(\\s*)' + src[t.LONECARET] + '\\s+' +re[t.CARETTRIM] = new RegExp(src[t.CARETTRIM], 'g') +var caretTrimReplace = '$1^' + +tok('CARET') +src[t.CARET] = '^' + src[t.LONECARET] + src[t.XRANGEPLAIN] + '$' +tok('CARETLOOSE') +src[t.CARETLOOSE] = '^' + src[t.LONECARET] + src[t.XRANGEPLAINLOOSE] + '$' + +// A simple gt/lt/eq thing, or just "" to indicate "any version" +tok('COMPARATORLOOSE') +src[t.COMPARATORLOOSE] = '^' + src[t.GTLT] + '\\s*(' + src[t.LOOSEPLAIN] + ')$|^$' +tok('COMPARATOR') +src[t.COMPARATOR] = '^' + src[t.GTLT] + '\\s*(' + src[t.FULLPLAIN] + ')$|^$' + +// An expression to strip any whitespace between the gtlt and the thing +// it modifies, so that `> 1.2.3` ==> `>1.2.3` +tok('COMPARATORTRIM') +src[t.COMPARATORTRIM] = '(\\s*)' + src[t.GTLT] + + '\\s*(' + src[t.LOOSEPLAIN] + '|' + src[t.XRANGEPLAIN] + ')' + +// this one has to use the /g flag +re[t.COMPARATORTRIM] = new RegExp(src[t.COMPARATORTRIM], 'g') +var comparatorTrimReplace = '$1$2$3' + +// Something like `1.2.3 - 1.2.4` +// Note that these all use the loose form, because they'll be +// checked against either the strict or loose comparator form +// later. +tok('HYPHENRANGE') +src[t.HYPHENRANGE] = '^\\s*(' + src[t.XRANGEPLAIN] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAIN] + ')' + + '\\s*$' + +tok('HYPHENRANGELOOSE') +src[t.HYPHENRANGELOOSE] = '^\\s*(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s+-\\s+' + + '(' + src[t.XRANGEPLAINLOOSE] + ')' + + '\\s*$' + +// Star ranges basically just allow anything at all. +tok('STAR') +src[t.STAR] = '(<|>)?=?\\s*\\*' + +// Compile to actual regexp objects. +// All are flag-free, unless they were created above with a flag. +for (var i = 0; i < R; i++) { + debug(i, src[i]) + if (!re[i]) { + re[i] = new RegExp(src[i]) + } +} + +exports.parse = parse +function parse (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (version instanceof SemVer) { + return version + } + + if (typeof version !== 'string') { + return null + } + + if (version.length > MAX_LENGTH) { + return null + } + + var r = options.loose ? re[t.LOOSE] : re[t.FULL] + if (!r.test(version)) { + return null + } + + try { + return new SemVer(version, options) + } catch (er) { + return null + } +} + +exports.valid = valid +function valid (version, options) { + var v = parse(version, options) + return v ? v.version : null +} + +exports.clean = clean +function clean (version, options) { + var s = parse(version.trim().replace(/^[=v]+/, ''), options) + return s ? s.version : null +} + +exports.SemVer = SemVer + +function SemVer (version, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + if (version instanceof SemVer) { + if (version.loose === options.loose) { + return version + } else { + version = version.version + } + } else if (typeof version !== 'string') { + throw new TypeError('Invalid Version: ' + version) + } + + if (version.length > MAX_LENGTH) { + throw new TypeError('version is longer than ' + MAX_LENGTH + ' characters') + } + + if (!(this instanceof SemVer)) { + return new SemVer(version, options) + } + + debug('SemVer', version, options) + this.options = options + this.loose = !!options.loose + + var m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]) + + if (!m) { + throw new TypeError('Invalid Version: ' + version) + } + + this.raw = version + + // these are actually numbers + this.major = +m[1] + this.minor = +m[2] + this.patch = +m[3] + + if (this.major > MAX_SAFE_INTEGER || this.major < 0) { + throw new TypeError('Invalid major version') + } + + if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) { + throw new TypeError('Invalid minor version') + } + + if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) { + throw new TypeError('Invalid patch version') + } + + // numberify any prerelease numeric ids + if (!m[4]) { + this.prerelease = [] + } else { + this.prerelease = m[4].split('.').map(function (id) { + if (/^[0-9]+$/.test(id)) { + var num = +id + if (num >= 0 && num < MAX_SAFE_INTEGER) { + return num + } + } + return id + }) + } + + this.build = m[5] ? m[5].split('.') : [] + this.format() +} + +SemVer.prototype.format = function () { + this.version = this.major + '.' + this.minor + '.' + this.patch + if (this.prerelease.length) { + this.version += '-' + this.prerelease.join('.') + } + return this.version +} + +SemVer.prototype.toString = function () { + return this.version +} + +SemVer.prototype.compare = function (other) { + debug('SemVer.compare', this.version, this.options, other) + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return this.compareMain(other) || this.comparePre(other) +} + +SemVer.prototype.compareMain = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + return compareIdentifiers(this.major, other.major) || + compareIdentifiers(this.minor, other.minor) || + compareIdentifiers(this.patch, other.patch) +} + +SemVer.prototype.comparePre = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + // NOT having a prerelease is > having one + if (this.prerelease.length && !other.prerelease.length) { + return -1 + } else if (!this.prerelease.length && other.prerelease.length) { + return 1 + } else if (!this.prerelease.length && !other.prerelease.length) { + return 0 + } + + var i = 0 + do { + var a = this.prerelease[i] + var b = other.prerelease[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +SemVer.prototype.compareBuild = function (other) { + if (!(other instanceof SemVer)) { + other = new SemVer(other, this.options) + } + + var i = 0 + do { + var a = this.build[i] + var b = other.build[i] + debug('prerelease compare', i, a, b) + if (a === undefined && b === undefined) { + return 0 + } else if (b === undefined) { + return 1 + } else if (a === undefined) { + return -1 + } else if (a === b) { + continue + } else { + return compareIdentifiers(a, b) + } + } while (++i) +} + +// preminor will bump the version up to the next minor release, and immediately +// down to pre-release. premajor and prepatch work the same way. +SemVer.prototype.inc = function (release, identifier) { + switch (release) { + case 'premajor': + this.prerelease.length = 0 + this.patch = 0 + this.minor = 0 + this.major++ + this.inc('pre', identifier) + break + case 'preminor': + this.prerelease.length = 0 + this.patch = 0 + this.minor++ + this.inc('pre', identifier) + break + case 'prepatch': + // If this is already a prerelease, it will bump to the next version + // drop any prereleases that might already exist, since they are not + // relevant at this point. + this.prerelease.length = 0 + this.inc('patch', identifier) + this.inc('pre', identifier) + break + // If the input is a non-prerelease version, this acts the same as + // prepatch. + case 'prerelease': + if (this.prerelease.length === 0) { + this.inc('patch', identifier) + } + this.inc('pre', identifier) + break + + case 'major': + // If this is a pre-major version, bump up to the same major version. + // Otherwise increment major. + // 1.0.0-5 bumps to 1.0.0 + // 1.1.0 bumps to 2.0.0 + if (this.minor !== 0 || + this.patch !== 0 || + this.prerelease.length === 0) { + this.major++ + } + this.minor = 0 + this.patch = 0 + this.prerelease = [] + break + case 'minor': + // If this is a pre-minor version, bump up to the same minor version. + // Otherwise increment minor. + // 1.2.0-5 bumps to 1.2.0 + // 1.2.1 bumps to 1.3.0 + if (this.patch !== 0 || this.prerelease.length === 0) { + this.minor++ + } + this.patch = 0 + this.prerelease = [] + break + case 'patch': + // If this is not a pre-release version, it will increment the patch. + // If it is a pre-release it will bump up to the same patch version. + // 1.2.0-5 patches to 1.2.0 + // 1.2.0 patches to 1.2.1 + if (this.prerelease.length === 0) { + this.patch++ + } + this.prerelease = [] + break + // This probably shouldn't be used publicly. + // 1.0.0 "pre" would become 1.0.0-0 which is the wrong direction. + case 'pre': + if (this.prerelease.length === 0) { + this.prerelease = [0] + } else { + var i = this.prerelease.length + while (--i >= 0) { + if (typeof this.prerelease[i] === 'number') { + this.prerelease[i]++ + i = -2 + } + } + if (i === -1) { + // didn't increment anything + this.prerelease.push(0) + } + } + if (identifier) { + // 1.2.0-beta.1 bumps to 1.2.0-beta.2, + // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0 + if (this.prerelease[0] === identifier) { + if (isNaN(this.prerelease[1])) { + this.prerelease = [identifier, 0] + } + } else { + this.prerelease = [identifier, 0] + } + } + break + + default: + throw new Error('invalid increment argument: ' + release) + } + this.format() + this.raw = this.version + return this +} + +exports.inc = inc +function inc (version, release, loose, identifier) { + if (typeof (loose) === 'string') { + identifier = loose + loose = undefined + } + + try { + return new SemVer(version, loose).inc(release, identifier).version + } catch (er) { + return null + } +} + +exports.diff = diff +function diff (version1, version2) { + if (eq(version1, version2)) { + return null + } else { + var v1 = parse(version1) + var v2 = parse(version2) + var prefix = '' + if (v1.prerelease.length || v2.prerelease.length) { + prefix = 'pre' + var defaultResult = 'prerelease' + } + for (var key in v1) { + if (key === 'major' || key === 'minor' || key === 'patch') { + if (v1[key] !== v2[key]) { + return prefix + key + } + } + } + return defaultResult // may be undefined + } +} + +exports.compareIdentifiers = compareIdentifiers + +var numeric = /^[0-9]+$/ +function compareIdentifiers (a, b) { + var anum = numeric.test(a) + var bnum = numeric.test(b) + + if (anum && bnum) { + a = +a + b = +b + } + + return a === b ? 0 + : (anum && !bnum) ? -1 + : (bnum && !anum) ? 1 + : a < b ? -1 + : 1 +} + +exports.rcompareIdentifiers = rcompareIdentifiers +function rcompareIdentifiers (a, b) { + return compareIdentifiers(b, a) +} + +exports.major = major +function major (a, loose) { + return new SemVer(a, loose).major +} + +exports.minor = minor +function minor (a, loose) { + return new SemVer(a, loose).minor +} + +exports.patch = patch +function patch (a, loose) { + return new SemVer(a, loose).patch +} + +exports.compare = compare +function compare (a, b, loose) { + return new SemVer(a, loose).compare(new SemVer(b, loose)) +} + +exports.compareLoose = compareLoose +function compareLoose (a, b) { + return compare(a, b, true) +} + +exports.compareBuild = compareBuild +function compareBuild (a, b, loose) { + var versionA = new SemVer(a, loose) + var versionB = new SemVer(b, loose) + return versionA.compare(versionB) || versionA.compareBuild(versionB) +} + +exports.rcompare = rcompare +function rcompare (a, b, loose) { + return compare(b, a, loose) +} + +exports.sort = sort +function sort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(a, b, loose) + }) +} + +exports.rsort = rsort +function rsort (list, loose) { + return list.sort(function (a, b) { + return exports.compareBuild(b, a, loose) + }) +} + +exports.gt = gt +function gt (a, b, loose) { + return compare(a, b, loose) > 0 +} + +exports.lt = lt +function lt (a, b, loose) { + return compare(a, b, loose) < 0 +} + +exports.eq = eq +function eq (a, b, loose) { + return compare(a, b, loose) === 0 +} + +exports.neq = neq +function neq (a, b, loose) { + return compare(a, b, loose) !== 0 +} + +exports.gte = gte +function gte (a, b, loose) { + return compare(a, b, loose) >= 0 +} + +exports.lte = lte +function lte (a, b, loose) { + return compare(a, b, loose) <= 0 +} + +exports.cmp = cmp +function cmp (a, op, b, loose) { + switch (op) { + case '===': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a === b + + case '!==': + if (typeof a === 'object') + a = a.version + if (typeof b === 'object') + b = b.version + return a !== b + + case '': + case '=': + case '==': + return eq(a, b, loose) + + case '!=': + return neq(a, b, loose) + + case '>': + return gt(a, b, loose) + + case '>=': + return gte(a, b, loose) + + case '<': + return lt(a, b, loose) + + case '<=': + return lte(a, b, loose) + + default: + throw new TypeError('Invalid operator: ' + op) + } +} + +exports.Comparator = Comparator +function Comparator (comp, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (comp instanceof Comparator) { + if (comp.loose === !!options.loose) { + return comp + } else { + comp = comp.value + } + } + + if (!(this instanceof Comparator)) { + return new Comparator(comp, options) + } + + debug('comparator', comp, options) + this.options = options + this.loose = !!options.loose + this.parse(comp) + + if (this.semver === ANY) { + this.value = '' + } else { + this.value = this.operator + this.semver.version + } + + debug('comp', this) +} + +var ANY = {} +Comparator.prototype.parse = function (comp) { + var r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] + var m = comp.match(r) + + if (!m) { + throw new TypeError('Invalid comparator: ' + comp) + } + + this.operator = m[1] !== undefined ? m[1] : '' + if (this.operator === '=') { + this.operator = '' + } + + // if it literally is just '>' or '' then allow anything. + if (!m[2]) { + this.semver = ANY + } else { + this.semver = new SemVer(m[2], this.options.loose) + } +} + +Comparator.prototype.toString = function () { + return this.value +} + +Comparator.prototype.test = function (version) { + debug('Comparator.test', version, this.options.loose) + + if (this.semver === ANY || version === ANY) { + return true + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + return cmp(version, this.operator, this.semver, this.options) +} + +Comparator.prototype.intersects = function (comp, options) { + if (!(comp instanceof Comparator)) { + throw new TypeError('a Comparator is required') + } + + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + var rangeTmp + + if (this.operator === '') { + if (this.value === '') { + return true + } + rangeTmp = new Range(comp.value, options) + return satisfies(this.value, rangeTmp, options) + } else if (comp.operator === '') { + if (comp.value === '') { + return true + } + rangeTmp = new Range(this.value, options) + return satisfies(comp.semver, rangeTmp, options) + } + + var sameDirectionIncreasing = + (this.operator === '>=' || this.operator === '>') && + (comp.operator === '>=' || comp.operator === '>') + var sameDirectionDecreasing = + (this.operator === '<=' || this.operator === '<') && + (comp.operator === '<=' || comp.operator === '<') + var sameSemVer = this.semver.version === comp.semver.version + var differentDirectionsInclusive = + (this.operator === '>=' || this.operator === '<=') && + (comp.operator === '>=' || comp.operator === '<=') + var oppositeDirectionsLessThan = + cmp(this.semver, '<', comp.semver, options) && + ((this.operator === '>=' || this.operator === '>') && + (comp.operator === '<=' || comp.operator === '<')) + var oppositeDirectionsGreaterThan = + cmp(this.semver, '>', comp.semver, options) && + ((this.operator === '<=' || this.operator === '<') && + (comp.operator === '>=' || comp.operator === '>')) + + return sameDirectionIncreasing || sameDirectionDecreasing || + (sameSemVer && differentDirectionsInclusive) || + oppositeDirectionsLessThan || oppositeDirectionsGreaterThan +} + +exports.Range = Range +function Range (range, options) { + if (!options || typeof options !== 'object') { + options = { + loose: !!options, + includePrerelease: false + } + } + + if (range instanceof Range) { + if (range.loose === !!options.loose && + range.includePrerelease === !!options.includePrerelease) { + return range + } else { + return new Range(range.raw, options) + } + } + + if (range instanceof Comparator) { + return new Range(range.value, options) + } + + if (!(this instanceof Range)) { + return new Range(range, options) + } + + this.options = options + this.loose = !!options.loose + this.includePrerelease = !!options.includePrerelease + + // First, split based on boolean or || + this.raw = range + this.set = range.split(/\s*\|\|\s*/).map(function (range) { + return this.parseRange(range.trim()) + }, this).filter(function (c) { + // throw out any that are not relevant for whatever reason + return c.length + }) + + if (!this.set.length) { + throw new TypeError('Invalid SemVer Range: ' + range) + } + + this.format() +} + +Range.prototype.format = function () { + this.range = this.set.map(function (comps) { + return comps.join(' ').trim() + }).join('||').trim() + return this.range +} + +Range.prototype.toString = function () { + return this.range +} + +Range.prototype.parseRange = function (range) { + var loose = this.options.loose + range = range.trim() + // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4` + var hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE] + range = range.replace(hr, hyphenReplace) + debug('hyphen replace', range) + // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5` + range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace) + debug('comparator trim', range, re[t.COMPARATORTRIM]) + + // `~ 1.2.3` => `~1.2.3` + range = range.replace(re[t.TILDETRIM], tildeTrimReplace) + + // `^ 1.2.3` => `^1.2.3` + range = range.replace(re[t.CARETTRIM], caretTrimReplace) + + // normalize spaces + range = range.split(/\s+/).join(' ') + + // At this point, the range is completely trimmed and + // ready to be split into comparators. + + var compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR] + var set = range.split(' ').map(function (comp) { + return parseComparator(comp, this.options) + }, this).join(' ').split(/\s+/) + if (this.options.loose) { + // in loose mode, throw out any that are not valid comparators + set = set.filter(function (comp) { + return !!comp.match(compRe) + }) + } + set = set.map(function (comp) { + return new Comparator(comp, this.options) + }, this) + + return set +} + +Range.prototype.intersects = function (range, options) { + if (!(range instanceof Range)) { + throw new TypeError('a Range is required') + } + + return this.set.some(function (thisComparators) { + return ( + isSatisfiable(thisComparators, options) && + range.set.some(function (rangeComparators) { + return ( + isSatisfiable(rangeComparators, options) && + thisComparators.every(function (thisComparator) { + return rangeComparators.every(function (rangeComparator) { + return thisComparator.intersects(rangeComparator, options) + }) + }) + ) + }) + ) + }) +} + +// take a set of comparators and determine whether there +// exists a version which can satisfy it +function isSatisfiable (comparators, options) { + var result = true + var remainingComparators = comparators.slice() + var testComparator = remainingComparators.pop() + + while (result && remainingComparators.length) { + result = remainingComparators.every(function (otherComparator) { + return testComparator.intersects(otherComparator, options) + }) + + testComparator = remainingComparators.pop() + } + + return result +} + +// Mostly just for testing and legacy API reasons +exports.toComparators = toComparators +function toComparators (range, options) { + return new Range(range, options).set.map(function (comp) { + return comp.map(function (c) { + return c.value + }).join(' ').trim().split(' ') + }) +} + +// comprised of xranges, tildes, stars, and gtlt's at this point. +// already replaced the hyphen ranges +// turn into a set of JUST comparators. +function parseComparator (comp, options) { + debug('comp', comp, options) + comp = replaceCarets(comp, options) + debug('caret', comp) + comp = replaceTildes(comp, options) + debug('tildes', comp) + comp = replaceXRanges(comp, options) + debug('xrange', comp) + comp = replaceStars(comp, options) + debug('stars', comp) + return comp +} + +function isX (id) { + return !id || id.toLowerCase() === 'x' || id === '*' +} + +// ~, ~> --> * (any, kinda silly) +// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0 +// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0 +// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0 +// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0 +// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0 +function replaceTildes (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceTilde(comp, options) + }).join(' ') +} + +function replaceTilde (comp, options) { + var r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE] + return comp.replace(r, function (_, M, m, p, pr) { + debug('tilde', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + // ~1.2 == >=1.2.0 <1.3.0 + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else if (pr) { + debug('replaceTilde pr', pr) + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } else { + // ~1.2.3 == >=1.2.3 <1.3.0 + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + + debug('tilde return', ret) + return ret + }) +} + +// ^ --> * (any, kinda silly) +// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0 +// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0 +// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0 +// ^1.2.3 --> >=1.2.3 <2.0.0 +// ^1.2.0 --> >=1.2.0 <2.0.0 +function replaceCarets (comp, options) { + return comp.trim().split(/\s+/).map(function (comp) { + return replaceCaret(comp, options) + }).join(' ') +} + +function replaceCaret (comp, options) { + debug('caret', comp, options) + var r = options.loose ? re[t.CARETLOOSE] : re[t.CARET] + return comp.replace(r, function (_, M, m, p, pr) { + debug('caret', comp, _, M, m, p, pr) + var ret + + if (isX(M)) { + ret = '' + } else if (isX(m)) { + ret = '>=' + M + '.0.0 <' + (+M + 1) + '.0.0' + } else if (isX(p)) { + if (M === '0') { + ret = '>=' + M + '.' + m + '.0 <' + M + '.' + (+m + 1) + '.0' + } else { + ret = '>=' + M + '.' + m + '.0 <' + (+M + 1) + '.0.0' + } + } else if (pr) { + debug('replaceCaret pr', pr) + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + '-' + pr + + ' <' + (+M + 1) + '.0.0' + } + } else { + debug('no pr') + if (M === '0') { + if (m === '0') { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + m + '.' + (+p + 1) + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + M + '.' + (+m + 1) + '.0' + } + } else { + ret = '>=' + M + '.' + m + '.' + p + + ' <' + (+M + 1) + '.0.0' + } + } + + debug('caret return', ret) + return ret + }) +} + +function replaceXRanges (comp, options) { + debug('replaceXRanges', comp, options) + return comp.split(/\s+/).map(function (comp) { + return replaceXRange(comp, options) + }).join(' ') +} + +function replaceXRange (comp, options) { + comp = comp.trim() + var r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE] + return comp.replace(r, function (ret, gtlt, M, m, p, pr) { + debug('xRange', comp, ret, gtlt, M, m, p, pr) + var xM = isX(M) + var xm = xM || isX(m) + var xp = xm || isX(p) + var anyX = xp + + if (gtlt === '=' && anyX) { + gtlt = '' + } + + // if we're including prereleases in the match, then we need + // to fix this to -0, the lowest possible prerelease value + pr = options.includePrerelease ? '-0' : '' + + if (xM) { + if (gtlt === '>' || gtlt === '<') { + // nothing is allowed + ret = '<0.0.0-0' + } else { + // nothing is forbidden + ret = '*' + } + } else if (gtlt && anyX) { + // we know patch is an x, because we have any x at all. + // replace X with 0 + if (xm) { + m = 0 + } + p = 0 + + if (gtlt === '>') { + // >1 => >=2.0.0 + // >1.2 => >=1.3.0 + // >1.2.3 => >= 1.2.4 + gtlt = '>=' + if (xm) { + M = +M + 1 + m = 0 + p = 0 + } else { + m = +m + 1 + p = 0 + } + } else if (gtlt === '<=') { + // <=0.7.x is actually <0.8.0, since any 0.7.x should + // pass. Similarly, <=7.x is actually <8.0.0, etc. + gtlt = '<' + if (xm) { + M = +M + 1 + } else { + m = +m + 1 + } + } + + ret = gtlt + M + '.' + m + '.' + p + pr + } else if (xm) { + ret = '>=' + M + '.0.0' + pr + ' <' + (+M + 1) + '.0.0' + pr + } else if (xp) { + ret = '>=' + M + '.' + m + '.0' + pr + + ' <' + M + '.' + (+m + 1) + '.0' + pr + } + + debug('xRange return', ret) + + return ret + }) +} + +// Because * is AND-ed with everything else in the comparator, +// and '' means "any version", just remove the *s entirely. +function replaceStars (comp, options) { + debug('replaceStars', comp, options) + // Looseness is ignored here. star is always as loose as it gets! + return comp.trim().replace(re[t.STAR], '') +} + +// This function is passed to string.replace(re[t.HYPHENRANGE]) +// M, m, patch, prerelease, build +// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5 +// 1.2.3 - 3.4 => >=1.2.0 <3.5.0 Any 3.4.x will do +// 1.2 - 3.4 => >=1.2.0 <3.5.0 +function hyphenReplace ($0, + from, fM, fm, fp, fpr, fb, + to, tM, tm, tp, tpr, tb) { + if (isX(fM)) { + from = '' + } else if (isX(fm)) { + from = '>=' + fM + '.0.0' + } else if (isX(fp)) { + from = '>=' + fM + '.' + fm + '.0' + } else { + from = '>=' + from + } + + if (isX(tM)) { + to = '' + } else if (isX(tm)) { + to = '<' + (+tM + 1) + '.0.0' + } else if (isX(tp)) { + to = '<' + tM + '.' + (+tm + 1) + '.0' + } else if (tpr) { + to = '<=' + tM + '.' + tm + '.' + tp + '-' + tpr + } else { + to = '<=' + to + } + + return (from + ' ' + to).trim() +} + +// if ANY of the sets match ALL of its comparators, then pass +Range.prototype.test = function (version) { + if (!version) { + return false + } + + if (typeof version === 'string') { + try { + version = new SemVer(version, this.options) + } catch (er) { + return false + } + } + + for (var i = 0; i < this.set.length; i++) { + if (testSet(this.set[i], version, this.options)) { + return true + } + } + return false +} + +function testSet (set, version, options) { + for (var i = 0; i < set.length; i++) { + if (!set[i].test(version)) { + return false + } + } + + if (version.prerelease.length && !options.includePrerelease) { + // Find the set of versions that are allowed to have prereleases + // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0 + // That should allow `1.2.3-pr.2` to pass. + // However, `1.2.4-alpha.notready` should NOT be allowed, + // even though it's within the range set by the comparators. + for (i = 0; i < set.length; i++) { + debug(set[i].semver) + if (set[i].semver === ANY) { + continue + } + + if (set[i].semver.prerelease.length > 0) { + var allowed = set[i].semver + if (allowed.major === version.major && + allowed.minor === version.minor && + allowed.patch === version.patch) { + return true + } + } + } + + // Version has a -pre, but it's not one of the ones we like. + return false + } + + return true +} + +exports.satisfies = satisfies +function satisfies (version, range, options) { + try { + range = new Range(range, options) + } catch (er) { + return false + } + return range.test(version) +} + +exports.maxSatisfying = maxSatisfying +function maxSatisfying (versions, range, options) { + var max = null + var maxSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!max || maxSV.compare(v) === -1) { + // compare(max, v, true) + max = v + maxSV = new SemVer(max, options) + } + } + }) + return max +} + +exports.minSatisfying = minSatisfying +function minSatisfying (versions, range, options) { + var min = null + var minSV = null + try { + var rangeObj = new Range(range, options) + } catch (er) { + return null + } + versions.forEach(function (v) { + if (rangeObj.test(v)) { + // satisfies(v, range, options) + if (!min || minSV.compare(v) === 1) { + // compare(min, v, true) + min = v + minSV = new SemVer(min, options) + } + } + }) + return min +} + +exports.minVersion = minVersion +function minVersion (range, loose) { + range = new Range(range, loose) + + var minver = new SemVer('0.0.0') + if (range.test(minver)) { + return minver + } + + minver = new SemVer('0.0.0-0') + if (range.test(minver)) { + return minver + } + + minver = null + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + comparators.forEach(function (comparator) { + // Clone to avoid manipulating the comparator's semver object. + var compver = new SemVer(comparator.semver.version) + switch (comparator.operator) { + case '>': + if (compver.prerelease.length === 0) { + compver.patch++ + } else { + compver.prerelease.push(0) + } + compver.raw = compver.format() + /* fallthrough */ + case '': + case '>=': + if (!minver || gt(minver, compver)) { + minver = compver + } + break + case '<': + case '<=': + /* Ignore maximum versions */ + break + /* istanbul ignore next */ + default: + throw new Error('Unexpected operation: ' + comparator.operator) + } + }) + } + + if (minver && range.test(minver)) { + return minver + } + + return null +} + +exports.validRange = validRange +function validRange (range, options) { + try { + // Return '*' instead of '' so that truthiness works. + // This will throw if it's invalid anyway + return new Range(range, options).range || '*' + } catch (er) { + return null + } +} + +// Determine if version is less than all the versions possible in the range +exports.ltr = ltr +function ltr (version, range, options) { + return outside(version, range, '<', options) +} + +// Determine if version is greater than all the versions possible in the range. +exports.gtr = gtr +function gtr (version, range, options) { + return outside(version, range, '>', options) +} + +exports.outside = outside +function outside (version, range, hilo, options) { + version = new SemVer(version, options) + range = new Range(range, options) + + var gtfn, ltefn, ltfn, comp, ecomp + switch (hilo) { + case '>': + gtfn = gt + ltefn = lte + ltfn = lt + comp = '>' + ecomp = '>=' + break + case '<': + gtfn = lt + ltefn = gte + ltfn = gt + comp = '<' + ecomp = '<=' + break + default: + throw new TypeError('Must provide a hilo val of "<" or ">"') + } + + // If it satisifes the range it is not outside + if (satisfies(version, range, options)) { + return false + } + + // From now on, variable terms are as if we're in "gtr" mode. + // but note that everything is flipped for the "ltr" function. + + for (var i = 0; i < range.set.length; ++i) { + var comparators = range.set[i] + + var high = null + var low = null + + comparators.forEach(function (comparator) { + if (comparator.semver === ANY) { + comparator = new Comparator('>=0.0.0') + } + high = high || comparator + low = low || comparator + if (gtfn(comparator.semver, high.semver, options)) { + high = comparator + } else if (ltfn(comparator.semver, low.semver, options)) { + low = comparator + } + }) + + // If the edge version comparator has a operator then our version + // isn't outside it + if (high.operator === comp || high.operator === ecomp) { + return false + } + + // If the lowest version comparator has an operator and our version + // is less than it then it isn't higher than the range + if ((!low.operator || low.operator === comp) && + ltefn(version, low.semver)) { + return false + } else if (low.operator === ecomp && ltfn(version, low.semver)) { + return false + } + } + return true +} + +exports.prerelease = prerelease +function prerelease (version, options) { + var parsed = parse(version, options) + return (parsed && parsed.prerelease.length) ? parsed.prerelease : null +} + +exports.intersects = intersects +function intersects (r1, r2, options) { + r1 = new Range(r1, options) + r2 = new Range(r2, options) + return r1.intersects(r2) +} + +exports.coerce = coerce +function coerce (version, options) { + if (version instanceof SemVer) { + return version + } + + if (typeof version === 'number') { + version = String(version) + } + + if (typeof version !== 'string') { + return null + } + + options = options || {} + + var match = null + if (!options.rtl) { + match = version.match(re[t.COERCE]) + } else { + // Find the right-most coercible string that does not share + // a terminus with a more left-ward coercible string. + // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4' + // + // Walk through the string checking with a /g regexp + // Manually set the index so as to pick up overlapping matches. + // Stop when we get a match that ends at the string end, since no + // coercible string can be more right-ward without the same terminus. + var next + while ((next = re[t.COERCERTL].exec(version)) && + (!match || match.index + match[0].length !== version.length) + ) { + if (!match || + next.index + next[0].length !== match.index + match[0].length) { + match = next + } + re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length + } + // leave it in a clean state + re[t.COERCERTL].lastIndex = -1 + } + + if (match === null) { + return null + } + + return parse(match[2] + + '.' + (match[3] || '0') + + '.' + (match[4] || '0'), options) +} + + +/***/ }), + +/***/ 3355: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var GetIntrinsic = __nccwpck_require__(4880); +var callBound = __nccwpck_require__(4353); +var inspect = __nccwpck_require__(3343); + +var $TypeError = GetIntrinsic('%TypeError%'); +var $WeakMap = GetIntrinsic('%WeakMap%', true); +var $Map = GetIntrinsic('%Map%', true); + +var $weakMapGet = callBound('WeakMap.prototype.get', true); +var $weakMapSet = callBound('WeakMap.prototype.set', true); +var $weakMapHas = callBound('WeakMap.prototype.has', true); +var $mapGet = callBound('Map.prototype.get', true); +var $mapSet = callBound('Map.prototype.set', true); +var $mapHas = callBound('Map.prototype.has', true); + +/* + * This function traverses the list returning the node corresponding to the + * given key. + * + * That node is also moved to the head of the list, so that if it's accessed + * again we don't need to traverse the whole list. By doing so, all the recently + * used nodes can be accessed relatively quickly. + */ +var listGetNode = function (list, key) { // eslint-disable-line consistent-return + for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) { + if (curr.key === key) { + prev.next = curr.next; + curr.next = list.next; + list.next = curr; // eslint-disable-line no-param-reassign + return curr; + } + } +}; + +var listGet = function (objects, key) { + var node = listGetNode(objects, key); + return node && node.value; +}; +var listSet = function (objects, key, value) { + var node = listGetNode(objects, key); + if (node) { + node.value = value; + } else { + // Prepend the new node to the beginning of the list + objects.next = { // eslint-disable-line no-param-reassign + key: key, + next: objects.next, + value: value + }; + } +}; +var listHas = function (objects, key) { + return !!listGetNode(objects, key); +}; + +module.exports = function getSideChannel() { + var $wm; + var $m; + var $o; + var channel = { + assert: function (key) { + if (!channel.has(key)) { + throw new $TypeError('Side channel does not contain ' + inspect(key)); + } + }, + get: function (key) { // eslint-disable-line consistent-return + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapGet($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapGet($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listGet($o, key); + } + } + }, + has: function (key) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if ($wm) { + return $weakMapHas($wm, key); + } + } else if ($Map) { + if ($m) { + return $mapHas($m, key); + } + } else { + if ($o) { // eslint-disable-line no-lonely-if + return listHas($o, key); + } + } + return false; + }, + set: function (key, value) { + if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) { + if (!$wm) { + $wm = new $WeakMap(); + } + $weakMapSet($wm, key, value); + } else if ($Map) { + if (!$m) { + $m = new $Map(); + } + $mapSet($m, key, value); + } else { + if (!$o) { + /* + * Initialize the linked list as an empty node, so that we don't have + * to special-case handling of the first node: we can always refer to + * it as (previous node).next, instead of something like (list).head + */ + $o = { key: {}, next: null }; + } + listSet($o, key, value); + } + } + }; + return channel; +}; + + +/***/ }), + +/***/ 9958: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(9306); + + +/***/ }), + +/***/ 9306: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var net = __nccwpck_require__(1808); +var tls = __nccwpck_require__(4404); +var http = __nccwpck_require__(3685); +var https = __nccwpck_require__(5687); +var events = __nccwpck_require__(2361); +var assert = __nccwpck_require__(9491); +var util = __nccwpck_require__(3837); + + +exports.httpOverHttp = httpOverHttp; +exports.httpsOverHttp = httpsOverHttp; +exports.httpOverHttps = httpOverHttps; +exports.httpsOverHttps = httpsOverHttps; + + +function httpOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + return agent; +} + +function httpsOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + +function httpOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + return agent; +} + +function httpsOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + + +function TunnelingAgent(options) { + var self = this; + self.options = options || {}; + self.proxyOptions = self.options.proxy || {}; + self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; + self.requests = []; + self.sockets = []; + + self.on('free', function onFree(socket, host, port, localAddress) { + var options = toOptions(host, port, localAddress); + for (var i = 0, len = self.requests.length; i < len; ++i) { + var pending = self.requests[i]; + if (pending.host === options.host && pending.port === options.port) { + // Detect the request to connect same origin server, + // reuse the connection. + self.requests.splice(i, 1); + pending.request.onSocket(socket); + return; + } + } + socket.destroy(); + self.removeSocket(socket); + }); +} +util.inherits(TunnelingAgent, events.EventEmitter); + +TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { + var self = this; + var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); + + if (self.sockets.length >= this.maxSockets) { + // We are over limit so we'll add it to the queue. + self.requests.push(options); + return; + } + + // If we are under maxSockets create a new one. + self.createSocket(options, function(socket) { + socket.on('free', onFree); + socket.on('close', onCloseOrRemove); + socket.on('agentRemove', onCloseOrRemove); + req.onSocket(socket); + + function onFree() { + self.emit('free', socket, options); + } + + function onCloseOrRemove(err) { + self.removeSocket(socket); + socket.removeListener('free', onFree); + socket.removeListener('close', onCloseOrRemove); + socket.removeListener('agentRemove', onCloseOrRemove); + } + }); +}; + +TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { + var self = this; + var placeholder = {}; + self.sockets.push(placeholder); + + var connectOptions = mergeOptions({}, self.proxyOptions, { + method: 'CONNECT', + path: options.host + ':' + options.port, + agent: false, + headers: { + host: options.host + ':' + options.port + } + }); + if (options.localAddress) { + connectOptions.localAddress = options.localAddress; + } + if (connectOptions.proxyAuth) { + connectOptions.headers = connectOptions.headers || {}; + connectOptions.headers['Proxy-Authorization'] = 'Basic ' + + new Buffer(connectOptions.proxyAuth).toString('base64'); + } + + debug('making CONNECT request'); + var connectReq = self.request(connectOptions); + connectReq.useChunkedEncodingByDefault = false; // for v0.6 + connectReq.once('response', onResponse); // for v0.6 + connectReq.once('upgrade', onUpgrade); // for v0.6 + connectReq.once('connect', onConnect); // for v0.7 or later + connectReq.once('error', onError); + connectReq.end(); + + function onResponse(res) { + // Very hacky. This is necessary to avoid http-parser leaks. + res.upgrade = true; + } + + function onUpgrade(res, socket, head) { + // Hacky. + process.nextTick(function() { + onConnect(res, socket, head); + }); + } + + function onConnect(res, socket, head) { + connectReq.removeAllListeners(); + socket.removeAllListeners(); + + if (res.statusCode !== 200) { + debug('tunneling socket could not be established, statusCode=%d', + res.statusCode); + socket.destroy(); + var error = new Error('tunneling socket could not be established, ' + + 'statusCode=' + res.statusCode); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + if (head.length > 0) { + debug('got illegal response body from proxy'); + socket.destroy(); + var error = new Error('got illegal response body from proxy'); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + debug('tunneling connection has established'); + self.sockets[self.sockets.indexOf(placeholder)] = socket; + return cb(socket); + } + + function onError(cause) { + connectReq.removeAllListeners(); + + debug('tunneling socket could not be established, cause=%s\n', + cause.message, cause.stack); + var error = new Error('tunneling socket could not be established, ' + + 'cause=' + cause.message); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + } +}; + +TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { + var pos = this.sockets.indexOf(socket) + if (pos === -1) { + return; + } + this.sockets.splice(pos, 1); + + var pending = this.requests.shift(); + if (pending) { + // If we have pending requests and a socket gets closed a new one + // needs to be created to take over in the pool for the one that closed. + this.createSocket(pending, function(socket) { + pending.request.onSocket(socket); + }); + } +}; + +function createSecureSocket(options, cb) { + var self = this; + TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { + var hostHeader = options.request.getHeader('host'); + var tlsOptions = mergeOptions({}, self.options, { + socket: socket, + servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host + }); + + // 0 is dummy port for v0.6 + var secureSocket = tls.connect(0, tlsOptions); + self.sockets[self.sockets.indexOf(socket)] = secureSocket; + cb(secureSocket); + }); +} + + +function toOptions(host, port, localAddress) { + if (typeof host === 'string') { // since v0.10 + return { + host: host, + port: port, + localAddress: localAddress + }; + } + return host; // for v0.11 or later +} + +function mergeOptions(target) { + for (var i = 1, len = arguments.length; i < len; ++i) { + var overrides = arguments[i]; + if (typeof overrides === 'object') { + var keys = Object.keys(overrides); + for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { + var k = keys[j]; + if (overrides[k] !== undefined) { + target[k] = overrides[k]; + } + } + } + } + return target; +} + + +var debug; +if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { + debug = function() { + var args = Array.prototype.slice.call(arguments); + if (typeof args[0] === 'string') { + args[0] = 'TUNNEL: ' + args[0]; + } else { + args.unshift('TUNNEL:'); + } + console.error.apply(console, args); + } +} else { + debug = function() {}; +} +exports.debug = debug; // for test + + +/***/ }), + +/***/ 6566: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + 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) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const url = __nccwpck_require__(7310); +const http = __nccwpck_require__(3685); +const https = __nccwpck_require__(5687); +const util = __nccwpck_require__(5235); +let fs; +let tunnel; +var HttpCodes; +(function (HttpCodes) { + HttpCodes[HttpCodes["OK"] = 200] = "OK"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {})); +const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect]; +const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout]; +const NetworkRetryErrors = ['ECONNRESET', 'ENOTFOUND', 'ESOCKETTIMEDOUT', 'ETIMEDOUT', 'ECONNREFUSED']; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + let buffer = Buffer.alloc(0); + const encodingCharset = util.obtainContentCharset(this); + // Extract Encoding from header: 'content-encoding' + // Match `gzip`, `gzip, deflate` variations of GZIP encoding + const contentEncoding = this.message.headers['content-encoding'] || ''; + const isGzippedEncoded = new RegExp('(gzip$)|(gzip, *deflate)').test(contentEncoding); + this.message.on('data', function (data) { + const chunk = (typeof data === 'string') ? Buffer.from(data, encodingCharset) : data; + buffer = Buffer.concat([buffer, chunk]); + }).on('end', function () { + return __awaiter(this, void 0, void 0, function* () { + if (isGzippedEncoded) { // Process GZipped Response Body HERE + const gunzippedBody = yield util.decompressGzippedContent(buffer, encodingCharset); + resolve(gunzippedBody); + } + else { + resolve(buffer.toString(encodingCharset)); + } + }); + }).on('error', function (err) { + reject(err); + }); + })); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + let parsedUrl = url.parse(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +var EnvironmentVariables; +(function (EnvironmentVariables) { + EnvironmentVariables["HTTP_PROXY"] = "HTTP_PROXY"; + EnvironmentVariables["HTTPS_PROXY"] = "HTTPS_PROXY"; + EnvironmentVariables["NO_PROXY"] = "NO_PROXY"; +})(EnvironmentVariables || (EnvironmentVariables = {})); +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + let no_proxy = process.env[EnvironmentVariables.NO_PROXY]; + if (no_proxy) { + this._httpProxyBypassHosts = []; + no_proxy.split(',').forEach(bypass => { + this._httpProxyBypassHosts.push(util.buildProxyBypassRegexFromEnv(bypass)); + }); + } + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + this._httpProxy = requestOptions.proxy; + if (requestOptions.proxy && requestOptions.proxy.proxyBypassHosts) { + this._httpProxyBypassHosts = []; + requestOptions.proxy.proxyBypassHosts.forEach(bypass => { + this._httpProxyBypassHosts.push(new RegExp(bypass, 'i')); + }); + } + this._certConfig = requestOptions.cert; + if (this._certConfig) { + // If using cert, need fs + fs = __nccwpck_require__(7147); + // cache the cert content into memory, so we don't have to read it from disk every time + if (this._certConfig.caFile && fs.existsSync(this._certConfig.caFile)) { + this._ca = fs.readFileSync(this._certConfig.caFile, 'utf8'); + } + if (this._certConfig.certFile && fs.existsSync(this._certConfig.certFile)) { + this._cert = fs.readFileSync(this._certConfig.certFile, 'utf8'); + } + if (this._certConfig.keyFile && fs.existsSync(this._certConfig.keyFile)) { + this._key = fs.readFileSync(this._certConfig.keyFile, 'utf8'); + } + } + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + } + get(requestUrl, additionalHeaders) { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + } + del(requestUrl, additionalHeaders) { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + } + post(requestUrl, data, additionalHeaders) { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + } + patch(requestUrl, data, additionalHeaders) { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + } + put(requestUrl, data, additionalHeaders) { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + } + head(requestUrl, additionalHeaders) { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return this.request(verb, requestUrl, stream, additionalHeaders); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + request(verb, requestUrl, data, headers) { + return __awaiter(this, void 0, void 0, function* () { + if (this._disposed) { + throw new Error("Client has already been disposed."); + } + let parsedUrl = url.parse(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1; + let numTries = 0; + let response; + while (numTries < maxTries) { + try { + response = yield this.requestRaw(info, data); + } + catch (err) { + numTries++; + if (err && err.code && NetworkRetryErrors.indexOf(err.code) > -1 && numTries < maxTries) { + yield this._performExponentialBackoff(numTries); + continue; + } + throw err; + } + // Check if it's an authentication challenge + if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (let i = 0; i < this.handlers.length; i++) { + if (this.handlers[i].canHandleAuthentication(response)) { + authenticationHandler = this.handlers[i]; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 + && this._allowRedirects + && redirectsRemaining > 0) { + const redirectUrl = response.message.headers["location"]; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + let parsedRedirectUrl = url.parse(redirectUrl); + if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) { + throw new Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true."); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + yield response.readBody(); + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = yield this.requestRaw(info, data); + redirectsRemaining--; + } + if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + yield response.readBody(); + yield this._performExponentialBackoff(numTries); + } + } + return response; + }); + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return new Promise((resolve, reject) => { + let callbackForResult = function (err, res) { + if (err) { + reject(err); + } + resolve(res); + }; + this.requestRawWithCallback(info, data, callbackForResult); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + let socket; + if (typeof (data) === 'string') { + info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + let handleResult = (err, res) => { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + }; + let req = info.httpModule.request(info.options, (msg) => { + let res = new HttpClientResponse(msg); + handleResult(null, res); + }); + req.on('socket', (sock) => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.destroy(); + } + handleResult(new Error('Request timeout: ' + info.options.path), null); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err, null); + }); + if (data && typeof (data) === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof (data) !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort; + info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.timeout = (this.requestOptions && this.requestOptions.socketTimeout) || this._socketTimeout; + this._socketTimeout = info.options.timeout; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers["user-agent"] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers && !this._isPresigned(url.format(requestUrl))) { + this.handlers.forEach((handler) => { + handler.prepareRequest(info.options); + }); + } + return info; + } + _isPresigned(requestUrl) { + if (this.requestOptions && this.requestOptions.presignedUrlPatterns) { + const patterns = this.requestOptions.presignedUrlPatterns; + for (let i = 0; i < patterns.length; i++) { + if (requestUrl.match(patterns[i])) { + return true; + } + } + } + return false; + } + _mergeHeaders(headers) { + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); + } + return lowercaseKeys(headers || {}); + } + _getAgent(parsedUrl) { + let agent; + let proxy = this._getProxy(parsedUrl); + let useProxy = proxy.proxyUrl && proxy.proxyUrl.hostname && !this._isMatchInBypassProxyList(parsedUrl); + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (this._keepAlive && !useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (!!agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (!!this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + if (useProxy) { + // If using proxy, need tunnel + if (!tunnel) { + tunnel = __nccwpck_require__(9958); + } + const agentOptions = { + maxSockets: maxSockets, + keepAlive: this._keepAlive, + proxy: { + proxyAuth: proxy.proxyAuth, + host: proxy.proxyUrl.hostname, + port: proxy.proxyUrl.port + }, + }; + let tunnelAgent; + const overHttps = proxy.proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if reusing agent across request and tunneling agent isn't assigned create a new agent + if (this._keepAlive && !agent) { + const options = { keepAlive: this._keepAlive, maxSockets: maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + // if not using private agent and tunnel agent isn't setup then use global agent + if (!agent) { + agent = usingSsl ? https.globalAgent : http.globalAgent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false }); + } + if (usingSsl && this._certConfig) { + agent.options = Object.assign(agent.options || {}, { ca: this._ca, cert: this._cert, key: this._key, passphrase: this._certConfig.passphrase }); + } + return agent; + } + _getProxy(parsedUrl) { + let usingSsl = parsedUrl.protocol === 'https:'; + let proxyConfig = this._httpProxy; + // fallback to http_proxy and https_proxy env + let https_proxy = process.env[EnvironmentVariables.HTTPS_PROXY]; + let http_proxy = process.env[EnvironmentVariables.HTTP_PROXY]; + if (!proxyConfig) { + if (https_proxy && usingSsl) { + proxyConfig = { + proxyUrl: https_proxy + }; + } + else if (http_proxy) { + proxyConfig = { + proxyUrl: http_proxy + }; + } + } + let proxyUrl; + let proxyAuth; + if (proxyConfig) { + if (proxyConfig.proxyUrl.length > 0) { + proxyUrl = url.parse(proxyConfig.proxyUrl); + } + if (proxyConfig.proxyUsername || proxyConfig.proxyPassword) { + proxyAuth = proxyConfig.proxyUsername + ":" + proxyConfig.proxyPassword; + } + } + return { proxyUrl: proxyUrl, proxyAuth: proxyAuth }; + } + _isMatchInBypassProxyList(parsedUrl) { + if (!this._httpProxyBypassHosts) { + return false; + } + let bypass = false; + this._httpProxyBypassHosts.forEach(bypassHost => { + if (bypassHost.test(parsedUrl.href)) { + bypass = true; + } + }); + return bypass; + } + _performExponentialBackoff(retryNumber) { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + } +} +exports.HttpClient = HttpClient; + + +/***/ }), + +/***/ 5235: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + 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) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const qs = __nccwpck_require__(737); +const url = __nccwpck_require__(7310); +const path = __nccwpck_require__(1017); +const zlib = __nccwpck_require__(9796); +/** + * creates an url from a request url and optional base url (http://server:8080) + * @param {string} resource - a fully qualified url or relative path + * @param {string} baseUrl - an optional baseUrl (http://server:8080) + * @param {IRequestOptions} options - an optional options object, could include QueryParameters e.g. + * @return {string} - resultant url + */ +function getUrl(resource, baseUrl, queryParams) { + const pathApi = path.posix || path; + let requestUrl = ''; + if (!baseUrl) { + requestUrl = resource; + } + else if (!resource) { + requestUrl = baseUrl; + } + else { + const base = url.parse(baseUrl); + const resultantUrl = url.parse(resource); + // resource (specific per request) elements take priority + resultantUrl.protocol = resultantUrl.protocol || base.protocol; + resultantUrl.auth = resultantUrl.auth || base.auth; + resultantUrl.host = resultantUrl.host || base.host; + resultantUrl.pathname = pathApi.resolve(base.pathname, resultantUrl.pathname); + if (!resultantUrl.pathname.endsWith('/') && resource.endsWith('/')) { + resultantUrl.pathname += '/'; + } + requestUrl = url.format(resultantUrl); + } + return queryParams ? + getUrlWithParsedQueryParams(requestUrl, queryParams) : + requestUrl; +} +exports.getUrl = getUrl; +/** + * + * @param {string} requestUrl + * @param {IRequestQueryParams} queryParams + * @return {string} - Request's URL with Query Parameters appended/parsed. + */ +function getUrlWithParsedQueryParams(requestUrl, queryParams) { + const url = requestUrl.replace(/\?$/g, ''); // Clean any extra end-of-string "?" character + const parsedQueryParams = qs.stringify(queryParams.params, buildParamsStringifyOptions(queryParams)); + return `${url}${parsedQueryParams}`; +} +/** + * Build options for QueryParams Stringifying. + * + * @param {IRequestQueryParams} queryParams + * @return {object} + */ +function buildParamsStringifyOptions(queryParams) { + let options = { + addQueryPrefix: true, + delimiter: (queryParams.options || {}).separator || '&', + allowDots: (queryParams.options || {}).shouldAllowDots || false, + arrayFormat: (queryParams.options || {}).arrayFormat || 'repeat', + encodeValuesOnly: (queryParams.options || {}).shouldOnlyEncodeValues || true + }; + return options; +} +/** + * Decompress/Decode gzip encoded JSON + * Using Node.js built-in zlib module + * + * @param {Buffer} buffer + * @param {string} charset? - optional; defaults to 'utf-8' + * @return {Promise} + */ +function decompressGzippedContent(buffer, charset) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + zlib.gunzip(buffer, function (error, buffer) { + if (error) { + reject(error); + } + resolve(buffer.toString(charset || 'utf-8')); + }); + })); + }); +} +exports.decompressGzippedContent = decompressGzippedContent; +/** + * Builds a RegExp to test urls against for deciding + * wether to bypass proxy from an entry of the + * environment variable setting NO_PROXY + * + * @param {string} bypass + * @return {RegExp} + */ +function buildProxyBypassRegexFromEnv(bypass) { + try { + // We need to keep this around for back-compat purposes + return new RegExp(bypass, 'i'); + } + catch (err) { + if (err instanceof SyntaxError && (bypass || "").startsWith("*")) { + let wildcardEscaped = bypass.replace('*', '(.*)'); + return new RegExp(wildcardEscaped, 'i'); + } + throw err; + } +} +exports.buildProxyBypassRegexFromEnv = buildProxyBypassRegexFromEnv; +/** + * Obtain Response's Content Charset. + * Through inspecting `content-type` response header. + * It Returns 'utf-8' if NO charset specified/matched. + * + * @param {IHttpClientResponse} response + * @return {string} - Content Encoding Charset; Default=utf-8 + */ +function obtainContentCharset(response) { + // Find the charset, if specified. + // Search for the `charset=CHARSET` string, not including `;,\r\n` + // Example: content-type: 'application/json;charset=utf-8' + // |__ matches would be ['charset=utf-8', 'utf-8', index: 18, input: 'application/json; charset=utf-8'] + // |_____ matches[1] would have the charset :tada: , in our example it's utf-8 + // However, if the matches Array was empty or no charset found, 'utf-8' would be returned by default. + const nodeSupportedEncodings = ['ascii', 'utf8', 'utf16le', 'ucs2', 'base64', 'binary', 'hex']; + const contentType = response.message.headers['content-type'] || ''; + const matches = contentType.match(/charset=([^;,\r\n]+)/i); + return (matches && matches[1] && nodeSupportedEncodings.indexOf(matches[1]) != -1) ? matches[1] : 'utf-8'; +} +exports.obtainContentCharset = obtainContentCharset; + + +/***/ }), + +/***/ 919: +/***/ ((module) => { + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +var byteToHex = []; +for (var i = 0; i < 256; ++i) { + byteToHex[i] = (i + 0x100).toString(16).substr(1); +} + +function bytesToUuid(buf, offset) { + var i = offset || 0; + var bth = byteToHex; + // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 + return ([ + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], '-', + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]], + bth[buf[i++]], bth[buf[i++]] + ]).join(''); +} + +module.exports = bytesToUuid; + + +/***/ }), + +/***/ 7868: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +// Unique ID creation requires a high quality random # generator. In node.js +// this is pretty straight-forward - we use the crypto API. + +var crypto = __nccwpck_require__(6113); + +module.exports = function nodeRNG() { + return crypto.randomBytes(16); +}; + + +/***/ }), + +/***/ 3902: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var rng = __nccwpck_require__(7868); +var bytesToUuid = __nccwpck_require__(919); + +function v4(options, buf, offset) { + var i = buf && offset || 0; + + if (typeof(options) == 'string') { + buf = options === 'binary' ? new Array(16) : null; + options = null; + } + options = options || {}; + + var rnds = options.random || (options.rng || rng)(); + + // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` + rnds[6] = (rnds[6] & 0x0f) | 0x40; + rnds[8] = (rnds[8] & 0x3f) | 0x80; + + // Copy bytes to buffer, if provided + if (buf) { + for (var ii = 0; ii < 16; ++ii) { + buf[i + ii] = rnds[ii]; + } + } + + return buf || bytesToUuid(rnds); +} + +module.exports = v4; + + +/***/ }), + +/***/ 34: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// Copyright (c) Microsoft Corporation. +// Copyright (c) Microsoft Corporation. +// Licensed under the MIT license. +var __awaiter = (this && this.__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); } } + 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()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.walkSync = exports.findHelm = exports.downloadHelm = exports.getHelmDownloadURL = exports.getExecutableExtension = exports.getLatestHelmVersion = exports.getValidVersion = exports.run = void 0; +const os = __nccwpck_require__(2037); +const path = __nccwpck_require__(1017); +const util = __nccwpck_require__(3837); +const fs = __nccwpck_require__(7147); +const toolCache = __nccwpck_require__(3594); +const core = __nccwpck_require__(6024); +const helmToolName = "helm"; +const stableHelmVersion = "v3.8.0"; +const helmAllReleasesUrl = "https://api.github.com/repos/helm/helm/releases"; +function run() { + return __awaiter(this, void 0, void 0, function* () { + let version = core.getInput("version", { required: true }); + if (version !== "latest" && version[0] !== "v") { + version = getValidVersion(version); + } + if (version.toLocaleLowerCase() === "latest") { + version = yield getLatestHelmVersion(); + } + core.debug(util.format("Downloading %s", version)); + let cachedPath = yield downloadHelm(version); + try { + if (!process.env["PATH"].startsWith(path.dirname(cachedPath))) { + core.addPath(path.dirname(cachedPath)); + } + } + catch (_a) { + //do nothing, set as output variable + } + console.log(`Helm tool version: '${version}' has been cached at ${cachedPath}`); + core.setOutput("helm-path", cachedPath); + }); +} +exports.run = run; +//Returns version with proper v before it +function getValidVersion(version) { + return "v" + version; +} +exports.getValidVersion = getValidVersion; +// Downloads the helm releases JSON and parses all the recent versions of helm from it. +// Defaults to sending stable helm version if none are valid or if it fails +function getLatestHelmVersion() { + return __awaiter(this, void 0, void 0, function* () { + const helmJSONPath = yield toolCache.downloadTool(helmAllReleasesUrl); + try { + const helmJSON = JSON.parse(fs.readFileSync(helmJSONPath, "utf-8")); + for (let i in helmJSON) { + if (isValidVersion(helmJSON[i].tag_name)) { + return helmJSON[i].tag_name; + } + } + } + catch (err) { + core.warning(util.format("Error while fetching the latest Helm release. Error: %s. Using default Helm version %s", err.toString(), stableHelmVersion)); + return stableHelmVersion; + } + return stableHelmVersion; + }); +} +exports.getLatestHelmVersion = getLatestHelmVersion; +// isValidVersion checks if verison is a stable release +function isValidVersion(version) { + return version.indexOf("rc") == -1; +} +function getExecutableExtension() { + if (os.type().match(/^Win/)) { + return ".exe"; + } + return ""; +} +exports.getExecutableExtension = getExecutableExtension; +const LINUX = "Linux"; +const MAC_OS = "Darwin"; +const WINDOWS = "Windows_NT"; +const ARM64 = "arm64"; +function getHelmDownloadURL(version) { + const arch = os.arch(); + const operatingSystem = os.type(); + switch (true) { + case operatingSystem == LINUX && arch == ARM64: + return util.format("https://get.helm.sh/helm-%s-linux-arm64.zip", version); + case operatingSystem == LINUX: + return util.format("https://get.helm.sh/helm-%s-linux-amd64.zip", version); + case operatingSystem == MAC_OS && arch == ARM64: + return util.format("https://get.helm.sh/helm-%s-darwin-arm64.zip", version); + case operatingSystem == MAC_OS: + return util.format("https://get.helm.sh/helm-%s-darwin-amd64.zip", version); + case operatingSystem == WINDOWS: + default: + return util.format("https://get.helm.sh/helm-%s-windows-amd64.zip", version); + } +} +exports.getHelmDownloadURL = getHelmDownloadURL; +function downloadHelm(version) { + return __awaiter(this, void 0, void 0, function* () { + let cachedToolpath = toolCache.find(helmToolName, version); + if (!cachedToolpath) { + let helmDownloadPath; + try { + helmDownloadPath = yield toolCache.downloadTool(getHelmDownloadURL(version)); + } + catch (exception) { + throw new Error(util.format("Failed to download Helm from location", getHelmDownloadURL(version))); + } + fs.chmodSync(helmDownloadPath, "777"); + const unzipedHelmPath = yield toolCache.extractZip(helmDownloadPath); + cachedToolpath = yield toolCache.cacheDir(unzipedHelmPath, helmToolName, version); + } + const helmpath = findHelm(cachedToolpath); + if (!helmpath) { + throw new Error(util.format("Helm executable not found in path", cachedToolpath)); + } + fs.chmodSync(helmpath, "777"); + return helmpath; + }); +} +exports.downloadHelm = downloadHelm; +function findHelm(rootFolder) { + fs.chmodSync(rootFolder, "777"); + var filelist = []; + exports.walkSync(rootFolder, filelist, helmToolName + getExecutableExtension()); + if (!filelist || filelist.length == 0) { + throw new Error(util.format("Helm executable not found in path", rootFolder)); + } + else { + return filelist[0]; + } +} +exports.findHelm = findHelm; +exports.walkSync = function (dir, filelist, fileToFind) { + var files = fs.readdirSync(dir); + filelist = filelist || []; + files.forEach(function (file) { + if (fs.statSync(path.join(dir, file)).isDirectory()) { + filelist = exports.walkSync(path.join(dir, file), filelist, fileToFind); + } + else { + core.debug(file); + if (file == fileToFind) { + filelist.push(path.join(dir, file)); + } + } + }); + return filelist; +}; +run().catch(core.setFailed); + + +/***/ }), + +/***/ 9491: +/***/ ((module) => { + +"use strict"; +module.exports = require("assert"); + +/***/ }), + +/***/ 2081: +/***/ ((module) => { + +"use strict"; +module.exports = require("child_process"); + +/***/ }), + +/***/ 6113: +/***/ ((module) => { + +"use strict"; +module.exports = require("crypto"); + +/***/ }), + +/***/ 2361: +/***/ ((module) => { + +"use strict"; +module.exports = require("events"); + +/***/ }), + +/***/ 7147: +/***/ ((module) => { + +"use strict"; +module.exports = require("fs"); + +/***/ }), + +/***/ 3685: +/***/ ((module) => { + +"use strict"; +module.exports = require("http"); + +/***/ }), + +/***/ 5687: +/***/ ((module) => { + +"use strict"; +module.exports = require("https"); + +/***/ }), + +/***/ 1808: +/***/ ((module) => { + +"use strict"; +module.exports = require("net"); + +/***/ }), + +/***/ 2037: +/***/ ((module) => { + +"use strict"; +module.exports = require("os"); + +/***/ }), + +/***/ 1017: +/***/ ((module) => { + +"use strict"; +module.exports = require("path"); + +/***/ }), + +/***/ 1576: +/***/ ((module) => { + +"use strict"; +module.exports = require("string_decoder"); + +/***/ }), + +/***/ 9512: +/***/ ((module) => { + +"use strict"; +module.exports = require("timers"); + +/***/ }), + +/***/ 4404: +/***/ ((module) => { + +"use strict"; +module.exports = require("tls"); + +/***/ }), + +/***/ 7310: +/***/ ((module) => { + +"use strict"; +module.exports = require("url"); + +/***/ }), + +/***/ 3837: +/***/ ((module) => { + +"use strict"; +module.exports = require("util"); + +/***/ }), + +/***/ 9796: +/***/ ((module) => { + +"use strict"; +module.exports = require("zlib"); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __nccwpck_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ var threw = true; +/******/ try { +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __nccwpck_require__(34); +/******/ module.exports = __webpack_exports__; +/******/ +/******/ })() +; \ No newline at end of file diff --git a/lib/run.js b/lib/run.js deleted file mode 100644 index d8e87961..00000000 --- a/lib/run.js +++ /dev/null @@ -1,143 +0,0 @@ -"use strict"; -// Copyright (c) Microsoft Corporation. -// Copyright (c) Microsoft Corporation. -// Licensed under the MIT license. -var __awaiter = (this && this.__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); } } - 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()); - }); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.walkSync = exports.findHelm = exports.downloadHelm = exports.getHelmDownloadURL = exports.getExecutableExtension = exports.getLatestHelmVersion = exports.run = void 0; -const os = require("os"); -const path = require("path"); -const util = require("util"); -const fs = require("fs"); -const toolCache = require("@actions/tool-cache"); -const core = require("@actions/core"); -const helmToolName = 'helm'; -const stableHelmVersion = 'v3.8.0'; -const helmAllReleasesUrl = 'https://api.github.com/repos/helm/helm/releases'; -function run() { - return __awaiter(this, void 0, void 0, function* () { - let version = core.getInput('version', { 'required': true }); - if (version.toLocaleLowerCase() === 'latest') { - version = yield getLatestHelmVersion(); - } - core.debug(util.format("Downloading %s", version)); - let cachedPath = yield downloadHelm(version); - try { - if (!process.env['PATH'].startsWith(path.dirname(cachedPath))) { - core.addPath(path.dirname(cachedPath)); - } - } - catch (_a) { - //do nothing, set as output variable - } - console.log(`Helm tool version: '${version}' has been cached at ${cachedPath}`); - core.setOutput('helm-path', cachedPath); - }); -} -exports.run = run; -// Downloads the helm releases JSON and parses all the recent versions of helm from it. -// Defaults to sending stable helm version if none are valid or if it fails -function getLatestHelmVersion() { - return __awaiter(this, void 0, void 0, function* () { - const helmJSONPath = yield toolCache.downloadTool(helmAllReleasesUrl); - try { - const helmJSON = JSON.parse(fs.readFileSync(helmJSONPath, 'utf-8')); - for (let i in helmJSON) { - if (isValidVersion(helmJSON[i].tag_name)) { - return helmJSON[i].tag_name; - } - } - } - catch (err) { - core.warning(util.format("Error while fetching the latest Helm release. Error: %s. Using default Helm version %s", err.toString(), stableHelmVersion)); - return stableHelmVersion; - } - return stableHelmVersion; - }); -} -exports.getLatestHelmVersion = getLatestHelmVersion; -// isValidVersion checks if verison is a stable release -function isValidVersion(version) { - return version.indexOf('rc') == -1; -} -function getExecutableExtension() { - if (os.type().match(/^Win/)) { - return '.exe'; - } - return ''; -} -exports.getExecutableExtension = getExecutableExtension; -function getHelmDownloadURL(version) { - switch (os.type()) { - case 'Linux': - return util.format('https://get.helm.sh/helm-%s-linux-amd64.zip', version); - case 'Darwin': - return util.format('https://get.helm.sh/helm-%s-darwin-amd64.zip', version); - case 'Windows_NT': - default: - return util.format('https://get.helm.sh/helm-%s-windows-amd64.zip', version); - } -} -exports.getHelmDownloadURL = getHelmDownloadURL; -function downloadHelm(version) { - return __awaiter(this, void 0, void 0, function* () { - let cachedToolpath = toolCache.find(helmToolName, version); - if (!cachedToolpath) { - let helmDownloadPath; - try { - helmDownloadPath = yield toolCache.downloadTool(getHelmDownloadURL(version)); - } - catch (exception) { - throw new Error(util.format("Failed to download Helm from location", getHelmDownloadURL(version))); - } - fs.chmodSync(helmDownloadPath, '777'); - const unzipedHelmPath = yield toolCache.extractZip(helmDownloadPath); - cachedToolpath = yield toolCache.cacheDir(unzipedHelmPath, helmToolName, version); - } - const helmpath = findHelm(cachedToolpath); - if (!helmpath) { - throw new Error(util.format("Helm executable not found in path", cachedToolpath)); - } - fs.chmodSync(helmpath, '777'); - return helmpath; - }); -} -exports.downloadHelm = downloadHelm; -function findHelm(rootFolder) { - fs.chmodSync(rootFolder, '777'); - var filelist = []; - (0, exports.walkSync)(rootFolder, filelist, helmToolName + getExecutableExtension()); - if (!filelist || filelist.length == 0) { - throw new Error(util.format("Helm executable not found in path", rootFolder)); - } - else { - return filelist[0]; - } -} -exports.findHelm = findHelm; -var walkSync = function (dir, filelist, fileToFind) { - var files = fs.readdirSync(dir); - filelist = filelist || []; - files.forEach(function (file) { - if (fs.statSync(path.join(dir, file)).isDirectory()) { - filelist = (0, exports.walkSync)(path.join(dir, file), filelist, fileToFind); - } - else { - core.debug(file); - if (file == fileToFind) { - filelist.push(path.join(dir, file)); - } - } - }); - return filelist; -}; -exports.walkSync = walkSync; -run().catch(core.setFailed); diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 5fa19345..ecd0c7f6 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1065,6 +1065,15 @@ "integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==", "dev": true }, + "node_modules/@vercel/ncc": { + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.1.tgz", + "integrity": "sha512-Mlsps/P0PLZwsCFtSol23FGqT3FhBGb4B1AuGQ52JTAtXhak+b0Fh/4T55r0/SVQPeRiX9pNItOEHwakGPmZYA==", + "dev": true, + "bin": { + "ncc": "dist/ncc/cli.js" + } + }, "node_modules/abab": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", diff --git a/node_modules/@vercel/ncc/LICENSE b/node_modules/@vercel/ncc/LICENSE new file mode 100644 index 00000000..1a69ac83 --- /dev/null +++ b/node_modules/@vercel/ncc/LICENSE @@ -0,0 +1,7 @@ +Copyright 2018 ZEIT, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/@@notfound.js b/node_modules/@vercel/ncc/dist/ncc/@@notfound.js new file mode 100644 index 00000000..6fdcb57a --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/@@notfound.js @@ -0,0 +1 @@ +module.exports = __non_webpack_require__('UNKNOWN'); diff --git a/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt b/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt new file mode 100644 index 00000000..306a4154 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/LICENSES.txt @@ -0,0 +1,339 @@ +arg +MIT +MIT License + +Copyright (c) 2017-2019 Zeit, Inc. +Copyright (c) 2020 Vercel, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +balanced-match +MIT +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +brace-expansion +MIT +MIT License + +Copyright (c) 2013 Julian Gruber + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +concat-map +MIT +This software is released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +fs.realpath +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +---- + +This library bundles a version of the `fs.realpath` and `fs.realpathSync` +methods from Node.js v0.10 under the terms of the Node.js MIT license. + +Node's license follows, also included at the header of `old.js` which contains +the licensed code: + + Copyright Joyent, Inc. and other Node contributors. + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + +get-folder-size +MIT + +glob +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +## Glob Logo + +Glob's logo created by Tanya Brassie , licensed +under a Creative Commons Attribution-ShareAlike 4.0 International License +https://creativecommons.org/licenses/by-sa/4.0/ + + +inflight +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +inherits +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + + +minimatch +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +mkdirp +MIT +Copyright James Halliday (mail@substack.net) and Isaac Z. Schlueter (i@izs.me) + +This project is free software released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +once +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +path-is-absolute +MIT +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +rimraf +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +tiny-each-async +MIT + +wrappy +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter and Contributors + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR +IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md b/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md new file mode 100644 index 00000000..b624e021 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/buildin/readme.md @@ -0,0 +1,7 @@ +# About this directory + +This directory will contain the webpack built-ins, like +`module.js`, so that they can be accessed by webpack when +it's being executed inside the bundled ncc file. + +These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js b/node_modules/@vercel/ncc/dist/ncc/cli.js new file mode 100755 index 00000000..6fdddc02 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/cli.js @@ -0,0 +1,9 @@ +#!/usr/bin/env node +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/cli.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache new file mode 100644 index 00000000..69f81026 Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js new file mode 100644 index 00000000..5ee82e42 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/cli.js.cache.js @@ -0,0 +1 @@ +(()=>{var __webpack_modules__={832:e=>{const t=Symbol("arg flag");class ArgError extends Error{constructor(e,t){super(e);this.name="ArgError";this.code=t;Object.setPrototypeOf(this,ArgError.prototype)}}function arg(e,{argv:r=process.argv.slice(2),permissive:i=false,stopAtPositional:n=false}={}){if(!e){throw new ArgError("argument specification object is required","ARG_CONFIG_NO_SPEC")}const a={_:[]};const s={};const o={};for(const r of Object.keys(e)){if(!r){throw new ArgError("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY")}if(r[0]!=="-"){throw new ArgError(`argument key must start with '-' but found: '${r}'`,"ARG_CONFIG_NONOPT_KEY")}if(r.length===1){throw new ArgError(`argument key must have a name; singular '-' keys are not allowed: ${r}`,"ARG_CONFIG_NONAME_KEY")}if(typeof e[r]==="string"){s[r]=e[r];continue}let i=e[r];let n=false;if(Array.isArray(i)&&i.length===1&&typeof i[0]==="function"){const[e]=i;i=(t,r,i=[])=>{i.push(e(t,r,i[i.length-1]));return i};n=e===Boolean||e[t]===true}else if(typeof i==="function"){n=i===Boolean||i[t]===true}else{throw new ArgError(`type missing or not a function or valid array type: ${r}`,"ARG_CONFIG_VAD_TYPE")}if(r[1]!=="-"&&r.length>2){throw new ArgError(`short argument keys (with a single hyphen) must have only one character: ${r}`,"ARG_CONFIG_SHORTOPT_TOOLONG")}o[r]=[i,n]}for(let e=0,t=r.length;e0){a._=a._.concat(r.slice(e));break}if(t==="--"){a._=a._.concat(r.slice(e+1));break}if(t.length>1&&t[0]==="-"){const n=t[1]==="-"||t.length===2?[t]:t.slice(1).split("").map((e=>`-${e}`));for(let t=0;t1&&r[e+1][0]==="-"&&!(r[e+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(p===Number||typeof BigInt!=="undefined"&&p===BigInt))){const e=l===h?"":` (alias for ${h})`;throw new ArgError(`option requires argument: ${l}${e}`,"ARG_MISSING_REQUIRED_LONGARG")}a[h]=p(r[e+1],h,a[h]);++e}else{a[h]=p(u,h,a[h])}}}else{a._.push(t)}}return a}arg.flag=e=>{e[t]=true;return e};arg.COUNT=arg.flag(((e,t,r)=>(r||0)+1));arg.ArgError=ArgError;e.exports=arg},835:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var i=range(e,t,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+e.length,i[1]),post:r.slice(i[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var i,n,a,s,o;var c=r.indexOf(e);var l=r.indexOf(t,c+1);var u=c;if(c>=0&&l>0){i=[];a=r.length;while(u>=0&&!o){if(u==c){i.push(u);c=r.indexOf(e,u+1)}else if(i.length==1){o=[i.pop(),l]}else{n=i.pop();if(n=0?c:l}if(i.length){o=[a,s]}}return o}},215:(e,t,r)=>{var i=r(551);var n=r(835);e.exports=expandTop;var a="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var l="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(a).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(l)}function unescapeBraces(e){return e.split(a).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(l).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=n("{","}",e);if(!r)return e.split(",");var i=r.pre;var a=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+a+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}t.push.apply(t,o);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var a=n("{","}",e);if(!a||/\$$/.test(a.pre))return[e];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(a.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(a.body);var l=s||c;var u=a.body.indexOf(",")>=0;if(!l&&!u){if(a.post.match(/,.*\}/)){e=a.pre+"{"+a.body+o+a.post;return expand(e)}return[e]}var h;if(l){h=a.body.split(/\.\./)}else{h=parseCommaParts(a.body);if(h.length===1){h=expand(h[0],false).map(embrace);if(h.length===1){var p=a.post.length?expand(a.post,false):[""];return p.map((function(e){return a.pre+h[0]+e}))}}}var d=a.pre;var p=a.post.length?expand(a.post,false):[""];var m;if(l){var g=numeric(h[0]);var v=numeric(h[1]);var y=Math.max(h[0].length,h[1].length);var b=h.length==3?Math.abs(numeric(h[2])):1;var _=lte;var w=v0){var O=new Array(x+1).join("0");if(E<0)S="-"+O+S.slice(1);else S=O+S}}}m.push(S)}}else{m=i(h,(function(e){return expand(e,false)}))}for(var A=0;A{e.exports=function(e,r){var i=[];for(var n=0;n{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(147);var n=i.realpath;var a=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(411);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(o){return n(e,t,r)}if(typeof t==="function"){r=t;t=null}n(e,t,(function(i,n){if(newError(i)){c.realpath(e,t,r)}else{r(i,n)}}))}function realpathSync(e,t){if(o){return a(e,t)}try{return a(e,t)}catch(r){if(newError(r)){return c.realpathSync(e,t)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=n;i.realpathSync=a}},411:(e,t,r)=>{var i=r(17);var n=process.platform==="win32";var a=r(147);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(s){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var o=i.normalize;if(n){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(n){var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var l=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=i.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,s={},o={};var u;var h;var p;var d;start();function start(){var t=l.exec(e);u=t[0].length;h=t[0];p=t[0];d="";if(n&&!o[p]){a.lstatSync(p);o[p]=true}}while(u=e.length){if(t)t[s]=e;return r(null,e)}c.lastIndex=h;var i=c.exec(e);m=p;p+=i[0];d=m+i[1];h=c.lastIndex;if(u[d]||t&&t[d]===d){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,d)){return gotResolvedLink(t[d])}return a.lstat(d,gotStat)}function gotStat(e,i){if(e)return r(e);if(!i.isSymbolicLink()){u[d]=true;if(t)t[d]=d;return process.nextTick(LOOP)}if(!n){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],d)}}a.stat(d,(function(e){if(e)return r(e);a.readlink(d,(function(e,t){if(!n)o[s]=t;gotTarget(e,t)}))}))}function gotTarget(e,n,a){if(e)return r(e);var s=i.resolve(m,n);if(t)t[a]=s;gotResolvedLink(s)}function gotResolvedLink(t){e=i.resolve(t,e.slice(h));start()}}},74:(e,t,r)=>{"use strict";const i=r(147);const n=r(17);const a=r(833);function readSizeRecursive(e,t,r,s){let o;let c;if(!s){o=r;c=null}else{o=s;c=r}i.lstat(t,(function lstat(r,s){let l=!r?s.size||0:0;if(s){if(e.has(s.ino)){return o(null,0)}e.add(s.ino)}if(!r&&s.isDirectory()){i.readdir(t,((r,i)=>{if(r){return o(r)}a(i,5e3,((r,i)=>{readSizeRecursive(e,n.join(t,r),c,((e,t)=>{if(!e){l+=t}i(e)}))}),(e=>{o(e,l)}))}))}else{if(c&&c.test(t)){l=0}o(r,l)}}))}e.exports=(...e)=>{e.unshift(new Set);return readSizeRecursive(...e)}},744:(e,t,r)=>{t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=r(17);var n=r(642);var a=r(963);var s=n.Minimatch;function alphasort(e,t){return e.localeCompare(t,"en")}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new s(r,{dot:true})}return{matcher:new s(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var n=process.cwd();if(!ownProp(r,"cwd"))e.cwd=n;else{e.cwd=i.resolve(r.cwd);e.changedCwd=e.cwd!==n}e.root=r.root||i.resolve(e.cwd,"/");e.root=i.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=a(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new s(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var i=0,n=e.matches.length;i{e.exports=glob;var i=r(147);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(309);var c=r(361).EventEmitter;var l=r(17);var u=r(491);var h=r(963);var p=r(381);var d=r(744);var m=d.setopts;var g=d.ownProp;var v=r(753);var y=r(837);var b=d.childrenIgnored;var _=d.isIgnored;var w=r(481);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return p(e,t)}return new Glob(e,t,r)}glob.sync=p;var k=glob.GlobSync=p.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var i=r.length;while(i--){e[r[i]]=t[r[i]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var i=new Glob(e,r);var n=i.minimatch.set;if(!e)return false;if(n.length>1)return true;for(var a=0;athis.maxLength)return t();if(!this.stat&&g(this.cache,r)){var a=this.cache[r];if(Array.isArray(a))a="DIR";if(!n||a==="DIR")return t(null,a);if(n&&a==="FILE")return t()}var s;var o=this.statCache[r];if(o!==undefined){if(o===false)return t(null,o);else{var c=o.isDirectory()?"DIR":"FILE";if(n&&c==="FILE")return t();else return t(null,c,o)}}var l=this;var u=v("stat\0"+r,lstatcb_);if(u)i.lstat(r,u);function lstatcb_(n,a){if(a&&a.isSymbolicLink()){return i.stat(r,(function(i,n){if(i)l._stat2(e,r,null,a,t);else l._stat2(e,r,i,n,t)}))}else{l._stat2(e,r,n,a,t)}}};Glob.prototype._stat2=function(e,t,r,i,n){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return n()}var a=e.slice(-1)==="/";this.statCache[t]=i;if(t.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||s;if(a&&s==="FILE")return n();return n(null,s,i)}},381:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var i=r(147);var n=r(909);var a=r(642);var s=a.Minimatch;var o=r(750).Glob;var c=r(837);var l=r(17);var u=r(491);var h=r(963);var p=r(744);var d=p.setopts;var m=p.ownProp;var g=p.childrenIgnored;var v=p.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);d(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;ithis.maxLength)return false;if(!this.stat&&m(this.cache,t)){var n=this.cache[t];if(Array.isArray(n))n="DIR";if(!r||n==="DIR")return n;if(r&&n==="FILE")return false}var a;var s=this.statCache[t];if(!s){var o;try{o=i.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(o&&o.isSymbolicLink()){try{s=i.statSync(t)}catch(e){s=o}}else{s=o}}this.statCache[t]=s;var n=true;if(s)n=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||n;if(r&&n==="FILE")return false;return n};GlobSync.prototype._mark=function(e){return p.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return p.makeAbs(this,e)}},753:(e,t,r)=>{var i=r(687);var n=Object.create(null);var a=r(481);e.exports=i(inflight);function inflight(e,t){if(n[e]){n[e].push(t);return null}else{n[e]=[t];return makeres(e)}}function makeres(e){return a((function RES(){var t=n[e];var r=t.length;var i=slice(arguments);try{for(var a=0;ar){t.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete n[e]}}}))}function slice(e){var t=e.length;var r=[];for(var i=0;i{try{var i=r(837);if(typeof i.inherits!=="function")throw"";e.exports=i.inherits}catch(t){e.exports=r(474)}},474:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},642:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var i={sep:"/"};try{i=r(17)}catch(e){}var n=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var a=r(215);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var l="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var u="(?:(?!(?:\\/|^)\\.).)*?";var h=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var p=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,i,n){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,i,n){return t.minimatch(r,i,ext(e,n))};r.Minimatch=function Minimatch(r,i){return new t.Minimatch(r,ext(e,i))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(i.sep!=="/"){e=e.split(i.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(p)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var i=0;if(r.nonegate)return;for(var n=0,a=e.length;n1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return n;if(e==="")return"";var i="";var a=!!r.nocase;var l=false;var u=[];var p=[];var m;var g=false;var v=-1;var y=-1;var b=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(m){switch(m){case"*":i+=c;a=true;break;case"?":i+=o;a=true;break;default:i+="\\"+m;break}_.debug("clearStateChar %j %j",m,i);m=false}}for(var w=0,k=e.length,E;w-1;G--){var M=p[G];var T=i.slice(0,M.reStart);var I=i.slice(M.reStart,M.reEnd-8);var R=i.slice(M.reEnd-8,M.reEnd);var C=i.slice(M.reEnd);R+=C;var D=T.split("(").length-1;var q=C;for(w=0;w=0;s--){a=e[s];if(a)break}for(s=0;s>> no match, partial?",e,h,t,p);if(h===o)return true}return false}var m;if(typeof l==="string"){if(i.nocase){m=u.toLowerCase()===l.toLowerCase()}else{m=u===l}this.debug("string match",l,u,m)}else{m=u.match(l);this.debug("pattern match",l,u,m)}if(!m)return false}if(a===o&&s===c){return true}else if(a===o){return r}else if(s===c){var g=a===o-1&&e[a]==="";return g}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},485:(e,t,r)=>{const i=r(714);const n=r(43);const{mkdirpNative:a,mkdirpNativeSync:s}=r(783);const{mkdirpManual:o,mkdirpManualSync:c}=r(415);const{useNative:l,useNativeSync:u}=r(54);const mkdirp=(e,t)=>{e=n(e);t=i(t);return l(t)?a(e,t):o(e,t)};const mkdirpSync=(e,t)=>{e=n(e);t=i(t);return u(t)?s(e,t):c(e,t)};mkdirp.sync=mkdirpSync;mkdirp.native=(e,t)=>a(n(e),i(t));mkdirp.manual=(e,t)=>o(n(e),i(t));mkdirp.nativeSync=(e,t)=>s(n(e),i(t));mkdirp.manualSync=(e,t)=>c(n(e),i(t));e.exports=mkdirp},440:(e,t,r)=>{const{dirname:i}=r(17);const findMade=(e,t,r=undefined)=>{if(r===t)return Promise.resolve();return e.statAsync(t).then((e=>e.isDirectory()?r:undefined),(r=>r.code==="ENOENT"?findMade(e,i(t),t):undefined))};const findMadeSync=(e,t,r=undefined)=>{if(r===t)return undefined;try{return e.statSync(t).isDirectory()?r:undefined}catch(r){return r.code==="ENOENT"?findMadeSync(e,i(t),t):undefined}};e.exports={findMade:findMade,findMadeSync:findMadeSync}},415:(e,t,r)=>{const{dirname:i}=r(17);const mkdirpManual=(e,t,r)=>{t.recursive=false;const n=i(e);if(n===e){return t.mkdirAsync(e,t).catch((e=>{if(e.code!=="EISDIR")throw e}))}return t.mkdirAsync(e,t).then((()=>r||e),(i=>{if(i.code==="ENOENT")return mkdirpManual(n,t).then((r=>mkdirpManual(e,t,r)));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;return t.statAsync(e).then((e=>{if(e.isDirectory())return r;else throw i}),(()=>{throw i}))}))};const mkdirpManualSync=(e,t,r)=>{const n=i(e);t.recursive=false;if(n===e){try{return t.mkdirSync(e,t)}catch(e){if(e.code!=="EISDIR")throw e;else return}}try{t.mkdirSync(e,t);return r||e}catch(i){if(i.code==="ENOENT")return mkdirpManualSync(e,t,mkdirpManualSync(n,t,r));if(i.code!=="EEXIST"&&i.code!=="EROFS")throw i;try{if(!t.statSync(e).isDirectory())throw i}catch(e){throw i}}};e.exports={mkdirpManual:mkdirpManual,mkdirpManualSync:mkdirpManualSync}},783:(e,t,r)=>{const{dirname:i}=r(17);const{findMade:n,findMadeSync:a}=r(440);const{mkdirpManual:s,mkdirpManualSync:o}=r(415);const mkdirpNative=(e,t)=>{t.recursive=true;const r=i(e);if(r===e)return t.mkdirAsync(e,t);return n(t,e).then((r=>t.mkdirAsync(e,t).then((()=>r)).catch((r=>{if(r.code==="ENOENT")return s(e,t);else throw r}))))};const mkdirpNativeSync=(e,t)=>{t.recursive=true;const r=i(e);if(r===e)return t.mkdirSync(e,t);const n=a(t,e);try{t.mkdirSync(e,t);return n}catch(r){if(r.code==="ENOENT")return o(e,t);else throw r}};e.exports={mkdirpNative:mkdirpNative,mkdirpNativeSync:mkdirpNativeSync}},714:(e,t,r)=>{const{promisify:i}=r(837);const n=r(147);const optsArg=e=>{if(!e)e={mode:511,fs:n};else if(typeof e==="object")e={mode:511,fs:n,...e};else if(typeof e==="number")e={mode:e,fs:n};else if(typeof e==="string")e={mode:parseInt(e,8),fs:n};else throw new TypeError("invalid options argument");e.mkdir=e.mkdir||e.fs.mkdir||n.mkdir;e.mkdirAsync=i(e.mkdir);e.stat=e.stat||e.fs.stat||n.stat;e.statAsync=i(e.stat);e.statSync=e.statSync||e.fs.statSync||n.statSync;e.mkdirSync=e.mkdirSync||e.fs.mkdirSync||n.mkdirSync;return e};e.exports=optsArg},43:(e,t,r)=>{const i=process.env.__TESTING_MKDIRP_PLATFORM__||process.platform;const{resolve:n,parse:a}=r(17);const pathArg=e=>{if(/\0/.test(e)){throw Object.assign(new TypeError("path must be a string without null bytes"),{path:e,code:"ERR_INVALID_ARG_VALUE"})}e=n(e);if(i==="win32"){const t=/[*|"<>?:]/;const{root:r}=a(e);if(t.test(e.substr(r.length))){throw Object.assign(new Error("Illegal characters in path."),{path:e,code:"EINVAL"})}}return e};e.exports=pathArg},54:(e,t,r)=>{const i=r(147);const n=process.env.__TESTING_MKDIRP_NODE_VERSION__||process.version;const a=n.replace(/^v/,"").split(".");const s=+a[0]>10||+a[0]===10&&+a[1]>=12;const o=!s?()=>false:e=>e.mkdir===i.mkdir;const c=!s?()=>false:e=>e.mkdirSync===i.mkdirSync;e.exports={useNative:o,useNativeSync:c}},481:(e,t,r)=>{var i=r(687);e.exports=i(once);e.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},963:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var i=r[1]||"";var n=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||n)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},8:(e,t,r)=>{e.exports=rimraf;rimraf.sync=rimrafSync;var i=r(491);var n=r(17);var a=r(147);var s=undefined;try{s=r(750)}catch(e){}var o=parseInt("666",8);var c={nosort:true,silent:true};var l=0;var u=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||a[t];t=t+"Sync";e[t]=e[t]||a[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}if(e.disableGlob!==true&&s===undefined){throw Error("glob dependency not found, set `options.disableGlob = true` if intentional")}e.disableGlob=e.disableGlob||false;e.glob=e.glob||c}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}i(e,"rimraf: missing path");i.equal(typeof e,"string","rimraf: path should be a string");i.equal(typeof r,"function","rimraf: callback function required");i(t,"rimraf: invalid options argument provided");i.equal(typeof t,"object","rimraf: options should be object");defaults(t);var n=0;var a=null;var o=0;if(t.disableGlob||!s.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,i){if(!r)return afterGlob(null,[e]);s(e,t.glob,afterGlob)}));function next(e){a=a||e;if(--o===0)r(a)}function afterGlob(e,i){if(e)return r(e);o=i.length;if(o===0)return r();i.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&n{"use strict";e.exports=function eachAsync(e,t,r,i){var n=0;var a=0;var s=e.length-1;var o=false;var c;var l;var u;if(typeof t==="number"){c=t;u=r;l=i||function noop(){}}else{u=t;l=r||function noop(){};c=e.length}if(!e.length){return l()}var h=u.length;var p=function shouldCallNextIterator(){return!o&&n{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const{resolve:resolve,relative:relative,dirname:dirname,sep:sep}=__webpack_require__(17);const glob=__webpack_require__(750);const shebangRegEx=__webpack_require__(681);const rimraf=__webpack_require__(8);const crypto=__webpack_require__(113);const{writeFileSync:writeFileSync,unlink:unlink,existsSync:existsSync,symlinkSync:symlinkSync}=__webpack_require__(147);const{hasTypeModule:hasTypeModule}=__webpack_require__(664);const mkdirp=__webpack_require__(485);const{version:nccVersion}=__webpack_require__(598);process.noDeprecation=true;const usage=`Usage: ncc \n\nCommands:\n build [opts]\n run [opts]\n cache clean|dir|size\n help\n version\n\nOptions:\n -o, --out [file] Output directory for build (defaults to dist)\n -m, --minify Minify output\n -C, --no-cache Skip build cache population\n -s, --source-map Generate source map\n --no-source-map-register Skip source-map-register source map support\n -e, --external [mod] Skip bundling 'mod'. Can be used many times\n -q, --quiet Disable build summaries / non-error outputs\n -w, --watch Start a watched build\n -t, --transpile-only Use transpileOnly option with the ts-loader\n --v8-cache Emit a build using the v8 compile cache\n --license [file] Adds a file containing licensing information to the output\n --stats-out [file] Emit webpack stats as json to the specified output file\n --target [es] ECMAScript target to use for output (default: es2015)\n Learn more: https://webpack.js.org/configuration/target\n -d, --debug Show debug logs\n`;let api=false;if(require.main===require.cache[eval("__filename")]){runCmd(process.argv.slice(2),process.stdout,process.stderr).then((e=>{if(!e)process.exit()})).catch((e=>{if(!e.silent)console.error(e.nccError?e.message:e);process.exit(e.exitCode||1)}))}else{module.exports=runCmd;api=true}function renderSummary(e,t,r,i,n,a){if(n&&!n.endsWith(sep))n+=sep;const s=Math.round(Buffer.byteLength(e,"utf8")/1024);const o=t?Math.round(Buffer.byteLength(t,"utf8")/1024):0;const c=Object.create(null);let l=s;let u=8+(t?4:0);for(const e of Object.keys(r)){const t=r[e].source;const i=Math.round((t.byteLength||Buffer.byteLength(t,"utf8"))/1024);c[e]=i;l+=i;if(e.length>u)u=e.length}const h=Object.keys(r).sort(((e,t)=>c[e]>c[t]?1:-1));const p=l.toString().length;let d=`${s.toString().padStart(p," ")}kB ${n}index${i}`;let m=t?`${o.toString().padStart(p," ")}kB ${n}index${i}.map`:"";let g="",v=true;for(const e of h){if(v)v=false;else g+="\n";if(s2)errTooManyArguments("cache");const flags=Object.keys(args).filter((e=>e.startsWith("--")));if(flags.length)errFlagNotCompatible(flags[0],"cache");const cacheDir=__webpack_require__(946);switch(args._[1]){case"clean":rimraf.sync(cacheDir);break;case"dir":stdout.write(cacheDir+"\n");break;case"size":__webpack_require__(74)(cacheDir,((e,t)=>{if(e){if(e.code==="ENOENT"){stdout.write("0MB\n");return}throw e}stdout.write(`${(t/1024/1024).toFixed(2)}MB\n`)}));break;default:errInvalidCommand("cache "+args._[1])}break;case"run":if(args._.length>2)errTooManyArguments("run");if(args["--out"])errFlagNotCompatible("--out","run");if(args["--watch"])errFlagNotCompatible("--watch","run");outDir=resolve(__webpack_require__(37).tmpdir(),crypto.createHash("md5").update(resolve(args._[1]||".")).digest("hex"));if(existsSync(outDir))rimraf.sync(outDir);mkdirp.sync(outDir);run=true;case"build":if(args._.length>2)errTooManyArguments("build");let startTime=Date.now();let ps;const buildFile=eval("require.resolve")(resolve(args._[1]||"."));const esm=buildFile.endsWith(".mjs")||!buildFile.endsWith(".cjs")&&hasTypeModule(buildFile);const ext=buildFile.endsWith(".cjs")?".cjs":esm&&(buildFile.endsWith(".mjs")||!hasTypeModule(buildFile))?".mjs":".js";const ncc=__webpack_require__(717)(buildFile,{debugLog:args["--debug"],minify:args["--minify"],externals:args["--external"],sourceMap:args["--source-map"]||run,sourceMapRegister:args["--no-source-map-register"]?false:undefined,assetBuilds:args["--asset-builds"]?true:false,cache:args["--no-cache"]?false:undefined,watch:args["--watch"],v8cache:args["--v8-cache"],transpileOnly:args["--transpile-only"],license:args["--license"],quiet:quiet,target:args["--target"]});async function handler({err:err,code:code,map:map,assets:assets,symlinks:symlinks,stats:stats}){if(err){stderr.write(err+"\n");stdout.write("Watching for changes...\n");return}outDir=outDir||resolve(eval("'dist'"));mkdirp.sync(outDir);await Promise.all((await new Promise(((e,t)=>glob(outDir+"/**/*.(js|cjs)",((r,i)=>r?t(r):e(i)))))).map((e=>new Promise(((t,r)=>unlink(e,(e=>e?r(e):t())))))));writeFileSync(`${outDir}/index${ext}`,code,{mode:code.match(shebangRegEx)?511:438});if(map)writeFileSync(`${outDir}/index${ext}.map`,map);for(const e of Object.keys(assets)){const t=outDir+"/"+e;mkdirp.sync(dirname(t));writeFileSync(t,assets[e].source,{mode:assets[e].permissions})}for(const e of Object.keys(symlinks)){const t=outDir+"/"+e;symlinkSync(symlinks[e],t)}if(!quiet){stdout.write(renderSummary(code,map,assets,ext,run?"":relative(process.cwd(),outDir),Date.now()-startTime)+"\n");if(args["--watch"])stdout.write("Watching for changes...\n")}if(statsOutFile)writeFileSync(statsOutFile,JSON.stringify(stats.toJson()));if(run){const e=resolve("/node_modules");let t=dirname(buildFile)+"/node_modules";do{if(t===e){t=undefined;break}if(existsSync(t))break}while(t=resolve(t,"../../node_modules"));if(t)symlinkSync(t,outDir+"/node_modules","junction");ps=__webpack_require__(81).fork(`${outDir}/index${ext}`,{stdio:api?"pipe":"inherit"});if(api){ps.stdout.pipe(stdout);ps.stderr.pipe(stderr)}return new Promise(((e,t)=>{function exit(r){__webpack_require__(8).sync(outDir);if(r===0)e();else t({silent:true,exitCode:r});process.off("SIGTERM",exit);process.off("SIGINT",exit)}ps.on("exit",exit);process.on("SIGTERM",exit);process.on("SIGINT",exit)}))}}if(args["--watch"]){ncc.handler(handler);ncc.rebuild((()=>{if(ps)ps.kill();startTime=Date.now();stdout.write("File change, rebuilding...\n")}));return true}else{return ncc.then(handler)}break;case"help":nccError(usage,2);case"version":stdout.write(__webpack_require__(598).version+"\n");break;default:errInvalidCommand(args._[0],2)}function errTooManyArguments(e){nccError(`Error: Too many ${e} arguments provided\n${usage}`,2)}function errFlagNotCompatible(e,t){nccError(`Error: ${e} flag is not compatible with ncc ${t}\n${usage}`,2)}function errInvalidCommand(e){nccError(`Error: Invalid command "${e}"\n${usage}`,2)}process.on("unhandledRejection",(e=>{throw e}))}},664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(17);const{readFileSync:readFileSync}=__webpack_require__(147);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(e){if(e.code==="ENOENT")continue;throw e}}}},946:(e,t,r)=>{e.exports=r(37).tmpdir()+"/ncc-cache"},681:e=>{e.exports=/^#![^\n\r]*[\r\n]/},717:e=>{"use strict";e.exports=require("./index.js")},491:e=>{"use strict";e.exports=require("assert")},81:e=>{"use strict";e.exports=require("child_process")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},837:e=>{"use strict";e.exports=require("util")},598:e=>{"use strict";e.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.33.1","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^3.12.3","@bugsnag/js":"^7.11.0","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^5.7.0","@google-cloud/firestore":"^4.14.0","@sentry/node":"^6.10.0","@slack/web-api":"^6.3.0","@tensorflow/tfjs-node":"^3.8.0","@vercel/webpack-asset-relocator-loader":"1.7.0","analytics-node":"^5.0.0","apollo-server-express":"^2.2.2","arg":"^5.0.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.3","consolidate":"^0.16.0","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^3.0.0","firebase":"^6.1.1","firebase-admin":"^9.11.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^11.8.2","graceful-fs":"^4.1.15","graphql":"^15.5.1","highlights":"^3.1.1","hot-shots":"^8.5.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.0.6","jimp":"^0.16.1","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^6.0.0","license-webpack-plugin":"2.3.20","lighthouse":"^8.1.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^1.0.4","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^8.1.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^2.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.12.1","pg":"^8.7.1","pug":"^3.0.1","react":"^17.0.2","react-dom":"^17.0.2","redis":"^3.1.1","request":"^2.88.0","rxjs":"^7.3.0","saslprep":"^1.0.2","sequelize":"^6.6.5","sharp":"^0.28.3","shebang-loader":"^0.0.1","socket.io":"^4.1.3","source-map-support":"^0.5.9","stripe":"^8.167.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^8.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^4.4.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.62.1","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var i=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);i=false}finally{if(i)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(819);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js b/node_modules/@vercel/ncc/dist/ncc/index.js new file mode 100644 index 00000000..a4e59227 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/index.js @@ -0,0 +1,8 @@ +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/index.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache b/node_modules/@vercel/ncc/dist/ncc/index.js.cache new file mode 100644 index 00000000..9c68ab7d Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/index.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js new file mode 100644 index 00000000..b6f162a9 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/index.js.cache.js @@ -0,0 +1,37 @@ +(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var R=new Error("Cannot find module '"+E+"'");R.code="MODULE_NOT_FOUND";throw R}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(R,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(R,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(R,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(R,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(R,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(R,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(R,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(R,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(R,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(R,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(R,"cloneNode",{enumerable:true,get:function get(){return le.cloneNode}});Object.defineProperty(R,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return _e.moduleContextFromModuleAST}});var j=N(52696);Object.keys(j).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return j[E]}})}));var q=N(11891);var G=N(22056);var ie=N(75769);var ae=N(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call($,E))return;Object.defineProperty(R,E,{enumerable:true,get:function get(){return ae[E]}})}));var le=N(70797);var _e=N(5499)},11891:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.numberLiteralFromRaw=numberLiteralFromRaw;R.instruction=instruction;R.objectInstruction=objectInstruction;R.withLoc=withLoc;R.withRaw=withRaw;R.funcParam=funcParam;R.indexLiteral=indexLiteral;R.memIndexLiteral=memIndexLiteral;var $=N(80853);var j=N(52696);function numberLiteralFromRaw(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var N=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,j.numberLiteral)(E,String(N))}else{switch(R){case"i32":{return(0,j.numberLiteral)((0,$.parse32I)(E),String(N))}case"u32":{return(0,j.numberLiteral)((0,$.parseU32)(E),String(N))}case"i64":{return(0,j.longNumberLiteral)((0,$.parse64I)(E),String(N))}case"f32":{return(0,j.floatLiteral)((0,$.parse32F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}default:{return(0,j.floatLiteral)((0,$.parse64F)(E),(0,$.isNanLiteral)(E),(0,$.isInfLiteral)(E),String(N))}}}}function instruction(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,j.instr)(E,undefined,R,N)}function objectInstruction(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,j.instr)(E,R,N,$)}function withLoc(E,R,N){var $={start:N,end:R};E.loc=$;return E}function withRaw(E,R){E.raw=R;return E}function funcParam(E,R){return{id:R,valtype:E}}function indexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}function memIndexLiteral(E){var R=numberLiteralFromRaw(E,"u32");return R}},46166:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var R=1;R2&&arguments[2]!==undefined?arguments[2]:0;if(!$){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=j.node[q];var ae=ie.findIndex((function(E){return E===N}));ie.splice(ae+G,0,R)}function remove(E){var R=E.node,N=E.parentKey,$=E.parentPath;if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var j=$.node;var q=j[N];if(Array.isArray(q)){j[N]=q.filter((function(E){return E!==R}))}else{delete j[N]}R._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,R){var N=E.parentPath.node;var $=N[E.parentKey];if(Array.isArray($)){var j=$.findIndex((function(R){return R===E.node}));$.splice(j,1,R)}else{N[E.parentKey]=R}E.node._deleted=true;E.node=R}function bindNodeOperations(E,R){var N=Object.keys(E);var $={};N.forEach((function(N){$[N]=E[N].bind(null,R)}));return $}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var R=_extends({},E);Object.assign(R,createPathOperations(R));return R}},52696:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.module=_module;R.moduleMetadata=moduleMetadata;R.moduleNameMetadata=moduleNameMetadata;R.functionNameMetadata=functionNameMetadata;R.localNameMetadata=localNameMetadata;R.binaryModule=binaryModule;R.quoteModule=quoteModule;R.sectionMetadata=sectionMetadata;R.producersSectionMetadata=producersSectionMetadata;R.producerMetadata=producerMetadata;R.producerMetadataVersionedName=producerMetadataVersionedName;R.loopInstruction=loopInstruction;R.instr=instr;R.ifInstruction=ifInstruction;R.stringLiteral=stringLiteral;R.numberLiteral=numberLiteral;R.longNumberLiteral=longNumberLiteral;R.floatLiteral=floatLiteral;R.elem=elem;R.indexInFuncSection=indexInFuncSection;R.valtypeLiteral=valtypeLiteral;R.typeInstruction=typeInstruction;R.start=start;R.globalType=globalType;R.leadingComment=leadingComment;R.blockComment=blockComment;R.data=data;R.global=global;R.table=table;R.memory=memory;R.funcImportDescr=funcImportDescr;R.moduleImport=moduleImport;R.moduleExportDescr=moduleExportDescr;R.moduleExport=moduleExport;R.limit=limit;R.signature=signature;R.program=program;R.identifier=identifier;R.blockInstruction=blockInstruction;R.callInstruction=callInstruction;R.callIndirectInstruction=callIndirectInstruction;R.byteArray=byteArray;R.func=func;R.internalBrUnless=internalBrUnless;R.internalGoto=internalGoto;R.internalCallExtern=internalCallExtern;R.internalEndAndReturn=internalEndAndReturn;R.assertInternalCallExtern=R.assertInternalGoto=R.assertInternalBrUnless=R.assertFunc=R.assertByteArray=R.assertCallIndirectInstruction=R.assertCallInstruction=R.assertBlockInstruction=R.assertIdentifier=R.assertProgram=R.assertSignature=R.assertLimit=R.assertModuleExport=R.assertModuleExportDescr=R.assertModuleImport=R.assertFuncImportDescr=R.assertMemory=R.assertTable=R.assertGlobal=R.assertData=R.assertBlockComment=R.assertLeadingComment=R.assertGlobalType=R.assertStart=R.assertTypeInstruction=R.assertValtypeLiteral=R.assertIndexInFuncSection=R.assertElem=R.assertFloatLiteral=R.assertLongNumberLiteral=R.assertNumberLiteral=R.assertStringLiteral=R.assertIfInstruction=R.assertInstr=R.assertLoopInstruction=R.assertProducerMetadataVersionedName=R.assertProducerMetadata=R.assertProducersSectionMetadata=R.assertSectionMetadata=R.assertQuoteModule=R.assertBinaryModule=R.assertLocalNameMetadata=R.assertFunctionNameMetadata=R.assertModuleNameMetadata=R.assertModuleMetadata=R.assertModule=R.isIntrinsic=R.isImportDescr=R.isNumericLiteral=R.isExpression=R.isInstruction=R.isBlock=R.isNode=R.isInternalEndAndReturn=R.isInternalCallExtern=R.isInternalGoto=R.isInternalBrUnless=R.isFunc=R.isByteArray=R.isCallIndirectInstruction=R.isCallInstruction=R.isBlockInstruction=R.isIdentifier=R.isProgram=R.isSignature=R.isLimit=R.isModuleExport=R.isModuleExportDescr=R.isModuleImport=R.isFuncImportDescr=R.isMemory=R.isTable=R.isGlobal=R.isData=R.isBlockComment=R.isLeadingComment=R.isGlobalType=R.isStart=R.isTypeInstruction=R.isValtypeLiteral=R.isIndexInFuncSection=R.isElem=R.isFloatLiteral=R.isLongNumberLiteral=R.isNumberLiteral=R.isStringLiteral=R.isIfInstruction=R.isInstr=R.isLoopInstruction=R.isProducerMetadataVersionedName=R.isProducerMetadata=R.isProducersSectionMetadata=R.isSectionMetadata=R.isQuoteModule=R.isBinaryModule=R.isLocalNameMetadata=R.isFunctionNameMetadata=R.isModuleNameMetadata=R.isModuleMetadata=R.isModule=void 0;R.nodeAndUnionTypes=R.unionTypesMap=R.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(R){return R.type===E}}function assertTypeOf(E){return function(R){return function(){if(!(R.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,R,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Module",id:E,fields:R};if(typeof N!=="undefined"){$.metadata=N}return $}function moduleMetadata(E,R,N,$){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"ModuleMetadata",sections:E};if(typeof R!=="undefined"&&R.length>0){j.functionNames=R}if(typeof N!=="undefined"&&N.length>0){j.localNames=N}if(typeof $!=="undefined"&&$.length>0){j.producers=$}return j}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleNameMetadata",value:E};return R}function functionNameMetadata(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(R)||0))}var N={type:"FunctionNameMetadata",value:E,index:R};return N}function localNameMetadata(E,R,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(R)||0))}if(!(typeof N==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(N)||0))}var $={type:"LocalNameMetadata",value:E,localIndex:R,functionIndex:N};return $}function binaryModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"BinaryModule",id:E,blob:R};return N}function quoteModule(E,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"QuoteModule",id:E,string:R};return N}function sectionMetadata(E,R,N,$){if(!(typeof R==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(R)||0))}var j={type:"SectionMetadata",section:E,startOffset:R,size:N,vectorOfSize:$};return j}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ProducersSectionMetadata",producers:E};return R}function producerMetadata(E,R,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"ProducerMetadata",language:E,processedBy:R,sdk:N};return $}function producerMetadataVersionedName(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(R)||0))}var N={type:"ProducerMetadataVersionedName",name:E,version:R};return N}function loopInstruction(E,R,N){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"LoopInstruction",id:"loop",label:E,resulttype:R,instr:N};return $}function instr(E,R,N,$){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Instr",id:E,args:N};if(typeof R!=="undefined"){j.object=R}if(typeof $!=="undefined"&&Object.keys($).length!==0){j.namedArgs=$}return j}function ifInstruction(E,R,N,$,j){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:R,result:N,consequent:$,alternate:j};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"StringLiteral",value:E};return R}function numberLiteral(E,R){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"NumberLiteral",value:E,raw:R};return N}function longNumberLiteral(E,R){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}var N={type:"LongNumberLiteral",value:E,raw:R};return N}function floatLiteral(E,R,N,$){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(N)||0))}}if(!(typeof $==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof($)||0))}var j={type:"FloatLiteral",value:E,raw:$};if(R===true){j.nan=true}if(N===true){j.inf=true}return j}function elem(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Elem",table:E,offset:R,funcs:N};return $}function indexInFuncSection(E){var R={type:"IndexInFuncSection",index:E};return R}function valtypeLiteral(E){var R={type:"ValtypeLiteral",name:E};return R}function typeInstruction(E,R){var N={type:"TypeInstruction",id:E,functype:R};return N}function start(E){var R={type:"Start",index:E};return R}function globalType(E,R){var N={type:"GlobalType",valtype:E,mutability:R};return N}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"LeadingComment",value:E};return R}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var R={type:"BlockComment",value:E};return R}function data(E,R,N){var $={type:"Data",memoryIndex:E,offset:R,init:N};return $}function global(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Global",globalType:E,init:R,name:N};return $}function table(E,R,N,$){if(!(R.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+R.type||0))}if($!==null&&$!==undefined){if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"Table",elementType:E,limits:R,name:N};if(typeof $!=="undefined"&&$.length>0){j.elements=$}return j}function memory(E,R){var N={type:"Memory",limits:E,id:R};return N}function funcImportDescr(E,R){var N={type:"FuncImportDescr",id:E,signature:R};return N}function moduleImport(E,R,N){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof R==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(R)||0))}var $={type:"ModuleImport",module:E,name:R,descr:N};return $}function moduleExportDescr(E,R){var N={type:"ModuleExportDescr",exportType:E,id:R};return N}function moduleExport(E,R){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleExport",name:E,descr:R};return N}function limit(E,R,N){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(R)||0))}}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(N)||0))}}var $={type:"Limit",min:E};if(typeof R!=="undefined"){$.max=R}if(N===true){$.shared=true}return $}function signature(E,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Signature",params:E,results:R};return N}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Program",body:E};return R}function identifier(E,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(R!==null&&R!==undefined){if(!(typeof R==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(R)||0))}}var N={type:"Identifier",value:E};if(typeof R!=="undefined"){N.raw=R}return N}function blockInstruction(E,R,N){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"BlockInstruction",id:"block",label:E,instr:R,result:N};return $}function callInstruction(E,R,N){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"CallInstruction",id:"call",index:E};if(typeof R!=="undefined"&&R.length>0){$.instrArgs=R}if(typeof N!=="undefined"){$.numeric=N}return $}function callIndirectInstruction(E,R){if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var N={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof R!=="undefined"&&R.length>0){N.intrs=R}return N}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"ByteArray",values:E};return R}function func(E,R,N,$,j){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if($!==null&&$!==undefined){if(!(typeof $==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof($)||0))}}var q={type:"Func",name:E,signature:R,body:N};if($===true){q.isExternal=true}if(typeof j!=="undefined"){q.metadata=j}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalBrUnless",target:E};return R}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalGoto",target:E};return R}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var R={type:"InternalCallExtern",target:E};return R}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var N=isTypeOf("Module");R.isModule=N;var $=isTypeOf("ModuleMetadata");R.isModuleMetadata=$;var j=isTypeOf("ModuleNameMetadata");R.isModuleNameMetadata=j;var q=isTypeOf("FunctionNameMetadata");R.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");R.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");R.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");R.isQuoteModule=ae;var le=isTypeOf("SectionMetadata");R.isSectionMetadata=le;var _e=isTypeOf("ProducersSectionMetadata");R.isProducersSectionMetadata=_e;var Ee=isTypeOf("ProducerMetadata");R.isProducerMetadata=Ee;var we=isTypeOf("ProducerMetadataVersionedName");R.isProducerMetadataVersionedName=we;var Ie=isTypeOf("LoopInstruction");R.isLoopInstruction=Ie;var Me=isTypeOf("Instr");R.isInstr=Me;var Te=isTypeOf("IfInstruction");R.isIfInstruction=Te;var Ne=isTypeOf("StringLiteral");R.isStringLiteral=Ne;var Be=isTypeOf("NumberLiteral");R.isNumberLiteral=Be;var Le=isTypeOf("LongNumberLiteral");R.isLongNumberLiteral=Le;var je=isTypeOf("FloatLiteral");R.isFloatLiteral=je;var ze=isTypeOf("Elem");R.isElem=ze;var Ue=isTypeOf("IndexInFuncSection");R.isIndexInFuncSection=Ue;var qe=isTypeOf("ValtypeLiteral");R.isValtypeLiteral=qe;var Ge=isTypeOf("TypeInstruction");R.isTypeInstruction=Ge;var He=isTypeOf("Start");R.isStart=He;var We=isTypeOf("GlobalType");R.isGlobalType=We;var Ve=isTypeOf("LeadingComment");R.isLeadingComment=Ve;var Ke=isTypeOf("BlockComment");R.isBlockComment=Ke;var Qe=isTypeOf("Data");R.isData=Qe;var Je=isTypeOf("Global");R.isGlobal=Je;var Xe=isTypeOf("Table");R.isTable=Xe;var Ye=isTypeOf("Memory");R.isMemory=Ye;var Ze=isTypeOf("FuncImportDescr");R.isFuncImportDescr=Ze;var et=isTypeOf("ModuleImport");R.isModuleImport=et;var tt=isTypeOf("ModuleExportDescr");R.isModuleExportDescr=tt;var nt=isTypeOf("ModuleExport");R.isModuleExport=nt;var rt=isTypeOf("Limit");R.isLimit=rt;var st=isTypeOf("Signature");R.isSignature=st;var it=isTypeOf("Program");R.isProgram=it;var ot=isTypeOf("Identifier");R.isIdentifier=ot;var lt=isTypeOf("BlockInstruction");R.isBlockInstruction=lt;var ct=isTypeOf("CallInstruction");R.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");R.isCallIndirectInstruction=ut;var pt=isTypeOf("ByteArray");R.isByteArray=pt;var dt=isTypeOf("Func");R.isFunc=dt;var ft=isTypeOf("InternalBrUnless");R.isInternalBrUnless=ft;var ht=isTypeOf("InternalGoto");R.isInternalGoto=ht;var mt=isTypeOf("InternalCallExtern");R.isInternalCallExtern=mt;var gt=isTypeOf("InternalEndAndReturn");R.isInternalEndAndReturn=gt;var yt=function isNode(E){return N(E)||$(E)||j(E)||q(E)||G(E)||ie(E)||ae(E)||le(E)||_e(E)||Ee(E)||we(E)||Ie(E)||Me(E)||Te(E)||Ne(E)||Be(E)||Le(E)||je(E)||ze(E)||Ue(E)||qe(E)||Ge(E)||He(E)||We(E)||Ve(E)||Ke(E)||Qe(E)||Je(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||nt(E)||rt(E)||st(E)||it(E)||ot(E)||lt(E)||ct(E)||ut(E)||pt(E)||dt(E)||ft(E)||ht(E)||mt(E)||gt(E)};R.isNode=yt;var vt=function isBlock(E){return Ie(E)||lt(E)||dt(E)};R.isBlock=vt;var bt=function isInstruction(E){return Ie(E)||Me(E)||Te(E)||Ge(E)||lt(E)||ct(E)||ut(E)};R.isInstruction=bt;var _t=function isExpression(E){return Me(E)||Ne(E)||Be(E)||Le(E)||je(E)||qe(E)||ot(E)};R.isExpression=_t;var xt=function isNumericLiteral(E){return Be(E)||Le(E)||je(E)};R.isNumericLiteral=xt;var kt=function isImportDescr(E){return We(E)||Xe(E)||Ye(E)||Ze(E)};R.isImportDescr=kt;var Et=function isIntrinsic(E){return ft(E)||ht(E)||mt(E)||gt(E)};R.isIntrinsic=Et;var wt=assertTypeOf("Module");R.assertModule=wt;var St=assertTypeOf("ModuleMetadata");R.assertModuleMetadata=St;var At=assertTypeOf("ModuleNameMetadata");R.assertModuleNameMetadata=At;var Ct=assertTypeOf("FunctionNameMetadata");R.assertFunctionNameMetadata=Ct;var Dt=assertTypeOf("LocalNameMetadata");R.assertLocalNameMetadata=Dt;var It=assertTypeOf("BinaryModule");R.assertBinaryModule=It;var Mt=assertTypeOf("QuoteModule");R.assertQuoteModule=Mt;var Pt=assertTypeOf("SectionMetadata");R.assertSectionMetadata=Pt;var Tt=assertTypeOf("ProducersSectionMetadata");R.assertProducersSectionMetadata=Tt;var Ot=assertTypeOf("ProducerMetadata");R.assertProducerMetadata=Ot;var Rt=assertTypeOf("ProducerMetadataVersionedName");R.assertProducerMetadataVersionedName=Rt;var Ft=assertTypeOf("LoopInstruction");R.assertLoopInstruction=Ft;var Nt=assertTypeOf("Instr");R.assertInstr=Nt;var Bt=assertTypeOf("IfInstruction");R.assertIfInstruction=Bt;var Lt=assertTypeOf("StringLiteral");R.assertStringLiteral=Lt;var $t=assertTypeOf("NumberLiteral");R.assertNumberLiteral=$t;var jt=assertTypeOf("LongNumberLiteral");R.assertLongNumberLiteral=jt;var zt=assertTypeOf("FloatLiteral");R.assertFloatLiteral=zt;var Ut=assertTypeOf("Elem");R.assertElem=Ut;var qt=assertTypeOf("IndexInFuncSection");R.assertIndexInFuncSection=qt;var Gt=assertTypeOf("ValtypeLiteral");R.assertValtypeLiteral=Gt;var Ht=assertTypeOf("TypeInstruction");R.assertTypeInstruction=Ht;var Wt=assertTypeOf("Start");R.assertStart=Wt;var Vt=assertTypeOf("GlobalType");R.assertGlobalType=Vt;var Kt=assertTypeOf("LeadingComment");R.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");R.assertBlockComment=Qt;var Jt=assertTypeOf("Data");R.assertData=Jt;var Xt=assertTypeOf("Global");R.assertGlobal=Xt;var Yt=assertTypeOf("Table");R.assertTable=Yt;var Zt=assertTypeOf("Memory");R.assertMemory=Zt;var en=assertTypeOf("FuncImportDescr");R.assertFuncImportDescr=en;var tn=assertTypeOf("ModuleImport");R.assertModuleImport=tn;var nn=assertTypeOf("ModuleExportDescr");R.assertModuleExportDescr=nn;var rn=assertTypeOf("ModuleExport");R.assertModuleExport=rn;var sn=assertTypeOf("Limit");R.assertLimit=sn;var on=assertTypeOf("Signature");R.assertSignature=on;var an=assertTypeOf("Program");R.assertProgram=an;var ln=assertTypeOf("Identifier");R.assertIdentifier=ln;var cn=assertTypeOf("BlockInstruction");R.assertBlockInstruction=cn;var un=assertTypeOf("CallInstruction");R.assertCallInstruction=un;var pn=assertTypeOf("CallIndirectInstruction");R.assertCallIndirectInstruction=pn;var dn=assertTypeOf("ByteArray");R.assertByteArray=dn;var hn=assertTypeOf("Func");R.assertFunc=hn;var mn=assertTypeOf("InternalBrUnless");R.assertInternalBrUnless=mn;var gn=assertTypeOf("InternalGoto");R.assertInternalGoto=gn;var yn=assertTypeOf("InternalCallExtern");R.assertInternalCallExtern=yn;var vn=assertTypeOf("InternalEndAndReturn");R.assertInternalEndAndReturn=vn;var bn={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};R.unionTypesMap=bn;var _n=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];R.nodeAndUnionTypes=_n},75769:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.signatures=void 0;function sign(E,R){return[E,R]}var N="u32";var $="i32";var j="i64";var q="f32";var G="f64";var ie=function vector(E){var R=[E];R.vector=true;return R};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([N],[]),br_if:sign([N],[]),br_table:sign(ie(N),[]),return:sign([],[]),call:sign([N],[]),call_indirect:sign([N],[])};var le={drop:sign([],[]),select:sign([],[])};var _e={get_local:sign([N],[]),set_local:sign([N],[]),tee_local:sign([N],[]),get_global:sign([N],[]),set_global:sign([N],[])};var Ee={"i32.load":sign([N,N],[$]),"i64.load":sign([N,N],[]),"f32.load":sign([N,N],[]),"f64.load":sign([N,N],[]),"i32.load8_s":sign([N,N],[$]),"i32.load8_u":sign([N,N],[$]),"i32.load16_s":sign([N,N],[$]),"i32.load16_u":sign([N,N],[$]),"i64.load8_s":sign([N,N],[j]),"i64.load8_u":sign([N,N],[j]),"i64.load16_s":sign([N,N],[j]),"i64.load16_u":sign([N,N],[j]),"i64.load32_s":sign([N,N],[j]),"i64.load32_u":sign([N,N],[j]),"i32.store":sign([N,N],[]),"i64.store":sign([N,N],[]),"f32.store":sign([N,N],[]),"f64.store":sign([N,N],[]),"i32.store8":sign([N,N],[]),"i32.store16":sign([N,N],[]),"i64.store8":sign([N,N],[]),"i64.store16":sign([N,N],[]),"i64.store32":sign([N,N],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var we={"i32.const":sign([$],[$]),"i64.const":sign([j],[j]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([$],[$]),"i32.eq":sign([$,$],[$]),"i32.ne":sign([$,$],[$]),"i32.lt_s":sign([$,$],[$]),"i32.lt_u":sign([$,$],[$]),"i32.gt_s":sign([$,$],[$]),"i32.gt_u":sign([$,$],[$]),"i32.le_s":sign([$,$],[$]),"i32.le_u":sign([$,$],[$]),"i32.ge_s":sign([$,$],[$]),"i32.ge_u":sign([$,$],[$]),"i64.eqz":sign([j],[j]),"i64.eq":sign([j,j],[$]),"i64.ne":sign([j,j],[$]),"i64.lt_s":sign([j,j],[$]),"i64.lt_u":sign([j,j],[$]),"i64.gt_s":sign([j,j],[$]),"i64.gt_u":sign([j,j],[$]),"i64.le_s":sign([j,j],[$]),"i64.le_u":sign([j,j],[$]),"i64.ge_s":sign([j,j],[$]),"i64.ge_u":sign([j,j],[$]),"f32.eq":sign([q,q],[$]),"f32.ne":sign([q,q],[$]),"f32.lt":sign([q,q],[$]),"f32.gt":sign([q,q],[$]),"f32.le":sign([q,q],[$]),"f32.ge":sign([q,q],[$]),"f64.eq":sign([G,G],[$]),"f64.ne":sign([G,G],[$]),"f64.lt":sign([G,G],[$]),"f64.gt":sign([G,G],[$]),"f64.le":sign([G,G],[$]),"f64.ge":sign([G,G],[$]),"i32.clz":sign([$],[$]),"i32.ctz":sign([$],[$]),"i32.popcnt":sign([$],[$]),"i32.add":sign([$,$],[$]),"i32.sub":sign([$,$],[$]),"i32.mul":sign([$,$],[$]),"i32.div_s":sign([$,$],[$]),"i32.div_u":sign([$,$],[$]),"i32.rem_s":sign([$,$],[$]),"i32.rem_u":sign([$,$],[$]),"i32.and":sign([$,$],[$]),"i32.or":sign([$,$],[$]),"i32.xor":sign([$,$],[$]),"i32.shl":sign([$,$],[$]),"i32.shr_s":sign([$,$],[$]),"i32.shr_u":sign([$,$],[$]),"i32.rotl":sign([$,$],[$]),"i32.rotr":sign([$,$],[$]),"i64.clz":sign([j],[j]),"i64.ctz":sign([j],[j]),"i64.popcnt":sign([j],[j]),"i64.add":sign([j,j],[j]),"i64.sub":sign([j,j],[j]),"i64.mul":sign([j,j],[j]),"i64.div_s":sign([j,j],[j]),"i64.div_u":sign([j,j],[j]),"i64.rem_s":sign([j,j],[j]),"i64.rem_u":sign([j,j],[j]),"i64.and":sign([j,j],[j]),"i64.or":sign([j,j],[j]),"i64.xor":sign([j,j],[j]),"i64.shl":sign([j,j],[j]),"i64.shr_s":sign([j,j],[j]),"i64.shr_u":sign([j,j],[j]),"i64.rotl":sign([j,j],[j]),"i64.rotr":sign([j,j],[j]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([j],[$]),"i32.trunc_s/f32":sign([q],[$]),"i32.trunc_u/f32":sign([q],[$]),"i32.trunc_s/f64":sign([q],[$]),"i32.trunc_u/f64":sign([G],[$]),"i64.extend_s/i32":sign([$],[j]),"i64.extend_u/i32":sign([$],[j]),"i64.trunc_s/f32":sign([q],[j]),"i64.trunc_u/f32":sign([q],[j]),"i64.trunc_s/f64":sign([G],[j]),"i64.trunc_u/f64":sign([G],[j]),"f32.convert_s/i32":sign([$],[q]),"f32.convert_u/i32":sign([$],[q]),"f32.convert_s/i64":sign([j],[q]),"f32.convert_u/i64":sign([j],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([$],[G]),"f64.convert_u/i32":sign([$],[G]),"f64.convert_s/i64":sign([j],[G]),"f64.convert_u/i64":sign([j],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[$]),"i64.reinterpret/f64":sign([G],[j]),"f32.reinterpret/i32":sign([$],[q]),"f64.reinterpret/i64":sign([j],[G])};var Ie=Object.assign({},ae,le,_e,Ee,we);R.signatures=Ie},5499:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.moduleContextFromModuleAST=moduleContextFromModuleAST;R.ModuleContext=void 0;var $=N(52696);function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,R){for(var N=0;NE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var R=E.globalType.valtype;var N=E.globalType.mutability;this.globals.push({type:R,mutability:N});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,R){this.globals.push({type:E,mutability:R})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,R){this.mems.push({min:E,max:R})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();R.ModuleContext=j},22056:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.traverse=traverse;var $=N(46166);var j=N(52696);function walk(E,R){var N=false;function innerWalk(E,R){if(N){return}var j=E.node;if(j===undefined){console.warn("traversing with an empty context");return}if(j._deleted===true){return}var q=(0,$.createPath)(E);R(j.type,q);if(q.shouldStop){N=true;return}Object.keys(j).forEach((function(E){var N=j[E];if(N===null||N===undefined){return}var $=Array.isArray(N)?N:[N];$.forEach((function($){if(typeof $.type==="string"){var j={node:$,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(N)};innerWalk(j,R)}}))}))}innerWalk(E,R)}var q=function noop(){};function traverse(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var $=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(R).forEach((function(E){if(!j.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}var G=j.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof R[E]==="function"){N(E,q);R[E](q);$(E,q)}}))}))}},91764:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.isAnonymous=isAnonymous;R.getSectionMetadata=getSectionMetadata;R.getSectionMetadatas=getSectionMetadatas;R.sortSectionMetadata=sortSectionMetadata;R.orderedInsertNode=orderedInsertNode;R.assertHasLoc=assertHasLoc;R.getEndOfSection=getEndOfSection;R.shiftLoc=shiftLoc;R.shiftSection=shiftSection;R.signatureForOpcode=signatureForOpcode;R.getUniqueNameGenerator=getUniqueNameGenerator;R.getStartByteOffset=getStartByteOffset;R.getEndByteOffset=getEndByteOffset;R.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;R.getEndBlockByteOffset=getEndBlockByteOffset;R.getStartBlockByteOffset=getStartBlockByteOffset;var $=N(75769);var j=N(22056);var q=_interopRequireWildcard(N(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,R){var N;(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N=$}}))});return N}function getSectionMetadatas(E,R){var N=[];(0,j.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(R){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var $=E.node;if($.section===R){N.push($)}}))});return N}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,R){var N=q.default.sections[E.section];var $=q.default.sections[R.section];if(typeof N!=="number"||typeof $!=="number"){throw new Error("Section id not found")}return N-$}))}function orderedInsertNode(E,R){assertHasLoc(R);var N=false;if(R.type==="ModuleExport"){E.fields.push(R);return}E.fields=E.fields.reduce((function(E,$){var j=Infinity;if($.loc!=null){j=$.loc.end.column}if(N===false&&R.loc.start.column0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(R in E)){E[R]=0}else{E[R]=E[R]+1}return R+"_"+E[R]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var R=_slicedToArray(E.body,1),N=R[0];return getStartByteOffset(N)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){R=E.instr[E.instr.length-1]}if(E.body){R=E.body[E.body.length-1]}if(!(_typeof(R)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var R;if(E.instr){var N=_slicedToArray(E.instr,1);R=N[0]}if(E.body){var $=_slicedToArray(E.body,1);R=$[0]}if(!(_typeof(R)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(R)}},18083:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=parse;function parse(E){E=E.toUpperCase();var R=E.indexOf("P");var N,$;if(R!==-1){N=E.substring(0,R);$=parseInt(E.substring(R+1))}else{N=E;$=0}var j=N.indexOf(".");if(j!==-1){var q=parseInt(N.substring(0,j),16);var G=Math.sign(q);q=G*q;var ie=N.length-j-1;var ae=parseInt(N.substring(j+1),16);var le=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(le===0){N=G}else{if(Object.is(G,-0)){N=-le}else{N=le}}}else{N=G*(q+le)}}else{N=parseInt(N,16)}return N*(R!==-1?Math.pow(2,$):1)}},35866:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LinkError=R.CompileError=R.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var N=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);R.RuntimeError=N;var $=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);R.CompileError=$;var j=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);R.LinkError=j},3104:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.overrideBytesInBuffer=overrideBytesInBuffer;R.makeBuffer=makeBuffer;R.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.parse32F=parse32F;R.parse64F=parse64F;R.parse32I=parse32I;R.parseU32=parseU32;R.parse64I=parse64I;R.isInfLiteral=isInfLiteral;R.isNanLiteral=isNanLiteral;var $=_interopRequireDefault(N(11174));var j=_interopRequireDefault(N(18083));var q=N(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,j.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,j.default)(E)}return parseFloat(E)}function parse32I(E){var R=0;if(isHexLiteral(E)){R=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=parseInt(E,10)}return R}function parseU32(E){var R=parse32I(E);if(R<0){throw new q.CompileError("Illegal value for u32: "+E)}return R}function parse64I(E){var R;if(isHexLiteral(E)){R=$.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{R=$.default.fromString(E)}return{high:R.high,low:R.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"getSectionForNode",{enumerable:true,get:function get(){return $.getSectionForNode}});R["default"]=void 0;var $=N(55474);var j="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var N={};var $=Object.keys(E);for(var j=0,q=$.length;j2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:R,numberOfArgs:N}}function createSymbol(E){var R=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:R}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var le=invertMap(ae);var _e={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var Ee=invertMap(_e);var we={112:"anyfunc"};var Ie=Object.assign({},_e,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var Me={0:"const",1:"var"};var Te=invertMap(Me);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Be={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:j,7:j,8:j,9:j,10:j,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:j,19:j,20:j,21:j,22:j,23:j,24:j,25:j,26:createSymbol("drop"),27:createSymbol("select"),28:j,29:j,30:j,31:j,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:j,38:j,39:j,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var je=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var ze={symbolsByByte:Le,sections:Be,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:_e,exportTypes:ae,blockTypes:Ie,tableTypes:we,globalTypes:Me,importTypes:Ne,valtypesByString:Ee,globalTypesByString:Te,exportTypesByName:le,symbolsByName:je};R["default"]=ze},55474:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.createEmptySection=createEmptySection;var $=N(44166);var j=N(3104);var q=_interopRequireDefault(N(3930));var G=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,R){var N=q.default.sections[R];var $=E.body[0].metadata.sections;var j;var G=0;for(var ie=0,ae=$.length;ieG&&N<_e){return j}G=_e;j=le}return j}function createEmptySection(E,R,N){var q=findLastSection(E,N);var ie,ae;if(q==null||q.section==="custom"){ie=8;ae=ie}else{ie=q.startOffset+q.size.value+1;ae=ie}ie+=1;var le={line:-1,column:ie};var _e={line:-1,column:ie+1};var Ee=G.withLoc(G.numberLiteralFromRaw(1),_e,le);var we={line:-1,column:_e.column};var Ie={line:-1,column:_e.column+1};var Me=G.withLoc(G.numberLiteralFromRaw(0),Ie,we);var Te=G.sectionMetadata(N,ie,Ee,Me);var Ne=(0,$.encodeNode)(Te);R=(0,j.overrideBytesInBuffer)(R,ie-1,ae,Ne);if(_typeof(E.body[0].metadata)==="object"){E.body[0].metadata.sections.push(Te);G.sortSectionMetadata(E.body[0])}var Be=+Ne.length;var Le=false;G.traverse(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Le=true;return}if(Le===true){G.shiftSection(E,R.node,Be)}}});return{uint8Buffer:R,sectionMetadata:Te}}},77246:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"resizeSectionByteSize",{enumerable:true,get:function get(){return $.resizeSectionByteSize}});Object.defineProperty(R,"resizeSectionVecSize",{enumerable:true,get:function get(){return $.resizeSectionVecSize}});Object.defineProperty(R,"createEmptySection",{enumerable:true,get:function get(){return j.createEmptySection}});Object.defineProperty(R,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var $=N(35369);var j=N(97961);var q=N(96744)},96744:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.removeSections=removeSections;var $=N(98093);var j=N(3104);function removeSections(E,R,N){var q=(0,$.getSectionMetadatas)(E,N);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(R,q){var G=q.startOffset-1;var ie=N==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var le=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){le=true;return R.remove()}if(le===true){(0,$.shiftSection)(E,R.node,ae)}}});var _e=[];return(0,j.overrideBytesInBuffer)(R,G,ie,_e)}),R)}},35369:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.resizeSectionByteSize=resizeSectionByteSize;R.resizeSectionVecSize=resizeSectionVecSize;var $=N(44166);var j=N(98093);var q=N(3104);function resizeSectionByteSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}var ae=ie.size.loc.start.column;var le=ie.size.loc.end.column;var _e=ie.size.value+G;var Ee=(0,$.encodeU32)(_e);ie.size.value=_e;var we=le-ae;var Ie=Ee.length;if(Ie!==we){var Me=Ie-we;ie.size.loc.end.column=ae+Ie;G+=Me;ie.vectorOfSize.loc.start.column+=Me;ie.vectorOfSize.loc.end.column+=Me}var Te=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===N){Te=true;return}if(Te===true){(0,j.shiftSection)(E,R.node,G)}}});return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}function resizeSectionVecSize(E,R,N,G){var ie=(0,j.getSectionMetadata)(E,N);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+N+" has no loc")}if(ie.vectorOfSize.value===-1){return R}var ae=ie.vectorOfSize.loc.start.column;var le=ie.vectorOfSize.loc.end.column;var _e=ie.vectorOfSize.value+G;var Ee=(0,$.encodeU32)(_e);ie.vectorOfSize.value=_e;ie.vectorOfSize.loc.end.column=ae+Ee.length;return(0,q.overrideBytesInBuffer)(R,ae,le,Ee)}},48:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeF32=encodeF32;R.encodeF64=encodeF64;R.decodeF32=decodeF32;R.decodeF64=decodeF64;R.DOUBLE_PRECISION_MANTISSA=R.SINGLE_PRECISION_MANTISSA=R.NUMBER_OF_BYTE_F64=R.NUMBER_OF_BYTE_F32=void 0;var $=N(3158);var j=4;R.NUMBER_OF_BYTE_F32=j;var q=8;R.NUMBER_OF_BYTE_F64=q;var G=23;R.SINGLE_PRECISION_MANTISSA=G;var ie=52;R.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var R=[];(0,$.write)(R,E,0,true,G,j);return R}function encodeF64(E){var R=[];(0,$.write)(R,E,0,true,ie,q);return R}function decodeF32(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,G,j)}function decodeF64(E){var R=Buffer.from(E);return(0,$.read)(R,0,true,ie,q)}},90683:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.extract=extract;R.inject=inject;R.getSign=getSign;R.highOrder=highOrder;function extract(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}if($===undefined){$=0}else if($!==0&&$!==1){throw new Error("Bad value for defaultBit.")}var j=$*255;var q=0;var G=R+N;var ie=Math.floor(R/8);var ae=R%8;var le=Math.floor(G/8);var _e=G%8;if(_e!==0){q=get(le)&(1<<_e)-1}while(le>ie){le--;q=q<<8|get(le)}q>>>=ae;return q;function get(R){var N=E[R];return N===undefined?j:N}}function inject(E,R,N,$){if(N<0||N>32){throw new Error("Bad value for bitLength.")}var j=Math.floor((R+N-1)/8);if(R<0||j>=E.length){throw new Error("Index out of range.")}var q=Math.floor(R/8);var G=R%8;while(N>0){if($&1){E[q]|=1<>=1;N--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,R){var N=R.length;var $=(E^1)*255;while(N>0&&R[N-1]===$){N--}if(N===0){return-1}var j=R[N-1];var q=N*8-1;for(var G=7;G>0;G--){if((j>>G&1)===E){break}q--}return q}},1779:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.alloc=alloc;R.free=free;R.resize=resize;R.readInt=readInt;R.readUInt=readUInt;R.writeInt64=writeInt64;R.writeUInt64=writeUInt64;var N=[];var $=20;var j=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,R){if(R===0){return false}var N=lowestBit(R);var $=E+N;if($===E){return true}if($-N!==E){return true}return false}function alloc(E){var R=N[E];if(R){N[E]=undefined}else{R=new Buffer(E)}R.fill(0);return R}function free(E){var R=E.length;if(R<$){N[R]=E}}function resize(E,R){if(R===E.length){return E}var N=alloc(R);E.copy(N);free(E);return N}function readInt(E){var R=E.length;var N=E[R-1]<128;var $=N?0:-1;var j=false;if(R<7){for(var q=R-1;q>=0;q--){$=$*256+E[q]}}else{for(var G=R-1;G>=0;G--){var ie=E[G];$*=256;if(isLossyToAdd($,ie)){j=true}$+=ie}}return{value:$,lossy:j}}function readUInt(E){var R=E.length;var N=0;var $=false;if(R<7){for(var j=R-1;j>=0;j--){N=N*256+E[j]}}else{for(var q=R-1;q>=0;q--){var G=E[q];N*=256;if(isLossyToAdd(N,G)){$=true}N+=G}}return{value:N,lossy:$}}function writeInt64(E,R){if(Eq){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,R)}function writeUInt64(E,R){if(E<0||E>G){throw new Error("Value out of range.")}var N=E%ie;var $=Math.floor(E/ie);R.writeUInt32LE(N,0);R.writeUInt32LE($,4)}},39784:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decodeInt64=decodeInt64;R.decodeUInt64=decodeUInt64;R.decodeInt32=decodeInt32;R.decodeUInt32=decodeUInt32;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.MAX_NUMBER_OF_BYTE_U64=R.MAX_NUMBER_OF_BYTE_U32=void 0;var $=_interopRequireDefault(N(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var j=5;R.MAX_NUMBER_OF_BYTE_U32=j;var q=10;R.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,R){return $.default.decodeInt64(E,R)}function decodeUInt64(E,R){return $.default.decodeUInt64(E,R)}function decodeInt32(E,R){return $.default.decodeInt32(E,R)}function decodeUInt32(E,R){return $.default.decodeUInt32(E,R)}function encodeU32(E){return $.default.encodeUInt32(E)}function encodeI32(E){return $.default.encodeInt32(E)}function encodeI64(E){return $.default.encodeInt64(E)}},83082:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(11174));var j=_interopRequireWildcard(N(90683));var q=_interopRequireWildcard(N(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return j.highOrder(j.getSign(E)^1,E)+2}function unsignedBitCount(E){var R=j.highOrder(1,E)+1;return R?R:1}function encodeBufferCommon(E,R){var N;var $;if(R){N=j.getSign(E);$=signedBitCount(E)}else{N=0;$=unsignedBitCount(E)}var G=Math.ceil($/7);var ie=q.alloc(G);for(var ae=0;ae=128){N++}N++;if(R+N>E.length){}return N}function decodeBufferCommon(E,R,N){R=R===undefined?0:R;var $=encodedLength(E,R);var G=$*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var le=0;while($>0){j.inject(ae,le,7,E[R]);le+=7;R++;$--}var _e;var Ee;if(N){var we=ae[ie-1];var Ie=le%8;if(Ie!==0){var Me=32-Ie;we=ae[ie-1]=we<>Me&255}_e=we>>7;Ee=_e*255}else{_e=0;Ee=0}while(ie>1&&ae[ie-1]===Ee&&(!N||ae[ie-2]>>7===_e)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:R}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,R){return decodeBufferCommon(E,R,true)}function encodeInt32(E){var R=q.alloc(4);R.writeInt32LE(E,0);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt32(E,R){var N=decodeIntBuffer(E,R);var $=q.readInt(N.value);var j=$.value;q.free(N.value);if(jie){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeInt64(E){var R=q.alloc(8);q.writeInt64(E,R);var N=encodeIntBuffer(R);q.free(R);return N}function decodeInt64(E,R){var N=decodeIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,false);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,R){return decodeBufferCommon(E,R,false)}function encodeUInt32(E){var R=q.alloc(4);R.writeUInt32LE(E,0);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt32(E,R){var N=decodeUIntBuffer(E,R);var $=q.readUInt(N.value);var j=$.value;q.free(N.value);if(j>ae){throw new Error("integer too large")}return{value:j,nextIndex:N.nextIndex}}function encodeUInt64(E){var R=q.alloc(8);q.writeUInt64(E,R);var N=encodeUIntBuffer(R);q.free(R);return N}function decodeUInt64(E,R){var N=decodeUIntBuffer(E,R);var j=$.default.fromBytesLE(N.value,true);q.free(N.value);return{value:j,nextIndex:N.nextIndex,lossy:false}}var le={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};R["default"]=le},85589:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=65536){throw new Error("invalid UTF-8 encoding")}else{return R}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var R=_toArray(E),N=R[0],$=R.slice(1);if(N<128){return[code(0,N)].concat(_toConsumableArray(_decode($)))}if(N<192){throw new Error("invalid UTF-8 encoding")}}{var j=_toArray(E),q=j[0],G=j[1],ie=j.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),le=ae[0],_e=ae[1],Ee=ae[2],we=ae.slice(3);if(le<240){return[code(2048,((le&15)<<12)+(con(_e)<<6)+con(Ee))].concat(_toConsumableArray(_decode(we)))}}{var Ie=_toArray(E),Me=Ie[0],Te=Ie[1],Ne=Ie[2],Be=Ie[3],Le=Ie.slice(4);if(Me<248){return[code(65536,(((Me&7)<<18)+con(Te)<<12)+(con(Ne)<<6)+con(Be))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R>>6,con(N)].concat(_toConsumableArray(_encode($)))}if(N<65536){return[224|N>>>12,con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}if(N<1114112){return[240|N>>>18,con(N>>>12),con(N>>>6),con(N)].concat(_toConsumableArray(_encode($)))}throw new Error("utf8")}},38040:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"decode",{enumerable:true,get:function get(){return $.decode}});Object.defineProperty(R,"encode",{enumerable:true,get:function get(){return j.encode}});var $=N(85589);var j=N(56264)},17467:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.applyOperations=applyOperations;var $=N(44166);var j=N(77445);var q=N(98093);var G=N(77246);var ie=N(3104);var ae=N(3930);function _sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"]!=null)G["return"]()}finally{if(j)throw q}}return N}function _slicedToArray(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,R){(0,q.assertHasLoc)(E);E.loc.start.column+=R;E.loc.end.column+=R}function applyUpdate(E,R,N){var G=_slicedToArray(N,2),le=G[0],_e=G[1];var Ee=0;(0,q.assertHasLoc)(le);var we=(0,ae.getSectionForNode)(_e);var Ie=(0,$.encodeNode)(_e);R=(0,ie.overrideBytesInBuffer)(R,le.loc.start.column,le.loc.end.column,Ie);if(we==="code"){(0,q.traverse)(E,{Func:function Func(E){var N=E.node;var G=N.body.find((function(E){return E===_e}))!==undefined;if(G===true){(0,q.assertHasLoc)(N);var ae=(0,$.encodeNode)(le).length;var Ee=Ie.length-ae;if(Ee!==0){var we=N.metadata.bodySize+Ee;var Me=(0,j.encodeU32)(we);var Te=N.loc.start.column;var Ne=Te+1;R=(0,ie.overrideBytesInBuffer)(R,Te,Ne,Me)}}}})}var Me=Ie.length-(le.loc.end.column-le.loc.start.column);_e.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};_e.loc.start.column=le.loc.start.column;_e.loc.end.column=le.loc.start.column+Ie.length;return{uint8Buffer:R,deltaBytes:Me,deltaElements:Ee}}function applyDelete(E,R,N){var $=-1;(0,q.assertHasLoc)(N);var j=(0,ae.getSectionForNode)(N);if(j==="start"){var le=(0,q.getSectionMetadata)(E,"start");R=(0,G.removeSections)(E,R,"start");var _e=-(le.size.value+1);return{uint8Buffer:R,deltaBytes:_e,deltaElements:$}}var Ee=[];R=(0,ie.overrideBytesInBuffer)(R,N.loc.start.column,N.loc.end.column,Ee);var we=-(N.loc.end.column-N.loc.start.column);return{uint8Buffer:R,deltaBytes:we,deltaElements:$}}function applyAdd(E,R,N){var j=+1;var le=(0,ae.getSectionForNode)(N);var _e=(0,q.getSectionMetadata)(E,le);if(typeof _e==="undefined"){var Ee=(0,G.createEmptySection)(E,R,le);R=Ee.uint8Buffer;_e=Ee.sectionMetadata}if((0,q.isFunc)(N)){var we=N.body;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(N)){var we=N.init;if(we.length===0||we[we.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Ie=(0,$.encodeNode)(N);var Me=(0,q.getEndOfSection)(_e);var Te=Me;var Ne=Ie.length;R=(0,ie.overrideBytesInBuffer)(R,Me,Te,Ie);N.loc={start:{line:-1,column:Me},end:{line:-1,column:Me+Ne}};if(N.type==="Func"){var Be=Ie[0];N.metadata={bodySize:Be}}if(N.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],N)}return{uint8Buffer:R,deltaBytes:Ne,deltaElements:j}}function applyOperations(E,R,N){N.forEach((function($){var j;var q;switch($.kind){case"update":j=applyUpdate(E,R,[$.oldNode,$.node]);q=(0,ae.getSectionForNode)($.node);break;case"delete":j=applyDelete(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;case"add":j=applyAdd(E,R,$.node);q=(0,ae.getSectionForNode)($.node);break;default:throw new Error("Unknown operation")}if(j.deltaElements!==0&&q!=="start"){var ie=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionVecSize)(E,j.uint8Buffer,q,j.deltaElements);j.deltaBytes+=j.uint8Buffer.length-ie}if(j.deltaBytes!==0&&q!=="start"){var le=j.uint8Buffer.length;j.uint8Buffer=(0,G.resizeSectionByteSize)(E,j.uint8Buffer,q,j.deltaBytes);j.deltaBytes+=j.uint8Buffer.length-le}if(j.deltaBytes!==0){N.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,j.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,j.deltaBytes);break}}))}R=j.uint8Buffer}));return R}},226:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.edit=edit;R.editWithAST=editWithAST;R.add=add;R.addWithAST=addWithAST;var $=N(73432);var j=N(98093);var q=N(70797);var G=N(53620);var ie=_interopRequireWildcard(N(3930));var ae=N(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var R=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return R.buffer}function sortBySectionOrder(E){var R=new Map;var N=true;var $=false;var j=undefined;try{for(var q=E[Symbol.iterator](),G;!(N=(G=q.next()).done);N=true){var ae=G.value;R.set(ae,R.size)}}catch(E){$=true;j=E}finally{try{if(!N&&q.return!=null){q.return()}}finally{if($){throw j}}}E.sort((function(E,N){var $=(0,ie.getSectionForNode)(E);var j=(0,ie.getSectionForNode)(N);var q=ie.default.sections[$];var G=ie.default.sections[j];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return R.get(E)-R.get(N)}return q-G}))}function edit(E,R){E=preprocess(E);var N=(0,$.decode)(E);return editWithAST(N,E,R)}function editWithAST(E,R,N){var $=[];var G=new Uint8Array(R);var ie;function before(E,R){ie=(0,q.cloneNode)(R.node)}function after(E,R){if(R.node._deleted===true){$.push({kind:"delete",node:R.node})}else if(hashNode(ie)!==hashNode(R.node)){$.push({kind:"update",oldNode:ie,node:R.node})}}(0,j.traverse)(E,N,before,after);G=(0,ae.applyOperations)(E,G,$);return G.buffer}function add(E,R){E=preprocess(E);var N=(0,$.decode)(E);return addWithAST(N,E,R)}function addWithAST(E,R,N){sortBySectionOrder(N);var $=new Uint8Array(R);var j=N.map((function(E){return{kind:"add",node:E}}));$=(0,ae.applyOperations)(E,$,j);return $.buffer}},77445:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeVersion=encodeVersion;R.encodeHeader=encodeHeader;R.encodeU32=encodeU32;R.encodeI32=encodeI32;R.encodeI64=encodeI64;R.encodeVec=encodeVec;R.encodeValtype=encodeValtype;R.encodeMutability=encodeMutability;R.encodeUTF8Vec=encodeUTF8Vec;R.encodeLimits=encodeLimits;R.encodeModuleImport=encodeModuleImport;R.encodeSectionMetadata=encodeSectionMetadata;R.encodeCallInstruction=encodeCallInstruction;R.encodeCallIndirectInstruction=encodeCallIndirectInstruction;R.encodeModuleExport=encodeModuleExport;R.encodeTypeInstruction=encodeTypeInstruction;R.encodeInstr=encodeInstr;R.encodeStringLiteral=encodeStringLiteral;R.encodeGlobal=encodeGlobal;R.encodeFuncBody=encodeFuncBody;R.encodeIndexInFuncSection=encodeIndexInFuncSection;R.encodeElem=encodeElem;var $=_interopRequireWildcard(N(39784));var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireDefault(N(3930));var ie=N(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.encodeNode=encodeNode;R.encodeU32=void 0;var $=_interopRequireWildcard(N(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function encodeNode(E){switch(E.type){case"ModuleImport":return $.encodeModuleImport(E);case"SectionMetadata":return $.encodeSectionMetadata(E);case"CallInstruction":return $.encodeCallInstruction(E);case"CallIndirectInstruction":return $.encodeCallIndirectInstruction(E);case"TypeInstruction":return $.encodeTypeInstruction(E);case"Instr":return $.encodeInstr(E);case"ModuleExport":return $.encodeModuleExport(E);case"Global":return $.encodeGlobal(E);case"Func":return $.encodeFuncBody(E);case"IndexInFuncSection":return $.encodeIndexInFuncSection(E);case"StringLiteral":return $.encodeStringLiteral(E);case"Elem":return $.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var j=$.encodeU32;R.encodeU32=j},53620:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(73432);var j=N(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,R){if(R&&(_typeof(R)==="object"||typeof R==="function")){return R}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,R){if(typeof R!=="function"&&R!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(R&&R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(R)Object.setPrototypeOf?Object.setPrototypeOf(E,R):E.__proto__=R}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,R){var N;_classCallCheck(this,OptimizerError);N=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+R.message));N.stack=R.stack;return N}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var R=(0,$.decode)(E.buffer,G);return(0,j.shrinkPaddedLEB128)(R,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.shrinkPaddedLEB128=shrinkPaddedLEB128;var $=N(98093);var j=N(77445);var q=N(3104);function shiftFollowingSections(E,R,N){var j=R.section;var q=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(R){if(R.node.section===j){q=true;return}if(q===true){(0,$.shiftSection)(E,R.node,N)}}})}function shrinkPaddedLEB128(E,R){(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){var $=N.node;{var G=(0,j.encodeU32)($.size.value);var ie=G.length;var ae=$.size.loc.start.column;var le=$.size.loc.end.column;var _e=le-ae;if(ie!==_e){var Ee=_e-ie;R=(0,q.overrideBytesInBuffer)(R,ae,le,G);shiftFollowingSections(E,$,-Ee)}}}});return R}},13975:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=N(35866);var j=_interopRequireWildcard(N(48));var q=_interopRequireWildcard(N(38040));var G=_interopRequireWildcard(N(98093));var ie=N(39784);var ae=_interopRequireDefault(N(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}function _toConsumableArray(E){if(Array.isArray(E)){for(var R=0,N=new Array(E.length);R=N.length}function eatBytes(E){_e=_e+E}function readBytesAtOffset(E,R){var $=[];for(var j=0;j>7?-1:1;var $=0;for(var q=0;q>7?-1:1;var $=0;for(var q=0;qN.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new $.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||_e+4>N.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new $.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var R=readU32();var N=R.value;eatBytes(R.nextIndex);dump([N],"number");if(N===0){return[]}var j=[];for(var q=0;q=40&&j<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var _t=readU32();var xt=_t.value;eatBytes(_t.nextIndex);dump([xt],"align");var kt=readU32();var Et=kt.value;eatBytes(kt.nextIndex);dump([Et],"offset")}}else if(j>=65&&j<=68){if(q.object==="i32"){var wt=read32();var St=wt.value;eatBytes(wt.nextIndex);dump([St],"i32 value");_e.push(G.numberLiteralFromRaw(St))}if(q.object==="u32"){var At=readU32();var Ct=At.value;eatBytes(At.nextIndex);dump([Ct],"u32 value");_e.push(G.numberLiteralFromRaw(Ct))}if(q.object==="i64"){var Dt=read64();var It=Dt.value;eatBytes(Dt.nextIndex);dump([Number(It.toString())],"i64 value");var Mt=It.high,Pt=It.low;var Tt={type:"LongNumberLiteral",value:{high:Mt,low:Pt}};_e.push(Tt)}if(q.object==="u64"){var Ot=readU64();var Rt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Rt.toString())],"u64 value");var Ft=Rt.high,Nt=Rt.low;var Bt={type:"LongNumberLiteral",value:{high:Ft,low:Nt}};_e.push(Bt)}if(q.object==="f32"){var Lt=readF32();var $t=Lt.value;eatBytes(Lt.nextIndex);dump([$t],"f32 value");_e.push(G.floatLiteral($t,Lt.nan,Lt.inf,String($t)))}if(q.object==="f64"){var jt=readF64();var zt=jt.value;eatBytes(jt.nextIndex);dump([zt],"f64 value");_e.push(G.floatLiteral(zt,jt.nan,jt.inf,String(zt)))}}else if(j>=65024&&j<=65279){var Ut=readU32();var qt=Ut.value;eatBytes(Ut.nextIndex);dump([qt],"align");var Gt=readU32();var Ht=Gt.value;eatBytes(Gt.nextIndex);dump([Ht],"offset")}else{for(var Wt=0;Wt=E||E===ae.default.sections.custom){E=N+1}else{if(N!==ae.default.sections.custom)throw new $.CompileError("Unexpected section: "+toHex(N))}var j=E;var q=_e;var ie=getPosition();var le=readU32();var Ee=le.value;eatBytes(le.nextIndex);var we=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ee),E,ie)}();switch(N){case ae.default.sections.type:{dumpSep("section Type");dump([N],"section code");dump([Ee],"section size");var Ie=getPosition();var Me=readU32();var Te=Me.value;eatBytes(Me.nextIndex);var Ne=G.sectionMetadata("type",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Te),E,Ie)}());var Be=parseTypeSection(Te);return{nodes:Be,metadata:Ne,nextSectionIndex:j}}case ae.default.sections.table:{dumpSep("section Table");dump([N],"section code");dump([Ee],"section size");var Le=getPosition();var je=readU32();var ze=je.value;eatBytes(je.nextIndex);dump([ze],"num tables");var Ue=G.sectionMetadata("table",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(ze),E,Le)}());var qe=parseTableSection(ze);return{nodes:qe,metadata:Ue,nextSectionIndex:j}}case ae.default.sections.import:{dumpSep("section Import");dump([N],"section code");dump([Ee],"section size");var Ge=getPosition();var He=readU32();var We=He.value;eatBytes(He.nextIndex);dump([We],"number of imports");var Ve=G.sectionMetadata("import",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(We),E,Ge)}());var Ke=parseImportSection(We);return{nodes:Ke,metadata:Ve,nextSectionIndex:j}}case ae.default.sections.func:{dumpSep("section Function");dump([N],"section code");dump([Ee],"section size");var Qe=getPosition();var Je=readU32();var Xe=Je.value;eatBytes(Je.nextIndex);var Ye=G.sectionMetadata("func",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Xe),E,Qe)}());parseFuncSection(Xe);var Ze=[];return{nodes:Ze,metadata:Ye,nextSectionIndex:j}}case ae.default.sections.export:{dumpSep("section Export");dump([N],"section code");dump([Ee],"section size");var et=getPosition();var tt=readU32();var nt=tt.value;eatBytes(tt.nextIndex);var rt=G.sectionMetadata("export",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(nt),E,et)}());parseExportSection(nt);var st=[];return{nodes:st,metadata:rt,nextSectionIndex:j}}case ae.default.sections.code:{dumpSep("section Code");dump([N],"section code");dump([Ee],"section size");var it=getPosition();var ot=readU32();var lt=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(lt),E,it)}());if(R.ignoreCodeSection===true){var ut=Ee-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(lt)}var pt=[];return{nodes:pt,metadata:ct,nextSectionIndex:j}}case ae.default.sections.start:{dumpSep("section Start");dump([N],"section code");dump([Ee],"section size");var dt=G.sectionMetadata("start",q,we);var ft=[parseStartSection()];return{nodes:ft,metadata:dt,nextSectionIndex:j}}case ae.default.sections.element:{dumpSep("section Element");dump([N],"section code");dump([Ee],"section size");var ht=getPosition();var mt=readU32();var gt=mt.value;eatBytes(mt.nextIndex);var yt=G.sectionMetadata("element",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(gt),E,ht)}());var vt=parseElemSection(gt);return{nodes:vt,metadata:yt,nextSectionIndex:j}}case ae.default.sections.global:{dumpSep("section Global");dump([N],"section code");dump([Ee],"section size");var bt=getPosition();var _t=readU32();var xt=_t.value;eatBytes(_t.nextIndex);var kt=G.sectionMetadata("global",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(xt),E,bt)}());var Et=parseGlobalSection(xt);return{nodes:Et,metadata:kt,nextSectionIndex:j}}case ae.default.sections.memory:{dumpSep("section Memory");dump([N],"section code");dump([Ee],"section size");var wt=getPosition();var St=readU32();var At=St.value;eatBytes(St.nextIndex);var Ct=G.sectionMetadata("memory",q,we,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(At),E,wt)}());var Dt=parseMemorySection(At);return{nodes:Dt,metadata:Ct,nextSectionIndex:j}}case ae.default.sections.data:{dumpSep("section Data");dump([N],"section code");dump([Ee],"section size");var It=G.sectionMetadata("data",q,we);var Mt=getPosition();var Pt=readU32();var Tt=Pt.value;eatBytes(Pt.nextIndex);It.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Tt),E,Mt)}();if(R.ignoreDataSection===true){var Ot=Ee-Pt.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+Ee+" bytes)");return{nodes:[],metadata:It,nextSectionIndex:j}}else{var Rt=parseDataSection(Tt);return{nodes:Rt,metadata:It,nextSectionIndex:j}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([N],"section code");dump([Ee],"section size");var Ft=[G.sectionMetadata("custom",q,we)];var Nt=readUTF8String();eatBytes(Nt.nextIndex);dump([],"section name (".concat(Nt.value,")"));var Bt=Ee-Nt.nextIndex;if(Nt.value==="name"){var Lt=_e;try{Ft.push.apply(Ft,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-(Lt+Bt))}}else if(Nt.value==="producers"){var $t=_e;try{Ft.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(_e,"; ignoring (").concat(E.message,")."));eatBytes(_e-($t+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Nt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Ft,nextSectionIndex:j}}}throw new $.CompileError("Unexpected section: "+toHex(N))}parseModuleHeader();parseVersion();var we=[];var Ie=0;var Me={sections:[],functionNames:[],localNames:[],producers:[]};while(_e{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.decode=decode;var $=_interopRequireWildcard(N(13975));var j=_interopRequireWildcard(N(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var R={};if(E!=null){for(var N in E){if(Object.prototype.hasOwnProperty.call(E,N)){var $=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,N):{};if($.get||$.set){Object.defineProperty(R,N,$)}else{R[N]=E[N]}}}}R.default=E;return R}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var R=[];j.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var N=E.node;R.push({name:N.value,index:N.index})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.name;var j=$.value;var q=Number(j.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){var ie=$.value;$.value=G.name;$.numeric=ie;delete $.raw}})),ModuleExport:function(E){function ModuleExport(R){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var N=E.node;if(N.descr.exportType==="Func"){var $=N.descr.id;var q=$.value;var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(R){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var N=E.node;if(N.descr.type==="FuncImportDescr"){var $=N.descr.id;var q=Number($.replace("func_",""));var G=R.find((function(E){return E.index===q}));if(G){N.descr.id=j.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(R){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var N=E.node;var $=N.index.value;var q=R.find((function(E){return E.index===$}));if(q){var G=N.index;N.index=j.identifier(q.name);N.numeric=G;delete N.raw}}))})}function restoreLocalNames(E){var R=[];j.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var N=E.node;R.push({name:N.value,localIndex:N.localIndex,functionIndex:N.functionIndex})}});if(R.length===0){return}j.traverse(E,{Func:function(E){function Func(R){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var N=E.node;var $=N.signature;if($.type!=="Signature"){return}var j=N.name;var q=j.value;var G=Number(q.replace("func_",""));$.params.forEach((function(E,N){var $=R.find((function(E){return E.localIndex===N&&E.functionIndex===G}));if($&&$.name!==""){E.id=$.name}}))}))})}function restoreModuleName(E){j.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(R){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(R){j.traverse(E,{Module:function(E){function Module(R){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var N=E.node;var $=R.node.value;if($===""){$=null}N.id=$}))})}))})}function decode(E,R){var N=Object.assign({},q,R);var j=$.decode(E,N);if(N.ignoreCustomNameSection===false){restoreFunctionNames(j);restoreLocalNames(j);restoreModuleName(j)}return j}},3158:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.read=read;R.write=write;function read(E,R,N,$,j){var q,G;var ie=j*8-$-1;var ae=(1<>1;var _e=-7;var Ee=N?j-1:0;var we=N?-1:1;var Ie=E[R+Ee];Ee+=we;q=Ie&(1<<-_e)-1;Ie>>=-_e;_e+=ie;for(;_e>0;q=q*256+E[R+Ee],Ee+=we,_e-=8){}G=q&(1<<-_e)-1;q>>=-_e;_e+=$;for(;_e>0;G=G*256+E[R+Ee],Ee+=we,_e-=8){}if(q===0){q=1-le}else if(q===ae){return G?NaN:(Ie?-1:1)*Infinity}else{G=G+Math.pow(2,$);q=q-le}return(Ie?-1:1)*G*Math.pow(2,q-$)}function write(E,R,N,$,j,q){var G,ie,ae;var le=q*8-j-1;var _e=(1<>1;var we=j===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Ie=$?0:q-1;var Me=$?1:-1;var Te=R<0||R===0&&1/R<0?1:0;R=Math.abs(R);if(isNaN(R)||R===Infinity){ie=isNaN(R)?1:0;G=_e}else{G=Math.floor(Math.log(R)/Math.LN2);if(R*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+Ee>=1){R+=we/ae}else{R+=we*Math.pow(2,1-Ee)}if(R*ae>=2){G++;ae/=2}if(G+Ee>=_e){ie=0;G=_e}else if(G+Ee>=1){ie=(R*ae-1)*Math.pow(2,j);G=G+Ee}else{ie=R*Math.pow(2,Ee-1)*Math.pow(2,j);G=0}}for(;j>=8;E[N+Ie]=ie&255,Ie+=Me,ie/=256,j-=8){}G=G<0;E[N+Ie]=G&255,Ie+=Me,G/=256,le-=8){}E[N+Ie-Me]|=Te*128}},11174:E=>{E.exports=Long;var R=null;try{R=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,R,N){this.low=E|0;this.high=R|0;this.unsigned=!!N}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var N={};var $={};function fromInt(E,R){var j,q,G;if(R){E>>>=0;if(G=0<=E&&E<256){q=$[E];if(q)return q}j=fromBits(E,(E|0)<0?-1:0,true);if(G)$[E]=j;return j}else{E|=0;if(G=-128<=E&&E<128){q=N[E];if(q)return q}j=fromBits(E,E<0?-1:0,false);if(G)N[E]=j;return j}}Long.fromInt=fromInt;function fromNumber(E,R){if(isNaN(E))return R?we:Ee;if(R){if(E<0)return we;if(E>=ae)return Be}else{if(E<=-le)return Le;if(E+1>=le)return Ne}if(E<0)return fromNumber(-E,R).neg();return fromBits(E%ie|0,E/ie|0,R)}Long.fromNumber=fromNumber;function fromBits(E,R,N){return new Long(E,R,N)}Long.fromBits=fromBits;var j=Math.pow;function fromString(E,R,N){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return Ee;if(typeof R==="number"){N=R,R=false}else{R=!!R}N=N||10;if(N<2||360)throw Error("interior hyphen");else if($===0){return fromString(E.substring(1),R,N).neg()}var q=fromNumber(j(N,8));var G=Ee;for(var ie=0;ie>>0:this.low};je.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};je.toString=function toString(E){E=E||10;if(E<2||36>>0,_e=le.toString(E);G=ae;if(G.isZero())return _e+ie;else{while(_e.length<6)_e="0"+_e;ie=""+_e+ie}}};je.getHighBits=function getHighBits(){return this.high};je.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};je.getLowBits=function getLowBits(){return this.low};je.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};je.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var R=31;R>0;R--)if((E&1<=0};je.isOdd=function isOdd(){return(this.low&1)===1};je.isEven=function isEven(){return(this.low&1)===0};je.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};je.eq=je.equals;je.notEquals=function notEquals(E){return!this.eq(E)};je.neq=je.notEquals;je.ne=je.notEquals;je.lessThan=function lessThan(E){return this.comp(E)<0};je.lt=je.lessThan;je.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};je.lte=je.lessThanOrEqual;je.le=je.lessThanOrEqual;je.greaterThan=function greaterThan(E){return this.comp(E)>0};je.gt=je.greaterThan;je.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};je.gte=je.greaterThanOrEqual;je.ge=je.greaterThanOrEqual;je.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var R=this.isNegative(),N=E.isNegative();if(R&&!N)return-1;if(!R&&N)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};je.comp=je.compare;je.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Ie)};je.neg=je.negate;je.add=function add(E){if(!isLong(E))E=fromValue(E);var R=this.high>>>16;var N=this.high&65535;var $=this.low>>>16;var j=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var le=0,_e=0,Ee=0,we=0;we+=j+ae;Ee+=we>>>16;we&=65535;Ee+=$+ie;_e+=Ee>>>16;Ee&=65535;_e+=N+G;le+=_e>>>16;_e&=65535;le+=R+q;le&=65535;return fromBits(Ee<<16|we,le<<16|_e,this.unsigned)};je.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};je.sub=je.subtract;je.multiply=function multiply(E){if(this.isZero())return Ee;if(!isLong(E))E=fromValue(E);if(R){var N=R["mul"](this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(E.isZero())return Ee;if(this.eq(Le))return E.isOdd()?Le:Ee;if(E.eq(Le))return this.isOdd()?Le:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(_e)&&E.lt(_e))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var $=this.high>>>16;var j=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var le=E.low>>>16;var we=E.low&65535;var Ie=0,Me=0,Te=0,Ne=0;Ne+=G*we;Te+=Ne>>>16;Ne&=65535;Te+=q*we;Me+=Te>>>16;Te&=65535;Te+=G*le;Me+=Te>>>16;Te&=65535;Me+=j*we;Ie+=Me>>>16;Me&=65535;Me+=q*le;Ie+=Me>>>16;Me&=65535;Me+=G*ae;Ie+=Me>>>16;Me&=65535;Ie+=$*we+j*le+q*ae+G*ie;Ie&=65535;return fromBits(Te<<16|Ne,Ie<<16|Me,this.unsigned)};je.mul=je.multiply;je.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(R){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var N=(this.unsigned?R["div_u"]:R["div_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?we:Ee;var $,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Ie)||E.eq(Te))return Le;else if(E.eq(Le))return Ie;else{var ie=this.shr(1);$=ie.div(E).shl(1);if($.eq(Ee)){return E.isNegative()?Ie:Te}else{q=this.sub(E.mul($));G=$.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?we:Ee;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=Ee}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return we;if(E.gt(this.shru(1)))return Me;G=we}q=this;while(q.gte(E)){$=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log($)/Math.LN2),le=ae<=48?1:j(2,ae-48),_e=fromNumber($),Ne=_e.mul(E);while(Ne.isNegative()||Ne.gt(q)){$-=le;_e=fromNumber($,this.unsigned);Ne=_e.mul(E)}if(_e.isZero())_e=Ie;G=G.add(_e);q=q.sub(Ne)}return G};je.div=je.divide;je.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(R){var N=(this.unsigned?R["rem_u"]:R["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(N,R["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};je.mod=je.modulo;je.rem=je.modulo;je.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};je.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};je.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};je.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};je.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};je.shr=je.shiftRight;je.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};je.shru=je.shiftRightUnsigned;je.shr_u=je.shiftRightUnsigned;je.rotateLeft=function rotateLeft(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.low<>>R,this.high<>>R,this.unsigned)}E-=32;R=32-E;return fromBits(this.high<>>R,this.low<>>R,this.unsigned)};je.rotl=je.rotateLeft;je.rotateRight=function rotateRight(E){var R;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){R=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;R=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};je.rotr=je.rotateRight;je.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};je.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};je.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};je.toBytesLE=function toBytesLE(){var E=this.high,R=this.low;return[R&255,R>>>8&255,R>>>16&255,R>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};je.toBytesBE=function toBytesBE(){var E=this.high,R=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,R>>>24,R>>>16&255,R>>>8&255,R&255]};Long.fromBytes=function fromBytes(E,R,N){return N?Long.fromBytesLE(E,R):Long.fromBytesBE(E,R)};Long.fromBytesLE=function fromBytesLE(E,R){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,R)};Long.fromBytesBE=function fromBytesBE(E,R){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],R)}},20976:function(E,R){(function(E,N){true?N(R):0})(this,(function(E){"use strict";var R={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var N="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var $={5:N,"5module":N+" export import",6:N+" const class extends export import super"};var j=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var le=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var _e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,R){var N=65536;for(var $=0;$E){return false}N+=R[$+1];if(N>=E){return true}}}function isIdentifierStart(E,R){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)}function isIdentifierChar(E,R){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)||isInAstralSet(E,_e)}var Ee=function TokenType(E,R){if(R===void 0)R={};this.label=E;this.keyword=R.keyword;this.beforeExpr=!!R.beforeExpr;this.startsExpr=!!R.startsExpr;this.isLoop=!!R.isLoop;this.isAssign=!!R.isAssign;this.prefix=!!R.prefix;this.postfix=!!R.postfix;this.binop=R.binop||null;this.updateContext=null};function binop(E,R){return new Ee(E,{beforeExpr:true,binop:R})}var we={beforeExpr:true},Ie={startsExpr:true};var Me={};function kw(E,R){if(R===void 0)R={};R.keyword=E;return Me[E]=new Ee(E,R)}var Te={num:new Ee("num",Ie),regexp:new Ee("regexp",Ie),string:new Ee("string",Ie),name:new Ee("name",Ie),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:true,startsExpr:true}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:true,startsExpr:true}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:true,startsExpr:true}),parenR:new Ee(")"),comma:new Ee(",",we),semi:new Ee(";",we),colon:new Ee(":",we),dot:new Ee("."),question:new Ee("?",we),questionDot:new Ee("?."),arrow:new Ee("=>",we),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",we),backQuote:new Ee("`",Ie),dollarBraceL:new Ee("${",{beforeExpr:true,startsExpr:true}),eq:new Ee("=",{beforeExpr:true,isAssign:true}),assign:new Ee("_=",{beforeExpr:true,isAssign:true}),incDec:new Ee("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new Ee("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Ee("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",we),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",we),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",we),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ie),_if:kw("if"),_return:kw("return",we),_switch:kw("switch"),_throw:kw("throw",we),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ie),_super:kw("super",Ie),_class:kw("class",Ie),_extends:kw("extends",we),_export:kw("export"),_import:kw("import",Ie),_null:kw("null",Ie),_true:kw("true",Ie),_false:kw("false",Ie),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Be=new RegExp(Ne.source,"g");function isNewLine(E,R){return E===10||E===13||!R&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var ze=Object.prototype;var Ue=ze.hasOwnProperty;var qe=ze.toString;function has(E,R){return Ue.call(E,R)}var Ge=Array.isArray||function(E){return qe.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var He=function Position(E,R){this.line=E;this.column=R};He.prototype.offset=function offset(E){return new He(this.line,this.column+E)};var We=function SourceLocation(E,R,N){this.start=R;this.end=N;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,R){for(var N=1,$=0;;){Be.lastIndex=$;var j=Be.exec(E);if(j&&j.index=2015){R.ecmaVersion-=2009}if(R.allowReserved==null){R.allowReserved=R.ecmaVersion<5}if(Ge(R.onToken)){var $=R.onToken;R.onToken=function(E){return $.push(E)}}if(Ge(R.onComment)){R.onComment=pushComment(R,R.onComment)}return R}function pushComment(E,R){return function(N,$,j,q,G,ie){var ae={type:N?"Block":"Line",value:$,start:j,end:q};if(E.locations){ae.loc=new We(this,G,ie)}if(E.ranges){ae.range=[j,q]}R.push(ae)}}var Ke=1,Qe=2,Je=Ke|Qe,Xe=4,Ye=8,Ze=16,et=32,tt=64,nt=128;function functionFlags(E,R){return Qe|(E?Xe:0)|(R?Ye:0)}var rt=0,st=1,it=2,ot=3,lt=4,ct=5;var ut=function Parser(E,N,j){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp($[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){for(var G=E.ecmaVersion;;G--){if(q=R[G]){break}}if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var ie=(q?q+" ":"")+R.strict;this.reservedWordsStrict=wordsRegexp(ie);this.reservedWordsStrictBind=wordsRegexp(ie+" "+R.strictBind);this.input=String(N);this.containsEsc=false;if(j){this.pos=j;this.lineStart=this.input.lastIndexOf("\n",j-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Te.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ke);this.regexpState=null};var pt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};ut.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Qe)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0};pt.inAsync.get=function(){return(this.currentVarScope().flags&Xe)>0};pt.allowSuper.get=function(){return(this.currentThisScope().flags&tt)>0};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&nt)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ut.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Qe)>0};ut.extend=function extend(){var E=[],R=arguments.length;while(R--)E[R]=arguments[R];var N=this;for(var $=0;$=,?^&]/.test(j)||j==="!"&&this.input.charAt($+1)==="=")}E+=R[0].length;je.lastIndex=E;E+=je.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};dt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};dt.isContextual=function(E){return this.type===Te.name&&this.value===E&&!this.containsEsc};dt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};dt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};dt.canInsertSemicolon=function(){return this.type===Te.eof||this.type===Te.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};dt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};dt.semicolon=function(){if(!this.eat(Te.semi)&&!this.insertSemicolon()){this.unexpected()}};dt.afterTrailingComma=function(E,R){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!R){this.next()}return true}};dt.expect=function(E){this.eat(E)||this.unexpected()};dt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}dt.checkPatternErrors=function(E,R){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var N=R?E.parenthesizedAssign:E.parenthesizedBind;if(N>-1){this.raiseRecoverable(N,"Parenthesized pattern")}};dt.checkExpressionErrors=function(E,R){if(!E){return false}var N=E.shorthandAssign;var $=E.doubleProto;if(!R){return N>=0||$>=0}if(N>=0){this.raise(N,"Shorthand property assignments are valid only in destructuring patterns")}if($>=0){this.raiseRecoverable($,"Redefinition of __proto__ property")}};dt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement(j,false,!E);case Te._class:if(E){this.unexpected()}return this.parseClass(j,true);case Te._if:return this.parseIfStatement(j);case Te._return:return this.parseReturnStatement(j);case Te._switch:return this.parseSwitchStatement(j);case Te._throw:return this.parseThrowStatement(j);case Te._try:return this.parseTryStatement(j);case Te._const:case Te._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement(j,q);case Te._while:return this.parseWhileStatement(j);case Te._with:return this.parseWithStatement(j);case Te.braceL:return this.parseBlock(true,j);case Te.semi:return this.parseEmptyStatement(j);case Te._export:case Te._import:if(this.options.ecmaVersion>10&&$===Te._import){je.lastIndex=this.pos;var G=je.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement(j,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!R){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return $===Te._import?this.parseImport(j):this.parseExport(j,N);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(j,true,!E)}var le=this.value,_e=this.parseExpression();if($===Te.name&&_e.type==="Identifier"&&this.eat(Te.colon)){return this.parseLabeledStatement(j,le,_e,E)}else{return this.parseExpressionStatement(j,_e)}}};ht.parseBreakContinueStatement=function(E,R){var N=R==="break";this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Te.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var $=0;for(;$=6){this.eat(Te.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ht.parseForStatement=function(E){this.next();var R=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(mt);this.enterScope(0);this.expect(Te.parenL);if(this.type===Te.semi){if(R>-1){this.unexpected(R)}return this.parseFor(E,null)}var N=this.isLet();if(this.type===Te._var||this.type===Te._const||N){var $=this.startNode(),j=N?"let":this.value;this.next();this.parseVar($,true,j);this.finishNode($,"VariableDeclaration");if((this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&$.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}return this.parseForIn(E,$)}if(R>-1){this.unexpected(R)}return this.parseFor(E,$)}var q=new DestructuringErrors;var G=this.parseExpression(true,q);if(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}this.toAssignable(G,false,q);this.checkLVal(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(R>-1){this.unexpected(R)}return this.parseFor(E,G)};ht.parseFunctionStatement=function(E,R,N){this.next();return this.parseFunction(E,vt|(N?0:bt),false,R)};ht.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Te._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ht.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ht.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Te.braceL);this.labels.push(gt);this.enterScope(0);var R;for(var N=false;this.type!==Te.braceR;){if(this.type===Te._case||this.type===Te._default){var $=this.type===Te._case;if(R){this.finishNode(R,"SwitchCase")}E.cases.push(R=this.startNode());R.consequent=[];this.next();if($){R.test=this.parseExpression()}else{if(N){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}N=true;R.test=null}this.expect(Te.colon)}else{if(!R){this.unexpected()}R.consequent.push(this.parseStatement(null))}}this.exitScope();if(R){this.finishNode(R,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ht.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var yt=[];ht.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Te._catch){var R=this.startNode();this.next();if(this.eat(Te.parenL)){R.param=this.parseBindingAtom();var N=R.param.type==="Identifier";this.enterScope(N?et:0);this.checkLVal(R.param,N?lt:it);this.expect(Te.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}R.param=null;this.enterScope(0)}R.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(R,"CatchClause")}E.finalizer=this.eat(Te._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ht.parseVarStatement=function(E,R){this.next();this.parseVar(E,false,R);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ht.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(mt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ht.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ht.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ht.parseLabeledStatement=function(E,R,N,$){for(var j=0,q=this.labels;j=0;ae--){var le=this.labels[ae];if(le.statementStart===E.start){le.statementStart=this.start;le.kind=ie}else{break}}this.labels.push({name:R,kind:ie,statementStart:this.start});E.body=this.parseStatement($?$.indexOf("label")===-1?$+"label":$:"label");this.labels.pop();E.label=N;return this.finishNode(E,"LabeledStatement")};ht.parseExpressionStatement=function(E,R){E.expression=R;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ht.parseBlock=function(E,R,N){if(E===void 0)E=true;if(R===void 0)R=this.startNode();R.body=[];this.expect(Te.braceL);if(E){this.enterScope(0)}while(this.type!==Te.braceR){var $=this.parseStatement(null);R.body.push($)}if(N){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(R,"BlockStatement")};ht.parseFor=function(E,R){E.init=R;this.expect(Te.semi);E.test=this.type===Te.semi?null:this.parseExpression();this.expect(Te.semi);E.update=this.type===Te.parenR?null:this.parseExpression();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ht.parseForIn=function(E,R){var N=this.type===Te._in;this.next();if(R.type==="VariableDeclaration"&&R.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||R.kind!=="var"||R.declarations[0].id.type!=="Identifier")){this.raise(R.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(R.type==="AssignmentPattern"){this.raise(R.start,"Invalid left-hand side in for-loop")}E.left=R;E.right=N?this.parseExpression():this.parseMaybeAssign();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,N?"ForInStatement":"ForOfStatement")};ht.parseVar=function(E,R,N){E.declarations=[];E.kind=N;for(;;){var $=this.startNode();this.parseVarId($,N);if(this.eat(Te.eq)){$.init=this.parseMaybeAssign(R)}else if(N==="const"&&!(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if($.id.type!=="Identifier"&&!(R&&(this.type===Te._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{$.init=null}E.declarations.push(this.finishNode($,"VariableDeclarator"));if(!this.eat(Te.comma)){break}}return E};ht.parseVarId=function(E,R){E.id=this.parseBindingAtom();this.checkLVal(E.id,R==="var"?st:it,false)};var vt=1,bt=2,_t=4;ht.parseFunction=function(E,R,N,$){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!$){if(this.type===Te.star&&R&bt){this.unexpected()}E.generator=this.eat(Te.star)}if(this.options.ecmaVersion>=8){E.async=!!$}if(R&vt){E.id=R&_t&&this.type!==Te.name?null:this.parseIdent();if(E.id&&!(R&bt)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?st:it:ot)}}var j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(R&vt)){E.id=this.type===Te.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,N,false);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,R&vt?"FunctionDeclaration":"FunctionExpression")};ht.parseFunctionParams=function(E){this.expect(Te.parenL);E.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ht.parseClass=function(E,R){this.next();var N=this.strict;this.strict=true;this.parseClassId(E,R);this.parseClassSuper(E);var $=this.startNode();var j=false;$.body=[];this.expect(Te.braceL);while(this.type!==Te.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){$.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if(j){this.raise(q.start,"Duplicate constructor in the same class")}j=true}}}this.strict=N;this.next();E.body=this.finishNode($,"ClassBody");return this.finishNode(E,R?"ClassDeclaration":"ClassExpression")};ht.parseClassElement=function(E){var R=this;if(this.eat(Te.semi)){return null}var N=this.startNode();var tryContextual=function(E,$){if($===void 0)$=false;var j=R.start,q=R.startLoc;if(!R.eatContextual(E)){return false}if(R.type!==Te.parenL&&(!$||!R.canInsertSemicolon())){return true}if(N.key){R.unexpected()}N.computed=false;N.key=R.startNodeAt(j,q);N.key.name=E;R.finishNode(N.key,"Identifier");return false};N.kind="method";N.static=tryContextual("static");var $=this.eat(Te.star);var j=false;if(!$){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star)}else if(tryContextual("get")){N.kind="get"}else if(tryContextual("set")){N.kind="set"}}if(!N.key){this.parsePropertyName(N)}var q=N.key;var G=false;if(!N.computed&&!N.static&&(q.type==="Identifier"&&q.name==="constructor"||q.type==="Literal"&&q.value==="constructor")){if(N.kind!=="method"){this.raise(q.start,"Constructor can't have get/set modifier")}if($){this.raise(q.start,"Constructor can't be a generator")}if(j){this.raise(q.start,"Constructor can't be an async method")}N.kind="constructor";G=E}else if(N.static&&q.type==="Identifier"&&q.name==="prototype"){this.raise(q.start,"Classes may not have a static property named prototype")}this.parseClassMethod(N,$,j,G);if(N.kind==="get"&&N.value.params.length!==0){this.raiseRecoverable(N.value.start,"getter should have no params")}if(N.kind==="set"&&N.value.params.length!==1){this.raiseRecoverable(N.value.start,"setter should have exactly one param")}if(N.kind==="set"&&N.value.params[0].type==="RestElement"){this.raiseRecoverable(N.value.params[0].start,"Setter cannot use rest params")}return N};ht.parseClassMethod=function(E,R,N,$){E.value=this.parseMethod(R,N,$);return this.finishNode(E,"MethodDefinition")};ht.parseClassId=function(E,R){if(this.type===Te.name){E.id=this.parseIdent();if(R){this.checkLVal(E.id,it,false)}}else{if(R===true){this.unexpected()}E.id=null}};ht.parseClassSuper=function(E){E.superClass=this.eat(Te._extends)?this.parseExprSubscripts():null};ht.parseExport=function(E,R){this.next();if(this.eat(Te.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Te._default)){this.checkExport(R,"default",this.lastTokStart);var N;if(this.type===Te._function||(N=this.isAsyncFunction())){var $=this.startNode();this.next();if(N){this.next()}E.declaration=this.parseFunction($,vt|_t,false,N)}else if(this.type===Te._class){var j=this.startNode();E.declaration=this.parseClass(j,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(N){this.checkPatternErrors(N,true)}for(var $=0,j=E.properties;$=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Te._function)){return this.parseFunction(this.startNodeAt($,j),0,false,true)}if(N&&!this.canInsertSemicolon()){if(this.eat(Te.arrow)){return this.parseArrowExpression(this.startNodeAt($,j),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Te.name&&!q){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Te.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt($,j),[G],true)}}return G;case Te.regexp:var ie=this.value;R=this.parseLiteral(ie.value);R.regex={pattern:ie.pattern,flags:ie.flags};return R;case Te.num:case Te.string:return this.parseLiteral(this.value);case Te._null:case Te._true:case Te._false:R=this.startNode();R.value=this.type===Te._null?null:this.type===Te._true;R.raw=this.type.keyword;this.next();return this.finishNode(R,"Literal");case Te.parenL:var ae=this.start,le=this.parseParenAndDistinguishExpression(N);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(le)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return le;case Te.bracketL:R=this.startNode();this.next();R.elements=this.parseExprList(Te.bracketR,true,true,E);return this.finishNode(R,"ArrayExpression");case Te.braceL:return this.parseObj(false,E);case Te._function:R=this.startNode();this.next();return this.parseFunction(R,0);case Te._class:return this.parseClass(this.startNode(),false);case Te._new:return this.parseNew();case Te.backQuote:return this.parseTemplate();case Te._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};kt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var R=this.parseIdent(true);switch(this.type){case Te.parenL:return this.parseDynamicImport(E);case Te.dot:E.meta=R;return this.parseImportMeta(E);default:this.unexpected()}};kt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Te.parenR)){var R=this.start;if(this.eat(Te.comma)&&this.eat(Te.parenR)){this.raiseRecoverable(R,"Trailing comma is not allowed in import()")}else{this.unexpected(R)}}return this.finishNode(E,"ImportExpression")};kt.parseImportMeta=function(E){this.next();var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(R){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};kt.parseLiteral=function(E){var R=this.startNode();R.value=E;R.raw=this.input.slice(this.start,this.end);if(R.raw.charCodeAt(R.raw.length-1)===110){R.bigint=R.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(R,"Literal")};kt.parseParenExpression=function(){this.expect(Te.parenL);var E=this.parseExpression();this.expect(Te.parenR);return E};kt.parseParenAndDistinguishExpression=function(E){var R=this.start,N=this.startLoc,$,j=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,le=false;var _e=new DestructuringErrors,Ee=this.yieldPos,we=this.awaitPos,Ie;this.yieldPos=0;this.awaitPos=0;while(this.type!==Te.parenR){ae?ae=false:this.expect(Te.comma);if(j&&this.afterTrailingComma(Te.parenR,true)){le=true;break}else if(this.type===Te.ellipsis){Ie=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,_e,this.parseParenItem))}}var Me=this.start,Ne=this.startLoc;this.expect(Te.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Te.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=Ee;this.awaitPos=we;return this.parseParenArrowList(R,N,ie)}if(!ie.length||le){this.unexpected(this.lastTokStart)}if(Ie){this.unexpected(Ie)}this.checkExpressionErrors(_e,true);this.yieldPos=Ee||this.yieldPos;this.awaitPos=we||this.awaitPos;if(ie.length>1){$=this.startNodeAt(q,G);$.expressions=ie;this.finishNodeAt($,"SequenceExpression",Me,Ne)}else{$=ie[0]}}else{$=this.parseParenExpression()}if(this.options.preserveParens){var Be=this.startNodeAt(R,N);Be.expression=$;return this.finishNode(Be,"ParenthesizedExpression")}else{return $}};kt.parseParenItem=function(E){return E};kt.parseParenArrowList=function(E,R,N){return this.parseArrowExpression(this.startNodeAt(E,R),N)};var Et=[];kt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var R=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Te.dot)){E.meta=R;var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(N){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var $=this.start,j=this.startLoc,q=this.type===Te._import;E.callee=this.parseSubscripts(this.parseExprAtom(),$,j,true);if(q&&E.callee.type==="ImportExpression"){this.raise($,"Cannot use new with import()")}if(this.eat(Te.parenL)){E.arguments=this.parseExprList(Te.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=Et}return this.finishNode(E,"NewExpression")};kt.parseTemplateElement=function(E){var R=E.isTagged;var N=this.startNode();if(this.type===Te.invalidTemplate){if(!R){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}N.value={raw:this.value,cooked:null}}else{N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();N.tail=this.type===Te.backQuote;return this.finishNode(N,"TemplateElement")};kt.parseTemplate=function(E){if(E===void 0)E={};var R=E.isTagged;if(R===void 0)R=false;var N=this.startNode();this.next();N.expressions=[];var $=this.parseTemplateElement({isTagged:R});N.quasis=[$];while(!$.tail){if(this.type===Te.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Te.dollarBraceL);N.expressions.push(this.parseExpression());this.expect(Te.braceR);N.quasis.push($=this.parseTemplateElement({isTagged:R}))}this.next();return this.finishNode(N,"TemplateLiteral")};kt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Te.name||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Te.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};kt.parseObj=function(E,R){var N=this.startNode(),$=true,j={};N.properties=[];this.next();while(!this.eat(Te.braceR)){if(!$){this.expect(Te.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Te.braceR)){break}}else{$=false}var q=this.parseProperty(E,R);if(!E){this.checkPropClash(q,j,R)}N.properties.push(q)}return this.finishNode(N,E?"ObjectPattern":"ObjectExpression")};kt.parseProperty=function(E,R){var N=this.startNode(),$,j,q,G;if(this.options.ecmaVersion>=9&&this.eat(Te.ellipsis)){if(E){N.argument=this.parseIdent(false);if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(N,"RestElement")}if(this.type===Te.parenL&&R){if(R.parenthesizedAssign<0){R.parenthesizedAssign=this.start}if(R.parenthesizedBind<0){R.parenthesizedBind=this.start}}N.argument=this.parseMaybeAssign(false,R);if(this.type===Te.comma&&R&&R.trailingComma<0){R.trailingComma=this.start}return this.finishNode(N,"SpreadElement")}if(this.options.ecmaVersion>=6){N.method=false;N.shorthand=false;if(E||R){q=this.start;G=this.startLoc}if(!E){$=this.eat(Te.star)}}var ie=this.containsEsc;this.parsePropertyName(N);if(!E&&!ie&&this.options.ecmaVersion>=8&&!$&&this.isAsyncProp(N)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star);this.parsePropertyName(N,R)}else{j=false}this.parsePropertyValue(N,E,$,j,q,G,R,ie);return this.finishNode(N,"Property")};kt.parsePropertyValue=function(E,R,N,$,j,q,G,ie){if((N||$)&&this.type===Te.colon){this.unexpected()}if(this.eat(Te.colon)){E.value=R?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Te.parenL){if(R){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(N,$)}else if(!R&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Te.comma&&this.type!==Te.braceR&&this.type!==Te.eq)){if(N||$){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var le=E.value.start;if(E.kind==="get"){this.raiseRecoverable(le,"getter should have no params")}else{this.raiseRecoverable(le,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(N||$){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=j}E.kind="init";if(R){E.value=this.parseMaybeDefault(j,q,E.key)}else if(this.type===Te.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault(j,q,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};kt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Te.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Te.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Te.num||this.type===Te.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};kt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};kt.parseMethod=function(E,R,N){var $=this.startNode(),j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction($);if(this.options.ecmaVersion>=6){$.generator=E}if(this.options.ecmaVersion>=8){$.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(R,$.generator)|tt|(N?nt:0));this.expect(Te.parenL);$.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody($,false,true);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode($,"FunctionExpression")};kt.parseArrowExpression=function(E,R,N){var $=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(N,false)|Ze);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(R,true);this.parseFunctionBody(E,true,false);this.yieldPos=$;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};kt.parseFunctionBody=function(E,R,N){var $=R&&this.type!==Te.braceL;var j=this.strict,q=false;if($){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!j||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!j&&!q&&!R&&!N&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,ct)}E.body=this.parseBlock(false,undefined,q&&!j);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};kt.isSimpleParamList=function(E){for(var R=0,N=E;R-1||j.functions.indexOf(E)>-1||j.var.indexOf(E)>-1;j.lexical.push(E);if(this.inModule&&j.flags&Ke){delete this.undefinedExports[E]}}else if(R===lt){var q=this.currentScope();q.lexical.push(E)}else if(R===ot){var G=this.currentScope();if(this.treatFunctionsAsVar){$=G.lexical.indexOf(E)>-1}else{$=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&et&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){$=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Ke){delete this.undefinedExports[E]}if(ae.flags&Je){break}}}if($){this.raiseRecoverable(N,"Identifier '"+E+"' has already been declared")}};St.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};St.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};St.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Je){return R}}};St.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Je&&!(R.flags&Ze)){return R}}};var Ct=function Node(E,R,N){this.type="";this.start=R;this.end=0;if(E.options.locations){this.loc=new We(E,N)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[R,0]}};var Dt=ut.prototype;Dt.startNode=function(){return new Ct(this,this.start,this.startLoc)};Dt.startNodeAt=function(E,R){return new Ct(this,E,R)};function finishNodeAt(E,R,N,$){E.type=R;E.end=N;if(this.options.locations){E.loc.end=$}if(this.options.ranges){E.range[1]=N}return E}Dt.finishNode=function(E,R){return finishNodeAt.call(this,E,R,this.lastTokEnd,this.lastTokEndLoc)};Dt.finishNodeAt=function(E,R,N,$){return finishNodeAt.call(this,E,R,N,$)};var It=function TokContext(E,R,N,$,j){this.token=E;this.isExpr=!!R;this.preserveSpace=!!N;this.override=$;this.generator=!!j};var Mt={b_stat:new It("{",false),b_expr:new It("{",true),b_tmpl:new It("${",false),p_stat:new It("(",false),p_expr:new It("(",true),q_tmpl:new It("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new It("function",false),f_expr:new It("function",true),f_expr_gen:new It("function",true,false,null,true),f_gen:new It("function",false,false,null,true)};var Pt=ut.prototype;Pt.initialContext=function(){return[Mt.b_stat]};Pt.braceIsBlock=function(E){var R=this.curContext();if(R===Mt.f_expr||R===Mt.f_stat){return true}if(E===Te.colon&&(R===Mt.b_stat||R===Mt.b_expr)){return!R.isExpr}if(E===Te._return||E===Te.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Te._else||E===Te.semi||E===Te.eof||E===Te.parenR||E===Te.arrow){return true}if(E===Te.braceL){return R===Mt.b_stat}if(E===Te._var||E===Te._const||E===Te.name){return false}return!this.exprAllowed};Pt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var R=this.context[E];if(R.token==="function"){return R.generator}}return false};Pt.updateContext=function(E){var R,N=this.type;if(N.keyword&&E===Te.dot){this.exprAllowed=false}else if(R=N.updateContext){R.call(this,E)}else{this.exprAllowed=N.beforeExpr}};Te.parenR.updateContext=Te.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Mt.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Te.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Mt.b_stat:Mt.b_expr);this.exprAllowed=true};Te.dollarBraceL.updateContext=function(){this.context.push(Mt.b_tmpl);this.exprAllowed=true};Te.parenL.updateContext=function(E){var R=E===Te._if||E===Te._for||E===Te._with||E===Te._while;this.context.push(R?Mt.p_stat:Mt.p_expr);this.exprAllowed=true};Te.incDec.updateContext=function(){};Te._function.updateContext=Te._class.updateContext=function(E){if(E.beforeExpr&&E!==Te.semi&&E!==Te._else&&!(E===Te._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Te.colon||E===Te.braceL)&&this.curContext()===Mt.b_stat)){this.context.push(Mt.f_expr)}else{this.context.push(Mt.f_stat)}this.exprAllowed=false};Te.backQuote.updateContext=function(){if(this.curContext()===Mt.q_tmpl){this.context.pop()}else{this.context.push(Mt.q_tmpl)}this.exprAllowed=false};Te.star.updateContext=function(E){if(E===Te._function){var R=this.context.length-1;if(this.context[R]===Mt.f_expr){this.context[R]=Mt.f_expr_gen}else{this.context[R]=Mt.f_gen}}this.exprAllowed=true};Te.name.updateContext=function(E){var R=false;if(this.options.ecmaVersion>=6&&E!==Te.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){R=true}}this.exprAllowed=R};var Tt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ot=Tt+" Extended_Pictographic";var Rt=Ot;var Ft={9:Tt,10:Ot,11:Rt};var Nt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Bt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var Lt=Bt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var $t=Lt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var jt={9:Bt,10:Lt,11:$t};var zt={};function buildUnicodeData(E){var R=zt[E]={binary:wordsRegexp(Ft[E]+" "+Nt),nonBinary:{General_Category:wordsRegexp(Nt),Script:wordsRegexp(jt[E])}};R.nonBinary.Script_Extensions=R.nonBinary.Script;R.nonBinary.gc=R.nonBinary.General_Category;R.nonBinary.sc=R.nonBinary.Script;R.nonBinary.scx=R.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var Ut=ut.prototype;var qt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=zt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};qt.prototype.reset=function reset(E,R,N){var $=N.indexOf("u")!==-1;this.start=E|0;this.source=R+"";this.flags=N;this.switchU=$&&this.parser.options.ecmaVersion>=6;this.switchN=$&&this.parser.options.ecmaVersion>=9};qt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};qt.prototype.at=function at(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return-1}var j=N.charCodeAt(E);if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$){return j}var q=N.charCodeAt(E+1);return q>=56320&&q<=57343?(j<<10)+q-56613888:j};qt.prototype.nextIndex=function nextIndex(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return $}var j=N.charCodeAt(E),q;if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$||(q=N.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};qt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};qt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};qt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};qt.prototype.eat=function eat(E,R){if(R===void 0)R=false;if(this.current(R)===E){this.advance(R);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ut.validateRegExpFlags=function(E){var R=E.validFlags;var N=E.flags;for(var $=0;$-1){this.raise(E.start,"Duplicate regular expression flag")}}};Ut.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Ut.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var R=0,N=E.backReferenceNames;R=9){N=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!N;return true}}E.pos=R;return false};Ut.regexp_eatQuantifier=function(E,R){if(R===void 0)R=false;if(this.regexp_eatQuantifierPrefix(E,R)){E.eat(63);return true}return false};Ut.regexp_eatQuantifierPrefix=function(E,R){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,R)};Ut.regexp_eatBracedQuantifier=function(E,R){var N=E.pos;if(E.eat(123)){var $=0,j=-1;if(this.regexp_eatDecimalDigits(E)){$=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){j=E.lastIntValue}if(E.eat(125)){if(j!==-1&&j<$&&!R){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!R){E.raise("Incomplete quantifier")}E.pos=N}return false};Ut.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};Ut.regexp_eatReverseSolidusAtomEscape=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=R}return false};Ut.regexp_eatUncapturingGroup=function(E){var R=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=R}return false};Ut.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Ut.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};Ut.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Ut.regexp_eatSyntaxCharacter=function(E){var R=E.current();if(isSyntaxCharacter(R)){E.lastIntValue=R;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Ut.regexp_eatPatternCharacters=function(E){var R=E.pos;var N=0;while((N=E.current())!==-1&&!isSyntaxCharacter(N)){E.advance()}return E.pos!==R};Ut.regexp_eatExtendedPatternCharacter=function(E){var R=E.current();if(R!==-1&&R!==36&&!(R>=40&&R<=43)&&R!==46&&R!==63&&R!==91&&R!==94&&R!==124){E.advance();return true}return false};Ut.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Ut.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Ut.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Ut.regexp_eatRegExpIdentifierStart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierStart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Ut.regexp_eatRegExpIdentifierPart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierPart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Ut.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Ut.regexp_eatBackReference=function(E){var R=E.pos;if(this.regexp_eatDecimalEscape(E)){var N=E.lastIntValue;if(E.switchU){if(N>E.maxBackReference){E.maxBackReference=N}return true}if(N<=E.numCapturingParens){return true}E.pos=R}return false};Ut.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Ut.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Ut.regexp_eatCControlLetter=function(E){var R=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=R}return false};Ut.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Ut.regexp_eatControlEscape=function(E){var R=E.current();if(R===116){E.lastIntValue=9;E.advance();return true}if(R===110){E.lastIntValue=10;E.advance();return true}if(R===118){E.lastIntValue=11;E.advance();return true}if(R===102){E.lastIntValue=12;E.advance();return true}if(R===114){E.lastIntValue=13;E.advance();return true}return false};Ut.regexp_eatControlLetter=function(E){var R=E.current();if(isControlLetter(R)){E.lastIntValue=R%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Ut.regexp_eatRegExpUnicodeEscapeSequence=function(E,R){if(R===void 0)R=false;var N=E.pos;var $=R||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var j=E.lastIntValue;if($&&j>=55296&&j<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=(j-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=j}return true}if($&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if($){E.raise("Invalid unicode escape")}E.pos=N}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Ut.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var R=E.current();if(R!==99&&(!E.switchN||R!==107)){E.lastIntValue=R;E.advance();return true}return false};Ut.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var R=E.current();if(R>=49&&R<=57){do{E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}while((R=E.current())>=48&&R<=57);return true}return false};Ut.regexp_eatCharacterClassEscape=function(E){var R=E.current();if(isCharacterClassEscape(R)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(R===80||R===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Ut.regexp_eatUnicodePropertyValueExpression=function(E){var R=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var N=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,N,$);return true}}E.pos=R;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,j);return true}return false};Ut.regexp_validateUnicodePropertyNameAndValue=function(E,R,N){if(!has(E.unicodeProperties.nonBinary,R)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[R].test(N)){E.raise("Invalid property value")}};Ut.regexp_validateUnicodePropertyNameOrValue=function(E,R){if(!E.unicodeProperties.binary.test(R)){E.raise("Invalid property name")}};Ut.regexp_eatUnicodePropertyName=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Ut.regexp_eatUnicodePropertyValue=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Ut.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Ut.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Ut.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.switchU&&(R===-1||N===-1)){E.raise("Invalid character class")}if(R!==-1&&N!==-1&&R>N){E.raise("Range out of order in character class")}}}};Ut.regexp_eatClassAtom=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var N=E.current();if(N===99||isOctalDigit(N)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=R}var $=E.current();if($!==93){E.lastIntValue=$;E.advance();return true}return false};Ut.regexp_eatClassEscape=function(E){var R=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=R}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Ut.regexp_eatClassControlLetter=function(E){var R=E.current();if(isDecimalDigit(R)||R===95){E.lastIntValue=R%32;E.advance();return true}return false};Ut.regexp_eatHexEscapeSequence=function(E){var R=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=R}return false};Ut.regexp_eatDecimalDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isDecimalDigit(N=E.current())){E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}return E.pos!==R};function isDecimalDigit(E){return E>=48&&E<=57}Ut.regexp_eatHexDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isHexDigit(N=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(N);E.advance()}return E.pos!==R};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Ut.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(R<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=R*64+N*8+E.lastIntValue}else{E.lastIntValue=R*8+N}}else{E.lastIntValue=R}return true}return false};Ut.regexp_eatOctalDigit=function(E){var R=E.current();if(isOctalDigit(R)){E.lastIntValue=R-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Ut.regexp_eatFixedHexDigits=function(E,R){var N=E.pos;E.lastIntValue=0;for(var $=0;$=this.input.length){return this.finishToken(Te.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Ht.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Ht.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var R=this.input.charCodeAt(this.pos+1);return(E<<10)+R-56613888};Ht.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var R=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=N+2;if(this.options.locations){Be.lastIndex=R;var $;while(($=Be.exec(this.input))&&$.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Ht.finishToken=function(E,R){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var N=this.type;this.type=E;this.value=R;this.updateContext(N)};Ht.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var R=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&R===46){this.pos+=3;return this.finishToken(Te.ellipsis)}else{++this.pos;return this.finishToken(Te.dot)}};Ht.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.slash,1)};Ht.readToken_mult_modulo_exp=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;var $=E===42?Te.star:Te.modulo;if(this.options.ecmaVersion>=7&&E===42&&R===42){++N;$=Te.starstar;R=this.input.charCodeAt(this.pos+2)}if(R===61){return this.finishOp(Te.assign,N+1)}return this.finishOp($,N)};Ht.readToken_pipe_amp=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61){return this.finishOp(Te.assign,3)}}return this.finishOp(E===124?Te.logicalOR:Te.logicalAND,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(E===124?Te.bitwiseOR:Te.bitwiseAND,1)};Ht.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.bitwiseXOR,1)};Ht.readToken_plus_min=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(R===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Te.incDec,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.plusMin,1)};Ht.readToken_lt_gt=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;if(R===E){N=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+N)===61){return this.finishOp(Te.assign,N+1)}return this.finishOp(Te.bitShift,N)}if(R===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(R===61){N=2}return this.finishOp(Te.relational,N)};Ht.readToken_eq_excl=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===61){return this.finishOp(Te.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&R===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Te.arrow)}return this.finishOp(E===61?Te.eq:Te.prefix,1)};Ht.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var R=this.input.charCodeAt(this.pos+1);if(R===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57){return this.finishOp(Te.questionDot,2)}}if(R===63){if(E>=12){var $=this.input.charCodeAt(this.pos+2);if($===61){return this.finishOp(Te.assign,3)}}return this.finishOp(Te.coalesce,2)}}return this.finishOp(Te.question,1)};Ht.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Te.parenL);case 41:++this.pos;return this.finishToken(Te.parenR);case 59:++this.pos;return this.finishToken(Te.semi);case 44:++this.pos;return this.finishToken(Te.comma);case 91:++this.pos;return this.finishToken(Te.bracketL);case 93:++this.pos;return this.finishToken(Te.bracketR);case 123:++this.pos;return this.finishToken(Te.braceL);case 125:++this.pos;return this.finishToken(Te.braceR);case 58:++this.pos;return this.finishToken(Te.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Te.backQuote);case 48:var R=this.input.charCodeAt(this.pos+1);if(R===120||R===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(R===111||R===79){return this.readRadixNumber(8)}if(R===98||R===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Te.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Ht.finishOp=function(E,R){var N=this.input.slice(this.pos,this.pos+R);this.pos+=R;return this.finishToken(E,N)};Ht.readRegexp=function(){var E,R,N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(N,"Unterminated regular expression")}var $=this.input.charAt(this.pos);if(Ne.test($)){this.raise(N,"Unterminated regular expression")}if(!E){if($==="["){R=true}else if($==="]"&&R){R=false}else if($==="/"&&!R){break}E=$==="\\"}else{E=false}++this.pos}var j=this.input.slice(N,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new qt(this));ie.reset(N,j,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp(j,G)}catch(E){}return this.finishToken(Te.regexp,{pattern:j,flags:G,value:ae})};Ht.readInt=function(E,R,N){var $=this.options.ecmaVersion>=12&&R===undefined;var j=N&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,le=R==null?Infinity:R;ae=97){Ee=_e-97+10}else if(_e>=65){Ee=_e-65+10}else if(_e>=48&&_e<=57){Ee=_e-48}else{Ee=Infinity}if(Ee>=E){break}ie=_e;G=G*E+Ee}if($&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||R!=null&&this.pos-q!==R){return null}return G};function stringToNumber(E,R){if(R){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Ht.readRadixNumber=function(E){var R=this.pos;this.pos+=2;var N=this.readInt(E);if(N==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){N=stringToBigInt(this.input.slice(R,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,N)};Ht.readNumber=function(E){var R=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(R,"Invalid number")}var N=this.pos-R>=2&&this.input.charCodeAt(R)===48;if(N&&this.strict){this.raise(R,"Invalid number")}var $=this.input.charCodeAt(this.pos);if(!N&&!E&&this.options.ecmaVersion>=11&&$===110){var j=stringToBigInt(this.input.slice(R,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,j)}if(N&&/[89]/.test(this.input.slice(R,this.pos))){N=false}if($===46&&!N){++this.pos;this.readInt(10);$=this.input.charCodeAt(this.pos)}if(($===69||$===101)&&!N){$=this.input.charCodeAt(++this.pos);if($===43||$===45){++this.pos}if(this.readInt(10)===null){this.raise(R,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(R,this.pos),N);return this.finishToken(Te.num,q)};Ht.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),R;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var N=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(R>1114111){this.invalidStringToken(N,"Code point out of bounds")}}else{R=this.readHexChar(4)}return R};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ht.readString=function(E){var R="",N=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var $=this.input.charCodeAt(this.pos);if($===E){break}if($===92){R+=this.input.slice(N,this.pos);R+=this.readEscapedChar(false);N=this.pos}else{if(isNewLine($,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}R+=this.input.slice(N,this.pos++);return this.finishToken(Te.string,R)};var Wt={};Ht.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Wt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Ht.invalidStringToken=function(E,R){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Wt}else{this.raise(E,R)}};Ht.readTmplToken=function(){var E="",R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Te.template||this.type===Te.invalidTemplate)){if(N===36){this.pos+=2;return this.finishToken(Te.dollarBraceL)}else{++this.pos;return this.finishToken(Te.backQuote)}}E+=this.input.slice(R,this.pos);return this.finishToken(Te.template,E)}if(N===92){E+=this.input.slice(R,this.pos);E+=this.readEscapedChar(true);R=this.pos}else if(isNewLine(N)){E+=this.input.slice(R,this.pos);++this.pos;switch(N){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(N);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}R=this.pos}else{++this.pos}}};Ht.readInvalidTemplateToken=function(){for(;this.pos=48&&R<=55){var $=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var j=parseInt($,8);if(j>255){$=$.slice(0,-1);j=parseInt($,8)}this.pos+=$.length-1;R=this.input.charCodeAt(this.pos);if(($!=="0"||R===56||R===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-$.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(j)}if(isNewLine(R)){return""}return String.fromCharCode(R)}};Ht.readHexChar=function(E){var R=this.pos;var N=this.readInt(16,E);if(N===null){this.invalidStringToken(R,"Bad character escape sequence")}return N};Ht.readWord1=function(){this.containsEsc=false;var E="",R=true,N=this.pos;var $=this.options.ecmaVersion>=6;while(this.pos{"use strict";var $=N(62310);E.exports=defineKeywords;function defineKeywords(E,R){if(Array.isArray(R)){for(var N=0;N{"use strict";var $=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var j=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var R="format"+E;return function defFunc($){defFunc.definition={type:"string",inline:N(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};$.addKeyword(R,defFunc.definition);$.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats($);return $}};function extendFormats(E){var R=E._formats;for(var N in q){var $=R[N];if(typeof $!="object"||$ instanceof RegExp||!$.validate)$=R[N]={validate:$};if(!$.compare)$.compare=q[N]}}function compareDate(E,R){if(!(E&&R))return;if(E>R)return 1;if(ER)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var R="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var N=E._opts.defaultMeta;if(typeof N=="string")return{$ref:N};if(E.getSchema(R))return{$ref:R};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,R){if(!E)return true;var N=Object.keys(R.properties);if(N.length==0)return true;return{required:N}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{anyOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var R=[];for(var N in E)R.push(getSchema(N,E[N]));return{allOf:R}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:$.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,R){var N=E.split("/");var $={};var j=$;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,R,N){var $="";for(var j=0;j{"use strict";E.exports=function generate__formatLimit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;$+="var "+we+" = undefined;";if(E.opts.format===false){$+=" "+we+" = true; ";return $}var Ie=E.schema.format,Me=E.opts.$data&&Ie.$data,Te="";if(Me){var Ne=E.util.getData(Ie.$data,q,E.dataPathArr),Be="format"+j,Le="compare"+j;$+=" var "+Be+" = formats["+Ne+"] , "+Le+" = "+Be+" && "+Be+".compare;"}else{var Be=E.formats[Ie];if(!(Be&&Be.compare)){$+=" "+we+" = true; ";return $}var Le="formats"+E.util.getProperty(Ie)+".compare"}var je=R=="formatMaximum",ze="formatExclusive"+(je?"Maximum":"Minimum"),Ue=E.schema[ze],qe=E.opts.$data&&Ue&&Ue.$data,Ge=je?"<":">",He="result"+j;var We=E.opts.$data&&G&&G.$data,Ve;if(We){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ve="schema"+j}else{Ve=G}if(qe){var Ke=E.util.getData(Ue.$data,q,E.dataPathArr),Qe="exclusive"+j,Je="op"+j,Xe="' + "+Je+" + '";$+=" var schemaExcl"+j+" = "+Ke+"; ";Ke="schemaExcl"+j;$+=" if (typeof "+Ke+" != 'boolean' && "+Ke+" !== undefined) { "+we+" = false; ";var _e=ze;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+ze+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){Te+="}";$+=" else { "}if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Me){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; var "+Qe+" = "+Ke+" === true; if ("+we+" === undefined) { "+we+" = "+Qe+" ? "+He+" "+Ge+" 0 : "+He+" "+Ge+"= 0; } if (!"+we+") var op"+j+" = "+Qe+" ? '"+Ge+"' : '"+Ge+"=';"}else{var Qe=Ue===true,Xe=Ge;if(!Qe)Xe+="=";var Je="'"+Xe+"'";if(We){$+=" if ("+Ve+" === undefined) "+we+" = true; else if (typeof "+Ve+" != 'string') "+we+" = false; else { ";Te+="}"}if(Me){$+=" if (!"+Le+") "+we+" = true; else { ";Te+="}"}$+=" var "+He+" = "+Le+"("+Ee+", ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" ); if ("+He+" === undefined) "+we+" = false; if ("+we+" === undefined) "+we+" = "+He+" "+Ge;if(!Qe){$+="="}$+=" 0;"}$+=""+Te+"if (!"+we+") { ";var _e=R;var Ye=Ye||[];Ye.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: ";if(We){$+=""+Ve}else{$+=""+E.util.toQuotedString(G)}$+=" , exclusive: "+Qe+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+Xe+' "';if(We){$+="' + "+Ve+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(We){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ze=$;$=Ye.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ze+"]); "}else{$+=" validate.errors = ["+Ze+"]; return false; "}}else{$+=" var err = "+Ze+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="}";return $}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="key"+j,Ie="idx"+j,Me="patternMatched"+j,Te="dataProperties"+j,Ne="",Be=E.opts.ownProperties;$+="var "+Ee+" = true;";if(Be){$+=" var "+Te+" = undefined;"}var Le=G;if(Le){var je,ze=-1,Ue=Le.length-1;while(ze{"use strict";E.exports=function generate_switch(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="ifPassed"+E.level,Be=Ie.baseId,Le;$+="var "+Ne+";";var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue0:E.util.schemaHasRules(ze.if,E.RULES.all))){$+=" var "+we+" = errors; ";var Ge=E.compositeRule;E.compositeRule=Ie.compositeRule=true;Ie.createErrors=false;Ie.schema=ze.if;Ie.schemaPath=ie+"["+Ue+"].if";Ie.errSchemaPath=ae+"/"+Ue+"/if";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be;Ie.createErrors=true;E.compositeRule=Ie.compositeRule=Ge;$+=" "+Ne+" = "+Te+"; if ("+Ne+") { ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Ie.schema=ze.then;Ie.schemaPath=ie+"["+Ue+"].then";Ie.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be}$+=" } else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } } "}else{$+=" "+Ne+" = true; ";if(typeof ze.then=="boolean"){if(ze.then===false){var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}$+=" var "+Te+" = "+ze.then+"; "}else{Ie.schema=ze.then;Ie.schemaPath=ie+"["+Ue+"].then";Ie.errSchemaPath=ae+"/"+Ue+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=Be}}Le=ze.continue}}$+=""+Me+"var "+Ee+" = "+Te+";";return $}},41835:E=>{"use strict";var R={};var N={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var R=E&&E.max||2;return function(){return Math.floor(Math.random()*R)}},seq:function(E){var N=E&&E.name||"";R[N]=R[N]||0;return function(){return R[N]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,R,N){var $={};for(var j in E){var q=E[j];var G=getDefault(typeof q=="string"?q:q.func);$[j]=G.length?G(q.args):G}return N.opts.useDefaults&&!N.compositeRule?assignDefaults:noop;function assignDefaults(R){for(var j in E){if(R[j]===undefined||N.opts.useDefaults=="empty"&&(R[j]===null||R[j]===""))R[j]=$[j]()}return true}function noop(){return true}},DEFAULTS:N,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var R=N[E];if(R)return R;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,R,N)=>{"use strict";E.exports=N(87113)("Maximum")},50581:(E,R,N)=>{"use strict";E.exports=N(87113)("Minimum")},62310:(E,R,N)=>{"use strict";E.exports={instanceof:N(94236),range:N(5332),regexp:N(85829),typeof:N(77189),dynamicDefaults:N(41835),allRequired:N(96216),anyRequired:N(1611),oneRequired:N(82233),prohibited:N(47431),uniqueItemProperties:N(69536),deepProperties:N(49494),deepRequired:N(23023),formatMinimum:N(50581),formatMaximum:N(69513),patternRequired:N(89042),switch:N(65305),select:N(9821),transform:N(62111)}},94236:E=>{"use strict";var R={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")R.Buffer=Buffer;if(typeof Promise!="undefined")R.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var R=getConstructor(E);return function(E){return E instanceof R}}var N=E.map(getConstructor);return function(E){for(var R=0;R{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var R=E.map((function(E){return{required:[E]}}));return{oneOf:R}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,R,N)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:N(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var R=E.map((function(E){return{required:[E]}}));return{not:{anyOf:R}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,R){var N=E[0],$=E[1],j=R.exclusiveRange;validateRangeSchema(N,$,j);return j===true?{exclusiveMinimum:N,exclusiveMaximum:$}:{minimum:N,maximum:$}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,R,N){if(N!==undefined&&typeof N!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>R||N&&E==R)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,R,N){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof N=="object")return new RegExp(N.pattern,N.flags);var E=N.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",N,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var R=$.metaSchemaRef(E);var N=[];defFunc.definition={validate:function v(E,R,N){if(N.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var $=getCompiledSchemas(N,false);var j=$.cases[E];if(j===undefined)j=$.default;if(typeof j=="boolean")return j;var q=j(R);if(!q)v.errors=j.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,R){var N=getCompiledSchemas(R);for(var $ in E)N.cases[$]=compileOrBoolean(E[$]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:R}});E.addKeyword("selectDefault",{compile:function(E,R){var N=getCompiledSchemas(R);N.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:R});return E;function getCompiledSchemas(E,R){var $;N.some((function(R){if(R.parentSchema===E){$=R;return true}}));if(!$&&R!==false){$={parentSchema:E,cases:{},default:true};N.push($)}return $}function compileOrBoolean(R){return typeof R=="boolean"?R:E.compile(R)}}},65305:(E,R,N)=>{"use strict";var $=N(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var R=$.metaSchemaRef(E);defFunc.definition={inline:N(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:R,then:{anyOf:[{type:"boolean"},R]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var R={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,R){return R.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,N){var $;if(E.indexOf("toEnumCase")!==-1){$={hash:{}};if(!N.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var j=N.enum.length;j--;j){var q=N.enum[j];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if($.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');$.hash[G]=q}}return function(N,j,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var R=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,R,N){var $="data"+(E.dataLevel||"");if(typeof N=="string")return"typeof "+$+' == "'+N+'"';N="validate.schema"+E.schemaPath+"."+R;return N+".indexOf(typeof "+$+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:R},{type:"array",items:{type:"string",enum:R}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var R=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,R,N){var $=N.util.equal;var j=getScalarKeys(E,R);return function(R){if(R.length>1){for(var N=0;N=0}))}},33866:(E,R,N)=>{"use strict";var $=N(69579),j=N(82253),q=N(32183),G=N(38868),ie=N(75986),ae=N(10698),le=N(75041),_e=N(30398),Ee=N(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=N(18840);var we=N(3811);Ajv.prototype.addKeyword=we.add;Ajv.prototype.getKeyword=we.get;Ajv.prototype.removeKeyword=we.remove;Ajv.prototype.validateKeyword=we.validate;var Ie=N(29411);Ajv.ValidationError=Ie.Validation;Ajv.MissingRefError=Ie.MissingRef;Ajv.$dataMetaSchema=_e;var Me="http://json-schema.org/draft-07/schema";var Te=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=Ee.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=le();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,R){var N;if(typeof E=="string"){N=this.getSchema(E);if(!N)throw new Error('no schema with key or ref "'+E+'"')}else{var $=this._addSchema(E);N=$.validate||this._compile($)}var j=N(R);if(N.$async!==true)this.errors=N.errors;return j}function compile(E,R){var N=this._addSchema(E,undefined,R);return N.validate||this._compile(N)}function addSchema(E,R,N,$){if(Array.isArray(E)){for(var q=0;q{"use strict";var R=E.exports=function Cache(){this._cache={}};R.prototype.put=function Cache_put(E,R){this._cache[E]=R};R.prototype.get=function Cache_get(E){return this._cache[E]};R.prototype.del=function Cache_del(E){delete this._cache[E]};R.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,R,N)=>{"use strict";var $=N(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,R,N){var j=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof R=="function"){N=R;R=undefined}var q=loadMetaSchemaOf(E).then((function(){var N=j._addSchema(E,undefined,R);return N.validate||_compileAsync(N)}));if(N){q.then((function(E){N(null,E)}),N)}return q;function loadMetaSchemaOf(E){var R=E.$schema;return R&&!j.getSchema(R)?compileAsync.call(j,{$ref:R},true):Promise.resolve()}function _compileAsync(E){try{return j._compile(E)}catch(E){if(E instanceof $)return loadMissingSchema(E);throw E}function loadMissingSchema(N){var $=N.missingSchema;if(added($))throw new Error("Schema "+$+" is loaded but "+N.missingRef+" cannot be resolved");var q=j._loadingSchemas[$];if(!q){q=j._loadingSchemas[$]=j._opts.loadSchema($);q.then(removePromise,removePromise)}return q.then((function(E){if(!added($)){return loadMetaSchemaOf(E).then((function(){if(!added($))j.addSchema(E,$,undefined,R)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete j._loadingSchemas[$]}function added(E){return j._refs[E]||j._schemas[E]}}}}},29411:(E,R,N)=>{"use strict";var $=N(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,R){return"can't resolve reference "+R+" from id "+E};function MissingRefError(E,R,N){this.message=N||MissingRefError.message(E,R);this.missingRef=$.url(E,R);this.missingSchema=$.normalizeId($.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,R,N)=>{"use strict";var $=N(778);var j=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var _e=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var Ee=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var we=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Ie=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var Me=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Te=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return $.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":_e,url:Ee,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Ie,"json-pointer-uri-fragment":Me,"relative-json-pointer":Te};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":le,"uri-template":_e,url:Ee,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:we,"json-pointer":Ie,"json-pointer-uri-fragment":Me,"relative-json-pointer":Te};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var R=E.match(j);if(!R)return false;var N=+R[1];var $=+R[2];var G=+R[3];return $>=1&&$<=12&&G>=1&&G<=($==2&&isLeapYear(N)?29:q[$])}function time(E,R){var N=E.match(G);if(!N)return false;var $=N[1];var j=N[2];var q=N[3];var ie=N[5];return($<=23&&j<=59&&q<=59||$==23&&j==59&&q==60)&&(!R||ie)}var Ne=/t|\s/i;function date_time(E){var R=E.split(Ne);return R.length==2&&date(R[0])&&time(R[1],true)}var Be=/\/|:/;function uri(E){return Be.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,R,N)=>{"use strict";var $=N(82253),j=N(778),q=N(29411),G=N(75986);var ie=N(85061);var ae=j.ucs2length;var le=N(55245);var _e=q.Validation;E.exports=compile;function compile(E,R,N,Ee){var we=this,Ie=this._opts,Me=[undefined],Te={},Ne=[],Be={},Le=[],je={},ze=[];R=R||{schema:E,refVal:Me,refs:Te};var Ue=checkCompiling.call(this,E,R,Ee);var qe=this._compilations[Ue.index];if(Ue.compiling)return qe.callValidate=callValidate;var Ge=this._formats;var He=this.RULES;try{var We=localCompile(E,R,N,Ee);qe.validate=We;var Ve=qe.callValidate;if(Ve){Ve.schema=We.schema;Ve.errors=null;Ve.refs=We.refs;Ve.refVal=We.refVal;Ve.root=We.root;Ve.$async=We.$async;if(Ie.sourceCode)Ve.source=We.source}return We}finally{endCompiling.call(this,E,R,Ee)}function callValidate(){var E=qe.validate;var R=E.apply(this,arguments);callValidate.errors=E.errors;return R}function localCompile(E,N,G,Ee){var Be=!N||N&&N.schema==E;if(N.schema!=R.schema)return compile.call(we,E,N,G,Ee);var je=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Be,baseId:Ee,root:N,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:He,validate:ie,util:j,resolve:$,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Ie,formats:Ge,logger:we.logger,self:we});Ue=vars(Me,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(ze,customRuleCode)+Ue;if(Ie.processCode)Ue=Ie.processCode(Ue,E);var qe;try{var We=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);qe=We(we,He,Ge,R,Me,Le,ze,le,ae,_e);Me[0]=qe}catch(E){we.logger.error("Error compiling schema, function code:",Ue);throw E}qe.schema=E;qe.errors=null;qe.refs=Te;qe.refVal=Me;qe.root=Be?qe:N;if(je)qe.$async=true;if(Ie.sourceCode===true){qe.source={code:Ue,patterns:Ne,defaults:Le}}return qe}function resolveRef(E,j,q){j=$.url(E,j);var G=Te[j];var ie,ae;if(G!==undefined){ie=Me[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&R.refs){var le=R.refs[j];if(le!==undefined){ie=R.refVal[le];ae=addLocalRef(j,ie);return resolvedRef(ie,ae)}}ae=addLocalRef(j);var _e=$.call(we,localCompile,R,j);if(_e===undefined){var Ee=N&&N[j];if(Ee){_e=$.inlineRef(Ee,Ie.inlineRefs)?Ee:compile.call(we,Ee,R,N,E)}}if(_e===undefined){removeLocalRef(j)}else{replaceLocalRef(j,_e);return resolvedRef(_e,ae)}}function addLocalRef(E,R){var N=Me.length;Me[N]=R;Te[E]=N;return"refVal"+N}function removeLocalRef(E){delete Te[E]}function replaceLocalRef(E,R){var N=Te[E];Me[N]=R}function resolvedRef(E,R){return typeof E=="object"||typeof E=="boolean"?{code:R,schema:E,inline:true}:{code:R,$async:E&&!!E.$async}}function usePattern(E){var R=Be[E];if(R===undefined){R=Be[E]=Ne.length;Ne[R]=E}return"pattern"+R}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return j.toQuotedString(E);case"object":if(E===null)return"null";var R=G(E);var N=je[R];if(N===undefined){N=je[R]=Le.length;Le[N]=E}return"default"+N}}function useCustomRule(E,R,N,$){if(we._opts.validateSchema!==false){var j=E.definition.dependencies;if(j&&!j.every((function(E){return Object.prototype.hasOwnProperty.call(N,E)})))throw new Error("parent schema must have all required keywords: "+j.join(","));var q=E.definition.validateSchema;if(q){var G=q(R);if(!G){var ie="keyword schema is invalid: "+we.errorsText(q.errors);if(we._opts.validateSchema=="log")we.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,le=E.definition.inline,_e=E.definition.macro;var Ee;if(ae){Ee=ae.call(we,R,N,$)}else if(_e){Ee=_e.call(we,R,N,$);if(Ie.validateSchema!==false)we.validateSchema(Ee,true)}else if(le){Ee=le.call(we,$,E.keyword,R,N)}else{Ee=E.definition.validate;if(!Ee)return}if(Ee===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var Me=ze.length;ze[Me]=Ee;return{code:"customRule"+Me,validate:Ee}}}function checkCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)return{index:$,compiling:true};$=this._compilations.length;this._compilations[$]={schema:E,root:R,baseId:N};return{index:$,compiling:false}}function endCompiling(E,R,N){var $=compIndex.call(this,E,R,N);if($>=0)this._compilations.splice($,1)}function compIndex(E,R,N){for(var $=0;${"use strict";var $=N(30823),j=N(55245),q=N(778),G=N(38868),ie=N(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,R,N){var $=this._refs[N];if(typeof $=="string"){if(this._refs[$])$=this._refs[$];else return resolve.call(this,E,R,$)}$=$||this._schemas[N];if($ instanceof G){return inlineRef($.schema,this._opts.inlineRefs)?$.schema:$.validate||this._compile($)}var j=resolveSchema.call(this,R,N);var q,ie,ae;if(j){q=j.schema;R=j.root;ae=j.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,R,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,R,undefined,ae)}return ie}function resolveSchema(E,R){var N=$.parse(R),j=_getFullPath(N),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||j!==q){var ie=normalizeId(j);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,N)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(R))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,N,q,E.schema,E)}function resolveRecursive(E,R,N){var $=resolveSchema.call(this,E,R);if($){var j=$.schema;var q=$.baseId;E=$.root;var G=this._getId(j);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,N,q,j,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,R,N,$){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var j=E.fragment.split("/");for(var G=1;G{"use strict";var $=N(71001),j=N(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var R=["type","$comment"];var N=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=j(R);E.types=j(q);E.forEach((function(N){N.rules=N.rules.map((function(N){var j;if(typeof N=="object"){var q=Object.keys(N)[0];j=N[q];N=q;j.forEach((function(N){R.push(N);E.all[N]=true}))}R.push(N);var G=E.all[N]={keyword:N,code:$[N],implements:j};return G}));E.all.$comment={keyword:"$comment",code:$.$comment};if(N.type)E.types[N.type]=N}));E.keywords=j(R.concat(N));E.custom={};return E}},38868:(E,R,N)=>{"use strict";var $=N(778);E.exports=SchemaObject;function SchemaObject(E){$.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var R=0,N=E.length,$=0,j;while($=55296&&j<=56319&&${"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:N(55245),ucs2length:N(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,R){R=R||{};for(var N in E)R[N]=E[N];return R}function checkDataType(E,R,N,$){var j=$?" !== ":" === ",q=$?" || ":" && ",G=$?"!":"",ie=$?"":"!";switch(E){case"null":return R+j+"null";case"array":return G+"Array.isArray("+R+")";case"object":return"("+G+R+q+"typeof "+R+j+'"object"'+q+ie+"Array.isArray("+R+"))";case"integer":return"(typeof "+R+j+'"number"'+q+ie+"("+R+" % 1)"+q+R+j+R+(N?q+G+"isFinite("+R+")":"")+")";case"number":return"(typeof "+R+j+'"'+E+'"'+(N?q+G+"isFinite("+R+")":"")+")";default:return"typeof "+R+j+'"'+E+'"'}}function checkDataTypes(E,R,N){switch(E.length){case 1:return checkDataType(E[0],R,N,true);default:var $="";var j=toHash(E);if(j.array&&j.object){$=j.null?"(":"(!"+R+" || ";$+="typeof "+R+' !== "object")';delete j.null;delete j.array;delete j.object}if(j.number)delete j.integer;for(var q in j)$+=($?" && ":"")+checkDataType(q,R,N,true);return $}}var $=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,R){if(Array.isArray(R)){var N=[];for(var j=0;j=R)throw new Error("Cannot access property/index "+$+" levels up, current level is "+R);return N[R-$]}if($>R)throw new Error("Cannot access data "+$+" levels up, current level is "+R);q="data"+(R-$||"");if(!j)return q}var le=q;var _e=j.split("/");for(var Ee=0;Ee<_e.length;Ee++){var we=_e[Ee];if(we){q+=getProperty(unescapeJsonPointer(we));le+=" && "+q}}return le}function joinPaths(E,R){if(E=='""')return R;return(E+" + "+R).replace(/([^\\])' \+ '/g,"$1")}function unescapeFragment(E){return unescapeJsonPointer(decodeURIComponent(E))}function escapeFragment(E){return encodeURIComponent(escapeJsonPointer(E))}function escapeJsonPointer(E){return E.replace(/~/g,"~0").replace(/\//g,"~1")}function unescapeJsonPointer(E){return E.replace(/~1/g,"/").replace(/~0/g,"~")}},30398:E=>{"use strict";var R=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,N){for(var $=0;${"use strict";var $=N(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:$.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:$.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me=R=="maximum",Te=Me?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Te],Be=E.opts.$data&&Ne&&Ne.$data,Le=Me?"<":">",je=Me?">":"<",_e=undefined;if(!(we||typeof G=="number"||G===undefined)){throw new Error(R+" must be number")}if(!(Be||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Te+" must be number or boolean")}if(Be){var ze=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+j,qe="exclType"+j,Ge="exclIsNumber"+j,He="op"+j,We="' + "+He+" + '";$+=" var schemaExcl"+j+" = "+ze+"; ";ze="schemaExcl"+j;$+=" var "+Ue+"; var "+qe+" = typeof "+ze+"; if ("+qe+" != 'boolean' && "+qe+" != 'undefined' && "+qe+" != 'number') { ";var _e=Te;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: '"+Te+" should be boolean' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+qe+" == 'number' ? ( ("+Ue+" = "+Ie+" === undefined || "+ze+" "+Le+"= "+Ie+") ? "+Ee+" "+je+"= "+ze+" : "+Ee+" "+je+" "+Ie+" ) : ( ("+Ue+" = "+ze+" === true) ? "+Ee+" "+je+"= "+Ie+" : "+Ee+" "+je+" "+Ie+" ) || "+Ee+" !== "+Ee+") { var op"+j+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){_e=Te;ae=E.errSchemaPath+"/"+Te;Ie=ze;we=Be}}else{var Ge=typeof Ne=="number",We=Le;if(Ge&&we){var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" ( "+Ie+" === undefined || "+Ne+" "+Le+"= "+Ie+" ? "+Ee+" "+je+"= "+Ne+" : "+Ee+" "+je+" "+Ie+" ) || "+Ee+" !== "+Ee+") { "}else{if(Ge&&G===undefined){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;Ie=Ne;je+="="}else{if(Ge)Ie=Math[Me?"min":"max"](Ne,G);if(Ne===(Ge?Ie:true)){Ue=true;_e=Te;ae=E.errSchemaPath+"/"+Te;je+="="}else{Ue=false;We+="="}}var He="'"+We+"'";$+=" if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+Ee+" "+je+" "+Ie+" || "+Ee+" !== "+Ee+") { "}}_e=_e||R;var Ve=Ve||[];Ve.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+He+", limit: "+Ie+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){$+=" , message: 'should be "+We+" ";if(we){$+="' + "+Ie}else{$+=""+Ie+"'"}}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ke=$;$=Ve.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ke+"]); "}else{$+=" validate.errors = ["+Ke+"]; return false; "}}else{$+=" var err = "+Ke+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxItems"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" "+Ee+".length "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxItems"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" items' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxLength"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}if(E.opts.unicode===false){$+=" "+Ee+".length "}else{$+=" ucs2length("+Ee+") "}$+=" "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT be ";if(R=="maxLength"){$+="longer"}else{$+="shorter"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" characters' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!(we||typeof G=="number")){throw new Error(R+" must be number")}var Me=R=="maxProperties"?">":"<";$+="if ( ";if(we){$+=" ("+Ie+" !== undefined && typeof "+Ie+" != 'number') || "}$+=" Object.keys("+Ee+").length "+Me+" "+Ie+") { ";var _e=R;var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Ie+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have ";if(R=="maxProperties"){$+="more"}else{$+="fewer"}$+=" than ";if(we){$+="' + "+Ie+" + '"}else{$+=""+G}$+=" properties' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},30081:E=>{"use strict";E.exports=function generate_allOf(E,R,N){var $=" ";var j=E.schema[R];var q=E.schemaPath+E.util.getProperty(R);var G=E.errSchemaPath+"/"+R;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var le="";ae.level++;var _e="valid"+ae.level;var Ee=ae.baseId,we=true;var Ie=j;if(Ie){var Me,Te=-1,Ne=Ie.length-1;while(Te0||Me===false:E.util.schemaHasRules(Me,E.RULES.all)){we=false;ae.schema=Me;ae.schemaPath=q+"["+Te+"]";ae.errSchemaPath=G+"/"+Te;$+=" "+E.validate(ae)+" ";ae.baseId=Ee;if(ie){$+=" if ("+_e+") { ";le+="}"}}}}if(ie){if(we){$+=" if (true) { "}else{$+=" "+le.slice(0,-1)+" "}}return $}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne=G.every((function(R){return E.opts.strictKeywords?typeof R=="object"&&Object.keys(R).length>0||R===false:E.util.schemaHasRules(R,E.RULES.all)}));if(Ne){var Be=Ie.baseId;$+=" var "+we+" = errors; var "+Ee+" = false; ";var Le=E.compositeRule;E.compositeRule=Ie.compositeRule=true;var je=G;if(je){var ze,Ue=-1,qe=je.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,R,N){var $=" ";var j=E.schema[R];var q=E.errSchemaPath+"/"+R;var G=!E.opts.allErrors;var ie=E.util.toQuotedString(j);if(E.opts.$comment===true){$+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){$+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return $}},23404:E=>{"use strict";E.exports=function generate_const(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if(!we){$+=" var schema"+j+" = validate.schema"+ie+";"}$+="var "+Ee+" = equal("+_e+", schema"+j+"); if (!"+Ee+") { ";var Me=Me||[];Me.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to constant' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Me.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},33224:E=>{"use strict";E.exports=function generate_contains(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="i"+j,Be=Ie.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId,ze=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);$+="var "+we+" = errors;var "+Ee+";";if(ze){var Ue=E.compositeRule;E.compositeRule=Ie.compositeRule=true;Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" var "+Te+" = false; for (var "+Ne+" = 0; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Ge=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Ge,Le)<2){$+=" "+E.util.varReplace(Ge,Le,qe)+" "}else{$+=" var "+Le+" = "+qe+"; "+Ge+" "}$+=" if ("+Te+") break; } ";E.compositeRule=Ie.compositeRule=Ue;$+=" "+Me+" if (!"+Te+") {"}else{$+=" if ("+_e+".length == 0) {"}var He=He||[];He.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should contain a valid item' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var We=$;$=He.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+We+"]); "}else{$+=" validate.errors = ["+We+"]; return false; "}}else{$+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { ";if(ze){$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } "}if(E.opts.allErrors){$+=" } "}return $}},99819:E=>{"use strict";E.exports=function generate_custom(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e;var Ee="data"+(q||"");var we="valid"+j;var Ie="errs__"+j;var Me=E.opts.$data&&G&&G.$data,Te;if(Me){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+j}else{Te=G}var Ne=this,Be="definition"+j,Le=Ne.definition,je="";var ze,Ue,qe,Ge,He;if(Me&&Le.$data){He="keywordValidate"+j;var We=Le.validateSchema;$+=" var "+Be+" = RULES.custom['"+R+"'].definition; var "+He+" = "+Be+".validate;"}else{Ge=E.useCustomRule(Ne,G,E.schema,E);if(!Ge)return;Te="validate.schema"+ie;He=Ge.code;ze=Le.compile;Ue=Le.inline;qe=Le.macro}var Ve=He+".errors",Ke="i"+j,Qe="ruleErr"+j,Je=Le.async;if(Je&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||qe)){$+=""+Ve+" = null;"}$+="var "+Ie+" = errors;var "+we+";";if(Me&&Le.$data){je+="}";$+=" if ("+Te+" === undefined) { "+we+" = true; } else { ";if(We){je+="}";$+=" "+we+" = "+Be+".validateSchema("+Te+"); if ("+we+") { "}}if(Ue){if(Le.statements){$+=" "+Ge.validate+" "}else{$+=" "+we+" = "+Ge.validate+"; "}}else if(qe){var Xe=E.util.copy(E);var je="";Xe.level++;var Ye="valid"+Xe.level;Xe.schema=Ge.validate;Xe.schemaPath="";var Ze=E.compositeRule;E.compositeRule=Xe.compositeRule=true;var et=E.validate(Xe).replace(/validate\.schema/g,He);E.compositeRule=Xe.compositeRule=Ze;$+=" "+et}else{var tt=tt||[];tt.push($);$="";$+=" "+He+".call( ";if(E.opts.passContext){$+="this"}else{$+="self"}if(ze||Le.schema===false){$+=" , "+Ee+" "}else{$+=" , "+Te+" , "+Ee+" , validate.schema"+E.schemaPath+" "}$+=" , (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var nt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+nt+" , "+rt+" , rootData ) ";var st=$;$=tt.pop();if(Le.errors===false){$+=" "+we+" = ";if(Je){$+="await "}$+=""+st+"; "}else{if(Je){Ve="customErrors"+j;$+=" var "+Ve+" = null; try { "+we+" = await "+st+"; } catch (e) { "+we+" = false; if (e instanceof ValidationError) "+Ve+" = e.errors; else throw e; } "}else{$+=" "+Ve+" = null; "+we+" = "+st+"; "}}}if(Le.modifying){$+=" if ("+nt+") "+Ee+" = "+nt+"["+rt+"];"}$+=""+je;if(Le.valid){if(le){$+=" if (true) { "}}else{$+=" if ( ";if(Le.valid===undefined){$+=" !";if(qe){$+=""+Ye}else{$+=""+we}}else{$+=" "+!Le.valid+" "}$+=") { ";_e=Ne.keyword;var tt=tt||[];tt.push($);$="";var tt=tt||[];tt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(_e||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){$+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ee+" "}$+=" } "}else{$+=" {} "}var it=$;$=tt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+it+"]); "}else{$+=" validate.errors = ["+it+"]; return false; "}}else{$+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=$;$=tt.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){$+=" for (var "+Ke+"="+Ie+"; "+Ke+"{"use strict";E.exports=function generate_dependencies(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;var Te={},Ne={},Be=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var je=Array.isArray(Le)?Ne:Te;je[Ue]=Le}$+="var "+Ee+" = errors;";var ze=E.errorPath;$+="var missing"+j+";";for(var Ue in Ne){je=Ne[Ue];if(je.length){$+=" if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}if(le){$+=" && ( ";var qe=je;if(qe){var Ge,He=-1,We=qe.length-1;while(He0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){$+=" "+Me+" = true; if ( "+_e+E.util.getProperty(Ue)+" !== undefined ";if(Be){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(Ue)+"') "}$+=") { ";we.schema=Le;we.schemaPath=ie+E.util.getProperty(Ue);we.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);$+=" "+E.validate(we)+" ";we.baseId=nt;$+=" } ";if(le){$+=" if ("+Me+") { ";Ie+="}"}}}if(le){$+=" "+Ie+" if ("+Ee+" == errors) {"}return $}},20489:E=>{"use strict";E.exports=function generate_enum(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me="i"+j,Te="schema"+j;if(!we){$+=" var "+Te+" = validate.schema"+ie+";"}$+="var "+Ee+";";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=""+Ee+" = false;for (var "+Me+"=0; "+Me+"<"+Te+".length; "+Me+"++) if (equal("+_e+", "+Te+"["+Me+"])) { "+Ee+" = true; break; }";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+j+" } ";if(E.opts.messages!==false){$+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" }";if(le){$+=" else { "}return $}},69090:E=>{"use strict";E.exports=function generate_format(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");if(E.opts.format===false){if(le){$+=" if (true) { "}return $}var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Ie=E.opts.unknownFormats,Me=Array.isArray(Ie);if(Ee){var Te="format"+j,Ne="isObject"+j,Be="formatType"+j;$+=" var "+Te+" = formats["+we+"]; var "+Ne+" = typeof "+Te+" == 'object' && !("+Te+" instanceof RegExp) && "+Te+".validate; var "+Be+" = "+Ne+" && "+Te+".type || 'string'; if ("+Ne+") { ";if(E.async){$+=" var async"+j+" = "+Te+".async; "}$+=" "+Te+" = "+Te+".validate; } if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" (";if(Ie!="ignore"){$+=" ("+we+" && !"+Te+" ";if(Me){$+=" && self._opts.unknownFormats.indexOf("+we+") == -1 "}$+=") || "}$+=" ("+Te+" && "+Be+" == '"+N+"' && !(typeof "+Te+" == 'function' ? ";if(E.async){$+=" (async"+j+" ? await "+Te+"("+_e+") : "+Te+"("+_e+")) "}else{$+=" "+Te+"("+_e+") "}$+=" : "+Te+".test("+_e+"))))) {"}else{var Te=E.formats[G];if(!Te){if(Ie=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(le){$+=" if (true) { "}return $}else if(Me&&Ie.indexOf(G)>=0){if(le){$+=" if (true) { "}return $}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Te=="object"&&!(Te instanceof RegExp)&&Te.validate;var Be=Ne&&Te.type||"string";if(Ne){var Le=Te.async===true;Te=Te.validate}if(Be!=N){if(le){$+=" if (true) { "}return $}if(Le){if(!E.async)throw new Error("async format in sync schema");var je="formats"+E.util.getProperty(G)+".validate";$+=" if (!(await "+je+"("+_e+"))) { "}else{$+=" if (! ";var je="formats"+E.util.getProperty(G);if(Ne)je+=".validate";if(typeof Te=="function"){$+=" "+je+"("+_e+") "}else{$+=" "+je+".test("+_e+") "}$+=") { "}}var ze=ze||[];ze.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match format \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ue=$;$=ze.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ue+"]); "}else{$+=" validate.errors = ["+Ue+"]; return false; "}}else{$+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}return $}},1636:E=>{"use strict";E.exports=function generate_if(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);Ie.level++;var Me="valid"+Ie.level;var Te=E.schema["then"],Ne=E.schema["else"],Be=Te!==undefined&&(E.opts.strictKeywords?typeof Te=="object"&&Object.keys(Te).length>0||Te===false:E.util.schemaHasRules(Te,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),je=Ie.baseId;if(Be||Le){var ze;Ie.createErrors=false;Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" var "+we+" = errors; var "+Ee+" = true; ";var Ue=E.compositeRule;E.compositeRule=Ie.compositeRule=true;$+=" "+E.validate(Ie)+" ";Ie.baseId=je;Ie.createErrors=true;$+=" errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; } ";E.compositeRule=Ie.compositeRule=Ue;if(Be){$+=" if ("+Me+") { ";Ie.schema=E.schema["then"];Ie.schemaPath=E.schemaPath+".then";Ie.errSchemaPath=E.errSchemaPath+"/then";$+=" "+E.validate(Ie)+" ";Ie.baseId=je;$+=" "+Ee+" = "+Me+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'then'; "}else{ze="'then'"}$+=" } ";if(Le){$+=" else { "}}else{$+=" if (!"+Me+") { "}if(Le){Ie.schema=E.schema["else"];Ie.schemaPath=E.schemaPath+".else";Ie.errSchemaPath=E.errSchemaPath+"/else";$+=" "+E.validate(Ie)+" ";Ie.baseId=je;$+=" "+Ee+" = "+Me+"; ";if(Be&&Le){ze="ifClause"+j;$+=" var "+ze+" = 'else'; "}else{ze="'else'"}$+=" } "}$+=" if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+ze+" } ";if(E.opts.messages!==false){$+=" , message: 'should match \"' + "+ze+" + '\" schema' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},71001:(E,R,N)=>{"use strict";E.exports={$ref:N(41944),allOf:N(30081),anyOf:N(70019),$comment:N(79878),const:N(23404),contains:N(33224),dependencies:N(19493),enum:N(20489),format:N(69090),if:N(1636),items:N(6060),maximum:N(70507),minimum:N(70507),maxItems:N(6958),minItems:N(6958),maxLength:N(41363),minLength:N(41363),maxProperties:N(25569),minProperties:N(25569),multipleOf:N(54841),not:N(74881),oneOf:N(77675),pattern:N(98676),properties:N(99306),propertyNames:N(28014),required:N(16372),uniqueItems:N(37270),validate:N(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne="i"+j,Be=Ie.dataLevel=E.dataLevel+1,Le="data"+Be,je=E.baseId;$+="var "+we+" = errors;var "+Ee+";";if(Array.isArray(G)){var ze=E.schema.additionalItems;if(ze===false){$+=" "+Ee+" = "+_e+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";$+=" if (!"+Ee+") { ";var qe=qe||[];qe.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Ge=$;$=qe.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Ge+"]); "}else{$+=" validate.errors = ["+Ge+"]; return false; "}}else{$+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";ae=Ue;if(le){Me+="}";$+=" else { "}}var He=G;if(He){var We,Ve=-1,Ke=He.length-1;while(Ve0||We===false:E.util.schemaHasRules(We,E.RULES.all)){$+=" "+Te+" = true; if ("+_e+".length > "+Ve+") { ";var Qe=_e+"["+Ve+"]";Ie.schema=We;Ie.schemaPath=ie+"["+Ve+"]";Ie.errSchemaPath=ae+"/"+Ve;Ie.errorPath=E.util.getPathExpr(E.errorPath,Ve,E.opts.jsonPointers,true);Ie.dataPathArr[Be]=Ve;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}$+=" } ";if(le){$+=" if ("+Te+") { ";Me+="}"}}}}if(typeof ze=="object"&&(E.opts.strictKeywords?typeof ze=="object"&&Object.keys(ze).length>0||ze===false:E.util.schemaHasRules(ze,E.RULES.all))){Ie.schema=ze;Ie.schemaPath=E.schemaPath+".additionalItems";Ie.errSchemaPath=E.errSchemaPath+"/additionalItems";$+=" "+Te+" = true; if ("+_e+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" } } ";if(le){$+=" if ("+Te+") { ";Me+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ie.schema=G;Ie.schemaPath=ie;Ie.errSchemaPath=ae;$+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+_e+".length; "+Ne+"++) { ";Ie.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Qe=_e+"["+Ne+"]";Ie.dataPathArr[Be]=Ne;var Je=E.validate(Ie);Ie.baseId=je;if(E.util.varOccurences(Je,Le)<2){$+=" "+E.util.varReplace(Je,Le,Qe)+" "}else{$+=" var "+Le+" = "+Qe+"; "+Je+" "}if(le){$+=" if (!"+Te+") break; "}$+=" }"}if(le){$+=" "+Me+" if ("+we+" == errors) {"}return $}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}if(!(Ee||typeof G=="number")){throw new Error(R+" must be number")}$+="var division"+j+";if (";if(Ee){$+=" "+we+" !== undefined && ( typeof "+we+" != 'number' || "}$+=" (division"+j+" = "+_e+" / "+we+", ";if(E.opts.multipleOfPrecision){$+=" Math.abs(Math.round(division"+j+") - division"+j+") > 1e-"+E.opts.multipleOfPrecision+" "}else{$+=" division"+j+" !== parseInt(division"+j+") "}$+=" ) ";if(Ee){$+=" ) "}$+=" ) { ";var Ie=Ie||[];Ie.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+we+" } ";if(E.opts.messages!==false){$+=" , message: 'should be multiple of ";if(Ee){$+="' + "+we}else{$+=""+we+"'"}}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Me=$;$=Ie.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Me+"]); "}else{$+=" validate.errors = ["+Me+"]; return false; "}}else{$+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},74881:E=>{"use strict";E.exports=function generate_not(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);we.level++;var Ie="valid"+we.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;$+=" var "+Ee+" = errors; ";var Me=E.compositeRule;E.compositeRule=we.compositeRule=true;we.createErrors=false;var Te;if(we.opts.allErrors){Te=we.opts.allErrors;we.opts.allErrors=false}$+=" "+E.validate(we)+" ";we.createErrors=true;if(Te)we.opts.allErrors=Te;E.compositeRule=we.compositeRule=Me;$+=" if ("+Ie+") { ";var Ne=Ne||[];Ne.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Be=$;$=Ne.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Be+"]); "}else{$+=" validate.errors = ["+Be+"]; return false; "}}else{$+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";if(E.opts.allErrors){$+=" } "}}else{$+=" var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'should NOT be valid' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(le){$+=" if (false) { "}}return $}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we="errs__"+j;var Ie=E.util.copy(E);var Me="";Ie.level++;var Te="valid"+Ie.level;var Ne=Ie.baseId,Be="prevValid"+j,Le="passingSchemas"+j;$+="var "+we+" = errors , "+Be+" = false , "+Ee+" = false , "+Le+" = null; ";var je=E.compositeRule;E.compositeRule=Ie.compositeRule=true;var ze=G;if(ze){var Ue,qe=-1,Ge=ze.length-1;while(qe0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Ie.schema=Ue;Ie.schemaPath=ie+"["+qe+"]";Ie.errSchemaPath=ae+"/"+qe;$+=" "+E.validate(Ie)+" ";Ie.baseId=Ne}else{$+=" var "+Te+" = true; "}if(qe){$+=" if ("+Te+" && "+Be+") { "+Ee+" = false; "+Le+" = ["+Le+", "+qe+"]; } else { ";Me+="}"}$+=" if ("+Te+") { "+Ee+" = "+Be+" = true; "+Le+" = "+qe+"; }"}}E.compositeRule=Ie.compositeRule=je;$+=""+Me+"if (!"+Ee+") { var err = ";if(E.createErrors!==false){$+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){$+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}$+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(vErrors); "}else{$+=" validate.errors = vErrors; return false; "}}$+="} else { errors = "+we+"; if (vErrors !== null) { if ("+we+") vErrors.length = "+we+"; else vErrors = null; }";if(E.opts.allErrors){$+=" } "}return $}},98676:E=>{"use strict";E.exports=function generate_pattern(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,we;if(Ee){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";we="schema"+j}else{we=G}var Ie=Ee?"(new RegExp("+we+"))":E.usePattern(G);$+="if ( ";if(Ee){$+=" ("+we+" !== undefined && typeof "+we+" != 'string') || "}$+=" !"+Ie+".test("+_e+") ) { ";var Me=Me||[];Me.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(Ee){$+=""+we}else{$+=""+E.util.toQuotedString(G)}$+=" } ";if(E.opts.messages!==false){$+=" , message: 'should match pattern \"";if(Ee){$+="' + "+we+" + '"}else{$+=""+E.util.escapeQuotes(G)}$+="\"' "}if(E.opts.verbose){$+=" , schema: ";if(Ee){$+="validate.schema"+ie}else{$+=""+E.util.toQuotedString(G)}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Te=$;$=Me.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Te+"]); "}else{$+=" validate.errors = ["+Te+"]; return false; "}}else{$+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+="} ";if(le){$+=" else { "}return $}},99306:E=>{"use strict";E.exports=function generate_properties(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;var Te="key"+j,Ne="idx"+j,Be=we.dataLevel=E.dataLevel+1,Le="data"+Be,je="dataProperties"+j;var ze=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},qe=Object.keys(Ue).filter(notProto),Ge=E.schema.additionalProperties,He=ze.length||qe.length,We=Ge===false,Ve=typeof Ge=="object"&&Object.keys(Ge).length,Ke=E.opts.removeAdditional,Qe=We||Ve||Ke,Je=E.opts.ownProperties,Xe=E.baseId;var Ye=E.schema.required;if(Ye&&!(E.opts.$data&&Ye.$data)&&Ye.length8){$+=" || validate.schema"+ie+".hasOwnProperty("+Te+") "}else{var et=ze;if(et){var tt,nt=-1,rt=et.length-1;while(nt0||xt===false:E.util.schemaHasRules(xt,E.RULES.all)){var kt=E.util.getProperty(tt),mt=_e+kt,Et=yt&&xt.default!==undefined;we.schema=xt;we.schemaPath=ie+kt;we.errSchemaPath=ae+"/"+E.util.escapeFragment(tt);we.errorPath=E.util.getPath(E.errorPath,tt,E.opts.jsonPointers);we.dataPathArr[Be]=E.util.toQuotedString(tt);var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){gt=E.util.varReplace(gt,Le,mt);var wt=mt}else{var wt=Le;$+=" var "+Le+" = "+mt+"; "}if(Et){$+=" "+gt+" "}else{if(Ze&&Ze[tt]){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Me+" = false; ";var ct=E.errorPath,pt=ae,St=E.util.escapeQuotes(tt);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,tt,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var dt=dt||[];dt.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+St+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+St+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var ft=$;$=dt.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+ft+"]); "}else{$+=" validate.errors = ["+ft+"]; return false; "}}else{$+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=pt;E.errorPath=ct;$+=" } else { "}else{if(le){$+=" if ( "+wt+" === undefined ";if(Je){$+=" || ! Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=") { "+Me+" = true; } else { "}else{$+=" if ("+wt+" !== undefined ";if(Je){$+=" && Object.prototype.hasOwnProperty.call("+_e+", '"+E.util.escapeQuotes(tt)+"') "}$+=" ) { "}}$+=" "+gt+" } "}}if(le){$+=" if ("+Me+") { ";Ie+="}"}}}}if(qe.length){var At=qe;if(At){var it,Ct=-1,Dt=At.length-1;while(Ct0||xt===false:E.util.schemaHasRules(xt,E.RULES.all)){we.schema=xt;we.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);we.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Je){$+=" "+je+" = "+je+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+je+".length; "+Ne+"++) { var "+Te+" = "+je+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" if ("+E.usePattern(it)+".test("+Te+")) { ";we.errorPath=E.util.getPathExpr(E.errorPath,Te,E.opts.jsonPointers);var mt=_e+"["+Te+"]";we.dataPathArr[Be]=Te;var gt=E.validate(we);we.baseId=Xe;if(E.util.varOccurences(gt,Le)<2){$+=" "+E.util.varReplace(gt,Le,mt)+" "}else{$+=" var "+Le+" = "+mt+"; "+gt+" "}if(le){$+=" if (!"+Me+") break; "}$+=" } ";if(le){$+=" else "+Me+" = true; "}$+=" } ";if(le){$+=" if ("+Me+") { ";Ie+="}"}}}}}if(le){$+=" "+Ie+" if ("+Ee+" == errors) {"}return $}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="errs__"+j;var we=E.util.copy(E);var Ie="";we.level++;var Me="valid"+we.level;$+="var "+Ee+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){we.schema=G;we.schemaPath=ie;we.errSchemaPath=ae;var Te="key"+j,Ne="idx"+j,Be="i"+j,Le="' + "+Te+" + '",je=we.dataLevel=E.dataLevel+1,ze="data"+je,Ue="dataProperties"+j,qe=E.opts.ownProperties,Ge=E.baseId;if(qe){$+=" var "+Ue+" = undefined; "}if(qe){$+=" "+Ue+" = "+Ue+" || Object.keys("+_e+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Te+" = "+Ue+"["+Ne+"]; "}else{$+=" for (var "+Te+" in "+_e+") { "}$+=" var startErrs"+j+" = errors; ";var He=Te;var We=E.compositeRule;E.compositeRule=we.compositeRule=true;var Ve=E.validate(we);we.baseId=Ge;if(E.util.varOccurences(Ve,ze)<2){$+=" "+E.util.varReplace(Ve,ze,He)+" "}else{$+=" var "+ze+" = "+He+"; "+Ve+" "}E.compositeRule=we.compositeRule=We;$+=" if (!"+Me+") { for (var "+Be+"=startErrs"+j+"; "+Be+"{"use strict";E.exports=function generate_ref(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.errSchemaPath+"/"+R;var ae=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+j;var Ee,we;if(G=="#"||G=="#/"){if(E.isRoot){Ee=E.async;we="validate"}else{Ee=E.root.schema.$async===true;we="root.refVal[0]"}}else{var Ie=E.resolveRef(E.baseId,G,E.isRoot);if(Ie===undefined){var Me=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(Me);var Te=Te||[];Te.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){$+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){$+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}$+=" } "}else{$+=" {} "}var Ne=$;$=Te.pop();if(!E.compositeRule&&ae){if(E.async){$+=" throw new ValidationError(["+Ne+"]); "}else{$+=" validate.errors = ["+Ne+"]; return false; "}}else{$+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){$+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(Me);if(ae){$+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,Me)}}else if(Ie.inline){var Be=E.util.copy(E);Be.level++;var Le="valid"+Be.level;Be.schema=Ie.schema;Be.schemaPath="";Be.errSchemaPath=G;var je=E.validate(Be).replace(/validate\.schema/g,Ie.code);$+=" "+je+" ";if(ae){$+=" if ("+Le+") { "}}else{Ee=Ie.$async===true||E.async&&Ie.$async!==false;we=Ie.code}}if(we){var Te=Te||[];Te.push($);$="";if(E.opts.passContext){$+=" "+we+".call(this, "}else{$+=" "+we+"( "}$+=" "+le+", (dataPath || '')";if(E.errorPath!='""'){$+=" + "+E.errorPath}var ze=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";$+=" , "+ze+" , "+Ue+", rootData) ";var qe=$;$=Te.pop();if(Ee){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){$+=" var "+_e+"; "}$+=" try { await "+qe+"; ";if(ae){$+=" "+_e+" = true; "}$+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){$+=" "+_e+" = false; "}$+=" } ";if(ae){$+=" if ("+_e+") { "}}else{$+=" if (!"+qe+") { if (vErrors === null) vErrors = "+we+".errors; else vErrors = vErrors.concat("+we+".errors); errors = vErrors.length; } ";if(ae){$+=" else { "}}}return $}},16372:E=>{"use strict";E.exports=function generate_required(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}var Me="schema"+j;if(!we){if(G.length0||ze===false:E.util.schemaHasRules(ze,E.RULES.all)))){Te[Te.length]=Be}}}}else{var Te=G}}if(we||Te.length){var Ue=E.errorPath,qe=we||Te.length>=E.opts.loopRequired,Ge=E.opts.ownProperties;if(le){$+=" var missing"+j+"; ";if(qe){if(!we){$+=" var "+Me+" = validate.schema"+ie+"; "}var He="i"+j,We="schema"+j+"["+He+"]",Ve="' + "+We+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,We,E.opts.jsonPointers)}$+=" var "+Ee+" = true; ";if(we){$+=" if (schema"+j+" === undefined) "+Ee+" = true; else if (!Array.isArray(schema"+j+")) "+Ee+" = false; else {"}$+=" for (var "+He+" = 0; "+He+" < "+Me+".length; "+He+"++) { "+Ee+" = "+_e+"["+Me+"["+He+"]] !== undefined ";if(Ge){$+=" && Object.prototype.hasOwnProperty.call("+_e+", "+Me+"["+He+"]) "}$+="; if (!"+Ee+") break; } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Ke=Ke||[];Ke.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ve+"' } ";if(E.opts.messages!==false){$+=" , message: '";if(E.opts._errorDataPathProperty){$+="is a required property"}else{$+="should have required property \\'"+Ve+"\\'"}$+="' "}if(E.opts.verbose){$+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Qe=$;$=Ke.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Qe+"]); "}else{$+=" validate.errors = ["+Qe+"]; return false; "}}else{$+=" var err = "+Qe+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } else { "}else{$+=" if ( ";var Je=Te;if(Je){var Xe,He=-1,Ye=Je.length-1;while(He{"use strict";E.exports=function generate_uniqueItems(E,R,N){var $=" ";var j=E.level;var q=E.dataLevel;var G=E.schema[R];var ie=E.schemaPath+E.util.getProperty(R);var ae=E.errSchemaPath+"/"+R;var le=!E.opts.allErrors;var _e="data"+(q||"");var Ee="valid"+j;var we=E.opts.$data&&G&&G.$data,Ie;if(we){$+=" var schema"+j+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+j}else{Ie=G}if((G||we)&&E.opts.uniqueItems!==false){if(we){$+=" var "+Ee+"; if ("+Ie+" === false || "+Ie+" === undefined) "+Ee+" = true; else if (typeof "+Ie+" != 'boolean') "+Ee+" = false; else { "}$+=" var i = "+_e+".length , "+Ee+" = true , j; if (i > 1) { ";var Me=E.schema.items&&E.schema.items.type,Te=Array.isArray(Me);if(!Me||Me=="object"||Me=="array"||Te&&(Me.indexOf("object")>=0||Me.indexOf("array")>=0)){$+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+_e+"[i], "+_e+"[j])) { "+Ee+" = false; break outer; } } } "}else{$+=" var itemIndices = {}, item; for (;i--;) { var item = "+_e+"[i]; ";var Ne="checkDataType"+(Te?"s":"");$+=" if ("+E.util[Ne](Me,"item",E.opts.strictNumbers,true)+") continue; ";if(Te){$+=" if (typeof item == 'string') item = '\"' + item; "}$+=" if (typeof itemIndices[item] == 'number') { "+Ee+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}$+=" } ";if(we){$+=" } "}$+=" if (!"+Ee+") { ";var Be=Be||[];Be.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){$+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){$+=" , schema: ";if(we){$+="validate.schema"+ie}else{$+=""+G}$+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}$+=" } "}else{$+=" {} "}var Le=$;$=Be.pop();if(!E.compositeRule&&le){if(E.async){$+=" throw new ValidationError(["+Le+"]); "}else{$+=" validate.errors = ["+Le+"]; return false; "}}else{$+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}$+=" } ";if(le){$+=" else { "}}else{if(le){$+=" if (true) { "}}return $}},85061:E=>{"use strict";E.exports=function generate_validate(E,R,N){var $="";var j=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){$+=" var validate = ";if(j){E.async=true;$+="async "}$+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){$+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var R="false schema";var le=E.level;var _e=E.dataLevel;var Ee=E.schema[R];var we=E.schemaPath+E.util.getProperty(R);var Ie=E.errSchemaPath+"/"+R;var Me=!E.opts.allErrors;var Te;var Ne="data"+(_e||"");var Be="valid"+le;if(E.schema===false){if(E.isTop){Me=true}else{$+=" var "+Be+" = false; "}var Le=Le||[];Le.push($);$="";if(E.createErrors!==false){$+=" { keyword: '"+(Te||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Ie)+" , params: {} ";if(E.opts.messages!==false){$+=" , message: 'boolean schema is false' "}if(E.opts.verbose){$+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}$+=" } "}else{$+=" {} "}var je=$;$=Le.pop();if(!E.compositeRule&&Me){if(E.async){$+=" throw new ValidationError(["+je+"]); "}else{$+=" validate.errors = ["+je+"]; return false; "}}else{$+=" var err = "+je+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if(j){$+=" return data; "}else{$+=" validate.errors = null; return true; "}}else{$+=" var "+Be+" = true; "}}if(E.isTop){$+=" }; return validate; "}return $}if(E.isTop){var ze=E.isTop,le=E.level=0,_e=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}$+=" var vErrors = null; ";$+=" var errors = 0; ";$+=" if (rootData === undefined) rootData = data; "}else{var le=E.level,_e=E.dataLevel,Ne="data"+(_e||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if(j&&!E.async)throw new Error("async schema in sync schema");$+=" var errs_"+le+" = errors;"}var Be="valid"+le,Me=!E.opts.allErrors,qe="",Ge="";var Te;var He=E.schema.type,We=Array.isArray(He);if(He&&E.opts.nullable&&E.schema.nullable===true){if(We){if(He.indexOf("null")==-1)He=He.concat("null")}else if(He!="null"){He=[He,"null"];We=true}}if(We&&He.length==1){He=He[0];We=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){$+=" "+E.RULES.all.$comment.code(E,"$comment")}if(He){if(E.opts.coerceTypes){var Ve=E.util.coerceToTypes(E.opts.coerceTypes,He)}var Ke=E.RULES.types[He];if(Ve||We||Ke===true||Ke&&!$shouldUseGroup(Ke)){var we=E.schemaPath+".type",Ie=E.errSchemaPath+"/type";var we=E.schemaPath+".type",Ie=E.errSchemaPath+"/type",Qe=We?"checkDataTypes":"checkDataType";$+=" if ("+E.util[Qe](He,Ne,E.opts.strictNumbers,true)+") { ";if(Ve){var Je="dataType"+le,Xe="coerced"+le;$+=" var "+Je+" = typeof "+Ne+"; var "+Xe+" = undefined; ";if(E.opts.coerceTypes=="array"){$+=" if ("+Je+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Je+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Xe+" = "+Ne+"; } "}$+=" if ("+Xe+" !== undefined) ; ";var Ye=Ve;if(Ye){var Ze,et=-1,tt=Ye.length-1;while(et{"use strict";var $=/^[a-z_$][a-z0-9_$-]*$/i;var j=N(99819);var q=N(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,R){var N=this.RULES;if(N.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!$.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(R){this.validateKeyword(R,true);var q=R.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=N.nmd(E);const wrapAnsi16=(E,R)=>(...N)=>{const $=E(...N);return`[${$+R}m`};const wrapAnsi256=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};5;${$}m`};const wrapAnsi16m=(E,R)=>(...N)=>{const $=E(...N);return`[${38+R};2;${$[0]};${$[1]};${$[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,R,N)=>[E,R,N];const setLazyProperty=(E,R,N)=>{Object.defineProperty(E,R,{get:()=>{const $=N();Object.defineProperty(E,R,{value:$,enumerable:true,configurable:true});return $},enumerable:true,configurable:true})};let $;const makeDynamicStyles=(E,R,j,q)=>{if($===undefined){$=N(76843)}const G=q?10:0;const ie={};for(const[N,q]of Object.entries($)){const $=N==="ansi16"?"ansi":N;if(N===R){ie[$]=E(j,G)}else if(typeof q==="object"){ie[$]=E(q[R],G)}}return ie};function assembleStyles(){const E=new Map;const R={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};R.color.gray=R.color.blackBright;R.bgColor.bgGray=R.bgColor.bgBlackBright;R.color.grey=R.color.blackBright;R.bgColor.bgGrey=R.bgColor.bgBlackBright;for(const[N,$]of Object.entries(R)){for(const[N,j]of Object.entries($)){R[N]={open:`[${j[0]}m`,close:`[${j[1]}m`};$[N]=R[N];E.set(j[0],j[1])}Object.defineProperty(R,N,{value:$,enumerable:false})}Object.defineProperty(R,"codes",{value:E,enumerable:false});R.color.close="";R.bgColor.close="";setLazyProperty(R.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(R.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(R.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(R.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(R.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return R}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,R,N)=>{const $=N(24253);const j={};for(const E of Object.keys($)){j[$[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:R,labels:N}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:R});Object.defineProperty(q[E],"labels",{value:N})}q.rgb.hsl=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(R,N,$);const q=Math.max(R,N,$);const G=q-j;let ie;let ae;if(q===j){ie=0}else if(R===q){ie=(N-$)/G}else if(N===q){ie=2+($-R)/G}else if($===q){ie=4+(R-N)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const le=(j+q)/2;if(q===j){ae=0}else if(le<=.5){ae=G/(q+j)}else{ae=G/(2-q-j)}return[ie,ae*100,le*100]};q.rgb.hsv=function(E){let R;let N;let $;let j;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const le=Math.max(G,ie,ae);const _e=le-Math.min(G,ie,ae);const diffc=function(E){return(le-E)/6/_e+1/2};if(_e===0){j=0;q=0}else{q=_e/le;R=diffc(G);N=diffc(ie);$=diffc(ae);if(G===le){j=$-N}else if(ie===le){j=1/3+R-$}else if(ae===le){j=2/3+N-R}if(j<0){j+=1}else if(j>1){j-=1}}return[j*360,q*100,le*100]};q.rgb.hwb=function(E){const R=E[0];const N=E[1];let $=E[2];const j=q.rgb.hsl(E)[0];const G=1/255*Math.min(R,Math.min(N,$));$=1-1/255*Math.max(R,Math.max(N,$));return[j,G*100,$*100]};q.rgb.cmyk=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.min(1-R,1-N,1-$);const q=(1-R-j)/(1-j)||0;const G=(1-N-j)/(1-j)||0;const ie=(1-$-j)/(1-j)||0;return[q*100,G*100,ie*100,j*100]};function comparativeDistance(E,R){return(E[0]-R[0])**2+(E[1]-R[1])**2+(E[2]-R[2])**2}q.rgb.keyword=function(E){const R=j[E];if(R){return R}let N=Infinity;let q;for(const R of Object.keys($)){const j=$[R];const G=comparativeDistance(E,j);if(G.04045?((R+.055)/1.055)**2.4:R/12.92;N=N>.04045?((N+.055)/1.055)**2.4:N/12.92;$=$>.04045?(($+.055)/1.055)**2.4:$/12.92;const j=R*.4124+N*.3576+$*.1805;const q=R*.2126+N*.7152+$*.0722;const G=R*.0193+N*.1192+$*.9505;return[j*100,q*100,G*100]};q.rgb.lab=function(E){const R=q.rgb.xyz(E);let N=R[0];let $=R[1];let j=R[2];N/=95.047;$/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const G=116*$-16;const ie=500*(N-$);const ae=200*($-j);return[G,ie,ae]};q.hsl.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;if(N===0){G=$*255;return[G,G,G]}if($<.5){j=$*(1+N)}else{j=$+N-$*N}const ie=2*$-j;const ae=[0,0,0];for(let E=0;E<3;E++){q=R+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+(j-ie)*6*q}else if(2*q<1){G=j}else if(3*q<2){G=ie+(j-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const R=E[0];let N=E[1]/100;let $=E[2]/100;let j=N;const q=Math.max($,.01);$*=2;N*=$<=1?$:2-$;j*=q<=1?q:2-q;const G=($+N)/2;const ie=$===0?2*j/(q+j):2*N/($+N);return[R,ie*100,G*100]};q.hsv.rgb=function(E){const R=E[0]/60;const N=E[1]/100;let $=E[2]/100;const j=Math.floor(R)%6;const q=R-Math.floor(R);const G=255*$*(1-N);const ie=255*$*(1-N*q);const ae=255*$*(1-N*(1-q));$*=255;switch(j){case 0:return[$,ae,G];case 1:return[ie,$,G];case 2:return[G,$,ae];case 3:return[G,ie,$];case 4:return[ae,G,$];case 5:return[$,G,ie]}};q.hsv.hsl=function(E){const R=E[0];const N=E[1]/100;const $=E[2]/100;const j=Math.max($,.01);let q;let G;G=(2-N)*$;const ie=(2-N)*j;q=N*j;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[R,q*100,G*100]};q.hwb.rgb=function(E){const R=E[0]/360;let N=E[1]/100;let $=E[2]/100;const j=N+$;let q;if(j>1){N/=j;$/=j}const G=Math.floor(6*R);const ie=1-$;q=6*R-G;if((G&1)!==0){q=1-q}const ae=N+q*(ie-N);let le;let _e;let Ee;switch(G){default:case 6:case 0:le=ie;_e=ae;Ee=N;break;case 1:le=ae;_e=ie;Ee=N;break;case 2:le=N;_e=ie;Ee=ae;break;case 3:le=N;_e=ae;Ee=ie;break;case 4:le=ae;_e=N;Ee=ie;break;case 5:le=ie;_e=N;Ee=ae;break}return[le*255,_e*255,Ee*255]};q.cmyk.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;const j=E[3]/100;const q=1-Math.min(1,R*(1-j)+j);const G=1-Math.min(1,N*(1-j)+j);const ie=1-Math.min(1,$*(1-j)+j);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const R=E[0]/100;const N=E[1]/100;const $=E[2]/100;let j;let q;let G;j=R*3.2406+N*-1.5372+$*-.4986;q=R*-.9689+N*1.8758+$*.0415;G=R*.0557+N*-.204+$*1.057;j=j>.0031308?1.055*j**(1/2.4)-.055:j*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;j=Math.min(Math.max(0,j),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[j*255,q*255,G*255]};q.xyz.lab=function(E){let R=E[0];let N=E[1];let $=E[2];R/=95.047;N/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;N=N>.008856?N**(1/3):7.787*N+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const j=116*N-16;const q=500*(R-N);const G=200*(N-$);return[j,q,G]};q.lab.xyz=function(E){const R=E[0];const N=E[1];const $=E[2];let j;let q;let G;q=(R+16)/116;j=N/500+q;G=q-$/200;const ie=q**3;const ae=j**3;const le=G**3;q=ie>.008856?ie:(q-16/116)/7.787;j=ae>.008856?ae:(j-16/116)/7.787;G=le>.008856?le:(G-16/116)/7.787;j*=95.047;q*=100;G*=108.883;return[j,q,G]};q.lab.lch=function(E){const R=E[0];const N=E[1];const $=E[2];let j;const q=Math.atan2($,N);j=q*360/2/Math.PI;if(j<0){j+=360}const G=Math.sqrt(N*N+$*$);return[R,G,j]};q.lch.lab=function(E){const R=E[0];const N=E[1];const $=E[2];const j=$/360*2*Math.PI;const q=N*Math.cos(j);const G=N*Math.sin(j);return[R,q,G]};q.rgb.ansi16=function(E,R=null){const[N,$,j]=E;let G=R===null?q.rgb.hsv(E)[2]:R;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round(j/255)<<2|Math.round($/255)<<1|Math.round(N/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const R=E[0];const N=E[1];const $=E[2];if(R===N&&N===$){if(R<8){return 16}if(R>248){return 231}return Math.round((R-8)/247*24)+232}const j=16+36*Math.round(R/255*5)+6*Math.round(N/255*5)+Math.round($/255*5);return j};q.ansi16.rgb=function(E){let R=E%10;if(R===0||R===7){if(E>50){R+=3.5}R=R/10.5*255;return[R,R,R]}const N=(~~(E>50)+1)*.5;const $=(R&1)*N*255;const j=(R>>1&1)*N*255;const q=(R>>2&1)*N*255;return[$,j,q]};q.ansi256.rgb=function(E){if(E>=232){const R=(E-232)*10+8;return[R,R,R]}E-=16;let R;const N=Math.floor(E/36)/5*255;const $=Math.floor((R=E%36)/6)/5*255;const j=R%6/5*255;return[N,$,j]};q.rgb.hex=function(E){const R=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const N=R.toString(16).toUpperCase();return"000000".substring(N.length)+N};q.hex.rgb=function(E){const R=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!R){return[0,0,0]}let N=R[0];if(R[0].length===3){N=N.split("").map((E=>E+E)).join("")}const $=parseInt(N,16);const j=$>>16&255;const q=$>>8&255;const G=$&255;return[j,q,G]};q.rgb.hcg=function(E){const R=E[0]/255;const N=E[1]/255;const $=E[2]/255;const j=Math.max(Math.max(R,N),$);const q=Math.min(Math.min(R,N),$);const G=j-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if(j===R){ae=(N-$)/G%6}else if(j===N){ae=2+($-R)/G}else{ae=4+(R-N)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=N<.5?2*R*N:2*R*(1-N);let j=0;if($<1){j=(N-.5*$)/(1-$)}return[E[0],$*100,j*100]};q.hsv.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=R*N;let j=0;if($<1){j=(N-$)/(1-$)}return[E[0],$*100,j*100]};q.hcg.rgb=function(E){const R=E[0]/360;const N=E[1]/100;const $=E[2]/100;if(N===0){return[$*255,$*255,$*255]}const j=[0,0,0];const q=R%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:j[0]=1;j[1]=G;j[2]=0;break;case 1:j[0]=ie;j[1]=1;j[2]=0;break;case 2:j[0]=0;j[1]=1;j[2]=G;break;case 3:j[0]=0;j[1]=ie;j[2]=1;break;case 4:j[0]=G;j[1]=0;j[2]=1;break;default:j[0]=1;j[1]=0;j[2]=ie}ae=(1-N)*$;return[(N*j[0]+ae)*255,(N*j[1]+ae)*255,(N*j[2]+ae)*255]};q.hcg.hsv=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);let j=0;if($>0){j=R/$}return[E[0],j*100,$*100]};q.hcg.hsl=function(E){const R=E[1]/100;const N=E[2]/100;const $=N*(1-R)+.5*R;let j=0;if($>0&&$<.5){j=R/(2*$)}else if($>=.5&&$<1){j=R/(2*(1-$))}return[E[0],j*100,$*100]};q.hcg.hwb=function(E){const R=E[1]/100;const N=E[2]/100;const $=R+N*(1-R);return[E[0],($-R)*100,(1-$)*100]};q.hwb.hcg=function(E){const R=E[1]/100;const N=E[2]/100;const $=1-N;const j=$-R;let q=0;if(j<1){q=($-j)/(1-j)}return[E[0],j*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const R=Math.round(E[0]/100*255)&255;const N=(R<<16)+(R<<8)+R;const $=N.toString(16).toUpperCase();return"000000".substring($.length)+$};q.rgb.gray=function(E){const R=(E[0]+E[1]+E[2])/3;return[R/255*100]}},76843:(E,R,N)=>{const $=N(33775);const j=N(2581);const q={};const G=Object.keys($);function wrapRaw(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}return E(R)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...R){const N=R[0];if(N===undefined||N===null){return N}if(N.length>1){R=N}const $=E(R);if(typeof $==="object"){for(let E=$.length,R=0;R{q[E]={};Object.defineProperty(q[E],"channels",{value:$[E].channels});Object.defineProperty(q[E],"labels",{value:$[E].labels});const R=j(E);const N=Object.keys(R);N.forEach((N=>{const $=R[N];q[E][N]=wrapRounded($);q[E][N].raw=wrapRaw($)}))}));E.exports=q},2581:(E,R,N)=>{const $=N(33775);function buildGraph(){const E={};const R=Object.keys($);for(let N=R.length,$=0;${function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,R,N)=>{var $=N(76052);var j=N(92406).D;var q=N(78864);var G=N(71017);var ie=N(46233);var ae=N(72464);var le=N(81886);var _e=365.259641*24*60*60*1e3;var Ee=37;var we=1;var Ie=2;function isVersionsMatch(E,R){return(E+".").indexOf(R+".")===0}function isEolReleased(E){var R=E.slice(1);return $.some((function(E){return isVersionsMatch(E.version,R)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var R=E;if(E.split(".").length===3){R=E.split(".").slice(0,-1).join(".")}return R}function nameMapper(E){return function mapName(R){return E+" "+R}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,R){if(E.length===0)return[];var N=uniq(E.map(getMajor));var $=N[N.length-R];if(!$){return E}var j=[];for(var q=E.length-1;q>=0;q--){if($>getMajor(E[q]))break;j.unshift(E[q])}return j}function uniq(E){var R=[];for(var N=0;N"){return function(E){return parseFloat(E)>R}}else if(E===">="){return function(E){return parseFloat(E)>=R}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,R)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(R,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,R){if(ER)return+1;return 0}function compareSemver(E,R){return compare(parseInt(E[0]),parseInt(R[0]))||compare(parseInt(E[1]||"0"),parseInt(R[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(R[2]||"0"))}function semverFilterLoose(E,R){R=R.split(".").map(parseSimpleInt);if(typeof R[1]==="undefined"){R[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,R)>=0}}}function compareSemverLoose(E,R){if(E[0]!==R[0]){return E[0]=E}));return N.concat(q.map(nameMapper(j.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,R){E.versions=E.versions.map((function(E){return R[E]||E}));E.released=E.versions.map((function(E){return R[E]||E}));var N={};for(var $ in E.releaseDate){N[R[$]||$]=E.releaseDate[$]}E.releaseDate=N;return E}function byName(E,R){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(R.mobileToDesktop&&browserslist.desktopNames[E]){var N=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),N)}else{var $=cloneData(N);$.name=E;if(E==="op_mob"){$=mapVersions($,{"10.0-10.1":"10"})}return $}}return browserslist.data[E]}function normalizeAndroidVersions(E,R){var N=Ee;var $=R[R.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(R.slice(N-$-1))}function normalizeAndroidData(E,R){E.released=normalizeAndroidVersions(E.released,R.released);E.versions=normalizeAndroidVersions(E.versions,R.versions);return E}function checkName(E,R){var N=byName(E,R);if(!N)throw new ae("Unknown browser "+E);return N}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,R,N){if(N.mobileToDesktop)return E;var $=browserslist.data.android.released;var j=$[$.length-1];var q=j-Ee-R;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,R){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,N,$){var j=N.queryString;var q=j.indexOf("not ")===0;if(q){if($===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+j+"`")}j=j.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=le.clearCaches;browserslist.parseConfig=le.parseConfig;browserslist.readConfig=le.readConfig;browserslist.findConfig=le.findConfig;browserslist.loadConfig=le.loadConfig;browserslist.coverage=function(E,R){var N;if(typeof R==="undefined"){N=browserslist.usage.global}else if(R==="my stats"){var $={};$.path=G.resolve?G.resolve("."):".";var j=le.getStat($);if(!j){throw new ae("Custom usage statistics was not provided")}N={};for(var q in j){fillUsage(N,q,j[q])}}else if(typeof R==="string"){if(R.length>2){R=R.toLowerCase()}else{R=R.toUpperCase()}le.loadCountry(browserslist.usage,R,browserslist.data);N=browserslist.usage[R]}else{if("dataByBrowser"in R){R=R.dataByBrowser}N={};for(var ie in R){for(var _e in R[ie]){N[ie+" "+_e]=R[ie][_e]}}}return E.reduce((function(E,R){var $=N[R];if($===undefined){$=N[R.replace(/ \S+$/," 0")]}return E+($||0)}),0)};function nodeQuery(E,R){var N=$.filter((function(E){return E.name==="nodejs"}));var j=N.filter((function(E){return isVersionsMatch(E.version,R)}));if(j.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of Node.js")}}return["node "+j[j.length-1].version]}function sinceQuery(E,R,N,$){R=parseInt(R);N=parseInt(N||"01")-1;$=parseInt($||"01");return filterByYear(Date.UTC(R,N,$,0,0,0),E)}function coverQuery(E,R,N){R=parseFloat(R);var $=browserslist.usage.global;if(N){if(N.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}$=E.customUsage}else{var j;if(N.length===2){j=N.toUpperCase()}else{j=N.toLowerCase()}le.loadCountry(browserslist.usage,j,browserslist.data);$=browserslist.usage[j]}}var q=Object.keys($).sort((function(E,R){return $[R]-$[E]}));var G=0;var ie=[];var _e;for(var Ee=0;Ee<=q.length;Ee++){_e=q[Ee];if($[_e]===0)break;G+=$[_e];ie.push(_e);if(G>=R)break}return ie}var Te=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=getMajorVersions(j.released,R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,R){return Object.keys(j).reduce((function(N,$){var j=byName($,E);if(!j)return N;var q=j.released.slice(-R);q=q.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,R,E)}return N.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,R){var N=getMajorVersions(Object.keys(ie),R);return N.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=getMajorVersions($.released,R);var q=j.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,R,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,R){return Object.keys(ie).slice(-R).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,R,N){var $=checkName(N,E);var j=$.released.slice(-R).map(nameMapper($.name));if($.name==="android"){j=filterAndroid(j,R,E)}return j}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys(j).reduce((function(R,N){var $=byName(N,E);if(!$)return R;var j=$.versions.filter((function(E){return $.released.indexOf(E)===-1}));j=j.map(nameMapper($.name));return R.concat(j)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,R){var N=checkName(R,E);return N.versions.filter((function(E){return N.released.indexOf(E)===-1})).map(nameMapper(N.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,R){return filterByYear(Date.now()-_e*R,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,R,N){N=parseFloat(N);var $=browserslist.usage.global;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,R,N){N=parseFloat(N);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var $=E.customUsage;return Object.keys($).reduce((function(E,j){if(R===">"){if($[j]>N){E.push(j)}}else if(R==="<"){if($[j]=N){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,R,N,$){N=parseFloat(N);var j=le.loadStat(E,$,browserslist.data);if(j){E.customUsage={};for(var q in j){fillUsage(E.customUsage,q,j[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,$){if(R===">"){if(G[$]>N){E.push($)}}else if(R==="<"){if(G[$]=N){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,R,N,$){N=parseFloat(N);if($.length===2){$=$.toUpperCase()}else{$=$.toLowerCase()}le.loadCountry(browserslist.usage,$,browserslist.data);var j=browserslist.usage[$];return Object.keys(j).reduce((function(E,$){if(R===">"){if(j[$]>N){E.push($)}}else if(R==="<"){if(j[$]=N){E.push($)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,R){le.loadFeature(browserslist.cache,R);var N=browserslist.cache[R];return Object.keys(N).reduce((function(E,R){var $=N[R];if($.indexOf("y")>=0||$.indexOf("a")>=0){E.push(R)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(R);var j=normalizeElectron(N);if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}R=parseFloat(R);N=parseFloat(N);return Object.keys(ie).filter((function(E){var $=parseFloat(E);return $>=R&&$<=N})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(semverFilterLoose(">=",R)).filter(semverFilterLoose("<=",N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,R,N,$){var j=checkName(R,E);N=parseFloat(normalizeVersion(j,N)||N);$=parseFloat(normalizeVersion(j,$)||$);function filter(E){var R=parseFloat(E);return R>=N&&R<=$}return j.released.filter(filter).map(nameMapper(j.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var $=normalizeElectron(N);return Object.keys(ie).filter(generateFilter(R,$)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,R,N){var j=$.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return j.filter(generateSemverFilter(R,N)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,R,N,$){var j=checkName(R,E);var q=browserslist.versionAliases[j.name][$];if(q){$=q}return j.released.filter(generateFilter(N,$)).map((function(E){return j.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,R){var N=normalizeElectron(R);var $=ie[N];if(!$){throw new ae("Unknown version "+R+" of electron")}return["chrome "+$]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[le.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var R=Date.now();var N=Object.keys(q).filter((function(E){return RDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(N,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,R,N){if(/^tp$/i.test(N))N="TP";var $=checkName(R,E);var j=normalizeVersion($,N);if(j){N=j}else{if(N.indexOf(".")===-1){j=N+".0"}else{j=N.replace(/\.0$/,"")}j=normalizeVersion($,j);if(j){N=j}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of "+R)}}return[$.name+" "+N]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,R){return resolve(le.loadQueries(E,R),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var R=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(R,E)}},{regexp:/^(\w+)$/i,select:function(E,R){if(byName(R,E)){throw new ae("Specify versions in Browserslist query for browser "+R)}else{throw unknownQuery(R)}}}];(function(){for(var E in j){var R=j[E];browserslist.data[E]={name:E,versions:normalize(j[E].versions),released:normalize(j[E].versions.slice(0,-3)),releaseDate:j[E].release_date};fillUsage(browserslist.usage.global,E,R.usage_global);browserslist.versionAliases[E]={};for(var N=0;N{var $=N(30048)["default"];var j=N(24356)["default"];var q=N(71017);var G=N(57147);var ie=N(72464);var ae=/^\s*\[(.+)]\s*$/;var le=/^browserslist-config-/;var _e=/@[^/]+\/browserslist-config(-|$|\/)/;var Ee=6*30*24*60*60*1e3;var we="Browserslist config should be a string or an array "+"of strings with browser queries";var Ie=false;var Me={};var Te={};function checkExtend(E){var R=" Use `dangerousExtend` option to disable.";if(!le.test(E)&&!_e.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+R)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+R)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+R)}}function isFile(E){if(E in Me){return Me[E]}var R=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){Me[E]=R}return R}function eachParent(E,R){var N=isFile(E)?q.dirname(E):E;var $=q.resolve(N);do{var j=R($);if(typeof j!=="undefined")return j}while($!==($=q.dirname($)));return undefined}function check(E){if(Array.isArray(E)){for(var R=0;R{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,R,N)=>{const{browsers:$}=N(59307);const j=N(57917).browserVersions;const q=N(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((R,N)=>{R[j[N]]=E[N];return R}),{})}E.exports.D=Object.keys(q).reduce(((E,R)=>{let N=q[R];E[$[R]]=Object.keys(N).reduce(((E,R)=>{if(R==="A"){E.usage_global=unpackBrowserVersions(N[R])}else if(R==="C"){E.versions=N[R].reduce(((E,R)=>{if(R===""){E.push(null)}else{E.push(j[R])}return E}),[])}else if(R==="D"){E.prefix_exceptions=unpackBrowserVersions(N[R])}else if(R==="E"){E.browser=N[R]}else if(R==="F"){E.release_date=Object.keys(N[R]).reduce(((E,$)=>{E[j[$]]=N[R][$];return E}),{})}else{E.prefix=N[R]}return E}),{});return E}),{})},57917:(E,R,N)=>{E.exports.browserVersions=N(5682)},59307:(E,R,N)=>{E.exports.browsers=N(73238)},30048:(E,R,N)=>{const $=N(54994);const j=N(44909);const{browsers:q}=N(59307);const G=N(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let R=Object.keys(j).reduce(((R,N)=>{if(E&j[N])R.push(N);return R}),[]);let N=E>>7;let $=[];while(N){let E=Math.floor(Math.log(N)/ie)+1;$.unshift(`#${E}`);N-=Math.pow(2,E-1)}return R.concat($).join(" ")}function unpackFeature(E){let R={status:$[E.B],title:E.C};R.stats=Object.keys(E.A).reduce(((R,N)=>{let $=E.A[N];R[q[N]]=Object.keys($).reduce(((E,R)=>{let N=$[R].split(" ");let j=unpackSupport(R);N.forEach((R=>E[G[R]]=j));return E}),{});return R}),{});return R}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,R,N)=>{const{browsers:$}=N(59307);function unpackRegion(E){return Object.keys(E).reduce(((R,N)=>{let j=E[N];R[$[N]]=Object.keys(j).reduce(((E,R)=>{let N=j[R];if(R==="_"){N.split(" ").forEach((R=>E[R]=null))}else{E[R]=N}return E}),{});return R}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,R,N)=>{"use strict";const $=N(11207);const{stdout:j,stderr:q}=N(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=N(88445);const{isArray:ae}=Array;const le=["ansi","ansi","ansi256","ansi16m"];const _e=Object.create(null);const applyOptions=(E,R={})=>{if(R.level&&!(Number.isInteger(R.level)&&R.level>=0&&R.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const N=j?j.level:0;E.level=R.level===undefined?N:R.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const R={};applyOptions(R,E);R.template=(...E)=>chalkTag(R.template,...E);Object.setPrototypeOf(R,Chalk.prototype);Object.setPrototypeOf(R.template,R);R.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};R.template.Instance=ChalkClass;return R.template};function Chalk(E){return chalkFactory(E)}for(const[E,R]of Object.entries($)){_e[E]={get(){const N=createBuilder(this,createStyler(R.open,R.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:N});return N}}}_e.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const Ee=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of Ee){_e[E]={get(){const{level:R}=this;return function(...N){const j=createStyler($.color[le[R]][E](...N),$.color.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}for(const E of Ee){const R="bg"+E[0].toUpperCase()+E.slice(1);_e[R]={get(){const{level:R}=this;return function(...N){const j=createStyler($.bgColor[le[R]][E](...N),$.bgColor.close,this._styler);return createBuilder(this,j,this._isEmpty)}}}}const we=Object.defineProperties((()=>{}),{..._e,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,R,N)=>{let $;let j;if(N===undefined){$=E;j=R}else{$=N.openAll+E;j=R+N.closeAll}return{open:E,close:R,openAll:$,closeAll:j,parent:N}};const createBuilder=(E,R,N)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,we);builder._generator=E;builder._styler=R;builder._isEmpty=N;return builder};const applyStyle=(E,R)=>{if(E.level<=0||!R){return E._isEmpty?"":R}let N=E._styler;if(N===undefined){return R}const{openAll:$,closeAll:j}=N;if(R.indexOf("")!==-1){while(N!==undefined){R=G(R,N.close,N.open);N=N.parent}}const q=R.indexOf("\n");if(q!==-1){R=ie(R,j,$,q)}return $+R+j};let Ie;const chalkTag=(E,...R)=>{const[$]=R;if(!ae($)||!ae($.raw)){return R.join(" ")}const j=R.slice(1);const q=[$.raw[0]];for(let E=1;E<$.length;E++){q.push(String(j[E-1]).replace(/[{}\\]/g,"\\$&"),String($.raw[E]))}if(Ie===undefined){Ie=N(35702)}return Ie(E,q.join(""))};Object.defineProperties(Chalk.prototype,_e);const Me=Chalk();Me.supportsColor=j;Me.stderr=Chalk({level:q?q.level:0});Me.stderr.supportsColor=q;E.exports=Me},35702:E=>{"use strict";const R=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const N=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const $=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const j=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const R=E[0]==="u";const N=E[1]==="{";if(R&&!N&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(R&&N){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,R){const N=[];const q=R.trim().split(/\s*,\s*/g);let G;for(const R of q){const q=Number(R);if(!Number.isNaN(q)){N.push(q)}else if(G=R.match($)){N.push(G[2].replace(j,((E,R,N)=>R?unescape(R):N)))}else{throw new Error(`Invalid Chalk template style argument: ${R} (in style '${E}')`)}}return N}function parseStyle(E){N.lastIndex=0;const R=[];let $;while(($=N.exec(E))!==null){const E=$[1];if($[2]){const N=parseArguments(E,$[2]);R.push([E].concat(N))}else{R.push([E])}}return R}function buildStyle(E,R){const N={};for(const E of R){for(const R of E.styles){N[R[0]]=E.inverse?null:R.slice(1)}}let $=E;for(const[E,R]of Object.entries(N)){if(!Array.isArray(R)){continue}if(!(E in $)){throw new Error(`Unknown Chalk style: ${E}`)}$=R.length>0?$[E](...R):$[E]}return $}E.exports=(E,N)=>{const $=[];const j=[];let q=[];N.replace(R,((R,N,G,ie,ae,le)=>{if(N){q.push(unescape(N))}else if(ie){const R=q.join("");q=[];j.push($.length===0?R:buildStyle(E,$)(R));$.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if($.length===0){throw new Error("Found extraneous } in Chalk template literal")}j.push(buildStyle(E,$)(q.join("")));q=[];$.pop()}else{q.push(le)}}));j.push(q.join(""));if($.length>0){const E=`Chalk template literal is missing ${$.length} closing bracket${$.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return j.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,R,N)=>{let $=E.indexOf(R);if($===-1){return E}const j=R.length;let q=0;let G="";do{G+=E.substr(q,$-q)+R+N;q=$+j;$=E.indexOf(R,q)}while($!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,R,N,$)=>{let j=0;let q="";do{const G=E[$-1]==="\r";q+=E.substr(j,(G?$-1:$)-j)+R+(G?"\r\n":"\n")+N;j=$+1;$=E.indexOf("\n",j)}while($!==-1);q+=E.substr(j);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(5115);var j=N(12781);function evCommon(){var E=process.hrtime();var R=E[0]*1e6+Math.round(E[1]/1e3);return{ts:R,pid:process.pid,tid:process.pid}}var q=function(E){$.__extends(Tracer,E);function Tracer(R){if(R===void 0){R={}}var N=E.call(this)||this;N.noStream=false;N.events=[];if(typeof R!=="object"){throw new Error("Invalid options passed (must be an object)")}if(R.parent!=null&&typeof R.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(R.fields!=null&&typeof R.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(R.objectMode!=null&&(R.objectMode!==true&&R.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}N.noStream=R.noStream||false;N.parent=R.parent;if(N.parent){N.fields=Object.assign({},R.parent&&R.parent.fields)}else{N.fields={}}if(R.fields){Object.assign(N.fields,R.fields)}if(!N.fields.cat){N.fields.cat="default"}else if(Array.isArray(N.fields.cat)){N.fields.cat=N.fields.cat.join(",")}if(!N.fields.args){N.fields.args={}}if(N.parent){N._push=N.parent._push.bind(N.parent)}else{N._objectMode=Boolean(R.objectMode);var $={objectMode:N._objectMode};if(N._objectMode){N._push=N.push}else{N._push=N._pushString;$.encoding="utf8"}j.Readable.call(N,$)}return N}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,R=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},93349:(E,R)=>{function isArray(E){if(Array.isArray){return Array.isArray(E)}return objectToString(E)==="[object Array]"}R.isArray=isArray;function isBoolean(E){return typeof E==="boolean"}R.isBoolean=isBoolean;function isNull(E){return E===null}R.isNull=isNull;function isNullOrUndefined(E){return E==null}R.isNullOrUndefined=isNullOrUndefined;function isNumber(E){return typeof E==="number"}R.isNumber=isNumber;function isString(E){return typeof E==="string"}R.isString=isString;function isSymbol(E){return typeof E==="symbol"}R.isSymbol=isSymbol;function isUndefined(E){return E===void 0}R.isUndefined=isUndefined;function isRegExp(E){return objectToString(E)==="[object RegExp]"}R.isRegExp=isRegExp;function isObject(E){return typeof E==="object"&&E!==null}R.isObject=isObject;function isDate(E){return objectToString(E)==="[object Date]"}R.isDate=isDate;function isError(E){return objectToString(E)==="[object Error]"||E instanceof Error}R.isError=isError;function isFunction(E){return typeof E==="function"}R.isFunction=isFunction;function isPrimitive(E){return E===null||typeof E==="boolean"||typeof E==="number"||typeof E==="string"||typeof E==="symbol"||typeof E==="undefined"}R.isPrimitive=isPrimitive;R.isBuffer=Buffer.isBuffer;function objectToString(E){return Object.prototype.toString.call(E)}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},57235:(E,R,N)=>{"use strict";const $=N(83881);const j=N(22471);E.exports=class AliasFieldPlugin{constructor(E,R,N){this.source=E;this.field=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((N,q,G)=>{if(!N.descriptionFileData)return G();const ie=j(E,N);if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const le=ae[ie];const _e=ae[ie.replace(/^\.\//,"")];const Ee=typeof le!=="undefined"?le:_e;if(Ee===ie)return G();if(Ee===undefined)return G();if(Ee===false){const E={...N,path:false};return G(null,E)}const we={...N,path:N.descriptionFileRoot,request:Ee,fullySpecified:false};E.doResolve(R,we,"aliased from description file "+N.descriptionFilePath+" with mapping '"+ie+"' to '"+Ee+"'",q,((E,R)=>{if(E)return G(E);if(R===undefined)return G(null,null);G(null,R)}))}))}}},22002:(E,R,N)=>{"use strict";const $=N(43556);E.exports=class AliasPlugin{constructor(E,R,N){this.source=E;this.options=Array.isArray(R)?R:[R];this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((N,j,q)=>{const G=N.request||N.path;if(!G)return q();$(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&G.startsWith(q.name+"/")){const le=G.substr(q.name.length);const resolveWithAlias=($,ie)=>{if($===false){const E={...N,path:false};return ie(null,E)}if(G!==$&&!G.startsWith($+"/")){ae=true;const G=$+le;const _e={...N,request:G,fullySpecified:false};return E.doResolve(R,_e,"aliased with mapping '"+q.name+"': '"+$+"' to '"+G+"'",j,((E,R)=>{if(E)return ie(E);if(R)return ie(null,R);return ie()}))}return ie()};const stoppingCallback=(E,R)=>{if(E)return ie(E);if(R)return ie(null,R);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return $(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,R,N){this.source=E;this.appending=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((N,$,j)=>{const q={...N,path:N.path+this.appending,relativePath:N.relativePath&&N.relativePath+this.appending};E.doResolve(R,q,this.appending,$,j)}))}}},67703:(E,R,N)=>{"use strict";const $=N(77282).nextTick;const dirname=E=>{let R=E.length-1;while(R>=0){const N=E.charCodeAt(R);if(N===47||N===92)break;R--}if(R<0)return"";return E.slice(0,R)};const runCallbacks=(E,R,N)=>{if(E.length===1){E[0](R,N);E.length=0;return}let $;for(const j of E){try{j(R,N)}catch(E){if(!$)$=E}}E.length=0;if($)throw $};class OperationMergerBackend{constructor(E,R,N){this._provider=E;this._syncProvider=R;this._providerContext=N;this._activeAsyncOperations=new Map;this.provide=this._provider?(R,N,$)=>{if(typeof N==="function"){$=N;N=undefined}if(N){return this._provider.call(this._providerContext,R,N,$)}if(typeof R!=="string"){$(new TypeError("path must be a string"));return}let j=this._activeAsyncOperations.get(R);if(j){j.push($);return}this._activeAsyncOperations.set(R,j=[$]);E(R,((E,N)=>{this._activeAsyncOperations.delete(R);runCallbacks(j,E,N)}))}:null;this.provideSync=this._syncProvider?(E,R)=>this._syncProvider.call(this._providerContext,E,R):null}purge(){}purgeParent(){}}const j=0;const q=1;const G=2;class CacheBackend{constructor(E,R,N,$){this._duration=E;this._provider=R;this._syncProvider=N;this._providerContext=$;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let R=5e3;R{this._activeAsyncOperations.delete(E);this._storeResult(E,R,N);this._enterAsyncMode();runCallbacks(G,R,N)}))}provideSync(E,R){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(R){return this._syncProvider.call(this._providerContext,E,R)}if(this._mode===q){this._runDecays()}let N=this._data.get(E);if(N!==undefined){if(N.err)throw N.err;return N.result}const $=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let j;try{j=this._syncProvider.call(this._providerContext,E)}catch(R){this._storeResult(E,R,undefined);this._enterSyncModeWhenIdle();if($)runCallbacks($,R,undefined);throw R}this._storeResult(E,undefined,j);this._enterSyncModeWhenIdle();if($)runCallbacks($,undefined,j);return j}purge(E){if(!E){if(this._mode!==j){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[R,N]of this._data){if(R.startsWith(E)){this._data.delete(R);N.level.delete(R)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[R,N]of this._data){for(const $ of E){if(R.startsWith($)){this._data.delete(R);N.level.delete(R);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const R=new Set;for(const N of E){R.add(dirname(N))}this.purge(R)}}_storeResult(E,R,N){if(this._data.has(E))return;const $=this._levels[this._currentLevel];this._data.set(E,{err:R,result:N,level:$});$.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const R=this._levels[E];this._currentLevel=E;for(let E of R){this._data.delete(E)}R.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==j){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case j:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===j)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const R=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(R.unref)R.unref();this._timeout=R}_enterSyncModeWhenIdle(){if(this._mode===j){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=j;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,R,N,$)=>{if(E>0){return new CacheBackend(E,R,N,$)}return new OperationMergerBackend(R,N,$)};E.exports=class CachedInputFileSystem{constructor(E,R){this.fileSystem=E;this._lstatBackend=createBackend(R,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const N=this._lstatBackend.provide;this.lstat=N;const $=this._lstatBackend.provideSync;this.lstatSync=$;this._statBackend=createBackend(R,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const j=this._statBackend.provide;this.stat=j;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(R,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(R,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const le=this._readFileBackend.provideSync;this.readFileSync=le;this._readJsonBackend=createBackend(R,this.fileSystem.readJson||this.readFile&&((E,R)=>{this.readFile(E,((E,N)=>{if(E)return R(E);if(!N||N.length===0)return R(new Error("No file content"));let $;try{$=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}R(null,$)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const R=this.readFileSync(E);const N=JSON.parse(R.toString("utf-8"));return N}),this.fileSystem);const _e=this._readJsonBackend.provide;this.readJson=_e;const Ee=this._readJsonBackend.provideSync;this.readJsonSync=Ee;this._readlinkBackend=createBackend(R,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const we=this._readlinkBackend.provide;this.readlink=we;const Ie=this._readlinkBackend.provideSync;this.readlinkSync=Ie}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,R,N)=>{"use strict";const $=N(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((N,j,q)=>{const G=$(N.path);const ie=E.join(N.path,G);const ae={...N,path:ie,relativePath:N.relativePath&&E.join(N.relativePath,G)};E.doResolve(R,ae,"using path: "+ie,j,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,R,N,$,j){this.source=E;this.test=R;this.message=N;this.allowAlternatives=$;this.target=j}apply(E){const R=E.ensureHook(this.target);const{test:N,message:$,allowAlternatives:j}=this;const q=Object.keys(N);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==N[E])return ae()}E.doResolve(R,G,$,ie,j?ae:(E,R)=>{if(E)return ae(E);if(R===undefined)return ae(null,null);ae(null,R)})}))}}},65943:(E,R,N)=>{"use strict";const $=N(83881);E.exports=class DescriptionFilePlugin{constructor(E,R,N,$){this.source=E;this.filenames=R;this.pathIsFile=N;this.target=$}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((N,j,q)=>{const G=N.path;if(!G)return q();const ie=this.pathIsFile?$.cdUp(G):G;if(!ie)return q();$.loadDescriptionFile(E,ie,this.filenames,N.descriptionFilePath?{path:N.descriptionFilePath,content:N.descriptionFileData,directory:N.descriptionFileRoot}:undefined,j,(($,ae)=>{if($)return q($);if(!ae){if(j.log)j.log(`No description file found in ${ie} or above`);return q()}const le="."+G.substr(ae.directory.length).replace(/\\/g,"/");const _e={...N,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:le};E.doResolve(R,_e,"using description file: "+ae.path+" (relative path: "+le+")",j,((E,R)=>{if(E)return q(E);if(R===undefined)return q(null,null);q(null,R)}))}))}))}}},83881:(E,R,N)=>{"use strict";const $=N(43556);function loadDescriptionFile(E,R,N,j,q,G){(function findDescriptionFile(){if(j&&j.directory===R){return G(null,j)}$(N,((N,$)=>{const j=E.join(R,N);if(E.fileSystem.readJson){E.fileSystem.readJson(j,((E,R)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add(j)}onJson(null,R)}))}else{E.fileSystem.readFile(j,((E,R)=>{if(E){if(q.missingDependencies){q.missingDependencies.add(j)}return $()}if(q.fileDependencies){q.fileDependencies.add(j)}let N;if(R){try{N=JSON.parse(R.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,N)}))}function onJson(E,N){if(E){if(q.log)q.log(j+" (directory description file): "+E);else E.message=j+" (directory description file): "+E;return $(E)}$(null,{content:N,directory:R,path:j})}}),((E,N)=>{if(E)return G(E);if(N){return G(null,N)}else{const E=cdUp(R);if(!E){return G()}else{R=E;return findDescriptionFile()}}}))})()}function getField(E,R){if(!E)return undefined;if(Array.isArray(R)){let N=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((N,$,j)=>{const q=E.fileSystem;const G=N.path;if(!G)return j();q.stat(G,((q,ie)=>{if(q||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return j()}if(!ie.isDirectory()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a directory");return j()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(R,N,`existing directory ${G}`,$,j)}))}))}}},5109:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processExportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const{checkExportsFieldTarget:ae}=N(67411);E.exports=class ExportsFieldPlugin{constructor(E,R,N,$){this.source=E;this.target=$;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((N,le,_e)=>{if(!N.descriptionFilePath)return _e();if(N.relativePath!=="."||N.request===undefined)return _e();const Ee=N.query||N.fragment?(N.request==="."?"./":N.request)+N.query+N.fragment:N.request;const we=j.getField(N.descriptionFileData,this.fieldName);if(!we)return _e();if(N.directory){return _e(new Error(`Resolving to directories is not possible with the exports field (request was ${Ee}/)`))}let Ie;try{let E=this.fieldProcessorCache.get(N.descriptionFileData);if(E===undefined){E=G(we);this.fieldProcessorCache.set(N.descriptionFileData,E)}Ie=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Exports field in ${N.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(Ie.length===0){return _e(new Error(`Package path ${Ee} is not exported from package ${N.descriptionFileRoot} (see exports field in ${N.descriptionFilePath})`))}q(Ie,((j,q)=>{const G=ie(j);if(!G)return q();const[_e,Ee,we]=G;const Ie=ae(_e);if(Ie){return q(Ie)}const Me={...N,request:undefined,path:$.join(N.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:we};E.doResolve(R,Me,"using exports field: "+j,le,q)}),((E,R)=>_e(E,R||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",(($,j,q)=>{const G=$.path;if(!G)return q();N.stat(G,((N,ie)=>{if(N||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return q()}if(!ie.isFile()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a file");return q()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(R,$,"existing file: "+G,j,q)}))}))}}},1825:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=N(43556);const{processImportsField:G}=N(4077);const{parseIdentifier:ie}=N(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,R,N,$,j){this.source=E;this.targetFile=$;this.targetPackage=j;this.conditionNames=R;this.fieldName=N;this.fieldProcessorCache=new WeakMap}apply(E){const R=E.ensureHook(this.targetFile);const N=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((le,_e,Ee)=>{if(!le.descriptionFilePath||le.request===undefined){return Ee()}const we=le.request+le.query+le.fragment;const Ie=j.getField(le.descriptionFileData,this.fieldName);if(!Ie)return Ee();if(le.directory){return Ee(new Error(`Resolving to directories is not possible with the imports field (request was ${we}/)`))}let Me;try{let E=this.fieldProcessorCache.get(le.descriptionFileData);if(E===undefined){E=G(Ie);this.fieldProcessorCache.set(le.descriptionFileData,E)}Me=E(we,this.conditionNames)}catch(E){if(_e.log){_e.log(`Imports field in ${le.descriptionFilePath} can't be processed: ${E}`)}return Ee(E)}if(Me.length===0){return Ee(new Error(`Package import ${we} is not imported from package ${le.descriptionFileRoot} (see imports field in ${le.descriptionFilePath})`))}q(Me,((j,q)=>{const G=ie(j);if(!G)return q();const[Ee,we,Ie]=G;switch(Ee.charCodeAt(0)){case ae:{const N={...le,request:undefined,path:$.join(le.descriptionFileRoot,Ee),relativePath:Ee,query:we,fragment:Ie};E.doResolve(R,N,"using imports field: "+j,_e,q);break}default:{const R={...le,request:Ee,relativePath:Ee,fullySpecified:true,query:we,fragment:Ie};E.doResolve(N,R,"using imports field: "+j,_e,q)}}}),((E,R)=>Ee(E,R||null)))}))}}},91521:E=>{"use strict";const R="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",(($,j,q)=>{const G=$.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===R){ie=G.indexOf("/",ie+1)}let ae,le,_e;if(ie<0){ae=G;le=".";_e=false}else{ae=G.slice(0,ie);le="."+G.slice(ie);_e=$.fullySpecified}const Ee={...$,path:E.join($.path,ae),relativePath:$.relativePath&&E.join($.relativePath,ae),request:le,fullySpecified:_e};E.doResolve(N,Ee,null,j,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((N,$,j)=>{const q={...N,path:E.join(N.path,N.request),relativePath:N.relativePath&&E.join(N.relativePath,N.request),request:undefined};E.doResolve(R,q,null,$,j)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const R=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,N,$)=>{if(!N.log)return $();const j=N.log;const q="["+R+"] ";if(E.path)j(q+"Resolving in directory: "+E.path);if(E.request)j(q+"Resolving request: "+E.request);if(E.module)j(q+"Request is an module request.");if(E.directory)j(q+"Request is a directory request.");if(E.query)j(q+"Resolving request query: "+E.query);if(E.fragment)j(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)j(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)j(q+"Relative path from description file is: "+E.relativePath);$()}))}}},26713:(E,R,N)=>{"use strict";const $=N(71017);const j=N(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,R,N){this.source=E;this.options=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((N,G,ie)=>{if(N.path!==N.descriptionFileRoot||N[q]===N.descriptionFilePath||!N.descriptionFilePath)return ie();const ae=$.basename(N.descriptionFilePath);let le=j.getField(N.descriptionFileData,this.options.name);if(!le||typeof le!=="string"||le==="."||le==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(le))le="./"+le;const _e={...N,request:le,module:false,directory:le.endsWith("/"),[q]:N.descriptionFilePath};return E.doResolve(R,_e,"use "+le+" from "+this.options.name+" in "+ae,G,ie)}))}}},76067:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,R,N){this.source=E;this.directories=[].concat(R);this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((N,q,G)=>{const ie=E.fileSystem;const ae=j(N.path).paths.map((R=>this.directories.map((N=>E.join(R,N))))).reduce(((E,R)=>{E.push.apply(E,R);return E}),[]);$(ae,(($,j)=>{ie.stat($,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...N,path:$,request:"./"+N.request,module:false};const ie="looking for modules in "+$;return E.doResolve(R,G,ie,q,j)}if(q.log)q.log($+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add($);return j()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,R,N){this.source=E;this.path=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((N,$,j)=>{const q={...N,path:this.path,request:"./"+N.request,module:false};E.doResolve(R,q,"looking for modules in "+this.path,$,j)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((N,$,j)=>{E.doResolve(R,N,null,$,j)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,R,N){this.source=E;this.requestOptions=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((N,$,j)=>{const q=E.parse(N.request);const G={...N,...q,...this.requestOptions};if(N.query&&!q.query){G.query=N.query}if(N.fragment&&!q.fragment){G.fragment=N.fragment}if(q&&$.log){if(q.module)$.log("Parsed request is a module");if(q.directory)$.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const N=G.fragment.endsWith("/");const q={...G,directory:N,request:G.request+(G.directory?"/":"")+(N?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(R,q,null,$,((N,q)=>{if(N)return j(N);if(q)return j(null,q);E.doResolve(R,G,null,$,j)}));return}E.doResolve(R,G,null,$,j)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,R,N){this.source=E;this.pnpApi=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((N,$,j)=>{const q=N.request;if(!q)return j();const G=`${N.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return j();const ae=ie[0];const le=`.${q.slice(ae.length)}`;let _e;let Ee;try{_e=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if($.fileDependencies){Ee=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if($.log){$.log(`request is not managed by the pnpapi`);for(const R of E.message.split("\n").filter(Boolean))$.log(` ${R}`)}return j()}return j(E)}if(_e===ae)return j();if(Ee&&$.fileDependencies){$.fileDependencies.add(Ee)}const we={...N,path:_e,request:le,ignoreSymlinks:true,fullySpecified:N.fullySpecified&&le!=="."};E.doResolve(R,we,`resolved by pnp to ${_e}`,$,((E,R)=>{if(E)return j(E);if(R)return j(null,R);return j(null,null)}))}))}}},33679:(E,R,N)=>{"use strict";const{AsyncSeriesBailHook:$,AsyncSeriesHook:j,SyncHook:q}=N(92960);const G=N(52227);const{parseIdentifier:ie}=N(48366);const{normalize:ae,cachedJoin:le,getType:_e,PathType:Ee}=N(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,R){return E.name+": ("+R.path+") "+(R.request||"")+(R.query||"")+(R.fragment||"")+(R.directory?" directory":"")+(R.module?" module":"")}constructor(E,R){this.fileSystem=E;this.options=R;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new $(["request","resolveContext"],"resolve"),result:new j(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){return this.hooks[E]=new $(["request","resolveContext"],E)}return R}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const R=this.hooks[E];if(!R){throw new Error(`Hook ${E} doesn't exist`)}return R}resolveSync(E,R,N){let $=undefined;let j=undefined;let q=false;this.resolve(E,R,N,{},((E,R)=>{$=E;j=R;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if($)throw $;if(j===undefined)throw new Error("No result");return j}resolve(E,R,N,$,j){if(!E||typeof E!=="object")return j(new Error("context argument is not an object"));if(typeof R!=="string")return j(new Error("path argument is not a string"));if(typeof N!=="string")return j(new Error("path argument is not a string"));if(!$)return j(new Error("resolveContext argument is not set"));const q={context:E,path:R,request:N};const G=`resolve '${N}' in '${R}'`;const finishResolved=E=>j(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const R=new Error("Can't "+G);R.details=E.join("\n");this.hooks.noResolve.call(q,R);return j(R)};if($.log){const E=$.log;const R=[];return this.doResolve(this.hooks.resolve,q,G,{log:N=>{E(N);R.push(N)},fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,N)=>{if(E)return j(E);if(N)return finishResolved(N);return finishWithoutResolve(R)}))}else{return this.doResolve(this.hooks.resolve,q,G,{log:undefined,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:$.stack},((E,R)=>{if(E)return j(E);if(R)return finishResolved(R);const N=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>N.push(E),stack:$.stack},((E,R)=>{if(E)return j(E);return finishWithoutResolve(N)}))}))}}doResolve(E,R,N,$,j){const q=Resolver.createStackEntry(E,R);let ie;if($.stack){ie=new Set($.stack);if($.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if($.log)$.log("abort resolving because of recursion");return j(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,R);if(E.isUsed()){const q=G({log:$.log,fileDependencies:$.fileDependencies,contextDependencies:$.contextDependencies,missingDependencies:$.missingDependencies,stack:ie},N);return E.callAsync(R,q,((E,R)=>{if(E)return j(E);if(R)return j(null,R);j()}))}else{j()}}parse(E){const R={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const N=ie(E);if(!N)return R;[R.request,R.query,R.fragment]=N;if(R.request.length>0){R.internal=this.isPrivate(E);R.module=this.isModule(R.request);R.directory=this.isDirectory(R.request);if(R.directory){R.request=R.request.substr(0,R.request.length-1)}}return R}isModule(E){return _e(E)===Ee.Normal}isPrivate(E){return _e(E)===Ee.Internal}isDirectory(E){return E.endsWith("/")}join(E,R){return le(E,R)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,R,N)=>{"use strict";const $=N(77282).versions;const j=N(33679);const{getType:q,PathType:G}=N(67411);const ie=N(64407);const ae=N(57235);const le=N(22002);const _e=N(40803);const Ee=N(61770);const we=N(65943);const Ie=N(32575);const Me=N(5109);const Te=N(87876);const Ne=N(1825);const Be=N(91521);const Le=N(88277);const je=N(26713);const ze=N(76067);const Ue=N(22433);const qe=N(12276);const Ge=N(71121);const He=N(10232);const We=N(77398);const Ve=N(46182);const Ke=N(89609);const Qe=N(68285);const Je=N(44362);const Xe=N(68029);const Ye=N(62216);const Ze=N(55187);function processPnpApiOption(E){if(E===undefined&&$.pnp){return N(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((R=>{const N={name:R,onlyModule:false,alias:E[R]};if(/\$$/.test(R)){N.onlyModule=true;N.name=R.substr(0,R.length-1)}return N})):E||[]}function createOptions(E){const R=new Set(E.mainFields||["main"]);const N=[];for(const E of R){if(typeof E==="string"){N.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){N.push({name:E,forceRelative:true})}else{N.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const R=q(E);return R===G.Normal||R===G.Relative})),mainFields:N,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}R.createResolver=function(E){const R=createOptions(E);const{alias:N,fallback:$,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:et,descriptionFiles:tt,enforceExtension:nt,exportsFields:rt,importsFields:st,extensions:it,fileSystem:ot,fullySpecified:lt,mainFields:ct,mainFiles:ut,modules:pt,plugins:dt,pnpApi:ft,resolveToContext:ht,preferRelative:mt,preferAbsolute:gt,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:_t,roots:xt}=R;const kt=dt.slice();const Et=bt?bt:new j(ot,R);Et.ensureHook("resolve");Et.ensureHook("internalResolve");Et.ensureHook("newInteralResolve");Et.ensureHook("parsedResolve");Et.ensureHook("describedResolve");Et.ensureHook("internal");Et.ensureHook("rawModule");Et.ensureHook("module");Et.ensureHook("resolveAsModule");Et.ensureHook("undescribedResolveInPackage");Et.ensureHook("resolveInPackage");Et.ensureHook("resolveInExistingDirectory");Et.ensureHook("relative");Et.ensureHook("describedRelative");Et.ensureHook("directory");Et.ensureHook("undescribedExistingDirectory");Et.ensureHook("existingDirectory");Et.ensureHook("undescribedRawFile");Et.ensureHook("rawFile");Et.ensureHook("file");Et.ensureHook("finalFile");Et.ensureHook("existingFile");Et.ensureHook("resolved");for(const{source:E,resolveOptions:R}of[{source:"resolve",resolveOptions:{fullySpecified:lt}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){kt.push(new Ye(E,G,vt,ie,`new-${E}`));kt.push(new Ge(`new-${E}`,R,"parsed-resolve"))}else{kt.push(new Ge(E,R,"parsed-resolve"))}}kt.push(new we("parsed-resolve",tt,false,"described-resolve"));kt.push(new qe("after-parsed-resolve","described-resolve"));kt.push(new qe("described-resolve","normal-resolve"));if($.length>0){kt.push(new le("described-resolve",$,"internal-resolve"))}if(N.length>0)kt.push(new le("normal-resolve",N,"internal-resolve"));q.forEach((E=>{kt.push(new ae("normal-resolve",E,"internal-resolve"))}));if(mt){kt.push(new Le("after-normal-resolve","relative"))}kt.push(new Ee("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));kt.push(new Ee("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(gt){kt.push(new Le("after-normal-resolve","relative"))}if(xt.size>0){kt.push(new Ke("after-normal-resolve",xt,"relative"))}if(!mt&&!gt){kt.push(new Le("after-normal-resolve","relative"))}st.forEach((E=>{kt.push(new Ne("internal",et,E,"relative","internal-resolve"))}));rt.forEach((E=>{kt.push(new Qe("raw-module",E,"resolve-as-module"))}));pt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){kt.push(new ze("raw-module",E.filter((E=>E!=="node_modules")),"module"));kt.push(new He("raw-module",ft,"undescribed-resolve-in-package"))}else{kt.push(new ze("raw-module",E,"module"))}}else{kt.push(new Ue("raw-module",E,"module"))}}));kt.push(new Be("module","resolve-as-module"));if(!ht){kt.push(new Ee("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}kt.push(new Ie("resolve-as-module","undescribed-resolve-in-package"));kt.push(new we("undescribed-resolve-in-package",tt,false,"resolve-in-package"));kt.push(new qe("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{kt.push(new Me("resolve-in-package",et,E,"relative"))}));kt.push(new qe("resolve-in-package","resolve-in-existing-directory"));kt.push(new Le("resolve-in-existing-directory","relative"));kt.push(new we("relative",tt,true,"described-relative"));kt.push(new qe("after-relative","described-relative"));if(ht){kt.push(new qe("described-relative","directory"))}else{kt.push(new Ee("described-relative",{directory:false},null,true,"raw-file"));kt.push(new Ee("described-relative",{fullySpecified:false},"as directory",true,"directory"))}kt.push(new Ie("directory","undescribed-existing-directory"));if(ht){kt.push(new qe("undescribed-existing-directory","resolved"))}else{kt.push(new we("undescribed-existing-directory",tt,false,"existing-directory"));ut.forEach((E=>{kt.push(new Ze("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{kt.push(new je("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{kt.push(new Ze("existing-directory",E,"undescribed-raw-file"))}));kt.push(new we("undescribed-raw-file",tt,true,"raw-file"));kt.push(new qe("after-undescribed-raw-file","raw-file"));kt.push(new Ee("raw-file",{fullySpecified:true},null,false,"file"));if(!nt){kt.push(new Xe("raw-file","no extension","file"))}it.forEach((E=>{kt.push(new _e("raw-file",E,"file"))}));if(N.length>0)kt.push(new le("file",N,"internal-resolve"));q.forEach((E=>{kt.push(new ae("file",E,"internal-resolve"))}));kt.push(new qe("file","final-file"));kt.push(new Te("final-file","existing-file"));if(yt)kt.push(new Je("existing-file","existing-file"));kt.push(new qe("existing-file","resolved"))}if(_t.size>0){kt.push(new We(Et.hooks.resolved,_t))}kt.push(new Ve(Et.hooks.resolved));for(const E of kt){if(typeof E==="function"){E.call(Et,Et)}else{E.apply(Et)}}return Et};function mergeFilteredToArray(E,R){const N=[];const $=new Set(E);for(const E of $){if(R(E)){const R=N.length>0?N[N.length-1]:undefined;if(Array.isArray(R)){R.push(E)}else{N.push([E])}}else{N.push(E)}}return N}},77398:E=>{"use strict";const R="/".charCodeAt(0);const N="\\".charCodeAt(0);const isInside=(E,$)=>{if(!E.startsWith($))return false;if(E.length===$.length)return true;const j=E.charCodeAt($.length);return j===R||j===N};E.exports=class RestrictionsPlugin{constructor(E,R){this.source=E;this.restrictions=R}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,R,N)=>{if(typeof E.path==="string"){const $=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside($,E)){if(R.log){R.log(`${$} is not inside of the restriction ${E}`)}return N(null,null)}}else if(!E.test($)){if(R.log){R.log(`${$} doesn't match the restriction ${E}`)}return N(null,null)}}}N()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((R,N,$)=>{const j={...R};if(N.log)N.log("reporting result "+j.path);E.hooks.result.callAsync(j,N,(E=>{if(E)return $(E);$(null,j)}))}))}}},89609:(E,R,N)=>{"use strict";const $=N(43556);class RootsPlugin{constructor(E,R,N){this.roots=Array.from(R);this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((N,j,q)=>{const G=N.request;if(!G)return q();if(!G.startsWith("/"))return q();$(this.roots,(($,q)=>{const ie=E.join($,G.slice(1));const ae={...N,path:ie,relativePath:N.relativePath&&ie};E.doResolve(R,ae,`root path ${$}`,j,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,R,N)=>{"use strict";const $=N(83881);const j="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,R,N){this.source=E;this.target=N;this.fieldName=R}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((N,q,G)=>{if(!N.descriptionFilePath)return G();const ie=N.request;if(!ie)return G();const ae=$.getField(N.descriptionFileData,this.fieldName);if(!ae)return G();const le=$.getField(N.descriptionFileData,"name");if(typeof le!=="string")return G();if(ie.startsWith(le)&&(ie.length===le.length||ie.charCodeAt(le.length)===j)){const $=`.${ie.slice(le.length)}`;const j={...N,request:$,path:N.descriptionFileRoot,relativePath:"."};E.doResolve(R,j,"self reference",q,G)}else{return G()}}))}}},44362:(E,R,N)=>{"use strict";const $=N(43556);const j=N(69835);const{getType:q,PathType:G}=N(67411);E.exports=class SymlinkPlugin{constructor(E,R){this.source=E;this.target=R}apply(E){const R=E.ensureHook(this.target);const N=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,le)=>{if(ie.ignoreSymlinks)return le();const _e=j(ie.path);const Ee=_e.seqments;const we=_e.paths;let Ie=false;let Me=-1;$(we,((E,R)=>{Me++;if(ae.fileDependencies)ae.fileDependencies.add(E);N.readlink(E,((E,N)=>{if(!E&&N){Ee[Me]=N;Ie=true;const E=q(N.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return R(null,Me)}}R()}))}),((N,$)=>{if(!Ie)return le();const j=typeof $==="number"?Ee.slice(0,$+1):Ee.slice();const q=j.reduceRight(((R,N)=>E.join(R,N)));const G={...ie,path:q};E.doResolve(R,G,"resolved symlink to "+q,ae,le)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const R=E.lstatSync;if(R){this.lstat=(N,$,j)=>{let q;try{q=R.call(E,N)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.lstatSync=(N,$)=>R.call(E,N,$)}this.stat=(R,N,$)=>{let j;try{j=$?E.statSync(R,N):E.statSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.statSync=(R,N)=>E.statSync(R,N);this.readdir=(R,N,$)=>{let j;try{j=E.readdirSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readdirSync=(R,N)=>E.readdirSync(R,N);this.readFile=(R,N,$)=>{let j;try{j=E.readFileSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readFileSync=(R,N)=>E.readFileSync(R,N);this.readlink=(R,N,$)=>{let j;try{j=E.readlinkSync(R)}catch(E){return($||N)(E)}($||N)(null,j)};this.readlinkSync=(R,N)=>E.readlinkSync(R,N);this.readJson=undefined;this.readJsonSync=undefined;const N=E.readJsonSync;if(N){this.readJson=(R,$,j)=>{let q;try{q=N.call(E,R)}catch(E){return(j||$)(E)}(j||$)(null,q)};this.readJsonSync=(R,$)=>N.call(E,R,$)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,R,N){this.source=E;this.message=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((N,$,j)=>{E.doResolve(R,N,this.message,$,j)}))}}},62216:E=>{"use strict";function getCacheId(E,R){return JSON.stringify({context:R?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,R,N,$,j){this.source=E;this.filterPredicate=R;this.withContext=$;this.cache=N;this.target=j}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((N,$,j)=>{if(!this.filterPredicate(N))return j();const q=getCacheId(N,this.withContext);const G=this.cache[q];if(G){return j(null,G)}E.doResolve(R,N,null,$,((E,R)=>{if(E)return j(E);if(R)return j(null,this.cache[q]=R);j()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,R,N){this.source=E;this.filename=R;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((N,$,j)=>{const q=E.join(N.path,this.filename);const G={...N,path:q,relativePath:N.relativePath&&E.join(N.relativePath,this.filename)};E.doResolve(R,G,"using path: "+q,$,j)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,R,N){let $=false;let j=undefined;if(E.log){if(R){j=N=>{if(!$){E.log(R);$=true}E.log(" "+N)}}else{j=E.log}}const q={log:j,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,R,N){if(E.length===0)return N();let $=0;const next=()=>{let j=undefined;R(E[$++],((R,q)=>{if(R||q!==undefined||$>=E.length){return N(R,q)}if(j===false)while(next());j=true}));if(!j)j=false;return j};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,R){if(typeof R.__innerRequest==="string"&&R.__innerRequest_request===R.request&&R.__innerRequest_relativePath===R.relativePath)return R.__innerRequest;let N;if(R.request){N=R.request;if(/^\.\.?(?:\/|$)/.test(N)&&R.relativePath){N=E.join(R.relativePath,N)}}else{N=R.relativePath}R.__innerRequest_request=R.request;R.__innerRequest_relativePath=R.relativePath;return R.__innerRequest=N}},69835:E=>{"use strict";E.exports=function getPaths(E){const R=E.split(/(.*?[\\/]+)/);const N=[E];const $=[R[R.length-1]];let j=R[R.length-1];E=E.substr(0,E.length-j.length-1);for(let q=R.length-2;q>2;q-=2){N.push(E);j=R[q];E=E.substr(0,E.length-j.length)||"/";$.push(j.substr(0,j.length-1))}j=R[1];$.push(j);N.push(j);return{paths:N,seqments:$}};E.exports.basename=function basename(E){const R=E.lastIndexOf("/"),N=E.lastIndexOf("\\");const $=R<0?N:N<0?R:R{"use strict";const $=N(15808);const j=N(67703);const q=N(57934);const G=new j($,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,R,N,$,j){if(typeof E==="string"){j=$;$=N;N=R;R=E;E=ie}if(typeof j!=="function"){j=$}ae.resolve(E,R,N,$,j)}const le=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,R,N){if(typeof E==="string"){N=R;R=E;E=ie}return le.resolveSync(E,R,N)}function create(E){E={fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$,j,q){if(typeof E==="string"){q=j;j=$;$=N;N=E;E=ie}if(typeof q!=="function"){q=j}R.resolve(E,N,$,j,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const R=q.createResolver(E);return function(E,N,$){if(typeof E==="string"){$=N;N=E;E=ie}return R.resolveSync(E,N,$)}}const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);Object.defineProperties(E,N);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:j,get CloneBasenamePlugin(){return N(94511)},get LogInfoPlugin(){return N(74934)},get forEachBail(){return N(43556)}})},4077:E=>{"use strict";const R="/".charCodeAt(0);const N=".".charCodeAt(0);const $="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,R,N){return function fieldProcessor($,j){$=R($);const q=findMatch($,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,j);if(ae===null)return[]}else{ae=G}const le=ie===$.length+1?undefined:ie<0?$.slice(-ie-1):$.slice(ie);return directMapping(le,ie<0,ae,j,N)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==N){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==R){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==$){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===R){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===R){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,$){if(E.charCodeAt(0)===R||E.charCodeAt(0)===N&&E.charCodeAt(1)!==R){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const j=E.charCodeAt(E.length-1)===R;if(j!==$){throw new Error($?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,N){const $=E.charCodeAt(E.length-1)===R;if($!==N){throw new Error(N?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,R){if(E.length===0){const E=R.files.get("");return E?[E,1]:null}if(R.children===null&&R.folder===null&&R.wildcards===null){const N=R.files.get(E);return N?[N,E.length+1]:null}let N=R;let $=0;let j=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=N.folder;if(E){if(q){q[0]=E;q[1]=-$-1}else{q=[E,-$-1]}}};const applyWildcardMappings=(E,R)=>{if(E){for(const[N,j]of E){if(R.startsWith(N)){if(!q){q=[j,$+N.length]}else if(q[1]<$+N.length){q[0]=j;q[1]=$+N.length}}}}};while(j!==-1){applyFolderMapping();const R=N.wildcards;if(!R&&N.children===null)return q;const G=E.slice($,j);applyWildcardMappings(R,G);if(N.children===null)return q;const ie=N.children.get(G);if(!ie){return q}N=ie;$=j+1;j=E.indexOf("/",$)}const G=$>0?E.slice($):E;const ie=N.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(N.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,R,N,$,j){if(N===null)return[];if(typeof N==="string"){return[targetMapping(E,R,N,j)]}const q=[];for(const G of N){if(typeof G==="string"){q.push(targetMapping(E,R,G,j));continue}const N=conditionalMapping(G,$);if(!N)continue;const ie=directMapping(E,R,N,$,j);for(const E of ie){q.push(E)}}return q}function targetMapping(E,R,N,$){if(E===undefined){$(N,false);return N}if(R){$(N,true);return N+E}$(N,false);return N.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,R){let N=[[E,Object.keys(E),0]];e:while(N.length>0){const[E,$,j]=N[N.length-1];const q=$.length-1;for(let G=j;G<$.length;G++){const j=$[G];if(G!==q){if(j==="default"){throw new Error("Default condition should be last one")}}else if(j==="default"){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}if(R.has(j)){const R=E[j];if(isConditionalMapping(R)){const E=R;N[N.length-1][2]=G+1;N.push([E,Object.keys(E),0]);continue e}return R}}N.pop()}return null}function createNode(){return{children:null,folder:null,wildcards:null,files:new Map}}function walkPath(E,R,N){if(R.length===0){E.folder=N;return}let $=E;let j=0;let q=R.indexOf("/",0);while(q!==-1){const E=R.slice(j,q);let N;if($.children===null){N=createNode();$.children=new Map;$.children.set(E,N)}else{N=$.children.get(E);if(!N){N=createNode();$.children.set(E,N)}}$=N;j=q+1;q=R.indexOf("/",j)}if(j>=R.length){$.folder=N}else{const E=j>0?R.slice(j):R;if(E.endsWith("*")){if($.wildcards===null)$.wildcards=new Map;$.wildcards.set(E.slice(0,-1),N)}else{$.files.set(E,N)}}}function buildExportsFieldPathTree(E){const $=createNode();if(typeof E==="string"){$.files.set("",E);return $}else if(Array.isArray(E)){$.files.set("",E.slice());return $}const j=Object.keys(E);for(let q=0;q{"use strict";const R=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const N=R.exec(E);if(!N)return null;return[N[1].replace(/\0(.)/g,"$1"),N[2]?N[2].replace(/\0(.)/g,"$1"):"",N[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,R,N)=>{"use strict";const $=N(71017);const j="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const le="a".charCodeAt(0);const _e="z".charCodeAt(0);const Ee=".".charCodeAt(0);const we=":".charCodeAt(0);const Ie=$.posix.normalize;const Me=$.win32.normalize;const Te=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});R.PathType=Te;const getType=E=>{switch(E.length){case 0:return Te.Empty;case 1:{const R=E.charCodeAt(0);switch(R){case Ee:return Te.Relative;case q:return Te.AbsolutePosix;case j:return Te.Internal}return Te.Normal}case 2:{const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case Ee:case q:return Te.Relative}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){if(R>=ie&&R<=ae||R>=le&&R<=_e){return Te.AbsoluteWin}}return Te.Normal}}const R=E.charCodeAt(0);switch(R){case Ee:{const R=E.charCodeAt(1);switch(R){case q:return Te.Relative;case Ee:{const R=E.charCodeAt(2);if(R===q)return Te.Relative;return Te.Normal}}return Te.Normal}case q:return Te.AbsolutePosix;case j:return Te.Internal}const N=E.charCodeAt(1);if(N===we){const N=E.charCodeAt(2);if((N===G||N===q)&&(R>=ie&&R<=ae||R>=le&&R<=_e)){return Te.AbsoluteWin}}return Te.Normal};R.getType=getType;const normalize=E=>{switch(getType(E)){case Te.Empty:return E;case Te.AbsoluteWin:return Me(E);case Te.Relative:{const R=Ie(E);return getType(R)===Te.Relative?R:`./${R}`}}return Ie(E)};R.normalize=normalize;const join=(E,R)=>{if(!R)return normalize(E);const N=getType(R);switch(N){case Te.AbsolutePosix:return Ie(R);case Te.AbsoluteWin:return Me(R)}switch(getType(E)){case Te.Normal:case Te.Relative:case Te.AbsolutePosix:return Ie(`${E}/${R}`);case Te.AbsoluteWin:return Me(`${E}\\${R}`)}switch(N){case Te.Empty:return E;case Te.Relative:{const R=Ie(E);return getType(R)===Te.Relative?R:`./${R}`}}return Ie(E)};R.join=join;const Ne=new Map;const cachedJoin=(E,R)=>{let N;let $=Ne.get(E);if($===undefined){Ne.set(E,$=new Map)}else{N=$.get(R);if(N!==undefined)return N}N=join(E,R);$.set(R,N);return N};R.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let R=2;let N=E.indexOf("/",2);let $=0;while(N!==-1){const j=E.slice(R,N);switch(j){case"..":{$--;if($<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:$++;break}R=N+1;N=E.indexOf("/",R)}};R.checkExportsFieldTarget=checkExportsFieldTarget},54448:(E,R,N)=>{var $=N(55757);function init(E,R,N){if(!!R&&typeof R!="string"){R=R.message||R.name}$(this,{type:E,name:E,cause:typeof R!="string"?R:N,message:R},"ewr")}function CustomError(E,R){Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,this.constructor);init.call(this,"CustomError",E,R)}CustomError.prototype=new Error;function createError(E,R,N){var err=function(N,$){init.call(this,R,N,$);if(R=="FilesystemError"){this.code=this.cause.code;this.path=this.cause.path;this.errno=this.cause.errno;this.message=(E.errno[this.cause.errno]?E.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")}Error.call(this);if(Error.captureStackTrace)Error.captureStackTrace(this,err)};err.prototype=!!N?new N:new CustomError;return err}E.exports=function(E){var ce=function(R,N){return createError(E,R,N)};return{CustomError:CustomError,FilesystemError:ce("FilesystemError"),createError:ce}}},80713:(E,R,N)=>{var $=E.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];E.exports.errno={};E.exports.code={};$.forEach((function(R){E.exports.errno[R.errno]=R;E.exports.code[R.code]=R}));E.exports.custom=N(54448)(E.exports);E.exports.create=E.exports.custom.createError},16950:(E,R,N)=>{"use strict";const $=N(78120);class Definition{constructor(E,R,N,$,j,q){this.type=E;this.name=R;this.node=N;this.parent=$;this.index=j;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,R,N,j){super($.Parameter,E,R,null,N,null);this.rest=j}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,R,N)=>{"use strict";const $=N(39491);const j=N(60018);const q=N(36337);const G=N(24552);const ie=N(78120);const ae=N(98699).Scope;const le=N(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,R){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const N in R){if(Object.prototype.hasOwnProperty.call(R,N)){const $=R[N];if(isHashObject($)){if(isHashObject(E[N])){updateDeeply(E[N],$)}else{E[N]=updateDeeply({},$)}}else{E[N]=$}}}return E}function analyze(E,R){const N=updateDeeply(defaultOptions(),R);const G=new j(N);const ie=new q(N,G);ie.visit(E);$(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:le,Reference:G,Variable:ie,Scope:ae,ScopeManager:j,analyze:analyze}},29630:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends j.Visitor{static isPattern(E){const R=E.type;return R===$.Identifier||R===$.ObjectPattern||R===$.ArrayPattern||R===$.SpreadElement||R===$.RestElement||R===$.AssignmentPattern}constructor(E,R,N){super(null,E);this.rootPattern=R;this.callback=N;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const R=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:R!==null&&R!==undefined&&R.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let R=0,N=E.elements.length;R{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const R=1;const N=2;const $=R|N;class Reference{constructor(E,R,N,$,j,q,G){this.identifier=E;this.from=R;this.tainted=false;this.resolved=null;this.flag=N;if(this.isWrite()){this.writeExpr=$;this.partial=q;this.init=G}this.__maybeImplicitGlobal=j}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=R;Reference.WRITE=N;Reference.RW=$;E.exports=Reference},36337:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(49112);const q=N(24552);const G=N(78120);const ie=N(29630);const ae=N(16950);const le=N(39491);const _e=ae.ParameterDefinition;const Ee=ae.Definition;function traverseIdentifierInPattern(E,R,N,$){const j=new ie(E,R,$);j.visit(R);if(N!==null&&N!==undefined){j.rightHandNodes.forEach(N.visit,N)}}class Importer extends j.Visitor{constructor(E,R){super(null,R.options);this.declaration=E;this.referencer=R}visitImport(E,R){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new Ee(G.ImportBinding,E,R,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const R=E.local||E.id;if(R){this.visitImport(R,E)}}ImportDefaultSpecifier(E){const R=E.local||E.id;this.visitImport(R,E)}ImportSpecifier(E){const R=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(R,E)}}}class Referencer extends j.Visitor{constructor(E,R){super(null,E);this.options=E;this.scopeManager=R;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const R=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return R}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,R,N,$){const j=this.currentScope();R.forEach((R=>{j.__referencing(E,q.WRITE,R.right,N,E!==R.left,$)}))}visitPattern(E,R,N){let $=R;let j=N;if(typeof R==="function"){j=R;$={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,$.processRightHandNodes?this:null,j)}visitFunction(E){let R,N;if(E.type===$.FunctionDeclaration){this.currentScope().__define(E.id,new Ee(G.FunctionName,E.id,E,null,null,null))}if(E.type===$.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const j=this;function visitPatternCallback(N,$){j.currentScope().__define(N,new _e(N,E,R,$.rest));j.referencingDefaultValue(N,$.assignments,null,true)}for(R=0,N=E.params.length;R{this.currentScope().__define(R,new _e(R,E,E.params.length,true))}))}if(E.body){if(E.body.type===$.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===$.ClassDeclaration){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new Ee(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let R;if(E.computed){this.visit(E.key)}const N=E.type===$.MethodDefinition;if(N){R=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(N){this.popInnerMethodDefinition(R)}}visitForIn(E){if(E.left.type===$.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===$.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(R=>{this.currentScope().__referencing(R,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,R,N,$){const j=N.declarations[$];const G=j.init;this.visitPattern(j.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new Ee(R,ie,j,N,$,N.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((R,N)=>{let $=null;if(!this.currentScope().isStrict){$={pattern:R,node:E}}this.referencingDefaultValue(R,N.assignments,$,false);this.currentScope().__referencing(R,q.WRITE,E.right,$,!N.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((R,N)=>{this.currentScope().__define(R,new Ee(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(R,N.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===$.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===$.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const R=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let N=0,$=E.declarations.length;N<$;++N){const $=E.declarations[N];this.visitVariableDeclaration(R,G.Variable,E,N);if($.init){this.visit($.init)}}}SwitchStatement(E){this.visit(E.discriminant);if(this.scopeManager.__isES6()){this.scopeManager.__nestSwitchScope(E)}for(let R=0,N=E.cases.length;R{"use strict";const $=N(98699);const j=N(39491);const q=$.GlobalScope;const G=$.CatchScope;const ie=$.WithScope;const ae=$.ModuleScope;const le=$.ClassScope;const _e=$.SwitchScope;const Ee=$.FunctionScope;const we=$.ForScope;const Ie=$.FunctionExpressionNameScope;const Me=$.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,R){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const N=this.__get(E);if(!N||N.length===0){return null}if(N.length===1){return N[0]}if(R){for(let E=N.length-1;E>=0;--E){const R=N[E];if(predicate(R)){return R}}}else{for(let E=0,R=N.length;E=6}}E.exports=ScopeManager},98699:(E,R,N)=>{"use strict";const $=N(92105).Syntax;const j=N(24552);const q=N(78120);const G=N(16950).Definition;const ie=N(39491);function isStrictScope(E,R,N,j){let q;if(E.upper&&E.upper.isStrict){return true}if(N){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(R.type===$.ArrowFunctionExpression&&R.body.type!==$.BlockStatement){return false}if(R.type===$.Program){q=R}else{q=R.body}if(!q){return false}}else if(E.type==="global"){q=R}else{return false}if(j){for(let E=0,R=q.body.length;E0&&$.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let R=this;do{R.through.push(E);R=R.upper}while(R)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let R;if(this.__shouldStaticallyClose(E)){R=this.__staticCloseRef}else if(this.type!=="global"){R=this.__dynamicCloseRef}else{R=this.__globalCloseRef}for(let E=0,N=this.__left.length;EE.name.range[0]>=N)))}}class ForScope extends Scope{constructor(E,R,N){super(E,"for",R,N,false)}}class ClassScope extends Scope{constructor(E,R,N){super(E,"class",R,N,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,R){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=R}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,R,N)=>{(function(){"use strict";var E=N(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(R,N){return(R===E.Syntax.ObjectExpression||R===E.Syntax.ObjectPattern)&&N==="properties"}function Visitor(R,N){N=N||{};this.__visitor=R||this;this.__childVisitorKeys=N.childVisitorKeys?Object.assign({},E.VisitorKeys,N.childVisitorKeys):E.VisitorKeys;if(N.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof N.fallback==="function"){this.__fallback=N.fallback}}Visitor.prototype.visitChildren=function(R){var N,$,j,q,G,ie,ae;if(R==null){return}N=R.type||E.Syntax.Property;$=this.__childVisitorKeys[N];if(!$){if(this.__fallback){$=this.__fallback(R)}else{throw new Error("Unknown node type "+N+".")}}for(j=0,q=$.length;j{(function clone(E){"use strict";var R,N,$,j,q,G;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};j={};q={};G={};N={Break:j,Skip:q,Remove:G};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0;--N){if(E[N].node===R){return true}}return false}Controller.prototype.traverse=function traverse(E,R){var N,$,G,ie,ae,le,_e,Ee,we,Ie,Me,Te;this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;N.push(new Element(E,null,null,null));$.push(new Element(null,null,null,null));while(N.length){G=N.pop();if(G===Te){G=$.pop();le=this.__execute(R.leave,G);if(this.__state===j||le===j){return}continue}if(G.node){le=this.__execute(R.enter,G);if(this.__state===j||le===j){return}N.push(Te);$.push(G);if(this.__state===q||le===q){continue}ie=G.node;ae=ie.type||G.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){_e=Ie[Ee];Me=ie[_e];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(candidateExistsInLeaveList($,Me[we])){continue}if(isProperty(ae,Ie[Ee])){G=new Element(Me[we],[_e,we],"Property",null)}else if(isNode(Me[we])){G=new Element(Me[we],[_e,we],null,null)}else{continue}N.push(G)}}else if(isNode(Me)){if(candidateExistsInLeaveList($,Me)){continue}N.push(new Element(Me,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,ie,ae,le,_e,Ee,we,Ie,Me,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le)}if(this.__state===G||le===G){removeElem(_e)}if(this.__state===j||le===j){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==j&&le!==q&&le!==G){_e.ref.replace(le);_e.node=le}if(this.__state===G||le===G){removeElem(_e);_e.node=null}if(this.__state===j||le===j){return Ne.root}ie=_e.node;if(!ie){continue}N.push(Te);$.push(_e);if(this.__state===q||le===q){continue}ae=ie.type||_e.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){Be=Ie[Ee];Me=ie[Be];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){_e=new Element(Me[we],[Be,we],"Property",new Reference(Me,we))}else if(isNode(Me[we])){_e=new Element(Me[we],[Be,we],null,new Reference(Me,we))}else{continue}N.push(_e)}}else if(isNode(Me)){N.push(new Element(Me,Be,null,new Reference(ie,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,$){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!$.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return N.Break}if(j[ae].extendedRange[0]>E.range[1]){return N.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return N.Skip}}});return E}E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=N;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},92105:(E,R,N)=>{(function clone(E){"use strict";var R,$,j,q,G,ie;function deepCopy(E){var R={},N,$;for(N in E){if(E.hasOwnProperty(N)){$=E[N];if(typeof $==="object"&&$!==null){R[N]=deepCopy($)}else{R[N]=$}}}return R}function upperBound(E,R){var N,$,j,q;$=E.length;j=0;while($){N=$>>>1;q=j+N;if(R(E[q])){$=N}else{j=q+1;$-=N+1}}return j}R={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};$={Break:q,Skip:G,Remove:ie};function Reference(E,R){this.parent=E;this.key=R}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,R,N,$){this.node=E;this.path=R;this.wrap=N;this.ref=$}function Controller(){}Controller.prototype.path=function path(){var E,R,N,$,j,q;function addToPath(E,R){if(Array.isArray(R)){for(N=0,$=R.length;N<$;++N){E.push(R[N])}}else{E.push(R)}}if(!this.__current.path){return null}j=[];for(E=2,R=this.__leavelist.length;E=0){_e=Ie[Ee];Me=ie[_e];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){j=new Element(Me[we],[_e,we],"Property",null)}else if(isNode(Me[we])){j=new Element(Me[we],[_e,we],null,null)}else{continue}N.push(j)}}else if(isNode(Me)){N.push(new Element(Me,_e,null,null))}}}}};Controller.prototype.replace=function replace(E,R){var N,$,j,ae,le,_e,Ee,we,Ie,Me,Te,Ne,Be;function removeElem(E){var R,$,j,q;if(E.ref.remove()){$=E.ref.key;q=E.ref.parent;R=N.length;while(R--){j=N[R];if(j.ref&&j.ref.parent===q){if(j.ref.key<$){break}--j.ref.key}}}}this.__initialize(E,R);Te={};N=this.__worklist;$=this.__leavelist;Ne={root:E};_e=new Element(E,null,null,new Reference(Ne,"root"));N.push(_e);$.push(_e);while(N.length){_e=N.pop();if(_e===Te){_e=$.pop();le=this.__execute(R.leave,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le)}if(this.__state===ie||le===ie){removeElem(_e)}if(this.__state===q||le===q){return Ne.root}continue}le=this.__execute(R.enter,_e);if(le!==undefined&&le!==q&&le!==G&&le!==ie){_e.ref.replace(le);_e.node=le}if(this.__state===ie||le===ie){removeElem(_e);_e.node=null}if(this.__state===q||le===q){return Ne.root}j=_e.node;if(!j){continue}N.push(Te);$.push(_e);if(this.__state===G||le===G){continue}ae=j.type||_e.wrap;Ie=this.__keys[ae];if(!Ie){if(this.__fallback){Ie=this.__fallback(j)}else{throw new Error("Unknown node type "+ae+".")}}Ee=Ie.length;while((Ee-=1)>=0){Be=Ie[Ee];Me=j[Be];if(!Me){continue}if(Array.isArray(Me)){we=Me.length;while((we-=1)>=0){if(!Me[we]){continue}if(isProperty(ae,Ie[Ee])){_e=new Element(Me[we],[Be,we],"Property",new Reference(Me,we))}else if(isNode(Me[we])){_e=new Element(Me[we],[Be,we],null,new Reference(Me,we))}else{continue}N.push(_e)}}else if(isNode(Me)){N.push(new Element(Me,Be,null,new Reference(j,Be)))}}}return Ne.root};function traverse(E,R){var N=new Controller;return N.traverse(E,R)}function replace(E,R){var N=new Controller;return N.replace(E,R)}function extendCommentRange(E,R){var N;N=upperBound(R,(function search(R){return R.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(N!==R.length){E.extendedRange[1]=R[N].range[0]}N-=1;if(N>=0){E.extendedRange[0]=R[N].range[1]}return E}function attachComments(E,R,N){var j=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!N.length){if(R.length){for(ie=0,G=R.length;ieE.range[0]){break}if(R.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(R);j.splice(ae,1)}else{ae+=1}}if(ae===j.length){return $.Break}if(j[ae].extendedRange[0]>E.range[1]){return $.Skip}}});ae=0;traverse(E,{leave:function(E){var R;while(aeE.range[1]){return $.Skip}}});return E}E.version=N(42600).i8;E.Syntax=R;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=$;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(R)},55245:E=>{"use strict";E.exports=function equal(E,R){if(E===R)return true;if(E&&R&&typeof E=="object"&&typeof R=="object"){if(E.constructor!==R.constructor)return false;var N,$,j;if(Array.isArray(E)){N=E.length;if(N!=R.length)return false;for($=N;$--!==0;)if(!equal(E[$],R[$]))return false;return true}if(E.constructor===RegExp)return E.source===R.source&&E.flags===R.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===R.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===R.toString();j=Object.keys(E);N=j.length;if(N!==Object.keys(R).length)return false;for($=N;$--!==0;)if(!Object.prototype.hasOwnProperty.call(R,j[$]))return false;for($=N;$--!==0;){var q=j[$];if(!equal(E[q],R[q]))return false}return true}return E!==E&&R!==R}},75986:E=>{"use strict";E.exports=function(E,R){if(!R)R={};if(typeof R==="function")R={cmp:R};var N=typeof R.cycles==="boolean"?R.cycles:false;var $=R.cmp&&function(E){return function(R){return function(N,$){var j={key:N,value:R[N]};var q={key:$,value:R[$]};return E(j,q)}}}(R.cmp);var j=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var R,q;if(Array.isArray(E)){q="[";for(R=0;R{"use strict";var R="Function.prototype.bind called on incompatible ";var N=Array.prototype.slice;var $=Object.prototype.toString;var j="[object Function]";E.exports=function bind(E){var q=this;if(typeof q!=="function"||$.call(q)!==j){throw new TypeError(R+q)}var G=N.call(arguments,1);var ie;var binder=function(){if(this instanceof ie){var R=q.apply(this,G.concat(N.call(arguments)));if(Object(R)===R){return R}return this}else{return q.apply(E,G.concat(N.call(arguments)))}};var ae=Math.max(0,q.length-G.length);var le=[];for(var _e=0;_e{"use strict";var $=N(5426);E.exports=Function.prototype.bind||$},70554:E=>{E.exports=function(E,R){if(typeof E!=="string"){throw new TypeError("Expected a string")}var N=String(E);var $="";var j=R?!!R.extended:false;var q=R?!!R.globstar:false;var G=false;var ie=R&&typeof R.flags==="string"?R.flags:"";var ae;for(var le=0,_e=N.length;le<_e;le++){ae=N[le];switch(ae){case"/":case"$":case"^":case"+":case".":case"(":case")":case"=":case"!":case"|":$+="\\"+ae;break;case"?":if(j){$+=".";break}case"[":case"]":if(j){$+=ae;break}case"{":if(j){G=true;$+="(";break}case"}":if(j){G=false;$+=")";break}case",":if(G){$+="|";break}$+="\\"+ae;break;case"*":var Ee=N[le-1];var we=1;while(N[le+1]==="*"){we++;le++}var Ie=N[le+1];if(!q){$+=".*"}else{var Me=we>1&&(Ee==="/"||Ee===undefined)&&(Ie==="/"||Ie===undefined);if(Me){$+="((?:[^/]*(?:/|$))*)";le++}else{$+="([^/]*)"}}break;default:$+=ae}}if(!ie||!~ie.indexOf("g")){$="^"+$+"$"}return new RegExp($,ie)}},40858:E=>{"use strict";E.exports=clone;var R=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var N={__proto__:R(E)};else var N=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(R){Object.defineProperty(N,R,Object.getOwnPropertyDescriptor(E,R))}));return N}},15808:(E,R,N)=>{var $=N(57147);var j=N(82444);var q=N(94073);var G=N(40858);var ie=N(73837);var ae;var le;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");le=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";le="___graceful-fs.previous"}function noop(){}function publishQueue(E,R){Object.defineProperty(E,ae,{get:function(){return R}})}var _e=noop;if(ie.debuglog)_e=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))_e=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!$[ae]){var Ee=global[ae]||[];publishQueue($,Ee);$.close=function(E){function close(R,N){return E.call($,R,(function(E){if(!E){resetQueue()}if(typeof N==="function")N.apply(this,arguments)}))}Object.defineProperty(close,le,{value:E});return close}($.close);$.closeSync=function(E){function closeSync(R){E.apply($,arguments);resetQueue()}Object.defineProperty(closeSync,le,{value:E});return closeSync}($.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){_e($[ae]);N(39491).equal($[ae].length,0)}))}}if(!global[ae]){publishQueue(global,$[ae])}E.exports=patch(G($));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!$.__patched){E.exports=patch($);$.__patched=true}function patch(E){j(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var R=E.readFile;E.readFile=readFile;function readFile(E,N,$){if(typeof N==="function")$=N,N=null;return go$readFile(E,N,$);function go$readFile(E,N,$,j){return R(E,N,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$readFile,[E,N,$],R,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var N=E.writeFile;E.writeFile=writeFile;function writeFile(E,R,$,j){if(typeof $==="function")j=$,$=null;return go$writeFile(E,R,$,j);function go$writeFile(E,R,$,j,q){return N(E,R,$,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$writeFile,[E,R,$,j],N,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var $=E.appendFile;if($)E.appendFile=appendFile;function appendFile(E,R,N,j){if(typeof N==="function")j=N,N=null;return go$appendFile(E,R,N,j);function go$appendFile(E,R,N,j,q){return $(E,R,N,(function($){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$appendFile,[E,R,N,j],$,q||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,R,N,$){if(typeof N==="function"){$=N;N=0}return go$copyFile(E,R,N,$);function go$copyFile(E,R,N,$,j){return G(E,R,N,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,R,N){if(typeof R==="function")N=R,R=null;return go$readdir(E,R,N);function go$readdir(E,R,N,$){return ie(E,R,(function(j,q){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$readdir,[E,R,N],j,$||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof N==="function")N.call(this,j,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var le=E.ReadStream;if(le){ReadStream.prototype=Object.create(le.prototype);ReadStream.prototype.open=ReadStream$open}var _e=E.WriteStream;if(_e){WriteStream.prototype=Object.create(_e.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var Ee=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});var we=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return we},set:function(E){we=E},enumerable:true,configurable:true});function ReadStream(E,R){if(this instanceof ReadStream)return le.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){if(E.autoClose)E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N);E.read()}}))}function WriteStream(E,R){if(this instanceof WriteStream)return _e.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(R,N){if(R){E.destroy();E.emit("error",R)}else{E.fd=N;E.emit("open",N)}}))}function createReadStream(R,N){return new E.ReadStream(R,N)}function createWriteStream(R,N){return new E.WriteStream(R,N)}var Ie=E.open;E.open=open;function open(E,R,N,$){if(typeof N==="function")$=N,N=null;return go$open(E,R,N,$);function go$open(E,R,N,$,j){return Ie(E,R,N,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,R,N,$],q,j||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}return E}function enqueue(E){_e("ENQUEUE",E[0].name,E[1]);$[ae].push(E);retry()}var we;function resetQueue(){var E=Date.now();for(var R=0;R<$[ae].length;++R){if($[ae][R].length>2){$[ae][R][3]=E;$[ae][R][4]=E}}retry()}function retry(){clearTimeout(we);we=undefined;if($[ae].length===0)return;var E=$[ae].shift();var R=E[0];var N=E[1];var j=E[2];var q=E[3];var G=E[4];if(q===undefined){_e("RETRY",R.name,N);R.apply(null,N)}else if(Date.now()-q>=6e4){_e("TIMEOUT",R.name,N);var ie=N.pop();if(typeof ie==="function")ie.call(null,j)}else{var le=Date.now()-G;var Ee=Math.max(G-q,1);var Ie=Math.min(Ee*1.2,100);if(le>=Ie){_e("RETRY",R.name,N);R.apply(null,N.concat([q]))}else{$[ae].push(E)}}if(we===undefined){we=setTimeout(retry,0)}}},94073:(E,R,N)=>{var $=N(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(R,N){if(!(this instanceof ReadStream))return new ReadStream(R,N);$.call(this);var j=this;this.path=R;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;N=N||{};var q=Object.keys(N);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){j._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,R){if(E){j.emit("error",E);j.readable=false;return}j.fd=R;j.emit("open",R);j._read()}))}function WriteStream(R,N){if(!(this instanceof WriteStream))return new WriteStream(R,N);$.call(this);this.path=R;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;N=N||{};var j=Object.keys(N);for(var q=0,G=j.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,R,N)=>{var $=N(22057);var j=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=j.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if($.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,R,N){if(N)process.nextTick(N)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,R,N,$){if($)process.nextTick($)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(R){return function(N,$,j){var q=Date.now();var G=0;R(N,$,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat($,(function(E,q){if(E&&E.code==="ENOENT")R(N,$,CB);else j(ie)}))}),G);if(G<100)G+=10;return}if(j)j(ie)}))}}(E.rename)}E.read=function(R){function read(N,$,j,q,G,ie){var ae;if(ie&&typeof ie==="function"){var le=0;ae=function(_e,Ee,we){if(_e&&_e.code==="EAGAIN"&&le<10){le++;return R.call(E,N,$,j,q,G,ae)}ie.apply(this,arguments)}}return R.call(E,N,$,j,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,R);return read}(E.read);E.readSync=function(R){return function(N,$,j,q,G){var ie=0;while(true){try{return R.call(E,N,$,j,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(R,N,j){E.open(R,$.O_WRONLY|$.O_SYMLINK,N,(function(R,$){if(R){if(j)j(R);return}E.fchmod($,N,(function(R){E.close($,(function(E){if(j)j(R||E)}))}))}))};E.lchmodSync=function(R,N){var j=E.openSync(R,$.O_WRONLY|$.O_SYMLINK,N);var q=true;var G;try{G=E.fchmodSync(j,N);q=false}finally{if(q){try{E.closeSync(j)}catch(E){}}else{E.closeSync(j)}}return G}}function patchLutimes(E){if($.hasOwnProperty("O_SYMLINK")){E.lutimes=function(R,N,j,q){E.open(R,$.O_SYMLINK,(function(R,$){if(R){if(q)q(R);return}E.futimes($,N,j,(function(R){E.close($,(function(E){if(q)q(R||E)}))}))}))};E.lutimesSync=function(R,N,j){var q=E.openSync(R,$.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,N,j);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,R,N,$){if($)process.nextTick($)};E.lutimesSync=function(){}}}function chmodFix(R){if(!R)return R;return function(N,$,j){return R.call(E,N,$,(function(E){if(chownErOk(E))E=null;if(j)j.apply(this,arguments)}))}}function chmodFixSync(R){if(!R)return R;return function(N,$){try{return R.call(E,N,$)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(R){if(!R)return R;return function(N,$,j,q){return R.call(E,N,$,j,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(R){if(!R)return R;return function(N,$,j){try{return R.call(E,N,$,j)}catch(E){if(!chownErOk(E))throw E}}}function statFix(R){if(!R)return R;return function(N,$,j){if(typeof $==="function"){j=$;$=null}function callback(E,R){if(R){if(R.uid<0)R.uid+=4294967296;if(R.gid<0)R.gid+=4294967296}if(j)j.apply(this,arguments)}return $?R.call(E,N,$,callback):R.call(E,N,callback)}}function statFixSync(R){if(!R)return R;return function(N,$){var j=$?R.call(E,N,$):R.call(E,N);if(j.uid<0)j.uid+=4294967296;if(j.gid<0)j.gid+=4294967296;return j}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var R=!process.getuid||process.getuid()!==0;if(R){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,R=process.argv)=>{const N=E.startsWith("-")?"":E.length===1?"-":"--";const $=R.indexOf(N+E);const j=R.indexOf("--");return $!==-1&&(j===-1||${"use strict";var $=N(9120);E.exports=$.call(Function.call,Object.prototype.hasOwnProperty)},28309:(E,R,N)=>{try{var $=N(73837);if(typeof $.inherits!=="function")throw"";E.exports=$.inherits}catch(R){E.exports=N(70474)}},70474:E=>{if(typeof Object.create==="function"){E.exports=function inherits(E,R){if(R){E.super_=R;E.prototype=Object.create(R.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}})}}}else{E.exports=function inherits(E,R){if(R){E.super_=R;var TempCtor=function(){};TempCtor.prototype=R.prototype;E.prototype=new TempCtor;E.prototype.constructor=E}}}},13747:(E,R,N)=>{"use strict";var $=N(79946);function specifierIncluded(E,R){var N=E.split(".");var $=R.split(" ");var j=$.length>1?$[0]:"=";var q=($.length>1?$[1]:$[0]).split(".");for(var G=0;G<3;++G){var ie=parseInt(N[G]||0,10);var ae=parseInt(q[G]||0,10);if(ie===ae){continue}if(j==="<"){return ie="){return ie>=ae}return false}return j===">="}function matchesRange(E,R){var N=R.split(/ ?&& ?/);if(N.length===0){return false}for(var $=0;${var R={}.toString;E.exports=Array.isArray||function(E){return R.call(E)=="[object Array]"}},15986:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(62483));var j=N(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class Farm{constructor(E,R,N={}){var j,q;this._numOfWorkers=E;this._callback=R;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=N.computeWorkerKey;this._workerSchedulingPolicy=(j=N.workerSchedulingPolicy)!==null&&j!==void 0?j:"round-robin";this._taskQueue=(q=N.taskQueue)!==null&&q!==void 0?q:new $.default}doWork(E,...R){const N=new Set;const addCustomMessageListener=E=>{N.add(E);return()=>{N.delete(E)}};const onCustomMessage=E=>{N.forEach((R=>R(E)))};const $=new Promise(((R,$,q)=>{const G=this._computeWorkerKey;const ie=[j.CHILD_MESSAGE_CALL,false,E,R];let ae=null;let le=null;if(G){le=G.call(this,E,...R);ae=le==null?null:this._cacheKeys[le]}const onStart=E=>{if(le!=null){this._cacheKeys[le]=E}};const onEnd=(E,R)=>{N.clear();if(E){q(E)}else{$(R)}};const _e={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(_e,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(_e)}}).bind(null,R));$.UNSTABLE_onCustomMessage=addCustomMessageListener;return $}_process(E){if(this._isLocked(E)){return this}const R=this._taskQueue.dequeue(E);if(!R){return this}if(R.request[1]){throw new Error("Queue implementation returned processed task")}const N=R.onEnd;const onEnd=(R,$)=>{N(R,$);this._unlock(E);this._process(E)};R.request[1]=true;this._lock(E);this._callback(E,R.request,R.onStart,onEnd,R.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const R=this._getNextWorkerOffset();for(let N=0;N{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,R){if(R==null){this._sharedQueue.enqueue(E);return}let N=this._workerQueues[R];if(N==null){N=this._workerQueues[R]=new InternalQueue}const $=this._sharedQueue.peekLast();const j={previousSharedTask:$,task:E};N.enqueue(j)}dequeue(E){var R,N,$;const j=(R=this._workerQueues[E])===null||R===void 0?void 0:R.peek();const q=(N=j===null||j===void 0?void 0:($=j.previousSharedTask)===null||$===void 0?void 0:$.request[1])!==null&&N!==void 0?N:true;if(j!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}R["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const R={next:null,value:E};if(this._last==null){this._head=R}else{this._last.next=R}this._last=R}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,R;return(E=(R=this._head)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}peekLast(){var E,R;return(E=(R=this._last)===null||R===void 0?void 0:R.value)!==null&&E!==void 0?E:null}}},25739:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,R){if(R==null){this._enqueue(E,this._sharedQueue)}else{const N=this._getWorkerQueue(R);this._enqueue(E,N)}}_enqueue(E,R){const N={priority:this._computePriority(E.request[2],...E.request[3]),task:E};R.add(N)}dequeue(E){const R=this._getWorkerQueue(E);const N=R.peek();const $=this._sharedQueue.peek();if($==null||N!=null&&N.priority<=$.priority){var j,q;return(j=(q=R.poll())===null||q===void 0?void 0:q.task)!==null&&j!==void 0?j:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let R=this._queue[E];if(R==null){R=this._queue[E]=new MinHeap}return R}}R["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const R=this._heap;R.push(E);if(R.length===1){return}let N=R.length-1;while(N>0){const $=Math.floor((N+1)/2)-1;const j=R[$];if(j.priority<=E.priority){break}R[N]=j;R[$]=E;N=$}}poll(){const E=this._heap;const R=E[0];const N=E.pop();if(R==null||E.length===0){return R!==null&&R!==void 0?R:null}let $=0;E[0]=N!==null&&N!==void 0?N:null;const j=E[0];while(true){let R=null;const N=($+1)*2;const q=N-1;const G=E[N];const ie=E[q];if(ie!=null&&ie.priority{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireDefault(N(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{N(71267);return true}catch{return false}};class WorkerPool extends $.default{send(E,R,N,$,j){this.getWorkerById(E).send(R,N,$,j)}createWorker(E){let R;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){R=N(12295).Z}else{R=N(17164).Z}return new R(E)}}var j=WorkerPool;R["default"]=j},68189:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const $=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,R){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=R;this._workers=new Array(R.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const N=(0,_mergeStream().default)();const $=(0,_mergeStream().default)();const{forkOptions:j,maxRetries:q,resourceLimits:G,setupArgs:ie}=R;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let R=false;const N=setTimeout((()=>{E.forceExit();R=true}),$);await E.waitForExit();clearTimeout(N);return R}));const R=await Promise.all(E);return R.reduce(((E,R)=>({forceExited:E.forceExited||R})),{forceExited:false})}}R["default"]=BaseWorkerPool},69419:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});Object.defineProperty(R,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(R,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(R,"messageParent",{enumerable:true,get:function(){return ie.default}});R.Worker=void 0;function _os(){const E=N(22037);_os=function(){return E};return E}var $=_interopRequireDefault(N(15986));var j=_interopRequireDefault(N(61315));var q=_interopRequireDefault(N(25739));var G=_interopRequireDefault(N(62483));var ie=_interopRequireDefault(N(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}function getExposedMethods(E,R){let N=R.exposedMethods;if(!N){const R=require(E);N=Object.keys(R).filter((E=>typeof R[E]==="function"));if(typeof R==="function"){N=[...N,"default"]}}return N}class Worker{constructor(E,R){var N,q,G,ie,ae,le;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...R};this._ending=false;const _e={enableWorkerThreads:(N=this._options.enableWorkerThreads)!==null&&N!==void 0?N:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(le=this._options.setupArgs)!==null&&le!==void 0?le:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,_e)}else{this._workerPool=new j.default(E,_e)}this._farm=new $.default(_e.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,R){getExposedMethods(E,R).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...R){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...R)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}R.Worker=Worker},42195:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PARENT_MESSAGE_CUSTOM=R.PARENT_MESSAGE_SETUP_ERROR=R.PARENT_MESSAGE_CLIENT_ERROR=R.PARENT_MESSAGE_OK=R.CHILD_MESSAGE_END=R.CHILD_MESSAGE_CALL=R.CHILD_MESSAGE_INITIALIZE=void 0;const N=0;R.CHILD_MESSAGE_INITIALIZE=N;const $=1;R.CHILD_MESSAGE_CALL=$;const j=2;R.CHILD_MESSAGE_END=j;const q=0;R.PARENT_MESSAGE_OK=q;const G=1;R.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;R.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;R.PARENT_MESSAGE_CUSTOM=ae},17164:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function _child_process(){const E=N(32081);_child_process=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=N(24467);_supportsColor=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}const j=128;const q=j+9;const G=j+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const R=(0,_child_process().fork)(N.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(R.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(R.stdout)}if(R.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(R.stderr)}R.on("message",this._onMessage.bind(this));R.on("exit",this._onExit.bind(this));R.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=R;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{this._request=null;return N(...E)};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ChildProcessWorker},12295:(E,R,N)=>{"use strict";var $;$={value:true};R.Z=void 0;function path(){const E=_interopRequireWildcard(N(71017));path=function(){return E};return E}function _stream(){const E=N(12781);_stream=function(){return E};return E}function _worker_threads(){const E=N(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(N(33089));_mergeStream=function(){return E};return E}function _types(){const E=N(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}function _defineProperty(E,R,N){if(R in E){Object.defineProperty(E,R,{value:N,enumerable:true,configurable:true,writable:true})}else{E[R]=N}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let R;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:R=E[4];if(R!=null&&typeof R==="object"){const N=R;const $=global[E[1]];const j=typeof $==="function"?$:Error;R=new j(E[2]);R.type=E[1];R.stack=E[3];for(const E in N){R[E]=N[E]}}this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:R=new Error("Error when calling setup: "+E[2]);R.type=E[1];R.stack=E[3];this._onProcessEnd(R,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,R,N,$){R(this);this._onProcessEnd=(...E)=>{var R;this._request=null;const $=(R=N)===null||R===void 0?void 0:R(...E);N=null;return $};this._onCustomMessage=(...E)=>$(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}R.Z=ExperimentalWorker},27008:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=messageParent;function _types(){const E=N(42195);_types=function(){return E};return E}const $=(()=>{try{const{isMainThread:E,parentPort:R}=N(71267);return!E&&R!=null}catch{return false}})();function messageParent(E,R=process){if($){const{parentPort:R}=N(71267);R.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof R.send==="function"){R.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:R,sniffFlags:N=true}={}){const j=envForceColor();if(j!==undefined){ie=j}const ae=N?ie:j;if(ae===0){return 0}if(N){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!R&&ae===undefined){return 0}const le=ae||0;if(G.TERM==="dumb"){return le}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return le}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return le}function getSupportLevel(E,R={}){const N=supportsColor(E,{streamIsTTY:E&&E.isTTY,...R});return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:j.isatty(1)}),stderr:getSupportLevel({isTTY:j.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,R,N){N=N||20;try{return JSON.parse(E,R)}catch(R){if(typeof E!=="string"){const R=Array.isArray(E)&&E.length===0;const N="Cannot parse "+(R?"an empty array":String(E));throw new TypeError(N)}const $=R.message.match(/^Unexpected token.*position\s+(\d+)/i);const j=$?+$[1]:R.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if(j!=null){const $=j<=N?0:j-N;const q=j+N>=E.length?E.length:j+N;R.message+=` while parsing near '${$===0?"":"..."}${E.slice($,q)}${q===E.length?"":"..."}'`}else{R.message+=` while parsing '${E.slice(0,N*2)}'`}throw R}}},46833:E=>{"use strict";var R=E.exports=function(E,R,N){if(typeof R=="function"){N=R;R={}}N=R.cb||N;var $=typeof N=="function"?N:N.pre||function(){};var j=N.post||function(){};_traverse(R,$,j,E,"",E)};R.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};R.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};R.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};R.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,N,$,j,q,G,ie,ae,le,_e){if(j&&typeof j=="object"&&!Array.isArray(j)){N(j,q,G,ie,ae,le,_e);for(var Ee in j){var we=j[Ee];if(Array.isArray(we)){if(Ee in R.arrayKeywords){for(var Ie=0;Ie{const $=N(14465);const j=N(59977);const q={parse:$,stringify:j};E.exports=q},14465:(E,R,N)=>{const $=N(58034);let j;let q;let G;let ie;let ae;let le;let _e;let Ee;let we;E.exports=function parse(E,R){j=String(E);q="start";G=[];ie=0;ae=1;le=0;_e=undefined;Ee=undefined;we=undefined;do{_e=lex();je[q]()}while(_e.type!=="eof");if(typeof R==="function"){return internalize({"":we},"",R)}return we};function internalize(E,R,N){const $=E[R];if($!=null&&typeof $==="object"){for(const E in $){const R=internalize($,E,N);if(R===undefined){delete $[E]}else{$[E]=R}}}return N.call(E,R,$)}let Ie;let Me;let Te;let Ne;let Be;function lex(){Ie="default";Me="";Te=false;Ne=1;for(;;){Be=peek();const E=Le[Ie]();if(E){return E}}}function peek(){if(j[ie]){return String.fromCodePoint(j.codePointAt(ie))}}function read(){const E=peek();if(E==="\n"){ae++;le=0}else if(E){le+=E.length}else{le++}if(E){ie+=E.length}return E}const Le={default(){switch(Be){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Ie="comment";return;case undefined:read();return newToken("eof")}if($.isSpaceSeparator(Be)){read();return}return Le[q]()},comment(){switch(Be){case"*":read();Ie="multiLineComment";return;case"/":read();Ie="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Be){case"*":read();Ie="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Be){case"*":read();return;case"/":read();Ie="default";return;case undefined:throw invalidChar(read())}read();Ie="multiLineComment"},singleLineComment(){switch(Be){case"\n":case"\r":case"\u2028":case"\u2029":read();Ie="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Be){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Ne=-1}Ie="sign";return;case".":Me=read();Ie="decimalPointLeading";return;case"0":Me=read();Ie="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ie="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Te=read()==='"';Me="";Ie="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Be!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!$.isIdStartChar(E)){throw invalidIdentifier()}break}Me+=E;Ie="identifierName"},identifierName(){switch(Be){case"$":case"_":case"‌":case"‍":Me+=read();return;case"\\":read();Ie="identifierNameEscape";return}if($.isIdContinueChar(Be)){Me+=read();return}return newToken("identifier",Me)},identifierNameEscape(){if(Be!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!$.isIdContinueChar(E)){throw invalidIdentifier()}break}Me+=E;Ie="identifierName"},sign(){switch(Be){case".":Me=read();Ie="decimalPointLeading";return;case"0":Me=read();Ie="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":Me=read();Ie="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ne*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Be){case".":Me+=read();Ie="decimalPoint";return;case"e":case"E":Me+=read();Ie="decimalExponent";return;case"x":case"X":Me+=read();Ie="hexadecimal";return}return newToken("numeric",Ne*0)},decimalInteger(){switch(Be){case".":Me+=read();Ie="decimalPoint";return;case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},decimalPointLeading(){if($.isDigit(Be)){Me+=read();Ie="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Be){case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();Ie="decimalFraction";return}return newToken("numeric",Ne*Number(Me))},decimalFraction(){switch(Be){case"e":case"E":Me+=read();Ie="decimalExponent";return}if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},decimalExponent(){switch(Be){case"+":case"-":Me+=read();Ie="decimalExponentSign";return}if($.isDigit(Be)){Me+=read();Ie="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if($.isDigit(Be)){Me+=read();Ie="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if($.isDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},hexadecimal(){if($.isHexDigit(Be)){Me+=read();Ie="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if($.isHexDigit(Be)){Me+=read();return}return newToken("numeric",Ne*Number(Me))},string(){switch(Be){case"\\":read();Me+=escape();return;case'"':if(Te){read();return newToken("string",Me)}Me+=read();return;case"'":if(!Te){read();return newToken("string",Me)}Me+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Be);break;case undefined:throw invalidChar(read())}Me+=read()},start(){switch(Be){case"{":case"[":return newToken("punctuator",read())}Ie="value"},beforePropertyName(){switch(Be){case"$":case"_":Me=read();Ie="identifierName";return;case"\\":read();Ie="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Te=read()==='"';Ie="string";return}if($.isIdStartChar(Be)){Me+=read();Ie="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Be===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Ie="value"},afterPropertyValue(){switch(Be){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Be==="]"){return newToken("punctuator",read())}Ie="value"},afterArrayValue(){switch(Be){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(E,R){return{type:E,value:R,line:ae,column:le}}function literal(E){for(const R of E){const E=peek();if(E!==R){throw invalidChar(read())}read()}}function escape(){const E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if($.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let E="";let R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read();R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){let E="";let R=4;while(R-- >0){const R=peek();if(!$.isHexDigit(R)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}const je={start(){if(_e.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(_e.type){case"identifier":case"string":Ee=_e.value;q="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(_e.type==="eof"){throw invalidEOF()}q="beforePropertyValue"},beforePropertyValue(){if(_e.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(_e.type==="eof"){throw invalidEOF()}if(_e.type==="punctuator"&&_e.value==="]"){pop();return}push()},afterPropertyValue(){if(_e.type==="eof"){throw invalidEOF()}switch(_e.value){case",":q="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(_e.type==="eof"){throw invalidEOF()}switch(_e.value){case",":q="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let E;switch(_e.type){case"punctuator":switch(_e.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=_e.value;break}if(we===undefined){we=E}else{const R=G[G.length-1];if(Array.isArray(R)){R.push(E)}else{R[Ee]=E}}if(E!==null&&typeof E==="object"){G.push(E);if(Array.isArray(E)){q="beforeArrayValue"}else{q="beforePropertyName"}}else{const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}}function pop(){G.pop();const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError(`JSON5: invalid end of input at ${ae}:${le}`)}return syntaxError(`JSON5: invalid character '${formatChar(E)}' at ${ae}:${le}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${ae}:${le}`)}function invalidIdentifier(){le-=5;return syntaxError(`JSON5: invalid identifier character at ${ae}:${le}`)}function separatorChar(E){console.warn(`JSON5: '${formatChar(E)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(E){const R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(R[E]){return R[E]}if(E<" "){const R=E.charCodeAt(0).toString(16);return"\\x"+("00"+R).substring(R.length)}return E}function syntaxError(E){const R=new SyntaxError(E);R.lineNumber=ae;R.columnNumber=le;return R}},59977:(E,R,N)=>{const $=N(58034);E.exports=function stringify(E,R,N){const j=[];let q="";let G;let ie;let ae="";let le;if(R!=null&&typeof R==="object"&&!Array.isArray(R)){N=R.space;le=R.quote;R=R.replacer}if(typeof R==="function"){ie=R}else if(Array.isArray(R)){G=[];for(const E of R){let R;if(typeof E==="string"){R=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){R=String(E)}if(R!==undefined&&G.indexOf(R)<0){G.push(R)}}}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}if(typeof N==="number"){if(N>0){N=Math.min(10,Math.floor(N));ae=" ".substr(0,N)}}else if(typeof N==="string"){ae=N.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,R){let N=R[E];if(N!=null){if(typeof N.toJSON5==="function"){N=N.toJSON5(E)}else if(typeof N.toJSON==="function"){N=N.toJSON(E)}}if(ie){N=ie.call(R,E,N)}if(N instanceof Number){N=Number(N)}else if(N instanceof String){N=String(N)}else if(N instanceof Boolean){N=N.valueOf()}switch(N){case null:return"null";case true:return"true";case false:return"false"}if(typeof N==="string"){return quoteString(N,false)}if(typeof N==="number"){return String(N)}if(typeof N==="object"){return Array.isArray(N)?serializeArray(N):serializeObject(N)}return undefined}function quoteString(E){const R={"'":.1,'"':.2};const N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let j="";for(let q=0;qR[E]=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);let R=q;q=q+ae;let N=G||Object.keys(E);let $=[];for(const R of N){const N=serializeProperty(R,E);if(N!==undefined){let E=serializeKey(R)+":";if(ae!==""){E+=" "}E+=N;$.push(E)}}let ie;if($.length===0){ie="{}"}else{let E;if(ae===""){E=$.join(",");ie="{"+E+"}"}else{let N=",\n"+q;E=$.join(N);ie="{\n"+q+E+",\n"+R+"}"}}j.pop();q=R;return ie}function serializeKey(E){if(E.length===0){return quoteString(E,true)}const R=String.fromCodePoint(E.codePointAt(0));if(!$.isIdStartChar(R)){return quoteString(E,true)}for(let N=R.length;N=0){throw TypeError("Converting circular structure to JSON5")}j.push(E);let R=q;q=q+ae;let N=[];for(let R=0;R{E.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;E.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;E.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(E,R,N)=>{const $=N(14059);E.exports={isSpaceSeparator(E){return typeof E==="string"&&$.Space_Separator.test(E)},isIdStartChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||$.ID_Start.test(E))},isIdContinueChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||$.ID_Continue.test(E))},isDigit(E){return typeof E==="string"&&/[0-9]/.test(E)},isHexDigit(E){return typeof E==="string"&&/[0-9A-Fa-f]/.test(E)}}},64055:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.ChunkIncludeExcludeTester=void 0;var N=function(){function ChunkIncludeExcludeTester(E){this.includeExcludeTest=E}ChunkIncludeExcludeTester.prototype.isIncluded=function(E){if(typeof this.includeExcludeTest==="function"){return this.includeExcludeTest(E)}if(this.includeExcludeTest.include&&!this.includeExcludeTest.exclude){return this.includeExcludeTest.include.indexOf(E)>-1}if(this.includeExcludeTest.exclude&&!this.includeExcludeTest.include){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)}if(this.includeExcludeTest.include&&this.includeExcludeTest.exclude){return!(this.includeExcludeTest.exclude.indexOf(E)>-1)&&this.includeExcludeTest.include.indexOf(E)>-1}return true};return ChunkIncludeExcludeTester}();R.ChunkIncludeExcludeTester=N},50980:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.LicenseTextReader=void 0;var $=function(){function LicenseTextReader(E,R,N,$,j,q){this.logger=E;this.fileSystem=R;this.fileOverrides=N;this.textOverrides=$;this.templateDir=j;this.handleMissingLicenseText=q}LicenseTextReader.prototype.readLicense=function(E,R,N){if(this.textOverrides[R.name]){return this.textOverrides[R.name]}if(this.fileOverrides[R.name]){return this.readText(R.directory,this.fileOverrides[R.name])}if(N&&N.indexOf("SEE LICENSE IN ")===0){var $=N.split(" ")[3];return this.fileSystem.isFileInDirectory($,R.directory)?this.readText(R.directory,$):null}var j=this.fileSystem.listPaths(R.directory);var q=this.guessLicenseFilename(j,R.directory);if(q!==null){return this.readText(R.directory,q)}if(this.templateDir){var G=N+".txt";var ie=this.fileSystem.join(this.templateDir,G);if(this.fileSystem.isFileInDirectory(ie,this.templateDir)){return this.fileSystem.readFileAsUtf8(ie).replace(/\r\n/g,"\n")}}this.logger.warn(E,"could not find any license file for "+R.name+". Use the licenseTextOverrides option to add the license text if desired.");return this.handleMissingLicenseText(R.name,N)};LicenseTextReader.prototype.readText=function(E,R){return this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,R)).replace(/\r\n/g,"\n")};LicenseTextReader.prototype.guessLicenseFilename=function(E,R){var $,j;try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;var ae=this.fileSystem.join(R,ie);if(/^licen[cs]e/i.test(ie)&&!this.fileSystem.isDirectory(ae)){return ie}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}return null};return LicenseTextReader}();R.LicenseTextReader=$},85768:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.LicenseWebpackPlugin=void 0;var $=N(64055);var j=N(27519);var q=N(35183);var G=N(41728);var ie=N(55933);var ae=N(50980);var le=N(85777);var _e=N(98707);var Ee=N(81778);var we=N(13957);var Ie=N(2058);var Me=N(29728);var Te=N(99801);var Ne=N(39225);var Be=function(){function LicenseWebpackPlugin(E){if(E===void 0){E={}}this.pluginOptions=E}LicenseWebpackPlugin.prototype.apply=function(E){var R=new G.WebpackFileSystem(E.inputFileSystem);var N=new Te.PluginOptionsReader(E.context);var Be=N.readOptions(this.pluginOptions);var Le=new Ne.Logger(Be.stats);var je=new q.PluginFileHandler(R,Be.buildRoot,Be.modulesDirectories,Be.excludedPackageTest);var ze=new ie.PluginLicenseTypeIdentifier(Le,Be.licenseTypeOverrides,Be.preferredLicenseTypes,Be.handleLicenseAmbiguity,Be.handleMissingLicenseType);var Ue=new ae.LicenseTextReader(Le,R,Be.licenseFileOverrides,Be.licenseTextOverrides,Be.licenseTemplateDir,Be.handleMissingLicenseText);var qe=new Me.PluginLicenseTestRunner(Be.licenseInclusionTest);var Ge=new Me.PluginLicenseTestRunner(Be.unacceptableLicenseTest);var He=new Ie.PluginLicensePolicy(qe,Ge,Be.handleUnacceptableLicense,Be.handleMissingLicenseText);var We=new j.PluginChunkReadHandler(Le,je,ze,Ue,He,R);var Ve=new we.PluginLicensesRenderer(Be.renderLicenses,Be.renderBanner);var Ke=new _e.PluginModuleCache;var Qe=new Ee.WebpackAssetManager(Be.outputFilename,Ve);var Je=new $.ChunkIncludeExcludeTester(Be.chunkIncludeExcludeTest);var Xe=new le.WebpackCompilerHandler(Je,We,Qe,Ke,Be.addBanner,Be.perChunkOutput,Be.additionalChunkModules,Be.additionalModules,Be.skipChildCompilers);Xe.handleCompiler(E)};return LicenseWebpackPlugin}();R.LicenseWebpackPlugin=Be},39225:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.Logger=void 0;var N=function(){function Logger(E){this.stats=E}Logger.prototype.warn=function(E,R){if(this.stats.warnings){E.warnings.push(""+Logger.LOG_PREFIX+R)}};Logger.prototype.error=function(E,R){if(this.stats.errors){E.errors.push(""+Logger.LOG_PREFIX+R)}};Logger.LOG_PREFIX="license-webpack-plugin: ";return Logger}();R.Logger=N},27519:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginChunkReadHandler=void 0;var $=N(39900);var j=N(20456);var q=function(){function PluginChunkReadHandler(E,R,N,q,G,ie){this.logger=E;this.fileHandler=R;this.licenseTypeIdentifier=N;this.licenseTextReader=q;this.licensePolicy=G;this.fileSystem=ie;this.moduleIterator=new $.WebpackChunkModuleIterator;this.fileIterator=new j.WebpackModuleFileIterator(require.resolve)}PluginChunkReadHandler.prototype.processChunk=function(E,R,N,$){var j=this;this.moduleIterator.iterateModules(E,R,$,(function($){j.fileIterator.iterateFiles($,(function($){var q=j.fileHandler.getModule($);j.processModule(E,R,N,q)}))}))};PluginChunkReadHandler.prototype.getPackageJson=function(E){var R=""+E+this.fileSystem.pathSeparator+"package.json";return JSON.parse(this.fileSystem.readFileAsUtf8(R))};PluginChunkReadHandler.prototype.processModule=function(E,R,N,$){var j;if($&&!N.alreadySeenForChunk(R.name,$.name)){var q=N.getModule($.name);if(q!==null){N.registerModule(R.name,q)}else{var G=(j=$.packageJson)!==null&&j!==void 0?j:this.getPackageJson($.directory);var ie=this.licenseTypeIdentifier.findLicenseIdentifier(E,$.name,G);if(this.licensePolicy.isLicenseUnacceptableFor(ie)){this.logger.error(E,"unacceptable license found for "+$.name+": "+ie);this.licensePolicy.handleUnacceptableLicense($.name,ie)}if(this.licensePolicy.isLicenseWrittenFor(ie)){var ae=this.licenseTextReader.readLicense(E,$,ie);N.registerModule(R.name,{licenseText:ae,packageJson:G,name:$.name,directory:$.directory,licenseId:ie})}}N.markSeenForChunk(R.name,$.name)}};return PluginChunkReadHandler}();R.PluginChunkReadHandler=q},35183:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginFileHandler=void 0;var $=function(){function PluginFileHandler(E,R,N,$){this.fileSystem=E;this.buildRoot=R;this.modulesDirectories=N;this.excludedPackageTest=$;this.cache={}}PluginFileHandler.prototype.getModule=function(E){return this.cache[E]===undefined?this.cache[E]=this.getModuleInternal(E):this.cache[E]};PluginFileHandler.prototype.getModuleInternal=function(E){var R,$;if(E===null||E===undefined){return null}if(this.modulesDirectories!==null){var j=false;try{for(var q=N(this.modulesDirectories),G=q.next();!G.done;G=q.next()){var ie=G.value;if(this.fileSystem.resolvePath(E).startsWith(this.fileSystem.resolvePath(ie))){j=true}}}catch(E){R={error:E}}finally{try{if(G&&!G.done&&($=q.return))$.call(q)}finally{if(R)throw R.error}}if(!j){return null}}var ae=this.findModuleDir(E);if(ae!==null&&this.excludedPackageTest(ae.name)){return null}return ae};PluginFileHandler.prototype.findModuleDir=function(E){var R=this.fileSystem.pathSeparator;var N=E.substring(0,E.lastIndexOf(R));var $=null;while(!this.dirContainsValidPackageJson(N)){$=N;N=this.fileSystem.resolvePath(""+N+R+".."+R);if($===N){return null}}if(this.buildRoot===N){return null}var j=this.parsePackageJson(N);return{packageJson:j,name:j.name,directory:N}};PluginFileHandler.prototype.parsePackageJson=function(E){var R=this.fileSystem.readFileAsUtf8(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON));var N=JSON.parse(R);return N};PluginFileHandler.prototype.dirContainsValidPackageJson=function(E){if(!this.fileSystem.pathExists(this.fileSystem.join(E,PluginFileHandler.PACKAGE_JSON))){return false}var R=this.parsePackageJson(E);return!!R.name};PluginFileHandler.PACKAGE_JSON="package.json";return PluginFileHandler}();R.PluginFileHandler=$},2058:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensePolicy=void 0;var N=function(){function PluginLicensePolicy(E,R,N,$){this.licenseTester=E;this.unacceptableLicenseTester=R;this.unacceptableLicenseHandler=N;this.missingLicenseTextHandler=$}PluginLicensePolicy.prototype.isLicenseWrittenFor=function(E){return this.licenseTester.test(E)};PluginLicensePolicy.prototype.isLicenseUnacceptableFor=function(E){return this.unacceptableLicenseTester.test(E)};PluginLicensePolicy.prototype.handleUnacceptableLicense=function(E,R){this.unacceptableLicenseHandler(E,R)};PluginLicensePolicy.prototype.handleMissingLicenseText=function(E,R){this.missingLicenseTextHandler(E,R)};return PluginLicensePolicy}();R.PluginLicensePolicy=N},29728:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTestRunner=void 0;var N=function(){function PluginLicenseTestRunner(E){this.licenseTest=E}PluginLicenseTestRunner.prototype.test=function(E){return this.licenseTest(E)};return PluginLicenseTestRunner}();R.PluginLicenseTestRunner=N},55933:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.PluginLicenseTypeIdentifier=void 0;var $=function(){function PluginLicenseTypeIdentifier(E,R,N,$,j){this.logger=E;this.licenseTypeOverrides=R;this.preferredLicenseTypes=N;this.handleLicenseAmbiguity=$;this.handleMissingLicenseType=j}PluginLicenseTypeIdentifier.prototype.findLicenseIdentifier=function(E,R,N){if(this.licenseTypeOverrides&&this.licenseTypeOverrides[R]){return this.licenseTypeOverrides[R]}var $=N.license;if($){return typeof $==="string"?$:$.type}if(Array.isArray(N.licenses)&&N.licenses.length>0){if(N.licenses.length===1){return N.licenses[0].type}var j=N.licenses.map((function(E){return E.type}));var q=this.findPreferredLicense(j,this.preferredLicenseTypes);if(q!==null){return q}var G=this.handleLicenseAmbiguity(R,N.licenses);this.logger.warn(E,R+" specifies multiple licenses: "+j+". Automatically selected "+G+". Use the preferredLicenseTypes or the licenseTypeOverrides option to resolve this warning.");return G}this.logger.warn(E,"could not find any license type for "+R+" in its package.json");return this.handleMissingLicenseType(R)};PluginLicenseTypeIdentifier.prototype.findPreferredLicense=function(E,R){var $,j,q,G;try{for(var ie=N(R),ae=ie.next();!ae.done;ae=ie.next()){var le=ae.value;try{for(var _e=(q=void 0,N(E)),Ee=_e.next();!Ee.done;Ee=_e.next()){var we=Ee.value;if(le===we){return le}}}catch(E){q={error:E}}finally{try{if(Ee&&!Ee.done&&(G=_e.return))G.call(_e)}finally{if(q)throw q.error}}}}catch(E){$={error:E}}finally{try{if(ae&&!ae.done&&(j=ie.return))j.call(ie)}finally{if($)throw $.error}}return null};return PluginLicenseTypeIdentifier}();R.PluginLicenseTypeIdentifier=$},13957:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginLicensesRenderer=void 0;var N=function(){function PluginLicensesRenderer(E,R){this.renderLicenses=E;this.renderBanner=R}return PluginLicensesRenderer}();R.PluginLicensesRenderer=N},98707:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginModuleCache=void 0;var N=function(){function PluginModuleCache(){this.totalCache={};this.chunkCache={};this.chunkSeenCache={}}PluginModuleCache.prototype.registerModule=function(E,R){this.totalCache[R.name]=R;if(!this.chunkCache[E]){this.chunkCache[E]={}}this.chunkCache[E][R.name]=R};PluginModuleCache.prototype.getModule=function(E){return this.totalCache[E]||null};PluginModuleCache.prototype.markSeenForChunk=function(E,R){if(!this.chunkSeenCache[E]){this.chunkSeenCache[E]={}}this.chunkSeenCache[E][R]=true};PluginModuleCache.prototype.alreadySeenForChunk=function(E,R){return!!(this.chunkSeenCache[E]&&this.chunkSeenCache[E][R])};PluginModuleCache.prototype.getAllModulesForChunk=function(E){var R=[];var N=this.chunkCache[E];if(N){Object.keys(N).forEach((function(E){R.push(N[E])}))}return R};PluginModuleCache.prototype.getAllModules=function(){var E=this;var R=[];Object.keys(this.totalCache).forEach((function(N){R.push(E.totalCache[N])}));return R};return PluginModuleCache}();R.PluginModuleCache=N},99801:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.PluginOptionsReader=void 0;var N=function(){function PluginOptionsReader(E){this.context=E}PluginOptionsReader.prototype.readOptions=function(E){var R=E.licenseInclusionTest||function(){return true};var N=E.unacceptableLicenseTest||function(){return false};var $=E.perChunkOutput===undefined||E.perChunkOutput;var j=E.licenseTemplateDir;var q=E.licenseTextOverrides||{};var G=E.licenseTypeOverrides||{};var ie=E.handleUnacceptableLicense||function(){};var ae=E.handleMissingLicenseText||function(){return null};var le=E.renderLicenses||function(E){return E.sort((function(E,R){return E.name{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.WebpackAssetManager=void 0;var $=N(2991);var j=function(){function WebpackAssetManager(E,R){this.outputFilename=E;this.licensesRenderer=R}WebpackAssetManager.prototype.writeChunkLicenses=function(E,R,N){var j=this.licensesRenderer.renderLicenses(E);if(j&&j.trim()){var q=R.getPath(this.outputFilename,{chunk:N});R.assets[q]=new $.RawSource(j)}};WebpackAssetManager.prototype.writeChunkBanners=function(E,R,N){var j=R.getPath(this.outputFilename,{chunk:N});var q=this.licensesRenderer.renderBanner(j,E);if(q&&q.trim()){var G=N.files instanceof Set?Array.from(N.files):N.files;G.filter((function(E){return/\.js$/.test(E)})).forEach((function(E){R.assets[E]=new $.ConcatSource(q,R.assets[E])}))}};WebpackAssetManager.prototype.writeAllLicenses=function(E,R){var N=this.licensesRenderer.renderLicenses(E);if(N){var j=R.getPath(this.outputFilename,R);R.assets[j]=new $.RawSource(N)}};return WebpackAssetManager}();R.WebpackAssetManager=j},39900:function(E,R,N){"use strict";var $=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackChunkModuleIterator=void 0;var j=N(7425);var q=function(){function WebpackChunkModuleIterator(){this.statsIterator=new j.WebpackStatsIterator}WebpackChunkModuleIterator.prototype.iterateModules=function(E,R,N,j){var q,G,ie,ae,le,_e,Ee,we;if(typeof E.chunkGraph!=="undefined"&&typeof N!=="undefined"){try{for(var Ie=$(E.chunkGraph.getChunkModulesIterable(R)),Me=Ie.next();!Me.done;Me=Ie.next()){var Te=Me.value;j(Te)}}catch(E){q={error:E}}finally{try{if(Me&&!Me.done&&(G=Ie.return))G.call(Ie)}finally{if(q)throw q.error}}var Ne=this.statsIterator.collectModules(N,R.name);try{for(var Be=$(Ne),Le=Be.next();!Le.done;Le=Be.next()){var je=Le.value;j(je)}}catch(E){ie={error:E}}finally{try{if(Le&&!Le.done&&(ae=Be.return))ae.call(Be)}finally{if(ie)throw ie.error}}}else if(typeof R.modulesIterable!=="undefined"){try{for(var ze=$(R.modulesIterable),Ue=ze.next();!Ue.done;Ue=ze.next()){var qe=Ue.value;j(qe)}}catch(E){le={error:E}}finally{try{if(Ue&&!Ue.done&&(_e=ze.return))_e.call(ze)}finally{if(le)throw le.error}}}else if(typeof R.forEachModule==="function"){R.forEachModule(j)}else if(Array.isArray(R.modules)){R.modules.forEach(j)}if(typeof E.chunkGraph!=="undefined"){try{for(var Ge=$(E.chunkGraph.getChunkEntryModulesIterable(R)),He=Ge.next();!He.done;He=Ge.next()){var We=He.value;j(We)}}catch(E){Ee={error:E}}finally{try{if(He&&!He.done&&(we=Ge.return))we.call(Ge)}finally{if(Ee)throw Ee.error}}}else if(R.entryModule){j(R.entryModule)}};return WebpackChunkModuleIterator}();R.WebpackChunkModuleIterator=q},85777:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackCompilerHandler=void 0;var $=function(){function WebpackCompilerHandler(E,R,N,$,j,q,G,ie,ae){this.chunkIncludeTester=E;this.chunkHandler=R;this.assetManager=N;this.moduleCache=$;this.addBanner=j;this.perChunkOutput=q;this.additionalChunkModules=G;this.additionalModules=ie;this.skipChildCompilers=ae}WebpackCompilerHandler.prototype.handleCompiler=function(E){var R=this;if(typeof E.hooks!=="undefined"){var N=this.skipChildCompilers?"thisCompilation":"compilation";E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT},(function(){var N=E.getStats().toJson({all:false,chunks:true,chunkModules:true,nestedModules:true,dependentModules:true,cachedModules:true});R.iterateChunks(E,E.chunks,N)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(N){R.iterateChunks(E,N)}))}if(R.addBanner){R.iterateChunksForBanner(E)}}));if(!this.perChunkOutput){E.hooks[N].tap("LicenseWebpackPlugin",(function(E){if(!E.compiler.isChild()){if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT+1},(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}else{E.hooks.optimizeChunkAssets.tap("LicenseWebpackPlugin",(function(){R.assetManager.writeAllLicenses(R.moduleCache.getAllModules(),E)}))}}}))}}else if(typeof E.plugin!=="undefined"){E.plugin("compilation",(function(E){if(typeof E.plugin!=="undefined"){E.plugin("optimize-chunk-assets",(function(N,$){R.iterateChunks(E,N);$()}))}}))}};WebpackCompilerHandler.prototype.iterateChunksForBanner=function(E){var R=this;if(typeof E.hooks.processAssets!=="undefined"){E.hooks.processAssets.tap({name:"LicenseWebpackPlugin",stage:WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS},(function(){var $,j;try{for(var q=N(E.chunks),G=q.next();!G.done;G=q.next()){var ie=G.value;if(R.chunkIncludeTester.isIncluded(ie.name)){R.assetManager.writeChunkBanners(R.moduleCache.getAllModulesForChunk(ie.name),E,ie)}}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}}))}};WebpackCompilerHandler.prototype.iterateChunks=function(E,R,$){var j,q;var G=this;var _loop_1=function(R){if(ie.chunkIncludeTester.isIncluded(R.name)){ie.chunkHandler.processChunk(E,R,ie.moduleCache,$);if(ie.additionalChunkModules[R.name]){ie.additionalChunkModules[R.name].forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.additionalModules.length>0){ie.additionalModules.forEach((function(N){return G.chunkHandler.processModule(E,R,G.moduleCache,N)}))}if(ie.perChunkOutput){ie.assetManager.writeChunkLicenses(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}if(ie.addBanner&&typeof E.hooks.processAssets==="undefined"){ie.assetManager.writeChunkBanners(ie.moduleCache.getAllModulesForChunk(R.name),E,R)}}};var ie=this;try{for(var ae=N(R),le=ae.next();!le.done;le=ae.next()){var _e=le.value;_loop_1(_e)}}catch(E){j={error:E}}finally{try{if(le&&!le.done&&(q=ae.return))q.call(ae)}finally{if(j)throw j.error}}};WebpackCompilerHandler.PROCESS_ASSETS_STAGE_ADDITIONS=-100;WebpackCompilerHandler.PROCESS_ASSETS_STAGE_REPORT=5e3;return WebpackCompilerHandler}();R.WebpackCompilerHandler=$},41728:function(E,R,N){"use strict";var $=this&&this.__createBinding||(Object.create?function(E,R,N,$){if($===undefined)$=N;Object.defineProperty(E,$,{enumerable:true,get:function(){return R[N]}})}:function(E,R,N,$){if($===undefined)$=N;E[$]=R[N]});var j=this&&this.__setModuleDefault||(Object.create?function(E,R){Object.defineProperty(E,"default",{enumerable:true,value:R})}:function(E,R){E["default"]=R});var q=this&&this.__importStar||function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(N!=="default"&&Object.hasOwnProperty.call(E,N))$(R,E,N);j(R,E);return R};var G=this&&this.__read||function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};var ie=this&&this.__spread||function(){for(var E=[],R=0;R{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.WebpackModuleFileIterator=void 0;var N=function(){function WebpackModuleFileIterator(E){this.requireResolve=E}WebpackModuleFileIterator.prototype.iterateFiles=function(E,R){var N=this.internalCallback.bind(this,R);N(E.resource||E.rootModule&&E.rootModule.resource);if(Array.isArray(E.fileDependencies)){var $=E.fileDependencies;$.forEach(N)}if(Array.isArray(E.dependencies)){E.dependencies.forEach((function(E){return N(E.originModule&&E.originModule.resource)}))}};WebpackModuleFileIterator.prototype.internalCallback=function(E,R){var N=this.getActualFilename(R);if(N){E(N)}};WebpackModuleFileIterator.prototype.getActualFilename=function(E){if(!E||E.indexOf("external ")===0||E.indexOf("container entry ")===0||E.indexOf("ignored|")===0||E.indexOf("remote ")===0||E.indexOf("data:")===0){return null}if(E.indexOf("webpack/runtime")===0){return this.requireResolve("webpack")}if(E.indexOf("!")>-1){var R=E.split("!");return R[R.length-1]}if(E.indexOf("provide module")===0){return E.split("=")[1].trim()}if(E.indexOf("consume-shared-module")===0){var R=E.split("|");var N=R[R.length-3];if(N==="undefined"){return null}return N}return E};return WebpackModuleFileIterator}();R.WebpackModuleFileIterator=N},7425:function(E,R){"use strict";var N=this&&this.__values||function(E){var R=typeof Symbol==="function"&&Symbol.iterator,N=R&&E[R],$=0;if(N)return N.call(E);if(E&&typeof E.length==="number")return{next:function(){if(E&&$>=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(R,"__esModule",{value:true});R.WebpackStatsIterator=void 0;var $=function(){function WebpackStatsIterator(){}WebpackStatsIterator.prototype.collectModules=function(E,R){var $,j;var q=[];try{for(var G=N(E.chunks),ie=G.next();!ie.done;ie=G.next()){var ae=ie.value;if(ae.names[0]===R){this.traverseModules(ae.modules,q)}}}catch(E){$={error:E}}finally{try{if(ie&&!ie.done&&(j=G.return))j.call(G)}finally{if($)throw $.error}}return q};WebpackStatsIterator.prototype.traverseModules=function(E,R){var $,j;if(!E){return}try{for(var q=N(E),G=q.next();!G.done;G=q.next()){var ie=G.value;R.push({resource:ie.identifier});this.traverseModules(ie.modules,R)}}catch(E){$={error:E}}finally{try{if(G&&!G.done&&(j=q.return))j.call(q)}finally{if($)throw $.error}}};return WebpackStatsIterator}();R.WebpackStatsIterator=$},58907:(E,R,N)=>{"use strict";var $;$={value:true};R.s=void 0;var j=N(85768);Object.defineProperty(R,"s",{enumerable:true,get:function(){return j.LicenseWebpackPlugin}})},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,R,N)=>{var $=N(57147);var j=$.readFile.bind($);var q=N(45658);function utf8BufferToString(E){var R=E.toString("utf-8");if(R.charCodeAt(0)===65279){return R.substr(1)}else{return R}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var R=G.exec(E);return{path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}}function dirname(E){if(E==="/")return"/";var R=E.lastIndexOf("/");var N=E.lastIndexOf("\\");var $=E.indexOf("/");var j=E.indexOf("\\");var q=R>N?R:N;var G=R>N?$:j;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var R={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(R,"request",{enumerable:true,get:function(){return R.path.replace(/#/g,"\0#")+R.query.replace(/#/g,"\0#")+R.fragment},set:function(E){if(typeof E==="string"){var N=parsePathQueryFragment(E);R.path=N.path;R.query=N.query;R.fragment=N.fragment;R.options=undefined;R.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");R.path=E.loader;R.fragment=E.fragment||"";R.type=E.type;R.options=E.options;R.ident=E.ident;if(R.options===null)R.query="";else if(R.options===undefined)R.query="";else if(typeof R.options==="string")R.query="?"+R.options;else if(R.ident)R.query="??"+R.ident;else if(typeof R.options==="object"&&R.options.ident)R.query="??"+R.options.ident;else R.query="?"+JSON.stringify(R.options)}}});R.request=E;if(Object.preventExtensions){Object.preventExtensions(R)}return R}function runSyncOrAsync(E,R,N,$){var j=true;var q=false;var G=false;var ie=false;R.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}j=false;return ae};var ae=R.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;j=false;try{$.apply(null,arguments)}catch(E){G=true;throw E}};try{var le=function LOADER_EXECUTION(){return E.apply(R,N)}();if(j){q=true;if(le===undefined)return $();if(le&&typeof le==="object"&&typeof le.then==="function"){return le.then((function(E){$(null,E)}),$)}return $(null,le)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;$(E)}}function convertArgs(E,R){if(!R&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(R&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,R,N){if(R.loaderIndex>=R.loaders.length)return processResource(E,R,N);var $=R.loaders[R.loaderIndex];if($.pitchExecuted){R.loaderIndex++;return iteratePitchingLoaders(E,R,N)}q($,(function(j){if(j){R.cacheable(false);return N(j)}var q=$.pitch;$.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,R,N);runSyncOrAsync(q,R,[R.remainingRequest,R.previousRequest,$.data={}],(function($){if($)return N($);var j=Array.prototype.slice.call(arguments,1);var q=j.some((function(E){return E!==undefined}));if(q){R.loaderIndex--;iterateNormalLoaders(E,R,j,N)}else{iteratePitchingLoaders(E,R,N)}}))}))}function processResource(E,R,N){R.loaderIndex=R.loaders.length-1;var $=R.resourcePath;if($){E.processResource(R,$,(function($,j){if($)return N($);E.resourceBuffer=j;iterateNormalLoaders(E,R,[j],N)}))}else{iterateNormalLoaders(E,R,[null],N)}}function iterateNormalLoaders(E,R,N,$){if(R.loaderIndex<0)return $(null,N);var j=R.loaders[R.loaderIndex];if(j.normalExecuted){R.loaderIndex--;return iterateNormalLoaders(E,R,N,$)}var q=j.normal;j.normalExecuted=true;if(!q){return iterateNormalLoaders(E,R,N,$)}convertArgs(N,j.raw);runSyncOrAsync(q,R,N,(function(N){if(N)return $(N);var j=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,R,j,$)}))}R.getContext=function getContext(E){var R=parsePathQueryFragment(E).path;return dirname(R)};R.runLoaders=function runLoaders(E,R){var N=E.resource||"";var $=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,R,N,$)=>{R.addDependency(N);E(N,$)}).bind(null,E.readResource||j);var ie=N&&parsePathQueryFragment(N);var ae=ie?ie.path:undefined;var le=ie?ie.query:undefined;var _e=ie?ie.fragment:undefined;var Ee=ae?dirname(ae):null;var we=true;var Ie=[];var Me=[];var Te=[];$=$.map(createLoaderObject);q.context=Ee;q.loaderIndex=0;q.loaders=$;q.resourcePath=ae;q.resourceQuery=le;q.resourceFragment=_e;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){we=false}};q.dependency=q.addDependency=function addDependency(E){Ie.push(E)};q.addContextDependency=function addContextDependency(E){Me.push(E)};q.addMissingDependency=function addMissingDependency(E){Te.push(E)};q.getDependencies=function getDependencies(){return Ie.slice()};q.getContextDependencies=function getContextDependencies(){return Me.slice()};q.getMissingDependencies=function getMissingDependencies(){return Te.slice()};q.clearDependencies=function clearDependencies(){Ie.length=0;Me.length=0;Te.length=0;we=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var R=E&&parsePathQueryFragment(E);q.resourcePath=R?R.path:undefined;q.resourceQuery=R?R.query:undefined;q.resourceFragment=R?R.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,N){if(E){return R(E,{cacheable:we,fileDependencies:Ie,contextDependencies:Me,missingDependencies:Te})}R(null,{result:N,resourceBuffer:Ne.resourceBuffer,cacheable:we,fileDependencies:Ie,contextDependencies:Me,missingDependencies:Te})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,R,N){if(typeof R!=="function"&&typeof R!=="object"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof R==="function"?R:R.default;E.pitch=R.pitch;E.raw=R.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return N(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}N()}},56342:(E,R,N)=>{"use strict";const $=N(48333);const j=N(89987);const q=N(62680);const G=N(80713);const ie=N(32453);const ae=ie.Readable;const le=ie.Writable;function isDir(E){if(typeof E!=="object")return false;return E[""]===true}function isFile(E){if(typeof E!=="object")return false;return!E[""]}function pathToArray(E){E=$(E);const R=/^\//.test(E);if(!R){if(!/^[A-Za-z]:/.test(E)){throw new q(G.code.EINVAL,E)}E=E.replace(/[\\\/]+/g,"\\");E=E.split(/[\\\/]/);E[0]=E[0].toUpperCase()}else{E=E.replace(/\/+/g,"/");E=E.substr(1).split("/")}if(!E[E.length-1])E.pop();return E}function trueFn(){return true}function falseFn(){return false}class MemoryFileSystem{constructor(E){this.data=E||{};this.join=j;this.pathToArray=pathToArray;this.normalize=$}meta(E){const R=pathToArray(E);let N=this.data;let $=0;for(;${N.push(R);$+=R.length;this.writeFile(E,Buffer.concat(N,$),q)};return R}exists(E,R){return R(this.existsSync(E))}writeFile(E,R,N,$){if(!$){$=N;N=undefined}try{this.writeFileSync(E,R,N)}catch(E){return $(E)}return $()}}["stat","readdir","mkdirp","rmdir","unlink","readlink"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N){let $;try{$=this[E+"Sync"](R)}catch(E){setImmediate((function(){N(E)}));return}setImmediate((function(){N(null,$)}))}}));["mkdir","readFile"].forEach((function(E){MemoryFileSystem.prototype[E]=function(R,N,$){if(!$){$=N;N=undefined}let j;try{j=this[E+"Sync"](R,N)}catch(E){setImmediate((function(){$(E)}));return}setImmediate((function(){$(null,j)}))}}));E.exports=MemoryFileSystem},62680:E=>{"use strict";class MemoryFileSystemError extends Error{constructor(E,R,N){super(E,R);this.name=this.constructor.name;var $=[`${E.code}:`,`${E.description},`];if(N){$.push(N)}$.push(`'${R}'`);this.message=$.join(" ");this.code=E.code;this.errno=E.errno;this.path=R;this.operation=N;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}}E.exports=MemoryFileSystemError},89987:(E,R,N)=>{"use strict";const $=N(48333);const j=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,R){if(!R)return $(E);if(j.test(R))return $(R.replace(/\//g,"\\"));if(q.test(R))return $(R);if(E=="/")return $(E+R);if(j.test(E))return $(E.replace(/\//g,"\\")+"\\"+R.replace(/\//g,"\\"));if(q.test(E))return $(E+"/"+R);return $(E+"/"+R)}},48333:E=>{"use strict";E.exports=function normalize(E){var R=E.split(/(\\+|\/+)/);if(R.length===1)return E;var N=[];var $=0;for(var j=0,q=false;j{"use strict";const{PassThrough:$}=N(12781);E.exports=function(){var E=[];var R=new $({objectMode:true});R.setMaxListeners(0);R.add=add;R.isEmpty=isEmpty;R.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return R;function add(N){if(Array.isArray(N)){N.forEach(add);return this}E.push(N);N.once("end",remove.bind(null,N));N.once("error",R.emit.bind(R,"error"));N.pipe(R,{end:false});return this}function isEmpty(){return E.length==0}function remove(N){E=E.filter((function(E){return E!==N}));if(!E.length&&R.readable){R.end()}}}},22198:(E,R,N)=>{ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ +E.exports=N(53765)},50007:(E,R,N)=>{"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var $=N(22198);var j=N(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;R.charset=charset;R.charsets={lookup:charset};R.contentType=contentType;R.extension=extension;R.extensions=Object.create(null);R.lookup=lookup;R.types=Object.create(null);populateMaps(R.extensions,R.types);function charset(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var N=R&&$[R[1].toLowerCase()];if(N&&N.charset){return N.charset}if(R&&G.test(R[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var N=E.indexOf("/")===-1?R.lookup(E):E;if(!N){return false}if(N.indexOf("charset")===-1){var $=R.charset(N);if($)N+="; charset="+$.toLowerCase()}return N}function extension(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var $=N&&R.extensions[N[1].toLowerCase()];if(!$||!$.length){return false}return $[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var N=j("x."+E).toLowerCase().substr(1);if(!N){return false}return R.types[N]||false}function populateMaps(E,R){var N=["nginx","apache",undefined,"iana"];Object.keys($).forEach((function forEachMimeType(j){var q=$[j];var G=q.extensions;if(!G||!G.length){return}E[j]=G;for(var ie=0;ie_e||le===_e&&R[ae].substr(0,12)==="application/")){continue}}R[ae]=j}}))}},40535:E=>{E.exports=function(E,R){if(!R)R={};var N={bools:{},strings:{},unknownFn:null};if(typeof R["unknown"]==="function"){N.unknownFn=R["unknown"]}if(typeof R["boolean"]==="boolean"&&R["boolean"]){N.allBools=true}else{[].concat(R["boolean"]).filter(Boolean).forEach((function(E){N.bools[E]=true}))}var $={};Object.keys(R.alias||{}).forEach((function(E){$[E]=[].concat(R.alias[E]);$[E].forEach((function(R){$[R]=[E].concat($[E].filter((function(E){return R!==E})))}))}));[].concat(R.string).filter(Boolean).forEach((function(E){N.strings[E]=true;if($[E]){N.strings[$[E]]=true}}));var j=R["default"]||{};var q={_:[]};Object.keys(N.bools).forEach((function(E){setArg(E,j[E]===undefined?false:j[E])}));var G=[];if(E.indexOf("--")!==-1){G=E.slice(E.indexOf("--")+1);E=E.slice(0,E.indexOf("--"))}function argDefined(E,R){return N.allBools&&/^--[^=]+$/.test(R)||N.strings[E]||N.bools[E]||$[E]}function setArg(E,R,j){if(j&&N.unknownFn&&!argDefined(E,j)){if(N.unknownFn(j)===false)return}var G=!N.strings[E]&&isNumber(R)?Number(R):R;setKey(q,E.split("."),G);($[E]||[]).forEach((function(E){setKey(q,E.split("."),G)}))}function setKey(E,R,$){var j=E;for(var q=0;q=R&&E[G]>=$){G--}if(q>G){break}swap(E,j,q++,G--)}return q}function swap(E,R,N,$){var j=E[N];E[N]=E[$];E[$]=j;var q=R[N];R[N]=R[$];R[$]=q}function quickSort(E,R,N,$){if(R===N){return}var j=R;while(++j<=N&&E[R]===E[j]){var q=j-1;if($[q]>$[j]){var G=$[q];$[q]=$[j];$[j]=G}}if(j>N){return}var ie=E[R]>E[j]?R:j;j=partition(E,R,N,E[ie],$);quickSort(E,R,j-1,$);quickSort(E,j,N,$)}function makeConcatResult(E){var N=[];arrayEachSync(E,(function(E){if(E===R){return}if(ie(E)){le.apply(N,E)}else{N.push(E)}}));return N}function arrayEach(E,R,N){var $=-1;var j=E.length;if(R.length===3){while(++$we?we:j,je);function arrayIterator(){Ie=qe++;if(Iele?le:$,Be);function arrayIterator(){if(jele?le:$,Le);function arrayIterator(){we=ze++;if(wele?le:$,Be);function arrayIterator(){we=ze++;if(wewe?we:j,je);function arrayIterator(){Ie=Ue++;if(Iewe?we:j,je);function arrayIterator(){Ie=qe++;if(Iele?le:N,Be);function arrayIterator(){we=ze++;if(wele?le:$,ze);function arrayIterator(){if(qe=2){le.apply(Le,slice(arguments,1))}if(E){j(E,Le)}else if(++je===G){Ne=N;j(null,Le)}else if(Be){Ee(Ne)}else{Be=true;Ne()}Be=false}}function concatLimit(E,$,j,G){G=G||R;var le,we,Ie,Me,Te,Ne;var Be=false;var Le=0;var je=0;if(ie(E)){le=E.length;Te=j.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(_e&&E[_e]){le=Infinity;Ne=[];Ie=E[_e]();Te=j.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var ze=ae(E);le=ze.length;Te=j.length===3?objectIteratorWithKey:objectIterator}if(!le||isNaN($)||$<1){return G(null,[])}Ne=Ne||Array(le);timesSync($>le?le:$,Te);function arrayIterator(){if(Lele?le:$,Le);function arrayIterator(){if(zeG?G:$,Me);function arrayIterator(){le=Ne++;if(le1){var $=slice(arguments,1);return go.apply(this,$)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var R=E.prev;var N=E.next;if(R){R.next=N}else{this.head=N}if(N){N.prev=R}else{this.tail=R}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,R){R.prev=E.prev;R.next=E;if(E.prev){E.prev.next=R}else{this.head=R}E.prev=R;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var R=this.tail;if(R){E.prev=R;E.next=R.next;this.tail=E;R.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var R;var N=[];while(E--&&(R=this.shift())){N.push(R)}return N};DLL.prototype.remove=function(E){var R=this.head;while(R){if(E(R)){this._removeLink(R)}R=R.next}return this};function baseQueue(E,$,j,q){if(j===undefined){j=1}else if(isNaN(j)||j<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var _e,we;var Ie={_tasks:new DLL,concurrency:j,payload:q,saturated:R,unsaturated:R,buffer:j/4,empty:R,drain:R,error:R,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:$};return Ie;function push(E,R){_insert(E,R)}function unshift(E,R){_insert(E,R,true)}function _exec(E){var R={data:E,callback:_e};if(we){Ie._tasks.unshift(R)}else{Ie._tasks.push(R)}Ee(Ie.process)}function _insert(E,N,$){if(N==null){N=R}else if(typeof N!=="function"){throw new Error("task callback must be a function")}Ie.started=true;var j=ie(E)?E:[E];if(E===undefined||!j.length){if(Ie.idle()){Ee(Ie.drain)}return}we=$;_e=N;arrayEachSync(j,_exec);_e=undefined}function kill(){Ie.drain=R;Ie._tasks.empty()}function _next(E,R){var $=false;return function done(j,q){if($){N()}$=true;G--;var ie;var le=-1;var _e=ae.length;var Ee=-1;var we=R.length;var Ie=arguments.length>2;var Me=Ie&&createArray(arguments);while(++Ee=le.priority){le=le.next}while(ae--){var _e={data:q[ae],priority:N,callback:j};if(le){$._tasks.insertBefore(le,_e)}else{$._tasks.push(_e)}Ee($.process)}}}function cargo(E,R){return baseQueue(false,E,1,R)}function auto(E,$,j){if(typeof $===G){j=$;$=null}var q=ae(E);var le=q.length;var _e={};if(le===0){return j(null,_e)}var Ee=0;var we=new DLL;var Ie=Object.create(null);j=onlyOnce(j||R);$=$||le;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,$){var G,ae;if(!ie(E)){G=E;ae=0;we.push([G,ae,done]);return}var Me=E.length-1;G=E[Me];ae=Me;if(Me===0){we.push([G,ae,done]);return}var Te=-1;while(++Te=E){j(null,q);j=N}else if(G){Ee(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,$,j,q){q=q||R;E=+E;if(isNaN(E)||E<1||isNaN($)||$<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var le=0;timesSync($>E?E:$,iterate);function iterate(){var R=ae++;if(R=E){q(null,G);q=N}else if(ie){Ee(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,N){N=once(N||R);var $,j;var G=-1;if(ie(E)){$=E.length;while(++G<$){E[G](N)}}else if(E&&typeof E===q){j=ae(E);$=j.length;while(++G<$){E[j[G]](N)}}else{return N(new TypeError("First argument to race must be a collection of functions"))}if(!$){N(null)}}function memoize(E,R){R=R||function(E){return E};var N={};var $={};var memoized=function(){var j=createArray(arguments);var q=j.pop();var G=R.apply(null,j);if(has(N,G)){Ee((function(){q.apply(null,N[G])}));return}if(has($,G)){return $[G].push(q)}$[G]=[q];j.push(done);E.apply(null,j);function done(E){var R=createArray(arguments);if(!E){N[G]=R}var j=$[G];delete $[G];var q=-1;var ie=j.length;while(++q2){N=slice(arguments,1)}R(null,{value:N})}}}function reflectAll(E){var R,N;if(ie(E)){R=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){N=ae(E);R={};baseEachSync(E,iterate,N)}return R;function iterate(E,N){R[N]=reflect(E)}}function createLogger(E){return function(E){var R=slice(arguments,1);R.push(done);E.apply(null,R)};function done(R){if(typeof console===q){if(R){if(console.error){console.error(R)}return}if(console[E]){var N=slice(arguments,1);arrayEachSync(N,(function(R){console[E](R)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},75522:E=>{"use strict";var R=process.platform==="win32";var N=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var $={};function win32SplitPath(E){return N.exec(E).slice(1)}$.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=win32SplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0]===R[1]?R[0]:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};var j=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var q={};function posixSplitPath(E){return j.exec(E).slice(1)}q.parse=function(E){if(typeof E!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof E)}var R=posixSplitPath(E);if(!R||R.length!==5){throw new TypeError("Invalid path '"+E+"'")}return{root:R[1],dir:R[0].slice(0,-1),base:R[2],ext:R[4],name:R[3]}};if(R)E.exports=$.parse;else E.exports=q.parse;E.exports.posix=q.parse;E.exports.win32=$.parse},50411:E=>{"use strict";if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){E.exports={nextTick:nextTick}}else{E.exports=process}function nextTick(E,R,N,$){if(typeof E!=="function"){throw new TypeError('"callback" argument must be a function')}var j=arguments.length;var q,G;switch(j){case 0:case 1:return process.nextTick(E);case 2:return process.nextTick((function afterTickOne(){E.call(null,R)}));case 3:return process.nextTick((function afterTickTwo(){E.call(null,R,N)}));case 4:return process.nextTick((function afterTickThree(){E.call(null,R,N,$)}));default:q=new Array(j-1);G=0;while(G + * https://github.com/rvagg/prr + * License: MIT + */ +(function(R,N,$){if(true&&E.exports)E.exports=$();else N[R]=$()})("prr",this,(function(){var E=typeof Object.defineProperty=="function"?function(E,R,N){Object.defineProperty(E,R,N);return E}:function(E,R,N){E[R]=N.value;return E},makeOptions=function(E,R){var N=typeof R=="object",$=!N&&typeof R=="string",op=function(E){return N?!!R[E]:$?R.indexOf(E[0])>-1:false};return{enumerable:op("enumerable"),configurable:op("configurable"),writable:op("writable"),value:E}},prr=function(R,N,$,j){var q;j=makeOptions($,j);if(typeof N=="object"){for(q in N){if(Object.hasOwnProperty.call(N,q)){j.value=N[q];E(R,q,j)}}return R}return E(R,N,j)};return prr}))},31998:(E,R,N)=>{E.exports=N(6113).randomBytes},81959:(E,R,N)=>{"use strict";var $=N(50411);var j=Object.keys||function(E){var R=[];for(var N in E){R.push(N)}return R};E.exports=Duplex;var q=Object.create(N(93349));q.inherits=N(28309);var G=N(97469);var ie=N(97867);q.inherits(Duplex,G);{var ae=j(ie.prototype);for(var le=0;le{"use strict";E.exports=PassThrough;var $=N(77837);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(PassThrough,$);function PassThrough(E){if(!(this instanceof PassThrough))return new PassThrough(E);$.call(this,E)}PassThrough.prototype._transform=function(E,R,N){N(null,E)}},97469:(E,R,N)=>{"use strict";var $=N(50411);E.exports=Readable;var j=N(27523);var q;Readable.ReadableState=ReadableState;var G=N(82361).EventEmitter;var EElistenerCount=function(E,R){return E.listeners(R).length};var ie=N(99837);var ae=N(22560).Buffer;var le=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return ae.from(E)}function _isUint8Array(E){return ae.isBuffer(E)||E instanceof le}var _e=Object.create(N(93349));_e.inherits=N(28309);var Ee=N(73837);var we=void 0;if(Ee&&Ee.debuglog){we=Ee.debuglog("stream")}else{we=function(){}}var Ie=N(24220);var Me=N(22535);var Te;_e.inherits(Readable,ie);var Ne=["error","close","destroy","pause","resume"];function prependListener(E,R,N){if(typeof E.prependListener==="function")return E.prependListener(R,N);if(!E._events||!E._events[R])E.on(R,N);else if(j(E._events[R]))E._events[R].unshift(N);else E._events[R]=[N,E._events[R]]}function ReadableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.readableObjectMode;var j=E.highWaterMark;var G=E.readableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new Ie;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=E.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(E.encoding){if(!Te)Te=N(80147).s;this.decoder=new Te(E.encoding);this.encoding=E.encoding}}function Readable(E){q=q||N(81959);if(!(this instanceof Readable))return new Readable(E);this._readableState=new ReadableState(E,this);this.readable=true;if(E){if(typeof E.read==="function")this._read=E.read;if(typeof E.destroy==="function")this._destroy=E.destroy}ie.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(E){if(!this._readableState){return}this._readableState.destroyed=E}});Readable.prototype.destroy=Me.destroy;Readable.prototype._undestroy=Me.undestroy;Readable.prototype._destroy=function(E,R){this.push(null);R(E)};Readable.prototype.push=function(E,R){var N=this._readableState;var $;if(!N.objectMode){if(typeof E==="string"){R=R||N.defaultEncoding;if(R!==N.encoding){E=ae.from(E,R);R=""}$=true}}else{$=true}return readableAddChunk(this,E,R,false,$)};Readable.prototype.unshift=function(E){return readableAddChunk(this,E,null,true,false)};function readableAddChunk(E,R,N,$,j){var q=E._readableState;if(R===null){q.reading=false;onEofChunk(E,q)}else{var G;if(!j)G=chunkInvalid(q,R);if(G){E.emit("error",G)}else if(q.objectMode||R&&R.length>0){if(typeof R!=="string"&&!q.objectMode&&Object.getPrototypeOf(R)!==ae.prototype){R=_uint8ArrayToBuffer(R)}if($){if(q.endEmitted)E.emit("error",new Error("stream.unshift() after end event"));else addChunk(E,q,R,true)}else if(q.ended){E.emit("error",new Error("stream.push() after EOF"))}else{q.reading=false;if(q.decoder&&!N){R=q.decoder.write(R);if(q.objectMode||R.length!==0)addChunk(E,q,R,false);else maybeReadMore(E,q)}else{addChunk(E,q,R,false)}}}else if(!$){q.reading=false}}return needMoreData(q)}function addChunk(E,R,N,$){if(R.flowing&&R.length===0&&!R.sync){E.emit("data",N);E.read(0)}else{R.length+=R.objectMode?1:N.length;if($)R.buffer.unshift(N);else R.buffer.push(N);if(R.needReadable)emitReadable(E)}maybeReadMore(E,R)}function chunkInvalid(E,R){var N;if(!_isUint8Array(R)&&typeof R!=="string"&&R!==undefined&&!E.objectMode){N=new TypeError("Invalid non-string/buffer chunk")}return N}function needMoreData(E){return!E.ended&&(E.needReadable||E.length=Be){E=Be}else{E--;E|=E>>>1;E|=E>>>2;E|=E>>>4;E|=E>>>8;E|=E>>>16;E++}return E}function howMuchToRead(E,R){if(E<=0||R.length===0&&R.ended)return 0;if(R.objectMode)return 1;if(E!==E){if(R.flowing&&R.length)return R.buffer.head.data.length;else return R.length}if(E>R.highWaterMark)R.highWaterMark=computeNewHighWaterMark(E);if(E<=R.length)return E;if(!R.ended){R.needReadable=true;return 0}return R.length}Readable.prototype.read=function(E){we("read",E);E=parseInt(E,10);var R=this._readableState;var N=E;if(E!==0)R.emittedReadable=false;if(E===0&&R.needReadable&&(R.length>=R.highWaterMark||R.ended)){we("read: emitReadable",R.length,R.ended);if(R.length===0&&R.ended)endReadable(this);else emitReadable(this);return null}E=howMuchToRead(E,R);if(E===0&&R.ended){if(R.length===0)endReadable(this);return null}var $=R.needReadable;we("need readable",$);if(R.length===0||R.length-E0)j=fromList(E,R);else j=null;if(j===null){R.needReadable=true;E=0}else{R.length-=E}if(R.length===0){if(!R.ended)R.needReadable=true;if(N!==E&&R.ended)endReadable(this)}if(j!==null)this.emit("data",j);return j};function onEofChunk(E,R){if(R.ended)return;if(R.decoder){var N=R.decoder.end();if(N&&N.length){R.buffer.push(N);R.length+=R.objectMode?1:N.length}}R.ended=true;emitReadable(E)}function emitReadable(E){var R=E._readableState;R.needReadable=false;if(!R.emittedReadable){we("emitReadable",R.flowing);R.emittedReadable=true;if(R.sync)$.nextTick(emitReadable_,E);else emitReadable_(E)}}function emitReadable_(E){we("emit readable");E.emit("readable");flow(E)}function maybeReadMore(E,R){if(!R.readingMore){R.readingMore=true;$.nextTick(maybeReadMore_,E,R)}}function maybeReadMore_(E,R){var N=R.length;while(!R.reading&&!R.flowing&&!R.ended&&R.length1&&indexOf(j.pipes,E)!==-1)&&!ae){we("false write response, pause",N._readableState.awaitDrain);N._readableState.awaitDrain++;le=true}N.pause()}}function onerror(R){we("onerror",R);unpipe();E.removeListener("error",onerror);if(EElistenerCount(E,"error")===0)E.emit("error",R)}prependListener(E,"error",onerror);function onclose(){E.removeListener("finish",onfinish);unpipe()}E.once("close",onclose);function onfinish(){we("onfinish");E.removeListener("close",onclose);unpipe()}E.once("finish",onfinish);function unpipe(){we("unpipe");N.unpipe(E)}E.emit("pipe",N);if(!j.flowing){we("pipe resume");N.resume()}return E};function pipeOnDrain(E){return function(){var R=E._readableState;we("pipeOnDrain",R.awaitDrain);if(R.awaitDrain)R.awaitDrain--;if(R.awaitDrain===0&&EElistenerCount(E,"data")){R.flowing=true;flow(E)}}}Readable.prototype.unpipe=function(E){var R=this._readableState;var N={hasUnpiped:false};if(R.pipesCount===0)return this;if(R.pipesCount===1){if(E&&E!==R.pipes)return this;if(!E)E=R.pipes;R.pipes=null;R.pipesCount=0;R.flowing=false;if(E)E.emit("unpipe",this,N);return this}if(!E){var $=R.pipes;var j=R.pipesCount;R.pipes=null;R.pipesCount=0;R.flowing=false;for(var q=0;q=R.length){if(R.decoder)N=R.buffer.join("");else if(R.buffer.length===1)N=R.buffer.head.data;else N=R.buffer.concat(R.length);R.buffer.clear()}else{N=fromListPartial(E,R.buffer,R.decoder)}return N}function fromListPartial(E,R,N){var $;if(Eq.length?q.length:E;if(G===q.length)j+=q;else j+=q.slice(0,E);E-=G;if(E===0){if(G===q.length){++$;if(N.next)R.head=N.next;else R.head=R.tail=null}else{R.head=N;N.data=q.slice(G)}break}++$}R.length-=$;return j}function copyFromBuffer(E,R){var N=ae.allocUnsafe(E);var $=R.head;var j=1;$.data.copy(N);E-=$.data.length;while($=$.next){var q=$.data;var G=E>q.length?q.length:E;q.copy(N,N.length-E,0,G);E-=G;if(E===0){if(G===q.length){++j;if($.next)R.head=$.next;else R.head=R.tail=null}else{R.head=$;$.data=q.slice(G)}break}++j}R.length-=j;return N}function endReadable(E){var R=E._readableState;if(R.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!R.endEmitted){R.ended=true;$.nextTick(endReadableNT,R,E)}}function endReadableNT(E,R){if(!E.endEmitted&&E.length===0){E.endEmitted=true;R.readable=false;R.emit("end")}}function indexOf(E,R){for(var N=0,$=E.length;N<$;N++){if(E[N]===R)return N}return-1}},77837:(E,R,N)=>{"use strict";E.exports=Transform;var $=N(81959);var j=Object.create(N(93349));j.inherits=N(28309);j.inherits(Transform,$);function afterTransform(E,R){var N=this._transformState;N.transforming=false;var $=N.writecb;if(!$){return this.emit("error",new Error("write callback called multiple times"))}N.writechunk=null;N.writecb=null;if(R!=null)this.push(R);$(E);var j=this._readableState;j.reading=false;if(j.needReadable||j.length{"use strict";var $=N(50411);E.exports=Writable;function WriteReq(E,R,N){this.chunk=E;this.encoding=R;this.callback=N;this.next=null}function CorkedRequest(E){var R=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(R,E)}}var j=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:$.nextTick;var q;Writable.WritableState=WritableState;var G=Object.create(N(93349));G.inherits=N(28309);var ie={deprecate:N(95791)};var ae=N(99837);var le=N(22560).Buffer;var _e=global.Uint8Array||function(){};function _uint8ArrayToBuffer(E){return le.from(E)}function _isUint8Array(E){return le.isBuffer(E)||E instanceof _e}var Ee=N(22535);G.inherits(Writable,ae);function nop(){}function WritableState(E,R){q=q||N(81959);E=E||{};var $=R instanceof q;this.objectMode=!!E.objectMode;if($)this.objectMode=this.objectMode||!!E.writableObjectMode;var j=E.highWaterMark;var G=E.writableHighWaterMark;var ie=this.objectMode?16:16*1024;if(j||j===0)this.highWaterMark=j;else if($&&(G||G===0))this.highWaterMark=G;else this.highWaterMark=ie;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var ae=E.decodeStrings===false;this.decodeStrings=!ae;this.defaultEncoding=E.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(E){onwrite(R,E)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var E=this.bufferedRequest;var R=[];while(E){R.push(E);E=E.next}return R};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:ie.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(E){}})();var we;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){we=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(E){if(we.call(this,E))return true;if(this!==Writable)return false;return E&&E._writableState instanceof WritableState}})}else{we=function(E){return E instanceof this}}function Writable(E){q=q||N(81959);if(!we.call(Writable,this)&&!(this instanceof q)){return new Writable(E)}this._writableState=new WritableState(E,this);this.writable=true;if(E){if(typeof E.write==="function")this._write=E.write;if(typeof E.writev==="function")this._writev=E.writev;if(typeof E.destroy==="function")this._destroy=E.destroy;if(typeof E.final==="function")this._final=E.final}ae.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(E,R){var N=new Error("write after end");E.emit("error",N);$.nextTick(R,N)}function validChunk(E,R,N,j){var q=true;var G=false;if(N===null){G=new TypeError("May not write null values to stream")}else if(typeof N!=="string"&&N!==undefined&&!R.objectMode){G=new TypeError("Invalid non-string/buffer chunk")}if(G){E.emit("error",G);$.nextTick(j,G);q=false}return q}Writable.prototype.write=function(E,R,N){var $=this._writableState;var j=false;var q=!$.objectMode&&_isUint8Array(E);if(q&&!le.isBuffer(E)){E=_uint8ArrayToBuffer(E)}if(typeof R==="function"){N=R;R=null}if(q)R="buffer";else if(!R)R=$.defaultEncoding;if(typeof N!=="function")N=nop;if($.ended)writeAfterEnd(this,N);else if(q||validChunk(this,$,E,N)){$.pendingcb++;j=writeOrBuffer(this,$,q,E,R,N)}return j};Writable.prototype.cork=function(){var E=this._writableState;E.corked++};Writable.prototype.uncork=function(){var E=this._writableState;if(E.corked){E.corked--;if(!E.writing&&!E.corked&&!E.finished&&!E.bufferProcessing&&E.bufferedRequest)clearBuffer(this,E)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(E){if(typeof E==="string")E=E.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((E+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+E);this._writableState.defaultEncoding=E;return this};function decodeChunk(E,R,N){if(!E.objectMode&&E.decodeStrings!==false&&typeof R==="string"){R=le.from(R,N)}return R}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(E,R,N,$,j,q){if(!N){var G=decodeChunk(R,$,j);if($!==G){N=true;j="buffer";$=G}}var ie=R.objectMode?1:$.length;R.length+=ie;var ae=R.length{"use strict";function _classCallCheck(E,R){if(!(E instanceof R)){throw new TypeError("Cannot call a class as a function")}}var $=N(22560).Buffer;var j=N(73837);function copyBuffer(E,R,N){E.copy(R,N)}E.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(E){var R={data:E,next:null};if(this.length>0)this.tail.next=R;else this.head=R;this.tail=R;++this.length};BufferList.prototype.unshift=function unshift(E){var R={data:E,next:this.head};if(this.length===0)this.tail=R;this.head=R;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var E=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return E};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(E){if(this.length===0)return"";var R=this.head;var N=""+R.data;while(R=R.next){N+=E+R.data}return N};BufferList.prototype.concat=function concat(E){if(this.length===0)return $.alloc(0);if(this.length===1)return this.head.data;var R=$.allocUnsafe(E>>>0);var N=this.head;var j=0;while(N){copyBuffer(N.data,R,j);j+=N.data.length;N=N.next}return R};return BufferList}();if(j&&j.inspect&&j.inspect.custom){E.exports.prototype[j.inspect.custom]=function(){var E=j.inspect({length:this.length});return this.constructor.name+" "+E}}},22535:(E,R,N)=>{"use strict";var $=N(50411);function destroy(E,R){var N=this;var j=this._readableState&&this._readableState.destroyed;var q=this._writableState&&this._writableState.destroyed;if(j||q){if(R){R(E)}else if(E&&(!this._writableState||!this._writableState.errorEmitted)){$.nextTick(emitErrorNT,this,E)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(E||null,(function(E){if(!R&&E){$.nextTick(emitErrorNT,N,E);if(N._writableState){N._writableState.errorEmitted=true}}else if(R){R(E)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(E,R){E.emit("error",R)}E.exports={destroy:destroy,undestroy:undestroy}},99837:(E,R,N)=>{E.exports=N(12781)},22560:(E,R,N)=>{var $=N(14300);var j=$.Buffer;function copyProps(E,R){for(var N in E){R[N]=E[N]}}if(j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow){E.exports=$}else{copyProps($,R);R.Buffer=SafeBuffer}function SafeBuffer(E,R,N){return j(E,R,N)}copyProps(j,SafeBuffer);SafeBuffer.from=function(E,R,N){if(typeof E==="number"){throw new TypeError("Argument must not be a number")}return j(E,R,N)};SafeBuffer.alloc=function(E,R,N){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}var $=j(E);if(R!==undefined){if(typeof N==="string"){$.fill(R,N)}else{$.fill(R)}}else{$.fill(0)}return $};SafeBuffer.allocUnsafe=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return j(E)};SafeBuffer.allocUnsafeSlow=function(E){if(typeof E!=="number"){throw new TypeError("Argument must be a number")}return $.SlowBuffer(E)}},80147:(E,R,N)=>{"use strict";var $=N(22560).Buffer;var j=$.isEncoding||function(E){E=""+E;switch(E&&E.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(E){if(!E)return"utf8";var R;while(true){switch(E){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return E;default:if(R)return;E=(""+E).toLowerCase();R=true}}}function normalizeEncoding(E){var R=_normalizeEncoding(E);if(typeof R!=="string"&&($.isEncoding===j||!j(E)))throw new Error("Unknown encoding: "+E);return R||E}R.s=StringDecoder;function StringDecoder(E){this.encoding=normalizeEncoding(E);var R;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;R=4;break;case"utf8":this.fillLast=utf8FillLast;R=4;break;case"base64":this.text=base64Text;this.end=base64End;R=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=$.allocUnsafe(R)}StringDecoder.prototype.write=function(E){if(E.length===0)return"";var R;var N;if(this.lastNeed){R=this.fillLast(E);if(R===undefined)return"";N=this.lastNeed;this.lastNeed=0}else{N=0}if(N>5===6)return 2;else if(E>>4===14)return 3;else if(E>>3===30)return 4;return E>>6===2?-1:-2}function utf8CheckIncomplete(E,R,N){var $=R.length-1;if($=0){if(j>0)E.lastNeed=j-1;return j}if(--$=0){if(j>0)E.lastNeed=j-2;return j}if(--$=0){if(j>0){if(j===2)j=0;else E.lastNeed=j-3}return j}return 0}function utf8CheckExtraBytes(E,R,N){if((R[0]&192)!==128){E.lastNeed=0;return"�"}if(E.lastNeed>1&&R.length>1){if((R[1]&192)!==128){E.lastNeed=1;return"�"}if(E.lastNeed>2&&R.length>2){if((R[2]&192)!==128){E.lastNeed=2;return"�"}}}}function utf8FillLast(E){var R=this.lastTotal-this.lastNeed;var N=utf8CheckExtraBytes(this,E,R);if(N!==undefined)return N;if(this.lastNeed<=E.length){E.copy(this.lastChar,R,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}E.copy(this.lastChar,R,0,E.length);this.lastNeed-=E.length}function utf8Text(E,R){var N=utf8CheckIncomplete(this,E,R);if(!this.lastNeed)return E.toString("utf8",R);this.lastTotal=N;var $=E.length-(N-this.lastNeed);E.copy(this.lastChar,0,$);return E.toString("utf8",R,$)}function utf8End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+"�";return R}function utf16Text(E,R){if((E.length-R)%2===0){var N=E.toString("utf16le",R);if(N){var $=N.charCodeAt(N.length-1);if($>=55296&&$<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1];return N.slice(0,-1)}}return N}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=E[E.length-1];return E.toString("utf16le",R,E.length-1)}function utf16End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed){var N=this.lastTotal-this.lastNeed;return R+this.lastChar.toString("utf16le",0,N)}return R}function base64Text(E,R){var N=(E.length-R)%3;if(N===0)return E.toString("base64",R);this.lastNeed=3-N;this.lastTotal=3;if(N===1){this.lastChar[0]=E[E.length-1]}else{this.lastChar[0]=E[E.length-2];this.lastChar[1]=E[E.length-1]}return E.toString("base64",R,E.length-N)}function base64End(E){var R=E&&E.length?this.write(E):"";if(this.lastNeed)return R+this.lastChar.toString("base64",0,3-this.lastNeed);return R}function simpleWrite(E){return E.toString(this.encoding)}function simpleEnd(E){return E&&E.length?this.write(E):""}},32453:(E,R,N)=>{var $=N(12781);if(process.env.READABLE_STREAM==="disable"&&$){E.exports=$;R=E.exports=$.Readable;R.Readable=$.Readable;R.Writable=$.Writable;R.Duplex=$.Duplex;R.Transform=$.Transform;R.PassThrough=$.PassThrough;R.Stream=$}else{R=E.exports=N(97469);R.Stream=$||R;R.Readable=R;R.Writable=N(97867);R.Duplex=N(81959);R.Transform=N(77837);R.PassThrough=N(54021)}},47030:(E,R,N)=>{var $=N(42911);$.core=N(54800);$.isCore=N(80280);$.sync=N(4893);E.exports=$},42911:(E,R,N)=>{var $=N(57147);var j=N(71017);var q=N(25297);var G=N(1680);var ie=N(83034);var ae=N(13747);var le=$.realpath&&typeof $.realpath.native==="function"?$.realpath.native:$.realpath;var _e=function isFile(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isFile()||N.isFIFO())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var Ee=function isDirectory(E,R){$.stat(E,(function(E,N){if(!E){return R(null,N.isDirectory())}if(E.code==="ENOENT"||E.code==="ENOTDIR")return R(null,false);return R(E)}))};var we=function realpath(E,R){le(E,(function(N,$){if(N&&N.code!=="ENOENT")R(N);else R(null,N?E:$)}))};var Ie=function maybeRealpath(E,R,N,$){if(N&&N.preserveSymlinks===false){E(R,$)}else{$(null,R)}};var Me=function defaultReadPackage(E,R,N){E(R,(function(E,R){if(E)N(E);else{try{var $=JSON.parse(R);N(null,$)}catch(E){N(null)}}}))};var Te=function getPackageCandidates(E,R,N){var $=G(R,N,E);for(var q=0;q<$.length;q++){$[q]=j.join($[q],E)}return $};E.exports=function resolve(E,R,N){var G=N;var le=R;if(typeof R==="function"){G=le;le={}}if(typeof E!=="string"){var Ne=new TypeError("Path must be a string.");return process.nextTick((function(){G(Ne)}))}le=ie(E,le);var Be=le.isFile||_e;var Le=le.isDirectory||Ee;var je=le.readFile||$.readFile;var ze=le.realpath||we;var Ue=le.readPackage||Me;if(le.readFile&&le.readPackage){var qe=new TypeError("`readFile` and `readPackage` are mutually exclusive.");return process.nextTick((function(){G(qe)}))}var Ge=le.packageIterator;var He=le.extensions||[".js"];var We=le.includeCoreModules!==false;var Ve=le.basedir||j.dirname(q());var Ke=le.filename||Ve;le.paths=le.paths||[];var Qe=j.resolve(Ve);Ie(ze,Qe,le,(function(E,R){if(E)G(E);else init(R)}));var Je;function init(R){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){Je=j.resolve(R,E);if(E==="."||E===".."||E.slice(-1)==="/")Je+="/";if(/\/$/.test(E)&&Je===R){loadAsDirectory(Je,le.package,onfile)}else loadAsFile(Je,le.package,onfile)}else if(We&&ae(E)){return G(null,E)}else loadNodeModules(E,R,(function(R,N,$){if(R)G(R);else if(N){return Ie(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function onfile(R,N,$){if(R)G(R);else if(N)G(null,N,$);else loadAsDirectory(Je,(function(R,N,$){if(R)G(R);else if(N){Ie(ze,N,le,(function(E,R){if(E){G(E)}else{G(null,R,$)}}))}else{var j=new Error("Cannot find module '"+E+"' from '"+Ke+"'");j.code="MODULE_NOT_FOUND";G(j)}}))}function loadAsFile(E,R,N){var $=R;var q=N;if(typeof $==="function"){q=$;$=undefined}var G=[""].concat(He);load(G,E,$);function load(E,R,N){if(E.length===0)return q(null,undefined,N);var $=R+E[0];var G=N;if(G)onpkg(null,G);else loadpkg(j.dirname($),onpkg);function onpkg(N,ie,ae){G=ie;if(N)return q(N);if(ae&&G&&le.pathFilter){var _e=j.relative(ae,$);var Ee=_e.slice(0,_e.length-E[0].length);var we=le.pathFilter(G,R,Ee);if(we)return load([""].concat(He.slice()),j.resolve(ae,we),G)}Be($,onex)}function onex(N,j){if(N)return q(N);if(j)return q(null,$,G);load(E.slice(1),R,G)}}}function loadpkg(E,R){if(E===""||E==="/")return R(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(E)){return R(null)}if(/[/\\]node_modules[/\\]*$/.test(E))return R(null);Ie(ze,E,le,(function(N,$){if(N)return loadpkg(j.dirname(E),R);var q=j.join($,"package.json");Be(q,(function(N,$){if(!$)return loadpkg(j.dirname(E),R);Ue(je,q,(function(N,$){if(N)R(N);var j=$;if(j&&le.packageFilter){j=le.packageFilter(j,q)}R(null,j,E)}))}))}))}function loadAsDirectory(E,R,N){var $=N;var q=R;if(typeof q==="function"){$=q;q=le.package}Ie(ze,E,le,(function(R,N){if(R)return $(R);var G=j.join(N,"package.json");Be(G,(function(R,N){if(R)return $(R);if(!N)return loadAsFile(j.join(E,"index"),q,$);Ue(je,G,(function(R,N){if(R)return $(R);var q=N;if(q&&le.packageFilter){q=le.packageFilter(q,G)}if(q&&q.main){if(typeof q.main!=="string"){var ie=new TypeError("package “"+q.name+"” `main` must be a string");ie.code="INVALID_PACKAGE_MAIN";return $(ie)}if(q.main==="."||q.main==="./"){q.main="index"}loadAsFile(j.resolve(E,q.main),q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);if(!q)return loadAsFile(j.join(E,"index"),q,$);var G=j.resolve(E,q.main);loadAsDirectory(G,q,(function(R,N,q){if(R)return $(R);if(N)return $(null,N,q);loadAsFile(j.join(E,"index"),q,$)}))}));return}loadAsFile(j.join(E,"/index"),q,$)}))}))}))}function processDirs(E,R){if(R.length===0)return E(null,undefined);var N=R[0];Le(j.dirname(N),isdir);function isdir($,j){if($)return E($);if(!j)return processDirs(E,R.slice(1));loadAsFile(N,le.package,onfile)}function onfile(R,$,j){if(R)return E(R);if($)return E(null,$,j);loadAsDirectory(N,le.package,ondir)}function ondir(N,$,j){if(N)return E(N);if($)return E(null,$,j);processDirs(E,R.slice(1))}}function loadNodeModules(E,R,N){var thunk=function(){return Te(E,R,le)};processDirs(N,Ge?Ge(E,R,thunk,le):thunk())}}},25297:E=>{E.exports=function(){var E=Error.prepareStackTrace;Error.prepareStackTrace=function(E,R){return R};var R=(new Error).stack;Error.prepareStackTrace=E;return R[2].getFileName()}},54800:(E,R,N)=>{var $=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(E){var R=E.split(" ");var N=R.length>1?R[0]:"=";var j=(R.length>1?R[1]:R[0]).split(".");for(var q=0;q<3;++q){var G=parseInt($[q]||0,10);var ie=parseInt(j[q]||0,10);if(G===ie){continue}if(N==="<"){return G="){return G>=ie}else{return false}}return N===">="}function matchesRange(E){var R=E.split(/ ?&& ?/);if(R.length===0){return false}for(var N=0;N{var $=N(13747);E.exports=function isCore(E){return $(E)}},1680:(E,R,N)=>{var $=N(71017);var j=$.parse||N(75522);var q=function getNodeModulesDirs(E,R){var N="/";if(/^([A-Za-z]:)/.test(E)){N=""}else if(/^\\\\/.test(E)){N="\\\\"}var q=[E];var G=j(E);while(G.dir!==q[q.length-1]){q.push(G.dir);G=j(G.dir)}return q.reduce((function(E,j){return E.concat(R.map((function(E){return $.resolve(N,j,E)})))}),[])};E.exports=function nodeModulesPaths(E,R,N){var $=R&&R.moduleDirectory?[].concat(R.moduleDirectory):["node_modules"];if(R&&typeof R.paths==="function"){return R.paths(N,E,(function(){return q(E,$)}),R)}var j=q(E,$);return R&&R.paths?j.concat(R.paths):j}},83034:E=>{E.exports=function(E,R){return R||{}}},4893:(E,R,N)=>{var $=N(13747);var j=N(57147);var q=N(71017);var G=N(25297);var ie=N(1680);var ae=N(83034);var le=j.realpathSync&&typeof j.realpathSync.native==="function"?j.realpathSync.native:j.realpathSync;var _e=function isFile(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isFile()||R.isFIFO()};var Ee=function isDirectory(E){try{var R=j.statSync(E)}catch(E){if(E&&(E.code==="ENOENT"||E.code==="ENOTDIR"))return false;throw E}return R.isDirectory()};var we=function realpathSync(E){try{return le(E)}catch(E){if(E.code!=="ENOENT"){throw E}}return E};var Ie=function maybeRealpathSync(E,R,N){if(N&&N.preserveSymlinks===false){return E(R)}return R};var Me=function defaultReadPackageSync(E,R){var N=E(R);try{var $=JSON.parse(N);return $}catch(E){}};var Te=function getPackageCandidates(E,R,N){var $=ie(R,N,E);for(var j=0;j<$.length;j++){$[j]=q.join($[j],E)}return $};E.exports=function resolveSync(E,R){if(typeof E!=="string"){throw new TypeError("Path must be a string.")}var N=ae(E,R);var ie=N.isFile||_e;var le=N.readFileSync||j.readFileSync;var Ne=N.isDirectory||Ee;var Be=N.realpathSync||we;var Le=N.readPackageSync||Me;if(N.readFileSync&&N.readPackageSync){throw new TypeError("`readFileSync` and `readPackageSync` are mutually exclusive.")}var je=N.packageIterator;var ze=N.extensions||[".js"];var Ue=N.includeCoreModules!==false;var qe=N.basedir||q.dirname(G());var Ge=N.filename||qe;N.paths=N.paths||[];var He=Ie(Be,q.resolve(qe),N);if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(E)){var We=q.resolve(He,E);if(E==="."||E===".."||E.slice(-1)==="/")We+="/";var Ve=loadAsFileSync(We)||loadAsDirectorySync(We);if(Ve)return Ie(Be,Ve,N)}else if(Ue&&$(E)){return E}else{var Ke=loadNodeModulesSync(E,He);if(Ke)return Ie(Be,Ke,N)}var Qe=new Error("Cannot find module '"+E+"' from '"+Ge+"'");Qe.code="MODULE_NOT_FOUND";throw Qe;function loadAsFileSync(E){var R=loadpkg(q.dirname(E));if(R&&R.dir&&R.pkg&&N.pathFilter){var $=q.relative(R.dir,E);var j=N.pathFilter(R.pkg,E,$);if(j){E=q.resolve(R.dir,j)}}if(ie(E)){return E}for(var G=0;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;const{stringHints:$,numberHints:j}=N(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,R){const N=E.reduce(((E,N)=>Math.max(E,R(N))),0);return E.filter((E=>R(E)===N))}function filterChildren(E){let R=E;R=filterMax(R,(E=>E.dataPath?E.dataPath.length:0));R=filterMax(R,(E=>q[E.keyword]||2));return R}function findAllChildren(E,R){let N=E.length-1;const predicate=R=>E[N].schemaPath.indexOf(R)!==0;while(N>-1&&!R.every(predicate)){if(E[N].keyword==="anyOf"||E[N].keyword==="oneOf"){const R=extractRefs(E[N]);const $=findAllChildren(E.slice(0,N),R.concat(E[N].schemaPath));N=$-1}else{N-=1}}return N+1}function extractRefs(E){const{schema:R}=E;if(!Array.isArray(R)){return[]}return R.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const R=[];let N=E.length-1;while(N>0){const $=E[N];if($.keyword==="anyOf"||$.keyword==="oneOf"){const j=extractRefs($);const q=findAllChildren(E.slice(0,N),j.concat($.schemaPath));if(q!==N){R.push(Object.assign({},$,{children:E.slice(q,N)}));N=q}else{R.push($)}}else{R.push($)}N-=1}if(N===0){R.push(E[N])}return R.reverse()}function indent(E,R){return E.replace(/\n(?!$)/g,`\n${R}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const R=findFirstTypedSchema(E);return likeNumber(R)||likeInteger(R)||likeString(R)||likeNull(R)||likeBoolean(R)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,R){if(likeNumber(E)||likeInteger(E)){return j(E,R)}else if(likeString(E)){return $(E,R)}return[]}class ValidationError extends Error{constructor(E,R,N={}){super();this.name="ValidationError";this.errors=E;this.schema=R;let $;let j;if(R.title&&(!N.name||!N.baseDataPath)){const E=R.title.match(/^(.+) (.+)$/);if(E){if(!N.name){[,$]=E}if(!N.baseDataPath){[,,j]=E}}}this.headerName=N.name||$||"Object";this.baseDataPath=N.baseDataPath||j||"configuration";this.postFormatter=N.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const R=E.split("/");let N=this.schema;for(let E=1;E{if(!j){return this.formatSchema(R,$,N)}if(N.includes(R)){return"(recursive)"}return this.formatSchema(R,$,N.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){$=!R;return formatInnerSchema(E.not)}const N=!E.not.not;const j=R?"":"non ";$=!R;return N?j+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:R}=E;const N=!Array.isArray(R)?[R]:R;return N.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:R,then:N,else:$}=E;return`${R?`if ${formatInnerSchema(R)}`:""}${N?` then ${formatInnerSchema(N)}`:""}${$?` else ${formatInnerSchema($)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:$.length>0?`non-${N} | ${j}`:`non-${N}`}if(likeString(E)){const[N,...$]=getHints(E,R);const j=`${N}${$.length>0?` ${formatHints($)}`:""}`;return R?j:j==="string"?"non-string":`non-string | ${j}`}if(likeBoolean(E)){return`${R?"":"non-"}boolean`}if(likeArray(E)){$=true;const R=[];if(typeof E.minItems==="number"){R.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){R.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){R.push("should not have duplicate items")}const N=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let j="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){j=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(N){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){R.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){j=`${formatInnerSchema(E.items)}`}else{j="any"}}else{j="any"}if(E.contains&&Object.keys(E.contains).length>0){R.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${j}${N?", ...":""}]${R.length>0?` (${R.join(", ")})`:""}`}if(likeObject(E)){$=true;const R=[];if(typeof E.minProperties==="number"){R.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){R.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const N=Object.keys(E.patternProperties);R.push(`additional property names should match pattern${N.length>1?"s":""} ${N.map((E=>JSON.stringify(E))).join(" | ")}`)}const N=E.properties?Object.keys(E.properties):[];const j=E.required?E.required:[];const q=[...new Set([].concat(j).concat(N))];const G=q.map((E=>{const R=j.includes(E);return`${E}${R?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:le}=E;if(ie){Object.keys(ie).forEach((E=>{const N=ie[E];if(Array.isArray(N)){R.push(`should have ${N.length>1?"properties":"property"} ${N.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{R.push(`should be valid according to the schema ${formatInnerSchema(N)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){R.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(le&&le.length>0){R.push(`should have property matching pattern ${le.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${R.length>0?` (${R.join(", ")})`:""}`}if(likeNull(E)){return`${R?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,R,N=false,$=true){if(!E){return""}if(Array.isArray(R)){for(let N=0;N ${E.description}`}if(E.link){j+=`\n-> Read more at ${E.link}`}return j}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let R="";if(E.description){R+=`\n-> ${E.description}`}if(E.link){R+=`\n-> Read more at ${E.link}`}return R}formatValidationError(E){const{keyword:R,dataPath:N}=E;const $=`${this.baseDataPath}${N}`;switch(R){case"type":{const{parentSchema:R,params:N}=E;switch(N.type){case"number":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"integer":return`${$} should be an ${this.getSchemaPartText(R,false,true)}`;case"string":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"boolean":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;case"array":return`${$} should be an array:\n${this.getSchemaPartText(R)}`;case"object":return`${$} should be an object:\n${this.getSchemaPartText(R)}`;case"null":return`${$} should be a ${this.getSchemaPartText(R,false,true)}`;default:return`${$} should be:\n${this.getSchemaPartText(R)}`}}case"instanceof":{const{parentSchema:R}=E;return`${$} should be an instance of ${this.getSchemaPartText(R,false,true)}`}case"pattern":{const{params:R,parentSchema:N}=E;const{pattern:j}=R;return`${$} should match pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"format":{const{params:R,parentSchema:N}=E;const{format:j}=R;return`${$} should match format ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"formatMinimum":case"formatMaximum":{const{params:R,parentSchema:N}=E;const{comparison:j,limit:q}=R;return`${$} should be ${j} ${JSON.stringify(q)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:R,params:N}=E;const{comparison:j,limit:q}=N;const[,...G]=getHints(R,true);if(G.length===0){G.push(`should be ${j} ${q}`)}return`${$} ${G.join(" ")}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"multipleOf":{const{params:R,parentSchema:N}=E;const{multipleOf:j}=R;return`${$} should be multiple of ${j}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"patternRequired":{const{params:R,parentSchema:N}=E;const{missingPattern:j}=R;return`${$} should have property matching pattern ${JSON.stringify(j)}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty string${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}const q=j-1;return`${$} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty array${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"minProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;if(j===1){return`${$} should be a non-empty object${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}return`${$} should not have fewer than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxLength":{const{params:R,parentSchema:N}=E;const{limit:j}=R;const q=j+1;return`${$} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"maxProperties":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} properties${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"uniqueItems":{const{params:R,parentSchema:N}=E;const{i:j}=R;return`${$} should not contain the item '${E.data[j]}' twice${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"additionalItems":{const{params:R,parentSchema:N}=E;const{limit:j}=R;return`${$} should not have more than ${j} items${getSchemaNonTypes(N)}. These items are valid:\n${this.getSchemaPartText(N)}`}case"contains":{const{parentSchema:R}=E;return`${$} should contains at least one ${this.getSchemaPartText(R,["contains"])} item${getSchemaNonTypes(R)}.`}case"required":{const{parentSchema:R,params:N}=E;const j=N.missingProperty.replace(/^\./,"");const q=R&&Boolean(R.properties&&R.properties[j]);return`${$} misses the property '${j}'${getSchemaNonTypes(R)}.${q?` Should be:\n${this.getSchemaPartText(R,["properties",j])}`:this.getSchemaPartDescription(R)}`}case"additionalProperties":{const{params:R,parentSchema:N}=E;const{additionalProperty:j}=R;return`${$} has an unknown property '${j}'${getSchemaNonTypes(N)}. These properties are valid:\n${this.getSchemaPartText(N)}`}case"dependencies":{const{params:R,parentSchema:N}=E;const{property:j,deps:q}=R;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${$} should have properties ${G} when property '${j}' is present${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"propertyNames":{const{params:R,parentSchema:N,schema:j}=E;const{propertyName:q}=R;return`${$} property name '${q}' is invalid${getSchemaNonTypes(N)}. Property names should be match format ${JSON.stringify(j.format)}.${this.getSchemaPartDescription(N)}`}case"enum":{const{parentSchema:R}=E;if(R&&R.enum&&R.enum.length===1){return`${$} should be ${this.getSchemaPartText(R,false,true)}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"const":{const{parentSchema:R}=E;return`${$} should be equal to constant ${this.getSchemaPartText(R,false,true)}`}case"not":{const R=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const N=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${$} should be any ${N}${R}.`}const{schema:j,parentSchema:q}=E;return`${$} should not be ${this.getSchemaPartText(j,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:R,children:N}=E;if(N&&N.length>0){if(E.schema.length===1){const E=N[N.length-1];const $=N.slice(0,N.length-1);return this.formatValidationError(Object.assign({},E,{children:$,parentSchema:Object.assign({},R,E.parentSchema)}))}let j=filterChildren(N);if(j.length===1){return this.formatValidationError(j[0])}j=groupChildrenByFirstChild(j);return`${$} should be one of these:\n${this.getSchemaPartText(R)}\nDetails:\n${j.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${$} should be one of these:\n${this.getSchemaPartText(R)}`}case"if":{const{params:R,parentSchema:N}=E;const{failingKeyword:j}=R;return`${$} should match "${j}" schema:\n${this.getSchemaPartText(N,[j])}`}case"absolutePath":{const{message:R,parentSchema:N}=E;return`${$}: ${R}${this.getSchemaPartDescription(N)}`}default:{const{message:R,parentSchema:N}=E;const j=JSON.stringify(E,null,2);return`${$} ${R} (${j}).\n${this.getSchemaPartText(N,false)}`}}}formatValidationErrors(E){return E.map((E=>{let R=this.formatValidationError(E);if(this.postFormatter){R=this.postFormatter(R,E)}return` - ${indent(R," ")}`})).join("\n")}}var G=ValidationError;R["default"]=G},15235:(E,R,N)=>{"use strict";const{validate:$,ValidationError:j}=N(18110);E.exports={validate:$,ValidationError:j}},77102:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;function errorMessage(E,R,N){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:N},message:E,parentSchema:R}}function getErrorFor(E,R,N){const $=E?`The provided value ${JSON.stringify(N)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(N)} is an absolute path!`;return errorMessage($,R,N)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,R){const callback=N=>{let $=true;const j=N.includes("!");if(j){callback.errors=[errorMessage(`The provided value ${JSON.stringify(N)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,R,N)];$=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(N);if(!q){callback.errors=[getErrorFor(E,R,N)];$=false}return $};callback.errors=[];return callback}});return E}var N=addAbsolutePathKeyword;R["default"]=N},95855:E=>{"use strict";class Range{static getOperator(E,R){if(E==="left"){return R?">":">="}return R?"<":"<="}static formatRight(E,R,N){if(R===false){return Range.formatLeft(E,!R,!N)}return`should be ${Range.getOperator("right",N)} ${E}`}static formatLeft(E,R,N){if(R===false){return Range.formatRight(E,!R,!N)}return`should be ${Range.getOperator("left",N)} ${E}`}static formatRange(E,R,N,$,j){let q="should be";q+=` ${Range.getOperator(j?"left":"right",j?N:!N)} ${E} `;q+=j?"and":"or";q+=` ${Range.getOperator(j?"right":"left",j?$:!$)} ${R}`;return q}static getRangeValue(E,R){let N=R?Infinity:-Infinity;let $=-1;const j=R?([E])=>E<=N:([E])=>E>=N;for(let R=0;R-1){return E[$]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,R=false){this._left.push([E,R])}right(E,R=false){this._right.push([E,R])}format(E=true){const[R,N]=Range.getRangeValue(this._left,E);const[$,j]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(R)&&!Number.isFinite($)){return""}const q=N?R+1:R;const G=j?$-1:$;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(R)&&!Number.isFinite($)){return Range.formatLeft(R,E,N)}if(!Number.isFinite(R)&&Number.isFinite($)){return Range.formatRight($,E,j)}return Range.formatRange(R,$,N,j,E)}}E.exports=Range},47961:(E,R,N)=>{"use strict";const $=N(95855);E.exports.stringHints=function stringHints(E,R){const N=[];let $="string";const j={...E};if(!R){const E=j.minLength;const R=j.formatMinimum;const N=j.formatExclusiveMaximum;j.minLength=j.maxLength;j.maxLength=E;j.formatMinimum=j.formatMaximum;j.formatMaximum=R;j.formatExclusiveMaximum=!j.formatExclusiveMinimum;j.formatExclusiveMinimum=!N}if(typeof j.minLength==="number"){if(j.minLength===1){$="non-empty string"}else{const E=Math.max(j.minLength-1,0);N.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof j.maxLength==="number"){if(j.maxLength===0){$="empty string"}else{const E=j.maxLength+1;N.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if(j.pattern){N.push(`should${R?"":" not"} match pattern ${JSON.stringify(j.pattern)}`)}if(j.format){N.push(`should${R?"":" not"} match format ${JSON.stringify(j.format)}`)}if(j.formatMinimum){N.push(`should be ${j.formatExclusiveMinimum?">":">="} ${JSON.stringify(j.formatMinimum)}`)}if(j.formatMaximum){N.push(`should be ${j.formatExclusiveMaximum?"<":"<="} ${JSON.stringify(j.formatMaximum)}`)}return[$].concat(N)};E.exports.numberHints=function numberHints(E,R){const N=[E.type==="integer"?"integer":"number"];const j=new $;if(typeof E.minimum==="number"){j.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){j.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){j.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){j.right(E.exclusiveMaximum,true)}const q=j.format(R);if(q){N.push(q)}if(typeof E.multipleOf==="number"){N.push(`should${R?"":" not"} be multiple of ${E.multipleOf}`)}return N}},18110:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.validate=validate;Object.defineProperty(R,"ValidationError",{enumerable:true,get:function(){return j.default}});var $=_interopRequireDefault(N(77102));var j=_interopRequireDefault(N(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=N(33866);const G=N(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,$.default)(ie);function validate(E,R,N){let $=[];if(Array.isArray(R)){$=Array.from(R,(R=>validateObject(E,R)));$.forEach(((E,R)=>{const applyPrefix=E=>{E.dataPath=`[${R}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));$=$.reduce(((E,R)=>{E.push(...R);return E}),[])}else{$=validateObject(E,R)}if($.length>0){throw new j.default($,E,N)}}function validateObject(E,R){const N=ie.compile(E);const $=N(R);if($)return[];return N.errors?filterErrors(N.errors):[]}function filterErrors(E){let R=[];for(const N of E){const{dataPath:E}=N;let $=[];R=R.filter((R=>{if(R.dataPath.includes(E)){if(R.children){$=$.concat(R.children.slice(0))}R.children=undefined;$.push(R);return false}return true}));if($.length){N.children=$}R.push(N)}return R}},27746:(E,R,N)=>{"use strict";const $=N(1226).y;const j=N(1226).P;class CodeNode{constructor(E){this.generatedCode=E}clone(){return new CodeNode(this.generatedCode)}getGeneratedCode(){return this.generatedCode}getMappings(E){const R=$(this.generatedCode);const N=Array(R+1).join(";");if(R>0){E.unfinishedGeneratedLine=j(this.generatedCode);if(E.unfinishedGeneratedLine>0){return N+"A"}else{return N}}else{const R=E.unfinishedGeneratedLine;E.unfinishedGeneratedLine+=j(this.generatedCode);if(R===0&&E.unfinishedGeneratedLine>0){return"A"}else{return""}}}addGeneratedCode(E){this.generatedCode+=E}mapGeneratedCode(E){const R=E(this.generatedCode);return new CodeNode(R)}getNormalizedNodes(){return[this]}merge(E){if(E instanceof CodeNode){this.generatedCode+=E.generatedCode;return this}return false}}E.exports=CodeNode},30047:E=>{"use strict";class MappingsContext{constructor(){this.sourcesIndices=new Map;this.sourcesContent=new Map;this.hasSourceContent=false;this.currentOriginalLine=1;this.currentSource=0;this.unfinishedGeneratedLine=false}ensureSource(E,R){let N=this.sourcesIndices.get(E);if(typeof N==="number"){return N}N=this.sourcesIndices.size;this.sourcesIndices.set(E,N);this.sourcesContent.set(E,R);if(typeof R==="string")this.hasSourceContent=true;return N}getArrays(){const E=[];const R=[];for(const N of this.sourcesContent){E.push(N[0]);R.push(N[1])}return{sources:E,sourcesContent:R}}}E.exports=MappingsContext},86979:(E,R,N)=>{"use strict";const $=N(37788);const j=N(1226).y;const q=N(1226).P;const G=";AAAA";class SingleLineNode{constructor(E,R,N,$){this.generatedCode=E;this.originalSource=N;this.source=R;this.line=$||1;this._numberOfLines=j(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SingleLineNode(this.generatedCode,this.source,this.originalSource,this.line)}getGeneratedCode(){return this.generatedCode}getMappings(E){if(!this.generatedCode)return"";const R=this._numberOfLines;const N=E.ensureSource(this.source,this.originalSource);let j="A";if(E.unfinishedGeneratedLine)j=","+$.encode(E.unfinishedGeneratedLine);j+=$.encode(N-E.currentSource);j+=$.encode(this.line-E.currentOriginalLine);j+="A";E.currentSource=N;E.currentOriginalLine=this.line;const ie=E.unfinishedGeneratedLine=q(this.generatedCode);j+=Array(R).join(G);if(ie===0){j+=";"}else{if(R!==0)j+=G}return j}getNormalizedNodes(){return[this]}mapGeneratedCode(E){const R=E(this.generatedCode);return new SingleLineNode(R,this.source,this.originalSource,this.line)}merge(E){if(E instanceof SingleLineNode){return this.mergeSingleLineNode(E)}return false}mergeSingleLineNode(E){if(this.source===E.source&&this.originalSource===E.originalSource){if(this.line===E.line){this.generatedCode+=E.generatedCode;this._numberOfLines+=E._numberOfLines;this._endsWithNewLine=E._endsWithNewLine;return this}else if(this.line+1===E.line&&this._endsWithNewLine&&this._numberOfLines===1&&E._numberOfLines<=1){return new ie(this.generatedCode+E.generatedCode,this.source,this.originalSource,this.line)}}return false}}E.exports=SingleLineNode;const ie=N(49043)},53273:(E,R,N)=>{"use strict";const $=N(27746);const j=N(49043);const q=N(30047);const G=N(1226).y;class SourceListMap{constructor(E,R,N){if(Array.isArray(E)){this.children=E}else{this.children=[];if(E||R)this.add(E,R,N)}}add(E,R,N){if(typeof E==="string"){if(R){this.children.push(new j(E,R,N))}else if(this.children.length>0&&this.children[this.children.length-1]instanceof $){this.children[this.children.length-1].addGeneratedCode(E)}else{this.children.push(new $(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.push(E)}else if(E.children){E.children.forEach((function(E){this.children.push(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.add: Expected string, Node or SourceListMap")}}preprend(E,R,N){if(typeof E==="string"){if(R){this.children.unshift(new j(E,R,N))}else if(this.children.length>0&&this.children[this.children.length-1].preprendGeneratedCode){this.children[this.children.length-1].preprendGeneratedCode(E)}else{this.children.unshift(new $(E))}}else if(E.getMappings&&E.getGeneratedCode){this.children.unshift(E)}else if(E.children){E.children.slice().reverse().forEach((function(E){this.children.unshift(E)}),this)}else{throw new Error("Invalid arguments to SourceListMap.protfotype.prerend: Expected string, Node or SourceListMap")}}mapGeneratedCode(E){const R=[];this.children.forEach((function(E){E.getNormalizedNodes().forEach((function(E){R.push(E)}))}));const N=[];R.forEach((function(R){R=R.mapGeneratedCode(E);if(N.length===0){N.push(R)}else{const E=N[N.length-1];const $=E.merge(R);if($){N[N.length-1]=$}else{N.push(R)}}}));return new SourceListMap(N)}toString(){return this.children.map((function(E){return E.getGeneratedCode()})).join("")}toStringWithSourceMap(E){const R=new q;const N=this.children.map((function(E){return E.getGeneratedCode()})).join("");const $=this.children.map((function(E){return E.getMappings(R)})).join("");const j=R.getArrays();return{source:N,map:{version:3,file:E&&E.file,sources:j.sources,sourcesContent:R.hasSourceContent?j.sourcesContent:undefined,mappings:$}}}}E.exports=SourceListMap},49043:(E,R,N)=>{"use strict";const $=N(37788);const j=N(1226).y;const q=N(1226).P;const G=";AACA";class SourceNode{constructor(E,R,N,$){this.generatedCode=E;this.originalSource=N;this.source=R;this.startingLine=$||1;this._numberOfLines=j(this.generatedCode);this._endsWithNewLine=E[E.length-1]==="\n"}clone(){return new SourceNode(this.generatedCode,this.source,this.originalSource,this.startingLine)}getGeneratedCode(){return this.generatedCode}addGeneratedCode(E){this.generatedCode+=E;this._numberOfLines+=j(E);this._endsWithNewLine=E[E.length-1]==="\n"}getMappings(E){if(!this.generatedCode)return"";const R=this._numberOfLines;const N=E.ensureSource(this.source,this.originalSource);let j="A";if(E.unfinishedGeneratedLine)j=","+$.encode(E.unfinishedGeneratedLine);j+=$.encode(N-E.currentSource);j+=$.encode(this.startingLine-E.currentOriginalLine);j+="A";E.currentSource=N;E.currentOriginalLine=this.startingLine+R-1;const ie=E.unfinishedGeneratedLine=q(this.generatedCode);j+=Array(R).join(G);if(ie===0){j+=";"}else{if(R!==0){j+=G}E.currentOriginalLine++}return j}mapGeneratedCode(E){throw new Error("Cannot map generated code on a SourceMap. Normalize to SingleLineNode first.")}getNormalizedNodes(){var E=[];var R=this.startingLine;var N=this.generatedCode;var $=0;var j=N.length;while(${var N={};var $={};"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("").forEach((function(E,R){N[E]=R;$[R]=E}));var j={};j.encode=function base64_encode(E){if(E in $){return $[E]}throw new TypeError("Must be between 0 and 63: "+E)};j.decode=function base64_decode(E){if(E in N){return N[E]}throw new TypeError("Not a valid base 64 digit: "+E)};var q=5;var G=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){var R="";var N;var $=toVLQSigned(E);do{N=$&ie;$>>>=q;if($>0){N|=ae}R+=j.encode(N)}while($>0);return R};R.decode=function base64VLQ_decode(E,R){var N=0;var $=E.length;var G=0;var le=0;var _e,Ee;do{if(N>=$){throw new Error("Expected more digits in base 64 VLQ value.")}Ee=j.decode(E.charAt(N++));_e=!!(Ee&ae);Ee&=ie;G=G+(Ee<{"use strict";const $=N(37788);const j=N(49043);const q=N(27746);const G=N(53273);E.exports=function fromStringWithSourceMap(E,R){const N=R.sources;const ie=R.sourcesContent;const ae=R.mappings.split(";");const le=E.split("\n");const _e=[];let Ee=null;let we=1;let Ie=0;let Me;function addCode(E){if(Ee&&Ee instanceof q){Ee.addGeneratedCode(E)}else if(Ee&&Ee instanceof j&&!E.trim()){Ee.addGeneratedCode(E);Me++}else{Ee=new q(E);_e.push(Ee)}}function addSource(E,R,N,$){if(Ee&&Ee instanceof j&&Ee.source===R&&Me===$){Ee.addGeneratedCode(E);Me++}else{Ee=new j(E,R,N,$);Me=$+1;_e.push(Ee)}}ae.forEach((function(E,R){let N=le[R];if(typeof N==="undefined")return;if(R!==le.length-1)N+="\n";if(!E)return addCode(N);E={value:0,rest:E};let $=false;while(E.rest)$=processMapping(E,N,$)||$;if(!$)addCode(N)}));if(ae.length{"use strict";R.y=function getNumberOfLines(E){let R=-1;let N=-1;do{R++;N=E.indexOf("\n",N+1)}while(N>=0);return R};R.P=function getUnfinishedLine(E){const R=E.lastIndexOf("\n");if(R===-1)return E.length;else return E.length-R-1}},6900:(E,R,N)=>{R.SourceListMap=N(53273);N(49043);N(86979);N(27746);N(30047);R.fromStringWithSourceMap=N(88494)},26837:(E,R,N)=>{var $=N(31983);var j=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,R){var N=new ArraySet;for(var $=0,j=E.length;$=0){return R}}else{var N=$.toSetString(E);if(j.call(this._set,N)){return this._set[N]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var $=N(96537);var j=5;var q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){var R="";var N;var q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R};R.decode=function base64VLQ_decode(E,R,N){var q=E.length;var ae=0;var le=0;var _e,Ee;do{if(R>=q){throw new Error("Expected more digits in base 64 VLQ value.")}Ee=$.decode(E.charCodeAt(R++));if(Ee===-1){throw new Error("Invalid base64 digit: "+E.charAt(R-1))}_e=!!(Ee&ie);Ee&=G;ae=ae+(Ee<{var N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){var ie=Math.floor((N-E)/2)+E;var ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}R.search=function search(E,N,$,j){if(N.length===0){return-1}var q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},91740:(E,R,N)=>{var $=N(31983);function generatedPositionAfter(E,R){var N=E.generatedLine;var j=R.generatedLine;var q=E.generatedColumn;var G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,R){this._array.forEach(E,R)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};R.H=MappingList},68226:(E,R)=>{function swap(E,R,N){var $=E[R];E[R]=E[N];E[N]=$}function randomIntInRange(E,R){return Math.round(E+Math.random()*(R-E))}function doQuickSort(E,R,N,$){if(N<$){var j=randomIntInRange(N,$);var q=N-1;swap(E,j,$);var G=E[$];for(var ie=N;ie<$;ie++){if(R(E[ie],G)<=0){q+=1;swap(E,q,ie)}}swap(E,q+1,ie);var ae=q+1;doQuickSort(E,R,N,ae-1);doQuickSort(E,R,ae+1,$)}}R.U=function(E,R){doQuickSort(E,R,0,E.length-1)}},86327:(E,R,N)=>{var $;var j=N(31983);var q=N(53164);var G=N(26837).I;var ie=N(4215);var ae=N(68226).U;function SourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}return N.sections!=null?new IndexedSourceMapConsumer(N,R):new BasicSourceMapConsumer(N,R)}SourceMapConsumer.fromSourceMap=function(E,R){return BasicSourceMapConsumer.fromSourceMap(E,R)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,R){var N=E.charAt(R);return N===";"||N===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,R,N){var $=R||null;var q=N||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var R=E.source===null?null:this._sources.at(E.source);R=j.computeSourceURL(ie,R,this._sourceMapURL);return{source:R,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,$)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var R=j.getArg(E,"line");var N={source:j.getArg(E,"source"),originalLine:R,originalColumn:j.getArg(E,"column",0)};N.source=this._findSourceIndex(N.source);if(N.source<0){return[]}var $=[];var G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var le=ie.originalColumn;while(ie&&ie.originalLine===R&&ie.originalColumn==le){$.push({line:j.getArg(ie,"generatedLine",null),column:j.getArg(ie,"generatedColumn",null),lastColumn:j.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return $};R.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sources");var ie=j.getArg(N,"names",[]);var ae=j.getArg(N,"sourceRoot",null);var le=j.getArg(N,"sourcesContent",null);var _e=j.getArg(N,"mappings");var Ee=j.getArg(N,"file",null);if($!=this._version){throw new Error("Unsupported version: "+$)}if(ae){ae=j.normalize(ae)}q=q.map(String).map(j.normalize).map((function(E){return ae&&j.isAbsolute(ae)&&j.isAbsolute(E)?j.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return j.computeSourceURL(ae,E,R)}));this.sourceRoot=ae;this.sourcesContent=le;this._mappings=_e;this._sourceMapURL=R;this.file=Ee}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}var N;for(N=0;N1){Be.source=le+je[1];le+=je[1];Be.originalLine=q+je[2];q=Be.originalLine;Be.originalLine+=1;Be.originalColumn=G+je[3];G=Be.originalColumn;if(je.length>4){Be.name=_e+je[4];_e+=je[4]}}Ne.push(Be);if(typeof Be.originalLine==="number"){Te.push(Be)}}}ae(Ne,j.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Te,j.compareByOriginalPositions);this.__originalMappings=Te};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,R,N,$,j,G){if(E[N]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[N])}if(E[$]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[$])}return q.search(E,R,j,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var $=this._generatedMappings[N];if($.generatedLine===R.generatedLine){var q=j.getArg($,"source",null);if(q!==null){q=this._sources.at(q);q=j.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=j.getArg($,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,R){if(!this.sourcesContent){return null}var N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}var $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}var q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){var G=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}else{throw new Error('"'+$+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}var N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};var $=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if($>=0){var q=this._originalMappings[$];if(q.source===N.source){return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:j.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};$=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,R){var N=E;if(typeof E==="string"){N=j.parseSourceMapInput(E)}var $=j.getArg(N,"version");var q=j.getArg(N,"sections");if($!=this._version){throw new Error("Unsupported version: "+$)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var N=j.getArg(E,"offset");var $=j.getArg(N,"line");var q=j.getArg(N,"column");if(${var $=N(4215);var j=N(31983);var q=N(26837).I;var G=N(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var R=E.sourceRoot;var N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){var $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){var q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}var G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var R=j.getArg(E,"generated");var N=j.getArg(E,"original",null);var $=j.getArg(E,"source",null);var q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,R){var N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,R,N){var $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}var G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){var q=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if(q.source!=null){R.source=q.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=q.line;R.originalColumn=q.column;if(q.name!=null){R.name=q.name}}}var le=R.source;if(le!=null&&!ie.has(le)){ie.add(le)}var _e=R.name;if(_e!=null&&!ae.has(_e)){ae.add(_e)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){var $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){return}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var R=1;var N=0;var q=0;var G=0;var ie=0;var ae="";var le;var _e;var Ee;var we;var Ie=this._mappings.toArray();for(var Me=0,Te=Ie.length;Me0){if(!j.compareByGeneratedPositionsInflated(_e,Ie[Me-1])){continue}le+=","}}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}var N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};R.SourceMapGenerator=SourceMapGenerator},9990:(E,R,N)=>{var $=N(11341).SourceMapGenerator;var j=N(31983);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,R,N){var $=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var R;for(var N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else{if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(E){var R;var N;var $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(E,R){var N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(E){for(var R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}else{throw new Error('"'+R+'" is a required argument.')}}R.getArg=getArg;var N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var $=/^data:.+\,.+$/;function urlParse(E){var R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){var R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;function normalize(E){var N=E;var $=urlParse(E);if($){if(!$.path){return E}N=$.path}var j=R.isAbsolute(N);var q=N.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}R.normalize=normalize;function join(E,R){if(E===""){E="."}if(R===""){R="."}var N=urlParse(R);var j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}var q=R.charAt(0)==="/"?R:normalize(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=q;return urlGenerate(j)}return q}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");var N=0;while(R.indexOf(E+"/")!==0){var $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;var j=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=j?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=j?identity:fromSetString;function isProtoString(E){if(!E){return false}var R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(var N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){var $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){var $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){var N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){var $=urlParse(N);if(!$){throw new Error("sourceMapURL could not be parsed")}if($.path){var j=$.path.lastIndexOf("/");if(j>=0){$.path=$.path.substring(0,j+1)}}R=join(urlGenerate($),R)}return normalize(R)}R.computeSourceURL=computeSourceURL},99596:(E,R,N)=>{R.SourceMapGenerator=N(11341).SourceMapGenerator;R.SourceMapConsumer=N(86327).SourceMapConsumer;R.SourceNode=N(9990).SourceNode},72679:E=>{"use strict";E.exports=E=>{if(typeof E!=="string"){throw new TypeError("Expected a string, got "+typeof E)}if(E.charCodeAt(0)===65279){return E.slice(1)}return E}},96204:(E,R,N)=>{"use strict";const $=N(22037);const j=N(76224);const q=N(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,R){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!R&&ie===undefined){return 0}const N=ie||0;if(G.TERM==="dumb"){return N}if(process.platform==="win32"){const E=$.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return N}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return N}function getSupportLevel(E){const R=supportsColor(E,E&&E.isTTY);return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,j.isatty(1))),stderr:translateLevel(supportsColor(true,j.isatty(2)))}},78802:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelBailHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){let $="";$+=`var _results = new Array(${this.options.taps.length});\n`;$+="var _checkDone = function() {\n";$+="for(var i = 0; i < _results.length; i++) {\n";$+="var item = _results[i];\n";$+="if(item === undefined) return false;\n";$+="if(item.result !== undefined) {\n";$+=R("item.result");$+="return true;\n";$+="}\n";$+="if(item.error) {\n";$+=E("item.error");$+="return true;\n";$+="}\n";$+="}\n";$+="return false;\n";$+="}\n";$+=this.callTapsParallel({onError:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onResult:(E,R,N,$)=>{let j="";j+=`if(${E} < _results.length && (${R} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${R} }), _checkDone())) {\n`;j+=$(true);j+="} else {\n";j+=N();j+="}\n";return j},onTap:(E,R,N,$)=>{let j="";if(E>0){j+=`if(${E} >= _results.length) {\n`;j+=N();j+="} else {\n"}j+=R();if(E>0)j+="}\n";return j},onDone:N});return $}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncParallelHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsParallel({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncParallelHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)}\n} else {\n${$()}}\n`,resultReturns:N,onDone:$})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesBailHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesLoopHookCodeFactory extends j{content({onError:E,onDone:R}){return this.callTapsLooping({onError:(R,N,$,j)=>E(N)+j(true),onDone:R})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=AsyncSeriesLoopHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class AsyncSeriesWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,onDone:N}){return this.callTapsSeries({onError:(R,N,$,j)=>E(N)+j(true),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=AsyncSeriesWaterfallHook;N.compile=COMPILE;N._call=undefined;N.call=undefined;return N}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],R=undefined){this._args=E;this.name=R;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,R,N){if(typeof R==="string"){R={name:R.trim()}}else if(typeof R!=="object"||R===null){throw new Error("Invalid tap options")}if(typeof R.name!=="string"||R.name===""){throw new Error("Missing name for tap")}if(typeof R.context!=="undefined"){j()}R=Object.assign({type:E,fn:N},R);R=this._runRegisterInterceptors(R);this._insert(R)}tap(E,R){this._tap("sync",E,R)}tapAsync(E,R){this._tap("async",E,R)}tapPromise(E,R){this._tap("promise",E,R)}_runRegisterInterceptors(E){for(const R of this.interceptors){if(R.register){const N=R.register(E);if(N!==undefined){E=N}}}return E}withOptions(E){const mergeOptions=R=>Object.assign({},E,typeof R==="string"?{name:R}:R);return{name:this.name,tap:(E,R)=>this.tap(mergeOptions(E),R),tapAsync:(E,R)=>this.tapAsync(mergeOptions(E),R),tapPromise:(E,R)=>this.tapPromise(mergeOptions(E),R),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let R=0;R0){$--;const E=this.taps[$];this.taps[$+1]=E;const j=E.stage||0;if(R){if(R.has(E.name)){R.delete(E.name);continue}if(R.size>0){continue}}if(j>N){continue}$++;break}this.taps[$]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let R;switch(this.options.type){case"sync":R=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":R=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const N=this.contentWithInterceptors({onError:R=>{E=true;return`_error(${R});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let $="";$+='"use strict";\n';$+=this.header();$+="return new Promise((function(_resolve, _reject) {\n";if(E){$+="var _sync = true;\n";$+="function _error(_err) {\n";$+="if(_sync)\n";$+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";$+="else\n";$+="_reject(_err);\n";$+="};\n"}$+=N;if(E){$+="_sync = false;\n"}$+="}));\n";R=new Function(this.args(),$);break}this.deinit();return R}setup(E,R){E._x=R.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const R=E.onError;const N=E.onResult;const $=E.onDone;let j="";for(let E=0;E{let N="";for(let R=0;R{let R="";for(let N=0;N{let E="";for(let R=0;R0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:R,onResult:N,onDone:$,rethrowIfPossible:j}){let q="";let G=false;for(let R=0;RE.type!=="sync"));const ie=N||j;let ae="";let le=$;let _e=0;for(let N=this.options.taps.length-1;N>=0;N--){const j=N;const Ee=le!==$&&(this.options.taps[j].type!=="sync"||_e++>20);if(Ee){_e=0;ae+=`function _next${j}() {\n`;ae+=le();ae+=`}\n`;le=()=>`${ie?"return ":""}_next${j}();\n`}const we=le;const doneBreak=E=>{if(E)return"";return $()};const Ie=this.callTap(j,{onError:R=>E(j,R,we,doneBreak),onResult:R&&(E=>R(j,E,we,doneBreak)),onDone:!R&&we,rethrowIfPossible:q&&(G<0||jIe}ae+=le();return ae}callTapsLooping({onError:E,onDone:R,rethrowIfPossible:N}){if(this.options.taps.length===0)return R();const $=this.options.taps.every((E=>E.type==="sync"));let j="";if(!$){j+="var _looper = (function() {\n";j+="var _loopAsync = false;\n"}j+="var _loop;\n";j+="do {\n";j+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${R} !== undefined) {\n`;q+="_loop = true;\n";if(!$)q+="if(_loopAsync) _looper();\n";q+=j(true);q+=`} else {\n`;q+=N();q+=`}\n`;return q},onDone:R&&(()=>{let E="";E+="if(!_loop) {\n";E+=R();E+="}\n";return E}),rethrowIfPossible:N&&$});j+="} while(_loop);\n";if(!$){j+="_loopAsync = true;\n";j+="});\n";j+="_looper();\n"}return j}callTapsParallel({onError:E,onResult:R,onDone:N,rethrowIfPossible:$,onTap:j=((E,R)=>R())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:R,onDone:N,rethrowIfPossible:$})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(N){q+="var _done = (function() {\n";q+=N();q+="});\n"}for(let G=0;G{if(N)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!N)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=j(G,(()=>this.callTap(G,{onError:R=>{let N="";N+="if(_counter > 0) {\n";N+=E(G,R,done,doneBreak);N+="}\n";return N},onResult:R&&(E=>{let N="";N+="if(_counter > 0) {\n";N+=R(G,E,done,doneBreak);N+="}\n";return N}),onDone:!R&&(()=>done()),rethrowIfPossible:$})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:R}={}){let N=this._args;if(E)N=[E].concat(N);if(R)N=N.concat(R);if(N.length===0){return""}else{return N.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,R,N)=>{"use strict";const $=N(73837);const defaultFactory=(E,R)=>R;class HookMap{constructor(E,R=undefined){this._map=new Map;this.name=R;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const R=this.get(E);if(R!==undefined){return R}let N=this._factory(E);const $=this._interceptors;for(let R=0;R<$.length;R++){N=$[R].factory(E,N)}this._map.set(E,N);return N}intercept(E){this._interceptors.push(Object.assign({factory:defaultFactory},E))}}HookMap.prototype.tap=$.deprecate((function(E,R,N){return this.for(E).tap(R,N)}),"HookMap#tap(key,…) is deprecated. Use HookMap#for(key).tap(…) instead.");HookMap.prototype.tapAsync=$.deprecate((function(E,R,N){return this.for(E).tapAsync(R,N)}),"HookMap#tapAsync(key,…) is deprecated. Use HookMap#for(key).tapAsync(…) instead.");HookMap.prototype.tapPromise=$.deprecate((function(E,R,N){return this.for(E).tapPromise(R,N)}),"HookMap#tapPromise(key,…) is deprecated. Use HookMap#for(key).tapPromise(…) instead.");E.exports=HookMap},20937:(E,R,N)=>{"use strict";const $=N(67332);class MultiHook{constructor(E,R=undefined){this.hooks=E;this.name=R}tap(E,R){for(const N of this.hooks){N.tap(E,R)}}tapAsync(E,R){for(const N of this.hooks){N.tapAsync(E,R)}}tapPromise(E,R){for(const N of this.hooks){N.tapPromise(E,R)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const R of this.hooks){R.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((R=>R.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncBailHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,onDone:$,rethrowIfPossible:j}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,N,$)=>`if(${N} !== undefined) {\n${R(N)};\n} else {\n${$()}}\n`,resultReturns:N,onDone:$,rethrowIfPossible:j})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncBailHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsSeries({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncLoopHookCodeFactory extends j{content({onError:E,onDone:R,rethrowIfPossible:N}){return this.callTapsLooping({onError:(R,N)=>E(N),onDone:R,rethrowIfPossible:N})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],R=undefined){const N=new $(E,R);N.constructor=SyncLoopHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,R,N)=>{"use strict";const $=N(67332);const j=N(91165);class SyncWaterfallHookCodeFactory extends j{content({onError:E,onResult:R,resultReturns:N,rethrowIfPossible:$}){return this.callTapsSeries({onError:(R,N)=>E(N),onResult:(E,R,N)=>{let $="";$+=`if(${R} !== undefined) {\n`;$+=`${this._args[0]} = ${R};\n`;$+=`}\n`;$+=N();return $},onDone:()=>R(this._args[0]),doneReturns:N,rethrowIfPossible:$})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],R=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const N=new $(E,R);N.constructor=SyncWaterfallHook;N.tapAsync=TAP_ASYNC;N.tapPromise=TAP_PROMISE;N.compile=COMPILE;return N}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,R,N)=>{"use strict";R.__esModule=true;R.SyncHook=N(6728);R.SyncBailHook=N(3334);R.SyncWaterfallHook=N(81934);R.SyncLoopHook=N(52332);R.AsyncParallelHook=N(3350);R.AsyncParallelBailHook=N(78802);R.AsyncSeriesHook=N(68152);R.AsyncSeriesBailHook=N(4953);R.AsyncSeriesLoopHook=N(25810);R.AsyncSeriesWaterfallHook=N(66760);R.HookMap=N(28636);R.MultiHook=N(20937)},96013:(E,R,N)=>{"use strict";const $=N(98225);E.exports=$.default},98225:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R["default"]=void 0;var $=_interopRequireWildcard(N(71017));var j=_interopRequireWildcard(N(22037));var q=N(99596);var G=N(15235);var ie=_interopRequireDefault(N(35764));var ae=_interopRequireWildcard(N(54703));var le=_interopRequireDefault(N(97909));var _e=N(69419);var Ee=_interopRequireWildcard(N(11519));var we=N(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}class TerserPlugin{constructor(E={}){(0,G.validate)(Ee,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:R,terserOptions:N={},test:$=/\.[cm]?js(\?.*)?$/i,extractComments:j=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:$,extractComments:j,parallel:q,include:ie,exclude:ae,minify:R,terserOptions:N}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,R,N,$){if(E.line){const j=$&&$.originalPositionFor({line:E.line,column:E.col});if(j&&j.source&&N){return new Error(`${R} from Terser\n${E.message} [${N.shorten(j.source)}:${j.line},${j.column}][${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${R} from Terser\n${E.message} [${R}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${R} from Terser\n${E.stack}`)}return new Error(`${R} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const R=j.cpus()||{length:1};return E===true?R.length-1:Math.min(Number(E)||0,R.length-1)}async optimize(E,R,j,G){const ae=R.getCache("TerserWebpackPlugin");let Ee=0;const Ie=await Promise.all(Object.keys(j).filter((N=>{const{info:$}=R.getAsset(N);if($.minimized||$.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(N)){return false}return true})).map((async E=>{const{info:N,source:$}=R.getAsset(E);const j=ae.getLazyHashedEtag($);const q=ae.getItemCache(E,j);const G=await q.getPromise();if(!G){Ee+=1}return{name:E,info:N,inputSource:$,output:G,cacheItem:q}})));let Me;let Te;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(Ee,G.availableNumberOfCores);Me=()=>{if(Te){return Te}Te=new _e.Worker(N.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Te.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const R=Te.getStderr();if(R){R.on("data",(E=>process.stderr.write(E)))}return Te}}const Be=(0,le.default)(Me&&Ee>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:je,RawSource:ze}=E.webpack.sources;const Ue=new Map;const qe=[];for(const E of Ie){qe.push(Be((async()=>{const{name:N,inputSource:j,info:G,cacheItem:ae}=E;let{output:le}=E;if(!le){let E;let _e;const{source:Ee,map:Ie}=j.sourceAndMap();E=Ee;if(Ie){if(TerserPlugin.isSourceMap(Ie)){_e=Ie}else{_e=Ie;R.warnings.push(new Error(`${N} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Te={name:N,input:E,inputSourceMap:_e,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Te.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Te.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(N)){Te.minifyOptions.module=false}}try{le=await(Me?Me().transform((0,ie.default)(Te)):(0,we.minify)(Te))}catch(E){const $=_e&&TerserPlugin.isSourceMap(_e);R.errors.push(TerserPlugin.buildError(E,N,$?R.requestShortener:undefined,$?new q.SourceMapConsumer(_e):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&le.extractedComments&&le.extractedComments.length>0&&le.code.startsWith("#!")){const E=le.code.indexOf("\n");Ne=le.code.substring(0,E);le.code=le.code.substring(E+1)}if(le.map){le.source=new Le(le.code,N,le.map,E,_e,true)}else{le.source=new ze(le.code)}if(le.extractedComments&&le.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let j="";let q=N;const G=q.indexOf("?");if(G>=0){j=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const _e={filename:q,basename:ae,query:j};le.commentsFilename=R.getPath(E,_e);let Ee;if(this.options.extractComments.banner!==false){Ee=this.options.extractComments.banner||`For license information please see ${$.relative($.dirname(N),le.commentsFilename).replace(/\\/g,"/")}`;if(typeof Ee==="function"){Ee=Ee(le.commentsFilename)}if(Ee){le.source=new je(Ne?`${Ne}\n`:"",`/*! ${Ee} */\n`,le.source)}}const we=le.extractedComments.sort().join("\n\n");le.extractedCommentsSource=new ze(`${we}\n`)}await ae.storePromise({source:le.source,commentsFilename:le.commentsFilename,extractedCommentsSource:le.extractedCommentsSource})}const _e={minimized:true};const{source:Ee,extractedCommentsSource:Ie}=le;if(Ie){const{commentsFilename:E}=le;_e.related={license:E};Ue.set(N,{extractedCommentsSource:Ie,commentsFilename:E})}R.updateAsset(N,Ee,_e)})))}await Promise.all(qe);if(Te){await Te.end()}await Array.from(Ue).sort().reduce((async(E,[N,$])=>{const j=await E;const{commentsFilename:q,extractedCommentsSource:G}=$;if(j&&j.commentsFilename===q){const{from:E,source:$}=j;const ie=`${E}|${N}`;const le=`${q}|${ie}`;const _e=[$,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,R)=>ae.mergeEtags(E,R)));let Ee=await ae.getPromise(le,_e);if(!Ee){Ee=new je(Array.from(new Set([...$.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(le,_e,Ee)}R.updateAsset(q,Ee);return{source:Ee,commentsFilename:q,from:ie}}const ie=R.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}R.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:N}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:R}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(R.environment||{})}const N=this.constructor.name;const $=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(N,(R=>{const j=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(R);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});j.chunkHash.tap(N,((E,R)=>{R.update("TerserPlugin");R.update(q)}));R.hooks.processAssets.tapPromise({name:N,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(N=>this.optimize(E,R,N,{availableNumberOfCores:$})));R.hooks.statsPrinter.tap(N,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:R,formatFlag:N})=>E?R(N("minimized")):""))}))}))}}var Ie=TerserPlugin;R["default"]=Ie},6218:(E,R,N)=>{"use strict";E=N.nmd(E);const{minify:$}=N(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const R=typeof E;return E!=null&&(R==="object"||R==="function")}function buildComments(E,R,N){const $={};let j;if(R.format){({comments:j}=R.format)}else if(R.output){({comments:j}=R.output)}$.preserve=typeof j!=="undefined"?j:false;if(typeof E==="boolean"&&E){$.extract="some"}else if(typeof E==="string"||E instanceof RegExp){$.extract=E}else if(typeof E==="function"){$.extract=E}else if(E&&isObject(E)){$.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{$.preserve=typeof j!=="undefined"?j:"some";$.extract=false}["preserve","extract"].forEach((E=>{let R;let N;switch(typeof $[E]){case"boolean":$[E]=$[E]?()=>true:()=>false;break;case"function":break;case"string":if($[E]==="all"){$[E]=()=>true;break}if($[E]==="some"){$[E]=(E,R)=>(R.type==="comment2"||R.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(R.value);break}R=$[E];$[E]=(E,N)=>new RegExp(R).test(N.value);break;default:N=$[E];$[E]=(E,R)=>N.test(R.value)}}));return(E,R)=>{if($.extract(E,R)){const E=R.type==="comment2"?`/*${R.value}*/`:`//${R.value}`;if(!N.includes(E)){N.push(E)}}return $.preserve(E,R)}}async function minify(E){const{name:R,input:N,inputSourceMap:j,minify:q,minifyOptions:G}=E;if(q){return q({[R]:N},j,G)}const ie=buildTerserOptions(G);if(j){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:le}=E;if(ie.output){ie.output.comments=buildComments(le,ie,ae)}else if(ie.format){ie.format.comments=buildComments(le,ie,ae)}const _e=await $({[R]:N},ie);return{..._e,extractedComments:ae}}function transform(N){const $=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${N}`)(R,require,E,__filename,__dirname);return minify($)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,R,N)=>{"use strict";const $=N(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const R=new $;let N=0;const next=()=>{N--;if(R.size>0){R.dequeue()()}};const run=async(E,R,...$)=>{N++;const j=(async()=>E(...$))();R(j);try{await j}catch{}next()};const enqueue=($,j,...q)=>{R.enqueue(run.bind(null,$,j,...q));(async()=>{await Promise.resolve();if(N0){R.dequeue()()}})()};const generator=(E,...R)=>new Promise((N=>{enqueue(E,N,...R)}));Object.defineProperties(generator,{activeCount:{get:()=>N},pendingCount:{get:()=>R.size},clearQueue:{value:()=>{R.clear()}}});return generator};E.exports=pLimit},35764:(E,R,N)=>{"use strict";var $=N(31998);var j=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var le=/.*?=>.*?/;var _e=/[<>\/\u2028\u2029]/g;var Ee=["*","async"];var we={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return we[E]}function generateUID(){var E=$(j);var R="";for(var N=0;N0}));var j=$.filter((function(E){return Ee.indexOf(E)===-1}));if(j.length>0){return($.indexOf("async")>-1?"async ":"")+"function"+($.join("").indexOf("*")>-1?"*":"")+R.substr(N)}return R}if(R.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var je;if(R.isJSON&&!R.space){je=JSON.stringify(E)}else{je=JSON.stringify(E,R.isJSON?null:replacer,R.space)}if(typeof je!=="string"){return String(je)}if(R.unsafe!==true){je=je.replace(_e,escapeUnsafeChars)}if(N.length===0&&$.length===0&&j.length===0&&we.length===0&&Ie.length===0&&Me.length===0&&Te.length===0&&Ne.length===0&&Be.length===0&&Le.length===0){return je}return je.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+j[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize($[ie].source)+', "'+$[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(we[ie].entries()),R)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Ie[ie].values()),R)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:Me[ie].length},Me[ie]),R)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Be[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=N[ie];return serializeFunc(ae)}))}},85431:(E,R)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,R){const N=new ArraySet;for(let $=0,j=E.length;$=0){return R}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const $=N(45210);const j=5;const q=1<>1;return R?-N:N}R.encode=function base64VLQ_encode(E){let R="";let N;let q=toVLQSigned(E);do{N=q&G;q>>>=j;if(q>0){N|=ie}R+=$.encode(N)}while(q>0);return R}},45210:(E,R)=>{const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");R.encode=function(E){if(0<=E&&E{R.GREATEST_LOWER_BOUND=1;R.LEAST_UPPER_BOUND=2;function recursiveSearch(E,N,$,j,q,G){const ie=Math.floor((N-E)/2)+E;const ae=q($,j[ie],true);if(ae===0){return ie}else if(ae>0){if(N-ie>1){return recursiveSearch(ie,N,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return N1){return recursiveSearch(E,ie,$,j,q,G)}if(G==R.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}R.search=function search(E,N,$,j){if(N.length===0){return-1}let q=recursiveSearch(-1,N.length,E,N,$,j||R.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if($(N[q],N[q-1],true)!==0){break}--q}return q}},48935:(E,R,N)=>{const $=N(53033);function generatedPositionAfter(E,R){const N=E.generatedLine;const j=R.generatedLine;const q=E.generatedColumn;const G=R.generatedColumn;return j>N||j==N&&G>=q||$.compareByGeneratedPositionsInflated(E,R)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,R){this._array.forEach(E,R)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort($.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}R.H=MappingList},92256:(E,R,N)=>{if(typeof fetch==="function"){let R=null;E.exports=function readWasm(){if(typeof R!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(R).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>R=E}else{const R=N(57147);const $=N(71017);E.exports=function readWasm(){return new Promise(((E,$)=>{const j=N.ab+"mappings.wasm";R.readFile(N.ab+"mappings.wasm",null,((R,N)=>{if(R){$(R);return}E(N.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,R,N)=>{var $;const j=N(53033);const q=N(31850);const G=N(85431).I;const ie=N(2635);const ae=N(92256);const le=N(7059);const _e=Symbol("smcInternal");class SourceMapConsumer{constructor(E,R){if(E==_e){return Promise.resolve(this)}return _factory(E,R)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,R){return _factoryBSM(E,R)}static with(E,R,N){let $=null;const j=new SourceMapConsumer(E,R);return j.then((E=>{$=E;return N(E)})).then((E=>{if($){$.destroy()}return E}),(E=>{if($){$.destroy()}throw E}))}_parseMappings(E,R){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,R,N){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;R.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");let ie=j.getArg($,"sources");const ae=j.getArg($,"names",[]);let _e=j.getArg($,"sourceRoot",null);const Ee=j.getArg($,"sourcesContent",null);const we=j.getArg($,"mappings");const Ie=j.getArg($,"file",null);if(q!=N._version){throw new Error("Unsupported version: "+q)}if(_e){_e=j.normalize(_e)}ie=ie.map(String).map(j.normalize).map((function(E){return _e&&j.isAbsolute(_e)&&j.isAbsolute(E)?j.relative(_e,E):E}));N._names=G.fromArray(ae.map(String),true);N._sources=G.fromArray(ie,true);N._absoluteSources=N._sources.toArray().map((function(E){return j.computeSourceURL(_e,E,R)}));N.sourceRoot=_e;N.sourcesContent=Ee;N._mappings=we;N._sourceMapURL=R;N.file=Ie;N._computedColumnSpans=false;N._mappingsPtr=0;N._wasm=null;return le().then((E=>{N._wasm=E;return N}))}))}_findSourceIndex(E){let R=E;if(this.sourceRoot!=null){R=j.relative(this.sourceRoot,R)}if(this._sources.has(R)){return this._sources.indexOf(R)}for(let R=0;R{if(R.source!==null){R.source=this._sources.at(R.source);R.source=j.computeSourceURL(G,R.source,this._sourceMapURL);if(R.name!==null){R.name=this._names.at(R.name)}}E.call($,R)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let R=j.getArg(E,"source");const N=j.getArg(E,"line");const $=E.column||0;R=this._findSourceIndex(R);if(R<0){return[]}if(N<1){throw new Error("Line numbers must be >= 1")}if($<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let R=E.lastGeneratedColumn;if(this._computedColumnSpans&&R===null){R=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:R})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),R,N-1,"column"in E,$)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const R={generatedLine:j.getArg(E,"line"),generatedColumn:j.getArg(E,"column")};if(R.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(R.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let N=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(N==null){N=SourceMapConsumer.GREATEST_LOWER_BOUND}let $;this._wasm.withMappingCallback((E=>$=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),R.generatedLine-1,R.generatedColumn,N)}));if($){if($.generatedLine===R.generatedLine){let E=j.getArg($,"source",null);if(E!==null){E=this._sources.at(E);E=j.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let R=j.getArg($,"name",null);if(R!==null){R=this._names.at(R)}return{source:E,line:j.getArg($,"originalLine",null),column:j.getArg($,"originalColumn",null),name:R}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,R){if(!this.sourcesContent){return null}const N=this._findSourceIndex(E);if(N>=0){return this.sourcesContent[N]}let $=E;if(this.sourceRoot!=null){$=j.relative(this.sourceRoot,$)}let q;if(this.sourceRoot!=null&&(q=j.urlParse(this.sourceRoot))){const E=$.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+$)){return this.sourcesContent[this._sources.indexOf("/"+$)]}}if(R){return null}throw new Error('"'+$+'" is not in the SourceMap.')}generatedPositionFor(E){let R=j.getArg(E,"source");R=this._findSourceIndex(R);if(R<0){return{line:null,column:null,lastColumn:null}}const N={source:R,originalLine:j.getArg(E,"line"),originalColumn:j.getArg(E,"column")};if(N.originalLine<1){throw new Error("Line numbers must be >= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}let $=j.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if($==null){$=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),N.source,N.originalLine-1,N.originalColumn,$)}));if(q){if(q.source===N.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:j.getArg(q,"generatedLine",null),column:j.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;$=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,R){return super(_e).then((N=>{let $=E;if(typeof E==="string"){$=j.parseSourceMapInput(E)}const q=j.getArg($,"version");const ie=j.getArg($,"sections");if(q!=N._version){throw new Error("Unsupported version: "+q)}N._sources=new G;N._names=new G;N.__generatedMappings=null;N.__originalMappings=null;N.__generatedMappingsUnsorted=null;N.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const N=j.getArg(E,"offset");const $=j.getArg(N,"line");const q=j.getArg(N,"column");if($({generatedOffset:{generatedLine:$+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{N._sections=E;return N}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort(j.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort(j.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let R=0;Rq.push(E)));for(let E=0;E= 1")}if(N.originalColumn<0){throw new Error("Column numbers must be >= 0")}const $=[];let G=this._findMapping(N,this._originalMappings,"originalLine","originalColumn",j.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let N=this._originalMappings[G];if(E.column===undefined){const E=N.originalLine;while(N&&N.originalLine===E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}else{const E=N.originalColumn;while(N&&N.originalLine===R&&N.originalColumn==E){let E=N.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}$.push({line:j.getArg(N,"generatedLine",null),column:j.getArg(N,"generatedColumn",null),lastColumn:E});N=this._originalMappings[++G]}}}return $}destroy(){for(let E=0;E{const $=N(2635);const j=N(53033);const q=N(85431).I;const G=N(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=j.getArg(E,"file",null);this._sourceRoot=j.getArg(E,"sourceRoot",null);this._skipValidation=j.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const R=E.sourceRoot;const N=new SourceMapGenerator({file:E.file,sourceRoot:R});E.eachMapping((function(E){const $={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){$.source=E.source;if(R!=null){$.source=j.relative(R,$.source)}$.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){$.name=E.name}}N.addMapping($)}));E.sources.forEach((function($){let q=$;if(R!==null){q=j.relative(R,$)}if(!N._sources.has(q)){N._sources.add(q)}const G=E.sourceContentFor($);if(G!=null){N.setSourceContent($,G)}}));return N}addMapping(E){const R=j.getArg(E,"generated");const N=j.getArg(E,"original",null);let $=j.getArg(E,"source",null);let q=j.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(R,N,$,q)}if($!=null){$=String($);if(!this._sources.has($)){this._sources.add($)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:R.line,generatedColumn:R.column,originalLine:N!=null&&N.line,originalColumn:N!=null&&N.column,source:$,name:q})}setSourceContent(E,R){let N=E;if(this._sourceRoot!=null){N=j.relative(this._sourceRoot,N)}if(R!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[j.toSetString(N)]=R}else if(this._sourcesContents){delete this._sourcesContents[j.toSetString(N)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,R,N){let $=R;if(R==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}$=E.file}const G=this._sourceRoot;if(G!=null){$=j.relative(G,$)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(R){if(R.source===$&&R.originalLine!=null){const $=E.originalPositionFor({line:R.originalLine,column:R.originalColumn});if($.source!=null){R.source=$.source;if(N!=null){R.source=j.join(N,R.source)}if(G!=null){R.source=j.relative(G,R.source)}R.originalLine=$.line;R.originalColumn=$.column;if($.name!=null){R.name=$.name}}}const q=R.source;if(q!=null&&!ie.has(q)){ie.add(q)}const le=R.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(R){const $=E.sourceContentFor(R);if($!=null){if(N!=null){R=j.join(N,R)}if(G!=null){R=j.relative(G,R)}this.setSourceContent(R,$)}}),this)}_validateMapping(E,R,N,$){if(R&&typeof R.line!=="number"&&typeof R.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!R&&!N&&!$){}else if(E&&"line"in E&&"column"in E&&R&&"line"in R&&"column"in R&&E.line>0&&E.column>=0&&R.line>0&&R.column>=0&&N){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:N,original:R,name:$}))}}_serializeMappings(){let E=0;let R=1;let N=0;let q=0;let G=0;let ie=0;let ae="";let le;let _e;let Ee;let we;const Ie=this._mappings.toArray();for(let Me=0,Te=Ie.length;Me0){if(!j.compareByGeneratedPositionsInflated(_e,Ie[Me-1])){continue}le+=","}le+=$.encode(_e.generatedColumn-E);E=_e.generatedColumn;if(_e.source!=null){we=this._sources.indexOf(_e.source);le+=$.encode(we-ie);ie=we;le+=$.encode(_e.originalLine-1-q);q=_e.originalLine-1;le+=$.encode(_e.originalColumn-N);N=_e.originalColumn;if(_e.name!=null){Ee=this._names.indexOf(_e.name);le+=$.encode(Ee-G);G=Ee}}ae+=le}return ae}_generateSourcesContent(E,R){return E.map((function(E){if(!this._sourcesContents){return null}if(R!=null){E=j.relative(R,E)}const N=j.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,N)?this._sourcesContents[N]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;R.SourceMapGenerator=SourceMapGenerator},98160:(E,R,N)=>{const $=N(69010).SourceMapGenerator;const j=N(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,R,N,$,j){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=R==null?null:R;this.source=N==null?null:N;this.name=j==null?null:j;this[ie]=true;if($!=null)this.add($)}static fromStringWithSourceMap(E,R,N){const $=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const R=getNextLine()||"";return E+R;function getNextLine(){return ie=0;R--){this.prepend(E[R])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let R;for(let N=0,$=this.children.length;N<$;N++){R=this.children[N];if(R[ie]){R.walk(E)}else if(R!==""){E(R,{source:this.source,line:this.line,column:this.column,name:this.name})}}}join(E){let R;let N;const $=this.children.length;if($>0){R=[];for(N=0;N<$-1;N++){R.push(this.children[N]);R.push(E)}R.push(this.children[N]);this.children=R}return this}replaceRight(E,R){const N=this.children[this.children.length-1];if(N[ie]){N.replaceRight(E,R)}else if(typeof N==="string"){this.children[this.children.length-1]=N.replace(E,R)}else{this.children.push("".replace(E,R))}return this}setSourceContent(E,R){this.sourceContents[j.toSetString(E)]=R}walkSourceContents(E){for(let R=0,N=this.children.length;R{function getArg(E,R,N){if(R in E){return E[R]}else if(arguments.length===3){return N}throw new Error('"'+R+'" is a required argument.')}R.getArg=getArg;const N=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const $=/^data:.+\,.+$/;function urlParse(E){const R=E.match(N);if(!R){return null}return{scheme:R[1],auth:R[2],host:R[3],port:R[4],path:R[5]}}R.urlParse=urlParse;function urlGenerate(E){let R="";if(E.scheme){R+=E.scheme+":"}R+="//";if(E.auth){R+=E.auth+"@"}if(E.host){R+=E.host}if(E.port){R+=":"+E.port}if(E.path){R+=E.path}return R}R.urlGenerate=urlGenerate;const j=32;function lruMemoize(E){const R=[];return function(N){for(let E=0;Ej){R.pop()}return $}}const q=lruMemoize((function normalize(E){let N=E;const $=urlParse(E);if($){if(!$.path){return E}N=$.path}const j=R.isAbsolute(N);const q=[];let G=0;let ie=0;while(true){G=ie;ie=N.indexOf("/",G);if(ie===-1){q.push(N.slice(G));break}else{q.push(N.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}N=q.join("/");if(N===""){N=j?"/":"."}if($){$.path=N;return urlGenerate($)}return N}));R.normalize=q;function join(E,R){if(E===""){E="."}if(R===""){R="."}const N=urlParse(R);const j=urlParse(E);if(j){E=j.path||"/"}if(N&&!N.scheme){if(j){N.scheme=j.scheme}return urlGenerate(N)}if(N||R.match($)){return R}if(j&&!j.host&&!j.path){j.host=R;return urlGenerate(j)}const G=R.charAt(0)==="/"?R:q(E.replace(/\/+$/,"")+"/"+R);if(j){j.path=G;return urlGenerate(j)}return G}R.join=join;R.isAbsolute=function(E){return E.charAt(0)==="/"||N.test(E)};function relative(E,R){if(E===""){E="."}E=E.replace(/\/$/,"");let N=0;while(R.indexOf(E+"/")!==0){const $=E.lastIndexOf("/");if($<0){return R}E=E.slice(0,$);if(E.match(/^([^\/]+:\/)?\/*$/)){return R}++N}return Array(N+1).join("../")+R.substr(E.length+1)}R.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}R.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}R.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const R=E.length;if(R<9){return false}if(E.charCodeAt(R-1)!==95||E.charCodeAt(R-2)!==95||E.charCodeAt(R-3)!==111||E.charCodeAt(R-4)!==116||E.charCodeAt(R-5)!==111||E.charCodeAt(R-6)!==114||E.charCodeAt(R-7)!==112||E.charCodeAt(R-8)!==95||E.charCodeAt(R-9)!==95){return false}for(let N=R-10;N>=0;N--){if(E.charCodeAt(N)!==36){return false}}return true}function compareByOriginalPositions(E,R,N){let $=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0||N){return $}$=E.generatedColumn-R.generatedColumn;if($!==0){return $}$=E.generatedLine-R.generatedLine;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,R,N){let $=E.generatedLine-R.generatedLine;if($!==0){return $}$=E.generatedColumn-R.generatedColumn;if($!==0||N){return $}$=strcmp(E.source,R.source);if($!==0){return $}$=E.originalLine-R.originalLine;if($!==0){return $}$=E.originalColumn-R.originalColumn;if($!==0){return $}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,R){if(E===R){return 0}if(E===null){return 1}if(R===null){return-1}if(E>R){return 1}return-1}function compareByGeneratedPositionsInflated(E,R){let N=E.generatedLine-R.generatedLine;if(N!==0){return N}N=E.generatedColumn-R.generatedColumn;if(N!==0){return N}N=strcmp(E.source,R.source);if(N!==0){return N}N=E.originalLine-R.originalLine;if(N!==0){return N}N=E.originalColumn-R.originalColumn;if(N!==0){return N}return strcmp(E.name,R.name)}R.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}R.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,R,N){R=R||"";if(E){if(E[E.length-1]!=="/"&&R[0]!=="/"){E+="/"}R=E+R}if(N){const E=urlParse(N);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const R=E.path.lastIndexOf("/");if(R>=0){E.path=E.path.substring(0,R+1)}}R=join(urlGenerate(E),R)}return q(R)}R.computeSourceURL=computeSourceURL},7059:(E,R,N)=>{const $=N(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let j=null;E.exports=function wasm(){if(j){return j}const E=[];j=$().then((R=>WebAssembly.instantiate(R,{env:{mapping_callback(R,N,$,j,q,G,ie,ae,le,_e){const Ee=new Mapping;Ee.generatedLine=R+1;Ee.generatedColumn=N;if($){Ee.lastGeneratedColumn=j-1}if(q){Ee.source=G;Ee.originalLine=ie+1;Ee.originalColumn=ae;if(le){Ee.name=_e}}E[E.length-1](Ee)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((R=>({exports:R.instance.exports,withMappingCallback:(R,N)=>{E.push(R);try{N()}finally{E.pop()}}}))).then(null,(E=>{j=null;throw E}));return j}},37362:(E,R,N)=>{R.SourceMapGenerator=N(69010).SourceMapGenerator;R.SourceMapConsumer=N(47532).SourceMapConsumer;R.SourceNode=N(98160).SourceNode},96217:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;var $=N(2895);Object.defineProperty(R,"TsconfigPathsPlugin",{enumerable:true,get:function(){return $.TsconfigPathsPlugin}});const j=N(2895);R["default"]=j.TsconfigPathsPlugin;const q=N(2895).TsconfigPathsPlugin;q.TsconfigPathsPlugin=j.TsconfigPathsPlugin;q.default=j.TsconfigPathsPlugin;E.exports=q},96028:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.makeLogger=void 0;const $=N(96206);var j;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})(j||(j={}));const q=new $.Console(process.stderr);const G=new $.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,R)=>{}:(E,R)=>E.log(R);const makeExternalLogger=(E,R)=>N=>R(E.logInfoToStdOut?G:q,N);const makeLogInfo=(E,R,N)=>j[E.logLevel]<=j.INFO?$=>R(E.logInfoToStdOut?G:q,N($)):doNothingLogger;const makeLogError=(E,R,N)=>j[E.logLevel]<=j.ERROR?E=>R(q,N(E)):doNothingLogger;const makeLogWarning=(E,R,N)=>j[E.logLevel]<=j.WARN?E=>R(q,N(E)):doNothingLogger;function makeLogger(E,R){const N=makeLoggerFunc(E);return{log:makeExternalLogger(E,N),logInfo:makeLogInfo(E,N,R.green),logWarning:makeLogWarning(E,N,R.yellow),logError:makeLogError(E,N,R.red)}}R.makeLogger=makeLogger},59929:(E,R)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.getOptions=void 0;const N=["configFile","extensions","baseUrl","silent","logLevel","logInfoToStdOut","context","mainFields"];function getOptions(E){validateOptions(E);const R=makeOptions(E);return R}R.getOptions=getOptions;function validateOptions(E){const R=Object.keys(E);for(let E=0;E{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.TsconfigPathsPlugin=void 0;const $=N(57347);const j=N(46543);const q=N(71017);const G=N(59929);const ie=N(96028);const ae=N(22471);class TsconfigPathsPlugin{constructor(E={}){this.source="described-resolve";this.target="resolve";const R=G.getOptions(E);this.extensions=R.extensions;this.log=ie.makeLogger(R,new $.Instance({level:R.colors?undefined:0}));const N=R.context||process.cwd();const ae=R.configFile||N;const le=j.loadConfig(ae);if(le.resultType==="failed"){this.log.logError(`Failed to load ${ae}: ${le.message}`)}else{this.log.logInfo(`tsconfig-paths-webpack-plugin: Using config file at ${le.configFileAbsolutePath}`);this.baseUrl=R.baseUrl||le.baseUrl;this.absoluteBaseUrl=R.baseUrl?q.resolve(R.baseUrl):le.absoluteBaseUrl;this.matchPath=j.createMatchPathAsync(this.absoluteBaseUrl,le.paths,R.mainFields)}}apply(E){if(!E){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no resolver, not applying tsconfig-paths-webpack-plugin");return}const{baseUrl:R}=this;if(!R){this.log.logWarning("tsconfig-paths-webpack-plugin: Found no baseUrl in tsconfig.json, not applying tsconfig-paths-webpack-plugin");return}if(!("fileSystem"in E)){this.log.logWarning("tsconfig-paths-webpack-plugin: No file system found on resolver."+" Please make sure you've placed the plugin in the correct part of the configuration."+" This plugin is a resolver plugin and should be placed in the resolve part of the Webpack configuration.");return}if("getHook"in E&&typeof E.getHook==="function"){E.getHook(this.source).tapAsync({name:"TsconfigPathsPlugin"},createPluginCallback(this.matchPath,E,this.absoluteBaseUrl,E.getHook(this.target),this.extensions))}else if("plugin"in E){const R=E;R.plugin(this.source,createPluginLegacy(this.matchPath,E,this.absoluteBaseUrl,this.target,this.extensions))}}}R.TsconfigPathsPlugin=TsconfigPathsPlugin;function createPluginCallback(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e,Ee)=>{const we=ae(R,le);if(!we||we.startsWith(".")||we.startsWith("..")){return Ee()}E(we,ie,G,q,((E,q)=>{if(E){return Ee(E)}if(!q){return Ee()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(52227);return R.doResolve(j,G,`Resolved request '${we}' to '${q}' using tsconfig.json paths mapping`,ie(Object.assign({},_e)),((E,R)=>{if(E){return Ee(E)}if(R===undefined){return Ee(undefined,undefined)}Ee(undefined,R)}))}))}}function createPluginLegacy(E,R,$,j,q){const G=createFileExistAsync(R.fileSystem);const ie=createReadJsonAsync(R.fileSystem);return(le,_e)=>{const Ee=ae(R,le);if(!Ee||Ee.startsWith(".")||Ee.startsWith("..")){return _e()}E(Ee,ie,G,q,((E,q)=>{if(E){return _e(E)}if(!q){return _e()}const G=Object.assign(Object.assign({},le),{request:q,path:$});const ie=N(92915);return R.doResolve(j,G,`Resolved request '${Ee}' to '${q}' using tsconfig.json paths mapping`,ie((function(E,R){if(arguments.length>0){return _e(E,R)}_e(undefined,undefined)}),_e))}))}}function readJson(E,R,N){if("readJson"in E&&E.readJson){return E.readJson(R,N)}E.readFile(R,((E,R)=>{if(E){return N(E)}let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(undefined,$)}))}function createReadJsonAsync(E){return(R,N)=>{readJson(E,R,((E,R)=>{if(E||!R){N();return}N(undefined,R)}))}}function createFileExistAsync(E){return(R,N)=>{E.stat(R,((E,R)=>{if(E){N(undefined,false);return}N(undefined,R?R.isFile():false)}))}}},36674:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(9492);var j=N(71017);var q=N(26872);function loadConfig(E){if(E===void 0){E=q.options.cwd}return configLoader({cwd:E})}R.loadConfig=loadConfig;function configLoader(E){var R=E.cwd,N=E.explicitParams,q=E.tsConfigLoader,G=q===void 0?$.tsConfigLoader:q;if(N){var ie=j.isAbsolute(N.baseUrl)?N.baseUrl:j.join(R,N.baseUrl);return{resultType:"success",configFileAbsolutePath:"",baseUrl:N.baseUrl,absoluteBaseUrl:ie,paths:N.paths,mainFields:N.mainFields,addMatchAll:N.addMatchAll}}var ae=G({cwd:R,getEnv:function(E){return process.env[E]}});if(!ae.tsConfigPath){return{resultType:"failed",message:"Couldn't find tsconfig.json"}}if(!ae.baseUrl){return{resultType:"failed",message:"Missing baseUrl in compilerOptions"}}var le=j.dirname(ae.tsConfigPath);var _e=j.join(le,ae.baseUrl);return{resultType:"success",configFileAbsolutePath:ae.tsConfigPath,baseUrl:ae.baseUrl,absoluteBaseUrl:_e,paths:ae.paths||{}}}R.configLoader=configLoader},89711:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(57147);function fileExistsSync(E){try{var R=$.statSync(E);return R.isFile()}catch(E){return false}}R.fileExistsSync=fileExistsSync;function readJsonFromDiskSync(E){if(!$.existsSync(E)){return undefined}return require(E)}R.readJsonFromDiskSync=readJsonFromDiskSync;function readJsonFromDiskAsync(E,R){$.readFile(E,"utf8",(function(E,N){if(E||!N){return R()}var $=JSON.parse(N);return R(undefined,$)}))}R.readJsonFromDiskAsync=readJsonFromDiskAsync;function fileExistsAsync(E,R){$.stat(E,(function(E,N){if(E){return R(undefined,false)}R(undefined,N?N.isFile():false)}))}R.fileExistsAsync=fileExistsAsync;function removeExtension(E){return E.substring(0,E.lastIndexOf("."))||E}R.removeExtension=removeExtension},46543:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(12317);R.createMatchPath=$.createMatchPath;R.matchFromAbsolutePaths=$.matchFromAbsolutePaths;var j=N(5339);R.createMatchPathAsync=j.createMatchPathAsync;R.matchFromAbsolutePathsAsync=j.matchFromAbsolutePathsAsync;var q=N(7897);R.register=q.register;var G=N(36674);R.loadConfig=G.loadConfig},98191:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);function getAbsoluteMappingEntries(E,R,N){var j=sortByLongestPrefix(Object.keys(R));var q=[];for(var G=0,ie=j;G{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(58455);var q=N(98191);var G=N(89711);function createMatchPathAsync(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q,G){return matchFromAbsolutePathsAsync(j,E,R,$,q,G,N)}}R.createMatchPathAsync=createMatchPathAsync;function matchFromAbsolutePathsAsync(E,R,N,$,q,ie,ae){if(N===void 0){N=G.readJsonFromDiskAsync}if($===void 0){$=G.fileExistsAsync}if(q===void 0){q=Object.keys(require.extensions)}if(ae===void 0){ae=["main"]}var le=j.getPathsToTry(q,E,R);if(!le){return ie()}findFirstExistingPath(le,N,$,ie,0,ae)}R.matchFromAbsolutePathsAsync=matchFromAbsolutePathsAsync;function findFirstExistingMainFieldMappedFile(E,R,N,j,q,G){if(G===void 0){G=0}if(G>=R.length){return q(undefined,undefined)}var tryNext=function(){return findFirstExistingMainFieldMappedFile(E,R,N,j,q,G+1)};var ie=E[R[G]];if(typeof ie!=="string"){return tryNext()}var ae=$.join($.dirname(N),ie);j(ae,(function(E,R){if(E){return q(E)}if(R){return q(undefined,ae)}return tryNext()}))}function findFirstExistingPath(E,R,N,$,q,ie){if(q===void 0){q=0}if(ie===void 0){ie=["main"]}var ae=E[q];if(ae.type==="file"||ae.type==="extension"||ae.type==="index"){N(ae.path,(function(G,le){if(G){return $(G)}if(le){return $(undefined,j.getStrippedPath(ae))}if(q===E.length-1){return $()}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}else if(ae.type==="package"){R(ae.path,(function(j,le){if(j){return $(j)}if(le){return findFirstExistingMainFieldMappedFile(le,ie,ae.path,N,(function(j,ae){if(j){return $(j)}if(ae){return $(undefined,G.removeExtension(ae))}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}return findFirstExistingPath(E,R,N,$,q+1,ie)}))}else{j.exhaustiveTypeException(ae.type)}}},12317:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(89711);var q=N(98191);var G=N(58455);function createMatchPath(E,R,N,$){if(N===void 0){N=["main"]}if($===void 0){$=true}var j=q.getAbsoluteMappingEntries(E,R,$);return function(E,R,$,q){return matchFromAbsolutePaths(j,E,R,$,q,N)}}R.createMatchPath=createMatchPath;function matchFromAbsolutePaths(E,R,N,$,q,ie){if(N===void 0){N=j.readJsonFromDiskSync}if($===void 0){$=j.fileExistsSync}if(q===void 0){q=Object.keys(require.extensions)}if(ie===void 0){ie=["main"]}var ae=G.getPathsToTry(q,E,R);if(!ae){return undefined}return findFirstExistingPath(ae,N,$,ie)}R.matchFromAbsolutePaths=matchFromAbsolutePaths;function findFirstExistingMainFieldMappedFile(E,R,N,j){for(var q=0;q{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(40535);var j=$(process.argv.slice(2),{string:["project"],alias:{project:["P"]}});var q=j&&j.project;R.options={cwd:q||process.cwd()}},7897:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(12317);var j=N(36674);var q=N(26872);var noOp=function(){return void 0};function getCoreModules(E){E=E||["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"];var R={};for(var N=0,$=E;N<$.length;N++){var j=$[N];R[j]=true}return R}function register(E){var R=j.configLoader({cwd:q.options.cwd,explicitParams:E});if(R.resultType==="failed"){console.warn(R.message+". tsconfig-paths will be skipped");return noOp}var G=$.createMatchPath(R.absoluteBaseUrl,R.paths,R.mainFields,R.addMatchAll);var ie=N(98188);var ae=ie._resolveFilename;var le=getCoreModules(ie.builtinModules);ie._resolveFilename=function(E,R){var N=le.hasOwnProperty(E);if(!N){var $=G(E);if($){var j=[$].concat([].slice.call(arguments,1));return ae.apply(this,j)}}return ae.apply(this,arguments)};return function(){ie._resolveFilename=ae}}R.register=register},58455:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});var $=N(71017);var j=N(71017);var q=N(89711);function getPathsToTry(E,R,N){if(!R||!N||N[0]==="."||N[0]===$.sep){return undefined}var j=[];for(var q=0,G=R;q{ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +var R;var N;var $;var j;var q;var G;var ie;var ae;var le;var _e;var Ee;var we;var Ie;var Me;var Te;var Ne;var Be;var Le;var je;var ze;var Ue;var qe;var Ge;(function(R){var N=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){R(createExporter(N,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){R(createExporter(N,createExporter(E.exports)))}else{R(createExporter(N))}function createExporter(E,R){if(E!==N){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(N,$){return E[N]=R?R(N,$):$}}})((function(E){var He=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,R){E.__proto__=R}||function(E,R){for(var N in R)if(R.hasOwnProperty(N))E[N]=R[N]};R=function(E,R){He(E,R);function __(){this.constructor=E}E.prototype=R===null?Object.create(R):(__.prototype=R.prototype,new __)};N=Object.assign||function(E){for(var R,N=1,$=arguments.length;N<$;N++){R=arguments[N];for(var j in R)if(Object.prototype.hasOwnProperty.call(R,j))E[j]=R[j]}return E};$=function(E,R){var N={};for(var $ in E)if(Object.prototype.hasOwnProperty.call(E,$)&&R.indexOf($)<0)N[$]=E[$];if(E!=null&&typeof Object.getOwnPropertySymbols==="function")for(var j=0,$=Object.getOwnPropertySymbols(E);j<$.length;j++){if(R.indexOf($[j])<0&&Object.prototype.propertyIsEnumerable.call(E,$[j]))N[$[j]]=E[$[j]]}return N};j=function(E,R,N,$){var j=arguments.length,q=j<3?R:$===null?$=Object.getOwnPropertyDescriptor(R,N):$,G;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")q=Reflect.decorate(E,R,N,$);else for(var ie=E.length-1;ie>=0;ie--)if(G=E[ie])q=(j<3?G(q):j>3?G(R,N,q):G(R,N))||q;return j>3&&q&&Object.defineProperty(R,N,q),q};q=function(E,R){return function(N,$){R(N,$,E)}};G=function(E,R){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,R)};ie=function(E,R,N,$){function adopt(E){return E instanceof N?E:new N((function(R){R(E)}))}return new(N||(N=Promise))((function(N,j){function fulfilled(E){try{step($.next(E))}catch(E){j(E)}}function rejected(E){try{step($["throw"](E))}catch(E){j(E)}}function step(E){E.done?N(E.value):adopt(E.value).then(fulfilled,rejected)}step(($=$.apply(E,R||[])).next())}))};ae=function(E,R){var N={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},$,j,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(R){return step([E,R])}}function step(G){if($)throw new TypeError("Generator is already executing.");while(N)try{if($=1,j&&(q=G[0]&2?j["return"]:G[0]?j["throw"]||((q=j["return"])&&q.call(j),0):j.next)&&!(q=q.call(j,G[1])).done)return q;if(j=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:N.label++;return{value:G[1],done:false};case 5:N.label++;j=G[1];G=[0];continue;case 7:G=N.ops.pop();N.trys.pop();continue;default:if(!(q=N.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){N=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[$++],done:!E}}};throw new TypeError(R?"Object is not iterable.":"Symbol.iterator is not defined.")};Ee=function(E,R){var N=typeof Symbol==="function"&&E[Symbol.iterator];if(!N)return E;var $=N.call(E),j,q=[],G;try{while((R===void 0||R-- >0)&&!(j=$.next()).done)q.push(j.value)}catch(E){G={error:E}}finally{try{if(j&&!j.done&&(N=$["return"]))N.call($)}finally{if(G)throw G.error}}return q};we=function(){for(var E=[],R=0;R1||resume(E,R)}))}}function resume(E,R){try{step($[E](R))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof Me?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,R){if(E(R),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var R,N;return R={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),R[Symbol.iterator]=function(){return this},R;function verb($,j){R[$]=E[$]?function(R){return(N=!N)?{value:Me(E[$](R)),done:$==="return"}:j?j(R):R}:j}};Be=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R=E[Symbol.asyncIterator],N;return R?R.call(E):(E=typeof _e==="function"?_e(E):E[Symbol.iterator](),N={},verb("next"),verb("throw"),verb("return"),N[Symbol.asyncIterator]=function(){return this},N);function verb(R){N[R]=E[R]&&function(N){return new Promise((function($,j){N=E[R](N),settle($,j,N.done,N.value)}))}}function settle(E,R,N,$){Promise.resolve($).then((function(R){E({value:R,done:N})}),R)}};Le=function(E,R){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:R})}else{E.raw=R}return E};je=function(E){if(E&&E.__esModule)return E;var R={};if(E!=null)for(var N in E)if(Object.hasOwnProperty.call(E,N))R[N]=E[N];R["default"]=E;return R};ze=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,R){if(!R.has(E)){throw new TypeError("attempted to get private field on non-instance")}return R.get(E)};qe=function(E,R,N){if(!R.has(E)){throw new TypeError("attempted to set private field on non-instance")}R.set(E,N);return N};E("__extends",R);E("__assign",N);E("__rest",$);E("__decorate",j);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",le);E("__createBinding",Ge);E("__values",_e);E("__read",Ee);E("__spread",we);E("__spreadArrays",Ie);E("__await",Me);E("__asyncGenerator",Te);E("__asyncDelegator",Ne);E("__asyncValues",Be);E("__makeTemplateObject",Le);E("__importStar",je);E("__importDefault",ze);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",qe)}))},30823:function(E,R){ +/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ +(function(E,N){true?N(R):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,R=Array(E),N=0;N1){R[0]=R[0].slice(0,-1);var $=R.length-1;for(var j=1;j<$;++j){R[j]=R[j].slice(1,-1)}R[$]=R[$].slice(1);return R.join("")}else{return R[0]}}function subexp(E){return"(?:"+E+")"}function typeOf(E){return E===undefined?"undefined":E===null?"null":Object.prototype.toString.call(E).split(" ").pop().split("]").shift().toLowerCase()}function toUpperCase(E){return E.toUpperCase()}function toArray(E){return E!==undefined&&E!==null?E instanceof Array?E:typeof E.length!=="number"||E.split||E.setInterval||E.call?[E]:Array.prototype.slice.call(E):[]}function assign(E,R){var N=E;if(R){for(var $ in R){N[$]=R[$]}}return N}function buildExps(E){var R="[A-Za-z]",N="[\\x0D]",$="[0-9]",j="[\\x22]",q=merge($,"[A-Fa-f]"),G="[\\x0A]",ie="[\\x20]",ae=subexp(subexp("%[EFef]"+q+"%"+q+q+"%"+q+q)+"|"+subexp("%[89A-Fa-f]"+q+"%"+q+q)+"|"+subexp("%"+q+q)),le="[\\:\\/\\?\\#\\[\\]\\@]",_e="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",Ee=merge(le,_e),we=E?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ie=E?"[\\uE000-\\uF8FF]":"[]",Me=merge(R,$,"[\\-\\.\\_\\~]",we),Te=subexp(R+merge(R,$,"[\\+\\-\\.]")+"*"),Ne=subexp(subexp(ae+"|"+merge(Me,_e,"[\\:]"))+"*"),Be=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("[1-9]"+$)+"|"+$),Le=subexp(subexp("25[0-5]")+"|"+subexp("2[0-4]"+$)+"|"+subexp("1"+$+$)+"|"+subexp("0?[1-9]"+$)+"|0?0?"+$),je=subexp(Le+"\\."+Le+"\\."+Le+"\\."+Le),ze=subexp(q+"{1,4}"),Ue=subexp(subexp(ze+"\\:"+ze)+"|"+je),qe=subexp(subexp(ze+"\\:")+"{6}"+Ue),Ge=subexp("\\:\\:"+subexp(ze+"\\:")+"{5}"+Ue),He=subexp(subexp(ze)+"?\\:\\:"+subexp(ze+"\\:")+"{4}"+Ue),We=subexp(subexp(subexp(ze+"\\:")+"{0,1}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{3}"+Ue),Ve=subexp(subexp(subexp(ze+"\\:")+"{0,2}"+ze)+"?\\:\\:"+subexp(ze+"\\:")+"{2}"+Ue),Ke=subexp(subexp(subexp(ze+"\\:")+"{0,3}"+ze)+"?\\:\\:"+ze+"\\:"+Ue),Qe=subexp(subexp(subexp(ze+"\\:")+"{0,4}"+ze)+"?\\:\\:"+Ue),Je=subexp(subexp(subexp(ze+"\\:")+"{0,5}"+ze)+"?\\:\\:"+ze),Xe=subexp(subexp(subexp(ze+"\\:")+"{0,6}"+ze)+"?\\:\\:"),Ye=subexp([qe,Ge,He,We,Ve,Ke,Qe,Je,Xe].join("|")),Ze=subexp(subexp(Me+"|"+ae)+"+"),et=subexp(Ye+"\\%25"+Ze),tt=subexp(Ye+subexp("\\%25|\\%(?!"+q+"{2})")+Ze),nt=subexp("[vV]"+q+"+\\."+merge(Me,_e,"[\\:]")+"+"),rt=subexp("\\["+subexp(tt+"|"+Ye+"|"+nt)+"\\]"),st=subexp(subexp(ae+"|"+merge(Me,_e))+"*"),it=subexp(rt+"|"+je+"(?!"+st+")"+"|"+st),ot=subexp($+"*"),lt=subexp(subexp(Ne+"@")+"?"+it+subexp("\\:"+ot)+"?"),ct=subexp(ae+"|"+merge(Me,_e,"[\\:\\@]")),ut=subexp(ct+"*"),pt=subexp(ct+"+"),dt=subexp(subexp(ae+"|"+merge(Me,_e,"[\\@]"))+"+"),ft=subexp(subexp("\\/"+ut)+"*"),ht=subexp("\\/"+subexp(pt+ft)+"?"),mt=subexp(dt+ft),gt=subexp(pt+ft),yt="(?!"+ct+")",vt=subexp(ft+"|"+ht+"|"+mt+"|"+gt+"|"+yt),bt=subexp(subexp(ct+"|"+merge("[\\/\\?]",Ie))+"*"),_t=subexp(subexp(ct+"|[\\/\\?]")+"*"),xt=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+gt+"|"+yt),kt=subexp(Te+"\\:"+xt+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),Et=subexp(subexp("\\/\\/"+lt+ft)+"|"+ht+"|"+mt+"|"+yt),wt=subexp(Et+subexp("\\?"+bt)+"?"+subexp("\\#"+_t)+"?"),St=subexp(kt+"|"+wt),At=subexp(Te+"\\:"+xt+subexp("\\?"+bt)+"?"),Ct="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",Dt="^(){0}"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+mt+"|"+yt+")")+subexp("\\?("+bt+")")+"?"+subexp("\\#("+_t+")")+"?$",It="^("+Te+")\\:"+subexp(subexp("\\/\\/("+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?)")+"?("+ft+"|"+ht+"|"+gt+"|"+yt+")")+subexp("\\?("+bt+")")+"?$",Mt="^"+subexp("\\#("+_t+")")+"?$",Pt="^"+subexp("("+Ne+")@")+"?("+it+")"+subexp("\\:("+ot+")")+"?$";return{NOT_SCHEME:new RegExp(merge("[^]",R,$,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(merge("[^\\%\\:]",Me,_e),"g"),NOT_HOST:new RegExp(merge("[^\\%\\[\\]\\:]",Me,_e),"g"),NOT_PATH:new RegExp(merge("[^\\%\\/\\:\\@]",Me,_e),"g"),NOT_PATH_NOSCHEME:new RegExp(merge("[^\\%\\/\\@]",Me,_e),"g"),NOT_QUERY:new RegExp(merge("[^\\%]",Me,_e,"[\\:\\@\\/\\?]",Ie),"g"),NOT_FRAGMENT:new RegExp(merge("[^\\%]",Me,_e,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(merge("[^]",Me,_e),"g"),UNRESERVED:new RegExp(Me,"g"),OTHER_CHARS:new RegExp(merge("[^\\%]",Me,Ee),"g"),PCT_ENCODED:new RegExp(ae,"g"),IPV4ADDRESS:new RegExp("^("+je+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Ye+")"+subexp(subexp("\\%25|\\%(?!"+q+"{2})")+"("+Ze+")")+"?\\]?$")}}var R=buildExps(false);var N=buildExps(true);var $=function(){function sliceIterator(E,R){var N=[];var $=true;var j=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!($=(ie=G.next()).done);$=true){N.push(ie.value);if(R&&N.length===R)break}}catch(E){j=true;q=E}finally{try{if(!$&&G["return"])G["return"]()}finally{if(j)throw q}}return N}return function(E,R){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return sliceIterator(E,R)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}}();var toConsumableArray=function(E){if(Array.isArray(E)){for(var R=0,N=Array(E.length);R= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Be=q-G;var Le=Math.floor;var je=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,R){var N=[];var $=E.length;while($--){N[$]=R(E[$])}return N}function mapDomain(E,R){var N=E.split("@");var $="";if(N.length>1){$=N[0]+"@";E=N[1]}E=E.replace(Te,".");var j=E.split(".");var q=map(j,R).join(".");return $+q}function ucs2decode(E){var R=[];var N=0;var $=E.length;while(N<$){var j=E.charCodeAt(N++);if(j>=55296&&j<=56319&&N<$){var q=E.charCodeAt(N++);if((q&64512)==56320){R.push(((j&1023)<<10)+(q&1023)+65536)}else{R.push(j);N--}}else{R.push(j)}}return R}var ze=function ucs2encode(E){return String.fromCodePoint.apply(String,toConsumableArray(E))};var Ue=function basicToDigit(E){if(E-48<10){return E-22}if(E-65<26){return E-65}if(E-97<26){return E-97}return q};var qe=function digitToBasic(E,R){return E+22+75*(E<26)-((R!=0)<<5)};var Ge=function adapt(E,R,N){var $=0;E=N?Le(E/le):E>>1;E+=Le(E/R);for(;E>Be*ie>>1;$+=q){E=Le(E/Be)}return Le($+(Be+1)*E/(E+ae))};var He=function decode(E){var R=[];var N=E.length;var $=0;var ae=Ee;var le=_e;var Ie=E.lastIndexOf(we);if(Ie<0){Ie=0}for(var Me=0;Me=128){error$1("not-basic")}R.push(E.charCodeAt(Me))}for(var Te=Ie>0?Ie+1:0;Te=N){error$1("invalid-input")}var ze=Ue(E.charCodeAt(Te++));if(ze>=q||ze>Le((j-$)/Be)){error$1("overflow")}$+=ze*Be;var qe=je<=le?G:je>=le+ie?ie:je-le;if(zeLe(j/He)){error$1("overflow")}Be*=He}var We=R.length+1;le=Ge($-Ne,We,Ne==0);if(Le($/We)>j-ae){error$1("overflow")}ae+=Le($/We);$%=We;R.splice($++,0,ae)}return String.fromCodePoint.apply(String,R)};var We=function encode(E){var R=[];E=ucs2decode(E);var N=E.length;var $=Ee;var ae=0;var le=_e;var Ie=true;var Me=false;var Te=undefined;try{for(var Ne=E[Symbol.iterator](),Be;!(Ie=(Be=Ne.next()).done);Ie=true){var ze=Be.value;if(ze<128){R.push(je(ze))}}}catch(E){Me=true;Te=E}finally{try{if(!Ie&&Ne.return){Ne.return()}}finally{if(Me){throw Te}}}var Ue=R.length;var He=Ue;if(Ue){R.push(we)}while(He=$&&YeLe((j-ae)/Ze)){error$1("overflow")}ae+=(We-$)*Ze;$=We;var et=true;var tt=false;var nt=undefined;try{for(var rt=E[Symbol.iterator](),st;!(et=(st=rt.next()).done);et=true){var it=st.value;if(it<$&&++ae>j){error$1("overflow")}if(it==$){var ot=ae;for(var lt=q;;lt+=q){var ct=lt<=le?G:lt>=le+ie?ie:lt-le;if(ot>6|192).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();else N="%"+(R>>12|224).toString(16).toUpperCase()+"%"+(R>>6&63|128).toString(16).toUpperCase()+"%"+(R&63|128).toString(16).toUpperCase();return N}function pctDecChars(E){var R="";var N=0;var $=E.length;while(N<$){var j=parseInt(E.substr(N+1,2),16);if(j<128){R+=String.fromCharCode(j);N+=3}else if(j>=194&&j<224){if($-N>=6){var q=parseInt(E.substr(N+4,2),16);R+=String.fromCharCode((j&31)<<6|q&63)}else{R+=E.substr(N,6)}N+=6}else if(j>=224){if($-N>=9){var G=parseInt(E.substr(N+4,2),16);var ie=parseInt(E.substr(N+7,2),16);R+=String.fromCharCode((j&15)<<12|(G&63)<<6|ie&63)}else{R+=E.substr(N,9)}N+=9}else{R+=E.substr(N,3);N+=3}}return R}function _normalizeComponentEncoding(E,R){function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(R.UNRESERVED)?E:N}if(E.scheme)E.scheme=String(E.scheme).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_USERINFO,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(R.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(R.NOT_HOST,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(R.PCT_ENCODED,decodeUnreserved).replace(E.scheme?R.NOT_PATH:R.NOT_PATH_NOSCHEME,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_QUERY,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(R.PCT_ENCODED,decodeUnreserved).replace(R.NOT_FRAGMENT,pctEncChar).replace(R.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,R){var N=E.match(R.IPV4ADDRESS)||[];var j=$(N,2),q=j[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,R){var N=E.match(R.IPV6ADDRESS)||[];var j=$(N,3),q=j[1],G=j[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=$(ie,2),le=ae[0],_e=ae[1];var Ee=_e?_e.split(":").map(_stripLeadingZeros):[];var we=le.split(":").map(_stripLeadingZeros);var Ie=R.IPV4ADDRESS.test(we[we.length-1]);var Me=Ie?7:8;var Te=we.length-Me;var Ne=Array(Me);for(var Be=0;Be1){var Ue=Ne.slice(0,je.index);var qe=Ne.slice(je.index+je.length);ze=Ue.join(":")+"::"+qe.join(":")}else{ze=Ne.join(":")}if(G){ze+="%"+G}return ze}else{return E}}var Xe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Ye="".match(/(){0}/)[1]===undefined;function parse(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j={};var q=$.iri!==false?N:R;if($.reference==="suffix")E=($.scheme?$.scheme+":":"")+"//"+E;var G=E.match(Xe);if(G){if(Ye){j.scheme=G[1];j.userinfo=G[3];j.host=G[4];j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=G[7];j.fragment=G[8];if(isNaN(j.port)){j.port=G[5]}}else{j.scheme=G[1]||undefined;j.userinfo=E.indexOf("@")!==-1?G[3]:undefined;j.host=E.indexOf("//")!==-1?G[4]:undefined;j.port=parseInt(G[5],10);j.path=G[6]||"";j.query=E.indexOf("?")!==-1?G[7]:undefined;j.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN(j.port)){j.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if(j.host){j.host=_normalizeIPv6(_normalizeIPv4(j.host,q),q)}if(j.scheme===undefined&&j.userinfo===undefined&&j.host===undefined&&j.port===undefined&&!j.path&&j.query===undefined){j.reference="same-document"}else if(j.scheme===undefined){j.reference="relative"}else if(j.fragment===undefined){j.reference="absolute"}else{j.reference="uri"}if($.reference&&$.reference!=="suffix"&&$.reference!==j.reference){j.error=j.error||"URI is not a "+$.reference+" reference."}var ie=Je[($.scheme||j.scheme||"").toLowerCase()];if(!$.unicodeSupport&&(!ie||!ie.unicodeSupport)){if(j.host&&($.domainHost||ie&&ie.domainHost)){try{j.host=Qe.toASCII(j.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){j.error=j.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding(j,R)}else{_normalizeComponentEncoding(j,q)}if(ie&&ie.parse){ie.parse(j,$)}}else{j.error=j.error||"URI can not be parsed."}return j}function _recomposeAuthority(E,$){var j=$.iri!==false?N:R;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),j),j).replace(j.IPV6ADDRESS,(function(E,R,N){return"["+R+(N?"%25"+N:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ze=/^\.\.?\//;var et=/^\/\.(\/|$)/;var tt=/^\/\.\.(\/|$)/;var nt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var R=[];while(E.length){if(E.match(Ze)){E=E.replace(Ze,"")}else if(E.match(et)){E=E.replace(et,"/")}else if(E.match(tt)){E=E.replace(tt,"/");R.pop()}else if(E==="."||E===".."){E=""}else{var N=E.match(nt);if(N){var $=N[0];E=E.slice($.length);R.push($)}else{throw new Error("Unexpected dot segment condition")}}}return R.join("")}function serialize(E){var $=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var j=$.iri?N:R;var q=[];var G=Je[($.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,$);if(E.host){if(j.IPV6ADDRESS.test(E.host)){}else if($.domainHost||G&&G.domainHost){try{E.host=!$.iri?Qe.toASCII(E.host.replace(j.PCT_ENCODED,pctDecChars).toLowerCase()):Qe.toUnicode(E.host)}catch(R){E.error=E.error||"Host's domain name can not be converted to "+(!$.iri?"ASCII":"Unicode")+" via punycode: "+R}}}_normalizeComponentEncoding(E,j);if($.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,$);if(ie!==undefined){if($.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!$.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,R){var N=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var $=arguments[3];var j={};if(!$){E=parse(serialize(E,N),N);R=parse(serialize(R,N),N)}N=N||{};if(!N.tolerant&&R.scheme){j.scheme=R.scheme;j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(R.userinfo!==undefined||R.host!==undefined||R.port!==undefined){j.userinfo=R.userinfo;j.host=R.host;j.port=R.port;j.path=removeDotSegments(R.path||"");j.query=R.query}else{if(!R.path){j.path=E.path;if(R.query!==undefined){j.query=R.query}else{j.query=E.query}}else{if(R.path.charAt(0)==="/"){j.path=removeDotSegments(R.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){j.path="/"+R.path}else if(!E.path){j.path=R.path}else{j.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+R.path}j.path=removeDotSegments(j.path)}j.query=R.query}j.userinfo=E.userinfo;j.host=E.host;j.port=E.port}j.scheme=E.scheme}j.fragment=R.fragment;return j}function resolve(E,R,N){var $=assign({scheme:"null"},N);return serialize(resolveComponents(parse(E,$),parse(R,$),$,true),$)}function normalize(E,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=parse(serialize(E,R),R)}return E}function equal(E,R,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=serialize(E,N)}if(typeof R==="string"){R=serialize(parse(R,N),N)}else if(typeOf(R)==="object"){R=serialize(R,N)}return E===R}function escapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.ESCAPE:N.ESCAPE,pctEncChar)}function unescapeComponent(E,$){return E&&E.toString().replace(!$||!$.iri?R.PCT_ENCODED:N.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,R){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,R){var N=String(E.scheme).toLowerCase()==="https";if(E.port===(N?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var st={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,R){var N=E;N.secure=isSecure(N);N.resourceName=(N.path||"/")+(N.query?"?"+N.query:"");N.path=undefined;N.query=undefined;return N},serialize:function serialize(E,R){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var N=E.resourceName.split("?"),j=$(N,2),q=j[0],G=j[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var lt={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var pt="[0-9A-Fa-f]";var dt=subexp(subexp("%[EFef]"+pt+"%"+pt+pt+"%"+pt+pt)+"|"+subexp("%[89A-Fa-f]"+pt+"%"+pt+pt)+"|"+subexp("%"+pt+pt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var ht="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var mt=merge(ht,'[\\"\\\\]');var gt="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(dt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',mt),"g");var _t=new RegExp(merge("[^]",ut,gt),"g");var xt=_t;function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(yt)?E:R}var kt={scheme:"mailto",parse:function parse$$1(E,R){var N=E;var $=N.to=N.path?N.path.split(","):[];N.path=undefined;if(N.query){var j=false;var q={};var G=N.query.split("&");for(var ie=0,ae=G.length;ie{E.exports=N(73837).deprecate},56755:(E,R,N)=>{"use strict";const $=N(82361).EventEmitter;const j=N(15808);const q=N(71017);const G=N(68862);const ie=Object.freeze({});let ae=1e3;const le=N(22037).platform()==="darwin";const _e=process.env.WATCHPACK_POLLING;const Ee=`${+_e}`===_e?+_e:!!_e&&_e!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,R){return function(){if(--E===0){return R()}}}class Watcher extends ${constructor(E,R,N){super();this.directoryWatcher=E;this.path=R;this.startTime=N&&+N;this._cachedTimeInfoEntries=undefined}checkStartTime(E,R){const N=this.startTime;if(typeof N!=="number")return!R;return N<=E}close(){this.emit("closed")}}class DirectoryWatcher extends ${constructor(E,R,N){super();if(Ee){N.poll=Ee}this.watcherManager=E;this.options=N;this.path=R;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=N.ignored;this.nestedWatching=false;this.polledWatching=typeof N.poll==="number"?N.poll:N.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(le){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,R){const N=this.watchers.get(withoutCase(E));if(N!==undefined){for(const E of N){R(E)}}}setMissing(E,R,N){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const $=this.directories.get(E);if($){if(this.nestedWatching)$.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",N)));if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}const j=this.files.get(E);if(j){this.files.delete(E);const $=withoutCase(E);const j=this.filesWithoutCase.get($)-1;if(j<=0){this.filesWithoutCase.delete($);this.forEachWatcher(E,(E=>E.emit("remove",N)))}else{this.filesWithoutCase.set($,j)}if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,null,N,R)))}}}setFileTime(E,R,N,$,j){const q=Date.now();if(this.checkIgnore(E))return;const G=this.files.get(E);let ie,le;if(N){ie=Math.min(q,R)+ae;le=ae}else{ie=q;le=0;if(G&&G.timestamp===R&&R+ae{if(!N||E.checkStartTime(ie,N)){E.emit("change",R,j)}}))}else if(!N){this.forEachWatcher(E,(E=>E.emit("change",R,j)))}this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(ie,N)){R.emit("change",E,ie,j,N)}}))}setDirectory(E,R,N,$){if(this.checkIgnore(E))return;if(E===this.path){if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,R,$,N)))}}else{const j=this.directories.get(E);if(!j){const j=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(N){q=Math.min(j,R)+ae}else{q=j}this.forEachWatcher(E,(E=>{if(!N||E.checkStartTime(q,false)){E.emit("change",R,$)}}));this.forEachWatcher(this.path,(R=>{if(!N||R.checkStartTime(q,N)){R.emit("change",E,q,$,N)}}))}}}createNestedWatcher(E){const R=this.watcherManager.watchDirectory(E,1);R.on("change",((E,R,N,$)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,(j=>{if(!$||j.checkStartTime(R,$)){j.emit("change",E,R,N,$)}}))}));this.directories.set(E,R)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,R]of this.directories){R.close();this.directories.set(E,true)}}}}watch(E,R){const N=withoutCase(E);let $=this.watchers.get(N);if($===undefined){$=new Set;this.watchers.set(N,$)}this.refs++;const j=new Watcher(this,E,R);j.on("closed",(()=>{if(--this.refs<=0){this.close();return}$.delete(j);if($.size===0){this.watchers.delete(N);if(this.path===E)this.setNestedWatching(false)}}));$.add(j);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const R=this.files.get(E);if(R){fixupEntryAccuracy(R);q=R.safeTime}else{q=0}}if(q){if(q>=R){process.nextTick((()=>{if(this.closed)return;if(E===this.path){j.emit("change",E,q,"watch (outdated on attach)",true)}else{j.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;j.emit("remove")}))}}else if(!this.directories.has(E)&&j.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;j.emit("initial-missing","watch (missing on attach)")}))}return j}onWatchEvent(E,R){if(this.closed)return;if(!R){this.doScan(false);return}const N=q.join(this.path,R);if(this.checkIgnore(N))return;if(this._activeEvents.get(R)===undefined){this._activeEvents.set(R,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(R,false);j.lstat(N,(($,G)=>{if(this.closed)return;if(this._activeEvents.get(R)===true){process.nextTick(checkStats);return}this._activeEvents.delete(R);if($){if($.code!=="ENOENT"&&$.code!=="EPERM"&&$.code!=="EBUSY"){this.onStatsError($)}else{if(R===q.basename(this.path)){if(!j.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!G){this.setMissing(N,false,E)}else if(G.isDirectory()){this.setDirectory(N,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(N,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(R,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const R=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,R)}for(const E of this.files.keys()){this.setMissing(E,null,R)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,R)=>{if(this.closed)return;if((!le||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(N=>N.emit("change",this.path,E,R,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;j.readdir(this.path,((R,N)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(R)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const R of E){if(R.checkStartTime(this.initialScanFinished,false)){R.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const $=new Set(N.map((E=>q.join(this.path,E.normalize("NFC")))));for(const R of this.files.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}for(const R of this.directories.keys()){if(!$.has(R)){this.setMissing(R,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls($.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const R of $){E.delete(withoutCase(R))}for(const R of E.values()){for(const E of R){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const R of $){j.lstat(R,((N,$)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"||N.code==="EBUSY"){this.setMissing(R,E,"scan ("+N.code+")")}else{this.onScanError(N)}G();return}if($.isFile()||$.isSymbolicLink()){if($.mtime){ensureFsAccuracy($.mtime)}this.setFileTime(R,+$.mtime||+$.ctime||1,E,true,"scan (file)")}else if($.isDirectory()){if(!E||!this.directories.has(R))this.setDirectory(R,+$.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let R=this.lastWatchEvent;for(const[N,$]of this.files){fixupEntryAccuracy($);R=Math.max(R,$.safeTime);E[N]=Math.max($.safeTime,$.timestamp)}if(this.nestedWatching){for(const N of this.directories.values()){const $=N.directoryWatcher.getTimes();for(const N of Object.keys($)){const j=$[N];R=Math.max(R,j);E[N]=j}}E[this.path]=R}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!Object.prototype.hasOwnProperty.call(E,R)){E[R]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let R=this.lastWatchEvent;for(const[N,$]of this.files){fixupEntryAccuracy($);R=Math.max(R,$.safeTime);E.set(N,$)}if(this.nestedWatching){for(const N of this.directories.values()){const $=N.directoryWatcher.getTimeInfoEntries();for(const[N,j]of $){if(j){R=Math.max(R,j.safeTime)}E.set(N,j)}}E.set(this.path,{safeTime:R})}else{for(const R of this.directories.keys()){E.set(R,ie)}E.set(this.path,ie)}if(!this.initialScan){for(const R of this.watchers.values()){for(const N of R){const R=N.path;if(!E.has(R)){E.set(R,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const R=this.cache.get(E);if(R!==undefined){return R}const N=j.dirname(E);if(N===E){const R=Object.freeze([E]);this.cache.set(E,R);return R}const G=this.resolve(N);let ie=E;if(G[0]!==N){const R=j.basename(E);ie=j.resolve(G[0],R)}try{const R=$.readlinkSync(ie);const N=j.resolve(G[0],R);const q=this.resolve(N);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let R=1;R1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(R){if(!q.has(R.code)){throw R}const N=G.slice();N[0]=ie;Object.freeze(N);this.cache.set(E,N);return N}}}E.exports=LinkResolver},53982:(E,R,N)=>{"use strict";const $=N(71017);const j=N(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const R=this.directoryWatchers.get(E);if(R===undefined){const R=new j(this,E,this.options);this.directoryWatchers.set(E,R);R.on("closed",(()=>{this.directoryWatchers.delete(E)}));return R}return R}watchFile(E,R){const N=$.dirname(E);if(N===E)return null;return this.getDirectoryWatcher(N).watch(E,R)}watchDirectory(E,R){return this.getDirectoryWatcher(E).watch(E,R)}}const q=new WeakMap;E.exports=E=>{const R=q.get(E);if(R!==undefined)return R;const N=new WatcherManager(E);q.set(E,N);return N};E.exports.WatcherManager=WatcherManager},27601:(E,R,N)=>{"use strict";const $=N(71017);E.exports=(E,R)=>{const N=new Map;for(const[R,$]of E){N.set(R,{filePath:R,parent:undefined,children:undefined,entries:1,active:true,value:$})}let j=N.size;for(const E of N.values()){const R=$.dirname(E.filePath);if(R!==E.filePath){let $=N.get(R);if($===undefined){$={filePath:R,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};N.set(R,$);E.parent=$}else{E.parent=$;if($.children===undefined){$.children=[E]}else{$.children.push(E)}do{$.entries+=E.entries;$=$.parent}while($)}}}while(j>R){const E=j-R;let $=undefined;let q=Infinity;for(const j of N.values()){if(j.entries<=1||!j.children||!j.parent)continue;if(j.children.length===0)continue;if(j.children.length===1&&!j.value)continue;const N=j.entries-1>=E?j.entries-1-E:E-j.entries+1+R*.3;if(N{"use strict";const $=N(57147);const j=N(71017);const{EventEmitter:q}=N(82361);const G=N(27601);const ie=N(22037).platform()==="darwin";const ae=N(22037).platform()==="win32";const le=ie||ae;const _e=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const Ee=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let we=false;let Ie=0;const Me=new Map;const Te=new Map;const Ne=new Map;const Be=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const R=$.watch(E);this.watcher=R;R.on("change",((E,R)=>{for(const N of this.watchers){N.emit("change",E,R)}}));R.on("error",(E=>{for(const R of this.watchers){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.watchers){R.emit("error",E)}}))}Ie++}add(E){Be.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Ie--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const R=$.watch(E,{recursive:true});this.watcher=R;R.on("change",((E,R)=>{if(!R){if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const R of this.mapWatcherToPath.keys()){R.emit("change",E)}}else{const N=j.dirname(R);const $=this.mapPathToWatchers.get(N);if(Ee){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${R}' to ${$?$.size:0} watchers\n`)}if($===undefined)return;for(const N of $){N.emit("change",E,j.basename(R))}}}));R.on("error",(E=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const R of this.mapWatcherToPath.keys()){R.emit("error",E)}}))}Ie++;if(Ee){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,R){Be.set(R,this);const N=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(R,N);const $=this.mapPathToWatchers.get(N);if($===undefined){const E=new Set;E.add(R);this.mapPathToWatchers.set(N,E)}else{$.add(R)}}remove(E){const R=this.mapWatcherToPath.get(E);if(!R)return;this.mapWatcherToPath.delete(E);const N=this.mapPathToWatchers.get(R);N.delete(E);if(N.size===0){this.mapPathToWatchers.delete(R)}if(this.mapWatcherToPath.size===0){Te.delete(this.rootPath);Ie--;if(this.watcher)this.watcher.close();if(Ee){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(Me.has(this)){Me.delete(this);return}const E=Be.get(this);E.remove(this);Be.delete(this)}}const createDirectWatcher=E=>{const R=Ne.get(E);if(R!==undefined)return R;const N=new DirectWatcher(E);Ne.set(E,N);return N};const createRecursiveWatcher=E=>{const R=Te.get(E);if(R!==undefined)return R;const N=new RecursiveWatcher(E);Te.set(E,N);return N};const execute=()=>{const E=new Map;const addWatcher=(R,N)=>{const $=E.get(N);if($===undefined){E.set(N,R)}else if(Array.isArray($)){$.push(R)}else{E.set(N,[$,R])}};for(const[E,R]of Me){addWatcher(E,R)}Me.clear();if(!le||_e-Ie>=E.size){for(const[R,N]of E){const E=createDirectWatcher(R);if(Array.isArray(N)){for(const R of N)E.add(R)}else{E.add(N)}}return}for(const E of Te.values()){for(const[R,N]of E.getWatchers()){addWatcher(R,j.join(E.rootPath,N))}}for(const E of Ne.values()){for(const R of E.getWatchers()){addWatcher(R,E.filePath)}}const R=G(E,_e*.9);for(const[E,N]of R){if(N.size===1){for(const[E,R]of N){const N=createDirectWatcher(R);const $=Be.get(E);if($===N)continue;N.add(E);if($!==undefined)$.remove(E)}}else{const R=new Set(N.values());if(R.size>1){const R=createRecursiveWatcher(E);for(const[E,$]of N){const N=Be.get(E);if(N===R)continue;R.add($,E);if(N!==undefined)N.remove(E)}}else{for(const E of R){const R=createDirectWatcher(E);for(const E of N.keys()){const N=Be.get(E);if(N===R)continue;R.add(E);if(N!==undefined)N.remove(E)}}}}}};R.watch=E=>{const R=new Watcher;const N=Ne.get(E);if(N!==undefined){N.add(R);return R}let $=E;for(;;){const N=Te.get($);if(N!==undefined){N.add(E,R);return R}const q=j.dirname($);if(q===$)break;$=q}Me.set(R,E);if(!we)execute();return R};R.batch=E=>{we=true;try{E()}finally{we=false;execute()}};R.getNumberOfWatchers=()=>Ie},92512:(E,R,N)=>{"use strict";const $=N(53982);const j=N(99181);const q=N(82361).EventEmitter;const G=N(70554);const ie=N(68862);let ae;const le=[];const _e={};function addWatchersToSet(E,R){for(const N of E){if(N!==true&&!R.has(N.directoryWatcher)){R.add(N.directoryWatcher);addWatchersToSet(N.directoryWatcher.directories.values(),R)}}}const stringToRegexp=E=>{const R=G(E,{globstar:true,extended:true}).source;const N=R.slice(0,R.length-1)+"(?:$|\\/)";return N};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const Ee=new WeakMap;const cachedNormalizeOptions=E=>{const R=Ee.get(E);if(R!==undefined)return R;const N=normalizeOptions(E);Ee.set(E,N);return N};class Watchpack extends q{constructor(E){super();if(!E)E=_e;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=$(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,R,N){let $,q,G,ae;if(!R){({files:$=le,directories:q=le,missing:G=le,startTime:ae}=E)}else{$=E;q=R;G=le;ae=N}this.paused=false;const _e=this.fileWatchers;const Ee=this.directoryWatchers;const we=this.watcherOptions.ignored;const Ie=we?E=>!we.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,[N])}else{$.push(N)}};const Me=new Map;const Te=new Map;const Ne=new Set;if(this.watcherOptions.followSymlinks){const E=new j;for(const R of $){if(Ie(R)){for(const N of E.resolve(R)){if(R===N||Ie(N)){addToMap(Me,N,R)}}}}for(const R of G){if(Ie(R)){for(const N of E.resolve(R)){if(R===N||Ie(N)){Ne.add(R);addToMap(Me,N,R)}}}}for(const R of q){if(Ie(R)){let N=true;for(const $ of E.resolve(R)){if(Ie($)){addToMap(N?Te:Me,$,R)}N=false}}}}else{for(const E of $){if(Ie(E)){addToMap(Me,E,E)}}for(const E of G){if(Ie(E)){Ne.add(E);addToMap(Me,E,E)}}for(const E of q){if(Ie(E)){addToMap(Te,E,E)}}}const Be=new Map;const Le=new Map;const setupFileWatcher=(E,R,N)=>{E.on("initial-missing",(E=>{for(const R of N){if(!Ne.has(R))this._onRemove(R,R,E)}}));E.on("change",((E,R)=>{for(const $ of N){this._onChange($,E,$,R)}}));E.on("remove",(E=>{for(const R of N){this._onRemove(R,R,E)}}));Be.set(R,E)};const setupDirectoryWatcher=(E,R,N)=>{E.on("initial-missing",(E=>{for(const R of N){this._onRemove(R,R,E)}}));E.on("change",((E,R,$)=>{for(const j of N){this._onChange(j,R,E,$)}}));E.on("remove",(E=>{for(const R of N){this._onRemove(R,R,E)}}));Le.set(R,E)};const je=[];const ze=[];for(const[E,R]of _e){if(!Me.has(E)){R.close()}else{je.push(R)}}for(const[E,R]of Ee){if(!Te.has(E)){R.close()}else{ze.push(R)}}ie.batch((()=>{for(const[E,R]of Me){const N=this.watcherManager.watchFile(E,ae);if(N){setupFileWatcher(N,E,R)}}for(const[E,R]of Te){const N=this.watcherManager.watchDirectory(E,ae);if(N){setupDirectoryWatcher(N,E,R)}}}));for(const E of je)E.close();for(const E of ze)E.close();this.fileWatchers=Be;this.directoryWatchers=Le;this.startTime=ae}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const R=Object.create(null);for(const N of E){const E=N.getTimes();for(const N of Object.keys(E))R[N]=E[N]}return R}getTimeInfoEntries(){if(ae===undefined){ae=N(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const R=new Map;for(const N of E){const E=N.getTimeInfoEntries();for(const[N,$]of E){if(R.has(N)){if($===ae)continue;const E=R.get(N);if(E===$)continue;if(E!==ae){R.set(N,Object.assign({},E,$));continue}}R.set(N,$)}}return R}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:R}}_onChange(E,R,N,$){N=N||E;if(!this.paused){this.emit("change",N,R,$);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,R,N){R=R||E;if(!this.paused){this.emit("remove",R,N);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const R=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,R)}}E.exports=Watchpack},70417:(E,R,N)=>{"use strict";const $=N(12112);class CachedSource extends ${constructor(E){super();this._source=E;this._cachedSource=undefined;this._cachedSize=undefined;this._cachedMaps={};if(E.node)this.node=function(E){return this._source.node(E)};if(E.listMap)this.listMap=function(E){return this._source.listMap(E)}}source(){if(typeof this._cachedSource!=="undefined")return this._cachedSource;return this._cachedSource=this._source.source()}size(){if(typeof this._cachedSize!=="undefined")return this._cachedSize;if(typeof this._cachedSource!=="undefined"){if(Buffer.from.length===1)return new Buffer(this._cachedSource).length;return this._cachedSize=Buffer.byteLength(this._cachedSource)}return this._cachedSize=this._source.size()}sourceAndMap(E){const R=JSON.stringify(E);if(typeof this._cachedSource!=="undefined"&&R in this._cachedMaps)return{source:this._cachedSource,map:this._cachedMaps[R]};else if(typeof this._cachedSource!=="undefined"){return{source:this._cachedSource,map:this._cachedMaps[R]=this._source.map(E)}}else if(R in this._cachedMaps){return{source:this._cachedSource=this._source.source(),map:this._cachedMaps[R]}}const N=this._source.sourceAndMap(E);this._cachedSource=N.source;this._cachedMaps[R]=N.map;return{source:this._cachedSource,map:this._cachedMaps[R]}}map(E){if(!E)E={};const R=JSON.stringify(E);if(R in this._cachedMaps)return this._cachedMaps[R];return this._cachedMaps[R]=this._source.map()}updateHash(E){this._source.updateHash(E)}}E.exports=CachedSource},52388:(E,R,N)=>{"use strict";const $=N(99596).SourceNode;const j=N(6900).SourceListMap;const q=N(12112);class ConcatSource extends q{constructor(){super();this.children=[];for(var E=0;E{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(6900).SourceListMap;var G=N(12112);class LineToLineMappedSource extends G{constructor(E,R,N){super();this._value=E;this._name=R;this._originalSource=N}source(){return this._value}node(E){var R=this._value;var N=this._name;var j=R.split("\n");var q=new $(null,null,null,j.map((function(E,R){return new $(R+1,0,N,E+(R!=j.length-1?"\n":""))})));q.setSourceContent(N,this._originalSource);return q}listMap(E){return new q(this._value,this._name,this._originalSource)}updateHash(E){E.update(this._value);E.update(this._originalSource)}}N(93020)(LineToLineMappedSource.prototype);E.exports=LineToLineMappedSource},57579:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(6900).SourceListMap;var G=N(12112);var ie=/(?!$)[^\n\r;{}]*[\n\r;{}]*/g;function _splitCode(E){return E.match(ie)||[]}class OriginalSource extends G{constructor(E,R){super();this._value=E;this._name=R}source(){return this._value}node(E){E=E||{};var R=this._sourceMap;var N=this._value;var j=this._name;var q=N.split("\n");var G=new $(null,null,null,q.map((function(R,N){var G=0;if(E.columns===false){var ie=R+(N!=q.length-1?"\n":"");return new $(N+1,0,j,ie)}return new $(null,null,null,_splitCode(R+(N!=q.length-1?"\n":"")).map((function(E){if(/^\s*$/.test(E)){G+=E.length;return E}var R=new $(N+1,G,j,E);G+=E.length;return R})))})));G.setSourceContent(j,N);return G}listMap(E){return new q(this._value,this._name,this._value)}updateHash(E){E.update(this._value)}}N(93020)(OriginalSource.prototype);E.exports=OriginalSource},69852:(E,R,N)=>{"use strict";var $=N(12112);var j=N(99596).SourceNode;var q=/\n(?=.|\s)/g;function cloneAndPrefix(E,R,N){if(typeof E==="string"){var $=E.replace(q,"\n"+R);if(N.length>0)$=N.pop()+$;if(/\n$/.test(E))N.push(R);return $}else{var G=new j(E.line,E.column,E.source,E.children.map((function(E){return cloneAndPrefix(E,R,N)})),E.name);G.sourceContents=E.sourceContents;return G}}class PrefixSource extends ${constructor(E,R){super();this._source=R;this._prefix=E}source(){var E=typeof this._source==="string"?this._source:this._source.source();var R=this._prefix;return R+E.replace(q,"\n"+R)}node(E){var R=this._source.node(E);var N=this._prefix;var $=[];var q=new j;R.walkSourceContents((function(E,R){q.setSourceContent(E,R)}));var G=true;R.walk((function(E,R){var q=E.split(/(\n)/);for(var ie=0;ie{"use strict";var $=N(12112);var j=N(99596).SourceNode;var q=N(6900).SourceListMap;class RawSource extends ${constructor(E){super();this._value=E}source(){return this._value}map(E){return null}node(E){return new j(null,null,null,this._value)}listMap(E){return new q(this._value)}updateHash(E){E.update(this._value)}}E.exports=RawSource},1324:(E,R,N)=>{"use strict";var $=N(12112);var j=N(99596).SourceNode;class Replacement{constructor(E,R,N,$,j){this.start=E;this.end=R;this.content=N;this.insertIndex=$;this.name=j}}class ReplaceSource extends ${constructor(E,R){super();this._source=E;this._name=R;this.replacements=[]}replace(E,R,N,$){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N);this.replacements.push(new Replacement(E,R,N,this.replacements.length,$))}insert(E,R,N){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R+": "+R);this.replacements.push(new Replacement(E,E-1,R,this.replacements.length,N))}source(E){return this._replaceString(this._source.source())}original(){return this._source}_sortReplacements(){this.replacements.sort((function(E,R){var N=R.end-E.end;if(N!==0)return N;N=R.start-E.start;if(N!==0)return N;return R.insertIndex-E.insertIndex}))}_replaceString(E){if(typeof E!=="string")throw new Error("str must be a string, but is a "+typeof E+": "+E);this._sortReplacements();var R=[E];this.replacements.forEach((function(E){var N=R.pop();var $=this._splitString(N,Math.floor(E.end+1));var j=this._splitString($[0],Math.floor(E.start));R.push($[1],E.content,j[0])}),this);let N="";for(let E=R.length-1;E>=0;--E){N+=R[E]}return N}node(E){var R=this._source.node(E);if(this.replacements.length===0){return R}this._sortReplacements();var N=new ReplacementEnumerator(this.replacements);var $=[];var q=0;var G=Object.create(null);var ie=Object.create(null);var ae=new j;R.walkSourceContents((function(E,R){ae.setSourceContent(E,R);G["$"+E]=R}));var le=this._replaceInStringNode.bind(this,$,N,(function getOriginalSource(E){var R="$"+E.source;var N=ie[R];if(!N){var $=G[R];if(!$)return null;N=$.split("\n").map((function(E){return E+"\n"}));ie[R]=N}if(E.line>N.length)return null;var j=N[E.line-1];return j.substr(E.column)}));R.walk((function(E,R){q=le(E,q,R)}));var _e=N.footer();if(_e){$.push(_e)}ae.add($);return ae}listMap(E){this._sortReplacements();var R=this._source.listMap(E);var N=0;var $=this.replacements;var j=$.length-1;var q=0;R=R.mapGeneratedCode((function(E){var R=N+E.length;if(q>E.length){q-=E.length;E=""}else{if(q>0){E=E.substr(q);N+=q;q=0}var G="";while(j>=0&&$[j].start=0){G+=$[j].content;j--}if(G){R.add(G)}return R}_splitString(E,R){return R<=0?["",E]:[E.substr(0,R),E.substr(R)]}_replaceInStringNode(E,R,N,$,q,G){var ie=undefined;do{var ae=R.position-q;if(ae<0){ae=0}if(ae>=$.length||R.done){if(R.emit){var le=new j(G.line,G.column,G.source,$,G.name);E.push(le)}return q+$.length}var _e=G.column;var Ee;if(ae>0){Ee=$.slice(0,ae);if(ie===undefined){ie=N(G)}if(ie&&ie.length>=ae&&ie.startsWith(Ee)){G.column+=ae;ie=ie.substr(ae)}}var we=R.next();if(!we){if(ae>0){var Ie=new j(G.line,_e,G.source,Ee,G.name);E.push(Ie)}if(R.value){E.push(new j(G.line,G.column,G.source,R.value,G.name||R.name))}}$=$.substr(ae);q+=ae}while(true)}}class ReplacementEnumerator{constructor(E){this.replacements=E||[];this.index=this.replacements.length;this.done=false;this.emit=false;this.next()}next(){if(this.done)return true;if(this.emit){var E=this.replacements[this.index];var R=Math.floor(E.end+1);this.position=R;this.value=E.content;this.name=E.name}else{this.index--;if(this.index<0){this.done=true}else{var N=this.replacements[this.index];var $=Math.floor(N.start);this.position=$}}if(this.position<0)this.position=0;this.emit=!this.emit;return this.emit}footer(){if(!this.done&&!this.emit)this.next();if(this.done){return[]}else{var E="";for(var R=this.index;R>=0;R--){var N=this.replacements[R];E+=N.content}return E}}}N(93020)(ReplaceSource.prototype);E.exports=ReplaceSource},12112:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;class Source{source(){throw new Error("Abstract")}size(){if(Buffer.from.length===1)return new Buffer(this.source()).length;return Buffer.byteLength(this.source())}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map()}}node(){throw new Error("Abstract")}listNode(){throw new Error("Abstract")}updateHash(E){var R=this.source();E.update(R||"")}}E.exports=Source},93020:E=>{"use strict";E.exports=function mixinSourceAndMap(E){E.map=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"}).map}return this.node(E).toStringWithSourceMap({file:"x"}).map.toJSON()};E.sourceAndMap=function(E){E=E||{};if(E.columns===false){return this.listMap(E).toStringWithSourceMap({file:"x"})}var R=this.node(E).toStringWithSourceMap({file:"x"});return{source:R.code,map:R.map.toJSON()}}}},84172:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var q=N(99596).SourceMapGenerator;var G=N(6900).SourceListMap;var ie=N(6900).fromStringWithSourceMap;var ae=N(12112);var le=N(22368);class SourceMapSource extends ae{constructor(E,R,N,$,j,q){super();this._value=E;this._name=R;this._sourceMap=N;this._originalSource=$;this._innerSourceMap=j;this._removeOriginalSource=q}source(){return this._value}node(E){var R=this._sourceMap;var N=$.fromStringWithSourceMap(this._value,new j(R));N.setSourceContent(this._name,this._originalSource);var q=this._innerSourceMap;if(q){N=le(N,new j(q),this._name,this._removeOriginalSource)}return N}listMap(E){E=E||{};if(E.module===false)return new G(this._value,this._name,this._value);return ie(this._value,typeof this._sourceMap==="string"?JSON.parse(this._sourceMap):this._sourceMap)}updateHash(E){E.update(this._value);if(this._originalSource)E.update(this._originalSource)}}N(93020)(SourceMapSource.prototype);E.exports=SourceMapSource},22368:(E,R,N)=>{"use strict";var $=N(99596).SourceNode;var j=N(99596).SourceMapConsumer;var applySourceMap=function(E,R,N,q){var G=new $;var ie=[];var ae={};var le={};var _e={};var Ee={};R.eachMapping((function(E){(le[E.generatedLine]=le[E.generatedLine]||[]).push(E)}),null,j.GENERATED_ORDER);E.walkSourceContents((function(E,R){ae["$"+E]=R}));var we=ae["$"+N];var Ie=we?we.split("\n"):undefined;E.walk((function(E,j){var we;if(j.source===N&&j.line&&le[j.line]){var Me;var Te=le[j.line];for(var Ne=0;Ne0){var He=Le.slice(Me.generatedColumn,j.column);var We=qe.slice(Me.originalColumn,Me.originalColumn+Ge);if(He===We){Me=Object.assign({},Me,{originalColumn:Me.originalColumn+Ge,generatedColumn:j.column})}}if(!Me.name&&j.name){Be=qe.slice(Me.originalColumn,Me.originalColumn+j.name.length)===j.name}}}we=Me.source;ie.push(new $(Me.originalLine,Me.originalColumn,we,E,Be?j.name:Me.name));if(!("$"+we in _e)){_e["$"+we]=true;var Ve=R.sourceContentFor(we,true);if(Ve){G.setSourceContent(we,Ve)}}return}}if(q&&j.source===N||!j.source){ie.push(E);return}we=j.source;ie.push(new $(j.line,j.column,we,E,j.name));if("$"+we in ae){if(!("$"+we in _e)){G.setSourceContent(we,ae["$"+we]);delete ae["$"+we]}}}));G.add(ie);return G};E.exports=applySourceMap},2991:(E,R,N)=>{R.Source=N(12112);R.RawSource=N(57902);R.OriginalSource=N(57579);R.SourceMapSource=N(84172);R.LineToLineMappedSource=N(32631);R.CachedSource=N(70417);R.ConcatSource=N(52388);R.ReplaceSource=N(1324);R.PrefixSource=N(69852)},32323:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{toConstantDependency:ie,evaluateToString:ae}=N(48472);const le=N(64255);const _e=N(75948);const Ee={__webpack_require__:{expr:$.require,req:[$.require],type:"function",assign:false},__webpack_public_path__:{expr:$.publicPath,req:[$.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:$.baseURI,req:[$.baseURI],type:"string",assign:true},__webpack_modules__:{expr:$.moduleFactories,req:[$.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:$.ensureChunk,req:[$.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:$.scriptNonce,req:[$.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${$.getFullHash}()`,req:[$.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:$.chunkName,req:[$.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:$.getChunkScriptFilename,req:[$.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:$.runtimeId,req:[$.runtimeId],assign:false},"require.onError":{expr:$.uncaughtErrorHandler,req:[$.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:$.systemContext,req:[$.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:$.shareScopeMap,req:[$.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:$.initializeSharing,req:[$.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for($.chunkName).tap("APIPlugin",(R=>{E.addRuntimeModule(R,new le(R.name));return true}));E.hooks.runtimeRequirementInTree.for($.getFullHash).tap("APIPlugin",((R,N)=>{E.addRuntimeModule(R,new _e);return true}));const handler=E=>{Object.keys(Ee).forEach((R=>{const N=Ee[R];E.hooks.expression.for(R).tap("APIPlugin",ie(E,N.expr,N.req));if(N.assign===false){E.hooks.assign.for(R).tap("APIPlugin",(E=>{const N=new j(`${R} must not be assigned`);N.loc=E.loc;throw N}))}if(N.type){E.hooks.evaluateTypeof.for(R).tap("APIPlugin",ae(N.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(R=>{const N=new q(JSON.stringify(E.state.module.layer),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(R=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(R.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(R=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(R.range)))};R.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);R.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,R,N)=>{"use strict";const $=N(81627);const j=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match(j);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends ${constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,R,N)=>{"use strict";const $=N(32448);const j=N(56202);class AsyncDependenciesBlock extends ${constructor(E,R,N){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=R;this.request=N;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,R){const{chunkGraph:N}=R;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const $=N.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${$?$.id:""}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.groupOptions);R(this.loc);R(this.request);super.serialize(E)}deserialize(E){const{read:R}=E;this.groupOptions=R();this.loc=R();this.request=R();super.deserialize(E)}}j(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,R,N)=>{"use strict";const $=N(81627);class AsyncDependencyToInitialChunkError extends ${constructor(E,R,N){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=R;this.loc=N}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,R,N)=>{"use strict";const $=N(62355);const j=N(53520);const q=N(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));let R=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{R=[];for(const N of E.modules){if(N instanceof j){R.push({context:N.context,request:N.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((N,j)=>{if(!R)return j();$.forEach(R,((R,$)=>{N.addModuleChain(R.context||E.context,new q(`!!${R.request}`),$)}),(E=>{R=null;j(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(3080);const q=N(70354);const G=N(58159);const ie=N(35817);const ae=ie(N(50879),(()=>N(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const R=E.banner;if(typeof R==="function"){const E=R;this.banner=this.options.raw?E:R=>wrapComment(E(R))}else{const E=this.options.raw?R:wrapComment(R);this.banner=()=>E}}apply(E){const R=this.options;const N=this.banner;const G=q.matchObject.bind(undefined,R);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:j.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const j of E.chunks){if(R.entryOnly&&!j.canBeInitial()){continue}for(const R of j.files){if(!G(R)){continue}const q={chunk:j,filename:R};const ie=E.getPath(N,q);E.updateAsset(R,(E=>new $(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,R,N)=>{"use strict";const{AsyncParallelHook:$,AsyncSeriesBailHook:j,SyncHook:q}=N(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=N(3728);const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=0;return R(N)}};class Cache{constructor(){this.hooks={get:new j(["identifier","etag","gotHandlers"]),store:new $(["identifier","etag","data"]),storeBuildDependencies:new $(["dependencies"]),beginIdle:new q([]),endIdle:new $([]),shutdown:new $([])}}get(E,R,N){const $=[];this.hooks.get.callAsync(E,R,$,((E,R)=>{if(E){N(G(E,"Cache.hooks.get"));return}if(R===null){R=undefined}if($.length>1){const E=needCalls($.length,(()=>N(null,R)));for(const N of $){N(R,E)}}else if($.length===1){$[0](R,(()=>N(null,R)))}else{N(null,R)}}))}store(E,R,N,$){this.hooks.store.callAsync(E,R,N,ie($,"Cache.hooks.store"))}storeBuildDependencies(E,R){this.hooks.storeBuildDependencies.callAsync(E,ie(R,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,R,N)=>{"use strict";const $=N(62355);const j=N(77034);const q=N(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=R=>{this._items[R].get(((N,$)=>{if(N)return E(N);if($!==undefined)return E(null,$);if(++R>=this._items.length)return E();next(R)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((R=>{if(R!==undefined)return R;if(++ER.store(E,N)),R)}storePromise(E){return Promise.all(this._items.map((R=>R.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._etag=N}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,R)=>{this._cache.get(this._name,this._etag,((N,$)=>{if(N){R(N)}else{E($)}}))}))}store(E,R){this._cache.store(this._name,this._etag,E,R)}storePromise(E){return new Promise(((R,N)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){N(E)}else{R()}}))}))}provide(E,R){this.get(((N,$)=>{if(N)return R(N);if($!==undefined)return $;E(((E,N)=>{if(E)return R(E);this.store(N,(E=>{if(E)return R(E);R(null,N)}))}))}))}async providePromise(E){const R=await this.getPromise();if(R!==undefined)return R;const N=await E();await this.storePromise(N);return N}}class CacheFacade{constructor(E,R,N){this._cache=E;this._name=R;this._hashFunction=N}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,R){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,R)}getLazyHashedEtag(E){return j(E,this._hashFunction)}mergeEtags(E,R){return q(E,R)}get(E,R,N){this._cache.get(`${this._name}|${E}`,R,N)}getPromise(E,R){return new Promise(((N,$)=>{this._cache.get(`${this._name}|${E}`,R,((E,R)=>{if(E){$(E)}else{N(R)}}))}))}store(E,R,N,$){this._cache.store(`${this._name}|${E}`,R,N,$)}storePromise(E,R,N){return new Promise((($,j)=>{this._cache.store(`${this._name}|${E}`,R,N,(E=>{if(E){j(E)}else{$()}}))}))}provide(E,R,N,$){this.get(E,R,((j,q)=>{if(j)return $(j);if(q!==undefined)return q;N(((N,j)=>{if(N)return $(N);this.store(E,R,j,(E=>{if(E)return $(E);$(null,j)}))}))}))}async providePromise(E,R,N){const $=await this.getPromise(E,R);if($!==undefined)return $;const j=await N();await this.storePromise(E,R,j);return j}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,R,N)=>{"use strict";const $=N(81627);const sortModules=E=>E.sort(((E,R)=>{const N=E.identifier();const $=R.identifier();if(N<$)return-1;if(N>$)return 1;return 0}));const createModulesListMessage=(E,R)=>E.map((E=>{let N=`* ${E.identifier()}`;const $=Array.from(R.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if($.length>0){N+=`\n Used by ${$.length} module(s), i. e.`;N+=`\n ${$[0].identifier()}`}return N})).join("\n");class CaseSensitiveModulesWarning extends ${constructor(E,R){const N=sortModules(Array.from(E));const $=createModulesListMessage(N,R);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${$}`);this.name="CaseSensitiveModulesWarning";this.module=N[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,R,N)=>{"use strict";const $=N(45137);const j=N(71452);const{intersect:q}=N(26221);const G=N(16102);const ie=N(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:le,compareModulesById:_e}=N(68673);const{createArrayToSetDeprecationSet:Ee}=N(16595);const{mergeRuntime:we}=N(37416);const Ie=Ee("chunk.files");let Me=1e3;class Chunk{constructor(E,R=true){this.id=null;this.ids=null;this.debugId=Me++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,le);this.runtime=undefined;this.files=R?new Ie:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from($.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return $.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const R=$.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(R.isModuleInChunk(E,this))return false;R.connectChunkAndModule(this,E);return true}removeModule(E){$.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return $.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const R=$.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return R.compareChunks(this,E)}containsModule(E){return $.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return $.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=$.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");N.disconnectChunkAndModule(this,E);N.connectChunkAndModule(R,E)}integrate(E){const R=$.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(R.canChunksBeIntegrated(this,E)){R.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const R=$.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return R.canChunksBeIntegrated(this,E)}isEmpty(){const E=$.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=$.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const R=$.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return R.getChunkSize(this,E)}integratedSize(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return N.getIntegratedChunksSize(this,E,R)}getChunkModuleMaps(E){const R=$.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const N=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){let q;for(const G of R.getOrderedChunkModulesIterable($,_e(R))){if(E(G)){if(q===undefined){q=[];N[$.id]=q}const E=R.getModuleId(G);q.push(E);j[E]=R.getRenderedModuleHash(G,undefined)}}}return{id:N,hash:j}}hasModuleInGraph(E,R){const N=$.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return N.hasModuleInGraph(this,E,R)}getChunkMaps(E){const R=Object.create(null);const N=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){R[j.id]=E?j.hash:j.renderedHash;for(const E of Object.keys(j.contentHash)){if(!N[E]){N[E]=Object.create(null)}N[E][j.id]=j.contentHash[E]}if(j.name){$[j.id]=j.name}}return{hash:R,contentHash:N,name:$}}hasRuntime(){for(const E of this._groups){if(E instanceof j&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof j){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const R of this._groups){R.insertChunk(E,this);E.addGroup(R)}for(const R of this.idNameHints){E.idNameHints.add(R)}E.runtime=we(E.runtime,this.runtime)}updateHash(E,R){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const N=new ie;for(const E of R.getChunkModulesIterable(this)){N.add(R.getModuleHash(E,this.runtime))}N.updateHash(E);const $=R.getChunkEntryModulesWithChunkGroupIterable(this);for(const[N,j]of $){E.update(`entry${R.getModuleId(N)}${j.id}`)}}getAllAsyncChunks(){const E=new Set;const R=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const $=new Set(this.groupsIterable);for(const R of $){for(const N of R.childrenIterable){if(N instanceof j){$.add(N)}else{E.add(N)}}}for(const $ of E){for(const E of $.chunks){if(!N.has(E)){R.add(E)}}for(const R of $.childrenIterable){E.add(R)}}return R}getAllInitialChunks(){const E=new Set;const R=new Set(this.groupsIterable);for(const N of R){if(N.isInitial()){for(const R of N.chunks)E.add(R);for(const E of N.childrenIterable)R.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.chunks){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const R=new Set;for(const N of E){for(const E of N.asyncEntrypointsIterable){R.add(E)}for(const R of N.childrenIterable){E.add(R)}}return R}hasAsyncChunks(){const E=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const R of this.groupsIterable){for(const N of R.childrenIterable){E.add(N)}}for(const N of E){for(const E of N.chunks){if(!R.has(E)){return true}}for(const R of N.childrenIterable){E.add(R)}}return false}getChildIdsByOrders(E,R){const N=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const R of E.childrenIterable){for(const E of Object.keys(R.options)){if(E.endsWith("Order")){const $=E.substr(0,E.length-"Order".length);let j=N.get($);if(j===undefined){j=[];N.set($,j)}j.push({order:R.options[E],group:R})}}}}}const $=Object.create(null);for(const[j,q]of N){q.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const N=new Set;for(const $ of q){for(const j of $.group.chunks){if(R&&!R(j,E))continue;N.add(j.id)}}if(N.size>0){$[j]=Array.from(N)}}return $}getChildrenOfTypeInOrder(E,R){const N=[];for(const E of this.groupsIterable){for(const $ of E.childrenIterable){const j=$.options[R];if(j===undefined)continue;N.push({order:j,group:E,childGroup:$})}}if(N.length===0)return undefined;N.sort(((R,N)=>{const $=N.order-R.order;if($!==0)return $;return R.group.compareTo(E,N.group)}));const $=[];let j;for(const{group:E,childGroup:R}of N){if(j&&j.onChunks===E.chunks){for(const E of R.chunks){j.chunks.add(E)}}else{$.push(j={onChunks:E.chunks,chunks:new Set(R.chunks)})}}return $}getChildIdsByOrdersMap(E,R,N){const $=Object.create(null);const addChildIdsByOrdersToMap=R=>{const j=R.getChildIdsByOrders(E,N);for(const E of Object.keys(j)){let N=$[E];if(N===undefined){$[E]=N=Object.create(null)}N[R.id]=j[E]}};if(R){const E=new Set;for(const R of this.groupsIterable){for(const N of R.chunks){E.add(N)}}for(const R of E){addChildIdsByOrdersToMap(R)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return $}}E.exports=Chunk},45137:(E,R,N)=>{"use strict";const $=N(73837);const j=N(71452);const q=N(79900);const{first:G}=N(26221);const ie=N(16102);const{compareModulesById:ae,compareIterables:le,compareModulesByIdentifier:_e,concatComparators:Ee,compareSelect:we,compareIds:Ie}=N(68673);const Me=N(35891);const Te=N(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Be,runtimeToString:Le,mergeRuntime:je,forEachRuntime:ze}=N(37416);const Ue=new Set;const qe=BigInt(0);const Ge=le(_e);class ModuleHashInfo{constructor(E,R){this.hash=E;this.renderedHash=R}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const R=new Be;for(const N of E){R.add(N.runtime)}return R};const modulesBySourceType=E=>{const R=new Map;for(const N of E){for(const E of N.getSourceTypes()){let $=R.get(E);if($===undefined){$=new ie;R.set(E,$)}$.add(N)}}for(const[N,$]of R){if($.size===E.size){R.set(N,E)}}return R};const He=new WeakMap;const createOrderedArrayFunction=E=>{let R=He.get(E);if(R!==undefined)return R;R=R=>{R.sortWith(E);return Array.from(R)};He.set(E,R);return R};const getModulesSize=E=>{let R=0;for(const N of E){for(const E of N.getSourceTypes()){R+=N.size(E)}}return R};const getModulesSizes=E=>{let R=Object.create(null);for(const N of E){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}return R};const isAvailableChunk=(E,R)=>{const N=new Set(R.groupsIterable);for(const R of N){if(E.isInGroup(R))continue;if(R.isInitial())return false;for(const E of R.parentsIterable){N.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,R="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=R;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let R=this._modules.get(E);if(R===undefined){R=new ChunkGraphModule;this._modules.set(E,R)}return R}_getChunkGraphChunk(E){let R=this._chunks.get(E);if(R===undefined){R=new ChunkGraphChunk;this._chunks.set(E,R)}return R}_getGraphRoots(E){const{moduleGraph:R}=this;return Array.from(Te(E,(E=>{const N=new Set;const addDependencies=E=>{for(const $ of R.getOutgoingConnections(E)){if(!$.module)continue;const E=$.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies($.module);continue}N.add($.module)}};addDependencies(E);return N}))).sort(_e)}connectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.chunks.add(E);$.modules.add(R)}disconnectChunkAndModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);$.modules.delete(R);N.chunks.delete(E)}disconnectChunk(E){const R=this._getChunkGraphChunk(E);for(const N of R.modules){const R=this._getChunkGraphModule(N);R.chunks.delete(E)}R.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.modules.add(E)}}attachRuntimeModules(E,R){const N=this._getChunkGraphChunk(E);for(const E of R){N.runtimeModules.add(E)}}attachFullHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;for(const E of R){N.fullHashModules.add(E)}}attachDependentHashModules(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;for(const E of R){N.dependentHashModules.add(E)}}replaceModule(E,R){const N=this._getChunkGraphModule(E);const $=this._getChunkGraphModule(R);for(const j of N.chunks){const N=this._getChunkGraphChunk(j);N.modules.delete(E);N.modules.add(R);$.chunks.add(j)}N.chunks.clear();if(N.entryInChunks!==undefined){if($.entryInChunks===undefined){$.entryInChunks=new Set}for(const j of N.entryInChunks){const N=this._getChunkGraphChunk(j);const q=N.entryModules.get(E);const G=new Map;for(const[$,j]of N.entryModules){if($===E){G.set(R,q)}else{G.set($,j)}}N.entryModules=G;$.entryInChunks.add(j)}N.entryInChunks=undefined}if(N.runtimeInChunks!==undefined){if($.runtimeInChunks===undefined){$.runtimeInChunks=new Set}for(const j of N.runtimeInChunks){const N=this._getChunkGraphChunk(j);N.runtimeModules.delete(E);N.runtimeModules.add(R);$.runtimeInChunks.add(j);if(N.fullHashModules!==undefined&&N.fullHashModules.has(E)){N.fullHashModules.delete(E);N.fullHashModules.add(R)}if(N.dependentHashModules!==undefined&&N.dependentHashModules.has(E)){N.dependentHashModules.delete(E);N.dependentHashModules.add(R)}}N.runtimeInChunks=undefined}}isModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.modules.has(E)}isModuleInChunkGroup(E,R){for(const N of R.chunks){if(this.isModuleInChunk(E,N))return true}return false}isEntryModule(E){const R=this._getChunkGraphModule(E);return R.entryInChunks!==undefined}getModuleChunksIterable(E){const R=this._getChunkGraphModule(E);return R.chunks}getOrderedModuleChunksIterable(E,R){const N=this._getChunkGraphModule(E);N.chunks.sortWith(R);return N.chunks}getModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const R=this._getChunkGraphModule(E);return R.chunks.size}getModuleRuntimes(E){const R=this._getChunkGraphModule(E);return R.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.size}getNumberOfChunkFullHashModules(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules===undefined?0:R.fullHashModules.size}getChunkModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.modules}getChunkModulesIterableBySourceType(E,R){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(modulesBySourceType).get(R);return $}getOrderedChunkModulesIterable(E,R){const N=this._getChunkGraphChunk(E);N.modules.sortWith(R);return N.modules}getOrderedChunkModulesIterableBySourceType(E,R,N){const $=this._getChunkGraphChunk(E);const j=$.modules.getFromUnorderedCache(modulesBySourceType).get(R);if(j===undefined)return undefined;j.sortWith(N);return j}getChunkModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,R){const N=this._getChunkGraphChunk(E);const $=createOrderedArrayFunction(R);return N.modules.getFromUnorderedCache($)}getChunkModuleIdMap(E,R,N=false){const $=Object.create(null);for(const j of N?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const N of this.getOrderedChunkModulesIterable(j,ae(this))){if(R(N)){if(E===undefined){E=[];$[j.id]=E}const R=this.getModuleId(N);E.push(R)}}}return $}getChunkModuleRenderedHashMap(E,R,N=0,$=false){const j=Object.create(null);for(const q of $?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const $ of this.getOrderedChunkModulesIterable(q,ae(this))){if(R($)){if(E===undefined){E=Object.create(null);j[q.id]=E}const R=this.getModuleId($);const G=this.getRenderedModuleHash($,q.runtime);E[R]=N?G.slice(0,N):G}}}return j}getChunkConditionMap(E,R){const N=Object.create(null);for(const $ of E.getAllReferencedChunks()){N[$.id]=R($,this)}return N}hasModuleInGraph(E,R,N){const $=new Set(E.groupsIterable);const j=new Set;for(const E of $){for(const $ of E.chunks){if(!j.has($)){j.add($);if(!N||N($,this)){for(const E of this.getChunkModulesIterable($)){if(R(E)){return true}}}}}for(const R of E.childrenIterable){$.add(R)}}return false}compareChunks(E,R){const N=this._getChunkGraphChunk(E);const $=this._getChunkGraphChunk(R);if(N.modules.size>$.modules.size)return-1;if(N.modules.size<$.modules.size)return 1;N.modules.sortWith(_e);$.modules.sortWith(_e);return Ge(N.modules,$.modules)}getChunkModulesSize(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSize)}getChunkModulesSizes(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(getModulesSizes)}getChunkRootModules(E){const R=this._getChunkGraphChunk(E);return R.modules.getFromUnorderedCache(this._getGraphRoots)}getChunkSize(E,R={}){const N=this._getChunkGraphChunk(E);const $=N.modules.getFromUnorderedCache(getModulesSize);const j=typeof R.chunkOverhead==="number"?R.chunkOverhead:1e4;const q=typeof R.entryChunkMultiplicator==="number"?R.entryChunkMultiplicator:10;return j+$*(E.canBeInitial()?q:1)}getIntegratedChunksSize(E,R,N={}){const $=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(R);const q=new Set($.modules);for(const E of j.modules)q.add(E);let G=getModulesSize(q);const ie=typeof N.chunkOverhead==="number"?N.chunkOverhead:1e4;const ae=typeof N.entryChunkMultiplicator==="number"?N.entryChunkMultiplicator:10;return ie+G*(E.canBeInitial()||R.canBeInitial()?ae:1)}canChunksBeIntegrated(E,R){if(E.preventIntegration||R.preventIntegration){return false}const N=E.hasRuntime();const $=R.hasRuntime();if(N!==$){if(N){return isAvailableChunk(E,R)}else if($){return isAvailableChunk(R,E)}else{return false}}if(this.getNumberOfEntryModules(E)>0||this.getNumberOfEntryModules(R)>0){return false}return true}integrateChunks(E,R){if(E.name&&R.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(R)>0){if(E.name.length!==R.name.length){E.name=E.name.length0){E.name=R.name}}else if(R.name){E.name=R.name}for(const N of R.idNameHints){E.idNameHints.add(N)}E.runtime=je(E.runtime,R.runtime);for(const N of this.getChunkModules(R)){this.disconnectChunkAndModule(R,N);this.connectChunkAndModule(E,N)}for(const[N,$]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(R))){this.disconnectChunkAndEntryModule(R,N);this.connectChunkAndEntryModule(E,N,$)}for(const N of R.groupsIterable){N.replaceChunk(R,E);E.addGroup(N);R.removeGroup(N)}ChunkGraph.clearChunkGraphForChunk(R)}upgradeDependentToFullHashModules(E){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)return;if(R.fullHashModules===undefined){R.fullHashModules=R.dependentHashModules}else{for(const E of R.dependentHashModules){R.fullHashModules.add(E)}R.dependentHashModules=undefined}}isEntryModuleInChunk(E,R){const N=this._getChunkGraphChunk(R);return N.entryModules.has(E)}connectChunkAndEntryModule(E,R,N){const $=this._getChunkGraphModule(R);const j=this._getChunkGraphChunk(E);if($.entryInChunks===undefined){$.entryInChunks=new Set}$.entryInChunks.add(E);j.entryModules.set(R,N)}connectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);if(N.runtimeInChunks===undefined){N.runtimeInChunks=new Set}N.runtimeInChunks.add(E);$.runtimeModules.add(R)}addFullHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.fullHashModules===undefined)N.fullHashModules=new Set;N.fullHashModules.add(R)}addDependentHashModuleToChunk(E,R){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)N.dependentHashModules=new Set;N.dependentHashModules.add(R)}disconnectChunkAndEntryModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}$.entryModules.delete(R)}disconnectChunkAndRuntimeModule(E,R){const N=this._getChunkGraphModule(R);const $=this._getChunkGraphChunk(E);N.runtimeInChunks.delete(E);if(N.runtimeInChunks.size===0){N.runtimeInChunks=undefined}$.runtimeModules.delete(R)}disconnectEntryModule(E){const R=this._getChunkGraphModule(E);for(const N of R.entryInChunks){const R=this._getChunkGraphChunk(N);R.entryModules.delete(E)}R.entryInChunks=undefined}disconnectEntries(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.keys()){const R=this._getChunkGraphModule(N);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}}R.entryModules.clear()}getNumberOfEntryModules(E){const R=this._getChunkGraphChunk(E);return R.entryModules.size}getNumberOfRuntimeModules(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules.size}getChunkEntryModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const R=new Set;for(const N of E.groupsIterable){if(N instanceof j){const $=N.getEntrypointChunk();const j=this._getChunkGraphChunk($);for(const N of j.entryModules.values()){for(const j of N.chunks){if(j!==E&&j!==$&&!j.hasRuntime()){R.add(j)}}}}}return R}hasChunkEntryDependentChunks(E){const R=this._getChunkGraphChunk(E);for(const N of R.entryModules.values()){for(const R of N.chunks){if(R!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.runtimeModules}getChunkRuntimeModulesInOrder(E){const R=this._getChunkGraphChunk(E);const N=Array.from(R.runtimeModules);N.sort(Ee(we((E=>E.stage),Ie),_e));return N}getChunkFullHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkFullHashModulesSet(E){const R=this._getChunkGraphChunk(E);return R.fullHashModules}getChunkDependentHashModulesIterable(E){const R=this._getChunkGraphChunk(E);return R.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const R=this._getChunkGraphChunk(E);return R.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,R){this._blockChunkGroups.set(E,R);R.addBlock(E)}disconnectChunkGroup(E){for(const R of E.blocksIterable){this._blockChunkGroups.delete(R)}E._blocks.clear()}getModuleId(E){const R=this._getChunkGraphModule(E);return R.id}setModuleId(E,R){const N=this._getChunkGraphModule(E);N.id=R}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,R){this._runtimeIds.set(E,R)}_getModuleHashInfo(E,R,N){if(!R){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (hashes not set at all)`)}else if(N===undefined){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(N)}else{const $=R.get(N);if(!$){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(N)} (available runtimes ${Array.from(R.keys(),Le).join(", ")})`)}return $}}hasModuleHashes(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return $&&$.has(R)}getModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).hash}getRenderedModuleHash(E,R){const N=this._getChunkGraphModule(E);const $=N.hashes;return this._getModuleHashInfo(E,$,R).renderedHash}setModuleHashes(E,R,N,$){const j=this._getChunkGraphModule(E);if(j.hashes===undefined){j.hashes=new Ne}j.hashes.set(R,new ModuleHashInfo(N,$))}addModuleRuntimeRequirements(E,R,N,$=true){const j=this._getChunkGraphModule(E);const q=j.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(R,$?N:new Set(N));j.runtimeRequirements=E;return}q.update(R,(E=>{if(E===undefined){return $?N:new Set(N)}else if(!$||E.size>=N.size){for(const R of N)E.add(R);return E}else{for(const R of E)N.add(R);return N}}))}addChunkRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirements;if($===undefined){N.runtimeRequirements=R}else if($.size>=R.size){for(const E of R)$.add(E)}else{for(const E of $)R.add(E);N.runtimeRequirements=R}}addTreeRuntimeRequirements(E,R){const N=this._getChunkGraphChunk(E);const $=N.runtimeRequirementsInTree;for(const E of R)$.add(E)}getModuleRuntimeRequirements(E,R){const N=this._getChunkGraphModule(E);const $=N.runtimeRequirements&&N.runtimeRequirements.get(R);return $===undefined?Ue:$}getChunkRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);const N=R.runtimeRequirements;return N===undefined?Ue:N}getModuleGraphHash(E,R,N=true){const $=this._getChunkGraphModule(E);return N?this._getModuleGraphHashWithConnections($,E,R):this._getModuleGraphHashBigInt($,E,R).toString(16)}getModuleGraphHashBigInt(E,R,N=true){const $=this._getChunkGraphModule(E);return N?BigInt(`0x${this._getModuleGraphHashWithConnections($,E,R)}`):this._getModuleGraphHashBigInt($,E,R)}_getModuleGraphHashBigInt(E,R,N){if(E.graphHashes===undefined){E.graphHashes=new Ne}const $=E.graphHashes.provide(N,(()=>{const $=Me(this._hashFunction);$.update(`${E.id}${this.moduleGraph.isAsync(R)}`);this.moduleGraph.getExportsInfo(R).updateHash($,N);return BigInt(`0x${$.digest("hex")}`)}));return $}_getModuleGraphHashWithConnections(E,R,N){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const $=R.buildMeta&&R.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(N,(()=>{const j=this._getModuleGraphHashBigInt(E,R,N).toString(16);const q=this.moduleGraph.getOutgoingConnections(R);const ie=new Set;const ae=new Map;const processConnection=(E,R)=>{const N=E.module;R+=N.getExportsType(this.moduleGraph,$);if(R==="Tnamespace")ie.add(N);else{const E=ae.get(R);if(E===undefined){ae.set(R,N)}else if(E instanceof Set){E.add(N)}else if(E!==N){ae.set(R,new Set([E,N]))}}};if(N===undefined||typeof N==="string"){for(const E of q){const R=E.getActiveState(N);if(R===false)continue;processConnection(E,R===true?"T":"O")}}else{for(const E of q){const R=new Set;let $="";ze(N,(N=>{const j=E.getActiveState(N);R.add(j);$+=activeStateToString(j)+N}),true);if(R.size===1){const E=G(R);if(E===false)continue;$=activeStateToString(E)}processConnection(E,$)}}if(ie.size===0&&ae.size===0)return j;const le=ae.size>1?Array.from(ae).sort((([E],[R])=>E{_e.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,N).toString(16))};const addModulesToHash=E=>{let R=qe;for(const $ of E){R=R^this._getModuleGraphHashBigInt(this._getChunkGraphModule($),$,N)}_e.update(R.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,R]of le){_e.update(E);if(R instanceof Set){addModulesToHash(R)}else{addModuleToHash(R)}}_e.update(j);return _e.digest("hex")}))}getTreeRuntimeRequirements(E){const R=this._getChunkGraphChunk(E);return R.runtimeRequirementsInTree}static getChunkGraphForModule(E,R,N){const j=Ke.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=We.get(E);if(!N)throw new Error(R+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Ke.set(R,q);return q(E)}static setChunkGraphForModule(E,R){We.set(E,R)}static clearChunkGraphForModule(E){We.delete(E)}static getChunkGraphForChunk(E,R,N){const j=Qe.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=Ve.get(E);if(!N)throw new Error(R+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return N}),R+": Use new ChunkGraph API",N);Qe.set(R,q);return q(E)}static setChunkGraphForChunk(E,R){Ve.set(E,R)}static clearChunkGraphForChunk(E){Ve.delete(E)}}const We=new WeakMap;const Ve=new WeakMap;const Ke=new Map;const Qe=new Map;E.exports=ChunkGraph},84558:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=N(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,R)=>{if(E.id{const N=E.module?E.module.identifier():"";const $=R.module?R.module.identifier():"";if(N<$)return-1;if(N>$)return 1;return q(E.loc,R.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new j(undefined,sortById);this._parents=new j(undefined,sortById);this._asyncEntrypoints=new j(undefined,sortById);this._blocks=new j;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const R of Object.keys(E)){if(this.options[R]===undefined){this.options[R]=E[R]}else if(this.options[R]!==E[R]){if(R.endsWith("Order")){this.options[R]=Math.max(this.options[R],E[R])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${R}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const R=this.chunks.indexOf(E);if(R>0){this.chunks.splice(R,1);this.chunks.unshift(E)}else if(R<0){this.chunks.unshift(E);return true}return false}insertChunk(E,R){const N=this.chunks.indexOf(E);const $=this.chunks.indexOf(R);if($<0){throw new Error("before chunk not found")}if(N>=0&&N>$){this.chunks.splice(N,1);this.chunks.splice($,0,E)}else if(N<0){this.chunks.splice($,0,E);return true}return false}pushChunk(E){const R=this.chunks.indexOf(E);if(R>=0){return false}this.chunks.push(E);return true}replaceChunk(E,R){const N=this.chunks.indexOf(E);if(N<0)return false;const $=this.chunks.indexOf(R);if($<0){this.chunks[N]=R;return true}if($=0){this.chunks.splice(R,1);return true}return false}isInitial(){return false}addChild(E){const R=this._children.size;this._children.add(E);return R!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const R=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return R!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,R,N){this.origins.push({module:E,loc:R,request:N})}getFiles(){const E=new Set;for(const R of this.chunks){for(const N of R.files){E.add(N)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const R of this._children){R.addParent(E);E.addChild(R)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,R){if(this.chunks.length>R.chunks.length)return-1;if(this.chunks.length{const $=N.order-E.order;if($!==0)return $;return E.group.compareTo(R,N.group)}));$[E]=j.map((E=>E.group))}return $}setModulePreOrderIndex(E,R){this._modulePreOrderIndices.set(E,R)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,R){this._modulePostOrderIndices.set(E,R)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const R of E._children){if(!R._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${R.debugId}`)}}for(const R of E._parents){if(!R._children.has(E)){throw new Error(`checkConstraints: parent missing child ${R.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=$.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=$.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,R,N)=>{"use strict";const $=N(81627);class ChunkRenderError extends ${constructor(E,R,N){super();this.name="ChunkRenderError";this.error=N;this.message=N.message;this.details=N.stack;this.file=R;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ChunkTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(R.chunk.hasRuntime())return E;return N(E,R)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderChunk.tap(E,((E,$)=>N(E,R.moduleTemplates.javascript,$)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).render.tap(E,((E,R)=>{if(R.chunkGraph.getNumberOfEntryModules(R.chunk)===0||R.chunk.hasRuntime()){return E}return N(E,R.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).chunkHash.tap(E,((E,R,$)=>{if(E.hasRuntime())return;N(R,E,$)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,R,N)=>{"use strict";const $=N(62355);const{SyncBailHook:j}=N(92960);const q=N(3080);const G=N(35817);const{join:ie}=N(95396);const ae=N(2117);const le=G(undefined,(()=>{const{definitions:E}=N(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,R,N,j)=>{const q=new Set;for(const E of N){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;$.forEachLimit(q,10,(($,j)=>{E.readdir(ie(E,R,$),((E,R)=>{if(E){if(E.code==="ENOENT")return j();if(E.code==="ENOTDIR"){G.add($);return j()}return j(E)}for(const E of R){const R=E;const j=$?`${$}/${R}`:R;if(!q.has(j)&&!N.has(j)){G.add(j)}}j()}))}),(E=>{if(E)return j(E);j(null,G)}))};const getDiffToOldAssets=(E,R)=>{const N=new Set;for(const $ of R){if(!E.has($))N.add($)}return N};const applyDiff=(E,R,N,$,j,q,G)=>{const log=E=>{if(N){$.info(E)}else{$.log(E)}};const le=Array.from(j,(E=>({type:"check",filename:E,parent:undefined})));ae(le,10,(({type:j,filename:G,parent:ae},le,_e)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return _e()}return _e(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)le(ae.job)};const Ee=ie(E,R,G);switch(j){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(_e)}E.stat(Ee,((R,N)=>{if(R)return handleError(R);if(!N.isDirectory()){le({type:"unlink",filename:G,parent:ae});return _e()}E.readdir(Ee,((E,R)=>{if(E)return handleError(E);const N={type:"rmdir",filename:G,parent:ae};if(R.length===0){le(N)}else{const E={remaining:R.length,job:N};for(const N of R){const R=N;if(R.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}le({type:"check",filename:`${G}/${R}`,parent:E})}}return _e()}))}));break;case"rmdir":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.rmdir){$.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(_e)}E.rmdir(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break;case"unlink":log(`${G} will be removed`);if(N){handleParent();return process.nextTick(_e)}if(!E.unlink){$.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(_e)}E.unlink(Ee,(E=>{if(E)return handleError(E);handleParent();_e()}));break}}),G)};const _e=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=_e.get(E);if(R===undefined){R={keep:new j(["ignore"])};_e.set(E,R)}return R}constructor(E={}){le(E);this.options={dry:false,...E}}apply(E){const{dry:R,keep:N}=this.options;const $=typeof N==="function"?N:typeof N==="string"?E=>E.startsWith(N):typeof N==="object"&&N.test?E=>N.test(E):()=>false;let j;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((N,q)=>{const G=CleanPlugin.getCompilationHooks(N);const ie=N.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const le=new Set;for(const E of Object.keys(N.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let R;let N=E.replace(/\\/g,"/");do{R=N;N=R.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(N!==R);if(R.startsWith("../"))continue;le.add(R)}const _e=N.getPath(E.outputPath,{});const isKept=E=>{const R=G.keep.call(E);if(R!==undefined)return R;return $(E)};const diffCallback=(E,N)=>{if(E){j=undefined;return q(E)}applyDiff(ae,_e,R,ie,N,isKept,(E=>{if(E){j=undefined}else{j=le}q(E)}))};if(j){diffCallback(null,getDiffToOldAssets(le,j))}else{getDiffToFs(ae,_e,le,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,R,N)=>{"use strict";const $=N(81627);class CodeGenerationError extends ${constructor(E,R){super();this.name="CodeGenerationError";this.error=R;this.message=R.message;this.details=R.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,R,N)=>{"use strict";const{provide:$}=N(67585);const{first:j}=N(26221);const q=N(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=N(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,R){const N=this.map.get(E);if(N===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(R===undefined){if(N.size>1){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return j(R)}return N.values().next().value}const $=N.get(R);if($===undefined){throw new Error(`No code generation entry for runtime ${G(R)} for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>G(E))).join(", ")})`)}return $}has(E,R){const N=this.map.get(E);if(N===undefined){return false}if(R!==undefined){return N.has(R)}else if(N.size>1){const E=new Set(N.values());return E.size===1}else{return N.size===1}}getSource(E,R,N){return this.get(E,R).sources.get(N)}getRuntimeRequirements(E,R){return this.get(E,R).runtimeRequirements}getData(E,R,N){const $=this.get(E,R).data;return $===undefined?undefined:$.get(N)}getHash(E,R){const N=this.get(E,R);if(N.hash!==undefined)return N.hash;const $=q(this._hashFunction);for(const[E,R]of N.sources){$.update(E);R.updateHash($)}if(N.runtimeRequirements){for(const E of N.runtimeRequirements)$.update(E)}return N.hash=$.digest("hex")}add(E,R,N){const j=$(this.map,E,(()=>new ie));j.set(R,N)}}E.exports=CodeGenerationResults},47207:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CommentCompilationWarning extends ${constructor(E,R){super(E);this.name="CommentCompilationWarning";this.loc=R}}j(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,R,N)=>{"use strict";const $=N(66298);const j=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,R)=>{if(R.browserify!==undefined&&!R.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(R=>{if(R.arguments.length!==2)return;const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;if(N.asBool()!==true)return;const j=new $("require",R.callee.range);j.loc=R.loc;if(E.state.current.dependencies.length>0){const R=E.state.current.dependencies[E.state.current.dependencies.length-1];if(R.critical&&R.options&&R.options.request==="."&&R.userRequest==="."&&R.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency(j);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(R=>{if(R.type==="FunctionDeclaration"&&R.id&&R.id.name==="__webpack_require__"){const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.id.name,j,{name:N,declaration:{updated:false,loc:R.id.loc,range:R.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(R=>{const N=`__nested_webpack_require_${R.range[0]}__`;E.tagVariable(R.name,j,{name:N,declaration:{updated:false,loc:R.loc,range:R.range}});return true}));E.hooks.expression.for(j).tap("CompatibilityPlugin",(R=>{const{name:N,declaration:j}=E.currentTagData;if(!j.updated){const R=new $(N,j.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);j.updated=true}const q=new $(N,R.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((R,N)=>{if(N.length===0)return;const j=N[0];if(j.type==="Line"&&j.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const R=new $("//",0);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}}))};R.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);R.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,R,N)=>{"use strict";const $=N(62355);const{HookMap:j,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:le,AsyncParallelHook:_e}=N(92960);const Ee=N(73837);const{CachedSource:we}=N(48135);const{MultiItemCache:Ie}=N(6503);const Me=N(62433);const Te=N(45137);const Ne=N(84558);const Be=N(44445);const Le=N(13454);const je=N(93010);const ze=N(53840);const Ue=N(28706);const qe=N(46828);const Ge=N(71452);const He=N(50717);const We=N(22996);const{connectChunkGroupAndChunk:Ve,connectChunkGroupParentAndChild:Ke}=N(4642);const{makeWebpackError:Qe,tryRunOrWebpackError:Je}=N(3728);const Xe=N(73694);const Ye=N(53453);const Ze=N(82811);const et=N(23280);const tt=N(75412);const nt=N(54032);const rt=N(99869);const st=N(2210);const it=N(31467);const ot=N(68661);const lt=N(76150);const ct=N(37130);const ut=N(10140);const pt=N(81627);const dt=N(25457);const ft=N(44547);const{Logger:ht,LogType:mt}=N(78539);const gt=N(87279);const yt=N(30533);const{equals:vt}=N(73910);const bt=N(9738);const _t=N(83379);const{provide:xt}=N(67585);const kt=N(4396);const{cachedCleverMerge:Et}=N(90149);const{compareLocations:wt,concatComparators:St,compareSelect:At,compareIds:Ct,compareStringsNumeric:Dt,compareModulesByIdentifier:It}=N(68673);const Mt=N(35891);const{arrayToSetDeprecation:Pt,soonFrozenObjectDeprecation:Tt,createFakeHook:Ot}=N(16595);const Rt=N(2117);const{getRuntimeKey:Ft}=N(37416);const{isSourceEqual:Nt}=N(13559);const Bt=Object.freeze({});const Lt="esm";const $t=Ee.deprecate((E=>N(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new pt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const jt=At((E=>E.id),Ct);const zt=St(At((E=>E.name),Ct),At((E=>E.fullHash),Ct));const Ut=At((E=>`${E.message}`),Dt);const qt=At((E=>E.module&&E.module.identifier()||""),Dt);const Gt=At((E=>E.loc),wt);const Ht=St(qt,Gt,Ut);const Wt=new WeakMap;const Vt=new WeakMap;class Compilation{constructor(E,R){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>$t(this);const N=new ae(["assets"]);let $=new Set;const popNewAssets=E=>{let R=undefined;for(const N of Object.keys(E)){if($.has(N))continue;if(R===undefined){R=Object.create(null)}R[N]=E[N];$.add(N)}return R};N.intercept({name:"Compilation",call:()=>{$=new Set(Object.keys(this.assets))},register:E=>{const{type:R,name:N}=E;const{fn:$,additionalAssets:j,...q}=E;const G=j===true?$:j;const ie=G?new WeakSet:undefined;switch(R){case"sync":if(G){this.hooks.processAdditionalAssets.tap(N,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,R)=>{try{$(E)}catch(E){return R(E)}if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){this.hooks.processAdditionalAssets.callAsync(N,R);return}R()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(N,((E,R)=>{if(ie.has(this.assets))return G(E,R);R()}))}return{...q,fn:(E,R)=>{$(E,(N=>{if(N)return R(N);if(ie!==undefined)ie.add(this.assets);const $=popNewAssets(E);if($!==undefined){this.hooks.processAdditionalAssets.callAsync($,R);return}R()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(N,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const R=$(E);if(!R||!R.then)return R;return R.then((()=>{if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){return this.hooks.processAdditionalAssets.promise(R)}}))}}}}});const we=new q(["assets"]);const createProcessAssetsHook=(E,R,$,j)=>{if(!this._backCompat&&j)return undefined;const errorMessage=R=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${R}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:R}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,R)=>{N.tap(getOptions(E),(()=>R(...$())))},tapAsync:(E,R)=>{N.tapAsync(getOptions(E),((E,N)=>R(...$(),N)))},tapPromise:(E,R)=>{N.tapPromise(getOptions(E),(()=>R(...$())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,j)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new _e(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new le(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new j((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new j((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new j((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:N,afterOptimizeAssets:we,processAssets:N,afterProcessAssets:we,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new j((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new We(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Ie=E.options;this.options=Ie;this.outputOptions=Ie&&Ie.output;this.bail=Ie&&Ie.bail||false;this.profile=Ie&&Ie.profile||false;this.params=R;this.mainTemplate=new Xe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new tt;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Ie.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Ie.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){Pt(this.chunks,"Compilation.chunks");Pt(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new qe;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new _t;this.contextDependencies=new _t;this.missingDependencies=new _t;this.buildDependencies=new _t;this.compilationDependencies={add:Ee.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const Me=Ie.module.unsafeCache;this._unsafeCache=!!Me;this._unsafeCachePredicate=typeof Me==="function"?Me:()=>true}getStats(){return new ut(this)}createStatsOptions(E,R={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const N={};for(const R in E){N[R]=E[R]}if(N.preset!==undefined){this.hooks.statsPreset.for(N.preset).call(N,R)}this.hooks.statsNormalize.call(N,R);return N}else{const E={};this.hooks.statsNormalize.call(E,R);return E}}createStatsFactory(E){const R=new gt;this.hooks.statsFactory.call(R,E);return R}createStatsPrinter(E){const R=new yt;this.hooks.statsPrinter.call(R,E);return R}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let R;return new ht(((N,$)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let j;switch(N){case mt.warn:case mt.error:case mt.trace:j=He.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:N,args:$,trace:j};if(this.hooks.log.call(E,q)===undefined){if(q.type===mt.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(R===undefined){R=this.logging.get(E);if(R===undefined){R=[];this.logging.set(E,R)}}R.push(q);if(q.type===mt.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getLogger(`${E}/${R}`)}}}))}addModule(E,R){this.addModuleQueue.add(E,R)}_addModule(E,R){const N=E.identifier();const $=this._modules.get(N);if($){return R(null,$)}const j=this.profile?this.moduleGraph.getProfile(E):undefined;if(j!==undefined){j.markRestoringStart()}this._modulesCache.get(N,null,(($,q)=>{if($)return R(new st(E,$));if(j!==undefined){j.markRestoringEnd();j.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(N,E);this.modules.add(E);if(this._backCompat)tt.setModuleGraphForModule(E,this.moduleGraph);if(j!==undefined){j.markIntegrationEnd()}R(null,E)}))}getModule(E){const R=E.identifier();return this._modules.get(R)}findModule(E){return this._modules.get(E)}buildModule(E,R){this.buildQueue.add(E,R)}_buildModule(E,R){const N=this.profile?this.moduleGraph.getProfile(E):undefined;if(N!==undefined){N.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},(($,j)=>{if($)return R($);if(!j){if(N!==undefined){N.markBuildingEnd()}this.hooks.stillValidModule.call(E);return R()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,($=>{if(N!==undefined){N.markBuildingEnd()}if($){this.hooks.failedModule.call(E,$);return R($)}if(N!==undefined){N.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,($=>{if(N!==undefined){N.markStoringEnd()}if($){this.hooks.failedModule.call(E,$);return R(new it(E,$))}this.hooks.succeedModule.call(E);return R()}))}))}))}processModuleDependencies(E,R){this.processDependenciesQueue.add(E,R)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=R=>{if(R.dependencies){let N=0;for(const $ of R.dependencies){this.moduleGraph.setParents($,R,E,N++)}}if(R.blocks){for(const E of R.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,R){const N=[];let $;let j;let q;let G;let ie;let ae;let le;let _e;let Ee=1;let we=1;const onDependenciesSorted=E=>{if(E)return R(E);if(N.length===0&&we===1){return R()}this.processDependenciesQueue.increaseParallelism();for(const E of N){we++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(we<=0)return;we=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--we===0)onTransitiveTasksFinished()}))}if(--we===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return R(E);this.processDependenciesQueue.decreaseParallelism();return R()};const processDependency=(R,N)=>{this.moduleGraph.setParents(R,$,E,N);if(this._unsafeCache){try{const N=Wt.get(R);if(N===null)return;if(N!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(N)){this._handleExistingModuleFromUnsafeCache(E,R,N);return}const $=N.identifier();const j=this._restoredUnsafeCacheEntries.get($);if(j!==undefined){Wt.set(R,j);this._handleExistingModuleFromUnsafeCache(E,R,j);return}Ee++;this._modulesCache.get($,null,((j,q)=>{if(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}try{if(!this._restoredUnsafeCacheEntries.has($)){const j=Vt.get(q);if(j===undefined){processDependencyForResolving(R);if(--Ee===0)onDependenciesSorted();return}if(q!==N){Wt.set(R,q)}q.restoreFromUnsafeCache(j,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set($,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){we++;this._handleNewModuleFromUnsafeCache(E,R,q,(E=>{if(E){if(we<=0)return;we=-1;onTransitiveTasksFinished(E)}if(--we===0)return onTransitiveTasksFinished()}));if(--Ee===0)onDependenciesSorted();return}}if(N!==q){Wt.set(R,q)}this._handleExistingModuleFromUnsafeCache(E,R,q)}catch(j){if(Ee<=0)return;Ee=-1;onDependenciesSorted(j);return}if(--Ee===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(R)};const processDependencyForResolving=R=>{const $=R.getResourceIdentifier();if($!==undefined&&$!==null){const Ee=R.category;const we=R.constructor;if(q===we){if(ae===Ee&&le===$){_e.push(R);return}}else{const E=this.dependencyFactories.get(we);if(E===undefined){throw new Error(`No module factory available for dependency type: ${we.name}`)}if(G===E){q=we;if(ae===Ee&&le===$){_e.push(R);return}}else{if(G!==undefined){if(j===undefined)j=new Map;j.set(G,ie);ie=j.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=we;G=E}}const Ie=Ee===Lt?$:`${Ee}${$}`;let Me=ie.get(Ie);if(Me===undefined){ie.set(Ie,Me=[]);N.push({factory:G,dependencies:Me,originModule:E})}Me.push(R);ae=Ee;le=$;_e=Me}};try{const R=[E];do{const E=R.pop();if(E.dependencies){$=E;let R=0;for(const N of E.dependencies)processDependency(N,R++)}if(E.blocks){for(const N of E.blocks)R.push(N)}}while(R.length!==0)}catch(E){return R(E)}if(--Ee===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,R,N,$){const j=this.moduleGraph;j.setResolvedModule(E,R,N);j.setIssuerIfUnset(N,E!==undefined?E:null);this._modules.set(N.identifier(),N);this.modules.add(N);if(this._backCompat)tt.setModuleGraphForModule(N,this.moduleGraph);this._handleModuleBuildAndDependencies(E,N,true,$)}_handleExistingModuleFromUnsafeCache(E,R,N){const $=this.moduleGraph;$.setResolvedModule(E,R,N)}handleModuleCreation({factory:E,dependencies:R,originModule:N,contextInfo:$,context:j,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const le=this.profile?new rt:undefined;this.factorizeModule({currentProfile:le,factory:E,dependencies:R,factoryResult:true,originModule:N,contextInfo:$,context:j},((E,$)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=$;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}};if(E){if($)applyFactoryResultDependencies();if(R.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const j=$.module;if(!j){applyFactoryResultDependencies();return ie()}if(le!==undefined){ae.setProfile(j,le)}this.addModule(j,((E,_e)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=_e}this.errors.push(E);return ie(E)}if(this._unsafeCache&&$.cacheable!==false&&_e.restoreFromUnsafeCache&&this._unsafeCachePredicate(_e)){const E=_e;for(let $=0;${if(j!==undefined){j.delete(R)}if(E){if(!E.module){E.module=R}this.errors.push(E);return $(E)}if(!N){this.processModuleDependenciesNonRecursive(R);$(null,R);return}if(this.processDependenciesQueue.isProcessing(R)){return $()}this.processModuleDependencies(R,(E=>{if(E){return $(E)}$(null,R)}))}))}_factorizeModule({currentProfile:E,factory:R,dependencies:N,originModule:$,factoryResult:j,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}R.create({contextInfo:{issuer:$?$.nameForCondition():"",issuerLayer:$?$.layer:null,compiler:this.compiler.name,...q},resolveOptions:$?$.resolveOptions:undefined,context:G?G:$?$.context:this.compiler.context,dependencies:N},((R,q)=>{if(q){if(q.module===undefined&&q instanceof Ye){q={module:q}}if(!j){const{fileDependencies:E,contextDependencies:R,missingDependencies:N}=q;if(E){this.fileDependencies.addAll(E)}if(R){this.contextDependencies.addAll(R)}if(N){this.missingDependencies.addAll(N)}}}if(R){const E=new nt($,R,N.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,j?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,j?q:q.module)}))}addModuleChain(E,R,N){return this.addModuleTree({context:E,dependency:R},N)}addModuleTree({context:E,dependency:R,contextInfo:N},$){if(typeof R!=="object"||R===null||!R.constructor){return $(new pt("Parameter 'dependency' must be a Dependency"))}const j=R.constructor;const q=this.dependencyFactories.get(j);if(!q){return $(new pt(`No dependency factory available for this dependency type: ${R.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[R],originModule:null,contextInfo:N,context:E},((E,R)=>{if(E&&this.bail){$(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&R){$(null,R)}else{$()}}))}addEntry(E,R,N,$){const j=typeof N==="object"?N:{name:N};this._addEntryItem(E,R,"dependencies",j,$)}addInclude(E,R,N,$){this._addEntryItem(E,R,"includeDependencies",N,$)}_addEntryItem(E,R,N,$,j){const{name:q}=$;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...$}};G[N].push(R);this.entries.set(q,G)}else{G[N].push(R);for(const E of Object.keys($)){if($[E]===undefined)continue;if(G.options[E]===$[E])continue;if(Array.isArray(G.options[E])&&Array.isArray($[E])&&vt(G.options[E],$[E])){continue}if(G.options[E]===undefined){G.options[E]=$[E]}else{return j(new pt(`Conflicting entry option ${E} = ${G.options[E]} vs ${$[E]}`))}}}this.hooks.addEntry.call(R,$);this.addModuleTree({context:E,dependency:R,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,N)=>{if(E){this.hooks.failedEntry.call(R,$,E);return j(E)}this.hooks.succeedEntry.call(R,$,N);return j(null,N)}))}rebuildModule(E,R){this.rebuildQueue.add(E,R)}_rebuildModule(E,R){this.hooks.rebuildModule.call(E);const N=E.dependencies.slice();const $=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,(j=>{if(j){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){R(Qe(E,"Compilation.hooks.finishRebuildingModule"));return}R(j)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,(j=>{if(j)return R(j);this.removeReasonsOfDependencyBlock(E,{dependencies:N,blocks:$});this.hooks.finishRebuildingModule.callAsync(E,(N=>{if(N){R(Qe(N,"Compilation.hooks.finishRebuildingModule"));return}R(null,E)}))}))}))}_computeAffectedModules(E){const R=this.compiler.moduleMemCaches;if(!R)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:N,moduleMemCaches:$}=this;const j=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let le=0;let _e=0;const computeReferences=E=>{let R=undefined;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;const N=$.module;if(!E||!N||Wt.has(E))continue;if(R===undefined)R=new WeakMap;R.set(E,N)}return R};const compareReferences=(E,R)=>{if(R===undefined)return true;for(const $ of N.getOutgoingConnections(E)){const E=$.dependency;if(!E)continue;const N=R.get(E);if(N===undefined)continue;if(N!==$.module)return false}return true};const Ee=new Set(E);for(const[E,N]of R){if(Ee.has(E)){const G=E.buildInfo;if(G){if(N.buildInfo!==G){const R=new kt;$.set(E,R);j.add(E);N.buildInfo=G;N.references=computeReferences(E);N.memCache=R;ie++}else if(!compareReferences(E,N.references)){const R=new kt;$.set(E,R);j.add(E);N.references=computeReferences(E);N.memCache=R;le++}else{$.set(E,N.memCache);ae++}}else{q.add(E);R.delete(E);_e++}Ee.delete(E)}else{R.delete(E)}}for(const E of Ee){const N=E.buildInfo;if(N){const q=new kt;R.set(E,{buildInfo:N,references:computeReferences(E),memCache:q});$.set(E,q);j.add(E);G++}else{q.add(E);_e++}}const reduceAffectType=E=>{let R=false;for(const{dependency:N}of E){if(!N)continue;const E=N.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;R=true}return R};const we=new Set;for(const E of q){for(const[R,$]of N.getIncomingConnectionsByOriginModule(E)){if(!R)continue;if(q.has(R))continue;const E=reduceAffectType($);if(!E)continue;if(E===true){we.add(R)}else{q.add(R)}}}for(const E of we)q.add(E);const Ie=new Set;for(const E of j){for(const[G,ie]of N.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if(j.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Ie.add(G)}else{j.add(G)}const N=new kt;const ae=R.get(G);ae.memCache=N;$.set(G,N)}}for(const E of Ie)j.add(E);this.logger.log(`${Math.round(100*(j.size+q.size)/this.modules.size)}% (${j.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${le} references changed, ${ae} unchanged, ${_e} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const R=this.moduleMemCaches2=new Map;const{moduleGraph:N,chunkGraph:$}=this;const j="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let R=undefined;let j=undefined;const q=N.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(R===undefined)R=new Map;R.set(E,$.getModuleId(E))}}if(E.blocks.length>0){j=[];const R=Array.from(E.blocks);for(const E of R){const N=$.getBlockChunkGroup(E);if(N){for(const E of N.chunks){j.push(E.id)}}else{j.push(null)}R.push.apply(R,E.blocks)}}return{modules:R,blocks:j}};const compareReferences=(E,{modules:R,blocks:N})=>{if(R!==undefined){for(const[E,N]of R){if($.getModuleId(E)!==N)return false}}if(N!==undefined){const R=Array.from(E.blocks);let j=0;for(const E of R){const q=$.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if(j>=N.length||N[j++]!==E.id)return false}}else{if(j>=N.length||N[j++]!==null)return false}R.push.apply(R,E.blocks)}if(j!==N.length)return false}return true};for(const[N,$]of E){const E=$.get(j);if(E===undefined){const E=new kt;$.set(j,{references:computeReferences(N),memCache:E});R.set(N,E);ie++}else if(!compareReferences(N,E.references)){const $=new kt;E.references=computeReferences(N);E.memCache=$;R.set(N,$);G++}else{R.set(N,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=N(382);const R=new E;const $=this.moduleGraph;const j=new Map;for(const E of this.modules){const N=$.getProfile(E);if(!N)continue;j.set(E,N);R.range(N.buildingStartTime,N.buildingEndTime,(E=>N.buildingParallelismFactor=E));R.range(N.factoryStartTime,N.factoryEndTime,(E=>N.factoryParallelismFactor=E));R.range(N.integrationStartTime,N.integrationEndTime,(E=>N.integrationParallelismFactor=E));R.range(N.storingStartTime,N.storingEndTime,(E=>N.storingParallelismFactor=E));R.range(N.restoringStartTime,N.restoringEndTime,(E=>N.restoringParallelismFactor=E));if(N.additionalFactoryTimes){for(const{start:E,end:$}of N.additionalFactoryTimes){const j=($-E)/N.additionalFactories;R.range(E,$,(E=>N.additionalFactoriesParallelismFactor+=E*j))}}}R.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,R)=>{if(E>1e3){q.error(R)}else if(E>500){q.warn(R)}else if(E>200){q.info(R)}else if(E>30){q.log(R)}else{q.debug(R)}};const logNormalSummary=(E,R,N)=>{let $=0;let q=0;for(const[G,ie]of j){const j=N(ie);const ae=R(ie);if(ae===0||j===0)continue;const le=ae/j;$+=le;if(le<=10)continue;logByValue(le,` | ${Math.round(le)} ms${j>=1.1?` (parallelism ${Math.round(j*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,le)}if($<=10)return;logByValue(Math.max($/10,q),`${Math.round($)} ms ${E}`)};const logByLoadersSummary=(E,R,N)=>{const $=new Map;for(const[E,R]of j){const N=xt($,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));N.push({module:E,profile:R})}let q=0;let G=0;for(const[j,ie]of $){let $=0;let ae=0;for(const{module:j,profile:q}of ie){const G=N(q);const ie=R(q);if(ie===0||G===0)continue;const le=ie/G;$+=le;if(le<=10)continue;logByValue(le,` | | ${Math.round(le)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${j.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,le)}q+=$;if($<=10)continue;const le=j.indexOf("!");const _e=j.slice(le+1);const Ee=j.slice(0,le);const we=Math.max($/10,ae);logByValue(we,` | ${Math.round($)} ms ${E} > ${_e?`${ie.length} x ${Ee} with ${this.requestShortener.shorten(_e)}`:`${ie.length} x ${Ee}`}`);G=Math.max(G,we)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:R,moduleMemCaches:$}=this;this.hooks.finishModules.callAsync(R,(N=>{this.logger.timeEnd("finish modules");if(N)return E(N);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of R){const R=$&&$.get(E);if(R&&R.get("noWarningsOrErrors"))continue;let N=this.reportDependencyErrorsAndWarnings(E,[E]);const j=E.getErrors();if(j!==undefined){for(const R of j){if(!R.module){R.module=E}this.errors.push(R);N=true}}const q=E.getWarnings();if(q!==undefined){for(const R of q){if(!R.module){R.module=E}this.warnings.push(R);N=true}}if(!N&&R)R.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=R=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(R)};const R=new Te(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=R;if(this._backCompat){for(const E of this.modules){Te.setChunkGraphForModule(E,R)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const N=new Map;for(const[E,{dependencies:$,includeDependencies:j,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new Ge(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);Ve(ie,G);const ae=new Set;for(const j of[...this.globalEntry.dependencies,...$]){ie.addOrigin(null,{name:E},j.request);const $=this.moduleGraph.getModule(j);if($){R.connectChunkAndEntryModule(G,$,ie);ae.add($);const E=N.get(ie);if(E===undefined){N.set(ie,[$])}else{E.push($)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(It);const le=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort(j)];let _e=N.get(ie);if(_e===undefined){N.set(ie,_e=[])}for(const E of le){this.assignDepth(E);_e.push(E)}}const $=new Set;e:for(const[E,{options:{dependOn:R,runtime:N}}]of this.entries){if(R&&N){const R=new pt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const N=this.entrypoints.get(E);R.chunk=N.getEntrypointChunk();this.errors.push(R)}if(R){const N=this.entrypoints.get(E);const $=N.getEntrypointChunk().getAllReferencedChunks();const j=[];for(const q of R){const R=this.entrypoints.get(q);if(!R){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if($.has(R.getEntrypointChunk())){const R=new pt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const $=N.getEntrypointChunk();R.chunk=$;this.errors.push(R);N.setRuntimeChunk($);continue e}j.push(R)}for(const E of j){Ke(E,N)}}else if(N){const R=this.entrypoints.get(E);let j=this.namedChunks.get(N);if(j){if(!$.has(j)){const $=new pt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${N}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(N)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${N}'? For this '${N}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${N}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const j=R.getEntrypointChunk();$.chunk=j;this.errors.push($);R.setRuntimeChunk(j);continue}}else{j=this.addChunk(N);j.preventIntegration=true;$.add(j)}R.unshiftChunk(j);j.addGroup(R);R.setRuntimeChunk(j)}}dt(this,N);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const N=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(N){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((R=>{if(R){return finalCallback(R)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const $=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs($,(R=>{if(R){return finalCallback(R)}if(N){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(R=>{if(R){return finalCallback(Qe(R,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Tt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(N){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Qe(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,R){let N=false;for(let $=0;$1){const j=new Map;for(const q of $){const $=R.getModuleHash(E,q);const G=j.get($);if(G===undefined){const R={module:E,hash:$,runtime:q,runtimes:[q]};N.push(R);j.set($,R)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(N,E)}_runCodeGenerationJobs(E,R){let N=0;let j=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const le=this.codeGenerationResults;const _e=[];$.eachLimit(E,this.options.parallelism,(({module:E,hash:R,runtime:$,runtimes:Ee},we)=>{this._codeGenerationModule(E,$,Ee,R,ie,q,G,ae,_e,le,((E,R)=>{if(R)j++;else N++;we(E)}))}),(E=>{if(E)return R(E);if(_e.length>0){_e.sort(At((E=>E.module),It));for(const E of _e){this.errors.push(E)}}this.logger.log(`${Math.round(100*j/(j+N))}% code generated (${j} generated, ${N} from cache)`);R()}))}_codeGenerationModule(E,R,N,$,j,q,G,ie,ae,le,_e){let Ee=false;const we=new Ie(N.map((R=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Ft(R)}`,`${$}|${j.getHash()}`))));we.get((($,Ie)=>{if($)return _e($);let Me;if(!Ie){try{Ee=true;this.codeGeneratedModules.add(E);Me=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:j,runtimeTemplate:ie,runtime:R})}catch($){ae.push(new je(E,$));Me=Ie={sources:new Map,runtimeRequirements:null}}}else{Me=Ie}for(const R of N){le.add(E,R,Me)}if(!Ie){we.store(Me,(E=>_e(E,Ee)))}else{_e(null,Ee)}}))}_getChunkGraphEntries(){const E=new Set;for(const R of this.entrypoints.values()){const N=R.getRuntimeChunk();if(N)E.add(N)}for(const R of this.asyncEntrypoints){const N=R.getRuntimeChunk();if(N)E.add(N)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:R=this.modules,chunks:N=this.chunks,codeGenerationResults:$=this.codeGenerationResults,chunkGraphEntries:j=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:$};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const N of R){if(E.getNumberOfModuleChunks(N)>0){const R=G&&G.get(N);for(const j of E.getModuleRuntimes(N)){if(R){const $=R.get(`moduleRuntimeRequirements-${Ft(j)}`);if($!==undefined){if($!==null){E.addModuleRuntimeRequirements(N,j,$,false)}continue}}let G;const le=$.getRuntimeRequirements(N,j);if(le&&le.size>0){G=new Set(le)}else if(ie.isUsed()){G=new Set}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}continue}ie.call(N,G,q);for(const E of G){const R=ae.get(E);if(R!==undefined)R.call(N,G,q)}if(G.size===0){if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,null)}}else{if(R){R.set(`moduleRuntimeRequirements-${Ft(j)}`,G);E.addModuleRuntimeRequirements(N,j,G,false)}else{E.addModuleRuntimeRequirements(N,j,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const R of N){const N=new Set;for(const $ of E.getChunkModulesIterable(R)){const j=E.getModuleRuntimeRequirements($,R.runtime);for(const E of j)N.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInChunk.for(E).call(R,N,q)}E.addChunkRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const R of j){const N=new Set;for(const $ of R.getAllReferencedChunks()){const R=E.getChunkRuntimeRequirements($);for(const E of R)N.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(R,N,q);for(const E of N){this.hooks.runtimeRequirementInTree.for(E).call(R,N,q)}E.addTreeRuntimeRequirements(R,N)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,R,N=this.chunkGraph){if(this._backCompat)tt.setModuleGraphForModule(R,this.moduleGraph);this.modules.add(R);this._modules.set(R.identifier(),R);N.connectChunkAndModule(E,R);N.connectChunkAndRuntimeModule(E,R);if(R.fullHash){N.addFullHashModuleToChunk(E,R)}else if(R.dependentHash){N.addDependentHashModuleToChunk(E,R)}R.attach(this,E,N);const $=this.moduleGraph.getExportsInfo(R);$.setHasProvideInfo();if(typeof E.runtime==="string"){$.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){$.setUsedForSideEffectsOnly(undefined)}else{for(const R of E.runtime){$.setUsedForSideEffectsOnly(R)}}N.addModuleRuntimeRequirements(R,E.runtime,new Set([lt.requireScope]));N.setModuleId(R,"");this.hooks.runtimeModule.call(R,E)}addChunkInGroup(E,R,N,$){if(typeof E==="string"){E={name:E}}const j=E.name;if(j){const q=this.namedChunkGroups.get(j);if(q!==undefined){q.addOptions(E);if(R){q.addOrigin(R,N,$)}return q}}const q=new Ne(E);if(R)q.addOrigin(R,N,$);const G=this.addChunk(j);Ve(q,G);this.chunkGroups.push(q);if(j){this.namedChunkGroups.set(j,q)}return q}addAsyncEntrypoint(E,R,N,$){const j=E.name;if(j){const E=this.namedChunkGroups.get(j);if(E instanceof Ge){if(E!==undefined){if(R){E.addOrigin(R,N,$)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${j}', because there is already an chunk group with this name`)}}const q=this.addChunk(j);if(E.filename){q.filenameTemplate=E.filename}const G=new Ge(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if(j){this.namedChunkGroups.set(j,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);Ve(G,q);if(R){G.addOrigin(R,N,$)}return G}addChunk(E){if(E){const R=this.namedChunks.get(E);if(R!==undefined){return R}}const R=new Me(E,this._backCompat);this.chunks.add(R);if(this._backCompat)Te.setChunkGraphForChunk(R,this.chunkGraph);if(E){this.namedChunks.set(E,R)}return R}assignDepth(E){const R=this.moduleGraph;const N=new Set([E]);let $;R.setDepth(E,0);const processModule=E=>{if(!R.setDepthIfLower(E,$))return;N.add(E)};for(E of N){N.delete(E);$=R.getDepth(E)+1;for(const N of R.getOutgoingConnections(E)){const E=N.module;if(E){processModule(E)}}}}assignDepths(E){const R=this.moduleGraph;const N=new Set(E);N.add(1);let $=0;let j=0;for(const E of N){j++;if(typeof E==="number"){$=E;if(N.size===j)return;N.add($+1)}else{R.setDepth(E,$);for(const{module:$}of R.getOutgoingConnections(E)){if($){N.add($)}}}}}getDependencyReferencedExports(E,R){const N=E.getReferencedExports(this.moduleGraph,R);return this.hooks.dependencyReferencedExports.call(N,E,R)}removeReasonsOfDependencyBlock(E,R){if(R.blocks){for(const N of R.blocks){this.removeReasonsOfDependencyBlock(E,N)}}if(R.dependencies){for(const E of R.dependencies){const R=this.moduleGraph.getModule(E);if(R){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(R)){this.patchChunksAfterReasonRemoval(R,E)}}}}}}patchChunksAfterReasonRemoval(E,R){if(!E.hasReasons(this.moduleGraph,R.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(R,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,R)){this.chunkGraph.disconnectChunkAndModule(R,E);this.removeChunkFromDependencies(E,R)}}}removeChunkFromDependencies(E,R){const iteratorDependency=E=>{const N=this.moduleGraph.getModule(E);if(!N){return}this.patchChunksAfterReasonRemoval(N,R)};const N=E.blocks;for(let R=0;R{const N=R.options.runtime||R.name;const $=R.getRuntimeChunk();E.setRuntimeId(N,$.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(Ht);this.warnings.sort(Ht);this.children.sort(zt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(jt);ae.sort(jt);const le=new Map;for(const E of ie){le.set(E,{chunk:E,referencedBy:[],remaining:0})}let _e=0;for(const E of le.values()){for(const R of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const N=le.get(R);N.referencedBy.push(E);E.remaining++;_e++}}const Ee=[];for(const E of le.values()){if(E.remaining===0){Ee.push(E.chunk)}}if(_e>0){const R=[];for(const N of Ee){const $=E.getNumberOfChunkFullHashModules(N)!==0;const j=le.get(N);for(const N of j.referencedBy){if($){E.upgradeDependentToFullHashModules(N.chunk)}_e--;if(--N.remaining===0){R.push(N.chunk)}}if(R.length>0){R.sort(jt);for(const E of R)Ee.push(E);R.length=0}}}if(_e>0){let E=[];for(const R of le.values()){if(R.remaining!==0){E.push(R)}}E.sort(At((E=>E.chunk),jt));const R=new pt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);R.chunk=E[0].chunk;this.warnings.push(R);for(const R of E)Ee.push(R.chunk)}this.logger.timeEnd("hashing: sort chunks");const we=new Set;const Ie=[];const Me=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const N of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(N,ae)){const G=this._createModuleHash(N,E,ae,$,R,j,q);let ie=Me.get(G);if(ie){const E=ie.get(N);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;Me.set(G,ie)}const le={module:N,hash:G,runtime:ae,runtimes:[ae]};ie.set(N,le);Ie.push(le)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const le=Mt($);try{if(N.hashSalt){le.update(N.hashSalt)}ie.updateHash(le,E);this.hooks.chunkHash.call(ie,le,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const R=le.digest(j);G.update(R);ie.hash=R;ie.renderedHash=ie.hash.substr(0,q);const $=E.getChunkFullHashModulesIterable(ie);if($){we.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Be(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of Ee)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest(j);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const N of we){for(const G of E.getChunkFullHashModulesIterable(N)){const ie=Mt($);G.updateHash(ie,{chunkGraph:E,runtime:N.runtime,runtimeTemplate:R});const ae=ie.digest(j);const le=E.getModuleHash(G,N.runtime);E.setModuleHashes(G,N.runtime,ae,ae.substr(0,q));Me.get(le).get(G).hash=ae}const G=Mt($);G.update(N.hash);G.update(this.hash);const ie=G.digest(j);N.hash=ie;N.renderedHash=N.hash.substr(0,q);this.hooks.contentHash.call(N)}this.logger.timeEnd("hashing: process full hash modules");return Ie}emitAsset(E,R,N={}){if(this.assets[E]){if(!Nt(this.assets[E],R)){this.errors.push(new pt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=R;this._setAssetInfo(E,N);return}const $=this.assetsInfo.get(E);const j=Object.assign({},$,N);this._setAssetInfo(E,j,$);return}this.assets[E]=R;this._setAssetInfo(E,N,undefined)}_setAssetInfo(E,R,N=this.assetsInfo.get(E)){if(R===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,R)}const $=N&&N.related;const j=R&&R.related;if($){for(const R of Object.keys($)){const remove=N=>{const $=this._assetsRelatedIn.get(N);if($===undefined)return;const j=$.get(R);if(j===undefined)return;j.delete(E);if(j.size!==0)return;$.delete(R);if($.size===0)this._assetsRelatedIn.delete(N)};const N=$[R];if(Array.isArray(N)){N.forEach(remove)}else if(N){remove(N)}}}if(j){for(const R of Object.keys(j)){const add=N=>{let $=this._assetsRelatedIn.get(N);if($===undefined){this._assetsRelatedIn.set(N,$=new Map)}let j=$.get(R);if(j===undefined){$.set(R,j=new Set)}j.add(E)};const N=j[R];if(Array.isArray(N)){N.forEach(add)}else if(N){add(N)}}}}updateAsset(E,R,N=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof R==="function"){this.assets[E]=R(this.assets[E])}else{this.assets[E]=R}if(N!==undefined){const R=this.assetsInfo.get(E)||Bt;if(typeof N==="function"){this._setAssetInfo(E,N(R),R)}else{this._setAssetInfo(E,Et(R,N),R)}}}renameAsset(E,R){const N=this.assets[E];if(!N){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[R]){if(!Nt(this.assets[E],N)){this.errors.push(new pt(`Conflict: Called Compilation.renameAsset for already existing filename ${R} with different content`))}}const $=this.assetsInfo.get(E);const j=this._assetsRelatedIn.get(E);if(j){for(const[N,$]of j){for(const j of $){const $=this.assetsInfo.get(j);if(!$)continue;const q=$.related;if(!q)continue;const G=q[N];let ie;if(Array.isArray(G)){ie=G.map((N=>N===E?R:N))}else if(G===E){ie=R}else continue;this.assetsInfo.set(j,{...$,related:{...q,[N]:ie}})}}}this._setAssetInfo(E,undefined,$);this._setAssetInfo(R,$);delete this.assets[E];this.assets[R]=N;for(const N of this.chunks){{const $=N.files.size;N.files.delete(E);if($!==N.files.size){N.files.add(R)}}{const $=N.auxiliaryFiles.size;N.auxiliaryFiles.delete(E);if($!==N.auxiliaryFiles.size){N.auxiliaryFiles.add(R)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const R=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,R);const N=R&&R.related;if(N){for(const E of Object.keys(N)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const R=N[E];if(Array.isArray(R)){R.forEach(checkUsedAndDelete)}else if(R){checkUsedAndDelete(R)}}}for(const R of this.chunks){R.files.delete(E);R.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const R of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,R)){E.push({name:R,source:this.assets[R],info:this.assetsInfo.get(R)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const R of this.modules){if(R.buildInfo.assets){const N=R.buildInfo.assetsInfo;for(const $ of Object.keys(R.buildInfo.assets)){const j=this.getPath($,{chunkGraph:this.chunkGraph,module:R});for(const N of E.getModuleChunksIterable(R)){N.auxiliaryFiles.add(j)}this.emitAsset(j,R.buildInfo.assets[$],N?N.get($):undefined);this.hooks.moduleAsset.call(R,j)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const R=this.outputOptions;const N=new WeakMap;const j=new Map;$.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:R,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(R){this.errors.push(new Be(E,"",R));return q()}$.forEach(G,((R,$)=>{const q=R.identifier;const G=R.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let le;let _e;let Ee;let Ie=true;const errorAndCallback=R=>{const N=_e||(typeof _e==="string"?_e:typeof le==="string"?le:"");this.errors.push(new Be(E,N,R));Ie=false;return $()};try{if("filename"in R){_e=R.filename;Ee=R.info}else{le=R.filenameTemplate;const E=this.getPathWithInfo(le,R.pathOptions);_e=E.path;Ee=R.info?{...E.info,...R.info}:E.info}if(q){return errorAndCallback(q)}let Me=ae;const Te=j.get(_e);if(Te!==undefined){if(Te.hash!==G){Ie=false;return $(new pt(`Conflict: Multiple chunks emit assets to the same filename ${_e}`+` (chunks ${Te.chunk.id} and ${E.id})`))}else{Me=Te.source}}else if(!Me){Me=R.render();if(!(Me instanceof we)){const E=N.get(Me);if(E){Me=E}else{const E=new we(Me);N.set(Me,E);Me=E}}}this.emitAsset(_e,Me,Ee);if(R.auxiliary){E.auxiliaryFiles.add(_e)}else{E.files.add(_e)}this.hooks.chunkAsset.call(E,_e);j.set(_e,{hash:G,source:Me,chunk:E});if(Me!==ae){ie.store(Me,(E=>{if(E)return errorAndCallback(E);Ie=false;return $()}))}else{Ie=false;$()}}catch(q){if(!Ie)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPath(E,R)}getPathWithInfo(E,R={}){if(!R.hash){R={hash:this.hash,...R}}return this.getAssetPathWithInfo(E,R)}getAssetPath(E,R){return this.hooks.assetPath.call(typeof E==="function"?E(R):E,R,undefined)}getAssetPathWithInfo(E,R){const N={};const $=this.hooks.assetPath.call(typeof E==="function"?E(R,N):E,R,N);return{path:$,info:N}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,R,N){const $=this.childrenCounters[E]||0;this.childrenCounters[E]=$+1;return this.compiler.createChildCompiler(this,E,$,R,N)}executeModule(E,R,N){const j=new Set([E]);Rt(j,10,((E,R,N)=>{this.buildQueue.waitFor(E,($=>{if($)return N($);this.processDependenciesQueue.waitFor(E,($=>{if($)return N($);for(const{module:N}of this.moduleGraph.getOutgoingConnections(E)){const E=j.size;j.add(N);if(j.size!==E)R(N)}N()}))}))}),(q=>{if(q)return N(q);const G=new Te(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:le,hashDigestLength:_e}=this.outputOptions;const Ee=this.runtimeTemplate;const we=new Me("build time chunk",this._backCompat);we.id=we.name;we.ids=[we.id];we.runtime=ie;const Ie=new Ge({runtime:ie,chunkLoading:false,...R.entryOptions});G.connectChunkAndEntryModule(we,E,Ie);Ve(Ie,we);Ie.setRuntimeChunk(we);Ie.setEntrypointChunk(we);const Ne=new Set([we]);for(const E of j){const R=E.identifier();G.setModuleId(E,R);G.connectChunkAndModule(we,E)}for(const E of j){this._createModuleHash(E,G,ie,ae,Ee,le,_e)}const Be=new ze(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,R)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,Ee,Le,Be,((E,N)=>{R(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(At((E=>E.module),It));for(const E of Le){this.errors.push(E)}Le.length=0}};$.eachLimit(j,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:j,chunks:Ne,codeGenerationResults:Be,chunkGraphEntries:Ne});this.chunkGraph=q;const Ie=G.getChunkRuntimeModulesIterable(we);for(const E of Ie){j.add(E);this._createModuleHash(E,G,ie,ae,Ee,le,_e)}$.eachLimit(Ie,10,codeGen,(R=>{if(R)return N(R);reportErrors();const q=new Map;const ae=new Map;const le=new _t;const _e=new _t;const Ee=new _t;const Ie=new _t;const Me=new Map;let Te=true;const Ne={assets:Me,__webpack_require__:undefined,chunk:we,chunkGraph:G};$.eachLimit(j,10,((E,R)=>{const N=Be.get(E,ie);const $={module:E,codeGenerationResult:N,preparedInfo:undefined,moduleObject:undefined};q.set(E,$);ae.set(E.identifier(),$);E.addCacheDependencies(le,_e,Ee,Ie);if(E.buildInfo.cacheable===false){Te=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:R,assetsInfo:N}=E.buildInfo;for(const E of Object.keys(R)){Me.set(E,{source:R[E],info:N?N.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync($,Ne,R)}),(R=>{if(R)return N(R);let $;try{const{strictModuleErrorHandling:R,strictModuleExceptionHandling:N}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const R=ie[E];if(R!==undefined){if(R.error)throw R.error;return R.exports}const N=ae.get(E);return __webpack_require_module__(N,E)};const j=__nested_webpack_require_150631__[lt.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[lt.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,$)=>{var q={id:$,module:{id:$,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};j.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if($)ie[$]=ae;Je((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(N){if($)delete ie[$]}else if(R){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(we)){__webpack_require_module__(q.get(E))}$=__nested_webpack_require_150631__(E.identifier())}catch(R){const $=new pt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${R.message}`);$.stack=R.stack;$.module=R.module;return N($)}N(null,{exports:$,assets:Me,cacheable:Te,fileDependencies:le,contextDependencies:_e,missingDependencies:Ee,buildDependencies:Ie})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const R=new Set;for(const N of this.modules){if(N.type==="runtime")continue;const $=E.getModuleId(N);if($===null)continue;if(R.has($)){throw new Error(`checkConstraints: duplicate module id ${$}`)}R.add($)}for(const R of this.chunks){for(const N of E.getChunkModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}for(const N of E.getChunkEntryModulesIterable(R)){if(!this.modules.has(N)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${R.debugId} ${N.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,R){this.factorizeQueue.add(E,R)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:Ee.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:Ee.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,R,N)=>{"use strict";const $=N(78688);const j=N(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=N(92960);const{SizeOnlySource:le}=N(48135);const _e=N(86443);const Ee=N(54725);const we=N(6503);const Ie=N(45137);const Me=N(3080);const Te=N(27310);const Ne=N(89869);const Be=N(75412);const Le=N(43229);const je=N(80910);const ze=N(1819);const Ue=N(10140);const qe=N(84693);const Ge=N(81627);const{Logger:He}=N(78539);const{join:We,dirname:Ve,mkdirp:Ke}=N(95396);const{makePathsRelative:Qe}=N(49197);const{isSourceEqual:Je}=N(13559);const isSorted=E=>{for(let R=1;RE[R])return false}return true};const sortObject=(E,R)=>{const N={};for(const $ of R.sort()){N[$]=E[$]}return N};const includesHash=(E,R)=>{if(!R)return false;if(Array.isArray(R)){return R.some((R=>E.includes(R)))}else{return E.includes(R)}};class Compiler{constructor(E,R={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=_e;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new ze;this.infrastructureLogger=undefined;this.options=R;this.context=E;this.requestShortener=new je(E,this.root);this.cache=new Ee;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new we(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new He(((R,N)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,R,N)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,R,N)}}}),(R=>{if(typeof E==="function"){if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}}else{if(typeof R==="function"){return this.getInfrastructureLogger((()=>{if(typeof R==="function"){R=R();if(!R){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${R}`}))}else{return this.getInfrastructureLogger(`${E}/${R}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Ie.clearChunkGraphForModule(E);Be.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Ie.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,R){if(this.running){return R(new Te)}this.running=true;this.watchMode=true;this.watching=new qe(this,E,R);return this.watching}run(E){if(this.running){return E(new Te)}let R;const finalCallback=(N,$)=>{if(R)R.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(R)R.timeEnd("beginIdle");this.running=false;if(N){this.hooks.failed.call(N)}if(E!==undefined)E(N,$);this.hooks.afterDone.call($)};const N=Date.now();this.running=true;const onCompiled=(E,$)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call($)===false){$.startTime=N;$.endTime=Date.now();const E=new Ue($);this.hooks.done.callAsync(E,(R=>{if(R)return finalCallback(R);return finalCallback(null,E)}));return}process.nextTick((()=>{R=$.getLogger("webpack.Compiler");R.time("emitAssets");this.emitAssets($,(E=>{R.timeEnd("emitAssets");if(E)return finalCallback(E);if($.hooks.needAdditionalPass.call()){$.needAdditionalPass=true;$.startTime=N;$.endTime=Date.now();R.time("done hook");const E=new Ue($);this.hooks.done.callAsync(E,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}R.time("emitRecords");this.emitRecords((E=>{R.timeEnd("emitRecords");if(E)return finalCallback(E);$.startTime=N;$.endTime=Date.now();R.time("done hook");const j=new Ue($);this.hooks.done.callAsync(j,(E=>{R.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies($.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,j)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const R=Date.now();this.compile(((N,$)=>{if(N)return E(N);this.parentCompilation.children.push($);for(const{name:E,source:R,info:N}of $.getAssets()){this.parentCompilation.emitAsset(E,R,N)}const j=[];for(const E of $.entrypoints.values()){j.push(...E.chunks)}$.startTime=R;$.endTime=Date.now();return E(null,j,$)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,R){let N;const emitFiles=$=>{if($)return R($);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;j.forEachLimit(q,15,(({name:R,source:$,info:j},q)=>{let ae=R;let _e=j.immutable;const Ee=ae.indexOf("?");if(Ee>=0){ae=ae.substr(0,Ee);_e=_e&&(includesHash(ae,j.contenthash)||includesHash(ae,j.chunkhash)||includesHash(ae,j.modulehash)||includesHash(ae,j.fullhash))}const writeOut=j=>{if(j)return q(j);const Ee=We(this.outputFileSystem,N,ae);ie.add(Ee);const we=this._assetEmittingWrittenFiles.get(Ee);let Ie=this._assetEmittingSourceCache.get($);if(Ie===undefined){Ie={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set($,Ie)}let Me;const checkSimilarFile=()=>{const E=Ee.toLowerCase();Me=G.get(E);if(Me!==undefined){const{path:E,source:N}=Me;if(Je(N,$)){if(Me.size!==undefined){updateWithReplacementSource(Me.size)}else{if(!Me.waiting)Me.waiting=[];Me.waiting.push({file:R,cacheEntry:Ie})}alreadyWritten()}else{const N=new Ge(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${Ee}\n${E}`);N.file=R;q(N)}return true}else{G.set(E,Me={path:Ee,source:$,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof $.buffer==="function"){return $.buffer()}else{const E=$.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(we===undefined){const E=1;this._assetEmittingWrittenFiles.set(Ee,E);Ie.writtenTo.set(Ee,E)}else{Ie.writtenTo.set(Ee,we)}q()};const doWrite=j=>{this.outputFileSystem.writeFile(Ee,j,(G=>{if(G)return q(G);E.emittedAssets.add(R);const ie=we===undefined?1:we+1;Ie.writtenTo.set(Ee,ie);this._assetEmittingWrittenFiles.set(Ee,ie);this.hooks.assetEmitted.callAsync(R,{content:j,source:$,outputPath:N,compilation:E,targetPath:Ee},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(R,Ie,E);Me.size=E;if(Me.waiting!==undefined){for(const{file:R,cacheEntry:N}of Me.waiting){updateFileWithReplacementSource(R,N,E)}}};const updateFileWithReplacementSource=(R,N,$)=>{if(!N.sizeOnlySource){N.sizeOnlySource=new le($)}E.updateAsset(R,N.sizeOnlySource,{size:$})};const processExistingFile=N=>{if(_e){updateWithReplacementSource(N.size);return alreadyWritten()}const $=getContent();updateWithReplacementSource($.length);if($.length===N.size){E.comparedForEmitAssets.add(R);return this.outputFileSystem.readFile(Ee,((E,R)=>{if(E||!$.equals(R)){return doWrite($)}else{return alreadyWritten()}}))}return doWrite($)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(we!==undefined){const N=Ie.writtenTo.get(Ee);if(N===we){if(this._assetEmittingPreviousFiles.has(Ee)){E.updateAsset(R,Ie.sizeOnlySource,{size:Ie.sizeOnlySource.size()});return q()}else{_e=true}}else if(!_e){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(Ee,((E,R)=>{const N=!E&&R.isFile();if(N){processExistingFile(R)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const R=Ve(E,We(E,N,ae));Ke(E,R,writeOut)}else{writeOut()}}),(N=>{G.clear();if(N){this._assetEmittingPreviousFiles.clear();return R(N)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return R(E);return R()}))}))};this.hooks.emit.callAsync(E,($=>{if($)return R($);N=E.getPath(this.outputPath,{});Ke(this.outputFileSystem,N,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,R)=>{if(typeof R==="object"&&R!==null&&!Array.isArray(R)){const E=Object.keys(R);if(!isSorted(E)){return sortObject(R,E)}}return R}),2),E)};const R=Ve(this.outputFileSystem,this.recordsOutputPath);if(!R){return writeFile()}Ke(this.outputFileSystem,R,(R=>{if(R)return E(R);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(R=>{if(R)return E();this.inputFileSystem.readFile(this.recordsInputPath,((R,N)=>{if(R)return E(R);try{this.records=$(N.toString("utf-8"))}catch(R){R.message="Cannot parse records: "+R.message;return E(R)}return E()}))}))}createChildCompiler(E,R,N,$,j){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...$}});q.name=R;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${R}|${N}|`;q._backCompat=this._backCompat;const G=Qe(this.context,R,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][N]){q.records=this.records[G][N]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray(j)){for(const E of j){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,R,N);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new Me(this,E)}newCompilation(E){const R=this.createCompilation(E);R.name=this.name;R.records=this.records;this.hooks.thisCompilation.call(R,E);this.hooks.compilation.call(R,E);return R}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const R=this.newCompilationParams();this.hooks.beforeCompile.callAsync(R,(N=>{if(N)return E(N);this.hooks.compile.call(R);const $=this.newCompilation(R);const j=$.getLogger("webpack.Compiler");j.time("make hook");this.hooks.make.callAsync($,(R=>{j.timeEnd("make hook");if(R)return E(R);j.time("finish make hook");this.hooks.finishMake.callAsync($,(R=>{j.timeEnd("finish make hook");if(R)return E(R);process.nextTick((()=>{j.time("finish compilation");$.finish((R=>{j.timeEnd("finish compilation");if(R)return E(R);j.time("seal compilation");$.seal((R=>{j.timeEnd("seal compilation");if(R)return E(R);j.time("afterCompile hook");this.hooks.afterCompile.callAsync($,(R=>{j.timeEnd("afterCompile hook");if(R)return E(R);return E(null,$)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((R=>{this.close(E)}));return}this.hooks.shutdown.callAsync((R=>{if(R)return E(R);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const R=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const N="__WEBPACK_DEFAULT_EXPORT__";const $="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,R){this._currentModule=R;if(Array.isArray(E)){const R=new Map;for(const N of E){R.set(N.module,N)}E=R}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,R){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,R)}}registerRawExport(E,R){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,R)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:R=undefined,call:N=false,directImport:$=false,asiSafe:j=false}){const q=this._modulesMap.get(E);const G=N?"_call":"";const ie=$?"_directImport":"";const ae=j?"_asiSafe1":j===false?"_asiSafe0":"";const le=R?Buffer.from(JSON.stringify(R),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${le}${G}${ie}${ae}__._`}static isModuleReference(E){return R.test(E)}static matchModuleReference(E){const N=R.exec(E);if(!N)return null;const $=+N[1];const j=N[5];return{index:$,ids:N[2]==="ns"?[]:JSON.parse(Buffer.from(N[2],"hex").toString("utf-8")),call:!!N[3],directImport:!!N[4],asiSafe:j?j==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=N;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=$;E.exports=ConcatenationScope},27310:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class ConcurrentCompilationError extends ${constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(48135);const q=N(63272);const G=N(58159);const{mergeRuntime:ie}=N(37416);const wrapInCondition=(E,R)=>{if(typeof R==="string"){return G.asString([`if (${E}) {`,G.indent(R),"}",""])}else{return new $(`if (${E}) {\n`,new j("\t",R),"}\n")}};class ConditionalInitFragment extends q{constructor(E,R,N,$,j=true,q){super(E,R,N,$,q);this.runtimeCondition=j}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.content;return wrapInCondition(R,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const R=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(R==="true")return this.endContent;return wrapInCondition(R,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const R=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,R,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,R,N)=>{"use strict";const $=N(59455);const j=N(66298);const{evaluateToString:q}=N(48472);const{parseResource:G}=N(49197);const collectDeclaration=(E,R)=>{const N=[R];while(N.length>0){const R=N.pop();switch(R.type){case"Identifier":E.add(R.name);break;case"ArrayPattern":for(const E of R.elements){if(E){N.push(E)}}break;case"AssignmentPattern":N.push(R.left);break;case"ObjectPattern":for(const E of R.properties){N.push(E.value)}break;case"RestElement":N.push(R.argument);break}}};const getHoistedDeclarations=(E,R)=>{const N=new Set;const $=[E];while($.length>0){const E=$.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const R of E.body){$.push(R)}break;case"IfStatement":$.push(E.consequent);$.push(E.alternate);break;case"ForStatement":$.push(E.init);$.push(E.body);break;case"ForInStatement":case"ForOfStatement":$.push(E.left);$.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":$.push(E.body);break;case"SwitchStatement":for(const R of E.cases){for(const E of R.consequent){$.push(E)}}break;case"TryStatement":$.push(E.block);if(E.handler){$.push(E.handler.body)}$.push(E.finalizer);break;case"FunctionDeclaration":if(R){collectDeclaration(N,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const R of E.declarations){collectDeclaration(N,R.id)}}break}}return Array.from(N)};class ConstPlugin{apply(E){const R=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(`${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;if(q){let R;if(E.scope.isStrict){R=getHoistedDeclarations(q,false)}else{R=getHoistedDeclarations(q,true)}let N;if(R.length>0){N=`{ var ${R.join(", ")}; }`}else{N="{}"}const $=new j(N,q.range);$.loc=q.loc;E.state.module.addPresentationalDependency($)}return $}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;const N=E.evaluateExpression(R.test);const $=N.asBool();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.test)}const q=$?R.alternate:R.consequent;const G=new j("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return $}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(R.operator==="&&"||R.operator==="||"){const N=E.evaluateExpression(R.left);const $=N.asBool();if(typeof $==="boolean"){const q=R.operator==="&&"&&$||R.operator==="||"&&!$;if(!N.couldHaveSideEffects()&&(N.isBoolean()||q)){const q=new j(` ${$}`,N.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(R.left)}if(!q){const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}return q}}else if(R.operator==="??"){const N=E.evaluateExpression(R.left);const $=N&&N.asNullish();if(typeof $==="boolean"){if(!N.couldHaveSideEffects()&&$){const $=new j(" null",N.range);$.loc=R.loc;E.state.module.addPresentationalDependency($)}else{const N=new j("0",R.right.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.walkExpression(R.left)}return $}}}));E.hooks.optionalChaining.tap("ConstPlugin",(R=>{const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length){const $=N.pop();const q=E.evaluateExpression($);if(q&&q.asNullish()){const N=new j(" undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).query)(N)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).query),N.range,"__resourceQuery");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(R(E.state.module.resource).fragment)(N)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const j=new $(JSON.stringify(R(E.state.module.resource).fragment),N.range,"__resourceFragment");j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}))};N.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(98221);const{makeWebpackError:G}=N(3728);const ie=N(53453);const ae=N(76150);const le=N(58159);const _e=N(81627);const{compareLocations:Ee,concatComparators:we,compareSelect:Ie,keepOriginalOrder:Me,compareModulesById:Te}=N(68673);const{contextify:Ne,parseResource:Be}=N(49197);const Le=N(56202);const je={timestamp:true};const ze=new Set(["javascript"]);class ContextModule extends ie{constructor(E,R){const N=Be(R?R.resource:"");const $=N.path;const j=R&&R.resourceQuery||N.query;const q=R&&R.resourceFragment||N.fragment;super("javascript/dynamic",$);this.resolveDependencies=E;this.options={...R,resource:$,resourceQuery:j,resourceFragment:q};if(R&&R.resolveOptions!==undefined){this.resolveOptions=R.resolveOptions}if(R&&typeof R.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return ze}updateCacheModule(E){const R=E;this.resolveDependencies=R.resolveDependencies;this.options=R.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let R=E.shorten(this.context)+"/";if(this.options.resourceQuery){R+=` ${this.options.resourceQuery}`}if(this.options.mode){R+=` ${this.options.mode}`}if(!this.options.recursive){R+=" nonrecursive"}if(this.options.addon){R+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){R+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const N of Object.keys(E)){R+=` ${N}: ${E[N]}`}}if(this.options.namespaceObject==="strict"){R+=" strict namespace object"}else if(this.options.namespaceObject){R+=" namespace object"}return R}libIdent(E){let R=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){R+=` ${this.options.mode}`}if(this.options.recursive){R+=" recursive"}if(this.options.addon){R+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){R+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){R+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){R+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){R+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return R}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},R){if(this._forceBuild)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,N)=>{R(E,!N)}))}build(E,R,N,$,j){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies($,this.options,((E,N)=>{if(E){return j(G(E,"ContextModule.resolveDependencies"))}if(!N){j();return}for(const E of N){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}N.sort(we(Ie((E=>E.loc),Ee),Me(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=N}else if(this.options.mode==="lazy-once"){if(N.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const R of N){E.addDependency(R)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of N){E.weak=true}this.dependencies=N}else if(this.options.mode==="lazy"){let E=0;for(const R of N){let N=this.options.chunkName;if(N){if(!/\[(index|request)\]/.test(N)){N+="[index]"}N=N.replace(/\[index\]/g,`${E++}`);N=N.replace(/\[request\]/g,le.toPath(R.userRequest))}const $=new q({...this.options.groupOptions,name:N},R.loc,R.userRequest);$.addDependency(R);this.addBlock($)}}else{j(new _e(`Unsupported mode "${this.options.mode}" in context`));return}R.fileSystemInfo.createSnapshot(ie,null,[this.context],null,je,((E,R)=>{if(E)return j(E);this.buildInfo.snapshot=R;j()}))}))}addCacheDependencies(E,R,N,$){R.add(this.context)}getUserRequestMap(E,R){const N=R.moduleGraph;const $=E.filter((E=>N.getModule(E))).sort(((E,R)=>{if(E.userRequest===R.userRequest){return 0}return E.userRequestN.getModule(E))).filter(Boolean).sort(j);const G=Object.create(null);for(const E of q){const j=E.getExportsType(N,this.options.namespaceObject==="strict");const q=R.getModuleId(E);switch(j){case"namespace":G[q]=9;$|=1;break;case"dynamic":G[q]=7;$|=2;break;case"default-only":G[q]=1;$|=4;break;case"default-with-named":G[q]=3;$|=8;break;default:throw new Error(`Unexpected exports type ${j}`)}}if($===1){return 9}if($===2){return 7}if($===4){return 1}if($===8){return 3}if($===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,R){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${R?" | 16":""})`}getReturnModuleObjectSource(E,R,N="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,R)};`}return`return ${ae.createFakeNamespaceObject}(id, ${N}${R?" | 16":""})`}getSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(R)};`}getWeakSyncSource(E,R,N){const $=this.getUserRequestMap(E,N);const j=this.getFakeMap(E,N);const q=this.getReturnModuleObjectSource(j);return`var map = ${JSON.stringify($,null,"\t")};\n${this.getFakeMapInitStatement(j)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${j?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=$.supportsArrowFunction();const q=this.getUserRequestMap(E,N);const G=this.getFakeMap(E,N);const ie=G!==9?`${j?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${j?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,R,N,{runtimeTemplate:$,chunkGraph:j}){const q=$.blockPromise({chunkGraph:j,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=$.supportsArrowFunction();const ie=this.getUserRequestMap(R,j);const le=this.getFakeMap(R,j);const _e=le!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(le,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(le)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${_e});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,R,{chunkGraph:N,runtimeTemplate:$}){const j=N.moduleGraph;const q=$.supportsArrowFunction();let G=false;let ie=true;const le=this.getFakeMap(E.map((E=>E.dependencies[0])),N);const _e=typeof le==="object";const Ee=E.map((E=>{const R=E.dependencies[0];return{dependency:R,module:j.getModule(R),block:E,userRequest:R.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of Ee){const R=N.getBlockChunkGroup(E.block);const $=R&&R.chunks||[];E.chunks=$;if($.length>0){ie=false}if($.length!==1){G=true}}const we=ie&&!_e;const Ie=Ee.sort(((E,R)=>{if(E.userRequest===R.userRequest)return 0;return E.userRequestE.id)))}}const Te=_e?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Te}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Te}])`;const Be=this.getReturnModuleObjectSource(le,true,we?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${we?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Be}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Be}\n\t});\n}`;return`var map = ${JSON.stringify(Me,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${$.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,R){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,R){const N=R.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${N?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${R.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:R,chunkGraph:N}){const $=N.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,$,{runtimeTemplate:R,chunkGraph:N})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,$,{chunkGraph:N,runtimeTemplate:R})}return this.getSourceForEmptyAsyncContext($,R)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,$,N)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,$,N)}return this.getSourceForEmptyContext($,R)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new $(E,this.identifier())}return new j(E)}codeGeneration(E){const{chunkGraph:R}=E;const N=new Map;N.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const $=new Set;const j=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));$.add(ae.module);$.add(ae.hasOwnProperty);if(j.length>0){const E=this.options.mode;$.add(ae.require);if(E==="weak"){$.add(ae.moduleFactories)}else if(E==="async-weak"){$.add(ae.moduleFactories);$.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){$.add(ae.ensureChunk)}if(this.getFakeMap(j,R)!==9){$.add(ae.createFakeNamespaceObject)}}return{sources:N,runtimeRequirements:$}}size(E){let R=160;for(const E of this.dependencies){const N=E;R+=5+N.userRequest.length}return R}serialize(E){const{write:R}=E;R(this._identifier);R(this._forceBuild);super.serialize(E)}deserialize(E){const{read:R}=E;this._identifier=R();this._forceBuild=R();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,R,N)=>{"use strict";const $=N(62355);const{AsyncSeriesWaterfallHook:j,SyncWaterfallHook:q}=N(92960);const G=N(58126);const ie=N(40674);const ae=N(90872);const le=N(83379);const{cachedSetProperty:_e}=N(90149);const{createFakeHook:Ee}=N(16595);const{join:we}=N(95396);const Ie={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const R=new j(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new j(["data"]),afterResolve:new j(["data"]),contextModuleFiles:new q(["files"]),alternatives:Ee({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,N)=>{R.tap(E,N)},tapAsync:(E,N)=>{R.tapAsync(E,((E,R,$)=>N(E,$)))},tapPromise:(E,N)=>{R.tapPromise(E,N)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:R});this.resolverFactory=E}create(E,R){const N=E.context;const j=E.dependencies;const q=E.resolveOptions;const ie=j[0];const ae=new le;const Ee=new le;const we=new le;this.hooks.beforeResolve.callAsync({context:N,dependencies:j,resolveOptions:q,fileDependencies:ae,missingDependencies:Ee,contextDependencies:we,...ie.options},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}const q=N.context;const ie=N.request;const le=N.resolveOptions;let Me,Te,Ne="";const Be=ie.lastIndexOf("!");if(Be>=0){let E=ie.substr(0,Be+1);let R;for(R=0;R0?_e(le||Ie,"dependencyType",j[0].category):le);const je=this.resolverFactory.get("loader");$.parallel([E=>{Le.resolve({},q,Te,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((R,N)=>{if(R)return E(R);E(null,N)}))},E=>{$.map(Me,((E,R)=>{je.resolve({},q,E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we},((E,N)=>{if(E)return R(E);R(null,N)}))}),E)}],((E,$)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}this.hooks.afterResolve.callAsync({addon:Ne+$[1].join("!")+($[1].length>0?"!":""),resource:$[0],resolveDependencies:this.resolveDependencies.bind(this),...N},((E,N)=>{if(E){return R(E,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}if(!N){return R(null,{fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}return R(null,{module:new G(N.resolveDependencies,N),fileDependencies:ae,missingDependencies:Ee,contextDependencies:we})}))}))}))}resolveDependencies(E,R,N){const j=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:le,regExp:_e,include:Ee,exclude:Ie,referencedExports:Me,category:Te,typePrefix:Ne}=R;if(!_e||!q)return N(null,[]);const addDirectoryChecked=(R,N,$)=>{E.realpath(R,((E,j)=>{if(E)return $(E);if(N.has(j))return $(null,[]);let q;addDirectory(R,((E,R)=>{if(q===undefined){q=new Set(N);q.add(j)}addDirectoryChecked(E,q,R)}),$)}))};const addDirectory=(N,Be,Le)=>{E.readdir(N,((je,ze)=>{if(je)return Le(je);const Ue=j.hooks.contextModuleFiles.call(ze.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);$.map(Ue.filter((E=>E.indexOf(".")!==0)),(($,j)=>{const Le=we(E,N,$);if(!Ie||!Le.match(Ie)){E.stat(Le,((E,N)=>{if(E){if(E.code==="ENOENT"){return j()}else{return j(E)}}if(N.isDirectory()){if(!le)return j();Be(Le,j)}else if(N.isFile()&&(!Ee||Le.match(Ee))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],R,((E,R)=>{if(E)return j(E);R=R.filter((E=>_e.test(E.request))).map((E=>{const R=new ae(E.request+G+ie,E.request,Ne,Te,Me);R.optional=true;return R}));j(null,R)}))}else{j()}}))}else{j()}}),((E,R)=>{if(E)return Le(E);if(!R)return Le(null,[]);const N=[];for(const E of R){if(E)N.push(...E)}Le(null,N)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,N)}else{const addSubDirectory=(E,R)=>addDirectory(E,addSubDirectory,R);addDirectory(q,addSubDirectory,N)}}}},26552:(E,R,N)=>{"use strict";const $=N(90872);const{join:j}=N(95396);class ContextReplacementPlugin{constructor(E,R,N,$){this.resourceRegExp=E;if(typeof R==="function"){this.newContentCallback=R}else if(typeof R==="string"&&typeof N==="object"){this.newContentResource=R;this.newContentCreateContextMap=(E,R)=>{R(null,N)}}else if(typeof R==="string"&&typeof N==="function"){this.newContentResource=R;this.newContentCreateContextMap=N}else{if(typeof R!=="string"){$=N;N=R;R=undefined}if(typeof N!=="boolean"){$=N;N=undefined}this.newContentResource=R;this.newContentRecursive=N;this.newContentRegExp=$}}apply(E){const R=this.resourceRegExp;const N=this.newContentCallback;const $=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(R.test(E.request)){if($!==undefined){E.request=$}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof N==="function"){N(E)}else{for(const R of E.dependencies){if(R.critical)R.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(R.test(ae.resource)){if($!==undefined){if($.startsWith("/")||$.length>1&&$[1]===":"){ae.resource=$}else{ae.resource=j(E.inputFileSystem,ae.resource,$)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof N==="function"){const R=ae.resource;N(ae);if(ae.resource!==R&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=j(E.inputFileSystem,R,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(R,N,j)=>{E(R,((E,R)=>{if(E)return j(E);const q=Object.keys(R).map((E=>new $(R[E]+N.resourceQuery+N.resourceFragment,E,N.category,N.referencedExports)));j(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const q=N(66298);const G=N(87250);const{evaluateToString:ie,toConstantDependency:ae}=N(48472);const le=N(35891);class RuntimeValue{constructor(E,R){this.fn=E;if(Array.isArray(R)){R={fileDependencies:R}}this.options=R||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,R,N){const $=E.state.module.buildInfo;if(this.options===true){$.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){$.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){$.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){$.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){$.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:N,get version(){return R.get(_e+N)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,R,N,$,j,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,R,N,$,j,null))).join(",")}]`}else{G=`{${Object.keys(E).map(($=>{const q=E[$];return JSON.stringify($)+":"+toCode(q,R,N,$,j,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,R,N,$,j,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(R,N,$),R,N,$,j,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,R,N,$,j,q)}if(typeof E==="bigint"){return j.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const R=Object.keys(E).map((R=>({key:R,value:toCacheVersion(E[R])})));if(R.some((({value:E})=>E===undefined)))return undefined;return`{${R.map((({key:E,value:R})=>`${E}: ${R}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const _e="webpack/DefinePlugin ";const Ee="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,R){return new RuntimeValue(E,R)}apply(E){const R=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:we}=E;const Ie=le(E.outputOptions.hashFunction);Ie.update(E.valueCacheVersions.get(Ee)||"");const handler=N=>{const j=E.valueCacheVersions.get(Ee);N.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=N.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(Ee,j)}));const addValueDependency=R=>{const{buildInfo:$}=N.state.module;$.valueDependencies.set(_e+R,E.valueCacheVersions.get(_e+R))};const withValueDependency=(E,R)=>(...N)=>{addValueDependency(E);return R(...N)};const walkDefinitions=(E,R)=>{Object.keys(E).forEach((N=>{const $=E[N];if($&&typeof $==="object"&&!($ instanceof RuntimeValue)&&!($ instanceof RegExp)){walkDefinitions($,R+N+".");applyObjectDefine(R+N,$);return}applyDefineKey(R,N);applyDefine(R+N,$)}))};const applyDefineKey=(E,R)=>{const $=R.split(".");$.slice(1).forEach(((j,q)=>{const G=E+$.slice(0,q+1).join(".");N.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(R);return true}))}))};const applyDefine=(R,j)=>{const q=R;const G=/^typeof\s+/.test(R);if(G)R=R.replace(/^typeof\s+/,"");let ie=false;let le=false;if(!G){N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",($=>{if(ie)return;addValueDependency(q);ie=true;const G=N.evaluate(toCode(j,N,E.valueCacheVersions,R,we,null));ie=false;G.setRange($.range);return G}));N.hooks.expression.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const G=toCode(j,N,E.valueCacheVersions,q,we,!N.isAsiPosition(R.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(R)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(R)}else{return ae(N,G)(R)}}))}N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",(R=>{if(le)return;le=true;addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const ae=N.evaluate(ie);le=false;ae.setRange(R.range);return ae}));N.hooks.typeof.for(R).tap("DefinePlugin",(R=>{addValueDependency(q);const $=toCode(j,N,E.valueCacheVersions,q,we,null);const ie=G?$:"typeof ("+$+")";const le=N.evaluate(ie);if(!le.isString())return;return ae(N,JSON.stringify(le.string)).bind(N)(R)}))};const applyObjectDefine=(R,j)=>{N.hooks.canRename.for(R).tap("DefinePlugin",(()=>{addValueDependency(R);return true}));N.hooks.evaluateIdentifier.for(R).tap("DefinePlugin",(E=>{addValueDependency(R);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));N.hooks.evaluateTypeof.for(R).tap("DefinePlugin",withValueDependency(R,ie("object")));N.hooks.expression.for(R).tap("DefinePlugin",(q=>{addValueDependency(R);const G=stringifyObj(j,N,E.valueCacheVersions,R,we,!N.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(N,G,[$.require])(q)}else if(/__webpack_require__/.test(G)){return ae(N,G,[$.requireScope])(q)}else{return ae(N,G)(q)}}));N.hooks.typeof.for(R).tap("DefinePlugin",withValueDependency(R,ae(N,JSON.stringify("object"))))};walkDefinitions(R,"")};N.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);N.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(R,N)=>{Object.keys(R).forEach(($=>{const q=R[$];const G=toCacheVersion(q);const ie=_e+N+$;Ie.update("|"+N+$);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const R=new j(`DefinePlugin\nConflicting values for '${N+$}'`);R.details=`'${ae}' !== '${G}'`;R.hideStack=true;E.warnings.push(R)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,N+$+".")}}))};walkDefinitionsForValues(R,"");E.valueCacheVersions.set(Ee,Ie.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(53453);const G=N(76150);const ie=N(49422);const ae=N(96076);const le=N(56202);const _e=new Set(["javascript"]);const Ee=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,R,N,$,j){super("javascript/dynamic",null);this.sourceRequest=E;this.request=R.id;this.delegationType=N;this.userRequest=$;this.originalRequest=j;this.delegateData=R;this.delegatedSourceDependency=undefined}getSourceTypes(){return _e}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));j()}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const q=this.dependencies[0];const G=R.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:N,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new $(ie,this.identifier()))}else{ae.set("javascript",new j(ie))}return{sources:ae,runtimeRequirements:Ee}}size(E){return 42}updateHash(E,R){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceRequest);R(this.delegateData);R(this.delegationType);R(this.userRequest);R(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new DelegatedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.delegationType=R.delegationType;this.userRequest=R.userRequest;this.originalRequest=R.originalRequest;this.delegateData=R.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}le(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,R,N)=>{"use strict";const $=N(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const R=this.options.scope;if(R){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,N)=>{const[j]=E.dependencies;const{request:q}=j;if(q&&q.startsWith(`${R}/`)){const E="."+q.substr(R.length);let j;if(E in this.options.content){j=this.options.content[E];return N(null,new $(this.options.source,j,this.options.type,E,q))}for(let R=0;R{const R=E.libIdent(this.options);if(R){if(R in this.options.content){const N=this.options.content[R];return new $(this.options.source,N,this.options.type,R,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,R,N)=>{"use strict";const $=N(56396);const j=N(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:R})=>{new $({associatedObjectForCache:E.root,...this.options}).apply(R)}))}}E.exports=DelegatedPlugin},32448:(E,R,N)=>{"use strict";const $=N(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const R=this.dependencies.indexOf(E);if(R>=0){this.dependencies.splice(R,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,R){for(const N of this.dependencies){N.updateHash(E,R)}for(const N of this.blocks){N.updateHash(E,R)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}$(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("transitive");const q=$((()=>{const E=N(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return j}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,R){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,R){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=j;E.exports=Dependency},84304:(E,R,N)=>{"use strict";class DependencyTemplate{apply(E,R,$){const j=N(75884);throw new j}}E.exports=DependencyTemplate},46828:(E,R,N)=>{"use strict";const $=N(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,R){this._map.set(E,R)}updateHash(E){const R=$(this._hashFunction);R.update(`${this._hash}${E}`);this._hash=R.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,R,N)=>{"use strict";const $=N(80419);const j=N(95189);const q=N(66583);class DllEntryPlugin{constructor(E,R,N){this.context=E;this.entries=R;this.options=N}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:R})=>{const N=new $;E.dependencyFactories.set(j,N);E.dependencyFactories.set(q,R)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,R)=>{E.addEntry(this.context,new j(this.entries.map(((E,R)=>{const N=new q(E);N.loc={name:this.options.name,index:R};return N})),this.options.name),this.options,R)}))}}E.exports=DllEntryPlugin},44593:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends j{constructor(E,R,N){super("javascript/dynamic",E);this.dependencies=R;this.name=N}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={};return j()}codeGeneration(E){const R=new Map;R.set("javascript",new $("module.exports = __webpack_require__;"));return{sources:R,runtimeRequirements:ae}}needBuild(E,R){return R(null,!this.buildMeta)}size(E){return 12}updateHash(E,R){E.update(`dll module${this.name||""}`);super.updateHash(E,R)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,R,N)=>{"use strict";const $=N(44593);const j=N(40674);class DllModuleFactory extends j{constructor(){super();this.hooks=Object.freeze({})}create(E,R){const N=E.dependencies[0];R(null,{module:new $(E.context,N.dependencies,N.name)})}}E.exports=DllModuleFactory},73887:(E,R,N)=>{"use strict";const $=N(9013);const j=N(6283);const q=N(77750);const G=N(35817);const ie=G(N(43548),(()=>N(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((R,N)=>{if(typeof N!=="function"){for(const j of Object.keys(N)){const q={name:j,filename:N.filename};new $(R,N[j].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new j("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,R,N)=>{"use strict";const $=N(78688);const j=N(56396);const q=N(59084);const G=N(81627);const ie=N(49422);const ae=N(35817);const le=N(49197).makePathsRelative;const _e=ae(N(69744),(()=>N(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){_e(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(ie,R)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((R,N)=>{if("manifest"in this.options){const j=this.options.manifest;if(typeof j==="string"){E.inputFileSystem.readFile(j,((q,G)=>{if(q)return N(q);const ie={path:j,data:undefined,error:undefined};try{ie.data=$(G.toString("utf-8"))}catch(R){const N=le(E.options.context,j,E.root);ie.error=new DllManifestError(N,R.message)}this._compilationData.set(R,ie);return N()}));return}}return N()}));E.hooks.compile.tap("DllReferencePlugin",(R=>{let N=this.options.name;let $=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let j;if(typeof E==="string"){const E=this._compilationData.get(R);if(E.error){return}j=E.data}else{j=E}if(j){if(!N)N=j.name;if(!$)$=j.type;if(!G)G=j.content}}const ie={};const ae="dll-reference "+N;ie[ae]=N;const le=R.normalModuleFactory;new q($||"var",ie).apply(le);new j({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(le)}));E.hooks.compilation.tap("DllReferencePlugin",((E,R)=>{if("manifest"in this.options){let N=this.options.manifest;if(typeof N==="string"){const $=this._compilationData.get(R);if($.error){E.errors.push($.error)}E.fileDependencies.add(N)}}}))}}class DllManifestError extends G{constructor(E,R){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${R}`}}E.exports=DllReferencePlugin},85227:(E,R,N)=>{"use strict";const $=N(64699);const j=N(59674);const q=N(66583);class DynamicEntryPlugin{constructor(E,R){this.context=E;this.entry=R}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((R,N)=>Promise.resolve(this.entry()).then((N=>{const q=[];for(const G of Object.keys(N)){const ie=N[G];const ae=$.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((N,$)=>{R.addEntry(this.context,j.createDependency(E,ae),ae,(E=>{if(E)return $(E);N()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,R,N)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((R,N)=>{EntryOptionPlugin.applyEntryOption(E,R,N);return true}))}static applyEntryOption(E,R,$){if(typeof $==="function"){const j=N(85227);new j(R,$).apply(E)}else{const j=N(59674);for(const N of Object.keys($)){const q=$[N];const G=EntryOptionPlugin.entryDescriptionToOptions(E,N,q);for(const N of q.import){new j(R,N,G).apply(E)}}}}static entryDescriptionToOptions(E,R,$){const j={name:R,filename:$.filename,runtime:$.runtime,layer:$.layer,dependOn:$.dependOn,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,library:$.library};if($.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if($.chunkLoading){const R=N(50369);R.checkEnabled(E,$.chunkLoading)}if($.wasmLoading){const R=N(69085);R.checkEnabled(E,$.wasmLoading)}if($.library){const R=N(13984);R.checkEnabled(E,$.library.type)}return j}}E.exports=EntryOptionPlugin},59674:(E,R,N)=>{"use strict";const $=N(66583);class EntryPlugin{constructor(E,R,N){this.context=E;this.entry=R;this.options=N||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));const{entry:R,options:N,context:j}=this;const q=EntryPlugin.createDependency(R,N);E.hooks.make.tapAsync("EntryPlugin",((E,R)=>{E.addEntry(j,q,N,(E=>{R(E)}))}))}static createDependency(E,R){const N=new $(E);N.loc={name:typeof R==="object"?R.name:R};return N}}E.exports=EntryPlugin},71452:(E,R,N)=>{"use strict";const $=N(84558);class Entrypoint extends ${constructor(E,R=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=R}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,R){if(this._runtimeChunk===E)this._runtimeChunk=R;if(this._entrypointChunk===E)this._entrypointChunk=R;return super.replaceChunk(E,R)}}E.exports=Entrypoint},64856:(E,R,N)=>{"use strict";const $=N(24820);const j=N(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const R={};for(const N of this.keys){const $=process.env[N]!==undefined?process.env[N]:this.defaultValues[N];if($===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const R=new j(`EnvironmentPlugin - ${N} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");R.name="EnvVariableNotDefinedError";E.errors.push(R)}))}R[`process.env.${N}`]=$===undefined?"undefined":JSON.stringify($)}new $(R).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,R)=>{"use strict";const N="LOADER_EXECUTION";const $="WEBPACK_OPTIONS";R.cutOffByFlag=(E,R)=>{E=E.split("\n");for(let N=0;NR.cutOffByFlag(E,N);R.cutOffWebpackOptions=E=>R.cutOffByFlag(E,$);R.cutOffMultilineMessage=(E,R)=>{E=E.split("\n");R=R.split("\n");const N=[];E.forEach(((E,$)=>{if(!E.includes(R[$]))N.push(E)}));return N.join("\n")};R.cutOffMessage=(E,R)=>{const N=E.indexOf("\n");if(N===-1){return E===R?"":E}else{const $=E.substr(0,N);return $===R?E.substr(N+1):E}};R.cleanUp=(E,N)=>{E=R.cutOffLoaderExecution(E);E=R.cutOffMessage(E,N);return E};R.cleanUpWebpackOptions=(E,N)=>{E=R.cutOffWebpackOptions(E);E=R.cutOffMultilineMessage(E,N);return E}},91331:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(16734);const G=N(70354);const ie=N(18161);const ae=new WeakMap;const le=new j(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const R=ie.getCompilationHooks(E);R.renderModuleContent.tap("EvalDevToolModulePlugin",((R,N,{runtimeTemplate:$,chunkGraph:ie})=>{const le=ae.get(R);if(le!==undefined)return le;if(N instanceof q){ae.set(R,R);return R}const _e=R.source();const Ee=G.createFilename(N,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:$.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const we="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(Ee).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Ie=new j(`eval(${JSON.stringify(_e+we)});`);ae.set(R,Ie);return Ie}));R.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));R.render.tap("EvalDevToolModulePlugin",(E=>new $(le,E)));R.chunkHash.tap("EvalDevToolModulePlugin",((E,R)=>{R.update("EvalDevToolModulePlugin");R.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(70354);const G=N(53520);const ie=N(26867);const ae=N(18161);const le=N(95734);const{makePathsAbsolute:_e}=N(49197);const Ee=new WeakMap;const we=new j(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let R;if(typeof E==="string"){R={append:E}}else{R=E}this.sourceMapComment=R.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=R.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=R.namespace||"";this.options=R}apply(E){const R=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(N=>{const Ie=ae.getCompilationHooks(N);new ie(R).apply(N);const Me=q.matchObject.bind(q,R);Ie.renderModuleContent.tap("EvalSourceMapDevToolPlugin",(($,ie,{runtimeTemplate:ae,chunkGraph:we})=>{const Ie=Ee.get($);if(Ie!==undefined){return Ie}const result=E=>{Ee.set($,E);return E};if(ie instanceof G){const E=ie;if(!Me(E.resource)){return result($)}}else if(ie instanceof le){const E=ie;if(E.rootModule instanceof G){const R=E.rootModule;if(!Me(R.resource)){return result($)}}else{return result($)}}else{return result($)}let Te;let Ne;if($.sourceAndMap){const E=$.sourceAndMap(R);Te=E.map;Ne=E.source}else{Te=$.map(R);Ne=$.source()}if(!Te){return result($)}Te={...Te};const Be=E.options.context;const Le=E.root;const je=Te.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(Be,E.slice(10),Le);const R=N.findModule(E);return R||E}));let ze=je.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:we,hashFunction:N.outputOptions.hashFunction})));ze=q.replaceDuplicates(ze,((E,R,N)=>{for(let R=0;R"the eval-source-map devtool is used."));Ie.render.tap("EvalSourceMapDevToolPlugin",(E=>new $(we,E)));Ie.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,R)=>{R.update("EvalSourceMapDevToolPlugin");R.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,R,N)=>{"use strict";const{equals:$}=N(73910);const j=N(16102);const q=N(56202);const{forEachRuntime:G}=N(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,R,N,$){this.exports=E;this.otherProvided=R;this.otherCanMangleProvide=N;this.otherTerminalBinding=$}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[R,N]of this._exports){E.set(R,N)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[R,N]of this._exports){E.set(R,N)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const R=[];for(const N of E.values()){R.push(N.name)}R.sort();let N=0;for(const $ of E.values()){const E=R[N];if($.name!==E)break;N++}for(;N0){const R=this.getReadOnlyExportInfo(E[0]);if(!R.exportsInfo)return undefined;return R.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,R,N,$,j){let q=false;if(R){for(const E of R){this.getExportInfo(E)}}for(const j of this._exports.values()){if(R&&R.has(j.name))continue;if(j.provided!==true&&j.provided!==null){j.provided=null;q=true}if(!E&&j.canMangleProvide!==false){j.canMangleProvide=false;q=true}if(N){j.setTarget(N,$,[j.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,R,N,$,j)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(N){this._otherExportsInfo.setTarget(N,$,undefined,j)}}return q}setUsedInUnknownWay(E){let R=false;for(const N of this._exports.values()){if(N.setUsedInUnknownWay(E)){R=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){R=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const R of this._exports.values()){if(R.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const R=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:R.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getUsedExports(E);if(N===null)return null;if(N===true)return true;if(N!==false){for(const E of N){R.push(E)}}}if(R.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new j(R)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.provided){case undefined:return null;case null:return true;case true:E.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getProvidedExports();if(R===null)return null;if(R===true)return true;for(const N of R){if(!E.includes(N)){E.push(N)}}}return E}getRelevantExports(E){const R=[];for(const N of this._exports.values()){const $=N.getUsed(E);if($===ie.Unused)continue;if(N.provided===false)continue;R.push(N)}if(this._redirectTo!==undefined){for(const N of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(N.name))R.push(N)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){R.push(this._otherExportsInfo)}return R}isExportProvided(E){if(Array.isArray(E)){const R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.isExportProvided(E.slice(1))}return R.provided}const R=this.getReadOnlyExportInfo(E);return R.provided}getUsageKey(E){const R=[];if(this._redirectTo!==undefined){R.push(this._redirectTo.getUsageKey(E))}else{R.push(this._otherExportsInfo.getUsed(E))}R.push(this._sideEffectsOnlyInfo.getUsed(E));for(const N of this.orderedOwnedExports){R.push(N.getUsed(E))}return R.join("|")}isEquallyUsed(E,R){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,R))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(R)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(R)){return false}for(const N of this.ownedExports){if(N.getUsed(E)!==N.getUsed(R))return false}return true}getUsed(E,R){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(R);let N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.getUsed(E.slice(1),R)}return N.getUsed(R)}let N=this.getReadOnlyExportInfo(E);return N.getUsed(R)}getUsedName(E,R){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(R))return false;return E}let N=this.getReadOnlyExportInfo(E[0]);const $=N.getUsedName(E[0],R);if($===false)return false;const j=$===E[0]&&E.length===1?E:[$];if(E.length===1){return j}if(N.exportsInfo&&N.getUsed(R)===ie.OnlyPropertiesUsed){const $=N.exportsInfo.getUsedName(E.slice(1),R);if(!$)return false;return j.concat($)}else{return j.concat(E.slice(1))}}else{let N=this.getReadOnlyExportInfo(E);const $=N.getUsedName(E,R);return $}}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){const $=new Set(N);$.add(this);for(const N of this.orderedExports){if(N.hasInfo(this._otherExportsInfo,R)){N._updateHash(E,R,$)}}this._sideEffectsOnlyInfo._updateHash(E,R,$);this._otherExportsInfo._updateHash(E,R,$);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,R,$)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const R=this._otherExportsInfo.canMangleProvide;const N=this._otherExportsInfo.terminalBinding;const $=[];for(const j of this.orderedExports){if(j.provided!==E||j.canMangleProvide!==R||j.terminalBinding!==N||j.exportsInfoOwned){$.push({name:j.name,provided:j.provided,canMangleProvide:j.canMangleProvide,terminalBinding:j.terminalBinding,exportsInfo:j.exportsInfoOwned?j.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData($,E,R,N)}restoreProvided({otherProvided:E,otherCanMangleProvide:R,otherTerminalBinding:N,exports:$}){let j=true;for(const $ of this._exports.values()){j=false;$.provided=E;$.canMangleProvide=R;$.terminalBinding=N}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=R;this._otherExportsInfo.terminalBinding=N;for(const E of $){const R=this.getExportInfo(E.name);R.provided=E.provided;R.canMangleProvide=E.canMangleProvide;R.terminalBinding=E.terminalBinding;if(E.exportsInfo){const N=R.createNestedExportsInfo();N.restoreProvided(E.exportsInfo)}}if(j)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,R){this.name=E;this._usedName=R?R._usedName:null;this._globalUsed=R?R._globalUsed:undefined;this._usedInRuntime=R&&R._usedInRuntime?new Map(R._usedInRuntime):undefined;this._hasUseInRuntimeInfo=R?R._hasUseInRuntimeInfo:false;this.provided=R?R.provided:undefined;this.terminalBinding=R?R.terminalBinding:false;this.canMangleProvide=R?R.canMangleProvide:undefined;this.canMangleUse=R?R.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(R&&R._target){this._target=new Map;for(const[N,$]of R._target){this._target.set(N,{connection:$.connection,export:$.export||[E],priority:$.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let R=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,R)));return true}}else{let $=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(R!==j&&E(j)){if(R===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,R)}$=true}}));if($){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,R){if(R===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(R,(R=>this._usedInRuntime.set(R,E)));return true}}else{let N=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(E!==$){if(E===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,E)}N=true}}));if(N){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,R,N,j=0){if(N)N=[...N];if(!this._target){this._target=new Map;this._target.set(E,{connection:R,export:N,priority:j});return true}const q=this._target.get(E);if(!q){if(q===null&&!R)return false;this._target.set(E,{connection:R,export:N,priority:j});this._maxTarget=undefined;return true}if(q.connection!==R||q.priority!==j||(N?!q.export||!$(q.export,N):q.export)){q.connection=R;q.export=N;q.priority=j;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const R=this._usedInRuntime.get(E);return R===undefined?ie.Unused:R}else if(E===undefined){let E=ie.Unused;for(const R of this._usedInRuntime.values()){if(R===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,R=RETURNS_TRUE){if(this.terminalBinding)return this;const N=this.getTarget(E,R);if(!N)return undefined;const $=E.getExportsInfo(N.module);if(!N.export)return $;return $.getReadOnlyExportInfoRecursive(N.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let R=Infinity;for(const{priority:N}of this._target.values()){if(EN)R=N}if(E===R)return this._maxTarget=this._target;const N=new Map;for(const[R,$]of this._target){if(E===$.priority){N.set(R,$)}}this._maxTarget=N;return N}findTarget(E,R){return this._findTarget(E,R,new Set)}_findTarget(E,R,N){if(!this._target||this._target.size===0)return undefined;let $=this._getMaxTarget().values().next().value;if(!$)return undefined;let j={module:$.connection.module,export:$.export};for(;;){if(R(j.module))return j;const $=E.getExportsInfo(j.module);const q=$.getExportInfo(j.export[0]);if(N.has(q))return null;const G=q._findTarget(E,R,N);if(!G)return false;if(j.export.length===1){j=G}else{j={module:G.module,export:G.export?G.export.concat(j.export.slice(1)):j.export.slice(1)}}}}getTarget(E,R=RETURNS_TRUE){const N=this._getTarget(E,R,undefined);if(N===ae)return undefined;return N}_getTarget(E,R,N){const resolveTarget=(N,$)=>{if(!N)return null;if(!N.export){return{module:N.connection.module,connection:N.connection,export:undefined}}let j={module:N.connection.module,connection:N.connection,export:N.export};if(!R(j))return j;let q=false;for(;;){const N=E.getExportsInfo(j.module);const G=N.getExportInfo(j.export[0]);if(!G)return j;if($.has(G))return ae;const ie=G._getTarget(E,R,$);if(ie===ae)return ae;if(!ie)return j;if(j.export.length===1){j=ie;if(!j.export)return j}else{j={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat(j.export.slice(1)):j.export.slice(1)}}if(!R(j))return j;if(!q){$=new Set($);q=true}$.add(G)}};if(!this._target||this._target.size===0)return undefined;if(N&&N.has(this))return ae;const j=new Set(N);j.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,j);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,j);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!$(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,R,N){const $=this._getTarget(E,R,undefined);if($===ae)return undefined;if(!$)return undefined;const j=this._getMaxTarget().values().next().value;if(j.connection===$.connection&&j.export===$.export){return undefined}this._target.clear();this._target.set(undefined,{connection:N?N($):$.connection,export:$.export,priority:0});return $}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,R){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(R)!==E.getUsed(R)}updateHash(E,R){this._updateHash(E,R,new Set)}_updateHash(E,R,N){E.update(`${this._usedName||this.name}${this.getUsed(R)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!N.has(this.exportsInfo)){this.exportsInfo._updateHash(E,R,N)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[R,N]of this._usedInRuntime){const $=E.get(N);if($!==undefined)$.push(R);else E.set(N,[R])}const R=Array.from(E,(([E,R])=>{switch(E){case ie.NoInfo:return`no usage info in ${R.join(", ")}`;case ie.Unknown:return`maybe used in ${R.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${R.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${R.join(", ")}`}}));if(R.length>0){return R.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,R,N)=>{"use strict";const $=N(66298);const j=N(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((R,N)=>{const $=N.length>=2?new j(R.range,N.slice(0,-1),N[N.length-1]):new j(R.range,null,N[0]);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(R=>{const N=new $("true",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}))};R.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(77294);const{UsageState:G}=N(76632);const ie=N(63272);const ae=N(53453);const le=N(76150);const _e=N(58159);const Ee=N(96076);const we=N(35891);const Ie=N(10004);const Me=N(56202);const Te=N(68038);const{register:Ne}=N(24568);const Be=new Set(["javascript"]);const Le=new Set([le.module]);const je=new Set([le.loadScript]);const ze=new Set([le.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,R)=>{if(!Array.isArray(E)){E=[E]}const N=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:R==="this",expression:`${R}${N}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const R=E[0];return{expression:`require(${JSON.stringify(R)})${Te(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const R=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:R}}const N=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(N)})${Te(E,1)}`,chunkInitFragments:R}};const getSourceForImportExternal=(E,R)=>{const N=R.outputOptions.importFunctionName;if(!R.supportsDynamicImport()&&N==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${N}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${N}(${JSON.stringify(E[0])});`}}const $=E[0];return{expression:`${N}(${JSON.stringify($)}).then(${R.returningFunction(`module${Te(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,R,N="md4"){if(R===undefined){R=_e.toIdentifier(E);if(R!==E){R+=`_${we(N).update(E).digest("hex").slice(0,8)}`}}const $=`__WEBPACK_EXTERNAL_MODULE_${R}__`;super(`import * as ${$} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${R}`);this._ident=R;this._identifier=$;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:R}){R(E._request);R(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)===G.Unused){const $=[];for(const j of R.orderedExports){const R=j.getUsedName(j.name,N);if(!R)continue;const q=j.getNestedExportsInfo();if(q){const N=generateModuleRemapping(`${E}${Te([j.name])}`,q);if(N){$.push(`[${JSON.stringify(R)}]: y(${N})`);continue}}$.push(`[${JSON.stringify(R)}]: () => ${E}${Te([j.name])}`)}return`x({ ${$.join(", ")} })`}};const getSourceForModuleExternal=(E,R,N,$)=>{if(!Array.isArray(E))E=[E];const j=new ModuleExternalInitFragment(E[0],undefined,$);const q=`${j.getNamespaceIdentifier()}${Te(E,1)}`;const G=generateModuleRemapping(q,R,N);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${le.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?ze:undefined,chunkInitFragments:[j]}};const getSourceForScriptExternal=(E,R)=>{if(typeof E==="string"){E=Ie(E)}const N=E[0];const $=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${R.basicFunction("resolve, reject",[`if(typeof ${$} !== "undefined") return resolve();`,`${le.loadScript}(${JSON.stringify(N)}, ${R.basicFunction("event",[`if(typeof ${$} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify($)});`])}).then(${R.returningFunction(`${$}${Te(E,2)}`)})`,runtimeRequirements:je}};const checkExternalVariable=(E,R,N)=>`if(typeof ${E} === 'undefined') { ${N.throwMissingModuleErrorBlock({request:R})} }\n`;const getSourceForAmdOrUmdExternal=(E,R,N,$)=>{const j=`__WEBPACK_EXTERNAL_MODULE_${_e.toIdentifier(`${E}`)}__`;return{init:R?checkExternalVariable(j,Array.isArray(N)?N.join("."):N,$):undefined,expression:j}};const getSourceForDefaultCase=(E,R,N)=>{if(!Array.isArray(R)){R=[R]}const $=R[0];const j=Te(R,1);return{init:E?checkExternalVariable($,R.join("."),N):undefined,expression:`${$}${j}`}};class ExternalModule extends ae{constructor(E,R,N){super("javascript/dynamic",null);this.request=E;this.externalType=R;this.userRequest=N}getSourceTypes(){return Be}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:R.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new Ee(true,ie));j()}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:R}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[R];return{request:E,externalType:R}}_getSourceData(E,R,N,$){const{request:j,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal(j,this.externalType);case"global":return getSourceForGlobalVariableExternal(j,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal(j);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule(j):getSourceForCommonJsExternal(j);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const $=N.getModuleId(this);return getSourceForAmdOrUmdExternal($!==null?$:this.identifier(),this.isOptional(R),j,E)}case"import":return getSourceForImportExternal(j,E);case"script":return getSourceForScriptExternal(j,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal(j,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal(j,R.getExportsInfo(this),$,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(R),j,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,R,N,G);let _e=ae.expression;if(ae.iife)_e=`(function() { return ${_e}; }())`;if(ie){_e=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${_e};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{_e=`module.exports = ${_e};`}if(ae.init)_e=`${ae.init}\n${_e}`;let Ee=undefined;if(ae.chunkInitFragments){Ee=new Map;Ee.set("chunkInitFragments",ae.chunkInitFragments)}const we=new Map;if(this.useSourceMap||this.useSimpleSourceMap){we.set("javascript",new $(_e,this.identifier()))}else{we.set("javascript",new j(_e))}let Ie=ae.runtimeRequirements;if(!ie){if(!Ie){Ie=Le}else{const E=new Set(Ie);E.add(le.module);Ie=E}}return{sources:we,runtimeRequirements:Ie||Ue,data:Ee}}size(E){return 42}updateHash(E,R){const{chunkGraph:N}=R;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(N.moduleGraph)}`);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.request);R(this.externalType);R(this.userRequest);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.externalType=R();this.userRequest=R();super.deserialize(E)}}Me(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,R,N)=>{"use strict";const $=N(73837);const j=N(16734);const{resolveByProperty:q,cachedSetProperty:G}=N(90149);const ie=/^[a-z0-9-]+ /;const ae={};const le=$.deprecate(((E,R,N,$)=>{E.call(null,R,N,$)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const _e=new WeakMap;const resolveLayer=(E,R)=>{let N=_e.get(E);if(N===undefined){N=new Map;_e.set(E,N)}else{const E=N.get(R);if(E!==undefined)return E}const $=q(E,"byLayer",R);N.set(R,$);return $};class ExternalModuleFactoryPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){const R=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((N,$)=>{const q=N.context;const _e=N.contextInfo;const Ee=N.dependencies[0];const we=N.dependencyType;const handleExternal=(E,N,$)=>{if(E===false){return $()}let q;if(E===true){q=Ee.request}else{q=E}if(N===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");N=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const R=E.indexOf(" ");N=E.substr(0,R);q=[E.substr(R+1),...q.slice(1)]}}$(null,new j(q,N||R,Ee.request))};const handleExternals=(R,$)=>{if(typeof R==="string"){if(R===Ee.request){return handleExternal(Ee.request,undefined,$)}}else if(Array.isArray(R)){let E=0;const next=()=>{let N;const handleExternalsAndCallback=(E,R)=>{if(E)return $(E);if(!R){if(N){N=false;return}return next()}$(null,R)};do{N=true;if(E>=R.length)return $();handleExternals(R[E++],handleExternalsAndCallback)}while(!N);N=false};next();return}else if(R instanceof RegExp){if(R.test(Ee.request)){return handleExternal(Ee.request,undefined,$)}}else if(typeof R==="function"){const cb=(E,R,N)=>{if(E)return $(E);if(R!==undefined){handleExternal(R,N,$)}else{$()}};if(R.length===3){le(R,q,Ee.request,cb)}else{const $=R({context:q,request:Ee.request,dependencyType:we,contextInfo:_e,getResolve:R=>($,j,q)=>{const ie={fileDependencies:N.fileDependencies,missingDependencies:N.missingDependencies,contextDependencies:N.contextDependencies};let le=E.getResolver("normal",we?G(N.resolveOptions||ae,"dependencyType",we):N.resolveOptions);if(R)le=le.withOptions(R);if(q){le.resolve({},$,j,ie,q)}else{return new Promise(((E,R)=>{le.resolve({},$,j,ie,((N,$)=>{if(N)R(N);else E($)}))}))}}},cb);if($&&$.then)$.then((E=>cb(null,E)),cb)}return}else if(typeof R==="object"){const E=resolveLayer(R,_e.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,Ee.request)){return handleExternal(E[Ee.request],undefined,$)}}$()};handleExternals(this.externals,$)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,R,N)=>{"use strict";const $=N(59084);class ExternalsPlugin{constructor(E,R){this.type=E;this.externals=R}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new $(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,R,N)=>{"use strict";const{create:$}=N(17583);const j=N(62355);const q=N(9738);const G=N(37269);const ie=N(35891);const{join:ae,dirname:le,relative:_e,lstatReadlinkAbsolute:Ee}=N(95396);const we=N(56202);const Ie=N(2117);const Me=+process.versions.modules>=83;let Te=2e3;const Ne=new Set;const Be=0;const Le=1;const je=2;const ze=3;const Ue=4;const qe=5;const Ge=6;const He=7;const We=8;const Ve=9;const Ke=Symbol("invalid");const Qe=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,R){this.snapshot=E;this.getMaps=R}[Symbol.iterator](){let E=0;let R;let N;let $;let j;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:j=this.snapshot;N=this.getMaps;$=N(j);E=1;case 1:if($.length>0){const N=$.pop();if(N!==undefined){R=N.keys();E=2}else{break}}else{E=3;break}case 2:{const N=R.next();if(!N.done)return N;E=1;break}case 3:{const R=j.children;if(R!==undefined){if(R.size===1){for(const E of R)j=E;$=N(j);E=1;break}if(q===undefined)q=[];for(const E of R){q.push(E)}}if(q!==undefined&&q.length>0){j=q.pop();$=N(j);E=1;break}else{E=4}}case 4:return Qe}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,R){if(E){if(R.hasStartTime()){this.setStartTime(Math.min(E,R.startTime))}else{this.setStartTime(E)}}else{if(R.hasStartTime())this.setStartTime(R.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}we(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Je=3;class SnapshotOptimization{constructor(E,R,N,$=true,j=false){this._has=E;this._get=R;this._set=N;this._useStartTime=$;this._isSet=j;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,R){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const N of E.snapshotContent){const $=this._map.get(N);if($.shared0){if(this._useStartTime&&E.startTime&&(!$.startTime||$.startTime>E.startTime)){continue}const j=new Set;const q=N.snapshotContent;const G=this._get($);for(const E of q){if(!R.has(E)){if(!G.has(E)){continue e}j.add(E);continue}}if(j.size===0){E.addChild($);increaseSharedAndStoreOptimizationEntry(N);this._statReusedSharedSnapshots++}else{const R=q.size-j.size;if(R{if(Te>1&&E%2!==0)Te=1;else if(Te>10&&E%20!==0)Te=10;else if(Te>100&&E%200!==0)Te=100;else if(Te>1e3&&E%2e3!==0)Te=1e3};const mergeMaps=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Map(E);for(const[E,$]of R){N.set(E,$)}return N};const mergeSets=(E,R)=>{if(!R||R.size===0)return E;if(!E||E.size===0)return R;const N=new Set(E);for(const E of R){N.add(E)}return N};const getManagedItem=(E,R)=>{let N=E.length;let $=1;let j=true;e:while(N=N+13&&R.charCodeAt(N+1)===110&&R.charCodeAt(N+2)===111&&R.charCodeAt(N+3)===100&&R.charCodeAt(N+4)===101&&R.charCodeAt(N+5)===95&&R.charCodeAt(N+6)===109&&R.charCodeAt(N+7)===111&&R.charCodeAt(N+8)===100&&R.charCodeAt(N+9)===117&&R.charCodeAt(N+10)===108&&R.charCodeAt(N+11)===101&&R.charCodeAt(N+12)===115){if(R.length===N+13){return R}const E=R.charCodeAt(N+13);if(E===47||E===92){return getManagedItem(R.slice(0,N+14),R)}}return R.slice(0,N)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,R)=>{for(const N of E)R.add(N)};class FileSystemInfo{constructor(E,{managedPaths:R=[],immutablePaths:N=[],logger:$,hashFunction:j="md4"}={}){this.fs=E;this.logger=$;this._remainingLogs=$?40:0;this._loggedPaths=$?new Set:undefined;this._hashFunction=j;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,R)=>E.setFileTimestamps(R)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,R)=>E.setFileHashes(R)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,R)=>E.setFileTshs(R)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,R)=>E.setContextTimestamps(R)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,R)=>E.setContextHashes(R)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,R)=>E.setContextTshs(R)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,R)=>E.setMissingExistence(R)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,R)=>E.setManagedItemInfo(R)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,R)=>E.setManagedFiles(R)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,R)=>E.setManagedContexts(R)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,R)=>E.setManagedMissing(R)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(R);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(N);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((R=>ae(E,R,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,R)=>{if(R){this.logger.log(`${E}: ${R}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,R,...N){const $=E+R;if(this._loggedPaths.has($))return;this._loggedPaths.add($);this.logger.debug(`${E} invalidated because ${R}`,...N);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,R){this._fileTimestamps.addAll(E,R);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,R){this._contextTimestamps.addAll(E,R);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,R){const N=this._fileTimestamps.get(E);if(N!==undefined)return R(null,N);this.fileTimestampQueue.add(E,R)}getContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined){if(N==="ignore")return R(null,"ignore");const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTimestamp(N,R)}this.contextTimestampQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTimestamp(N,R)}))}_getUnresolvedContextTimestamp(E,R){const N=this._contextTimestamps.get(E);if(N!==undefined)return R(null,N);this.contextTimestampQueue.add(E,R)}getFileHash(E,R){const N=this._fileHashes.get(E);if(N!==undefined)return R(null,N);this.fileHashQueue.add(E,R)}getContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined){const E=getResolvedHash(N);if(E!==undefined)return R(null,E);return this._resolveContextHash(N,R)}this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedHash(N);if($!==undefined)return R(null,$);this._resolveContextHash(N,R)}))}_getUnresolvedContextHash(E,R){const N=this._contextHashes.get(E);if(N!==undefined)return R(null,N);this.contextHashQueue.add(E,R)}getContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined){const E=getResolvedTimestamp(N);if(E!==undefined)return R(null,E);return this._resolveContextTsh(N,R)}this.contextTshQueue.add(E,((E,N)=>{if(E)return R(E);const $=getResolvedTimestamp(N);if($!==undefined)return R(null,$);this._resolveContextTsh(N,R)}))}_getUnresolvedContextTsh(E,R){const N=this._contextTshs.get(E);if(N!==undefined)return R(null,N);this.contextTshQueue.add(E,R)}_createBuildDependenciesResolvers(){const E=$({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const R=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const N=$({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const j=$({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:j,resolveCjs:R,resolveCjsAsChild:N}}resolveBuildDependencies(E,R,$){const{resolveContext:j,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const Ee=new Set;const we=new Set;const Te=new Set;const Ne=new Set;const Ke=new Set;const Qe=new Set;const Je=new Set;const Xe=new Set;const Ye=new Map;const Ze=new Set;const et={fileDependencies:Qe,contextDependencies:Je,missingDependencies:Xe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Be:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case je:return`resolve directory ${E.path}`;case ze:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case qe:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case Ge:return`directory ${E.path}`;case He:return`file ${E.path}`;case We:return`directory dependencies ${E.path}`;case Ve:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let R=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){R+=`\n at ${jobToString(E)}`;E=E.issuer}return R};Ie(Array.from(R,(R=>({type:Be,context:E,path:R,expected:undefined,issuer:undefined}))),20,((E,R,$)=>{const{type:Ie,context:Ke,path:Je,expected:tt}=E;const resolveDirectory=N=>{const q=`d\n${Ke}\n${N}`;if(Ye.has(q)){return $()}Ye.set(q,undefined);j(Ke,N,et,((j,G,ie)=>{if(j){if(tt===false){Ye.set(q,false);return $()}Ze.add(q);j.message+=`\nwhile resolving '${N}' in ${Ke} to a directory`;return $(j)}const ae=ie.path;Ye.set(q,ae);R({type:Ge,context:undefined,path:ae,expected:undefined,issuer:E});$()}))};const resolveFile=(N,j,q)=>{const G=`${j}\n${Ke}\n${N}`;if(Ye.has(G)){return $()}Ye.set(G,undefined);q(Ke,N,et,((j,q,ie)=>{if(typeof tt==="string"){if(!j&&ie&&ie.path===tt){Ye.set(G,ie.path)}else{Ze.add(G);this.logger.warn(`Resolving '${N}' in ${Ke} for build dependencies doesn't lead to expected result '${tt}', but to '${j||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if(j){if(tt===false){Ye.set(G,false);return $()}Ze.add(G);j.message+=`\nwhile resolving '${N}' in ${Ke} as file\n${pathToString(E)}`;return $(j)}const q=ie.path;Ye.set(G,q);R({type:He,context:undefined,path:q,expected:undefined,issuer:E})}$()}))};switch(Ie){case Be:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je,"f",G)}break}case Le:{const E=/[\\/]$/.test(Je);if(E){resolveDirectory(Je.slice(0,Je.length-1))}else{resolveFile(Je)}break}case je:{resolveDirectory(Je);break}case ze:{resolveFile(Je,"f",G);break}case Ue:{resolveFile(Je,"c",ie);break}case qe:{resolveFile(Je,"e",q);break}case He:{if(Ee.has(Je)){$();break}Ee.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){we.add(Je);Qe.add(Je);if(Ee.has(q))return $();Ee.add(q)}R({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ge:{if(Te.has(Je)){$();break}Te.add(Je);this.fs.realpath(Je,((N,j)=>{if(N)return $(N);const q=j;if(q!==Je){Ne.add(Je);Qe.add(Je);if(Te.has(q))return $();Te.add(q)}R({type:We,context:undefined,path:q,expected:undefined,issuer:E});$()}));break}case Ve:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Je)){process.nextTick($);break}const j=require.cache[Je];if(j&&Array.isArray(j.children)){e:for(const N of j.children){let $=N.filename;if($){R({type:He,context:undefined,path:$,expected:undefined,issuer:E});const q=le(this.fs,Je);for(const G of j.paths){if($.startsWith(G)){let j=$.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec(j);if(ie){R({type:He,context:undefined,path:G+$[G.length]+ie[0]+$[G.length]+"package.json",expected:false,issuer:E})}let ae=j.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);R({type:Ue,context:q,path:ae,expected:N.filename,issuer:E});continue e}}let G=_e(this.fs,q,$);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;R({type:ze,context:q,path:G,expected:N.filename,issuer:E})}}}else if(Me&&/\.m?js$/.test(Je)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const j=N(76218);j.init.then((()=>{this.fs.readFile(Je,((N,q)=>{if(N)return $(N);try{const N=le(this.fs,Je);const $=q.toString();const[G]=j.parse($);for(const j of G){try{let q;if(j.d===-1){q=JSON.parse($.substring(j.s-1,j.e+1))}else if(j.d>-1){let E=$.substring(j.s,j.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}R({type:qe,context:N,path:q,expected:undefined,issuer:E})}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed at 'import(${$.substring(j.s,j.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(R.stack)}}}catch(R){this.logger.warn(`Parsing of ${Je} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(R.stack)}process.nextTick($)}))}),$);break}else{this.logger.log(`Assuming ${Je} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick($);break}case We:{const N=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Je);const j=N?N[1]:Je;const q=ae(this.fs,j,"package.json");this.fs.readFile(q,((N,G)=>{if(N){if(N.code==="ENOENT"){Xe.add(q);const N=le(this.fs,j);if(N!==j){R({type:We,context:undefined,path:N,expected:undefined,issuer:E})}$();return}return $(N)}Qe.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return $(E)}const ae=ie.dependencies;const _e=ie.optionalDependencies;const Ee=new Set;const we=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){Ee.add(E)}}if(typeof _e==="object"&&_e){for(const E of Object.keys(_e)){Ee.add(E);we.add(E)}}for(const N of Ee){R({type:je,context:j,path:N,expected:!we.has(N),issuer:E})}$()}));break}}}),(E=>{if(E)return $(E);for(const E of we)Ee.delete(E);for(const E of Ne)Te.delete(E);for(const E of Ze)Ye.delete(E);$(null,{files:Ee,directories:Te,missing:Ke,resolveResults:Ye,resolveDependencies:{files:Qe,directories:Je,missing:Xe}})}))}checkResolveResultsValid(E,R){const{resolveCjs:N,resolveCjsAsChild:$,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();j.eachLimit(E,20,(([E,R],j)=>{const[ie,ae,le]=E.split("\n");switch(ie){case"d":G(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"f":N(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"c":$(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;case"e":q(ae,le,{},((E,N,$)=>{if(R===false)return j(E?undefined:Ke);if(E)return j(E);const q=$.path;if(q!==R)return j(Ke);j()}));break;default:j(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===Ke){return R(null,false)}if(E){return R(E)}return R(null,true)}))}createSnapshot(E,R,N,$,j,q){const G=new Map;const ie=new Map;const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const we=new Map;const Ie=new Map;const Me=new Set;const Te=new Set;const Ne=new Set;const Be=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const je=new Set;const ze=j&&j.hash?j.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(le.size!==0){Le.setContextTimestamps(le)}if(_e.size!==0){Le.setContextHashes(_e)}if(Ee.size!==0){Le.setContextTshs(Ee)}if(we.size!==0){Le.setMissingExistence(we)}if(Ie.size!==0){Le.setManagedItemInfo(Ie)}this._managedFilesOptimization.optimize(Le,Me);if(Me.size!==0){Le.setManagedFiles(Me)}this._managedContextsOptimization.optimize(Le,Te);if(Te.size!==0){Le.setManagedContexts(Te)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Be.size!==0){Le.setChildren(Be)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,R)=>{for(const N of this.immutablePathsRegExps){if(N.test(E)){R.add(E);return true}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){R.add(E);return true}}for(const N of this.managedPathsRegExps){const $=N.exec(E);if($){const N=getManagedItem($[1],E);if(N){je.add(N);R.add(E);return true}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const $=getManagedItem(N,E);if($){je.add($);R.add(E);return true}}}return false};const captureNonManaged=(E,R)=>{const N=new Set;for(const $ of E){if(!checkManaged($,R))N.add($)}return N};if(R){const E=captureNonManaged(R,Me);switch(ze){case 3:this._fileTshsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTshs.get(R);if(E!==undefined){ae.set(R,E)}else{Ue++;this._getFileTimestampAndHash(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{ae.set(R,N);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const R of E){const E=this._fileHashes.get(R);if(E!==undefined){ie.set(R,E)}else{Ue++;this.fileHashQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${R}: ${E.stack}`)}jobError()}else{ie.set(R,N);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){G.set(R,E)}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${R}: ${E.stack}`)}jobError()}else{G.set(R,N);jobDone()}}))}}break}}if(N){const E=captureNonManaged(N,Te);switch(ze){case 3:this._contextTshsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTshs.get(R);let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){Ee.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${R}: ${E.stack}`)}jobError()}else{Ee.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(R,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const R of E){const E=this._contextHashes.get(R);let N;if(E!==undefined&&(N=getResolvedHash(E))!==undefined){_e.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${R}: ${E.stack}`)}jobError()}else{_e.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(R,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const R of E){const E=this._contextTimestamps.get(R);if(E==="ignore")continue;let N;if(E!==undefined&&(N=getResolvedTimestamp(E))!==undefined){le.set(R,N)}else{Ue++;const callback=(E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${R}: ${E.stack}`)}jobError()}else{le.set(R,N);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(R,callback)}}}break}}if($){const E=captureNonManaged($,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const R of E){const E=this._fileTimestamps.get(R);if(E!==undefined){if(E!=="ignore"){we.set(R,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(R,((E,N)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${R}: ${E.stack}`)}jobError()}else{we.set(R,Boolean(N));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,je);for(const E of je){const R=this._managedItems.get(E);if(R!==undefined){Ie.set(E,R)}else{Ue++;this.managedItemQueue.add(E,((R,N)=>{if(R){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${R.stack}`)}jobError()}else{Ie.set(E,N);jobDone()}}))}}jobDone()}mergeSnapshots(E,R){const N=new Snapshot;if(E.hasStartTime()&&R.hasStartTime())N.setStartTime(Math.min(E.startTime,R.startTime));else if(R.hasStartTime())N.startTime=R.startTime;else if(E.hasStartTime())N.startTime=E.startTime;if(E.hasFileTimestamps()||R.hasFileTimestamps()){N.setFileTimestamps(mergeMaps(E.fileTimestamps,R.fileTimestamps))}if(E.hasFileHashes()||R.hasFileHashes()){N.setFileHashes(mergeMaps(E.fileHashes,R.fileHashes))}if(E.hasFileTshs()||R.hasFileTshs()){N.setFileTshs(mergeMaps(E.fileTshs,R.fileTshs))}if(E.hasContextTimestamps()||R.hasContextTimestamps()){N.setContextTimestamps(mergeMaps(E.contextTimestamps,R.contextTimestamps))}if(E.hasContextHashes()||R.hasContextHashes()){N.setContextHashes(mergeMaps(E.contextHashes,R.contextHashes))}if(E.hasContextTshs()||R.hasContextTshs()){N.setContextTshs(mergeMaps(E.contextTshs,R.contextTshs))}if(E.hasMissingExistence()||R.hasMissingExistence()){N.setMissingExistence(mergeMaps(E.missingExistence,R.missingExistence))}if(E.hasManagedItemInfo()||R.hasManagedItemInfo()){N.setManagedItemInfo(mergeMaps(E.managedItemInfo,R.managedItemInfo))}if(E.hasManagedFiles()||R.hasManagedFiles()){N.setManagedFiles(mergeSets(E.managedFiles,R.managedFiles))}if(E.hasManagedContexts()||R.hasManagedContexts()){N.setManagedContexts(mergeSets(E.managedContexts,R.managedContexts))}if(E.hasManagedMissing()||R.hasManagedMissing()){N.setManagedMissing(mergeSets(E.managedMissing,R.managedMissing))}if(E.hasChildren()||R.hasChildren()){N.setChildren(mergeSets(E.children,R.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(R)===true){this._snapshotCache.set(N,true)}return N}checkSnapshotValid(E,R){const N=this._snapshotCache.get(E);if(N!==undefined){this._statTestedSnapshotsCached++;if(typeof N==="boolean"){R(null,N)}else{N.push(R)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,R)}_checkSnapshotValidNoCache(E,R){let N=undefined;if(E.hasStartTime()){N=E.startTime}let $=1;const jobDone=()=>{if(--$===0){this._snapshotCache.set(E,true);R(null,true)}};const invalid=()=>{if($>0){$=-1e8;this._snapshotCache.set(E,false);R(null,false)}};const invalidWithError=(E,R)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,R)}invalid()};const checkHash=(E,R,N)=>{if(R!==N){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,R,N)}return false}return true};const checkExistence=(E,R,N)=>{if(!R!==!N){if(this._remainingLogs>0){this._log(E,R?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestamp!==undefined&&R.timestamp!==$.timestamp){if(j&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,R.timestamp,$.timestamp)}return false}}return true};const checkContext=(E,R,$,j=true)=>{if(R===$)return true;if(!checkExistence(E,Boolean(R),Boolean($)))return false;if(R){if(typeof N==="number"&&R.safeTime>N){if(j&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,R.safeTime,N)}return false}if($.timestampHash!==undefined&&R.timestampHash!==$.timestampHash){if(j&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,R.timestampHash,$.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,R)=>{if(E||!R)return invalid();else jobDone()};for(const R of E.children){const E=this._snapshotCache.get(R);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{$++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;$++;this._checkSnapshotValidNoCache(R,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkFile(E,R,N)){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,R)=>{const N=this._fileHashes.get(E);if(N!==undefined){if(N!=="ignore"&&!checkHash(E,N,R)){invalid();return}}else{$++;this.fileHashQueue.add(E,((N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processFileHashSnapshot(E,N)}}if(E.hasFileTshs()){const{fileTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processFileHashSnapshot(E,N)}else{const R=this._fileTimestamps.get(E);if(R!==undefined){if(R==="ignore"||!checkFile(E,R,N,false)){processFileHashSnapshot(E,N&&N.hash)}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkFile(E,$,N,false)){processFileHashSnapshot(E,N&&N.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N)){invalid();return}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,R)=>{const N=this._contextHashes.get(E);let j;if(N!==undefined&&(j=getResolvedHash(N))!==undefined){if(!checkHash(E,j,R)){invalid();return}}else{$++;const callback=(N,$)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,$,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextHash(N,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){processContextHashSnapshot(E,N)}}if(E.hasContextTshs()){const{contextTshs:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){if(typeof N==="string"){processContextHashSnapshot(E,N)}else{const R=this._contextTimestamps.get(E);if(R==="ignore")continue;let j;if(R!==undefined&&(j=getResolvedTimestamp(R))!==undefined){if(!checkContext(E,j,N,false)){processContextHashSnapshot(E,N&&N.hash)}}else{$++;const callback=(R,$)=>{if(R)return invalidWithError(E,R);if(!checkContext(E,$,N,false)){processContextHashSnapshot(E,N&&N.hash)}jobDone()};if(R!==undefined){this._resolveContextTimestamp(R,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._fileTimestamps.get(E);if(R!==undefined){if(R!=="ignore"&&!checkExistence(E,Boolean(R),Boolean(N))){invalid();return}}else{$++;this.fileTimestampQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkExistence(E,Boolean($),Boolean(N))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:R}=E;this._statTestedEntries+=R.size;for(const[E,N]of R){const R=this._managedItems.get(E);if(R!==undefined){if(!checkHash(E,R,N)){invalid();return}}else{$++;this.managedItemQueue.add(E,((R,$)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,$,N)){invalid()}else{jobDone()}}))}}}jobDone();if($>0){const N=[R];R=(E,R)=>{for(const $ of N)$(E,R)};this._snapshotCache.set(E,N)}}_readFileTimestamp(E,R){this.fs.stat(E,((N,$)=>{if(N){if(N.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return R(null,null)}return R(N)}let j;if($.isDirectory()){j={safeTime:0,timestamp:undefined}}else{const E=+$.mtime;if(E)applyMtime(E);j={safeTime:E?E+Te:Infinity,timestamp:E}}this._fileTimestamps.set(E,j);this._cachedDeprecatedFileTimestamps=undefined;R(null,j)}))}_readFileHash(E,R){this.fs.readFile(E,((N,$)=>{if(N){if(N.code==="EISDIR"){this._fileHashes.set(E,"directory");return R(null,"directory")}if(N.code==="ENOENT"){this._fileHashes.set(E,null);return R(null,null)}if(N.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return R(null,"too large")}return R(N)}const j=ie(this._hashFunction);j.update($);const q=j.digest("hex");this._fileHashes.set(E,q);R(null,q)}))}_getFileTimestampAndHash(E,R){const continueWithHash=N=>{const $=this._fileTimestamps.get(E);if($!==undefined){if($!=="ignore"){const j={...$,hash:N};this._fileTshs.set(E,j);return R(null,j)}else{this._fileTshs.set(E,N);return R(null,N)}}else{this.fileTimestampQueue.add(E,(($,j)=>{if($){return R($)}const q={...j,hash:N};this._fileTshs.set(E,q);return R(null,q)}))}};const N=this._fileHashes.get(E);if(N!==undefined){continueWithHash(N)}else{this.fileHashQueue.add(E,((E,N)=>{if(E){return R(E)}continueWithHash(N)}))}}_readContext({path:E,fromImmutablePath:R,fromManagedItem:N,fromSymlink:$,fromFile:q,fromDirectory:G,reduce:ie},le){this.fs.readdir(E,((_e,we)=>{if(_e){if(_e.code==="ENOENT"){return le(null,null)}return le(_e)}const Ie=we.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();j.map(Ie,((j,ie)=>{const le=ae(this.fs,E,j);for(const N of this.immutablePathsRegExps){if(N.test(E)){return ie(null,R(E))}}for(const N of this.immutablePathsWithSlash){if(E.startsWith(N)){return ie(null,R(E))}}for(const R of this.managedPathsRegExps){const $=R.exec(E);if($){const R=getManagedItem($[1],E);if(R){return this.managedItemQueue.add(R,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const E=getManagedItem(R,le);if(E){return this.managedItemQueue.add(E,((E,R)=>{if(E)return ie(E);return ie(null,N(R))}))}}}Ee(this.fs,le,((E,R)=>{if(E)return ie(E);if(typeof R==="string"){return $(le,R,ie)}if(R.isFile()){return q(le,R,ie)}if(R.isDirectory()){return G(le,R,ie)}ie(null,null)}))}),((E,R)=>{if(E)return le(E);const N=ie(Ie,R);le(null,N)}))}))}_readContextTimestamp(E,R){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{const $=this._fileTimestamps.get(E);if($!==undefined)return N(null,$==="ignore"?null:$);const j=+R.mtime;if(j)applyMtime(j);const q={safeTime:j?j+Te:Infinity,timestamp:j};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;N(null,q)},fromDirectory:(E,R,N)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,R)=>{this.contextTimestampQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);let j=0;for(const E of R){if(!E){$.update("n");continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){j=Math.max(j,E.safeTime)}}const q=$.digest("hex");const G={safeTime:j,timestampHash:q};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTimestamps.set(E,$);this._cachedDeprecatedContextTimestamps=undefined;R(null,$)}))}_resolveContextTimestamp(E,R){const N=[];let $=0;Ie(E.symlinks,10,((E,R,j)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return j(E);if(q&&q!=="ignore"){N.push(q.timestampHash);if(q.safeTime){$=Math.max($,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)R(E)}}j()}))}),(j=>{if(j)return R(j);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}N.sort();for(const E of N){q.update(E)}R(null,E.resolved={safeTime:$,timestampHash:q.digest("hex")})}))}_readContextHash(E,R){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,R,N)=>{N(null,{hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>this.getFileHash(E,((E,R)=>{N(E,R||"")})),fromDirectory:(E,R,N)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,R)=>{this.contextHashQueue.decreaseParallelism();N(E,R||"")}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);for(const R of E)$.update(R);for(const E of R){if(typeof E==="string"){$.update(E)}else{$.update(E.hash);if(E.symlinks){if(N===undefined)N=new Set;addAll(E.symlinks,N)}}}const j={hash:$.digest("hex")};if(N)j.symlinks=N;return j}},((N,$)=>{if(N)return R(N);this._contextHashes.set(E,$);return R(null,$)}))}_resolveContextHash(E,R){const N=[];Ie(E.symlinks,10,((E,R,$)=>{this._getUnresolvedContextHash(E,((E,j)=>{if(E)return $(E);if(j){N.push(j.hash);if(j.symlinks!==undefined){for(const E of j.symlinks)R(E)}}$()}))}),($=>{if($)return R($);const j=ie(this._hashFunction);j.update(E.hash);N.sort();for(const E of N){j.update(E)}R(null,E.resolved=j.digest("hex"))}))}_readContextTimestampAndHash(E,R){const finalize=(N,$)=>{const j=N==="ignore"?$:{...N,...$};this._contextTshs.set(E,j);R(null,j)};const N=this._contextHashes.get(E);const $=this._contextTimestamps.get(E);if(N!==undefined){if($!==undefined){finalize($,N)}else{this.contextTimestampQueue.add(E,((E,$)=>{if(E)return R(E);finalize($,N)}))}}else{if($!==undefined){this.contextHashQueue.add(E,((E,N)=>{if(E)return R(E);finalize($,N)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,R,N)=>{N(null,{timestampHash:R,hash:R,symlinks:new Set([R])})},fromFile:(E,R,N)=>{this._getFileTimestampAndHash(E,N)},fromDirectory:(E,R,N)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,R)=>{this.contextTshQueue.decreaseParallelism();N(E,R)}))},reduce:(E,R)=>{let N=undefined;const $=ie(this._hashFunction);const j=ie(this._hashFunction);for(const R of E){$.update(R);j.update(R)}let q=0;for(const E of R){if(!E){$.update("n");continue}if(typeof E==="string"){$.update("n");j.update(E);continue}if(E.timestamp){$.update("f");$.update(`${E.timestamp}`)}else if(E.timestampHash){$.update("d");$.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(N===undefined)N=new Set;addAll(E.symlinks,N)}if(E.safeTime){q=Math.max(q,E.safeTime)}j.update(E.hash)}const G={safeTime:q,timestampHash:$.digest("hex"),hash:j.digest("hex")};if(N)G.symlinks=N;return G}},((N,$)=>{if(N)return R(N);this._contextTshs.set(E,$);return R(null,$)}))}}}_resolveContextTsh(E,R){const N=[];const $=[];let j=0;Ie(E.symlinks,10,((E,R,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){N.push(G.hash);if(G.timestampHash)$.push(G.timestampHash);if(G.safeTime){j=Math.max(j,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)R(E)}}q()}))}),(q=>{if(q)return R(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}N.sort();for(const E of N){G.update(E)}$.sort();for(const E of $){ae.update(E)}R(null,E.resolved={safeTime:j,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,R){this.fs.readdir(E,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){return R(null,Ne)}return R(N)}const j=new Set($.map((R=>ae(this.fs,E,R))));R(null,j)}))}_getManagedItemInfo(E,R){const N=le(this.fs,E);this.managedItemDirectoryQueue.add(N,((N,$)=>{if(N){return R(N)}if(!$.has(E)){this._managedItems.set(E,"missing");return R(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return R(null,"exists")}const j=ae(this.fs,E,"package.json");this.fs.readFile(j,((N,$)=>{if(N){if(N.code==="ENOENT"||N.code==="ENOTDIR"){this.fs.readdir(E,((N,$)=>{if(!N&&$.length===1&&$[0]==="node_modules"){this._managedItems.set(E,"nested");return R(null,"nested")}const j=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn(j);return R(new Error(j))}));return}return R(N)}let j;try{j=JSON.parse($.toString("utf-8"))}catch(E){return R(E)}const q=`${j.name||""}@${j.version||""}`;this._managedItems.set(E,q);R(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[R,N]of this._fileTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[R,N]of this._contextTimestamps){if(N)E.set(R,typeof N==="object"?N.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,R,N)=>{"use strict";const{getEntryRuntime:$,mergeRuntimeOwned:j}=N(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(N=>{let q=undefined;for(const[R,{options:N}]of E.entries){q=j(q,$(E,R,N))}for(const E of N){const N=R.getExportsInfo(E);N.setUsedInUnknownWay(q);R.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,R,N)=>{"use strict";const $=N(62355);const j=N(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const R=E.moduleGraph;const N=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let le=0;let _e=0;let Ee=0;let we=0;let Ie=0;const{moduleMemCaches:Me}=E;const Te=new j;ie.time("restore cached provided exports");$.each(q,((E,$)=>{const j=R.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if(j.otherExportsInfo.provided!==null){_e++;j.setHasProvideInfo();j.setUnknownExportsProvided();return $()}}if(typeof E.buildInfo.hash!=="string"){Ee++;Te.enqueue(E);j.setHasProvideInfo();return $()}const q=Me&&Me.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;j.restoreProvided(G);return $()}N.get(E.identifier(),E.buildInfo.hash,((R,N)=>{if(R)return $(R);if(N!==undefined){le++;j.restoreProvided(N)}else{we++;Te.enqueue(E);j.setHasProvideInfo()}$()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const j=new Set;const q=new Map;let Ne;let Be;const Le=new Map;let je=true;let ze=false;const processDependenciesBlock=E=>{for(const R of E.dependencies){processDependency(R)}for(const R of E.blocks){processDependenciesBlock(R)}};const processDependency=E=>{const N=E.getExports(R);if(!N)return;Le.set(E,N)};const processExportsSpec=(E,N)=>{const $=N.exports;const j=N.canMangle;const G=N.from;const ie=N.priority;const ae=N.terminalBinding||false;const le=N.dependencies;if(N.hideExports){for(const R of N.hideExports){const N=Be.getExportInfo(R);N.unsetTarget(E)}}if($===true){if(Be.setUnknownExportsProvided(j,N.excludeExports,G&&E,G,ie)){ze=true}}else if(Array.isArray($)){const mergeExports=(N,$)=>{for(const le of $){let $;let _e=j;let Ee=ae;let we=undefined;let Ie=G;let Me=undefined;let Te=ie;let Be=false;if(typeof le==="string"){$=le}else{$=le.name;if(le.canMangle!==undefined)_e=le.canMangle;if(le.export!==undefined)Me=le.export;if(le.exports!==undefined)we=le.exports;if(le.from!==undefined)Ie=le.from;if(le.priority!==undefined)Te=le.priority;if(le.terminalBinding!==undefined)Ee=le.terminalBinding;if(le.hidden!==undefined)Be=le.hidden}const Le=N.getExportInfo($);if(Le.provided===false||Le.provided===null){Le.provided=true;ze=true}if(Le.canMangleProvide!==false&&_e===false){Le.canMangleProvide=false;ze=true}if(Ee&&!Le.terminalBinding){Le.terminalBinding=true;ze=true}if(we){const E=Le.createNestedExportsInfo();mergeExports(E,we)}if(Ie&&(Be?Le.unsetTarget(E):Le.setTarget(E,Ie,Me===undefined?[$]:Me,Te))){ze=true}const je=Le.getTarget(R);let Ue=undefined;if(je){const E=R.getExportsInfo(je.module);Ue=E.getNestedExportsInfo(je.export);const N=q.get(je.module);if(N===undefined){q.set(je.module,new Set([Ne]))}else{N.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){ze=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;ze=true}}};mergeExports(Be,$)}if(le){je=false;for(const E of le){const R=q.get(E);if(R===undefined){q.set(E,new Set([Ne]))}else{R.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const R of E){Te.enqueue(R)}}};ie.time("figure out provided exports");while(Te.length>0){Ne=Te.dequeue();Ie++;Be=R.getExportsInfo(Ne);je=true;ze=false;Le.clear();R.freeze();processDependenciesBlock(Ne);R.unfreeze();for(const[E,R]of Le){processExportsSpec(E,R)}if(je){j.add(Ne)}if(ze){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(Ee+we)/(ae+le+we+Ee+_e))}% of exports of modules have been determined (${_e} no declared exports, ${we} not cached, ${Ee} flagged uncacheable, ${le} from cache, ${ae} from mem cache, ${Ie-we-Ee} additional calculations due to dependencies)`);ie.time("store provided exports into cache");$.each(j,((E,$)=>{if(typeof E.buildInfo.hash!=="string"){return $()}const j=R.getExportsInfo(E).getRestoreProvidedData();const q=Me&&Me.get(E);if(q){q.set(this,j)}N.store(E.identifier(),E.buildInfo.hash,j,$)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,R.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{R.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(79900);const{STAGE_DEFAULT:G}=N(82414);const ie=N(56561);const ae=N(34194);const{getEntryRuntime:le,mergeRuntimeOwned:_e}=N(37416);const{NO_EXPORTS_REFERENCED:Ee,EXPORTS_OBJECT_REFERENCED:we}=$;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(N=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const $=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Ie=new ae;const processReferencedModule=(E,N,$,q)=>{const ie=R.getExportsInfo(E);if(N.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo($)){Ie.enqueue(E,$)}return}for(const R of N){let N;let q=true;if(Array.isArray(R)){N=R}else{N=R.name;q=R.canMangle!==false}if(N.length===0){if(ie.setUsedInUnknownWay($)){Ie.enqueue(E,$)}}else{let R=ie;for(let ae=0;aeE===j.Unused),j.OnlyPropertiesUsed,$)){const N=R===ie?E:G.get(R);if(N){Ie.enqueue(N,$)}}R=N;continue}}if(le.setUsedConditionally((E=>E!==j.Used),j.Used,$)){const N=R===ie?E:G.get(R);if(N){Ie.enqueue(N,$)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly($)){Ie.enqueue(E,$)}}};const processModule=(N,$,j)=>{const G=new Map;const ae=new ie;ae.enqueue(N);for(;;){const N=ae.dequeue();if(N===undefined)break;for(const E of N.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const j of N.dependencies){const N=R.getConnection(j);if(!N||!N.module){continue}const ie=N.getActiveState($);if(ie===false)continue;const{module:ae}=N;if(ie===q.TRANSITIVE_ONLY){processModule(ae,$,false);continue}const le=G.get(ae);if(le===we){continue}const _e=E.getDependencyReferencedExports(j,$);if(le===undefined||le===Ee||_e===we){G.set(ae,_e)}else if(le!==undefined&&_e===Ee){continue}else{let E;if(Array.isArray(le)){E=new Map;for(const R of le){if(Array.isArray(R)){E.set(R.join("\n"),R)}else{E.set(R.name.join("\n"),R)}}G.set(ae,E)}else{E=le}for(const R of _e){if(Array.isArray(R)){const N=R.join("\n");const $=E.get(N);if($===undefined){E.set(N,R)}}else{const N=R.name.join("\n");const $=E.get(N);if($===undefined||Array.isArray($)){E.set(N,R)}else{E.set(N,{name:R.name,canMangle:R.canMangle&&$.canMangle})}}}}}}for(const[E,R]of G){if(Array.isArray(R)){processReferencedModule(E,R,$,j)}else{processReferencedModule(E,Array.from(R.values()),$,j)}}};$.time("initialize exports usage");for(const E of N){const N=R.getExportsInfo(E);G.set(N,E);N.setHasUseInfo()}$.timeEnd("initialize exports usage");$.time("trace exports usage in graph");const processEntryDependency=(E,N)=>{const $=R.getModule(E);if($){processReferencedModule($,Ee,N,true)}};let Me=undefined;for(const[R,{dependencies:N,includeDependencies:$,options:j}]of E.entries){const q=this.global?undefined:le(E,R,j);for(const E of N){processEntryDependency(E,q)}for(const E of $){processEntryDependency(E,q)}Me=_e(Me,q)}for(const R of E.globalEntry.dependencies){processEntryDependency(R,Me)}for(const R of E.globalEntry.includeDependencies){processEntryDependency(R,Me)}while(Ie.length){const[E,R]=Ie.dequeue();processModule(E,R,false)}$.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,R,N)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const R=N(75884);throw new R}getSize(E,R){const $=N(75884);throw new $}generate(E,{dependencyTemplates:R,runtimeTemplate:$,moduleGraph:j,type:q}){const G=N(75884);throw new G}getConcatenationBailoutReason(E,R){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:R,runtime:N}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,R){const N=R||"javascript";const $=this.map[N];return $?$.getSize(E,N):0}generate(E,R){const N=R.type;const $=this.map[N];if(!$){throw new Error(`Generator.byType: no generator specified for ${N}`)}return $.generate(E,R)}}E.exports=Generator},4642:(E,R)=>{"use strict";const connectChunkGroupAndChunk=(E,R)=>{if(E.pushChunk(R)){R.addGroup(E)}};const connectChunkGroupParentAndChild=(E,R)=>{if(E.addChild(R)){R.addParent(E)}};R.connectChunkGroupAndChunk=connectChunkGroupAndChunk;R.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class HarmonyLinkingError extends ${constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,R,N)=>{"use strict";const $=N(81627);class HookWebpackError extends ${constructor(E,R){super(E.message);this.name="HookWebpackError";this.hook=R;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${R}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,R)=>{if(E instanceof $)return E;return new HookWebpackError(E,R)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,R)=>(N,j)=>{if(N){if(N instanceof $){E(N);return}E(new HookWebpackError(N,R));return}E(null,j)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,R)=>{let N;try{N=E()}catch(E){if(E instanceof $){throw E}throw new HookWebpackError(E,R)}return N};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j}=N(48135);const q=N(45137);const G=N(3080);const ie=N(22352);const ae=N(53520);const le=N(76150);const _e=N(81627);const Ee=N(66298);const we=N(76302);const Ie=N(5389);const Me=N(21809);const Te=N(73158);const Ne=N(79838);const Be=N(3711);const{evaluateToIdentifier:Le}=N(48472);const{find:je,isSubset:ze}=N(26221);const Ue=N(86949);const{compareModulesById:qe}=N(68673);const{getRuntimeKey:Ge,keyToRuntime:He,forEachRuntime:We,mergeRuntimeOwned:Ve,subtractRuntime:Ke,intersectRuntime:Qe}=N(37416);const Je=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Be)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let R=Je.get(E);if(R===undefined){R={hotAcceptCallback:new $(["expression","requests"]),hotAcceptWithoutCallback:new $(["expression","requests"])};Je.set(E,R)}return R}constructor(E){this.options=E||{}}apply(E){const{_backCompat:R}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const N=[le.module];const createAcceptHandler=(E,R)=>{const{hotAcceptCallback:$,hotAcceptWithoutCallback:j}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new Ee(`${G.moduleArgument}.hot.accept`,q.callee.range,N);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const N=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(N.isString()){ie=[N]}else if(N.isArray()){ie=N.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,N)=>{const $=E.string;const j=new R($,E.range);j.optional=true;j.loc=Object.create(q.loc);j.loc.index=N;G.addDependency(j);ae.push($)}));if(q.arguments.length>1){$.call(q.arguments[1],ae);for(let R=1;R$=>{const j=E.state.module;const q=new Ee(`${j.moduleArgument}.hot.decline`,$.callee.range,N);q.loc=$.loc;j.addPresentationalDependency(q);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if($.arguments.length===1){const N=E.evaluateExpression($.arguments[0]);let q=[];if(N.isString()){q=[N]}else if(N.isArray()){q=N.items.filter((E=>E.isString()))}q.forEach(((E,N)=>{const q=new R(E.string,E.range);q.optional=true;q.loc=Object.create($.loc);q.loc.index=N;j.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>R=>{const $=E.state.module;const j=new Ee(`${$.moduleArgument}.hot`,R.range,N);j.loc=R.loc;$.addPresentationalDependency(j);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Me));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((N,{normalModuleFactory:$})=>{if(N.compiler!==E)return;N.dependencyFactories.set(Me,$);N.dependencyTemplates.set(Me,new Me.Template);N.dependencyFactories.set(Te,$);N.dependencyTemplates.set(Te,new Te.Template);N.dependencyFactories.set(we,$);N.dependencyTemplates.set(we,new we.Template);N.dependencyFactories.set(Ie,$);N.dependencyTemplates.set(Ie,new Ie.Template);let Ee=0;const Be={};const Le={};N.hooks.record.tap("HotModuleReplacementPlugin",((E,R)=>{if(R.hash===E.hash)return;const N=E.chunkGraph;R.hash=E.hash;R.hotIndex=Ee;R.fullHashChunkModuleHashes=Be;R.chunkModuleHashes=Le;R.chunkHashes={};R.chunkRuntime={};for(const N of E.chunks){R.chunkHashes[N.id]=N.hash;R.chunkRuntime[N.id]=Ge(N.runtime)}R.chunkModuleIds={};for(const $ of E.chunks){R.chunkModuleIds[$.id]=Array.from(N.getOrderedChunkModulesIterable($,qe(N)),(E=>N.getModuleId(E)))}}));const Je=new Ue;const Xe=new Ue;const Ye=new Ue;N.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const R=N.chunkGraph;const $=N.records;for(const E of N.chunks){const getModuleHash=$=>{if(N.codeGenerationResults.has($,E.runtime)){return N.codeGenerationResults.getHash($,E.runtime)}else{Ye.add($,E.runtime);return R.getModuleHash($,E.runtime)}};const j=R.getChunkFullHashModulesSet(E);if(j!==undefined){for(const R of j){Xe.add(R,E)}}const q=R.getChunkModulesIterable(E);if(q!==undefined){if($.chunkModuleHashes){if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const q=getModuleHash(R);if(j.has(R)){if($.fullHashChunkModuleHashes[N]!==q){Je.add(R,E)}Be[N]=q}else{if($.chunkModuleHashes[N]!==q){Je.add(R,E)}Le[N]=q}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const j=getModuleHash(R);if($.chunkModuleHashes[N]!==j){Je.add(R,E)}Le[N]=j}}}else{if(j!==undefined){for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);if(j.has(R)){Be[N]=$}else{Le[N]=$}}}else{for(const R of q){const N=`${E.id}|${R.identifier()}`;const $=getModuleHash(R);Le[N]=$}}}}}Ee=$.hotIndex||0;if(Je.size>0)Ee++;E.update(`${Ee}`)}));N.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=N.chunkGraph;const $=N.records;if($.hash===N.hash)return;if(!$.chunkModuleHashes||!$.chunkHashes||!$.chunkModuleIds){return}for(const[R,j]of Xe){const q=`${j.id}|${R.identifier()}`;const G=Ye.has(R,j.runtime)?E.getModuleHash(R,j.runtime):N.codeGenerationResults.getHash(R,j.runtime);if($.chunkModuleHashes[q]!==G){Je.add(R,j)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys($.chunkRuntime)){const R=He($.chunkRuntime[E]);ae=Ve(ae,R)}We(ae,(E=>{const{path:R,info:j}=N.getPathWithInfo(N.outputOptions.hotUpdateMainFilename,{hash:$.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:R,assetInfo:j})}));if(G.size===0)return;const le=new Map;for(const R of N.modules){const N=E.getModuleId(R);le.set(N,R)}const Ee=new Set;for(const j of Object.keys($.chunkHashes)){const _e=He($.chunkRuntime[j]);const we=[];for(const E of $.chunkModuleIds[j]){const R=le.get(E);if(R===undefined){Ee.add(E)}else{we.push(R)}}let Ie;let Me;let Te;let Ne;let Be;let Le;let ze;const Ue=je(N.chunks,(E=>`${E.id}`===j));if(Ue){Ie=Ue.id;Le=Qe(Ue.runtime,ae);if(Le===undefined)continue;Me=E.getChunkModules(Ue).filter((E=>Je.has(E,Ue)));Te=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Je.has(E,Ue)));const R=E.getChunkFullHashModulesIterable(Ue);Ne=R&&Array.from(R).filter((E=>Je.has(E,Ue)));const N=E.getChunkDependentHashModulesIterable(Ue);Be=N&&Array.from(N).filter((E=>Je.has(E,Ue)));ze=Ke(_e,Le)}else{Ie=`${+j}`===j?+j:j;ze=_e;Le=_e}if(ze){We(ze,(E=>{G.get(E).removedChunkIds.add(Ie)}));for(const R of we){const q=`${j}|${R.identifier()}`;const ie=$.chunkModuleHashes[q];const ae=E.getModuleRuntimes(R);if(_e===Le&&ae.has(Le)){const $=Ye.has(R,Le)?E.getModuleHash(R,Le):N.codeGenerationResults.getHash(R,Le);if($!==ie){if(R.type==="runtime"){Te=Te||[];Te.push(R)}else{Me=Me||[];Me.push(R)}}}else{We(ze,(E=>{for(const R of ae){if(typeof R==="string"){if(R===E)return}else if(R!==undefined){if(R.has(E))return}}G.get(E).removedModules.add(R)}))}}}if(Me&&Me.length>0||Te&&Te.length>0){const j=new ie;if(R)q.setChunkGraphForChunk(j,E);j.id=Ie;j.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)j.addGroup(E)}E.attachModules(j,Me||[]);E.attachRuntimeModules(j,Te||[]);if(Ne){E.attachFullHashModules(j,Ne)}if(Be){E.attachDependentHashModules(j,Be)}const ae=N.getRenderManifest({chunk:j,hash:$.hash,fullHash:$.hash,outputOptions:N.outputOptions,moduleTemplates:N.moduleTemplates,dependencyTemplates:N.dependencyTemplates,codeGenerationResults:N.codeGenerationResults,runtimeTemplate:N.runtimeTemplate,moduleGraph:N.moduleGraph,chunkGraph:E});for(const E of ae){let R;let $;if("filename"in E){R=E.filename;$=E.info}else{({path:R,info:$}=N.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const j=E.render();N.additionalChunkAssets.push(R);N.emitAsset(R,j,{hotModuleReplacement:true,...$});if(Ue){Ue.files.add(R);N.hooks.chunkAsset.call(Ue,R)}}We(Le,(E=>{G.get(E).updatedChunkIds.add(Ie)}))}}const we=Array.from(Ee);const Ie=new Map;for(const{removedChunkIds:E,removedModules:R,updatedChunkIds:$,filename:j,assetInfo:q}of G.values()){const G=Ie.get(j);if(G&&(!ze(G.removedChunkIds,E)||!ze(G.removedModules,R)||!ze(G.updatedChunkIds,$))){N.warnings.push(new _e(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const R of E)G.removedChunkIds.add(R);for(const E of R)G.removedModules.add(E);for(const E of $)G.updatedChunkIds.add(E);continue}Ie.set(j,{removedChunkIds:E,removedModules:R,updatedChunkIds:$,assetInfo:q})}for(const[R,{removedChunkIds:$,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Ie){const ae={c:Array.from(G),r:Array.from($),m:q.size===0?we:we.concat(Array.from(q,(R=>E.getModuleId(R))))};const le=new j(JSON.stringify(ae));N.emitAsset(R,le,{hotModuleReplacement:true,...ie})}}));N.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,R)=>{R.add(le.hmrDownloadManifest);R.add(le.hmrDownloadUpdateHandlers);R.add(le.interceptModuleExecution);R.add(le.moduleCache);N.addRuntimeModule(E,new Ne)}));$.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));$.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));$.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(N).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,R,N)=>{"use strict";const $=N(62433);class HotUpdateChunk extends ${constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,R,N)=>{"use strict";const $=N(40674);class IgnoreErrorModuleFactory extends ${constructor(E){super();this.normalModuleFactory=E}create(E,R){this.normalModuleFactory.create(E,((E,N)=>R(null,N)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(44194),(()=>N(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){j(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(R=>R.filter((R=>!this._ignoreWarnings.some((N=>N(R,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(56202);const extractFragmentIndex=(E,R)=>[E,R];const sortFragmentWithIndex=([E,R],[N,$])=>{const j=E.stage-N.stage;if(j!==0)return j;const q=E.position-N.position;if(q!==0)return q;return R-$};class InitFragment{constructor(E,R,N,$,j){this.content=E;this.stage=R;this.position=N;this.key=$;this.endContent=j}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,R,N){if(R.length>0){const j=R.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of j){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const R=q.get(E.key);if(R===undefined){q.set(E.key,E)}else if(Array.isArray(R)){R.push(E)}else{q.set(E.key,[R,E])}continue}else if(typeof E.merge==="function"){const R=q.get(E.key);if(R!==undefined){q.set(E.key,E.merge(R));continue}}q.set(E.key||Symbol(),E)}const G=new $;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(N));const R=E.getEndContent(N);if(R){ie.push(R)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:R}=E;R(this.content);R(this.stage);R(this.position);R(this.key);R(this.endContent)}deserialize(E){const{read:R}=E;this.content=R();this.stage=R();this.position=R();this.key=R();this.endContent=R()}}j(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class InvalidDependenciesModuleWarning extends ${constructor(E,R){const N=R?Array.from(R).sort():[];const $=N.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${$.slice(0,3).join("\n")}${$.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=$.slice(3).join("\n");this.module=E}}j(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,R,N)=>{"use strict";const $=N(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const R=$.getTopLevelSymbol(E.state);if(R){$.addUsage(E.state,null,R)}else{$.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let R=E.state.module.buildInfo.topLevelDeclarations;if(R===undefined){R=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const N of E.scope.definitions.asSet()){const $=E.getFreeInfoFromVariable(N);if($===undefined){R.add(N)}}}))};R.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);R.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,R,N)=>{"use strict";const $=N(62355);const j=N(66583);const{someInIterable:q}=N(11539);const{compareModulesById:G}=N(68673);const{dirname:ie,mkdirp:ae}=N(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((R,N)=>{const le=R.moduleGraph;$.forEach(Array.from(R.chunks),((N,$)=>{if(!N.canBeInitial()){$();return}const _e=R.chunkGraph;const Ee=R.getPath(this.options.path,{chunk:N});const we=this.options.name&&R.getPath(this.options.name,{chunk:N});const Ie=Object.create(null);for(const R of _e.getOrderedChunkModulesIterable(N,G(_e))){if(this.options.entryOnly&&!q(le.getIncomingConnections(R),(E=>E.dependency instanceof j))){continue}const N=R.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(N){const E=le.getExportsInfo(R);const $=E.getProvidedExports();const j={id:_e.getModuleId(R),buildMeta:R.buildMeta,exports:Array.isArray($)?$:undefined};Ie[N]=j}}const Me={name:we,type:this.options.type,content:Ie};const Te=this.options.format?JSON.stringify(Me,null,2):JSON.stringify(Me);const Ne=Buffer.from(Te,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,Ee),(R=>{if(R)return $(R);E.intermediateFileSystem.writeFile(Ee,Ne,$)}))}),N)}))}}E.exports=LibManifestPlugin},43351:(E,R,N)=>{"use strict";const $=N(13984);class LibraryTemplatePlugin{constructor(E,R,N,$,j){this.library={type:R||"var",name:E,umdNamedDefine:N,auxiliaryComment:$,export:j}}apply(E){const{output:R}=E.options;R.library=this.library;new $(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,R,N)=>{"use strict";const $=N(70354);const j=N(53520);const q=N(35817);const G=q(N(80274),(()=>N(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,N)=>{const j=N.resource;if(!j)return;const q=j.indexOf("?");if($.matchObject(R,q<0?j:j.substr(0,q))){for(const N of Object.keys(R)){if(N==="include"||N==="exclude"||N==="test"){continue}E[N]=R[N]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,R,N)=>{"use strict";const $=N(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(73837);const q=N(76150);const G=N(91671);const ie=G((()=>N(18161)));const ae=G((()=>N(58421)));const le=G((()=>N(67104)));class MainTemplate{constructor(E,R){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,N)=>{R.hooks.renderManifest.tap(E,((E,R)=>{if(!R.chunk.hasRuntime())return E;return N(E,R)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).renderRequire.tap(E,N)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash,R.moduleTemplates.javascript,R.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).render.tap(E,((E,$)=>{if($.chunkGraph.getNumberOfEntryModules($.chunk)===0||!$.chunk.hasRuntime()){return E}return N(E,$.chunk,R.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:j.deprecate(((E,N)=>{R.hooks.assetPath.tap(E,N)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:j.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,N)=>{ie().getCompilationHooks(R).chunkHash.tap(E,((E,R)=>{if(!E.hasRuntime())return;return N(R,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:j.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new $(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new $(["source","chunk","hash"]),requireExtensions:new $(["source","chunk","hash"]),requireEnsure:new $(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=le().getCompilationHooks(R);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(R);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(R);return E.linkPreload}});this.renderCurrentHashCode=j.deprecate(((E,R)=>{if(R){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${R}) : ${E.slice(0,R)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=j.deprecate((E=>R.getAssetPath(R.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=j.deprecate(((E,N)=>R.getAssetPath(E,N)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=j.deprecate(((E,N)=>R.getAssetPathWithInfo(E,N)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:j.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,R,N)=>{"use strict";const $=N(73837);const j=N(45137);const q=N(32448);const G=N(75412);const ie=N(76150);const{first:ae}=N(26221);const{compareChunksById:le}=N(68673);const _e=N(56202);const Ee={};let we=1e3;const Ie=new Set(["unknown"]);const Me=new Set(["javascript"]);const Te=$.deprecate(((E,R)=>E.needRebuild(R.fileSystemInfo.getDeprecatedFileTimestamps(),R.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,R=null,N=null){super();this.type=E;this.context=R;this.layer=N;this.needId=true;this.debugId=we++;this.resolveOptions=Ee;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}j.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return j.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return j.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const R=j.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(R.isModuleInChunk(this,E))return false;R.connectChunkAndModule(E,this);return true}removeChunk(E){return j.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return j.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return j.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return j.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return j.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return j.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,le)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,R){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return R?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return R?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(R)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const N=E.getReadOnlyExportInfo(this,"__esModule");if(N.provided===false){return handleDefault()}const $=N.getTarget(E);if(!$||!$.export||$.export.length!==1||$.export[0]!=="__esModule"){return"dynamic"}switch($.module.buildMeta&&$.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return R?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let R=false;for(const N of E.getIncomingConnections(this)){if(!N.dependency||!N.dependency.optional||!N.isTargetActive(undefined)){return false}R=true}return R}isAccessibleInChunk(E,R,N){for(const N of R.groupsIterable){if(!this.isAccessibleInChunkGroup(E,N))return false}return true}isAccessibleInChunkGroup(E,R,N){const $=new Set([R]);e:for(const j of $){for(const R of j.chunks){if(R!==N&&E.isModuleInChunk(this,R))continue e}if(R.isInitial())return false;for(const E of R.parentsIterable)$.add(E)}return true}hasReasonForChunk(E,R,N){for(const[$,j]of R.getIncomingConnectionsByOriginModule(this)){if(!j.some((R=>R.isTargetActive(E.runtime))))continue;for(const R of N.getModuleChunksIterable($)){if(!this.isAccessibleInChunk(N,R,E))return true}}return false}hasReasons(E,R){for(const N of E.getIncomingConnections(this)){if(N.isTargetActive(R))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,R){R(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Te(this,E))}needRebuild(E,R){return true}updateHash(E,R={chunkGraph:j.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:N,runtime:$}=R;E.update(N.getModuleGraphHash(this,$));if(this.presentationalDependencies!==undefined){for(const N of this.presentationalDependencies){N.updateHash(E,R)}}super.updateHash(E,R)}invalidateBuild(){}identifier(){const E=N(75884);throw new E}readableIdentifier(E){const R=N(75884);throw new R}build(E,R,$,j,q){const G=N(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Ie}else{return Me}}source(E,R,$="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=N(75884);throw new E}const q=j.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:R,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return $?ie.get($):ie.get(ae(this.getSourceTypes()))}size(E){const R=N(75884);throw new R}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const R=new Map;for(const N of this.getSourceTypes()){if(N!=="unknown"){R.set(N,this.source(E.dependencyTemplates,E.runtimeTemplate,N))}}return{sources:R,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,R){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,R){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,R,N,$){}serialize(E){const{write:R}=E;R(this.type);R(this.layer);R(this.context);R(this.resolveOptions);R(this.factoryMeta);R(this.useSourceMap);R(this.useSimpleSourceMap);R(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);R(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);R(this.buildMeta);R(this.buildInfo);R(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:R}=E;this.type=R();this.layer=R();this.context=R();this.resolveOptions=R();this.factoryMeta=R();this.useSourceMap=R();this.useSimpleSourceMap=R();this._warnings=R();this._errors=R();this.buildMeta=R();this.buildInfo=R();this.presentationalDependencies=R();super.deserialize(E)}}_e(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:$.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:$.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,R,N)=>{"use strict";const{cutOffLoaderExecution:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleBuildError extends j{constructor(E,{from:R=null}={}){let N="Module build failed";let j=undefined;if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const R=$(E.stack);if(!E.hideStack){N+=R}else{j=R;if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=E}}}else if(typeof E.message==="string"&&E.message){N+=E.message}else{N+=String(E)}}else{N+=String(E)}super(N);this.name="ModuleBuildError";this.details=j;this.error=E}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,R,N)=>{"use strict";const $=N(81627);class ModuleDependencyError extends ${constructor(E,R,N){super(R.message);this.name="ModuleDependencyError";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class ModuleDependencyWarning extends ${constructor(E,R,N){super(R?R.message:"");this.name="ModuleDependencyWarning";this.details=R&&!R.hideStack?R.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=N;this.error=R;if(R&&R.hideStack){this.stack=R.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}j(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleError extends j{constructor(E,{from:R=null}={}){let N="Module Error";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=E}super(N);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,R,N)=>{"use strict";class ModuleFactory{create(E,R){const $=N(75884);throw new $}}E.exports=ModuleFactory},70354:(E,R,N)=>{"use strict";const $=N(35891);const j=N(91671);const q=R;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,R)=>()=>{const N=E();const $=N.indexOf(R);return $<0?"":N.substr($)};const getBefore=(E,R)=>()=>{const N=E();const $=N.lastIndexOf(R);return $<0?"":N.substr(0,$)};const getHash=(E,R)=>()=>{const N=$(R);N.update(E());const j=N.digest("hex");return j.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];Object.defineProperty(R,N,{get:()=>$(),set:E=>{Object.defineProperty(R,N,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return R};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",R,{requestShortener:N,chunkGraph:$,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof R==="object"?R:{moduleFilenameTemplate:R}};let le;let _e;let Ee;let we;let Ie;if(typeof E==="string"){Ie=j((()=>N.shorten(E)));Ee=Ie;we=()=>"";le=()=>E.split("!").pop();_e=getHash(Ee,ie)}else{Ie=j((()=>E.readableIdentifier(N)));Ee=j((()=>N.shorten(E.identifier())));we=()=>$.getModuleId(E);le=()=>E.identifier().split("!").pop();_e=getHash(Ee,ie)}const Me=j((()=>Ie().split("!").pop()));const Te=getBefore(Ie,"!");const Ne=getBefore(Ee,"!");const Be=getAfter(Me,"?");const resourcePath=()=>{const E=Be().length;return E===0?Me():Me().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:Ee,shortIdentifier:Ie,resource:Me,resourcePath:j(resourcePath),absoluteResourcePath:j(le),allLoaders:j(Ne),query:j(Be),moduleId:j(we),hash:j(_e),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",Ee],["short-identifier",Ie],["resource",Me],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",le],["abs-resource-path",le],["absoluteresource-path",le],["absresource-path",le],["absolute-resourcepath",le],["abs-resourcepath",le],["absoluteresourcepath",le],["absresourcepath",le],["all-loaders",Ne],["allloaders",Ne],["loaders",Te],["query",Be],["id",we],["hash",_e],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,R)=>{if(R.length+2===E.length){const E=Le.get(R.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,R,N)=>{const $=Object.create(null);const j=Object.create(null);E.forEach(((E,R)=>{$[E]=$[E]||[];$[E].push(R);j[E]=0}));if(N){Object.keys($).forEach((E=>{$[E].sort(N)}))}return E.map(((E,q)=>{if($[E].length>1){if(N&&$[E][0]===q)return E;return R(E,q,j[E]++)}else{return E}}))};q.matchPart=(E,R)=>{if(!R)return true;R=asRegExp(R);if(Array.isArray(R)){return R.map(asRegExp).some((R=>R.test(E)))}else{return R.test(E)}};q.matchObject=(E,R)=>{if(E.test){if(!q.matchPart(R,E.test)){return false}}if(E.include){if(!q.matchPart(R,E.include)){return false}}if(E.exclude){if(q.matchPart(R,E.exclude)){return false}}return true}},75412:(E,R,N)=>{"use strict";const $=N(73837);const j=N(76632);const q=N(79900);const G=N(16102);const ie=N(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{originModule:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};const getConnectionsByModule=E=>{const R=new Map;let N=0;let $=undefined;for(const j of E){const{module:E}=j;if(N===E){$.push(j)}else{N=E;const q=R.get(E);if(q!==undefined){$=q;q.push(j)}else{const N=[j];$=N;R.set(E,N)}}}return R};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new j;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let R=this._moduleMap.get(E);if(R===undefined){R=new ModuleGraphModule;this._moduleMap.set(E,R)}return R}setParents(E,R,N,$=-1){E._parentDependenciesBlockIndex=$;E._parentDependenciesBlock=R;E._parentModule=N}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,R,N){const $=new q(E,R,N,undefined,R.weak,R.getCondition(this));const j=this._getModuleGraphModule(N).incomingConnections;j.add($);if(E){const R=this._getModuleGraphModule(E);if(R._unassignedConnections===undefined){R._unassignedConnections=[]}R._unassignedConnections.push($);if(R.outgoingConnections===undefined){R.outgoingConnections=new G}R.outgoingConnections.add($)}else{this._dependencyMap.set(R,$)}}updateModule(E,R){const N=this.getConnection(E);if(N.module===R)return;const $=N.clone();$.module=R;this._dependencyMap.set(E,$);N.setActive(false);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.add($);const q=this._getModuleGraphModule(R);q.incomingConnections.add($)}removeConnection(E){const R=this.getConnection(E);const N=this._getModuleGraphModule(R.module);N.incomingConnections.delete(R);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.delete(R);this._dependencyMap.set(E,null)}addExplanation(E,R){const N=this.getConnection(E);N.addExplanation(R)}cloneModuleAttributes(E,R){const N=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(R);$.postOrderIndex=N.postOrderIndex;$.preOrderIndex=N.preOrderIndex;$.depth=N.depth;$.exports=N.exports;$.async=N.async}removeModuleAttributes(E){const R=this._getModuleGraphModule(E);R.postOrderIndex=null;R.preOrderIndex=null;R.depth=null;R.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){$.originModule=R;E.add($);q.delete($)}}}const ie=$.incomingConnections;const ae=j.incomingConnections;for(const E of ie){if(N(E)){E.module=R;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,R,N){if(E===R)return;const $=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(R);const q=$.outgoingConnections;if(q!==undefined){if(j.outgoingConnections===undefined){j.outgoingConnections=new G}const E=j.outgoingConnections;for(const $ of q){if(N($)){const N=$.clone();N.originModule=R;E.add(N);if(N.module!==undefined){const E=this._getModuleGraphModule(N.module);E.incomingConnections.add(N)}}}}}addExtraReason(E,R){const N=this._getModuleGraphModule(E).incomingConnections;N.add(new q(null,null,E,R))}getResolvedModule(E){const R=this.getConnection(E);return R!==undefined?R.resolvedModule:null}getConnection(E){const R=this._dependencyMap.get(E);if(R===undefined){const R=this.getParentModule(E);if(R!==undefined){const N=this._getModuleGraphModule(R);if(N._unassignedConnections&&N._unassignedConnections.length!==0){let R;for(const $ of N._unassignedConnections){this._dependencyMap.set($.dependency,$);if($.dependency===E)R=$}N._unassignedConnections.length=0;if(R!==undefined){return R}}}this._dependencyMap.set(E,null);return undefined}return R===null?undefined:R}getModule(E){const R=this.getConnection(E);return R!==undefined?R.module:null}getOrigin(E){const R=this.getConnection(E);return R!==undefined?R.originModule:null}getResolvedOrigin(E){const R=this.getConnection(E);return R!==undefined?R.resolvedOriginModule:null}getIncomingConnections(E){const R=this._getModuleGraphModule(E).incomingConnections;return R}getOutgoingConnections(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?ae:R}getIncomingConnectionsByOriginModule(E){const R=this._getModuleGraphModule(E).incomingConnections;return R.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const R=this._getModuleGraphModule(E).outgoingConnections;return R===undefined?undefined:R.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const R=this._getModuleGraphModule(E);return R.profile}setProfile(E,R){const N=this._getModuleGraphModule(E);N.profile=R}getIssuer(E){const R=this._getModuleGraphModule(E);return R.issuer}setIssuer(E,R){const N=this._getModuleGraphModule(E);N.issuer=R}setIssuerIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.issuer===undefined)N.issuer=R}getOptimizationBailout(E){const R=this._getModuleGraphModule(E);return R.optimizationBailout}getProvidedExports(E){const R=this._getModuleGraphModule(E);return R.exports.getProvidedExports()}isExportProvided(E,R){const N=this._getModuleGraphModule(E);const $=N.exports.isExportProvided(R);return $===undefined?null:$}getExportsInfo(E){const R=this._getModuleGraphModule(E);return R.exports}getExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getExportInfo(R)}getReadOnlyExportInfo(E,R){const N=this._getModuleGraphModule(E);return N.exports.getReadOnlyExportInfo(R)}getUsedExports(E,R){const N=this._getModuleGraphModule(E);return N.exports.getUsedExports(R)}getPreOrderIndex(E){const R=this._getModuleGraphModule(E);return R.preOrderIndex}getPostOrderIndex(E){const R=this._getModuleGraphModule(E);return R.postOrderIndex}setPreOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.preOrderIndex=R}setPreOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.preOrderIndex===null){N.preOrderIndex=R;return true}return false}setPostOrderIndex(E,R){const N=this._getModuleGraphModule(E);N.postOrderIndex=R}setPostOrderIndexIfUnset(E,R){const N=this._getModuleGraphModule(E);if(N.postOrderIndex===null){N.postOrderIndex=R;return true}return false}getDepth(E){const R=this._getModuleGraphModule(E);return R.depth}setDepth(E,R){const N=this._getModuleGraphModule(E);N.depth=R}setDepthIfLower(E,R){const N=this._getModuleGraphModule(E);if(N.depth===null||N.depth>R){N.depth=R;return true}return false}isAsync(E){const R=this._getModuleGraphModule(E);return R.async}setAsync(E){const R=this._getModuleGraphModule(E);R.async=true}getMeta(E){let R=this._metaMap.get(E);if(R===undefined){R=Object.create(null);this._metaMap.set(E,R)}return R}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...R){if(this._cache===undefined)return E(this,...R);return this._cache.provide(E,...R,(()=>E(this,...R)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...R){const N=R.pop();if(this._moduleMemCaches&&this._cacheStage){const $=this._moduleMemCaches.get(this.getParentModule(E));if($!==undefined){return $.provide(E,this._cacheStage,...R,(()=>N(this,E,...R)))}}if(this._cache===undefined)return N(this,E,...R);return this._cache.provide(E,...R,(()=>N(this,E,...R)))}static getModuleGraphForModule(E,R,N){const j=_e.get(R);if(j)return j(E);const q=$.deprecate((E=>{const N=le.get(E);if(!N)throw new Error(R+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return N}),R+": Use new ModuleGraph API",N);_e.set(R,q);return q(E)}static setModuleGraphForModule(E,R){le.set(E,R)}static clearModuleGraphForModule(E){le.delete(E)}}const le=new WeakMap;const _e=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const R=Symbol("transitive only");const N=Symbol("circular connection");const addConnectionStates=(E,N)=>{if(E===true||N===true)return true;if(E===false)return N;if(N===false)return E;if(E===R)return N;if(N===R)return E;return E};const intersectConnectionStates=(E,R)=>{if(E===false||R===false)return false;if(E===true)return R;if(R===true)return E;if(E===N)return R;if(R===N)return E;return E};class ModuleGraphConnection{constructor(E,R,N,$,j=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=R;this.resolvedModule=N;this.module=N;this.weak=j;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if($){this.explanations=new Set;this.explanations.add($)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const R=this.condition;this.condition=(N,$)=>intersectConnectionStates(R(N,$),E(N,$))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=R;E.exports.CIRCULAR_CONNECTION=N},21542:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j,CachedSource:q}=N(48135);const{UsageState:G}=N(76632);const ie=N(58159);const ae=N(18161);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const printExportsInfoToSource=(E,R,N,$,j,q=new Set)=>{const ae=N.otherExportsInfo;let le=0;const _e=[];for(const E of N.orderedExports){if(!q.has(E)){q.add(E);_e.push(E)}else{le++}}let Ee=false;if(!q.has(ae)){q.add(ae);Ee=true}else{le++}for(const N of _e){const G=N.getTarget($);E.add(ie.toComment(`${R}export ${JSON.stringify(N.name).slice(1,-1)} [${N.getProvidedInfo()}] [${N.getUsedInfo()}] [${N.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier(j)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(N.exportsInfo){printExportsInfoToSource(E,R+" ",N.exportsInfo,$,j,q)}}if(le){E.add(ie.toComment(`${R}... (${le} already listed exports)`)+"\n")}if(Ee){const N=ae.getTarget($);if(N||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const $=_e.length>0||le>0?"other exports":"exports";E.add(ie.toComment(`${R}${$} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${N?` -> ${N.module.readableIdentifier(j)}`:""}`)+"\n")}}};const le=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:R}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const N=ae.getCompilationHooks(E);N.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,N,{chunk:G,chunkGraph:ae,moduleGraph:_e,runtimeTemplate:Ee})=>{const{requestShortener:we}=Ee;let Ie;let Me=le.get(we);if(Me===undefined){le.set(we,Me=new WeakMap);Me.set(N,Ie={header:undefined,full:new WeakMap})}else{Ie=Me.get(N);if(Ie===undefined){Me.set(N,Ie={header:undefined,full:new WeakMap})}else if(!R){const R=Ie.full.get(E);if(R!==undefined)return R}}const Te=new $;let Ne=Ie.header;if(Ne===undefined){const E=N.readableIdentifier(we);const R=E.replace(/\*\//g,"*_/");const $="*".repeat(R.length);const q=`/*!****${$}****!*\\\n !*** ${R} ***!\n \\****${$}****/\n`;Ne=new j(q);Ie.header=Ne}Te.add(Ne);if(R){const R=N.buildMeta.exportsType;Te.add(ie.toComment(R?`${R} exports`:"unknown exports (runtime-defined)")+"\n");if(R){const E=_e.getExportsInfo(N);printExportsInfoToSource(Te,"",E,_e,we)}Te.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(N,G.runtime))}`)+"\n");const $=_e.getOptimizationBailout(N);if($){for(const E of $){let R;if(typeof E==="function"){R=E(we)}else{R=E}Te.add(ie.toComment(`${R}`)+"\n")}}Te.add(E);return Te}else{Te.add(E);const R=new q(Te);Ie.full.set(E,R);return R}}));N.chunkHash.tap("ModuleInfoHeaderPlugin",((E,R)=>{R.update("ModuleInfoHeaderPlugin");R.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,R,N)=>{"use strict";const $=N(81627);const j={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends ${constructor(E,R,N){let $=`Module not found: ${R.toString()}`;const q=R.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const R=j[E];if(R){const N=R.indexOf("/");const j=N>0?R.slice(0,N):R;$+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";$+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${R}") }'\n`+`\t- install '${j}'\n`;$+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super($);this.name="ModuleNotFoundError";this.details=R.details;this.module=E;this.error=R;this.loc=N}}E.exports=ModuleNotFoundError},14489:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends ${constructor(E,R,N,$){let j="Module parse failed: "+(R&&R.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!$.startsWith("webassembly")){j+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";j+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";j+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";j+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!N){j+="\nYou may need an appropriate loader to handle this file type."}else if(N.length>=1){j+=`\nFile was processed with these loaders:${N.map((E=>`\n * ${E}`)).join("")}`;j+="\nYou may need an additional loader to handle the result of these loaders."}else{j+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(R&&R.loc&&typeof R.loc==="object"&&typeof R.loc.line==="number"){var ie=R.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){j+="\n(Source code omitted for this binary file)"}else{const R=E.split(/\r?\n/);const N=Math.max(0,ie-3);const $=R.slice(N,ie-1);const q=R[ie-1];const G=R.slice(ie,ie+2);j+=$.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:R.loc}}else if(R&&R.stack){j+="\n"+R.stack}super(j);this.name="ModuleParseError";this.loc=G;this.error=R}serialize(E){const{write:R}=E;R(this.error);super.serialize(E)}deserialize(E){const{read:R}=E;this.error=R();super.deserialize(E)}}j(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,R,N)=>{"use strict";const $=N(81627);class ModuleRestoreError extends ${constructor(E,R){let N="Module restore failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleRestoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleRestoreError},31467:(E,R,N)=>{"use strict";const $=N(81627);class ModuleStoreError extends ${constructor(E,R){let N="Module storing failed: ";let $=undefined;if(R!==null&&typeof R==="object"){if(typeof R.stack==="string"&&R.stack){const E=R.stack;N+=E}else if(typeof R.message==="string"&&R.message){N+=R.message}else{N+=R}}else{N+=String(R)}super(N);this.name="ModuleStoreError";this.details=$;this.module=E;this.error=R}}E.exports=ModuleStoreError},68661:(E,R,N)=>{"use strict";const $=N(73837);const j=N(91671);const q=j((()=>N(18161)));class ModuleTemplate{constructor(E,R){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContent.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModuleContainer.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:$.deprecate(((E,N)=>{q().getCompilationHooks(R).renderModulePackage.tap(E,((E,R,$)=>N(E,R,$,$.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:$.deprecate(((E,N)=>{R.hooks.fullHash.tap(E,N)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:$.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,R,N)=>{"use strict";const{cleanUp:$}=N(50717);const j=N(81627);const q=N(56202);class ModuleWarning extends j{constructor(E,{from:R=null}={}){let N="Module Warning";if(R){N+=` (from ${R}):\n`}else{N+=": "}if(E&&typeof E==="object"&&E.message){N+=E.message}else if(E){N+=String(E)}super(N);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?$(E.stack,this.message):undefined}serialize(E){const{write:R}=E;R(this.warning);super.serialize(E)}deserialize(E){const{read:R}=E;this.warning=R();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,R,N)=>{"use strict";const $=N(62355);const{SyncHook:j,MultiHook:q}=N(92960);const G=N(27310);const ie=N(34884);const ae=N(10869);const le=N(56561);E.exports=class MultiCompiler{constructor(E,R){if(!Array.isArray(E)){E=Object.keys(E).map((R=>{E[R].name=R;return E[R]}))}this.hooks=Object.freeze({done:new j(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new j([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:R.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const N=this.compilers.map((()=>null));let $=0;for(let E=0;E{if(!q){q=true;$++}N[j]=E;if($===this.compilers.length){this.hooks.done.call(new ie(N))}}));R.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;$--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const R of this.compilers){while(R.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const R of this.compilers){R.inputFileSystem=E}}set outputFileSystem(E){for(const R of this.compilers){R.outputFileSystem=E}}set watchFileSystem(E){for(const R of this.compilers){R.watchFileSystem=E}}set intermediateFileSystem(E){for(const R of this.compilers){R.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,R){this.dependencies.set(E,R)}validateDependencies(E){const R=new Set;const N=[];const targetFound=E=>{for(const N of R){if(N.target===E){return true}}return false};const sortEdges=(E,R)=>E.source.name.localeCompare(R.source.name)||E.target.name.localeCompare(R.target.name);for(const E of this.compilers){const $=this.dependencies.get(E);if($){for(const j of $){const $=this.compilers.find((E=>E.name===j));if(!$){N.push(j)}else{R.add({source:E,target:$})}}}}const $=N.map((E=>`Compiler dependency \`${E}\` not found.`));const j=this.compilers.filter((E=>!targetFound(E)));while(j.length>0){const E=j.pop();for(const N of R){if(N.source===E){R.delete(N);const E=N.target;if(!targetFound(E)){j.push(E)}}}}if(R.size>0){const E=Array.from(R).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");$.unshift(E.join("\n"))}if($.length>0){const R=$.join("\n");E(new Error(R));return false}return true}runWithDependencies(E,R,N){const j=new Set;let q=E;const isDependencyFulfilled=E=>j.has(E);const getReadyCompilers=()=>{let E=[];let R=q;q=[];for(const N of R){const R=this.dependencies.get(N);const $=!R||R.every(isDependencyFulfilled);if($){E.push(N)}else{q.push(N)}}return E};const runCompilers=E=>{if(q.length===0)return E();$.map(getReadyCompilers(),((E,N)=>{R(E,(R=>{if(R)return N(R);j.add(E.name);runCompilers(N)}))}),E)};runCompilers(N)}_runGraph(E,R,N){const j=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of j)q.set(E.compiler.name,E);for(const E of j){const R=this.dependencies.get(E.compiler);if(!R)continue;for(const N of R){const R=q.get(N);E.parents.push(R);R.children.push(E)}}const G=new le;for(const E of j){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let _e=0;const Ee=this._options.parallelism;const nodeDone=(E,R,q)=>{if(ae)return;if(R){ae=true;return $.each(j,((E,R)=>{if(E.compiler.watching){E.compiler.watching.close(R)}else{R()}}),(()=>N(R)))}E.result=q;_e--;if(E.state==="running"){E.state="done";for(const R of E.children){if(R.state==="blocked")G.enqueue(R)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const R of E.children){nodeInvalidFromParent(R)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const we=[];j.forEach(((R,N)=>{we.push(R.setupResult=E(R.compiler,N,nodeDone.bind(null,R),(()=>R.state!=="starting"&&R.state!=="running"),(()=>nodeChange(R)),(()=>nodeInvalid(R))))}));let Ie=true;const processQueue=()=>{if(Ie)return;Ie=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(_e0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){_e++;E.state="starting";R(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Ie=false;if(!ae&&_e===0&&j.every((E=>E.state==="done"))){const E=[];for(const R of j){const N=R.result;if(N){R.result=undefined;E.push(N)}}if(E.length>0){N(null,new ie(E))}}};processQueueWorker();return we}watch(E,R){if(this.running){return R(new G)}this.running=true;if(this.validateDependencies(R)){const N=this._runGraph(((R,N,$,j,q,G)=>{const ie=R.watch(Array.isArray(E)?E[N]:E,$);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=j}return ie}),((E,R,N)=>{if(E.watching!==R)return;if(!R.running)R.invalidate()}),R);return new ae(N,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,R,N)=>E.run(N)),((R,N)=>{this.running=false;if(E!==undefined){return E(R,N)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){$.each(this.compilers,((E,R)=>{E.close(R)}),E)}}},34884:(E,R,N)=>{"use strict";const $=N(49197);const indent=(E,R)=>{const N=E.replace(/\n([^\n])/g,"\n"+R+"$1");return R+N};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,R){if(!E){E={}}const{children:N=undefined,...$}=typeof E==="string"?{preset:E}:E;const j=this.stats.map(((E,j)=>{const q=Array.isArray(N)?N[j]:N;return E.compilation.createStatsOptions({...$,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},R)}));return{version:j.every((E=>E.version)),hash:j.every((E=>E.hash)),errorsCount:j.every((E=>E.errorsCount)),warningsCount:j.every((E=>E.warningsCount)),errors:j.every((E=>E.errors)),warnings:j.every((E=>E.warnings)),children:j}}toJson(E){E=this._createChildOptions(E,{forToString:false});const R={};R.children=this.stats.map(((R,N)=>{const j=R.toJson(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root);j.name=G;return j}));if(E.version){R.version=R.children[0].version}if(E.hash){R.hash=R.children.map((E=>E.hash)).join("")}const mapError=(E,R)=>({...R,compilerPath:R.compilerPath?`${E.name}.${R.compilerPath}`:E.name});if(E.errors){R.errors=[];for(const E of R.children){for(const N of E.errors){R.errors.push(mapError(E,N))}}}if(E.warnings){R.warnings=[];for(const E of R.children){for(const N of E.warnings){R.warnings.push(mapError(E,N))}}}if(E.errorsCount){R.errorsCount=0;for(const E of R.children){R.errorsCount+=E.errorsCount}}if(E.warningsCount){R.warningsCount=0;for(const E of R.children){R.warningsCount+=E.warningsCount}}return R}toString(E){E=this._createChildOptions(E,{forToString:true});const R=this.stats.map(((R,N)=>{const j=R.toString(E.children[N]);const q=R.compilation.name;const G=q&&$.makePathsRelative(E.context,q,R.compilation.compiler.root).replace(/\|/g," ");if(!j)return j;return G?`${G}:\n${indent(j," ")}`:j}));return R.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,R,N)=>{"use strict";const $=N(62355);class MultiWatching{constructor(E,R){this.watchings=E;this.compiler=R}invalidate(E){if(E){$.each(this.watchings,((E,R)=>E.invalidate(R)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){$.forEach(this.watchings,((E,R)=>{E.close(R)}),(R=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(R)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoModeWarning extends ${constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class NodeStuffInWebError extends ${constructor(E,R,N){super(`${JSON.stringify(R)} has been used, it will be undefined in next major version.\n${N}`);this.name="NodeStuffInWebError";this.loc=E}}j(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,R,N)=>{"use strict";const $=N(39960);const j=N(76150);const q=N(59455);const G=N(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=N(48472);const{relative:le}=N(95396);const{parseResource:_e}=N(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((N,{normalModuleFactory:Ee})=>{const handler=(N,Ee)=>{if(Ee.node===false)return;let we=R;if(Ee.node){we={...we,...Ee.node}}if(we.global!==false){const E=we.global==="warn";N.hooks.expression.for("global").tap("NodeStuffPlugin",(R=>{const q=new G(j.global,R.range,[j.global]);q.loc=R.loc;N.state.module.addPresentationalDependency(q);if(E){N.state.module.addWarning(new $(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,R,j)=>{N.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(R(N.state.module)),G.range,E);ie.loc=G.loc;N.state.module.addPresentationalDependency(ie);if(j){N.state.module.addWarning(new $(ie.loc,E,j))}return true}))};const setConstant=(E,R,N)=>setModuleConstant(E,(()=>R),N);const Ie=E.context;if(we.__filename){switch(we.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(R=>le(E.inputFileSystem,Ie,R.resource)));break}N.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;const R=_e(N.state.module.resource);return ie(R.path)(E)}))}if(we.__dirname){switch(we.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(R=>le(E.inputFileSystem,Ie,R.context)));break}N.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!N.state.module)return;return ie(N.state.module.context)(E)}))}N.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(N,"require.extensions is not supported by webpack. Use a loader instead."))};Ee.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);Ee.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,R,N)=>{"use strict";const $=N(78688);const{getContext:j,runLoaders:q}=N(60425);const G=N(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:le}=N(92960);const{CachedSource:_e,OriginalSource:Ee,RawSource:we,SourceMapSource:Ie}=N(48135);const Me=N(3080);const Te=N(3728);const Ne=N(53453);const Be=N(26509);const Le=N(91613);const je=N(79900);const ze=N(14489);const Ue=N(8893);const qe=N(76150);const Ge=N(77090);const He=N(81627);const We=N(72380);const Ve=N(83379);const{isSubset:Ke}=N(26221);const{getScheme:Qe}=N(45754);const{compareLocations:Je,concatComparators:Xe,compareSelect:Ye,keepOriginalOrder:Ze}=N(68673);const et=N(35891);const{createFakeHook:tt}=N(16595);const{join:nt}=N(95396);const{contextify:rt,absolutify:st,makePathsRelative:it}=N(49197);const ot=N(56202);const lt=N(91671);const ct=lt((()=>N(49619)));const ut=lt((()=>N(15235).validate));const pt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,R,N)=>{if(R.startsWith("webpack://"))return R;return`webpack://${it(E,R,N)}`};const contextifySourceMap=(E,R,N)=>{if(!Array.isArray(R.sources))return R;const{sourceRoot:$}=R;const j=!$?E=>E:$.endsWith("/")?E=>E.startsWith("/")?`${$.slice(0,-1)}${E}`:`${$}${E}`:E=>E.startsWith("/")?`${$}${E}`:`${$}/${E}`;const q=R.sources.map((R=>contextifySourceUrl(E,j(R),N)));return{...R,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends He{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const dt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=dt.get(E);if(R===undefined){R={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const N=R.readResource.for(E);return tt({tap:(E,R)=>N.tap(E,(E=>R(E.resource,E._module))),tapAsync:(E,R)=>N.tapAsync(E,((E,N)=>R(E.resource,E._module,N))),tapPromise:(E,R)=>N.tapPromise(E,(E=>R(E.resource,E._module)))})})),readResource:new ie((()=>new le(["loaderContext"]))),needBuild:new le(["module","context"])};dt.set(E,R)}return R}constructor({layer:E,type:R,request:N,userRequest:$,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:le,matchResource:_e,parser:Ee,parserOptions:we,generator:Ie,generatorOptions:Me,resolveOptions:Te}){super(R,le||j(ie),E);this.request=N;this.userRequest=$;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(R);this.parser=Ee;this.parserOptions=we;this.generator=Ie;this.generatorOptions=Me;this.resource=ie;this.resourceResolveData=ae;this.matchResource=_e;this.loaders=G;if(Te!==undefined){this.resolveOptions=Te}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const R=E.indexOf("?");if(R>=0)return E.substr(0,R);return E}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.binary=R.binary;this.request=R.request;this.userRequest=R.userRequest;this.rawRequest=R.rawRequest;this.parser=R.parser;this.parserOptions=R.parserOptions;this.generator=R.generator;this.generatorOptions=R.generatorOptions;this.resource=R.resource;this.resourceResolveData=R.resourceResolveData;this.context=R.context;this.matchResource=R.matchResource;this.loaders=R.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,R){this._restoreFromUnsafeCache(E,R)}_restoreFromUnsafeCache(E,R){super._restoreFromUnsafeCache(E,R);this.parserOptions=E.parserOptions;this.parser=R.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=R.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,R,N,$,j){if($){if(typeof $==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new Ee(N,contextifySourceUrl(E,$,j))}if(this.useSourceMap){return new Ie(N,R,contextifySourceMap(E,$,j))}}return new we(N)}_createLoaderContext(E,R,N,j,q){const{requestShortener:ie}=N.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Ie);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Ie.addDependency(E)},contextDependencies:{add:E=>Ie.addContextDependency(E)},missingDependencies:{add:E=>Ie.addMissingDependency(E)}});const ae=lt((()=>st.bindCache(N.compiler.root)));const le=lt((()=>st.bindContextCache(this.context,N.compiler.root)));const _e=lt((()=>rt.bindCache(N.compiler.root)));const Ee=lt((()=>rt.bindContextCache(this.context,N.compiler.root)));const we={absolutify:(E,R)=>E===this.context?le()(R):ae()(E,R),contextify:(E,R)=>E===this.context?Ee()(R):_e()(E,R),createHash:E=>et(E||N.outputOptions.hashFunction)};const Ie={version:2,getOptions:E=>{const R=this.getCurrentLoader(Ie);let{options:N}=R;if(typeof N==="string"){if(N.substr(0,1)==="{"&&N.substr(-1)==="}"){try{N=$(N)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{N=G.parse(N,"&","=",{maxKeys:0})}}if(N===null||N===undefined){N={}}if(E){let R="Loader";let $="options";let j;if(E.title&&(j=/^(.+) (.+)$/.exec(E.title))){[,R,$]=j}ut()(E,N,{name:R,baseDataPath:$})}return N},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const R=this.getCurrentLoader(Ie);return N.getLogger((()=>[R&&R.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(R,N,$){E.resolve({},R,N,getResolveContext(),$)},getResolve(R){const N=R?E.withOptions(R):E;return(E,R,$)=>{if($){N.resolve({},E,R,getResolveContext(),$)}else{return new Promise((($,j)=>{N.resolve({},E,R,getResolveContext(),((E,R)=>{if(E)j(E);else $(R)}))}))}}},emitFile:(E,$,j,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(R.context,E,$,j,N.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new Ve}this.buildInfo.buildDependencies.add(E)},utils:we,rootContext:R.context,webpack:true,sourceMap:!!this.useSourceMap,mode:R.mode||"production",_module:this,_compilation:N,_compiler:N.compiler,fs:j};Object.assign(Ie,R.loader);q.loader.call(Ie,this);return Ie}getCurrentLoader(E,R=E.loaderIndex){if(this.loaders&&this.loaders.length&&R=0&&this.loaders[R]){return this.loaders[R]}return null}createSource(E,R,N,$){if(Buffer.isBuffer(R)){return new we(R)}if(!this.identifier){return new we(R)}const j=this.identifier();if(this.useSourceMap&&N){return new Ie(R,contextifySourceUrl(E,j,$),contextifySourceMap(E,N,$))}if(this.useSourceMap||this.useSimpleSourceMap){return new Ee(R,contextifySourceUrl(E,j,$))}return new we(R)}_doBuild(E,R,N,$,j,G){const ie=this._createLoaderContext(N,E,R,$,j);const processResult=(N,$)=>{if(N){if(!(N instanceof Error)){N=new NonErrorEmittedError(N)}const E=this.getCurrentLoader(ie);const $=new Be(N,{from:E&&R.runtimeTemplate.requestShortener.shorten(E.loader)});return G($)}const j=$[0];const q=$.length>=1?$[1]:null;const ae=$.length>=2?$[2]:null;if(!Buffer.isBuffer(j)&&typeof j!=="string"){const E=this.getCurrentLoader(ie,0);const N=new Error(`Final loader (${E?R.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const $=new Be(N);return G($)}this._source=this.createSource(E.context,this.binary?asBuffer(j):asString(j),q,R.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new Ve;this.buildInfo.contextDependencies=new Ve;this.buildInfo.missingDependencies=new Ve;this.buildInfo.cacheable=true;try{j.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new Ve}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,R,N)=>{const $=E.resource;const q=Qe($);j.readResource.for(q).callAsync(E,((E,R)=>{if(E)return N(E);if(typeof R!=="string"&&!R){return N(new Ge(q,$))}return N(null,R)}))}},((E,R)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!R){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(R.fileDependencies);this.buildInfo.contextDependencies.addAll(R.contextDependencies);this.buildInfo.missingDependencies.addAll(R.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&R.cacheable;processResult(E,R.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,R){if(typeof E==="string"){return R.startsWith(E)}if(typeof E==="function"){return E(R)}return E.test(R)}shouldPreventParsing(E,R){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,R)}for(let N=0;N{if(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const handleParseError=N=>{const $=this._source.source();const q=this.loaders.map((N=>rt(E.context,N.loader,R.compiler.root)));const G=new ze($,N,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(R);return j()};const handleParseResult=E=>{this.dependencies.sort(Xe(Ye((E=>E.loc),Je),Ze(this.dependencies)));this._initBuildHash(R);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return j()}const E=R.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return j()}let N=undefined;const checkDependencies=E=>{for(const $ of E){if(!pt.test($)){if(N===undefined)N=new Set;N.add($);E.delete($);try{const N=$.replace(/[\\/]?\*.*$/,"");const j=nt(R.fileSystemInfo.fs,this.context,N);if(j!==$&&pt.test(j)){(N!==$?this.buildInfo.contextDependencies:E).add(j)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(N!==undefined){const E=ct();this.addWarning(new E(this,N))}R.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,R)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=R;return j()}))};try{G.beforeParse.call(this)}catch(N){this.markModuleAsErrored(N);this._initBuildHash(R);return j()}const $=E.module&&E.module.noParse;if(this.shouldPreventParsing($,this.request)){this.buildInfo.parsed=false;this._initBuildHash(R);return handleBuildDone()}let ie;try{const N=this._source.source();ie=this.parser.parse(this._ast||N,{source:N,current:this,module:this,compilation:R,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return je.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let R=false;for(const N of this.dependencies){const $=N.getModuleEvaluationSideEffectsState(E);if($===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${N.type}) with side effects at ${We(N.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if($!==je.CIRCULAR_CONNECTION){R=je.addConnectionStates(R,$)}}this._isEvaluatingSideEffects=false;return R}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(qe.module);G.add(qe.exports);G.add(qe.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const le=this.error?new we("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:G,runtime:j,concatenationScope:q,getData:getData,type:ie});if(le){ae.set(ie,new _e(le))}}const le={sources:ae,runtimeRequirements:G,data:ie};return le}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,R){const{fileSystemInfo:N,compilation:$,valueCacheVersions:j}=E;if(this._forceBuild)return R(null,true);if(this.error)return R(null,true);if(!this.buildInfo.cacheable)return R(null,true);if(!this.buildInfo.snapshot)return R(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!j)return R(null,true);for(const[E,N]of q){if(N===undefined)return R(null,true);const $=j.get(E);if(N!==$&&(typeof N==="string"||typeof $==="string"||$===undefined||!Ke(N,$))){return R(null,true)}}}N.checkSnapshotValid(this.buildInfo.snapshot,((N,j)=>{if(N)return R(N);if(!j)return R(null,true);const q=NormalModule.getCompilationHooks($);q.needBuild.callAsync(this,E,((E,N)=>{if(E){return R(Te.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}R(null,!!N)}))}))}size(E){const R=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(R!==undefined){return R}const N=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,N);return N}addCacheDependencies(E,R,N,$){const{snapshot:j,buildDependencies:q}=this.buildInfo;if(j){E.addAll(j.getFileIterable());R.addAll(j.getContextIterable());N.addAll(j.getMissingIterable())}else{const{fileDependencies:$,contextDependencies:j,missingDependencies:q}=this.buildInfo;if($!==undefined)E.addAll($);if(j!==undefined)R.addAll(j);if(q!==undefined)N.addAll(q)}if(q!==undefined){$.addAll(q)}}updateHash(E,R){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...R});super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this._source);R(this.error);R(this._lastSuccessfulBuildMeta);R(this._forceBuild);super.serialize(E)}static deserialize(E){const R=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});R.deserialize(E);return R}deserialize(E){const{read:R}=E;this._source=R();this.error=R();this._lastSuccessfulBuildMeta=R();this._forceBuild=R();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,R,N)=>{"use strict";const{getContext:$}=N(60425);const j=N(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:le}=N(92960);const _e=N(45137);const Ee=N(53453);const we=N(40674);const Ie=N(75412);const Me=N(53520);const Te=N(94288);const Ne=N(1976);const Be=N(95020);const Le=N(73817);const je=N(19311);const ze=N(83379);const{getScheme:Ue}=N(45754);const{cachedCleverMerge:qe,cachedSetProperty:Ge}=N(90149);const{join:He}=N(95396);const{parseResource:We}=N(49197);const Ve={};const Ke={};const Qe={};const Je=[];const Xe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,R)=>{let N="";for(const R of E){N+=loaderToIdent(R)+"!"}return N+R};const identToLoaderRequest=E=>{const R=E.indexOf("?");if(R>=0){const N=E.substr(0,R);const $=E.substr(R+1);return{loader:N,options:$}}else{return{loader:E,options:undefined}}};const needCalls=(E,R)=>N=>{if(--E===0){return R(N)}if(N&&E>0){E=NaN;return R(N)}};const mergeGlobalOptions=(E,R,N)=>{const $=R.split("/");let j;let q="";for(const R of $){q=q?`${q}/${R}`:R;const N=E[q];if(typeof N==="object"){if(j===undefined){j=N}else{j=qe(j,N)}}}if(j===undefined){return N}else{return qe(j,N)}};const deprecationChangedHookMessage=(E,R)=>{const N=R.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${N}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Ye=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Be("assert","assertions"),new Be("descriptionData"),new Te("type"),new Te("sideEffects"),new Te("parser"),new Te("resolve"),new Te("generator"),new Te("layer"),new je]);class NormalModuleFactory extends we{constructor({context:E,fs:R,resolverFactory:N,options:j,associatedObjectForCache:_e,layers:we=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new le((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new le((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new le((()=>new ie(["parserOptions"]))),parser:new le((()=>new ae(["parser","parserOptions"]))),createGenerator:new le((()=>new ie(["generatorOptions"]))),generator:new le((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=N;this.ruleSet=Ye.compile([{rules:j.defaultRules},{rules:j.rules}]);this.context=E||"";this.fs=R;this._globalParserOptions=j.parser;this._globalGeneratorOptions=j.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Ie=We.bindCache(_e);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{this.hooks.resolve.callAsync(E,((N,$)=>{if(N)return R(N);if($===false)return R();if($ instanceof Ee)return R(null,$);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((N,$)=>{if(N)return R(N);if(typeof $==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if($===false)return R();const j=E.createData;this.hooks.createModule.callAsync(j,E,((N,$)=>{if(!$){if(!E.request){return R(new Error("Empty dependency (no request)"))}$=new Me(j)}$=this.hooks.module.call($,j,E);return R(null,$)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,R)=>{const{contextInfo:N,context:j,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:le,fileDependencies:_e,missingDependencies:Ee,contextDependencies:Me}=E;const Te=this.getResolver("loader");let Ne=undefined;let Be;let Le;let je=false;let ze=false;let We=false;const Ke=Ue(j);let Qe=Ue(ie);if(!Qe){let E=ie;const R=Xe.exec(ie);if(R){let N=R[1];if(N.charCodeAt(0)===46){const E=N.charCodeAt(1);if(E===47||E===46&&N.charCodeAt(2)===47){N=He(this.fs,j,N)}}Ne={resource:N,...Ie(N)};E=ie.substr(R[0].length)}Qe=Ue(E);if(!Qe&&!Ke){const R=E.charCodeAt(0);const N=E.charCodeAt(1);je=R===45&&N===33;ze=je||R===33;We=R===33&&N===33;const $=E.slice(je||We?2:ze?1:0).split(/!+/);Be=$.pop();Le=$.map(identToLoaderRequest);Qe=Ue(Be)}else{Be=E;Le=Je}}else{Be=ie;Le=Je}const Ye={fileDependencies:_e,missingDependencies:Ee,contextDependencies:Me};let Ze;let et;const tt=needCalls(2,(le=>{if(le)return R(le);try{for(const E of et){if(typeof E.options==="string"&&E.options[0]==="?"){const R=E.options.substr(1);if(R==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(R);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=R}}}catch(E){return R(E)}if(!Ze){return R(null,q[0].createIgnoredModule(j))}const _e=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(et,Ze.resource);const Ee={};const Ie=[];const Me=[];const Be=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){Ee.type=Ue[1];Ne.resource=Ne.resource.slice(0,-Ee.type.length-10)}else{Ee.type="javascript/auto";const E=Ne||Ze;const R=this.ruleSet.exec({resource:E.path,realResource:Ze.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Qe,assertions:ae,mimetype:Ne?"":Ze.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ze.data.descriptionFileData,issuer:N.issuer,compiler:N.compiler,issuerLayer:N.issuerLayer||""});for(const E of R){if(E.type==="use"){if(!ze&&!We){Me.push(E.value)}}else if(E.type==="use-post"){if(!We){Ie.push(E.value)}}else if(E.type==="use-pre"){if(!je&&!We){Be.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof Ee[E.type]==="object"&&Ee[E.type]!==null){Ee[E.type]=qe(Ee[E.type],E.value)}else{Ee[E.type]=E.value}}}let Ge,He,Ve;const Ke=needCalls(3,(j=>{if(j){return R(j)}const q=Ge;if(Ne===undefined){for(const E of et)q.push(E);for(const E of He)q.push(E)}else{for(const E of He)q.push(E);for(const E of et)q.push(E)}for(const E of Ve)q.push(E);let G=Ee.type;const ae=Ee.resolve;const le=Ee.layer;if(le!==undefined&&!we){return R(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:le===undefined?N.issuerLayer||null:le,request:stringifyLoadersAndResource(q,Ze.resource),userRequest:_e,rawRequest:ie,loaders:q,resource:Ze.resource,context:Ze.context||$(Ze.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ze.data,settings:Ee,type:G,parser:this.getParser(G,Ee.parser),parserOptions:Ee.parser,generator:this.getGenerator(G,Ee.generator),generatorOptions:Ee.generator,resolveOptions:ae})}catch(E){return R(E)}R()}));this.resolveRequestArray(N,this.context,Ie,Te,Ye,((E,R)=>{Ge=R;Ke(E)}));this.resolveRequestArray(N,this.context,Me,Te,Ye,((E,R)=>{He=R;Ke(E)}));this.resolveRequestArray(N,this.context,Be,Te,Ye,((E,R)=>{Ve=R;Ke(E)}))}));this.resolveRequestArray(N,Ke?this.context:j,Le,Te,Ye,((E,R)=>{if(E)return tt(E);et=R;tt()}));const defaultResolve=E=>{if(/^($|\?)/.test(Be)){Ze={resource:Be,data:{},...Ie(Be)};tt()}else{const R=this.getResolver("normal",G?Ge(le||Ve,"dependencyType",G):le);this.resolveResource(N,E,Be,R,Ye,((E,R,N)=>{if(E)return tt(E);if(R!==false){Ze={resource:R,data:N,...Ie(R)}}tt()}))}};if(Qe){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Qe).callAsync(Ze,E,(E=>{if(E)return tt(E);tt()}))}else if(Ke){Ze={resource:Be,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(Ke).callAsync(Ze,E,((E,R)=>{if(E)return tt(E);if(!R)return defaultResolve(this.context);tt()}))}else defaultResolve(j)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){_e.clearChunkGraphForModule(E);Ie.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,R){const N=E.dependencies;const $=E.context||this.context;const j=E.resolveOptions||Ve;const q=N[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const le=new ze;const _e=new ze;const Ee=new ze;const we=N.length>0&&N[0].category||"";const Ie={contextInfo:ae,resolveOptions:j,context:$,request:G,assertions:ie,dependencies:N,dependencyType:we,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Ie,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}if(N===false){return R(null,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Ie.cacheable})}if(typeof N==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Ie,((E,N)=>{if(E){return R(E,{fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:false})}const $={module:N,fileDependencies:le,missingDependencies:_e,contextDependencies:Ee,cacheable:Ie.cacheable};R(null,$)}))}))}resolveResource(E,R,N,$,j,q){$.resolve(E,R,N,j,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,R,N,$,j,((E,R)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(R&&R.length>0){G.message+=`\n${R.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,R,N,$,q,G,ie){j.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){const R=We(N).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${R}'?\nBREAKING CHANGE: The request '${$}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(R,N,$,G,((R,N)=>{if(!R&&N){let R="";const N=/(\.[^.]+)(\?|$)/.exec($);if(N){const E=$.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(N[1])){R=`Did you mean '${E}'?`}else{R=`Did you mean '${E}'? Also note that '${N[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{R=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${$}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${R}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test($)||q.options.preferRelative){return E()}q.resolve(R,N,`./${$}`,G,((R,N)=>{if(R||!N)return E();const j=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${$}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${j}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,R)=>{if(E)return ie(E);ie(null,R.filter(Boolean))}))}resolveRequestArray(E,R,N,$,q,G){if(N.length===0)return G(null,N);j.map(N,((N,j)=>{$.resolve(E,R,N.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(N.loader)&&!/-loader$/.test(N.loader)){return $.resolve(E,R,N.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${N.loader}-loader' instead of '${N.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}j(G)}))}if(G)return j(G);const ae=identToLoaderRequest(ie);const le={loader:ae.loader,options:N.options===undefined?ae.options:N.options,ident:N.options===undefined?undefined:N.ident};return j(null,le)}))}),G)}getParser(E,R=Ke){let N=this.parserCache.get(E);if(N===undefined){N=new WeakMap;this.parserCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createParser(E,R);N.set(R,$)}return $}createParser(E,R={}){R=mergeGlobalOptions(this._globalParserOptions,E,R);const N=this.hooks.createParser.for(E).call(R);if(!N){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(N,R);return N}getGenerator(E,R=Qe){let N=this.generatorCache.get(E);if(N===undefined){N=new WeakMap;this.generatorCache.set(E,N)}let $=N.get(R);if($===undefined){$=this.createGenerator(E,R);N.set(R,$)}return $}createGenerator(E,R={}){R=mergeGlobalOptions(this._globalGeneratorOptions,E,R);const N=this.hooks.createGenerator.for(E).call(R);if(!N){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(N,R);return N}getResolver(E,R){return this.resolverFactory.get(E,R)}}E.exports=NormalModuleFactory},92234:(E,R,N)=>{"use strict";const{join:$,dirname:j}=N(95396);class NormalModuleReplacementPlugin{constructor(E,R){this.resourceRegExp=E;this.newResource=R}apply(E){const R=this.resourceRegExp;const N=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(R.test(E.request)){if(typeof N==="function"){N(E)}else{E.request=N}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(R.test(G.resource)){if(typeof N==="function"){N(q)}else{const R=E.inputFileSystem;if(N.startsWith("/")||N.length>1&&N[1]===":"){G.resource=N}else{G.resource=$(R,j(R,G.resource),N)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,R)=>{"use strict";R.STAGE_BASIC=-10;R.STAGE_DEFAULT=0;R.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,R){}}E.exports=OptionsApply},2172:(E,R,N)=>{"use strict";class Parser{parse(E,R){const $=N(75884);throw new $}}E.exports=Parser},13125:(E,R,N)=>{"use strict";const $=N(88281);class PrefetchPlugin{constructor(E,R){if(R){this.context=E;this.request=R}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R)}));E.hooks.make.tapAsync("PrefetchPlugin",((R,N)=>{R.addModuleChain(this.context||E.context,new $(this.request),(E=>{N(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,R,N)=>{"use strict";const $=N(63076);const j=N(63433);const q=N(53520);const G=N(35817);const{contextify:ie}=N(49197);const ae=G(N(73971),(()=>N(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,R,N)=>E+R+N-Math.max(E,R,N)-Math.min(E,R,N);const createDefaultHandler=(E,R)=>{const N=[];const defaultHandler=($,j,...q)=>{if(E){if($===0){N.length=0}const E=[j,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,N.length);for(let E=ae;E>=0;E--){const $=E0){$=N[E-1].value+" > "+$}const G=`${" | ".repeat(E)}${q} ms ${$}`;const ie=q;{if(ie>1e4){R.error(G)}else if(ie>1e3){R.warn(G)}else if(ie>10){R.info(G)}else if(ie>5){R.log(G)}else{R.debug(G)}}}if($===undefined){N.length=E}else{j.value=$;j.time=ie;N.length=E+1}}}else{N[E]={value:$,time:ie}}}}R.status(`${Math.floor($*100)}%`,j,...q);if($===1||!j&&q.length===0)R.status()};return defaultHandler};const le=new WeakMap;class ProgressPlugin{static getReporter(E){return le.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const R=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof j){this._applyOnMultiCompiler(E,R)}else if(E instanceof $){this._applyOnCompiler(E,R)}}_applyOnMultiCompiler(E,R){const N=E.compilers.map((()=>[0]));E.compilers.forEach(((E,$)=>{new ProgressPlugin(((E,j,...q)=>{N[$]=[E,j,...q];let G=0;for(const[E]of N)G+=E;R(G/N.length,`[${$}] ${j}`,...q)})).apply(E)}))}_applyOnCompiler(E,R){const N=this.showEntries;const $=this.showModules;const j=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let _e=0;let Ee=0;let we=0;let Ie=0;let Me=0;let Te=1;let Ne=0;let Be=0;let Le=0;const je=new Set;let ze=0;const updateThrottled=()=>{if(ze+500{const le=[];const Ue=Ne/Math.max(_e||this.modulesCount||1,Ie);const qe=Le/Math.max(we||this.dependenciesCount||1,Te);const Ge=Be/Math.max(Ee||1,Me);let He;switch(this.percentBy){case"entries":He=qe;break;case"dependencies":He=Ge;break;case"modules":He=Ue;break;default:He=median3(Ue,qe,Ge)}const We=.1+He*.55;if(ae){le.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(N){E.push(`${Le}/${Te} entries`)}if(j){E.push(`${Be}/${Me} dependencies`)}if($){E.push(`${Ne}/${Ie} modules`)}if(q){E.push(`${je.size} active`)}if(E.length>0){le.push(E.join(" "))}if(q){le.push(G)}}R(We,"building",...le);ze=Date.now()};const factorizeAdd=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const factorizeDone=()=>{Be++;if(Be<50||Be%100===0)updateThrottled()};const moduleAdd=()=>{Ie++;if(Ie<50||Ie%100===0)updateThrottled()};const moduleBuild=E=>{const R=E.identifier();if(R){je.add(R);G=R;update()}};const entryAdd=(E,R)=>{Te++;if(Te<5||Te%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const R=E.identifier();if(R){je.delete(R);if(G===R){G="";for(const E of je){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,R)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let qe;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!qe){qe=Ue.getPromise().then((E=>{if(E){_e=_e||E.modulesCount;Ee=Ee||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return qe.then((async E=>{if(!E||E.modulesCount!==Ie||E.dependenciesCount!==Me){await Ue.storePromise({modulesCount:Ie,dependenciesCount:Me})}}))}));E.hooks.compilation.tap("ProgressPlugin",(N=>{if(N.compiler.isChild())return;_e=Ie;we=Te;Ee=Me;Ie=Me=Te=0;Ne=Be=Le=0;N.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);N.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);N.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);N.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){N.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}N.hooks.addEntry.tap("ProgressPlugin",entryAdd);N.hooks.failedEntry.tap("ProgressPlugin",entryDone);N.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const $={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const j=Object.keys($).length;Object.keys($).forEach(((q,G)=>{const ie=$[q];const ae=G/j*.25+.7;N.hooks[q].intercept({name:"ProgressPlugin",call(){R(ae,"sealing",ie)},done(){le.set(E,undefined);R(ae,"sealing",ie)},result(){R(ae,"sealing",ie)},error(){R(ae,"sealing",ie)},tap(E){le.set(N.compiler,((N,...$)=>{R(ae,"sealing",ie,E.name,...$)}));R(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){R(.1,"building")},done(){R(.65,"building")}});const interceptHook=(N,$,j,q)=>{N.intercept({name:"ProgressPlugin",call(){R($,j,q)},done(){le.set(E,undefined);R($,j,q)},result(){R($,j,q)},error(){R($,j,q)},tap(N){le.set(E,((E,...G)=>{R($,j,q,N.name,...G)}));R($,j,q,N.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){R(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){R(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){R(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){R(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,R,N)=>{"use strict";const $=N(66298);const j=N(1335);const{approve:q}=N(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const R=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{Object.keys(R).forEach((N=>{const $=[].concat(R[N]);const G=N.split(".");if(G.length>0){G.slice(1).forEach(((R,N)=>{const $=G.slice(0,N+1).join(".");E.hooks.canRename.for($).tap("ProvidePlugin",q)}))}E.hooks.expression.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.range);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(N).tap("ProvidePlugin",(R=>{const q=N.includes(".")?`__webpack_provided_${N.replace(/\./g,"_dot_")}`:N;const G=new j($[0],q,$.slice(1),R.callee.range);G.loc=R.callee.loc;E.state.module.addDependency(G);E.walkExpressions(R.arguments);return true}))}))};N.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);N.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(53453);const G=N(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,R,N,$){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=R||this.sourceStr;this.readableIdentifierStr=N||this.identifierStr;this.runtimeRequirements=$||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={cacheable:true};j()}codeGeneration(E){const R=new Map;if(this.useSourceMap||this.useSimpleSourceMap){R.set("javascript",new $(this.sourceStr,this.identifier()))}else{R.set("javascript",new j(this.sourceStr))}return{sources:R,runtimeRequirements:this.runtimeRequirements}}updateHash(E,R){E.update(this.sourceStr);super.updateHash(E,R)}serialize(E){const{write:R}=E;R(this.sourceStr);R(this.identifierStr);R(this.readableIdentifierStr);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceStr=R();this.identifierStr=R();this.readableIdentifierStr=R();this.runtimeRequirements=R();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,R,N)=>{"use strict";const{compareNumbers:$}=N(68673);const j=N(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const R=this.options.portableIds;const N=j.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(R){return N(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((R,N)=>{const j=E.chunkGraph;if(!N.modules)N.modules={};if(!N.modules.byIdentifier)N.modules.byIdentifier={};const q=new Set;for(const E of R){const R=j.getModuleId(E);if(typeof R!=="number")continue;const $=getModuleIdentifier(E);N.modules.byIdentifier[$]=R;q.add(R)}N.modules.usedIds=Array.from(q).sort($)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((R,N)=>{if(!N.modules)return;if(N.modules.byIdentifier){const $=E.chunkGraph;const j=new Set;for(const E of R){const R=$.getModuleId(E);if(R!==null)continue;const q=getModuleIdentifier(E);const G=N.modules.byIdentifier[q];if(G===undefined)continue;if(j.has(G))continue;j.add(G);$.setModuleId(E,G)}}if(Array.isArray(N.modules.usedIds)){E.usedModuleIds=new Set(N.modules.usedIds)}}));const getChunkSources=E=>{const R=[];for(const N of E.groupsIterable){const $=N.chunks.indexOf(E);if(N.name){R.push(`${$} ${N.name}`)}else{for(const E of N.origins){if(E.module){if(E.request){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){R.push(`${$} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){R.push(`${$} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return R};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,R)=>{if(!R.chunks)R.chunks={};if(!R.chunks.byName)R.chunks.byName={};if(!R.chunks.bySource)R.chunks.bySource={};const N=new Set;for(const $ of E){if(typeof $.id!=="number")continue;const E=$.name;if(E)R.chunks.byName[E]=$.id;const j=getChunkSources($);for(const E of j){R.chunks.bySource[E]=$.id}N.add($.id)}R.chunks.usedIds=Array.from(N).sort($)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((R,N)=>{if(!N.chunks)return;const $=new Set;if(N.chunks.byName){for(const E of R){if(E.id!==null)continue;if(!E.name)continue;const R=N.chunks.byName[E.name];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R]}}if(N.chunks.bySource){for(const E of R){if(E.id!==null)continue;const R=getChunkSources(E);for(const j of R){const R=N.chunks.bySource[j];if(R===undefined)continue;if($.has(R))continue;$.add(R);E.id=R;E.ids=[R];break}}}if(Array.isArray(N.chunks.usedIds)){E.usedChunkIds=new Set(N.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,R,N)=>{"use strict";const{contextify:$}=N(49197);class RequestShortener{constructor(E,R){this.contextify=$.bindContextCache(E,R)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66298);const{toConstantDependency:q}=N(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.requireJs===undefined||!R.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,$.uncaughtErrorHandler,[$.uncaughtErrorHandler]))};R.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,R,N)=>{"use strict";const $=N(17583).ResolverFactory;const{HookMap:j,SyncHook:q,SyncWaterfallHook:G}=N(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:le}=N(90149);const _e={};const convertToResolveOptions=E=>{const{dependencyType:R,plugins:N,...$}=E;const j={...$,plugins:N&&N.filter((E=>E!=="..."))};if(!j.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=j;return ae(le(q,"byDependency",R))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new j((()=>new G(["resolveOptions"]))),resolver:new j((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,R=_e){let N=this.cache.get(E);if(!N){N={direct:new WeakMap,stringified:new Map};this.cache.set(E,N)}const $=N.direct.get(R);if($){return $}const j=JSON.stringify(R);const q=N.stringified.get(j);if(q){N.direct.set(R,q);return q}const G=this._create(E,R);N.direct.set(R,G);N.stringified.set(j,G);return G}_create(E,R){const N={...R};const j=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(R));const q=$.createResolver(j);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=R=>{const $=G.get(R);if($!==undefined)return $;const j=ie(N,R);const q=this.get(E,j);G.set(R,q);return q};this.hooks.resolver.for(E).call(q,j,N);return q}}},76150:(E,R)=>{"use strict";R.require="__webpack_require__";R.requireScope="__webpack_require__.*";R.exports="__webpack_exports__";R.thisAsExports="top-level-this-exports";R.returnExportsFromRuntime="return-exports-from-runtime";R.module="module";R.moduleId="module.id";R.moduleLoaded="module.loaded";R.publicPath="__webpack_require__.p";R.entryModuleId="__webpack_require__.s";R.moduleCache="__webpack_require__.c";R.moduleFactories="__webpack_require__.m";R.moduleFactoriesAddOnly="__webpack_require__.m (add only)";R.ensureChunk="__webpack_require__.e";R.ensureChunkHandlers="__webpack_require__.f";R.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";R.prefetchChunk="__webpack_require__.E";R.prefetchChunkHandlers="__webpack_require__.F";R.preloadChunk="__webpack_require__.G";R.preloadChunkHandlers="__webpack_require__.H";R.definePropertyGetters="__webpack_require__.d";R.makeNamespaceObject="__webpack_require__.r";R.createFakeNamespaceObject="__webpack_require__.t";R.compatGetDefaultExport="__webpack_require__.n";R.harmonyModuleDecorator="__webpack_require__.hmd";R.nodeModuleDecorator="__webpack_require__.nmd";R.getFullHash="__webpack_require__.h";R.wasmInstances="__webpack_require__.w";R.instantiateWasm="__webpack_require__.v";R.uncaughtErrorHandler="__webpack_require__.oe";R.scriptNonce="__webpack_require__.nc";R.loadScript="__webpack_require__.l";R.createScriptUrl="__webpack_require__.tu";R.chunkName="__webpack_require__.cn";R.runtimeId="__webpack_require__.j";R.getChunkScriptFilename="__webpack_require__.u";R.getChunkUpdateScriptFilename="__webpack_require__.hu";R.startup="__webpack_require__.x";R.startupNoDefault="__webpack_require__.x (no default handler)";R.startupOnlyAfter="__webpack_require__.x (only after)";R.startupOnlyBefore="__webpack_require__.x (only before)";R.chunkCallback="webpackChunk";R.startupEntrypoint="__webpack_require__.X";R.onChunksLoaded="__webpack_require__.O";R.externalInstallChunk="__webpack_require__.C";R.interceptModuleExecution="__webpack_require__.i";R.global="__webpack_require__.g";R.shareScopeMap="__webpack_require__.S";R.initializeSharing="__webpack_require__.I";R.currentRemoteGetScope="__webpack_require__.R";R.getUpdateManifestFilename="__webpack_require__.hmrF";R.hmrDownloadManifest="__webpack_require__.hmrM";R.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";R.hmrModuleData="__webpack_require__.hmrD";R.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";R.hmrRuntimeStatePrefix="__webpack_require__.hmrS";R.amdDefine="__webpack_require__.amdD";R.amdOptions="__webpack_require__.amdO";R.system="__webpack_require__.System";R.hasOwnProperty="__webpack_require__.o";R.systemContext="__webpack_require__.y";R.baseURI="__webpack_require__.b";R.relativeUrl="__webpack_require__.U";R.asyncModule="__webpack_require__.a"},66804:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(48135).OriginalSource;const q=N(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,R=0){super("runtime");this.name=E;this.stage=R;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,R,N=E.chunkGraph){this.compilation=E;this.chunk=R;this.chunkGraph=N}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,R){return R(null,false)}build(E,R,N,$,j){j()}updateHash(E,R){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(R){E.update(R.message)}super.updateHash(E,R)}getSourceTypes(){return G}codeGeneration(E){const R=new Map;const N=this.getGeneratedCode();if(N){R.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new j(N,this.identifier()):new $(N))}return{sources:R,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=N(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,R,N)=>{"use strict";const $=N(76150);const j=N(35424);const q=N(18161);const G=N(84997);const ie=N(31164);const ae=N(90202);const le=N(16710);const _e=N(3236);const Ee=N(44160);const we=N(58957);const Ie=N(59179);const Me=N(9609);const Te=N(36100);const Ne=N(13376);const Be=N(37522);const Le=N(67104);const je=N(14676);const ze=N(8299);const Ue=N(48977);const qe=N(21355);const Ge=N(41982);const He=N(76752);const We=N(54825);const Ve=N(14146);const Ke=[$.chunkName,$.runtimeId,$.compatGetDefaultExport,$.createFakeNamespaceObject,$.createScriptUrl,$.definePropertyGetters,$.ensureChunk,$.entryModuleId,$.getFullHash,$.global,$.makeNamespaceObject,$.moduleCache,$.moduleFactories,$.moduleFactoriesAddOnly,$.interceptModuleExecution,$.publicPath,$.baseURI,$.relativeUrl,$.scriptNonce,$.uncaughtErrorHandler,$.asyncModule,$.wasmInstances,$.instantiateWasm,$.shareScopeMap,$.initializeSharing,$.loadScript,$.systemContext,$.onChunksLoaded];const Qe={[$.moduleLoaded]:[$.module],[$.moduleId]:[$.module]};const Je={[$.definePropertyGetters]:[$.hasOwnProperty],[$.compatGetDefaultExport]:[$.definePropertyGetters],[$.createFakeNamespaceObject]:[$.definePropertyGetters,$.makeNamespaceObject,$.require],[$.initializeSharing]:[$.shareScopeMap],[$.shareScopeMap]:[$.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set(j,new j.Template);for(const R of Ke){E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{R.add($.requireScope)}))}for(const R of Object.keys(Je)){const N=Je[R];E.hooks.runtimeRequirementInTree.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}for(const R of Object.keys(Qe)){const N=Qe[R];E.hooks.runtimeRequirementInModule.for(R).tap("RuntimePlugin",((E,R)=>{for(const E of N)R.add(E)}))}E.hooks.runtimeRequirementInTree.for($.definePropertyGetters).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new we);return true}));E.hooks.runtimeRequirementInTree.for($.makeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new je);return true}));E.hooks.runtimeRequirementInTree.for($.createFakeNamespaceObject).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new _e);return true}));E.hooks.runtimeRequirementInTree.for($.hasOwnProperty).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Be);return true}));E.hooks.runtimeRequirementInTree.for($.compatGetDefaultExport).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new ae);return true}));E.hooks.runtimeRequirementInTree.for($.runtimeId).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ge);return true}));E.hooks.runtimeRequirementInTree.for($.publicPath).tap("RuntimePlugin",((R,N)=>{const{outputOptions:j}=E;const{publicPath:q,scriptType:G}=j;const ae=R.getEntryOptions();const le=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(le==="auto"){const j=new ie;if(G!=="module")N.add($.global);E.addRuntimeModule(R,j)}else{const N=new Ue(le);if(typeof le!=="string"||/\[(full)?hash\]/.test(le)){N.fullHash=true}E.addRuntimeModule(R,N)}return true}));E.hooks.runtimeRequirementInTree.for($.global).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new Ne);return true}));E.hooks.runtimeRequirementInTree.for($.asyncModule).tap("RuntimePlugin",(R=>{E.addRuntimeModule(R,new G);return true}));E.hooks.runtimeRequirementInTree.for($.systemContext).tap("RuntimePlugin",(R=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(R,new He)}return true}));E.hooks.runtimeRequirementInTree.for($.getChunkScriptFilename).tap("RuntimePlugin",((R,N)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Me("javascript","javascript",$.getChunkScriptFilename,(R=>R.filenameTemplate||(R.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for($.getChunkUpdateScriptFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))N.add($.getFullHash);E.addRuntimeModule(R,new Me("javascript","javascript update",$.getChunkUpdateScriptFilename,(R=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for($.getUpdateManifestFilename).tap("RuntimePlugin",((R,N)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){N.add($.getFullHash)}E.addRuntimeModule(R,new Te("update manifest",$.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunk).tap("RuntimePlugin",((R,N)=>{const j=R.hasAsyncChunks();if(j){N.add($.ensureChunkHandlers)}E.addRuntimeModule(R,new Ie(N));return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,R)=>{R.add($.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.shareScopeMap).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new We);return true}));E.hooks.runtimeRequirementInTree.for($.loadScript).tap("RuntimePlugin",((R,N)=>{const j=!!E.outputOptions.trustedTypes;if(j){N.add($.createScriptUrl)}E.addRuntimeModule(R,new Le(j));return true}));E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new Ee);return true}));E.hooks.runtimeRequirementInTree.for($.relativeUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new qe);return true}));E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new ze);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((R,N)=>{const{mainTemplate:$}=E;if($.hooks.bootstrap.isUsed()||$.hooks.localVars.isUsed()||$.hooks.requireEnsure.isUsed()||$.hooks.requireExtensions.isUsed()){E.addRuntimeModule(R,new le)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,R,{chunkGraph:N})=>{const $=new Ve;for(const R of N.getChunkRuntimeModulesIterable(E)){$.add(N.getModuleHash(R,E.runtime))}$.updateHash(R)}))}))}}E.exports=RuntimePlugin},37130:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);const{equals:G}=N(73910);const ie=N(87274);const ae=N(68038);const{forEachRuntime:le,subtractRuntime:_e}=N(37416);const noModuleIdErrorMessage=(E,R)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(R.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(R.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,R,N){this.compilation=E;this.outputOptions=R||{};this.requestShortener=N}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { return ${E}; }`}basicFunction(E,R){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(R)}\n}`:`function(${E}) {\n${q.indent(R)}\n}`}expressionFunction(E,R=""){return this.supportsArrowFunction()?`(${R}) => (${E})`:`function(${R}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,R){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${R};`:q.asString(E.map(((E,N)=>`var ${E} = ${R}[${N}];`)))}destructureObject(E,R){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${R};`:q.asString(E.map((E=>`var ${E} = ${R}${ae([E])};`)))}iife(E,R){return`(${this.basicFunction(E,R)})()`}forEach(E,R,N){return this.supportsForOf()?`for(const ${E} of ${R}) {\n${q.indent(N)}\n}`:`${R}.forEach(function(${E}) {\n${q.indent(N)}\n});`}comment({request:E,chunkName:R,chunkReason:N,message:$,exportName:j}){let G;if(this.outputOptions.pathinfo){G=[$,E,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[$,R,N].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const R=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(R)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:R,request:N,idExpr:$,type:j}){const G=R.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):$?`"Module '" + ${$} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=N?q.toNormalComment(N)+" ":"";const le=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch(j){case"statements":return le;case"promise":return`Promise.resolve().then(${this.basicFunction("",le)})`;case"expression":return this.iife("",le)}}moduleId({module:E,chunkGraph:R,request:N,weak:$}){if(!E){return this.missingModule({request:N})}const j=R.getModuleId(E);if(j===null){if($){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}return`${this.comment({request:N})}${JSON.stringify(j)}`}moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:q}){if(!E){return this.missingModule({request:N})}const G=R.getModuleId(E);if(G===null){if($){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,R)}`)}q.add(j.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:R,request:N,weak:$})})`}moduleExports({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j}){return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:$,runtimeRequirements:j})}moduleNamespace({module:E,chunkGraph:R,request:N,strict:$,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:N})}if(R.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:R,request:N,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,R)}`)}const ie=this.moduleId({module:E,chunkGraph:R,request:N,weak:q});const ae=E.getExportsType(R.moduleGraph,$);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:R,request:N,weak:q,runtimeRequirements:G});case"default-with-named":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add(j.createFakeNamespaceObject);return`${j.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:R,module:N,request:$,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!N){return this.missingModulePromise({request:$})}const le=E.getModuleId(N);if(le===null){if(ie){return this.weakError({module:N,chunkGraph:E,request:$,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(N,E)}`)}const _e=this.blockPromise({chunkGraph:E,block:R,message:q,runtimeRequirements:ae});let Ee;let we=JSON.stringify(E.getModuleId(N));const Ie=this.comment({request:$});let Me="";if(ie){if(we.length>8){Me+=`var id = ${we}; `;we="id"}ae.add(j.moduleFactories);Me+=`if(!${j.moduleFactories}[${we}]) { ${this.weakError({module:N,chunkGraph:E,request:$,idExpr:we,type:"statements"})} } `}const Te=this.moduleId({module:N,chunkGraph:E,request:$,weak:ie});const Ne=N.getExportsType(E.moduleGraph,G);let Be=16;switch(Ne){case"namespace":if(Me){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Me}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Ie}${we}))`}break;case"dynamic":Be|=4;case"default-with-named":Be|=2;case"default-only":ae.add(j.createFakeNamespaceObject);if(E.moduleGraph.isAsync(N)){if(Me){const R=this.moduleRaw({module:N,chunkGraph:E,request:$,weak:ie,runtimeRequirements:ae});Ee=`.then(${this.basicFunction("",`${Me}return ${R};`)})`}else{ae.add(j.require);Ee=`.then(__webpack_require__.bind(__webpack_require__, ${Ie}${we}))`}Ee+=`.then(${this.returningFunction(`${j.createFakeNamespaceObject}(m, ${Be})`,"m")})`}else{Be|=1;if(Me){const E=`${j.createFakeNamespaceObject}(${Te}, ${Be})`;Ee=`.then(${this.basicFunction("",`${Me}return ${E};`)})`}else{Ee=`.then(${j.createFakeNamespaceObject}.bind(__webpack_require__, ${Ie}${we}, ${Be}))`}}break}return`${_e||"Promise.resolve()"}${Ee}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:R,runtime:N,runtimeRequirements:$}){if(R===undefined)return"true";if(typeof R==="boolean")return`${R}`;const q=new Set;le(R,(R=>q.add(`${E.getRuntimeId(R)}`)));const G=new Set;le(_e(N,R),(R=>G.add(`${E.getRuntimeId(R)}`)));$.add(j.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))(j.runtimeId)}importStatement({update:E,module:R,chunkGraph:N,request:$,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!R){return[this.missingModuleStatement({request:$}),""]}if(N.getModuleId(R)===null){if(ie){return[this.weakError({module:R,chunkGraph:N,request:$,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(R,N)}`)}const le=this.moduleId({module:R,chunkGraph:N,request:$,weak:ie});const _e=E?"":"var ";const Ee=R.getExportsType(N.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add(j.require);const we=`/* harmony import */ ${_e}${q} = __webpack_require__(${le});\n`;if(Ee==="dynamic"){ae.add(j.compatGetDefaultExport);return[we,`/* harmony import */ ${_e}${q}_default = /*#__PURE__*/${j.compatGetDefaultExport}(${q});\n`]}return[we,""]}exportFromImport({moduleGraph:E,module:R,request:N,exportName:ie,originModule:le,asiSafe:_e,isCall:Ee,callContext:we,defaultInterop:Ie,importVar:Me,initFragments:Te,runtime:Ne,runtimeRequirements:Be}){if(!R){return this.missingModule({request:N})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=R.getExportsType(E,le.buildMeta.strictHarmonyModule);if(Ie){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(Ee){return`${Me}_default()${ae(ie,1)}`}else{return _e?`(${Me}_default()${ae(ie,1)})`:_e===false?`;(${Me}_default()${ae(ie,1)})`:`${Me}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Be.add(j.createFakeNamespaceObject);Te.push(new $(`var ${Me}_namespace_cache;\n`,$.STAGE_CONSTANTS,-1,`${Me}_namespace_cache`));return`/*#__PURE__*/ ${_e?"":_e===false?";":"Object"}(${Me}_namespace_cache || (${Me}_namespace_cache = ${j.createFakeNamespaceObject}(${Me}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const N=E.getExportsInfo(R);const $=N.getUsedName(ie,Ne);if(!$){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const j=G($,ie)?"":q.toNormalComment(ae(ie))+" ";const le=`${Me}${j}${ae($)}`;if(Ee&&we===false){return _e?`(0,${le})`:_e===false?`;(0,${le})`:`/*#__PURE__*/Object(${le})`}return le}else{return Me}}blockPromise({block:E,message:R,chunkGraph:N,runtimeRequirements:$}){if(!E){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const q=N.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:R});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:R,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);$.add(j.ensureChunk);return`${j.ensureChunk}(${ie}${E})`}else if(G.length>0){$.add(j.ensureChunk);const requireChunkId=E=>`${j.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=E.dependencies[0];const q=R.moduleGraph.getModule(j);const G=this.blockPromise({block:E,message:"",chunkGraph:R,runtimeRequirements:N});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:R,runtimeRequirements:N,request:$}){const j=R.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:j,chunkGraph:R,request:$,runtimeRequirements:N}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:R}){R.add(j.makeNamespaceObject);R.add(j.exports);return`${j.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,R){const N=this.moduleGraph.getParentModule(E.dependencies[0]);R(null,{module:N})}}E.exports=SelfModuleFactory},9192:(E,R)=>{"use strict";R.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const R=["bytes","KiB","MiB","GiB"];const N=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,N)).toPrecision(3)} ${R[N]}`}},26867:(E,R,N)=>{"use strict";const $=N(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const R=this.options;if(R.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}$.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,R,N)=>{"use strict";const $=N(62355);const{ConcatSource:j,RawSource:q}=N(48135);const G=N(3080);const ie=N(70354);const ae=N(52923);const le=N(26867);const _e=N(35817);const Ee=N(35891);const{relative:we,dirname:Ie}=N(95396);const{makePathsAbsolute:Me}=N(49197);const Te=_e(N(68337),(()=>N(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,R,N,$,j,q)=>{let G;let ie;if(R.sourceAndMap){const E=R.sourceAndMap($);ie=E.map;G=E.source}else{ie=R.map($);G=R.source()}if(!ie||typeof G!=="string")return;const ae=j.options.context;const le=j.compiler.root;const _e=Me.bindContextCache(ae,le);const Ee=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=_e(E.slice(10));const R=j.findModule(E);return R||E}));return{file:E,asset:R,source:G,assetInfo:N,sourceMap:ie,modules:Ee,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Te(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const R=E.outputFileSystem;const N=this.sourceMapFilename;const _e=this.sourceMappingURLComment;const Me=this.moduleFilenameTemplate;const Te=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Be=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const je=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new le(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,le)=>{const ze=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const qe=new Map;const Ge=ae.getReporter(E.compiler)||(()=>{});const He=new Map;for(const R of E.chunks){for(const E of R.files){He.set(E,R)}for(const E of R.auxiliaryFiles){He.set(E,R)}}const We=[];for(const E of Object.keys(G)){if(je(E)){We.push(E)}}Ge(0);const Ve=[];let Ke=0;$.each(We,((R,N)=>{const $=E.getAsset(R);if($.info.related&&$.info.related.sourceMap){Ke++;return N()}const j=Ue.getItemCache(R,Ue.mergeEtags(Ue.getLazyHashedEtag($.source),Te));j.get(((q,G)=>{if(q){return N(q)}if(G){const{assets:$,assetsInfo:j}=G;for(const N of Object.keys($)){if(N===R){E.updateAsset(N,$[N],j[N])}else{E.emitAsset(N,$[N],j[N])}if(N!==R){const E=He.get(R);if(E!==undefined)E.auxiliaryFiles.add(N)}}Ge(.5*++Ke/We.length,R,"restored cached SourceMap");return N()}Ge(.5*Ke/We.length,R,"generate SourceMap");const ae=getTaskForFile(R,$.source,$.info,{module:Le.module,columns:Le.columns},E,j);if(ae){const R=ae.modules;for(let N=0;N{if(G){return le(G)}Ge(.5,"resolve sources");const ae=new Set(qe.values());const Me=new Set;const je=Array.from(qe.keys()).sort(((E,R)=>{const N=typeof E==="string"?E:E.identifier();const $=typeof R==="string"?R:R.identifier();return N.length-$.length}));for(let R=0;R{const ie=Object.create(null);const ae=Object.create(null);const le=$.file;const Me=He.get(le);const Te=$.sourceMap;const Ne=$.source;const Be=$.modules;Ge(.5+.5*Ue/Ve.length,le,"attach SourceMap");const je=Be.map((E=>qe.get(E)));Te.sources=je;if(Le.noSources){Te.sourcesContent=undefined}Te.sourceRoot=Le.sourceRoot||"";Te.file=le;const ze=N&&/\[contenthash(:\w+)?\]/.test(N);if(ze&&$.assetInfo.contenthash){const E=$.assetInfo.contenthash;let R;if(Array.isArray(E)){R=E.map(quoteMeta).join("|")}else{R=quoteMeta(E)}Te.file=Te.file.replace(new RegExp(R,"g"),(E=>"x".repeat(E.length)))}let We=_e;if(We!==false&&/\.css($|\?)/i.test(le)){We=We.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const Ke=JSON.stringify(Te);if(N){let $=le;const G=ze&&Ee(E.outputOptions.hashFunction).update(Ke).digest("hex");const _e={chunk:Me,filename:Le.fileContext?we(R,`/${Le.fileContext}`,`/${$}`):$,contentHash:G};const{path:Te,info:Be}=E.getPathWithInfo(N,_e);const je=Le.publicPath?Le.publicPath+Te:we(R,Ie(R,`/${le}`),`/${Te}`);let Ue=new q(Ne);if(We!==false){Ue=new j(Ue,E.getPath(We,Object.assign({url:je},_e)))}const qe={related:{sourceMap:Te}};ie[le]=Ue;ae[le]=qe;E.updateAsset(le,Ue,qe);const Ge=new q(Ke);const He={...Be,development:true};ie[Te]=Ge;ae[Te]=He;E.emitAsset(Te,Ge,He);if(Me!==undefined)Me.auxiliaryFiles.add(Te)}else{if(We===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const R=new j(new q(Ne),We.replace(/\[map\]/g,(()=>Ke)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(Ke,"utf-8").toString("base64")}`)));ie[le]=R;ae[le]=undefined;E.updateAsset(le,R)}$.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{Ge(.5+.5*++Ue/Ve.length,$.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{Ge(1);le(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const R=this.compilation.createStatsFactory(E);return R.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const R=this.compilation.createStatsFactory(E);const N=this.compilation.createStatsPrinter(E);const $=R.create("compilation",this.compilation,{compilation:this.compilation});const j=N.print("compilation",$);return j===undefined?"":j}}E.exports=Stats},58159:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j}=N(48135);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const le=ae+10;const _e=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const Ee=/^\t/gm;const we=/\r?\n/g;const Ie=/^([^a-zA-Z$_])/;const Me=/[^a-zA-Z0-9$]+/g;const Te=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Be=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(_e,"").replace(Ee,"").replace(we,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Ie,"_$1").replace(Me,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Te,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Te,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Be,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=le){return Template.numberToIdentifierContinuation(E%le)+Template.numberToIdentifierContinuation(Math.floor(E/le))}if(EE)N=E}if(N<16+(""+N).length){N=0}let $=-1;for(const R of E){$+=`${R.id}`.length+2}const j=N===0?R:16+`${N}`.length+R;return j<$?[N,R]:false}static renderChunkModules(E,R,N,j=""){const{chunkGraph:q}=E;var G=new $;if(R.length===0){return null}const ie=R.map((E=>({id:q.getModuleId(E),source:N(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const R=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const N=new Map;for(const E of ie){N.set(E.id,E)}for(let $=E;$<=R;$++){const R=N.get($);if($!==E){G.add(",\n")}G.add(`/* ${$} */`);if(R){G.add("\n");G.add(R.source)}}G.add("\n"+j+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");N.add(new j("\t",q));N.add("\n})();\n\n")}else{N.add("!function() {\n");N.add(new j("\t",q));N.add("\n}();\n\n")}}}return N}static renderChunkRuntimeModules(E,R){return new j("/******/ ",new $("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,R),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=le},30337:(E,R,N)=>{"use strict";const{basename:$,extname:j}=N(71017);const q=N(73837);const G=N(62433);const ie=N(53453);const{parseResource:ae}=N(49197);const le=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const R=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${R[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,R,N,$)=>{const fn=(j,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&R){ie=R(ae)}else{const R=E(j,q,G);ie=ae?R.slice(0,ae):R}if(N){N.immutable=true;if(Array.isArray(N[$])){N[$]=[...N[$],ie]}else if(N[$]){N[$]=[N[$],ie]}else{N[$]=ie}}return ie};return fn};const replacer=(E,R)=>{const fn=(N,$,j)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!R){throw new Error(`Path variable ${N} not implemented in this context: ${j}`)}return""}else{return`${E}`}};return fn};const _e=new Map;const Ee=(()=>()=>{})();const deprecated=(E,R,N)=>{let $=_e.get(R);if($===undefined){$=q.deprecate(Ee,R,N);_e.set(R,$)}return(...R)=>{$();return E(...R)}};const replacePathVariables=(E,R,N)=>{const q=R.chunkGraph;const _e=new Map;if(typeof R.filename==="string"){const{path:E,query:N,fragment:q}=ae(R.filename);const G=j(E);const ie=$(E);const le=ie.slice(0,ie.length-G.length);const Ee=E.slice(0,E.length-ie.length);_e.set("file",replacer(E));_e.set("query",replacer(N,true));_e.set("fragment",replacer(q,true));_e.set("path",replacer(Ee,true));_e.set("base",replacer(ie));_e.set("name",replacer(le));_e.set("ext",replacer(G,true));_e.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(R.hash){const E=hashLength(replacer(R.hash),R.hashWithLength,N,"fullhash");_e.set("fullhash",E);_e.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(R.chunk){const E=R.chunk;const $=R.contentHashType;const j=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,N,"chunkhash");const ae=hashLength(replacer(R.contentHash||$&&E.contentHash&&E.contentHash[$]),R.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[$]:undefined),N,"contenthash");_e.set("id",j);_e.set("name",q);_e.set("chunkhash",ie);_e.set("contenthash",ae)}if(R.module){const E=R.module;const $=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const j=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,R.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,N,"modulehash");const G=hashLength(replacer(R.contentHash),undefined,N,"contenthash");_e.set("id",$);_e.set("modulehash",j);_e.set("contenthash",G);_e.set("hash",R.contentHash?G:j);_e.set("moduleid",deprecated($,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(R.url){_e.set("url",replacer(R.url))}if(typeof R.runtime==="string"){_e.set("runtime",replacer((()=>prepareId(R.runtime))))}else{_e.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(R,N)}E=E.replace(le,((R,N)=>{if(N.length+2===R.length){const $=/^(\w+)(?::(\w+))?$/.exec(N);if(!$)return R;const[,j,q]=$;const G=_e.get(j);if(G!==undefined){return G(R,q,E)}}else if(R.startsWith("[\\")&&R.endsWith("\\]")){return`[${R.slice(2,-2)}]`}return R}));return E};const we="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(we,(E=>{E.hooks.assetPath.tap(we,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnhandledSchemeError extends ${constructor(E,R){super(`Reading from "${R}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=R;this.name="UnhandledSchemeError"}}j(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class UnsupportedFeatureWarning extends ${constructor(E,R){super(E);this.name="UnsupportedFeatureWarning";this.loc=R;this.hideStack=true}}j(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,R,N)=>{"use strict";const $=N(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:R})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(R=>{const N=R.body[0];if(N&&N.type==="ExpressionStatement"&&N.expression.type==="Literal"&&N.expression.value==="use strict"){const R=new $("",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.state.module.buildInfo.strict=true}}))};R.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);R.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,R,N)=>{"use strict";const $=N(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const R=new Map;for(const N of E.modules){const E=N.identifier();const $=E.toLowerCase();let j=R.get($);if(j===undefined){j=new Map;R.set($,j)}j.set(E,N)}for(const N of R){const R=N[1];if(R.size>1){E.warnings.push(new $(R.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,R,N)=>{"use strict";const $=N(81627);class WarnDeprecatedOptionPlugin{constructor(E,R,N){this.option=E;this.value=R;this.suggestion=N}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends ${constructor(E,R,N){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${R}' for option '${E}' is deprecated. `+`Use '${N}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,R,N)=>{"use strict";const $=N(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new $)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,R,N)=>{"use strict";const $=N(35817);const j=$(N(12798),(()=>N(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,R){this.wfs=E;this.paths=R}watch(E,R,N,$,j,G,ie){E=Array.from(E);R=Array.from(R);const ignored=E=>this.paths.some((R=>R instanceof RegExp?R.test(E):E.indexOf(R)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const le=R.filter(ignored);const _e=this.wfs.watch(E.filter(notIgnored),R.filter(notIgnored),N,$,j,((E,R,N,$,j)=>{if(E)return G(E);for(const E of ae){R.set(E,q)}for(const E of le){N.set(E,q)}G(E,R,N,$,j)}),ie);return{close:()=>_e.close(),pause:()=>_e.pause(),getContextTimeInfoEntries:()=>{const E=_e.getContextTimeInfoEntries();for(const R of le){E.set(R,q)}return E},getFileTimeInfoEntries:()=>{const E=_e.getFileTimeInfoEntries();for(const R of ae){E.set(R,q)}return E}}}}class WatchIgnorePlugin{constructor(E){j(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,R,N)=>{"use strict";const $=N(10140);class Watching{constructor(E,R,N){this.startTime=null;this.invalid=false;this.handler=N;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof R==="number"){this.watchOptions={aggregateTimeout:R}}else if(R&&typeof R==="object"){this.watchOptions={...R}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,R){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(R)}else{for(const R of E){this._collectedChangedFiles.add(R);this._collectedRemovedFiles.delete(R)}for(const E of R){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,R,N,j){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(N||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=j||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=R||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,R)=>{if(E)return this._done(E,R);if(this.invalid)return this._done(null,R);if(this.compiler.hooks.shouldEmit.call(R)===false){return this._done(null,R)}process.nextTick((()=>{const E=R.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(R,(N=>{E.timeEnd("emitAssets");if(N)return this._done(N,R);if(this.invalid)return this._done(null,R);E.time("emitRecords");this.compiler.emitRecords((N=>{E.timeEnd("emitRecords");if(N)return this._done(N,R);if(R.hooks.needAdditionalPass.call()){R.needAdditionalPass=true;R.startTime=this.startTime;R.endTime=Date.now();E.time("done hook");const N=new $(R);this.compiler.hooks.done.callAsync(N,(N=>{E.timeEnd("done hook");if(N)return this._done(N,R);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,R);this.compiler.compile(onCompiled)}))}));return}return this._done(null,R)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const R=new $(E);return R}_done(E,R){this.running=false;const N=R&&R.getLogger("webpack.Watching");let j=null;const handleError=(E,R)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,j);if(!R){R=this.callbacks;this.callbacks=[]}for(const N of R)N(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(R){N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(R){R.startTime=this.startTime;R.endTime=Date.now();j=new $(R)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];N.time("done hook");this.compiler.hooks.done.callAsync(j,(E=>{N.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,j);N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(E=>{N.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);N.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;N.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(R.fileDependencies,R.contextDependencies,R.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call(j)}))}))}watch(E,R,N){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,R,N,this.lastWatcherStartTime,this.watchOptions,((E,R,N,$,j)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(R,N,$,j);this._onChange()}),((E,R)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,R)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,R,N,$){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(N,$);return}if(this.running){this._mergeWithCollected(N,$);this.invalid=true}else{this._go(E,R,N,$)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,R)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const R=this._closeCallbacks;this._closeCallbacks=undefined;for(const N of R)N(E)};if(R){const N=R.getLogger("webpack.Watching");N.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(R.buildDependencies,(R=>{N.timeEnd("storeBuildDependencies");shutdown(E||R)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,R,N)=>{"use strict";const $=N(73837).inspect.custom;const j=N(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[$](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}j(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,R,N)=>{"use strict";const $=N(16761);const j=N(46715);const{toConstantDependency:q}=N(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new $(R));E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(R=>{if(R.type!=="CallExpression"||R.arguments.length!==1||R.arguments[0].type==="SpreadElement")return;const N=E.evaluateExpression(R.arguments[0]);if(!N.isString())return;const $=new j(N.string,R.range);$.loc=R.loc;E.state.module.addDependency($);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);R.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,R,N)=>{"use strict";const $=N(97614);const j=N(75076);const q=N(18161);const G=N(9483);const ie=N(5538);const ae=N(64699);const le=N(43806);const _e=N(89818);const Ee=N(32323);const we=N(97489);const Ie=N(40552);const Me=N(29672);const Te=N(57694);const Ne=N(30337);const Be=N(79050);const Le=N(12510);const je=N(68495);const ze=N(99184);const Ue=N(13653);const qe=N(91630);const Ge=N(26165);const He=N(38586);const We=N(54975);const Ve=N(2451);const Ke=N(67634);const Qe=N(51727);const Je=N(3085);const Xe=N(62630);const Ye=N(65577);const Ze=N(76373);const et=N(68778);const tt=N(82527);const nt=N(9054);const rt=N(7391);const st=N(61762);const{cleverMerge:it}=N(90149);class WebpackOptionsApply extends ${constructor(){super()}process(E,R){R.outputPath=E.output.path;R.recordsInputPath=E.recordsInputPath||null;R.recordsOutputPath=E.recordsOutputPath||null;R.name=E.name;if(E.externals){const $=N(61050);new $(E.externalsType,E.externals).apply(R)}if(E.externalsPresets.node){const E=N(84980);(new E).apply(R)}if(E.externalsPresets.electronMain){const E=N(25726);new E("main").apply(R)}if(E.externalsPresets.electronPreload){const E=N(25726);new E("preload").apply(R)}if(E.externalsPresets.electronRenderer){const E=N(25726);new E("renderer").apply(R)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=N(25726);(new E).apply(R)}if(E.externalsPresets.nwjs){const E=N(61050);new E("node-commonjs","nw.gui").apply(R)}if(E.externalsPresets.webAsync){const E=N(61050);new E("import",/^(https?:\/\/|std:)/).apply(R)}else if(E.externalsPresets.web){const E=N(61050);new E("module",/^(https?:\/\/|std:)/).apply(R)}(new ie).apply(R);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=N(41113);(new E).apply(R);break}case"commonjs":{const E=N(77314);(new E).apply(R);break}case"module":{const E=N(57378);(new E).apply(R);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const $ of E.output.enabledChunkLoadingTypes){const E=N(50369);new E($).apply(R)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const $ of E.output.enabledWasmLoadingTypes){const E=N(69085);new E($).apply(R)}}if(E.output.enabledLibraryTypes.length>0){for(const $ of E.output.enabledLibraryTypes){const E=N(13984);new E($).apply(R)}}if(E.output.pathinfo){const $=N(21542);new $(E.output.pathinfo!==true).apply(R)}if(E.output.clean){const $=N(61666);new $(E.output.clean===true?{}:E.output.clean).apply(R)}if(E.devtool){if(E.devtool.includes("source-map")){const $=E.devtool.includes("hidden");const j=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const le=q?N(23641):N(2e4);new le({filename:j?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:$?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(R)}else if(E.devtool.includes("eval")){const $=N(91331);new $({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(R)}}(new q).apply(R);(new G).apply(R);(new j).apply(R);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const $=N(84387);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.asyncWebAssembly){const $=N(82422);new $({mangleImports:E.optimization.mangleWasmImports}).apply(R)}if(E.experiments.lazyCompilation){const $=N(10639);const j=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new $({backend:typeof j.backend==="function"?j.backend:N(64244)({...j.backend,client:j.backend&&j.backend.client||E.externalsPresets.node?N.ab+"lazy-compilation-node.js":N.ab+"lazy-compilation-web.js"}),entries:!j||j.entries!==false,imports:!j||j.imports!==false,test:j&&j.test||undefined}).apply(R)}if(E.experiments.buildHttp){const $=N(7201);const j=E.experiments.buildHttp;new $(j).apply(R)}(new ae).apply(R);R.hooks.entryOption.call(E.context,E.entry);(new _e).apply(R);(new et).apply(R);(new je).apply(R);(new ze).apply(R);(new we).apply(R);new Ge({topLevelAwait:E.experiments.topLevelAwait}).apply(R);if(E.amd!==false){const $=N(19765);const j=N(10830);new $(E.amd||{}).apply(R);(new j).apply(R)}(new qe).apply(R);new Ve({}).apply(R);if(E.node!==false){const $=N(32125);new $(E.node).apply(R)}(new Ee).apply(R);(new Me).apply(R);(new Te).apply(R);(new Ie).apply(R);(new Be).apply(R);(new Je).apply(R);(new Qe).apply(R);(new Ke).apply(R);(new We).apply(R);(new Xe).apply(R);(new He).apply(R);(new Ye).apply(R);new Ze(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(R);(new nt).apply(R);(new rt).apply(R);(new st).apply(R);(new tt).apply(R);if(typeof E.mode!=="string"){const E=N(67586);(new E).apply(R)}const $=N(38173);(new $).apply(R);if(E.optimization.removeAvailableModules){const E=N(78016);(new E).apply(R)}if(E.optimization.removeEmptyChunks){const E=N(62665);(new E).apply(R)}if(E.optimization.mergeDuplicateChunks){const E=N(70026);(new E).apply(R)}if(E.optimization.flagIncludedChunks){const E=N(76627);(new E).apply(R)}if(E.optimization.sideEffects){const $=N(63410);new $(E.optimization.sideEffects===true).apply(R)}if(E.optimization.providedExports){const E=N(95629);(new E).apply(R)}if(E.optimization.usedExports){const $=N(1596);new $(E.optimization.usedExports==="global").apply(R)}if(E.optimization.innerGraph){const E=N(10032);(new E).apply(R)}if(E.optimization.mangleExports){const $=N(41694);new $(E.optimization.mangleExports!=="size").apply(R)}if(E.optimization.concatenateModules){const E=N(35442);(new E).apply(R)}if(E.optimization.splitChunks){const $=N(40051);new $(E.optimization.splitChunks).apply(R)}if(E.optimization.runtimeChunk){const $=N(4674);new $(E.optimization.runtimeChunk).apply(R)}if(!E.optimization.emitOnErrors){const E=N(66962);(new E).apply(R)}if(E.optimization.realContentHash){const $=N(30699);new $({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(R)}if(E.optimization.checkWasmTypes){const E=N(8576);(new E).apply(R)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=N(97781);(new E).apply(R);break}case"named":{const E=N(9297);(new E).apply(R);break}case"hashed":{const $=N(3571);const j=N(35853);new $("optimization.moduleIds","hashed","deterministic").apply(R);new j({hashFunction:E.output.hashFunction}).apply(R);break}case"deterministic":{const E=N(35579);(new E).apply(R);break}case"size":{const E=N(76059);new E({prioritiseInitial:true}).apply(R);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const lt=E.optimization.chunkIds;if(lt){switch(lt){case"natural":{const E=N(18298);(new E).apply(R);break}case"named":{const E=N(64779);(new E).apply(R);break}case"deterministic":{const E=N(90444);(new E).apply(R);break}case"size":{const E=N(86169);new E({prioritiseInitial:true}).apply(R);break}case"total-size":{const E=N(86169);new E({prioritiseInitial:false}).apply(R);break}default:throw new Error(`webpack bug: chunkIds: ${lt} is not implemented`)}}if(E.optimization.nodeEnv){const $=N(24820);new $({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(R)}if(E.optimization.minimize){for(const N of E.optimization.minimizer){if(typeof N==="function"){N.call(R,R)}else if(N!=="..."){N.apply(R)}}}if(E.performance){const $=N(20625);new $(E.performance).apply(R)}(new Ne).apply(R);new le({portableIds:E.optimization.portableRecords}).apply(R);(new Le).apply(R);const ct=N(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(R);if(E.cache&&typeof E.cache==="object"){const $=E.cache;switch($.type){case"memory":{if(isFinite($.maxGenerations)){const E=N(71162);new E({maxGenerations:$.maxGenerations}).apply(R)}else{const E=N(47786);(new E).apply(R)}if($.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}break}case"filesystem":{const j=N(38016);for(const E in $.buildDependencies){const N=$.buildDependencies[E];new j(N).apply(R)}if(!isFinite($.maxMemoryGenerations)){const E=N(47786);(new E).apply(R)}else if($.maxMemoryGenerations!==0){const E=N(71162);new E({maxGenerations:$.maxMemoryGenerations}).apply(R)}if($.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}R.moduleMemCaches=new Map}switch($.store){case"pack":{const j=N(66620);const q=N(83793);new j(new q({compiler:R,fs:R.intermediateFileSystem,context:E.context,cacheLocation:$.cacheLocation,version:$.version,logger:R.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:$.maxAge,profile:$.profile,allowCollectingMemory:$.allowCollectingMemory,compression:$.compression}),$.idleTimeout,$.idleTimeoutForInitialStore,$.idleTimeoutAfterLargeChanges).apply(R);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${$.type}`)}}(new Ue).apply(R);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const $=N(89056);new $(E.ignoreWarnings).apply(R)}R.hooks.afterPlugins.call(R);if(!R.inputFileSystem){throw new Error("No input filesystem provided")}R.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;return N}));R.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(N=>{N=it(E.resolve,N);N.fileSystem=R.inputFileSystem;N.resolveToContext=true;return N}));R.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(N=>{N=it(E.resolveLoader,N);N.fileSystem=R.inputFileSystem;return N}));R.hooks.afterResolvers.call(R);return E}}E.exports=WebpackOptionsApply},94820:(E,R,N)=>{"use strict";const{applyWebpackOptionsDefaults:$}=N(54411);const{getNormalizedWebpackOptions:j}=N(96590);class WebpackOptionsDefaulter{process(E){E=j(E);$(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,R,N)=>{"use strict";const $=N(50007);const j=N(71017);const{RawSource:q}=N(48135);const G=N(36253);const ie=N(76150);const ae=N(35891);const{makePathsRelative:le}=N(49197);const mergeMaybeArrays=(E,R)=>{const N=new Set;if(Array.isArray(E))for(const R of E)N.add(R);else N.add(E);if(Array.isArray(R))for(const E of R)N.add(E);else N.add(R);return Array.from(N)};const mergeAssetInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;switch($){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":N[$]=mergeMaybeArrays(E[$],R[$]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":N[$]=E[$]||R[$];break;case"related":N[$]=mergeRelatedInfo(E[$],R[$]);break;default:throw new Error(`Can't handle conflicting asset info for ${$}`)}}}return N};const mergeRelatedInfo=(E,R)=>{const N={...E,...R};for(const $ of Object.keys(E)){if($ in R){if(E[$]===R[$])continue;N[$]=mergeMaybeArrays(E[$],R[$])}}return N};const _e=new Set(["javascript"]);const Ee=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,R,N,$){super();this.dataUrlOptions=E;this.filename=R;this.publicPath=N;this.emit=$}generate(E,{runtime:R,chunkGraph:N,runtimeTemplate:G,runtimeRequirements:_e,type:Ee,getData:we}){switch(Ee){case"asset":return E.originalSource();default:{_e.add(ie.module);const Ee=E.originalSource();if(E.buildInfo.dataUrl){let R;if(typeof this.dataUrlOptions==="function"){R=this.dataUrlOptions.call(null,Ee.source(),{filename:E.matchResource||E.resource,module:E})}else{let N=this.dataUrlOptions.encoding;if(N===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){N=E.resourceResolveData.encoding}}if(N===undefined){N="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=j.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=$.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===N){ie=E.resourceResolveData.encodedContent}else{switch(N){case"base64":{ie=Ee.buffer().toString("base64");break}case false:{const E=Ee.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${N}'`)}}R=`data:${G}${N?`;${N}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(R)};`)}else{const $=this.filename||G.outputOptions.assetModuleFilename;const j=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){j.update(G.outputOptions.hashSalt)}j.update(Ee.buffer());const Ie=j.digest(G.outputOptions.hashDigest);const Me=Ie.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Ie;const Te=le(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Be}=G.compilation.getAssetPathWithInfo($,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Me});let Le;if(this.publicPath!==undefined){const{path:$,info:j}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:R,filename:Te,chunkGraph:N,contentHash:Me});Le=JSON.stringify($);Be=mergeAssetInfo(Be,j)}else{Le=ie.publicPath;_e.add(ie.publicPath)}Be={sourceFilename:Te,...Be};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Be;if(we){const E=we();E.set("fullContentHash",Ie);E.set("filename",Ne);E.set("assetInfo",Be)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return _e}else{return Ee}}getSize(E,R){switch(R){case"asset":{const R=E.originalSource();if(!R){return 0}return R.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const R=E.originalSource();if(!R){return 0}return R.size()*1.34+36}else{return 42}}}updateHash(E,{module:R}){E.update(R.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,R,N)=>{"use strict";const{cleverMerge:$}=N(90149);const{compareModulesByIdentifier:j}=N(68673);const q=N(35817);const G=N(91671);const getSchema=E=>{const{definitions:R}=N(46312);return{definitions:R,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(N(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(N(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(N(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const le=q(N(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const _e=G((()=>N(20882)));const Ee=G((()=>N(74795)));const we=G((()=>N(20139)));const Ie=G((()=>N(54685)));const Me="asset";const Te="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Te,((R,{normalModuleFactory:N})=>{N.hooks.createParser.for("asset").tap(Te,(R=>{le(R);R=$(E.options.module.parser.asset,R);let N=R.dataUrlCondition;if(!N||typeof N==="object"){N={maxSize:8096,...N}}const j=Ee();return new j(N)}));N.hooks.createParser.for("asset/inline").tap(Te,(E=>{const R=Ee();return new R(true)}));N.hooks.createParser.for("asset/resource").tap(Te,(E=>{const R=Ee();return new R(false)}));N.hooks.createParser.for("asset/source").tap(Te,(E=>{const R=we();return new R}));for(const E of["asset","asset/inline","asset/resource"]){N.hooks.createGenerator.for(E).tap(Te,(R=>{ae[E](R);let N=undefined;if(E!=="asset/resource"){N=R.dataUrl;if(!N||typeof N==="object"){N={encoding:undefined,mimetype:undefined,...N}}}let $=undefined;let j=undefined;if(E!=="asset/inline"){$=R.filename;j=R.publicPath}const q=_e();return new q(N,$,j,R.emit!==false)}))}N.hooks.createGenerator.for("asset/source").tap(Te,(()=>{const E=Ie();return new E}));R.hooks.renderManifest.tap(Te,((E,N)=>{const{chunkGraph:$}=R;const{chunk:q,codeGenerationResults:G}=N;const ie=$.getOrderedChunkModulesIterableBySourceType(q,"asset",j);if(ie){for(const R of ie){try{const N=G.get(R,q.runtime);E.push({render:()=>N.sources.get(Me),filename:R.buildInfo.filename||N.data.get("filename"),info:R.buildInfo.assetInfo||N.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${$.getModuleId(R)}`,hash:R.buildInfo.fullContentHash||N.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${R.identifier()}`;throw E}}}return E}));R.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,R)=>{const{codeGenerationResult:N}=E;const $=N.sources.get("asset");if($===undefined)return;R.assets.set(N.data.get("filename"),{source:$,info:N.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,R,N)=>{"use strict";const $=N(2172);class AssetParser extends ${constructor(E){super();this.dataUrlCondition=E}parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){R.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:R.module.matchResource||R.module.resource,module:R.module})}else if(typeof this.dataUrlCondition==="boolean"){R.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){R.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return R}}E.exports=AssetParser},54685:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends j{generate(E,{chunkGraph:R,runtimeTemplate:N,runtimeRequirements:j}){j.add(q.module);const G=E.originalSource();if(!G){return new $("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new $(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()+12}}E.exports=AssetSourceGenerator},20139:(E,R,N)=>{"use strict";const $=N(2172);class AssetSourceParser extends ${parse(E,R){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:N}=R;N.buildInfo.strict=true;N.buildMeta.exportsType="default";return R}}E.exports=AssetSourceParser},10813:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const q=N(58159);class AwaitDependenciesInitFragment extends ${constructor(E){super(undefined,$.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const R=new Set(this.promises);for(const N of E.promises){R.add(N)}return new AwaitDependenciesInitFragment(R)}getContent({runtimeRequirements:E}){E.add(j.module);const R=this.promises;if(R.size===0){return""}if(R.size===1){for(const E of R){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const N=Array.from(R).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${N}]);`,`([${N}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,R,N)=>{"use strict";const $=N(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:R}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const N=new Set;for(const R of E){if(R.buildMeta&&R.buildMeta.async){N.add(R)}}for(const E of N){R.setAsync(E);for(const[j,q]of R.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof $&&E.isTargetActive(undefined)))){N.add(j)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,R,N)=>{"use strict";const $=N(21357);const{connectChunkGroupParentAndChild:j}=N(4642);const q=N(79900);const{getEntryRuntime:G,mergeRuntime:ie}=N(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,R)=>R.size+R.plus.size-E.size-E.plus.size;const extractBlockModules=(E,R,N,$)=>{let j;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const R=[];ie.push(R);$.set(E,R);for(const R of E.blocks){ae.push(R)}}for(const q of R.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(N);if(ae===false)continue;const le=R.getParentBlock(E);let _e=R.getParentBlockIndex(E);if(_e<0){_e=le.dependencies.indexOf(E)}if(j!==le){G=$.get(j=le)}const Ee=_e<<2;G[Ee]=ie;G[Ee+1]=ae}for(const E of ie){if(E.length===0)continue;let R;let N=0;e:for(let $=0;$30){R=new Map;for(let $=0;${const{moduleGraph:Ee,chunkGraph:we,moduleMemCaches:Ie}=R;const Me=new Map;let Te=false;let Ne;const getBlockModules=(R,N)=>{if(Te!==N){Ne=Me.get(N);if(Ne===undefined){Ne=new Map;Me.set(N,Ne)}}let $=Ne.get(R);if($!==undefined)return $;const j=R.getRootBlock();const q=Ie&&Ie.get(j);if(q!==undefined){const $=q.provide("bundleChunkGraph.blockModules",N,(()=>{E.time("visitModules: prepare");const R=new Map;extractBlockModules(j,Ee,N,R);E.timeAggregate("visitModules: prepare");return R}));for(const[E,R]of $)Ne.set(E,R);return $.get(R)}else{E.time("visitModules: prepare");extractBlockModules(j,Ee,N,Ne);$=Ne.get(R);E.timeAggregate("visitModules: prepare");return $}};let Be=0;let Le=0;let je=0;let ze=0;let Ue=0;let qe=0;let Ge=0;let He=0;let We=0;let Ve=0;let Ke=0;let Qe=0;let Je=0;let Xe=0;let Ye=0;let Ze=0;const et=new Map;const tt=new Map;const nt=new Map;const rt=0;const st=1;const it=2;const ot=3;const lt=4;const ct=5;let ut=[];const pt=new Map;const dt=new Set;for(const[E,$]of N){const N=G(R,E.name,E.options);const q={chunkGroup:E,runtime:N,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Xe++;if(E.getNumberOfParents()>0){const E=new Set;for(const R of $){E.add(R)}q.skippedItems=E;dt.add(q)}else{q.minAvailableModules=ae;const R=E.getEntrypointChunk();for(const N of $){ut.push({action:st,block:N,module:N,chunk:R,chunkGroup:E,chunkGroupInfo:q})}}j.set(E,q);if(E.name){tt.set(E.name,q)}}for(const E of dt){const{chunkGroup:R}=E;E.availableSources=new Set;for(const N of R.parentsIterable){const R=j.get(N);E.availableSources.add(R);if(R.availableChildren===undefined){R.availableChildren=new Set}R.availableChildren.add(E)}}ut.reverse();const ft=new Set;const ht=new Set;let mt=[];const gt=[];const yt=[];const vt=[];let bt;let _t;let xt;let kt;let Et;const iteratorBlock=E=>{let N=et.get(E);let G;let ie;const le=E.groupOptions&&E.groupOptions.entryOptions;if(N===undefined){const Ee=E.groupOptions&&E.groupOptions.name||E.chunkName;if(le){N=nt.get(Ee);if(!N){ie=R.addAsyncEntrypoint(le,bt,E.loc,E.request);ie.index=Xe++;N={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};j.set(ie,N);we.connectBlockAndChunkGroup(E,ie);if(Ee){nt.set(Ee,N)}}else{ie=N.chunkGroup;ie.addOrigin(bt,E.loc,E.request);we.connectBlockAndChunkGroup(E,ie)}mt.push({action:lt,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:N})}else{N=tt.get(Ee);if(!N){G=R.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Xe++;N={chunkGroup:G,runtime:Et.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};_e.add(G);j.set(G,N);if(Ee){tt.set(Ee,N)}}else{G=N.chunkGroup;if(G.isInitial()){R.errors.push(new $(Ee,bt,E.loc));G=xt}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}et.set(E,N)}else if(le){ie=N.chunkGroup}else{G=N.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Et,chunkGroup:G});let R=pt.get(Et);if(R===undefined){R=new Set;pt.set(Et,R)}R.add(N);mt.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:N})}else{Et.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){const{minAvailableModules:E}=Et;for(let N=0;N0){let{skippedModuleConnections:E}=Et;if(E===undefined){Et.skippedModuleConnections=E=new Set}for(let R=gt.length-1;R>=0;R--){E.add(gt[R])}gt.length=0}if(yt.length>0){let{skippedItems:E}=Et;if(E===undefined){Et.skippedItems=E=new Set}for(let R=yt.length-1;R>=0;R--){E.add(yt[R])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processEntryBlock=E=>{Le++;const R=getBlockModules(E,Et.runtime);if(R!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const R of E.blocks){iteratorBlock(R)}if(E.blocks.length>0&&bt!==E){le.add(E)}};const processQueue=()=>{while(ut.length){Be++;const E=ut.pop();bt=E.module;kt=E.block;_t=E.chunk;xt=E.chunkGroup;Et=E.chunkGroupInfo;switch(E.action){case rt:we.connectChunkAndEntryModule(_t,bt,xt);case st:{if(we.isModuleInChunk(bt,_t)){break}we.connectChunkAndModule(_t,bt)}case it:{const R=xt.getModulePreOrderIndex(bt);if(R===undefined){xt.setModulePreOrderIndex(bt,Et.preOrderIndex++)}if(Ee.setPreOrderIndexIfUnset(bt,Ye)){Ye++}E.action=ct;ut.push(E)}case ot:{processBlock(kt);break}case lt:{processEntryBlock(kt);break}case ct:{const E=xt.getModulePostOrderIndex(bt);if(E===undefined){xt.setModulePostOrderIndex(bt,Et.postOrderIndex++)}if(Ee.setPostOrderIndexIfUnset(bt,Ze)){Ze++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const R=E.minAvailableModules;let N;if(R.size>R.plus.size){N=new Set;for(const E of R.plus)R.add(E);R.plus=ae;N.plus=R;E.minAvailableModulesOwned=false}else{N=new Set(R);N.plus=R.plus}for(const R of E.chunkGroup.chunks){for(const E of we.getChunkModulesIterable(R)){N.add(E)}}return E.resultingAvailableModules=N};const processConnectQueue=()=>{for(const[E,R]of pt){if(E.children===undefined){E.children=R}else{for(const N of R){E.children.add(N)}}const N=calculateResultingAvailableModules(E);const $=E.runtime;for(const E of R){E.availableModulesToBeMerged.push(N);ht.add(E);const R=E.runtime;const j=ie(R,$);if(R!==j){E.runtime=j;ft.add(E)}}je+=R.size}pt.clear()};const processChunkGroupsForMerging=()=>{ze+=ht.size;for(const E of ht){const R=E.availableModulesToBeMerged;let N=E.minAvailableModules;Ue+=R.length;if(R.length>1){R.sort(bySetSize)}let $=false;e:for(const j of R){if(N===undefined){N=j;E.minAvailableModules=N;E.minAvailableModulesOwned=false;$=true}else{if(E.minAvailableModulesOwned){if(N.plus===j.plus){for(const E of N){if(!j.has(E)){N.delete(E);$=true}}}else{for(const E of N){if(!j.has(E)&&!j.plus.has(E)){N.delete(E);$=true}}for(const E of N.plus){if(!j.has(E)&&!j.plus.has(E)){const R=N.plus[Symbol.iterator]();let q;while(!(q=R.next()).done){const R=q.value;if(R===E)break;N.add(R)}while(!(q=R.next()).done){const R=q.value;if(j.has(R)||j.plus.has(E)){N.add(R)}}N.plus=ae;$=true;continue e}}}}else if(N.plus===j.plus){if(j.size{for(const E of dt){for(const R of E.availableSources){if(!R.minAvailableModules){dt.delete(E);break}}}for(const E of dt){const R=new Set;R.plus=ae;const mergeSet=E=>{if(E.size>R.plus.size){for(const E of R.plus)R.add(E);R.plus=E}else{for(const N of E)R.add(N)}};for(const R of E.availableSources){const E=calculateResultingAvailableModules(R);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=R;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}dt.clear()};const processOutdatedChunkGroupInfo=()=>{Qe+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedItems){if(!R.has(N)&&!R.plus.has(N)){ut.push({action:st,block:N,module:N,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(N)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:R}=E;for(const N of E.skippedModuleConnections){const[$,j]=N;if(j===false)continue;if(j===true){E.skippedModuleConnections.delete(N)}if(j===true&&(R.has($)||R.plus.has($))){E.skippedItems.add($);continue}ut.push({action:j===true?st:ot,block:$,module:$,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Je+=E.children.size;for(const R of E.children){let N=pt.get(E);if(N===undefined){N=new Set;pt.set(E,N)}N.add(R)}}if(E.availableChildren!==undefined){for(const R of E.availableChildren){dt.add(R)}}}ft.clear()};while(ut.length||pt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(dt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(pt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(ht.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=mt.reverse();mt=E}}E.log(`${Be} queue items processed (${Le} blocks)`);E.log(`${je} chunk groups connected`);E.log(`${ze} chunk groups processed for merging (${Ue} module sets, ${qe} forked, ${Ge} + ${He} modules forked, ${We} + ${Ve} modules merged into fork, ${Ke} resulting modules)`);E.log(`${Qe} chunk group info updated (${Je} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,R,N,$)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,R)=>{for(const N of E.chunks){for(const E of q.getChunkModulesIterable(N)){if(!R.has(E)&&!R.plus.has(E))return false}}return true};for(const[E,$]of N){if(!R.has(E)&&$.every((({chunkGroup:E,originChunkGroupInfo:R})=>areModulesAvailable(E,R.resultingAvailableModules)))){continue}for(let R=0;R<$.length;R++){const{chunkGroup:N,originChunkGroupInfo:G}=$[R];q.connectBlockAndChunkGroup(E,N);j(G.chunkGroup,N)}}};const cleanupUnconnectedGroups=(E,R)=>{const{chunkGraph:N}=E;for(const $ of R){if($.getNumberOfParents()===0){for(const R of $.chunks){E.chunks.delete(R);N.disconnectChunk(R)}N.disconnectChunkGroup($);$.remove()}}};const buildChunkGraph=(E,R)=>{const N=E.getLogger("webpack.buildChunkGraph");const $=new Map;const j=new Set;const q=new Map;const G=new Set;N.time("visitModules");visitModules(N,E,R,q,$,G,j);N.timeEnd("visitModules");N.time("connectChunkGroups");connectChunkGroups(E,G,$,q);N.timeEnd("connectChunkGroups");for(const[E,R]of q){for(const N of E.chunks)N.runtime=ie(N.runtime,R.runtime)}N.time("cleanup");cleanupUnconnectedGroups(E,j);N.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,R){this.managedPaths=new Set(E);this.immutablePaths=new Set(R)}apply(E){for(const R of this.managedPaths){E.managedPaths.add(R)}for(const R of this.immutablePaths){E.immutablePaths.add(R)}}}E.exports=AddManagedPathsPlugin},66620:(E,R,N)=>{"use strict";const $=N(54725);const j=N(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,R,N,$){this.strategy=E;this.idleTimeout=R;this.idleTimeoutForInitialStore=N;this.idleTimeoutAfterLargeChanges=$}apply(E){let R=this.strategy;const N=this.idleTimeout;const G=Math.min(N,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let le=0;let _e=0;let Ee=0;const we=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{we.set(E,(()=>R.store(E,N,$)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},((E,N,$)=>{const restore=()=>R.restore(E,N).then((j=>{if(j===undefined){$.push((($,j)=>{if($!==undefined){we.set(E,(()=>R.store(E,N,$)))}j()}))}else{return j}}));const j=we.get(E);if(j!==undefined){we.delete(E);return j().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(E=>{we.set(q,(()=>R.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Me=false;const N=j.getReporter(E);const $=Array.from(we.values());if(N)N(0,"process pending cache items");const q=$.map((E=>E()));we.clear();q.push(Ie);const G=Promise.all(q);Ie=G.then((()=>R.afterAllStored()));if(N){Ie=Ie.then((()=>{N(1,`stored`)}))}return Ie.then((()=>{if(R.clear)R.clear()}))}));let Ie=ae;let Me=false;let Te=true;const processIdleTasks=()=>{if(Me){const N=Date.now();if(we.size>0){const E=[Ie];const R=N+100;let $=100;for(const[N,j]of we){we.delete(N);E.push(j());if($--<=0||Date.now()>R)break}Ie=Promise.all(E);Ie.then((()=>{_e+=Date.now()-N;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Ie=Ie.then((async()=>{await R.afterAllStored();_e+=Date.now()-N;Ee=Math.max(Ee,_e)*.9+_e*.1;_e=0;le=0})).catch((R=>{const N=E.getInfrastructureLogger("IdleFileCachePlugin");N.warn(`Background tasks during idle failed: ${R.message}`);N.debug(R.stack)}));Te=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{const R=le>Ee*2;if(Te&&G{Ne=undefined;Me=true;ae.then(processIdleTasks)}),Math.min(Te?G:Infinity,R?ie:Infinity,N));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:$.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}Me=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{le*=.9;le+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,R,N)=>{"use strict";const $=N(54725);class MemoryCachePlugin{apply(E){const R=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{R.set(E,{etag:N,data:$})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},((E,N,$)=>{const j=R.get(E);if(j===null){return null}else if(j!==undefined){return j.etag===N?j.data:null}$.push((($,j)=>{if($===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:$.STAGE_MEMORY},(()=>{R.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,R,N)=>{"use strict";const $=N(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const R=this._maxGenerations;const N=new Map;const j=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let $;for(const[R,G]of j){if(G.until>q)break;j.delete(R);if(N.get(R)===undefined){N.delete(R);E++;$=R}}if(E>0||j.size>0){ie.log(`${N.size-j.size} active entries, ${j.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${$}`:""}`)}let ae=N.size/R|0;let le=G>=N.size?0:G;G=le+ae;for(const[E,$]of N){if(le!==0){le--;continue}if($!==undefined){N.set(E,undefined);j.delete(E);j.set(E,{entry:$,until:q+R});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{N.set(E,{etag:R,data:$})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},((E,R,$)=>{const q=N.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===R?q.data:null}const G=j.get(E);if(G!==undefined){const $=G.entry;if($===null){j.delete(E);N.set(E,$);return null}else{if($.etag!==R)return null;j.delete(E);N.set(E,$);return $.data}}$.push((($,j)=>{if($===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:$})}return j()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:$.STAGE_MEMORY},(()=>{N.clear();j.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,R,N)=>{"use strict";const $=N(22996);const j=N(52923);const{formatSize:q}=N(9192);const G=N(43065);const ie=N(83379);const ae=N(56202);const le=N(91671);const{createFileSerializer:_e,NOT_SERIALIZABLE:Ee}=N(24568);class PackContainer{constructor(E,R,N,$,j,q){this.data=E;this.version=R;this.buildSnapshot=N;this.buildDependencies=$;this.resolveResults=j;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:R}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);R(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const we=1024*1024;const Ie=10;const Me=100;const Te=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,R,N){this.identifier=E;this.etag=R;this.location=-1;this.lastAccess=Date.now();this.freshValue=N}}class Pack{constructor(E,R){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=R}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,R){const N=this.itemInfo.get(E);this._addRequest(E);if(N===undefined){return undefined}if(N.etag!==R)return null;N.lastAccess=Date.now();const $=N.location;if($===-1){return N.freshValue}else{if(!this.content[$]){return undefined}return this.content[$].get(E)}}set(E,R,N){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const $=this.itemInfo.get(E);if($===undefined){const $=new PackItemInfo(E,R,N);this.itemInfo.set(E,$);this._addRequest(E);this.freshContent.set(E,$)}else{const j=$.location;if(j>=0){this._addRequest(E);this.freshContent.set(E,$);const R=this.content[j];R.delete(E);if(R.items.size===0){this.content[j]=undefined;this.logger.debug("Pack %d got empty and is removed",j)}}$.freshValue=N;$.lastAccess=Date.now();$.etag=R;$.location=-1}}getContentStats(){let E=0;let R=0;for(const N of this.content){if(N!==undefined){E++;const $=N.getSize();if($>0){R+=$}}}return{count:E,size:R}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);R.delete(G);$++;j=G}else{ie.location=N}}if($>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",$,N,E.size,j)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const R=Math.ceil(E/Te);const N=Math.ceil(E/R);const $=[];let j=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const R={items:new Set,map:new Map,loc:E};$.push(R);return R};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=Me){j=0;G=createNextPack()}continue}const R=this.freshContent.get(E);if(R===undefined)continue;G.items.add(E);G.map.set(E,R.freshValue);R.location=G.loc;R.freshValue=undefined;this.freshContent.delete(E);if(++j>N){j=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of $){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${$.length>1?$.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):$[0].loc}`)}}_optimizeSmallContent(){const E=[];let R=0;const N=[];let $=0;for(let j=0;jwe)continue;if(q.used.size>0){E.push(j);R+=G}else{N.push(j);$+=G}}let j;if(E.length>=Ie||R>we){j=E}else if(N.length>=Ie||$>we){j=N}else return;const q=[];for(const E of j){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const R of E.items){G.add(R)}for(const R of E.used){ie.add(R)}ae.push((async R=>{await E.unpack("it should be merged with other small pack contents");for(const[N,$]of E.content){R.set(N,$)}}))}const _e=this._findLocation();this._gcAndUpdateLocation(G,ie,_e);if(G.size>0){this.content[_e]=new PackContent(G,ie,le((async()=>{const E=new Map;await Promise.all(ae.map((R=>R(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,_e)}}_optimizeUnusedContent(){for(let E=0;E0&&$0){this.content[$]=new PackContent(N,new Set(N),(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const $ of N){E.set($,R.content.get($))}return new PackContentItems(E)}))}const j=new Set(R.items);const q=new Set;for(const E of N){j.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation(j,q,G);if(j.size>0){this.content[G]=new PackContent(j,q,(async()=>{await R.unpack("it should be splitted into used and unused items");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,$,N.size,G,j.size);return}}}_gcOldestContent(){let E=undefined;for(const R of this.itemInfo.values()){if(E===undefined||R.lastAccessthis.maxAge){const R=E.location;if(R<0)return;const N=this.content[R];const $=new Set(N.items);const j=new Set(N.used);this._gcAndUpdateLocation($,j,R);this.content[R]=$.size>0?new PackContent($,j,(async()=>{await N.unpack("it contains old items that should be garbage collected");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:R}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const R of this.itemInfo.keys()){E(R)}E(null);for(const R of this.itemInfo.values()){E(R.etag)}for(const R of this.itemInfo.values()){E(R.lastAccess)}for(let N=0;NR(E,{name:`${N}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:R}){this.logger=R;{const R=[];let N=E();while(N!==null){R.push(N);N=E()}this.itemInfo.clear();const $=R.map((E=>{const R=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,R);return R}));for(const R of $){R.etag=E()}for(const R of $){R.lastAccess=E()}}this.content.length=0;let N=E();while(N!==null){if(N===undefined){this.content.push(N)}else{const $=this.content.length;const j=E();this.content.push(new PackContent(N,new Set,j,R,`${this.content.length}`));for(const E of N){this.itemInfo.get(E).location=$}}N=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:R,rollback:N,logger:$,profile:j}){if(j){E(false);for(const[j,q]of this.map){const G=R();try{E(j);const R=process.hrtime();E(q);const N=process.hrtime(R);const G=N[0]*1e3+N[1]/1e6;if(G>1){if(G>500)$.error(`Serialization of '${j}': ${G} ms`);else if(G>50)$.warn(`Serialization of '${j}': ${G} ms`);else if(G>10)$.info(`Serialization of '${j}': ${G} ms`);else if(G>5)$.log(`Serialization of '${j}': ${G} ms`);else $.debug(`Serialization of '${j}': ${G} ms`)}}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null);return}const q=R();try{E(true);E(this.map)}catch(j){N(q);E(false);for(const[j,q]of this.map){const G=R();try{E(j);E(q)}catch(E){N(G);if(E===Ee)continue;$.warn(`Skipped not serializable cache item '${j}': ${E.message}`);$.debug(E.stack)}}E(null)}}deserialize({read:E,logger:R,profile:N}){if(E()){this.map=E()}else if(N){const N=new Map;let $=E();while($!==null){const j=process.hrtime();const q=E();const G=process.hrtime(j);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)R.error(`Deserialization of '${$}': ${ie} ms`);else if(ie>20)R.warn(`Deserialization of '${$}': ${ie} ms`);else if(ie>5)R.info(`Deserialization of '${$}': ${ie} ms`);else if(ie>2)R.log(`Deserialization of '${$}': ${ie} ms`);else R.debug(`Deserialization of '${$}': ${ie} ms`)}N.set($,q);$=E()}this.map=N}else{const R=new Map;let N=E();while(N!==null){R.set(N,E());N=E()}this.map=R}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,R,N,$,j){this.items=E;this.lazy=typeof N==="function"?N:undefined;this.content=typeof N==="function"?undefined:N.map;this.outdated=false;this.used=R;this.logger=$;this.lazyName=j}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`restore cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${R} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((R=>{const $=R.map;if(N){this.logger.timeEnd(N)}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return $.get(E)}))}else{const R=$.map;if(N){this.logger.timeEnd(N)}this.content=R;this.lazy=G.unMemoizeLazy(this.lazy);return R.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because ${E}`);this.logger.time(N)}const $=this.lazy();if("then"in $){return $.then((E=>{if(N){this.logger.timeEnd(N)}this.content=E.map}))}else{if(N){this.logger.timeEnd(N)}this.content=$.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const R=E.size;if(typeof R!=="number")return-1;return R}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const R=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}if(this.content){const R=new Map;for(const E of this.items){R.set(E,this.content.get(E))}this.outdated=false;this.content=R;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(R))));return}const{lazyName:R}=this;let N;if(R){this.lazyName=undefined;N=`unpack cache content ${R} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${R} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(N)}const $=this.lazy();this.outdated=false;if("then"in $){this.lazy=E((()=>$.then((E=>{if(N){this.logger.timeEnd(N)}const R=E.map;const $=new Map;for(const E of this.items){$.set(E,R.get(E))}this.content=$;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems($)}))))}else{if(N){this.logger.timeEnd(N)}const R=$.map;const j=new Map;for(const E of this.items){j.set(E,R.get(E))}this.content=j;this.lazy=E((()=>new PackContentItems(j)))}}}const allowCollectingMemory=E=>{const R=E.buffer.byteLength-E.byteLength;if(R>8192&&(R>1048576||R>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:R,context:N,cacheLocation:j,version:q,logger:G,snapshot:ae,maxAge:le,profile:Ee,allowCollectingMemory:we,compression:Ie}){this.fileSerializer=_e(R,E.options.output.hashFunction);this.fileSystemInfo=new $(R,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=N;this.cacheLocation=j;this.version=q;this.logger=G;this.maxAge=le;this.profile=Ee;this.allowCollectingMemory=we;this.compression=Ie;this._extension=Ie==="brotli"?".pack.br":Ie==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:R,cacheLocation:N,version:$}=this;let j;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${N}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:R,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((R=>{if(R.code!=="ENOENT"){E.warn(`Restoring pack failed from ${N}${this._extension}: ${R}`);E.debug(R.stack)}else{E.debug(`No pack exists at ${N}${this._extension}: ${R}`)}return undefined})).then((R=>{E.timeEnd("restore cache container");if(!R)return undefined;if(!(R instanceof PackContainer)){E.warn(`Restored pack from ${N}${this._extension}, but contained content is unexpected.`,R);return undefined}if(R.version!==$){E.log(`Restored pack from ${N}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise((($,q)=>{this.fileSystemInfo.checkSnapshotValid(R.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return $(false)}if(!G){E.log(`Restored pack from ${N}${this._extension}, but build dependencies have changed.`);return $(false)}j=R.buildSnapshot;return $(true)}))})),new Promise((($,j)=>{this.fileSystemInfo.checkSnapshotValid(R.resolveBuildDependenciesSnapshot,((j,le)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(le){ie=R.resolveBuildDependenciesSnapshot;q=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(R.resolveResults,((j,q)=>{if(j){E.log(`Restored pack from ${N}${this._extension}, but resolving of build dependencies errored: ${j}.`);E.debug(j.stack);return $(false)}if(q){G=R.buildDependencies;ae=R.resolveResults;return $(true)}E.log(`Restored pack from ${N}${this._extension}, but build dependencies resolve to different locations.`);return $(false)}))}))}))]).catch((R=>{E.timeEnd("check build dependencies");throw R})).then((([N,$])=>{E.timeEnd("check build dependencies");if(N&&$){E.time("restore cache content metadata");const N=R.data();E.timeEnd("restore cache content metadata");return N}return undefined}))})).then((R=>{if(R){R.maxAge=this.maxAge;this.buildSnapshot=j;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return R}return new Pack(E,this.maxAge)})).catch((R=>{this.logger.warn(`Restoring pack from ${N}${this._extension} failed: ${R}`);this.logger.debug(R.stack);return new Pack(E,this.maxAge)}))}store(E,R,N){return this._getPack().then(($=>{$.set(E,R===null?null:R.toString(),N)}))}restore(E,R){return this._getPack().then((N=>N.get(E,R===null?null:R.toString()))).catch((R=>{if(R&&R.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${R}`);this.logger.debug(R.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const R=j.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let N;const $=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){$.add(E)}}if($.size>0||!this.buildSnapshot){if(R)R(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from($).join(", ")})`);N=new Promise(((E,N)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,$,(($,j)=>{this.logger.timeEnd("resolve build dependencies");if($)return N($);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:le}=j;if(this.resolveResults){for(const[E,R]of ae){this.resolveResults.set(E,R)}}else{this.resolveResults=ae}if(R){R(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,le.files,le.directories,le.missing,this.snapshot.resolveBuildDependencies,(($,j)=>{if($){this.logger.timeEnd("snapshot build dependencies");return N($)}if(!j){this.logger.timeEnd("snapshot build dependencies");return N(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,j)}else{this.resolveBuildDependenciesSnapshot=j}if(R){R(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((R,$)=>{this.logger.timeEnd("snapshot build dependencies");if(R)return N(R);if(!$){return N(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,$)}else{this.buildSnapshot=$}E()}))}))}))}))}else{N=Promise.resolve()}return N.then((()=>{if(R)R(.8,"serialize pack");this.logger.time(`store pack`);const N=new Set(this.buildDependencies);for(const E of $){N.add(E)}const j=new PackContainer(E,this.version,this.buildSnapshot,N,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize(j,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of $){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const R=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,R.count,Math.round(R.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,R,N)=>{"use strict";const $=N(83379);const j=N(56202);class CacheEntry{constructor(E,R){this.result=E;this.snapshot=R}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}j(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,R)=>{if(E instanceof $){E.addAll(R)}else{for(const N of R){E.add(N)}}};const objectToString=(E,R)=>{let N="";for(const $ in E){if(R&&$==="context")continue;const j=E[$];if(typeof j==="object"&&j!==null){N+=`|${$}=[${objectToString(j,false)}|]`}else{N+=`|${$}=|${j}`}}return N};class ResolverCachePlugin{apply(E){const R=E.getCache("ResolverCachePlugin");let N;let j;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{j=E.options.snapshot.resolve;N=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const R=E.getLogger("webpack.ResolverCachePlugin");R.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,R,G,ie,ae)=>{q++;const le={_ResolverCachePluginCacheMiss:true,...ie};const _e={...G,stack:new Set,missingDependencies:new $,fileDependencies:new $,contextDependencies:new $};const propagate=E=>{if(G[E]){addAllToSet(G[E],_e[E])}};const Ee=Date.now();R.doResolve(R.hooks.resolve,le,"Cache miss",_e,((R,$)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(R)return ae(R);const q=_e.fileDependencies;const G=_e.contextDependencies;const ie=_e.missingDependencies;N.createSnapshot(Ee,q,G,ie,j,((R,N)=>{if(R)return ae(R);if(!N){if($)return ae(null,$);return ae()}E.store(new CacheEntry($,N),(E=>{if(E)return ae(E);if($)return ae(null,$);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,$){const j=new Map;$.tap("ResolverCachePlugin",(($,q,ae)=>{if(q.cache!==true)return;const le=objectToString(ae,false);const _e=q.cacheWithContext!==undefined?q.cacheWithContext:false;$.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,Ee)=>{if(q._ResolverCachePluginCacheMiss||!N){return Ee()}const we=`${E}${le}${objectToString(q,!_e)}`;const Ie=j.get(we);if(Ie){Ie.push(Ee);return}const Me=R.getItemCache(we,null);let Te;const done=(E,R)=>{if(Te===undefined){Ee(E,R);Te=false}else{for(const N of Te){N(E,R)}j.delete(we);Te=false}};const processCacheResult=(E,R)=>{if(E)return done(E);if(R){const{snapshot:E,result:j}=R;N.checkSnapshotValid(E,((R,N)=>{if(R||!N){ie++;return doRealResolve(Me,$,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,j)}))}else{doRealResolve(Me,$,ae,q,done)}};Me.get(processCacheResult);if(Te===undefined){Te=[Ee];j.set(we,Te)}}))}));return $}})}}E.exports=ResolverCachePlugin},77034:(E,R,N)=>{"use strict";const $=N(35891);class LazyHashedEtag{constructor(E,R="md4"){this._obj=E;this._hash=undefined;this._hashFunction=R}toString(){if(this._hash===undefined){const E=$(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const j=new Map;const q=new WeakMap;const getter=(E,R="md4")=>{let N;if(typeof R==="string"){N=j.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);j.set(R,N);return $}}else{N=q.get(R);if(N===undefined){const $=new LazyHashedEtag(E,R);N=new WeakMap;N.set(E,$);q.set(R,N);return $}}const $=N.get(E);if($!==undefined)return $;const G=new LazyHashedEtag(E,R);N.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,R){this.a=E;this.b=R}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const R=new WeakMap;const N=new WeakMap;const mergeEtags=(E,$)=>{if(typeof E==="string"){if(typeof $==="string"){return`${E}|${$}`}else{const R=$;$=E;E=R}}else{if(typeof $!=="string"){let N=R.get(E);if(N===undefined){R.set(E,N=new WeakMap)}const j=N.get($);if(j===undefined){const R=new MergedEtag(E,$);N.set($,R);return R}else{return j}}}let j=N.get(E);if(j===undefined){N.set(E,j=new Map)}const q=j.get($);if(q===undefined){const R=new MergedEtag(E,$);j.set($,R);return R}else{return q}};E.exports=mergeEtags},61634:(E,R,N)=>{"use strict";const $=N(71017);const j=N(46312);const getArguments=(E=j)=>{const R={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=R=>{const N=R.split("/");let $=E;for(let E=1;E{for(const{schema:R}of E){if(R.cli&&R.cli.helper)continue;if(R.description)return R.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const N=E[0].path;const $=pathToArgumentName(`${N}.reset`);const j=getDescription(E);R[$]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${N}' configuration. ${j}`,path:N}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,N)=>{const $=schemaToArgumentConfig(E[0].schema);if(!$)return 0;const j=pathToArgumentName(E[0].path);const q={...$,multiple:N,description:getDescription(E),path:E[0].path};if(!R[j]){R[j]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(R[j].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(R[j].configs.some((E=>E.type===q.type&&E.multiple!==N))){if(N){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}R[j].configs.push(q);return 1};const traverse=(E,R="",N=[],$=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const j=N.filter((({schema:R})=>R===E));if(j.length>=2||j.some((({path:E})=>E===R))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:R},...N];let G=0;G+=addFlag(q,!!$);if(E.type==="object"){if(E.properties){for(const N of Object.keys(E.properties)){G+=traverse(E.properties[N],R?`${R}.${N}`:N,q,$)}}return G}if(E.type==="array"){if($){return 0}if(Array.isArray(E.items)){let N=0;for(const $ of E.items){G+=traverse($,`${R}.${N}`,q,R)}return G}G+=traverse(E.items,`${R}[]`,q,R);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let N=0;N{if(!E)return R;if(!R)return E;if(E.includes(R))return E;return`${E} ${R}`}),undefined);N.simpleType=N.configs.reduce(((E,R)=>{let N="string";switch(R.type){case"number":N="number";break;case"reset":case"boolean":N="boolean";break;case"enum":if(R.values.every((E=>typeof E==="boolean")))N="boolean";if(R.values.every((E=>typeof E==="number")))N="number";break}if(E===undefined)return N;return E===N?E:"string"}),undefined);N.multiple=N.configs.some((E=>E.multiple))}return R};const q=new WeakMap;const getObjectAndProperty=(E,R,N=0)=>{if(!R)return{value:E};const $=R.split(".");let j=$.pop();let G=E;let ie=0;for(const E of $){const R=E.endsWith("[]");const j=R?E.slice(0,-2):E;let ae=G[j];if(R){if(ae===undefined){ae={};G[j]=[...Array.from({length:N}),ae];q.set(G[j],N+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:$.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=N){ae.push(undefined);E++}q.set(ae,E);const R=ae.length-E+N;if(ae[R]===undefined){ae[R]={}}else if(ae[R]===null||typeof ae[R]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}ae=ae[R]}}else{if(ae===undefined){ae=G[j]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:$.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[j];if(j.endsWith("[]")){const E=j.slice(0,-2);const $=G[E];if($===undefined){G[E]=[...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N,value:undefined}}else if(!Array.isArray($)){G[E]=[$,...Array.from({length:N}),undefined];q.set(G[E],N+1);return{object:G[E],property:N+1,value:undefined}}else{let E=q.get($)||0;while(E<=N){$.push(undefined);E++}q.set($,E);const j=$.length-E+N;if($[j]===undefined){$[j]={}}else if($[j]===null||typeof $[j]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:R}}}return{object:$,property:j,value:$[j]}}}return{object:G,property:j,value:ae}};const setValue=(E,R,N,$)=>{const{problem:j,object:q,property:G}=getObjectAndProperty(E,R,$);if(j)return j;q[G]=N;return null};const processArgumentConfig=(E,R,N,$)=>{if($!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const j=parseValueForArgumentConfig(E,N);if(j===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(R,E.path,j,$);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,R)=>{switch(E.type){case"string":if(typeof R==="string"){return R}break;case"path":if(typeof R==="string"){return $.resolve(R)}break;case"number":if(typeof R==="number")return R;if(typeof R==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+R;if(!isNaN(E))return E}break;case"boolean":if(typeof R==="boolean")return R;if(R==="true")return true;if(R==="false")return false;break;case"RegExp":if(R instanceof RegExp)return R;if(typeof R==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(R);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(R))return R;for(const N of E.values){if(`${N}`===R)return N}break;case"reset":if(R===true)return[];break}};const processArguments=(E,R,N)=>{const $=[];for(const j of Object.keys(N)){const q=E[j];if(!q){$.push({type:"unknown-argument",path:"",argument:j});continue}const processValue=(E,N)=>{const G=[];for(const $ of q.configs){const q=processArgumentConfig($,R,E,N);if(!q){return}G.push({...q,argument:j,value:E,index:N})}$.push(...G)};let G=N[j];if(Array.isArray(G)){for(let E=0;E{"use strict";const $=N(69328);const j=N(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,R)=>{if(!E){return{}}if(j.isAbsolute(E)){const[,R,N]=q.exec(E)||[];return{configPath:R,env:N}}const N=$.findConfig(R);if(N&&Object.keys(N).includes(E)){return{env:E}}return{query:E}};const load=(E,R)=>{const{configPath:N,env:j,query:q}=parse(E,R);const G=q?q:N?$.loadConfig({config:N,env:j}):$.loadConfig({path:R,env:j});if(!G)return null;return $(G)};const resolve=E=>{const rawChecker=R=>E.every((E=>{const[N,$]=E.split(" ");if(!N)return false;const j=R[N];if(!j)return false;const[q,G]=$==="TP"?[Infinity,Infinity]:$.split(".");if(typeof j==="number"){return+q>=j}return j[0]===+q?+G>=j[1]:+q>j[0]}));const R=E.some((E=>/^node /.test(E)));const N=E.some((E=>/^(?!node)/.test(E)));const $=!N?false:R?null:true;const j=!R?false:N?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!R,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:$,electron:false,node:j,nwjs:false,web:$,webworker:false,document:$,fetchWasm:$,global:j,importScripts:false,importScriptsInWorker:true,nodeBuiltins:j,require:j}};E.exports={resolve:resolve,load:load}},54411:(E,R,N)=>{"use strict";const $=N(57147);const j=N(71017);const q=N(58159);const{cleverMerge:G}=N(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:le}=N(71322);const _e=/[\\/]node_modules[\\/]/i;const D=(E,R,N)=>{if(E[R]===undefined){E[R]=N}};const F=(E,R,N)=>{if(E[R]===undefined){E[R]=N()}};const A=(E,R,N)=>{const $=E[R];if($===undefined){E[R]=N()}else if(Array.isArray($)){let j=undefined;for(let q=0;q<$.length;q++){const G=$[q];if(G==="..."){if(j===undefined){j=$.slice(0,q);E[R]=j}const G=N();if(G!==undefined){for(const E of G){j.push(E)}}}else if(j!==undefined){j.push(G)}}}};const applyWebpackOptionsBaseDefaults=E=>{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>le(E.context)));const{mode:R,name:$,target:j}=E;let q=j===false?false:typeof j==="string"?ae(j,E.context):ie(j,E.context);const _e=R==="development";const Ee=R==="production"||!R;if(typeof E.entry!=="function"){for(const R of Object.keys(E.entry)){F(E.entry[R],"import",(()=>["./src"]))}}F(E,"devtool",(()=>_e?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:Ee,development:_e});const we=E.experiments.futureDefaults;F(E,"cache",(()=>_e?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:$||"default",mode:R||"production",development:_e,cacheUnaffected:E.experiments.cacheUnaffected});const Ie=!!E.cache;applySnapshotDefaults(E.snapshot,{production:Ee,futureDefaults:we});applyModuleDefaults(E.module,{cache:Ie,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:j===undefined||typeof j==="string"&&j.startsWith("browserslist")||Array.isArray(j)&&j.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:_e,entry:E.entry,module:E.module,futureDefaults:we});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const R=N(46312).definitions.ExternalsType["enum"];return E.output.library&&R.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>Ee&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:Ee});applyOptimizationDefaults(E.optimization,{development:_e,production:Ee,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Ie,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Ie}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:R,development:N})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",R);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:R,mode:N,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>R+"-"+N));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let R=E;for(;;){try{if($.statSync(j.join(R,"package.json")).isFile())break}catch(E){}const E=j.dirname(R);if(R===E){R=undefined;break}R=E}if(!R){return j.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return j.resolve(R,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return j.resolve(R,".yarn/.cache/webpack")}else{return j.resolve(R,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>j.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[j.resolve(__dirname,"..")+j.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:R,futureDefaults:N})=>{if(N){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[j.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>R?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>R?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:R,syncWebAssembly:N,asyncWebAssembly:$})=>{if(R){D(E,"unsafeCache",(E=>{const R=E.nameForCondition();return R&&_e.test(R)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const R={type:"javascript/dynamic"};const j=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...R},{test:/\.js$/i,descriptionData:{type:"commonjs"},...R},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if($){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}else if(N){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};j.push({test:/\.wasm$/i,...E});j.push({mimetype:"application/wasm",...E})}j.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return j}))};const applyOutputDefaults=(E,{context:R,targetProperties:N,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:le,module:_e,futureDefaults:Ee})=>{const getLibraryName=E=>{const R=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(R)){return R.join(".")}else if(typeof R==="object"){return getLibraryName(R.root)}else if(typeof R==="string"){return R}return""};F(E,"uniqueName",(()=>{const N=getLibraryName(E.library);if(N)return N;const q=j.resolve(R,"package.json");try{const E=JSON.parse($.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const R=E.filename;if(typeof R!=="function"){const E=R.includes("[name]");const N=R.includes("[id]");const $=R.includes("[chunkhash]");const j=R.includes("[contenthash]");if($||j||E||N)return R;return R.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(N){if(N.global)return"global";if(N.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(N){const R=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(N.dynamicImport)return"module";if(N.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+R)}else{if(N.document)return"array-push";if(N.require)return"commonjs";if(N.nodeBuiltins)return"commonjs";if(N.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+R)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.document)return"jsonp";if(N.importScripts)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImport)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.document===null||N.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(N){switch(E.chunkFormat){case"array-push":if(N.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(N.require)return"require";if(N.nodeBuiltins)return"async-node";break;case"module":if(N.dynamicImportInWorker)return"import";break}if(N.require===null||N.nodeBuiltins===null||N.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(N){if(N.fetchWasm)return"fetch";if(N.nodeBuiltins)return E.module?"async-node-module":"async-node";if(N.nodeBuiltins===null||N.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>j.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",N&&(N.document||N.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",Ee?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>N&&optimistic(N.arrowFunction)));F(E.environment,"const",(()=>N&&optimistic(N.const)));F(E.environment,"destructuring",(()=>N&&optimistic(N.destructuring)));F(E.environment,"forOf",(()=>N&&optimistic(N.forOf)));F(E.environment,"bigIntLiteral",(()=>N&&N.bigIntLiteral));F(E.environment,"dynamicImport",(()=>N&&N.dynamicImport));F(E.environment,"module",(()=>N&&N.module));const{trustedTypes:we}=E;if(we){F(we,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const R of Object.keys(le)){E(le[R])}};A(E,"enabledLibraryTypes",(()=>{const R=[];if(E.library){R.push(E.library.type)}forEachEntry((E=>{if(E.library){R.push(E.library.type)}}));return R}));A(E,"enabledChunkLoadingTypes",(()=>{const R=new Set;if(E.chunkLoading){R.add(E.chunkLoading)}if(E.workerChunkLoading){R.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){R.add(E.chunkLoading)}}));return Array.from(R)}));A(E,"enabledWasmLoadingTypes",(()=>{const R=new Set;if(E.wasmLoading){R.add(E.wasmLoading)}if(E.workerWasmLoading){R.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){R.add(E.wasmLoading)}}));return Array.from(R)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:R,buildHttp:N})=>{D(E,"web",!N&&R&&R.web);D(E,"node",R&&R.node);D(E,"nwjs",R&&R.nwjs);D(E,"electron",R&&R.electron);D(E,"electronMain",R&&R.electron&&R.electronMain);D(E,"electronPreload",R&&R.electron&&R.electronPreload);D(E,"electronRenderer",R&&R.electron&&R.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:R})=>{F(E,"target",(()=>{if(R){if(R.electron){if(R.electronMain)return"electron-main";if(R.electronPreload)return"electron-preload";if(R.electronRenderer)return"electron-renderer";return"electron"}if(R.nwjs)return"nwjs";if(R.node)return"node";if(R.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:R,targetProperties:N})=>{if(E===false)return;F(E,"global",(()=>{if(N&&N.global)return false;return R?"warn":true}));F(E,"__filename",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(N&&N.node)return"eval-only";return R?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:R})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>R?"warning":false))};const applyOptimizationDefaults=(E,{production:R,development:$,records:j})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",R);F(E,"moduleIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(R)return"deterministic";if($)return"named";return"natural"}));F(E,"sideEffects",(()=>R?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",R);D(E,"innerGraph",R);D(E,"mangleExports",R);D(E,"concatenateModules",R);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!R);D(E,"checkWasmTypes",R);D(E,"mangleWasmImports",false);D(E,"portableRecords",j);D(E,"realContentHash",R);D(E,"minimize",R);A(E,"minimizer",(()=>[{apply:E=>{const R=N(96013);new R({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(R)return"production";if($)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",R);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>R?2e4:1e4));F(q,"minRemainingSize",(()=>$?0:undefined));F(q,"enforceSizeThreshold",(()=>R?5e4:3e4));F(q,"maxAsyncRequests",(()=>R?30:Infinity));F(q,"maxInitialRequests",(()=>R?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:N}=q;F(N,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(N,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:_e,priority:-10})))}};const getResolveDefaults=({cache:E,context:R,targetProperties:N,mode:$})=>{const j=["webpack"];j.push($==="development"?"development":"production");if(N){if(N.webworker)j.push("worker");if(N.node)j.push("node");if(N.web)j.push("browser");if(N.electron)j.push("electron");if(N.nwjs)j.push("nwjs")}const q=[".js",".json",".wasm"];const G=N;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:j,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[R],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const R={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return R};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const R=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",R);D(E,"appendOnly",!R)};R.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;R.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,R,N)=>{"use strict";const $=N(73837);const j=$.deprecate(((E,R)=>{if(R!==undefined&&!E===!R){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,R)=>E===undefined?R({}):R(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,R)=>E===undefined?undefined:R(E);const nestedArray=(E,R)=>Array.isArray(E)?R(E):R([]);const optionalNestedArray=(E,R)=>Array.isArray(E)?R(E):undefined;const keyedNestedConfig=(E,R,N)=>{const $=E===undefined?{}:Object.keys(E).reduce((($,j)=>($[j]=(N&&j in N?N[j]:R)(E[j]),$)),{});if(N){for(const E of Object.keys(N)){if(!(E in $)){$[E]=N[E]({})}}}return $};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const R=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:N})=>{if(!R.message&&!R.module&&!R.file)return false;if(R.message&&!R.message.test(E.message)){return false}if(R.module&&(!E.module||!R.module.test(E.module.readableIdentifier(N)))){return false}if(R.file&&(!E.file||!R.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:R=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...R})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?j(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:R}=E;const N=R;const $=typeof R==="object"&&R&&!Array.isArray(R)&&"type"in R?R:N||E.libraryTarget?{name:N}:undefined;const j={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:$&&{type:E.libraryTarget!==undefined?E.libraryTarget:$.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:$.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:$.export,name:$.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:$.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return j})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const R={};for(const N of Object.keys(E)){const $=E[N];if(typeof $==="string"){R[N]={import:[$]}}else if(Array.isArray($)){R[N]={import:$}}else{R[N]={import:$.import&&(Array.isArray($.import)?$.import:[$.import]),filename:$.filename,layer:$.layer,runtime:$.runtime,publicPath:$.publicPath,chunkLoading:$.chunkLoading,wasmLoading:$.wasmLoading,dependOn:$.dependOn&&(Array.isArray($.dependOn)?$.dependOn:[$.dependOn]),library:$.library}}}return R};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:R}=E;return{name:typeof R==="function"?R:()=>R}};R.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(27509)));const getDefaultTarget=E=>{const R=j().load(null,E);return R?"browserslist":"web"};const versionDependent=(E,R)=>{if(!E)return()=>undefined;E=+E;R=R?+R:0;return(N,$=0)=>E>N||E===N&&R>=$};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,R)=>{const N=j();const $=N.load(E?E.trim():null,R);if(!$){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return N.resolve($)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,R,N)=>{const $=versionDependent(R,N);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:$(12),const:$(6),arrowFunction:$(6),forOf:$(5),destructuring:$(6),bigIntLiteral:$(10,4),dynamicImport:$(12,17),dynamicImportInWorker:R?false:undefined,module:$(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,R,N)=>{const $=versionDependent(E,R);return{node:true,electron:true,web:N!=="main",webworker:false,browser:false,nwjs:false,electronMain:N==="main",electronPreload:N==="preload",electronRenderer:N==="renderer",global:true,nodeBuiltins:true,require:true,document:N==="renderer",fetchWasm:N==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:$(5),const:$(1,1),arrowFunction:$(1,1),forOf:$(0,36),destructuring:$(1,1),bigIntLiteral:$(4),dynamicImport:$(11),dynamicImportInWorker:E?false:undefined,module:$(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,R)=>{const N=versionDependent(E,R);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:N(0,43),const:N(0,15),arrowFunction:N(0,15),forOf:N(0,13),destructuring:N(0,15),bigIntLiteral:N(0,32),dynamicImport:N(0,43),dynamicImportInWorker:E?false:undefined,module:N(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let R=+E;if(R<1e3)R=R+2009;return{const:R>=2015,arrowFunction:R>=2015,forOf:R>=2015,destructuring:R>=2015,module:R>=2015,globalThis:R>=2020,bigIntLiteral:R>=2020,dynamicImport:R>=2020,dynamicImportInWorker:R>=2020}}]];const getTargetProperties=(E,R)=>{for(const[,,N,$]of q){const j=N.exec(E);if(j){const[,...E]=j;const N=$(...E,R);if(N)return N}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,R])=>`* ${E}: ${R}`)).join("\n")}`)};const mergeTargetProperties=E=>{const R=new Set;for(const N of E){for(const E of Object.keys(N)){R.add(E)}}const N={};for(const $ of R){let R=false;let j=false;for(const N of E){const E=N[$];switch(E){case true:R=true;break;case false:j=true;break}}if(R||j)N[$]=j&&R?null:R?true:false}return N};const getTargetsProperties=(E,R)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,R))));R.getDefaultTarget=getDefaultTarget;R.getTargetProperties=getTargetProperties;R.getTargetsProperties=getTargetsProperties},76041:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ContainerEntryDependency extends ${constructor(E,R,N){super();this.name=E;this.exposes=R;this.shareScope=N}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}j(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,R,N)=>{"use strict";const{OriginalSource:$,RawSource:j}=N(48135);const q=N(98221);const G=N(53453);const ie=N(76150);const ae=N(58159);const le=N(56202);const _e=N(4523);const Ee=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,R,N){super("javascript/dynamic",null);this._name=E;this._exposes=R;this._shareScope=N}getSourceTypes(){return Ee}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,R){return R(null,!this.buildMeta)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,R]of this._exposes){const N=new q({name:R.name},{name:E},R.import[R.import.length-1]);let $=0;for(const j of R.import){const R=new _e(E,j);R.loc={name:E,index:$++};N.addDependency(R)}this.addBlock(N)}j()}codeGeneration({moduleGraph:E,chunkGraph:R,runtimeTemplate:N}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const le=[];for(const $ of this.blocks){const{dependencies:j}=$;const q=j.map((R=>{const N=R;return{name:N.exposedName,module:E.getModule(N),request:N.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=N.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${N.blockPromise({block:$,message:"",chunkGraph:R,runtimeRequirements:G})}.then(${N.returningFunction(N.returningFunction(`(${q.map((({module:E,request:$})=>N.moduleRaw({module:E,chunkGraph:R,request:$,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}le.push(`${JSON.stringify(q[0].name)}: ${N.basicFunction("",ie)}`)}const _e=ae.asString([`var moduleMap = {`,ae.indent(le.join(",\n")),"};",`var get = ${N.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${N.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${N.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${N.returningFunction("get")},`,`init: ${N.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new $(_e,"webpack/container-entry"):new j(_e));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:R}=E;R(this._name);R(this._exposes);R(this._shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ContainerEntryModule(R(),R(),R());N.deserialize(E);return N}}le(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,R,N)=>{"use strict";const $=N(40674);const j=N(89591);E.exports=class ContainerEntryModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.name,N.exposes,N.shareScope)})}}},4523:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ContainerExposedDependency extends ${constructor(E,R){super(R);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}j(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,R,N)=>{"use strict";const $=N(35817);const j=N(76041);const q=N(76912);const G=N(4523);const{parseOptions:ie}=N(97264);const ae=$(N(28633),(()=>N(93944)),{name:"Container Plugin",baseDataPath:"options"});const le="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:R,exposes:N,shareScope:$,filename:ie,library:ae,runtime:_e}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(le,((E,q)=>{const G=new j(R,N,$);G.loc={name:R};E.addEntry(E.options.context,G,{name:R,filename:ie,runtime:_e,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(le,((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,new q);E.dependencyFactories.set(G,R)}))}}E.exports=ContainerPlugin},68839:(E,R,N)=>{"use strict";const $=N(61050);const j=N(76150);const q=N(35817);const G=N(27426);const ie=N(55525);const ae=N(68005);const le=N(68679);const _e=N(31122);const Ee=N(44742);const{parseOptions:we}=N(97264);const Ie=q(N(12e3),(()=>N(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const Me="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Ie(E);this._remoteType=E.remoteType;this._remotes=we(E.remotes,(R=>({external:Array.isArray(R)?R:[R],shareScope:E.shareScope||"default"})),(R=>({external:Array.isArray(R.external)?R.external:[R.external],shareScope:R.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:R,_remoteType:N}=this;const q={};for(const[E,N]of R){let R=0;for(const $ of N.external){if($.startsWith("internal "))continue;q[`webpack/container/reference/${E}${R?`/fallback-${R}`:""}`]=$;R++}}new $(N,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Ee,N);E.dependencyFactories.set(ie,N);E.dependencyFactories.set(G,new ae);N.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[N,$]of R){if(E.request.startsWith(`${N}`)&&(E.request.length===N.length||E.request.charCodeAt(N.length)===Me)){return new le(E.request,$.external.map(((E,R)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${N}${R?`/fallback-${R}`:""}`)),`.${E.request.slice(N.length)}`,$.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ContainerReferencePlugin",((R,N)=>{N.add(j.module);N.add(j.moduleFactoriesAddOnly);N.add(j.hasOwnProperty);N.add(j.initializeSharing);N.add(j.shareScopeMap);E.addRuntimeModule(R,new _e)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class FallbackDependency extends ${constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackDependency(R());N.deserialize(E);return N}}j(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class FallbackItemDependency extends ${constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}j(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(58159);const ie=N(56202);const ae=N(55525);const le=new Set(["javascript"]);const _e=new Set([q.module]);class FallbackModule extends j{constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:R}){return R.getNumberOfEntryModules(E)>0}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));j()}size(E){return this.requests.length*5+42}getSourceTypes(){return le}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=this.dependencies.map((E=>N.getModuleId(R.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify(j)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new $(q));return{sources:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.requests);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new FallbackModule(R());N.deserialize(E);return N}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,R,N)=>{"use strict";const $=N(40674);const j=N(13386);E.exports=class FallbackModuleFactory extends ${create({dependencies:[E]},R){const N=E;R(null,{module:new j(N.requests)})}}},8019:(E,R,N)=>{"use strict";const $=N(92483);const j=N(16471);const q=N(35817);const G=N(10419);const ie=N(68839);const ae=q(N(43329),(()=>N(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:R}=this;const N=R.library||{type:"var",name:R.name};const q=R.remoteType||(R.library&&$(R.library.type)?R.library.type:"script");if(N&&!E.options.output.enabledLibraryTypes.includes(N.type)){E.options.output.enabledLibraryTypes.push(N.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(R.exposes&&(Array.isArray(R.exposes)?R.exposes.length>0:Object.keys(R.exposes).length>0)){new G({name:R.name,library:N,filename:R.filename,runtime:R.runtime,exposes:R.exposes}).apply(E)}if(R.remotes&&(Array.isArray(R.remotes)?R.remotes.length>0:Object.keys(R.remotes).length>0)){new ie({remoteType:q,remotes:R.remotes}).apply(E)}if(R.shared){new j({shared:R.shared,shareScope:R.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(27426);const ae=N(44742);const le=new Set(["remote","share-init"]);const _e=new Set([q.module]);class RemoteModule extends j{constructor(E,R,N,$){super("remote-module");this.request=E;this.externalRequests=R;this.internalRequest=N;this.shareScope=$;this._identifier=`remote (${$}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,j){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}j()}size(E){return 6}getSourceTypes(){return le}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const j=R.getModule(this.dependencies[0]);const q=j&&N.getModuleId(j);const G=new Map;G.set("remote",new $(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:_e}}serialize(E){const{write:R}=E;R(this.request);R(this.externalRequests);R(this.internalRequest);R(this.shareScope);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new RemoteModule(R(),R(),R(),R());N.deserialize(E);return N}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class RemoteRuntimeModule extends j{constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,moduleGraph:j}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"remote");if(!N)continue;const $=G[E.id]=[];for(const E of N){const N=E;const q=N.internalRequest;const G=R.getModuleId(N);const ae=N.shareScope;const le=N.dependencies[0];const _e=j.getModule(le);const Ee=_e&&R.getModuleId(_e);$.push(G);ie[G]=[ae,q,Ee]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${$.ensureChunkHandlers}.remotes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`var getScope = ${$.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${N.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${N.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${N.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${N.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${N.returningFunction(`external ? handleFunction(${$.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${N.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${N.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${N.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class RemoteToExternalDependency extends ${constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}j(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,R)=>{"use strict";const process=(E,R,N,$)=>{const array=E=>{for(const N of E){if(typeof N==="string"){$(N,R(N,N))}else if(N&&typeof N==="object"){object(N)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[j,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){$(j,R(q,j))}else{$(j,N(q,j))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,R,N)=>{const $=[];process(E,R,N,((E,R)=>{$.push([E,R])}));return $};const scope=(E,R)=>{const N={};process(R,(E=>E),(E=>E),((R,$)=>{N[R.startsWith("./")?`${E}${R.slice(1)}`:`${E}/${R}`]=$}));return N};R.parseOptions=parseOptions;R.scope=scope},26802:(E,R,N)=>{"use strict";const{Tracer:$}=N(25954);const j=N(35817);const{dirname:q,mkdirpSync:G}=N(95396);const ie=j(N(2282),(()=>N(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=N(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,R){if(this.hasSession()){return new Promise(((N,$)=>this.session.post(E,R,((E,R)=>{if(E!==null){$(E)}else{N(R)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const R=process.hrtime();const N=R[0]*1e6+Math.round(R[1]/1e3);if(E.startTimeN){const R=E.endTime-E.startTime;const $=N-this._startTime;const j=Math.max(0,$-R);E.startTime=this._startTime+j/2;E.endTime=N-j/2}return{profile:E}}))}}const createTrace=(E,R)=>{const N=new $({noStream:true});const j=new Profiler(ae);if(/\/|\\/.test(R)){const N=q(E,R);G(E,N)}const ie=E.createWriteStream(R);let le=0;N.pipe(ie);N.instantEvent({name:"TracingStartedInPage",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});N.instantEvent({name:"TracingStartedInBrowser",id:++le,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:N,counter:le,profiler:j,end:E=>{ie.on("close",(()=>{E()}));N.push(null)}}};const le="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const R=createTrace(E.intermediateFileSystem,this.outputPath);R.profiler.startProfiling();Object.keys(E.hooks).forEach((N=>{E.hooks[N].intercept(makeInterceptorFor("Compiler",R)(N))}));Object.keys(E.resolverFactory.hooks).forEach((N=>{E.resolverFactory.hooks[N].intercept(makeInterceptorFor("Resolver",R)(N))}));E.hooks.compilation.tap(le,((E,{normalModuleFactory:N,contextModuleFactory:$})=>{interceptAllHooksFor(E,R,"Compilation");interceptAllHooksFor(N,R,"Normal Module Factory");interceptAllHooksFor($,R,"Context Module Factory");interceptAllParserHooks(N,R);interceptAllJavascriptModulesPluginHooks(E,R)}));E.hooks.done.tapAsync({name:le,stage:Infinity},((E,N)=>{R.profiler.stopProfiling().then((E=>{if(E===undefined){R.profiler.destroy();R.trace.flush();R.end(N);return}const $=E.profile.startTime;const j=E.profile.endTime;R.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++R.counter,cat:["toplevel"],ts:$,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});R.trace.completeEvent({name:"EvaluateScript",id:++R.counter,cat:["devtools.timeline"],ts:$,dur:j-$,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});R.trace.instantEvent({name:"CpuProfile",id:++R.counter,cat:["disabled-by-default-devtools.timeline"],ts:j,args:{data:{cpuProfile:E.profile}}});R.profiler.destroy();R.trace.flush();R.end(N)}))}))}}const interceptAllHooksFor=(E,R,N)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach(($=>{const j=E.hooks[$];if(!j._fakeHook){j.intercept(makeInterceptorFor(N,R)($))}}))}};const interceptAllParserHooks=(E,R)=>{const N=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];N.forEach((N=>{E.hooks.parser.for(N).tap("ProfilingPlugin",((E,N)=>{interceptAllHooksFor(E,R,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,R)=>{interceptAllHooksFor({hooks:N(18161).getCompilationHooks(E)},R,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,R)=>E=>({register:({name:N,type:$,context:j,fn:q})=>{const G=makeNewProfiledTapFn(E,R,{name:N,type:$,fn:q});return{name:N,type:$,context:j,fn:G}}});const makeNewProfiledTapFn=(E,R,{name:N,type:$,fn:j})=>{const q=["blink.user_timing"];switch($){case"promise":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=j(...E);return G.then((E=>{R.trace.end({name:N,id:$,cat:q});return E}))};case"async":return(...E)=>{const $=++R.counter;R.trace.begin({name:N,id:$,cat:q});const G=E.pop();j(...E,((...E)=>{R.trace.end({name:N,id:$,cat:q});G(...E)}))};case"sync":return(...E)=>{const $=++R.counter;if(N===le){return j(...E)}R.trace.begin({name:N,id:$,cat:q});let G;try{G=j(...E)}catch(E){R.trace.end({name:N,id:$,cat:q});throw E}R.trace.end({name:N,id:$,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},o:{definition:"",content:"!(module.exports = #)",requests:[$.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.require,$.exports,$.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[$.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[$.exports,$.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[$.require,$.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[$.require,$.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,R,N,$,j){super();this.range=E;this.arrayRange=R;this.functionRange=N;this.objectRange=$;this.namedModule=j;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:R}=E;R(this.range);R(this.arrayRange);R(this.functionRange);R(this.objectRange);R(this.namedModule);R(this.localModule);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.arrayRange=R();this.functionRange=R();this.objectRange=R();this.namedModule=R();this.localModule=R();super.deserialize(E)}}j(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const $=E;const j=this.branch($);const{definition:q,content:ie,requests:ae}=G[j];for(const E of ae){N.add(E)}this.replace($,R,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const R=this.localModuleVar(E)?"l":"";const N=E.arrayRange?"a":"";const $=E.objectRange?"o":"";const j=E.functionRange?"f":"";return R+N+$+j}replace(E,R,N,$){const j=this.localModuleVar(E);if(j){$=$.replace(/XXX/g,j.replace(/\$/g,"$$$$"));N=N.replace(/XXX/g,j.replace(/\$/g,"$$$$"))}if(E.namedModule){$=$.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=$.split("#");if(N)R.insert(0,N);let G=E.range[0];if(E.arrayRange){R.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){R.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){R.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}R.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,R,N)=>{"use strict";const $=N(76150);const j=N(46960);const q=N(95715);const G=N(38145);const ie=N(29022);const ae=N(66298);const le=N(95601);const _e=N(28140);const Ee=N(14229);const{addLocalModule:we,getLocalModule:Ie}=N(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,R,N,$,j){if(N.isArray()){N.items.forEach(((N,q)=>{if(N.isString()&&["require","module","exports"].includes(N.string))$[q]=N.string;const G=this.processItem(E,R,N,j);if(G===undefined){this.processContext(E,R,N)}}));return true}else if(N.isConstArray()){const j=[];N.array.forEach(((N,q)=>{let G;let ie;if(N==="require"){$[q]=N;G="__webpack_require__"}else if(["exports","module"].includes(N)){$[q]=N;G=N}else if(ie=Ie(E.state,N)){ie.flagUsed();G=new Ee(ie,undefined,false);G.loc=R.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(N);G.loc=R.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}j.push(G)}));const q=this.newRequireArrayDependency(j,N.range);q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,R,N,j){if(N.isConditional()){N.options.forEach((N=>{const $=this.processItem(E,R,N);if($===undefined){this.processContext(E,R,N)}}));return true}else if(N.isString()){let q,G;if(N.string==="require"){q=new ae("__webpack_require__",N.range,[$.require])}else if(N.string==="exports"){q=new ae("exports",N.range,[$.exports])}else if(N.string==="module"){q=new ae("module",N.range,[$.module])}else if(G=Ie(E.state,N.string,j)){G.flagUsed();q=new Ee(G,N.range,false)}else{q=this.newRequireItemDependency(N.string,N.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,R,N){const $=le.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processCallDefine(E,R){let N,$,j,q;switch(R.arguments.length){case 1:if(isCallable(R.arguments[0])){$=R.arguments[0]}else if(R.arguments[0].type==="ObjectExpression"){j=R.arguments[0]}else{j=$=R.arguments[0]}break;case 2:if(R.arguments[0].type==="Literal"){q=R.arguments[0].value;if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}else{N=R.arguments[0];if(isCallable(R.arguments[1])){$=R.arguments[1]}else if(R.arguments[1].type==="ObjectExpression"){j=R.arguments[1]}else{j=$=R.arguments[1]}}break;case 3:q=R.arguments[0].value;N=R.arguments[1];if(isCallable(R.arguments[2])){$=R.arguments[2]}else if(R.arguments[2].type==="ObjectExpression"){j=R.arguments[2]}else{j=$=R.arguments[2]}break;default:return}_e.bailout(E.state);let G=null;let ie=0;if($){if(isUnboundFunctionExpression($)){G=$.params}else if(isBoundFunctionExpression($)){G=$.callee.object.params;ie=$.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(N){const $={};const j=E.evaluateExpression(N);const le=this.processArray(E,R,j,$,q);if(!le)return;if(G){G=G.slice(ie).filter(((R,N)=>{if($[N]){ae.set(R.name,E.getVariableInfo($[N]));return false}return true}))}}else{const R=["require","exports","module"];if(G){G=G.slice(ie).filter(((N,$)=>{if(R[$]){ae.set(N.name,E.getVariableInfo(R[$]));return false}return true}))}}let le;if($&&isUnboundFunctionExpression($)){le=E.scope.inTry;E.inScope(G,(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.body.type==="BlockStatement"){E.detectMode($.body.body);const R=E.prevStatement;E.preWalkStatement($.body);E.prevStatement=R;E.walkStatement($.body)}else{E.walkExpression($.body)}}))}else if($&&isBoundFunctionExpression($)){le=E.scope.inTry;E.inScope($.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[R,N]of ae){E.setVariable(R,N)}E.scope.inTry=le;if($.callee.object.body.type==="BlockStatement"){E.detectMode($.callee.object.body.body);const R=E.prevStatement;E.preWalkStatement($.callee.object.body);E.prevStatement=R;E.walkStatement($.callee.object.body)}else{E.walkExpression($.callee.object.body)}}));if($.arguments){E.walkExpressions($.arguments)}}else if($||j){E.walkExpression($||j)}const Ee=this.newDefineDependency(R.range,N?N.range:null,$?$.range:null,j?j.range:null,q?q:null);Ee.loc=R.loc;if(q){Ee.localModule=we(E.state,q)}E.state.module.addPresentationalDependency(Ee);return true}newDefineDependency(E,R,N,$,q){return new j(E,R,N,$,q)}newRequireArrayDependency(E,R){return new q(E,R)}newRequireItemDependency(E,R){return new ie(E,R)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,R,N)=>{"use strict";const $=N(76150);const{approve:j,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=N(48472);const ae=N(46960);const le=N(98915);const _e=N(95715);const Ee=N(38145);const we=N(19041);const Ie=N(45167);const Me=N(29022);const{AMDDefineRuntimeModule:Te,AMDOptionsRuntimeModule:Ne}=N(29035);const Be=N(66298);const Le=N(14229);const je=N(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const R=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:N,normalModuleFactory:ze})=>{E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(Me,ze);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,N);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(je,new je.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for($.amdDefine).tap("AMDPlugin",((E,R)=>{R.add($.require)}));E.hooks.runtimeRequirementInModule.for($.amdOptions).tap("AMDPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.amdDefine).tap("AMDPlugin",((R,N)=>{E.addRuntimeModule(R,new Te)}));E.hooks.runtimeRequirementInTree.for($.amdOptions).tap("AMDPlugin",((N,$)=>{E.addRuntimeModule(N,new Ne(R))}));const handler=(E,R)=>{if(R.amd!==undefined&&!R.amd)return;const tapOptionsHooks=(R,N,j)=>{E.hooks.expression.for(R).tap("AMDPlugin",ie(E,$.amdOptions,[$.amdOptions]));E.hooks.evaluateIdentifier.for(R).tap("AMDPlugin",q(R,N,j,true));E.hooks.evaluateTypeof.for(R).tap("AMDPlugin",G("object"));E.hooks.typeof.for(R).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new we(R).apply(E);new le(R).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",j);E.hooks.rename.for("define").tap("AMDPlugin",(R=>{const N=new Be($.amdDefine,R.range,[$.amdDefine]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};ze.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);ze.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,R,N)=>{"use strict";const $=N(84304);const j=N(56202);const q=N(12197);class AMDRequireArrayDependency extends q{constructor(E,R){super();this.depsArray=E;this.range=R}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.depsArray);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.depsArray=R();this.range=R();super.deserialize(E)}}j(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends ${apply(E,R,N){const $=E;const j=this.getContent($,N);R.replace($.range[0],$.range[1]-1,j)}getContent(E,R){const N=E.depsArray.map((E=>this.contentForDependency(E,R)));return`[${N.join(", ")}]`}contentForDependency(E,{runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtimeRequirements:j}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return R.moduleExports({module:N.getModule(E),chunkGraph:$,request:E.request,runtimeRequirements:j})}}};E.exports=AMDRequireArrayDependency},38145:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);class AMDRequireContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=N(42740);E.exports=AMDRequireContextDependency},83842:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class AMDRequireDependenciesBlock extends ${constructor(E,R){super(null,E,R)}}j(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,R,N)=>{"use strict";const $=N(76150);const j=N(53558);const q=N(95715);const G=N(38145);const ie=N(83842);const ae=N(45167);const le=N(29022);const _e=N(66298);const Ee=N(95601);const we=N(14229);const{getLocalModule:Ie}=N(61701);const Me=N(12584);const Te=N(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,R){let N=true;const $=Te(R);if($){E.inScope($.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if($.fn.body.type==="BlockStatement"){E.walkStatement($.fn.body)}else{E.walkExpression($.fn.body)}}));E.walkExpressions($.expressions);if($.needThis===false){N=false}}else{E.walkExpression(R)}return N}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,R,N){if(N.isArray()){for(const $ of N.items){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isConstArray()){const $=[];for(const j of N.array){let N,q;if(j==="require"){N="__webpack_require__"}else if(["exports","module"].includes(j)){N=j}else if(q=Ie(E.state,j)){q.flagUsed();N=new we(q,undefined,false);N.loc=R.loc;E.state.module.addPresentationalDependency(N)}else{N=this.newRequireItemDependency(j);N.loc=R.loc;N.optional=!!E.scope.inTry;E.state.current.addDependency(N)}$.push(N)}const j=this.newRequireArrayDependency($,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(j);return true}}processItem(E,R,N){if(N.isConditional()){for(const $ of N.options){const N=this.processItem(E,R,$);if(N===undefined){this.processContext(E,R,$)}}return true}else if(N.isString()){let j,q;if(N.string==="require"){j=new _e("__webpack_require__",N.string,[$.require])}else if(N.string==="module"){j=new _e(E.state.module.buildInfo.moduleArgument,N.range,[$.module])}else if(N.string==="exports"){j=new _e(E.state.module.buildInfo.exportsArgument,N.range,[$.exports])}else if(q=Ie(E.state,N.string)){q.flagUsed();j=new we(q,N.range,false)}else{j=this.newRequireItemDependency(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}}processContext(E,R,N){const $=Ee.create(G,N.range,N,R,this.options,{category:"amd"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}processArrayForRequestString(E){if(E.isArray()){const R=E.items.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const R=E.options.map((E=>this.processItemForRequestString(E)));if(R.every(Boolean))return R.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,R){let N;let $;let q;let G;const ie=E.state.current;if(R.arguments.length>=1){N=E.evaluateExpression(R.arguments[0]);$=this.newRequireDependenciesBlock(R.loc,this.processArrayForRequestString(N));q=this.newRequireDependency(R.range,N.range,R.arguments.length>1?R.arguments[1].range:null,R.arguments.length>2?R.arguments[2].range:null);q.loc=R.loc;$.addDependency(q);E.state.current=$}if(R.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,R,N)}));E.state.current=ie;if(!G)return;E.state.current.addBlock($);return true}if(R.arguments.length===2||R.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,R,N)}));if(!G){const N=new Me("unsupported",R.range);ie.addPresentationalDependency(N);if(E.state.module){E.state.module.addError(new j("Cannot statically analyse 'require(…, …)' in line "+R.loc.start.line,R.loc))}$=null;return true}q.functionBindThis=this.processFunctionArgument(E,R.arguments[1]);if(R.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,R.arguments[2])}}finally{E.state.current=ie;if($)E.state.current.addBlock($)}return true}}newRequireDependenciesBlock(E,R){return new ie(E,R)}newRequireDependency(E,R,N,$){return new ae(E,R,N,$)}newRequireItemDependency(E,R){return new le(E,R)}newRequireArrayDependency(E,R){return new q(E,R)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class AMDRequireDependency extends q{constructor(E,R,N,$){super();this.outerRange=E;this.arrayRange=R;this.functionRange=N;this.errorCallbackRange=$;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:R}=E;R(this.outerRange);R(this.arrayRange);R(this.functionRange);R(this.errorCallbackRange);R(this.functionBindThis);R(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.arrayRange=R();this.functionRange=R();this.errorCallbackRange=R();this.functionBindThis=R();this.errorCallbackBindThis=R();super.deserialize(E)}}j(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${le}.then(function() {`;const N=`;})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.replace(ie.arrayRange[1],ie.outerRange[1]-1,N);return}if(ie.functionRange&&!ie.arrayRange){const E=`${le}.then((`;const N=`).bind(exports, __webpack_require__, exports, module))['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.functionRange[0]-1,E);R.replace(ie.functionRange[1],ie.outerRange[1]-1,N);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const $=`${ie.errorCallbackBindThis?".bind(this)":""})`;R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,N);R.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,$);return}if(ie.arrayRange&&ie.functionRange){const E=`${le}.then(function() { `;const N=`}${ie.functionBindThis?".bind(this)":""})['catch'](${$.uncaughtErrorHandler})`;G.add($.uncaughtErrorHandler);R.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);R.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");R.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");R.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");R.replace(ie.functionRange[1],ie.outerRange[1]-1,N)}}};E.exports=AMDRequireDependency},29022:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(87283);class AMDRequireItemDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"amd require"}get category(){return"amd"}}$(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AMDDefineRuntimeModule extends j{constructor(){super("amd define")}generate(){return q.asString([`${$.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends j{constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${$.amdOptions} = ${JSON.stringify(this.options)};`])}}R.AMDDefineRuntimeModule=AMDDefineRuntimeModule;R.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,R,N)=>{"use strict";const $=N(84304);const j=N(63272);const q=N(56202);const G=N(12197);class CachedConstDependency extends G{constructor(E,R,N){super();this.expression=E;this.range=R;this.identifier=N;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.identifier);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.identifier=R();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends ${apply(E,R,{runtimeTemplate:N,dependencyTemplates:$,initFragments:q}){const G=E;q.push(new j(`var ${G.identifier} = ${G.expression};\n`,j.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){R.insert(G.range,G.identifier);return}R.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,R,N)=>{"use strict";const $=N(76150);R.handleDependencyBase=(E,R,N)=>{let j=undefined;let q;switch(E){case"exports":N.add($.exports);j=R.exportsArgument;q="expression";break;case"module.exports":N.add($.module);j=`${R.moduleArgument}.exports`;q="expression";break;case"this":N.add($.thisAsExports);j="this";q="expression";break;case"Object.defineProperty(exports)":N.add($.exports);j=R.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":N.add($.module);j=`${R.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":N.add($.thisAsExports);j="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,j]}},1248:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(58159);const{equals:G}=N(73910);const ie=N(56202);const ae=N(68038);const{handleDependencyBase:le}=N(73456);const _e=N(79983);const Ee=N(18971);const we=Symbol("CommonJsExportRequireDependency.ids");const Ie={};class CommonJsExportRequireDependency extends _e{constructor(E,R,N,$,j,q,G){super(j);this.range=E;this.valueRange=R;this.base=N;this.names=$;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return $.TRANSITIVE}getIds(E){return E.getMeta(this)[we]||this.ids}setIds(E,R){E.getMeta(this)[we]=R}getReferencedExports(E,R){const N=this.getIds(E);const getFullResult=()=>{if(N.length===0){return $.EXPORTS_OBJECT_REFERENCED}else{return[{name:N,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const N=q.getReadOnlyExportInfo(E);const G=N.getUsed(R);if(G===j.Unused)return $.NO_EXPORTS_REFERENCED;if(G!==j.OnlyPropertiesUsed)return getFullResult();q=N.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(R)!==j.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){Ee(R,G,N.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const R=this.getIds(E);if(this.names.length===1){const N=this.names[0];const $=E.getConnection(this);if(!$)return;return{exports:[{name:N,from:$,export:R.length===0?null:R,canMangle:!(N in Ie)&&false}],dependencies:[$.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Ie)&&false}],dependencies:undefined}}else{const N=E.getConnection(this);if(!N)return;const $=this.getStarReexports(E,undefined,N.module);if($){return{exports:Array.from($.exports,(E=>({name:E,from:N,export:R.concat(E),canMangle:!(E in Ie)&&false}))),dependencies:[N.module]}}else{return{exports:true,from:R.length===0?N:undefined,canMangle:false,dependencies:[N.module]}}}}getStarReexports(E,R,N=E.getModule(this)){let $=E.getExportsInfo(N);const q=this.getIds(E);if(q.length>0)$=$.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=$&&$.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(R)===j.Unused;if(!ie&&!ae){return}const le=N.getExportsType(E,false)==="namespace";const _e=new Set;const Ee=new Set;if(ae){for(const E of G.orderedExports){const N=E.name;if(E.getUsed(R)===j.Unused)continue;if(N==="__esModule"&&le){_e.add(N)}else if($){const E=$.getReadOnlyExportInfo(N);if(E.provided===false)continue;_e.add(N);if(E.provided===true)continue;Ee.add(N)}else{_e.add(N);Ee.add(N)}}}else if(ie){for(const E of $.orderedExports){const N=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(N);if(E.getUsed(R)===j.Unused)continue}_e.add(N);if(E.provided===true)continue;Ee.add(N)}if(le){_e.add("__esModule");Ee.delete("__esModule")}}return{exports:_e,checked:Ee}}serialize(E){const{write:R}=E;R(this.asiSafe);R(this.range);R(this.valueRange);R(this.base);R(this.names);R(this.ids);R(this.resultUsed);super.serialize(E)}deserialize(E){const{read:R}=E;this.asiSafe=R();this.range=R();this.valueRange=R();this.base=R();this.names=R();this.ids=R();this.resultUsed=R();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends _e.Template{apply(E,R,{module:N,runtimeTemplate:$,chunkGraph:j,moduleGraph:ie,runtimeRequirements:_e,runtime:Ee}){const we=E;const Ie=ie.getExportsInfo(N).getUsedName(we.names,Ee);const[Me,Te]=le(we.base,N,_e);const Ne=ie.getModule(we);let Be=$.moduleExports({module:Ne,chunkGraph:j,request:we.request,weak:we.weak,runtimeRequirements:_e});if(Ne){const E=we.getIds(ie);const R=ie.getExportsInfo(Ne).getUsedName(E,Ee);if(R){const N=G(R,E)?"":q.toNormalComment(ae(E))+" ";Be+=`${N}${ae(R)}`}}switch(Me){case"expression":R.replace(we.range[0],we.range[1]-1,Ie?`${Te}${ae(Ie)} = ${Be}`:`/* unused reexport */ ${Be}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(68038);const{handleDependencyBase:G}=N(73456);const ie=N(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.valueRange=R;this.base=N;this.names=$}get type(){return"cjs exports"}getExports(E){const R=this.names[0];return{exports:[{name:R,canMangle:!(R in ae)}],dependencies:undefined}}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.base);R(this.names);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.base=R();this.names=R();super.deserialize(E)}}j(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:j,initFragments:ie,runtimeRequirements:ae,runtime:le}){const _e=E;const Ee=j.getExportsInfo(N).getUsedName(_e.names,le);const[we,Ie]=G(_e.base,N,ae);switch(we){case"expression":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.range[1]-1,"__webpack_unused_export__");return}R.replace(_e.range[0],_e.range[1]-1,`${Ie}${q(Ee)}`);return;case"Object.defineProperty":if(!Ee){ie.push(new $("var __webpack_unused_export__;\n",$.STAGE_CONSTANTS,0,"__webpack_unused_export__"));R.replace(_e.range[0],_e.valueRange[0]-1,"__webpack_unused_export__ = (");R.replace(_e.valueRange[1],_e.range[1]-1,")");return}R.replace(_e.range[0],_e.valueRange[0]-1,`Object.defineProperty(${Ie}${q(Ee.slice(0,-1))}, ${JSON.stringify(Ee[Ee.length-1])}, (`);R.replace(_e.valueRange[1],_e.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(72380);const{evaluateToString:q}=N(48472);const G=N(68038);const ie=N(1248);const ae=N(26702);const le=N(94147);const _e=N(28140);const Ee=N(25702);const we=N(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const R of E.properties){if(R.computed)continue;const E=R.key;if(E.type!=="Identifier"||E.name!=="value")continue;return R.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,R)=>{const N=[];while(R.type==="MemberExpression"){if(R.object.type==="Super")return;if(!R.property)return;const E=R.property;if(R.computed){if(E.type!=="Literal")return;N.push(`${E.value}`)}else{if(E.type!=="Identifier")return;N.push(E.name)}R=R.object}if(R.type!=="CallExpression"||R.arguments.length!==1)return;const $=R.callee;if($.type!=="Identifier"||E.getVariableInfo($.name)!=="require"){return}const j=R.arguments[0];if(j.type==="SpreadElement")return;const q=E.evaluateExpression(j);return{argument:q,ids:N.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{_e.enable(E.state)};const checkNamespace=(R,N,$)=>{if(!_e.isEnabled(E.state))return;if(N.length>0&&N[0]==="__esModule"){if($&&isTruthyLiteral($)&&R){_e.setFlagged(E.state)}else{_e.setDynamic(E.state)}}};const bailout=R=>{_e.bailout(E.state);if(R)bailoutHint(R)};const bailoutHint=R=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${R}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(R,N,$)=>{if(Ee.isEnabled(E.state))return;const j=parseRequireCall(E,R.right);if(j&&j.argument.isString()&&($.length===0||$[0]!=="__esModule")){enableStructuredExports();if($.length===0)_e.setDynamic(E.state);const q=new ie(R.range,null,N,$,j.argument.string,j.ids,!E.isStatementLevelExpression(R));q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if($.length===0)return;enableStructuredExports();const q=$;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(R),q,R.right);const G=new ae(R.left.range,null,N,q);G.loc=R.loc;E.state.module.addDependency(G);E.walkExpression(R.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAssignExport(E,"exports",R)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(R,"this",N)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAssignExport(E,"module.exports",R.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(R=>{const N=R;if(!E.isStatementLevelExpression(N))return;if(N.arguments.length!==3)return;if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;if(N.arguments[2].type==="SpreadElement")return;const $=E.evaluateExpression(N.arguments[0]);if(!$||!$.isIdentifier())return;if($.identifier!=="exports"&&$.identifier!=="module.exports"&&($.identifier!=="this"||!E.scope.topLevelScope)){return}const j=E.evaluateExpression(N.arguments[1]);if(!j)return;const q=j.asString();if(typeof q!=="string")return;enableStructuredExports();const G=N.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(N.range,N.arguments[2].range,`Object.defineProperty(${$.identifier})`,[q]);ie.loc=N.loc;E.state.module.addDependency(ie);E.walkExpression(N.arguments[2]);return true}));const handleAccessExport=(R,N,$,q=undefined)=>{if(Ee.isEnabled(E.state))return;if($.length===0){bailout(`${N} is used directly at ${j(R.loc)}`)}if(q&&$.length===1){bailoutHint(`${N}${G($)}(...) prevents optimization as ${N} is passed as call context at ${j(R.loc)}`)}const ie=new le(R.range,N,$,!!q);ie.loc=R.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E.callee,"exports",R,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,R)=>handleAccessExport(E,"exports",R)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",R.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,R)=>{if(R[0]!=="exports")return;return handleAccessExport(E,"module.exports",R.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R.callee,"this",N,R)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((R,N)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",N)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(R=>{if(!E.scope.topLevelScope)return;return handleAccessExport(R,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(R=>{bailout();const N=Ee.isEnabled(E.state);const j=new we(N?$.harmonyModuleDecorator:$.nodeModuleDecorator,!N);j.loc=R.loc;E.state.module.addDependency(j);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,R,N)=>{"use strict";const $=N(58159);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(79983);class CommonJsFullRequireDependency extends ie{constructor(E,R,N){super(E);this.range=R;this.names=N;this.call=false;this.asiSafe=undefined}getReferencedExports(E,R){if(this.call){const R=E.getModule(this);if(!R||R.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:R}=E;R(this.names);R(this.call);R(this.asiSafe);super.serialize(E)}deserialize(E){const{read:R}=E;this.names=R();this.call=R();this.asiSafe=R();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:le,runtime:_e,initFragments:Ee}){const we=E;if(!we.range)return;const Ie=ie.getModule(we);let Me=q.moduleExports({module:Ie,chunkGraph:ae,request:we.request,weak:we.weak,runtimeRequirements:le});if(Ie){const E=we.names;const R=ie.getExportsInfo(Ie).getUsedName(E,_e);if(R){const N=j(R,E)?"":$.toNormalComment(G(E))+" ";const q=`${N}${G(R)}`;Me=we.asiSafe===true?`(${Me}${q})`:`${Me}${q}`}}R.replace(we.range[0],we.range[1]-1,Me)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,R,N)=>{"use strict";const $=N(47207);const j=N(76150);const q=N(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:le}=N(48472);const _e=N(87519);const Ee=N(51454);const we=N(37313);const Ie=N(66298);const Me=N(95601);const Te=N(14229);const{getLocalModule:Ne}=N(61701);const Be=N(70340);const Le=N(84817);const je=N(76913);const ze=N(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const R=this.options;const tapRequireExpression=(R,N)=>{E.hooks.typeof.for(R).tap("CommonJsPlugin",le(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(R).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(R).tap("CommonJsPlugin",G(R,"require",N,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(R=>{const N=new Ie("var require;",0);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(R=>{const N=new Ie("undefined",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",le(E,j.moduleCache,[j.moduleCache,j.moduleId,j.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(N=>{const $=new Ee({request:R.unknownContextRequest,recursive:R.unknownContextRecursive,regExp:R.unknownContextRegExp,mode:"sync"},N.range,undefined,E.scope.inShorthand);$.critical=R.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}));const processRequireItem=(R,N)=>{if(N.isString()){const $=new we(N.string,N.range);$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}};const processRequireContext=(N,$)=>{const j=Me.create(Ee,N.range,$,N,R,{category:"commonjs"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true};const createRequireHandler=N=>j=>{if(R.commonjsMagicComments){const{options:R,errors:N}=E.parseCommentOptions(j.range);if(N){for(const R of N){const{comment:N}=R;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(R){if(R.webpackIgnore!==undefined){if(typeof R.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${R.webpackIgnore}.`,j.loc))}else{if(R.webpackIgnore){return true}}}}}if(j.arguments.length!==1)return;let G;const ie=E.evaluateExpression(j.arguments[0]);if(ie.isConditional()){let R=false;for(const E of ie.options){const N=processRequireItem(j,E);if(N===undefined){R=true}}if(!R){const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const R=new Te(G,j.range,N);R.loc=j.loc;E.state.module.addPresentationalDependency(R);return true}else{const R=processRequireItem(j,ie);if(R===undefined){processRequireContext(j,ie)}else{const R=new Be(j.callee.range);R.loc=j.loc;E.state.module.addPresentationalDependency(R)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.range,j);N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.loc;E.state.module.addDependency(N);return true}};const callChainHandler=(R,N,$,j)=>{if($.arguments.length!==1)return;const q=E.evaluateExpression($.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const N=new _e(q.string,R.callee.range,j);N.call=true;N.asiSafe=!E.isAsiPosition(R.range[0]);N.optional=!!E.scope.inTry;N.loc=R.callee.loc;E.state.module.addDependency(N);E.walkExpressions(R.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(R,N)=>{if(R.arguments.length!==1)return;const $=E.evaluateExpression(R.arguments[0]);if($.isConditional()){for(const E of $.options){const $=processResolveItem(R,E,N);if($===undefined){processResolveContext(R,E,N)}}const j=new ze(R.callee.range);j.loc=R.loc;E.state.module.addPresentationalDependency(j);return true}else{const j=processResolveItem(R,$,N);if(j===undefined){processResolveContext(R,$,N)}const q=new ze(R.callee.range);q.loc=R.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(R,N,$)=>{if(N.isString()){const j=new je(N.string,N.range);j.loc=R.loc;j.optional=!!E.scope.inTry;j.weak=$;E.state.current.addDependency(j);return true}};const processResolveContext=(N,$,j)=>{const q=Me.create(Le,$.range,$,N,R,{category:"commonjs",mode:j?"weak":"sync"},E);if(!q)return;q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(31141);const G=N(58159);const ie=N(26702);const ae=N(87519);const le=N(51454);const _e=N(37313);const Ee=N(94147);const we=N(2706);const Ie=N(70340);const Me=N(84817);const Te=N(76913);const Ne=N(23380);const Be=N(35424);const Le=N(48235);const je=N(42218);const{evaluateToIdentifier:ze,toConstantDependency:Ue}=N(48472);const qe=N(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(Me,R);E.dependencyTemplates.set(Me,new Me.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(qe,N);E.dependencyTemplates.set(qe,new qe.Template);const j=new q(E.moduleGraph);E.dependencyFactories.set(Ee,j);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyFactories.set(we,j);E.dependencyTemplates.set(we,new we.Template);E.hooks.runtimeRequirementInModule.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInModule.for($.nodeModuleDecorator).tap("CommonJsPlugin",((E,R)=>{R.add($.module);R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.harmonyModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for($.nodeModuleDecorator).tap("CommonJsPlugin",((R,N)=>{E.addRuntimeModule(R,new NodeModuleDecoratorRuntimeModule)}));const handler=(R,N)=>{if(N.commonjs!==undefined&&!N.commonjs)return;R.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(R,JSON.stringify("object")));R.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(R,`${$.moduleCache}[${$.entryModuleId}]`,[$.moduleCache,$.entryModuleId]));R.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const N=new Be([$.moduleLoaded]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{R.state.module.buildInfo.moduleConcatenationBailout="module.id";const N=new Be([$.moduleId]);N.loc=E.loc;R.state.module.addPresentationalDependency(N);return true}));R.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",ze("module.hot","module",(()=>["hot"]),null));new je(N).apply(R);new Le(E.moduleGraph).apply(R)};N.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends j{constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends j{constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${$.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class CommonJsRequireContextDependency extends j{constructor(E,R,N,$){super(E);this.range=R;this.valueRange=N;this.inShorthand=$}get type(){return"cjs require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);R(this.inShorthand);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();this.inShorthand=R();super.deserialize(E)}}$(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class CommonJsRequireDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;$(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,R,N)=>{"use strict";const $=N(76150);const{equals:j}=N(73910);const q=N(56202);const G=N(68038);const ie=N(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.base=R;this.names=N;this.call=$}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:R}=E;R(this.range);R(this.base);R(this.names);R(this.call);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.base=R();this.names=R();this.call=R();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const le=E;let _e;if(le.names.length===0){_e=le.names}else{_e=q.getExportsInfo(N).getUsedName(le.names,ie)}if(!_e){throw new Error("Self-reference dependency has unused export name: This should not happen")}let Ee=undefined;switch(le.base){case"exports":ae.add($.exports);Ee=N.exportsArgument;break;case"module.exports":ae.add($.module);Ee=`${N.moduleArgument}.exports`;break;case"this":ae.add($.thisAsExports);Ee="this";break;default:throw new Error(`Unsupported base ${le.base}`)}if(Ee===le.base&&j(_e,le.names)){return}R.replace(le.range[0],le.range[1]-1,`${Ee}${G(_e)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class ConstDependency extends j{constructor(E,R,N){super();this.expression=E;this.range=R;this.runtimeRequirements=N?new Set(N):null;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const R of this.runtimeRequirements){E+="|";E+=R}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.expression);R(this.range);R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.expression=R();this.range=R();this.runtimeRequirements=R();super.deserialize(E)}}$(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if($.runtimeRequirements){for(const E of $.runtimeRequirements){N.runtimeRequirements.add(E)}}if(typeof $.range==="number"){R.insert($.range,$.expression);return}R.replace($.range[0],$.range[1]-1,$.expression)}};E.exports=ConstDependency},400:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(56202);const G=N(91671);const ie=G((()=>N(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends ${constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let R=super.getWarnings(E);if(this.critical){if(!R)R=[];const E=ie();R.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!R)R=[];const E=ie();R.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return R}serialize(E){const{write:R}=E;R(this.options);R(this.userRequest);R(this.critical);R(this.hadGlobalOrStickyRegExp);R(this.request);R(this.range);R(this.valueRange);R(this.prepend);R(this.replaces);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();this.userRequest=R();this.critical=R();this.hadGlobalOrStickyRegExp=R();this.request=R();this.range=R();this.valueRange=R();this.prepend=R();this.replaces=R();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=j;E.exports=ContextDependency},95601:(E,R,N)=>{"use strict";const{parseResource:$}=N(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const R=E.lastIndexOf("/");let N=".";if(R>=0){N=E.substr(0,R);E=`.${E.substr(R)}`}return{context:N,prefix:E}};R.create=(E,R,N,j,q,G,ie)=>{if(N.isTemplateString()){let ae=N.quasis[0].string;let le=N.quasis.length>1?N.quasis[N.quasis.length-1].string:"";const _e=N.range;const{context:Ee,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Me,fragment:Te}=$(le,ie);const Ne=N.quasis.slice(1,N.quasis.length-1);const Be=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(we)}${Be}${quoteMeta(Ie)}$`);const je=new E({request:Ee+Me+Te,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,_e);je.loc=j.loc;const ze=[];N.parts.forEach(((E,R)=>{if(R%2===0){let $=E.range;let j=E.string;if(N.templateStringKind==="cooked"){j=JSON.stringify(j);j=j.slice(1,j.length-1)}if(R===0){j=we;$=[N.range[0],E.range[1]];j=(N.templateStringKind==="cooked"?"`":"String.raw`")+j}else if(R===N.parts.length-1){j=Ie;$=[E.range[0],N.range[1]];j=j+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===j){return}ze.push({range:$,value:j})}else{ie.walkExpression(E.expression)}}));je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return je}else if(N.isWrapped()&&(N.prefix&&N.prefix.isString()||N.postfix&&N.postfix.isString())){let ae=N.prefix&&N.prefix.isString()?N.prefix.string:"";let le=N.postfix&&N.postfix.isString()?N.postfix.string:"";const _e=N.prefix&&N.prefix.isString()?N.prefix.range:null;const Ee=N.postfix&&N.postfix.isString()?N.postfix.range:null;const we=N.range;const{context:Ie,prefix:Me}=splitContextFromPrefix(ae);const{path:Te,query:Ne,fragment:Be}=$(le,ie);const Le=new RegExp(`^${quoteMeta(Me)}${q.wrappedContextRegExp.source}${quoteMeta(Te)}$`);const je=new E({request:Ie+Ne+Be,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},R,we);je.loc=j.loc;const ze=[];if(_e){ze.push({range:_e,value:JSON.stringify(Me)})}if(Ee){ze.push({range:Ee,value:JSON.stringify(Te)})}je.replaces=ze;je.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&N.wrappedInnerExpressions){for(const E of N.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return je}else{const $=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},R,N.range);$.loc=j.loc;$.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(N.expression);return $}}},94148:(E,R,N)=>{"use strict";const $=N(400);class ContextDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(400);class ContextDependencyTemplateAsRequireCall extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;let ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if($.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ContextElementDependency extends q{constructor(E,R,N,$,j){super(E);this.referencedExports=j;this._typePrefix=N;this._category=$;if(R){this.userRequest=R}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}j(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.createScriptUrl);R.insert(j.range[0],`${$.createScriptUrl}(`);R.insert(j.range[1],")")}};j(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,R,N)=>{"use strict";const $=N(81627);const j=N(56202);class CriticalDependencyWarning extends ${constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}j(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class DelegatedSourceDependency extends j{constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}$(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class DllEntryDependency extends ${constructor(E,R){super();this.dependencies=E;this.name=R}get type(){return"dll entry"}serialize(E){const{write:R}=E;R(this.dependencies);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.dependencies=R();this.name=R();super.deserialize(E)}}j(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,R)=>{"use strict";const N=new WeakMap;R.bailout=E=>{const R=N.get(E);N.set(E,false);if(R===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};R.enable=E=>{const R=N.get(E);if(R===false)return;N.set(E,true);if(R!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};R.setFlagged=E=>{const R=N.get(E);if(R!==true)return;const $=E.module.buildMeta;if($.exportsType==="dynamic")return;$.exportsType="flagged"};R.setDynamic=E=>{const R=N.get(E);if(R!==true)return;E.module.buildMeta.exportsType="dynamic"};R.isEnabled=E=>{const R=N.get(E);return R===true}},66583:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);class EntryDependency extends j{constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}$(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const q=N(12197);const getProperty=(E,R,N,j,q)=>{if(!N){switch(j){case"usedExports":{const N=E.getExportsInfo(R).getUsedExports(q);if(typeof N==="boolean"||N===undefined||N===null){return N}return Array.from(N).sort()}}}switch(j){case"used":return E.getExportsInfo(R).getUsed(N,q)!==$.Unused;case"useInfo":{const j=E.getExportsInfo(R).getUsed(N,q);switch(j){case $.Used:case $.OnlyPropertiesUsed:return true;case $.Unused:return false;case $.NoInfo:return undefined;case $.Unknown:return null;default:throw new Error(`Unexpected UsageState ${j}`)}}case"provideInfo":return E.getExportsInfo(R).isExportProvided(N)}return undefined};class ExportsInfoDependency extends q{constructor(E,R,N){super();this.range=E;this.exportName=R;this.property=N}serialize(E){const{write:R}=E;R(this.range);R(this.exportName);R(this.property);super.serialize(E)}static deserialize(E){const R=new ExportsInfoDependency(E.read(),E.read(),E.read());R.deserialize(E);return R}}j(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,runtime:j}){const q=E;const G=getProperty($,N,q.exportName,q.property,j);R.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,R,N)=>{"use strict";const $=N(58159);const j=N(56202);const q=N(37359);const G=N(12197);class HarmonyAcceptDependency extends G{constructor(E,R,N){super();this.range=E;this.dependencies=R;this.hasCallback=N}get type(){return"accepted harmony modules"}serialize(E){const{write:R}=E;R(this.range);R(this.dependencies);R(this.hasCallback);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.dependencies=R();this.hasCallback=R();super.deserialize(E)}}j(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,R,N){const j=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:le,moduleGraph:_e,chunkGraph:Ee}=N;const we=j.dependencies.map((E=>{const R=_e.getModule(E);return{dependency:E,runtimeCondition:R?q.Template.getImportEmittedRuntime(G,R):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:R})=>{const j=le.runtimeConditionExpression({chunkGraph:Ee,runtime:ie,runtimeCondition:R,runtimeRequirements:ae});const q=E.getImportStatement(true,N);const G=q[0]+q[1];if(j!=="true"){return`if (${j}) {\n${$.indent(G)}\n}\n`}return G})).join("");if(j.hasCallback){if(le.supportsArrowFunction()){R.insert(j.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{R.insert(j.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${we}(`);R.insert(j.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Ie=le.supportsArrowFunction();R.insert(j.range[1]-.5,`, ${Ie?"() =>":"function()"} { ${we} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyAcceptImportDependency extends j{constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}$(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends j.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:le,runtime:_e,concatenationScope:Ee}){if(Ee)return;const we=ie.getExportsInfo(N);if(we.getReadOnlyExportInfo("__esModule").getUsed(_e)!==$.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:N.exportsArgument,runtimeRequirements:le});ae.push(new j(E,j.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(N)){le.add(q.module);le.add(q.asyncModule);ae.push(new j(G.supportsArrowFunction()?`${q.asyncModule}(${N.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${N.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,j.STAGE_ASYNC_BOUNDARY,0,undefined,N.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,R,N)=>{"use strict";const $=N(28140);const j=N(54290);const q=N(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:R=false}=E||{};this.topLevelAwait=R}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(R=>{const N=E.state.module.type==="javascript/esm";const G=N||R.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const R=E.state.module;const G=new j;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};R.addPresentationalDependency(G);$.bailout(E.state);q.enable(E.state,N);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const R=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}R.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const R=["define","exports"];for(const N of R){E.hooks.evaluateTypeof.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(N).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(N).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,R,N)=>{"use strict";const $=N(58018);const j=N(66298);const q=N(55037);const G=N(48752);const ie=N(44576);const ae=N(14696);const{ExportPresenceModes:le}=N(37359);const{harmonySpecifierTag:_e,getAssertions:Ee}=N(29381);const we=N(69707);const{HarmonyStarExportsList:Ie}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?le.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO}apply(E){const{exportPresenceMode:R}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(R=>{const N=new G(R.declaration&&R.declaration.range,R.range);N.loc=Object.create(R.loc);N.loc.index=-1;E.state.module.addPresentationalDependency(N);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new j("",R.range);$.loc=Object.create(R.loc);$.loc.index=-1;E.state.module.addPresentationalDependency($);const q=new we(N,E.state.lastHarmonyImportOrder,Ee(R));q.loc=Object.create(R.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((R,N)=>{const j=N.type==="FunctionDeclaration";const G=E.getComments([R.range[0],N.range[0]]);const ie=new q(N.range,R.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),N.type.endsWith("Declaration")&&N.id?N.id.name:j?{id:N.id?N.id.name:undefined,range:[N.range[0],N.params.length>0?N.params[0].range[0]:N.body.range[0]],prefix:`${N.async?"async ":""}function${N.generator?"*":""} `,suffix:`(${N.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(R.loc);ie.loc.index=-1;E.state.current.addDependency(ie);$.addVariableUsage(E,N.type.endsWith("Declaration")&&N.id?N.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,j,q,G)=>{const le=E.getTagData(j,_e);let Ee;const we=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;we.add(q);$.addVariableUsage(E,j,q);if(le){Ee=new ie(le.source,le.sourceOrder,le.ids,q,we,null,R,null,le.assertions)}else{Ee=new ae(j,q)}Ee.loc=Object.create(N.loc);Ee.loc.index=G;E.state.current.addDependency(Ee);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((N,$,j,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let le=null;if(q){ae.add(q)}else{le=E.state.harmonyStarExports=E.state.harmonyStarExports||new Ie}const _e=new ie($,E.state.lastHarmonyImportOrder,j?[j]:[],q,ae,le&&le.slice(),R,le);if(le){le.push(_e)}_e.loc=Object.create(N.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}))}}},55037:(E,R,N)=>{"use strict";const $=N(77294);const j=N(76150);const q=N(56202);const G=N(82296);const ie=N(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,R,N,$){super();this.range=E;this.rangeStatement=R;this.prefix=N;this.declarationId=$}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);R(this.prefix);R(this.declarationId);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();this.prefix=R();this.declarationId=R();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,R,{module:N,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:le,runtime:_e,concatenationScope:Ee}){const we=E;const{declarationId:Ie}=we;const Me=N.exportsArgument;if(Ie){let E;if(typeof Ie==="string"){E=Ie}else{E=$.DEFAULT_EXPORT;R.replace(Ie.range[0],Ie.range[1]-1,`${Ie.prefix}${E}${Ie.suffix}`)}if(Ee){Ee.registerExport("default",E)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){const N=new Map;N.set(R,`/* export default binding */ ${E}`);le.push(new G(Me,N))}}R.replace(we.rangeStatement[0],we.range[0]-1,`/* harmony default export */ ${we.prefix}`)}else{let E;const Ie=$.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Ie} = `;if(Ee){Ee.registerExport("default",Ie)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);const E=new Map;E.set(R,Ie);le.push(new G(Me,E))}else{E=`/* unused harmony default export */ var ${Ie} = `}}}else if(Ee){E=`/* harmony default export */ var ${Ie} = `;Ee.registerExport("default",Ie)}else{const R=q.getExportsInfo(N).getUsedName("default",_e);if(R){ae.add(j.exports);E=`/* harmony default export */ ${Me}[${JSON.stringify(R)}] = `}else{E=`/* unused harmony default export */ var ${Ie} = `}}if(we.range){R.replace(we.rangeStatement[0],we.range[0]-1,E+"("+we.prefix);R.replace(we.range[1],we.rangeStatement[1]-.5,");");return}R.replace(we.rangeStatement[0],we.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class HarmonyExportHeaderDependency extends j{constructor(E,R){super();this.range=E;this.rangeStatement=R}get type(){return"harmony export header"}serialize(E){const{write:R}=E;R(this.range);R(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.rangeStatement=R();super.deserialize(E)}}$(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends j.Template{apply(E,R,N){const $=E;const j="";const q=$.range?$.range[0]-1:$.rangeStatement[1]-1;R.replace($.rangeStatement[0],q,j)}};E.exports=HarmonyExportHeaderDependency},44576:(E,R,N)=>{"use strict";const $=N(28706);const{UsageState:j}=N(76632);const q=N(36756);const G=N(63272);const ie=N(76150);const ae=N(58159);const{countIterable:le}=N(11539);const{first:_e,combine:Ee}=N(26221);const we=N(56202);const Ie=N(68038);const{getRuntimeKey:Me,keyToRuntime:Te}=N(37416);const Ne=N(82296);const Be=N(37359);const Le=N(18971);const{ExportPresenceModes:je}=Be;const ze=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,R,N,$,j){this.name=E;this.ids=R;this.exportInfo=N;this.checked=$;this.hidden=j}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,R,N)=>{const $=new Set;const j=[];if(N){R=R.concat(N)}for(const N of R){const R=j.length;j[R]=$.size;const q=E.getModule(N);if(q){const N=E.getExportsInfo(q);for(const E of N.exports){if(E.provided===true&&E.name!=="default"&&!$.has(E.name)){$.add(E.name);j[R]=$.size}}}}j.push($.size);return{names:Array.from($),dependencyIndices:j}};const findDependencyForName=({names:E,dependencyIndices:R},N,$)=>{const j=$[Symbol.iterator]();const q=R[Symbol.iterator]();let G=j.next();let ie=q.next();if(ie.done)return;for(let R=0;R=ie.value){G=j.next();ie=q.next();if(ie.done)return}if(E[R]===N)return G.value}return undefined};const getMode=(E,R,N)=>{const $=E.getModule(R);if(!$){const E=new ExportMode("missing");E.userRequest=R.userRequest;return E}const q=R.name;const G=Te(N);const ie=E.getParentModule(R);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===j.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const le=$.getExportsType(E,ie.buildMeta.strictHarmonyModule);const _e=R.getIds(E);if(q&&_e.length>0&&_e[0]==="default"){switch(le){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const R=new ExportMode("reexport-named-default");R.name=q;R.partialNamespaceExportInfo=E;return R}}}if(q){let E;const R=ae.getReadOnlyExportInfo(q);if(_e.length>0){switch(le){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,_e,R,false,false)];break}}else{switch(le){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=R;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=R}}return E}const{ignoredExports:Ee,exports:we,checked:Ie,hidden:Me}=R.getStarReexports(E,G,ae,$);if(!we){const E=new ExportMode("dynamic-reexport");E.ignored=Ee;E.hidden=Me;return E}if(we.size===0){const E=new ExportMode("empty-star");E.hidden=Me;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(we,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Ie.has(E),false)));if(Me!==undefined){for(const E of Me){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Be{constructor(E,R,N,$,j,q,G,ie,ae){super(E,R,ae);this.ids=N;this.name=$;this.activeExports=j;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return $.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[ze]||this.ids}setIds(E,R){E.getMeta(this)[ze]=R}getMode(E,R){return E.dependencyCacheProvide(this,Me(R),getMode)}getStarReexports(E,R,N=E.getExportsInfo(E.getParentModule(this)),$=E.getModule(this)){const q=E.getExportsInfo($);const G=q.otherExportsInfo.provided===false;const ie=N.otherExportsInfo.getUsed(R)===j.Unused;const ae=new Set(["default",...this.activeExports]);let le=undefined;const _e=this._discoverActiveExportsFromOtherStarExports(E);if(_e!==undefined){le=new Set;for(let E=0;E<_e.namesSlice;E++){le.add(_e.names[E])}for(const E of ae)le.delete(E)}if(!G&&!ie){return{ignoredExports:ae,hidden:le}}const Ee=new Set;const we=new Set;const Ie=le!==undefined?new Set:undefined;if(ie){for(const E of N.orderedExports){const N=E.name;if(ae.has(N))continue;if(E.getUsed(R)===j.Unused)continue;const $=q.getReadOnlyExportInfo(N);if($.provided===false)continue;if(le!==undefined&&le.has(N)){Ie.add(N);continue}Ee.add(N);if($.provided===true)continue;we.add(N)}}else if(G){for(const E of q.orderedExports){const $=E.name;if(ae.has($))continue;if(E.provided===false)continue;const q=N.getReadOnlyExportInfo($);if(q.getUsed(R)===j.Unused)continue;if(le!==undefined&&le.has($)){Ie.add($);continue}Ee.add($);if(E.provided===true)continue;we.add($)}}return{ignoredExports:ae,exports:Ee,checked:we,hidden:Ie}}getCondition(E){return(R,N)=>{const $=this.getMode(E,N);return $.type!=="unused"&&$.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){const N=this.getMode(E,R);switch(N.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return $.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return $.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!N.partialNamespaceExportInfo)return $.EXPORTS_OBJECT_REFERENCED;const E=[];Le(R,E,[],N.partialNamespaceExportInfo,N.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return $.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:$,exportInfo:j,hidden:q}of N.items){if(q)continue;Le(R,E,$,j,false)}return E}default:throw new Error(`Unknown mode ${N.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const R="length"in this.otherStarExports?this.otherStarExports.length:le(this.otherStarExports);if(R===0)return undefined;if(this.allStarExports){const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}const{names:N,dependencyIndices:$}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:N,namesSlice:$[R-1],dependencyIndices:$,dependencyIndex:R}}getExports(E){const R=this.getMode(E,undefined);switch(R.type){case"missing":return undefined;case"dynamic-reexport":{const N=E.getConnection(this);return{exports:true,from:N,canMangle:false,excludeExports:R.hidden?Ee(R.ignored,R.hidden):R.ignored,hideExports:R.hidden,dependencies:[N.module]}}case"empty-star":return{exports:[],hideExports:R.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const N=E.getConnection(this);return{exports:Array.from(R.items,(E=>({name:E.name,from:N,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[N.module]}}case"reexport-dynamic-default":{{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}}case"reexport-undefined":return{exports:[R.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null,exports:[{name:"default",canMangle:false,from:N,export:null}]}],priority:1,dependencies:[N.module]}}case"reexport-namespace-object":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:null}],priority:1,dependencies:[N.module]}}case"reexport-named-default":{const N=E.getConnection(this);return{exports:[{name:R.name,from:N,export:["default"]}],priority:1,dependencies:[N.module]}}default:throw new Error(`Unknown mode ${R.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==je.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?je.ERROR:je.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===je.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);let N=this.getLinkingErrors(E,R,`(reexported as '${this.name}')`);if(R.length===0&&this.name===null){const R=this._discoverActiveExportsFromOtherStarExports(E);if(R&&R.namesSlice>0){const $=new Set(R.names.slice(R.namesSlice,R.dependencyIndices[R.dependencyIndex]));const j=E.getModule(this);if(j){const G=E.getExportsInfo(j);const ie=new Map;for(const N of G.orderedExports){if(N.provided!==true)continue;if(N.name==="default")continue;if(this.activeExports.has(N.name))continue;if($.has(N.name))continue;const q=findDependencyForName(R,N.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=N.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===j)continue;const le=E.getExportInfo(ae,N.name);const _e=le.getTerminalBinding(E);if(!_e)continue;if(G===_e)continue;const Ee=ie.get(q.request);if(Ee===undefined){ie.set(q.request,[N.name])}else{Ee.push(N.name)}}for(const[E,R]of ie){if(!N)N=[];N.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${R.length>1?"names":"name"} ${R.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return N}serialize(E){const{write:R,setCircularReference:N}=E;N(this);R(this.ids);R(this.name);R(this.activeExports);R(this.otherStarExports);R(this.exportPresenceMode);R(this.allStarExports);super.serialize(E)}deserialize(E){const{read:R,setCircularReference:N}=E;N(this);this.ids=R();this.name=R();this.activeExports=R();this.otherStarExports=R();this.exportPresenceMode=R();this.allStarExports=R();super.deserialize(E)}}we(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Be.Template{apply(E,R,N){const{moduleGraph:$,runtime:j,concatenationScope:q}=N;const G=E;const ie=G.getMode($,j);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,R,N);this._addExportFragments(N.initFragments,G,ie,N.module,$,j,N.runtimeTemplate,N.runtimeRequirements)}}_addExportFragments(E,R,N,$,j,q,le,we){const Ie=j.getModule(R);const Me=R.getImportVar(j);switch(N.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${N.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment($,"reexport default from dynamic",j.getExportsInfo($).getUsedName(N.name,q),Me,null,we));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments($,j.getExportsInfo($).getUsedName(N.name,q),Me,N.fakeType,we));break;case"reexport-undefined":E.push(this.getReexportFragment($,"reexport non-default export from non-harmony",j.getExportsInfo($).getUsedName(N.name,q),"undefined","",we));break;case"reexport-named-default":E.push(this.getReexportFragment($,"reexport default export from named module",j.getExportsInfo($).getUsedName(N.name,q),Me,"",we));break;case"reexport-namespace-object":E.push(this.getReexportFragment($,"reexport module object",j.getExportsInfo($).getUsedName(N.name,q),Me,"",we));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:le,hidden:_e}of N.items){if(_e)continue;if(le){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement($,ie,Me,ae,we),j.isAsync(Ie)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder))}else{E.push(this.getReexportFragment($,"reexport safe",j.getExportsInfo($).getUsedName(ie,q),Me,j.getExportsInfo(Ie).getUsedName(ae,q),we))}}break;case"dynamic-reexport":{const q=N.hidden?Ee(N.ignored,N.hidden):N.ignored;const ae=le.supportsConst()&&le.supportsArrowFunction();let Te="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${Me}) `;if(q.size>1){Te+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Te+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(_e(q))}) `}Te+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Te+=`() => ${Me}[__WEBPACK_IMPORT_KEY__]`}else{Te+=`function(key) { return ${Me}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}we.add(ie.exports);we.add(ie.definePropertyGetters);const Ne=$.exportsArgument;E.push(new G(`${Te}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,j.isAsync(Ie)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,R.sourceOrder));break}default:throw new Error(`Unknown mode ${N.type}`)}}getReexportFragment(E,R,N,$,j,q){const G=this.getReturnValue($,j);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(N,`/* ${R} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,R,N,$,j){j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.createFakeNamespaceObject);const q=new Map;q.set(R,`/* reexport fake namespace object from non-harmony */ ${N}_namespace_cache || (${N}_namespace_cache = ${ie.createFakeNamespaceObject}(${N}${$?`, ${$}`:""}))`);return[new G(`var ${N}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${N}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,R,N,$,j){if($===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(N,$);j.add(ie.exports);j.add(ie.definePropertyGetters);j.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${N}, ${JSON.stringify($[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(R)}: function() { return ${G}; } });\n`}getReturnValue(E,R){if(R===null){return`${E}_default.a`}if(R===""){return E}if(R===false){return"/* unused export */ undefined"}return`${E}${Ie(R)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:R}){R(this);E(this.dependencies)}deserialize({read:E,setCircularReference:R}){R(this);this.dependencies=E()}}we(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,R,N)=>{"use strict";const $=N(63272);const j=N(76150);const{first:q}=N(26221);const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends ${constructor(E,R=G,N=ie){super(undefined,$.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=R;this.unusedExports=N}mergeAll(E){let R;let N=false;let $;let j=false;for(const q of E){if(q.exportMap.size!==0){if(R===undefined){R=q.exportMap;N=false}else{if(!N){R=new Map(R);N=true}for(const[E,N]of q.exportMap){if(!R.has(E))R.set(E,N)}}}if(q.unusedExports.size!==0){if($===undefined){$=q.unusedExports;j=false}else{if(!j){$=new Set($);j=true}for(const E of q.unusedExports){$.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,R,$)}merge(E){let R;if(this.exportMap.size===0){R=E.exportMap}else if(E.exportMap.size===0){R=this.exportMap}else{R=new Map(E.exportMap);for(const[E,N]of this.exportMap){if(!R.has(E))R.set(E,N)}}let N;if(this.unusedExports.size===0){N=E.unusedExports}else if(E.unusedExports.size===0){N=this.unusedExports}else{N=new Set(E.unusedExports);for(const E of this.unusedExports){N.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,R,N)}getContent({runtimeTemplate:E,runtimeRequirements:R}){R.add(j.exports);R.add(j.definePropertyGetters);const N=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const $=[];for(const[R,N]of this.exportMap){$.push(`\n/* harmony export */ ${JSON.stringify(R)}: ${E.returningFunction(N)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${j.definePropertyGetters}(${this.exportsArgument}, {${$.join(",")}\n/* harmony export */ });\n`:"";return`${G}${N}`}}E.exports=HarmonyExportInitFragment},14696:(E,R,N)=>{"use strict";const $=N(56202);const j=N(82296);const q=N(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,R){super();this.id=E;this.name=R}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.id);R(this.name);super.serialize(E)}deserialize(E){const{read:R}=E;this.id=R();this.name=R();super.deserialize(E)}}$(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,R,{module:N,moduleGraph:$,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const le=$.getExportsInfo(N).getUsedName(ae.name,G);if(!le){const E=new Set;E.add(ae.name||"namespace");q.push(new j(N.exportsArgument,undefined,E));return}const _e=new Map;_e.set(le,`/* binding */ ${ae.id}`);q.push(new j(N.exportsArgument,_e,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,R)=>{"use strict";const N=new WeakMap;R.enable=(E,R)=>{const $=N.get(E);if($===false)return;N.set(E,true);if($!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(R){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};R.isEnabled=E=>{const R=N.get(E);return R===true}},37359:(E,R,N)=>{"use strict";const $=N(11518);const j=N(28706);const q=N(36756);const G=N(63272);const ie=N(58159);const ae=N(10813);const{filterRuntime:le,mergeRuntime:_e}=N(37416);const Ee=N(79983);const we={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return we.ERROR;case"warn":return we.WARN;case false:return we.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends Ee{constructor(E,R,N){super(E);this.sourceOrder=R;this.assertions=N}get category(){return"esm"}getReferencedExports(E,R){return j.NO_EXPORTS_REFERENCED}getImportVar(E){const R=E.getParentModule(this);const N=E.getMeta(R);let $=N.importVarMap;if(!$)N.importVarMap=$=new Map;let j=$.get(E.getModule(this));if(j)return j;j=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${$.size}__`;$.set(E.getModule(this),j);return j}getImportStatement(E,{runtimeTemplate:R,module:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){return R.importStatement({update:E,module:$.getModule(this),chunkGraph:j,importVar:this.getImportVar($),request:this.request,originModule:N,runtimeRequirements:q})}getLinkingErrors(E,R,N){const $=E.getModule(this);if(!$||$.getNumberOfErrors()>0){return}const j=E.getParentModule(this);const G=$.getExportsType(E,j.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(R.length===0){return}if((G!=="default-with-named"||R[0]!=="default")&&E.isExportProvided($,R)===false){let j=0;let G=E.getExportsInfo($);while(j`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'${$}`)]}G=$.getNestedExportsInfo()}return[new q(`export ${R.map((E=>`'${E}'`)).join(".")} ${N} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(R.length>0&&R[0]!=="default"){return[new q(`Can't import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(R.length>0&&R[0]!=="default"&&$.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${R.map((E=>`'${E}'`)).join(".")} ${N} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:R}=E;R(this.sourceOrder);R(this.assertions);super.serialize(E)}deserialize(E){const{read:R}=E;this.sourceOrder=R();this.assertions=R();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Ie=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends Ee.Template{apply(E,R,N){const j=E;const{module:q,chunkGraph:ie,moduleGraph:Ee,runtime:we}=N;const Me=Ee.getConnection(j);if(Me&&!Me.isTargetActive(we))return;const Te=Me&&Me.module;if(Me&&Me.weak&&Te&&ie.getModuleId(Te)===null){return}const Ne=Te?Te.identifier():j.request;const Be=`harmony import ${Ne}`;const Le=j.weak?false:Me?le(we,(E=>Me.isTargetActive(E))):true;if(q&&Te){let E=Ie.get(q);if(E===undefined){E=new WeakMap;Ie.set(q,E)}let R=Le;const N=E.get(Te)||false;if(N!==false&&R!==true){if(R===false||N===true){R=N}else{R=_e(N,R)}}E.set(Te,R)}const je=j.getImportStatement(false,N);if(Te&&N.moduleGraph.isAsync(Te)){N.initFragments.push(new $(je[0],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le));N.initFragments.push(new ae(new Set([j.getImportVar(N.moduleGraph)])));N.initFragments.push(new $(je[1],G.STAGE_ASYNC_HARMONY_IMPORTS,j.sourceOrder,Be+" compat",Le))}else{N.initFragments.push(new $(je[0]+je[1],G.STAGE_HARMONY_IMPORTS,j.sourceOrder,Be,Le))}}static getImportEmittedRuntime(E,R){const N=Ie.get(E);if(N===undefined)return false;return N.get(R)||false}};E.exports.ExportPresenceModes=we},29381:(E,R,N)=>{"use strict";const $=N(79972);const j=N(58018);const q=N(66298);const G=N(27790);const ie=N(80654);const ae=N(25702);const{ExportPresenceModes:le}=N(37359);const _e=N(69707);const Ee=N(2230);const we=Symbol("harmony import");function getAssertions(E){const R=E.assertions;if(R===undefined){return undefined}const N={};for(const E of R){const R=E.key.type==="Identifier"?E.key.name:E.key.value;N[R]=E.value.value}return N}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?le.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?le.fromUserOption(E.exportPresence):E.strictExportPresence?le.ERROR:le.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:R}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(R=>{const N=R;if(E.isVariableDefined(N.name)||E.getTagData(N.name,we)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const $=new q(E.isAsiPosition(R.range[0])?";":"",R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);E.unsetAsiPosition(R.range[1]);const j=getAssertions(R);const G=new _e(N,E.state.lastHarmonyImportOrder,j);G.loc=R.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((R,N,$,j)=>{const q=$===null?[]:[$];E.tagVariable(j,we,{name:j,source:N,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(R)});return true}));E.hooks.expression.for(we).tap("HarmonyImportDependencyParserPlugin",(N=>{const $=E.currentTagData;const q=new Ee($.source,$.sourceOrder,$.ids,$.name,N.range,R,$.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(N.range[0]);q.loc=N.loc;E.state.module.addDependency(q);j.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const q=E.currentTagData;const G=q.ids.concat($);const ie=new Ee(q.source,q.sourceOrder,G,q.name,N.range,R,q.assertions);ie.asiSafe=!E.isAsiPosition(N.range[0]);ie.loc=N.loc;E.state.module.addDependency(ie);j.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(we).tap("HarmonyImportDependencyParserPlugin",((N,$)=>{const{arguments:q,callee:G}=N;const ie=E.currentTagData;const ae=ie.ids.concat($);const le=new Ee(ie.source,ie.sourceOrder,ae,ie.name,G.range,R,ie.assertions);le.directImport=$.length===0;le.call=true;le.asiSafe=!E.isAsiPosition(G.range[0]);le.namespaceObjectAsContext=$.length>0&&this.strictThisContextOnImports;le.loc=G.loc;E.state.module.addDependency(le);if(q)E.walkExpressions(q);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));const{hotAcceptCallback:N,hotAcceptWithoutCallback:le}=$.getParserHooks(E);N.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,true);N.loc=R.loc;E.state.module.addDependency(N)}}));le.tap("HarmonyImportDependencyParserPlugin",((R,N)=>{if(!ae.isEnabled(E.state)){return}const $=N.map((N=>{const $=new ie(N);$.loc=R.loc;E.state.module.addDependency($);return $}));if($.length>0){const N=new G(R.range,$,false);N.loc=R.loc;E.state.module.addDependency(N)}}))}};E.exports.harmonySpecifierTag=we;E.exports.getAssertions=getAssertions},69707:(E,R,N)=>{"use strict";const $=N(56202);const j=N(37359);class HarmonyImportSideEffectDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"harmony side effect evaluation"}getCondition(E){return R=>{const N=R.resolvedModule;if(!N)return true;return N.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const R=E.getModule(this);if(!R)return true;return R.getSideEffectsConnectionState(E)}}$(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends j.Template{apply(E,R,N){const{moduleGraph:$,concatenationScope:j}=N;if(j){const R=$.getModule(E);if(j.isModuleInScope(R)){return}}super.apply(E,R,N)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,R,N)=>{"use strict";const $=N(28706);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(68038);const ie=N(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:le}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,R,N,$,j,q,G){super(E,R,G);this.ids=N;this.name=$;this.range=j;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const R=E.getMetaIfExisting(this);if(R===undefined)return this.ids;const N=R[ae];return N!==undefined?N:this.ids}setIds(E,R){E.getMeta(this)[ae]=R}getCondition(E){return j(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,R){let N=this.getIds(E);if(N.length===0)return $.EXPORTS_OBJECT_REFERENCED;let j=this.namespaceObjectAsContext;if(N[0]==="default"){const R=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,R.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(1);j=true;break;case"dynamic":return $.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&(j||N.length>1)){if(N.length===1)return $.EXPORTS_OBJECT_REFERENCED;N=N.slice(0,-1)}return[N]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==le.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?le.ERROR:le.WARN}getWarnings(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.WARN){return this._getErrors(E)}return null}getErrors(E){const R=this._getEffectiveExportPresenceLevel(E);if(R===le.ERROR){return this._getErrors(E)}return null}_getErrors(E){const R=this.getIds(E);return this.getLinkingErrors(E,R,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:R}=E;R(this.ids);R(this.name);R(this.range);R(this.exportPresenceMode);R(this.namespaceObjectAsContext);R(this.call);R(this.directImport);R(this.shorthand);R(this.asiSafe);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.ids=R();this.name=R();this.range=R();this.exportPresenceMode=R();this.namespaceObjectAsContext=R();this.call=R();this.directImport=R();this.shorthand=R();this.asiSafe=R();this.usedByExports=R();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,R,N){const $=E;const{moduleGraph:j,module:q,runtime:ie,concatenationScope:ae}=N;const le=j.getConnection($);if(le&&!le.isTargetActive(ie))return;const _e=$.getIds(j);let Ee;if(le&&ae&&ae.isModuleInScope(le.module)){if(_e.length===0){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})}else if($.namespaceObjectAsContext&&_e.length===1){Ee=ae.createModuleReference(le.module,{asiSafe:$.asiSafe})+G(_e)}else{Ee=ae.createModuleReference(le.module,{ids:_e,call:$.call,directImport:$.directImport,asiSafe:$.asiSafe})}}else{super.apply(E,R,N);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:le}=N;Ee=G.exportFromImport({moduleGraph:j,module:j.getModule($),request:$.request,exportName:_e,originModule:q,asiSafe:$.shorthand?true:$.asiSafe,isCall:$.call,callContext:!$.directImport,defaultInterop:true,importVar:$.getImportVar(j),initFragments:ae,runtime:ie,runtimeRequirements:le})}if($.shorthand){R.insert($.range[1],`: ${Ee}`)}else{R.replace($.range[0],$.range[1]-1,Ee)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,R,N)=>{"use strict";const $=N(27790);const j=N(80654);const q=N(54290);const G=N(55037);const ie=N(48752);const ae=N(44576);const le=N(14696);const _e=N(69707);const Ee=N(2230);const we=N(11720);const Ie=N(16081);const Me=N(29381);const Te=N(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,R);E.dependencyTemplates.set(Ee,new Ee.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);const handler=(E,R)=>{if(R.harmony!==undefined&&!R.harmony)return;new we(this.options).apply(E);new Me(R).apply(E);new Ie(R).apply(E);(new Te).apply(E)};R.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);R.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,R,N)=>{"use strict";const $=N(66298);const j=N(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(R=>{if(!E.scope.topLevelScope)return;if(j.isEnabled(E.state)){const N=new $("undefined",R.range,null);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(42740);class ImportContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class ImportDependency extends q{constructor(E,R,N){super(E);this.range=R;this.referencedExports=N}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,R){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):$.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}j(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.moduleNamespacePromise({chunkGraph:q,block:ae,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,le)}};E.exports=ImportDependency},75708:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportEagerDependency extends j{constructor(E,R,N){super(E,R,N)}get type(){return"import() eager"}get category(){return"esm"}}$(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}$(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ImportMetaHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}$(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(23280);const q=N(58159);const G=N(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:le,evaluateToNumber:_e}=N(48472);const Ee=N(91671);const we=N(68038);const Ie=N(66298);const Me=Ee((()=>N(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:R})=>{const getUrl=E=>$(E.resource).toString();const parserHandler=(E,R)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(R=>{const N=Me();E.state.module.addWarning(new j(E.state.module,new N("Accessing import.meta directly is unsupported (only property access is supported)"),R.loc));const $=new Ie(`${E.isAsiPosition(R.range[0])?";":""}({})`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",le("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(R=>{const N=new Ie(JSON.stringify(getUrl(E.state.module)),R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",le("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(R=>(new G).setString(getUrl(E.state.module)).setRange(R.range)));const $=parseInt(N(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify($)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",le("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",_e($));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((R,N)=>{const $=new Ie(`${q.toNormalComment("unsupported import.meta."+N.join("."))} undefined${we(N,1)}`,R.range);$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const R=E;if(R.object.type==="MetaProperty"&&R.object.meta.name==="import"&&R.object.property.name==="meta"&&R.property.type===(R.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(R.range)}}))};R.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);R.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,R,N)=>{"use strict";const $=N(98221);const j=N(47207);const q=N(53558);const G=N(95601);const ie=N(4828);const ae=N(20013);const le=N(75708);const _e=N(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(R=>{const N=E.evaluateExpression(R.source);let Ee=null;let we="lazy";let Ie=null;let Me=null;let Te=null;const Ne={};const{options:Be,errors:Le}=E.parseCommentOptions(R.range);if(Le){for(const R of Le){const{comment:N}=R;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${R.message}`,N.loc))}}if(Be){if(Be.webpackIgnore!==undefined){if(typeof Be.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Be.webpackIgnore}.`,R.loc))}else{if(Be.webpackIgnore){return false}}}if(Be.webpackChunkName!==undefined){if(typeof Be.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Be.webpackChunkName}.`,R.loc))}else{Ee=Be.webpackChunkName}}if(Be.webpackMode!==undefined){if(typeof Be.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Be.webpackMode}.`,R.loc))}else{we=Be.webpackMode}}if(Be.webpackPrefetch!==undefined){if(Be.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Be.webpackPrefetch==="number"){Ne.prefetchOrder=Be.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Be.webpackPrefetch}.`,R.loc))}}if(Be.webpackPreload!==undefined){if(Be.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Be.webpackPreload==="number"){Ne.preloadOrder=Be.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Be.webpackPreload}.`,R.loc))}}if(Be.webpackInclude!==undefined){if(!Be.webpackInclude||Be.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Be.webpackInclude}.`,R.loc))}else{Ie=new RegExp(Be.webpackInclude)}}if(Be.webpackExclude!==undefined){if(!Be.webpackExclude||Be.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Be.webpackExclude}.`,R.loc))}else{Me=new RegExp(Be.webpackExclude)}}if(Be.webpackExports!==undefined){if(!(typeof Be.webpackExports==="string"||Array.isArray(Be.webpackExports)&&Be.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Be.webpackExports}.`,R.loc))}else{if(typeof Be.webpackExports==="string"){Te=[[Be.webpackExports]]}else{Te=Array.from(Be.webpackExports,(E=>[E]))}}}}if(N.isString()){if(we!=="lazy"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${we}.`,R.loc))}if(we==="eager"){const $=new le(N.string,R.range,Te);E.state.current.addDependency($)}else if(we==="weak"){const $=new _e(N.string,R.range,Te);E.state.current.addDependency($)}else{const j=new $({...Ne,name:Ee},R.loc,N.string);const q=new ae(N.string,R.range,Te);q.loc=R.loc;j.addDependency(q);E.state.current.addBlock(j)}return true}else{if(we!=="lazy"&&we!=="lazy-once"&&we!=="eager"&&we!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${we}.`,R.loc));we="lazy"}if(we==="weak"){we="async-weak"}const $=G.create(ie,R.range,N,R,this.options,{chunkName:Ee,groupOptions:Ne,include:Ie,exclude:Me,mode:we,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Te},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}}))}}E.exports=ImportParserPlugin},54975:(E,R,N)=>{"use strict";const $=N(4828);const j=N(20013);const q=N(75708);const G=N(81467);const ie=N(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:R,normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,N);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.import!==undefined&&!R.import)return;new G(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,R,N)=>{"use strict";const $=N(56202);const j=N(20013);class ImportWeakDependency extends j{constructor(E,R,N){super(E,R,N);this.weak=true}get type(){return"import() weak"}}$(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N,module:$,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=N.moduleNamespacePromise({chunkGraph:q,module:j.getModule(ie),request:ie.request,strict:$.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});R.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,R)=>({name:`${R}`,canMangle:true,exports:getExportsFromData(E)})))}else{const R=[];for(const N of Object.keys(E)){R.push({name:N,canMangle:true,exports:getExportsFromData(E[N])})}return R}}return undefined};class JsonExportsDependency extends j{constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.exports);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();super.deserialize(E)}}$(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,R,N)=>{"use strict";const $=N(79983);class LoaderDependency extends ${constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,R,N)=>{"use strict";const $=N(79983);class LoaderImportDependency extends ${constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,R,N)=>{"use strict";const $=N(53520);const j=N(83379);const q=N(32876);const G=N(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(G,R)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const R=E.moduleGraph;$.getCompilationHooks(E).loader.tap("LoaderPlugin",(N=>{N.loadModule=($,G)=>{const ie=new q($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,context:N.context,recursive:false},($=>{E.buildQueue.decreaseParallelism();if($){return G($)}const q=R.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let le,_e;if(ae.sourceAndMap){const E=ae.sourceAndMap();_e=E.map;le=E.source}else{_e=ae.map();le=ae.source()}const Ee=new j;const we=new j;const Ie=new j;const Me=new j;q.addCacheDependencies(Ee,we,Ie,Me);for(const E of Ee){N.addDependency(E)}for(const E of we){N.addContextDependency(E)}for(const E of Ie){N.addMissingDependency(E)}for(const E of Me){N.addBuildDependency(E)}return G(null,le,_e,q)}))};const importModule=($,j,q)=>{const ie=new G($);ie.loc={name:$};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:N._module,contextInfo:{issuerLayer:j.layer},context:N.context,connectOrigin:false},($=>{E.buildQueue.decreaseParallelism();if($){return q($)}const G=R.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:j.publicPath}},((E,R)=>{if(E)return q(E);for(const E of R.fileDependencies){N.addDependency(E)}for(const E of R.contextDependencies){N.addContextDependency(E)}for(const E of R.missingDependencies){N.addMissingDependency(E)}for(const E of R.buildDependencies){N.addBuildDependency(E)}if(R.cacheable===false)N.cacheable(false);for(const[E,{source:$,info:j}]of R.assets){const{buildInfo:R}=N._module;if(!R.assets){R.assets=Object.create(null);R.assetsInfo=new Map}R.assets[E]=$;R.assetsInfo.set(E,j)}q(null,R.exports)}))}))};N.importModule=(E,R,N)=>{if(!N){return new Promise(((N,$)=>{importModule(E,R||{},((E,R)=>{if(E)$(E);else N(R)}))}))}return importModule(E,R||{},N)}}))}))}}E.exports=LoaderPlugin},77230:(E,R,N)=>{"use strict";const $=N(56202);class LocalModule{constructor(E,R){this.name=E;this.idx=R;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:R}=E;R(this.name);R(this.idx);R(this.used)}deserialize(E){const{read:R}=E;this.name=R();this.idx=R();this.used=R()}}$(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class LocalModuleDependency extends j{constructor(E,R,N){super();this.localModule=E;this.range=R;this.callNew=N}serialize(E){const{write:R}=E;R(this.localModule);R(this.range);R(this.callNew);super.serialize(E)}deserialize(E){const{read:R}=E;this.localModule=R();this.range=R();this.callNew=R();super.deserialize(E)}}$(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends j.Template{apply(E,R,N){const $=E;if(!$.range)return;const j=$.callNew?`new (function () { return ${$.localModule.variableName()}; })()`:$.localModule.variableName();R.replace($.range[0],$.range[1]-1,j)}};E.exports=LocalModuleDependency},61701:(E,R,N)=>{"use strict";const $=N(77230);const lookup=(E,R)=>{if(R.charAt(0)!==".")return R;var N=E.split("/");var $=R.split("/");N.pop();for(let E=0;E<$.length;E++){const R=$[E];if(R===".."){N.pop()}else if(R!=="."){N.push(R)}}return N.join("/")};R.addLocalModule=(E,R)=>{if(!E.localModules){E.localModules=[]}const N=new $(R,E.localModules.length);E.localModules.push(N);return N};R.getLocalModule=(E,R,N)=>{if(!E.localModules)return null;if(N){R=lookup(N,R)}for(let N=0;N{"use strict";const $=N(28706);const j=N(63272);const q=N(76150);const G=N(56202);const ie=N(12197);class ModuleDecoratorDependency extends ie{constructor(E,R){super();this.decorator=E;this.allowExportsAccess=R;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,R){return this.allowExportsAccess?$.EXPORTS_OBJECT_REFERENCED:$.NO_EXPORTS_REFERENCED}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.decorator);R(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:R}=E;this.decorator=R();this.allowExportsAccess=R();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,R,{module:N,chunkGraph:$,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new j(`/* module decorator */ ${N.moduleArgument} = ${ae.decorator}(${N.moduleArgument});\n`,j.STAGE_PROVIDES,0,`module decorator ${$.getModuleId(N)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);const q=N(91671);const G=q((()=>N(22804)));class ModuleDependency extends ${constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const R=G();return new R("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:R}=E;R(this.request);R(this.userRequest);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.userRequest=R();this.range=R();super.deserialize(E)}}ModuleDependency.Template=j;E.exports=ModuleDependency},80791:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j}){const q=E;if(!q.range)return;const G=N.moduleId({module:$.getModule(q),chunkGraph:j,request:q.request,weak:q.weak});R.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,R,N)=>{"use strict";const $=N(79983);class ModuleDependencyTemplateAsRequireId extends $.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:$,chunkGraph:j,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=N.moduleExports({module:$.getModule(G),chunkGraph:j,request:G.request,weak:G.weak,runtimeRequirements:q});R.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotAcceptDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}$(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(80791);class ModuleHotDeclineDependency extends j{constructor(E,R){super(E);this.range=R;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}$(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,R,N)=>{"use strict";const $=N(28706);const j=N(84304);class NullDependency extends ${get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends j{apply(E,R,N){}};E.exports=NullDependency},88281:(E,R,N)=>{"use strict";const $=N(79983);class PrefetchDependency extends ${constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,R,N)=>{"use strict";const $=N(63272);const j=N(56202);const q=N(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,R,N,$){super(E);this.identifier=R;this.path=N;this.range=$;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.identifier);R(this.path);super.serialize(E)}deserialize(E){const{read:R}=E;this.identifier=R();this.path=R();super.deserialize(E)}}j(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new $(`/* provided dependency */ var ${ae.identifier} = ${N.moduleExports({module:j.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,$.STAGE_PROVIDES,1,`provided ${ae.identifier}`));R.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=N(56202);const{filterRuntime:q}=N(37416);const G=N(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:R}=E;R(this.range);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.usedByExports=R();super.deserialize(E)}}j(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,R,{chunkGraph:N,moduleGraph:j,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const le=E;const _e=le.usedByExports;if(_e!==false){const E=j.getParentModule(le);const Ee=j.getExportsInfo(E);const we=q(G,(E=>{for(const R of _e){if(Ee.getUsed(R,E)!==$.Unused){return true}}return false}));if(we===true)return;if(we!==false){const E=ie.runtimeConditionExpression({chunkGraph:N,runtime:G,runtimeCondition:we,runtimeRequirements:ae});R.insert(le.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);R.insert(le.range[1],") : null)");return}}R.insert(le.range[0],`(/* unused pure expression or super */ null && (`);R.insert(le.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(87283);class RequireContextDependency extends j{constructor(E,R){super(E);this.range=R}get type(){return"require.context"}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();super.deserialize(E)}}$(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,R,N)=>{"use strict";const $=N(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(R=>{let N=/^\.\/.*$/;let j=true;let q="sync";switch(R.arguments.length){case 4:{const N=E.evaluateExpression(R.arguments[3]);if(!N.isString())return;q=N.string}case 3:{const $=E.evaluateExpression(R.arguments[2]);if(!$.isRegExp())return;N=$.regExp}case 2:{const N=E.evaluateExpression(R.arguments[1]);if(!N.isBoolean())return;j=N.bool}case 1:{const G=E.evaluateExpression(R.arguments[0]);if(!G.isString())return;const ie=new $({request:G.string,recursive:j,regExp:N,mode:q,category:"commonjs"},R.range);ie.loc=R.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,R,N)=>{"use strict";const{cachedSetProperty:$}=N(90149);const j=N(90872);const q=N(19204);const G=N(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((R,{contextModuleFactory:N,normalModuleFactory:ae})=>{R.dependencyFactories.set(q,N);R.dependencyTemplates.set(q,new q.Template);R.dependencyFactories.set(j,ae);const handler=(E,R)=>{if(R.requireContext!==undefined&&!R.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);N.hooks.alternativeRequests.tap("RequireContextPlugin",((R,N)=>{if(R.length===0)return R;const j=E.resolverFactory.get("normal",$(N.resolveOptions||ie,"dependencyType",N.category)).options;let q;if(!j.fullySpecified){q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.extensions){if(R.endsWith(E)){q.push({context:N,request:R.slice(0,-E.length)})}}if(!j.enforceExtension){q.push(E)}}R=q;q=[];for(const E of R){const{request:R,context:N}=E;for(const E of j.mainFiles){if(R.endsWith(`/${E}`)){q.push({context:N,request:R.slice(0,-E.length)});q.push({context:N,request:R.slice(0,-E.length-1)})}}q.push(E)}R=q}q=[];for(const E of R){let R=false;for(const N of j.modules){if(Array.isArray(N)){for(const $ of N){if(E.request.startsWith(`./${$}/`)){q.push({context:E.context,request:E.request.slice($.length+3)});R=true}}}else{const R=N.replace(/\\/g,"/");const $=E.context.replace(/\\/g,"/")+E.request.slice(1);if($.startsWith(R)){q.push({context:E.context,request:$.slice(R.length+1)})}}}if(!R){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,R,N)=>{"use strict";const $=N(98221);const j=N(56202);class RequireEnsureDependenciesBlock extends ${constructor(E,R){super(E,R,null)}}j(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,R,N)=>{"use strict";const $=N(15196);const j=N(15427);const q=N(81058);const G=N(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(R=>{let N=null;let ie=null;let ae=null;switch(R.arguments.length){case 4:{const $=E.evaluateExpression(R.arguments[3]);if(!$.isString())return;N=$.string}case 3:{ie=R.arguments[2];ae=G(ie);if(!ae&&!N){const $=E.evaluateExpression(R.arguments[2]);if(!$.isString())return;N=$.string}}case 2:{const le=E.evaluateExpression(R.arguments[0]);const _e=le.isArray()?le.items:[le];const Ee=R.arguments[1];const we=G(Ee);if(we){E.walkExpressions(we.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Ie=new $(N,R.loc);const Me=R.arguments.length===4||!N&&R.arguments.length===3;const Te=new j(R.range,R.arguments[1].range,Me&&R.arguments[2].range);Te.loc=R.loc;Ie.addDependency(Te);const Ne=E.state.current;E.state.current=Ie;try{let N=false;E.inScope([],(()=>{for(const E of _e){if(E.isString()){const N=new q(E.string);N.loc=E.loc||R.loc;Ie.addDependency(N)}else{N=true}}}));if(N){return}if(we){if(we.fn.body.type==="BlockStatement"){E.walkStatement(we.fn.body)}else{E.walkExpression(we.fn.body)}}Ne.addBlock(Ie)}finally{E.state.current=Ne}if(!we){E.walkExpression(Ee)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireEnsureDependency extends q{constructor(E,R,N){super();this.range=E;this.contentRange=R;this.errorHandlerRange=N}get type(){return"require.ensure"}serialize(E){const{write:R}=E;R(this.range);R(this.contentRange);R(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.contentRange=R();this.errorHandlerRange=R();super.deserialize(E)}}j(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,R,{runtimeTemplate:N,moduleGraph:j,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=j.getParentBlock(ie);const le=N.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const _e=ie.range;const Ee=ie.contentRange;const we=ie.errorHandlerRange;R.replace(_e[0],Ee[0]-1,`${le}.then((`);if(we){R.replace(Ee[1],we[0]-1,").bind(null, __webpack_require__))['catch'](");R.replace(we[1],_e[1]-1,")")}else{R.replace(Ee[1],_e[1]-1,`).bind(null, __webpack_require__))['catch'](${$.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,R,N)=>{"use strict";const $=N(56202);const j=N(79983);const q=N(12197);class RequireEnsureItemDependency extends j{constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}$(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,R,N)=>{"use strict";const $=N(15427);const j=N(81058);const q=N(90616);const{evaluateToString:G,toConstantDependency:ie}=N(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(j,R);E.dependencyTemplates.set(j,new j.Template);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireEnsure!==undefined&&!R.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};R.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,R,N)=>{"use strict";const $=N(76150);const j=N(56202);const q=N(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireHeaderDependency(E.read());R.deserialize(E);return R}}j(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,R,{runtimeRequirements:N}){const j=E;N.add($.require);R.replace(j.range[0],j.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class RequireIncludeDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N}){const $=E;const q=N.outputOptions.pathinfo?j.toComment(`require.include ${N.requestShortener.shorten($.request)}`):"";R.replace($.range[0],$.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,R,N)=>{"use strict";const $=N(81627);const{evaluateToString:j,toConstantDependency:q}=N(48472);const G=N(56202);const ie=N(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:R}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(N=>{if(N.arguments.length!==1)return;const $=E.evaluateExpression(N.arguments[0]);if(!$.isString())return;if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}const j=new ie($.string,N.range);j.loc=N.loc;E.state.current.addDependency(j);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return j("function")(N)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(N=>{if(R){E.state.module.addWarning(new RequireIncludeDeprecationWarning(N.loc))}return q(E,JSON.stringify("function"))(N)}))}};class RequireIncludeDeprecationWarning extends ${constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,R,N)=>{"use strict";const $=N(63556);const j=N(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{if(R.requireInclude===false)return;const N=R.requireInclude===undefined;new j(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,R,N)=>{"use strict";const $=N(56202);const j=N(400);const q=N(94148);class RequireResolveContextDependency extends j{constructor(E,R,N){super(E);this.range=R;this.valueRange=N}get type(){return"amd require context"}serialize(E){const{write:R}=E;R(this.range);R(this.valueRange);super.serialize(E)}deserialize(E){const{read:R}=E;this.range=R();this.valueRange=R();super.deserialize(E)}}$(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);const G=N(80791);class RequireResolveDependency extends q{constructor(E,R){super(E);this.range=R}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}}j(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RequireResolveHeaderDependency extends j{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:R}=E;R(this.range);super.serialize(E)}static deserialize(E){const R=new RequireResolveHeaderDependency(E.read());R.deserialize(E);return R}}$(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends j.Template{apply(E,R,N){const $=E;R.replace($.range[0],$.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,R,N){N.replace(R.range[0],R.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class RuntimeRequirementsDependency extends j{constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,R){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:R}=E;R(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:R}=E;this.runtimeRequirements=R();super.deserialize(E)}}$(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends j.Template{apply(E,R,{runtimeRequirements:N}){const $=E;for(const E of $.runtimeRequirements){N.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class StaticExportsDependency extends j{constructor(E,R){super();this.exports=E;this.canMangle=R}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:R}=E;R(this.exports);R(this.canMangle);super.serialize(E)}deserialize(E){const{read:R}=E;this.exports=R();this.canMangle=R();super.deserialize(E)}}$(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,R,N)=>{"use strict";const $=N(76150);const j=N(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=N(48472);const ae=N(56202);const le=N(66298);const _e=N(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:R})=>{E.hooks.runtimeRequirementInModule.for($.system).tap("SystemPlugin",((E,R)=>{R.add($.requireScope)}));E.hooks.runtimeRequirementInTree.for($.system).tap("SystemPlugin",((R,N)=>{E.addRuntimeModule(R,new _e)}));const handler=(E,R)=>{if(R.system===undefined||!R.system){return}const setNotSupported=R=>{E.hooks.evaluateTypeof.for(R).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(R).tap("SystemPlugin",G(E,R+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(R=>{const N=new le($.system,R.range,[$.system]);N.loc=R.loc;E.state.module.addPresentationalDependency(N);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(R=>{E.state.module.addWarning(new SystemImportDeprecationWarning(R.loc));return E.hooks.importCall.call({type:"ImportExpression",source:R.arguments[0],loc:R.loc,range:R.range})}))};R.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends j{constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class SystemRuntimeModule extends j{constructor(){super("system")}generate(){return q.asString([`${$.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,R,N)=>{"use strict";const $=N(76150);const{getDependencyUsedByExportsCondition:j}=N(58018);const q=N(56202);const G=N(91671);const ie=N(79983);const ae=G((()=>N(22804)));class URLDependency extends ie{constructor(E,R,N,$){super(E);this.range=R;this.outerRange=N;this.relative=$||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return j(this,this.usedByExports,E)}createIgnoredModule(E){const R=ae();return new R('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([$.module]))}serialize(E){const{write:R}=E;R(this.outerRange);R(this.relative);R(this.usedByExports);super.serialize(E)}deserialize(E){const{read:R}=E;this.outerRange=R();this.relative=R();this.usedByExports=R();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,R,N){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=N;const le=E;const _e=q.getConnection(le);if(_e&&!_e.isTargetActive(ae)){R.replace(le.outerRange[0],le.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add($.require);if(le.relative){G.add($.relativeUrl);R.replace(le.outerRange[0],le.outerRange[1]-1,`/* asset import */ new ${$.relativeUrl}(${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})})`)}else{G.add($.baseURI);R.replace(le.range[0],le.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:j,module:q.getModule(le),request:le.request,runtimeRequirements:G,weak:false})}, ${$.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,R,N)=>{"use strict";const{approve:$}=N(48472);const j=N(58018);const q=N(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,R)=>{if(R.url===false)return;const N=R.url==="relative";const getUrlRequest=R=>{if(R.arguments.length!==2)return;const[N,$]=R.arguments;if($.type!=="MemberExpression"||N.type==="SpreadElement")return;const j=E.extractMemberExpressionChain($);if(j.members.length!==1||j.object.type!=="MetaProperty"||j.object.meta.name!=="import"||j.object.property.name!=="meta"||j.members[0]!=="url")return;const q=E.evaluateExpression(N).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",$);E.hooks.new.for("URL").tap("URLPlugin",(R=>{const $=R;const G=getUrlRequest($);if(!G)return;const[ie,ae]=$.arguments;const le=new q(G,[ie.range[0],ae.range[1]],$.range,N);le.loc=$.loc;E.state.module.addDependency(le);j.onUsage(E.state,(E=>le.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(R=>{const N=R;const{callee:$}=N;if($.type!=="Identifier")return;const j=E.getFreeInfoFromVariable($.name);if(!j||j.name!=="URL")return;const q=getUrlRequest(N);if(q)return true}))};R.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);R.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,R,N)=>{"use strict";const $=N(56202);const j=N(12197);class UnsupportedDependency extends j{constructor(E,R){super();this.request=E;this.range=R}serialize(E){const{write:R}=E;R(this.request);R(this.range);super.serialize(E)}deserialize(E){const{read:R}=E;this.request=R();this.range=R();super.deserialize(E)}}$(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends j.Template{apply(E,R,{runtimeTemplate:N}){const $=E;R.replace($.range[0],$.range[1],N.missingModule({request:$.request}))}};E.exports=UnsupportedDependency},30697:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);const q=N(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,R,N,$){super(R);this.exportName=E;this.name=N;this.valueType=$}couldAffectReferencingModule(){return $.TRANSITIVE}getReferencedExports(E,R){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:R}=E;R(this.exportName);R(this.name);R(this.valueType);super.serialize(E)}deserialize(E){const{read:R}=E;this.exportName=R();this.name=R();this.valueType=R();super.deserialize(E)}}j(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,R,N)=>{"use strict";const $=N(56202);const j=N(59422);const q=N(79983);class WebAssemblyImportDependency extends q{constructor(E,R,N,$){super(E);this.name=R;this.description=N;this.onlyDirectImport=$}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,R){return[[this.name]]}getErrors(E){const R=E.getModule(this);if(this.onlyDirectImport&&R&&!R.type.startsWith("webassembly")){return[new j(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:R}=E;R(this.name);R(this.description);R(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:R}=E;this.name=R();this.description=R();this.onlyDirectImport=R();super.deserialize(E)}}$(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,R,N)=>{"use strict";const $=N(28706);const j=N(58159);const q=N(56202);const G=N(79983);class WebpackIsIncludedDependency extends G{constructor(E,R){super(E);this.weak=true;this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,R,{runtimeTemplate:N,chunkGraph:$,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?$.getNumberOfModuleChunks(ie.module)>0:false;const le=N.outputOptions.pathinfo?j.toComment(`__webpack_is_included__ ${N.requestShortener.shorten(G.request)}`):"";R.replace(G.range[0],G.range[1]-1,`${le}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,R,N)=>{"use strict";const $=N(28706);const j=N(76150);const q=N(56202);const G=N(79983);class WorkerDependency extends G{constructor(E,R){super(E);this.range=R}getReferencedExports(E,R){return $.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,R,N){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G}=N;const ie=E;const ae=q.getParentBlock(E);const le=$.getBlockChunkGroup(ae);const _e=le.getEntrypointChunk();G.add(j.publicPath);G.add(j.baseURI);G.add(j.getChunkScriptFilename);R.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${j.publicPath} + ${j.getChunkScriptFilename}(${JSON.stringify(_e.id)}), ${j.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,R,N)=>{"use strict";const{pathToFileURL:$}=N(57310);const j=N(98221);const q=N(47207);const G=N(53558);const ie=N(50369);const{equals:ae}=N(73910);const le=N(35891);const{contextify:_e}=N(49197);const Ee=N(69085);const we=N(66298);const Ie=N(7257);const{harmonySpecifierTag:Me}=N(29381);const Te=N(89017);const getUrl=E=>$(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Be=new WeakMap;class WorkerPlugin{constructor(E,R,N){this._chunkLoading=E;this._wasmLoading=R;this._module=N}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new Ee(this._wasmLoading).apply(E)}const R=_e.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(Te,N);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(Ie,new Ie.Template);const parseModuleUrl=(E,R)=>{if(R.type!=="NewExpression"||R.callee.type==="Super"||R.arguments.length!==2)return;const[N,$]=R.arguments;if(N.type==="SpreadElement")return;if($.type==="SpreadElement")return;const j=E.evaluateExpression(R.callee);if(!j.isIdentifier()||j.identifier!=="URL")return;const q=E.evaluateExpression($);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(N);return[G,[N.range[0],$.range[1]]]};const parseObjectExpression=(E,R)=>{const N={};const $={};const j=[];let q=false;for(const G of R.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){$[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const R=E.evaluateExpression(G.value);if(R.isCompileTimeValue())N[G.key.name]=R.asCompileTimeValue()}}else{j.push(G)}}const G=R.properties.length>0?"comma":"single";const ie=R.properties[R.properties.length-1].range[1];return{expressions:$,otherElements:j,values:N,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(N,$)=>{if($.worker===false)return;const ie=!Array.isArray($.worker)?["..."]:$.worker;const handleNewWorker=$=>{if($.arguments.length===0||$.arguments.length>2)return;const[ie,ae]=$.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const _e=parseModuleUrl(N,ie);if(!_e)return;const[Ee,Me]=_e;if(!Ee.isString())return;const{expressions:Ne,otherElements:Le,values:je,spread:ze,insertType:Ue,insertLocation:qe}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(N,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:Ge,errors:He}=N.parseCommentOptions($.range);if(He){for(const E of He){const{comment:R}=E;N.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${E.message}`,R.loc))}}let We={};if(Ge){if(Ge.webpackIgnore!==undefined){if(typeof Ge.webpackIgnore!=="boolean"){N.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${Ge.webpackIgnore}.`,$.loc))}else{if(Ge.webpackIgnore){return false}}}if(Ge.webpackEntryOptions!==undefined){if(typeof Ge.webpackEntryOptions!=="object"||Ge.webpackEntryOptions===null){N.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${Ge.webpackEntryOptions}.`,$.loc))}else{Object.assign(We,Ge.webpackEntryOptions)}}if(Ge.webpackChunkName!==undefined){if(typeof Ge.webpackChunkName!=="string"){N.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${Ge.webpackChunkName}.`,$.loc))}else{We.name=Ge.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(We,"name")&&je&&typeof je.name==="string"){We.name=je.name}if(We.runtime===undefined){let $=Be.get(N.state)||0;Be.set(N.state,$+1);let j=`${R(N.state.module.identifier())}|${$}`;const q=le(E.outputOptions.hashFunction);q.update(j);const G=q.digest(E.outputOptions.hashDigest);We.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const Ve=new j({name:We.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...We}});Ve.loc=$.loc;const Ke=new Te(Ee.string,Me);Ke.loc=$.loc;Ve.addDependency(Ke);N.state.module.addBlock(Ve);if(E.outputOptions.trustedTypes){const E=new Ie($.arguments[0].range);E.loc=$.loc;N.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(je.type!==false){const R=new we(this._module?'"module"':"undefined",E.range);R.loc=E.loc;N.state.module.addPresentationalDependency(R);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||ze){const E=new we(`, type: ${this._module?'"module"':"undefined"}`,qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new we("Object.assign({}, ",qe[0]);const R=new we(`, { type: ${this._module?'"module"':"undefined"} })`,qe[1]);E.loc=$.loc;R.loc=$.loc;N.state.module.addPresentationalDependency(E);N.state.module.addPresentationalDependency(R)}else if(Ue==="argument"){if(this._module){const E=new we(', { type: "module" }',qe);E.loc=$.loc;N.state.module.addPresentationalDependency(E)}}N.walkExpression($.callee);for(const E of Object.keys(Ne)){if(Ne[E])N.walkExpression(Ne[E])}for(const E of Le){N.walkProperty(E)}if(Ue==="spread"){N.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){N.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const R=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(R){const E=R[1].split(".");const $=R[2];const j=R[3];($?N.hooks.call:N.hooks.new).for(Me).tap("WorkerPlugin",(R=>{const $=N.currentTagData;if(!$||$.source!==j||!ae($.ids,E)){return}return handleNewWorker(R)}))}else{N.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};N.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);N.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const processExportInfo=(E,R,N,j,q=false,G=new Set)=>{if(!j){R.push(N);return}const ie=j.getUsed(E);if(ie===$.Unused)return;if(G.has(j)){R.push(N);return}G.add(j);if(ie!==$.OnlyPropertiesUsed||!j.exportsInfo||j.exportsInfo.otherExportsInfo.getUsed(E)!==$.Unused){G.delete(j);R.push(N);return}const ae=j.exportsInfo;for(const $ of ae.orderedExports){processExportInfo(E,R,q&&$.name==="default"?N:N.concat($.name),$,false,G)}G.delete(j)};E.exports=processExportInfo},25726:(E,R,N)=>{"use strict";const $=N(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new $("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new $("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new $("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,R,N)=>{"use strict";const $=N(81627);class BuildCycleError extends ${constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,R,N)=>{"use strict";const $=N(66804);class ExportWebpackRequireRuntimeModule extends ${constructor(){super("export webpack runtime",$.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,R,N)=>{"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const{RuntimeGlobals:q}=N(86443);const G=N(22352);const ie=N(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((R,N)=>{if(R.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(R)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("ModuleChunkFormatPlugin",((N,ae)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Ie}=ae;const Me=Ee instanceof G?Ee:null;const Te=new $;if(Me){throw new Error("HMR is not implemented for module chunk format yet")}else{Te.add(`export const id = ${JSON.stringify(Ee.id)};\n`);Te.add(`export const ids = ${JSON.stringify(Ee.ids)};\n`);Te.add(`export const modules = `);Te.add(N);Te.add(`;\n`);const G=we.getChunkRuntimeModulesInOrder(Ee);if(G.length>0){Te.add("export const runtime =\n");Te.add(ie.renderChunkRuntimeModules(G,ae))}const Me=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Me.length>0){const N=Me[0][1].getRuntimeChunk();const G=E.getPath(le(Ee,E.outputOptions),{chunk:Ee,contentHashType:"javascript"}).split("/");const ie=E.getPath(le(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Be=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new $;Le.add(Te);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Be)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const je=new j(_e(we,Ie,Me,Ee,false));Le.add(R.renderStartup.call(je,Me[Me.length-1][0],{...ae,inlined:false}));return Le}}return Te}));R.chunkHash.tap("ModuleChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update("ModuleChunkFormatPlugin");R.update("1");const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,R,N)=>{"use strict";const $=N(76150);const j=N(33228);const q=N(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading||R;return $==="import"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);E.addRuntimeModule(R,new q(j))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;E.addRuntimeModule(R,new j)}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:le}=N(18161);const{getInitialChunkIds:_e}=N(13085);const Ee=N(87274);const{getUndoPath:we}=N(49197);const Ie=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ie.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Ie.set(E,R)}return R}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:R}=this;const{runtimeTemplate:N,chunkGraph:$,outputOptions:{importFunctionName:j,importMetaName:G}}=E;const Ie=q.ensureChunkHandlers;const Me=this._runtimeRequirements.has(q.baseURI);const Te=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Be=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const je=$.getChunkConditionMap(R,le);const ze=Ee(je);const Ue=_e(R,$);const qe=this.compilation.getPath(ae(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const Ge=we(qe,this.compilation.outputOptions.path,true);const He=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([Me?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(Ge)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${He?`${He} = ${He} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Te?`var installChunk = ${N.basicFunction("data",[N.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Be?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Ie}.j = ${N.basicFunction("chunkId, promises",ze!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([ze===true?"if(true) { // all chunks have JS":`if(${ze("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${j}(${JSON.stringify(Ge)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${N.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${N.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Te?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Be?`${q.onChunksLoaded}.j = ${N.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=N;var le;var _e=[];var Ee=[];var we="idle";var Ie;var Me;var Te;$=E;R.push((function(E){var R=E.module;var N=createRequire(E.require,E.id);R.hot=createModuleHotObject(E.id,R);R.parents=_e;R.children=[];_e=[];E.require=N}));q={};G={};function createRequire(E,R){var N=ae[R];if(!N)return E;var fn=function($){if(N.hot.active){if(ae[$]){var j=ae[$].parents;if(j.indexOf(R)===-1){j.push(R)}}else{_e=[R];le=$}if(N.children.indexOf($)===-1){N.children.push($)}}else{console.warn("[HMR] unexpected require("+$+") from disposed module "+R);_e=[]}return E($)};var createPropertyDescriptor=function(R){return{configurable:true,enumerable:true,get:function(){return E[R]},set:function(N){E[R]=N}}};for(var $ in E){if(Object.prototype.hasOwnProperty.call(E,$)&&$!=="e"){Object.defineProperty(fn,$,createPropertyDescriptor($))}}fn.e=function(R){return trackBlockingPromise(E.e(R))};return fn}function createModuleHotObject(R,N){var $=le!==R;var j={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:$,_requireSelf:function(){_e=N.parents.slice();le=$?undefined:R;ie(R)},active:true,accept:function(E,R,N){if(E===undefined)j._selfAccepted=true;else if(typeof E==="function")j._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var $=0;$=0)j._disposeHandlers.splice(R,1)},invalidate:function(){this._selfInvalidated=true;switch(we){case"idle":Me=[];Object.keys(G).forEach((function(E){G[E](R,Me)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](R,Me)}));break;case"prepare":case"check":case"dispose":case"apply":(Te=Te||[]).push(R);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return we;Ee.push(E)},addStatusHandler:function(E){Ee.push(E)},removeStatusHandler:function(E){var R=Ee.indexOf(E);if(R>=0)Ee.splice(R,1)},data:E[R]};le=undefined;return j}function setStatus(E){we=E;var R=[];for(var N=0;N0){return setStatus("abort").then((function(){throw N[0]}))}var $=setStatus("dispose");R.forEach((function(E){if(E.dispose)E.dispose()}));var j=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];R.forEach((function(E){if(E.apply){var R=E.apply(reportError);if(R){for(var N=0;N{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HotModuleReplacementRuntimeModule extends j{constructor(){super("hot module replacement",j.STAGE_BASIC)}generate(){return q.getFunctionContent(N(49464)).replace(/\$getFullHash\$/g,$.getFullHash).replace(/\$interceptModuleExecution\$/g,$.interceptModuleExecution).replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,$.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var R=undefined;var N=undefined;var $=undefined;var j=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var le=undefined;var _e=undefined;E.exports=function(){var E;var Ee;var we;var Ie;function applyHandler(N){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var R=[E];var N={};var j=R.map((function(E){return{chain:[E],id:E}}));while(j.length>0){var q=j.pop();var G=q.id;var ie=q.chain;var ae=$[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var le=0;le ")}switch(Le.type){case"self-declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of self decline: "+Le.moduleId+qe);break;case"declined":if(N.onDeclined)N.onDeclined(Le);if(!N.ignoreDeclined)je=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+qe);break;case"unaccepted":if(N.onUnaccepted)N.onUnaccepted(Le);if(!N.ignoreUnaccepted)je=new Error("Aborted because "+Ne+" is not accepted"+qe);break;case"accepted":if(N.onAccepted)N.onAccepted(Le);ze=true;break;case"disposed":if(N.onDisposed)N.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(je){return{error:je}}if(ze){Me[Ne]=Be;addAllToSet(le,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(le,[Le.moduleId]);Me[Ne]=Te}}}Ee=undefined;var Ge=[];for(var He=0;He0){var j=N.pop();var q=$[j];if(!q)continue;var _e={};var Ee=q.hot._disposeHandlers;for(He=0;He=0){Ie.parents.splice(E,1)}}}var Me;for(var Te in ae){if(G(ae,Te)){q=$[Te];if(q){Ke=ae[Te];for(He=0;He=0)q.children.splice(E,1)}}}}},apply:function(E){for(var R in Me){if(G(Me,R)){j[R]=Me[R]}}for(var q=0;q{"use strict";const{RawSource:$}=N(48135);const j=N(98221);const q=N(28706);const G=N(53453);const ie=N(40674);const ae=N(76150);const le=N(58159);const _e=N(37313);const{registerNotSerializable:Ee}=N(24568);const we=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R)}if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const Ie=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}Ee(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,R,N,$,j,q){super("lazy-compilation-proxy",E,R.layer);this.originalModule=R;this.request=N;this.client=$;this.data=j;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const R=E;this.originalModule=R.originalModule;this.request=R.request;this.client=R.client;this.data=R.data;this.active=R.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,R){R(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,R,N,$,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new _e(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const R=new j({});R.addDependency(E);this.addBlock(R)}q()}getSourceTypes(){return Ie}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:R,moduleGraph:N}){const j=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=N.getModule(G);const _e=this.blocks[0];const Ee=le.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:R,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const we=le.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!_e)}, module: module, onError: onError });`]);let Ie;if(_e){const $=_e.dependencies[0];const j=N.getModule($);Ie=le.asString([Ee,`module.exports = ${E.moduleNamespacePromise({chunkGraph:R,block:_e,module:j,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",le.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(R.getModuleId(j))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",we])}else{Ie=le.asString([Ee,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",le.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",we])}j.set("javascript",new $(Ie));return{sources:j,runtimeRequirements:q}}updateHash(E,R){super.updateHash(E,R);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}Ee(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,R){const N=E.dependencies[0];R(null,{module:N.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:R,imports:N,test:$}){this.backend=E;this.entries=R;this.imports=N;this.test=$}apply(E){let R;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((N,$)=>{if(R!==undefined)return $();const j=this.backend(E,((E,N)=>{if(E)return $(E);R=N;$()}));if(j&&j.then){j.then((E=>{R=E;$()}),$)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((N,{normalModuleFactory:$})=>{$.hooks.module.tap("LazyCompilationPlugin",((N,$,j)=>{if(j.dependencies.every((E=>we.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test(j.request)&&checkTest(this.test,N)){const $=R.module(N);if(!$)return;const{client:q,data:G,active:ie}=$;return new LazyCompilationProxyModule(E.context,N,j.request,q,G,ie)}}));N.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{R.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,R,N)=>{"use strict";E.exports=E=>(R,$)=>{const j=R.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const R=ie?N(95687):N(13685);return R.createServer.bind(R,E.server)})();const le=typeof E.listen==="function"?E.listen:R=>{let N=E.listen;if(typeof N==="object"&&!("port"in N))N={...N,port:undefined};R.listen(N)};const _e=E.protocol||(ie?"https":"http");const requestListener=(E,N)=>{const $=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of $){const R=q.get(E)||0;q.set(E,R-1);if(R===1){j.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);N.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});N.write("\n");let ie=false;for(const E of $){const R=q.get(E)||0;q.set(E,R+1);if(R===0){j.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&R.watching)R.watching.invalidate()};const Ee=ae();Ee.on("request",requestListener);let we=false;const Ie=new Set;Ee.on("connection",(E=>{Ie.add(E);E.on("close",(()=>{Ie.delete(E)}));if(we)E.destroy()}));Ee.on("clientError",(E=>{if(E.message!=="Server is disposing")j.warn(E)}));Ee.on("listening",(R=>{if(R)return $(R);const N=Ee.address();if(typeof N==="string")throw new Error("addr must not be a string");const ie=N.address==="::"||N.address==="0.0.0.0"?`${_e}://localhost:${N.port}`:N.family==="IPv6"?`${_e}://[${N.address}]:${N.port}`:`${_e}://${N.address}:${N.port}`;j.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);$(null,{dispose(E){we=true;Ee.off("request",requestListener);Ee.close((R=>{E(R)}));for(const E of Ie){E.destroy(new Error("Server is disposing"))}},module(R){const N=`${encodeURIComponent(R.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const $=q.get(N)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:N,active:$}}})}));le(Ee)}},30484:(E,R,N)=>{"use strict";const{find:$}=N(26221);const{compareModulesByPreOrderIndexOrIdentifier:j,compareModulesByPostOrderIndexOrIdentifier:q}=N(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=$(E.chunks,(E=>E.name===R.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${R.name}"' was not found`)}let le;if(R.order){let E;switch(R.order){case"index":case"preOrderIndex":E=j(N);break;case"index2":case"postOrderIndex":E=q(N);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}le=ie.getOrderedChunkModules(ae,E)}else{le=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort(j(N))}let _e=R.start||0;for(let E=0;ER.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getFullChunkName:j,getUsedChunkIds:q,assignDeterministicIds:G}=N(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(R=>{R.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=$(ie);const Ee=q(R);G(Array.from(N).filter((E=>E.id===null)),(R=>j(R,ie,ae,E.root)),_e,((E,R)=>{const N=Ee.size;Ee.add(`${R}`);if(N===Ee.size)return false;E.id=R;E.ids=[R];return true}),[Math.pow(10,le)],10,Ee.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{getUsedModuleIds:j,getFullModuleName:q,assignDeterministicIds:G}=N(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(R=>{R.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(N=>{const ie=R.chunkGraph;const ae=this.options.context?this.options.context:E.context;const le=this.options.maxLength||3;const _e=j(R);G(Array.from(N).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(R=>q(R,ae,E.root)),$(R.moduleGraph),((E,R)=>{const N=_e.size;_e.add(`${R}`);if(N===_e.size)return false;ie.setModuleId(E,R);return true}),[Math.pow(10,le)],10,_e.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,R,N)=>{"use strict";E=N.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const q=N(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=N(30328);const ae=j(N(42959),(()=>N(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(R){const N=this.options;R.hooks.compilation.tap("HashedModuleIdsPlugin",(j=>{j.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const le=j.chunkGraph;const _e=this.options.context?this.options.context:R.context;const Ee=G(j);const we=Array.from(ae).filter((R=>{if(!R.needId)return false;if(le.getNumberOfModuleChunks(R)===0)return false;return le.getModuleId(E)===null})).sort($(j.moduleGraph));for(const E of we){const $=ie(E,_e,R.root);const j=q(N.hashFunction);j.update($||"");const G=j.digest(N.hashDigest);let ae=N.hashDigestLength;while(Ee.has(G.substr(0,ae)))ae++;const we=G.substr(0,ae);le.setModuleId(E,we);Ee.add(we)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,R,N)=>{"use strict";const $=N(35891);const{makePathsRelative:j}=N(49197);const q=N(12631);const getHash=(E,R,N)=>{const j=$(N);j.update(E);const q=j.digest("hex");return q.substr(0,R)};const avoidNumber=E=>{if(E.length>21)return E;const R=E.charCodeAt(0);if(R<49){if(R!==45)return E}else if(R>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");R.requestToId=requestToId;const shortenLongString=(E,R,N)=>{if(E.length<100)return E;return E.slice(0,100-6-R.length)+R+getHash(E,6,N)};const getShortModuleName=(E,R,N)=>{const $=E.libIdent({context:R,associatedObjectForCache:N});if($)return avoidNumber($);const q=E.nameForCondition();if(q)return avoidNumber(j(R,q,N));return""};R.getShortModuleName=getShortModuleName;const getLongModuleName=(E,R,N,$,j)=>{const q=getFullModuleName(R,N,j);return`${E}?${getHash(q,4,$)}`};R.getLongModuleName=getLongModuleName;const getFullModuleName=(E,R,N)=>j(R,E.identifier(),N);R.getFullModuleName=getFullModuleName;const getShortChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join($);return shortenLongString(ae,$,j)};R.getShortChunkName=getShortChunkName;const getLongChunkName=(E,R,N,$,j,q)=>{const G=R.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,N,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,N,j,q))));E.idNameHints.sort();const le=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join($);return shortenLongString(le,$,j)};R.getLongChunkName=getLongChunkName;const getFullChunkName=(E,R,N,$)=>{if(E.name)return E.name;const q=R.getChunkRootModules(E);const G=q.map((E=>j(N,E.identifier(),$)));return G.join()};R.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,R,N)=>{let $=E.get(R);if($===undefined){$=[];E.set(R,$)}$.push(N)};const getUsedModuleIds=E=>{const R=E.chunkGraph;const N=new Set;if(E.usedModuleIds){for(const R of E.usedModuleIds){N.add(R+"")}}for(const $ of E.modules){const E=R.getModuleId($);if(E!==null){N.add(E+"")}}return N};R.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const R=new Set;if(E.usedChunkIds){for(const N of E.usedChunkIds){R.add(N+"")}}for(const N of E.chunks){const E=N.id;if(E!==null){R.add(E+"")}}return R};R.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,R,N,$,j,q)=>{const G=new Map;for(const N of E){const E=R(N);addToMapOfItems(G,E,N)}const ie=new Map;for(const[E,R]of G){if(R.length>1||!E){for(const $ of R){const R=N($,E);addToMapOfItems(ie,R,$)}}else{addToMapOfItems(ie,E,R[0])}}const ae=[];for(const[E,R]of ie){if(!E){for(const E of R){ae.push(E)}}else if(R.length===1&&!j.has(E)){q(R[0],E);j.add(E)}else{R.sort($);let N=0;for(const $ of R){while(ie.has(E+N)&&j.has(E+N))N++;q($,E+N);j.add(E+N);N++}}}ae.sort($);return ae};R.assignNames=assignNames;const assignDeterministicIds=(E,R,N,$,j=[10],G=10,ie=0)=>{E.sort(N);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let le=0;let _e=j[le];while(_e{const N=R.chunkGraph;const $=getUsedModuleIds(R);let j=0;let q;if($.size>0){q=E=>{if(N.getModuleId(E)===null){while($.has(j+""))j++;N.setModuleId(E,j++)}}}else{q=E=>{if(N.getModuleId(E)===null){N.setModuleId(E,j++)}}}for(const R of E){q(R)}};R.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,R)=>{const N=getUsedChunkIds(R);let $=0;if(N.size>0){for(const R of E){if(R.id===null){while(N.has($+""))$++;R.id=$;R.ids=[$];$++}}}else{for(const R of E){if(R.id===null){R.id=$;R.ids=[$];$++}}}};R.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{getShortChunkName:j,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=N(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(R=>{const{hashFunction:N}=R.outputOptions;R.hooks.chunkIds.tap("NamedChunkIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.context?this.context:E.context;const we=this.delimiter;const Ie=G(Array.from(le).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(R=>j(R,_e,Ee,we,N,E.root)),(R=>q(R,_e,Ee,we,N,E.root)),$(_e),ie(R),((E,R)=>{E.id=R;E.ids=[R]}));if(Ie.length>0){ae(Ie,R)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,R,N)=>{"use strict";const{compareModulesByIdentifier:$}=N(68673);const{getShortModuleName:j,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=N(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:R}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(N=>{const{hashFunction:le}=N.outputOptions;N.hooks.moduleIds.tap("NamedModuleIdsPlugin",(_e=>{const Ee=N.chunkGraph;const we=this.options.context?this.options.context:E.context;const Ie=G(Array.from(_e).filter((E=>{if(!E.needId)return false;if(Ee.getNumberOfModuleChunks(E)===0)return false;return Ee.getModuleId(E)===null})),(E=>j(E,we,R)),((E,N)=>q(N,E,we,le,R)),$,ie(N),((E,R)=>Ee.setModuleId(E,R)));if(Ie.length>0){ae(Ie,N)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const{assignAscendingChunkIds:j}=N(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(R=>{const N=E.chunkGraph;const q=$(N);const G=Array.from(R).sort(q);j(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,R,N)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const{assignAscendingModuleIds:j}=N(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(R=>{const N=E.chunkGraph;const q=Array.from(R).filter((E=>E.needId&&N.getNumberOfModuleChunks(E)>0&&N.getModuleId(E)===null)).sort($(E.moduleGraph));j(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,R,N)=>{"use strict";const{compareChunksNatural:$}=N(68673);const j=N(35817);const{assignAscendingChunkIds:q}=N(30328);const G=j(N(18511),(()=>N(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(N=>{const j=E.chunkGraph;const G=new Map;const ie=$(j);for(const E of N){let R=0;for(const N of E.groupsIterable){for(const E of N.parentsIterable){if(E.isInitial())R++}}G.set(E,R)}const ae=Array.from(N).sort(((E,N)=>{if(R){const R=G.get(E);const $=G.get(N);if(R>$)return-1;if(R<$)return 1}const $=E.getNumberOfGroups();const j=N.getNumberOfGroups();if($>j)return-1;if(${"use strict";const{compareModulesByPreOrderIndexOrIdentifier:$}=N(68673);const j=N(35817);const{assignAscendingModuleIds:q}=N(30328);const G=j(N(52042),(()=>N(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const R=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const N=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",(j=>{const G=E.chunkGraph;const ie=Array.from(j).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const le=new Map;const _e=new Map;const Ee=new Map;for(const E of ie){let R=0;let N=0;for(const $ of G.getModuleChunksIterable(E)){if($.canBeInitial())R++;if(G.isEntryModuleInChunk(E,$))N++}_e.set(E,R);Ee.set(E,N)}const countOccursInEntry=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;if(!j.some((E=>E.isTargetActive(undefined))))continue;R+=_e.get($)}return R};const countOccurs=E=>{let R=0;for(const[$,j]of N.getIncomingConnectionsByOriginModule(E)){if(!$)continue;const E=G.getNumberOfModuleChunks($);for(const N of j){if(!N.isTargetActive(undefined))continue;if(!N.dependency)continue;const $=N.dependency.getNumberOfIdOccurrences();if($===0)continue;R+=$*E}}return R};if(R){for(const E of ie){const R=countOccursInEntry(E)+_e.get(E)+Ee.get(E);ae.set(E,R)}}for(const E of j){const R=countOccurs(E)+G.getNumberOfModuleChunks(E)+Ee.get(E);le.set(E,R)}const we=$(E.moduleGraph);ie.sort(((E,N)=>{if(R){const R=ae.get(E);const $=ae.get(N);if(R>$)return-1;if(R<$)return 1}const $=le.get(E);const j=le.get(N);if($>j)return-1;if(${"use strict";const $=N(73837);const j=N(91671);const lazyFunction=E=>{const R=j(E);const f=(...E)=>R()(...E);return f};const mergeExports=(E,R)=>{const N=Object.getOwnPropertyDescriptors(R);for(const R of Object.keys(N)){const $=N[R];if($.get){const N=$.get;Object.defineProperty(E,R,{configurable:false,enumerable:true,get:j(N)})}else if(typeof $.value==="object"){Object.defineProperty(E,R,{configurable:false,enumerable:true,writable:false,value:mergeExports({},$.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>N(2982)));E.exports=mergeExports(q,{get webpack(){return N(2982)},get validate(){const E=N(63221);const R=j((()=>{const E=N(33316);const R=N(46312);return N=>E(R,N)}));return N=>{if(!E(N))R()(N)}},get validateSchema(){const E=N(33316);return E},get version(){return N(37589).i8},get cli(){return N(61634)},get AutomaticPrefetchPlugin(){return N(20383)},get AsyncDependenciesBlock(){return N(98221)},get BannerPlugin(){return N(58779)},get Cache(){return N(54725)},get Chunk(){return N(62433)},get ChunkGraph(){return N(45137)},get CleanPlugin(){return N(61666)},get Compilation(){return N(3080)},get Compiler(){return N(63076)},get ConcatenationScope(){return N(77294)},get ContextExclusionPlugin(){return N(51709)},get ContextReplacementPlugin(){return N(26552)},get DefinePlugin(){return N(24820)},get DelegatedPlugin(){return N(82354)},get Dependency(){return N(28706)},get DllPlugin(){return N(73887)},get DllReferencePlugin(){return N(83515)},get DynamicEntryPlugin(){return N(85227)},get EntryOptionPlugin(){return N(64699)},get EntryPlugin(){return N(59674)},get EnvironmentPlugin(){return N(64856)},get EvalDevToolModulePlugin(){return N(91331)},get EvalSourceMapDevToolPlugin(){return N(23641)},get ExternalModule(){return N(16734)},get ExternalsPlugin(){return N(61050)},get Generator(){return N(36253)},get HotUpdateChunk(){return N(22352)},get HotModuleReplacementPlugin(){return N(79972)},get IgnorePlugin(){return N(69276)},get JavascriptModulesPlugin(){return $.deprecate((()=>N(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return N(77750)},get LibraryTemplatePlugin(){return $.deprecate((()=>N(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return N(19674)},get LoaderTargetPlugin(){return N(97736)},get Module(){return N(53453)},get ModuleFilenameHelpers(){return N(70354)},get ModuleGraph(){return N(75412)},get ModuleGraphConnection(){return N(79900)},get NoEmitOnErrorsPlugin(){return N(66962)},get NormalModule(){return N(53520)},get NormalModuleReplacementPlugin(){return N(92234)},get MultiCompiler(){return N(63433)},get Parser(){return N(2172)},get PrefetchPlugin(){return N(13125)},get ProgressPlugin(){return N(52923)},get ProvidePlugin(){return N(40313)},get RuntimeGlobals(){return N(76150)},get RuntimeModule(){return N(66804)},get SingleEntryPlugin(){return $.deprecate((()=>N(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return N(2e4)},get Stats(){return N(10140)},get Template(){return N(58159)},get UsageState(){return N(76632).UsageState},get WatchIgnorePlugin(){return N(91265)},get WebpackError(){return N(81627)},get WebpackOptionsApply(){return N(81721)},get WebpackOptionsDefaulter(){return $.deprecate((()=>N(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return N(15235).ValidationError},get ValidationError(){return N(15235).ValidationError},cache:{get MemoryCachePlugin(){return N(47786)}},config:{get getNormalizedWebpackOptions(){return N(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return N(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return N(79983)},get ConstDependency(){return N(66298)},get NullDependency(){return N(12197)}},ids:{get ChunkModuleIdRangePlugin(){return N(30484)},get NaturalModuleIdsPlugin(){return N(97781)},get OccurrenceModuleIdsPlugin(){return N(76059)},get NamedModuleIdsPlugin(){return N(9297)},get DeterministicChunkIdsPlugin(){return N(90444)},get DeterministicModuleIdsPlugin(){return N(35579)},get NamedChunkIdsPlugin(){return N(64779)},get OccurrenceChunkIdsPlugin(){return N(86169)},get HashedModuleIdsPlugin(){return N(35853)}},javascript:{get EnableChunkLoadingPlugin(){return N(50369)},get JavascriptModulesPlugin(){return N(18161)},get JavascriptParser(){return N(3711)}},optimize:{get AggressiveMergingPlugin(){return N(61332)},get AggressiveSplittingPlugin(){return $.deprecate((()=>N(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return N(58018)},get LimitChunkCountPlugin(){return N(92922)},get MinChunkSizePlugin(){return N(52383)},get ModuleConcatenationPlugin(){return N(35442)},get RealContentHashPlugin(){return N(30699)},get RuntimeChunkPlugin(){return N(4674)},get SideEffectsFlagPlugin(){return N(63410)},get SplitChunksPlugin(){return N(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return N(9609)},get LoadScriptRuntimeModule(){return N(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return N(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return N(52687)},get FetchCompileWasmPlugin(){return N(71100)},get JsonpChunkLoadingRuntimeModule(){return N(4038)},get JsonpTemplatePlugin(){return N(58421)}},webworker:{get WebWorkerTemplatePlugin(){return N(67439)}},node:{get NodeEnvironmentPlugin(){return N(93632)},get NodeSourcePlugin(){return N(92662)},get NodeTargetPlugin(){return N(84980)},get NodeTemplatePlugin(){return N(91591)},get ReadFileCompileWasmPlugin(){return N(71049)}},electron:{get ElectronTargetPlugin(){return N(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return N(82422)}},library:{get AbstractLibraryPlugin(){return N(9786)},get EnableLibraryPlugin(){return N(13984)}},container:{get ContainerPlugin(){return N(10419)},get ContainerReferencePlugin(){return N(68839)},get ModuleFederationPlugin(){return N(8019)},get scope(){return N(97264).scope}},sharing:{get ConsumeSharedPlugin(){return N(71968)},get ProvideSharedPlugin(){return N(48151)},get SharePlugin(){return N(16471)},get scope(){return N(97264).scope}},debug:{get ProfilingPlugin(){return N(26802)}},util:{get createHash(){return N(35891)},get comparators(){return N(68673)},get runtime(){return N(37416)},get serialization(){return N(24568)},get cleverMerge(){return N(90149).cachedCleverMerge},get LazySet(){return N(83379)}},get sources(){return N(48135)},experiments:{schemes:{get HttpUriPlugin(){return N(7201)}}}})},41113:(E,R,N)=>{"use strict";const{ConcatSource:$,PrefixSource:j,RawSource:q}=N(48135);const{RuntimeGlobals:G}=N(86443);const ie=N(22352);const ae=N(58159);const{getCompilationHooks:le}=N(18161);const{generateEntryStartup:_e,updateHashForEntryStartup:Ee}=N(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(G.onChunksLoaded);R.add(G.require)}R.add(G.chunkCallback)}));const R=le(E);R.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((N,le)=>{const{chunk:Ee,chunkGraph:we,runtimeTemplate:Ie}=le;const Me=Ee instanceof ie?Ee:null;const Te=Ie.outputOptions.globalObject;const Ne=new $;const Be=we.getChunkRuntimeModulesInOrder(Ee);if(Me){const E=Ie.outputOptions.hotUpdateGlobal;Ne.add(`${Te}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(Ee.id)},`);Ne.add(N);if(Be.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Be,le);Ne.add(E)}Ne.add(")")}else{const ie=Ie.outputOptions.chunkLoadingGlobal;Ne.add(`(${Te}[${JSON.stringify(ie)}] = ${Te}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(Ee.ids)},`);Ne.add(N);const Me=Array.from(we.getChunkEntryModulesWithChunkGroupIterable(Ee));if(Be.length>0||Me.length>0){const N=new $((Ie.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Be.length>0){N.add(ae.renderRuntimeModules(Be,{...le,codeGenerationResults:E.codeGenerationResults}))}if(Me.length>0){const E=new q(_e(we,Ie,Me,Ee,true));N.add(R.renderStartup.call(E,Me[Me.length-1][0],{...le,inlined:false}));if(we.getChunkRuntimeRequirements(Ee).has(G.returnExportsFromRuntime)){N.add("return __webpack_exports__;\n")}}N.add("}\n");Ne.add(",\n");Ne.add(new j("/******/ ",N))}Ne.add("])")}return Ne}));R.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,R,{chunkGraph:N,runtimeTemplate:$})=>{if(E.hasRuntime())return;R.update(`ArrayPushCallbackChunkFormatPlugin1${$.outputOptions.chunkLoadingGlobal}${$.outputOptions.hotUpdateGlobal}${$.outputOptions.globalObject}`);const j=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));Ee(R,N,j,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;const G=5;const ie=6;const ae=7;const le=8;const _e=9;const Ee=10;const we=11;const Ie=12;const Me=13;class BasicEvaluatedExpression{constructor(){this.type=R;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===R}isNull(){return this.type===$}isUndefined(){return this.type===N}isString(){return this.type===j}isNumber(){return this.type===q}isBigInt(){return this.type===Me}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===le}isConstArray(){return this.type===_e}isIdentifier(){return this.type===Ee}isWrapped(){return this.type===we}isTemplateString(){return this.type===Ie}isPrimitiveType(){switch(this.type){case N:case $:case j:case q:case G:case Me:case we:case Ie:return true;case ie:case le:case _e:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case N:case $:case j:case q:case G:case ie:case _e:case Me:return true;default:return false}}asCompileTimeValue(){switch(this.type){case N:return undefined;case $:return null;case j:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case _e:return this.array;case Me:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const R of this.items){const N=R.asString();if(N===undefined)return undefined;E.push(N)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const R of this.parts){const N=R.asString();if(N===undefined)return undefined;E+=N}return E}return undefined}setString(E){this.type=j;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=N;this.sideEffects=false;return this}setNull(){this.type=$;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=Me;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,R,N){this.type=Ee;this.identifier=E;this.rootInfo=R;this.getMembers=N;this.sideEffects=true;return this}setWrapped(E,R,N){this.type=we;this.prefix=E;this.postfix=R;this.wrappedInnerExpressions=N;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const R of E){this.options.push(R)}return this}setItems(E){this.type=le;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=_e;this.array=E;this.sideEffects=false;return this}setTemplateString(E,R,N){this.type=Ie;this.quasis=E;this.parts=R;this.templateStringKind=N;this.sideEffects=R.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const R=E.length;if(R===0)return true;if(R>4)return false;let N=0;for(let $=0;${"use strict";const{ConcatSource:$,RawSource:j}=N(48135);const q=N(76150);const G=N(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=N(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=N(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;if(N.getNumberOfEntryModules(E)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const R=ae(E);R.renderChunk.tap("CommonJsChunkFormatPlugin",((N,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:we}=ae;const Ie=new $;Ie.add(`exports.id = ${JSON.stringify(_e.id)};\n`);Ie.add(`exports.ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`exports.modules = `);Ie.add(N);Ie.add(";\n");const Me=Ee.getChunkRuntimeModulesInOrder(_e);if(Me.length>0){Ie.add("exports.runtime =\n");Ie.add(G.renderChunkRuntimeModules(Me,ae))}const Te=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Te.length>0){const N=Te[0][1].getRuntimeChunk();const G=E.getPath(ie(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const Me=E.getPath(ie(N,E.outputOptions),{chunk:N,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&Me.length>0&&G[0]===Me[0]){G.shift();Me.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+Me.join("/");const Be=new $;Be.add(`(${we.supportsArrowFunction()?"() => ":"function() "}{\n`);Be.add("var exports = {};\n");Be.add(Ie);Be.add(";\n\n// load runtime\n");Be.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Be.add(`${q.externalInstallChunk}(exports);\n`);const Le=new j(le(Ee,we,Te,_e,false));Be.add(R.renderStartup.call(Le,Te[Te.length-1][0],{...ae,inlined:false}));Be.add("\n})()");return Be}return Ie}));R.chunkHash.tap("CommonJsChunkFormatPlugin",((E,R,{chunkGraph:N})=>{if(E.hasRuntime())return;R.update("CommonJsChunkFormatPlugin");R.update("1");const $=Array.from(N.getChunkEntryModulesWithChunkGroupIterable(E));_e(R,N,$,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Chunk loading type "${R}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"jsonp":{const R=N(76853);(new R).apply(E);break}case"import-scripts":{const R=N(82779);(new R).apply(E);break}case"require":{const R=N(82827);new R({asyncChunkLoading:false}).apply(E);break}case"async-node":{const R=N(82827);new R({asyncChunkLoading:true}).apply(E);break}case"import":{const R=N(90662);(new R).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${R}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,R,N)=>{"use strict";const $=N(73837);const{RawSource:j,ReplaceSource:q}=N(48135);const G=N(36253);const ie=N(63272);const ae=N(54290);const le=$.deprecate(((E,R,N)=>E.getInitFragments(R,N)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const _e=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return _e}getSize(E,R){const N=E.originalSource();if(!N){return 39}return N.size()}getConcatenationBailoutReason(E,R){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,R){const N=E.originalSource();if(!N){return new j("throw new Error('No source available');")}const $=new q(N);const G=[];this.sourceModule(E,G,$,R);return ie.addToSource($,G,R)}sourceModule(E,R,N,$){for(const j of E.dependencies){this.sourceDependency(E,j,R,N,$)}if(E.presentationalDependencies!==undefined){for(const j of E.presentationalDependencies){this.sourceDependency(E,j,R,N,$)}}for(const j of E.blocks){this.sourceBlock(E,j,R,N,$)}}sourceBlock(E,R,N,$,j){for(const q of R.dependencies){this.sourceDependency(E,q,N,$,j)}for(const q of R.blocks){this.sourceBlock(E,q,N,$,j)}}sourceDependency(E,R,N,$,j){const q=R.constructor;const G=j.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+R.constructor.name)}const ie={runtimeTemplate:j.runtimeTemplate,dependencyTemplates:j.dependencyTemplates,moduleGraph:j.moduleGraph,chunkGraph:j.chunkGraph,module:E,runtime:j.runtime,runtimeRequirements:j.runtimeRequirements,concatenationScope:j.concatenationScope,initFragments:N};G.apply(R,$,ie);if("getInitFragments"in G){const E=le(G,R,ie);if(E){for(const R of E){N.push(R)}}}}}E.exports=JavascriptGenerator},18161:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$,SyncHook:j,SyncBailHook:q}=N(92960);const G=N(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:le,RawSource:_e,CachedSource:Ee}=N(48135);const we=N(3080);const{tryRunOrWebpackError:Ie}=N(3728);const Me=N(22352);const Te=N(63272);const Ne=N(76150);const Be=N(58159);const{last:Le,someInIterable:je}=N(11539);const ze=N(14146);const{compareModulesByIdentifier:Ue}=N(68673);const qe=N(35891);const{intersectRuntime:Ge}=N(37416);const He=N(99371);const We=N(3711);const chunkHasJs=(E,R)=>{if(R.getNumberOfEntryModules(E)>0)return true;return R.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,R)=>{const N=R.split("\n");const $=`${N.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${N.map(((E,R,N)=>{const j=`${R+1}`;return`${" ".repeat($-j.length)}${j} | ${E}`})).join("\n")}`};const Ve=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ve.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"]),renderModuleContainer:new $(["source","module","renderContext"]),renderModulePackage:new $(["source","module","renderContext"]),render:new $(["source","renderContext"]),renderContent:new $(["source","renderContext"]),renderStartup:new $(["source","module","startupRenderContext"]),renderChunk:new $(["source","renderContext"]),renderMain:new $(["source","renderContext"]),renderRequire:new $(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new j(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};Ve.set(E,R)}return R}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:R})=>{const N=JavascriptModulesPlugin.getCompilationHooks(E);R.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new We("auto")));R.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new We("script")));R.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new We("module")));R.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new He));R.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new He));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((R,$)=>{const{hash:j,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:le,outputOptions:_e,codeGenerationResults:Ee}=$;const we=q instanceof Me?q:null;let Ie;const Te=JavascriptModulesPlugin.getChunkFilenameTemplate(q,_e);if(we){Ie=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}else if(q.hasRuntime()){Ie=()=>this.renderMain({hash:j,chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N,E)}else{if(!chunkHasJs(q,G)){return R}Ie=()=>this.renderChunk({chunk:q,dependencyTemplates:le,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:Ee,strictMode:ae.isModule()},N)}R.push({render:Ie,filenameTemplate:Te,pathOptions:{hash:j,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:we?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return R}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,R,$)=>{N.chunkHash.call(E,R,$);if(E.hasRuntime()){this.updateHashWithBootstrap(R,{hash:"0000",chunk:E,chunkGraph:$.chunkGraph,moduleGraph:$.moduleGraph,runtimeTemplate:$.runtimeTemplate},N)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(R=>{const{chunkGraph:$,moduleGraph:j,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:le}}=E;const _e=qe(le);if(G)_e.update(G);if(R.hasRuntime()){this.updateHashWithBootstrap(_e,{hash:"0000",chunk:R,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},N)}else{_e.update(`${R.id} `);_e.update(R.ids?R.ids.join(","):"")}N.chunkHash.call(R,_e,{chunkGraph:$,moduleGraph:j,runtimeTemplate:q});const Ee=$.getChunkModulesIterableBySourceType(R,"javascript");if(Ee){const E=new ze;for(const N of Ee){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const we=$.getChunkModulesIterableBySourceType(R,"runtime");if(we){const E=new ze;for(const N of we){E.add($.getModuleHash(N,R.runtime))}E.updateHash(_e)}const Ie=_e.digest(ie);R.contentHash.javascript=Ie.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,R,{chunkGraph:N})=>{if(!R.has(Ne.startupNoDefault)&&N.hasChunkEntryDependentChunks(E)){R.add(Ne.onChunksLoaded);R.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("javascript");if(N===undefined)return;const{module:$,moduleObject:j}=E;const q=N.source();const ie=G.runInThisContext(`(function(${$.moduleArgument}, ${$.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:$.identifier(),lineOffset:-1});try{ie.call(j.exports,j,j.exports,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,q);throw R}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,R)=>{const N=E.codeGenerationResult.sources.get("runtime");if(N===undefined)return;let $=N.source();if(typeof $!=="string")$=$.toString();const j=G.runInThisContext(`(function(__webpack_require__) {\n${$}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{j.call(null,R.__webpack_require__)}catch(R){R.stack+=printGeneratedCodeForStack(E.module,$);throw R}}))}))}static getChunkFilenameTemplate(E,R){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof Me){return R.hotUpdateChunkFilename}else if(E.canBeInitial()){return R.filename}else{return R.chunkFilename}}renderModule(E,R,N,$){const{chunk:j,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:le}=R;try{const _e=ae.get(E,j.runtime);const we=_e.sources.get("javascript");if(!we)return null;if(_e.data!==undefined){const E=_e.data.get("chunkInitFragments");if(E){for(const N of E)R.chunkInitFragments.push(N)}}const Me=Ie((()=>N.renderModuleContent.call(we,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Te;if($){const $=q.getModuleRuntimeRequirements(E,j.runtime);const ae=$.has(Ne.module);const _e=$.has(Ne.exports);const we=$.has(Ne.require)||$.has(Ne.requireScope);const Be=$.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!le;const je=this._moduleFactoryCache.get(Me);let ze;if(je&&je.needModule===ae&&je.needExports===_e&&je.needRequire===we&&je.needThisAsExports===Be&&je.needStrict===Le){ze=je.source}else{const R=new ie;const N=[];if(_e||we||ae)N.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(_e||we)N.push(_e?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(we)N.push("__webpack_require__");if(!Be&&G.supportsArrowFunction()){R.add("/***/ (("+N.join(", ")+") => {\n\n")}else{R.add("/***/ (function("+N.join(", ")+") {\n\n")}if(Le){R.add('"use strict";\n')}R.add(Me);R.add("\n\n/***/ })");ze=new Ee(R);this._moduleFactoryCache.set(Me,{source:ze,needModule:ae,needExports:_e,needRequire:we,needThisAsExports:Be,needStrict:Le})}Te=Ie((()=>N.renderModuleContainer.call(ze,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Te=Me}return Ie((()=>N.renderModulePackage.call(Te,E,R)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(R){R.module=E;throw R}}renderChunk(E,R){const{chunk:N,chunkGraph:$}=E;const j=$.getOrderedChunkModulesIterableBySourceType(N,"javascript",Ue);const q=j?Array.from(j):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);G=N?`// runtime can't be in strict mode because ${N}.\n`:'"use strict";\n';if(!N)ae=true}const le={...E,chunkInitFragments:[],strictMode:ae};const Ee=Be.renderChunkModules(le,q,(E=>this.renderModule(E,le,R,true)))||new _e("{}");let we=Ie((()=>R.renderChunk.call(Ee,le)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");we=Ie((()=>R.renderContent.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}we=Te.addToSource(we,le.chunkInitFragments,le);we=Ie((()=>R.render.call(we,le)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!we){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}N.rendered=true;return G?new ie(G,we,";"):E.runtimeTemplate.isModule()?we:new ie(we,";")}renderMain(E,R,N){const{chunk:$,chunkGraph:j,runtimeTemplate:q}=E;const G=j.getTreeRuntimeRequirements($);const Ee=q.isIIFE();const we=this.renderBootstrap(E,R);const Me=R.useSourceMap.call($,E);const je=Array.from(j.getOrderedChunkModulesIterableBySourceType($,"javascript",Ue)||[]);const ze=j.getNumberOfEntryModules($)>0;let qe;if(we.allowInlineStartup&&ze){qe=new Set(j.getChunkEntryModulesIterable($))}let Ge=new ie;let He;if(Ee){if(q.supportsArrowFunction()){Ge.add("/******/ (() => { // webpackBootstrap\n")}else{Ge.add("/******/ (function() { // webpackBootstrap\n")}He="/******/ \t"}else{He="/******/ "}let We=E.strictMode;if(!We&&je.every((E=>E.buildInfo.strict))){const N=R.strictRuntimeBailout.call(E);if(N){Ge.add(He+`// runtime can't be in strict mode because ${N}.\n`)}else{We=true;Ge.add(He+'"use strict";\n')}}const Ve={...E,chunkInitFragments:[],strictMode:We};const Ke=Be.renderChunkModules(Ve,qe?je.filter((E=>!qe.has(E))):je,(E=>this.renderModule(E,Ve,R,true)),He);if(Ke||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){Ge.add(He+"var __webpack_modules__ = (");Ge.add(Ke||"{}");Ge.add(");\n");Ge.add("/************************************************************************/\n")}if(we.header.length>0){const E=Be.asString(we.header)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/bootstrap"):new _e(E)));Ge.add("/************************************************************************/\n")}const Qe=E.chunkGraph.getChunkRuntimeModulesInOrder($);if(Qe.length>0){Ge.add(new le(He,Be.renderRuntimeModules(Qe,Ve)));Ge.add("/************************************************************************/\n");for(const E of Qe){N.codeGeneratedModules.add(E)}}if(qe){if(we.beforeStartup.length>0){const E=Be.asString(we.beforeStartup)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/before-startup"):new _e(E)))}const N=Le(qe);const Ee=new ie;Ee.add(`var __webpack_exports__ = {};\n`);for(const G of qe){const ie=this.renderModule(G,Ve,R,false);if(ie){const ae=!We&&G.buildInfo.strict;const le=j.getModuleRuntimeRequirements(G,$.runtime);const _e=le.has(Ne.exports);const we=_e&&G.exportsArgument==="__webpack_exports__";let Ie=ae?"it need to be in strict mode.":qe.size>1?"it need to be isolated against other entry modules.":Ke?"it need to be isolated against other modules in the chunk.":_e&&!we?`it uses a non-standard name for the exports (${G.exportsArgument}).`:R.embedInRuntimeBailout.call(G,E);let Me;if(Ie!==undefined){Ee.add(`// This entry need to be wrapped in an IIFE because ${Ie}\n`);const E=q.supportsArrowFunction();if(E){Ee.add("(() => {\n");Me="\n})();\n\n"}else{Ee.add("!function() {\n");Me="\n}();\n"}if(ae)Ee.add('"use strict";\n')}else{Me="\n"}if(_e){if(G!==N)Ee.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")Ee.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}Ee.add(ie);Ee.add(Me)}}if(G.has(Ne.onChunksLoaded)){Ee.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}Ge.add(R.renderStartup.call(Ee,N,{...E,inlined:true}));if(we.afterStartup.length>0){const E=Be.asString(we.afterStartup)+"\n";Ge.add(new le(He,Me?new ae(E,"webpack/after-startup"):new _e(E)))}}else{const N=Le(j.getChunkEntryModulesIterable($));const q=Me?(E,R)=>new ae(Be.asString(E),R):E=>new _e(Be.asString(E));Ge.add(new le(He,new ie(q(we.beforeStartup,"webpack/before-startup"),"\n",R.renderStartup.call(q(we.startup.concat(""),"webpack/startup"),N,{...E,inlined:false}),q(we.afterStartup,"webpack/after-startup"),"\n")))}if(ze&&G.has(Ne.returnExportsFromRuntime)){Ge.add(`${He}return __webpack_exports__;\n`)}if(Ee){Ge.add("/******/ })()\n")}let Je=Ie((()=>R.renderMain.call(Ge,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Je=Ie((()=>R.renderContent.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Je=Te.addToSource(Je,Ve.chunkInitFragments,Ve);Je=Ie((()=>R.render.call(Je,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Je){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}$.rendered=true;return Ee?new ie(Je,";"):Je}updateHashWithBootstrap(E,R,N){const $=this.renderBootstrap(R,N);for(const R of Object.keys($)){E.update(R);if(Array.isArray($[R])){for(const N of $[R]){E.update(N)}}else{E.update(JSON.stringify($[R]))}}}renderBootstrap(E,R){const{chunkGraph:N,moduleGraph:$,chunk:j,runtimeTemplate:q}=E;const G=N.getTreeRuntimeRequirements(j);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const le=G.has(Ne.moduleFactories);const _e=G.has(Ne.module);const Ee=G.has(Ne.requireScope);const we=G.has(Ne.interceptModuleExecution);const Ie=ie||we||_e;const Me={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Te,startup:Le,beforeStartup:ze,afterStartup:Ue}=Me;if(Me.allowInlineStartup&&le){Le.push("// module factories are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&we){Le.push("// module execution is intercepted so entry inlining is disabled");Me.allowInlineStartup=false}if(Ie||ae){Te.push("// The module cache");Te.push("var __webpack_module_cache__ = {};");Te.push("")}if(Ie){Te.push("// The require function");Te.push(`function __webpack_require__(moduleId) {`);Te.push(Be.indent(this.renderRequire(E,R)));Te.push("}");Te.push("")}else if(G.has(Ne.requireScope)){Te.push("// The require scope");Te.push("var __webpack_require__ = {};");Te.push("")}if(le||G.has(Ne.moduleFactoriesAddOnly)){Te.push("// expose the modules object (__webpack_modules__)");Te.push(`${Ne.moduleFactories} = __webpack_modules__;`);Te.push("")}if(ae){Te.push("// expose the module cache");Te.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Te.push("")}if(we){Te.push("// expose the module execution interceptor");Te.push(`${Ne.interceptModuleExecution} = [];`);Te.push("")}if(!G.has(Ne.startupNoDefault)){if(N.getNumberOfEntryModules(j)>0){const G=[];const ie=N.getTreeRuntimeRequirements(j);G.push("// Load entry module and return exports");let ae=N.getNumberOfEntryModules(j);for(const[le,_e]of N.getChunkEntryModulesWithChunkGroupIterable(j)){const we=_e.chunks.filter((E=>E!==j));if(Me.allowInlineStartup&&we.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&je($.getIncomingConnectionsByOriginModule(le),(([E,R])=>E&&R.some((E=>E.isTargetActive(j.runtime)))&&je(N.getModuleRuntimes(E),(E=>Ge(E,j.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup&&(!le.buildInfo||!le.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");Me.allowInlineStartup=false}if(Me.allowInlineStartup){const N=R.inlineInRuntimeBailout.call(le,E);if(N!==undefined){G.push(`// This entry module can't be inlined because ${N}`);Me.allowInlineStartup=false}}ae--;const Te=N.getModuleId(le);const Be=N.getModuleRuntimeRequirements(le,j.runtime);let Le=JSON.stringify(Te);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(Me.allowInlineStartup&&Be.has(Ne.module)){Me.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(we.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(we.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Ie){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(Ee){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Be.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Te.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);ze.push("// run runtime startup");ze.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Be.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Te.push("// the startup function");Te.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Be.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Be.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Te.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Me.allowInlineStartup=false;Te.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return Me}renderRequire(E,R){const{chunk:N,chunkGraph:$,runtimeTemplate:{outputOptions:j}}=E;const q=$.getTreeRuntimeRequirements(N);const G=q.has(Ne.interceptModuleExecution)?Be.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Be.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Be.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const le=Be.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",j.strictModuleErrorHandling?Be.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Be.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Be.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",j.strictModuleExceptionHandling?Be.asString(["// Execute the module function","var threw = true;","try {",Be.indent([G,"threw = false;"]),"} finally {",Be.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):j.strictModuleErrorHandling?Be.asString(["// Execute the module function","try {",Be.indent(G),"} catch(e) {",Be.indent(["module.error = e;","throw e;"]),"}"]):Be.asString(["// Execute the module function",G]),ae?Be.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Ie((()=>R.renderRequire.call(le,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,R,N)=>{"use strict";const{Parser:$}=N(14150);const{importAssertions:j}=N(3385);const{SyncBailHook:q,HookMap:G}=N(92960);const ie=N(26144);const ae=N(2172);const le=N(80371);const _e=N(31017);const Ee=N(91671);const we=N(87250);const Ie=[];const Me=1;const Te=2;const Ne=3;const Be=$.extend(j);class VariableInfo{constructor(E,R,N){this.declaredScope=E;this.freeName=R;this.tagInfo=N}}const joinRanges=(E,R)=>{if(!R)return E;if(!E)return R;return[E[0],R[1]]};const objectAndMembersToName=(E,R)=>{let N=E;for(let E=R.length-1;E>=0;E--){N=N+"."+R[E]}return N};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const je=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const ze={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const R=E;switch(typeof R.value){case"number":return(new we).setNumber(R.value).setRange(R.range);case"bigint":return(new we).setBigInt(R.value).setRange(R.range);case"string":return(new we).setString(R.value).setRange(R.range);case"boolean":return(new we).setBoolean(R.value).setRange(R.range)}if(R.value===null){return(new we).setNull().setRange(R.range)}if(R.value instanceof RegExp){return(new we).setRegExp(R.value).setRange(R.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.callee;if(N.type!=="Identifier"||N.name!=="RegExp"||R.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let $,j;const q=R.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;$=E.asString();if(!$)return}else{return(new we).setRegExp(new RegExp("")).setRange(R.range)}const G=R.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){j=E.asString();if(j===undefined||!we.isValidRegExpFlags(j))return}}return(new we).setRegExp(j?new RegExp($,j):new RegExp($)).setRange(R.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.left);if(!N)return;let $=false;let j;if(R.operator==="&&"){const E=N.asBool();if(E===false)return N.setRange(R.range);$=E===true;j=false}else if(R.operator==="||"){const E=N.asBool();if(E===true)return N.setRange(R.range);$=E===false;j=true}else if(R.operator==="??"){const E=N.asNullish();if(E===false)return N.setRange(R.range);if(E!==true)return;$=true}else return;const q=this.evaluateExpression(R.right);if(!q)return;if($){if(N.couldHaveSideEffects())q.setSideEffects();return q.setRange(R.range)}const G=q.asBool();if(j===true&&G===true){return(new we).setRange(R.range).setTruthy()}else if(j===false&&G===false){return(new we).setRange(R.range).setFalsy()}}));const valueAsExpression=(E,R,N)=>{switch(typeof E){case"boolean":return(new we).setBoolean(E).setSideEffects(N).setRange(R.range);case"number":return(new we).setNumber(E).setSideEffects(N).setRange(R.range);case"bigint":return(new we).setBigInt(E).setSideEffects(N).setRange(R.range);case"string":return(new we).setString(E).setSideEffects(N).setRange(R.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.left);if(!N||!N.isCompileTimeValue())return;const $=this.evaluateExpression(R.right);if(!$||!$.isCompileTimeValue())return;const j=E(N.asCompileTimeValue(),$.asCompileTimeValue());return valueAsExpression(j,R,N.couldHaveSideEffects()||$.couldHaveSideEffects())};const isAlwaysDifferent=(E,R)=>E===true&&R===false||E===false&&R===true;const handleTemplateStringCompare=(E,R,N,$)=>{const getPrefix=E=>{let R="";for(const N of E){const E=N.asString();if(E!==undefined)R+=E;else break}return R};const getSuffix=E=>{let R="";for(let N=E.length-1;N>=0;N--){const $=E[N].asString();if($!==undefined)R=$+R;else break}return R};const j=getPrefix(E.parts);const q=getPrefix(R.parts);const G=getSuffix(E.parts);const ie=getSuffix(R.parts);const ae=Math.min(j.length,q.length);const le=Math.min(G.length,ie.length);if(j.slice(0,ae)!==q.slice(0,ae)||G.slice(-le)!==ie.slice(-le)){return N.setBoolean(!$).setSideEffects(E.couldHaveSideEffects()||R.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()===$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}const ie=N.isPrimitiveType();const ae=$.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(N.asBool(),$.asBool())||isAlwaysDifferent(N.asNullish(),$.asNullish())){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const N=this.evaluateExpression(R.left);if(!N)return;const $=this.evaluateExpression(R.right);if(!$)return;const j=new we;j.setRange(R.range);const q=N.isCompileTimeValue();const G=$.isCompileTimeValue();if(q&&G){return j.setBoolean(E===(N.asCompileTimeValue()==$.asCompileTimeValue())).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isArray()&&$.isArray()){return j.setBoolean(!E).setSideEffects(N.couldHaveSideEffects()||$.couldHaveSideEffects())}if(N.isTemplateString()&&$.isTemplateString()){return handleTemplateStringCompare(N,$,j,E)}};if(R.operator==="+"){const E=this.evaluateExpression(R.left);if(!E)return;const N=this.evaluateExpression(R.right);if(!N)return;const $=new we;if(E.isString()){if(N.isString()){$.setString(E.string+N.string)}else if(N.isNumber()){$.setString(E.string+N.number)}else if(N.isWrapped()&&N.prefix&&N.prefix.isString()){$.setWrapped((new we).setString(E.string+N.prefix.string).setRange(joinRanges(E.range,N.prefix.range)),N.postfix,N.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E,N.postfix,N.wrappedInnerExpressions)}else{$.setWrapped(E,null,[N])}}else if(E.isNumber()){if(N.isString()){$.setString(E.number+N.string)}else if(N.isNumber()){$.setNumber(E.number+N.number)}else{return}}else if(E.isBigInt()){if(N.isBigInt()){$.setBigInt(E.bigint+N.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&N.isString()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.string).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&N.isNumber()){$.setWrapped(E.prefix,(new we).setString(E.postfix.string+N.number).setRange(joinRanges(E.postfix.range,N.range)),E.wrappedInnerExpressions)}else if(N.isString()){$.setWrapped(E.prefix,N,E.wrappedInnerExpressions)}else if(N.isNumber()){$.setWrapped(E.prefix,(new we).setString(N.number+"").setRange(N.range),E.wrappedInnerExpressions)}else if(N.isWrapped()){$.setWrapped(E.prefix,N.postfix,E.wrappedInnerExpressions&&N.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(N.prefix?[N.prefix]:[]).concat(N.wrappedInnerExpressions))}else{$.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,N]:[N]))}}else{if(N.isString()){$.setWrapped(null,N,[E])}else if(N.isWrapped()){$.setWrapped(null,N.postfix,N.wrappedInnerExpressions&&(N.prefix?[E,N.prefix]:[E]).concat(N.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||N.couldHaveSideEffects())$.setSideEffects();$.setRange(R.range);return $}else if(R.operator==="-"){return handleConstOperation(((E,R)=>E-R))}else if(R.operator==="*"){return handleConstOperation(((E,R)=>E*R))}else if(R.operator==="/"){return handleConstOperation(((E,R)=>E/R))}else if(R.operator==="**"){return handleConstOperation(((E,R)=>E**R))}else if(R.operator==="==="){return handleStrictEqualityComparison(true)}else if(R.operator==="=="){return handleAbstractEqualityComparison(true)}else if(R.operator==="!=="){return handleStrictEqualityComparison(false)}else if(R.operator==="!="){return handleAbstractEqualityComparison(false)}else if(R.operator==="&"){return handleConstOperation(((E,R)=>E&R))}else if(R.operator==="|"){return handleConstOperation(((E,R)=>E|R))}else if(R.operator==="^"){return handleConstOperation(((E,R)=>E^R))}else if(R.operator===">>>"){return handleConstOperation(((E,R)=>E>>>R))}else if(R.operator===">>"){return handleConstOperation(((E,R)=>E>>R))}else if(R.operator==="<<"){return handleConstOperation(((E,R)=>E<E"){return handleConstOperation(((E,R)=>E>R))}else if(R.operator==="<="){return handleConstOperation(((E,R)=>E<=R))}else if(R.operator===">="){return handleConstOperation(((E,R)=>E>=R))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const R=E;const handleConstOperation=E=>{const N=this.evaluateExpression(R.argument);if(!N||!N.isCompileTimeValue())return;const $=E(N.asCompileTimeValue());return valueAsExpression($,R,N.couldHaveSideEffects())};if(R.operator==="typeof"){switch(R.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,R.argument.name,R);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(R.argument),R);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument,R);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,R.argument.expression,R);if(E!==undefined)return E;break}case"FunctionExpression":{return(new we).setString("function").setRange(R.range)}}const E=this.evaluateExpression(R.argument);if(E.isUnknown())return;if(E.isString()){return(new we).setString("string").setRange(R.range)}if(E.isWrapped()){return(new we).setString("string").setSideEffects().setRange(R.range)}if(E.isUndefined()){return(new we).setString("undefined").setRange(R.range)}if(E.isNumber()){return(new we).setString("number").setRange(R.range)}if(E.isBigInt()){return(new we).setString("bigint").setRange(R.range)}if(E.isBoolean()){return(new we).setString("boolean").setRange(R.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new we).setString("object").setRange(R.range)}if(E.isArray()){return(new we).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}}else if(R.operator==="!"){const E=this.evaluateExpression(R.argument);if(!E)return;const N=E.asBool();if(typeof N!=="boolean")return;return(new we).setBoolean(!N).setSideEffects(E.couldHaveSideEffects()).setRange(R.range)}else if(R.operator==="~"){return handleConstOperation((E=>~E))}else if(R.operator==="+"){return handleConstOperation((E=>+E))}else if(R.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new we).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,R)=>{let N=undefined;let $=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const j=E;const q=R(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{N=j;$=q}),(E=>{const R=this.hooks.evaluateDefinedIdentifier.get(E);if(R!==undefined){return R.call(j)}}),j)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const j=N===E?$:R(E);if(j!==undefined){return(new we).setIdentifier(j.name,j.rootInfo,j.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{N=$=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const R=this.getVariableInfo(E.name);if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const R=this.getVariableInfo("this");if(typeof R==="string"||R instanceof VariableInfo&&typeof R.freeName==="string"){return{name:R,rootInfo:R,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const R=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),R)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Te)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const R=E;if(R.callee.type!=="MemberExpression"||R.callee.property.type!==(R.callee.computed?"Literal":"Identifier")){return}const N=this.evaluateExpression(R.callee.object);if(!N)return;const $=R.callee.property.type==="Literal"?`${R.callee.property.value}`:R.callee.property.name;const j=this.hooks.evaluateCallExpressionMember.get($);if(j!==undefined){return j.call(R,N)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length===0)return;const[N,$]=E.arguments;if(N.type==="SpreadElement")return;const j=this.evaluateExpression(N);if(!j.isString())return;const q=j.string;let G;if($){if($.type==="SpreadElement")return;const E=this.evaluateExpression($);if(!E.isNumber())return;G=R.string.indexOf(q,E.number)}else{G=R.string.indexOf(q)}return(new we).setNumber(G).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let N=this.evaluateExpression(E.arguments[0]);let $=this.evaluateExpression(E.arguments[1]);if(!N.isString()&&!N.isRegExp())return;const j=N.regExp||N.string;if(!$.isString())return;const q=$.string;return(new we).setString(R.string.replace(j,q)).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((R,N)=>{if(!N.isString())return;let $;let j,q=N.string;switch(R.arguments.length){case 1:if(R.arguments[0].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);if(!$.isNumber())return;j=q[E]($.number);break;case 2:{if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;$=this.evaluateExpression(R.arguments[0]);const N=this.evaluateExpression(R.arguments[1]);if(!$.isNumber())return;if(!N.isNumber())return;j=q[E]($.number,N.number);break}default:return}return(new we).setString(j).setSideEffects(N.couldHaveSideEffects()).setRange(R.range)}))}));const getSimplifiedTemplateResult=(E,R)=>{const N=[];const $=[];for(let j=0;j0){const E=$[$.length-1];const N=this.evaluateExpression(R.expressions[j-1]);const ie=N.asString();if(typeof ie==="string"&&!N.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}$.push(N)}const ie=(new we).setString(G).setRange(q.range).setExpression(q);N.push(ie);$.push(ie)}return{quasis:N,parts:$}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const R=E;const{quasis:N,parts:$}=getSimplifiedTemplateResult("cooked",R);if($.length===1){return $[0].setRange(R.range)}return(new we).setTemplateString(N,$,"cooked").setRange(R.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.tag);if(N.isIdentifier()&&N.identifier!=="String.raw")return;const{quasis:$,parts:j}=getSimplifiedTemplateResult("raw",R.quasi);return(new we).setTemplateString($,j,"raw").setRange(R.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,R)=>{if(!R.isString()&&!R.isWrapped())return;let N=null;let $=false;const j=[];for(let R=E.arguments.length-1;R>=0;R--){const q=E.arguments[R];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if($||!G.isString()&&!G.isNumber()){$=true;j.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(N?N.string:"");const le=[G.range[0],(N||G).range[1]];N=(new we).setString(ae).setSideEffects(N&&N.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(le)}if($){const $=R.isString()?R:R.prefix;const q=R.isWrapped()&&R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped($,N,q).setRange(E.range)}else if(R.isWrapped()){const $=N||R.postfix;const q=R.wrappedInnerExpressions?R.wrappedInnerExpressions.concat(j.reverse()):j.reverse();return(new we).setWrapped(R.prefix,$,q).setRange(E.range)}else{const $=R.string+(N?N.string:"");return(new we).setString($).setSideEffects(N&&N.couldHaveSideEffects()||R.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,R)=>{if(!R.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let N;const $=this.evaluateExpression(E.arguments[0]);if($.isString()){N=R.string.split($.string)}else if($.isRegExp()){N=R.string.split($.regExp)}else{return}return(new we).setArray(N).setSideEffects(R.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const R=E;const N=this.evaluateExpression(R.test);const $=N.asBool();let j;if($===undefined){const E=this.evaluateExpression(R.consequent);const N=this.evaluateExpression(R.alternate);if(!E||!N)return;j=new we;if(E.isConditional()){j.setOptions(E.options)}else{j.setOptions([E])}if(N.isConditional()){j.addOptions(N.options)}else{j.addOptions([N])}}else{j=this.evaluateExpression($?R.consequent:R.alternate);if(N.couldHaveSideEffects())j.setSideEffects()}j.setRange(R.range);return j}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const R=E;const N=R.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!N.every(Boolean))return;return(new we).setItems(N).setRange(R.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const R=E;const N=[];let $=R.expression;while($.type==="MemberExpression"||$.type==="CallExpression"){if($.type==="MemberExpression"){if($.optional){N.push($.object)}$=$.object}else{if($.optional){N.push($.callee)}$=$.callee}}while(N.length>0){const R=N.pop();const $=this.evaluateExpression(R);if($&&$.asNullish()){return $.setRange(E.range)}}return this.evaluateExpression(R.expression)}))}getRenameIdentifier(E){const R=this.evaluateExpression(E);if(R&&R.isIdentifier()){return R.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const R of E.body.body){if(!this.hooks.classBodyElement.call(R,E)){if(R.computed&&R.key){this.walkExpression(R.key)}if(R.value){if(!this.hooks.classBodyValue.call(R.value,R,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(R.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let R=0,N=E.length;R{const R=E.body;const N=this.prevStatement;this.blockPreWalkStatements(R);this.prevStatement=N;this.walkStatements(R)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const R=this.hooks.statementIf.call(E);if(R===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(R){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const R=this.hooks.label.get(E.label.name);if(R!==undefined){const N=R.call(E);if(N===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const R=E.body;if(R.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(R.body);this.prevStatement=E;this.walkStatements(R.body)}else{this.walkNestedStatement(R)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}blockPreWalkImportDeclaration(E){const R=E.source.value;this.hooks.import.call(E,R);for(const N of E.specifiers){const $=N.local.name;switch(N.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,R,"default",$)){this.defineVariable($)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,R,N.imported.name,$)){this.defineVariable($)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,R,null,$)){this.defineVariable($)}break;default:this.defineVariable($)}}}enterDeclaration(E,R){switch(E.type){case"VariableDeclaration":for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{this.enterPattern(N.id,R);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,R);break;case"ClassDeclaration":this.enterPattern(E.id,R);break}}blockPreWalkExportNamedDeclaration(E){let R;if(E.source){R=E.source.value;this.hooks.exportImport.call(E,R)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const R=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=R;this.blockPreWalkStatement(E.declaration);let N=0;this.enterDeclaration(E.declaration,(R=>{this.hooks.exportSpecifier.call(E,R,R,N++)}))}}if(E.specifiers){for(let N=0;N{let $=R.get(E);if($===undefined||!$.call(N)){$=this.hooks.varDeclaration.get(E);if($===undefined||!$.call(N)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{const N=R.init&&this.getRenameIdentifier(R.init);if(N&&R.id.type==="Identifier"){const E=this.hooks.canRename.get(N);if(E!==undefined&&E.call(R.init)){const E=this.hooks.rename.get(N);if(E===undefined||!E.call(R.init)){this.setVariable(R.id.name,N)}break}}if(!this.hooks.declarator.call(R,E)){this.walkPattern(R.id);if(R.init)this.walkExpression(R.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let R=0,N=E.length;R{const R=E.length;for(let N=0;N0){const E=this.prevStatement;this.blockPreWalkStatements(R.consequent);this.prevStatement=E}}for(let N=0;N0){this.walkStatements(R.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const R=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let R=0,N=E.properties.length;R{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkArrowFunctionExpression(E){const R=this.scope.topLevelScope;this.scope.topLevelScope=R?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const R of E.params){this.walkPattern(R)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const R=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=R;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=R}walkSequenceExpression(E){if(!E.expressions)return;const R=this.statementPath[this.statementPath.length-1];if(R===E||R.type==="ExpressionStatement"&&R.expression===E){const R=this.statementPath.pop();for(const R of E.expressions){this.statementPath.push(R);this.walkExpression(R);this.statementPath.pop()}this.statementPath.push(R)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(R===true)return;if(E.argument.type==="ChainExpression"){const R=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(R===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const R=this.hooks.expressionLogicalOperator.call(E);if(R===undefined){this.walkLeftRightExpression(E)}else{if(R){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const R=this.getRenameIdentifier(E.right);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E.right)){if(!this.callHooksForInfo(this.hooks.rename,R,E.right)){this.setVariable(E.left.name,this.getVariableInfo(R))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((R,N)=>{if(!this.callHooksForName(this.hooks.assign,R,E)){this.defineVariable(R)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.left,Te);if(R){if(this.callHooksForInfo(this.hooks.assignMemberChain,R.rootInfo,E,R.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const R=this.hooks.expressionConditionalOperator.call(E);if(R===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(R){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const R=this.callHooksForExpression(this.hooks.new,E.callee,E);if(R===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const R=this.hooks.optionalChaining.call(E);if(R===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,R,N){const getVarInfo=E=>{const R=this.getRenameIdentifier(E);if(R){if(this.callHooksForInfo(this.hooks.canRename,R,E)){if(!this.callHooksForInfo(this.hooks.rename,R,E)){return this.getVariableInfo(R)}}}this.walkExpression(E)};const{params:$,type:j}=E;const q=j==="ArrowFunctionExpression";const G=N?getVarInfo(N):null;const ie=R.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const le=$.filter(((E,R)=>!ie[R]));if(E.id){le.push(E.id.name)}this.inFunctionScope(true,le,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const R=this.getMemberExpressionInfo(E.callee,Me);if(R&&R.type==="call"){const N=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return}}const R=this.evaluateExpression(E.callee);if(R.isIdentifier()){const N=this.callHooksForInfo(this.hooks.callMemberChain,R.rootInfo,E,R.getMembers());if(N===true)return;const $=this.callHooksForInfo(this.hooks.call,R.identifier,E);if($===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const R=this.getMemberExpressionInfo(E,Ne);if(R){switch(R.type){case"expression":{const N=this.callHooksForInfo(this.hooks.expression,R.name,E);if(N===true)return;const $=R.getMembers();const j=this.callHooksForInfo(this.hooks.expressionMemberChain,R.rootInfo,E,$);if(j===true)return;this.walkMemberExpressionWithExpressionName(E,R.name,R.rootInfo,$.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,R.rootInfo,E,$)));return}case"call":{const N=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,R.rootInfo,E,R.getCalleeMembers(),R.call,R.getMembers());if(N===true)return;this.walkExpression(R.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,R,N,$,j){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;R=R.slice(0,-q.length-1);$.pop();const G=this.callHooksForInfo(this.hooks.expression,R,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,R,N,$,j)}else if(!j||!j()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,R,...N){return this.callHooksForExpressionWithFallback(E,R,undefined,undefined,...N)}callHooksForExpressionWithFallback(E,R,N,$,...j){const q=this.getMemberExpressionInfo(R,Te);if(q!==undefined){const R=q.getMembers();return this.callHooksForInfoWithFallback(E,R.length===0?q.rootInfo:q.name,N&&(E=>N(E,q.rootInfo,q.getMembers)),$&&(()=>$(q.name)),...j)}}callHooksForName(E,R,...N){return this.callHooksForNameWithFallback(E,R,undefined,undefined,...N)}callHooksForInfo(E,R,...N){return this.callHooksForInfoWithFallback(E,R,undefined,undefined,...N)}callHooksForInfoWithFallback(E,R,N,$,...j){let q;if(typeof R==="string"){q=R}else{if(!(R instanceof VariableInfo)){if($!==undefined){return $()}return}let N=R.tagInfo;while(N!==undefined){const R=E.get(N.tag);if(R!==undefined){this.currentTagData=N.data;const E=R.call(...j);this.currentTagData=undefined;if(E!==undefined)return E}N=N.next}if(R.freeName===true){if($!==undefined){return $()}return}q=R.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...j);if(E!==undefined)return E}if(N!==undefined){return N(q)}}callHooksForNameWithFallback(E,R,N,$,...j){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(R),N,$,...j)}inScope(E,R){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:false,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,R)=>{this.defineVariable(E)}));R();this.scope=N}inFunctionScope(E,R,N){const $=this.scope;this.scope={topLevelScope:$.topLevelScope,inTry:false,inShorthand:false,isStrict:$.isStrict,isAsmJs:$.isAsmJs,definitions:$.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(R,((E,R)=>{this.defineVariable(E)}));N();this.scope=$}inBlockScope(E){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:R.inTry,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};E();this.scope=R}detectMode(E){const R=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(R&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(R&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,R){for(const N of E){if(typeof N!=="string"){this.enterPattern(N,R)}else if(N){R(N)}}}enterPattern(E,R){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,R);break;case"AssignmentPattern":this.enterAssignmentPattern(E,R);break;case"Identifier":this.enterIdentifier(E,R);break;case"ObjectPattern":this.enterObjectPattern(E,R);break;case"RestElement":this.enterRestElement(E,R);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,R);this.scope.inShorthand=false}else{this.enterPattern(E.value,R)}break}}enterIdentifier(E,R){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){R(E.name,E)}}enterObjectPattern(E,R){for(let N=0,$=E.properties.length;N<$;N++){const $=E.properties[N];this.enterPattern($,R)}}enterArrayPattern(E,R){for(let N=0,$=E.elements.length;N<$;N++){const $=E.elements[N];this.enterPattern($,R)}}enterRestElement(E,R){this.enterPattern(E.argument,R)}enterAssignmentPattern(E,R){this.enterPattern(E.left,R)}evaluateExpression(E){try{const R=this.hooks.evaluate.get(E.type);if(R!==undefined){const N=R.call(E);if(N!==undefined){if(N){N.setExpression(E)}return N}}}catch(E){console.warn(E)}return(new we).setRange(E.range).setExpression(E)}parseString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){return this.parseString(E.left)+this.parseString(E.right)}break;case"Literal":return E.value+""}throw new Error(E.type+" is not supported as parameter for require")}parseCalculatedString(E){switch(E.type){case"BinaryExpression":if(E.operator==="+"){const R=this.parseCalculatedString(E.left);const N=this.parseCalculatedString(E.right);if(R.code){return{range:R.range,value:R.value,code:true,conditional:false}}else if(N.code){return{range:[R.range[0],N.range?N.range[1]:R.range[1]],value:R.value+N.value,code:true,conditional:false}}else{return{range:[R.range[0],N.range[1]],value:R.value+N.value,code:false,conditional:false}}}break;case"ConditionalExpression":{const R=this.parseCalculatedString(E.consequent);const N=this.parseCalculatedString(E.alternate);const $=[];if(R.conditional){$.push(...R.conditional)}else if(!R.code){$.push(R)}else{break}if(N.conditional){$.push(...N.conditional)}else if(!N.code){$.push(N)}else{break}return{range:undefined,value:"",code:true,conditional:$}}case"Literal":return{range:E.range,value:E.value+"",code:false,conditional:false}}return{range:undefined,value:"",code:true,conditional:false}}parse(E,R){let N;let $;const j=new Set;if(E===null){throw new Error("source must not be null")}if(Buffer.isBuffer(E)){E=E.toString("utf-8")}if(typeof E==="object"){N=E;$=E.comments}else{$=[];N=JavascriptParser._parse(E,{sourceType:this.sourceType,onComment:$,onInsertedSemicolon:E=>j.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const _e=this.statementPath;const Ee=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new le};this.state=R;this.comments=$;this.semicolons=j;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(N,$)===undefined){this.detectMode(N.body);this.preWalkStatements(N.body);this.prevStatement=undefined;this.blockPreWalkStatements(N.body);this.prevStatement=undefined;this.walkStatements(N.body)}this.hooks.finish.call(N,$);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=_e;this.prevStatement=Ee;return R}evaluate(E){const R=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(R.body.length!==1||R.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(R.body[0].expression)}isPure(E,R){if(!E)return true;const N=this.hooks.isPure.for(E.type).call(E,R);if(typeof N==="boolean")return N;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const R=E.body.body;return R.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,R)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const N=this.isPure(E,R);R=E.range[1];return N}));case"CallExpression":{const N=E.range[0]-R>12&&this.getComments([R,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!N)return false;R=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const N=this.isPure(E,R);R=E.range[1];return N}))}}const $=this.evaluateExpression(E);return!$.couldHaveSideEffects()}getComments(E){const[R,N]=E;const compare=(E,R)=>E.range[0]-R;let $=_e.ge(this.comments,R,compare);let j=[];while(this.comments[$]&&this.comments[$].range[1]<=N){j.push(this.comments[$]);$++}return j}isAsiPosition(E){const R=this.statementPath[this.statementPath.length-1];if(R===undefined)throw new Error("Not in statement");return R.range[1]===E&&this.semicolons.has(E)||R.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const R=this.statementPath[this.statementPath.length-1];return E===R||R.type==="ExpressionStatement"&&R.expression===E}getTagData(E,R){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo){let E=N.tagInfo;while(E!==undefined){if(E.tag===R)return E.data;E=E.next}}}tagVariable(E,R,N){const $=this.scope.definitions.get(E);let j;if($===undefined){j=new VariableInfo(this.scope,E,{tag:R,data:N,next:undefined})}else if($ instanceof VariableInfo){j=new VariableInfo($.declaredScope,$.freeName,{tag:R,data:N,next:$.tagInfo})}else{j=new VariableInfo($,true,{tag:R,data:N,next:undefined})}this.scope.definitions.set(E,j)}defineVariable(E){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo&&R.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const R=this.scope.definitions.get(E);if(R===undefined)return false;if(R instanceof VariableInfo){return R.freeName===true}return true}getVariableInfo(E){const R=this.scope.definitions.get(E);if(R===undefined){return E}else{return R}}setVariable(E,R){if(typeof R==="string"){if(R===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,R,undefined))}}else{this.scope.definitions.set(E,R)}}parseCommentOptions(E){const R=this.getComments(E);if(R.length===0){return ze}let N={};let $=[];for(const E of R){const{value:R}=E;if(R&&je.test(R)){try{const E=ie.runInNewContext(`(function(){return {${R}};})()`);Object.assign(N,E)}catch(R){R.comment=E;$.push(R)}}}return{options:N,errors:$}}extractMemberExpressionChain(E){let R=E;const N=[];while(R.type==="MemberExpression"){if(R.computed){if(R.property.type!=="Literal")break;N.push(`${R.property.value}`)}else{if(R.property.type!=="Identifier")break;N.push(R.property.name)}R=R.object}return{members:N,object:R}}getFreeInfoFromVariable(E){const R=this.getVariableInfo(E);let N;if(R instanceof VariableInfo){N=R.freeName;if(typeof N!=="string")return undefined}else if(typeof R!=="string"){return undefined}else{N=R}return{info:R,name:N}}getMemberExpressionInfo(E,R){const{object:N,members:$}=this.extractMemberExpressionChain(E);switch(N.type){case"CallExpression":{if((R&Me)===0)return undefined;let E=N.callee;let j=Ie;if(E.type==="MemberExpression"){({object:E,members:j}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const le=objectAndMembersToName(ae,j);return{type:"call",call:N,calleeName:le,rootInfo:ie,getCalleeMembers:Ee((()=>j.reverse())),name:objectAndMembersToName(`${le}()`,$),getMembers:Ee((()=>$.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((R&Te)===0)return undefined;const E=getRootName(N);if(!E)return undefined;const j=this.getFreeInfoFromVariable(E);if(!j)return undefined;const{info:q,name:G}=j;return{type:"expression",name:objectAndMembersToName(G,$),rootInfo:q,getMembers:Ee((()=>$.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Te)}static _parse(E,R){const N=R?R.sourceType:"module";const $={...Le,allowReturnOutsideFunction:N==="script",...R,sourceType:N==="auto"?"module":N};let j;let q;let G=false;try{j=Be.parse(E,$)}catch(E){q=E;G=true}if(G&&N==="auto"){$.sourceType="script";if(!("allowReturnOutsideFunction"in R)){$.allowReturnOutsideFunction=true}if(Array.isArray($.onComment)){$.onComment.length=0}try{j=Be.parse(E,$);G=false}catch(E){}}if(G){throw q}return j}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Te;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=Me},48472:(E,R,N)=>{"use strict";const $=N(53558);const j=N(66298);const q=N(87250);R.toConstantDependency=(E,R,N)=>function constDependency($){const q=new j(R,$.range,N);q.loc=$.loc;E.state.module.addPresentationalDependency(q);return true};R.evaluateToString=E=>function stringExpression(R){return(new q).setString(E).setRange(R.range)};R.evaluateToNumber=E=>function stringExpression(R){return(new q).setNumber(E).setRange(R.range)};R.evaluateToBoolean=E=>function booleanExpression(R){return(new q).setBoolean(E).setRange(R.range)};R.evaluateToIdentifier=(E,R,N,$)=>function identifierExpression(j){let G=(new q).setIdentifier(E,R,N).setSideEffects(false).setRange(j.range);switch($){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};R.expressionIsUnsupported=(E,R)=>function unsupportedExpression(N){const q=new j("(void 0)",N.range,null);q.loc=N.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new $(R,N.loc));return true};R.skipTraversal=()=>true;R.approve=()=>true},13085:(E,R,N)=>{"use strict";const $=N(71452);const j=N(76150);const q=N(58159);const{isSubset:G}=N(26221);const{chunkHasJs:ie}=N(18161);const getAllChunks=(E,R,N)=>{const j=new Set([E]);const q=new Set;for(const E of j){for(const $ of E.chunks){if($===R)continue;if($===N)continue;q.add($)}for(const R of E.parentsIterable){if(R instanceof $)j.add(R)}}return q};const ae="var __webpack_exports__ = ";R.generateEntryStartup=(E,R,N,$,ie)=>{const le=[`var __webpack_exec__ = ${R.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,N,$)=>{if(E.size===0){le.push(`${$?ae:""}(${N.map(runModule).join(", ")});`)}else{const q=R.returningFunction(N.map(runModule).join(", "));le.push(`${$&&!ie?ae:""}${ie?j.onChunksLoaded:j.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if($&&ie){le.push(`${ae}${j.onChunksLoaded}();`)}}};let _e=undefined;let Ee=undefined;for(const[R,j]of N){const N=j.getRuntimeChunk();const q=E.getModuleId(R);const ie=getAllChunks(j,$,N);if(_e&&_e.size===ie.size&&G(_e,ie)){Ee.push(q)}else{if(_e){outputCombination(_e,Ee)}_e=ie;Ee=[q]}}if(_e){outputCombination(_e,Ee,true)}le.push("");return q.asString(le)};R.updateHashForEntryStartup=(E,R,N,$)=>{for(const[j,q]of N){const N=q.getRuntimeChunk();const G=R.getModuleId(j);E.update(`${G}`);for(const R of getAllChunks(q,$,N))E.update(`${R.id}`)}};R.getInitialChunkIds=(E,R)=>{const N=new Set(E.ids);for(const $ of E.getAllInitialChunks()){if($===E||ie($,R))continue;for(const E of $.ids)N.add(E)}return N}},72055:(E,R,N)=>{"use strict";const{register:$}=N(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}$(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:R}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}R(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(77294);const{UsageState:q}=N(76632);const G=N(36253);const ie=N(76150);const stringifySafe=E=>{const R=JSON.stringify(E);if(!R){return undefined}return R.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,R,N)=>{if(R.otherExportsInfo.getUsed(N)!==q.Unused)return E;const $=Array.isArray(E);const j=$?[]:{};for(const $ of Object.keys(E)){const G=R.getReadOnlyExportInfo($);const ie=G.getUsed(N);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[$],G.exportsInfo,N)}else{ae=E[$]}const le=G.getUsedName($,N);j[le]=ae}if($){let $=R.getReadOnlyExportInfo("length").getUsed(N)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E20&&typeof we==="object"?`JSON.parse('${Ie.replace(/[\\']/g,"\\$&")}')`:Ie;let Te;if(le){Te=`${N.supportsConst()?"const":"var"} ${j.NAMESPACE_OBJECT_EXPORT} = ${Me};`;le.registerNamespaceExport(j.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Te=`${E.moduleArgument}.exports = ${Me};`}return new $(Te)}}E.exports=JsonGenerator},9483:(E,R,N)=>{"use strict";const $=N(35817);const j=N(79279);const q=N(79232);const G=$(N(71633),(()=>N(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:R})=>{R.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));R.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new j))}))}}E.exports=JsonModulesPlugin},79232:(E,R,N)=>{"use strict";const $=N(78688);const j=N(2172);const q=N(38895);const G=N(72055);class JsonParser extends j{constructor(E){super();this.options=E||{}}parse(E,R){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const N=typeof this.options.parse==="function"?this.options.parse:$;const j=typeof E==="object"?E:N(E[0]==="\ufeff"?E.slice(1):E);R.module.buildInfo.jsonData=new G(j);R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="default";R.module.buildMeta.defaultObject=typeof j==="object"?"redirect-warn":false;R.module.addDependency(new q(q.getExportsFromData(j)));return R}}E.exports=JsonParser},9786:(E,R,N)=>{"use strict";const $=N(76150);const j=N(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:R}){this._pluginName=E;this._type=R;this._parseCache=new WeakMap}apply(E){const{_pluginName:R}=this;E.hooks.thisCompilation.tap(R,(E=>{E.hooks.finishModules.tap({name:R,stage:10},(()=>{for(const[R,{dependencies:N,options:{library:$}}]of E.entries){const j=this._parseOptionsCached($!==undefined?$:E.outputOptions.library);if(j!==false){const $=N[N.length-1];if($){const N=E.moduleGraph.getModule($);if(N){this.finishEntryModule(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=R=>{if(E.chunkGraph.getNumberOfEntryModules(R)===0)return false;const N=R.getEntryOptions();const $=N&&N.library;return this._parseOptionsCached($!==undefined?$:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(R,((R,N,{chunkGraph:$})=>{const j=getOptionsForChunk(R);if(j!==false){this.runtimeRequirements(R,N,{options:j,compilation:E,chunkGraph:$})}}))}const N=j.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){N.render.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return R;return this.render(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){N.embedInRuntimeBailout.tap(R,((R,N)=>{const $=getOptionsForChunk(N.chunk);if($===false)return;return this.embedInRuntimeBailout(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){N.strictRuntimeBailout.tap(R,(R=>{const N=getOptionsForChunk(R.chunk);if(N===false)return;return this.strictRuntimeBailout(R,{options:N,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){N.renderStartup.tap(R,((R,N,$)=>{const j=getOptionsForChunk($.chunk);if(j===false)return R;return this.renderStartup(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}N.chunkHash.tap(R,((R,N,$)=>{const j=getOptionsForChunk(R);if(j===false)return;this.chunkHash(R,N,$,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const R=this._parseCache.get(E);if(R!==undefined)return R;const N=this.parseOptions(E);this._parseCache.set(E,N);return N}parseOptions(E){const R=N(75884);throw new R}finishEntryModule(E,R,N){}embedInRuntimeBailout(E,R,N){return undefined}strictRuntimeBailout(E,R){return undefined}runtimeRequirements(E,R,N){if(this.render!==AbstractLibraryPlugin.prototype.render)R.add($.returnExportsFromRuntime)}render(E,R,N){return E}renderStartup(E,R,N,$){return E}chunkHash(E,R,N,$){const j=this._parseOptionsCached($.compilation.outputOptions.library);R.update(this._pluginName);R.update(JSON.stringify(j))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(16734);const q=N(58159);const G=N(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:R}=E;if(this.requireAsWrapper){if(R){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(R&&typeof R!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:R}}render(E,{chunkGraph:R,chunk:N,runtimeTemplate:G},{options:ie,compilation:ae}){const le=G.supportsArrowFunction();const _e=R.getChunkModules(N).filter((E=>E instanceof j));const Ee=_e;const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const Me=G.isIIFE();const Te=(le?`(${Ie}) => {`:`function(${Ie}) {`)+(Me||!N.hasRuntime()?" return ":"\n");const Ne=Me?";\n}":"\n}";if(this.requireAsWrapper){return new $(`require(${we}, ${Te}`,E,`${Ne});`)}else if(ie.name){const R=ae.getPath(ie.name,{chunk:N});return new $(`define(${JSON.stringify(R)}, ${we}, ${Te}`,E,`${Ne});`)}else if(Ie){return new $(`define(${we}, ${Te}`,E,`${Ne});`)}else{return new $(`define(${Te}`,E,`${Ne});`)}}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AmdLibraryPlugin");if(this.requireAsWrapper){R.update("requireAsWrapper")}else if($.name){R.update("named");const N=j.getPath($.name,{chunk:E});R.update(N)}}}E.exports=AmdLibraryPlugin},69444:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(58159);const G=N(68038);const{getEntryRuntime:ie}=N(37416);const ae=N(9786);const le=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const _e=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!le.test(E)&&_e.test(E);const accessWithInit=(E,R,N=false)=>{const $=E[0];if(E.length===1&&!N)return $;let j=R>0?$:`(${$} = typeof ${$} === "undefined" ? {} : ${$})`;let q=1;let ie;if(R>q){ie=E.slice(1,R);q=R;j+=G(ie)}else{ie=[]}const ae=N?E.length:E.length-1;for(;qN.getPath(E,{chunk:R})))}render(E,{chunk:R},{options:N,compilation:j}){const G=this._getResolvedFullName(N,R,j);if(this.declare){const R=G[0];if(!isNameValid(R)){throw new Error(`Library name base (${R}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(R)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new $(`${this.declare} ${R};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:R},{options:N,compilation:$}){const j=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!j)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(N,R,$);const G=q[0];if(j.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:R,compilation:N}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!R.name){return}return"a global variable is assign and maybe created"}renderStartup(E,R,{chunk:N},{options:j,compilation:q}){const ie=this._getResolvedFullName(j,N,q);const ae=j.export?G(Array.isArray(j.export)?j.export:[j.export]):"";const le=new $(E);if(j.name?this.named==="copy":this.unnamed==="copy"){le.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){le.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}le.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);le.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{le.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return le}runtimeRequirements(E,R,N){}chunkHash(E,R,N,{options:$,compilation:j}){R.update("AssignLibraryPlugin");const q=this.prefix==="global"?[j.outputOptions.globalObject]:this.prefix;const G=$.name?q.concat($.name):q;const ie=G.map((R=>j.getPath(R,{chunk:E})));if($.name?this.named==="copy":this.unnamed==="copy"){R.update("copy")}if(this.declare){R.update(this.declare)}R.update(ie.join("."));if($.export){R.update(`${$.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){const enableExportProperty=()=>{const $=N(97140);new $({type:R,nsObjectUsed:R!=="module"}).apply(E)};switch(R){case"var":{const $=N(69444);new $({type:R,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const $=N(69444);new $({type:R,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const $=N(69444);new $({type:R,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const $=N(69444);new $({type:R,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const $=N(69444);new $({type:R,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const $=N(69444);new $({type:R,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const $=N(69444);new $({type:R,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const $=N(69444);new $({type:R,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const $=N(17982);new $({type:R,requireAsWrapper:R==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const $=N(76456);new $({type:R,optionalAmdExternalAsGlobal:R==="umd2"}).apply(E);break}case"system":{enableExportProperty();const $=N(59405);new $({type:R}).apply(E);break}case"jsonp":{enableExportProperty();const $=N(63154);new $({type:R}).apply(E);break}case"module":{enableExportProperty();const $=N(68111);new $({type:R}).apply(E);break}default:throw new Error(`Unsupported library type ${R}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(68038);const{getEntryRuntime:G}=N(37416);const ie=N(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:R}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=R}parseOptions(E){return{export:E.export}}finishEntryModule(E,R,{options:N,compilation:$,compilation:{moduleGraph:q}}){const ie=G($,R);if(N.export){const R=q.getExportInfo(E,Array.isArray(N.export)?N.export[0]:N.export);R.setUsed(j.Used,ie);R.canMangleUse=false}else{const R=q.getExportsInfo(E);if(this.nsObjectUsed){R.setUsedInUnknownWay(ie)}else{R.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,R,N){}renderStartup(E,R,N,{options:j}){if(!j.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray(j.export)?j.export:[j.export])};\n`;return new $(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(9786);class JsonpLibraryPlugin extends j{constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(typeof R!=="string"){throw new Error(`Jsonp library name must be a simple string. ${j.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunk:R},{options:N,compilation:j}){const q=j.getPath(N.name,{chunk:R});return new $(`${q}(`,E,")")}chunkHash(E,R,N,{options:$,compilation:j}){R.update("JsonpLibraryPlugin");R.update(j.getPath($.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const j=N(58159);const q=N(68038);const G=N(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}renderStartup(E,R,{moduleGraph:N,chunk:G},{options:ie,compilation:ae}){const le=new $(E);const _e=N.getExportsInfo(R);const Ee=[];const we=N.isAsync(R);if(we){le.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of _e.orderedExports){if(!E.provided)continue;const R=`__webpack_exports__${j.toIdentifier(E.name)}`;le.add(`var ${R} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);Ee.push(`${R} as ${E.name}`)}if(Ee.length>0){le.add(`export { ${Ee.join(", ")} };\n`)}return le}}E.exports=ModuleLibraryPlugin},59405:(E,R,N)=>{"use strict";const{ConcatSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(16734);const G=N(58159);const ie=N(68038);const ae=N(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:R}=E;if(R&&typeof R!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:R}}render(E,{chunkGraph:R,moduleGraph:N,chunk:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const we=Ee;const Ie=le.name?`${JSON.stringify(_e.getPath(le.name,{chunk:ae}))}, `:"";const Me=JSON.stringify(we.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te="__WEBPACK_DYNAMIC_EXPORT__";const Ne=we.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`));const Be=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const je=Ne.length===0?"":G.asString(["setters: [",G.indent(we.map(((E,R)=>{const $=Ne[R];const q=N.getExportsInfo(E);const le=q.otherExportsInfo.getUsed(ae.runtime)===j.Unused;const _e=[];const Ee=[];for(const E of q.orderedExports){const R=E.getUsedName(undefined,ae.runtime);if(R){if(le||R!==E.name){_e.push(`${$}${ie([R])} = module${ie([E.name])};`);Ee.push(E.name)}}else{Ee.push(E.name)}}if(!le){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${$}, "__esModule", { value: true });`)}if(Ee.length>0){const E=`${$}handledNames`;Le.push(`var ${E} = ${JSON.stringify(Ee)};`);_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${$}[key] = module[key];`)]),"});"]))}else{_e.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${$}[key] = module[key];`]),"});"]))}}if(_e.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(_e),"}"])})).join(",\n")),"],"]);return new $(G.asString([`System.register(${Ie}${Me}, function(${Te}, __system_context__) {`,G.indent([Be,G.asString(Le),"return {",G.indent([je,"execute: function() {",G.indent(`${Te}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,R,N,{options:$,compilation:j}){R.update("SystemLibraryPlugin");if($.name){R.update(j.getPath($.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,R,N)=>{"use strict";const{ConcatSource:$,OriginalSource:j}=N(48135);const q=N(16734);const G=N(58159);const ie=N(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,R,N=", ")=>{const $=Array.isArray(R)?R:[R];return $.map(((R,N)=>{const j=E?E+accessorToObjectAccess($.slice(0,N+1)):$[0]+accessorToObjectAccess($.slice(1,N+1));if(N===$.length-1)return j;if(N===0&&E===undefined)return`${j} = typeof ${j} === "object" ? ${j} : {}`;return`${j} = ${j} || {}`})).join(N)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let R;let N;if(typeof E.name==="object"&&!Array.isArray(E.name)){R=E.name.root||E.name.amd||E.name.commonjs;N=E.name}else{R=E.name;const $=Array.isArray(R)?R[0]:R;N={commonjs:$,root:E.name,amd:$}}return{name:R,names:N,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:R,runtimeTemplate:N,chunk:ie,moduleGraph:ae},{options:le,compilation:_e}){const Ee=R.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let we=Ee;const Ie=[];let Me=[];if(this.optionalAmdExternalAsGlobal){for(const E of we){if(E.isOptional(ae)){Ie.push(E)}else{Me.push(E)}}we=Me.concat(Ie)}else{Me=we}const replaceKeys=E=>_e.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let R=E.request;if(typeof R==="object")R=R.root;return`root${accessorToObjectAccess([].concat(R))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(we.map((R=>{let N;let $=R.request;if(typeof $==="object"){$=$[E]}if($===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray($)){N=`require(${JSON.stringify($[0])})${accessorToObjectAccess($.slice(1))}`}else{N=`require(${JSON.stringify($)})`}if(R.isOptional(ae)){N=`(function webpackLoadOptionalExternalModule() { try { return ${N}; } catch(e) {} }())`}return N})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${R.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Te;if(Ie.length>0){const E=externalsArguments(Me);const R=Me.length>0?externalsArguments(Me)+", "+externalsRootArray(Ie):externalsRootArray(Ie);Te=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${R});\n`+"\t\t}"}else{Te="factory"}const{auxiliaryComment:Ne,namedDefine:Be,names:Le}=le;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new $(new j("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(Me.length>0?Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(Me)+", "+Te+");\n":"\t\tdefine("+externalsDepsArray(Me)+", "+Te+");\n":Le.amd&&Be===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Te+");\n":"\t\tdefine([], "+Te+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(we)+");\n":"\telse {\n"+(we.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(we)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${N.outputOptions.globalObject}, function(${externalsArguments(we)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,R)=>{"use strict";const N=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});R.LogType=N;const $=Symbol("webpack logger raw log method");const j=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,R){this[$]=E;this.getChildLogger=R}error(...E){this[$](N.error,E)}warn(...E){this[$](N.warn,E)}info(...E){this[$](N.info,E)}log(...E){this[$](N.log,E)}debug(...E){this[$](N.debug,E)}assert(E,...R){if(!E){this[$](N.error,R)}}trace(){this[$](N.trace,["Trace"])}clear(){this[$](N.clear)}status(...E){this[$](N.status,E)}group(...E){this[$](N.group,E)}groupCollapsed(...E){this[$](N.groupCollapsed,E)}groupEnd(...E){this[$](N.groupEnd,E)}profile(E){this[$](N.profile,[E])}profileEnd(E){this[$](N.profileEnd,[E])}time(E){this[j]=this[j]||new Map;this[j].set(E,process.hrtime())}timeLog(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(R);this[$](N.time,[E,...q])}timeEnd(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(R);this[j].delete(E);this[$](N.time,[E,...q])}timeAggregate(E){const R=this[j]&&this[j].get(E);if(!R){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const N=process.hrtime(R);this[j].delete(E);this[q]=this[q]||new Map;const $=this[q].get(E);if($!==undefined){if(N[1]+$[1]>1e9){N[0]+=$[0]+1;N[1]=N[1]-1e9+$[1]}else{N[0]+=$[0];N[1]+=$[1]}}this[q].set(E,N)}timeAggregateEnd(E){if(this[q]===undefined)return;const R=this[q].get(E);if(R===undefined)return;this[q].delete(E);this[$](N.time,[E,...R])}}R.Logger=WebpackLogger},70108:(E,R,N)=>{"use strict";const{LogType:$}=N(78539);const filterToFunction=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const j={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:R=false,console:N})=>{const q=typeof R==="boolean"?[()=>R]:[].concat(R).map(filterToFunction);const G=j[`${E}`]||0;const logger=(E,R,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((R=>R(E)));switch(R){case $.debug:if(!ae)return;if(typeof N.debug==="function"){N.debug(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.log:if(!ae&&G>j.log)return;N.log(...labeledArgs());break;case $.info:if(!ae&&G>j.info)return;N.info(...labeledArgs());break;case $.warn:if(!ae&&G>j.warn)return;N.warn(...labeledArgs());break;case $.error:if(!ae&&G>j.error)return;N.error(...labeledArgs());break;case $.trace:if(!ae)return;N.trace();break;case $.groupCollapsed:if(!ae&&G>j.log)return;if(!ae&&G>j.verbose){if(typeof N.groupCollapsed==="function"){N.groupCollapsed(...labeledArgs())}else{N.log(...labeledArgs())}break}case $.group:if(!ae&&G>j.log)return;if(typeof N.group==="function"){N.group(...labeledArgs())}else{N.log(...labeledArgs())}break;case $.groupEnd:if(!ae&&G>j.log)return;if(typeof N.groupEnd==="function"){N.groupEnd()}break;case $.time:{if(!ae&&G>j.log)return;const R=ie[1]*1e3+ie[2]/1e6;const $=`[${E}] ${ie[0]}: ${R} ms`;if(typeof N.logTime==="function"){N.logTime($)}else{N.log($)}break}case $.profile:if(typeof N.profile==="function"){N.profile(...labeledArgs())}break;case $.profileEnd:if(typeof N.profileEnd==="function"){N.profileEnd(...labeledArgs())}break;case $.clear:if(!ae&&G>j.log)return;if(typeof N.clear==="function"){N.clear()}break;case $.status:if(!ae&&G>j.info)return;if(typeof N.status==="function"){if(ie.length===0){N.status()}else{N.status(...labeledArgs())}}else{if(ie.length!==0){N.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${R}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let R=0;for(const N of E)R+=N;return R};const truncateArgs=(E,R)=>{const N=E.map((E=>`${E}`.length));const $=R-N.length+1;if($>0&&E.length===1){if($>=E[0].length){return E}else if($>3){return["..."+E[0].slice(-$+3)]}else{return[E[0].slice(-$)]}}if($Math.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),R);return[]}let j=arraySum(N);if(j<=$)return E;while(j>$){const E=Math.max(...N);const R=N.filter((R=>R!==E));const q=R.length>0?Math.max(...R):0;const G=E-q;let ie=N.length-R.length;let ae=j-$;for(let R=0;R{const $=`${E}`;const j=N[R];if($.length===j){return $}else if(j>5){return"..."+$.slice(-j+3)}else if(j>0){return $.slice(-j)}else{return""}}))};E.exports=truncateArgs},82827:(E,R,N)=>{"use strict";const $=N(76150);const j=N(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const R=this._asyncChunkLoading?N(26020):N(75491);const q=this._asyncChunkLoading?"async-node":"require";new j({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const $=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return $===q};const j=new WeakSet;const handler=(N,q)=>{if(j.has(N))return;j.add(N);if(!isEnabledForChunk(N))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(N,new R(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,R,N)=>{"use strict";const $=N(67703);const j=N(15808);const q=N(70108);const G=N(2255);const ie=N(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:R}=this.options;E.infrastructureLogger=q({level:R.level||"info",debug:R.debug||false,console:R.console||ie({colors:R.colors,appendOnly:R.appendOnly,stream:R.stream})});E.inputFileSystem=new $(j,6e4);const N=E.inputFileSystem;E.outputFileSystem=j;E.intermediateFileSystem=j;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===N){E.fsStartTime=Date.now();N.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,R,N)=>{"use strict";const $=N(61050);const j=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new $("node-commonjs",j).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,R,N)=>{"use strict";const $=N(77314);const j=N(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const R=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=R;(new $).apply(E);new j(R).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,R,N)=>{"use strict";const $=N(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new $(this.watcherOptions)}watch(E,R,N,j,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof j!=="number"&&j){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new $(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,R)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}for(const E of R){N.purge(E)}}const N=this.watcher.getTimeInfoEntries();G(null,N,N,E,R)}));this.watcher.watch({files:E,directories:R,missing:N,startTime:j});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ReadFileChunkLoadingRuntimeModule extends j{constructor(E){super("readFile chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Ie=this.runtimeRequirements.has($.externalInstallChunk);const Me=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,false);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Me?`${$.onChunksLoaded}.readFileVm = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Te||Ie?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Me?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${Ee}.readFileVm = function(chunkId, promises) {`,je!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Ie?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:R=false}={}){this._type=E;this._import=R}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $===this._type};const N=this._import?E=>j.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",j.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["try {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((R,j)=>{if(!isEnabledForChunk(R))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}j.add($.publicPath);E.addRuntimeModule(R,new q({generateLoadBinaryCode:N,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="async-node"};const generateLoadBinaryCode=E=>j.asString(["new Promise(function (resolve, reject) {",j.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",j.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,j.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",j.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const j=E.chunkGraph;if(!j.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);E.addRuntimeModule(R,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class RequireChunkLoadingRuntimeModule extends j{constructor(E){super("require chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:R}=this;const{runtimeTemplate:j}=this.compilation;const Ee=$.ensureChunkHandlers;const we=this.runtimeRequirements.has($.baseURI);const Ie=this.runtimeRequirements.has($.externalInstallChunk);const Me=this.runtimeRequirements.has($.onChunksLoaded);const Te=this.runtimeRequirements.has($.ensureChunkHandlers);const Ne=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has($.hmrDownloadManifest);const Le=E.getChunkConditionMap(R,G);const je=le(Le);const ze=ae(R,E);const Ue=this.compilation.getPath(ie(R,this.compilation.outputOptions),{chunk:R,contentHashType:"javascript"});const qe=_e(Ue,this.compilation.outputOptions.path,true);const Ge=Ne?`${$.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([we?q.asString([`${$.baseURI} = require("url").pathToFileURL(${qe!=="./"?`__dirname + ${JSON.stringify("/"+qe)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${Ge?`${Ge} = ${Ge} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?`${$.onChunksLoaded}.require = ${j.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Te||Ie?`var installChunk = ${j.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${$.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),Me?`${$.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Te?q.asString(["// require() chunk loading for javascript",`${Ee}.require = ${j.basicFunction("chunkId, promises",je!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(qe)} + ${$.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Ie?q.asString(["module.exports = __webpack_require__;",`${$.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(qe)} + ${$.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${$.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${$.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(qe)} + ${$.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,R,N)=>{"use strict";const $=N(73837);const j=N(50595);E.exports=({colors:E,appendOnly:R,stream:N})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(R,N,$,j)=>{if(R==="")return R;N=ie+N;if(E){return N+$+R.replace(/\n/g,j+"\n"+N+$)+j}else{return N+R.replace(/\n/g,"\n"+N)}};const clearStatusMessage=()=>{if(G){N.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=N.columns;const R=E?j(q,E-1):q;const $=R.join(" ");const ie=`${$}`;N.write(`\r${ie}`);G=true};const writeColored=(E,R,j)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent($.format(...q),E,R,j);N.write(G+"\n");writeStatusMessage()};const le=writeColored("<-> ","","");const _e=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{le(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{_e(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!R&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:R?writeColored(" ","",""):(E,...R)=>{R=R.filter(Boolean);if(E===undefined&&R.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...R];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...R];writeStatusMessage()}else{q=[E,...R];writeStatusMessage()}}}}},61332:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const R=this.options;const N=R.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:$},(R=>{const $=E.chunkGraph;let j=[];for(const E of R){if(E.canBeInitial())continue;for(const N of R){if(N.canBeInitial())continue;if(N===E)break;if(!$.canChunksBeIntegrated(E,N)){continue}const R=$.getChunkSize(N,{chunkOverhead:0});const q=$.getChunkSize(E,{chunkOverhead:0});const G=$.getIntegratedChunksSize(N,E,{chunkOverhead:0});const ie=(R+q)/G;j.push({a:E,b:N,improvement:ie})}}j.sort(((E,R)=>R.improvement-E.improvement));const q=j[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:$}=N(82414);const{intersect:j}=N(26221);const{compareModulesByIdentifier:q,compareChunks:G}=N(68673);const ie=N(35817);const ae=N(49197);const le=ie(N(77593),(()=>N(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,R,N)=>$=>{E.disconnectChunkAndModule(R,$);E.connectChunkAndModule(N,$)};const isNotAEntryModule=(E,R)=>N=>!E.isEntryModuleInChunk(N,R);const _e=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){le(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return _e.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(R=>{let N=false;let ie;let le;let Ee;R.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];le=new Set;Ee=new Map}));R.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:$},(N=>{const $=R.chunkGraph;const _e=new Map;const we=new Map;const Ie=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of R.modules){const R=Ie(E.identifier());_e.set(R,E);we.set(E,R)}const Me=new Set;for(const E of N){Me.add(E.id)}const Te=R.records&&R.records.aggressiveSplits||[];const Ne=ie?Te.concat(ie):Te;const Be=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&Me.has(E.id)){return false}const N=E.modules.map((E=>_e.get(E)));if(!N.every(Boolean))return false;let q=0;for(const E of N)q+=E.size();if(q!==E.size)return false;const G=j(N.map((E=>new Set($.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&$.getNumberOfChunkModules(Array.from(G)[0])===N.length){const R=Array.from(G)[0];if(le.has(R))return false;le.add(R);Ee.set(R,E);return true}const ie=R.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){N.forEach(moveModuleBetween($,E,ie));E.split(ie);E.name=null}le.add(ie);Ee.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let je=false;for(let E=0;E{const N=$.getChunkModulesSize(R)-$.getChunkModulesSize(E);if(N)return N;const j=$.getNumberOfChunkModules(E)-$.getNumberOfChunkModules(R);if(j)return j;return ze(E,R)}));for(const E of Ue){if(le.has(E))continue;const R=$.getChunkModulesSize(E);if(R>Le&&$.getNumberOfChunkModules(E)>1){const R=$.getOrderedChunkModules(E,q).filter(isNotAEntryModule($,E));const N=[];let j=0;for(let E=0;ELe&&j>=Be){break}j=q;N.push($)}if(N.length===0)continue;const G={modules:N.map((E=>we.get(E))).sort(),size:j};if(applySplit(G)){ie=(ie||[]).concat(G);je=true}}}if(je)return true}));R.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const $=new Set;const j=new Set;for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){if(R.hash&&E.hash!==R.hash){j.add(R)}}}if(j.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!j.has(E)));N=true}else{for(const E of R.chunks){const R=Ee.get(E);if(R!==undefined){R.hash=E.hash;R.id=E.id;$.add(R);_e.add(E)}}const q=R.records&&R.records.aggressiveSplits;if(q){for(const E of q){if(!j.has(E))$.add(E)}}E.aggressiveSplits=Array.from($);N=false}}));R.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(N){N=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,R,N)=>{"use strict";const $=N(19579);const j=N(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=N(48135);const ae=N(77294);const{UsageState:le}=N(76632);const _e=N(53453);const Ee=N(76150);const we=N(58159);const Ie=N(37359);const Me=N(3711);const{equals:Te}=N(73910);const Ne=N(83379);const{concatComparators:Be,keepOriginalOrder:Le}=N(68673);const je=N(35891);const{makePathsRelative:ze}=N(49197);const Ue=N(56202);const qe=N(68038);const{filterRuntime:Ge,intersectRuntime:He,mergeRuntimeCondition:We,mergeRuntimeConditionNonFalse:Ve,runtimeConditionToString:Ke,subtractRuntimeCondition:Qe}=N(37416);const Je=j;if(!Je.prototype.PropertyDefinition){Je.prototype.PropertyDefinition=Je.prototype.Property}const Xe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,R)=>{const N=E.sourceOrder;const $=R.sourceOrder;if(isNaN(N)){if(!isNaN($)){return 1}}else{if(isNaN($)){return-1}if(N!==$){return N<$?-1:1}}return 0};const joinIterableWithComma=E=>{let R="";let N=true;for(const $ of E){if(N){N=false}else{R+=", "}R+=$}return R};const getFinalBinding=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee=new Set)=>{const Ie=R.module.getExportsType(E,le);if(N.length===0){switch(Ie){case"default-only":R.interopNamespaceObject2Used=true;return{info:R,rawName:R.interopNamespaceObject2Name,ids:N,exportName:N};case"default-with-named":R.interopNamespaceObjectUsed=true;return{info:R,rawName:R.interopNamespaceObjectName,ids:N,exportName:N};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Ie}`)}}else{switch(Ie){case"namespace":break;case"default-with-named":switch(N[0]){case"default":N=N.slice(1);break;case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;case"default-only":{const E=N[0];if(E==="__esModule"){return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}N=N.slice(1);if(E!=="default"){return{info:R,rawName:"/* non-default import from default-exporting module */undefined",ids:N,exportName:N}}break}case"dynamic":switch(N[0]){case"default":{N=N.slice(1);R.interopDefaultAccessUsed=true;const E=ae?`${R.interopDefaultAccessName}()`:_e?`(${R.interopDefaultAccessName}())`:_e===false?`;(${R.interopDefaultAccessName}())`:`${R.interopDefaultAccessName}.a`;return{info:R,rawName:E,ids:N,exportName:N}}case"__esModule":return{info:R,rawName:"/* __esModule */true",ids:N.slice(1),exportName:N}}break;default:throw new Error(`Unexpected exportsType ${Ie}`)}}if(N.length===0){switch(R.type){case"concatenated":ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N};case"external":return{info:R,rawName:R.name,ids:N,exportName:N}}}const Me=E.getExportsInfo(R.module);const Ne=Me.getExportInfo(N[0]);if(Ee.has(Ne)){return{info:R,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:N}}Ee.add(Ne);switch(R.type){case"concatenated":{const le=N[0];if(Ne.provided===false){ie.add(R);return{info:R,rawName:R.namespaceObjectName,ids:N,exportName:N}}const we=R.exportMap&&R.exportMap.get(le);if(we){const E=Me.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}return{info:R,name:we,ids:E.slice(1),exportName:N}}const Ie=R.rawExportMap&&R.rawExportMap.get(le);if(Ie){return{info:R,rawName:Ie,ids:N.slice(1),exportName:N}}const Te=Ne.findTarget(E,(E=>$.has(E)));if(Te===false){throw new Error(`Target module of reexport from '${R.module.readableIdentifier(q)}' is not part of the concatenation (export '${le}')\nModules in the concatenation:\n${Array.from($,(([E,R])=>` * ${R.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Te){const le=$.get(Te.module);return getFinalBinding(E,le,Te.export?[...Te.export,...N.slice(1)]:N.slice(1),$,j,q,G,ie,ae,R.module.buildMeta.strictHarmonyModule,_e,Ee)}if(R.namespaceExportSymbol){const E=Me.getUsedName(N,j);return{info:R,rawName:R.namespaceObjectName,ids:E,exportName:N}}throw new Error(`Cannot get final name for export '${N.join(".")}' of ${R.module.readableIdentifier(q)}`)}case"external":{const E=Me.getUsedName(N,j);if(!E){return{info:R,rawName:"/* unused export */ undefined",ids:N.slice(1),exportName:N}}const $=Te(E,N)?"":we.toNormalComment(`${N.join(".")}`);return{info:R,rawName:R.name+$,ids:E,exportName:N}}}};const getFinalName=(E,R,N,$,j,q,G,ie,ae,le,_e,Ee)=>{const we=getFinalBinding(E,R,N,$,j,q,G,ie,ae,_e,Ee);{const{ids:E,comment:R}=we;let N;let $;if("rawName"in we){N=`${we.rawName}${R||""}${qe(E)}`;$=E.length>0}else{const{info:j,name:G}=we;const ie=j.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${j.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from(j.internalNames,(([E,R])=>`${E}: ${R}`)).join(", ")||"none"})`)}N=`${ie}${R||""}${qe(E)}`;$=E.length>1}if($&&ae&&le===false){return Ee?`(0,${N})`:Ee===false?`;(0,${N})`:`/*#__PURE__*/Object(${N})`}return N}};const addScopeSymbols=(E,R,N,$)=>{let j=E;while(j){if(N.has(j))break;if($.has(j))break;N.add(j);for(const E of j.variables){R.add(E.name)}j=j.upper}};const getAllReferences=E=>{let R=E.references;const N=new Set(E.identifiers);for(const $ of E.scope.childScopes){for(const E of $.variables){if(E.identifiers.some((E=>N.has(E)))){R=R.concat(E.references);break}}}return R};const getPathInAst=(E,R)=>{if(E===R){return[]}const N=R.range;const enterNode=E=>{if(!E)return undefined;const $=E.range;if($){if($[0]<=N[0]&&$[1]>=N[1]){const N=getPathInAst(E,R);if(N){N.push(E);return N}}}return undefined};if(Array.isArray(E)){for(let R=0;R!(E instanceof Ie)||!this._modules.has(R.moduleGraph.getModule(E))))){this.dependencies.push(N)}for(const R of E.blocks){this.blocks.push(R)}const N=E.getWarnings();if(N!==undefined){for(const E of N){this.addWarning(E)}}const $=E.getErrors();if($!==undefined){for(const E of $){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const R=this.buildInfo.topLevelDeclarations;if(R!==undefined){for(const N of E.buildInfo.topLevelDeclarations){if(Xe.has(N))continue;R.add(N)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[R,N]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(R,N)}}}j()}size(E){let R=0;for(const N of this._modules){R+=N.size(E)}return R}_createConcatenationList(E,R,N,$){const j=[];const q=new Map;const getConcatenatedImports=R=>{let j=Array.from($.getOutgoingConnections(R));if(R===E){for(const E of $.getOutgoingConnections(this))j.push(E)}const q=j.filter((E=>{if(!(E.dependency instanceof Ie))return false;return E&&E.resolvedOriginModule===R&&E.module&&E.isTargetActive(N)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Be(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const R=Ge(N,(R=>E.isTargetActive(R)));if(R===false)continue;const $=E.module;const j=G.get($);if(j===undefined){G.set($,{connection:E,runtimeCondition:R});continue}j.runtimeCondition=Ve(j.runtimeCondition,R,N)}return G.values()};const enterModule=(E,$)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(R.has(G)){q.set(G,true);if($!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${Ke($)}). This should not happen.`)}const R=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:N}of R)enterModule(E,N);j.push({type:"concatenated",module:E.module,runtimeCondition:$})}else{if(ie!==undefined){const R=Qe($,ie,N);if(R===false)return;$=R;q.set(E.module,Ve(ie,$,N))}else{q.set(E.module,$)}if(j.length>0){const R=j[j.length-1];if(R.type==="external"&&R.module===E.module){R.runtimeCondition=We(R.runtimeCondition,$,N);return}}j.push({type:"external",get module(){return E.module},runtimeCondition:$})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:R}of G)enterModule(E,R);j.push({type:"concatenated",module:E,runtimeCondition:true});return j}static _createIdentifier(E,R,N,$="md4"){const j=ze.bindContextCache(E.context,N);let q=[];for(const E of R){q.push(j(E.identifier()))}q.sort();const G=je($);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,R,N,$){for(const j of this._modules){j.addCacheDependencies(E,R,N,$)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:R,moduleGraph:N,chunkGraph:$,runtime:j}){const ie=new Set;const _e=He(j,this._runtime);const we=R.requestShortener;const[Ie,Me]=this._getModulesWithInfo(N,_e);const Te=new Set;for(const j of Me.values()){this._analyseModule(Me,j,E,R,N,$,_e)}const Ne=new Set(Xe);const Be=new Map;const getUsedNamesInScopeInfo=(E,R)=>{const N=`${E}-${R}`;let $=Be.get(N);if($===undefined){$={usedNames:new Set,alreadyCheckedScopes:new Set};Be.set(N,$)}return $};const Le=new Set;for(const E of Ie){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const $=new WeakMap;const getSuperClassExpressions=E=>{const R=$.get(E);if(R!==undefined)return R;const N=[];for(const R of E.childScopes){if(R.type!=="class")continue;const E=R.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){N.push({range:E.superClass.range,variables:R.variables})}}$.set(E,N);return N};if(E.globalScope){for(const $ of E.globalScope.through){const j=$.identifier.name;if(ae.isModuleReference(j)){const q=ae.matchModuleReference(j);if(!q)continue;const G=Ie[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(N,G,q.ids,Me,_e,we,R,Te,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:le,alreadyCheckedScopes:Ee}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions($.from)){if(E.range[0]<=$.identifier.range[0]&&E.range[1]>=$.identifier.range[1]){for(const R of E.variables){le.add(R.name)}}}addScopeSymbols($.from,le,Ee,Le)}else{Ne.add(j)}}}}}for(const E of Me.values()){const{usedNames:R}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const R of E.moduleScope.variables){const N=R.name;const{usedNames:$,alreadyCheckedScopes:j}=getUsedNamesInScopeInfo(E.module.identifier(),N);if(Ne.has(N)||$.has(N)){const q=getAllReferences(R);for(const E of q){addScopeSymbols(E.from,$,j,Le)}const G=this.findNewName(N,Ne,$,E.module.readableIdentifier(we));Ne.add(G);E.internalNames.set(N,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(R.identifiers));for(const R of ae){const N=R.range;const $=getPathInAst(E.ast,R);if($&&$.length>1){const E=$[1].type==="AssignmentPattern"&&$[1].left===$[0]?$[2]:$[1];if(E.type==="Property"&&E.shorthand){ie.insert(N[1],`: ${G}`);continue}}ie.replace(N[0],N[1]-1,G)}}else{Ne.add(N);E.internalNames.set(N,N)}}let N;if(E.namespaceExportSymbol){N=E.internalNames.get(E.namespaceExportSymbol)}else{N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N)}E.namespaceObjectName=N;break}case"external":{const N=this.findNewName("",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.name=N;break}}if(E.module.buildMeta.exportsType!=="namespace"){const N=this.findNewName("namespaceObject",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObjectName=N}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const N=this.findNewName("namespaceObject2",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopNamespaceObject2Name=N}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const N=this.findNewName("default",Ne,R,E.module.readableIdentifier(we));Ne.add(N);E.interopDefaultAccessName=N}}for(const E of Me.values()){if(E.type==="concatenated"){for(const $ of E.globalScope.through){const j=$.identifier.name;const q=ae.matchModuleReference(j);if(q){const j=Ie[q.index];if(j.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(N,j,q.ids,Me,_e,we,R,Te,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=$.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const je=new Map;const ze=new Set;const Ue=Me.get(this.rootModule);const qe=Ue.module.buildMeta.strictHarmonyModule;const Ge=N.getExportsInfo(Ue.module);for(const E of Ge.orderedExports){const $=E.name;if(E.provided===false)continue;const j=E.getUsedName(undefined,_e);if(!j){ze.add($);continue}je.set(j,(q=>{try{const j=getFinalName(N,Ue,[$],Me,_e,q,R,Te,false,false,qe,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${j}`}catch(E){E.message+=`\nwhile generating the root export '${$}' (used name: '${j}')`;throw E}}))}const We=new G;if(N.getExportsInfo(this).otherExportsInfo.getUsed(_e)!==le.Unused){We.add(`// ESM COMPAT FLAG\n`);We.add(R.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(je.size>0){ie.add(Ee.exports);ie.add(Ee.definePropertyGetters);const E=[];for(const[N,$]of je){E.push(`\n ${JSON.stringify(N)}: ${R.returningFunction($(we))}`)}We.add(`\n// EXPORTS\n`);We.add(`${Ee.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(ze.size>0){We.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(ze)}\n`)}const Ve=new Map;for(const E of Te){if(E.namespaceExportSymbol)continue;const $=[];const j=N.getExportsInfo(E.module);for(const q of j.orderedExports){if(q.provided===false)continue;const j=q.getUsedName(undefined,_e);if(j){const G=getFinalName(N,E,[q.name],Me,_e,we,R,Te,false,undefined,E.module.buildMeta.strictHarmonyModule,true);$.push(`\n ${JSON.stringify(j)}: ${R.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=$.length>0?`${Ee.definePropertyGetters}(${q}, {${$.join(",")}\n});\n`:"";if($.length>0)ie.add(Ee.definePropertyGetters);Ve.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(we)}\nvar ${q} = {};\n${Ee.makeNamespaceObject}(${q});\n${G}`);ie.add(Ee.makeNamespaceObject)}for(const E of Ie){if(E.type==="concatenated"){const R=Ve.get(E);if(!R)continue;We.add(R)}}const Ke=[];for(const E of Ie){let N;let j=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{We.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(we)}\n`);We.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)Ke.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}N=q.namespaceObjectName;break}case"external":{We.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(we)}\n`);ie.add(Ee.require);const{runtimeCondition:G}=E;const ae=R.runtimeConditionExpression({chunkGraph:$,runtimeCondition:G,runtime:_e,runtimeRequirements:ie});if(ae!=="true"){j=true;We.add(`if (${ae}) {\n`)}We.add(`var ${q.name} = __webpack_require__(${JSON.stringify($.getModuleId(q.module))});`);N=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(Ee.createFakeNamespaceObject);We.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${Ee.createFakeNamespaceObject}(${N});`)}if(q.interopDefaultAccessUsed){ie.add(Ee.compatGetDefaultExport);We.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${Ee.compatGetDefaultExport}(${N});`)}if(j){We.add("\n}")}}const Qe=new Map;if(Ke.length>0)Qe.set("chunkInitFragments",Ke);const Je={sources:new Map([["javascript",new q(We)]]),data:Qe,runtimeRequirements:ie};return Je}_analyseModule(E,R,N,j,q,G,le){if(R.type==="concatenated"){const _e=R.module;try{const Ee=new ae(E,R);const we=_e.codeGeneration({dependencyTemplates:N,runtimeTemplate:j,moduleGraph:q,chunkGraph:G,runtime:le,concatenationScope:Ee});const Ie=we.sources.get("javascript");const Te=we.data;const Ne=Te&&Te.get("chunkInitFragments");const Be=Ie.source().toString();let Le;try{Le=Me._parse(Be,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const R=E.loc.line;const N=Be.split("\n");E.message+="\n| "+N.slice(Math.max(0,R-3),R+2).join("\n| ")}throw E}const je=$.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const ze=je.acquire(Le);const Ue=ze.childScopes[0];const qe=new ie(Ie);R.runtimeRequirements=we.runtimeRequirements;R.ast=Le;R.internalSource=Ie;R.source=qe;R.chunkInitFragments=Ne;R.globalScope=ze;R.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${_e.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,R){const N=this._createConcatenationList(this.rootModule,this._modules,R,E);const $=new Map;const j=N.map(((E,R)=>{let N=$.get(E.module);if(N===undefined){switch(E.type){case"concatenated":N={type:"concatenated",module:E.module,index:R,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":N={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:R,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}$.set(N.module,N);return N}else{const R={type:"reference",runtimeCondition:E.runtimeCondition,target:N};return R}}));return[j,$]}findNewName(E,R,N,$){let j=E;if(j===ae.DEFAULT_EXPORT){j=""}if(j===ae.NAMESPACE_OBJECT_EXPORT){j="namespaceObject"}$=$.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=$.split("/");while(q.length){j=q.pop()+(j?"_"+j:"");const E=we.toIdentifier(j);if(!R.has(E)&&(!N||!N.has(E)))return E}let G=0;let ie=we.toIdentifier(`${j}_${G}`);while(R.has(ie)||N&&N.has(ie)){G++;ie=we.toIdentifier(`${j}_${G}`)}return ie}updateHash(E,R){const{chunkGraph:N,runtime:$}=R;for(const j of this._createConcatenationList(this.rootModule,this._modules,He($,this._runtime),N.moduleGraph)){switch(j.type){case"concatenated":j.module.updateHash(E,R);break;case"external":E.update(`${N.getModuleId(j.module)}`);break}}super.updateHash(E,R)}static deserialize(E){const R=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});R.deserialize(E);return R}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;const $=new Set;const j=new Set;for(const R of E.modules){if(!R.hasChunkCondition())continue;for(const q of N.getModuleChunksIterable(R)){if(!R.chunkCondition(q,E)){$.add(q);for(const E of q.groupsIterable){j.add(E)}}}if($.size===0)continue;const q=new Set;e:for(const N of j){for(const $ of N.chunks){if(R.chunkCondition($,E)){q.add($);continue e}}if(N.isInitial()){throw new Error("Cannot fullfil chunk condition of "+R.identifier())}for(const E of N.parentsIterable){j.add(E)}}for(const E of $){N.disconnectChunkAndModule(E,R)}for(const E of q){N.connectChunkAndModule(E,R)}$.clear();j.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:$},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(R=>{const N=E.chunkGraph;const $=new WeakMap;const j=E.modules.size;const q=1/Math.pow(1/j,1/31);const G=Array.from({length:31},((E,R)=>Math.pow(q,R)|0));let ie=0;for(const R of E.modules){let E=30;while(ie%G[E]!==0){E--}$.set(R,1<N.getNumberOfModuleChunks(R))j=R}e:for(const q of N.getModuleChunksIterable(j)){if(E===q)continue;const j=N.getNumberOfChunkModules(q);if(j===0)continue;if($>j)continue;const G=ae.get(q);if((G&R)!==R)continue;for(const R of N.getChunkModulesIterable(E)){if(!N.isModuleInChunk(R,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const j=new WeakMap;const q=Symbol("top level symbol");function getState(E){return j.get(E)}R.bailout=E=>{j.set(E,false)};R.enable=E=>{const R=j.get(E);if(R===false){return}j.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};R.isEnabled=E=>{const R=j.get(E);return!!R};R.addUsage=(E,R,N)=>{const $=getState(E);if($){const{innerGraph:E}=$;const j=E.get(R);if(N===true){E.set(R,true)}else if(j===undefined){E.set(R,new Set([N]))}else if(j!==true){j.add(N)}}};R.addVariableUsage=(E,N,$)=>{const j=E.getTagData(N,q)||R.tagTopLevelSymbol(E,N);if(j){R.addUsage(E.state,j,$)}};R.inferDependencyUsage=E=>{const R=getState(E);if(!R){return}const{innerGraph:N,usageCallbackMap:$}=R;const j=new Map;const q=new Set(N.keys());while(q.size>0){for(const E of q){let R=new Set;let $=true;const G=N.get(E);let ie=j.get(E);if(ie===undefined){ie=new Set;j.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const j of G){if(typeof j==="string"){R.add(j)}else{const q=N.get(j);if(q===true){R=true;break}if(q!==undefined){for(const N of q){if(N===E)continue;if(ie.has(N))continue;R.add(N);if(typeof N!=="string"){$=false}}}}}if(R===true){N.set(E,true)}else if(R.size===0){N.set(E,undefined)}else{N.set(E,R)}}if($){q.delete(E);if(E===null){const E=N.get(null);if(E){for(const[R,$]of N){if(R!==null&&$!==true){if(E===true){N.set(R,true)}else{const j=new Set($);for(const R of E){j.add(R)}N.set(R,j)}}}}}}}}for(const[E,R]of $){const $=N.get(E);for(const E of R){E($===undefined?false:$)}}};R.onUsage=(E,R)=>{const N=getState(E);if(N){const{usageCallbackMap:E,currentTopLevelSymbol:$}=N;if($){let N=E.get($);if(N===undefined){N=new Set;E.set($,N)}N.add(R)}else{R(true)}}else{R(undefined)}};R.setTopLevelSymbol=(E,R)=>{const N=getState(E);if(N){N.currentTopLevelSymbol=R}};R.getTopLevelSymbol=E=>{const R=getState(E);if(R){return R.currentTopLevelSymbol}};R.tagTopLevelSymbol=(E,R)=>{const N=getState(E.state);if(!N)return;E.defineVariable(R);const $=E.getTagData(R,q);if($){return $}const j=new TopLevelSymbol(R);E.tagVariable(R,q,j);return j};R.isDependencyUsedByExports=(E,R,N,j)=>{if(R===false)return false;if(R!==true&&R!==undefined){const q=N.getParentModule(E);const G=N.getExportsInfo(q);let ie=false;for(const E of R){if(G.getUsed(E,j)!==$.Unused)ie=true}if(!ie)return false}return true};R.getDependencyUsedByExportsCondition=(E,R,N)=>{if(R===false)return false;if(R!==true&&R!==undefined){const j=N.getParentModule(E);const q=N.getExportsInfo(j);return(E,N)=>{for(const E of R){if(q.getUsed(E,N)!==$.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}R.TopLevelSymbol=TopLevelSymbol;R.topLevelSymbolTag=q},10032:(E,R,N)=>{"use strict";const $=N(53567);const j=N(58018);const{topLevelSymbolTag:q}=j;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:R})=>{const N=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{const onUsageSuper=R=>{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{j.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!j.isEnabled(E.state))return;N.time("infer dependency usage");j.inferDependencyUsage(E.state);N.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const le=new WeakMap;const _e=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="FunctionDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);G.set(R,$);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(R.type==="ClassDeclaration"){const N=R.id?R.id.name:"*default*";const $=j.tagTopLevelSymbol(E,N);ae.set(R,$);return true}if(R.type==="ExportDefaultDeclaration"){const N="*default*";const $=j.tagTopLevelSymbol(E,N);const q=R.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,$)}else if(E.isPure(q,R.range[0])){G.set(R,$);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(R,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&R.init&&R.id.type==="Identifier"){const N=R.id.name;if(R.init.type==="ClassExpression"){const $=j.tagTopLevelSymbol(E,N);ae.set(R.init,$)}else if(E.isPure(R.init,R.id.range[1])){const $=j.tagTopLevelSymbol(E,N);le.set(R,$);if(!R.init.type.endsWith("FunctionExpression")&&R.init.type!=="Literal"){_e.add(R)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){j.setTopLevelSymbol(E.state,undefined);const N=G.get(R);if(N){j.setTopLevelSymbol(E.state,N);const q=ie.get(R);if(q){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(q.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const $=ae.get(N);if($&&E.isPure(R,N.id?N.id.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,$);onUsageSuper(R)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const R=ae.get(N);if(R){j.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((R,N,q)=>{if(!j.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!N.static||E.isPure(R,N.key?N.key.range[1]:N.range[0])){j.setTopLevelSymbol(E.state,G);if(N.type!=="MethodDefinition"&&N.static){j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}else{j.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((R,N)=>{if(!j.isEnabled(E.state))return;const q=le.get(R);if(q){j.setTopLevelSymbol(E.state,q);if(_e.has(R)){if(R.init.type==="ClassExpression"){if(R.init.superClass){onUsageSuper(R.init.superClass)}}else{j.onUsage(E.state,(N=>{switch(N){case undefined:case true:return;default:{const j=new $(R.init.range);j.loc=R.loc;j.usedByExports=N;E.state.module.addDependency(j);break}}}))}}E.walkExpression(R.init);j.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const R=E.currentTagData;const N=j.getTopLevelSymbol(E.state);j.addUsage(E.state,R,N||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(R=>{if(!j.isEnabled(E.state))return;if(R.operator==="=")return true}))};R.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);R.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{N.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(37496);const{compareChunks:q}=N(68673);const G=N(35817);const ie=G(N(72713),(()=>N(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,R,N)=>{const $=E.get(R);if($===undefined){E.set(R,new Set([N]))}else{$.add(N)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const R=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:$},(N=>{const $=E.chunkGraph;const G=R.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q($);const le=Array.from(N).sort(ae);const _e=new j((E=>E.sizeDiff),((E,R)=>R-E),(E=>E.integratedSize),((E,R)=>E-R),(E=>E.bIdx-E.aIdx),((E,R)=>E-R),((E,R)=>E.bIdx-R.bIdx));const Ee=new Map;le.forEach(((E,N)=>{for(let j=0;j0){const E=new Set(j.groupsIterable);for(const R of q.groupsIterable){E.add(R)}for(const R of E){for(const E of we){if(E!==j&&E!==q&&E.isInGroup(R)){ie--;if(ie<=0)break e;we.add(j);we.add(q);continue e}}for(const N of R.parentsIterable){E.add(N)}}}if($.canChunksBeIntegrated(j,q)){$.integrateChunks(j,q);E.chunks.delete(q);we.add(j);Ie=true;ie--;if(ie<=0)break;for(const E of Ee.get(j)){if(E.deleted)continue;E.deleted=true;_e.delete(E)}for(const E of Ee.get(q)){if(E.deleted)continue;if(E.a===q){if(!$.canChunksBeIntegrated(j,E.b)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(j,E.b,R);const q=_e.startUpdate(E);E.a=j;E.integratedSize=N;E.aSize=G;E.sizeDiff=E.bSize+G-N;q()}else if(E.b===q){if(!$.canChunksBeIntegrated(E.a,j)){E.deleted=true;_e.delete(E);continue}const N=$.getIntegratedChunksSize(E.a,j,R);const q=_e.startUpdate(E);E.b=j;E.integratedSize=N;E.bSize=G;E.sizeDiff=G+E.aSize-N;q()}}Ee.set(j,Ee.get(q));Ee.delete(q)}}if(Ie)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,R,N)=>{"use strict";const{UsageState:$}=N(76632);const{numberToIdentifier:j,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=N(58159);const{assignDeterministicIds:ie}=N(30328);const{compareSelect:ae,compareStringsNumeric:le}=N(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==$.Unused)return false;let R=false;for(const N of E.exports){if(N.canMangle===true){R=true}}return R};const _e=ae((E=>E.name),le);const mangleExportsInfo=(E,R,N)=>{if(!canMangle(R))return;const ae=new Set;const le=[];let Ee=!N;if(!Ee&&E){for(const E of R.ownedExports){if(E.provided!==false){Ee=true;break}}}for(const N of R.ownedExports){const R=N.name;if(!N.hasUsedName()){if(N.canMangle!==true||R.length===1&&/^[a-zA-Z0-9_$]/.test(R)||E&&R.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(R)||Ee&&N.provided!==true){N.setUsedName(R);ae.add(R)}else{le.push(N)}}if(N.exportsInfoOwned){const R=N.getUsed(undefined);if(R===$.OnlyPropertiesUsed||R===$.Unused){mangleExportsInfo(E,N.exportsInfo,false)}}}if(E){ie(le,(E=>E.name),_e,((E,R)=>{const N=j(R);const $=ae.size;ae.add(N);if($===ae.size)return false;E.setUsedName(N);return true}),[q,q*G],G,ae.size)}else{const E=[];const R=[];for(const N of le){if(N.getUsed(undefined)===$.Unused){R.push(N)}else{E.push(N)}}E.sort(_e);R.sort(_e);let N=0;for(const $ of[E,R]){for(const E of $){let R;do{R=j(N++)}while(ae.has(R));E.setUsedName(R)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:R}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",($=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of $){const $=E.buildMeta&&E.buildMeta.exportsType==="namespace";const j=N.getExportsInfo(E);mangleExportsInfo(R,j,$)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const{runtimeEqual:j}=N(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:$},(R=>{const{chunkGraph:N,moduleGraph:$}=E;const q=new Set;for(const G of R){let R;for(const E of N.getChunkModulesIterable(G)){if(R===undefined){for(const $ of N.getModuleChunksIterable(E)){if($!==G&&N.getNumberOfChunkModules(G)===N.getNumberOfChunkModules($)&&!q.has($)){if(R===undefined){R=new Set}R.add($)}}if(R===undefined)break}else{for(const $ of R){if(!N.isModuleInChunk(E,$)){R.delete($)}}if(R.size===0)break}}if(R!==undefined&&R.size>0){e:for(const q of R){if(q.hasRuntime()!==G.hasRuntime())continue;if(N.getNumberOfEntryModules(G)>0)continue;if(N.getNumberOfEntryModules(q)>0)continue;if(!j(G.runtime,q.runtime)){for(const E of N.getChunkModulesIterable(G)){const R=$.getExportsInfo(E);if(!R.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(N.canChunksBeIntegrated(G,q)){N.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,R,N)=>{"use strict";const{STAGE_ADVANCED:$}=N(82414);const j=N(35817);const q=j(N(83889),(()=>N(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const R=this.options;const N=R.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:$},($=>{const j=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const le=[];for(const E of $){if(j.getChunkSize(E,q){const N=G.get(E[0]);const $=G.get(E[1]);const q=j.getIntegratedChunksSize(E[0],E[1],R);const ie=[N+$-q,q,E[0],E[1]];return ie})).sort(((E,R)=>{const N=R[0]-E[0];if(N!==0)return N;return E[1]-R[1]}));if(_e.length===0)return;const Ee=_e[0];j.integrateChunks(Ee[2],Ee[3]);E.chunks.delete(Ee[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,R,N)=>{"use strict";const $=N(9192);const j=N(81627);class MinMaxSizeWarning extends j{constructor(E,R,N){let j="Fallback cache group";if(E){j=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${j}\n`+`Configured minSize (${$.formatSize(R)}) is `+`bigger than maxSize (${$.formatSize(N)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,R,N)=>{"use strict";const $=N(62355);const j=N(45137);const q=N(75412);const{STAGE_DEFAULT:G}=N(82414);const ie=N(37359);const{compareModulesByIdentifier:ae}=N(68673);const{intersectRuntime:le,mergeRuntimeOwned:_e,filterRuntime:Ee,runtimeToString:we,mergeRuntime:Ie}=N(37416);const Me=N(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:R}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(N=>{const ae=N.moduleGraph;const le=new Map;const setBailoutReason=(E,R)=>{setInnerBailoutReason(E,R);ae.getOptimizationBailout(E).push(typeof R==="function"?E=>formatBailoutReason(R(E)):formatBailoutReason(R))};const setInnerBailoutReason=(E,R)=>{le.set(E,R)};const getInnerBailoutReason=(E,R)=>{const N=le.get(E);if(typeof N==="function")return N(R);return N};const formatBailoutWarning=(E,R)=>N=>{if(typeof R==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}: ${R(N)}`)}const $=getInnerBailoutReason(E,N);const j=$?`: ${$}`:"";if(E===R){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)}${j}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(N)} because of ${R.readableIdentifier(N)}${j}`)}};N.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,le)=>{const we=N.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Ie,moduleGraph:Te}=N;const Ne=[];const Be=new Set;const Le={chunkGraph:Ie,moduleGraph:Te};we.time("select relevant modules");for(const E of ae){let R=true;let N=true;const $=E.getConcatenationBailoutReason(Le);if($){setBailoutReason(E,$);continue}if(Te.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Ie.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const j=Te.getExportsInfo(E);const q=j.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Te)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);R=false}if(Ie.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");N=false}if(R)Ne.push(E);if(N)Be.add(E)}we.timeEnd("select relevant modules");we.debug(`${Ne.length} potential root modules, ${Be.size} potential inner modules`);we.time("sort relevant modules");Ne.sort(((E,R)=>Te.getDepth(E)-Te.getDepth(R)));we.timeEnd("sort relevant modules");const je={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let ze=0;let Ue=0;let qe=0;we.time("find modules to concatenate");const Ge=[];const He=new Set;for(const E of Ne){if(He.has(E))continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=_e(R,N)}const $=Te.getExportsInfo(E);const j=Ee(R,(E=>$.isModuleUsed(E)));const q=j===true?R:j===false?undefined:j;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const R of this._getImports(N,E,q)){ae.add(R)}for(const E of ae){const $=new Set;const j=this._tryToAdd(N,G,E,R,q,Be,$,ie,Ie,true,je);if(j){ie.set(E,j);G.addWarning(E,j)}else{for(const E of $){ae.add(E)}}}ze+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;Ge.push(G);for(const R of E){if(R!==G.rootModule){He.add(R)}}}else{qe++;const R=Te.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){R.push(formatBailoutWarning(E[0],E[1]))}}}we.timeEnd("find modules to concatenate");we.debug(`${Ge.length} successful concat configurations (avg size: ${Ue/Ge.length}), ${qe} bailed out completely`);we.debug(`${ze} candidates were considered for adding (${je.cached} cached failure, ${je.alreadyInConfig} already in config, ${je.invalidModule} invalid module, ${je.incorrectChunks} incorrect chunks, ${je.incorrectDependency} incorrect dependency, ${je.incorrectChunksOfImporter} incorrect chunks of importer, ${je.incorrectModuleDependency} incorrect module dependency, ${je.incorrectRuntimeCondition} incorrect runtime condition, ${je.importerFailed} importer failed, ${je.added} added)`);we.time(`sort concat configurations`);Ge.sort(((E,R)=>R.modules.size-E.modules.size));we.timeEnd(`sort concat configurations`);const We=new Set;we.time("create concatenated modules");$.each(Ge,(($,G)=>{const ae=$.rootModule;if(We.has(ae))return G();const le=$.getModules();for(const E of le){We.add(E)}let _e=Me.create(ae,le,$.runtime,E.root,N.outputOptions.hashFunction);const build=()=>{_e.build(E.options,N,null,null,(E=>{if(E){if(!E.module){E.module=_e}return G(E)}integrate()}))};const integrate=()=>{if(R){j.setChunkGraphForModule(_e,Ie);q.setModuleGraphForModule(_e,Te)}for(const E of $.getWarningsSorted()){Te.getOptimizationBailout(_e).push(formatBailoutWarning(E[0],E[1]))}Te.cloneModuleAttributes(ae,_e);for(const E of le){if(N.builtModules.has(E)){N.builtModules.add(_e)}if(E!==ae){Te.copyOutgoingModuleConnections(E,_e,(R=>R.originModule===E&&!(R.dependency instanceof ie&&le.has(R.module))));for(const R of Ie.getModuleChunksIterable(ae)){Ie.disconnectChunkAndModule(R,E)}}}N.modules.delete(ae);j.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Ie.replaceModule(ae,_e);Te.moveModuleConnections(ae,_e,(E=>{const R=E.module===ae?E.originModule:E.module;const N=E.dependency instanceof ie&&le.has(R);return!N}));N.modules.add(_e);G()};build()}),(E=>{we.timeEnd("create concatenated modules");process.nextTick(le.bind(null,E))}))}))}))}_getImports(E,R,N){const $=E.moduleGraph;const j=new Set;for(const q of R.dependencies){if(!(q instanceof ie))continue;const G=$.getConnection(q);if(!G||!G.module||!G.isTargetActive(N)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray($.getProvidedExports(R))){j.add(G.module)}}return j}_tryToAdd(E,R,N,$,j,q,G,Me,Te,Ne,Be){const Le=Me.get(N);if(Le){Be.cached++;return Le}if(R.has(N)){Be.alreadyInConfig++;return null}if(!q.has(N)){Be.invalidModule++;Me.set(N,N);return N}const je=Array.from(Te.getModuleChunksIterable(R.rootModule)).filter((E=>!Te.isModuleInChunk(N,E)));if(je.length>0){const problem=E=>{const R=Array.from(new Set(je.map((E=>E.name||"unnamed chunk(s)")))).sort();const $=Array.from(new Set(Array.from(Te.getModuleChunksIterable(N)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${N.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${R.join(", ")}, module is in chunk(s) ${$.join(", ")})`};Be.incorrectChunks++;Me.set(N,problem);return problem}const ze=E.moduleGraph;const Ue=ze.getIncomingConnectionsByOriginModule(N);const qe=Ue.get(null)||Ue.get(undefined);if(qe){const E=qe.filter((E=>E.isActive($)||E.dependency));if(E.length>0){const problem=R=>{const $=new Set(E.map((E=>E.explanation)).filter(Boolean));const j=Array.from($).sort();return`Module ${N.readableIdentifier(R)} is referenced ${j.length>0?`by: ${j.join(", ")}`:"in an unsupported way"}`};Be.incorrectDependency++;Me.set(N,problem);return problem}}const Ge=new Map;for(const[E,R]of Ue){if(E){if(Te.getNumberOfModuleChunks(E)===0)continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=_e(N,R)}if(!le($,N))continue;const j=R.filter((E=>E.isActive($)));if(j.length>0)Ge.set(E,j)}}const He=Array.from(Ge.keys());const We=He.filter((E=>{for(const N of Te.getModuleChunksIterable(R.rootModule)){if(!Te.isModuleInChunk(E,N)){return true}}return false}));if(We.length>0){const problem=E=>{const R=We.map((R=>R.readableIdentifier(E))).sort();return`Module ${N.readableIdentifier(E)} is referenced from different chunks by these modules: ${R.join(", ")}`};Be.incorrectChunksOfImporter++;Me.set(N,problem);return problem}const Ve=new Map;for(const[E,R]of Ge){const N=R.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(N.length>0)Ve.set(E,R)}if(Ve.size>0){const problem=E=>{const R=Array.from(Ve).map((([R,N])=>`${R.readableIdentifier(E)} (referenced with ${Array.from(new Set(N.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${N.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${R.join(", ")}`};Be.incorrectModuleDependency++;Me.set(N,problem);return problem}if($!==undefined&&typeof $!=="string"){const E=[];e:for(const[R,N]of Ge){let j=false;for(const E of N){const R=Ee($,(R=>E.isTargetActive(R)));if(R===false)continue;if(R===true)continue e;if(j!==false){j=Ie(j,R)}else{j=R}}if(j!==false){E.push({originModule:R,runtimeCondition:j})}}if(E.length>0){const problem=R=>`Module ${N.readableIdentifier(R)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:N})=>`${E.readableIdentifier(R)} (expected runtime ${we($)}, module is only referenced in ${we(N)})`)).join(", ")}`;Be.incorrectRuntimeCondition++;Me.set(N,problem);return problem}}let Ke;if(Ne){Ke=R.snapshot()}R.add(N);He.sort(ae);for(const ie of He){const ae=this._tryToAdd(E,R,ie,$,j,q,G,Me,Te,false,Be);if(ae){if(Ke!==undefined)R.rollback(Ke);Be.importerFailed++;Me.set(N,ae);return ae}}for(const R of this._getImports(E,N,$)){G.add(R)}Be.added++;return null}}class ConcatConfiguration{constructor(E,R){this.rootModule=E;this.runtime=R;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,R){this.warnings.set(E,R)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,R)=>{const N=E[0].identifier();const $=R[0].identifier();if(N<$)return-1;if(N>$)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const R=this.modules;for(const N of R){if(E===0){R.delete(N)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,R,N)=>{"use strict";const{SyncBailHook:$}=N(92960);const{RawSource:j,CachedSource:q,CompatSource:G}=N(48135);const ie=N(3080);const ae=N(81627);const{compareSelect:le,compareStrings:_e}=N(68673);const Ee=N(35891);const we=new Set;const addToList=(E,R)=>{if(Array.isArray(E)){for(const N of E){R.add(N)}}else if(E){R.add(E)}};const mapAndDeduplicateBuffers=(E,R)=>{const N=[];e:for(const $ of E){const E=R($);for(const R of N){if(E.equals(R))continue e}N.push(E)}return N};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Ie=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const R=Ie.get(E);if(R!==undefined)return R;const N=new q(G.from(E));Ie.set(E,N);return N};const Me=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Me.get(E);if(R===undefined){R={updateHash:new $(["content","oldHash"])};Me.set(E,R)}return R}constructor({hashFunction:E,hashDigest:R}){this._hashFunction=E;this._hashDigest=R}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const R=E.getCache("RealContentHashPlugin|analyse");const N=E.getCache("RealContentHashPlugin|generate");const $=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:R,name:N}of q){const $=toCachedSource(E);const j=$.source();const q=new Set;addToList(R.contenthash,q);const ae={name:N,info:R,source:$,newSource:undefined,newSourceWithoutOwn:undefined,content:j,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const R=ie.get(E);if(R===undefined){ie.set(E,[ae])}else{R.push(ae)}}}if(ie.size===0)return;const Ie=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:N,source:$,content:j,hashes:q}=E;if(Buffer.isBuffer(j)){E.referencedHashes=we;E.ownHashes=we;return}const G=R.mergeEtags(R.getLazyHashedEtag($),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await R.providePromise(N,G,(()=>{const E=new Set;let R=new Set;const N=j.match(Ie);if(N){for(const $ of N){if(q.has($)){R.add($);continue}E.add($)}}return[E,R]}))})));const getDependencies=R=>{const N=ie.get(R);if(!N){const N=G.filter((E=>E.referencedHashes.has(R)));const $=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${R}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${N.map((E=>{const N=new RegExp(`.{0,20}${quoteMeta(R)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${N?N[0]:"???"}...`})).join("\n")}`);E.errors.push($);return undefined}const $=new Set;for(const{referencedHashes:E,ownHashes:j}of N){if(!j.has(R)){for(const E of j){$.add(E)}}for(const R of E){$.add(R)}}return $};const hashInfo=E=>{const R=ie.get(E);return`${E} (${Array.from(R,(E=>E.name))})`};const Me=new Set;for(const E of ie.keys()){const add=(E,R)=>{const N=getDependencies(E);if(!N)return;R.add(E);for(const E of N){if(Me.has(E))continue;if(R.has(E)){throw new Error(`Circular hash dependency ${Array.from(R,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,R)}Me.add(E);R.delete(E)};if(Me.has(E))continue;add(E,new Set)}const Te=new Map;const getEtag=E=>N.mergeEtags(N.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Te.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name;const $=getEtag(E);E.newSource=await N.providePromise(R,$,(()=>{const R=E.content.replace(Ie,(E=>Te.get(E)));return new j(R)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Te.get(E)!==E))){const R=E.name+"|without-own";const $=getEtag(E);E.newSourceWithoutOwn=await N.providePromise(R,$,(()=>{const R=E.content.replace(Ie,(R=>{if(E.ownHashes.has(R)){return""}return Te.get(R)}));return new j(R)}))}})()};const Ne=le((E=>E.name),_e);for(const E of Me){const R=ie.get(E);R.sort(Ne);const N=Ee(this._hashFunction);await Promise.all(R.map((R=>R.ownHashes.has(E)?computeNewContentWithoutOwn(R):computeNewContent(R))));const j=mapAndDeduplicateBuffers(R,(R=>{if(R.ownHashes.has(E)){return R.newSourceWithoutOwn?R.newSourceWithoutOwn.buffer():R.source.buffer()}else{return R.newSource?R.newSource.buffer():R.source.buffer()}}));let q=$.updateHash.call(j,E);if(!q){for(const E of j){N.update(E)}const R=N.digest(this._hashDigest);q=R.slice(0,E.length)}Te.set(E,q)}await Promise.all(G.map((async R=>{await computeNewContent(R);const N=R.name.replace(Ie,(E=>Te.get(E)));const $={};const j=R.info.contenthash;$.contenthash=Array.isArray(j)?j.map((E=>Te.get(E))):Te.get(j);if(R.newSource!==undefined){E.updateAsset(R.name,R.newSource,$)}else{E.updateAsset(R.name,R.source,$)}if(R.name!==N){E.renameAsset(R.name,N)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,R,N)=>{"use strict";const{STAGE_BASIC:$,STAGE_ADVANCED:j}=N(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=R=>{const N=E.chunkGraph;for(const $ of R){if(N.getNumberOfChunkModules($)===0&&!$.hasRuntime()&&N.getNumberOfEntryModules($)===0){E.chunkGraph.disconnectChunk($);E.chunks.delete($)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,R,N)=>{"use strict";const{STAGE_BASIC:$}=N(82414);const j=N(39541);const{intersect:q}=N(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(R,N)=>{const $=E.chunkGraph;const G=new j;const ie=new WeakMap;for(const R of E.entrypoints.values()){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}for(const R of E.asyncEntrypoints){ie.set(R,new Set);for(const E of R.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let R=ie.get(E);let N=false;for(const j of E.parentsIterable){const q=ie.get(j);if(q!==undefined){if(R===undefined){R=new Set(q);for(const E of j.chunks){for(const N of $.getChunkModulesIterable(E)){R.add(N)}}ie.set(E,R);N=true}else{for(const E of R){if(!$.isModuleInChunkGroup(E,j)&&!q.has(E)){R.delete(E);N=true}}}}}if(N){for(const R of E.childrenIterable){G.enqueue(R)}}}for(const E of R){const R=Array.from(E.groupsIterable,(E=>ie.get(E)));if(R.some((E=>E===undefined)))continue;const N=R.length===1?R[0]:q(R);const j=$.getNumberOfChunkModules(E);const G=new Set;if(j{"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((R,{name:N})=>{if(N===undefined)return;const $=E.entries.get(N);if($.options.runtime===undefined&&!$.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:N})}$.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,R,N)=>{"use strict";const $=N(70554);const{STAGE_DEFAULT:j}=N(82414);const q=N(44576);const G=N(2230);const ie=N(72380);const ae=new WeakMap;const globToRegexp=(E,R)=>{const N=R.get(E);if(N!==undefined)return N;if(!E.includes("/")){E=`**/${E}`}const j=$(E,{globstar:true,extended:true});const q=j.source;const G=new RegExp("^(\\./)?"+q.slice(1));R.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let R=ae.get(E.root);if(R===undefined){R=new Map;ae.set(E.root,R)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:N})=>{const $=E.moduleGraph;N.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{const $=N.resourceResolveData;if($&&$.descriptionFileData&&$.relativePath){const N=$.descriptionFileData.sideEffects;if(N!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const j=SideEffectsFlagPlugin.moduleHasSideEffects($.relativePath,N,R);E.factoryMeta.sideEffectFree=!j}}return E}));N.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{if(typeof R.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!R.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let R;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{R=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(N=>{if(R)return;if(E.scope.topLevelScope!==true)return;switch(N.type){case"ExpressionStatement":if(!E.isPure(N.expression,N.range[0])){R=N}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(N.test,N.range[0])){R=N}break;case"ForStatement":if(!E.isPure(N.init,N.range[0])||!E.isPure(N.test,N.init?N.init.range[1]:N.range[0])||!E.isPure(N.update,N.test?N.test.range[1]:N.init?N.init.range[1]:N.range[0])){R=N}break;case"SwitchStatement":if(!E.isPure(N.discriminant,N.range[0])){R=N}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(N,N.range[0])){R=N}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(N.declaration,N.range[0])){R=N}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:R=N;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(R===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:N,type:j}=R;$.getOptimizationBailout(E.state.module).push((()=>`Statement (${j}) with side effects in source code at ${ie(N)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){N.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:j},(R=>{const N=E.getLogger("webpack.SideEffectsFlagPlugin");N.time("update dependencies");for(const E of R){if(E.getSideEffectsConnectionState($)===false){const R=$.getExportsInfo(E);for(const N of $.getIncomingConnections(E)){const E=N.dependency;let j;if((j=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if(j&&E.name){const R=$.getExportInfo(N.originModule,E.name);R.moveTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false),(({module:R,export:N})=>{$.updateModule(E,R);$.addExplanation(E,"(skipped side-effect-free modules)");const j=E.getIds($);E.setIds($,N?[...N,...j.slice(1)]:j.slice(1));return $.getConnection(E)}));continue}const q=E.getIds($);if(q.length>0){const N=R.getExportInfo(q[0]);const j=N.getTarget($,(({module:E})=>E.getSideEffectsConnectionState($)===false));if(!j)continue;$.updateModule(E,j.module);$.addExplanation(E,"(skipped side-effect-free modules)");E.setIds($,j.export?[...j.export,...q.slice(1)]:q.slice(1))}}}}}N.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,R,N){switch(typeof R){case"undefined":return true;case"boolean":return R;case"string":return globToRegexp(R,N).test(E);case"object":return R.some((R=>SideEffectsFlagPlugin.moduleHasSideEffects(E,R,N)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,R,N)=>{"use strict";const $=N(62433);const{STAGE_ADVANCED:j}=N(82414);const q=N(81627);const{requestToId:G}=N(30328);const{isSubset:ie}=N(26221);const ae=N(16102);const{compareModulesByIdentifier:le,compareIterables:_e}=N(68673);const Ee=N(35891);const we=N(44648);const{makePathsRelative:Ie}=N(49197);const Me=N(91671);const Te=N(1697);const defaultGetName=()=>{};const Ne=we;const Be=new WeakMap;const hashFilename=(E,R)=>{const N=Ee(R.hashFunction).update(E).digest(R.hashDigest);return N.slice(0,8)};const getRequests=E=>{let R=0;for(const N of E.groupsIterable){R=Math.max(R,N.chunks.length)}return R};const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const isOverlap=(E,R)=>{for(const N of E){if(R.has(N))return true}return false};const Le=_e(le);const compareEntries=(E,R)=>{const N=E.cacheGroup.priority-R.cacheGroup.priority;if(N)return N;const $=E.chunks.size-R.chunks.size;if($)return $;const j=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(R.sizes)*(R.chunks.size-1);const G=j-q;if(G)return G;const ie=R.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const le=R.modules;const _e=ae.size-le.size;if(_e)return _e;ae.sort();le.sort();return Le(ae,le)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,R)=>{if(typeof E==="number"){const N={};for(const $ of R)N[$]=E;return N}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let R={};for(let N=E.length-1;N>=0;N--){R=Object.assign(R,E[N])}return R};const hasNonZeroSizes=E=>{for(const R of Object.keys(E)){if(E[R]>0)return true}return false};const combineSizes=(E,R,N)=>{const $=new Set(Object.keys(E));const j=new Set(Object.keys(R));const q={};for(const G of $){if(j.has(G)){q[G]=N(E[G],R[G])}else{q[G]=E[G]}}for(const E of j){if(!$.has(E)){q[E]=R[E]}}return q};const checkMinSize=(E,R)=>{for(const N of Object.keys(R)){const $=E[N];if($===undefined||$===0)continue;if(${for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j*N{let N;for(const $ of Object.keys(R)){const j=E[$];if(j===undefined||j===0)continue;if(j{let R=0;for(const N of Object.keys(E)){R+=E[N]}return R};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,R)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const N=[];for(const $ of Object.keys(E)){const j=E[$];if(j===false){continue}if(typeof j==="string"||j instanceof RegExp){const E=createCacheGroupSource({},$,R);N.push(((R,N,$)=>{if(checkTest(j,R,N)){$.push(E)}}))}else if(typeof j==="function"){const E=new WeakMap;N.push(((N,q,G)=>{const ie=j(N);if(ie){const N=Array.isArray(ie)?ie:[ie];for(const j of N){const N=E.get(j);if(N!==undefined){G.push(N)}else{const N=createCacheGroupSource(j,$,R);E.set(j,N);G.push(N)}}}}))}else{const E=createCacheGroupSource(j,$,R);N.push(((R,N,$)=>{if(checkTest(j.test,R,N)&&checkModuleType(j.type,R)&&checkModuleLayer(j.layer,R)){$.push(E)}}))}}const fn=(E,R)=>{let $=[];for(const j of N){j(E,R,$)}return $};return fn}return()=>null};const checkTest=(E,R,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R,N)}if(typeof E==="boolean")return E;if(typeof E==="string"){const N=R.nameForCondition();return N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.nameForCondition();return N&&E.test(N)}return false};const checkModuleType=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.type)}if(typeof E==="string"){const N=R.type;return E===N}if(E instanceof RegExp){const N=R.type;return E.test(N)}return false};const checkModuleLayer=(E,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(R.layer)}if(typeof E==="string"){const N=R.layer;return E===""?!N:N&&N.startsWith(E)}if(E instanceof RegExp){const N=R.layer;return E.test(N)}return false};const createCacheGroupSource=(E,R,N)=>{const $=normalizeSizes(E.minSize,N);const j=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);return{key:R,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const R=E.defaultSizeTypes||["javascript","unknown"];const N=E.fallbackCacheGroup||{};const $=normalizeSizes(E.minSize,R);const j=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:R,minSize:$,minSizeReduction:j,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),$),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,R),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(N.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(N.minSize,R),$),maxAsyncSize:mergeSizes(normalizeSizes(N.maxAsyncSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxAsyncSize,R),normalizeSizes(E.maxSize,R)),maxInitialSize:mergeSizes(normalizeSizes(N.maxInitialSize,R),normalizeSizes(N.maxSize,R),normalizeSizes(E.maxInitialSize,R),normalizeSizes(E.maxSize,R)),automaticNameDelimiter:N.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const R=this._cacheGroupCache.get(E);if(R!==undefined)return R;const N=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const $=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const j=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:N,minSizeReduction:$,minRemainingSize:j,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(N),_validateRemainingSize:hasNonZeroSizes(j),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const R=Ie.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const N=E.getLogger("webpack.SplitChunksPlugin");let _e=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{_e=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:j},(j=>{if(_e)return;_e=true;N.time("prepare");const Ee=E.chunkGraph;const we=E.moduleGraph;const Ie=new Map;const Le=BigInt("0");const je=BigInt("1");const ze=je<{const R=E[Symbol.iterator]();let N=R.next();if(N.done)return Le;const $=N.value;N=R.next();if(N.done)return $;let j=Ie.get($)|Ie.get(N.value);while(!(N=R.next()).done){const E=Ie.get(N.value);j=j^E}return j};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Ie.get(E).toString(16)};const qe=Me((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Ee.getModuleChunksIterable($);const j=getKey(E);if(typeof j==="bigint"){if(!R.has(j)){R.set(j,new Set(E))}}else{N.add(j)}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunksByExports=E=>{const R=we.getExportsInfo(E);const N=new Map;for(const $ of Ee.getModuleChunksIterable(E)){const E=R.getUsageKey($.runtime);const j=N.get(E);if(j!==undefined){j.push($)}else{N.set(E,[$])}}return N.values()};const Ge=new Map;const He=Me((()=>{const R=new Map;const N=new Set;for(const $ of E.modules){const E=Array.from(groupChunksByExports($));Ge.set($,E);for(const $ of E){if($.length===1){N.add($[0])}else{const E=getKey($);if(!R.has(E)){R.set(E,new Set($))}}}}return{chunkSetsInGraph:R,singleChunkSets:N}}));const groupChunkSetsByCount=E=>{const R=new Map;for(const N of E){const E=N.size;let $=R.get(E);if($===undefined){$=[];R.set(E,$)}$.push(N)}return R};const We=Me((()=>groupChunkSetsByCount(qe().chunkSetsInGraph.values())));const Ve=Me((()=>groupChunkSetsByCount(He().chunkSetsInGraph.values())));const createGetCombinations=(E,R,N)=>{const j=new Map;return q=>{const G=j.get(q);if(G!==undefined)return G;if(q instanceof $){const E=[q];j.set(q,E);return E}const ae=E.get(q);const le=[ae];for(const[E,R]of N){if(E{const{chunkSetsInGraph:E,singleChunkSets:R}=qe();return createGetCombinations(E,R,We())}));const getCombinations=E=>Ke()(E);const Qe=Me((()=>{const{chunkSetsInGraph:E,singleChunkSets:R}=He();return createGetCombinations(E,R,Ve())}));const getExportsCombinations=E=>Qe()(E);const Je=new WeakMap;const getSelectedChunks=(E,R)=>{let N=Je.get(E);if(N===undefined){N=new WeakMap;Je.set(E,N)}let j=N.get(R);if(j===undefined){const q=[];if(E instanceof $){if(R(E))q.push(E)}else{for(const N of E){if(R(N))q.push(N)}}j={chunks:q,key:getKey(q)};N.set(R,j)}return j};const Xe=new Map;const Ye=new Set;const Ze=new Map;const addModuleToChunksInfoMap=(R,N,$,j,G)=>{if($.length{const E=Ee.getModuleChunksIterable(R);const N=getKey(E);return getCombinations(N)}));const j=Me((()=>{He();const E=new Set;const N=Ge.get(R);for(const R of N){const N=getKey(R);for(const R of getExportsCombinations(N))E.add(R)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?j():N();for(const N of ie){const j=N instanceof $?1:N.size;if(j{for(const N of E.modules){const $=N.getSourceTypes();if(R.some((E=>$.has(E)))){E.modules.delete(N);for(const R of $){E.sizes[R]-=N.size(R)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const R=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(R===undefined)return false;removeModulesWithSourceType(E,R);return E.modules.size===0};for(const[E,R]of Ze){if(removeMinSizeViolatingModules(R)){Ze.delete(E)}else if(!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E)}}const tt=new Map;while(Ze.size>0){let R;let N;for(const E of Ze){const $=E[0];const j=E[1];if(N===undefined||compareEntries(N,j)<0){N=j;R=$}}const $=N;Ze.delete(R);let j=$.name;let q;let G=false;let ie=false;if(j){const R=E.namedChunks.get(j);if(R!==undefined){q=R;const E=$.chunks.size;$.chunks.delete(q);G=$.chunks.size!==E}}else if($.cacheGroup.reuseExistingChunk){e:for(const E of $.chunks){if(Ee.getNumberOfChunkModules(E)!==$.modules.size){continue}if($.chunks.size>1&&Ee.getNumberOfEntryModules(E)>0){continue}for(const R of $.modules){if(!Ee.isModuleInChunk(R,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=R){le.delete(E)}}}e:for(const E of le){for(const R of $.modules){if(Ee.isModuleInChunk(R,E))continue e}le.delete(E)}if(le.size<$.chunks.size){if(G)le.add(q);if(le.size>=$.cacheGroup.minChunks){const E=Array.from(le);for(const R of $.modules){addModuleToChunksInfoMap($.cacheGroup,$.cacheGroupIndex,E,getKey(le),R)}}continue}if(!ae&&$.cacheGroup._validateRemainingSize&&le.size===1){const[E]=le;let N=Object.create(null);for(const R of Ee.getChunkModulesIterable(E)){if(!$.modules.has(R)){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}}const j=getViolatingMinSizes(N,$.cacheGroup.minRemainingSize);if(j!==undefined){const E=$.modules.size;removeModulesWithSourceType($,j);if($.modules.size>0&&$.modules.size!==E){Ze.set(R,$)}continue}}if(q===undefined){q=E.addChunk(j)}for(const E of le){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if($.cacheGroup.key){q.chunkReason+=` (cache group: ${$.cacheGroup.key})`}if(j){q.chunkReason+=` (name: ${j})`}if($.cacheGroup.filename){q.filenameTemplate=$.cacheGroup.filename}if($.cacheGroup.idHint){q.idNameHints.add($.cacheGroup.idHint)}if(!ie){for(const R of $.modules){if(!R.chunkCondition(q,E))continue;Ee.connectChunkAndModule(q,R);for(const E of le){Ee.disconnectChunkAndModule(E,R)}}}else{for(const E of $.modules){for(const R of le){Ee.disconnectChunkAndModule(R,E)}}}if(Object.keys($.cacheGroup.maxAsyncSize).length>0||Object.keys($.cacheGroup.maxInitialSize).length>0){const E=tt.get(q);tt.set(q,{minSize:E?combineSizes(E.minSize,$.cacheGroup._minSizeForMaxSize,Math.max):$.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,$.cacheGroup.maxAsyncSize,Math.min):$.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,$.cacheGroup.maxInitialSize,Math.min):$.cacheGroup.maxInitialSize,automaticNameDelimiter:$.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat($.cacheGroup.key):[$.cacheGroup.key]})}for(const[E,R]of Ze){if(isOverlap(R.chunks,le)){let N=false;for(const E of $.modules){if(R.modules.has(E)){R.modules.delete(E);for(const N of E.getSourceTypes()){R.sizes[N]-=E.size(N)}N=true}}if(N){if(R.modules.size===0){Ze.delete(E);continue}if(removeMinSizeViolatingModules(R)||!checkMinSizeReduction(R.sizes,R.cacheGroup.minSizeReduction,R.chunks.size)){Ze.delete(E);continue}}}}}N.timeEnd("queue");N.time("maxSize");const nt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:st}=this.options;for(const N of Array.from(E.chunks)){const $=tt.get(N);const{minSize:j,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=$||st;if(!$&&!st.chunksFilter(N))continue;let le;if(N.isOnlyInitial()){le=ie}else if(N.canBeInitial()){le=combineSizes(q,ie,Math.min)}else{le=q}if(Object.keys(le).length===0){continue}for(const R of Object.keys(le)){const N=le[R];const q=j[R];if(typeof q==="number"&&q>N){const R=$&&$.keys;const j=`${R&&R.join()} ${q} ${N}`;if(!nt.has(j)){nt.add(j);E.warnings.push(new Te(R,q,N))}}}const _e=Ne({minSize:j,maxSize:mapObject(le,((E,R)=>{const N=j[R];return typeof N==="number"?Math.max(E,N):E})),items:Ee.getChunkModulesIterable(N),getKey(E){const N=Be.get(E);if(N!==undefined)return N;const $=R(E.identifier());const j=E.nameForCondition&&E.nameForCondition();const q=j?R(j):$.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename($,rt);const le=G(ie);Be.set(E,le);return le},getSize(E){const R=Object.create(null);for(const N of E.getSourceTypes()){R[N]=E.size(N)}return R}});if(_e.length<=1){continue}for(let R=0;R<_e.length;R++){const $=_e[R];const j=this.options.hidePathInfo?hashFilename($.key,rt):$.key;let q=N.name?N.name+ae+j:null;if(q&&q.length>100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(R!==_e.length-1){const R=E.addChunk(q);N.split(R);R.chunkReason=N.chunkReason;for(const j of $.items){if(!j.chunkCondition(R,E)){continue}Ee.connectChunkAndModule(R,j);Ee.disconnectChunkAndModule(N,j)}}else{N.name=q}}}N.timeEnd("maxSize")}))}))}}},15787:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class AssetsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${$(R)}).\nThis can impact web performance.\nAssets: ${N}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,R,N)=>{"use strict";const{formatSize:$}=N(9192);const j=N(81627);E.exports=class EntrypointsOverSizeLimitWarning extends j{constructor(E,R){const N=E.map((E=>`\n ${E.name} (${$(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${$(R)}). This can impact web performance.\nEntrypoints:${N}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class NoAsyncChunksWarning extends ${constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,R,N)=>{"use strict";const{find:$}=N(26221);const j=N(15787);const q=N(84116);const G=N(23529);const ie=new WeakSet;const excludeSourceMap=(E,R,N)=>!N.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const R=this.maxEntrypointSize;const N=this.maxAssetSize;const ae=this.hints;const le=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const _e=[];const getEntrypointSize=R=>{let N=0;for(const $ of R.getFiles()){const R=E.getAsset($);if(R&&le(R.name,R.source,R.info)&&R.source){N+=R.info.size||R.source.size()}}return N};const Ee=[];for(const{name:R,source:$,info:j}of E.getAssets()){if(!le(R,$,j)||!$){continue}const E=j.size||$.size();if(E>N){Ee.push({name:R,size:E});ie.add($)}}const fileFilter=R=>{const N=E.getAsset(R);return N&&le(N.name,N.source,N.info)};const we=[];for(const[N,$]of E.entrypoints){const E=getEntrypointSize($);if(E>R){we.push({name:N,size:E,files:$.getFiles().filter(fileFilter)});ie.add($)}}if(ae){if(Ee.length>0){_e.push(new j(Ee,N))}if(we.length>0){_e.push(new q(we,R))}if(_e.length>0){const R=$(E.chunks,(E=>!E.canBeInitial()));if(!R){_e.push(new G)}if(ae==="error"){E.errors.push(..._e)}else{E.warnings.push(..._e)}}}}))}}},63890:(E,R,N)=>{"use strict";const $=N(66804);const j=N(58159);class ChunkPrefetchFunctionRuntimeModule extends ${constructor(E,R,N){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=R;this.runtimeHandlers=N}generate(){const{runtimeFunction:E,runtimeHandlers:R}=this;const{runtimeTemplate:N}=this.compilation;return j.asString([`${R} = {};`,`${E} = ${N.basicFunction("chunkId",[`Object.keys(${R}).map(${N.basicFunction("key",`${R}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,R,N)=>{"use strict";const $=N(76150);const j=N(63890);const q=N(2235);const G=N(86400);const ie=N(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{if(j.getNumberOfEntryModules(R)===0)return;const G=R.getChildrenOfTypeInOrder(j,"prefetchOrder");if(G){N.add($.prefetchChunk);N.add($.onChunksLoaded);E.addRuntimeModule(R,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((R,N,{chunkGraph:j})=>{const q=R.getChildIdsByOrdersMap(j,false);if(q.prefetch){N.add($.prefetchChunk);E.addRuntimeModule(R,new G(q.prefetch))}if(q.preload){N.add($.preloadChunk);E.addRuntimeModule(R,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for($.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("prefetch",$.prefetchChunk,$.prefetchChunkHandlers));N.add($.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for($.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((R,N)=>{E.addRuntimeModule(R,new j("preload",$.preloadChunk,$.preloadChunkHandlers));N.add($.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchStartupRuntimeModule extends j{constructor(E){super("startup prefetch",j.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:R}=this;const{runtimeTemplate:N}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:j})=>`${$.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===R)).map((E=>E.id)))}, ${N.basicFunction("",j.size<3?Array.from(j,(E=>`${$.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from(j,(E=>E.id)))}.map(${$.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPrefetchTriggerRuntimeModule extends j{constructor(E){super(`chunk prefetch trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.prefetch = ${R.expressionFunction(`Promise.all(promises).then(${R.basicFunction("",N)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class ChunkPreloadTriggerRuntimeModule extends j{constructor(E){super(`chunk preload trigger`,j.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:R}=this.compilation;const N=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${$.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${$.ensureChunkHandlers}.preload = ${R.basicFunction("chunkId",N)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,R){this.ruleProperty=E;this.effectType=R||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,R,N,$,j)=>{if(N.has(this.ruleProperty)){N.delete(this.ruleProperty);const E=R[this.ruleProperty];$.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,R,N){this.ruleProperty=E;this.dataProperty=R||E;this.invert=N||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((R,N,$,j)=>{if($.has(this.ruleProperty)){$.delete(this.ruleProperty);const q=N[this.ruleProperty];const G=E.compileCondition(`${R}.${this.ruleProperty}`,q);const ie=G.fn;j.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,R){this.ruleProperty=E;this.dataProperty=R||E}apply(E){const{ruleProperty:R,dataProperty:N}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",(($,j,q,G)=>{if(q.has(R)){q.delete(R);const ie=j[R];for(const j of Object.keys(ie)){const q=j.split(".");const ae=E.compileCondition(`${$}.${R}.${j}`,ie[j]);G.conditions.push({property:[N,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,R,N)=>{"use strict";const{SyncHook:$}=N(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new $(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const R of E){R.apply(this)}}}compile(E){const R=new Map;const N=this.compileRules("ruleSet",E,R);const execRule=(E,R,N)=>{for(const N of R.conditions){const R=N.property;if(Array.isArray(R)){let $=E;for(const E of R){if($&&typeof $==="object"&&Object.prototype.hasOwnProperty.call($,E)){$=$[E]}else{$=undefined;break}}if($!==undefined){if(!N.fn($))return false;continue}}else if(R in E){const $=E[R];if($!==undefined){if(!N.fn($))return false;continue}}if(!N.matchWhenEmpty){return false}}for(const $ of R.effects){if(typeof $==="function"){const R=$(E);for(const E of R){N.push(E)}}else{N.push($)}}if(R.rules){for(const $ of R.rules){execRule(E,$,N)}}if(R.oneOf){for(const $ of R.oneOf){if(execRule(E,$,N)){break}}}return true};return{references:R,exec:E=>{const R=[];for(const $ of N){execRule(E,$,R)}return R}}}compileRules(E,R,N){return R.map(((R,$)=>this.compileRule(`${E}[${$}]`,R,N)))}compileRule(E,R,N){const $=new Set(Object.keys(R).filter((E=>R[E]!==undefined)));const j={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,R,$,j,N);if($.has("rules")){$.delete("rules");const q=R.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");j.rules=this.compileRules(`${E}.rules`,q,N)}if($.has("oneOf")){$.delete("oneOf");const q=R.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");j.oneOf=this.compileRules(`${E}.oneOf`,q,N)}if($.size>0){throw this.error(E,R,`Properties ${Array.from($).join(", ")} are unknown`)}return j}compileCondition(E,R){if(R===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!R){throw this.error(E,R,"Expected condition but got falsy value")}if(typeof R==="string"){return{matchWhenEmpty:R.length===0,fn:E=>typeof E==="string"&&E.startsWith(R)}}if(typeof R==="function"){try{return{matchWhenEmpty:R(""),fn:R}}catch(N){throw this.error(E,R,"Evaluation of condition function threw error")}}if(R instanceof RegExp){return{matchWhenEmpty:R.test(""),fn:E=>typeof E==="string"&&R.test(E)}}if(Array.isArray(R)){const N=R.map(((R,N)=>this.compileCondition(`${E}[${N}]`,R)));return this.combineConditionsOr(N)}if(typeof R!=="object"){throw this.error(E,R,`Unexpected ${typeof R} when condition was expected`)}const N=[];for(const $ of Object.keys(R)){const j=R[$];switch($){case"or":if(j){if(!Array.isArray(j)){throw this.error(`${E}.or`,R.and,"Expected array of conditions")}N.push(this.compileCondition(`${E}.or`,j))}break;case"and":if(j){if(!Array.isArray(j)){throw this.error(`${E}.and`,R.and,"Expected array of conditions")}let $=0;for(const R of j){N.push(this.compileCondition(`${E}.and[${$}]`,R));$++}}break;case"not":if(j){const R=this.compileCondition(`${E}.not`,j);const $=R.fn;N.push({matchWhenEmpty:!R.matchWhenEmpty,fn:E=>!$(E)})}break;default:throw this.error(`${E}.${$}`,R[$],`Unexpected property ${$} in condition`)}}if(N.length===0){throw this.error(E,R,"Expected condition, but got empty thing")}return this.combineConditionsAnd(N)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:R=>E.some((E=>E.fn(R)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:R=>E.every((E=>E.fn(R)))}}}error(E,R,N){return new Error(`Compiling RuleSet failed: ${N} (at ${E}: ${R})`)}}E.exports=RuleSetCompiler},19311:(E,R,N)=>{"use strict";const $=N(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((R,N,j,q,G)=>{const conflictWith=($,q)=>{if(j.has($)){throw E.error(`${R}.${$}`,N[$],`A Rule must not have a '${$}' property when it has a '${q}' property`)}};if(j.has("use")){j.delete("use");j.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=N.use;const ie=N.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,R,N)=>{if(typeof N==="function"){return R=>useToEffectsWithoutIdent(E,N(R))}else{return useToEffectRaw(E,R,N)}};const useToEffectRaw=(E,R,N)=>{if(typeof N==="string"){return{type:ae,value:{loader:N,options:undefined,ident:undefined}}}else{const j=N.loader;const q=N.options;let ae=N.ident;if(q&&typeof q==="object"){if(!ae)ae=R;G.set(ae,q)}if(typeof q==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:j,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>useToEffectRaw(`${E}[${N}]`,"[[missing ident]]",R)))}return[useToEffectRaw(E,"[[missing ident]]",R)]};const useToEffects=(E,R)=>{if(Array.isArray(R)){return R.map(((R,N)=>{const $=`${E}[${N}]`;return useToEffect($,$,R)}))}return[useToEffect(E,E,R)]};if(typeof E==="function"){q.effects.push((N=>useToEffectsWithoutIdent(`${R}.use`,E(N))))}else{for(const N of useToEffects(`${R}.use`,E)){q.effects.push(N)}}}if(j.has("loader")){j.delete("loader");j.delete("options");j.delete("enforce");const ie=N.loader;const ae=N.options;const le=N.enforce;if(ie.includes("!")){throw E.error(`${R}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${R}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){$.deprecate((()=>{}),`Using a string as loader options is deprecated (${R}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const _e=ae&&typeof ae==="object"?R:undefined;G.set(_e,ae);q.effects.push({type:le?`use-${le}`:"use",value:{loader:ie,options:ae,ident:_e}})}}))}useItemToEffects(E,R){}}E.exports=UseEffectRulePlugin},84997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.asyncModule;return j.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",j.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',j.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",j.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${R} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const G=N(18161);const{getUndoPath:ie}=N(49197);class AutoPublicPathRuntimeModule extends j{constructor(){super("publicPath",j.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:R,importMetaName:N,path:j}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const le=ie(ae,j,false);return q.asString(["var scriptUrl;",R==="module"?`if (typeof ${N}.url === "string") scriptUrl = ${N}.url`:q.asString([`if (${$.global}.importScripts) scriptUrl = ${$.global}.location + "";`,`var document = ${$.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!le?`${$.publicPath} = scriptUrl;`:`${$.publicPath} = scriptUrl + ${JSON.stringify(le)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class ChunkNameRuntimeModule extends j{constructor(E){super("chunkName");this.chunkName=E}generate(){return`${$.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.compatGetDefaultExport;return j.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${R} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",j.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${$.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class CompatRuntimeModule extends j{constructor(){super("compat",j.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=N;const ae=q.hooks.bootstrap.call("",R,N.hash||"XXXX",G.javascript,ie);const le=q.hooks.localVars.call("",R,N.hash||"XXXX");const _e=q.hooks.requireExtensions.call("",R,N.hash||"XXXX");const Ee=E.getTreeRuntimeRequirements(R);let we="";if(Ee.has($.ensureChunk)){const E=q.hooks.requireEnsure.call("",R,N.hash||"XXXX","chunkId");if(E){we=`${$.ensureChunkHandlers}.compat = ${j.basicFunction("chunkId, promises",E)};`}}return[ae,le,we,_e].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.createFakeNamespaceObject;return j.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${R} = function(value, mode) {`,j.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",j.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${$.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",j.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${$.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{trustedTypes:q}=N;const G=$.createScriptUrl;if(!q){return j.asString([`${G} = ${R.returningFunction("url","url")};`])}return j.asString(["var policy;",`${G} = ${R.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",j.indent(["policy = {",j.indent([`createScriptURL: ${R.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',j.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.definePropertyGetters;return j.asString(["// define getter functions for harmony exports",`${R} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,j.indent([`if(${$.hasOwnProperty}(definition, key) && !${$.hasOwnProperty}(exports, key)) {`,j.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class EnsureChunkRuntimeModule extends j{constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has($.ensureChunkHandlers)){const R=$.ensureChunkHandlers;return q.asString([`${R} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${$.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${R}).reduce(${E.basicFunction("promises, key",[`${R}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${$.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{first:G}=N(26221);class GetChunkFilenameRuntimeModule extends j{constructor(E,R,N,$,j){super(`get ${R} chunk filename`);this.contentType=E;this.global=N;this.getFilenameForChunk=$;this.allChunks=j;this.dependentHash=true}generate(){const{global:E,chunk:R,chunkGraph:N,contentType:j,getFilenameForChunk:ie,allChunks:ae,compilation:le}=this;const{runtimeTemplate:_e}=le;const Ee=new Map;let we=0;let Ie;const addChunk=E=>{const R=ie(E);if(R){let N=Ee.get(R);if(N===undefined){Ee.set(R,N=new Set)}N.add(E);if(typeof R==="string"){if(N.size{const unquotedStringify=R=>{const N=`${R}`;if(N.length>=5&&N===`${E.id}`){return'" + chunkId + "'}const $=JSON.stringify(N);return $.slice(1,$.length-1)};const unquotedStringifyWithLength=E=>R=>unquotedStringify(`${E}`.slice(0,R));const N=typeof R==="function"?JSON.stringify(R({chunk:E,contentHashType:j})):JSON.stringify(R);const q=le.getPath(N,{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[j]:unquotedStringify(E.contentHash[j])},contentHashWithLength:{[j]:unquotedStringifyWithLength(E.contentHash[j])}},contentHashType:j});let G=Te.get(q);if(G===undefined){Te.set(q,G=new Set)}G.add(E.id)};for(const[E,R]of Ee){if(E!==Ie){for(const N of R)addStaticUrl(N,E)}else{for(const E of R)Ne.add(E)}}const createMap=E=>{const R={};let N=false;let $;let j=0;for(const q of Ne){const G=E(q);if(G===q.id){N=true}else{R[q.id]=G;$=q.id;j++}}if(j===0)return"chunkId";if(j===1){return N?`(chunkId === ${JSON.stringify($)} ? ${JSON.stringify(R[$])} : chunkId)`:JSON.stringify(R[$])}return N?`(${JSON.stringify(R)}[chunkId] || chunkId)`:`${JSON.stringify(R)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>R=>`" + ${createMap((N=>`${E(N)}`.slice(0,R)))} + "`;const Be=Ie&&le.getPath(JSON.stringify(Ie),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[j]:mapExpr((E=>E.contentHash[j]))},contentHashWithLength:{[j]:mapExprWithLength((E=>E.contentHash[j]))}},contentHashType:j});return q.asString([`// This function allow to reference ${Me.join(" and ")}`,`${E} = ${_e.basicFunction("chunkId",Te.size>0?["// return url for filenames not based on template",q.asString(Array.from(Te,(([E,R])=>{const N=R.size===1?`chunkId === ${JSON.stringify(G(R))}`:`{${Array.from(R,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${N}) return ${E};`}))),"// return url for filenames based on template",`return ${Be};`]:["// return url for filenames based on template",`return ${Be};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class GetFullHashRuntimeModule extends j{constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${$.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GetMainFilenameRuntimeModule extends j{constructor(E,R,N){super(`get ${E} filename`);this.global=R;this.filename=N}generate(){const{global:E,filename:R,compilation:N,chunk:j}=this;const{runtimeTemplate:G}=N;const ie=N.getPath(JSON.stringify(R),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}().slice(0, ${E}) + "`,chunk:j,runtime:j.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class GlobalRuntimeModule extends j{constructor(){super("global")}generate(){return q.asString([`${$.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class HasOwnPropertyRuntimeModule extends j{constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${$.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,R,N)=>{"use strict";const $=N(66804);class HelperRuntimeModule extends ${constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(58159);const ie=N(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=ae.get(E);if(R===undefined){R={createScript:new $(["source","chunk"])};ae.set(E,R)}return R}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R,outputOptions:N}=E;const{scriptType:$,chunkLoadTimeout:j,crossOriginLoading:ie,uniqueName:ae,charset:le}=N;const _e=q.loadScript;const{createScript:Ee}=LoadScriptRuntimeModule.getCompilationHooks(E);const we=G.asString(["script = document.createElement('script');",$?`script.type = ${JSON.stringify($)};`:"",le?"script.charset = 'utf-8';":"",`script.timeout = ${j/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${_e} = ${R.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",Ee.call(we,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+R.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${R.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${j});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const R=$.makeNamespaceObject;return j.asString(["// define __esModule on exports",`${R} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",j.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class OnChunksLoadedRuntimeModule extends j{constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return q.asString(["var deferred = [];",`${$.onChunksLoaded} = ${R.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([R.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${$.onChunksLoaded}).every(${R.returningFunction(`${$.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class PublicPathRuntimeModule extends j{constructor(E){super("publicPath",j.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:R}=this;return`${$.publicPath} = ${JSON.stringify(E.getPath(R||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,R,N)=>{"use strict";const $=N(76150);const j=N(58159);const q=N(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return j.asString([`${$.relativeUrl} = function RelativeURL(url) {`,j.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${$.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class RuntimeIdRuntimeModule extends j{constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:R}=this;const N=R.runtime;if(typeof N!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const j=E.getRuntimeId(N);return`${$.runtimeId} = ${JSON.stringify(j)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,R,N)=>{"use strict";const $=N(76150);const j=N(55616);const q=N(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((R,N,{chunkGraph:q})=>{if(!isEnabledForChunk(R))return;if(q.hasChunkEntryDependentChunks(R)){N.add($.startup);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new j(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for($.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;N.add($.require);N.add($.ensureChunk);N.add($.ensureChunkIncludeEntries);E.addRuntimeModule(R,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class StartupChunkDependenciesRuntimeModule extends j{constructor(E){super("startup chunk dependencies",j.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:R,compilation:N}=this;const{runtimeTemplate:j}=N;const G=Array.from(E.getChunkEntryDependentChunksIterable(R)).map((E=>E.id));return q.asString([`var next = ${$.startup};`,`${$.startup} = ${j.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${$.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${$.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${$.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class StartupEntrypointRuntimeModule extends j{constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:R}=E;return`${$.startupEntrypoint} = ${R.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${R.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${$.ensureChunk}, __webpack_require__)).then(${R.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${$.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);class SystemContextRuntimeModule extends j{constructor(){super("__system_context__")}generate(){return`${$.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,R,N)=>{"use strict";const $=N(53520);const j=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const R=j.exec(E);if(!R)return null;const N=R[3];const $=R[4];return N?Buffer.from($,"base64"):Buffer.from(decodeURIComponent($),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const R=j.exec(E.resource);if(R){E.data.mimetype=R[1]||"";E.data.parameters=R[2]||"";E.data.encoding=R[3]||false;E.data.encodedContent=R[4]||""}}));$.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,R,N)=>{"use strict";const{URL:$,fileURLToPath:j}=N(57310);const{NormalModule:q}=N(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:R})=>{R.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const R=new $(E.resource);const N=j(R);const q=R.search;const G=R.hash;E.path=N;E.query=q;E.fragment=G;E.resource=N+q+G;return true}));const N=q.getCompilationHooks(E);N.readResource.for(undefined).tapAsync("FileUriPlugin",((E,R)=>{const{resourcePath:N}=E;E.addDependency(N);E.fs.readFile(N,R)}))}))}}E.exports=FileUriPlugin},7201:(E,R,N)=>{"use strict";const{extname:$,basename:j}=N(71017);const{URL:q}=N(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=N(59796);const le=N(53520);const _e=N(35817);const Ee=N(35891);const{mkdirp:we,dirname:Ie,join:Me}=N(95396);const Te=N(91671);const Ne=Te((()=>N(13685)));const Be=Te((()=>N(95687)));let Le=undefined;const je=_e(N(44363),(()=>N(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const R=Ee("sha512");R.update(E);const N="sha512-"+R.digest("base64");return N};const verifyIntegrity=(E,R)=>{if(R==="ignore")return true;return computeIntegrity(E)===R};const parseKeyValuePairs=E=>{const R={};for(const N of E.split(",")){const E=N.indexOf("=");if(E>=0){const $=N.slice(0,E).trim();const j=N.slice(E+1).trim();R[$]=j}else{const E=N.trim();if(!E)continue;R[E]=E}}return R};const parseCacheControl=(E,R)=>{let N=true;let $=true;let j=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])N=$=false;if(q["max-age"]&&!isNaN(+q["max-age"])){j=R+ +q["max-age"]*1e3}if(q["must-revalidate"])j=0}return{storeLock:$,storeCache:N,validUntil:j}};const areLockfileEntriesEqual=(E,R)=>E.resolved===R.resolved&&E.integrity===R.integrity&&E.contentType===R.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const R=JSON.parse(E);if(R.version!==1)throw new Error(`Unsupported lockfile version ${R.version}`);const N=new Lockfile;for(const E of Object.keys(R)){if(E==="version")continue;const $=R[E];N.entries.set(E,typeof $==="string"?$:{resolved:E,...$})}return N}toString(){let E="{\n";const R=Array.from(this.entries).sort((([E],[R])=>E{let R=false;let N=undefined;let $=undefined;let j=undefined;return q=>{if(R){if($!==undefined)return q(null,$);if(N!==undefined)return q(N);if(j===undefined)j=[q];else j.push(q);return}R=true;E(((E,R)=>{if(E)N=E;else $=R;const G=j;j=undefined;q(E,R);if(G!==undefined)for(const N of G)N(E,R)}))}};const cachedWithKey=(E,R=E)=>{const N=new Map;const resultFn=(R,$)=>{const j=N.get(R);if(j!==undefined){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined};N.set(R,q);E(R,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};resultFn.force=(E,$)=>{const j=N.get(E);if(j!==undefined&&j.force){if(j.result!==undefined)return $(null,j.result);if(j.error!==undefined)return $(j.error);if(j.callbacks===undefined)j.callbacks=[$];else j.callbacks.push($);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};N.set(E,q);R(E,((E,R)=>{if(E)q.error=E;else q.result=R;const N=q.callbacks;q.callbacks=undefined;$(E,R);if(N!==undefined)for(const $ of N)$(E,R)}))};return resultFn};class HttpUriPlugin{constructor(E){je(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const R=[{scheme:"http",fetch:(E,R,N)=>Ne().get(E,R,N)},{scheme:"https",fetch:(E,R,N)=>Be().get(E,R,N)}];let N;E.hooks.compilation.tap("HttpUriPlugin",((_e,{normalModuleFactory:Te})=>{const Ne=E.intermediateFileSystem;const Be=_e.inputFileSystem;const je=_e.getCache("webpack.HttpUriPlugin");const ze=_e.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||Me(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const qe=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const Ge=this._upgrade||false;const He=this._frozen||false;const We="sha512";const Ve="hex";const Ke=20;const Qe=this._allowedUris;let Je=false;const Xe=new Map;const getCacheKey=E=>{const R=Xe.get(E);if(R!==undefined)return R;const N=_getCacheKey(E);Xe.set(E,N);return N};const _getCacheKey=E=>{const R=new q(E);const N=toSafePath(R.origin);const j=toSafePath(R.pathname);const G=toSafePath(R.search);let ie=$(j);if(ie.length>20)ie="";const ae=ie?j.slice(0,-ie.length):j;const le=Ee(We);le.update(E);const _e=le.digest(Ve).slice(0,Ke);return`${N.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${_e}${ie}`};const Ye=cachedWithoutKey((R=>{const readLockfile=()=>{Ne.readFile(Ue,(($,j)=>{if($&&$.code!=="ENOENT"){_e.missingDependencies.add(Ue);return R($)}_e.fileDependencies.add(Ue);_e.fileSystemInfo.createSnapshot(E.fsStartTime,j?[Ue]:[],[],j?[]:[Ue],{timestamp:true},((E,$)=>{if(E)return R(E);const q=j?Lockfile.parse(j.toString("utf-8")):new Lockfile;N={lockfile:q,snapshot:$};R(null,q)}))}))};if(N){_e.fileSystemInfo.checkSnapshotValid(N.snapshot,((E,$)=>{if(E)return R(E);if(!$)return readLockfile();R(null,N.lockfile)}))}else{readLockfile()}}));let Ze=undefined;const storeLockEntry=(E,R,N)=>{const $=E.entries.get(R);if(Ze===undefined)Ze=new Map;Ze.set(R,N);E.entries.set(R,N);if(!$){ze.log(`${R} added to lockfile`)}else if(typeof $==="string"){if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$} -> ${N}`)}else{ze.log(`${R} updated in lockfile: ${$} -> ${N.resolved}`)}}else if(typeof N==="string"){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N}`)}else if($.resolved!==N.resolved){ze.log(`${R} updated in lockfile: ${$.resolved} -> ${N.resolved}`)}else if($.integrity!==N.integrity){ze.log(`${R} updated in lockfile: content changed`)}else if($.contentType!==N.contentType){ze.log(`${R} updated in lockfile: ${$.contentType} -> ${N.contentType}`)}else{ze.log(`${R} updated in lockfile`)}};const storeResult=(E,R,N,$)=>{if(N.storeLock){storeLockEntry(E,R,N.entry);if(!qe||!N.content)return $(null,N);const j=getCacheKey(N.entry.resolved);const q=Me(Ne,qe,j);we(Ne,Ie(Ne,q),(E=>{if(E)return $(E);Ne.writeFile(q,N.content,(E=>{if(E)return $(E);$(null,N)}))}))}else{storeLockEntry(E,R,"no-cache");$(null,N)}};for(const{scheme:E,fetch:N}of R){const resolveContent=(E,N,$)=>{const handleResult=(j,q)=>{if(j)return $(j);if("location"in q){return resolveContent(q.location,N,((E,R)=>{if(E)return $(E);$(null,{entry:R.entry,content:R.content,storeLock:R.storeLock&&q.storeLock})}))}else{if(!q.fresh&&N&&q.entry.integrity!==N&&!verifyIntegrity(q.content,N)){return R.force(E,handleResult)}return $(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};R(E,handleResult)};const fetchContentRaw=(E,R,$)=>{const j=Date.now();N(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":R?R.etag||null:null}},(N=>{const le=N.headers["etag"];const _e=N.headers["location"];const Ee=N.headers["cache-control"];const{storeLock:we,storeCache:Ie,validUntil:Me}=parseCacheControl(Ee,j);const finishWith=R=>{if("location"in R){ze.debug(`GET ${E} [${N.statusCode}] -> ${R.location}`)}else{ze.debug(`GET ${E} [${N.statusCode}] ${Math.ceil(R.content.length/1024)} kB${!we?" no-cache":""}`)}const j={...R,fresh:true,storeLock:we,storeCache:Ie,validUntil:Me,etag:le};if(!Ie){ze.log(`${E} can't be stored in cache, due to Cache-Control header: ${Ee}`);return $(null,j)}je.store(E,null,{...j,fresh:false},(R=>{if(R){ze.warn(`${E} can't be stored in cache: ${R.message}`);ze.debug(R.stack)}$(null,j)}))};if(N.statusCode===304){if(R.validUntil=301&&N.statusCode<=308){return finishWith({location:new q(_e,E).href})}const Te=N.headers["content-type"]||"";const Ne=[];const Be=N.headers["content-encoding"];let Le=N;if(Be==="gzip"){Le=Le.pipe(G())}else if(Be==="br"){Le=Le.pipe(ie())}else if(Be==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!N.complete){ze.log(`GET ${E} [${N.statusCode}] (terminated)`);return $(new Error(`${E} request was terminated`))}const R=Buffer.concat(Ne);if(N.statusCode!==200){ze.log(`GET ${E} [${N.statusCode}]`);return $(new Error(`${E} request status code = ${N.statusCode}\n${R.toString("utf-8")}`))}const j=computeIntegrity(R);const q={resolved:E,integrity:j,contentType:Te};finishWith({entry:q,content:R})}))})).on("error",(R=>{ze.log(`GET ${E} (error)`);R.message+=`\nwhile fetching ${E}`;$(R)}))};const R=cachedWithKey(((E,R)=>{je.get(E,null,((N,$)=>{if(N)return R(N);if($){const E=$.validUntil>=Date.now();if(E)return R(null,$)}fetchContentRaw(E,$,R)}))}),((E,R)=>fetchContentRaw(E,undefined,R)));const isAllowed=E=>{for(const R of Qe){if(typeof R==="string"){if(E.startsWith(R))return true}else if(typeof R==="function"){if(R(E))return true}else{if(R.test(E))return true}}return false};const $=cachedWithKey(((E,R)=>{if(!isAllowed(E)){return R(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Qe.map((E=>` - ${E}`)).join("\n")}`))}Ye(((N,$)=>{if(N)return R(N);const j=$.entries.get(E);if(!j){if(He){return R(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((N,j)=>{if(N)return R(N);storeResult($,E,j,R)}));return}if(typeof j==="string"){const N=j;resolveContent(E,null,((j,q)=>{if(j)return R(j);if(!q.storeLock||N==="ignore")return R(null,q);if(He){return R(new Error(`${E} used to have ${N} lockfile entry and has content now, but lockfile is frozen`))}if(!Ge){return R(new Error(`${E} used to have ${N} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult($,E,q,R)}));return}let q=j;const doFetch=N=>{resolveContent(E,q.integrity,((j,G)=>{if(j){if(N){ze.warn(`Upgrade request to ${E} failed: ${j.message}`);ze.debug(j.stack);return R(null,{entry:q,content:N})}return R(j)}if(!G.storeLock){if(He){return R(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}if(!areLockfileEntriesEqual(G.entry,q)){if(He){return R(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult($,E,G,R);return}if(!N&&qe){if(He){return R(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult($,E,G,R);return}return R(null,G)}))};if(qe){const N=getCacheKey(q.resolved);const j=Me(Ne,qe,N);Be.readFile(j,((N,G)=>{const ie=G;if(N){if(N.code==="ENOENT")return doFetch();return R(N)}const continueWithCachedContent=E=>{if(!Ge){return R(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let N;let G=false;try{N=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(N,q.integrity)}catch(E){}if(G){if(!Je){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(He){ze.error(E)}else{ze.warn(E);ze.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Je=true}if(!He){ze.log(`${j} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile(j,N,(E=>{if(E)return R(E);continueWithCachedContent(N)}));return}}if(He){return R(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry($,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,R,N)=>{$(E.href,(($,j)=>{if($)return N($);R.resource=E.href;R.path=E.origin+E.pathname;R.query=E.search;R.fragment=E.hash;R.context=new q(".",j.entry.resolved).href.slice(0,-1);R.data.mimetype=j.entry.contentType;N(null,true)}))};Te.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{respondWithUrlModule(new q(E.resource),E,N)}));Te.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>{if(R.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return N()}respondWithUrlModule(new q(E.resource,R.context+"/"),E,N)}));const j=le.getCompilationHooks(_e);j.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,R,N)=>$(E,((E,$)=>{if(E)return N(E);R.buildInfo.resourceIntegrity=$.entry.integrity;N(null,$.content)}))));j.needBuild.tapAsync("HttpUriPlugin",((R,N,j)=>{if(R.resource&&R.resource.startsWith(`${E}://`)){$(R.resource,((E,N)=>{if(E)return j(E);if(N.entry.integrity!==R.buildInfo.resourceIntegrity){return j(null,true)}j()}))}else{return j()}}))}_e.hooks.finishModules.tapAsync("HttpUriPlugin",((E,R)=>{if(!Ze)return R();const N=$(Ue);const q=Me(Ne,Ie(Ne,Ue),`.${j(Ue,N)}.${Math.random()*1e4|0}${N}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,N)=>{if(E&&E.code!=="ENOENT"){writeDone();return R(E)}const $=N?Lockfile.parse(N.toString("utf-8")):new Lockfile;for(const[E,R]of Ze){$.entries.set(E,R)}Ne.writeFile(q,$.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>R(E)))}writeDone();R()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:R}){R(E.length);for(const N of E)R(N)}deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";const $=N(91671);const j=N(43065);const q=11;const G=12;const ie=13;const ae=14;const le=16;const _e=17;const Ee=18;const we=19;const Ie=20;const Me=21;const Te=22;const Ne=23;const Be=24;const Le=30;const je=31;const ze=96;const Ue=64;const qe=32;const Ge=128;const He=224;const We=31;const Ve=127;const Ke=1;const Qe=1;const Je=4;const Xe=8;const Ye=Symbol("MEASURE_START_OPERATION");const Ze=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends j{serialize(E,R){return this._serialize(E,R)}_serializeLazy(E,R){return j.serializeLazy(E,(E=>this._serialize(E,R)))}_serialize(E,R,N={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let $=null;let He=[];let We=N?N.leftOverBuffer:null;N.leftOverBuffer=null;let Ve=0;if(We===null){We=Buffer.allocUnsafe(N.allocationSize)}const allocate=E=>{if(We!==null){if(We.length-Ve>=E)return;flush()}if($&&$.length>=E){We=$;$=null}else{We=Buffer.allocUnsafe(Math.max(E,N.allocationSize));if(!(N.increaseCounter=(N.increaseCounter+1)%4)&&N.allocationSize<16777216){N.allocationSize=N.allocationSize<<1}}};const flush=()=>{if(We!==null){if(Ve>0){He.push(Buffer.from(We.buffer,We.byteOffset,Ve))}if(!$||$.length{We.writeUInt8(E,Ve++)};const writeU32=E=>{We.writeUInt32LE(E,Ve);Ve+=4};const et=[];const measureStart=()=>{et.push(He.length,Ve)};const measureEnd=()=>{const E=et.pop();const R=et.pop();let N=Ve-E;for(let E=R;E0&&(E=G[G.length-1])!==0){const N=4294967295-E;if(N>=R.length){G[G.length-1]+=R.length}else{G.push(R.length-N);G[G.length-2]=4294967295}}else{G.push(R.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const R of E){He.push(R)}break}case"string":{const E=Buffer.byteLength(tt);if(E>=128||E!==tt.length){allocate(E+Ke+Je);writeU8(Le);writeU32(E);We.write(tt,Ve);Ve+=E}else if(E>=70){allocate(E+Ke);writeU8(Ge|E);We.write(tt,Ve,"latin1");Ve+=E}else{allocate(E+Ke);writeU8(Ge|E);for(let R=0;R=0&&tt<=10){allocate(Qe);writeU8(tt);break}let N=1;for(;N<32&&et+N0){We.writeInt8(E[et],Ve);Ve+=Qe;N--;et++}break;case 1:allocate(Ke+Je*N);writeU8(Ue|N-1);while(N>0){We.writeInt32LE(E[et],Ve);Ve+=Je;N--;et++}break;case 2:allocate(Ke+Xe*N);writeU8(qe|N-1);while(N>0){We.writeDoubleLE(E[et],Ve);Ve+=Xe;N--;et++}break}et--;break}case"boolean":{let R=tt===true?1:0;const N=[];let $=1;let j;for(j=1;j<4294967295&&et+jthis._deserialize(E,R))),this,undefined,E)}_deserializeLazy(E,R){return j.deserializeLazy(E,(E=>this._deserialize(E,R)))}_deserialize(E,R){let N=0;let $=E[0];let j=Buffer.isBuffer($);let Ke=0;const Ye=R.retainedBuffer||(E=>E);const checkOverflow=()=>{if(Ke>=$.length){Ke=0;N++;$=Nj&&E+Ke<=$.length;const ensureBuffer=()=>{if(!j){throw new Error($===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=R=>{ensureBuffer();const q=$.length-Ke;if(q{ensureBuffer();const R=$.length-Ke;if(R{ensureBuffer();const E=$.readUInt8(Ke);Ke+=Qe;checkOverflow();return E};const readU32=()=>read(Je).readUInt32LE(0);const readBits=(E,R)=>{let N=1;while(R!==0){et.push((E&N)!==0);N=N<<1;R--}};const Ze=Array.from({length:256}).map(((Ze,tt)=>{switch(tt){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let R of G){if(R===0){if(typeof $!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push($);N++;$=N0)}}et.push(this._createLazyDeserialized(ie,R))};case je:return()=>{const E=readU32();et.push(Ye(read(E)))};case G:return()=>et.push(true);case ie:return()=>et.push(false);case Ee:return()=>et.push(null,null,null);case _e:return()=>et.push(null,null);case le:return()=>et.push(null);case Ne:return()=>et.push(null,true);case Be:return()=>et.push(null,false);case Me:return()=>{if(j){et.push(null,$.readInt8(Ke));Ke+=Qe;checkOverflow()}else{et.push(null,read(Qe).readInt8(0))}};case Te:return()=>{et.push(null);if(isInCurrentBuffer(Je)){et.push($.readInt32LE(Ke));Ke+=Je;checkOverflow()}else{et.push(read(Je).readInt32LE(0))}};case we:return()=>{const E=readU8()+4;for(let R=0;R{const E=readU32()+260;for(let R=0;R{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let R=(E&127)+7;while(R>8){readBits(readU8(),8);R-=8}readBits(readU8(),R)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString(undefined,Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString())}};case Ge:return()=>et.push("");case Ge|1:return()=>{if(j&&Ke<2147483646){et.push($.toString("latin1",Ke,Ke+1));Ke++;checkOverflow()}else{et.push(read(1).toString("latin1"))}};case ze:return()=>{if(j){et.push($.readInt8(Ke));Ke++;checkOverflow()}else{et.push(read(1).readInt8(0))}};default:if(tt<=10){return()=>et.push(tt)}else if((tt&Ge)===Ge){const E=tt&Ve;return()=>{if(isInCurrentBuffer(E)&&Ke+E<2147483647){et.push($.toString("latin1",Ke,Ke+E));Ke+=E;checkOverflow()}else{et.push(read(E).toString("latin1"))}}}else if((tt&He)===qe){const E=(tt&We)+1;return()=>{const R=Xe*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Je*E;if(isInCurrentBuffer(R)){for(let R=0;R{const R=Qe*E;if(isInCurrentBuffer(R)){for(let R=0;R{throw new Error(`Unexpected header byte 0x${tt.toString(16)}`)}}}}));let et=[];while($!==null){if(typeof $==="function"){et.push(this._deserializeLazy($,R));N++;$=N{"use strict";class DateObjectSerializer{serialize(E,{write:R}){R(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:R}){R(E.message);R(E.stack)}deserialize({read:E}){const R=new this.Type;R.message=E();R.stack=E();return R}}E.exports=ErrorObjectSerializer},13829:(E,R,N)=>{"use strict";const{constants:$}=N(14300);const{pipeline:j}=N(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:le}=N(59796);const _e=N(35891);const{dirname:Ee,join:we,mkdirp:Ie}=N(95396);const Me=N(91671);const Te=N(43065);const Ne=23294071;const hashForName=(E,R)=>{const N=_e(R);for(const R of E)N.update(R);return N.digest("hex")};const Be=100*1024*1024;const Le=100*1024*1024;const je=Buffer.prototype.writeBigUInt64LE?(E,R,N)=>{E.writeBigUInt64LE(BigInt(R),N)}:(E,R,N)=>{const $=R%4294967296;const j=(R-$)/4294967296;E.writeUInt32LE($,N);E.writeUInt32LE(j,N+4)};const ze=Buffer.prototype.readBigUInt64LE?(E,R)=>Number(E.readBigUInt64LE(R)):(E,R)=>{const N=E.readUInt32LE(R);const $=E.readUInt32LE(R+4);return $*4294967296+N};const serialize=async(E,R,N,$,j="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const N of await R){if(typeof N==="function"){if(!Te.isLazy(N))throw new Error("Unexpected function");if(!Te.isLazy(N,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const R=Te.getLazySerializedValue(N);if(R){if(typeof R==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(R)}}else{const R=N();if(R){const ie=Te.getLazyOptions(N);q.push(serialize(E,R,ie&&ie.name||true,$,j).then((E=>{N.options.size=E.size;G.set(E,N);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(N){if(ie){ie.push(N)}else{ie=[N];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const le=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const R=E.name;const N=Buffer.from(R);const $=Buffer.allocUnsafe(8+N.length);je($,E.size,0);N.copy($,8,0);const j=G.get(E);Te.setLazySerializedValue(j,$);return $}));const _e=[];for(const E of le){if(Array.isArray(E)){let R=0;for(const N of E)R+=N.length;while(R>2147483647){_e.push(2147483647);R-=2147483647}_e.push(R)}else if(E){_e.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const Ee=Buffer.allocUnsafe(8+_e.length*4);Ee.writeUInt32LE(Ne,0);Ee.writeUInt32LE(_e.length,4);for(let E=0;E<_e.length;E++){Ee.writeInt32LE(_e[E],8+E*4)}const we=[Ee];for(const E of le){if(Array.isArray(E)){for(const R of E)we.push(R)}else if(E){we.push(E)}}if(N===true){N=hashForName(we,j)}ae.push($(N,we));let Ie=0;for(const E of we)Ie+=E.length;return{size:Ie,name:N,backgroundJob:ae.length===1?ae[0]:Promise.all(ae)}};const deserialize=async(E,R,N)=>{const $=await N(R);if($.length===0)throw new Error("Empty file "+R);let j=0;let q=$[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+R);const nextContent=()=>{j++;q=$[j];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieN){ae.push($[E].slice(0,N));$[E]=$[E].slice(N);N=0;break}else{ae.push($[E]);j=E;N-=R}}if(N>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const R=q;if(j+1<$.length){nextContent()}else{ie=E}return R}const R=q.slice(ie,ie+E);ie+=E;return E*2=0;if(Ee&&R){_e[_e.length-1]+=E}else{_e.push(E);Ee=R}}const we=[];for(let R of _e){if(R<0){const $=readSlice(-R);const j=Number(ze($,0));const q=$.slice(8);const G=q.toString();we.push(Te.createLazy(Me((()=>deserialize(E,G,N))),E,{name:G,size:j},$))}else{if(ie===G){nextContent()}else if(ie!==0){if(R<=G-ie){we.push(Buffer.from(q.buffer,q.byteOffset+ie,R));ie+=R;R=0}else{const E=G-ie;we.push(Buffer.from(q.buffer,q.byteOffset+ie,E));R-=E;ie=G}}else{if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}while(R>0){nextContent();if(R>=G){we.push(q);R-=G;ie=G}else{we.push(Buffer.from(q.buffer,q.byteOffset,R));ie+=R;R=0}}}}return we};class FileMiddleware extends Te{constructor(E,R="md4"){super();this.fs=E;this._hashFunction=R}serialize(E,R){const{filename:N,extension:$=""}=R;return new Promise(((R,G)=>{Ie(this.fs,Ee(this.fs,N),(ae=>{if(ae)return G(ae);const _e=new Set;const writeFile=async(E,R)=>{const G=E?we(this.fs,N,`../${E}${$}`):N;await new Promise(((E,N)=>{let $=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Be,level:le.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Be,params:{[le.BROTLI_PARAM_MODE]:le.BROTLI_MODE_TEXT,[le.BROTLI_PARAM_QUALITY]:2,[le.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[le.BROTLI_PARAM_SIZE_HINT]:R.reduce(((E,R)=>E+R.length),0)}})}if(ae){j(ae,$,N);$=ae;$.on("finish",(()=>E()))}else{$.on("error",(E=>N(E)));$.on("finish",(()=>E()))}for(const E of R)$.write(E);$.end()}));if(E)_e.add(G)};R(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(N,N+".old",(R=>{E()}))));await Promise.all(Array.from(_e,(E=>new Promise(((R,N)=>{this.fs.rename(E+"_",E,(E=>{if(E)return N(E);R()}))})))));await new Promise((E=>{this.fs.rename(N+"_",N,(R=>{if(R)return G(R);E()}))}));return true})))}))}))}deserialize(E,R){const{filename:N,extension:j=""}=R;const readFile=E=>new Promise(((R,q)=>{const ie=E?we(this.fs,N,`../${E}${j}`):N;this.fs.stat(ie,((E,N)=>{if(E){q(E);return}let j=N.size;let le;let _e;const Ee=[];let we;if(ie.endsWith(".gz")){we=ae({chunkSize:Le})}else if(ie.endsWith(".br")){we=G({chunkSize:Le})}if(we){let E,N;R(Promise.all([new Promise(((R,$)=>{E=R;N=$})),new Promise(((E,R)=>{we.on("data",(E=>Ee.push(E)));we.on("end",(()=>E()));we.on("error",(E=>R(E)))}))]).then((()=>Ee)));R=E;q=N}this.fs.open(ie,"r",((E,N)=>{if(E){q(E);return}const read=()=>{if(le===undefined){le=Buffer.allocUnsafeSlow(Math.min($.MAX_LENGTH,j,we?Le:Infinity));_e=0}let E=le;let G=_e;let ie=le.length-_e;if(G>2147483647){E=le.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(N,E,G,ie,null,((E,$)=>{if(E){this.fs.close(N,(()=>{q(E)}));return}_e+=$;j-=$;if(_e===le.length){if(we){we.write(le)}else{Ee.push(le)}le=undefined;if(j===0){if(we){we.end()}this.fs.close(N,(E=>{if(E){q(E);return}R(Ee)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E.keys()){R(N)}for(const N of E.values()){R(N)}}deserialize({read:E}){let R=E();const N=new Map;const $=[];for(let N=0;N{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);for(const E of N){R(E)}R(null);for(const $ of N){R(E[$])}}deserialize({read:E}){const R=Object.create(null);const N=[];let $=E();while($!==null){N.push($);$=E()}for(const $ of N){R[$]=E()}return R}}E.exports=NullPrototypeObjectSerializer},30991:(E,R,N)=>{"use strict";const $=N(35891);const j=N(22324);const q=N(93524);const G=N(12020);const ie=N(58461);const ae=N(78176);const le=N(11900);const _e=N(46690);const Ee=N(43065);const we=N(25402);const setSetSize=(E,R)=>{let N=0;for(const $ of E){if(N++>=R){E.delete($)}}};const setMapSize=(E,R)=>{let N=0;for(const $ of E.keys()){if(N++>=R){E.delete($)}}};const toHash=(E,R)=>{const N=$(R);N.update(E);return N.digest("latin1")};const Ie=null;const Me=null;const Te=true;const Ne=false;const Be=2;const Le=new Map;const je=new Map;const ze=new Set;const Ue={};const qe=new Map;qe.set(Object,new le);qe.set(Array,new j);qe.set(null,new ae);qe.set(Map,new ie);qe.set(Set,new we);qe.set(Date,new q);qe.set(RegExp,new _e);qe.set(Error,new G(Error));qe.set(EvalError,new G(EvalError));qe.set(RangeError,new G(RangeError));qe.set(ReferenceError,new G(ReferenceError));qe.set(SyntaxError,new G(SyntaxError));qe.set(TypeError,new G(TypeError));if(R.constructor!==Object){const E=R.constructor;const N=E.constructor;for(const[E,R]of Array.from(qe)){if(E){const $=new N(`return ${E.name};`)();qe.set($,R)}}}{let E=1;for(const[R,N]of qe){Le.set(R,{request:"",name:E++,serializer:N})}}for(const{request:E,name:R,serializer:N}of Le.values()){je.set(`${E}/${R}`,N)}const Ge=new Map;class ObjectMiddleware extends Ee{constructor(E,R="md4"){super();this.extendContext=E;this._hashFunction=R}static registerLoader(E,R){Ge.set(E,R)}static register(E,R,N,$){const j=R+"/"+N;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(je.has(j)){throw new Error(`ObjectMiddleware.register: serializer for ${j} is already registered`)}Le.set(E,{request:R,name:N,serializer:$});je.set(j,$)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const R=Object.getPrototypeOf(E);let N;if(R===null){N=null}else{N=R.constructor;if(!N){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const $=Le.get(N);if(!$)throw new Error(`No serializer registered for ${N.name}`);if($===Ue)throw Ue;return $}static getDeserializerFor(E,R){const N=E+"/"+R;const $=je.get(N);if($===undefined){throw new Error(`No deserializer registered for ${N}`)}return $}static _getDeserializerForWithoutError(E,R){const N=E+"/"+R;const $=je.get(N);return $}serialize(E,R){let N=[Be];let $=0;let j=new Map;const addReferenceable=E=>{j.set(E,$++)};let q=new Map;const dedupeBuffer=E=>{const R=E.length;const N=q.get(R);if(N===undefined){q.set(R,E);return E}if(Buffer.isBuffer(N)){if(R<32){if(E.equals(N)){return N}q.set(R,[N,E]);return E}else{const $=toHash(N,this._hashFunction);const j=new Map;j.set($,N);q.set(R,j);const G=toHash(E,this._hashFunction);if($===G){return N}return E}}else if(Array.isArray(N)){if(N.length<16){for(const R of N){if(E.equals(R)){return R}}N.push(E);return E}else{const $=new Map;const j=toHash(E,this._hashFunction);let G;for(const E of N){const R=toHash(E,this._hashFunction);$.set(R,E);if(G===undefined&&R===j)G=E}q.set(R,$);if(G===undefined){$.set(j,E);return E}else{return G}}}else{const R=toHash(E,this._hashFunction);const $=N.get(R);if($!==undefined){return $}N.set(R,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const R=Array.from(ae);R.push(E);return R.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:R,name:N}=ObjectMiddleware.getSerializerFor(E);if(R){return`${R}${N?`.${N}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let le;let _e={write(E,R){try{process(E)}catch(R){if(R!==Ue){if(le===undefined)le=new WeakSet;if(!le.has(R)){R.message+=`\nwhile serializing ${stackToString(E)}`;le.add(R)}}throw R}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:N.length,cycleStackSize:ae.size,referenceableSize:j.size,currentPos:$,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){N.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize(j,E.referenceableSize);$=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...R};this.extendContext(_e);const process=E=>{if(Buffer.isBuffer(E)){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}const q=dedupeBuffer(E);if(q!==E){const R=j.get(q);if(R!==undefined){j.set(E,R);N.push(Ie,R-$);return}E=q}addReferenceable(E);N.push(E)}else if(E===Ie){N.push(Ie,Me)}else if(typeof E==="object"){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:le,serializer:Ee}=ObjectMiddleware.getSerializerFor(E);const we=`${q}/${le}`;const Me=ie.get(we);if(Me===undefined){ie.set(we,G++);N.push(Ie,q,le)}else{N.push(Ie,G-Me)}ae.add(E);try{Ee.serialize(E,_e)}finally{ae.delete(E)}N.push(Ie,Te);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const R=j.get(E);if(R!==undefined){N.push(Ie,R-$);return}addReferenceable(E)}if(E.length>102400&&R.logger){R.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}N.push(E)}else if(typeof E==="function"){if(!Ee.isLazy(E))throw new Error("Unexpected function "+E);const $=Ee.getLazySerializedValue(E);if($!==undefined){if(typeof $==="function"){N.push($)}else{throw new Error("Not implemented")}}else if(Ee.isLazy(E,this)){throw new Error("Not implemented")}else{const $=Ee.serializeLazy(E,(E=>this.serialize([E],R)));Ee.setLazySerializedValue(E,$);N.push($)}}else if(E===undefined){N.push(Ie,Ne)}else{N.push(E)}};try{for(const R of E){process(R)}return N}catch(E){if(E===Ue)return null;throw E}finally{E=N=j=q=ie=_e=undefined}}deserialize(E,R){let N=0;const read=()=>{if(N>=E.length)throw new Error("Unexpected end of stream");return E[N++]};if(read()!==Be)throw new Error("Version mismatch, serializer changed");let $=0;let j=[];const addReferenceable=E=>{j.push(E);$++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...R};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Ie){const E=read();if(E===Me){return Ie}else if(E===Ne){return undefined}else if(E===Te){throw new Error(`Unexpected end of object at position ${N-1}`)}else{const R=E;let ie;if(typeof R==="number"){if(R<0){return j[$+R]}ie=G[q-R]}else{if(typeof R!=="string"){throw new Error(`Unexpected type (${typeof R}) of request `+`at position ${N-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(R,E);if(ie===undefined){if(R&&!ze.has(R)){let E=false;for(const[N,$]of Ge){if(N.test(R)){if($(R)){E=true;break}}}if(!E){require(R)}ze.add(R)}ie=ObjectMiddleware.getDeserializerFor(R,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const R=read();if(R!==Ie){throw new Error("Expected end of object")}const N=read();if(N!==Te){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let R;for(const E of Le){if(E[1].serializer===ie){R=E;break}}const N=!R?"unknown":!R[1].request?R[0].name:R[1].name?`${R[1].request} ${R[1].name}`:R[1].request;E.message+=`\n(during deserialization of ${N})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return Ee.deserializeLazy(E,(E=>this.deserialize(E,R)[0]))}else{return E}};try{while(N{"use strict";const R=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const R=this.children.get(E);if(R!==undefined)return R;const N=new ObjectStructure;this.children.set(E,N);return N}}const getCachedKeys=(E,N)=>{let $=R.get(N);if($===undefined){$=new ObjectStructure;R.set(N,$)}let j=$;for(const R of E){j=j.key(R)}return j.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:R}){const N=Object.keys(E);if(N.length>128){R(N);for(const $ of N){R(E[$])}}else if(N.length>1){R(getCachedKeys(N,R));for(const $ of N){R(E[$])}}else if(N.length===1){const $=N[0];R($);R(E[$])}else{R(null)}}deserialize({read:E}){const R=E();const N={};if(Array.isArray(R)){for(const $ of R){N[$]=E()}}else if(R!==null){N[R]=E()}return N}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:R}){R(E.source);R(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,R){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=R}serialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.serializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>R&&E.serialize(R,N)))}else if($){try{$=E.serialize($,N)}catch(E){$=Promise.reject(E)}}else break}return $}deserialize(E,R){const N={...R,...this.context};let $=E;for(const E of this.deserializeMiddlewares){if($&&typeof $.then==="function"){$=$.then((R=>E.deserialize(R,N)))}else{$=E.deserialize($,N)}}return $}}E.exports=Serializer},43065:(E,R,N)=>{"use strict";const $=N(91671);const j=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,R){const $=N(75884);throw new $}deserialize(E,R){const $=N(75884);throw new $}static createLazy(E,R,N={},$){if(SerializerMiddleware.isLazy(E,R))return E;const G=typeof E==="function"?E:()=>E;G[j]=R;G.options=N;G[q]=$;return G}static isLazy(E,R){if(typeof E!=="function")return false;const N=E[j];return R?N===R:!!N}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,R){E[q]=R}static serializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>E&&R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;E[q]=N;return N}static deserializeLazy(E,R){const N=$((()=>{const N=E();if(N&&typeof N.then==="function"){return N.then((E=>R(E)))}return R(N)}));N[j]=E[j];N.options=E.options;N[q]=E;return N}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[j]=E[j];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:R}){R(E.size);for(const N of E){R(N)}}deserialize({read:E}){let R=E();const N=new Set;for(let $=0;${"use strict";const $=N(43065);class SingleItemMiddleware extends ${serialize(E,R){return[E]}deserialize(E,R){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ConsumeSharedFallbackDependency extends ${constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}j(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(98221);const q=N(53453);const G=N(76150);const ie=N(56202);const{rangeToString:ae,stringifyHoley:le}=N(9293);const _e=N(86827);const Ee=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,R){super("consume-shared-module",E);this.options=R}identifier(){const{shareKey:E,shareScope:R,importResolved:N,requiredVersion:$,strictVersion:j,singleton:q,eager:G}=this.options;return`consume-shared-module|${R}|${E}|${$&&ae($)}|${j}|${N}|${q}|${G}`}readableIdentifier(E){const{shareKey:R,shareScope:N,importResolved:$,requiredVersion:j,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${N}) ${R}@${j?ae(j):"*"}${q?" (strict)":""}${G?" (singleton)":""}${$?` (fallback: ${E.shorten($)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:R,shareScope:N,import:$}=this.options;return`webpack/sharing/consume/${N}/${R}${$?`/${$}`:""}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,$,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new _e(this.options.import);if(this.options.eager){this.addDependency(E)}else{const R=new j({});R.addDependency(E);this.addBlock(R)}}q()}getSourceTypes(){return Ee}size(E){return 42}updateHash(E,R){E.update(JSON.stringify(this.options));super.updateHash(E,R)}codeGeneration({chunkGraph:E,moduleGraph:R,runtimeTemplate:N}){const j=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:_e,import:Ee,singleton:we,eager:Ie}=this.options;let Me;if(Ee){if(Ie){const R=this.dependencies[0];Me=N.syncModuleFactory({dependency:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}else{const R=this.blocks[0];Me=N.asyncModuleFactory({block:R,chunkGraph:E,runtimeRequirements:j,request:this.options.import})}}let Te="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(_e){if(ae){Te+="Strict"}if(we){Te+="Singleton"}Ne.push(le(_e));Te+="VersionCheck"}if(Me){Te+="Fallback";Ne.push(Me)}const Be=N.returningFunction(`${Te}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new $(Be));return{runtimeRequirements:j,sources:Le}}serialize(E){const{write:R}=E;R(this.options);super.serialize(E)}deserialize(E){const{read:R}=E;this.options=R();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,R,N)=>{"use strict";const $=N(54032);const j=N(76150);const q=N(81627);const{parseOptions:G}=N(97264);const ie=N(83379);const ae=N(35817);const{parseRange:le}=N(9293);const _e=N(86827);const Ee=N(21606);const we=N(20428);const Ie=N(31095);const{resolveMatchedConfigs:Me}=N(57870);const{isRequiredVersion:Te,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Be}=N(37650);const Le=ae(N(37411),(()=>N(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const je={dependencyType:"esm"};const ze="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((R,N)=>{if(Array.isArray(R))throw new Error("Unexpected array in options");let $=R===N||!Te(R)?{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:N,shareScope:E.shareScope||"default",shareKey:N,requiredVersion:le(R),strictVersion:true,packageName:undefined,singleton:false,eager:false};return $}),((R,N)=>({import:R.import===false?undefined:R.import||N,shareScope:R.shareScope||E.shareScope||"default",shareKey:R.shareKey||N,requiredVersion:typeof R.requiredVersion==="string"?le(R.requiredVersion):R.requiredVersion,strictVersion:typeof R.strictVersion==="boolean"?R.strictVersion:R.import!==false&&!R.singleton,packageName:R.packageName,singleton:!!R.singleton,eager:!!R.eager})))}apply(E){E.hooks.thisCompilation.tap(ze,((R,{normalModuleFactory:N})=>{R.dependencyFactories.set(_e,N);let G,ae,Te;const Le=Me(R,this._consumes).then((({resolved:E,unresolved:R,prefixed:N})=>{ae=E;G=R;Te=N}));const Ue=R.resolverFactory.get("normal",je);const createConsumeSharedModule=(N,j,G)=>{const requiredVersionWarning=E=>{const N=new q(`No required version specified and unable to automatically determine one. ${E}`);N.file=`shared module ${j}`;R.warnings.push(N)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const le={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:N,G.import,le,((E,N)=>{R.contextDependencies.addAll(le.contextDependencies);R.fileDependencies.addAll(le.fileDependencies);R.missingDependencies.addAll(le.missingDependencies);if(E){R.errors.push(new $(null,E,{name:`resolving fallback for shared module ${j}`}));return q()}q(N)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let $=G.packageName;if($===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test(j)){return E()}const R=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec(j);if(!R){requiredVersionWarning("Unable to extract the package name from request.");return E()}$=R[0]}Ne(R.inputFileSystem,N,["package.json"],((R,j)=>{if(R){requiredVersionWarning(`Unable to read description file: ${R}`);return E()}const{data:q,path:G}=j;if(!q){requiredVersionWarning(`Unable to find description file in ${N}.`);return E()}const ie=Be(q,$);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${$}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(le(ie))}))}))]).then((([R,$])=>new Ee(ae?E.context:N,{...G,importResolved:R,import:R?G.import:undefined,requiredVersion:$})))};N.hooks.factorize.tapPromise(ze,(({context:E,request:R,dependencies:N})=>Le.then((()=>{if(N[0]instanceof _e||N[0]instanceof Ie){return}const $=G.get(R);if($!==undefined){return createConsumeSharedModule(E,R,$)}for(const[N,$]of Te){if(R.startsWith(N)){const j=R.slice(N.length);return createConsumeSharedModule(E,R,{...$,import:$.import?$.import+j:undefined,shareKey:$.shareKey+j})}}}))));N.hooks.createModule.tapPromise(ze,(({resource:E},{context:R,dependencies:N})=>{if(N[0]instanceof _e||N[0]instanceof Ie){return Promise.resolve()}const $=ae.get(E);if($!==undefined){return createConsumeSharedModule(R,E,$)}return Promise.resolve()}));R.hooks.additionalTreeRuntimeRequirements.tap(ze,((E,N)=>{N.add(j.module);N.add(j.moduleCache);N.add(j.moduleFactoriesAddOnly);N.add(j.shareScopeMap);N.add(j.initializeSharing);N.add(j.hasOwnProperty);R.addRuntimeModule(E,new we(N))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:le}=N(9293);class ConsumeSharedRuntimeModule extends j{constructor(E){super("consumes",j.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j}=E;const _e={};const Ee=new Map;const we=[];const addModules=(E,N,$)=>{for(const q of E){const E=q;const G=R.getModuleId(E);$.push(G);Ee.set(G,j.getSource(E,N.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,_e[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const N=R.getChunkModulesIterableBySourceType(E,"consume-shared");if(!N)continue;addModules(N,E,we)}if(Ee.size===0)return null;return q.asString([G(N),ie(N),ae(N),le(N),`var ensureExistence = ${N.basicFunction("scopeName, key",[`var scope = ${$.shareScopeMap}[scopeName];`,`if(!scope || !${$.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${N.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${N.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${N.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${N.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${N.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${N.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${N.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${N.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${N.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${N.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${$.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${$.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${$.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, fallback",[`return scope && ${$.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${$.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${N.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${$.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(Ee,(([E,R])=>`${JSON.stringify(E)}: ${R.source()}`)).join(",\n")),"};",we.length>0?q.asString([`var initialConsumes = ${JSON.stringify(we)};`,`initialConsumes.forEach(${N.basicFunction("id",[`${$.moduleFactories}[id] = ${N.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${$.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has($.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(_e,null,"\t")};`,`${$.ensureChunkHandlers}.consumes = ${N.basicFunction("chunkId, promises",[`if(${$.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${N.basicFunction("id",[`if(${$.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${N.basicFunction("factory",["installedModules[id] = 0;",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${N.basicFunction("error",["delete installedModules[id];",`${$.moduleFactories}[id] = ${N.basicFunction("module",[`delete ${$.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,R,N)=>{"use strict";const $=N(79983);const j=N(56202);class ProvideForSharedDependency extends ${constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}j(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,R,N)=>{"use strict";const $=N(28706);const j=N(56202);class ProvideSharedDependency extends ${constructor(E,R,N,$,j){super();this.shareScope=E;this.name=R;this.version=N;this.request=$;this.eager=j}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedDependency(R(),R(),R(),R(),R());this.shareScope=E.read();N.deserialize(E);return N}}j(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,R,N)=>{"use strict";const $=N(98221);const j=N(53453);const q=N(76150);const G=N(56202);const ie=N(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends j{constructor(E,R,N,$,j){super("provide-module");this._shareScope=E;this._name=R;this._version=N;this._request=$;this._eager=j}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,R){R(null,!this.buildInfo)}build(E,R,N,j,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new $({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:R,chunkGraph:N}){const $=new Set([q.initializeSharing]);const j=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:N,request:this._request,runtimeRequirements:$}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:N,request:this._request,runtimeRequirements:$})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:j}]);return{sources:G,data:ie,runtimeRequirements:$}}serialize(E){const{write:R}=E;R(this._shareScope);R(this._name);R(this._version);R(this._request);R(this._eager);super.serialize(E)}static deserialize(E){const{read:R}=E;const N=new ProvideSharedModule(R(),R(),R(),R(),R());N.deserialize(E);return N}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,R,N)=>{"use strict";const $=N(40674);const j=N(99114);class ProvideSharedModuleFactory extends ${create(E,R){const N=E.dependencies[0];R(null,{module:new j(N.shareScope,N.name,N.version,N.request,N.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,R,N)=>{"use strict";const $=N(81627);const{parseOptions:j}=N(97264);const q=N(35817);const G=N(31095);const ie=N(56049);const ae=N(96295);const le=q(N(95435),(()=>N(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){le(E);this._provides=j(E.provides,(R=>{if(Array.isArray(R))throw new Error("Unexpected array of provides");const N={shareKey:R,version:undefined,shareScope:E.shareScope||"default",eager:false};return N}),(R=>({shareKey:R.shareKey,version:R.version,shareScope:R.shareScope||E.shareScope||"default",eager:!!R.eager})));this._provides.sort((([E],[R])=>{if(E{const j=new Map;const q=new Map;const G=new Map;for(const[E,R]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){j.set(E,{config:R,version:R.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){j.set(E,{config:R,version:R.version})}else if(E.endsWith("/")){G.set(E,R)}else{q.set(E,R)}}R.set(E,j);const provideSharedModule=(R,N,q,G)=>{let ie=N.version;if(ie===undefined){let N="";if(!G){N=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){N="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){N="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const j=new $(`No version specified and unable to automatically determine one. ${N}`);j.file=`shared module ${R} -> ${q}`;E.warnings.push(j)}}j.set(q,{config:N,version:ie})};N.hooks.module.tap("ProvideSharedPlugin",((E,{resource:R,resourceResolveData:N},$)=>{if(j.has(R)){return E}const{request:ie}=$;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,R,N);$.cacheable=false}}for(const[E,j]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(R,{...j,shareKey:j.shareKey+q},R,N);$.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(N=>{const $=R.get(N);if(!$)return Promise.resolve();return Promise.all(Array.from($,(([R,{config:$,version:j}])=>new Promise(((q,G)=>{N.addInclude(E.context,new ie($.shareScope,$.shareKey,j||false,R,$.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(G,R);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,R,N)=>{"use strict";const{parseOptions:$}=N(97264);const j=N(71968);const q=N(48151);const{isRequiredVersion:G}=N(37650);class SharePlugin{constructor(E){const R=$(E.shared,((E,R)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const N=E===R||!G(E)?{import:E}:{import:R,requiredVersion:E};return N}),(E=>E));const N=R.map((([E,R])=>({[E]:{import:R.import,shareKey:R.shareKey||E,shareScope:R.shareScope,requiredVersion:R.requiredVersion,strictVersion:R.strictVersion,singleton:R.singleton,packageName:R.packageName,eager:R.eager}})));const j=R.filter((([,E])=>E.import!==false)).map((([E,R])=>({[R.import||E]:{shareKey:R.shareKey||E,shareScope:R.shareScope,version:R.version,eager:R.eager}})));this._shareScope=E.shareScope;this._consumes=N;this._provides=j}apply(E){new j({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=N(68673);class ShareRuntimeModule extends j{constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:R}=this;const{runtimeTemplate:N,codeGenerationResults:j,outputOptions:{uniqueName:ae}}=E;const le=new Map;for(const E of this.chunk.getAllReferencedChunks()){const N=R.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!N)continue;for(const R of N){const N=j.getData(R,E.runtime,"share-init");if(!N)continue;for(const E of N){const{shareScope:R,initStage:N,init:$}=E;let j=le.get(R);if(j===undefined){le.set(R,j=new Map)}let q=j.get(N||0);if(q===undefined){j.set(N||0,q=new Set)}q.add($)}}}return q.asString([`${$.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${$.initializeSharing} = ${N.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${$.hasOwnProperty}(${$.shareScopeMap}, name)) ${$.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${$.shareScopeMap}[name];`,`var warn = ${N.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${N.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${N.basicFunction("id",[`var handleError = ${N.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${N.returningFunction(`module && module.init && module.init(${$.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(le).sort((([E],[R])=>ie(E,R))).map((([E,R])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(R).sort((([E],[R])=>E-R)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${N.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,R,N)=>{"use strict";const $=N(54032);const j=N(83379);const q={dependencyType:"esm"};R.resolveMatchedConfigs=(E,R)=>{const N=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new j,contextDependencies:new j,missingDependencies:new j};const le=E.resolverFactory.get("normal",q);const _e=E.compiler.context;return Promise.all(R.map((([R,j])=>{if(/^\.\.?(\/|$)/.test(R)){return new Promise((q=>{le.resolve({},_e,R,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${R}`);E.errors.push(new $(null,G,{name:`shared module ${R}`}));return q()}N.set(ie,j);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(R)){N.set(R,j)}else if(R.endsWith("/")){ie.set(R,j)}else{G.set(R,j)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:N,unresolved:G,prefixed:ie}}))}},37650:(E,R,N)=>{"use strict";const{join:$,dirname:j,readJson:q}=N(95396);R.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,R,N,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=N.length){const $=j(E,R);if(!$||$===R)return G();return getDescriptionFile(E,$,N,G)}const ae=$(E,R,N[ie]);q(E,ae,((E,R)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!R||typeof R!=="object"||Array.isArray(R)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:R,path:ae})}))};tryLoadCurrent()};R.getDescriptionFile=getDescriptionFile;R.getRequiredVersionFromDescriptionFile=(E,R)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&R in E.optionalDependencies){return E.optionalDependencies[R]}if(E.dependencies&&typeof E.dependencies==="object"&&R in E.dependencies){return E.dependencies[R]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&R in E.peerDependencies){return E.peerDependencies[R]}if(E.devDependencies&&typeof E.devDependencies==="object"&&R in E.devDependencies){return E.devDependencies[R]}}},9054:(E,R,N)=>{"use strict";const $=N(73837);const j=N(79983);const q=N(72380);const{LogType:G}=N(78539);const ie=N(94827);const ae=N(20625);const{countIterable:le}=N(11539);const{compareLocations:_e,compareChunksById:Ee,compareNumbers:we,compareIds:Ie,concatComparators:Me,compareSelect:Te,compareModulesByIdentifier:Ne}=N(68673);const{makePathsRelative:Be,parseResource:Le}=N(49197);const uniqueArray=(E,R)=>{const N=new Set;for(const $ of E){for(const E of R($)){N.add(E)}}return Array.from(N)};const uniqueOrderedArray=(E,R,N)=>uniqueArray(E,R).sort(N);const mapObject=(E,R)=>{const N=Object.create(null);for(const $ of Object.keys(E)){N[$]=R(E[$],$)}return N};const countWithChildren=(E,R)=>{let N=R(E,"").length;for(const $ of E.children){N+=countWithChildren($,((E,N)=>R(E,`.children[].compilation${N}`)))}return N};const je={_:(E,R,N,{requestShortener:$})=>{if(typeof R==="string"){E.message=R}else{if(R.chunk){E.chunkName=R.chunk.name;E.chunkEntry=R.chunk.hasRuntime();E.chunkInitial=R.chunk.canBeInitial()}if(R.file){E.file=R.file}if(R.module){E.moduleIdentifier=R.module.identifier();E.moduleName=R.module.readableIdentifier($)}if(R.loc){E.loc=q(R.loc)}E.message=R.message}},ids:(E,R,{compilation:{chunkGraph:N}})=>{if(typeof R!=="string"){if(R.chunk){E.chunkId=R.chunk.id}if(R.module){E.moduleId=N.getModuleId(R.module)}}},moduleTrace:(E,R,N,$,j)=>{if(typeof R!=="string"&&R.module){const{type:$,compilation:{moduleGraph:q}}=N;const G=new Set;const ie=[];let ae=R.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=j.create(`${$}.moduleTrace`,ie,N)}},errorDetails:(E,R,{type:N,compilation:$,cachedGetErrors:j,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof R!=="string"&&(G===true||N.endsWith(".error")&&j($).length<3)){E.details=R.details}},errorStack:(E,R)=>{if(typeof R!=="string"){E.stack=R.stack}}};const ze={compilation:{_:(E,R,$,j)=>{if(!$.makePathsRelative){$.makePathsRelative=Be.bindContextCache(R.compiler.context,R.compiler.root)}if(!$.cachedGetErrors){const E=new WeakMap;$.cachedGetErrors=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getErrors())}if(!$.cachedGetWarnings){const E=new WeakMap;$.cachedGetWarnings=R=>E.get(R)||(N=>(E.set(R,N),N))(R.getWarnings())}if(R.name){E.name=R.name}if(R.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=j;if(q||ie&&ie.length>0){const $=N(73837);E.logging={};let le;let _e=false;switch(q){default:le=new Set;break;case"error":le=new Set([G.error]);break;case"warn":le=new Set([G.error,G.warn]);break;case"info":le=new Set([G.error,G.warn,G.info]);break;case"log":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":le=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);_e=true;break}const Ee=Be.bindContextCache(j.context,R.compiler.root);let we=0;for(const[N,j]of R.logging){const R=ie.some((E=>E(N)));if(q===false&&!R)continue;const Ie=[];const Me=[];let Te=Me;let Ne=0;for(const E of j){let N=E.type;if(!R&&!le.has(N))continue;if(N===G.groupCollapsed&&(R||_e))N=G.group;if(we===0){Ne++}if(N===G.groupEnd){Ie.pop();if(Ie.length>0){Te=Ie[Ie.length-1].children}else{Te=Me}if(we>0)we--;continue}let j=undefined;if(E.type===G.time){j=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){j=$.format(E.args[0],...E.args.slice(1))}const q={...E,type:N,message:j,trace:ae?E.trace:undefined,children:N===G.group||N===G.groupCollapsed?[]:undefined};Te.push(q);if(q.children){Ie.push(q);Te=q.children;if(we>0){we++}else if(N===G.groupCollapsed){we=1}}}let Be=Ee(N).replace(/\|/g," ");if(Be in E.logging){let R=1;while(`${Be}#${R}`in E.logging){R++}Be=`${Be}#${R}`}E.logging[Be]={entries:Me,filteredEntries:j.length-Ne,debug:R}}}},hash:(E,R)=>{E.hash=R.hash},version:E=>{E.version=N(37589).i8},env:(E,R,N,{_env:$})=>{E.env=$},timings:(E,R)=>{E.time=R.endTime-R.startTime},builtAt:(E,R)=>{E.builtAt=R.endTime},publicPath:(E,R)=>{E.publicPath=R.getPath(R.outputOptions.publicPath)},outputPath:(E,R)=>{E.outputPath=R.outputOptions.path},assets:(E,R,N,$,j)=>{const{type:q}=N;const G=new Map;const ie=new Map;for(const E of R.chunks){for(const R of E.files){let N=G.get(R);if(N===undefined){N=[];G.set(R,N)}N.push(E)}for(const R of E.auxiliaryFiles){let N=ie.get(R);if(N===undefined){N=[];ie.set(R,N)}N.push(E)}}const ae=new Map;const le=new Set;for(const E of R.getAssets()){const R={...E,type:"asset",related:undefined};le.add(R);ae.set(E.name,R)}for(const E of ae.values()){const R=E.info.related;if(!R)continue;for(const N of Object.keys(R)){const $=R[N];const j=Array.isArray($)?$:[$];for(const R of j){const $=ae.get(R);if(!$)continue;le.delete($);$.type=N;E.related=E.related||[];E.related.push($)}}}E.assetsByChunkName={};for(const[R,N]of G){for(const $ of N){const N=$.name;if(!N)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,N)){E.assetsByChunkName[N]=[]}E.assetsByChunkName[N].push(R)}}const _e=j.create(`${q}.assets`,Array.from(le),{...N,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const Ee=spaceLimited(_e,$.assetsSpace);E.assets=Ee.children;E.filteredAssets=Ee.filteredChildren},chunks:(E,R,N,$,j)=>{const{type:q}=N;E.chunks=j.create(`${q}.chunks`,Array.from(R.chunks),N)},modules:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.modules);const ie=j.create(`${q}.modules`,G,N);const ae=spaceLimited(ie,$.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,R,N,{entrypoints:$,chunkGroups:j,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=N;const le=Array.from(R.entrypoints,(([E,R])=>({name:E,chunkGroup:R})));if($==="auto"&&!j){if(le.length>5)return;if(!G&&le.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const R=E.chunks[0];return R.files.size===1&&(!q||R.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,le,N)},chunkGroups:(E,R,N,$,j)=>{const{type:q}=N;const G=Array.from(R.namedChunkGroups,(([E,R])=>({name:E,chunkGroup:R})));E.namedChunkGroups=j.create(`${q}.namedChunkGroups`,G,N)},errors:(E,R,N,$,j)=>{const{type:q,cachedGetErrors:G}=N;E.errors=j.create(`${q}.errors`,G(R),N)},errorsCount:(E,R,{cachedGetErrors:N})=>{E.errorsCount=countWithChildren(R,(E=>N(E)))},warnings:(E,R,N,$,j)=>{const{type:q,cachedGetWarnings:G}=N;E.warnings=j.create(`${q}.warnings`,G(R),N)},warningsCount:(E,R,N,{warningsFilter:$},j)=>{const{type:q,cachedGetWarnings:G}=N;E.warningsCount=countWithChildren(R,((E,R)=>{if(!$&&$.length===0)return G(E);return j.create(`${q}${R}.warnings`,G(E),N).filter((E=>{const R=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!$.some((N=>N(E,R)))}))}))},errorDetails:(E,R,{cachedGetErrors:N,cachedGetWarnings:$},{errorDetails:j,errors:q,warnings:G})=>{if(j==="auto"){if(G){const N=$(R);E.filteredWarningDetailsCount=N.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const $=N(R);if($.length>=3){E.filteredErrorDetailsCount=$.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,R,N,$,j)=>{const{type:q}=N;E.children=j.create(`${q}.children`,R.children,N)}},asset:{_:(E,R,N,$,j)=>{const{compilation:q}=N;E.type=R.type;E.name=R.name;E.size=R.source.size();E.emitted=q.emittedAssets.has(R.name);E.comparedForEmit=q.comparedForEmitAssets.has(R.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=R.info;if(!G||$.cachedAssets){Object.assign(E,j.create(`${N.type}$visible`,R,N))}}},asset$visible:{_:(E,R,{compilation:N,compilationFileToChunks:$,compilationAuxiliaryFileToChunks:j})=>{const q=$.get(R.name)||[];const G=j.get(R.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Ie);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Ie);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Ie);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Ie);E.filteredRelated=R.related?R.related.length:undefined},relatedAssets:(E,R,N,$,j)=>{const{type:q}=N;E.related=j.create(`${q.slice(0,-8)}.related`,R.related,N);E.filteredRelated=R.related?R.related.length-E.related.length:undefined},ids:(E,R,{compilationFileToChunks:N,compilationAuxiliaryFileToChunks:$})=>{const j=N.get(R.name)||[];const q=$.get(R.name)||[];E.chunks=uniqueOrderedArray(j,(E=>E.ids),Ie);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Ie)},performance:(E,R)=>{E.isOverSizeLimit=ae.isOverSizeLimit(R.source)}},chunkGroup:{_:(E,{name:R,chunkGroup:N},{compilation:$,compilation:{moduleGraph:j,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:le})=>{const _e=ae&&N.getChildrenByOrders(j,q);const toAsset=E=>{const R=$.getAsset(E);return{name:E,size:R?R.info.size:-1}};const sizeReducer=(E,{size:R})=>E+R;const Ee=uniqueArray(N.chunks,(E=>E.files)).map(toAsset);const we=uniqueOrderedArray(N.chunks,(E=>E.auxiliaryFiles),Ie).map(toAsset);const Me=Ee.reduce(sizeReducer,0);const Te=we.reduce(sizeReducer,0);const Ne={name:R,chunks:G?N.chunks.map((E=>E.id)):undefined,assets:Ee.length<=le?Ee:undefined,filteredAssets:Ee.length<=le?0:Ee.length,assetsSize:Me,auxiliaryAssets:ie&&we.length<=le?we:undefined,filteredAuxiliaryAssets:ie&&we.length<=le?0:we.length,auxiliaryAssetsSize:Te,children:_e?mapObject(_e,(E=>E.map((E=>{const R=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const N=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Ie).map(toAsset);const $={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:R.length<=le?R:undefined,filteredAssets:R.length<=le?0:R.length,auxiliaryAssets:ie&&N.length<=le?N:undefined,filteredAuxiliaryAssets:ie&&N.length<=le?0:N.length};return $})))):undefined,childAssets:_e?mapObject(_e,(E=>{const R=new Set;for(const N of E){for(const E of N.chunks){for(const N of E.files){R.add(N)}}}return Array.from(R)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:R})=>{E.isOverSizeLimit=ae.isOverSizeLimit(R)}},module:{_:(E,R,N,$,j)=>{const{compilation:q,type:G}=N;const ie=q.builtModules.has(R);const ae=q.codeGeneratedModules.has(R);const le=q.buildTimeExecutedModules.has(R);const _e={};for(const E of R.getSourceTypes()){_e[E]=R.size(E)}const Ee={type:"module",moduleType:R.type,layer:R.layer,size:R.size(),sizes:_e,built:ie,codeGenerated:ae,buildTimeExecuted:le,cached:!ie&&!ae};Object.assign(E,Ee);if(ie||ae||$.cachedModules){Object.assign(E,j.create(`${G}$visible`,R,N))}}},module$visible:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G,rootModules:ie}=N;const{moduleGraph:ae}=q;const _e=[];const Ee=ae.getIssuer(R);let we=Ee;while(we){_e.push(we);we=ae.getIssuer(we)}_e.reverse();const Ie=ae.getProfile(R);const Me=R.getErrors();const Te=Me!==undefined?le(Me):0;const Ne=R.getWarnings();const Be=Ne!==undefined?le(Ne):0;const Le={};for(const E of R.getSourceTypes()){Le[E]=R.size(E)}const je={identifier:R.identifier(),name:R.readableIdentifier($),nameForCondition:R.nameForCondition(),index:ae.getPreOrderIndex(R),preOrderIndex:ae.getPreOrderIndex(R),index2:ae.getPostOrderIndex(R),postOrderIndex:ae.getPostOrderIndex(R),cacheable:R.buildInfo.cacheable,optional:R.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(R)===0,dependent:ie?!ie.has(R):undefined,issuer:Ee&&Ee.identifier(),issuerName:Ee&&Ee.readableIdentifier($),issuerPath:Ee&&j.create(`${G.slice(0,-8)}.issuerPath`,_e,N),failed:Te>0,errors:Te,warnings:Be};Object.assign(E,je);if(Ie){E.profile=j.create(`${G.slice(0,-8)}.profile`,Ie,N)}},ids:(E,R,{compilation:{chunkGraph:N,moduleGraph:$}})=>{E.id=N.getModuleId(R);const j=$.getIssuer(R);E.issuerId=j&&N.getModuleId(j);E.chunks=Array.from(N.getOrderedModuleChunksIterable(R,Ee),(E=>E.id))},moduleAssets:(E,R)=>{E.assets=R.buildInfo.assets?Object.keys(R.buildInfo.assets):[]},reasons:(E,R,N,$,j)=>{const{type:q,compilation:{moduleGraph:G}}=N;const ie=j.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(R)),N);const ae=spaceLimited(ie,$.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,R,{runtime:N,compilation:{moduleGraph:$}})=>{const j=$.getUsedExports(R,N);if(j===null){E.usedExports=null}else if(typeof j==="boolean"){E.usedExports=j}else{E.usedExports=Array.from(j)}},providedExports:(E,R,{compilation:{moduleGraph:N}})=>{const $=N.getProvidedExports(R);E.providedExports=Array.isArray($)?$:null},optimizationBailout:(E,R,{compilation:{moduleGraph:N}},{requestShortener:$})=>{E.optimizationBailout=N.getOptimizationBailout(R).map((E=>{if(typeof E==="function")return E($);return E}))},depth:(E,R,{compilation:{moduleGraph:N}})=>{E.depth=N.getDepth(R)},nestedModules:(E,R,N,$,j)=>{const{type:q}=N;const G=R.modules;if(Array.isArray(G)){const R=j.create(`${q.slice(0,-8)}.modules`,G,N);const ie=spaceLimited(R,$.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,R)=>{const N=R.originalSource();if(N){E.source=N.source()}}},profile:{_:(E,R)=>{const N={total:R.factory+R.restoring+R.integration+R.building+R.storing,resolving:R.factory,restoring:R.restoring,building:R.building,integration:R.integration,storing:R.storing,additionalResolving:R.additionalFactories,additionalIntegration:R.additionalIntegration,factory:R.factory,dependencies:R.additionalFactories};Object.assign(E,N)}},moduleIssuer:{_:(E,R,N,{requestShortener:$},j)=>{const{compilation:q,type:G}=N;const{moduleGraph:ie}=q;const ae=ie.getProfile(R);const le={identifier:R.identifier(),name:R.readableIdentifier($)};Object.assign(E,le);if(ae){E.profile=j.create(`${G}.profile`,ae,N)}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.id=N.getModuleId(R)}},moduleReason:{_:(E,R,{runtime:N},{requestShortener:$})=>{const G=R.dependency;const ie=G&&G instanceof j?G:undefined;const ae={moduleIdentifier:R.originModule?R.originModule.identifier():null,module:R.originModule?R.originModule.readableIdentifier($):null,moduleName:R.originModule?R.originModule.readableIdentifier($):null,resolvedModuleIdentifier:R.resolvedOriginModule?R.resolvedOriginModule.identifier():null,resolvedModule:R.resolvedOriginModule?R.resolvedOriginModule.readableIdentifier($):null,type:R.dependency?R.dependency.type:null,active:R.isActive(N),explanation:R.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(R.dependency){const N=q(R.dependency.loc);if(N){E.loc=N}}},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.originModule?N.getModuleId(R.originModule):null;E.resolvedModuleId=R.resolvedOriginModule?N.getModuleId(R.resolvedOriginModule):null}},chunk:{_:(E,R,{makePathsRelative:N,compilation:{chunkGraph:$}})=>{const j=R.getChildIdsByOrders($);const q={rendered:R.rendered,initial:R.canBeInitial(),entry:R.hasRuntime(),recorded:ie.wasChunkRecorded(R),reason:R.chunkReason,size:$.getChunkModulesSize(R),sizes:$.getChunkModulesSizes(R),names:R.name?[R.name]:[],idHints:Array.from(R.idNameHints),runtime:R.runtime===undefined?undefined:typeof R.runtime==="string"?[N(R.runtime)]:Array.from(R.runtime.sort(),N),files:Array.from(R.files),auxiliaryFiles:Array.from(R.auxiliaryFiles).sort(Ie),hash:R.renderedHash,childrenByOrder:j};Object.assign(E,q)},ids:(E,R)=>{E.id=R.id},chunkRelations:(E,R,{compilation:{chunkGraph:N}})=>{const $=new Set;const j=new Set;const q=new Set;for(const E of R.groupsIterable){for(const R of E.parentsIterable){for(const E of R.chunks){$.add(E.id)}}for(const R of E.childrenIterable){for(const E of R.chunks){j.add(E.id)}}for(const N of E.chunks){if(N!==R)q.add(N.id)}}E.siblings=Array.from(q).sort(Ie);E.parents=Array.from($).sort(Ie);E.children=Array.from(j).sort(Ie)},chunkModules:(E,R,N,$,j)=>{const{type:q,compilation:{chunkGraph:G}}=N;const ie=G.getChunkModules(R);const ae=j.create(`${q}.modules`,ie,{...N,runtime:R.runtime,rootModules:new Set(G.getChunkRootModules(R))});const le=spaceLimited(ae,$.chunkModulesSpace);E.modules=le.children;E.filteredModules=le.filteredChildren},chunkOrigins:(E,R,N,$,j)=>{const{type:G,compilation:{chunkGraph:ie}}=N;const ae=new Set;const le=[];for(const E of R.groupsIterable){le.push(...E.origins)}const _e=le.filter((E=>{const R=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(R))return false;ae.add(R);return true}));E.origins=j.create(`${G}.origins`,_e,N)}},chunkOrigin:{_:(E,R,N,{requestShortener:$})=>{const j={module:R.module?R.module.identifier():"",moduleIdentifier:R.module?R.module.identifier():"",moduleName:R.module?R.module.readableIdentifier($):"",loc:q(R.loc),request:R.request};Object.assign(E,j)},ids:(E,R,{compilation:{chunkGraph:N}})=>{E.moduleId=R.module?N.getModuleId(R.module):undefined}},error:je,warning:je,moduleTraceItem:{_:(E,{origin:R,module:N},$,{requestShortener:j},q)=>{const{type:G,compilation:{moduleGraph:ie}}=$;E.originIdentifier=R.identifier();E.originName=R.readableIdentifier(j);E.moduleIdentifier=N.identifier();E.moduleName=N.readableIdentifier(j);const ae=Array.from(ie.getIncomingConnections(N)).filter((E=>E.resolvedOriginModule===R&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),$)},ids:(E,{origin:R,module:N},{compilation:{chunkGraph:$}})=>{E.originId=$.getModuleId(R);E.moduleId=$.getModuleId(N)}},moduleTraceDependency:{_:(E,R)=>{E.loc=q(R.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:R}})=>{if(E.originModule&&R.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const qe={"compilation.warnings":{warningsFilter:$.deprecate(((E,R,{warningsFilter:N})=>{const $=Object.keys(E).map((R=>`${E[R]}`)).join("\n");return!N.some((R=>R(E,$)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const Ge={_:(E,{compilation:{moduleGraph:R}})=>{E.push(Te((E=>R.getDepth(E)),we),Te((E=>R.getPreOrderIndex(E)),we),Te((E=>E.identifier()),Ie))}};const He={"compilation.chunks":{_:E=>{E.push(Te((E=>E.id),Ie))}},"compilation.modules":Ge,"chunk.rootModules":Ge,"chunk.modules":Ge,"module.modules":Ge,"module.reasons":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.originModule),Ne));E.push(Te((E=>E.resolvedOriginModule),Ne));E.push(Te((E=>E.dependency),Me(Te((E=>E.loc),_e),Te((E=>E.type),Ie))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:R}})=>{E.push(Te((E=>E.module?R.getModuleId(E.module):undefined),Ie),Te((E=>q(E.loc)),Ie),Te((E=>E.request),Ie))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let R=0;for(const N of E){R+=getItemSize(N)}return R};const getTotalItems=E=>{let R=0;for(const N of E){if(!N.children&&!N.filteredChildren){R++}else{if(N.children)R+=getTotalItems(N.children);if(N.filteredChildren)R+=N.filteredChildren}}return R};const collapse=E=>{const R=[];for(const N of E){if(N.children){let E=N.filteredChildren||0;E+=getTotalItems(N.children);R.push({...N,children:undefined,filteredChildren:E})}else{R.push(N)}}return R};const spaceLimited=(E,R)=>{let N=undefined;let $=undefined;const j=E.filter((E=>E.children||E.filteredChildren));const q=j.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,R)=>E+R),0);if(ie+G.length<=R){N=j.concat(G)}else if(j.length>0&&j.length+Math.min(1,G.length)R){const E=G.length+ie+($?1:0)-R;const N=Math.max(...q);if(N0&&j.length+Math.min(1,G.length)<=R){N=j.length?collapse(j):undefined;$=G.length}else{$=getTotalItems(E)}return{children:N,filteredChildren:$}};const assetGroup=(E,R)=>{let N=0;for(const R of E){N+=R.size}return{size:N}};const moduleGroup=(E,R)=>{let N=0;const $={};for(const R of E){N+=R.size;for(const E of Object.keys(R.sizes)){$[E]=($[E]||0)+R.sizes[E]}}return{size:N,sizes:$}};const reasonGroup=(E,R)=>{let N=false;for(const R of E){N=N||R.active}return{active:N}};const We={_:(E,R,N)=>{const groupByFlag=(R,N)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!N,force:N}),createGroup:(E,$,j)=>N?{type:"assets by status",[R]:!!E,filteredChildren:j.length,...assetGroup($,j)}:{type:"assets by status",[R]:!!E,children:$,...assetGroup($,j)}})};const{groupAssetsByEmitStatus:$,groupAssetsByPath:j,groupAssetsByExtension:q}=N;if($){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if($||!N.cachedAssets){groupByFlag("cached",!N.cachedAssets)}if(j||q){E.push({getKeys:E=>{const R=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const N=R?R[1]:"";const $=j&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=$?$[1].split(/[/\\]/):[];const ie=[];if(j){ie.push(".");if(N)ie.push(G.length?`${G.join("/")}/*${N}`:`*${N}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(N)ie.push(`*${N}`)}return ie},createGroup:(E,R,N)=>({type:j?"assets by path":"assets by extension",name:E,children:R,...assetGroup(R,N)})})}},groupAssetsByInfo:(E,R,N)=>{const groupByAssetInfoFlag=R=>{E.push({getKeys:E=>E.info&&E.info[R]?["1"]:undefined,createGroup:(E,N,$)=>({type:"assets by info",info:{[R]:!!E},children:N,...assetGroup(N,$)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,R,N)=>{const groupByNames=R=>{E.push({getKeys:E=>E[R],createGroup:(E,N,$)=>({type:"assets by chunk",[R]:[E],children:N,...assetGroup(N,$)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,R,{excludeAssets:N})=>{E.push({getKeys:E=>{const R=E.name;const $=N.some((N=>N(R,E)));if($)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden assets",filteredChildren:N.length,...assetGroup(R,N)})})}};const MODULES_GROUPERS=E=>({_:(E,R,N)=>{const groupByFlag=(R,N,$)=>{E.push({getKeys:E=>E[R]?["1"]:undefined,getOptions:()=>({groupChildren:!$,force:$}),createGroup:(E,j,q)=>({type:N,[R]:!!E,...$?{filteredChildren:q.length}:{children:j},...moduleGroup(j,q)})})};const{groupModulesByCacheStatus:$,groupModulesByLayer:j,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=N;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if($){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if($||!N.cachedModules){groupByFlag("cached","cached modules",!N.cachedModules)}if(q||!N.orphanModules){groupByFlag("orphan","orphan modules",!N.orphanModules)}if(q||!N.dependentModules){groupByFlag("dependent","dependent modules",!N.dependentModules)}if(G||!N.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const R=E==="runtime"&&!N.runtimeModules;return{groupChildren:!R,force:R}},createGroup:(E,R,$)=>{const j=E==="runtime"&&!N.runtimeModules;return{type:`${E} modules`,moduleType:E,...j?{filteredChildren:$.length}:{children:R},...moduleGroup(R,$)}}})}if(j){E.push({getKeys:E=>[E.layer],createGroup:(E,R,N)=>({type:"modules by layer",layer:E,children:R,...moduleGroup(R,N)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const R=Le(E.name.split("!").pop()).path;const N=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(R);const $=N?N[1]:"";const j=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(R);const q=j?j[1].split(/[/\\]/):[];const G=[];if(ie){if($)G.push(q.length?`${q.join("/")}/*${$}`:`*${$}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if($)G.push(`*${$}`)}return G},createGroup:(E,R,N)=>({type:ie?"modules by path":"modules by extension",name:E,children:R,...moduleGroup(R,N)})})}},excludeModules:(R,N,{excludeModules:$})=>{R.push({getKeys:R=>{const N=R.name;if(N){const j=$.some(($=>$(N,R,E)));if(j)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,R,N)=>({type:"hidden modules",filteredChildren:R.length,...moduleGroup(R,N)})})}});const Ve={"compilation.assets":We,"asset.related":We,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,R,N)=>({type:"from origin",module:E,children:R,...reasonGroup(R,N)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,R)=>0;return noSort}const R=normalizeFieldKey(E);let N=Te((E=>E[R]),Ie);const $=sortOrderRegular(E);if(!$){const E=N;N=(R,N)=>E(N,R)}return N};const Ke={assetsSort:(E,R,{assetsSort:N})=>{E.push(sortByField(N))},_:E=>{E.push(Te((E=>E.name),Ie))}};const Qe={"compilation.chunks":{chunksSort:(E,R,{chunksSort:N})=>{E.push(sortByField(N))}},"compilation.modules":{modulesSort:(E,R,{modulesSort:N})=>{E.push(sortByField(N))}},"chunk.modules":{chunkModulesSort:(E,R,{chunkModulesSort:N})=>{E.push(sortByField(N))}},"module.modules":{nestedModulesSort:(E,R,{nestedModulesSort:N})=>{E.push(sortByField(N))}},"compilation.assets":Ke,"asset.related":Ke};const iterateConfig=(E,R,N)=>{for(const $ of Object.keys(E)){const j=E[$];for(const E of Object.keys(j)){if(E!=="_"){if(E.startsWith("!")){if(R[E.slice(1)])continue}else{const N=R[E];if(N===false||N===undefined||Array.isArray(N)&&N.length===0)continue}}N($,j[E])}}};const Je={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const R=Object.create(null);for(const N of E){R[N.name]=N}return R};const Xe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((R,N,$)=>{iterateConfig(ze,N,((E,$)=>{R.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,j,q)=>$(E,j,q,N,R)))}));iterateConfig(Ue,N,((E,$)=>{R.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(qe,N,((E,$)=>{R.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R,j,q)=>$(E,R,N,j,q)))}));iterateConfig(He,N,((E,$)=>{R.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Qe,N,((E,$)=>{R.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));iterateConfig(Ve,N,((E,$)=>{R.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,R)=>$(E,R,N)))}));for(const E of Object.keys(Je)){const N=Je[E];R.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>N))}for(const E of Object.keys(Xe)){const N=Xe[E];R.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",N)}if(N.children){if(Array.isArray(N.children)){R.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((R,{_index:j})=>{if(jj))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,R,N)=>{"use strict";const $=N(80910);const applyDefaults=(E,R)=>{for(const N of Object.keys(R)){if(typeof E[N]==="undefined"){E[N]=R[N]}}};const j={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:R})=>R?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:R})=>R?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:R})=>{if(E===false)return false;if(E===true)return true;if(R)return"auto";return true};const q={context:(E,R,N)=>N.compiler.context,requestShortener:(E,R,N)=>N.compiler.context===E.context?N.requestShortener:new $(E.context,N.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:R})=>R?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:R})=>{if(E===false)return false;if(E===true)return true;if(R)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:R,chunkModules:N},{forToString:$})=>{if(E===false)return false;if(E===true)return true;if($&&R&&N)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:R})=>R?15:Infinity,chunkModulesSpace:(E,{forToString:R})=>R?10:Infinity,nestedModulesSpace:(E,{forToString:R})=>R?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:R})=>R?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,cachedModules:({all:E,cached:R},{forToString:N})=>R!==undefined?R:N?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:R})=>R?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:R})=>R&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const R=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>R.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return R=>E.test(R)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(R,N)=>N.includes(E)}if(E instanceof RegExp){return(R,N)=>E.test(N)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const R of Object.keys(j)){const N=j[R];E.hooks.statsPreset.for(R).tap("DefaultStatsPresetPlugin",((E,R)=>{applyDefaults(E,N)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((R,N)=>{for(const $ of Object.keys(q)){if(R[$]===undefined)R[$]=q[$](R,N,E)}for(const E of Object.keys(G)){R[E]=G[E](R[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,R,N)=>{"use strict";const plural=(E,R,N)=>E===1?R:N;const printSizes=(E,{formatSize:R=(E=>`${E}`)})=>{const N=Object.keys(E);if(N.length>1){return N.map((N=>`${R(E[N])} (${N})`)).join(" ")}else if(N.length===1){return R(E[N[0]])}};const mapLines=(E,R)=>E.split("\n").map(R).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const $={"compilation.summary!":(E,{type:R,bold:N,green:$,red:j,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:le,version:_e,time:Ee,builtAt:we,errorsCount:Ie,warningsCount:Me}})=>{const Te=R==="compilation.summary!";const Ne=Me>0?q(`${Me} ${plural(Me,"warning","warnings")}`):"";const Be=Ie>0?j(`${Ie} ${plural(Ie,"error","errors")}`):"";const Le=Te&&Ee?` in ${ie(Ee)}`:"";const je=le?` (${le})`:"";const ze=Te&&we?`${G(we)}: `:"";const Ue=Te&&_e?`webpack ${_e}`:"";const qe=Te&&ae?N(ae):ae?`Child ${N(ae)}`:Te?"":"Child";const Ge=qe&&Ue?`${qe} (${Ue})`:Ue||qe||"webpack";let He;if(Be&&Ne){He=`compiled with ${Be} and ${Ne}`}else if(Be){He=`compiled with ${Be}`}else if(Ne){He=`compiled with ${Ne}`}else if(Ie===0&&Me===0){He=`compiled ${$("successfully")}`}else{He=`compiled`}if(ze||Ue||Be||Ne||Ie===0&&Me===0||Le||je)return`${ze}${Ge} ${He}${Le}${je}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:R})=>E?R(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:R})=>E?`Environment (--env): ${R(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:R})=>`PublicPath: ${R(E||"(none)")}`,"compilation.entrypoints":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.values(E),{...R,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,R,N)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:$}}=R;let j=Object.values(E);if($){j=j.filter((E=>!Object.prototype.hasOwnProperty.call($,E.name)))}return N.print(R.type,j,{...R,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:R}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.entries(E).map((([E,R])=>({...R,name:E}))),R),"compilation.warningsInChildren!":(E,{yellow:R,compilation:N})=>{if(!N.children&&N.warningsCount>0&&N.warnings){const E=N.warningsCount-N.warnings.length;if(E>0){return R(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:R,compilation:N})=>{if(!N.children&&N.errorsCount>0&&N.errors){const E=N.errorsCount-N.errors.length;if(E>0){return R(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${N.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:R,asset:{isOverSizeLimit:N}})=>R(E,N),"asset.size":(E,{asset:{isOverSizeLimit:R},yellow:N,green:$,formatSize:j})=>R?N(j(E)):j(E),"asset.emitted":(E,{green:R,formatFlag:N})=>E?R(N("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:R,formatFlag:N})=>E?R(N("compared for emit")):undefined,"asset.cached":(E,{green:R,formatFlag:N})=>E?R(N("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:R,formatFlag:N})=>E?R(N("big")):undefined,"asset.info.immutable":(E,{green:R,formatFlag:N})=>E?R(N("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:R})=>E?R("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:R})=>E?R(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:R,formatFlag:N})=>E?R(N("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:R,formatFlag:N})=>E?R(N("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:R}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:R})=>R(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"module.name":(E,{bold:R})=>{const[,N,$]=/^(.*!)?([^!]*)$/.exec(E);return(N||"")+R($)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:R})=>E?R(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:R})=>R(E),"module.depth":(E,{formatFlag:R})=>E!==null?R(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:R,red:N})=>E===false?N(R("not cacheable")):undefined,"module.orphan":(E,{formatFlag:R,yellow:N})=>E?N(R("orphan")):undefined,"module.runtime":(E,{formatFlag:R,yellow:N})=>E?N(R("runtime")):undefined,"module.optional":(E,{formatFlag:R,yellow:N})=>E?N(R("optional")):undefined,"module.dependent":(E,{formatFlag:R,cyan:N})=>E?N(R("dependent")):undefined,"module.built":(E,{formatFlag:R,yellow:N})=>E?N(R("built")):undefined,"module.codeGenerated":(E,{formatFlag:R,yellow:N})=>E?N(R("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:R,green:N})=>E?N(R("build time executed")):undefined,"module.cached":(E,{formatFlag:R,green:N})=>E?N(R("cached")):undefined,"module.assets":(E,{formatFlag:R,magenta:N})=>E&&E.length?N(R(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:R,yellow:N})=>E===true?N(R("warnings")):E?N(R(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:R,red:N})=>E===true?N(R("errors")):E?N(R(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:R,cyan:N})=>{if(Array.isArray(E)){if(E.length===0)return N(R("no exports"));return N(R(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:R,cyan:N,module:$})=>{if(E!==true){if(E===null)return N(R("used exports unknown"));if(E===false)return N(R("module unused"));if(Array.isArray(E)){if(E.length===0)return N(R("no exports used"));const j=Array.isArray($.providedExports)?$.providedExports.length:null;if(j!==null&&j===E.length){return N(R("all exports used"))}else{return N(R(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:R})=>R(E),"module.issuerPath":(E,{module:R})=>R.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:R})=>R(E),"moduleIssuer.profile.total":(E,{formatTime:R})=>R(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:R})=>R(E),"moduleReason.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"moduleReason.module":(E,{magenta:R})=>R(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:R})=>R(E),"moduleReason.active":(E,{formatFlag:R})=>E?undefined:R("inactive"),"moduleReason.resolvedModule":(E,{magenta:R})=>R(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:R})=>R(E),"module.profile.resolving":(E,{formatTime:R})=>`resolving: ${R(E)}`,"module.profile.restoring":(E,{formatTime:R})=>`restoring: ${R(E)}`,"module.profile.integration":(E,{formatTime:R})=>`integration: ${R(E)}`,"module.profile.building":(E,{formatTime:R})=>`building: ${R(E)}`,"module.profile.storing":(E,{formatTime:R})=>`storing: ${R(E)}`,"module.profile.additionalResolving":(E,{formatTime:R})=>E?`additional resolving: ${R(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:R})=>E?`additional integration: ${R(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:R})=>R,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:R})=>R(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:R,yellow:N})=>E?N(R("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:R})=>E?R(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:R})=>E?`(${R(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:R})=>R(E),"chunkGroupAsset.size":(E,{formatSize:R,chunkGroup:N})=>N.assets.length>1||N.auxiliaryAssets&&N.auxiliaryAssets.length>0?R(E):undefined,"chunkGroup.children":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:R})=>R(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:R})=>R(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:R})=>R(E),"chunk.files[]":(E,{formatFilename:R})=>R(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,R)=>printSizes(E,R),"chunk.parents[]":(E,R)=>R.formatChunkId(E,"parent"),"chunk.siblings[]":(E,R)=>R.formatChunkId(E,"sibling"),"chunk.children[]":(E,R)=>R.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,R,N)=>Array.isArray(E)?undefined:N.print(R.type,Object.keys(E).map((R=>({type:R,children:E[R]}))),R),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"chunk.entry":(E,{formatFlag:R,yellow:N})=>E?N(R("entry")):undefined,"chunk.initial":(E,{formatFlag:R,yellow:N})=>E?N(R("initial")):undefined,"chunk.rendered":(E,{formatFlag:R,green:N})=>E?N(R("rendered")):undefined,"chunk.recorded":(E,{formatFlag:R,green:N})=>E?N(R("recorded")):undefined,"chunk.reason":(E,{yellow:R})=>E?R(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:R})=>isValidId(E)?R(E):undefined,"chunkOrigin.moduleName":(E,{bold:R})=>R(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:R})=>E?R(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:R})=>isValidId(E)?R(E):undefined,"error.chunkEntry":(E,{formatFlag:R})=>E?R("entry"):undefined,"error.chunkInitial":(E,{formatFlag:R})=>E?R("initial"):undefined,"error.file":(E,{bold:R})=>R(E),"error.moduleName":(E,{bold:R})=>E.includes("!")?`${R(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${R(E)}`,"error.loc":(E,{green:R})=>R(E),"error.message":(E,{bold:R,formatError:N})=>E.includes("[")?E:R(N(E)),"error.details":(E,{formatError:R})=>R(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>`

${R(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:R})=>mapLines(E,(E=>` ${R(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<-> ${R(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:R})=>mapLines(E,(E=>`<+> ${R(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:R})=>E?R("DEBUG"):undefined,"loggingGroup.name":(E,{bold:R})=>R(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const j={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>R=>R.length>0?`(${E}: ${R.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const R=[];let N=0;for(const $ of E){if($.element==="separator!"){switch(N){case 0:case 1:N+=2;break;case 4:R.push(")");N=3;break}}if(!$.content)continue;switch(N){case 0:N=1;break;case 1:R.push(" ");break;case 2:R.push("(");N=4;break;case 3:R.push(" (");N=4;break;case 4:R.push(", ");break}R.push($.content)}if(N===4)R.push(")");return R.join("")};const indent=(E,R,N)=>{const $=E.replace(/\n([^\n])/g,"\n"+R+"$1");if(N)return $;const j=E[0]==="\n"?"":R;return j+$};const joinExplicitNewLine=(E,R)=>{let N=true;let $=true;return E.map((E=>{if(!E||!E.content)return;let j=indent(E.content,$?"":R,!N);if(N){j=j.replace(/^\n+/,"")}if(!j)return;$=false;const q=N||j.startsWith("\n");N=j.endsWith("\n");return q?j:" "+j})).filter(Boolean).join("").trim()};const joinError=E=>(R,{red:N,yellow:$})=>`${E?N("ERROR"):$("WARNING")} in ${joinExplicitNewLine(R,"")}`;const ae={compilation:E=>{const R=[];let N=false;for(const $ of E){if(!$.content)continue;const E=$.element==="warnings"||$.element==="filteredWarningDetailsCount"||$.element==="errors"||$.element==="filteredErrorDetailsCount"||$.element==="logging";if(R.length!==0){R.push(E||N?"\n\n":"\n")}R.push($.content);N=E}if(N)R.push("\n");return R.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(R.id===R.name){if(N)return false;if(E.content)N=true}break;case"name":if(N)return false;if(E.content)N=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let R=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)R=true;break;case"initial":if(R)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:R})=>{let N=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(R.moduleId===R.module&&E.content)N=true;break;case"module":if(N)return false;break;case"resolvedModule":if(R.module===R.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const le={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const _e={formatChunkId:(E,{yellow:R},N)=>{switch(N){case"parent":return`<{${R(E)}}>`;case"sibling":return`={${R(E)}}=`;case"child":return`>{${R(E)}}<`;default:return`{${R(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:R,yellow:N},$)=>($?N:R)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:N(9192).formatSize,formatDateTime:(E,{bold:R})=>{const N=new Date(E);const $=twoDigit;const j=`${N.getFullYear()}-${$(N.getMonth()+1)}-${$(N.getDate())}`;const q=`${$(N.getHours())}:${$(N.getMinutes())}:${$(N.getSeconds())}`;return`${j} ${R(q)}`},formatTime:(E,{timeReference:R,bold:N,green:$,yellow:j,red:q},G)=>{const ie=" ms";if(R&&E!==R){const G=[R/2,R/4,R/8,R/16];if(E{if(E.includes("["))return E;const j=[{regExp:/(Did you mean .+)/g,format:R},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:R},{regExp:/(\(module has no exports\))/g,format:$},{regExp:/\(possible exports: (.+)\)/g,format:R},{regExp:/\s*(.+ doesn't exist)/g,format:$},{regExp:/('\w+' option has not been set)/g,format:$},{regExp:/(Emitted value instead of an instance of Error)/g,format:N},{regExp:/(Used? .+ instead)/gi,format:N},{regExp:/\b(deprecated|must|required)\b/g,format:N},{regExp:/\b(BREAKING CHANGE)\b/gi,format:$},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:$}];for(const{regExp:R,format:N}of j){E=E.replace(R,((E,R)=>E.replace(R,N(R))))}return E}};const Ee={"module.modules":E=>indent(E,"| ")};const createOrder=(E,R)=>{const N=E.slice();const $=new Set(E);const j=new Set;E.length=0;for(const N of R){if(N.endsWith("!")||$.has(N)){E.push(N);j.add(N)}}for(const R of N){if(!j.has(R)){E.push(R)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,R,N)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,N)=>{for(const E of Object.keys(le)){let $;if(R.colors){if(typeof R.colors==="object"&&typeof R.colors[E]==="string"){$=R.colors[E]}else{$=le[E]}}if($){N[E]=E=>`${$}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${$}`):E}`}else{N[E]=E=>E}}for(const E of Object.keys(_e)){N[E]=(R,...$)=>_e[E](R,N,...$)}N.timeReference=E.time}));for(const R of Object.keys($)){E.hooks.print.for(R).tap("DefaultStatsPrinterPlugin",((N,j)=>$[R](N,j,E)))}for(const R of Object.keys(G)){const N=G[R];E.hooks.sortElements.for(R).tap("DefaultStatsPrinterPlugin",((E,R)=>{createOrder(E,N)}))}for(const R of Object.keys(j)){const N=j[R];E.hooks.getItemName.for(R).tap("DefaultStatsPrinterPlugin",typeof N==="string"?()=>N:N)}for(const R of Object.keys(ie)){const N=ie[R];E.hooks.printItems.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(ae)){const N=ae[R];E.hooks.printElements.for(R).tap("DefaultStatsPrinterPlugin",N)}for(const R of Object.keys(Ee)){const N=Ee[R];E.hooks.result.for(R).tap("DefaultStatsPrinterPlugin",N)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,R,N)=>{"use strict";const{HookMap:$,SyncBailHook:j,SyncWaterfallHook:q}=N(92960);const{concatComparators:G,keepOriginalOrder:ie}=N(68673);const ae=N(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new $((()=>new j(["object","data","context"]))),filter:new $((()=>new j(["item","context","index","unfilteredIndex"]))),sort:new $((()=>new j(["comparators","context"]))),filterSorted:new $((()=>new j(["item","context","index","unfilteredIndex"]))),groupResults:new $((()=>new j(["groupConfigs","context"]))),sortResults:new $((()=>new j(["comparators","context"]))),filterResults:new $((()=>new j(["item","context","index","unfilteredIndex"]))),merge:new $((()=>new j(["items","context"]))),result:new $((()=>new q(["result","context"]))),getItemName:new $((()=>new j(["item","context"]))),getItemFactory:new $((()=>new j(["item","context"])))});const E=this.hooks;this._caches={};for(const R of Object.keys(E)){this._caches[R]=new Map}this._inCreate=false}_getAllLevelHooks(E,R,N){const $=R.get(N);if($!==undefined){return $}const j=[];const q=N.split(".");for(let R=0;R{for(const N of G){const $=j(N,E,R,ie);if($!==undefined){if($)ie++;return $}}ie++;return true}))}create(E,R,N){if(this._inCreate){return this._create(E,R,N)}else{try{this._inCreate=true;return this._create(E,R,N)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,R,N){const $={...N,type:E,[E]:R};if(Array.isArray(R)){const N=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,R,((E,R,N,j)=>E.call(R,$,N,j)),true);const j=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call(j,$)));if(j.length>0){N.sort(G(...j,ie(N)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,N,((E,R,N,j)=>E.call(R,$,N,j)),false);let le=q.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(R,j)))||this;return ie.create(G,R,j)}));const _e=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(_e,$)));if(_e.length>0){le.sort(G(..._e,ie(le)))}const Ee=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(Ee,$)));if(Ee.length>0){le=ae(le,Ee)}const we=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,le,((E,R,N,j)=>E.call(R,$,N,j)),false);let Ie=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(we,$)));if(Ie===undefined)Ie=we;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Ie,((E,R)=>E.call(R,$)))}else{const N={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(N,R,$)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,N,((E,R)=>E.call(R,$)))}}}E.exports=StatsFactory},30533:(E,R,N)=>{"use strict";const{HookMap:$,SyncWaterfallHook:j,SyncBailHook:q}=N(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new $((()=>new q(["elements","context"]))),printElements:new $((()=>new q(["printedElements","context"]))),sortItems:new $((()=>new q(["items","context"]))),getItemName:new $((()=>new q(["item","context"]))),printItems:new $((()=>new q(["printedItems","context"]))),print:new $((()=>new q(["object","context"]))),result:new $((()=>new j(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,R){let N=this._levelHookCache.get(E);if(N===undefined){N=new Map;this._levelHookCache.set(E,N)}const $=N.get(R);if($!==undefined){return $}const j=[];const q=R.split(".");for(let R=0;RE.call(R,$)));if(j===undefined){if(Array.isArray(R)){const N=R.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(N,$)));const q=N.map(((R,N)=>{const j={...$,_index:N};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(R,j)));if(q)j[q]=R;return this.print(q?`${E}[].${q}`:`${E}[]`,R,j)}));j=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,$)));if(j===undefined){const E=q.filter(Boolean);if(E.length>0)j=E.join("\n")}}else if(R!==null&&typeof R==="object"){const N=Object.keys(R).filter((E=>R[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(N,$)));const q=N.map((N=>{const j=this.print(`${E}.${N}`,R[N],{...$,_parent:R,_element:N,[N]:R[N]});return{element:N,content:j}}));j=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,$)));if(j===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)j=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,j,((E,R)=>E.call(R,$)))}}E.exports=StatsPrinter},73910:(E,R)=>{"use strict";R.equals=(E,R)=>{if(E.length!==R.length)return false;for(let N=0;N{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const R=this._list.indexOf(E);if(R>=0){this._list.splice(R,1)}else{const R=this._listReversed.indexOf(E);if(R>=0)this._listReversed.splice(R,1)}}[Symbol.iterator](){let E=-1;let R=false;return{next:()=>{if(!R){E++;if(E{"use strict";const{SyncHook:$,AsyncSeriesHook:j}=N(92960);const{makeWebpackError:q}=N(3728);const G=N(81627);const ie=N(56561);const ae=0;const le=1;const _e=2;let Ee=0;class AsyncQueueEntry{constructor(E,R){this.item=E;this.state=ae;this.callback=R;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:R,parent:N,processor:q,getKey:G}){this._name=E;this._parallelism=R||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=N?N._root:this;if(N){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new j(["item"]),added:new $(["item"]),beforeStart:new j(["item"]),started:new $(["item"]),result:new $(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,R){if(this._stopped)return R(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(N=>{if(N){R(q(N,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const $=this._getKey(E);const j=this._entries.get($);if(j!==undefined){if(j.state===_e){if(Ee++>3){process.nextTick((()=>R(j.error,j.result)))}else{R(j.error,j.result)}Ee--}else if(j.callbacks===undefined){j.callbacks=[R]}else{j.callbacks.push(R)}return}const ie=new AsyncQueueEntry(E,R);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set($,ie);this._queued.enqueue(ie);const R=this._root;R._needProcessing=true;if(R._willEnsureProcessing===false){R._willEnsureProcessing=true;setImmediate(R._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const R=this._getKey(E);const N=this._entries.get(R);this._entries.delete(R);if(N.state===ae){this._queued.delete(N)}}waitFor(E,R){const N=this._getKey(E);const $=this._entries.get(N);if($===undefined){return R(new G("waitFor can only be called for an already started item"))}if($.state===_e){process.nextTick((()=>R($.error,$.result)))}else if($.callbacks===undefined){$.callbacks=[R]}else{$.callbacks.push(R)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const R=this._root;for(const N of E){this._entries.delete(this._getKey(N.item));R._activeTasks++;this._handleResult(N,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===le}isQueued(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===ae}isDone(E){const R=this._getKey(E);const N=this._entries.get(R);return N!==undefined&&N.state===_e}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(R=>{if(R){this._handleResult(E,q(R,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let N=false;try{this._processor(E.item,((R,$)=>{N=true;this._handleResult(E,R,$)}))}catch(R){if(N)throw R;this._handleResult(E,R,null)}this.hooks.started.call(E.item)}))}_handleResult(E,R,N){this.hooks.result.callAsync(E.item,R,N,($=>{const j=$?q($,`AsyncQueue(${this._name}).hooks.result`):R;const G=E.callback;const ie=E.callbacks;E.state=_e;E.callback=undefined;E.callbacks=undefined;E.result=N;E.error=j;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(Ee++>3){process.nextTick((()=>{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}))}else{G(j,N);if(ie!==undefined){for(const E of ie){E(j,N)}}}Ee--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,R,N)=>{"use strict";class Hash{update(E,R){const $=N(75884);throw new $}digest(E){const R=N(75884);throw new R}}E.exports=Hash},11539:(E,R)=>{"use strict";const last=E=>{let R;for(const N of E)R=N;return R};const someInIterable=(E,R)=>{for(const N of E){if(R(N))return true}return false};const countIterable=E=>{let R=0;for(const N of E)R++;return R};R.last=last;R.someInIterable=someInIterable;R.countIterable=countIterable},37496:(E,R,N)=>{"use strict";const{first:$}=N(26221);const j=N(16102);class LazyBucketSortedSet{constructor(E,R,...N){this._getKey=E;this._innerArgs=N;this._leaf=N.length<=1;this._keys=new j(undefined,R);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,R){let N=this._map.get(E);if(N===undefined){N=this._leaf?new j(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,N)}N.add(R)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const R=this._getKey(E);const N=this._map.get(R);N.delete(E);if(N.size===0){this._deleteKey(R)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const R=this._getKey(E);this._addInternal(R,E)}this._unsortedItems.clear()}this._keys.sort();const E=$(this._keys);const R=this._map.get(E);if(this._leaf){const N=R;N.sort();const j=$(N);N.delete(j);if(N.size===0){this._deleteKey(E)}return j}else{const N=R;const $=N.popFirst();if(N.size===0){this._deleteKey(E)}return $}}startUpdate(E){if(this._unsortedItems.has(E)){return R=>{if(R){this._unsortedItems.delete(E);this.size--;return}}}const R=this._getKey(E);if(this._leaf){const N=this._map.get(R);return $=>{if($){this.size--;N.delete(E);if(N.size===0){this._deleteKey(R)}return}const j=this._getKey(E);if(R===j){N.add(E)}else{N.delete(E);if(N.size===0){this._deleteKey(R)}this._addInternal(j,E)}}}else{const N=this._map.get(R);const $=N.startUpdate(E);return j=>{if(j){this.size--;$(true);if(N.size===0){this._deleteKey(R)}return}const q=this._getKey(E);if(R===q){$()}else{$(true);if(N.size===0){this._deleteKey(R)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const R of this._keys){const N=this._map.get(R);if(this._leaf){const R=N;const $=R[Symbol.iterator]();E.push($)}else{const R=N;R._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let R=E.pop();return{next:()=>{const N=R.next();if(N.done){if(E.length===0)return N;R=E.pop();return R.next()}return N}}}}E.exports=LazyBucketSortedSet},83379:(E,R,N)=>{"use strict";const $=N(56202);const merge=(E,R)=>{for(const N of R){for(const R of N){E.add(R)}}};const flatten=(E,R)=>{for(const N of R){if(N._set.size>0)E.add(N._set);if(N._needMerge){for(const R of N._toMerge){E.add(R)}flatten(E,N._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const R=this._set;for(const N of E){R.add(N)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,R){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,R)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const R of this._set)E(R)}static deserialize({read:E}){const R=E();const N=[];for(let $=0;${"use strict";R.provide=(E,R,N)=>{const $=E.get(R);if($!==undefined)return $;const j=N();E.set(R,j);return j}},382:(E,R,N)=>{"use strict";const $=N(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,R,N){if(E===R)return N(1);this._rangePoints.push(E);this._rangePoints.push(R);this._rangeCallbacks.push(N)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,R)=>E0));const N=[];for(let j=0;j{"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,R)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let R=Infinity;let N=-1;for(let $=0;${if(E.size{for(const N of E){if(R(N))return N}};const first=E=>{const R=E.values().next();return R.done?undefined:R.value};const combine=(E,R)=>{if(R.size===0)return E;if(E.size===0)return R;const N=new Set(E);for(const E of R)N.add(E);return N};R.intersect=intersect;R.isSubset=isSubset;R.find=find;R.first=first;R.combine=combine},16102:E=>{"use strict";const R=Symbol("not sorted");class SortableSet extends Set{constructor(E,N){super(E);this._sortFn=N;this._lastActiveSortFn=R;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=R;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const R=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,R){if(R){this.stack.push(E);for(let R=this.stack.length-1;R>0;R--){const N=this.stack[R-1];if(N.size>=E.size)break;this.stack[R]=N;this.stack[R-1]=E}}else{for(const[R,N]of E){this.map.set(R,N)}}}set(E,R){this.map.set(E,R)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const R of this.stack){const N=R.get(E);if(N!==undefined)return N}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const R of this.stack){E+=R.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let R=this.map[Symbol.iterator]();return{next(){let N=R.next();while(N.done&&E.length>0){R=E.pop();N=R.next()}return N}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const R=Symbol("tombstone");const N=Symbol("undefined");const extractPair=E=>{const $=E[0];const j=E[1];if(j===N||j===R){return[$,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,R){this.map.set(E,R===undefined?N:R)}delete(E){if(this.stack.length>1){this.map.set(E,R)}else{this.map.delete(E)}}has(E){const N=this.map.get(E);if(N!==undefined){return N!==R}if(this.stack.length>1){for(let N=this.stack.length-2;N>=0;N--){const $=this.stack[N].get(E);if($!==undefined){this.map.set(E,$);return $!==R}}this.map.set(E,R)}return false}get(E){const $=this.map.get(E);if($!==undefined){return $===R||$===N?undefined:$}if(this.stack.length>1){for(let $=this.stack.length-2;$>=0;$--){const j=this.stack[$].get(E);if(j!==undefined){this.map.set(E,j);return j===R||j===N?undefined:j}}this.map.set(E,R)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const N of E){if(N[1]===R){this.map.delete(N[0])}else{this.map.set(N[0],N[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const R=E.length;const N=this._value;if(N===undefined){const N=this._value=Buffer.allocUnsafe(R);for(let $=0;${"use strict";const $=N(86949);class TupleQueue{constructor(E){this._set=new $(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const R of E){this.add(...R)}}}add(...E){let R=this._map;for(let N=0;N{const j=$.next();if(j.done){if(E.length===0)return false;R.pop();return next(E.pop())}const[q,G]=j.value;E.push($);R.push(q);if(G instanceof Set){N=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(N){const $=N.next();if($.done){R.pop();if(!next(E.pop())){N=undefined}}else{return{done:false,value:R.concat($.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,R)=>{"use strict";const N="\\".charCodeAt(0);const $="/".charCodeAt(0);const j="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const le="9".charCodeAt(0);const _e="+".charCodeAt(0);const Ee="-".charCodeAt(0);const we=":".charCodeAt(0);const Ie="#".charCodeAt(0);const Me="?".charCodeAt(0);function getScheme(E){const R=E.charCodeAt(0);if((Rq)&&(Rie)){return undefined}let Te=1;let Ne=E.charCodeAt(Te);while(Ne>=j&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=le||Ne===_e||Ne===Ee){if(++Te===E.length)return undefined;Ne=E.charCodeAt(Te)}if(Ne!==we)return undefined;if(Te===1){const R=Te+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let R=this;for(let N=0;N{"use strict";const compileSearch=(E,R,N,$,j)=>{const q=["function ",E,"(a,l,h,",$.join(","),"){",j?"":"var i=",N?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if(j){if(R.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",R,"){i=m;")}if(N){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if(j){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,R,N,$)=>{const j=compileSearch("A","x"+E+"y",R,["y"],$);const q=compileSearch("P","c(x,y)"+E+"0",R,["y","c"],$);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[j,q,G,N,ie,N];const le=ae.join("");const _e=new Function(le);return _e()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,R)=>{"use strict";const N=new WeakMap;const $=new WeakMap;const j=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;let $=N.get(E);if($===undefined){$=new WeakMap;N.set(E,$)}const j=$.get(R);if(j!==undefined)return j;const q=_cleverMerge(E,R,true);$.set(R,q);return q};const cachedSetProperty=(E,R,N)=>{let j=$.get(E);if(j===undefined){j=new Map;$.set(E,j)}let q=j.get(R);if(q===undefined){q=new Map;j.set(R,q)}let G=q.get(N);if(G)return G;G={...E,[R]:N};q.set(N,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const R=G.get(E);if(R!==undefined)return R;const N=parseObject(E);G.set(E,N);return N};const parseObject=E=>{const R=new Map;let N;const getInfo=E=>{const N=R.get(E);if(N!==undefined)return N;const $={base:undefined,byProperty:undefined,byValues:undefined};R.set(E,$);return $};for(const R of Object.keys(E)){if(R.startsWith("by")){const $=R;const j=E[$];if(typeof j==="object"){for(const E of Object.keys(j)){const R=j[E];for(const N of Object.keys(R)){const q=getInfo(N);if(q.byProperty===undefined){q.byProperty=$;q.byValues=new Map}else if(q.byProperty!==$){throw new Error(`${$} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,R[N]);if(E==="default"){for(const E of Object.keys(j)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof j==="function"){if(N===undefined){N={byProperty:R,fn:j}}else{throw new Error(`${R} and ${N.byProperty} when both are functions is not supported`)}}else{const N=getInfo(R);N.base=E[R]}}else{const N=getInfo(R);N.base=E[R]}}return{static:R,dynamic:N}};const serializeObject=(E,R)=>{const N={};for(const R of E.values()){if(R.byProperty!==undefined){const E=N[R.byProperty]=N[R.byProperty]||{};for(const N of R.byValues.keys()){E[N]=E[N]||{}}}}for(const[R,$]of E){if($.base!==undefined){N[R]=$.base}if($.byProperty!==undefined){const E=N[$.byProperty]=N[$.byProperty]||{};for(const N of Object.keys(E)){const j=getFromByValues($.byValues,N);if(j!==undefined)E[N][R]=j}}}if(R!==undefined){N[R.byProperty]=R.fn}return N};const ie=0;const ae=1;const le=2;const _e=3;const Ee=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===j){return Ee}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return le;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return _e}return ae};const cleverMerge=(E,R)=>{if(R===undefined)return E;if(E===undefined)return R;if(typeof R!=="object"||R===null)return R;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,R,false)};const _cleverMerge=(E,R,N=false)=>{const $=N?cachedParseObject(E):parseObject(E);const{static:j,dynamic:G}=$;if(G!==undefined){let{byProperty:E,fn:j}=G;const ie=j[q];if(ie){R=N?cachedCleverMerge(ie[1],R):cleverMerge(ie[1],R);j=ie[0]}const newFn=(...E)=>{const $=j(...E);return N?cachedCleverMerge($,R):cleverMerge($,R)};newFn[q]=[j,R];return serializeObject($.static,{byProperty:E,fn:newFn})}const ie=N?cachedParseObject(R):parseObject(R);const{static:ae,dynamic:le}=ie;const _e=new Map;for(const[E,R]of j){const $=ae.get(E);const j=$!==undefined?mergeEntries(R,$,N):R;_e.set(E,j)}for(const[E,R]of ae){if(!j.has(E)){_e.set(E,R)}}return serializeObject(_e,le)};const mergeEntries=(E,R,N)=>{switch(getValueType(R.base)){case ae:case Ee:return R;case ie:if(!E.byProperty){return{base:E.base,byProperty:R.byProperty,byValues:R.byValues}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}else{const $=new Map(E.byValues);for(const[j,q]of R.byValues){const R=getFromByValues(E.byValues,j);$.set(j,mergeSingleValue(R,q,N))}return{base:E.base,byProperty:E.byProperty,byValues:$}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,R.base,N),byProperty:R.byProperty,byValues:R.byValues}}let $;const j=new Map(E.byValues);for(const[E,$]of j){j.set(E,mergeSingleValue($,R.base,N))}if(Array.from(E.byValues.values()).every((E=>{const R=getValueType(E);return R===ae||R===Ee}))){$=mergeSingleValue(E.base,R.base,N)}else{$=E.base;if(!j.has("default"))j.set("default",R.base)}if(!R.byProperty){return{base:$,byProperty:E.byProperty,byValues:j}}else if(E.byProperty!==R.byProperty){throw new Error(`${E.byProperty} and ${R.byProperty} for a single property is not supported`)}const q=new Map(j);for(const[E,$]of R.byValues){const R=getFromByValues(j,E);q.set(E,mergeSingleValue(R,$,N))}return{base:$,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,R)=>{if(R!=="default"&&E.has(R)){return E.get(R)}return E.get("default")};const mergeSingleValue=(E,R,N)=>{const $=getValueType(R);const j=getValueType(E);switch($){case Ee:case ae:return R;case _e:{return j!==_e?R:N?cachedCleverMerge(E,R):cleverMerge(E,R)}case ie:return E;case le:switch(j!==ae?j:Array.isArray(E)?le:_e){case ie:return R;case Ee:return R.filter((E=>E!=="..."));case le:{const N=[];for(const $ of R){if($==="..."){for(const R of E){N.push(R)}}else{N.push($)}}return N}case _e:return R.map((R=>R==="..."?E:R));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const R={};for(const N of Object.keys(E)){const $=E[N];const j=getValueType($);switch(j){case ie:case Ee:break;case _e:R[N]=removeOperations($);break;case le:R[N]=$.filter((E=>E!=="..."));break;default:R[N]=$;break}}return R};const resolveByProperty=(E,R,...N)=>{if(typeof E!=="object"||E===null||!(R in E)){return E}const{[R]:$,...j}=E;const q=j;const G=$;if(typeof G==="object"){const E=N[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,N);return cachedCleverMerge(q,resolveByProperty(E,R,...N))}};R.cachedSetProperty=cachedSetProperty;R.cachedCleverMerge=cachedCleverMerge;R.cleverMerge=cleverMerge;R.resolveByProperty=resolveByProperty;R.removeOperations=removeOperations;R.DELETE=j},68673:(E,R,N)=>{"use strict";const{compareRuntime:$}=N(37416);const createCachedParameterizedComparator=E=>{const R=new WeakMap;return N=>{const $=R.get(N);if($!==undefined)return $;const j=E.bind(null,N);R.set(N,j);return j}};R.compareChunksById=(E,R)=>compareIds(E.id,R.id);R.compareModulesByIdentifier=(E,R)=>compareIds(E.identifier(),R.identifier());const compareModulesById=(E,R,N)=>compareIds(E.getModuleId(R),E.getModuleId(N));R.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareNumbers=compareNumbers;const compareStringsNumeric=(E,R)=>{const N=E.split(/(\d+)/);const $=R.split(/(\d+)/);const j=Math.min(N.length,$.length);for(let E=0;Ej.length){if(R.slice(0,j.length)>j)return 1;return-1}else if(j.length>R.length){if(j.slice(0,R.length)>R)return-1;return 1}else{if(Rj)return 1}}else{const E=+R;const N=+j;if(EN)return 1}}if($.lengthN.length)return-1;return 0};R.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPostOrderIndex(R),E.getPostOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,R,N)=>{const $=compareNumbers(E.getPreOrderIndex(R),E.getPreOrderIndex(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,R,N)=>{const $=compareIds(E.getModuleId(R),E.getModuleId(N));if($!==0)return $;return compareIds(R.identifier(),N.identifier())};R.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,R,N)=>E.compareChunks(R,N);R.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,R)=>{if(typeof E!==typeof R){return typeof ER)return 1;return 0};R.compareIds=compareIds;const compareStrings=(E,R)=>{if(ER)return 1;return 0};R.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,R)=>E.index{if(N.length>0){const[$,...j]=N;return concatComparators(E,concatComparators(R,$,...j))}const $=j.get(E,R);if($!==undefined)return $;const result=(N,$)=>{const j=E(N,$);if(j!==0)return j;return R(N,$)};j.set(E,R,result);return result};R.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,R)=>{const N=q.get(E,R);if(N!==undefined)return N;const result=(N,$)=>{const j=E(N);const q=E($);if(j!==undefined&&j!==null){if(q!==undefined&&q!==null){return R(j,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,R,result);return result};R.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const R=G.get(E);if(R!==undefined)return R;const result=(R,N)=>{const $=R[Symbol.iterator]();const j=N[Symbol.iterator]();while(true){const R=$.next();const N=j.next();if(R.done){return N.done?0:-1}else if(N.done){return 1}const q=E(R.value,N.value);if(q!==0)return q}};G.set(E,result);return result};R.compareIterables=compareIterables;R.keepOriginalOrder=E=>{const R=new Map;let N=0;for(const $ of E){R.set($,N++)}return(E,N)=>compareNumbers(R.get(E),R.get(N))};R.compareChunksNatural=E=>{const N=R.compareModulesById(E);const j=compareIterables(N);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),$),compareSelect((R=>E.getOrderedChunkModulesIterable(R,N)),j))};R.compareLocations=(E,R)=>{let N=typeof E==="object"&&E!==null;let $=typeof R==="object"&&R!==null;if(!N||!$){if(N)return 1;if($)return-1;return 0}if("start"in E){if("start"in R){const N=E.start;const $=R.start;if(N.line<$.line)return-1;if(N.line>$.line)return 1;if(N.column<$.column)return-1;if(N.column>$.column)return 1}else return-1}else if("start"in R)return 1;if("name"in E){if("name"in R){if(E.nameR.name)return 1}else return-1}else if("name"in R)return 1;if("index"in E){if("index"in R){if(E.indexR.index)return 1}else return-1}else if("index"in R)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const R=Object.keys(E).filter((R=>E[R]));const N=Object.keys(E).filter((R=>!E[R]));if(R.length===0)return false;if(N.length===0)return true;return compileBooleanMatcherFromLists(R,N)};const compileBooleanMatcherFromLists=(E,R)=>{if(E.length===0)return()=>"false";if(R.length===0)return()=>"true";if(E.length===1)return R=>`${toSimpleString(E[0])} == ${R}`;if(R.length===1)return E=>`${toSimpleString(R[0])} != ${E}`;const N=itemsToRegexp(E);const $=itemsToRegexp(R);if(N.length<=$.length){return E=>`/^${N}$/.test(${E})`}else{return E=>`!/^${$}$/.test(${E})`}};const popCommonItems=(E,R,N)=>{const $=new Map;for(const N of E){const E=R(N);if(E){let R=$.get(E);if(R===undefined){R=[];$.set(E,R)}R.push(N)}}const j=[];for(const R of $.values()){if(N(R)){for(const N of R){E.delete(N)}j.push(R)}}return j};const getCommonPrefix=E=>{let R=E[0];for(let N=1;N{let R=E[0];for(let N=1;N=0;E--,N--){if($[E]!==R[N]){R=R.slice(N+1);break}}}return R};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const R=[];let N=0;for(const R of E){if(R.length===1){N++}}if(N===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const $=new Set(E.sort());if(N>2){let E="";for(const R of $){if(R.length===1){E+=R;$.delete(R)}}R.push(`[${quoteMeta(E)}]`)}if(R.length===0&&$.size===2){const R=getCommonPrefix(E);const N=getCommonSuffix(E.map((E=>E.slice(R.length))));if(R.length>0||N.length>0){return`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length,-N.length||undefined))))}${quoteMeta(N)}`}}if(R.length===0&&$.size===2){const E=$[Symbol.iterator]();const R=E.next().value;const N=E.next().value;if(R.length>0&&N.length>0&&R.slice(-1)===N.slice(-1)){return`${itemsToRegexp([R.slice(0,-1),N.slice(0,-1)])}${quoteMeta(R.slice(-1))}`}}const j=popCommonItems($,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of j){const N=getCommonPrefix(E);R.push(`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length))))}`)}const q=popCommonItems($,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const N=getCommonSuffix(E);R.push(`${itemsToRegexp(E.map((E=>E.slice(0,-N.length))))}${quoteMeta(N)}`)}const G=R.concat(Array.from($,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,R,N)=>{"use strict";const $=N(91671);const j=$((()=>N(15235).validate));const createSchemaValidation=(E=(E=>false),R,N)=>{R=$(R);return $=>{if(!E($)){j()(R(),$,N)}}};E.exports=createSchemaValidation},35891:(E,R,N)=>{"use strict";const $=N(75066);const j=2e3;const q={};class BulkUpdateDecorator extends ${constructor(E,R){super();this.hashKey=R;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,R){if(R!==undefined||typeof E!=="string"||E.length>j){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,R)}else{this.buffer+=E;if(this.buffer.length>j){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let R;const N=this.buffer;if(this.hash===undefined){const $=`${this.hashKey}-${E}`;R=q[$];if(R===undefined){R=q[$]=new Map}const j=R.get(N);if(j!==undefined)return j;this.hash=this.hashFactory()}if(N.length>0){this.hash.update(N)}const $=this.hash.digest(E);const j=typeof $==="string"?$:$.toString();if(R!==undefined){R.set(N,j)}return j}}class DebugHash extends ${constructor(){super();this.string=""}update(E,R){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let le=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=N(92976);if(le===undefined){le=N(89312)}}return new le(ie());case"md4":if(ae===undefined){ae=N(90526);if(le===undefined){le=N(89312)}}return new le(ae());case"native-md4":if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=N(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,R,N)=>{"use strict";const $=N(73837);const j=new Map;const createDeprecation=(E,R)=>{const N=j.get(E);if(N!==undefined)return N;const q=$.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+R);j.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];R.arrayToSetDeprecation=(E,R)=>{for(const N of q){if(E[N])continue;const $=createDeprecation(`${R} was changed from Array to Set (using Array method '${N}' is deprecated)`,"ARRAY_TO_SET");E[N]=function(){$();const E=Array.from(this);return Array.prototype[N].apply(E,arguments)}}const N=createDeprecation(`${R} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const $=createDeprecation(`${R} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const j=createDeprecation(`${R} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){N();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const N of G){if(E[N])continue;E[N]=()=>{throw new Error(`${R} was changed from Array to Set (using Array method '${N}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){j();let R=0;for(const N of this){if(R++===E)return N}return undefined};return fn};const defineIndexGetter=N=>{Object.defineProperty(E,N,{get:createIndexGetter(N),set(E){throw new Error(`${R} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){$();const E=this.size;for(ie;ie{let N=false;class SetDeprecatedArray extends Set{constructor($){super($);if(!N){N=true;R.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};R.soonFrozenObjectDeprecation=(E,R,N,j="")=>{const q=`${R} will be frozen in future, all modifications are deprecated.${j&&`\n${j}`}`;return new Proxy(E,{set:$.deprecate(((E,R,N,$)=>Reflect.set(E,R,N,$)),q,N),defineProperty:$.deprecate(((E,R,N)=>Reflect.defineProperty(E,R,N)),q,N),deleteProperty:$.deprecate(((E,R)=>Reflect.deleteProperty(E,R)),q,N),setPrototypeOf:$.deprecate(((E,R)=>Reflect.setPrototypeOf(E,R)),q,N)})};const deprecateAllProperties=(E,R,N)=>{const j={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty(j,E,{...G,value:$.deprecate(G.value,R,N)})}else if(G.get||G.set){Object.defineProperty(j,E,{...G,get:G.get&&$.deprecate(G.get,R,N),set:G.set&&$.deprecate(G.set,R,N)})}else{let q=G.value;Object.defineProperty(j,E,{configurable:G.configurable,enumerable:G.enumerable,get:$.deprecate((()=>q),R,N),set:G.writable?$.deprecate((E=>q=E),R,N):undefined})}}return j};R.deprecateAllProperties=deprecateAllProperties;R.createFakeHook=(E,R,N)=>{if(R&&N){E=deprecateAllProperties(E,R,N)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,R)=>{const N=Math.min(E.length,R.length);let $=0;for(let j=0;j{const $=Math.min(E.length,R.length);let j=0;while(j<$){if(E.charCodeAt(j)!==R.charCodeAt(j)){j++;break}j++}while(j<$){const R=E.slice(0,j);const $=R.toLowerCase();if(!N.has($)){N.add($);return R}j++}return E};const addSizeTo=(E,R)=>{for(const N of Object.keys(R)){E[N]=(E[N]||0)+R[N]}};const subtractSizeFrom=(E,R)=>{for(const N of Object.keys(R)){E[N]-=R[N]}};const sumSize=E=>{const R=Object.create(null);for(const N of E){addSizeTo(R,N.size)}return R};const isTooBig=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if($>j)return true}}return false};const isTooSmall=(E,R)=>{for(const N of Object.keys(E)){const $=E[N];if($===0)continue;const j=R[N];if(typeof j==="number"){if(${const N=new Set;for(const $ of Object.keys(E)){const j=E[$];if(j===0)continue;const q=R[$];if(typeof q==="number"){if(j{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N++}return N};const selectiveSizeSum=(E,R)=>{let N=0;for(const $ of Object.keys(E)){if(E[$]!==0&&R.has($))N+=E[$]}return N};class Node{constructor(E,R,N){this.item=E;this.key=R;this.size=N}}class Group{constructor(E,R,N){this.nodes=E;this.similarities=R;this.size=N||sumSize(E);this.key=undefined}popNodes(E){const R=[];const N=[];const $=[];let j;for(let q=0;q0){N.push(j===this.nodes[q-1]?this.similarities[q-1]:similarity(j.key,G.key))}R.push(G);j=G}}if($.length===this.nodes.length)return undefined;this.nodes=R;this.similarities=N;this.size=sumSize(R);return $}}const getSimilarities=E=>{const R=[];let N=undefined;for(const $ of E){if(N!==undefined){R.push(similarity(N.key,$.key))}N=$}return R};E.exports=({maxSize:E,minSize:R,items:N,getSize:$,getKey:j})=>{const q=[];const G=Array.from(N,(E=>new Node(E,j(E),$(E))));const ie=[];G.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}));for(const N of G){if(isTooBig(N.size,E)&&!isTooSmall(N.size,R)){q.push(new Group([N],[]))}else{ie.push(N)}}if(ie.length>0){const N=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,N=E.size)=>{const $=getTooSmallTypes(N,R);if($.size>0){const R=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(R===undefined)return false;const N=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,$)>0));if(N.length>0){const E=N.reduce(((E,R)=>{const N=getNumberOfMatchingSizeTypes(E,$);const j=getNumberOfMatchingSizeTypes(R,$);if(N!==j)return NselectiveSizeSum(R.size,$))return R;return E}));for(const N of R)E.nodes.push(N);E.nodes.sort(((E,R)=>{if(E.keyR.key)return 1;return 0}))}else{q.push(new Group(R,null))}return true}else{return false}};if(N.nodes.length>0){const $=[N];while($.length){const N=$.pop();if(!isTooBig(N.size,E)){q.push(N);continue}if(removeProblematicNodes(N)){$.push(N);continue}let j=1;let G=Object.create(null);addSizeTo(G,N.nodes[0].size);while(j=0&&isTooSmall(ae,R)){addSizeTo(ae,N.nodes[ie].size);ie--}if(j-1>ie){let E;if(ie{if(E.nodes[0].keyR.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const R=E.indexOf("@");return[E.substring(R+1),E.substring(0,R)]}},62598:E=>{"use strict";const R=0;const N=1;const $=2;const j=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=R;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const R of E){const E=new Node(R);ie.set(R,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const R of G(E.item)){const N=ie.get(R);if(N!==undefined){E.dependencies.add(N)}}}const ae=new Set;const le=new Set;for(const E of ie.values()){if(E.marker===R){E.marker=N;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case R:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=N;break;case N:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let R=G.length-1;G[R].node!==ie;R--){const N=G[R].node;if(N.cycle){if(N.cycle!==E){for(const R of N.cycle.nodes){R.cycle=E;E.nodes.add(R)}}}else{N.cycle=E;E.nodes.add(N)}}break}case q:ie.marker=$;ae.delete(ie);break;case j:le.delete(ie.cycle);ie.marker=$;break}}else{G.pop();E.node.marker=$}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=j}le.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of le){let R=0;const N=new Set;const $=E.nodes;for(const E of $){for(const j of E.dependencies){if($.has(j)){j.incoming++;if(j.incomingR){N.clear();R=j.incoming}N.add(j)}}}for(const E of N){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,R,N)=>{"use strict";const $=N(71017);const relative=(E,R,N)=>{if(E&&E.relative){return E.relative(R,N)}else if($.posix.isAbsolute(R)){return $.posix.relative(R,N)}else if($.win32.isAbsolute(R)){return $.win32.relative(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};R.relative=relative;const join=(E,R,N)=>{if(E&&E.join){return E.join(R,N)}else if($.posix.isAbsolute(R)){return $.posix.join(R,N)}else if($.win32.isAbsolute(R)){return $.win32.join(R,N)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};R.join=join;const dirname=(E,R)=>{if(E&&E.dirname){return E.dirname(R)}else if($.posix.isAbsolute(R)){return $.posix.dirname(R)}else if($.win32.isAbsolute(R)){return $.win32.dirname(R)}else{throw new Error(`${R} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};R.dirname=dirname;const mkdirp=(E,R,N)=>{E.mkdir(R,($=>{if($){if($.code==="ENOENT"){const j=dirname(E,R);if(j===R){N($);return}mkdirp(E,j,($=>{if($){N($);return}E.mkdir(R,(E=>{if(E){if(E.code==="EEXIST"){N();return}N(E);return}N()}))}));return}else if($.code==="EEXIST"){N();return}N($);return}N()}))};R.mkdirp=mkdirp;const mkdirpSync=(E,R)=>{try{E.mkdirSync(R)}catch(N){if(N){if(N.code==="ENOENT"){const $=dirname(E,R);if($===R){throw N}mkdirpSync(E,$);E.mkdirSync(R);return}else if(N.code==="EEXIST"){return}throw N}}};R.mkdirpSync=mkdirpSync;const readJson=(E,R,N)=>{if("readJson"in E)return E.readJson(R,N);E.readFile(R,((E,R)=>{if(E)return N(E);let $;try{$=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}return N(null,$)}))};R.readJson=readJson;const lstatReadlinkAbsolute=(E,R,N)=>{let $=3;const doReadLink=()=>{E.readlink(R,((j,q)=>{if(j&&--$>0){return doStat()}if(j||!q)return doStat();const G=q.toString();N(null,join(E,dirname(E,R),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(R,((E,R)=>{if(E)return N(E);if(R.isSymbolicLink()){return doReadLink()}N(null,R)}))}else{return E.stat(R,N)}};if("lstat"in E)return doStat();doReadLink()};R.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,R,N)=>{"use strict";const $=N(75066);const j=N(27100).MAX_SHORT_STRING;class BatchedHash extends ${constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,R){if(this.string!==undefined){if(typeof E==="string"&&R===this.encoding&&this.string.length+E.length{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=$.bind(null,j,[],64,32)},27100:E=>{"use strict";const R=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,R,N,$){const j=E.exports;j.init();this.exports=j;this.mem=Buffer.from(j.memory.buffer,0,65536);this.buffered=0;this.instancesPool=R;this.chunkSize=N;this.digestSize=$}reset(){this.buffered=0;this.exports.init()}update(E,N){if(typeof E==="string"){while(E.length>R){this._updateWithShortString(E.slice(0,R),N);E=E.slice(R)}this._updateWithShortString(E,N);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,R){const{exports:N,buffered:$,mem:j,chunkSize:q}=this;let G;if(E.length<70){if(!R||R==="utf-8"||R==="utf8"){G=$;for(let N=0;N>6|192;j[G+1]=$&63|128;G+=2}else{G+=j.write(E.slice(N),G,R);break}}}else if(R==="latin1"){G=$;for(let R=0;R0)j.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:R,buffered:N,mem:$}=this;const j=E.length;if(N+j65536){let j=65536-N;E.copy($,N,0,j);R.update(65536);const G=q-N-65536;while(j0)E.copy($,0,j-G,j)}}digest(E){const{exports:R,buffered:N,mem:$,digestSize:j}=this;R.final(N);this.instancesPool.push(this);const q=$.toString("latin1",0,j);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,R,N,$)=>{if(R.length>0){const E=R.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),R,N,$)}};E.exports=create;E.exports.MAX_SHORT_STRING=R},92976:(E,R,N)=>{"use strict";const $=N(27100);const j=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=$.bind(null,j,[],32,16)},49197:(E,R,N)=>{"use strict";const $=N(71017);const j=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,R)=>{if(R[0]==="/"){if(R.length>1&&R[R.length-1]==="/"){return R}const N=R.indexOf("?");let j=N===-1?R:R.slice(0,N);j=relativePathToRequest($.posix.relative(E,j));return N===-1?j:j+R.slice(N)}if(j.test(R)){const N=R.indexOf("?");let q=N===-1?R:R.slice(0,N);q=$.win32.relative(E,q);if(!j.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return N===-1?q:q+R.slice(N)}return R};const requestToAbsolute=(E,R)=>{if(R.startsWith("./")||R.startsWith("../"))return $.join(E,R);return R};const makeCacheable=E=>{const R=new WeakMap;const cachedFn=(N,$,j)=>{if(!j)return E(N,$);let q=R.get(j);if(q===undefined){q=new Map;R.set(j,q)}let G;let ie=q.get(N);if(ie===undefined){q.set(N,ie=new Map)}else{G=ie.get($)}if(G!==undefined){return G}else{const R=E(N,$);ie.set($,R);return R}};cachedFn.bindCache=N=>{let $;if(N){$=R.get(N);if($===undefined){$=new Map;R.set(N,$)}}else{$=new Map}const boundFn=(R,N)=>{let j;let q=$.get(R);if(q===undefined){$.set(R,q=new Map)}else{j=q.get(N)}if(j!==undefined){return j}else{const $=E(R,N);q.set(N,$);return $}};return boundFn};cachedFn.bindContextCache=(N,$)=>{let j;if($){let E=R.get($);if(E===undefined){E=new Map;R.set($,E)}j=E.get(N);if(j===undefined){E.set(N,j=new Map)}}else{j=new Map}const boundFn=R=>{const $=j.get(R);if($!==undefined){return $}else{const $=E(N,R);j.set(R,$);return $}};return boundFn};return cachedFn};const _makePathsRelative=(E,R)=>R.split(q).map((R=>absoluteToRequest(E,R))).join("");R.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,R)=>R.split(q).map((R=>requestToAbsolute(E,R))).join("");R.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,R)=>R.split("!").map((R=>absoluteToRequest(E,R))).join("!");const ie=makeCacheable(_contextify);R.contextify=ie;const _absolutify=(E,R)=>R.split("!").map((R=>requestToAbsolute(E,R))).join("!");const ae=makeCacheable(_absolutify);R.absolutify=ae;const le=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const R=le.exec(E);return{resource:E,path:R[1].replace(/\0(.)/g,"$1"),query:R[2]?R[2].replace(/\0(.)/g,"$1"):"",fragment:R[3]||""}};R.parseResource=(E=>{const R=new WeakMap;const getCache=E=>{const N=R.get(E);if(N!==undefined)return N;const $=new Map;R.set(E,$);return $};const fn=(R,N)=>{if(!N)return E(R);const $=getCache(N);const j=$.get(R);if(j!==undefined)return j;const q=E(R);$.set(R,q);return q};fn.bindCache=R=>{const N=getCache(R);return R=>{const $=N.get(R);if($!==undefined)return $;const j=E(R);N.set(R,j);return j}};return fn})(_parseResource);R.getUndoPath=(E,R,N)=>{let $=-1;let j="";R=R.replace(/[\\/]$/,"");for(const N of E.split(/[/\\]+/)){if(N===".."){if($>-1){$--}else{const E=R.lastIndexOf("/");const N=R.lastIndexOf("\\");const $=E<0?N:N<0?E:Math.max(E,N);if($<0)return R+"/";j=R.slice($+1)+"/"+j;R=R.slice(0,$)}}else if(N!=="."){$++}}return $>0?`${"../".repeat($)}${j}`:N?`./${j}`:j}},90331:(E,R,N)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>N(98221),CommentCompilationWarning:()=>N(47207),ContextModule:()=>N(58126),"cache/PackFileCacheStrategy":()=>N(83793),"cache/ResolverCachePlugin":()=>N(13653),"container/ContainerEntryDependency":()=>N(76041),"container/ContainerEntryModule":()=>N(89591),"container/ContainerExposedDependency":()=>N(4523),"container/FallbackDependency":()=>N(27426),"container/FallbackItemDependency":()=>N(55525),"container/FallbackModule":()=>N(13386),"container/RemoteModule":()=>N(68679),"container/RemoteToExternalDependency":()=>N(44742),"dependencies/AMDDefineDependency":()=>N(46960),"dependencies/AMDRequireArrayDependency":()=>N(95715),"dependencies/AMDRequireContextDependency":()=>N(38145),"dependencies/AMDRequireDependenciesBlock":()=>N(83842),"dependencies/AMDRequireDependency":()=>N(45167),"dependencies/AMDRequireItemDependency":()=>N(29022),"dependencies/CachedConstDependency":()=>N(59455),"dependencies/CreateScriptUrlDependency":()=>N(7257),"dependencies/CommonJsRequireContextDependency":()=>N(51454),"dependencies/CommonJsExportRequireDependency":()=>N(1248),"dependencies/CommonJsExportsDependency":()=>N(26702),"dependencies/CommonJsFullRequireDependency":()=>N(87519),"dependencies/CommonJsRequireDependency":()=>N(37313),"dependencies/CommonJsSelfReferenceDependency":()=>N(94147),"dependencies/ConstDependency":()=>N(66298),"dependencies/ContextDependency":()=>N(400),"dependencies/ContextElementDependency":()=>N(90872),"dependencies/CriticalDependencyWarning":()=>N(75314),"dependencies/DelegatedSourceDependency":()=>N(49422),"dependencies/DllEntryDependency":()=>N(95189),"dependencies/EntryDependency":()=>N(66583),"dependencies/ExportsInfoDependency":()=>N(51420),"dependencies/HarmonyAcceptDependency":()=>N(27790),"dependencies/HarmonyAcceptImportDependency":()=>N(80654),"dependencies/HarmonyCompatibilityDependency":()=>N(54290),"dependencies/HarmonyExportExpressionDependency":()=>N(55037),"dependencies/HarmonyExportHeaderDependency":()=>N(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>N(44576),"dependencies/HarmonyExportSpecifierDependency":()=>N(14696),"dependencies/HarmonyImportSideEffectDependency":()=>N(69707),"dependencies/HarmonyImportSpecifierDependency":()=>N(2230),"dependencies/ImportContextDependency":()=>N(4828),"dependencies/ImportDependency":()=>N(20013),"dependencies/ImportEagerDependency":()=>N(75708),"dependencies/ImportWeakDependency":()=>N(12849),"dependencies/JsonExportsDependency":()=>N(38895),"dependencies/LocalModule":()=>N(77230),"dependencies/LocalModuleDependency":()=>N(14229),"dependencies/ModuleDecoratorDependency":()=>N(2706),"dependencies/ModuleHotAcceptDependency":()=>N(21809),"dependencies/ModuleHotDeclineDependency":()=>N(73158),"dependencies/ImportMetaHotAcceptDependency":()=>N(76302),"dependencies/ImportMetaHotDeclineDependency":()=>N(5389),"dependencies/ProvidedDependency":()=>N(1335),"dependencies/PureExpressionDependency":()=>N(53567),"dependencies/RequireContextDependency":()=>N(19204),"dependencies/RequireEnsureDependenciesBlock":()=>N(15196),"dependencies/RequireEnsureDependency":()=>N(15427),"dependencies/RequireEnsureItemDependency":()=>N(81058),"dependencies/RequireHeaderDependency":()=>N(70340),"dependencies/RequireIncludeDependency":()=>N(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>N(1913),"dependencies/RequireResolveContextDependency":()=>N(84817),"dependencies/RequireResolveDependency":()=>N(76913),"dependencies/RequireResolveHeaderDependency":()=>N(23380),"dependencies/RuntimeRequirementsDependency":()=>N(35424),"dependencies/StaticExportsDependency":()=>N(96076),"dependencies/SystemPlugin":()=>N(62630),"dependencies/UnsupportedDependency":()=>N(12584),"dependencies/URLDependency":()=>N(66444),"dependencies/WebAssemblyExportImportedDependency":()=>N(30697),"dependencies/WebAssemblyImportDependency":()=>N(33081),"dependencies/WebpackIsIncludedDependency":()=>N(46715),"dependencies/WorkerDependency":()=>N(89017),"json/JsonData":()=>N(72055),"optimize/ConcatenatedModule":()=>N(95734),DelegatedModule:()=>N(3955),DependenciesBlock:()=>N(32448),DllModule:()=>N(44593),ExternalModule:()=>N(16734),FileSystemInfo:()=>N(22996),InitFragment:()=>N(63272),InvalidDependenciesModuleWarning:()=>N(49619),Module:()=>N(53453),ModuleBuildError:()=>N(26509),ModuleDependencyWarning:()=>N(23280),ModuleError:()=>N(91613),ModuleGraph:()=>N(75412),ModuleParseError:()=>N(14489),ModuleWarning:()=>N(8893),NormalModule:()=>N(53520),RawModule:()=>N(22804),"sharing/ConsumeSharedModule":()=>N(21606),"sharing/ConsumeSharedFallbackDependency":()=>N(86827),"sharing/ProvideSharedModule":()=>N(99114),"sharing/ProvideSharedDependency":()=>N(56049),"sharing/ProvideForSharedDependency":()=>N(31095),UnsupportedFeatureWarning:()=>N(53558),"util/LazySet":()=>N(83379),UnhandledSchemeError:()=>N(77090),NodeStuffInWebError:()=>N(39960),WebpackError:()=>N(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,R,N)=>{"use strict";const{register:$}=N(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,R){E.serialize(R)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const R=new this.Constructor;R.deserialize(E);return R}}E.exports=(E,R,N=null)=>{$(E,R,N,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let R=false;let N=undefined;return()=>{if(R){return N}else{N=E();R=true;E=undefined;return N}}};E.exports=memoize},12631:E=>{"use strict";const R=2147483648;const N=R-1;const $=4;const j=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{j.fill(0);for(let R=0;R>1}}if(G<=N){let E=0;for(let R=0;R<$;R++){E=(E+j[R])%G}return E}else{let E=0;let q=0;const ie=Math.floor(G/R);for(let R=0;R<$;R+=2){E=E+j[R]&N}for(let E=1;E<$;E+=2){q=(q+j[E])%ie}return(q*R+E)%G}}},2117:E=>{"use strict";const processAsyncTree=(E,R,N,$)=>{const j=Array.from(E);if(j.length===0)return $();let q=0;let G=false;let ie=true;const push=E=>{j.push(E);if(!ie&&q{q--;if(E&&!G){G=true;$(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=j.pop();N(E,push,processorCallback)}ie=false;if(j.length===0&&q===0&&!G){G=true;$()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const R=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const N=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,$=0)=>{let j="";for(let q=$;q{"use strict";const{register:$}=N(24568);const j=N(14150).Position;const q=N(14150).SourceLocation;const G=N(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:le,PrefixSource:_e,RawSource:Ee,ReplaceSource:we,SourceMapSource:Ie}=N(48135);const Me="webpack/lib/util/registerExternalSerializer";$(ie,Me,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:R,writeLazy:N}){if(N){N(E.originalLazy())}else{R(E.original())}R(E.getCachedData())}deserialize({read:E}){const R=E();const N=E();return new ie(R,N)}});$(Ee,Me,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:R}){R(E.buffer());R(!E.isBuffer())}deserialize({read:E}){const R=E();const N=E();return new Ee(R,N)}});$(ae,Me,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:R}){R(E.getChildren())}deserialize({read:E}){const R=new ae;R.addAllSkipOptimizing(E());return R}});$(_e,Me,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:R}){R(E.getPrefix());R(E.original())}deserialize({read:E}){return new _e(E(),E())}});$(we,Me,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:R}){R(E.original());R(E.getName());const N=E.getReplacements();R(N.length);for(const E of N){R(E.start);R(E.end)}for(const E of N){R(E.content);R(E.name)}}deserialize({read:E}){const R=new we(E(),E());const N=E();const $=[];for(let R=0;R{"use strict";const $=N(16102);R.getEntryRuntime=(E,R,N)=>{let $;let j;if(N){({dependOn:$,runtime:j}=N)}else{const N=E.entries.get(R);if(!N)return R;({dependOn:$,runtime:j}=N.options)}if($){let N=undefined;const j=new Set($);for(const R of j){const $=E.entries.get(R);if(!$)continue;const{dependOn:q,runtime:G}=$.options;if(q){for(const E of q){j.add(E)}}else{N=mergeRuntimeOwned(N,G||R)}}return N||R}else{return j||R}};R.forEachRuntime=(E,R,N=false)=>{if(E===undefined){R(undefined)}else if(typeof E==="string"){R(E)}else{if(N)E.sort();for(const N of E){R(N)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};R.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const R=E.split("\n");if(R.length===1)return R[0];return new $(R)};R.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};R.runtimeToString=runtimeToString;R.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,R)=>{if(E===R){return true}else if(E===undefined||R===undefined||typeof E==="string"||typeof R==="string"){return false}else if(E.size!==R.size){return false}else{E.sort();R.sort();const N=E[Symbol.iterator]();const $=R[Symbol.iterator]();for(;;){const E=N.next();if(E.done)return true;const R=$.next();if(E.value!==R.value)return false}}};R.runtimeEqual=runtimeEqual;R.compareRuntime=(E,R)=>{if(E===R){return 0}else if(E===undefined){return-1}else if(R===undefined){return 1}else{const N=getRuntimeKey(E);const $=getRuntimeKey(R);if(N<$)return-1;if(N>$)return 1;return 0}};const mergeRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else if(R.has(E)){return R}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){if(E.has(R))return E;const N=new $(E);N.add(R);return N}else{const N=new $(E);for(const E of R)N.add(E);if(N.size===E.size)return E;return N}}};R.mergeRuntime=mergeRuntime;R.mergeRuntimeCondition=(E,R,N)=>{if(E===false)return R;if(R===false)return E;if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};R.mergeRuntimeConditionNonFalse=(E,R,N)=>{if(E===true||R===true)return true;const $=mergeRuntime(E,R);if($===undefined)return undefined;if(typeof $==="string"){if(typeof N==="string"&&$===N)return true;return $}if(typeof N==="string"||N===undefined)return $;if($.size===N.size)return true;return $};const mergeRuntimeOwned=(E,R)=>{if(R===undefined){return E}else if(E===R){return E}else if(E===undefined){if(typeof R==="string"){return R}else{return new $(R)}}else if(typeof E==="string"){if(typeof R==="string"){const N=new $;N.add(E);N.add(R);return N}else{const N=new $(R);N.add(E);return N}}else{if(typeof R==="string"){E.add(R);return E}else{for(const N of R)E.add(N);return E}}};R.mergeRuntimeOwned=mergeRuntimeOwned;R.intersectRuntime=(E,R)=>{if(E===undefined){return R}else if(R===undefined){return E}else if(E===R){return E}else if(typeof E==="string"){if(typeof R==="string"){return undefined}else if(R.has(E)){return E}else{return undefined}}else{if(typeof R==="string"){if(E.has(R))return R;return undefined}else{const N=new $;for(const $ of R){if(E.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};const subtractRuntime=(E,R)=>{if(E===undefined){return undefined}else if(R===undefined){return E}else if(E===R){return undefined}else if(typeof E==="string"){if(typeof R==="string"){return E}else if(R.has(E)){return undefined}else{return E}}else{if(typeof R==="string"){if(!E.has(R))return E;if(E.size===2){for(const N of E){if(N!==R)return N}}const N=new $(E);N.delete(R)}else{const N=new $;for(const $ of E){if(!R.has($))N.add($)}if(N.size===0)return undefined;if(N.size===1)for(const E of N)return E;return N}}};R.subtractRuntime=subtractRuntime;R.subtractRuntimeCondition=(E,R,N)=>{if(R===true)return false;if(R===false)return E;if(E===false)return false;const $=subtractRuntime(E===true?N:E,R);return $===undefined?false:$};R.filterRuntime=(E,R)=>{if(E===undefined)return R(undefined);if(typeof E==="string")return R(E);let N=false;let $=true;let j=undefined;for(const q of E){const E=R(q);if(E){N=true;j=mergeRuntimeOwned(j,q)}else{$=false}}if(!N)return false;if($)return true;return j};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=R;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),R)}}provide(E,R){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=R();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const N=R();this._map.set(getRuntimeKey(E),N);return N}default:{const N=getRuntimeKey(E);const $=this._map.get(N);if($!==undefined)return $;const j=R();this._map.set(N,j);return j}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,R){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=R(this._singleValue);break}const N=R(undefined);if(N!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),N)}break}default:{const N=getRuntimeKey(E);const $=this._map.get(N);const j=R($);if(j!==$)this._map.set(N,j)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}R.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const R of E){this.add(R)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}R.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,R){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var N=R[1]?splitAndConvert(R[1]):[];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}if(R[3]){N.push([]);N.push.apply(N,splitAndConvert(R[3]))}return N};R.parseVersion=parseVersion;const versionLt=(E,R)=>{E=parseVersion(E);R=parseVersion(R);var N=0;for(;;){if(N>=E.length)return N=R.length)return j=="u";var q=R[N];var G=(typeof q)[0];if(j==G){if(j!="o"&&j!="u"&&$!=q){return ${const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const R=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const N=R[1]?[0,...splitAndConvert(R[1])]:[0];if(R[2]){N.length++;N.push.apply(N,splitAndConvert(R[2]))}let $=N[N.length-1];while(N.length&&($===undefined||/^[*xX]$/.test($))){N.pop();$=N[N.length-1]}return N};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const R=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const N=R?R[0]:"";const $=parsePartial(E.slice(N.length));switch(N){case"^":if($.length>1&&$[1]===0){if($.length>2&&$[2]===0){return[3,...$.slice(1)]}return[2,...$.slice(1)]}return[1,...$.slice(1)];case"~":return[2,...$.slice(1)];case">=":return $;case"=":case"v":case"":return toFixed($);case"<":return negate($);case">":{const E=toFixed($);return[,E,0,$,2]}case"<=":return[,toFixed($),negate($),1];case"!":{const E=toFixed($);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,R)=>{if(E.length===1)return E[0];const N=[];for(const R of E.slice().reverse()){if(0 in R){N.push(R)}else{N.push(...R.slice(1))}}return[,...N,...E.slice(1).map((()=>R))]};const parseRange=E=>{const R=E.split(" - ");if(R.length===1){const R=E.trim().split(/\s+/g).map(parseSimple);return combine(R,2)}const N=parsePartial(R[0]);const $=parsePartial(R[1]);return[,toFixed($),negate($),1,N,2]};const parseLogicalOr=E=>{const R=E.split(/\s*\|\|\s*/).map(parseRange);return combine(R,1)};return parseLogicalOr(E)};const rangeToString=E=>{var R=E[0];var N="";if(E.length===1){return"*"}else if(R+.5){N+=R==0?">=":R==-1?"<":R==1?"^":R==2?"~":R>0?"=":"!=";var $=1;for(var j=1;j0?".":"")+($=2,q)}return N}else{var ie=[];for(var j=1;j{if(0 in E){R=parseVersion(R);var N=E[0];var $=N<0;if($)N=-N-1;for(var j=0,q=1,G=true;;q++,j++){var ie=q=R.length||(ae=R[j],(le=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>N&&!$;return ie==""!=$}if(le=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==le){if(q<=N){if(ae!=E[q]){return false}}else{if($?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let R="[";for(let N=0;N`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;R.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const $=N(91671);const j=$((()=>N(88692)));const q=$((()=>N(30991)));const G=$((()=>N(79308)));const ie=$((()=>N(15261)));const ae=$((()=>N(43065)));const le=$((()=>new(j())));const _e=$((()=>{N(48077);const E=N(90331);q().registerLoader(/^webpack\/lib\//,(R=>{const N=E[R.slice("webpack/lib/".length)];if(N){N()}else{console.warn(`${R} not found in internalSerializables`)}return true}))}));let Ee;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return j().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return j().MEASURE_END_OPERATION},get buffersSerializer(){if(Ee!==undefined)return Ee;_e();const E=ie();const R=le();const N=ae();const $=G();return Ee=new E([new $,new(q())((E=>{if(E.write){E.writeLazy=$=>{E.write(N.createLazy($,R))}}}),"md4"),R])},createFileSerializer:(E,R)=>{_e();const $=ie();const j=N(13829);const Ee=new j(E,R);const we=le();const Ie=ae();const Me=G();return new $([new Me,new(q())((E=>{if(E.write){E.writeLazy=R=>{E.write(Ie.createLazy(R,we))};E.writeSeparate=(R,N)=>{const $=Ie.createLazy(R,Ee,N);E.write($);return $}}}),R),we,Ee])}}},93695:E=>{"use strict";const smartGrouping=(E,R)=>{const N=new Set;const $=new Map;for(const j of E){const E=new Set;for(let N=0;N{const R=E.size;for(const R of E){for(const E of R.groups){if(E.alreadyGrouped)continue;const N=E.items;if(N===undefined){E.items=new Set([R])}else{N.add(R)}}}const N=new Map;for(const E of $.values()){if(E.items){const R=E.items;E.items=undefined;N.set(E,{items:R,options:undefined,used:false})}}const j=[];for(;;){let $=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[j,ae]of N){const{items:N,used:le}=ae;let _e=ae.options;if(_e===undefined){const E=j.config;ae.options=_e=E.getOptions&&E.getOptions(j.name,Array.from(N,(({item:E})=>E)))||false}const Ee=_e&&_e.force;if(!Ee){if(ie&&ie.force)continue;if(le)continue;if(N.size<=1||R-N.size<=1){continue}}const we=_e&&_e.targetGroupCount||4;let Ie=Ee?N.size:Math.min(N.size,R*2/we+E.size-N.size);if(Ie>q||Ee&&(!ie||!ie.force)){$=j;q=Ie;G=N;ie=_e}}if($===undefined){break}const ae=new Set(G);const le=ie;const _e=!le||le.groupChildren!==false;for(const R of ae){E.delete(R);for(const E of R.groups){const $=N.get(E);if($!==undefined){$.items.delete(R);if($.items.size===0){N.delete(E)}else{$.options=undefined;if(_e){$.used=true}}}}}N.delete($);const Ee=$.name;const we=$.config;const Ie=Array.from(ae,(({item:E})=>E));$.alreadyGrouped=true;const Me=_e?runGrouping(ae):Ie;$.alreadyGrouped=false;j.push(we.createGroup(Ee,Me,Ie))}for(const{item:R}of E){j.push(R)}return j};return runGrouping(N)};E.exports=smartGrouping},13559:(E,R)=>{"use strict";const N=new WeakMap;const _isSourceEqual=(E,R)=>{let N=typeof E.buffer==="function"?E.buffer():E.source();let $=typeof R.buffer==="function"?R.buffer():R.source();if(N===$)return true;if(typeof N==="string"&&typeof $==="string")return false;if(!Buffer.isBuffer(N))N=Buffer.from(N,"utf-8");if(!Buffer.isBuffer($))$=Buffer.from($,"utf-8");return N.equals($)};const isSourceEqual=(E,R)=>{if(E===R)return true;const $=N.get(E);if($!==undefined){const E=$.get(R);if(E!==undefined)return E}const j=_isSourceEqual(E,R);if($!==undefined){$.set(R,j)}else{const $=new WeakMap;$.set(R,j);N.set(E,$)}const q=N.get(R);if(q!==undefined){q.set(E,j)}else{const $=new WeakMap;$.set(E,j);N.set(R,$)}return j};R.isSourceEqual=isSourceEqual},33316:(E,R,N)=>{"use strict";const{validate:$}=N(15235);const j={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,R,N)=>{$(E,R,N||{name:"Webpack",postFormatter:(E,R)=>{const N=R.children;if(N&&N.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(N&&N.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(R.keyword==="additionalProperties"){const N=R.params;if(Object.prototype.hasOwnProperty.call(j,N.additionalProperty)){return`${E}\nDid you mean ${j[N.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,N.additionalProperty)){return`${E}\n${q[N.additionalProperty]}?`}if(!R.dataPath){if(N.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(N.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${N.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);class AsyncWasmLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R}){super("wasm loading",j.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=R}generate(){const{compilation:E,chunk:R}=this;const{outputOptions:N,runtimeTemplate:j}=E;const G=$.instantiateWasm;const ie=E.getPath(JSON.stringify(N.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:R.runtime});return`${G} = ${j.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${j.returningFunction("x.arrayBuffer()","x")})`,`.then(${j.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${j.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,R,N)=>{"use strict";const $=N(36253);const j=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return j}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,R){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(63272);const G=N(76150);const ie=N(58159);const ae=N(33081);const le=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends j{constructor(E){super();this.filenameTemplate=E}getTypes(E){return le}getSize(E,R){return 40+E.dependencies.length*10}generate(E,R){const{runtimeTemplate:N,chunkGraph:j,moduleGraph:le,runtimeRequirements:_e,runtime:Ee}=R;_e.add(G.module);_e.add(G.moduleId);_e.add(G.exports);_e.add(G.instantiateWasm);const we=[];const Ie=new Map;const Me=new Map;for(const R of E.dependencies){if(R instanceof ae){const E=le.getModule(R);if(!Ie.has(E)){Ie.set(E,{request:R.request,importVar:`WEBPACK_IMPORTED_MODULE_${Ie.size}`})}let N=Me.get(R.request);if(N===undefined){N=[];Me.set(R.request,N)}N.push(R)}}const Te=[];const Ne=Array.from(Ie,(([R,{request:$,importVar:q}])=>{if(le.isAsync(R)){Te.push(q)}return N.importStatement({update:false,module:R,chunkGraph:j,request:$,originModule:E,importVar:q,runtimeRequirements:_e})}));const Be=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,R])=>R)).join("");const je=Array.from(Me,(([R,$])=>{const j=$.map(($=>{const j=le.getModule($);const q=Ie.get(j).importVar;return`${JSON.stringify($.name)}: ${N.exportFromImport({moduleGraph:le,module:j,request:R,exportName:$.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:we,runtime:Ee,runtimeRequirements:_e})}`}));return ie.asString([`${JSON.stringify(R)}: {`,ie.indent(j.join(",\n")),"}"])}));const ze=je.length>0?ie.asString(["{",ie.indent(je.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify(j.getRenderedModuleHash(E,Ee))}`+(ze?`, ${ze})`:`)`);if(Te.length>0)_e.add(G.asyncModule);const qe=new $(Te.length>0?ie.asString([`var __webpack_instantiate__ = ${N.basicFunction(`[${Te.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${N.basicFunction("__webpack_handle_async_dependencies__",[Be,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Te.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Be}${Le}module.exports = ${Ue};`);return q.addToSource(qe,we,R)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(36253);const{tryRunOrWebpackError:G}=N(3728);const ie=N(33081);const{compareModulesByIdentifier:ae}=N(68673);const le=N(91671);const _e=le((()=>N(10136)));const Ee=le((()=>N(75462)));const we=le((()=>N(96263)));const Ie=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ie.get(E);if(R===undefined){R={renderModuleContent:new $(["source","module","renderContext"])};Ie.set(E,R)}return R}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{const N=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,R);R.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=we();return new E}));R.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const R=Ee();const N=_e();return q.byType({javascript:new R(E.outputOptions.webassemblyModuleFilename),webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,$)=>{const{moduleGraph:j,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:le,dependencyTemplates:_e,codeGenerationResults:Ee}=$;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const $=le.webassemblyModuleFilename;R.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:_e,runtimeTemplate:G,moduleGraph:j,chunkGraph:q,codeGenerationResults:Ee},N),filenameTemplate:$,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return R}))}))}renderModule(E,R,N){const{codeGenerationResults:$,chunk:j}=R;try{const q=$.getSource(E,j.runtime,"webassembly");return G((()=>N.renderModuleContent.call(q,E,R)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(R){R.module=E;throw R}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,R,N)=>{"use strict";const $=N(98093);const{decode:j}=N(73432);const q=N(2172);const G=N(96076);const ie=N(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";R.module.buildMeta.async=true;const N=j(E,ae);const q=N.body[0];const le=[];$.traverse(q,{ModuleExport({node:E}){le.push(E.name)},ModuleImport({node:E}){const N=new ie(E.module,E.name,E.descr,false);R.module.addDependency(N)}});R.module.addDependency(new G(le,false));return R}}E.exports=WebAssemblyParser},59422:(E,R,N)=>{"use strict";const $=N(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends ${constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{compareModulesByIdentifier:G}=N(68673);const ie=N(20612);const getAllWasmModules=(E,R,N)=>{const $=N.getAllAsyncChunks();const j=[];for(const E of $){for(const N of R.getOrderedChunkModulesIterable(E,G)){if(N.type.startsWith("webassembly")){j.push(N)}}}return j};const generateImportObject=(E,R,N,j,G)=>{const ae=E.moduleGraph;const le=new Map;const _e=[];const Ee=ie.getUsedDependencies(ae,R,N);for(const R of Ee){const N=R.dependency;const ie=ae.getModule(N);const Ee=N.name;const we=ie&&ae.getExportsInfo(ie).getUsedName(Ee,G);const Ie=N.description;const Me=N.onlyDirectImport;const Te=R.module;const Ne=R.name;if(Me){const R=`m${le.size}`;le.set(R,E.getModuleId(ie));_e.push({module:Te,name:Ne,value:`${R}[${JSON.stringify(we)}]`})}else{const R=Ie.signature.params.map(((E,R)=>"p"+R+E.valtype));const N=`${$.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${N}.exports`;const ae=`wasmImportedFuncCache${j.length}`;j.push(`var ${ae};`);_e.push({module:Te,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${N} ? ${G}[${JSON.stringify(we)}] : `:"")+`function(${R}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(we)}](${R});`]),"}"])})}}let we;if(N){we=["return {",q.indent([_e.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const R of _e){let N=E.get(R.module);if(N===undefined){E.set(R.module,N=[])}N.push(R)}we=["return {",q.indent([Array.from(E,(([E,R])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([R.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Ie=JSON.stringify(E.getModuleId(R));if(le.size===1){const E=Array.from(le.values())[0];const R=`installedWasmModules[${JSON.stringify(E)}]`;const N=Array.from(le.keys())[0];return q.asString([`${Ie}: function() {`,q.indent([`return promiseResolve().then(function() { return ${R}; }).then(function(${N}) {`,q.indent(we),"});"]),"},"])}else if(le.size>0){const E=Array.from(le.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const R=Array.from(le.keys(),((E,R)=>`${E} = array[${R}]`)).join(", ");return q.asString([`${Ie}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${R};`,...we]),"});"]),"},"])}else{return q.asString([`${Ie}: function() {`,q.indent(we),"},"])}};class WasmChunkLoadingRuntimeModule extends j{constructor({generateLoadBinaryCode:E,supportsStreaming:R,mangleImports:N,runtimeRequirements:$}){super("wasm chunk loading",j.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=R;this.mangleImports=N;this._runtimeRequirements=$}generate(){const{chunkGraph:E,compilation:R,chunk:N,mangleImports:j}=this;const{moduleGraph:G,outputOptions:ae}=R;const le=$.ensureChunkHandlers;const _e=this._runtimeRequirements.has($.hmrDownloadUpdateHandlers);const Ee=getAllWasmModules(G,E,N);const we=[];const Ie=Ee.map((R=>generateImportObject(E,R,this.mangleImports,we,N.runtime)));const Me=E.getChunkModuleIdMap(N,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>j?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Te=R.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${$.getFullHash}() + "`,hashWithLength:E=>`" + ${$.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(R){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(N,(E=>E.type.startsWith("webassembly")),R))}[chunkId][wasmModuleId] + "`}},runtime:N.runtime});const Ne=_e?`${$.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(we),"var wasmImportObjects = {",q.indent(Ie),"};","",`var wasmModuleMap = ${JSON.stringify(Me,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${$.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${le}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Te)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${$.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,R,N)=>{"use strict";const $=N(72380);const j=N(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(R=>{for(const N of R){if(N.type.startsWith("webassembly")===true){const R=N.buildMeta.jsIncompatibleExports;if(R===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(N)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(R,ae)){const G=new j(`Export "${ae}" with ${R[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${$(q.dependency.loc)}.`);G.module=N;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const j=N(36253);const q=N(20612);const G=N(98093);const{moduleContextFromModuleAST:ie}=N(98093);const{editWithAST:ae,addWithAST:le}=N(226);const{decode:_e}=N(73432);const Ee=N(30697);const compose=(...E)=>E.reduce(((E,R)=>N=>R(E(N))),(E=>E));const removeStartFunc=E=>R=>ae(E.ast,R,{Start(E){E.remove()}});const getImportedGlobals=E=>{const R=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){R.push(E)}}});return R};const getCountImportedFunc=E=>{let R=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){R++}}});return R};const getNextTypeIndex=E=>{const R=G.getSectionMetadata(E,"type");if(R===undefined){return G.indexLiteral(0)}return G.indexLiteral(R.vectorOfSize.value)};const getNextFuncIndex=(E,R)=>{const N=G.getSectionMetadata(E,"func");if(N===undefined){return G.indexLiteral(0+R)}const $=N.vectorOfSize.value;return G.indexLiteral($+R)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>R=>{const N=E.additionalInitCode;const $=[];R=ae(E.ast,R,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const R=E.node.descr;R.mutability="var";const N=[createDefaultInitForGlobal(R),G.instruction("end")];$.push(G.global(R,N));E.remove()}},Global(E){const{node:R}=E;const[j]=R.init;if(j.id==="get_global"){R.globalType.mutability="var";const E=j.args[0];R.init=[createDefaultInitForGlobal(R.globalType),G.instruction("end")];N.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral($.length)]))}$.push(R);E.remove()}});return le(E.ast,R,$)};const rewriteExportNames=({ast:E,moduleGraph:R,module:N,externalExports:$,runtime:j})=>q=>ae(E,q,{ModuleExport(E){const q=$.has(E.node.name);if(q){E.remove();return}const G=R.getExportsInfo(N).getUsedName(E.node.name,j);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:R})=>N=>ae(E,N,{ModuleImport(E){const N=R.get(E.node.module+":"+E.node.name);if(N!==undefined){E.node.module=N.module;E.node.name=N.name}}});const addInitFunction=({ast:E,initFuncId:R,startAtFuncOffset:N,importedGlobals:$,additionalInitCode:j,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const _e=$.map((E=>{const R=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,R)}));const Ee=[];$.forEach(((E,R)=>{const N=[G.indexLiteral(R)];const $=[G.instruction("get_local",N),G.instruction("set_global",N)];Ee.push(...$)}));if(typeof N==="number"){Ee.push(G.callInstruction(G.numberLiteralFromRaw(N)))}for(const E of j){Ee.push(E)}Ee.push(G.instruction("end"));const we=[];const Ie=G.signature(_e,we);const Me=G.func(R,Ie,Ee);const Te=G.typeInstruction(undefined,Ie);const Ne=G.indexInFuncSection(ie);const Be=G.moduleExport(R.value,G.moduleExportDescr("Func",q));return le(E,ae,[Me,Be,Ne,Te])};const getUsedDependencyMap=(E,R,N)=>{const $=new Map;for(const j of q.getUsedDependencies(E,R,N)){const E=j.dependency;const R=E.request;const N=E.name;$.set(R+":"+N,j)}return $};const we=new Set(["webassembly"]);class WebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return we}getSize(E,R){const N=E.originalSource();if(!N){return 0}return N.size()}generate(E,{moduleGraph:R,runtime:N}){const j=E.originalSource().source();const q=G.identifier("");const ae=_e(j,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const le=ie(ae.body[0]);const we=getImportedGlobals(ae);const Ie=getCountImportedFunc(ae);const Me=le.getStart();const Te=getNextFuncIndex(ae,Ie);const Ne=getNextTypeIndex(ae);const Be=getUsedDependencyMap(R,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof Ee)).map((E=>{const R=E;return R.exportName})));const je=[];const ze=compose(rewriteExportNames({ast:ae,moduleGraph:R,module:E,externalExports:Le,runtime:N}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:je}),rewriteImports({ast:ae,usedDependencyMap:Be}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:we,additionalInitCode:je,startAtFuncOffset:Me,nextFuncIndex:Te,nextTypeIndex:Ne}));const Ue=ze(j);const qe=Buffer.from(Ue);return new $(qe)}}E.exports=WebAssemblyGenerator},74167:(E,R,N)=>{"use strict";const $=N(81627);const getInitialModuleChains=(E,R,N,$)=>{const j=[{head:E,message:E.readableIdentifier($)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of j){const{head:ae,message:le}=E;let _e=true;const Ee=new Set;for(const E of R.getIncomingConnections(ae)){const R=E.originModule;if(R){if(!N.getModuleChunks(R).some((E=>E.canBeInitial())))continue;_e=false;if(Ee.has(R))continue;Ee.add(R);const q=R.readableIdentifier($);const ae=E.explanation?` (${E.explanation})`:"";const we=`${q}${ae} --\x3e ${le}`;if(ie.has(R)){G.add(`... --\x3e ${we}`);continue}ie.add(R);j.push({head:R,message:we})}else{_e=false;const R=E.explanation?`(${E.explanation}) --\x3e ${le}`:le;q.add(R)}}if(_e){q.add(le)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends ${constructor(E,R,N,$){const j=getInitialModuleChains(E,R,N,$);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${j.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,R,N)=>{"use strict";const{RawSource:$}=N(48135);const{UsageState:j}=N(76632);const q=N(36253);const G=N(63272);const ie=N(76150);const ae=N(58159);const le=N(79983);const _e=N(30697);const Ee=N(33081);const we=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return we}getSize(E,R){return 95+E.dependencies.length*5}generate(E,R){const{runtimeTemplate:N,moduleGraph:q,chunkGraph:we,runtimeRequirements:Ie,runtime:Me}=R;const Te=[];const Ne=q.getExportsInfo(E);let Be=false;const Le=new Map;const je=[];let ze=0;for(const R of E.dependencies){const $=R&&R instanceof le?R:undefined;if(q.getModule(R)){let j=Le.get(q.getModule(R));if(j===undefined){Le.set(q.getModule(R),j={importVar:`m${ze}`,index:ze,request:$&&$.userRequest||undefined,names:new Set,reexports:[]});ze++}if(R instanceof Ee){j.names.add(R.name);if(R.description.type==="GlobalType"){const $=R.name;const G=q.getModule(R);if(G){const ie=q.getExportsInfo(G).getUsedName($,Me);if(ie){je.push(N.exportFromImport({moduleGraph:q,module:G,request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Me,runtimeRequirements:Ie}))}}}}if(R instanceof _e){j.names.add(R.name);const $=q.getExportsInfo(E).getUsedName(R.exportName,Me);if($){Ie.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify($)}]`;const le=ae.asString([`${G} = ${N.exportFromImport({moduleGraph:q,module:q.getModule(R),request:R.request,importVar:j.importVar,originModule:E,exportName:R.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Te,runtime:Me,runtimeRequirements:Ie})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(R.valueType)} }, ${G});`]);j.reexports.push(le);Be=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:R,request:$,reexports:j}])=>{const q=N.importStatement({module:E,chunkGraph:we,request:$,importVar:R,originModule:E,runtimeRequirements:Ie});return q[0]+q[1]+j.join("\n")})));const qe=Ne.otherExportsInfo.getUsed(Me)===j.Unused&&!Be;Ie.add(ie.module);Ie.add(ie.moduleId);Ie.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(Me)!==j.Unused){Ie.add(ie.makeNamespaceObject);Ie.add(ie.exports)}if(!qe){Ie.add(ie.exports)}const Ge=new $(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(Me)!==j.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",qe?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${je.join(", ")})`].join("\n"));return G.addToSource(Ge,Te,R)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,R,N)=>{"use strict";const $=N(36253);const j=N(30697);const q=N(33081);const{compareModulesByIdentifier:G}=N(68673);const ie=N(91671);const ae=N(74167);const le=ie((()=>N(56419)));const _e=ie((()=>N(59363)));const Ee=ie((()=>N(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(q,R);E.dependencyFactories.set(j,R);R.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));R.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();const R=le();return $.byType({javascript:new E,webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((R,N)=>{const{chunkGraph:$}=E;const{chunk:j,outputOptions:q,codeGenerationResults:ie}=N;for(const E of $.getOrderedChunkModulesIterable(j,G)){if(E.type==="webassembly/sync"){const N=q.webassemblyModuleFilename;R.push({render:()=>ie.getSource(E,j.runtime,"webassembly"),filenameTemplate:N,pathOptions:{module:E,runtime:j.runtime,chunkGraph:$},auxiliary:true,identifier:`webassemblyModule${$.getModuleId(E)}`,hash:$.getModuleHash(E,j.runtime)})}}return R}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const R=E.chunkGraph;const N=new Set;for(const $ of E.chunks){if($.canBeInitial()){for(const E of R.getChunkModulesIterable($)){if(E.type==="webassembly/sync"){N.add(E)}}}}for(const R of N){E.errors.push(new ae(R,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,R,N)=>{"use strict";const $=N(98093);const{moduleContextFromModuleAST:j}=N(98093);const{decode:q}=N(73432);const G=N(2172);const ie=N(96076);const ae=N(30697);const le=N(33081);const _e=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const R of E.params){if(!_e.has(R.valtype)){return`${R.valtype} as parameter`}}for(const R of E.results){if(!_e.has(R))return`${R} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const R of E.args){if(!_e.has(R)){return`${R} as parameter`}}for(const R of E.result){if(!_e.has(R))return`${R} as result`}return null};const Ee={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,R){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}R.module.buildInfo.strict=true;R.module.buildMeta.exportsType="namespace";const N=q(E,Ee);const G=N.body[0];const we=j(G);const Ie=[];let Me=R.module.buildMeta.jsIncompatibleExports=undefined;const Te=[];$.traverse(G,{ModuleExport({node:E}){const N=E.descr;if(N.exportType==="Func"){const $=N.id.value;const j=we.getFunction($);const q=getJsIncompatibleTypeOfFuncSignature(j);if(q){if(Me===undefined){Me=R.module.buildMeta.jsIncompatibleExports={}}Me[E.name]=q}}Ie.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const N=Te[E.descr.id.value];if(N){const $=new ae(E.name,N.module,N.name,N.descr.valtype);R.module.addDependency($)}}},Global({node:E}){const R=E.init[0];let N=null;if(R.id==="get_global"){const E=R.args[0].value;if(E{"use strict";const $=N(58159);const j=N(33081);const q="a";const getUsedDependencies=(E,R,N)=>{const G=[];let ie=0;for(const ae of R.dependencies){if(ae instanceof j){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const R=ae.name;if(N){G.push({dependency:ae,name:$.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:R,module:ae.request})}}}return G};R.getUsedDependencies=getUsedDependencies;R.MANGLED_MODULE=q},69085:(E,R,N)=>{"use strict";const $=new WeakMap;const getEnabledTypes=E=>{let R=$.get(E);if(R===undefined){R=new Set;$.set(E,R)}return R};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,R){getEnabledTypes(E).add(R)}static checkEnabled(E,R){if(!getEnabledTypes(E).has(R)){throw new Error(`Library type "${R}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:R}=this;const $=getEnabledTypes(E);if($.has(R))return;$.add(R);if(typeof R==="string"){switch(R){case"fetch":{const R=N(71100);const $=N(52687);new R({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new $).apply(E);break}case"async-node":{const $=N(71049);const j=N(21273);new $({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new j({type:R}).apply(E);break}case"async-node-module":{const $=N(21273);new $({type:R,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${R}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,R,N)=>{"use strict";const $=N(76150);const j=N(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/async"))){return}N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,R,N)=>{"use strict";const $=N(76150);const j=N(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const R=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.wasmLoading!==undefined?N.wasmLoading:R;return $==="fetch"};const generateLoadBinaryCode=E=>`fetch(${$.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((R,N)=>{if(!isEnabledForChunk(R))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(R,(E=>E.type==="webassembly/sync"))){return}N.add($.moduleCache);N.add($.publicPath);E.addRuntimeModule(R,new j({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:N}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,R,N)=>{"use strict";const $=N(76150);const j=N(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="jsonp"};const N=new WeakSet;const handler=(R,q)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;q.add($.moduleFactoriesAddOnly);q.add($.hasOwnProperty);E.addRuntimeModule(R,new j(q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.loadScript);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,R,N)=>{"use strict";const{SyncWaterfallHook:$}=N(92960);const j=N(3080);const q=N(76150);const G=N(66804);const ie=N(58159);const ae=N(18161).chunkHasJs;const{getInitialChunkIds:le}=N(13085);const _e=N(87274);const Ee=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof j)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let R=Ee.get(E);if(R===undefined){R={linkPreload:new $(["source","chunk"]),linkPrefetch:new $(["source","chunk"])};Ee.set(E,R)}return R}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:R,chunk:$}=this;const{runtimeTemplate:j,outputOptions:{globalObject:G,chunkLoadingGlobal:Ee,hotUpdateGlobal:we,crossOriginLoading:Ie,scriptType:Me}}=R;const{linkPreload:Te,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(R);const Be=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const je=this._runtimeRequirements.has(q.ensureChunkHandlers);const ze=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const qe=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Ge=this._runtimeRequirements.has(q.hmrDownloadManifest);const He=this._runtimeRequirements.has(q.prefetchChunkHandlers);const We=this._runtimeRequirements.has(q.preloadChunkHandlers);const Ve=`${G}[${JSON.stringify(Ee)}]`;const Ke=E.getChunkConditionMap($,ae);const Qe=_e(Ke);const Je=le($,E);const Xe=qe?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Xe?`${Xe} = ${Xe} || `:""}{`,ie.indent(Array.from(Je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",je?ie.asString([`${Be}.j = ${j.basicFunction("chunkId, promises",Qe!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Qe===true?"if(true) { // all chunks have JS":`if(${Qe("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${j.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",He&&Qe!==false?`${q.prefetchChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Ie?`link.crossOrigin = ${JSON.stringify(Ie)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),$),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",We&&Qe!==false?`${q.preloadChunkHandlers}.j = ${j.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Qe===true?"true":Qe("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Te.call(ie.asString(["var link = document.createElement('link');",Me?`link.type = ${JSON.stringify(Me)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Ie?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Ie)};`),"}"]):""]),$),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",qe?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${j.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${j.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(we)}] = ${j.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(N(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",Ge?ie.asString([`${q.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${j.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",ze||je?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${j.basicFunction("parentChunkLoadingFunction, data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${j.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${Ve} = ${Ve} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);const q=N(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new $).apply(E);new j("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,R,N)=>{"use strict";const $=N(73837);const j=N(63221);const q=N(46312);const G=N(63076);const ie=N(63433);const ae=N(81721);const{applyWebpackOptionsDefaults:le,applyWebpackOptionsBaseDefaults:_e}=N(54411);const{getNormalizedWebpackOptions:Ee}=N(96590);const we=N(93632);const Ie=N(91671);const Me=Ie((()=>N(33316)));const createMultiCompiler=(E,R)=>{const N=E.map((E=>createCompiler(E)));const $=new ie(N,R);for(const E of N){if(E.options.dependencies){$.setDependencies(E,E.options.dependencies)}}return $};const createCompiler=E=>{const R=Ee(E);_e(R);const N=new G(R.context,R);new we({infrastructureLogging:R.infrastructureLogging}).apply(N);if(Array.isArray(R.plugins)){for(const E of R.plugins){if(typeof E==="function"){E.call(N,N)}else{E.apply(N)}}}le(R);N.hooks.environment.call();N.hooks.afterEnvironment.call();(new ae).process(R,N);N.hooks.initialize.call();return N};const webpack=(E,R)=>{const create=()=>{if(!j(E)){Me()(q,E)}let R;let N=false;let $;if(Array.isArray(E)){R=createMultiCompiler(E,E);N=E.some((E=>E.watch));$=E.map((E=>E.watchOptions||{}))}else{const j=E;R=createCompiler(j);N=j.watch;$=j.watchOptions||{}}return{compiler:R,watch:N,watchOptions:$}};if(R){try{const{compiler:E,watch:N,watchOptions:$}=create();if(N){E.watch($,R)}else{E.run(((N,$)=>{E.close((E=>{R(N||E,$)}))}))}return E}catch(E){process.nextTick((()=>R(E)));return null}}else{const{compiler:E,watch:R}=create();if(R){$.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,R,N)=>{"use strict";const $=N(76150);const j=N(44160);const q=N(64997);const G=N(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const $=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return $==="import-scripts"};const N=new WeakSet;const handler=(R,j)=>{if(N.has(R))return;N.add(R);if(!isEnabledForChunk(R))return;const q=!!E.outputOptions.trustedTypes;j.add($.moduleFactoriesAddOnly);j.add($.hasOwnProperty);if(q)j.add($.createScriptUrl);E.addRuntimeModule(R,new G(j,q))};E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for($.createScriptUrl).tap("RuntimePlugin",((R,N)=>{E.addRuntimeModule(R,new j);return true}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getChunkUpdateScriptFilename);R.add($.moduleCache);R.add($.hmrModuleData);R.add($.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for($.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,R)=>{if(!isEnabledForChunk(E))return;R.add($.publicPath);R.add($.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,R,N)=>{"use strict";const $=N(76150);const j=N(66804);const q=N(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=N(18161);const{getInitialChunkIds:ae}=N(13085);const le=N(87274);const{getUndoPath:_e}=N(49197);class ImportScriptsChunkLoadingRuntimeModule extends j{constructor(E,R){super("importScripts chunk loading",j.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=R}generate(){const{chunk:E,chunkGraph:R,compilation:{runtimeTemplate:j,outputOptions:{globalObject:Ee,chunkLoadingGlobal:we,hotUpdateGlobal:Ie}},_withCreateScriptUrl:Me}=this;const Te=$.ensureChunkHandlers;const Ne=this.runtimeRequirements.has($.baseURI);const Be=this.runtimeRequirements.has($.ensureChunkHandlers);const Le=this.runtimeRequirements.has($.hmrDownloadUpdateHandlers);const je=this.runtimeRequirements.has($.hmrDownloadManifest);const ze=`${Ee}[${JSON.stringify(we)}]`;const Ue=le(R.getChunkConditionMap(E,ie));const qe=ae(E,R);const Ge=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const He=_e(Ge,this.compilation.outputOptions.path,false);const We=Le?`${$.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${$.baseURI} = self.location + ${JSON.stringify(He?"/../"+He:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(qe,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Be?q.asString(["// importScripts chunk loading",`var installChunk = ${j.basicFunction("data",[j.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${$.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Be?q.asString([`${Te}.i = ${j.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${Me?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${ze} = ${ze} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${Ee}[${JSON.stringify(Ie)}] = ${j.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${$.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${Me?`${$.createScriptUrl}(${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId))`:`${$.publicPath} + ${$.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(N(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,$.moduleCache).replace(/\$moduleFactories\$/g,$.moduleFactories).replace(/\$ensureChunkHandlers\$/g,$.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,$.hasOwnProperty).replace(/\$hmrModuleData\$/g,$.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,$.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,$.hmrInvalidateModuleHandlers)]):"// no HMR","",je?q.asString([`${$.hmrDownloadManifest} = ${j.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${$.publicPath} + ${$.getUpdateManifestFilename}()).then(${j.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,R,N)=>{"use strict";const $=N(41113);const j=N(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new $).apply(E);new j("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},3385:(E,R,N)=>{"use strict";Object.defineProperty(R,"__esModule",{value:true});R.importAssertions=importAssertions;var $=_interopRequireWildcard(N(14150));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var R=new WeakMap;var N=new WeakMap;return(_getRequireWildcardCache=function(E){return E?N:R})(E)}function _interopRequireWildcard(E,R){if(!R&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var N=_getRequireWildcardCache(R);if(N&&N.has(E)){return N.get(E)}var $={};var j=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=j?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty($,q,G)}else{$[q]=E[q]}}}$.default=E;if(N){N.set(E,$)}return $}const j="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,le=4;function importAssertions(E){const R=E.acorn||$;const{tokTypes:N,TokenType:ae}=R;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let R=0;for(;R=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(N._default)){this.checkExport(R,"default",this.lastTokStart);var $;if(this.type===N._function||($=this.isAsyncFunction())){var j=this.startNode();this.next();if($){this.next()}E.declaration=this.parseFunction(j,ie|le,false,$)}else if(this.type===N._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==N.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const R=this.parseImportAssertions();if(R){E.assertions=R}}}else{for(var G=0,ae=E.specifiers;GE){return false}N+=R[$+1];if(N>=E){return true}}}function isIdentifierStart(E,R){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)}function isIdentifierChar(E,R){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(R===false){return false}return isInAstralSet(E,le)||isInAstralSet(E,_e)}var Ee=function TokenType(E,R){if(R===void 0)R={};this.label=E;this.keyword=R.keyword;this.beforeExpr=!!R.beforeExpr;this.startsExpr=!!R.startsExpr;this.isLoop=!!R.isLoop;this.isAssign=!!R.isAssign;this.prefix=!!R.prefix;this.postfix=!!R.postfix;this.binop=R.binop||null;this.updateContext=null};function binop(E,R){return new Ee(E,{beforeExpr:true,binop:R})}var we={beforeExpr:true},Ie={startsExpr:true};var Me={};function kw(E,R){if(R===void 0)R={};R.keyword=E;return Me[E]=new Ee(E,R)}var Te={num:new Ee("num",Ie),regexp:new Ee("regexp",Ie),string:new Ee("string",Ie),name:new Ee("name",Ie),privateId:new Ee("privateId",Ie),eof:new Ee("eof"),bracketL:new Ee("[",{beforeExpr:true,startsExpr:true}),bracketR:new Ee("]"),braceL:new Ee("{",{beforeExpr:true,startsExpr:true}),braceR:new Ee("}"),parenL:new Ee("(",{beforeExpr:true,startsExpr:true}),parenR:new Ee(")"),comma:new Ee(",",we),semi:new Ee(";",we),colon:new Ee(":",we),dot:new Ee("."),question:new Ee("?",we),questionDot:new Ee("?."),arrow:new Ee("=>",we),template:new Ee("template"),invalidTemplate:new Ee("invalidTemplate"),ellipsis:new Ee("...",we),backQuote:new Ee("`",Ie),dollarBraceL:new Ee("${",{beforeExpr:true,startsExpr:true}),eq:new Ee("=",{beforeExpr:true,isAssign:true}),assign:new Ee("_=",{beforeExpr:true,isAssign:true}),incDec:new Ee("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new Ee("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new Ee("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new Ee("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",we),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",we),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",we),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Ie),_if:kw("if"),_return:kw("return",we),_switch:kw("switch"),_throw:kw("throw",we),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Ie),_super:kw("super",Ie),_class:kw("class",Ie),_extends:kw("extends",we),_export:kw("export"),_import:kw("import",Ie),_null:kw("null",Ie),_true:kw("true",Ie),_false:kw("false",Ie),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Be=new RegExp(Ne.source,"g");function isNewLine(E,R){return E===10||E===13||!R&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var je=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var ze=Object.prototype;var Ue=ze.hasOwnProperty;var qe=ze.toString;function has(E,R){return Ue.call(E,R)}var Ge=Array.isArray||function(E){return qe.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var He=function Position(E,R){this.line=E;this.column=R};He.prototype.offset=function offset(E){return new He(this.line,this.column+E)};var We=function SourceLocation(E,R,N){this.start=R;this.end=N;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,R){for(var N=1,$=0;;){Be.lastIndex=$;var j=Be.exec(E);if(j&&j.index=2015){R.ecmaVersion-=2009}if(R.allowReserved==null){R.allowReserved=R.ecmaVersion<5}if(Ge(R.onToken)){var $=R.onToken;R.onToken=function(E){return $.push(E)}}if(Ge(R.onComment)){R.onComment=pushComment(R,R.onComment)}return R}function pushComment(E,R){return function(N,$,j,q,G,ie){var ae={type:N?"Block":"Line",value:$,start:j,end:q};if(E.locations){ae.loc=new We(this,G,ie)}if(E.ranges){ae.range=[j,q]}R.push(ae)}}var Qe=1,Je=2,Xe=Qe|Je,Ye=4,Ze=8,et=16,tt=32,nt=64,rt=128;function functionFlags(E,R){return Je|(E?Ye:0)|(R?Ze:0)}var st=0,it=1,ot=2,lt=3,ct=4,ut=5;var pt=function Parser(E,N,j){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp($[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=R[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+R.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+R.strictBind);this.input=String(N);this.containsEsc=false;if(j){this.pos=j;this.lineStart=this.input.lastIndexOf("\n",j-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Te.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Qe);this.regexpState=null;this.privateNameStack=[]};var dt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};pt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};dt.inFunction.get=function(){return(this.currentVarScope().flags&Je)>0};dt.inGenerator.get=function(){return(this.currentVarScope().flags&Ze)>0&&!this.currentVarScope().inClassFieldInit};dt.inAsync.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};dt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var R=this.scopeStack[E];if(R.inClassFieldInit){return false}if(R.flags&Je){return(R.flags&Ye)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};dt.allowSuper.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&nt)>0||N||this.options.allowSuperOutsideMethod};dt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&rt)>0};dt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};dt.inNonArrowFunction.get=function(){var E=this.currentThisScope();var R=E.flags;var N=E.inClassFieldInit;return(R&Je)>0||N};pt.extend=function extend(){var E=[],R=arguments.length;while(R--)E[R]=arguments[R];var N=this;for(var $=0;$=,?^&]/.test(j)||j==="!"&&this.input.charAt($+1)==="=")}E+=R[0].length;je.lastIndex=E;E+=je.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};ft.eat=function(E){if(this.type===E){this.next();return true}else{return false}};ft.isContextual=function(E){return this.type===Te.name&&this.value===E&&!this.containsEsc};ft.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};ft.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};ft.canInsertSemicolon=function(){return this.type===Te.eof||this.type===Te.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};ft.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ft.semicolon=function(){if(!this.eat(Te.semi)&&!this.insertSemicolon()){this.unexpected()}};ft.afterTrailingComma=function(E,R){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!R){this.next()}return true}};ft.expect=function(E){this.eat(E)||this.unexpected()};ft.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ft.checkPatternErrors=function(E,R){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var N=R?E.parenthesizedAssign:E.parenthesizedBind;if(N>-1){this.raiseRecoverable(N,"Parenthesized pattern")}};ft.checkExpressionErrors=function(E,R){if(!E){return false}var N=E.shorthandAssign;var $=E.doubleProto;if(!R){return N>=0||$>=0}if(N>=0){this.raise(N,"Shorthand property assignments are valid only in destructuring patterns")}if($>=0){this.raiseRecoverable($,"Redefinition of __proto__ property")}};ft.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&$<56320){return true}if(E){return false}if($===123){return true}if(isIdentifierStart($,true)){var q=N+1;while(isIdentifierChar($=this.input.charCodeAt(q),true)){++q}if($===92||$>55295&&$<56320){return true}var G=this.input.slice(N,q);if(!j.test(G)){return true}}return false};mt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}je.lastIndex=this.pos;var E=je.exec(this.input);var R=this.pos+E[0].length,N;return!Ne.test(this.input.slice(this.pos,R))&&this.input.slice(R,R+8)==="function"&&(R+8===this.input.length||!(isIdentifierChar(N=this.input.charCodeAt(R+8))||N>55295&&N<56320))};mt.parseStatement=function(E,R,N){var $=this.type,j=this.startNode(),q;if(this.isLet(E)){$=Te._var;q="let"}switch($){case Te._break:case Te._continue:return this.parseBreakContinueStatement(j,$.keyword);case Te._debugger:return this.parseDebuggerStatement(j);case Te._do:return this.parseDoStatement(j);case Te._for:return this.parseForStatement(j);case Te._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(j,false,!E);case Te._class:if(E){this.unexpected()}return this.parseClass(j,true);case Te._if:return this.parseIfStatement(j);case Te._return:return this.parseReturnStatement(j);case Te._switch:return this.parseSwitchStatement(j);case Te._throw:return this.parseThrowStatement(j);case Te._try:return this.parseTryStatement(j);case Te._const:case Te._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement(j,q);case Te._while:return this.parseWhileStatement(j);case Te._with:return this.parseWithStatement(j);case Te.braceL:return this.parseBlock(true,j);case Te.semi:return this.parseEmptyStatement(j);case Te._export:case Te._import:if(this.options.ecmaVersion>10&&$===Te._import){je.lastIndex=this.pos;var G=je.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement(j,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!R){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return $===Te._import?this.parseImport(j):this.parseExport(j,N);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement(j,true,!E)}var le=this.value,_e=this.parseExpression();if($===Te.name&&_e.type==="Identifier"&&this.eat(Te.colon)){return this.parseLabeledStatement(j,le,_e,E)}else{return this.parseExpressionStatement(j,_e)}}};mt.parseBreakContinueStatement=function(E,R){var N=R==="break";this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Te.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var $=0;for(;$=6){this.eat(Te.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};mt.parseForStatement=function(E){this.next();var R=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(gt);this.enterScope(0);this.expect(Te.parenL);if(this.type===Te.semi){if(R>-1){this.unexpected(R)}return this.parseFor(E,null)}var N=this.isLet();if(this.type===Te._var||this.type===Te._const||N){var $=this.startNode(),j=N?"let":this.value;this.next();this.parseVar($,true,j);this.finishNode($,"VariableDeclaration");if((this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&$.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}return this.parseForIn(E,$)}if(R>-1){this.unexpected(R)}return this.parseFor(E,$)}var q=new DestructuringErrors;var G=this.parseExpression(R>-1?"await":true,q);if(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Te._in){if(R>-1){this.unexpected(R)}}else{E.await=R>-1}}this.toAssignable(G,false,q);this.checkLValPattern(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(R>-1){this.unexpected(R)}return this.parseFor(E,G)};mt.parseFunctionStatement=function(E,R,N){this.next();return this.parseFunction(E,bt|(N?0:_t),false,R)};mt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Te._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};mt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Te.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};mt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Te.braceL);this.labels.push(yt);this.enterScope(0);var R;for(var N=false;this.type!==Te.braceR;){if(this.type===Te._case||this.type===Te._default){var $=this.type===Te._case;if(R){this.finishNode(R,"SwitchCase")}E.cases.push(R=this.startNode());R.consequent=[];this.next();if($){R.test=this.parseExpression()}else{if(N){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}N=true;R.test=null}this.expect(Te.colon)}else{if(!R){this.unexpected()}R.consequent.push(this.parseStatement(null))}}this.exitScope();if(R){this.finishNode(R,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};mt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var vt=[];mt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Te._catch){var R=this.startNode();this.next();if(this.eat(Te.parenL)){R.param=this.parseBindingAtom();var N=R.param.type==="Identifier";this.enterScope(N?tt:0);this.checkLValPattern(R.param,N?ct:ot);this.expect(Te.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}R.param=null;this.enterScope(0)}R.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(R,"CatchClause")}E.finalizer=this.eat(Te._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};mt.parseVarStatement=function(E,R){this.next();this.parseVar(E,false,R);this.semicolon();return this.finishNode(E,"VariableDeclaration")};mt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(gt);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};mt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};mt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};mt.parseLabeledStatement=function(E,R,N,$){for(var j=0,q=this.labels;j=0;ae--){var le=this.labels[ae];if(le.statementStart===E.start){le.statementStart=this.start;le.kind=ie}else{break}}this.labels.push({name:R,kind:ie,statementStart:this.start});E.body=this.parseStatement($?$.indexOf("label")===-1?$+"label":$:"label");this.labels.pop();E.label=N;return this.finishNode(E,"LabeledStatement")};mt.parseExpressionStatement=function(E,R){E.expression=R;this.semicolon();return this.finishNode(E,"ExpressionStatement")};mt.parseBlock=function(E,R,N){if(E===void 0)E=true;if(R===void 0)R=this.startNode();R.body=[];this.expect(Te.braceL);if(E){this.enterScope(0)}while(this.type!==Te.braceR){var $=this.parseStatement(null);R.body.push($)}if(N){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(R,"BlockStatement")};mt.parseFor=function(E,R){E.init=R;this.expect(Te.semi);E.test=this.type===Te.semi?null:this.parseExpression();this.expect(Te.semi);E.update=this.type===Te.parenR?null:this.parseExpression();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};mt.parseForIn=function(E,R){var N=this.type===Te._in;this.next();if(R.type==="VariableDeclaration"&&R.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||R.kind!=="var"||R.declarations[0].id.type!=="Identifier")){this.raise(R.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=R;E.right=N?this.parseExpression():this.parseMaybeAssign();this.expect(Te.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,N?"ForInStatement":"ForOfStatement")};mt.parseVar=function(E,R,N){E.declarations=[];E.kind=N;for(;;){var $=this.startNode();this.parseVarId($,N);if(this.eat(Te.eq)){$.init=this.parseMaybeAssign(R)}else if(N==="const"&&!(this.type===Te._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if($.id.type!=="Identifier"&&!(R&&(this.type===Te._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{$.init=null}E.declarations.push(this.finishNode($,"VariableDeclarator"));if(!this.eat(Te.comma)){break}}return E};mt.parseVarId=function(E,R){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,R==="var"?it:ot,false)};var bt=1,_t=2,xt=4;mt.parseFunction=function(E,R,N,$){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!$){if(this.type===Te.star&&R&_t){this.unexpected()}E.generator=this.eat(Te.star)}if(this.options.ecmaVersion>=8){E.async=!!$}if(R&bt){E.id=R&xt&&this.type!==Te.name?null:this.parseIdent();if(E.id&&!(R&_t)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?it:ot:lt)}}var j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(R&bt)){E.id=this.type===Te.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,N,false);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,R&bt?"FunctionDeclaration":"FunctionExpression")};mt.parseFunctionParams=function(E){this.expect(Te.parenL);E.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};mt.parseClass=function(E,R){this.next();var N=this.strict;this.strict=true;this.parseClassId(E,R);this.parseClassSuper(E);var $=this.enterClassBody();var j=this.startNode();var q=false;j.body=[];this.expect(Te.braceL);while(this.type!==Te.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){j.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted($,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=N;this.next();E.body=this.finishNode(j,"ClassBody");this.exitClassBody();return this.finishNode(E,R?"ClassDeclaration":"ClassExpression")};mt.parseClassElement=function(E){if(this.eat(Te.semi)){return null}var R=this.options.ecmaVersion;var N=this.startNode();var $="";var j=false;var q=false;var G="method";N.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Te.star){N.static=true}else{$="static"}}if(!$&&R>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Te.star)&&!this.canInsertSemicolon()){q=true}else{$="async"}}if(!$&&(R>=9||!q)&&this.eat(Te.star)){j=true}if(!$&&!q&&!j){var ie=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ie}else{$=ie}}}if($){N.computed=false;N.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);N.key.name=$;this.finishNode(N.key,"Identifier")}else{this.parseClassElementName(N)}if(R<13||this.type===Te.parenL||G!=="method"||j||q){var ae=!N.static&&checkKeyName(N,"constructor");var le=ae&&E;if(ae&&G!=="method"){this.raise(N.key.start,"Constructor can't have get/set modifier")}N.kind=ae?"constructor":G;this.parseClassMethod(N,j,q,le)}else{this.parseClassField(N)}return N};mt.isClassElementNameStart=function(){return this.type===Te.name||this.type===Te.privateId||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword};mt.parseClassElementName=function(E){if(this.type===Te.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};mt.parseClassMethod=function(E,R,N,$){var j=E.key;if(E.kind==="constructor"){if(R){this.raise(j.start,"Constructor can't be a generator")}if(N){this.raise(j.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise(j.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(R,N,$);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};mt.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Te.eq)){var R=this.currentThisScope();var N=R.inClassFieldInit;R.inClassFieldInit=true;E.value=this.parseMaybeAssign();R.inClassFieldInit=N}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};mt.parseClassId=function(E,R){if(this.type===Te.name){E.id=this.parseIdent();if(R){this.checkLValSimple(E.id,ot,false)}}else{if(R===true){this.unexpected()}E.id=null}};mt.parseClassSuper=function(E){E.superClass=this.eat(Te._extends)?this.parseExprSubscripts():null};mt.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};mt.exitClassBody=function(){var E=this.privateNameStack.pop();var R=E.declared;var N=E.used;var $=this.privateNameStack.length;var j=$===0?null:this.privateNameStack[$-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(R,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Te._default)){this.checkExport(R,"default",this.lastTokStart);var N;if(this.type===Te._function||(N=this.isAsyncFunction())){var $=this.startNode();this.next();if(N){this.next()}E.declaration=this.parseFunction($,bt|xt,false,N)}else if(this.type===Te._class){var j=this.startNode();E.declaration=this.parseClass(j,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(R,E.declaration.declarations)}else{this.checkExport(R,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(R);if(this.eatContextual("from")){if(this.type!==Te.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(N){this.checkPatternErrors(N,true)}for(var $=0,j=E.properties;$=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Te._function)){return this.parseFunction(this.startNodeAt($,j),0,false,true)}if(N&&!this.canInsertSemicolon()){if(this.eat(Te.arrow)){return this.parseArrowExpression(this.startNodeAt($,j),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Te.name&&!q&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Te.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt($,j),[G],true)}}return G;case Te.regexp:var ie=this.value;R=this.parseLiteral(ie.value);R.regex={pattern:ie.pattern,flags:ie.flags};return R;case Te.num:case Te.string:return this.parseLiteral(this.value);case Te._null:case Te._true:case Te._false:R=this.startNode();R.value=this.type===Te._null?null:this.type===Te._true;R.raw=this.type.keyword;this.next();return this.finishNode(R,"Literal");case Te.parenL:var ae=this.start,le=this.parseParenAndDistinguishExpression(N);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(le)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return le;case Te.bracketL:R=this.startNode();this.next();R.elements=this.parseExprList(Te.bracketR,true,true,E);return this.finishNode(R,"ArrayExpression");case Te.braceL:return this.parseObj(false,E);case Te._function:R=this.startNode();this.next();return this.parseFunction(R,0);case Te._class:return this.parseClass(this.startNode(),false);case Te._new:return this.parseNew();case Te.backQuote:return this.parseTemplate();case Te._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Et.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var R=this.parseIdent(true);switch(this.type){case Te.parenL:return this.parseDynamicImport(E);case Te.dot:E.meta=R;return this.parseImportMeta(E);default:this.unexpected()}};Et.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Te.parenR)){var R=this.start;if(this.eat(Te.comma)&&this.eat(Te.parenR)){this.raiseRecoverable(R,"Trailing comma is not allowed in import()")}else{this.unexpected(R)}}return this.finishNode(E,"ImportExpression")};Et.parseImportMeta=function(E){this.next();var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(R){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Et.parseLiteral=function(E){var R=this.startNode();R.value=E;R.raw=this.input.slice(this.start,this.end);if(R.raw.charCodeAt(R.raw.length-1)===110){R.bigint=R.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(R,"Literal")};Et.parseParenExpression=function(){this.expect(Te.parenL);var E=this.parseExpression();this.expect(Te.parenR);return E};Et.parseParenAndDistinguishExpression=function(E){var R=this.start,N=this.startLoc,$,j=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,le=false;var _e=new DestructuringErrors,Ee=this.yieldPos,we=this.awaitPos,Ie;this.yieldPos=0;this.awaitPos=0;while(this.type!==Te.parenR){ae?ae=false:this.expect(Te.comma);if(j&&this.afterTrailingComma(Te.parenR,true)){le=true;break}else if(this.type===Te.ellipsis){Ie=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,_e,this.parseParenItem))}}var Me=this.start,Ne=this.startLoc;this.expect(Te.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Te.arrow)){this.checkPatternErrors(_e,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=Ee;this.awaitPos=we;return this.parseParenArrowList(R,N,ie)}if(!ie.length||le){this.unexpected(this.lastTokStart)}if(Ie){this.unexpected(Ie)}this.checkExpressionErrors(_e,true);this.yieldPos=Ee||this.yieldPos;this.awaitPos=we||this.awaitPos;if(ie.length>1){$=this.startNodeAt(q,G);$.expressions=ie;this.finishNodeAt($,"SequenceExpression",Me,Ne)}else{$=ie[0]}}else{$=this.parseParenExpression()}if(this.options.preserveParens){var Be=this.startNodeAt(R,N);Be.expression=$;return this.finishNode(Be,"ParenthesizedExpression")}else{return $}};Et.parseParenItem=function(E){return E};Et.parseParenArrowList=function(E,R,N){return this.parseArrowExpression(this.startNodeAt(E,R),N)};var wt=[];Et.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var R=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Te.dot)){E.meta=R;var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(N){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var $=this.start,j=this.startLoc,q=this.type===Te._import;E.callee=this.parseSubscripts(this.parseExprAtom(),$,j,true);if(q&&E.callee.type==="ImportExpression"){this.raise($,"Cannot use new with import()")}if(this.eat(Te.parenL)){E.arguments=this.parseExprList(Te.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=wt}return this.finishNode(E,"NewExpression")};Et.parseTemplateElement=function(E){var R=E.isTagged;var N=this.startNode();if(this.type===Te.invalidTemplate){if(!R){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}N.value={raw:this.value,cooked:null}}else{N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();N.tail=this.type===Te.backQuote;return this.finishNode(N,"TemplateElement")};Et.parseTemplate=function(E){if(E===void 0)E={};var R=E.isTagged;if(R===void 0)R=false;var N=this.startNode();this.next();N.expressions=[];var $=this.parseTemplateElement({isTagged:R});N.quasis=[$];while(!$.tail){if(this.type===Te.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Te.dollarBraceL);N.expressions.push(this.parseExpression());this.expect(Te.braceR);N.quasis.push($=this.parseTemplateElement({isTagged:R}))}this.next();return this.finishNode(N,"TemplateLiteral")};Et.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Te.name||this.type===Te.num||this.type===Te.string||this.type===Te.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Te.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Et.parseObj=function(E,R){var N=this.startNode(),$=true,j={};N.properties=[];this.next();while(!this.eat(Te.braceR)){if(!$){this.expect(Te.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Te.braceR)){break}}else{$=false}var q=this.parseProperty(E,R);if(!E){this.checkPropClash(q,j,R)}N.properties.push(q)}return this.finishNode(N,E?"ObjectPattern":"ObjectExpression")};Et.parseProperty=function(E,R){var N=this.startNode(),$,j,q,G;if(this.options.ecmaVersion>=9&&this.eat(Te.ellipsis)){if(E){N.argument=this.parseIdent(false);if(this.type===Te.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(N,"RestElement")}if(this.type===Te.parenL&&R){if(R.parenthesizedAssign<0){R.parenthesizedAssign=this.start}if(R.parenthesizedBind<0){R.parenthesizedBind=this.start}}N.argument=this.parseMaybeAssign(false,R);if(this.type===Te.comma&&R&&R.trailingComma<0){R.trailingComma=this.start}return this.finishNode(N,"SpreadElement")}if(this.options.ecmaVersion>=6){N.method=false;N.shorthand=false;if(E||R){q=this.start;G=this.startLoc}if(!E){$=this.eat(Te.star)}}var ie=this.containsEsc;this.parsePropertyName(N);if(!E&&!ie&&this.options.ecmaVersion>=8&&!$&&this.isAsyncProp(N)){j=true;$=this.options.ecmaVersion>=9&&this.eat(Te.star);this.parsePropertyName(N,R)}else{j=false}this.parsePropertyValue(N,E,$,j,q,G,R,ie);return this.finishNode(N,"Property")};Et.parsePropertyValue=function(E,R,N,$,j,q,G,ie){if((N||$)&&this.type===Te.colon){this.unexpected()}if(this.eat(Te.colon)){E.value=R?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Te.parenL){if(R){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(N,$)}else if(!R&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Te.comma&&this.type!==Te.braceR&&this.type!==Te.eq)){if(N||$){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var le=E.value.start;if(E.kind==="get"){this.raiseRecoverable(le,"getter should have no params")}else{this.raiseRecoverable(le,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(N||$){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=j}E.kind="init";if(R){E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else if(this.type===Te.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault(j,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Et.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Te.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Te.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Te.num||this.type===Te.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Et.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Et.parseMethod=function(E,R,N){var $=this.startNode(),j=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction($);if(this.options.ecmaVersion>=6){$.generator=E}if(this.options.ecmaVersion>=8){$.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(R,$.generator)|nt|(N?rt:0));this.expect(Te.parenL);$.params=this.parseBindingList(Te.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody($,false,true);this.yieldPos=j;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode($,"FunctionExpression")};Et.parseArrowExpression=function(E,R,N){var $=this.yieldPos,j=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(N,false)|et);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(R,true);this.parseFunctionBody(E,true,false);this.yieldPos=$;this.awaitPos=j;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Et.parseFunctionBody=function(E,R,N){var $=R&&this.type!==Te.braceL;var j=this.strict,q=false;if($){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!j||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!j&&!q&&!R&&!N&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ut)}E.body=this.parseBlock(false,undefined,q&&!j);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Et.isSimpleParamList=function(E){for(var R=0,N=E;R-1||j.functions.indexOf(E)>-1||j.var.indexOf(E)>-1;j.lexical.push(E);if(this.inModule&&j.flags&Qe){delete this.undefinedExports[E]}}else if(R===ct){var q=this.currentScope();q.lexical.push(E)}else if(R===lt){var G=this.currentScope();if(this.treatFunctionsAsVar){$=G.lexical.indexOf(E)>-1}else{$=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&tt&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){$=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Qe){delete this.undefinedExports[E]}if(ae.flags&Xe){break}}}if($){this.raiseRecoverable(N,"Identifier '"+E+"' has already been declared")}};At.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};At.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};At.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Xe){return R}}};At.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var R=this.scopeStack[E];if(R.flags&Xe&&!(R.flags&et)){return R}}};var Dt=function Node(E,R,N){this.type="";this.start=R;this.end=0;if(E.options.locations){this.loc=new We(E,N)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[R,0]}};var It=pt.prototype;It.startNode=function(){return new Dt(this,this.start,this.startLoc)};It.startNodeAt=function(E,R){return new Dt(this,E,R)};function finishNodeAt(E,R,N,$){E.type=R;E.end=N;if(this.options.locations){E.loc.end=$}if(this.options.ranges){E.range[1]=N}return E}It.finishNode=function(E,R){return finishNodeAt.call(this,E,R,this.lastTokEnd,this.lastTokEndLoc)};It.finishNodeAt=function(E,R,N,$){return finishNodeAt.call(this,E,R,N,$)};It.copyNode=function(E){var R=new Dt(this,E.start,this.startLoc);for(var N in E){R[N]=E[N]}return R};var Mt=function TokContext(E,R,N,$,j){this.token=E;this.isExpr=!!R;this.preserveSpace=!!N;this.override=$;this.generator=!!j};var Pt={b_stat:new Mt("{",false),b_expr:new Mt("{",true),b_tmpl:new Mt("${",false),p_stat:new Mt("(",false),p_expr:new Mt("(",true),q_tmpl:new Mt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Mt("function",false),f_expr:new Mt("function",true),f_expr_gen:new Mt("function",true,false,null,true),f_gen:new Mt("function",false,false,null,true)};var Tt=pt.prototype;Tt.initialContext=function(){return[Pt.b_stat]};Tt.braceIsBlock=function(E){var R=this.curContext();if(R===Pt.f_expr||R===Pt.f_stat){return true}if(E===Te.colon&&(R===Pt.b_stat||R===Pt.b_expr)){return!R.isExpr}if(E===Te._return||E===Te.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Te._else||E===Te.semi||E===Te.eof||E===Te.parenR||E===Te.arrow){return true}if(E===Te.braceL){return R===Pt.b_stat}if(E===Te._var||E===Te._const||E===Te.name){return false}return!this.exprAllowed};Tt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var R=this.context[E];if(R.token==="function"){return R.generator}}return false};Tt.updateContext=function(E){var R,N=this.type;if(N.keyword&&E===Te.dot){this.exprAllowed=false}else if(R=N.updateContext){R.call(this,E)}else{this.exprAllowed=N.beforeExpr}};Te.parenR.updateContext=Te.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Pt.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Te.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Pt.b_stat:Pt.b_expr);this.exprAllowed=true};Te.dollarBraceL.updateContext=function(){this.context.push(Pt.b_tmpl);this.exprAllowed=true};Te.parenL.updateContext=function(E){var R=E===Te._if||E===Te._for||E===Te._with||E===Te._while;this.context.push(R?Pt.p_stat:Pt.p_expr);this.exprAllowed=true};Te.incDec.updateContext=function(){};Te._function.updateContext=Te._class.updateContext=function(E){if(E.beforeExpr&&E!==Te._else&&!(E===Te.semi&&this.curContext()!==Pt.p_stat)&&!(E===Te._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Te.colon||E===Te.braceL)&&this.curContext()===Pt.b_stat)){this.context.push(Pt.f_expr)}else{this.context.push(Pt.f_stat)}this.exprAllowed=false};Te.backQuote.updateContext=function(){if(this.curContext()===Pt.q_tmpl){this.context.pop()}else{this.context.push(Pt.q_tmpl)}this.exprAllowed=false};Te.star.updateContext=function(E){if(E===Te._function){var R=this.context.length-1;if(this.context[R]===Pt.f_expr){this.context[R]=Pt.f_expr_gen}else{this.context[R]=Pt.f_gen}}this.exprAllowed=true};Te.name.updateContext=function(E){var R=false;if(this.options.ecmaVersion>=6&&E!==Te.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){R=true}}this.exprAllowed=R};var Ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Rt=Ot+" Extended_Pictographic";var Ft=Rt;var Nt=Ft+" EBase EComp EMod EPres ExtPict";var Bt={9:Ot,10:Rt,11:Ft,12:Nt};var Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var $t="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var jt=$t+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var zt=jt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ut=zt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var qt={9:$t,10:jt,11:zt,12:Ut};var Gt={};function buildUnicodeData(E){var R=Gt[E]={binary:wordsRegexp(Bt[E]+" "+Lt),nonBinary:{General_Category:wordsRegexp(Lt),Script:wordsRegexp(qt[E])}};R.nonBinary.Script_Extensions=R.nonBinary.Script;R.nonBinary.gc=R.nonBinary.General_Category;R.nonBinary.sc=R.nonBinary.Script;R.nonBinary.scx=R.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var Ht=pt.prototype;var Wt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Gt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Wt.prototype.reset=function reset(E,R,N){var $=N.indexOf("u")!==-1;this.start=E|0;this.source=R+"";this.flags=N;this.switchU=$&&this.parser.options.ecmaVersion>=6;this.switchN=$&&this.parser.options.ecmaVersion>=9};Wt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Wt.prototype.at=function at(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return-1}var j=N.charCodeAt(E);if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$){return j}var q=N.charCodeAt(E+1);return q>=56320&&q<=57343?(j<<10)+q-56613888:j};Wt.prototype.nextIndex=function nextIndex(E,R){if(R===void 0)R=false;var N=this.source;var $=N.length;if(E>=$){return $}var j=N.charCodeAt(E),q;if(!(R||this.switchU)||j<=55295||j>=57344||E+1>=$||(q=N.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Wt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Wt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Wt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Wt.prototype.eat=function eat(E,R){if(R===void 0)R=false;if(this.current(R)===E){this.advance(R);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Ht.validateRegExpFlags=function(E){var R=E.validFlags;var N=E.flags;for(var $=0;$-1){this.raise(E.start,"Duplicate regular expression flag")}}};Ht.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};Ht.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var R=0,N=E.backReferenceNames;R=9){N=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!N;return true}}E.pos=R;return false};Ht.regexp_eatQuantifier=function(E,R){if(R===void 0)R=false;if(this.regexp_eatQuantifierPrefix(E,R)){E.eat(63);return true}return false};Ht.regexp_eatQuantifierPrefix=function(E,R){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,R)};Ht.regexp_eatBracedQuantifier=function(E,R){var N=E.pos;if(E.eat(123)){var $=0,j=-1;if(this.regexp_eatDecimalDigits(E)){$=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){j=E.lastIntValue}if(E.eat(125)){if(j!==-1&&j<$&&!R){E.raise("numbers out of order in {} quantifier")}return true}}if(E.switchU&&!R){E.raise("Incomplete quantifier")}E.pos=N}return false};Ht.regexp_eatAtom=function(E){return this.regexp_eatPatternCharacters(E)||E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)};Ht.regexp_eatReverseSolidusAtomEscape=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatAtomEscape(E)){return true}E.pos=R}return false};Ht.regexp_eatUncapturingGroup=function(E){var R=E.pos;if(E.eat(40)){if(E.eat(63)&&E.eat(58)){this.regexp_disjunction(E);if(E.eat(41)){return true}E.raise("Unterminated group")}E.pos=R}return false};Ht.regexp_eatCapturingGroup=function(E){if(E.eat(40)){if(this.options.ecmaVersion>=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};Ht.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};Ht.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};Ht.regexp_eatSyntaxCharacter=function(E){var R=E.current();if(isSyntaxCharacter(R)){E.lastIntValue=R;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}Ht.regexp_eatPatternCharacters=function(E){var R=E.pos;var N=0;while((N=E.current())!==-1&&!isSyntaxCharacter(N)){E.advance()}return E.pos!==R};Ht.regexp_eatExtendedPatternCharacter=function(E){var R=E.current();if(R!==-1&&R!==36&&!(R>=40&&R<=43)&&R!==46&&R!==63&&R!==91&&R!==94&&R!==124){E.advance();return true}return false};Ht.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};Ht.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};Ht.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};Ht.regexp_eatRegExpIdentifierStart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierStart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}Ht.regexp_eatRegExpIdentifierPart=function(E){var R=E.pos;var N=this.options.ecmaVersion>=11;var $=E.current(N);E.advance(N);if($===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,N)){$=E.lastIntValue}if(isRegExpIdentifierPart($)){E.lastIntValue=$;return true}E.pos=R;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}Ht.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};Ht.regexp_eatBackReference=function(E){var R=E.pos;if(this.regexp_eatDecimalEscape(E)){var N=E.lastIntValue;if(E.switchU){if(N>E.maxBackReference){E.maxBackReference=N}return true}if(N<=E.numCapturingParens){return true}E.pos=R}return false};Ht.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};Ht.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};Ht.regexp_eatCControlLetter=function(E){var R=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=R}return false};Ht.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};Ht.regexp_eatControlEscape=function(E){var R=E.current();if(R===116){E.lastIntValue=9;E.advance();return true}if(R===110){E.lastIntValue=10;E.advance();return true}if(R===118){E.lastIntValue=11;E.advance();return true}if(R===102){E.lastIntValue=12;E.advance();return true}if(R===114){E.lastIntValue=13;E.advance();return true}return false};Ht.regexp_eatControlLetter=function(E){var R=E.current();if(isControlLetter(R)){E.lastIntValue=R%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}Ht.regexp_eatRegExpUnicodeEscapeSequence=function(E,R){if(R===void 0)R=false;var N=E.pos;var $=R||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var j=E.lastIntValue;if($&&j>=55296&&j<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=(j-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=j}return true}if($&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if($){E.raise("Invalid unicode escape")}E.pos=N}return false};function isValidUnicode(E){return E>=0&&E<=1114111}Ht.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var R=E.current();if(R!==99&&(!E.switchN||R!==107)){E.lastIntValue=R;E.advance();return true}return false};Ht.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var R=E.current();if(R>=49&&R<=57){do{E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}while((R=E.current())>=48&&R<=57);return true}return false};Ht.regexp_eatCharacterClassEscape=function(E){var R=E.current();if(isCharacterClassEscape(R)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(R===80||R===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}Ht.regexp_eatUnicodePropertyValueExpression=function(E){var R=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var N=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,N,$);return true}}E.pos=R;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,j);return true}return false};Ht.regexp_validateUnicodePropertyNameAndValue=function(E,R,N){if(!has(E.unicodeProperties.nonBinary,R)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[R].test(N)){E.raise("Invalid property value")}};Ht.regexp_validateUnicodePropertyNameOrValue=function(E,R){if(!E.unicodeProperties.binary.test(R)){E.raise("Invalid property name")}};Ht.regexp_eatUnicodePropertyName=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}Ht.regexp_eatUnicodePropertyValue=function(E){var R=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(R=E.current())){E.lastStringValue+=codePointToString(R);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}Ht.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};Ht.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};Ht.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.switchU&&(R===-1||N===-1)){E.raise("Invalid character class")}if(R!==-1&&N!==-1&&R>N){E.raise("Range out of order in character class")}}}};Ht.regexp_eatClassAtom=function(E){var R=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var N=E.current();if(N===99||isOctalDigit(N)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=R}var $=E.current();if($!==93){E.lastIntValue=$;E.advance();return true}return false};Ht.regexp_eatClassEscape=function(E){var R=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=R}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};Ht.regexp_eatClassControlLetter=function(E){var R=E.current();if(isDecimalDigit(R)||R===95){E.lastIntValue=R%32;E.advance();return true}return false};Ht.regexp_eatHexEscapeSequence=function(E){var R=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=R}return false};Ht.regexp_eatDecimalDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isDecimalDigit(N=E.current())){E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}return E.pos!==R};function isDecimalDigit(E){return E>=48&&E<=57}Ht.regexp_eatHexDigits=function(E){var R=E.pos;var N=0;E.lastIntValue=0;while(isHexDigit(N=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(N);E.advance()}return E.pos!==R};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}Ht.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(R<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=R*64+N*8+E.lastIntValue}else{E.lastIntValue=R*8+N}}else{E.lastIntValue=R}return true}return false};Ht.regexp_eatOctalDigit=function(E){var R=E.current();if(isOctalDigit(R)){E.lastIntValue=R-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}Ht.regexp_eatFixedHexDigits=function(E,R){var N=E.pos;E.lastIntValue=0;for(var $=0;$=this.input.length){return this.finishToken(Te.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Kt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Kt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var R=this.input.charCodeAt(this.pos+1);return R<=56319||R>=57344?E:(E<<10)+R-56613888};Kt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var R=this.pos,N=this.input.indexOf("*/",this.pos+=2);if(N===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=N+2;if(this.options.locations){Be.lastIndex=R;var $;while(($=Be.exec(this.input))&&$.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Kt.finishToken=function(E,R){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var N=this.type;this.type=E;this.value=R;this.updateContext(N)};Kt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var R=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&R===46){this.pos+=3;return this.finishToken(Te.ellipsis)}else{++this.pos;return this.finishToken(Te.dot)}};Kt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.slash,1)};Kt.readToken_mult_modulo_exp=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;var $=E===42?Te.star:Te.modulo;if(this.options.ecmaVersion>=7&&E===42&&R===42){++N;$=Te.starstar;R=this.input.charCodeAt(this.pos+2)}if(R===61){return this.finishOp(Te.assign,N+1)}return this.finishOp($,N)};Kt.readToken_pipe_amp=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61){return this.finishOp(Te.assign,3)}}return this.finishOp(E===124?Te.logicalOR:Te.logicalAND,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(E===124?Te.bitwiseOR:Te.bitwiseAND,1)};Kt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.bitwiseXOR,1)};Kt.readToken_plus_min=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===E){if(R===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Te.incDec,2)}if(R===61){return this.finishOp(Te.assign,2)}return this.finishOp(Te.plusMin,1)};Kt.readToken_lt_gt=function(E){var R=this.input.charCodeAt(this.pos+1);var N=1;if(R===E){N=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+N)===61){return this.finishOp(Te.assign,N+1)}return this.finishOp(Te.bitShift,N)}if(R===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(R===61){N=2}return this.finishOp(Te.relational,N)};Kt.readToken_eq_excl=function(E){var R=this.input.charCodeAt(this.pos+1);if(R===61){return this.finishOp(Te.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&R===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Te.arrow)}return this.finishOp(E===61?Te.eq:Te.prefix,1)};Kt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var R=this.input.charCodeAt(this.pos+1);if(R===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57){return this.finishOp(Te.questionDot,2)}}if(R===63){if(E>=12){var $=this.input.charCodeAt(this.pos+2);if($===61){return this.finishOp(Te.assign,3)}}return this.finishOp(Te.coalesce,2)}}return this.finishOp(Te.question,1)};Kt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var R=35;if(E>=13){++this.pos;R=this.fullCharCodeAtPos();if(isIdentifierStart(R,true)||R===92){return this.finishToken(Te.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(R)+"'")};Kt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Te.parenL);case 41:++this.pos;return this.finishToken(Te.parenR);case 59:++this.pos;return this.finishToken(Te.semi);case 44:++this.pos;return this.finishToken(Te.comma);case 91:++this.pos;return this.finishToken(Te.bracketL);case 93:++this.pos;return this.finishToken(Te.bracketR);case 123:++this.pos;return this.finishToken(Te.braceL);case 125:++this.pos;return this.finishToken(Te.braceR);case 58:++this.pos;return this.finishToken(Te.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Te.backQuote);case 48:var R=this.input.charCodeAt(this.pos+1);if(R===120||R===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(R===111||R===79){return this.readRadixNumber(8)}if(R===98||R===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Te.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Kt.finishOp=function(E,R){var N=this.input.slice(this.pos,this.pos+R);this.pos+=R;return this.finishToken(E,N)};Kt.readRegexp=function(){var E,R,N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(N,"Unterminated regular expression")}var $=this.input.charAt(this.pos);if(Ne.test($)){this.raise(N,"Unterminated regular expression")}if(!E){if($==="["){R=true}else if($==="]"&&R){R=false}else if($==="/"&&!R){break}E=$==="\\"}else{E=false}++this.pos}var j=this.input.slice(N,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Wt(this));ie.reset(N,j,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp(j,G)}catch(E){}return this.finishToken(Te.regexp,{pattern:j,flags:G,value:ae})};Kt.readInt=function(E,R,N){var $=this.options.ecmaVersion>=12&&R===undefined;var j=N&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,le=R==null?Infinity:R;ae=97){Ee=_e-97+10}else if(_e>=65){Ee=_e-65+10}else if(_e>=48&&_e<=57){Ee=_e-48}else{Ee=Infinity}if(Ee>=E){break}ie=_e;G=G*E+Ee}if($&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||R!=null&&this.pos-q!==R){return null}return G};function stringToNumber(E,R){if(R){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Kt.readRadixNumber=function(E){var R=this.pos;this.pos+=2;var N=this.readInt(E);if(N==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){N=stringToBigInt(this.input.slice(R,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,N)};Kt.readNumber=function(E){var R=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(R,"Invalid number")}var N=this.pos-R>=2&&this.input.charCodeAt(R)===48;if(N&&this.strict){this.raise(R,"Invalid number")}var $=this.input.charCodeAt(this.pos);if(!N&&!E&&this.options.ecmaVersion>=11&&$===110){var j=stringToBigInt(this.input.slice(R,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Te.num,j)}if(N&&/[89]/.test(this.input.slice(R,this.pos))){N=false}if($===46&&!N){++this.pos;this.readInt(10);$=this.input.charCodeAt(this.pos)}if(($===69||$===101)&&!N){$=this.input.charCodeAt(++this.pos);if($===43||$===45){++this.pos}if(this.readInt(10)===null){this.raise(R,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(R,this.pos),N);return this.finishToken(Te.num,q)};Kt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),R;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var N=++this.pos;R=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(R>1114111){this.invalidStringToken(N,"Code point out of bounds")}}else{R=this.readHexChar(4)}return R};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Kt.readString=function(E){var R="",N=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var $=this.input.charCodeAt(this.pos);if($===E){break}if($===92){R+=this.input.slice(N,this.pos);R+=this.readEscapedChar(false);N=this.pos}else{if(isNewLine($,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}R+=this.input.slice(N,this.pos++);return this.finishToken(Te.string,R)};var Qt={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Qt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Kt.invalidStringToken=function(E,R){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Qt}else{this.raise(E,R)}};Kt.readTmplToken=function(){var E="",R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var N=this.input.charCodeAt(this.pos);if(N===96||N===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Te.template||this.type===Te.invalidTemplate)){if(N===36){this.pos+=2;return this.finishToken(Te.dollarBraceL)}else{++this.pos;return this.finishToken(Te.backQuote)}}E+=this.input.slice(R,this.pos);return this.finishToken(Te.template,E)}if(N===92){E+=this.input.slice(R,this.pos);E+=this.readEscapedChar(true);R=this.pos}else if(isNewLine(N)){E+=this.input.slice(R,this.pos);++this.pos;switch(N){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(N);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}R=this.pos}else{++this.pos}}};Kt.readInvalidTemplateToken=function(){for(;this.pos=48&&R<=55){var $=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var j=parseInt($,8);if(j>255){$=$.slice(0,-1);j=parseInt($,8)}this.pos+=$.length-1;R=this.input.charCodeAt(this.pos);if(($!=="0"||R===56||R===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-$.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(j)}if(isNewLine(R)){return""}return String.fromCharCode(R)}};Kt.readHexChar=function(E){var R=this.pos;var N=this.readInt(16,E);if(N===null){this.invalidStringToken(R,"Bad character escape sequence")}return N};Kt.readWord1=function(){this.containsEsc=false;var E="",R=true,N=this.pos;var $=this.options.ecmaVersion>=6;while(this.pos{"use strict";const $=N(33839);const j=N(44084);const q=N(65821);const G=N(50666);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return R};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const R=Object.assign({},E);if(E.mappings){R.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){R.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return R};class CachedSource extends ${constructor(E,R){super();this._source=E;this._cachedSourceType=R?R.source:undefined;this._cachedSource=undefined;this._cachedBuffer=R?R.buffer:undefined;this._cachedSize=R?R.size:undefined;this._cachedMaps=R?R.maps:new Map;this._cachedHashUpdate=R?R.hash:undefined}getCachedData(){const E=new Map;for(const R of this._cachedMaps){let N=R[1];if(N.bufferedMap===undefined){N.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(N))}E.set(R[0],{map:undefined,bufferedMap:N.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){const E=this._getMapFromCacheEntry(N);return{source:this.source(),map:E}}let $=this._getCachedSource();let j;if($!==undefined){j=this.original().map(E)}else{const R=this.original().sourceAndMap(E);$=R.source;j=R.map;this._cachedSource=$}this._cachedMaps.set(R,{map:j,bufferedMap:undefined});return{source:$,map:j}}streamChunks(E,R,N,$){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return j(G,ie,R,N,$,!!(E&&E.finalSource),true)}else{return q(G,R,N,$,!!(E&&E.finalSource))}}const{result:ae,source:le,map:_e}=G(this.original(),E,R,N,$);this._cachedSource=le;this._cachedMaps.set(ie,{map:_e,bufferedMap:undefined});return ae}map(E){const R=E?JSON.stringify(E):"{}";const N=this._cachedMaps.get(R);if(N!==undefined){return this._getMapFromCacheEntry(N)}const $=this.original().map(E);this._cachedMaps.set(R,{map:$,bufferedMap:undefined});return $}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const R of this._cachedHashUpdate)E.update(R);return}const R=[];let N=undefined;const $={update:E=>{if(typeof E==="string"&&E.length<10240){if(N===undefined){N=E}else{N+=E;if(N.length>102400){R.push(Buffer.from(N));N=undefined}}}else{if(N!==undefined){R.push(Buffer.from(N));N=undefined}R.push(E)}}};this.original().updateHash($);if(N!==undefined){R.push(Buffer.from(N))}for(const N of R)E.update(N);this._cachedHashUpdate=R}}E.exports=CachedSource},7961:(E,R,N)=>{"use strict";const $=N(33839);class CompatSource extends ${static from(E){return E instanceof $?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,R,N)=>{"use strict";const $=N(33839);const j=N(76274);const q=N(60715);const{getMap:G,getSourceAndMap:ie}=N(53562);const ae=new WeakSet;class ConcatSource extends ${constructor(){super();this._children=[];for(let E=0;E{const Ne=N+j;const Be=N===1?$+G:$;if(Ee){if(N!==1||$!==0){R(undefined,j+1,G,-1,-1,-1,-1)}Ee=false}const Le=q<0||q>=Ie.length?-1:Ie[q];const je=we<0||we>=Me.length?-1:Me[we];Te=Le<0?0:N;if(le){if(E!==undefined)_e+=E;if(Le>=0){R(undefined,Ne,Be,Le,ie,ae,je)}}else{if(Le<0){R(E,Ne,Be,-1,-1,-1,-1)}else{R(E,Ne,Be,Le,ie,ae,je)}}}),((E,R,$)=>{let j=ie.get(R);if(j===undefined){ie.set(R,j=ie.size);N(j,R,$)}Ie[E]=j}),((E,R)=>{let N=ae.get(R);if(N===undefined){ae.set(R,N=ae.size);$(N,R)}Me[E]=N}));if(Le!==undefined)_e+=Le;if(Ee){if(Ne!==1||Be!==0){R(undefined,j+1,G,-1,-1,-1,-1);Ee=false}}if(Ne>1){G=Be}else{G+=Be}Ee=Ee||le&&Te===Ne;j+=Ne-1}return{generatedLine:j+1,generatedColumn:G,source:le?_e:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const R of this._children){R.updateHash(E)}}_optimize(){const E=[];let R=undefined;let N=undefined;const addStringToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E)}else{N=[typeof N==="string"?N:N.source(),E]}};const addSourceToRawSources=E=>{if(N===undefined){N=E}else if(Array.isArray(N)){N.push(E.source())}else{N=[typeof N==="string"?N:N.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(N)){const R=new j(N.join(""));ae.add(R);E.push(R)}else if(typeof N==="string"){const R=new j(N);ae.add(R);E.push(R)}else{E.push(N)}};for(const $ of this._children){if(typeof $==="string"){if(R===undefined){R=$}else{R+=$}}else{if(R!==undefined){addStringToRawSources(R);R=undefined}if(ae.has($)){addSourceToRawSources($)}else{if(N!==undefined){mergeRawSources();N=undefined}E.push($)}}}if(R!==undefined){addStringToRawSources(R)}if(N!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(53562);const q=N(41286);const G=N(13597);const ie=N(33839);const ae=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;class OriginalSource extends ie{constructor(E,R){super();const N=Buffer.isBuffer(E);this._value=N?undefined:E;this._valueAsBuffer=N?E:undefined;this._name=R}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return $(this,E)}sourceAndMap(E){return j(this,E)}streamChunks(E,R,N,$){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}N(0,this._name,this._value);const j=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=this._value.match(ae);let N=1;let $=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!j)R(q,N,$,-1,-1,-1,-1)}else{const E=j?undefined:q;R(E,N,$,0,N,$,-1)}if(E){N++;$=0}else{$+=q.length}}}return{generatedLine:N,generatedColumn:$,source:j?this._value:undefined}}else if(j){const E=G(this._value);const{generatedLine:N,generatedColumn:$}=E;if($===0){for(let E=1;E{"use strict";const $=N(33839);const j=N(76274);const q=N(60715);const{getMap:G,getSourceAndMap:ie}=N(53562);const ae=/\n(?=.|\s)/g;class PrefixSource extends ${constructor(E,R){super();this._source=typeof R==="string"||Buffer.isBuffer(R)?new j(R,true):R;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const R=this._prefix;return R+E.replace(ae,"\n"+R)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,R,N,$){const j=this._prefix;const G=j.length;const ie=!!(E&&E.columns===false);const{generatedLine:le,generatedColumn:_e,source:Ee}=q(this._source,E,((E,N,$,q,ae,le,_e)=>{if($!==0){$+=G}else if(E!==undefined){if(ie||q<0){E=j+E}else if(G>0){R(j,N,$,-1,-1,-1,-1);$+=G}}else if(!ie){$+=G}R(E,N,$,q,ae,le,_e)}),N,$);return{generatedLine:le,generatedColumn:_e===0?0:G+_e,source:Ee!==undefined?j+Ee.replace(ae,"\n"+j):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},76274:(E,R,N)=>{"use strict";const $=N(65821);const j=N(33839);class RawSource extends j{constructor(E,R=false){super();const N=Buffer.isBuffer(E);if(!N&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!R&&N;this._value=R&&N?undefined:E;this._valueAsBuffer=N?E:undefined;this._valueAsString=N?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,R,N,j){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return $(this._valueAsString,R,N,j,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,R,N)=>{"use strict";const{getMap:$,getSourceAndMap:j}=N(53562);const q=N(60715);const G=N(33839);const ie=N(41286);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const le=536870912;class Replacement{constructor(E,R,N,$){this.start=E;this.end=R;this.content=N;this.name=$;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,R){super();this._source=E;this._name=R;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,R,N,$){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N);this._replacements.push(new Replacement(E,R,N,$));this._isSorted=false}insert(E,R,N){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R+": "+R);this._replacements.push(new Replacement(E,E-1,R,N));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let R=0;const N=[];this._sortReplacements();for(const $ of this._replacements){const j=Math.floor($.start);const q=Math.floor($.end+1);if(RE.index=R));this._replacements.sort((function(E,R){const N=E.start-R.start;if(N!==0)return N;const $=E.end-R.end;if($!==0)return $;return E.index-R.index}))}this._isSorted=true}streamChunks(E,R,N,$){this._sortReplacements();const j=this._replacements;let G=0;let ae=0;let _e=-1;let Ee=ae{let j=E{let ze=0;let Ue=G+E.length;if(_e>G){if(_e>=Ue){const R=N+we;if(E.endsWith("\n")){we--;if(Me===R){Ie+=q}}else if(Me===R){Ie-=E.length}else{Ie=-E.length;Me=R}G=Ue;return}ze=_e-G;if(checkOriginalContent(ie,Te,Le,E.slice(0,ze))){Le+=ze}G+=ze;const R=N+we;if(Me===R){Ie-=ze}else{Ie=-ze;Me=R}q+=ze}if(EeG){const N=Ee-G;const $=E.slice(ze,ze+N);R($,qe,q+(qe===Me?Ie:0),ie,Te,Le,je<0||je>=Be.length?-1:Be[je]);q+=N;ze+=N;G=Ee;if(checkOriginalContent(ie,Te,Le,$)){Le+=$.length}}const Ge=/[^\n]+\n?|\n/g;const{content:He,name:We}=j[ae];let Ve=Ge.exec(He);let Ke=je;if(ie>=0&&We){let E=Ne.get(We);if(E===undefined){E=Ne.size;Ne.set(We,E);$(E,We)}Ke=E}while(Ve!==null){const E=Ve[0];R(E,qe,q+(qe===Me?Ie:0),ie,Te,Le,Ke);Ke=-1;Ve=Ge.exec(He);if(Ve===null&&!E.endsWith("\n")){if(Me===qe){Ie+=E.length}else{Ie=E.length;Me=qe}}else{we++;qe++;Ie=-q;Me=qe}}_e=Math.max(_e,Math.floor(j[ae].end+1));ae++;Ee=ae0){if(_e>=Ue){let R=N+we;if(E.endsWith("\n")){we--;if(Me===R){Ie+=q}}else if(Me===R){Ie-=E.length-ze}else{Ie=ze-E.length;Me=R}G=Ue;return}const R=N+we;if(checkOriginalContent(ie,Te,Le,E.slice(ze,ze+Qe))){Le+=Qe}ze+=Qe;G+=Qe;if(Me===R){Ie-=Qe}else{Ie=-Qe;Me=R}q+=Qe}}while(Ee{while(Te.length{let N=Ne.get(R);if(N===undefined){N=Ne.size;Ne.set(R,N);$(N,R)}Be[E]=N}));let ze="";for(;ae{"use strict";const $=N(33839);class SizeOnlySource extends ${constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,R,N)=>{"use strict";const $=N(33839);const j=N(44084);const q=N(86924);const{getMap:G,getSourceAndMap:ie}=N(53562);class SourceMapSource extends ${constructor(E,R,N,$,j,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=R;this._hasSourceMap=!!N;const ie=Buffer.isBuffer(N);const ae=typeof N==="string";this._sourceMapAsObject=ie||ae?undefined:N;this._sourceMapAsString=ae?N:undefined;this._sourceMapAsBuffer=ie?N:undefined;this._hasOriginalSource=!!$;const le=Buffer.isBuffer($);this._originalSourceAsString=le?undefined:$;this._originalSourceAsBuffer=le?$:undefined;this._hasInnerSourceMap=!!j;const _e=Buffer.isBuffer(j);const Ee=typeof j==="string";this._innerSourceMapAsObject=_e||Ee?undefined:j;this._innerSourceMapAsString=Ee?j:undefined;this._innerSourceMapAsBuffer=_e?j:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,R,N,$){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return j(this._valueAsString,this._sourceMapAsObject,R,N,$,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},47310:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const N=32;const createMappingsSerializer=E=>{const R=E&&E.columns===false;return R?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let $=0;let j=0;let q=1;let G=0;let ie=0;let ae=false;let le=false;let _e=true;return(Ee,we,Ie,Me,Te,Ne)=>{if(ae&&E===Ee){if(Ie===j&&Me===q&&Te===G&&!le&&Ne<0){return""}}else{if(Ie<0){return""}}let Be;if(E{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){Be+=R[E];break}else{Be+=R[E|N]}}};writeValue(we-$);$=we;if(Ie>=0){ae=true;if(Ie===j){Be+="A"}else{writeValue(Ie-j);j=Ie}writeValue(Me-q);q=Me;if(Te===G){Be+="A"}else{writeValue(Te-G);G=Te}if(Ne>=0){writeValue(Ne-ie);ie=Ne;le=true}else{le=false}}else{ae=false}return Be}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let $=1;let j=0;let q=1;return(G,ie,ae,le,_e,Ee)=>{if(ae<0){return""}if(E===G){return""}let we;const writeValue=E=>{const $=E>>>31&1;const j=E>>31;const q=E+j^j;let G=q<<1|$;for(;;){const E=G&31;G>>=5;if(G===0){we+=R[E];break}else{we+=R[E|N]}}};E=G;if(G===$+1){$=G;if(ae===j){j=ae;if(le===q+1){q=le;return";AACA"}else{we=";AA";writeValue(le-q);q=le;return we+"A"}}else{we=";A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}else{we=";".repeat(G-$);$=G;if(ae===j){j=ae;if(le===q+1){q=le;return we+"AACA"}else{we+="AA";writeValue(le-q);q=le;return we+"A"}}else{we+="A";writeValue(ae-j);j=ae;writeValue(le-q);q=le;return we+"A"}}}};E.exports=createMappingsSerializer},53562:(E,R,N)=>{"use strict";const $=N(47310);R.getSourceAndMap=(E,R)=>{let N="";let j="";let q=[];let G=[];let ie=[];const ae=$(R);const{source:le}=E.streamChunks(Object.assign({},R,{finalSource:true}),((E,R,$,q,G,ie,le)=>{if(E!==undefined)N+=E;j+=ae(R,$,q,G,ie,le)}),((E,R,N)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:j,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};R.getMap=(E,R)=>{let N="";let j=[];let q=[];let G=[];const ie=$(R);E.streamChunks(Object.assign({},R,{source:false,finalSource:true}),((E,R,$,j,q,G,ae)=>{N+=ie(R,$,j,q,G,ae)}),((E,R,N)=>{while(j.length{while(G.length0?{version:3,file:"x",mappings:N,sources:j,sourcesContent:q.length>0?q:undefined,names:G}:null}},13597:E=>{"use strict";const R="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const N=E.lastIndexOf("\n");if(N===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let $=2;for(let j=0;j{"use strict";const getSource=(E,R)=>{if(R<0)return null;const{sourceRoot:N,sources:$}=E;const j=$[R];if(!N)return j;if(N.endsWith("/"))return N+j;return N+"/"+j};E.exports=getSource},93581:E=>{"use strict";const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const N=32;const $=64;const j=$|1;const q=$|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let le=0;let _e=0;let Ee=0;let we=1;let Ie=-1;for(let Me=0;Meae)continue;const Ne=ie[Te];if((Ne&$)!==0){if(q[0]>Ie){if(le===1){R(we,q[0],-1,-1,-1,-1)}else if(le===4){R(we,q[0],q[1],q[2],q[3],-1)}else if(le===5){R(we,q[0],q[1],q[2],q[3],q[4])}Ie=q[0]}le=0;if(Ne===j){we++;q[0]=0;Ie=-1}}else if((Ne&N)===0){_e|=Ne<>1):_e>>1;q[le++]+=E;Ee=0;_e=0}else{_e|=(Ne&G)<{const splitIntoLines=E=>{const R=[];const N=E.length;let $=0;for(;${"use strict";const $=N(47310);const j=N(60715);const streamAndGetSourceAndMap=(E,R,N,q,G)=>{let ie="";let ae="";let le=[];let _e=[];let Ee=[];const we=$(Object.assign({},R,{columns:true}));const Ie=!!(R&&R.finalSource);const{generatedLine:Me,generatedColumn:Te,source:Ne}=j(E,R,((E,R,$,j,q,G,le)=>{if(E!==undefined)ie+=E;ae+=we(R,$,j,q,G,le);return N(Ie?undefined:E,R,$,j,q,G,le)}),((E,R,N)=>{while(le.length{while(Ee.length0?{version:3,file:"x",mappings:ae,sources:le,sourcesContent:_e.length>0?_e:undefined,names:Ee}:null}};E.exports=streamAndGetSourceAndMap},60715:(E,R,N)=>{"use strict";const $=N(65821);const j=N(44084);E.exports=(E,R,N,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(R,N,q,G)}else{const ie=E.sourceAndMap(R);if(ie.map){return j(ie.source,ie.map,N,q,G,!!(R&&R.finalSource),!!(R&&R.columns!==false))}else{return $(ie.source,N,q,G,!!(R&&R.finalSource))}}}},86924:(E,R,N)=>{"use strict";const $=N(44084);const j=N(41286);const streamChunksOfCombinedSourceMap=(E,R,N,q,G,ie,ae,le,_e,Ee,we)=>{let Ie=new Map;let Me=new Map;const Te=[];const Ne=[];const Be=[];let Le=-2;const je=[];const ze=[];const Ue=[];const qe=[];const Ge=[];const He=[];const We=[];const findInnerMapping=(E,R)=>{if(E>We.length)return-1;const{mappingsData:N}=We[E-1];let $=0;let j=N.length/5;while($>1;if(N[E*5]<=R){$=E+1}else{j=E}}if($===0)return-1;return $-1};return $(E,R,((R,$,G,Ee,we,Ve,Ke)=>{if(Ee===Le){const Le=findInnerMapping(we,Ve);if(Le!==-1){const{chunks:E,mappingsData:N}=We[we-1];const q=Le*5;const ie=N[q+1];const Ee=N[q+2];let Te=N[q+3];let Qe=N[q+4];if(ie>=0){const we=E[Le];const We=N[q];const Je=Ve-We;if(Je>0){let E=ie=0){Ye=Qe=0){let E=qe[ie];if(E===undefined){const R=Ue[ie];E=R?j(R):null;qe[ie]=E}if(E!==null){const R=Be[Ke];const N=Ee<=E.length?E[Ee-1].slice(Te,Te+R.length):"";if(R===N){Ye=Ke=Te.length?-1:Te[Ee];if(Qe<0){ae(R,$,G,-1,-1,-1,-1)}else{let E=-1;if(Ke>=0&&Ke{if(R===N){Le=E;if(q!==undefined)j=q;else q=j;Te[E]=-2;$(j,G,((E,R,N,$,j,q,G)=>{while(We.length{Ue[E]=N;qe[E]=undefined;je[E]=-2;ze[E]=[R,N]}),((E,R)=>{Ge[E]=-2;He[E]=R}),false,we)}else{let N=Ie.get(R);if(N===undefined){Ie.set(R,N=Ie.size);le(N,R,j)}Te[E]=N}}),((E,R)=>{Ne[E]=-2;Be[E]=R}),Ee,we)};E.exports=streamChunksOfCombinedSourceMap},65821:(E,R,N)=>{"use strict";const $=N(13597);const j=N(41286);const streamChunksOfRawSource=(E,R,N,$)=>{let q=1;const G=j(E);let ie;for(ie of G){R(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,R,N,j,q)=>q?$(E):streamChunksOfRawSource(E,R,N,j)},44084:(E,R,N)=>{"use strict";const $=N(13597);const j=N(86507);const q=N(93581);const G=N(41286);const streamChunksOfSourceMapFull=(E,R,N,$,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,names:Ee,mappings:we}=R;for(let E=0;E{if(je&&Be<=ae.length){let $;const j=Be;const q=Le;const G=ae[Be-1];if(E!==Be){$=G.slice(Le);Be++;Le=0}else{$=G.slice(Le,R);Le=R}if($){N($,j,q,ze,Ue,qe,Ge)}je=false}if(E>Be&&Le>0){if(Be<=ae.length){const E=ae[Be-1].slice(Le);N(E,Be,Le,-1,-1,-1,-1)}Be++;Le=0}while(E>Be){if(Be<=ae.length){N(ae[Be-1],Be,0,-1,-1,-1,-1)}Be++}if(R>Le){if(Be<=ae.length){const E=ae[Be-1].slice(Le,R);N(E,Be,Le,-1,-1,-1,-1)}Le=R}if($>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:le,sourcesContent:_e,mappings:Ee}=R;for(let E=0;E{if($<0||Eae.length){return}while(E>we){if(we<=ae.length){N(ae[we-1],we,0,-1,-1,-1,-1)}we++}if(E<=ae.length){N(ae[E-1],E,0,$,j,q,-1);we++}};q(Ee,onMapping);for(;we<=ae.length;we++){N(ae[we-1],we,0,-1,-1,-1,-1)}const Ie=ae[ae.length-1];const Me=Ie.endsWith("\n");const Te=Me?ae.length+1:ae.length;const Ne=Me?0:Ie.length;return{generatedLine:Te,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0)return ae;const{sources:Ee,sourcesContent:we,names:Ie,mappings:Me}=R;for(let E=0;E{if(E>=le&&(R>=_e||E>le)){return}if($>=0){N(undefined,E,R,$,j,q,G);Te=E}else if(Te===E){N(undefined,E,R,-1,-1,-1,-1);Te=0}};q(Me,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,R,N,G,ie)=>{const ae=$(E);const{generatedLine:le,generatedColumn:_e}=ae;if(le===1&&_e===0){return{generatedLine:1,generatedColumn:0}}const{sources:Ee,sourcesContent:we,mappings:Ie}=R;for(let E=0;E{if($>=0&&Te<=E&&E<=Me){N(undefined,E,0,$,j,q,-1);Te=E+1}};q(Ie,onMapping);return ae};E.exports=(E,R,N,$,j,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,R,N,$,j):streamChunksOfSourceMapFull(E,R,N,$,j)}else{return q?streamChunksOfSourceMapLinesFinal(E,R,N,$,j):streamChunksOfSourceMapLinesFull(E,R,N,$,j)}}},48135:(E,R,N)=>{const defineExport=(E,N)=>{let $;Object.defineProperty(R,E,{get:()=>{if(N!==undefined){$=N();N=undefined}return $},configurable:true})};defineExport("Source",(()=>N(33839)));defineExport("RawSource",(()=>N(76274)));defineExport("OriginalSource",(()=>N(11176)));defineExport("SourceMapSource",(()=>N(82340)));defineExport("CachedSource",(()=>N(76185)));defineExport("ConcatSource",(()=>N(96123)));defineExport("ReplaceSource",(()=>N(79722)));defineExport("PrefixSource",(()=>N(96276)));defineExport("SizeOnlySource",(()=>N(93883)));defineExport("CompatSource",(()=>N(7961)))},63221:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const N={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},$=Object.prototype.hasOwnProperty,j={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:N="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,le=0;const _e=le;let Ee=!1;const we=le;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Ie=we===le;if(Ee=Ee||Ie,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),le++}else{const R=le;for(const R in E)if("cacheUnaffected"!==R&&"maxGenerations"!==R&&"type"!==R){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(R===le){if(void 0!==E.cacheUnaffected){const R=le;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Me=R===le}else Me=!0;if(Me){if(void 0!==E.maxGenerations){let R=E.maxGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<1||isNaN(R)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Me=N===le}else Me=!0;if(Me)if(void 0!==E.type){const R=le;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Me=R===le}else Me=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}if(Ie=N===le,Ee=Ee||Ie,!Ee){const N=le;if(le==le)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),le++}else{const N=le;for(const R in E)if(!$.call(j,R)){const E={params:{additionalProperty:R}};null===ae?ae=[E]:ae.push(E),le++;break}if(N===le){if(void 0!==E.allowCollectingMemory){const R=le;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}var Te=R===le}else Te=!0;if(Te){if(void 0!==E.buildDependencies){let R=E.buildDependencies;const N=le;if(le===N)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutAfterLargeChanges){let R=E.idleTimeoutAfterLargeChanges;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.idleTimeoutForInitialStore){let R=E.idleTimeoutForInitialStore;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.immutablePaths){let N=E.immutablePaths;const $=le;if(le===$)if(Array.isArray(N)){const E=N.length;for(let $=0;$=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.maxMemoryGenerations){let R=E.maxMemoryGenerations;const N=le;if(le===N)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),le++}Te=N===le}else Te=!0;if(Te){if(void 0!==E.memoryCacheUnaffected){const R=le;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.name){const R=le;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.store){const R=le;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te){if(void 0!==E.type){const R=le;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0;if(Te)if(void 0!==E.version){const R=le;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Te=R===le}else Te=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),le++}Ie=N===le,Ee=Ee||Ie}}if(!Ee){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,s.errors=ae,!1}return le=_e,null!==ae&&(_e?ae.length=_e:ae=null),s.errors=ae,0===le}function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;s(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G,N=G;let $=!1;const j=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var Ee=j===G;if($=$||Ee,!$){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,$=$||Ee}if($)G=N,null!==q&&(N?q.length=N:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let le=!1,_e=null;const Ee=ie,we=ie;let Ie=!1;const Me=ie;if(ie===Me)if("string"==typeof E){if(E.includes("!")||!1!==R.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Te=Me===ie;if(Ie=Ie||Te,!Ie){const R=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Te=R===ie,Ie=Ie||Te}if(Ie)ie=we,null!==G&&(we?G.length=we:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(Ee===ie&&(le=!0,_e=0),!le){const E={params:{passingSchemas:_e}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("amd"!==R&&"commonjs"!==R&&"commonjs2"!==R&&"root"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.amd){const R=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs){const R=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee){if(void 0!==E.commonjs2){const R=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0;if(Ee)if(void 0!==E.root){const R=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ee=R===G}else Ee=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if(j=j||Ee,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,j=j||Ee}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){const N=ae;l(E.filename,{instancePath:R+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.import){let R=E.import;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if(Array.isArray(R))if(R.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var we=!0;const E=R.length;for(let N=0;N1){const $={};for(;N--;){let j=R[N];if("string"==typeof j){if("number"==typeof $[j]){E=$[j];const R={params:{i:N,j:E}};null===ie?ie=[R]:ie.push(R),ae++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if(j=j||Ie,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,j=j||Ie}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(null!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Me=q===ae;if(j=j||Me,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,j=j||Me}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;u(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.publicPath){const N=ae;c(E.publicPath,{instancePath:R+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.runtime){let R=E.runtime;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(ae===E)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.wasmLoading){const N=ae;m(E.wasmLoading,{instancePath:R+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),le=N===ae}else le=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const _e=G,Ee=G;let we=!1;const Ie=G,Me=G;let Te=!1;const Ne=G;if(G===Ne)if(Array.isArray($))if($.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=$.length;for(let R=0;R1){const N={};for(;R--;){let j=$[R];if("string"==typeof j){if("number"==typeof N[j]){E=N[j];const $={params:{i:R,j:E}};null===q?q=[$]:q.push($),G++;break}N[j]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Te=Te||ae,!Te){const E=G;if(G===E)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Te=Te||ae}if(Te)G=Me,null!==q&&(Me?q.length=Me:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=Ie===G;if(we=we||le,!we){const ie=G;y($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),le=ie===G,we=we||le}if(!we){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=Ee,null!==q&&(Ee?q.length=Ee:q=null),_e!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1,le=null;const _e=G,Ee=G;let we=!1;const Ie=G;if(G===Ie)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var Me=!0;const R=E.length;for(let N=0;N1){const $={};for(;N--;){let j=E[N];if("string"==typeof j){if("number"==typeof $[j]){R=$[j];const E={params:{i:N,j:R}};null===q?q=[E]:q.push(E),G++;break}$[j]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Te=Ie===G;if(we=we||Te,!we){const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Te=R===G,we=we||Te}if(we)G=Ee,null!==q&&(Ee?q.length=Ee:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(_e===G&&(ae=!0,le=0),!ae){const E={params:{passingSchemas:le}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;h(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const ie=G;d(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=le===G;if(ae=ae||_e,!ae){const ie=G;g(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),_e=ie===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ae=G;let le=!1,_e=null;const Ee=G;if(G==G)if(Array.isArray(E)){const R=E.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=Ie===ae;if(we=we||Ee,!we){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,we=we||Ee}if(we)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var we=G===ae;if(q=q||we,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,q=q||we}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.idHint){const R=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.layer){let R=E.layer;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if(j=j||Ie,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ie=E===ae,j=j||Ie,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,j=j||Ie}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=we===ae;if(Ee=Ee||Me,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,Ee=Ee||Me}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=we===ae;if(Ee=Ee||Te,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,Ee=Ee||Te}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=we===ae;if(Ee=Ee||Ne,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,Ee=Ee||Ne}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=we===ae;if(Ee=Ee||Be,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,Ee=Ee||Be}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=we===ae;if(Ee=Ee||je,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,Ee=Ee||je}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=we===ae;if(Ee=Ee||ze,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,Ee=Ee||ze}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if(j=j||Ue,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,j=j||Ue,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,j=j||Ue}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.priority){let R=E.priority;const N=ae;if("number"!=typeof R||!isFinite(R))return pe.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.reuseExistingChunk){const R=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.test){let R=E.test;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var qe=q===ae;if(j=j||qe,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(qe=E===ae,j=j||qe,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,j=j||qe}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.type){let R=E.type;const N=ae,$=ae;let j=!1;const q=ae;if(!(R instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=q===ae;if(j=j||Ge,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ge=E===ae,j=j||Ge,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,j=j||Ge}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:N="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const R in E)if(!$.call(Be,R))return fe.errors=[{params:{additionalProperty:R}}],!1;if(j===ae){if(void 0!==E.automaticNameDelimiter){let R=E.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof R)return fe.errors=[{params:{type:"string"}}],!1;if(R.length<1)return fe.errors=[{params:{}}],!1}var le=N===ae}else le=!0;if(le){if(void 0!==E.cacheGroups){let R=E.cacheGroups;const $=ae,j=ae,q=ae;if(ae===q)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==R.test){let E=R.test;const N=ae;let $=!1;const j=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var _e=j===ae;if($=$||_e,!$){const R=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(_e=R===ae,$=$||_e,!$){const R=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}_e=R===ae,$=$||_e}}if($)ae=N,null!==ie&&(N?ie.length=N:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=j,null!==ie&&(j?ie.length=j:ie=null),ae===$){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;for(const E in R){let $=R[E];const j=ae,q=ae;let le=!1;const _e=ae;if(!1!==$){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=_e===ae;if(le=le||Ee,!le){const j=ae;if(!($ instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if("string"!=typeof $){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;if(!($ instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(Ee=j===ae,le=le||Ee,!le){const j=ae;pe($,{instancePath:N+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:R,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),Ee=j===ae,le=le||Ee}}}}if(!le){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),j!==ae)break}}le=$===ae}else le=!0;if(le){if(void 0!==E.chunks){let R=E.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==R&&"async"!==R&&"all"!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if(j=j||we,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,j=j||we}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.defaultSizeTypes){let R=E.defaultSizeTypes;const N=ae;if(ae===N){if(!Array.isArray(R))return fe.errors=[{params:{type:"array"}}],!1;if(R.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=we===ae;if(Ee=Ee||Ie,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,Ee=Ee||Ie}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.fallbackCacheGroup){let R=E.fallbackCacheGroup;const N=ae;if(ae===N){if(!R||"object"!=typeof R||Array.isArray(R))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in R)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==R.automaticNameDelimiter){let E=R.automaticNameDelimiter;const N=ae;if(ae===N){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var Me=N===ae}else Me=!0;if(Me){if(void 0!==R.chunks){let E=R.chunks;const N=ae,$=ae;let j=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const R=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=R===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxAsyncSize){let E=R.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=R===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxInitialSize){let E=R.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=Ee===ae;if(_e=_e||Le,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=R===ae,_e=_e||Le}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.maxSize){let E=R.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=R===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me){if(void 0!==R.minSize){let E=R.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=Ee===ae;if(_e=_e||ze,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}ze=R===ae,_e=_e||ze}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0;if(Me)if(void 0!==R.minSizeReduction){let E=R.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=Ee===ae;if(_e=_e||Ue,!_e){const R=ae;if(ae===R)if(E&&"object"==typeof E&&!Array.isArray(E))for(const R in E){let N=E[R];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=R===ae,_e=_e||Ue}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),Me=N===ae}else Me=!0}}}}}}}}le=N===ae}else le=!0;if(le){if(void 0!==E.filename){let N=E.filename;const $=ae,j=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=G===ae;if(q=q||qe,!q){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,q=q||qe}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=$===ae}else le=!0;if(le){if(void 0!==E.hidePathInfo){const R=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.maxAsyncRequests){let R=E.maxAsyncRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxAsyncSize){let R=E.maxAsyncSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=we===ae;if(Ee=Ee||Ge,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,Ee=Ee||Ge}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialRequests){let R=E.maxInitialRequests;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.maxInitialSize){let R=E.maxInitialSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=we===ae;if(Ee=Ee||He,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,Ee=Ee||He}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.maxSize){let R=E.maxSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=we===ae;if(Ee=Ee||We,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,Ee=Ee||We}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minChunks){let R=E.minChunks;const N=ae;if(ae===N){if("number"!=typeof R||!isFinite(R))return fe.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}le=N===ae}else le=!0;if(le){if(void 0!==E.minRemainingSize){let R=E.minRemainingSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=we===ae;if(Ee=Ee||Ve,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,Ee=Ee||Ve}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSize){let R=E.minSize;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=we===ae;if(Ee=Ee||Ke,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,Ee=Ee||Ke}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.minSizeReduction){let R=E.minSizeReduction;const N=ae,$=ae;let j=!1,q=null;const G=ae,_e=ae;let Ee=!1;const we=ae;if(ae===we)if("number"==typeof R&&isFinite(R)){if(R<0||isNaN(R)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Qe=we===ae;if(Ee=Ee||Qe,!Ee){const E=ae;if(ae===E)if(R&&"object"==typeof R&&!Array.isArray(R))for(const E in R){let N=R[E];const $=ae;if("number"!=typeof N||!isFinite(N)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if($!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Qe=E===ae,Ee=Ee||Qe}if(Ee)ae=_e,null!==ie&&(_e?ie.length=_e:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le){if(void 0!==E.name){let R=E.name;const N=ae,$=ae;let j=!1;const q=ae;if(!1!==R){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Je=q===ae;if(j=j||Je,!j){const E=ae;if("string"!=typeof R){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Je=E===ae,j=j||Je,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,j=j||Je}}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),le=N===ae}else le=!0;if(le)if(void 0!==E.usedExports){const R=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:R="",parentData:N,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if(!$.call(Ne,R))return ue.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.checkWasmTypes){const R=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let R=E.chunkIds;const N=ie;if("natural"!==R&&"named"!==R&&"deterministic"!==R&&"size"!==R&&"total-size"!==R&&!1!==R)return ue.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const R=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const R=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const R=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const R=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let R=E.mangleExports;const N=ie,$=ie;let j=!1;const q=ie;if("size"!==R&&"deterministic"!==R){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if(j=j||le,!j){const E=ie;if("boolean"!=typeof R){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}le=E===ie,j=j||le}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const R=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const R=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const R=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let R=E.minimizer;const N=ie;if(ie===N){if(!Array.isArray(R))return ue.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let N=0;N=",limit:1}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ae,$=ae;let j=!1;const q=ae;if(ae===q)if("string"==typeof R){if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if(j=j||Te,!j){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,j=j||Te}if(!j){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hashSalt){let R=E.hashSalt;const N=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.length<1)return De.errors=[{params:{}}],!1}_e=N===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateChunkFilename){let N=E.hotUpdateChunkFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateGlobal){const R=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.hotUpdateMainFilename){let N=E.hotUpdateMainFilename;const $=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!1!==R.test(N))return De.errors=[{params:{}}],!1}_e=$===ae}else _e=!0;if(_e){if(void 0!==E.iife){const R=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importFunctionName){const R=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.importMetaName){const R=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;_e=R===ae}else _e=!0;if(_e){if(void 0!==E.library){const R=ae;ve(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),_e=R===ae}else _e=!0;if(_e){if(void 0!==E.libraryExport){let R=E.libraryExport;const N=ae,$=ae;let j=!1,q=null;const G=ae,le=ae;let Ee=!1;const we=ae;if(ae===we)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:1}}],!1}Ee=N===le}else Ee=!0;if(Ee){if(void 0!==E.performance){const R=le;Pe(E.performance,{instancePath:j+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.plugins){const R=le;Ae(E.plugins,{instancePath:j+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.profile){const R=le;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.recordsInputPath){let N=E.recordsInputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Ne=G===le;if(q=q||Ne,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Ne=E===le,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsOutputPath){let N=E.recordsOutputPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Be=G===le;if(q=q||Be,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Be=E===le,q=q||Be}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.recordsPath){let N=E.recordsPath;const $=le,j=le;let q=!1;const G=le;if(!1!==N){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}var Le=G===le;if(q=q||Le,!q){const E=le;if(le===E)if("string"==typeof N){if(N.includes("!")||!0!==R.test(N)){const E={params:{}};null===ae?ae=[E]:ae.push(E),le++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),le++}Le=E===le,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),le++,$e.errors=ae,!1}le=j,null!==ae&&(j?ae.length=j:ae=null),Ee=$===le}else Ee=!0;if(Ee){if(void 0!==E.resolve){const R=le;xe(E.resolve,{instancePath:j+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.resolveLoader){const R=le;ke(E.resolveLoader,{instancePath:j+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),le=ae.length),Ee=R===le}else Ee=!0;if(Ee){if(void 0!==E.snapshot){let N=E.snapshot;const $=le;if(le==le){if(!N||"object"!=typeof N||Array.isArray(N))return $e.errors=[{params:{type:"object"}}],!1;{const E=le;for(const E in N)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===le){if(void 0!==N.buildDependencies){let E=N.buildDependencies;const R=le;if(le===R){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const R=le;for(const R in E)if("hash"!==R&&"timestamp"!==R)return $e.errors=[{params:{additionalProperty:R}}],!1;if(R===le){if(void 0!==E.hash){const R=le;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var je=R===le}else je=!0;if(je)if(void 0!==E.timestamp){const R=le;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;je=R===le}else je=!0}}}var ze=R===le}else ze=!0;if(ze){if(void 0!==N.immutablePaths){let E=N.immutablePaths;const $=le;if(le===$){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let $=0;${"use strict";function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.path&&(R="path"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("context"!==R&&"entryOnly"!==R&&"format"!==R&&"name"!==R&&"path"!==R&&"type"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.context){let R=E.context;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}var q=0===N}else q=!0;if(q){if(void 0!==E.entryOnly){const R=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.format){const R=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.name){let R=E.name;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q){if(void 0!==E.path){let R=E.path;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0;if(q)if(void 0!==E.type){let R=E.type;const N=0;if(0===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}q=0===N}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.content&&(R="content"))return t.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("content"!==R&&"name"!==R&&"type"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.content){let R=E.content;const N=G,$=G;let j=!1,Ee=null;const we=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R))if(Object.keys(R).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in R){let N=R[E];const $=G;if(G===$)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.id&&(E="id")){const R={params:{missingProperty:E}};null===q?q=[R]:q.push(R),G++}else{const E=G;for(const E in N)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.buildMeta){let E=N.buildMeta;const R=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=R===G}else ie=!0;if(ie){if(void 0!==N.exports){let E=N.exports;const R=G,$=G;let j=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("context"!==R&&"hashDigest"!==R&&"hashDigestLength"!==R&&"hashFunction"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.context){let N=E.context;const $=ie;if(ie===$){if("string"!=typeof N)return e.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return e.errors=[{params:{}}],!1}var ae=$===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let R=E.hashDigest;const N=ie;if("hex"!==R&&"latin1"!==R&&"base64"!==R)return e.errors=[{params:{}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let R=E.hashDigestLength;const N=ie;if(ie===N){if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=N===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let R=E.hashFunction;const N=ie,$=ie;let j=!1,q=null;const _e=ie,Ee=ie;let we=!1;const Ie=ie;if(ie===Ie)if("string"==typeof R){if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=Ie===ie;if(we=we||le,!we){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,we=we||le}if(we)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(j=!0,q=0),!j){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.resourceRegExp&&(R="resourceRegExp")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("contextRegExp"!==R&&"resourceRegExp"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.contextRegExp){const R=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=R===G}else _e=!0;if(_e)if(void 0!==E.resourceRegExp){const R=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(G===R)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.checkResource&&(R="checkResource")){const E={params:{missingProperty:R}};null===q?q=[E]:q.push(E),G++}else{const R=G;for(const R in E)if("checkResource"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("parse"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const R=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===R}else G=!0;if(G){if(void 0!==E.minimize){const R=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===R}else G=!0;if(G)if(void 0!==E.options){let N=E.options;const $=0;if(0===$){if(!N||"object"!=typeof N||Array.isArray(N))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==N.context){let E=N.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==R.test(E))return e.errors=[{params:{}}],!1}}G=0===$}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const R={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},N=Object.prototype.hasOwnProperty;function r(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const $ in E)if(!N.call(R,$))return r.errors=[{params:{additionalProperty:$}}],!1;if($===ae){if(void 0!==E.activeModules){const R=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var le=R===ae}else le=!0;if(le){if(void 0!==E.dependencies){const R=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.dependenciesCount){let R=E.dependenciesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.entries){const R=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.handler){const R=ae,N=ae;let $=!1,j=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&($=!0,j=0),!$){const E={params:{passingSchemas:j}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=N,null!==ie&&(N?ie.length=N:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.modules){const R=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;le=R===ae}else le=!0;if(le){if(void 0!==E.modulesCount){let R=E.modulesCount;const N=ae;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.percentBy){let R=E.percentBy;const N=ae;if("entries"!==R&&"modules"!==R&&"dependencies"!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0;if(le)if(void 0!==E.profile){let R=E.profile;const N=ae;if(!0!==R&&!1!==R&&null!==R)return r.errors=[{params:{}}],!1;le=N===ae}else le=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var _e=le===G;if(ae=ae||_e,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=R===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const N={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},$=Object.prototype.hasOwnProperty;function s(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.paths&&(R="paths"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=G;for(const R in E)if("paths"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.paths){let R=E.paths;if(G==G){if(!Array.isArray(R))return r.errors=[{params:{type:"array"}}],!1;if(R.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=R.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const $=ie;for(const R in E)if("dataUrl"!==R&&"emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if($===ie){if(void 0!==E.dataUrl){const R=ie;n(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const R=G;for(const R in E)if("encoding"!==R&&"mimetype"!==R){const E={params:{additionalProperty:R}};null===q?q=[E]:q.push(E),G++;break}if(R===G){if(void 0!==E.encoding){let R=E.encoding;const N=G;if(!1!==R&&"base64"!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e)if(void 0!==E.mimetype){const R=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=R===G}else _e=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var Ee=le===G;if(ae=ae||Ee,!ae){const R=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}Ee=R===G,ae=ae||Ee}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const R in E)if("dataUrl"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;N===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("dataUrlCondition"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(R===G&&void 0!==E.dataUrlCondition){let R=E.dataUrlCondition;const N=G;let $=!1;const j=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("maxSize"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G&&void 0!==R.maxSize){let E=R.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=j===G;if($=$||ie,!$){const E=G;if(!(R instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,$=$||ie}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=N,null!==q&&(N?q.length=N:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return t(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=ie;for(const R in E)if("emit"!==R&&"filename"!==R&&"publicPath"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(N===ie){if(void 0!==E.emit){const R=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=R===ie}else ae=!0;if(ae){if(void 0!==E.filename){let N=E.filename;const $=ie,j=ie;let q=!1;const _e=ie;if(ie===_e)if("string"==typeof N){if(N.includes("!")||!1!==R.test(N)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=_e===ie;if(q=q||le,!q){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,q=q||le}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=$===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let R=E.publicPath;const N=ie,$=ie;let j=!1;const q=ie;if("string"!=typeof R){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var _e=q===ie;if(j=j||_e,!j){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}_e=E===ie,j=j||_e}if(!j){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=N===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;return r(E,{instancePath:R,parentData:N,parentDataProperty:$,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{"use strict";function o(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const N={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},$=Object.prototype.hasOwnProperty;function n(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let N=0;N{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:$,parentDataProperty:j,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=0;for(const R in E)if("outputPath"!==R)return t.errors=[{params:{additionalProperty:R}}],!1;if(0===N&&void 0!==E.outputPath){let N=E.outputPath;if("string"!=typeof N)return t.errors=[{params:{type:"string"}}],!1;if(N.includes("!")||!0!==R.test(N))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("prioritiseInitial"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxSize"!==R&&"minSize"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.maxSize){let R=E.maxSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minSize){let R=E.minSize;const N=0;if("number"!=typeof R||!isFinite(R))return e.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.maxChunks&&(R="maxChunks"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"maxChunks"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.maxChunks){let R=E.maxChunks;const N=0;if(0===N){if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;if(R<1||isNaN(R))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let R;if(void 0===E.minChunkSize&&(R="minChunkSize"))return r.errors=[{params:{missingProperty:R}}],!1;{const R=0;for(const R in E)if("chunkOverhead"!==R&&"entryChunkMultiplicator"!==R&&"minChunkSize"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(0===R){if(void 0!==E.chunkOverhead){let R=E.chunkOverhead;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;var q=0===N}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let R=E.entryChunkMultiplicator;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0;if(q)if(void 0!==E.minChunkSize){let R=E.minChunkSize;const N=0;if("number"!=typeof R||!isFinite(R))return r.errors=[{params:{type:"number"}}],!1;q=0===N}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const R=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const N=new RegExp("^https?://","u");function e(E,{instancePath:$="",parentData:j,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let $;if(void 0===E.allowedUris&&($="allowedUris"))return e.errors=[{params:{missingProperty:$}}],!1;{const $=ae;for(const R in E)if("allowedUris"!==R&&"cacheLocation"!==R&&"frozen"!==R&&"lockfileLocation"!==R&&"upgrade"!==R)return e.errors=[{params:{additionalProperty:R}}],!1;if($===ae){if(void 0!==E.allowedUris){let R=E.allowedUris;const $=ae;if(ae==ae){if(!Array.isArray(R))return e.errors=[{params:{type:"array"}}],!1;{const E=R.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const R in E)if("eager"!==R&&"import"!==R&&"packageName"!==R&&"requiredVersion"!==R&&"shareKey"!==R&&"shareScope"!==R&&"singleton"!==R&&"strictVersion"!==R)return r.errors=[{params:{additionalProperty:R}}],!1;if(R===G){if(void 0!==E.eager){const R=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=R===G}else ie=!0;if(ie){if(void 0!==E.import){let R=E.import;const N=G,$=G;let j=!1;const le=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,j=j||ae}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.packageName){let R=E.packageName;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let R=E.requiredVersion;const N=G,$=G;let j=!1;const ae=G;if(!1!==R){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ae===G;if(j=j||le,!j){const E=G;if("string"!=typeof R){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,j=j||le}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=$,null!==q&&($?q.length=$:q=null),ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let R=E.shareKey;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let R=E.shareScope;const N=G;if(G===N){if("string"!=typeof R)return r.errors=[{params:{type:"string"}}],!1;if(R.length<1)return r.errors=[{params:{}}],!1}ie=N===G}else ie=!0;if(ie){if(void 0!==E.singleton){const R=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const R=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=R===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const N in E){let $=E[N];const ae=G,le=G;let _e=!1;const Ee=G;r($,{instancePath:R+"/"+N.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:N,rootData:j})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=Ee===G;if(_e=_e||ie,!_e){const E=G;if(G==G)if("string"==typeof $){if($.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,_e=_e||ie}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=le,null!==q&&(le?q.length=le:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${"use strict";function r(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const R in E){let N=E[R];const $=G,j=G;let _e=!1;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const R={params:{additionalProperty:E}};null===q?q=[R]:q.push(R),G++;break}if(E===G){if(void 0!==N.eager){const E=G;if("boolean"!=typeof N.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==N.shareKey){let E=N.shareKey;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie){if(void 0!==N.shareScope){let E=N.shareScope;const R=G;if(G===R)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0;if(ie)if(void 0!==N.version){let E=N.version;const R=G,$=G;let j=!1;const le=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=le===G;if(j=j||ae,!j){const R=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=R===G,j=j||ae}if(j)G=$,null!==q&&($?q.length=$:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=R===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var le=Ee===G;if(_e=_e||le,!_e){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=E===G,_e=_e||le}if(!_e){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=j,null!==q&&(j?q.length=j:q=null),$!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:R="",parentData:N,parentDataProperty:$,rootData:j=E}={}){let q=null,G=0;const ie=G;let ae=!1;const le=G;if(G===le)if(Array.isArray(E)){const N=E.length;for(let $=0;${class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const R=new Node(E);if(this._head){this._tail.next=R;this._tail=R}else{this._head=R;this._tail=R}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},77086:(module,__unused_webpack_exports,__webpack_require__)=>{const resolve=__webpack_require__(47030);const fs=__webpack_require__(15808);const crypto=__webpack_require__(6113);const{join:join,dirname:dirname,extname:extname,relative:relative,resolve:pathResolve}=__webpack_require__(71017);const webpack=__webpack_require__(86443);const MemoryFS=__webpack_require__(56342);const terser=__webpack_require__(44858);const tsconfigPaths=__webpack_require__(46543);const{loadTsconfig:loadTsconfig}=__webpack_require__(9492);const TsconfigPathsPlugin=__webpack_require__(96217);const shebangRegEx=__webpack_require__(89681);const nccCacheDir=__webpack_require__(13946);const LicenseWebpackPlugin=__webpack_require__(58907).s;const{version:nccVersion}=__webpack_require__(4147);const{hasTypeModule:hasTypeModule}=__webpack_require__(62664);fs.gracefulify(__webpack_require__(57147));const SUPPORTED_EXTENSIONS=[".js",".json",".node",".mjs",".ts",".tsx"];const hashOf=E=>crypto.createHash("md4").update(E).digest("hex").slice(0,10);const defaultPermissions=438;const relocateLoader=eval('require(__dirname + "/loaders/relocate-loader.js")');module.exports=ncc;function ncc(entry,{cache:cache,customEmit:customEmit=undefined,esm:esm=entry.endsWith(".mjs")||!entry.endsWith(".cjs")&&hasTypeModule(entry),externals:externals=[],filename:filename="index"+(!esm&&entry.endsWith(".cjs")?".cjs":esm&&(entry.endsWith(".mjs")||!hasTypeModule(entry))?".mjs":".js"),minify:minify=false,sourceMap:sourceMap=false,sourceMapRegister:sourceMapRegister=true,sourceMapBasePrefix:sourceMapBasePrefix="../",assetBuilds:assetBuilds=false,watch:watch=false,v8cache:v8cache=false,filterAssetBase:filterAssetBase=process.cwd(),existingAssetNames:existingAssetNames=[],quiet:quiet=false,debugLog:debugLog=false,transpileOnly:transpileOnly=false,license:license="",target:target,production:production=true,mainFields:mainFields=["main"]}={}){if(esm)v8cache=false;const cjsDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["require","node",production?"production":"development"]});const esmDeps=()=>({mainFields:mainFields,extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],conditionNames:["import","node",production?"production":"development"]});const ext=extname(filename);if(!quiet){console.log(`ncc: Version ${nccVersion}`);console.log(`ncc: Compiling file ${filename} into ${esm?"ESM":"CJS"}`)}if(target&&!target.startsWith("es")){throw new Error(`Invalid "target" value provided ${target}, value must be es version e.g. es2015`)}const resolvedEntry=resolve.sync(entry);process.env.__NCC_OPTS=JSON.stringify({quiet:quiet,typescriptLookupPath:resolvedEntry});const shebangMatch=fs.readFileSync(resolvedEntry).toString().match(shebangRegEx);const mfs=new MemoryFS;existingAssetNames.push(filename);if(sourceMap){existingAssetNames.push(`${filename}.map`);existingAssetNames.push(`sourcemap-register${ext}`)}if(v8cache){existingAssetNames.push(`${filename}.cache`);existingAssetNames.push(`${filename}.cache${ext}`)}const resolvePlugins=[];let fullTsconfig={};try{const E=walkParentDirs({base:process.cwd(),start:dirname(entry),filename:"tsconfig.json"});fullTsconfig=loadTsconfig(E)||{compilerOptions:{}};const R={silent:true};if(fullTsconfig.compilerOptions.allowJs){R.extensions=SUPPORTED_EXTENSIONS}resolvePlugins.push(new TsconfigPathsPlugin(R));if(tsconfig.resultType==="success"){tsconfigMatchPath=tsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl,tsconfig.paths)}}catch(E){}resolvePlugins.push({apply(E){const R=E.resolve;E.resolve=function(E,N,$,j,q){const G=this;R.call(G,E,N,$,j,(function(ie,ae,le){if(le)return q(null,ae,le);if(ie&&!ie.message.startsWith("Can't resolve"))return q(ie);if($.endsWith(".js")&&E.issuer&&(E.issuer.endsWith(".ts")||E.issuer.endsWith(".tsx"))){return R.call(G,E,N,$.slice(0,-3),j,(function(E,R,N){if(N)return q(null,R,N);if(E&&!E.message.startsWith("Can't resolve"))return q(E);q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}q(null,__dirname+"/@@notfound.js?"+(externalMap.get($)||$),$)}))}}});const externalMap=(()=>{const E=[];const R=new Map;const N=new Map;function set(N,$){if(N instanceof RegExp)E.push(N);R.set(N,$)}function get($){if(R.has($))return R.get($);if(N.has($))return N.get($);for(const j of E){const E=$.match(j);if(E){let q=R.get(j);if(E.length>1){q=q.replace(/(\$\d)/g,(R=>{const N=parseInt(R.substr(1),10);return E[N]||R}))}N.set($,q);return q}}return null}return{get:get,set:set}})();if(Array.isArray(externals))externals.forEach((E=>externalMap.set(E,E)));else if(typeof externals==="object")Object.keys(externals).forEach((E=>externalMap.set(E[0]==="/"&&E[E.length-1]==="/"?new RegExp(E.slice(1,-1)):E,externals[E])));let watcher,watchHandler,rebuildHandler;const compilationStack=[];var plugins=[{apply(E){E.hooks.compilation.tap("relocate-loader",(E=>{compilationStack.push(E);relocateLoader.initAssetCache(E)}));E.hooks.watchRun.tap("ncc",(()=>{if(rebuildHandler)rebuildHandler()}));E.hooks.normalModuleFactory.tap("ncc",(E=>{function handler(E){E.hooks.assign.for("require").intercept({register:E=>{if(E.name!=="CommonJsPlugin"){return E}E.fn=()=>{};return E}})}E.hooks.parser.for("javascript/auto").tap("ncc",handler);E.hooks.parser.for("javascript/dynamic").tap("ncc",handler);return E}))}}];if(typeof license==="string"&&license.length>0){plugins.push(new LicenseWebpackPlugin({outputFilename:license}))}const compiler=webpack({entry:entry,cache:cache===false?undefined:{type:"filesystem",cacheDirectory:typeof cache==="string"?cache:nccCacheDir,name:`ncc_${hashOf(entry)}`,version:nccVersion},snapshot:{managedPaths:[],module:{hash:true}},amd:false,experiments:{topLevelAwait:true,outputModule:esm},optimization:{nodeEnv:false,minimize:false,moduleIds:"deterministic",chunkIds:"deterministic",mangleExports:true,concatenateModules:true,innerGraph:true,sideEffects:true},devtool:sourceMap?"cheap-module-source-map":false,mode:"production",target:target?["node14",target]:"node14",stats:{logging:"error"},infrastructureLogging:{level:"error"},output:{path:"/",filename:ext===".cjs"?filename+".js":filename,libraryTarget:esm?"module":"commonjs2",strictModuleExceptionHandling:true,module:esm},resolve:{extensions:SUPPORTED_EXTENSIONS,exportsFields:["exports"],importsFields:["imports"],byDependency:{wasm:esmDeps(),esm:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()},mainFields:mainFields,plugins:resolvePlugins},node:false,externals({context:E,request:R,dependencyType:N},$){const j=externalMap.get(R);if(j)return $(null,`${N==="esm"&&esm?"module":"node-commonjs"} ${j}`);return $()},module:{rules:[{test:/@@notfound\.js$/,use:[{loader:eval('__dirname + "/loaders/notfound-loader.js"')}]},{test:/\.(js|mjs|tsx?|node)$/,use:[{loader:eval('__dirname + "/loaders/empty-loader.js"')},{loader:eval('__dirname + "/loaders/relocate-loader.js"'),options:{customEmit:customEmit,filterAssetBase:filterAssetBase,existingAssetNames:existingAssetNames,escapeNonAnalyzableRequires:true,wrapperCompatibility:true,debugLog:debugLog}}]},{test:/\.tsx?$/,use:[{loader:eval('__dirname + "/loaders/uncacheable.js"')},{loader:eval('__dirname + "/loaders/ts-loader.js"'),options:{transpileOnly:transpileOnly,compiler:eval('__dirname + "/typescript.js"'),compilerOptions:{module:"esnext",target:"esnext",...fullTsconfig.compilerOptions,allowSyntheticDefaultImports:true,noEmit:false,outDir:"//"}}}]},{parser:{amd:false},exclude:/\.(node|json)$/,use:[{loader:eval('__dirname + "/loaders/shebang-loader.js"')}]}]},plugins:plugins});compiler.outputFileSystem=mfs;if(!watch){return new Promise(((E,R)=>{compiler.run(((N,$)=>{if(N)return R(N);compiler.close((N=>{if(N)return R(N);if($.hasErrors()){const E=[...$.compilation.errors].map((E=>E.message)).join("\n");return R(new Error(E))}E($)}))}))})).then(finalizeHandler,(function(E){compilationStack.pop();throw E}))}else{if(typeof watch==="object"){if(!watch.watch)throw new Error("Watcher class must be a valid Webpack WatchFileSystem class instance (https://github.com/webpack/webpack/blob/master/lib/node/NodeWatchFileSystem.js)");compiler.watchFileSystem=watch;watch.inputFileSystem=compiler.inputFileSystem}let E;watcher=compiler.watch({},(async(R,N)=>{if(R){compilationStack.pop();return watchHandler({err:R})}if(N.hasErrors()){compilationStack.pop();return watchHandler({err:N.toString()})}const $=await finalizeHandler(N);if(watchHandler)watchHandler($);else E=$}));let R=false;return{close(){if(!watcher)throw new Error("No watcher to close.");if(R)throw new Error("Watcher already closed.");R=true;watcher.close()},handler(R){if(watchHandler)throw new Error("Watcher handler already provided.");watchHandler=R;if(E){R(E);E=null}},rebuild(E){if(rebuildHandler)throw new Error("Rebuild handler already provided.");rebuildHandler=E}}}async function finalizeHandler(E){const R=Object.create(null);getFlatFiles(mfs.data,R,relocateLoader.getAssetMeta,fullTsconfig);const N=Object.create(null);for(const[E,$]of Object.entries(relocateLoader.getSymlinks())){const j=join(dirname(E),$);if(j in R)N[E]=$}delete R[filename+(ext===".cjs"?".js":"")];delete R[`${filename}${ext===".cjs"?".js":""}.map`];let $=mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}`,"utf8");let j=sourceMap?mfs.readFileSync(`/${filename}${ext===".cjs"?".js":""}.map`,"utf8"):null;if(j){j=JSON.parse(j);j.sources=j.sources.map((E=>{while(E.startsWith("webpack:///"))E=E.slice(11);if(E.startsWith("//"))E=E.slice(1);if(E.startsWith("/"))E=relative(process.cwd(),E).replace(/\\/g,"/");if(E.startsWith("external "))E="node:"+E.slice(9);if(E.startsWith("./"))E=E.slice(2);if(E.startsWith("(webpack)"))E="webpack"+E.slice(9);if(E.startsWith("webpack/"))return"/webpack/"+E.slice(8);return sourceMapBasePrefix+E}))}if(minify){let E;try{E=await terser.minify($,{module:esm,compress:false,mangle:{keep_classnames:true,keep_fnames:true},sourceMap:j?{content:j,filename:filename,url:`${filename}.map`}:false});if(!E||E.code===undefined)throw null;({code:$,map:j}={code:E.code,map:j?JSON.parse(E.map):undefined})}catch(E){console.log("An error occurred while minifying. The result will not be minified.")}}if(j){R[`${filename}.map`]={source:JSON.stringify(j),permissions:defaultPermissions}}if(v8cache){const{Script:E}=__webpack_require__(26144);R[`${filename}.cache`]={source:new E($).createCachedData(),permissions:defaultPermissions};R[`${filename}.cache${ext}`]={source:$,permissions:defaultPermissions};const N=-"(function (exports, require, module, __filename, __dirname) { ".length;$=`const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module');\n`+`const basename = __dirname + '/${filename}';\n`+`const source = readFileSync(basename + '.cache${ext}', 'utf-8');\n`+`const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache');\n`+`const scriptOpts = { filename: basename + '.cache${ext}', columnOffset: ${N} }\n`+`const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts);\n`+`(script.runInThisContext())(exports, require, module, __filename, __dirname);\n`+`if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} });\n`}if(j&&sourceMapRegister){const E=esm?".cjs":ext;$=(esm?`import './sourcemap-register${E}';`:`require('./sourcemap-register${E}');`)+$;R[`sourcemap-register${E}`]={source:fs.readFileSync(`${__dirname}/sourcemap-register.js.cache.js`),permissions:defaultPermissions}}if(esm&&!filename.endsWith(".mjs")){const E=dirname(filename);const N=(E==="."?"":E)+"package.json";if(R[N])R[N].source=JSON.stringify(Object.assign(JSON.parse(R[N].source.toString()),{type:"module"}));else R[N]={source:JSON.stringify({type:"module"},null,2)+"\n",permissions:defaultPermissions}}if(shebangMatch){$=shebangMatch[0]+$;if(j)j.mappings=";"+j.mappings}if($.indexOf('"__webpack_require__"')===-1){if($.indexOf("__nccwpck_require2_")!==-1){for(let E=9;E>1;E--){if($.indexOf(`__nccwpck_require${E}_`)===-1)continue;if(E===9)throw new Error("9 levels of ncc build nesting reached, please post an issue to support this level of ncc build composition.");$=$.replace(new RegExp(`__nccwpck_require${E}_`,"g"),`__nccwpck_require${E+1}_`)}}if($.indexOf("__nccwpck_require__")!==-1)$=$.replace(/__nccwpck_require__/g,"__nccwpck_require2_");$=$.replace(/__webpack_require__/g,"__nccwpck_require__")}if(assetBuilds){const $=compilationStack[compilationStack.length-1];let j=Object.keys(R);j.push(`${filename}${ext===".cjs"?".js":""}`);const q=[];for(const E of Object.keys(R)){if(!E.endsWith(".js")&&!E.endsWith(".cjs")&&!E.endsWith(".ts")&&!E.endsWith(".mjs")||E.endsWith(".cache.js")||E.endsWith(".cache.cjs")||E.endsWith(".cache.ts")||E.endsWith(".cache.mjs")||E.endsWith(".d.ts")){j.push(E);continue}const R=relocateLoader.getAssetMeta(E,$);if(!R||!R.path){j.push(E);continue}q.push(E)}for(const G of q){const q=relocateLoader.getAssetMeta(G,$);const ie=q.path;const{code:ae,assets:le,symlinks:_e,stats:Ee}=await ncc(ie,{cache:cache,externals:externals,filename:G,minify:minify,sourceMap:sourceMap,sourceMapRegister:sourceMapRegister,sourceMapBasePrefix:sourceMapBasePrefix,assetBuilds:false,v8cache:v8cache,filterAssetBase:filterAssetBase,existingAssetNames:j,quiet:quiet,debugLog:debugLog,transpileOnly:true,license:license,target:target});Object.assign(N,_e);Object.assign(E,Ee);for(const E of Object.keys(le)){R[E]=le[E];if(!j.includes(E))j.push(E)}R[G]={source:ae,permissions:q.permissions}}}compilationStack.pop();return{code:$,map:j?JSON.stringify(j):undefined,assets:R,symlinks:N,stats:E}}}function getFlatFiles(E,R,N,$,j=""){for(const q of Object.keys(E)){const G=E[q];let ie=`${j}/${q}`;if(G[""]===true)getFlatFiles(G,R,N,$,ie);else if(!ie.endsWith("/")){const j=N(ie.substr(1))||{};if(ie.endsWith(".d.ts")){const E=$.compilerOptions.outDir?pathResolve($.compilerOptions.outDir):__webpack_require__.ab+"dist";ie=ie.replace(E,"").replace(process.cwd(),"")}R[ie.substr(1)]={source:E[q],permissions:j.permissions}}}}function walkParentDirs({base:E,start:R,filename:N}){let $="";for(let j=R;E.length<=j.length;j=$){const E=join(j,N);if(fs.existsSync(E)){return E}$=dirname(j)}return null}},62664:(__unused_webpack_module,exports,__webpack_require__)=>{const{resolve:resolve}=__webpack_require__(71017);const{readFileSync:readFileSync}=__webpack_require__(57147);exports.hasTypeModule=function hasTypeModule(path){while(path!==(path=resolve(path,".."))){try{return JSON.parse(readFileSync(eval("resolve")(path,"package.json")).toString()).type==="module"}catch(E){if(E.code==="ENOENT")continue;throw E}}}},13946:(E,R,N)=>{E.exports=N(22037).tmpdir()+"/ncc-cache"},89681:E=>{E.exports=/^#![^\n\r]*[\r\n]/},92915:module=>{module.exports=eval("require")("enhanced-resolve/lib/createInnerCallback")},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},98188:E=>{"use strict";E.exports=require("module")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,R,N){(function(E,$){true?$(R,N(37362)):0})(this,(function(E,R){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var $=_interopDefaultLegacy(R);function characters(E){return E.split("")}function member(E,R){return R.includes(E)}class DefaultsError extends Error{constructor(E,R){super();this.name="DefaultsError";this.message=E;this.defs=R}}function defaults(E,R,N){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const $=E||{};if(N)for(const E in $)if(HOP($,E)&&!HOP(R,E)){throw new DefaultsError("`"+E+"` is not a supported option",R)}for(const N in R)if(HOP(R,N)){if(!E||!HOP(E,N)){$[N]=R[N]}else if(N==="ecma"){let R=E[N]|0;if(R>5&&R<2015)R+=2009;$[N]=R}else{$[N]=E&&HOP(E,N)?E[N]:R[N]}}return $}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var j=function(){function MAP(R,N,$){var j=[],q=[],G;function doit(){var ie=N(R[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,$?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){j.push.apply(j,$?ie.v.slice().reverse():ie.v)}else{j.push(ie)}}return ae}if(Array.isArray(R)){if($){for(G=R.length;--G>=0;)if(doit())break;j.reverse();q.reverse()}else{for(G=0;G=0;){if(E[N]===R)E.splice(N,1)}}function mergeSort(E,R){if(E.length<2)return E.slice();function merge(E,N){var $=[],j=0,q=0,G=0;while(j{N+=E}))}return N}function has_annotation(E,R){return E._annotations&R}function set_annotation(E,R){E._annotations|=R}var ie="";var ae=true;var le="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var _e="false null true";var Ee="enum implements import interface package private protected public static super this "+_e+" "+le;var we="return new delete throw else case yield await";le=makePredicate(le);Ee=makePredicate(Ee);we=makePredicate(we);_e=makePredicate(_e);var Ie=makePredicate(characters("+-*&%=<>!?|~^"));var Me=/[0-9a-f]/i;var Te=/^0x[0-9a-f]+$/i;var Ne=/^0[0-7]+$/;var Be=/^0o[0-7]+$/i;var Le=/^0b[01]+$/i;var je=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var ze=/^(0[xob])?[0-9a-f]+n$/i;var Ue=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var qe=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var Ge=makePredicate(characters("\n\r\u2028\u2029"));var He=makePredicate(characters(";]),:"));var We=makePredicate(characters("[{(,;:"));var Ve=makePredicate(characters("[]{}(),;:"));var Ke={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){if(is_surrogate_pair_tail(E.charCodeAt(R+1))){return E.charAt(R)+E.charAt(R+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(R))){if(is_surrogate_pair_head(E.charCodeAt(R-1))){return E.charAt(R-1)+E.charAt(R)}}return E.charAt(R)}function get_full_char_code(E,R){if(is_surrogate_pair_head(E.charCodeAt(R))){return 65536+(E.charCodeAt(R)-55296<<10)+E.charCodeAt(R+1)-56320}return E.charCodeAt(R)}function get_full_char_length(E){var R=0;for(var N=0;N65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return Ke.ID_Start.test(E)}function is_identifier_char(E){return Ke.ID_Continue.test(E)}const Qe=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Qe.test(E)}function is_identifier_string(E,R){if(Qe.test(E)){return true}if(!R&&/[\ud800-\udfff]/.test(E)){return false}var N=Ke.ID_Start.exec(E);if(!N||N.index!==0){return false}E=E.slice(N[0].length);if(!E){return true}N=Ke.ID_Continue.exec(E);return!!N&&N[0].length===E.length}function parse_js_number(E,R=true){if(!R&&E.includes("e")){return NaN}if(Te.test(E)){return parseInt(E.substr(2),16)}else if(Ne.test(E)){return parseInt(E.substr(1),8)}else if(Be.test(E)){return parseInt(E.substr(2),8)}else if(Le.test(E)){return parseInt(E.substr(2),2)}else if(je.test(E)){return parseFloat(E)}else{var N=parseFloat(E);if(N==E)return N}}class JS_Parse_Error extends Error{constructor(E,R,N,$,j){super();this.name="SyntaxError";this.message=E;this.filename=R;this.line=N;this.col=$;this.pos=j}}function js_error(E,R,N,$,j){throw new JS_Parse_Error(E,R,N,$,j)}function is_token(E,R,N){return E.type==R&&(N==null||E.value==N)}var Je={};function tokenizer(E,R,N,$){var j={text:E,filename:R,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char(j.text,j.pos)}function is_option_chain_op(){const E=j.text.charCodeAt(j.pos+1)===46;if(!E)return false;const R=j.text.charCodeAt(j.pos+2);return R<48||R>57}function next(E,R){var N=get_full_char(j.text,j.pos++);if(E&&!N)throw Je;if(Ge.has(N)){j.newline_before=j.newline_before||!R;++j.line;j.col=0;if(N=="\r"&&peek()=="\n"){++j.pos;N="\n"}}else{if(N.length>1){++j.pos;++j.col}++j.col}return N}function forward(E){while(E--)next()}function looking_at(E){return j.text.substr(j.pos,E.length)==E}function find_eol(){var E=j.text;for(var R=j.pos,N=j.text.length;R="0"&&E<="7"}function read_escaped_char(E,R,N){var $=next(true,E);switch($.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,R));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-j.pos;if(G>6||(q=hex_bytes(G,R))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,R));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal($)){if(N&&R){const E=$==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence($,R)}return $}function read_octal_escape_sequence(E,R){var N=peek();if(N>="0"&&N<="7"){E+=next(true);if(E[0]<="3"&&(N=peek())>="0"&&N<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&R)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,R){var N=0;for(;E>0;--E){if(!R&&isNaN(parseInt(peek(),16))){return parseInt(N,16)||""}var $=next(true);if(isNaN(parseInt($,16)))parse_error("Invalid hex-character pattern in string");N+=$}return parseInt(N,16)}var Be=with_eof_error("Unterminated string constant",(function(){const E=j.pos;var R=next(),N=[];for(;;){var $=next(true,true);if($=="\\")$=read_escaped_char(true,true);else if($=="\r"||$=="\n")parse_error("Unterminated string constant");else if($==R)break;N.push($)}var q=token("string",N.join(""));ie=j.text.slice(E,j.pos);q.quote=R;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){j.template_braces.push(j.brace_counter)}var R="",N="",$,q;next(true,true);while(($=next(true,true))!="`"){if($=="\r"){if(peek()=="\n")++j.pos;$="\n"}else if($=="$"&&peek()=="{"){next(true,true);j.brace_counter++;q=token(E?"template_head":"template_substitution",R);ie=N;ae=false;return q}N+=$;if($=="\\"){var le=j.pos;var _e=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));$=read_escaped_char(true,!_e,true);N+=j.text.substr(le,j.pos-le)}R+=$}j.template_braces.pop();q=token(E?"template_head":"template_substitution",R);ie=N;ae=true;return q}));function skip_line_comment(E){var R=j.regex_allowed;var N=find_eol(),$;if(N==-1){$=j.text.substr(j.pos);j.pos=j.text.length}else{$=j.text.substring(j.pos,N);j.pos=N}j.col=j.tokcol+(j.pos-j.tokpos);j.comments_before.push(token(E,$,true));j.regex_allowed=R;return next_token}var je=with_eof_error("Unterminated multiline comment",(function(){var E=j.regex_allowed;var R=find("*/",true);var N=j.text.substring(j.pos,R).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(N)+2);j.comments_before.push(token("comment2",N,true));j.newline_before=j.newline_before||N.includes("\n");j.regex_allowed=E;return next_token}));var He=with_eof_error("Unterminated identifier name",(function(){var E=[],R,N=false;var read_escaped_identifier_char=function(){N=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_start(R)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(R)){next()}else{return""}E.push(R);while((R=peek())!=null){if((R=peek())==="\\"){R=read_escaped_identifier_char();if(!is_identifier_char(R)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(R)){break}next()}E.push(R)}const $=E.join("");if(Ee.has($)&&N){parse_error("Escaped characters are not allowed in keywords")}return $}));var Ke=with_eof_error("Unterminated regular expression",(function(E){var R=false,N,$=false;while(N=next(true))if(Ge.has(N)){parse_error("Unexpected line terminator")}else if(R){E+="\\"+N;R=false}else if(N=="["){$=true;E+=N}else if(N=="]"&&$){$=false;E+=N}else if(N=="/"&&!$){break}else if(N=="\\"){R=true}else{E+=N}const j=He();return token("regexp","/"+E+"/"+j)}));function read_operator(E){function grow(E){if(!peek())return E;var R=E+peek();if(Ue.has(R)){next();return grow(R)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return je()}return j.regex_allowed?Ke(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=He();if(q)return token("name",E);return _e.has(E)?token("atom",E):!le.has(E)?token("name",E):Ue.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",He())}function with_eof_error(E,R){return function(N){try{return R(N)}catch(R){if(R===Je)parse_error(E);else throw R}}}function next_token(E){if(E!=null)return Ke(E);if($&&j.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(N){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&j.newline_before){forward(3);skip_line_comment("comment4");continue}}var R=peek();if(!R)return token("eof");var q=R.charCodeAt(0);switch(q){case 34:case 39:return Be();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:j.brace_counter++;break;case 125:j.brace_counter--;if(j.template_braces.length>0&&j.template_braces[j.template_braces.length-1]===j.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(Ve.has(R))return token("punc",next());if(Ie.has(R))return read_operator();if(q==92||is_identifier_start(R))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+R+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)j=E;return j};next_token.add_directive=function(E){j.directive_stack[j.directive_stack.length-1].push(E);if(j.directives[E]===undefined){j.directives[E]=1}else{j.directives[E]++}};next_token.push_directives_stack=function(){j.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=j.directive_stack[j.directive_stack.length-1];for(var R=0;R0};return next_token}var Xe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Ye=makePredicate(["--","++"]);var Ze=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var et=makePredicate(["??=","&&=","||="]);var tt=function(E,R){for(var N=0;N","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var nt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,R){const N=new WeakMap;R=defaults(R,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var $={input:typeof E=="string"?tokenizer(E,R.filename,R.html5_comments,R.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};$.token=next();function is(E,R){return is_token($.token,E,R)}function peek(){return $.peeked||($.peeked=$.input())}function next(){$.prev=$.token;if(!$.peeked)peek();$.token=$.peeked;$.peeked=null;$.in_directives=$.in_directives&&($.token.type=="string"||is("punc",";"));return $.token}function prev(){return $.prev}function croak(E,R,N,j){var q=$.input.context();js_error(E,q.filename,R!=null?R:q.tokline,N!=null?N:q.tokcol,j!=null?j:q.tokpos)}function token_error(E,R){croak(R,E.line,E.col)}function unexpected(E){if(E==null)E=$.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,R){if(is(E,R)){return next()}token_error($.token,"Unexpected token "+$.token.type+" «"+$.token.value+"»"+", expected "+E+" «"+R+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!R.strict&&(is("eof")||is("punc","}")||has_newline_before($.token))}function is_in_generator(){return $.in_generator===$.in_function}function is_in_async(){return $.in_async===$.in_function}function can_await(){return $.in_async===$.in_function||$.in_function===0&&$.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...R){const N=$.token;const j=E(...R);j.start=N;j.end=prev();return j}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){$.peeked=null;$.token=$.input($.token.value.substr(1))}}var j=embed_tokens((function statement(E,N,j){handle_regexp();switch($.token.type){case"string":if($.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){$.input.add_directive($.token.value)}else{$.in_directives=false}}var G=$.in_directives,ae=simple_statement();return G&&ae.body instanceof fr?new ut(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if($.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,true,E)}if($.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var le=import_();semicolon();return le}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch($.token.value){case"{":return new ft({start:$.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":$.in_directives=false;next();return new ht;default:unexpected()}case"keyword":switch($.token.value){case"break":next();return break_cont(Ut);case"continue":next();return break_cont(qt);case"debugger":next();semicolon();return new ct;case"do":next();var _e=in_loop(statement);expect_token("keyword","while");var Ee=parenthesised();semicolon(true);return new bt({body:_e,condition:Ee});case"while":next();return new _t({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(N){croak("classes are not allowed as the body of a loop")}if(j){croak("classes are not allowed as the body of an if")}return class_($n,E);case"function":next();if(N){croak("functions are not allowed as the body of a loop")}return function_(Tt,false,false,E);case"if":next();return if_();case"return":if($.in_function==0&&!R.bare_returns)croak("'return' outside of function");next();var we=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){we=expression(true);semicolon()}return new $t({value:we});case"switch":next();return new Vt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before($.token))croak("Illegal newline after 'throw'");var we=expression(true);semicolon();return new jt({value:we});case"try":next();return try_();case"var":next();var le=var_();semicolon();return le;case"let":next();var le=let_();semicolon();return le;case"const":next();var le=const_();semicolon();return le;case"with":if($.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new wt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var le=export_();if(is("punc",";"))semicolon();return le}}}unexpected()}));function labeled_statement(){var E=as_symbol(sr);if(E.name==="await"&&is_in_async()){token_error($.prev,"await cannot be used as label inside async function")}if($.labels.some((R=>R.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");$.labels.push(E);var R=j();$.labels.pop();if(!(R instanceof yt)){E.references.forEach((function(R){if(R instanceof qt){R=R.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",R.line,R.col,R.pos)}}))}return new gt({body:R,label:E})}function simple_statement(E){return new pt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var R=null,N;if(!can_insert_semicolon()){R=as_symbol(cr,true)}if(R!=null){N=$.labels.find((E=>E.name===R.name));if(!N)croak("Undefined label "+R.name);R.thedef=N}else if($.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var j=new E({label:R});if(N)N.references.push(j);return j}function for_(){var E="`for await` invalid in this context";var R=$.token;if(R.type=="name"&&R.value=="await"){if(!can_await()){token_error(R,E)}next()}else{R=false}expect("(");var N=null;if(!is("punc",";")){N=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var j=is("operator","in");var q=is("name","of");if(R&&!q){token_error(R,E)}if(j||q){if(N instanceof en){if(N.definitions.length>1)token_error(N.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(N)||(N=to_destructuring(N))instanceof Ot)){token_error(N.start,"Invalid left-hand side in for..in loop")}next();if(j){return for_in(N)}else{return for_of(N,!!R)}}}else if(R){token_error(R,E)}return regular_for(N)}function regular_for(E){expect(";");var R=is("punc",";")?null:expression(true);expect(";");var N=is("punc",")")?null:expression(true);expect(")");return new xt({init:E,condition:R,step:N,body:in_loop((function(){return j(false,true)}))})}function for_of(E,R){var N=E instanceof en?E.definitions[0].name:null;var $=expression(true);expect(")");return new Et({await:R,init:E,name:N,object:$,body:in_loop((function(){return j(false,true)}))})}function for_in(E){var R=expression(true);expect(")");return new kt({init:E,object:R,body:in_loop((function(){return j(false,true)}))})}var arrow_function=function(E,R,N){if(has_newline_before($.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var j=_function_body(is("punc","{"),false,N);var q=j instanceof Array&&j.length?j[j.length-1].end:j instanceof Array?E:j.end;return new Pt({start:E,end:q,async:N,argnames:R,body:j})};var function_=function(E,R,N,$){var j=E===Tt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol(j?Qn:Yn):null;if(j&&!G){if($){E=Mt}else{unexpected()}}if(G&&E!==It&&!(G instanceof qn))unexpected(prev());var ie=[];var ae=_function_body(true,q||R,N,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:N,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,R){var N=new Set;var $=false;var j=false;var q=false;var G=!!R;var ie={add_parameter:function(R){if(N.has(R.value)){if($===false){$=R}ie.check_strict()}else{N.add(R.value);if(E){switch(R.value){case"arguments":case"eval":case"yield":if(G){token_error(R,"Unexpected "+R.value+" identifier as parameter inside strict mode")}break;default:if(Ee.has(R.value)){unexpected()}}}}},mark_default_assignment:function(E){if(j===false){j=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return j!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&$!==false){token_error($,"Parameter "+$.value+" was used already")}}};return ie}function parameters(E){var R=track_used_binding_identifiers(true,$.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var N=parameter(R);E.push(N);if(!is("punc",")")){expect(",")}if(N instanceof Ct){break}}next()}function parameter(E,R){var N;var j=false;if(E===undefined){E=track_used_binding_identifiers(true,$.input.has_directive("use strict"))}if(is("expand","...")){j=$.token;E.mark_spread($.token);next()}N=binding_element(E,R);if(is("operator","=")&&j===false){E.mark_default_assignment($.token);next();N=new Sn({start:N.start,left:N,operator:"=",right:expression(false),end:$.token})}if(j!==false){if(!is("punc",")")){unexpected()}N=new Ct({start:j,expression:N,end:j})}E.check_strict();return N}function binding_element(E,R){var N=[];var j=true;var q=false;var G;var ie=$.token;if(E===undefined){E=track_used_binding_identifiers(false,$.input.has_directive("use strict"))}R=R===undefined?Kn:R;if(is("punc","[")){next();while(!is("punc","]")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("punc")){switch($.token.value){case",":N.push(new xr({start:$.token,end:$.token}));continue;case"]":break;case"[":case"{":N.push(binding_element(E,R));break;default:unexpected()}}else if(is("name")){E.add_parameter($.token);N.push(as_symbol(R))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment($.token);next();N[N.length-1]=new Sn({start:N[N.length-1].start,left:N[N.length-1],operator:"=",right:expression(false),end:$.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}N[N.length-1]=new Ct({start:G,expression:N[N.length-1],end:G})}}expect("]");E.check_strict();return new Ot({start:ie,names:N,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if(j){j=false}else{expect(",")}if(is("expand","...")){q=true;G=$.token;E.mark_spread($.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter($.token);var ae=prev();var le=as_symbol(R);if(q){N.push(new Ct({start:G,expression:le,end:le.end}))}else{N.push(new In({start:ae,key:le.name,value:le,end:le.end}))}}else if(is("punc","}")){continue}else{var _e=$.token;var Ee=as_property_name();if(Ee===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){N.push(new In({start:prev(),key:Ee,value:new R({start:prev(),name:Ee,end:prev()}),end:prev()}))}else{expect(":");N.push(new In({start:_e,quote:_e.quote,key:Ee,value:binding_element(E,R),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment($.token);next();N[N.length-1].value=new Sn({start:N[N.length-1].value.start,left:N[N.length-1].value,operator:"=",right:expression(false),end:$.token})}}expect("}");E.check_strict();return new Ot({start:ie,names:N,is_array:false,end:prev()})}else if(is("name")){E.add_parameter($.token);return as_symbol(R)}else{croak("Invalid function parameter")}}function params_or_seq_(E,R){var N;var j;var q;var G=[];expect("(");while(!is("punc",")")){if(N)unexpected(N);if(is("expand","...")){N=$.token;if(R)j=$.token;next();G.push(new Ct({start:prev(),expression:expression(),end:$.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(R)j=q}}}expect(")");if(E&&is("arrow","=>")){if(N&&q)unexpected(q)}else if(j){unexpected(j)}return G}function _function_body(E,R,N,j,q){var G=$.in_loop;var ie=$.labels;var ae=$.in_generator;var le=$.in_async;++$.in_function;if(R)$.in_generator=$.in_function;if(N)$.in_async=$.in_function;if(q)parameters(q);if(E)$.in_directives=true;$.in_loop=0;$.labels=[];if(E){$.input.push_directives_stack();var _e=block_();if(j)_verify_symbol(j);if(q)q.forEach(_verify_symbol);$.input.pop_directives_stack()}else{var _e=[new $t({start:$.token,value:expression(false),end:$.token})]}--$.in_function;$.in_loop=G;$.labels=ie;$.in_generator=ae;$.in_async=le;return _e}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",$.prev.line,$.prev.col,$.prev.pos)}return new Gt({start:prev(),end:$.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",$.prev.line,$.prev.col,$.prev.pos)}var E=$.token;var R=false;var N=true;if(can_insert_semicolon()||is("punc")&&He.has($.token.value)){N=false}else if(is("operator","*")){R=true;next()}return new Ht({start:E,is_star:R,expression:N?expression():null,end:prev()})}function if_(){var E=parenthesised(),R=j(false,false,true),N=null;if(is("keyword","else")){next();N=j(false,false,true)}return new Wt({condition:E,body:R,alternative:N})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push(j())}next();return E}function switch_body_(){expect("{");var E=[],R=null,N=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(N)N.end=prev();R=[];N=new Jt({start:(q=$.token,next(),q),expression:expression(true),body:R});E.push(N);expect(":")}else if(is("keyword","default")){if(N)N.end=prev();R=[];N=new Qt({start:(q=$.token,next(),expect(":"),q),body:R});E.push(N)}else{if(!R)unexpected();R.push(j())}}if(N)N.end=prev();next();return E}function try_(){var E=block_(),R=null,N=null;if(is("keyword","catch")){var j=$.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,tr);expect(")")}R=new Yt({start:j,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var j=$.token;next();N=new Zt({start:j,body:block_(),end:prev()})}if(!R&&!N)croak("Missing catch/finally blocks");return new Xt({body:E,bcatch:R,bfinally:N})}function vardefs(E,R){var N=[];var j;for(;;){var q=R==="var"?Gn:R==="const"?Wn:R==="let"?Vn:null;if(is("punc","{")||is("punc","[")){j=new sn({start:$.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{j=new sn({start:$.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&R==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if(j.name.name=="import")croak("Unexpected token: import")}N.push(j);if(!is("punc",","))break;next()}return N}var var_=function(E){return new tn({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new nn({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new rn({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var R=$.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Un({start:R,end:prev()}),E)}var N=expr_atom(false),j;if(is("punc","(")){next();j=expr_list(")",true)}else{j=[]}var q=new pn({start:R,expression:N,args:j,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=$.token,R;switch(E.type){case"name":R=_make_symbol(ir);break;case"num":R=new hr({start:E,end:E,value:E.value,raw:ie});break;case"big_int":R=new mr({start:E,end:E,value:E.value});break;case"string":R=new fr({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[N,$,j]=E.value.match(/^\/(.*)\/(\w*)$/);R=new gr({start:E,end:E,value:{source:$,flags:j}});break;case"atom":switch(E.value){case"false":R=new wr({start:E,end:E});break;case"true":R=new Sr({start:E,end:E});break;case"null":R=new vr({start:E,end:E});break}break}next();return R}function to_fun_args(E,R){var insert_default=function(E,R){if(R){return new Sn({start:E.start,left:E,operator:"=",right:R,end:R.end})}return E};if(E instanceof Cn){return insert_default(new Ot({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),R)}else if(E instanceof In){E.value=to_fun_args(E.value);return insert_default(E,R)}else if(E instanceof xr){return E}else if(E instanceof Ot){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,R)}else if(E instanceof ir){return insert_default(new Kn({name:E.name,start:E.start,end:E.end}),R)}else if(E instanceof Ct){E.expression=to_fun_args(E.expression);return insert_default(E,R)}else if(E instanceof An){return insert_default(new Ot({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),R)}else if(E instanceof wn){return insert_default(to_fun_args(E.left,E.right),R)}else if(E instanceof Sn){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,R){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var j=$.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch($.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(R,!ie);if(R&&is("arrow","=>")){return arrow_function(j,ae.map((E=>to_fun_args(E))),!!ie)}var _e=ie?new un({expression:ie,args:ae}):ae.length==1?ae[0]:new dn({expressions:ae});if(_e.start){const E=j.comments_before.length;N.set(j,E);_e.start.comments_before.unshift(...j.comments_before);j.comments_before=_e.start.comments_before;if(E==0&&j.comments_before.length>0){var Ee=j.comments_before[0];if(!Ee.nlb){Ee.nlb=j.nlb;j.nlb=false}}j.comments_after=_e.start.comments_after}_e.start=j;var we=prev();if(_e.end){we.comments_before=_e.end.comments_before;_e.end.comments_after.push(...we.comments_after);we.comments_after=_e.end.comments_after}_e.end=we;if(_e instanceof un)annotate(_e);return subscripts(_e,E);case"[":return subscripts(q(),E);case"{":return subscripts(le(),E)}if(!ie)unexpected()}if(R&&is("name")&&is_token(peek(),"arrow")){var Ie=new Kn({name:$.token.value,start:j,end:j});next();return arrow_function(j,[Ie],!!ie)}if(is("keyword","function")){next();var Me=function_(Mt,false,!!ie);Me.start=j;Me.end=prev();return subscripts(Me,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Te=class_(jn);Te.start=j;Te.end=prev();return subscripts(Te,E)}if(is("template_head")){return subscripts(template_string(),E)}if(nt.has($.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],R=$.token;E.push(new Nt({start:$.token,raw:ie,value:$.token.value,end:$.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Nt({start:$.token,raw:ie,value:$.token.value,end:$.token}))}next();return new Ft({start:R,segments:E,end:$.token})}function expr_list(E,R,N){var j=true,q=[];while(!is("punc",E)){if(j)j=false;else expect(",");if(R&&is("punc",E))break;if(is("punc",",")&&N){q.push(new xr({start:$.token,end:$.token}))}else if(is("expand","...")){next();q.push(new Ct({start:prev(),expression:expression(),end:$.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new An({elements:expr_list("]",!R.strict,true)})}));var G=embed_tokens(((E,R)=>function_(It,E,R)));var le=embed_tokens((function object_or_destructuring_(){var E=$.token,N=true,j=[];expect("{");while(!is("punc","}")){if(N)N=false;else expect(",");if(!R.strict&&is("punc","}"))break;E=$.token;if(E.type=="expand"){next();j.push(new Ct({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){j.push(ie);continue}G=new ir({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new wn({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}j.push(new In({start:E,quote:E.quote,key:q instanceof ot?q:""+q,value:G,end:prev()}))}next();return new Cn({properties:j})}));function class_(E,R){var N,j,q,G,ie=[];$.input.push_directives_stack();$.input.add_directive("use strict");if($.token.type=="name"&&$.token.value!="extends"){q=as_symbol(E===$n?Zn:er)}if(E===$n&&!q){if(R){E=jn}else{unexpected()}}if($.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){N=$.token;j=concise_method_or_getset(as_property_name(),N,true);if(!j){unexpected()}ie.push(j);while(is("punc",";")){next()}}$.input.pop_directives_stack();next();return new E({start:N,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,R,N){const get_symbol_ast=(E,N=Jn)=>{if(typeof E==="string"||typeof E==="number"){return new N({start:R,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var $=false;var j=false;var q=false;var ie=false;var ae=null;if(N&&E==="static"&&is_not_method_start()){j=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){$=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const le=prev();if(ae!=null){if(!ie){const N=ae==="get"?On:Tn;E=get_symbol_ast(E);return new N({start:R,static:j,key:E,quote:E instanceof Jn?le.quote:undefined,value:G(),end:prev()})}else{const N=ae==="get"?Pn:Mn;return new N({start:R,static:j,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const N=ie?Fn:Rn;var _e=new N({start:R,static:j,is_generator:q,async:$,key:E,quote:E instanceof Jn?le.quote:undefined,value:G(q,$),end:prev()});return _e}if(N){const N=get_symbol_ast(E,Xn);const $=N instanceof Xn?le.quote:undefined;const q=ie?Ln:Bn;if(is("operator","=")){next();return new q({start:R,static:j,quote:$,key:N,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:R,static:j,quote:$,key:N,end:prev()})}}}function import_(){var E=prev();var R;var N;if(is("name")){R=as_symbol(nr)}if(is("punc",",")){next()}N=map_names(true);if(N||R){expect_token("name","from")}var j=$.token;if(j.type!=="string"){unexpected()}next();return new an({start:E,imported_name:R,imported_names:N,module_name:new fr({start:j,value:j.value,quote:j.quote,end:j}),end:$.token})}function import_meta(){var E=$.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new ln({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var R=E?rr:lr;var N=E?nr:ar;var j=$.token;var q;var G;if(E){q=make_symbol(R)}else{G=make_symbol(N)}if(is("name","as")){next();if(E){G=make_symbol(N)}else{q=make_symbol(R)}}else if(E){G=new N(q)}else{q=new R(G)}return new on({start:j,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,R){var N=E?rr:lr;var j=E?nr:ar;var q=$.token;var G;var ie=prev();R=R||new j({name:"*",start:q,end:ie});G=new N({name:"*",start:q,end:ie});return new on({start:q,foreign_name:G,name:R,end:ie})}function map_names(E){var R;if(is("punc","{")){next();R=[];while(!is("punc","}")){R.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var N;next();if(E&&is("name","as")){next();N=as_symbol(E?nr:lr)}R=[map_nameAsterisk(E,N)]}return R}function export_(){var E=$.token;var R;var N;if(is("keyword","default")){R=true;next()}else if(N=map_names(false)){if(is("name","from")){next();var q=$.token;if(q.type!=="string"){unexpected()}next();return new cn({start:E,is_default:R,exported_names:N,module_name:new fr({start:q,value:q.value,quote:q.quote,end:q}),end:prev()})}else{return new cn({start:E,is_default:R,exported_names:N,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||R&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=j(R))instanceof en&&R){unexpected(G.start)}else if(G instanceof en||G instanceof Tt||G instanceof $n){ae=G}else if(G instanceof jn||G instanceof Mt){ie=G}else if(G instanceof pt){ie=G.body}else{unexpected(G.start)}return new cn({start:E,is_default:R,exported_value:ie,exported_definition:ae,end:prev()})}function as_property_name(){var E=$.token;switch(E.type){case"punc":if(E.value==="["){next();var R=expression(false);expect("]");return R}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=$.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var R=$.token.value;return new(R=="this"?ur:R=="super"?pr:E)({name:String(R),start:$.token,end:$.token})}function _verify_symbol(E){var R=E.name;if(is_in_generator()&&R=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if($.input.has_directive("use strict")){if(R=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof qn&&(R=="arguments"||R=="eval")){token_error(E.start,"Unexpected "+R+" in strict mode")}}}function as_symbol(E,R){if(!is("name")){if(!R)croak("Name expected");return null}var N=_make_symbol(E);_verify_symbol(N);next();return N}function annotate(E){var R=E.start;var $=R.comments_before;const j=N.get(R);var q=j!=null?j:$.length;while(--q>=0){var G=$[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,Cr);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,Dr);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Ir);break}}}}var subscripts=function(E,R,N){var $=E.start;if(is("punc",".")){next();const j=is("privatename")?gn:mn;return subscripts(new j({start:$,expression:E,optional:false,property:as_name(),end:prev()}),R,N)}if(is("punc","[")){next();var j=expression(true);expect("]");return subscripts(new yn({start:$,expression:E,optional:false,property:j,end:prev()}),R,N)}if(R&&is("punc","(")){next();var q=new un({start:$,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,N)}if(is("punc","?.")){next();let N;if(R&&is("punc","(")){next();const R=new un({start:$,optional:true,expression:E,args:call_args(),end:prev()});annotate(R);N=subscripts(R,true,true)}else if(is("name")||is("privatename")){const j=is("privatename")?gn:mn;N=subscripts(new j({start:$,expression:E,optional:true,property:as_name(),end:prev()}),R,true)}else if(is("punc","[")){next();const j=expression(true);expect("]");N=subscripts(new yn({start:$,expression:E,optional:true,property:j,end:prev()}),R,true)}if(!N)unexpected();if(N instanceof vn)return N;return new vn({start:$,expression:N,end:prev()})}if(is("template_head")){if(N){unexpected()}return subscripts(new Rt({start:$,prefix:E,template_string:template_string(),end:prev()}),R)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new Ct({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,R){var N=$.token;if(N.type=="name"&&N.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Xe.has(N.value)){next();handle_regexp();var j=make_unary(_n,N,maybe_unary(E));j.start=N;j.end=prev();return j}var q=expr_atom(E,R);while(is("operator")&&Ye.has($.token.value)&&!has_newline_before($.token)){if(q instanceof Pt)unexpected();q=make_unary(xn,$.token,q);q.start=N;q.end=$.token;next()}return q};function make_unary(E,R,N){var j=R.value;switch(j){case"++":case"--":if(!is_assignable(N))croak("Invalid use of "+j+" operator",R.line,R.col,R.pos);break;case"delete":if(N instanceof ir&&$.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",N.start.line,N.start.col,N.start.pos);break}return new E({operator:j,expression:N})}var expr_op=function(E,R,N){var j=is("operator")?$.token.value:null;if(j=="in"&&N)j=null;if(j=="**"&&E instanceof _n&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=j!=null?tt[j]:null;if(q!=null&&(q>R||j==="**"&&R===q)){next();var G=expr_op(maybe_unary(true),q,N);return expr_op(new kn({start:E.start,left:E,operator:j,right:G,end:G.end}),R,N)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var R=$.token;var N=expr_ops(E);if(is("operator","?")){next();var j=expression(false);expect(":");return new En({start:R,condition:N,consequent:j,alternative:expression(false,E),end:prev()})}return N};function is_assignable(E){return E instanceof hn||E instanceof ir}function to_destructuring(E){if(E instanceof Cn){E=new Ot({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof An){var R=[];for(var N=0;N=0;){q+="this."+R[G]+" = props."+R[G]+";"}const ie=$&&Object.create($.prototype);if(ie&&ie.initialize||N&&N.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=$}if($)$.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=R||null;ae.SELF_PROPS=j;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(N)for(G in N)if(HOP(N,G)){if(G[0]==="$"){ae[G.substr(1)]=N[G]}else{ae.prototype[G]=N[G]}}ae.DEFMETHOD=function(E,R){this.prototype[E]=R};return ae}const has_tok_flag=(E,R)=>Boolean(E.flags&R);const set_tok_flag=(E,R,N)=>{if(N){E.flags|=R}else{E.flags&=~R}};const rt=1;const st=2;const it=4;class AST_Token{constructor(E,R,N,$,j,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=R;this.line=N;this.col=$;this.pos=j;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,rt)}set nlb(E){set_tok_flag(this,rt,E)}get quote(){return!has_tok_flag(this,it)?"":has_tok_flag(this,st)?"'":'"'}set quote(E){set_tok_flag(this,st,E==="'");set_tok_flag(this,it,!!E)}}var ot=DEFNODE("Node","start end",{_clone:function(E){if(E){var R=this.clone();return R.transform(new TreeTransformer((function(E){if(E!==R){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var lt=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ct=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},lt);var ut=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},lt);var pt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},lt);function walk_body(E,R){const N=E.body;for(var $=0,j=N.length;$ SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,R){var N=this._clone(E);if(E&&this.variables&&R&&!this._block_scope){N.figure_out_scope({},{toplevel:R,parent_scope:this.parent_scope})}else{if(this.variables)N.variables=new Map(this.variables);if(this.enclosed)N.enclosed=this.enclosed.slice();if(this._block_scope)N._block_scope=this._block_scope}return N},pinned:function(){return this.uses_eval||this.uses_with}},dt);var At=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var R=this.body;var N="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";N=parse(N);N=N.transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return j.splice(R)}})));return N},wrap_enclose:function(E){if(typeof E!="string")E="";var R=E.indexOf(":");if(R<0)R=E.length;var N=this.body;return parse(["(function(",E.slice(0,R),'){"$ORIG"})(',E.slice(R+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return j.splice(N)}})))}},St);var Ct=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var Dt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var R=0;R b)"},Dt);var Tt=DEFNODE("Defun",null,{$documentation:"A function definition"},Dt);var Ot=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.names.length;while(R--)E(this.names[R])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(R){if(R instanceof zn){E.push(R)}})));return E}});var Rt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Ft=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.segments.length;while(R--)E(this.segments[R])}});var Nt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Bt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},lt);var Lt=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Bt);var $t=DEFNODE("Return",null,{$documentation:"A `return` statement"},Lt);var jt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},Lt);var zt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Bt);var Ut=DEFNODE("Break",null,{$documentation:"A `break` statement"},zt);var qt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},zt);var Gt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var Ht=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Wt=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},mt);var Vt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},dt);var Kt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},dt);var Qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Kt);var Jt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);E(this.expression)}},Kt);var Xt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let R=this.body.length;while(R--)E(this.body[R])}},dt);var Yt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let R=this.body.length;while(R--)E(this.body[R]);if(this.argname)E(this.argname)}},dt);var Zt=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},dt);var en=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var R=this.definitions;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.definitions.length;while(R--)E(this.definitions[R])}},lt);var tn=DEFNODE("Var",null,{$documentation:"A `var` statement"},en);var nn=DEFNODE("Let",null,{$documentation:"A `let` statement"},en);var rn=DEFNODE("Const",null,{$documentation:"A `const` statement"},en);var sn=DEFNODE("VarDef","name value",{$documentation:"A variable declaration; only appears in a AST_Definitions node",$propdoc:{name:"[AST_Destructuring|AST_SymbolConst|AST_SymbolLet|AST_SymbolVar] name of the variable",value:"[AST_Node?] initializer, or null of there's no initializer"},_walk:function(E){return E._visit(this,(function(){this.name._walk(E);if(this.value)this.value._walk(E)}))},_children_backwards(E){if(this.value)E(this.value);E(this.name)}});var on=DEFNODE("NameMapping","foreign_name name",{$documentation:"The part of the export/import statement that declare names from a module.",$propdoc:{foreign_name:"[AST_SymbolExportForeign|AST_SymbolImportForeign] The name being exported/imported (as specified in the module)",name:"[AST_SymbolExport|AST_SymbolImport] The name as it is visible to this module."},_walk:function(E){return E._visit(this,(function(){this.foreign_name._walk(E);this.name._walk(E)}))},_children_backwards(E){E(this.name);E(this.foreign_name)}});var an=DEFNODE("Import","imported_name imported_names module_name",{$documentation:"An `import` statement",$propdoc:{imported_name:"[AST_SymbolImport] The name of the variable holding the module's default export.",imported_names:"[AST_NameMapping*] The names of non-default imported variables",module_name:"[AST_String] String literal describing where this module came from"},_walk:function(E){return E._visit(this,(function(){if(this.imported_name){this.imported_name._walk(E)}if(this.imported_names){this.imported_names.forEach((function(R){R._walk(E)}))}this.module_name._walk(E)}))},_children_backwards(E){E(this.module_name);if(this.imported_names){let R=this.imported_names.length;while(R--)E(this.imported_names[R])}if(this.imported_name)E(this.imported_name)}});var ln=DEFNODE("ImportMeta",null,{$documentation:"A reference to import.meta"});var cn=DEFNODE("Export","exported_definition exported_value is_default exported_names module_name",{$documentation:"An `export` statement",$propdoc:{exported_definition:"[AST_Defun|AST_Definitions|AST_DefClass?] An exported definition",exported_value:"[AST_Node?] An exported value",exported_names:"[AST_NameMapping*?] List of exported names",module_name:"[AST_String?] Name of the file to load exports from",is_default:"[Boolean] Whether this is the default exported value of this module"},_walk:function(E){return E._visit(this,(function(){if(this.exported_definition){this.exported_definition._walk(E)}if(this.exported_value){this.exported_value._walk(E)}if(this.exported_names){this.exported_names.forEach((function(R){R._walk(E)}))}if(this.module_name){this.module_name._walk(E)}}))},_children_backwards(E){if(this.module_name)E(this.module_name);if(this.exported_names){let R=this.exported_names.length;while(R--)E(this.exported_names[R])}if(this.exported_value)E(this.exported_value);if(this.exported_definition)E(this.exported_definition)}},lt);var un=DEFNODE("Call","expression args optional _annotations",{$documentation:"A function call expression",$propdoc:{expression:"[AST_Node] expression to invoke as function",args:"[AST_Node*] array of arguments",optional:"[boolean] whether this is an optional call (IE ?.() )",_annotations:"[number] bitfield containing information about the call"},initialize(){if(this._annotations==null)this._annotations=0},_walk(E){return E._visit(this,(function(){var R=this.args;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}this.expression._walk(E)}))},_children_backwards(E){let R=this.args.length;while(R--)E(this.args[R]);E(this.expression)}});var pn=DEFNODE("New",null,{$documentation:"An object instantiation. Derives from a function call since it has exactly the same properties"},un);var dn=DEFNODE("Sequence","expressions",{$documentation:"A sequence expression (comma-separated expressions)",$propdoc:{expressions:"[AST_Node*] array of expressions (at least two)"},_walk:function(E){return E._visit(this,(function(){this.expressions.forEach((function(R){R._walk(E)}))}))},_children_backwards(E){let R=this.expressions.length;while(R--)E(this.expressions[R])}});var hn=DEFNODE("PropAccess","expression property optional",{$documentation:'Base class for property access expressions, i.e. `a.foo` or `a["foo"]`',$propdoc:{expression:"[AST_Node] the “container” expression",property:"[AST_Node|string] the property to access. For AST_Dot & AST_DotHash this is always a plain string, while for AST_Sub it's an arbitrary AST_Node",optional:"[boolean] whether this is an optional property access (IE ?.)"}});var mn=DEFNODE("Dot","quote",{$documentation:"A dotted property access expression",$propdoc:{quote:"[string] the original quote character when transformed from AST_Sub"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},hn);var gn=DEFNODE("DotHash","",{$documentation:"A dotted property access to a private property",_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}},hn);var yn=DEFNODE("Sub",null,{$documentation:'Index-style property access, i.e. `a["foo"]`',_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.property._walk(E)}))},_children_backwards(E){E(this.property);E(this.expression)}},hn);var vn=DEFNODE("Chain","expression",{$documentation:"A chain expression like a?.b?.(c)?.[d]",$propdoc:{expression:"[AST_Call|AST_Dot|AST_DotHash|AST_Sub] chain element."},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var bn=DEFNODE("Unary","operator expression",{$documentation:"Base class for unary expressions",$propdoc:{operator:"[string] the operator",expression:"[AST_Node] expression that this unary operator applies to"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var _n=DEFNODE("UnaryPrefix",null,{$documentation:"Unary prefix expression, i.e. `typeof i` or `++i`"},bn);var xn=DEFNODE("UnaryPostfix",null,{$documentation:"Unary postfix expression, i.e. `i++`"},bn);var kn=DEFNODE("Binary","operator left right",{$documentation:"Binary expression, i.e. `a + b`",$propdoc:{left:"[AST_Node] left-hand side expression",operator:"[string] the operator",right:"[AST_Node] right-hand side expression"},_walk:function(E){return E._visit(this,(function(){this.left._walk(E);this.right._walk(E)}))},_children_backwards(E){E(this.right);E(this.left)}});var En=DEFNODE("Conditional","condition consequent alternative",{$documentation:"Conditional expression using the ternary operator, i.e. `a ? b : c`",$propdoc:{condition:"[AST_Node]",consequent:"[AST_Node]",alternative:"[AST_Node]"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.consequent._walk(E);this.alternative._walk(E)}))},_children_backwards(E){E(this.alternative);E(this.consequent);E(this.condition)}});var wn=DEFNODE("Assign","logical",{$documentation:"An assignment expression — `a = b + 5`",$propdoc:{logical:"Whether it's a logical assignment"}},kn);var Sn=DEFNODE("DefaultAssign",null,{$documentation:"A default assignment expression like in `(a = 3) => a`"},kn);var An=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var R=this.elements;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.elements.length;while(R--)E(this.elements[R])}});var Cn=DEFNODE("Object","properties",{$documentation:"An object literal",$propdoc:{properties:"[AST_ObjectProperty*] array of properties"},_walk:function(E){return E._visit(this,(function(){var R=this.properties;for(var N=0,$=R.length;N<$;N++){R[N]._walk(E)}}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R])}});var Dn=DEFNODE("ObjectProperty","key value",{$documentation:"Base class for literal object properties",$propdoc:{key:"[string|AST_Node] property name. For ObjectKeyVal this is a string. For getters, setters and computed property this is an AST_Node.",value:"[AST_Node] property value. For getters and setters this is an AST_Accessor."},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);this.value._walk(E)}))},_children_backwards(E){E(this.value);if(this.key instanceof ot)E(this.key)}});var In=DEFNODE("ObjectKeyVal","quote",{$documentation:"A key: value object property",$propdoc:{quote:"[string] the original quote character"},computed_key(){return this.key instanceof ot}},Dn);var Mn=DEFNODE("PrivateSetter","static",{$propdoc:{static:"[boolean] whether this is a static private setter"},$documentation:"A private setter property",computed_key(){return false}},Dn);var Pn=DEFNODE("PrivateGetter","static",{$propdoc:{static:"[boolean] whether this is a static private getter"},$documentation:"A private getter property",computed_key(){return false}},Dn);var Tn=DEFNODE("ObjectSetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static setter (classes only)"},$documentation:"An object setter property",computed_key(){return!(this.key instanceof Jn)}},Dn);var On=DEFNODE("ObjectGetter","quote static",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] whether this is a static getter (classes only)"},$documentation:"An object getter property",computed_key(){return!(this.key instanceof Jn)}},Dn);var Rn=DEFNODE("ConciseMethod","quote static is_generator async",{$propdoc:{quote:"[string|undefined] the original quote character, if any",static:"[boolean] is this method static (classes only)",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},$documentation:"An ES6 concise method inside an object or class",computed_key(){return!(this.key instanceof Jn)}},Dn);var Fn=DEFNODE("PrivateMethod","",{$documentation:"A private class method inside a class"},Rn);var Nn=DEFNODE("Class","name extends properties",{$propdoc:{name:"[AST_SymbolClass|AST_SymbolDefClass?] optional class name.",extends:"[AST_Node]? optional parent class",properties:"[AST_ObjectProperty*] array of properties"},$documentation:"An ES6 class",_walk:function(E){return E._visit(this,(function(){if(this.name){this.name._walk(E)}if(this.extends){this.extends._walk(E)}this.properties.forEach((R=>R._walk(E)))}))},_children_backwards(E){let R=this.properties.length;while(R--)E(this.properties[R]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},St);var Bn=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);if(this.value instanceof ot)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof ot)E(this.value);if(this.key instanceof ot)E(this.key)},computed_key(){return!(this.key instanceof Xn)}},Dn);var Ln=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Bn);var $n=DEFNODE("DefClass",null,{$documentation:"A class definition"},Nn);var jn=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Nn);var zn=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Un=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var qn=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},zn);var Gn=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},qn);var Hn=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},qn);var Wn=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Hn);var Vn=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Hn);var Kn=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Gn);var Qn=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},qn);var Jn=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},zn);var Xn=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},zn);var Yn=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},qn);var Zn=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Hn);var er=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},qn);var tr=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Hn);var nr=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Hn);var rr=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},zn);var sr=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},zn);var ir=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},zn);var ar=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},ir);var lr=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},zn);var cr=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},zn);var ur=DEFNODE("This",null,{$documentation:"The `this` symbol"},zn);var pr=DEFNODE("Super",null,{$documentation:"The `super` symbol"},ur);var dr=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var fr=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},dr);var hr=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},dr);var mr=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},dr);var gr=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},dr);var yr=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},dr);var vr=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},yr);var br=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},yr);var _r=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},yr);var xr=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},yr);var kr=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},yr);var Er=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},yr);var wr=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Er);var Sr=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Er);function walk(E,R,N=[E]){const $=N.push.bind(N);while(N.length){const E=N.pop();const j=R(E,N);if(j){if(j===Ar)return true;continue}E._children_backwards($)}return false}function walk_parent(E,R,N){const $=[E];const j=$.push.bind($);const q=N?N.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(N&&E>=q.length){E-=q.length;return N[N.length-(E+1)]}return q[q.length-(1+E)]}};while($.length){ie=$.pop();while(G.length&&$.length==G[G.length-1]){q.pop();G.pop()}const E=R(ie,ae);if(E){if(E===Ar)return true;continue}const N=$.length;ie._children_backwards(j);if($.length>N){q.push(ie);G.push(N-1)}}return false}const Ar=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,R){this.push(E);var N=this.visit(E,R?function(){R.call(E)}:noop);if(!N&&R){R.call(E)}this.pop();return N}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof Dt){this.directives=Object.create(this.directives)}else if(E instanceof ut&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Nn){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof Dt||E instanceof Nn){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var R=this.stack;for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof E)return $}}has_directive(E){var R=this.directives[E];if(R)return R;var N=this.stack[this.stack.length-1];if(N instanceof St&&N.body){for(var $=0;$=0;){var $=R[N];if($ instanceof gt&&$.label.name==E.label.name)return $.body}else for(var N=R.length;--N>=0;){var $=R[N];if($ instanceof yt||E instanceof Ut&&$ instanceof Vt)return $}}}class TreeTransformer extends TreeWalker{constructor(E,R){super();this.before=E;this.after=R}}const Cr=1;const Dr=2;const Ir=4;var Mr=Object.freeze({__proto__:null,AST_Accessor:It,AST_Array:An,AST_Arrow:Pt,AST_Assign:wn,AST_Atom:yr,AST_Await:Gt,AST_BigInt:mr,AST_Binary:kn,AST_Block:dt,AST_BlockStatement:ft,AST_Boolean:Er,AST_Break:Ut,AST_Call:un,AST_Case:Jt,AST_Catch:Yt,AST_Chain:vn,AST_Class:Nn,AST_ClassExpression:jn,AST_ClassPrivateProperty:Ln,AST_ClassProperty:Bn,AST_ConciseMethod:Rn,AST_Conditional:En,AST_Const:rn,AST_Constant:dr,AST_Continue:qt,AST_Debugger:ct,AST_Default:Qt,AST_DefaultAssign:Sn,AST_DefClass:$n,AST_Definitions:en,AST_Defun:Tt,AST_Destructuring:Ot,AST_Directive:ut,AST_Do:bt,AST_Dot:mn,AST_DotHash:gn,AST_DWLoop:vt,AST_EmptyStatement:ht,AST_Exit:Lt,AST_Expansion:Ct,AST_Export:cn,AST_False:wr,AST_Finally:Zt,AST_For:xt,AST_ForIn:kt,AST_ForOf:Et,AST_Function:Mt,AST_Hole:xr,AST_If:Wt,AST_Import:an,AST_ImportMeta:ln,AST_Infinity:kr,AST_IterationStatement:yt,AST_Jump:Bt,AST_Label:sr,AST_LabeledStatement:gt,AST_LabelRef:cr,AST_Lambda:Dt,AST_Let:nn,AST_LoopControl:zt,AST_NameMapping:on,AST_NaN:br,AST_New:pn,AST_NewTarget:Un,AST_Node:ot,AST_Null:vr,AST_Number:hr,AST_Object:Cn,AST_ObjectGetter:On,AST_ObjectKeyVal:In,AST_ObjectProperty:Dn,AST_ObjectSetter:Tn,AST_PrefixedTemplateString:Rt,AST_PrivateGetter:Pn,AST_PrivateMethod:Fn,AST_PrivateSetter:Mn,AST_PropAccess:hn,AST_RegExp:gr,AST_Return:$t,AST_Scope:St,AST_Sequence:dn,AST_SimpleStatement:pt,AST_Statement:lt,AST_StatementWithBody:mt,AST_String:fr,AST_Sub:yn,AST_Super:pr,AST_Switch:Vt,AST_SwitchBranch:Kt,AST_Symbol:zn,AST_SymbolBlockDeclaration:Hn,AST_SymbolCatch:tr,AST_SymbolClass:er,AST_SymbolClassProperty:Xn,AST_SymbolConst:Wn,AST_SymbolDeclaration:qn,AST_SymbolDefClass:Zn,AST_SymbolDefun:Qn,AST_SymbolExport:ar,AST_SymbolExportForeign:lr,AST_SymbolFunarg:Kn,AST_SymbolImport:nr,AST_SymbolImportForeign:rr,AST_SymbolLambda:Yn,AST_SymbolLet:Vn,AST_SymbolMethod:Jn,AST_SymbolRef:ir,AST_SymbolVar:Gn,AST_TemplateSegment:Nt,AST_TemplateString:Ft,AST_This:ur,AST_Throw:jt,AST_Token:AST_Token,AST_Toplevel:At,AST_True:Sr,AST_Try:Xt,AST_Unary:bn,AST_UnaryPostfix:xn,AST_UnaryPrefix:_n,AST_Undefined:_r,AST_Var:tn,AST_VarDef:sn,AST_While:_t,AST_With:wt,AST_Yield:Ht,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Ar,walk_body:walk_body,walk_parent:walk_parent,_INLINE:Dr,_NOINLINE:Ir,_PURE:Cr});function def_transform(E,R){E.DEFMETHOD("transform",(function(E,N){let $=undefined;E.push(this);if(E.before)$=E.before(this,R,N);if($===undefined){$=this;R($,E);if(E.after){const R=E.after($,N);if(R!==undefined)$=R}}E.pop();return $}))}function do_list(E,R){return j(E,(function(E){return E.transform(R,true)}))}def_transform(ot,noop);def_transform(gt,(function(E,R){E.label=E.label.transform(R);E.body=E.body.transform(R)}));def_transform(pt,(function(E,R){E.body=E.body.transform(R)}));def_transform(dt,(function(E,R){E.body=do_list(E.body,R)}));def_transform(bt,(function(E,R){E.body=E.body.transform(R);E.condition=E.condition.transform(R)}));def_transform(_t,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R)}));def_transform(xt,(function(E,R){if(E.init)E.init=E.init.transform(R);if(E.condition)E.condition=E.condition.transform(R);if(E.step)E.step=E.step.transform(R);E.body=E.body.transform(R)}));def_transform(kt,(function(E,R){E.init=E.init.transform(R);E.object=E.object.transform(R);E.body=E.body.transform(R)}));def_transform(wt,(function(E,R){E.expression=E.expression.transform(R);E.body=E.body.transform(R)}));def_transform(Lt,(function(E,R){if(E.value)E.value=E.value.transform(R)}));def_transform(zt,(function(E,R){if(E.label)E.label=E.label.transform(R)}));def_transform(Wt,(function(E,R){E.condition=E.condition.transform(R);E.body=E.body.transform(R);if(E.alternative)E.alternative=E.alternative.transform(R)}));def_transform(Vt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Jt,(function(E,R){E.expression=E.expression.transform(R);E.body=do_list(E.body,R)}));def_transform(Xt,(function(E,R){E.body=do_list(E.body,R);if(E.bcatch)E.bcatch=E.bcatch.transform(R);if(E.bfinally)E.bfinally=E.bfinally.transform(R)}));def_transform(Yt,(function(E,R){if(E.argname)E.argname=E.argname.transform(R);E.body=do_list(E.body,R)}));def_transform(en,(function(E,R){E.definitions=do_list(E.definitions,R)}));def_transform(sn,(function(E,R){E.name=E.name.transform(R);if(E.value)E.value=E.value.transform(R)}));def_transform(Ot,(function(E,R){E.names=do_list(E.names,R)}));def_transform(Dt,(function(E,R){if(E.name)E.name=E.name.transform(R);E.argnames=do_list(E.argnames,R);if(E.body instanceof ot){E.body=E.body.transform(R)}else{E.body=do_list(E.body,R)}}));def_transform(un,(function(E,R){E.expression=E.expression.transform(R);E.args=do_list(E.args,R)}));def_transform(dn,(function(E,R){const N=do_list(E.expressions,R);E.expressions=N.length?N:[new hr({value:0})]}));def_transform(mn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(yn,(function(E,R){E.expression=E.expression.transform(R);E.property=E.property.transform(R)}));def_transform(vn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(Ht,(function(E,R){if(E.expression)E.expression=E.expression.transform(R)}));def_transform(Gt,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(bn,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(kn,(function(E,R){E.left=E.left.transform(R);E.right=E.right.transform(R)}));def_transform(En,(function(E,R){E.condition=E.condition.transform(R);E.consequent=E.consequent.transform(R);E.alternative=E.alternative.transform(R)}));def_transform(An,(function(E,R){E.elements=do_list(E.elements,R)}));def_transform(Cn,(function(E,R){E.properties=do_list(E.properties,R)}));def_transform(Dn,(function(E,R){if(E.key instanceof ot){E.key=E.key.transform(R)}if(E.value)E.value=E.value.transform(R)}));def_transform(Nn,(function(E,R){if(E.name)E.name=E.name.transform(R);if(E.extends)E.extends=E.extends.transform(R);E.properties=do_list(E.properties,R)}));def_transform(Ct,(function(E,R){E.expression=E.expression.transform(R)}));def_transform(on,(function(E,R){E.foreign_name=E.foreign_name.transform(R);E.name=E.name.transform(R)}));def_transform(an,(function(E,R){if(E.imported_name)E.imported_name=E.imported_name.transform(R);if(E.imported_names)do_list(E.imported_names,R);E.module_name=E.module_name.transform(R)}));def_transform(cn,(function(E,R){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(R);if(E.exported_value)E.exported_value=E.exported_value.transform(R);if(E.exported_names)do_list(E.exported_names,R);if(E.module_name)E.module_name=E.module_name.transform(R)}));def_transform(Ft,(function(E,R){E.segments=do_list(E.segments,R)}));def_transform(Rt,(function(E,R){E.prefix=E.prefix.transform(R);E.template_string=E.template_string.transform(R)}));(function(){var normalize_directives=function(E){var R=true;for(var N=0;N1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Xt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(R[0]),bfinally:E.finalizer?new Zt(from_moz(E.finalizer)):null})},Property:function(E){var R=E.key;var N={start:my_start_token(R||E.value),end:my_end_token(E.value),key:R.type=="Identifier"?R.name:R.value,value:from_moz(E.value)};if(E.computed){N.key=from_moz(E.key)}if(E.method){N.is_generator=E.value.generator;N.async=E.value.async;if(!E.computed){N.key=new Jn({name:N.key})}else{N.key=from_moz(E.key)}return new Rn(N)}if(E.kind=="init"){if(R.type!="Identifier"&&R.type!="Literal"){N.key=from_moz(R)}return new In(N)}if(typeof N.key==="string"||typeof N.key==="number"){N.key=new Jn({name:N.key})}N.value=new It(N.value);if(E.kind=="get")return new On(N);if(E.kind=="set")return new Tn(N);if(E.kind=="method"){N.async=E.value.async;N.is_generator=E.value.generator;N.quote=E.computed?'"':null;return new Rn(N)}},MethodDefinition:function(E){var R={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Jn({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new On(R)}if(E.kind=="set"){return new Tn(R)}R.is_generator=E.value.generator;R.async=E.value.async;return new Rn(R)},FieldDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");R=from_moz(E.key)}return new Bn({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let R;if(E.computed){R=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");R=from_moz(E.key)}return new Bn({start:my_start_token(E),end:my_end_token(E),key:R,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new An({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new xr:from_moz(E)}))})},ObjectExpression:function(E){return new Cn({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new dn({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?yn:mn)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new vn({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Jt:Qt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?rn:E.kind==="let"?nn:tn)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var R=null;var N=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!N){N=[]}N.push(new on({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){R=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!N){N=[]}N.push(new on({start:my_start_token(E),end:my_end_token(E),foreign_name:new rr({name:"*"}),name:from_moz(E.local)}))}}));return new an({start:my_start_token(E),end:my_end_token(E),imported_name:R,imported_names:N,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_names:[new on({name:new lr({name:"*"}),foreign_name:new lr({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new on({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new cn({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var R=E.value,N={start:my_start_token(E),end:my_end_token(E)};var $=E.regex;if($&&$.pattern){N.value={source:$.pattern,flags:$.flags};return new gr(N)}else if($){const $=E.raw||R;const j=$.match(/^\/(.*)\/(\w*)$/);if(!j)throw new Error("Invalid regex source "+$);const[q,G,ie]=j;N.value={source:G,flags:ie};return new gr(N)}if(R===null)return new vr(N);switch(typeof R){case"string":N.value=R;return new fr(N);case"number":N.value=R;N.raw=E.raw||R.toString();return new hr(N);case"boolean":return new(R?Sr:wr)(N)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Un({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new ln({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var N=R[R.length-2];return new(N.type=="LabeledStatement"?sr:N.type=="VariableDeclarator"&&N.id===E?N.kind=="const"?Wn:N.kind=="let"?Vn:Gn:/Import.*Specifier/.test(N.type)?N.local===E?nr:rr:N.type=="ExportSpecifier"?N.local===E?ar:lr:N.type=="FunctionExpression"?N.id===E?Yn:Kn:N.type=="FunctionDeclaration"?N.id===E?Qn:Kn:N.type=="ArrowFunctionExpression"?N.params.includes(E)?Kn:ir:N.type=="ClassExpression"?N.id===E?er:ir:N.type=="Property"?N.key===E&&N.computed||N.value===E?ir:Jn:N.type=="PropertyDefinition"||N.type==="FieldDefinition"?N.key===E&&N.computed||N.value===E?ir:Xn:N.type=="ClassDeclaration"?N.id===E?Zn:ir:N.type=="MethodDefinition"?N.computed?ir:Jn:N.type=="CatchClause"?tr:N.type=="BreakStatement"||N.type=="ContinueStatement"?cr:ir)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new mr({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var R="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(R?_n:xn)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?$n:jn)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",ht);map("BlockStatement",ft,"body@body");map("IfStatement",Wt,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",gt,"label>label, body>body");map("BreakStatement",Ut,"label>label");map("ContinueStatement",qt,"label>label");map("WithStatement",wt,"object>expression, body>body");map("SwitchStatement",Vt,"discriminant>expression, cases@body");map("ReturnStatement",$t,"argument>value");map("ThrowStatement",jt,"argument>value");map("WhileStatement",_t,"test>condition, body>body");map("DoWhileStatement",bt,"test>condition, body>body");map("ForStatement",xt,"init>init, test>condition, update>step, body>body");map("ForInStatement",kt,"left>init, right>object, body>body");map("ForOfStatement",Et,"left>init, right>object, body>body, await=await");map("AwaitExpression",Gt,"argument>expression");map("YieldExpression",Ht,"argument>expression, delegate=is_star");map("DebuggerStatement",ct);map("VariableDeclarator",sn,"id>name, init>value");map("CatchClause",Yt,"param>argname, body%body");map("ThisExpression",ur);map("Super",pr);map("BinaryExpression",kn,"operator=operator, left>left, right>right");map("LogicalExpression",kn,"operator=operator, left>left, right>right");map("AssignmentExpression",wn,"operator=operator, left>left, right>right");map("ConditionalExpression",En,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",pn,"callee>expression, arguments@args");map("CallExpression",un,"callee>expression, optional=optional, arguments@args");def_to_moz(At,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(Ct,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Rt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Ft,(function To_Moz_TemplateLiteral(E){var R=[];var N=[];for(var $=0;$({type:"BigIntLiteral",value:E.value})));Er.DEFMETHOD("to_mozilla_ast",dr.prototype.to_mozilla_ast);vr.DEFMETHOD("to_mozilla_ast",dr.prototype.to_mozilla_ast);xr.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));dt.DEFMETHOD("to_mozilla_ast",ft.prototype.to_mozilla_ast);Dt.DEFMETHOD("to_mozilla_ast",Mt.prototype.to_mozilla_ast);function my_start_token(E){var R=E.loc,N=R&&R.start;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.start,false,[],[],R&&R.source)}function my_end_token(E){var R=E.loc,N=R&&R.end;var $=E.range;return new AST_Token("","",N&&N.line||0,N&&N.column||0,$?$[0]:E.end,false,[],[],R&&R.source)}function map(R,N,$){var j="function From_Moz_"+R+"(M){\n";j+="return new U2."+N.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+R+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(R);if($)$.split(/\s*,\s*/).forEach((function(E){var R=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!R)throw new Error("Can't understand property map: "+E);var N=R[1],$=R[2],G=R[3];j+=",\n"+G+": ";q+=",\n"+N+": ";switch($){case"@":j+="M."+N+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":j+="from_moz(M."+N+")";q+="to_moz(M."+G+")";break;case"=":j+="M."+N;q+="M."+G;break;case"%":j+="from_moz(M."+N+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));j+="\n})\n}";q+="\n}\n}";j=new Function("U2","my_start_token","my_end_token","from_moz","return("+j+")")(Mr,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[R]=j;def_to_moz(N,q)}var R=null;function from_moz(N){R.push(N);var $=N!=null?E[N.type](N):null;R.pop();return $}ot.from_mozilla_ast=function(E){var N=R;R=[];var $=from_moz(E);R=N;return $};function set_moz_loc(E,R){var N=E.start;var $=E.end;if(!(N&&$)){return R}if(N.pos!=null&&$.endpos!=null){R.range=[N.pos,$.endpos]}if(N.line){R.loc={start:{line:N.line,column:N.col},end:$.endline?{line:$.endline,column:$.endcol}:null};if(N.file){R.loc.source=N.file}}return R}function def_to_moz(E,R){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,R(this,E))}))}var N=null;function to_moz(E){if(N===null){N=[]}N.push(E);var R=E!=null?E.to_mozilla_ast(N[N.length-2]):null;N.pop();if(N.length===0){N=null}return R}function to_moz_in_destructuring(){var E=N.length;while(E--){if(N[E]instanceof Ot){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,R){var N=R.body.map(to_moz);if(R.body[0]instanceof pt&&R.body[0].body instanceof fr){N.unshift(to_moz(new ht(R.body[0])))}return{type:E,body:N}}})();function first_in_statement(E){let R=E.parent(-1);for(let N=0,$;$=E.parent(N);N++){if($ instanceof lt&&$.body===R)return true;if($ instanceof dn&&$.expressions[0]===R||$.TYPE==="Call"&&$.expression===R||$ instanceof Rt&&$.prefix===R||$ instanceof mn&&$.expression===R||$ instanceof yn&&$.expression===R||$ instanceof En&&$.condition===R||$ instanceof kn&&$.left===R||$ instanceof xn&&$.expression===R){R=$}else{return false}}}function left_is_object(E){if(E instanceof Cn)return true;if(E instanceof dn)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Rt)return left_is_object(E.prefix);if(E instanceof mn||E instanceof yn)return left_is_object(E.expression);if(E instanceof En)return left_is_object(E.condition);if(E instanceof kn)return left_is_object(E.left);if(E instanceof xn)return left_is_object(E.expression);return false}const Pr=/^$|[;{][\s\n]*$/;const Tr=10;const Or=32;const Rr=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var R=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var N=return_false;if(E.comments){let R=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var $=E.comments.lastIndexOf("/");R=new RegExp(E.comments.substr(1,$-1),E.comments.substr($+1))}if(R instanceof RegExp){N=function(E){return E.type!="comment5"&&R.test(E.value)}}else if(typeof R==="function"){N=function(E){return E.type!="comment5"&&R(this,E)}}else if(R==="some"){N=is_some_comments}else{N=return_true}}var j=0;var q=0;var G=1;var ie=0;var ae="";let le=new Set;var _e=E.ascii_only?function(R,N){if(E.ecma>=2015&&!E.safari10){R=R.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var R=get_full_char_code(E,0).toString(16);return"\\u{"+R+"}"}))}return R.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var R=E.charCodeAt(0).toString(16);if(R.length<=2&&!N){while(R.length<2)R="0"+R;return"\\x"+R}else{while(R.length<4)R="0"+R;return"\\u"+R}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,R){if(R){return"\\u"+R.charCodeAt(0).toString(16)}return E}))};function make_string(R,N){var $=0,j=0;R=R.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(N,q){switch(N){case'"':++$;return'"';case"'":++j;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(R,q+1))?"\\x00":"\\0"}return N}));function quote_single(){return"'"+R.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+R.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+R.replace(/`/g,"\\`")+"`"}R=_e(R);if(N==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return N=="'"?quote_single():quote_double();default:return $>j?quote_single():quote_double()}}function encode_string(R,N){var $=make_string(R,N);if(E.inline_script){$=$.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");$=$.replace(/\x3c!--/g,"\\x3c!--");$=$.replace(/--\x3e/g,"--\\x3e")}return $}function make_name(E){E=E.toString();E=_e(E,true);return E}function make_indent(R){return" ".repeat(E.indent_start+j-R*E.indent_level)}var Ee=false;var we=false;var Ie=false;var Me=0;var Te=false;var Ne=false;var Be=-1;var Le="";var je,ze,Ue=E.source_map&&[];var qe=Ue?function(){Ue.forEach((function(R){try{let N=!R.name&&R.token.type=="name"?R.token.value:R.name;if(N instanceof zn){N=N.name}E.source_map.add(R.token.file,R.line,R.col,R.token.line,R.token.col,is_basic_identifier_string(N)?N:undefined)}catch(E){}}));Ue=[]}:noop;var Ge=E.max_line_len?function(){if(q>E.max_line_len){if(Me){var R=ae.slice(0,Me);var N=ae.slice(Me);if(Ue){var $=N.length-q;Ue.forEach((function(E){E.line++;E.col+=$}))}ae=R+"\n"+N;G++;ie++;q=N.length}}if(Me){Me=0;qe()}}:noop;var He=makePredicate("( [ + * / - , . `");function print(R){R=String(R);var N=get_full_char(R,0);if(Te&&N){Te=false;if(N!=="\n"){print("\n");Ve()}}if(Ne&&N){Ne=false;if(!/[\s;})]/.test(N)){We()}}Be=-1;var $=Le.charAt(Le.length-1);if(Ie){Ie=false;if($===":"&&N==="}"||(!N||!";}".includes(N))&&$!==";"){if(E.semicolons||He.has(N)){ae+=";";q++;ie++}else{Ge();if(q>0){ae+="\n";ie++;G++;q=0}if(/^\s+$/.test(R)){Ie=true}}if(!E.beautify)we=false}}if(we){if(is_identifier_char($)&&(is_identifier_char(N)||N=="\\")||N=="/"&&N==$||(N=="+"||N=="-")&&N==Le){ae+=" ";q++;ie++}we=false}if(je){Ue.push({token:je,name:ze,line:G,col:q});je=false;if(!Me)qe()}ae+=R;Ee=R[R.length-1]=="(";ie+=R.length;var j=R.split(/\r?\n/),le=j.length-1;G+=le;q+=j[0].length;if(le>0){Ge();q=j[le].length}Le=R}var star=function(){print("*")};var We=E.beautify?function(){print(" ")}:function(){we=true};var Ve=E.beautify?function(R){if(E.beautify){print(make_indent(R?.5:0))}}:noop;var Ke=E.beautify?function(E,R){if(E===true)E=next_indent();var N=j;j=E;var $=R();j=N;return $}:function(E,R){return R()};var Qe=E.beautify?function(){if(Be<0)return print("\n");if(ae[Be]!="\n"){ae=ae.slice(0,Be)+"\n"+ae.slice(Be);ie++;G++}Be++}:E.max_line_len?function(){Ge();Me=ae.length}:noop;var Je=E.beautify?function(){print(";")}:function(){Ie=true};function force_semicolon(){Ie=false;print(";")}function next_indent(){return j+E.indent_level}function with_block(E){var R;print("{");Qe();Ke(next_indent(),(function(){R=E()}));Ve();print("}");return R}function with_parens(E){print("(");var R=E();print(")");return R}function with_square(E){print("[");var R=E();print("]");return R}function comma(){print(",");We()}function colon(){print(":");We()}var Xe=Ue?function(E,R){je=E;ze=R}:noop;function get(){if(Me){Ge()}return ae}function has_nlb(){let E=ae.length-1;while(E>=0){const R=ae.charCodeAt(E);if(R===Tr){return true}if(R!==Or){return false}E--}return true}function filter_comment(R){if(!E.preserve_annotations){R=R.replace(Rr," ")}if(/^\s*$/.test(R)){return""}return R.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(R){var $=this;var j=R.start;if(!j)return;var q=$.printed_comments;const G=R instanceof Lt&&R.value;if(j.comments_before&&q.has(j.comments_before)){if(G){j.comments_before=[]}else{return}}var ae=j.comments_before;if(!ae){ae=j.comments_before=[]}q.add(ae);if(G){var le=new TreeWalker((function(E){var R=le.parent();if(R instanceof Lt||R instanceof kn&&R.left===E||R.TYPE=="Call"&&R.expression===E||R instanceof En&&R.condition===E||R instanceof mn&&R.expression===E||R instanceof dn&&R.expressions[0]===E||R instanceof yn&&R.expression===E||R instanceof xn){if(!E.start)return;var N=E.start.comments_before;if(N&&!q.has(N)){q.add(N);ae=ae.concat(N)}}else{return true}}));le.push(R);R.value.walk(le)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");Ve()}var _e=E.preamble;if(_e){print(_e.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(N,R).filter((E=>!q.has(E)));if(ae.length==0)return;var Ee=has_nlb();ae.forEach((function(E,R){q.add(E);if(!Ee){if(E.nlb){print("\n");Ve();Ee=true}else if(R>0){We()}}if(/comment[134]/.test(E.type)){var N=filter_comment(E.value);if(N){print("//"+N+"\n");Ve()}Ee=true}else if(E.type=="comment2"){var N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ee=false}}));if(!Ee){if(j.nlb){print("\n");Ve()}else{We()}}}function append_comments(E,R){var $=this;var j=E.end;if(!j)return;var q=$.printed_comments;var G=j[R?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof lt||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length;G.filter(N,E).forEach((function(E,N){if(q.has(E))return;q.add(E);Ne=false;if(Te){print("\n");Ve();Te=false}else if(E.nlb&&(N>0||!has_nlb())){print("\n");Ve()}else if(N>0||!R){We()}if(/comment[134]/.test(E.type)){const R=filter_comment(E.value);if(R){print("//"+R)}Te=true}else if(E.type=="comment2"){const R=filter_comment(E.value);if(R){print("/*"+R+"*/")}Ne=true}}));if(ae.length>ie)Be=ie}var Ye=[];return{get:get,toString:get,indent:Ve,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return j},current_width:function(){return q-j},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return Ee},newline:Qe,print:print,star:star,space:We,comma:comma,colon:colon,last:function(){return Le},semicolon:Je,force_semicolon:force_semicolon,to_utf8:_e,print_name:function(E){print(make_name(E))},print_string:function(E,R,N){var $=encode_string(E,R);if(N===true&&!$.includes("\\")){if(!Pr.test(ae)){force_semicolon()}force_semicolon()}print($)},print_template_string_chars:function(E){var R=encode_string(E,"`").replace(/\${/g,"\\${");return print(R.substr(1,R.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:Ke,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Xe,option:function(R){return E[R]},printed_comments:le,prepend_comments:R?noop:prepend_comments,append_comments:R||N===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Ye.push(E)},pop_node:function(){return Ye.pop()},parent:function(E){return Ye[Ye.length-2-(E||0)]}}}(function(){function DEFPRINT(E,R){E.DEFMETHOD("_codegen",R)}ot.DEFMETHOD("print",(function(E,R){var N=this,$=N._codegen;if(N instanceof St){E.active_scope=N}else if(!E.use_asm&&N instanceof ut&&N.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(N);N.add_source_map(E);$(N,E);E.append_comments(N)}E.push_node(N);if(R||N.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(N===E.use_asm){E.use_asm=null}}));ot.DEFMETHOD("_print",ot.prototype.print);ot.DEFMETHOD("print_to_string",(function(E){var R=OutputStream(E);this.print(R);return R.get()}));function PARENS(E,R){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,R)}))}else{E.DEFMETHOD("needs_parens",R)}}PARENS(ot,return_false);PARENS(Mt,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var R=E.parent();if(R instanceof hn&&R.expression===this){return true}}if(E.option("wrap_iife")){var R=E.parent();if(R instanceof un&&R.expression===this){return true}}if(E.option("wrap_func_args")){var R=E.parent();if(R instanceof un&&R.args.includes(this)){return true}}return false}));PARENS(Pt,(function(E){var R=E.parent();if(E.option("wrap_func_args")&&R instanceof un&&R.args.includes(this)){return true}return R instanceof hn&&R.expression===this}));PARENS(Cn,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(jn,first_in_statement);PARENS(bn,(function(E){var R=E.parent();return R instanceof hn&&R.expression===this||R instanceof un&&R.expression===this||R instanceof kn&&R.operator==="**"&&this instanceof _n&&R.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Gt,(function(E){var R=E.parent();return R instanceof hn&&R.expression===this||R instanceof un&&R.expression===this||R instanceof kn&&R.operator==="**"&&R.left===this||E.option("safari10")&&R instanceof _n}));PARENS(dn,(function(E){var R=E.parent();return R instanceof un||R instanceof bn||R instanceof kn||R instanceof sn||R instanceof hn||R instanceof An||R instanceof Dn||R instanceof En||R instanceof Pt||R instanceof Sn||R instanceof Ct||R instanceof Et&&this===R.object||R instanceof Ht||R instanceof cn}));PARENS(kn,(function(E){var R=E.parent();if(R instanceof un&&R.expression===this)return true;if(R instanceof bn)return true;if(R instanceof hn&&R.expression===this)return true;if(R instanceof kn){const E=R.operator;const N=this.operator;if(N==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(N==="||"||N==="&&")){return true}const $=tt[E];const j=tt[N];if($>j||$==j&&(this===R.right||E=="**")){return true}}}));PARENS(Ht,(function(E){var R=E.parent();if(R instanceof kn&&R.operator!=="=")return true;if(R instanceof un&&R.expression===this)return true;if(R instanceof En&&R.condition===this)return true;if(R instanceof bn)return true;if(R instanceof hn&&R.expression===this)return true}));PARENS(hn,(function(E){var R=E.parent();if(R instanceof pn&&R.expression===this){return walk(this,(E=>{if(E instanceof St)return true;if(E instanceof un){return Ar}}))}}));PARENS(un,(function(E){var R=E.parent(),N;if(R instanceof pn&&R.expression===this||R instanceof cn&&R.is_default&&this.expression instanceof Mt)return true;return this.expression instanceof Mt&&R instanceof hn&&R.expression===this&&(N=E.parent(1))instanceof wn&&N.left===R}));PARENS(pn,(function(E){var R=E.parent();if(this.args.length===0&&(R instanceof hn||R instanceof un&&R.expression===this))return true}));PARENS(hr,(function(E){var R=E.parent();if(R instanceof hn&&R.expression===this){var N=this.getValue();if(N<0||/^0/.test(make_num(N))){return true}}}));PARENS(mr,(function(E){var R=E.parent();if(R instanceof hn&&R.expression===this){var N=this.getValue();if(N.startsWith("-")){return true}}}));PARENS([wn,En],(function(E){var R=E.parent();if(R instanceof bn)return true;if(R instanceof kn&&!(R instanceof wn))return true;if(R instanceof un&&R.expression===this)return true;if(R instanceof En&&R.condition===this)return true;if(R instanceof hn&&R.expression===this)return true;if(this instanceof wn&&this.left instanceof Ot&&this.left.is_array===false)return true}));DEFPRINT(ut,(function(E,R){R.print_string(E.value,E.quote);R.semicolon()}));DEFPRINT(Ct,(function(E,R){R.print("...");E.expression.print(R)}));DEFPRINT(Ot,(function(E,R){R.print(E.is_array?"[":"{");var N=E.names.length;E.names.forEach((function(E,$){if($>0)R.comma();E.print(R);if($==N-1&&E instanceof xr)R.comma()}));R.print(E.is_array?"]":"}")}));DEFPRINT(ct,(function(E,R){R.print("debugger");R.semicolon()}));function display_body(E,R,N,$){var j=E.length-1;N.in_directive=$;E.forEach((function(E,$){if(N.in_directive===true&&!(E instanceof ut||E instanceof ht||E instanceof pt&&E.body instanceof fr)){N.in_directive=false}if(!(E instanceof ht)){N.indent();E.print(N);if(!($==j&&R)){N.newline();if(R)N.newline()}}if(N.in_directive===true&&E instanceof pt&&E.body instanceof fr){N.in_directive=false}}));N.in_directive=false}mt.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(lt,(function(E,R){E.body.print(R);R.semicolon()}));DEFPRINT(At,(function(E,R){display_body(E.body,true,R,true);R.print("")}));DEFPRINT(gt,(function(E,R){E.label.print(R);R.colon();E.body.print(R)}));DEFPRINT(pt,(function(E,R){E.body.print(R);R.semicolon()}));function print_braced_empty(E,R){R.print("{");R.with_indent(R.next_indent(),(function(){R.append_comments(E,true)}));R.print("}")}function print_braced(E,R,N){if(E.body.length>0){R.with_block((function(){display_body(E.body,false,R,N)}))}else print_braced_empty(E,R)}DEFPRINT(ft,(function(E,R){print_braced(E,R)}));DEFPRINT(ht,(function(E,R){R.semicolon()}));DEFPRINT(bt,(function(E,R){R.print("do");R.space();make_block(E.body,R);R.space();R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.semicolon()}));DEFPRINT(_t,(function(E,R){R.print("while");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(xt,(function(E,R){R.print("for");R.space();R.with_parens((function(){if(E.init){if(E.init instanceof en){E.init.print(R)}else{parenthesize_for_noin(E.init,R,true)}R.print(";");R.space()}else{R.print(";")}if(E.condition){E.condition.print(R);R.print(";");R.space()}else{R.print(";")}if(E.step){E.step.print(R)}}));R.space();E._do_print_body(R)}));DEFPRINT(kt,(function(E,R){R.print("for");if(E.await){R.space();R.print("await")}R.space();R.with_parens((function(){E.init.print(R);R.space();R.print(E instanceof Et?"of":"in");R.space();E.object.print(R)}));R.space();E._do_print_body(R)}));DEFPRINT(wt,(function(E,R){R.print("with");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();E._do_print_body(R)}));Dt.DEFMETHOD("_do_print",(function(E,R){var N=this;if(!R){if(N.async){E.print("async");E.space()}E.print("function");if(N.is_generator){E.star()}if(N.name){E.space()}}if(N.name instanceof zn){N.name.print(E)}else if(R&&N.name instanceof ot){E.with_square((function(){N.name.print(E)}))}E.with_parens((function(){N.argnames.forEach((function(R,N){if(N)E.comma();R.print(E)}))}));E.space();print_braced(N,E,true)}));DEFPRINT(Dt,(function(E,R){E._do_print(R)}));DEFPRINT(Rt,(function(E,R){var N=E.prefix;var $=N instanceof Dt||N instanceof kn||N instanceof En||N instanceof dn||N instanceof bn||N instanceof mn&&N.expression instanceof Cn;if($)R.print("(");E.prefix.print(R);if($)R.print(")");E.template_string.print(R)}));DEFPRINT(Ft,(function(E,R){var N=R.parent()instanceof Rt;R.print("`");for(var $=0;$");E.space();const j=R.body[0];if(R.body.length===1&&j instanceof $t){const R=j.value;if(!R){E.print("{}")}else if(left_is_object(R)){E.print("(");R.print(E);E.print(")")}else{R.print(E)}}else{print_braced(R,E)}if($){E.print(")")}}));Lt.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.value){E.space();const R=this.value.start.comments_before;if(R&&R.length&&!E.printed_comments.has(R)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT($t,(function(E,R){E._do_print(R,"return")}));DEFPRINT(jt,(function(E,R){E._do_print(R,"throw")}));DEFPRINT(Ht,(function(E,R){var N=E.is_star?"*":"";R.print("yield"+N);if(E.expression){R.space();E.expression.print(R)}}));DEFPRINT(Gt,(function(E,R){R.print("await");R.space();var N=E.expression;var $=!(N instanceof un||N instanceof ir||N instanceof hn||N instanceof bn||N instanceof dr||N instanceof Gt||N instanceof Cn);if($)R.print("(");E.expression.print(R);if($)R.print(")")}));zt.DEFMETHOD("_do_print",(function(E,R){E.print(R);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT(Ut,(function(E,R){E._do_print(R,"break")}));DEFPRINT(qt,(function(E,R){E._do_print(R,"continue")}));function make_then(E,R){var N=E.body;if(R.option("braces")||R.option("ie8")&&N instanceof bt)return make_block(N,R);if(!N)return R.force_semicolon();while(true){if(N instanceof Wt){if(!N.alternative){make_block(E.body,R);return}N=N.alternative}else if(N instanceof mt){N=N.body}else break}force_statement(E.body,R)}DEFPRINT(Wt,(function(E,R){R.print("if");R.space();R.with_parens((function(){E.condition.print(R)}));R.space();if(E.alternative){make_then(E,R);R.space();R.print("else");R.space();if(E.alternative instanceof Wt)E.alternative.print(R);else force_statement(E.alternative,R)}else{E._do_print_body(R)}}));DEFPRINT(Vt,(function(E,R){R.print("switch");R.space();R.with_parens((function(){E.expression.print(R)}));R.space();var N=E.body.length-1;if(N<0)print_braced_empty(E,R);else R.with_block((function(){E.body.forEach((function(E,$){R.indent(true);E.print(R);if($0)R.newline()}))}))}));Kt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(R){E.indent();R.print(E);E.newline()}))}));DEFPRINT(Qt,(function(E,R){R.print("default:");E._do_print_body(R)}));DEFPRINT(Jt,(function(E,R){R.print("case");R.space();E.expression.print(R);R.print(":");E._do_print_body(R)}));DEFPRINT(Xt,(function(E,R){R.print("try");R.space();print_braced(E,R);if(E.bcatch){R.space();E.bcatch.print(R)}if(E.bfinally){R.space();E.bfinally.print(R)}}));DEFPRINT(Yt,(function(E,R){R.print("catch");if(E.argname){R.space();R.with_parens((function(){E.argname.print(R)}))}R.space();print_braced(E,R)}));DEFPRINT(Zt,(function(E,R){R.print("finally");R.space();print_braced(E,R)}));en.DEFMETHOD("_do_print",(function(E,R){E.print(R);E.space();this.definitions.forEach((function(R,N){if(N)E.comma();R.print(E)}));var N=E.parent();var $=N instanceof xt||N instanceof kt;var j=!$||N&&N.init!==this;if(j)E.semicolon()}));DEFPRINT(nn,(function(E,R){E._do_print(R,"let")}));DEFPRINT(tn,(function(E,R){E._do_print(R,"var")}));DEFPRINT(rn,(function(E,R){E._do_print(R,"const")}));DEFPRINT(an,(function(E,R){R.print("import");R.space();if(E.imported_name){E.imported_name.print(R)}if(E.imported_name&&E.imported_names){R.print(",");R.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(R)}else{R.print("{");E.imported_names.forEach((function(N,$){R.space();N.print(R);if(${if(E instanceof St)return true;if(E instanceof kn&&E.operator=="in"){return Ar}}))}E.print(R,$)}DEFPRINT(sn,(function(E,R){E.name.print(R);if(E.value){R.space();R.print("=");R.space();var N=R.parent(1);var $=N instanceof xt||N instanceof kt;parenthesize_for_noin(E.value,R,$)}}));DEFPRINT(un,(function(E,R){E.expression.print(R);if(E instanceof pn&&E.args.length===0)return;if(E.expression instanceof un||E.expression instanceof Dt){R.add_mapping(E.start)}if(E.optional)R.print("?.");R.with_parens((function(){E.args.forEach((function(E,N){if(N)R.comma();E.print(R)}))}))}));DEFPRINT(pn,(function(E,R){R.print("new");R.space();un.prototype._codegen(E,R)}));dn.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(R,N){if(N>0){E.comma();if(E.should_break()){E.newline();E.indent()}}R.print(E)}))}));DEFPRINT(dn,(function(E,R){E._do_print(R)}));DEFPRINT(mn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;var j=Ee.has($)?R.option("ie8"):!is_identifier_string($,R.option("ecma")>=2015||R.option("safari10"));if(E.optional)R.print("?.");if(j){R.print("[");R.add_mapping(E.end);R.print_string($);R.print("]")}else{if(N instanceof hr&&N.getValue()>=0){if(!/[xa-f.)]/i.test(R.last())){R.print(".")}}if(!E.optional)R.print(".");R.add_mapping(E.end);R.print_name($)}}));DEFPRINT(gn,(function(E,R){var N=E.expression;N.print(R);var $=E.property;if(E.optional)R.print("?");R.print(".#");R.print_name($)}));DEFPRINT(yn,(function(E,R){E.expression.print(R);if(E.optional)R.print("?.");R.print("[");E.property.print(R);R.print("]")}));DEFPRINT(vn,(function(E,R){E.expression.print(R)}));DEFPRINT(_n,(function(E,R){var N=E.operator;R.print(N);if(/^[a-z]/i.test(N)||/[+-]$/.test(N)&&E.expression instanceof _n&&/^[+-]/.test(E.expression.operator)){R.space()}E.expression.print(R)}));DEFPRINT(xn,(function(E,R){E.expression.print(R);R.print(E.operator)}));DEFPRINT(kn,(function(E,R){var N=E.operator;E.left.print(R);if(N[0]==">"&&E.left instanceof xn&&E.left.operator=="--"){R.print(" ")}else{R.space()}R.print(N);if((N=="<"||N=="<<")&&E.right instanceof _n&&E.right.operator=="!"&&E.right.expression instanceof _n&&E.right.expression.operator=="--"){R.print(" ")}else{R.space()}E.right.print(R)}));DEFPRINT(En,(function(E,R){E.condition.print(R);R.space();R.print("?");R.space();E.consequent.print(R);R.space();R.colon();E.alternative.print(R)}));DEFPRINT(An,(function(E,R){R.with_square((function(){var N=E.elements,$=N.length;if($>0)R.space();N.forEach((function(E,N){if(N)R.comma();E.print(R);if(N===$-1&&E instanceof xr)R.comma()}));if($>0)R.space()}))}));DEFPRINT(Cn,(function(E,R){if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.print(",");R.newline()}R.indent();E.print(R)}));R.newline()}));else print_braced_empty(E,R)}));DEFPRINT(Nn,(function(E,R){R.print("class");R.space();if(E.name){E.name.print(R);R.space()}if(E.extends){var N=!(E.extends instanceof ir)&&!(E.extends instanceof hn)&&!(E.extends instanceof jn)&&!(E.extends instanceof Mt);R.print("extends");if(N){R.print("(")}else{R.space()}E.extends.print(R);if(N){R.print(")")}else{R.space()}}if(E.properties.length>0)R.with_block((function(){E.properties.forEach((function(E,N){if(N){R.newline()}R.indent();E.print(R)}));R.newline()}));else R.print("{}")}));DEFPRINT(Un,(function(E,R){R.print("new.target")}));function print_property_name(E,R,N){if(N.option("quote_keys")){return N.print_string(E)}if(""+ +E==E&&E>=0){if(N.option("keep_numbers")){return N.print(E)}return N.print(make_num(E))}var $=Ee.has(E)?N.option("ie8"):N.option("ecma")<2015||N.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if($||R&&N.option("keep_quoted_props")){return N.print_string(E,R)}return N.print_name(E)}DEFPRINT(In,(function(E,R){function get_name(E){var R=E.definition();return R?R.mangled_name||R.name:E.name}var N=R.option("shorthand");if(N&&E.value instanceof zn&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value)===E.key&&!Ee.has(E.key)){print_property_name(E.key,E.quote,R)}else if(N&&E.value instanceof Sn&&E.value.left instanceof zn&&is_identifier_string(E.key,R.option("ecma")>=2015||R.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,R);R.space();R.print("=");R.space();E.value.right.print(R)}else{if(!(E.key instanceof ot)){print_property_name(E.key,E.quote,R)}else{R.with_square((function(){E.key.print(R)}))}R.colon();E.value.print(R)}}));DEFPRINT(Ln,((E,R)=>{if(E.static){R.print("static");R.space()}R.print("#");print_property_name(E.key.name,E.quote,R);if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));DEFPRINT(Bn,((E,R)=>{if(E.static){R.print("static");R.space()}if(E.key instanceof Xn){print_property_name(E.key.name,E.quote,R)}else{R.print("[");E.key.print(R);R.print("]")}if(E.value){R.print("=");E.value.print(R)}R.semicolon()}));Dn.DEFMETHOD("_print_getter_setter",(function(E,R,N){var $=this;if($.static){N.print("static");N.space()}if(E){N.print(E);N.space()}if($.key instanceof Jn){if(R)N.print("#");print_property_name($.key.name,$.quote,N)}else{N.with_square((function(){$.key.print(N)}))}$.value._do_print(N,true)}));DEFPRINT(Tn,(function(E,R){E._print_getter_setter("set",false,R)}));DEFPRINT(On,(function(E,R){E._print_getter_setter("get",false,R)}));DEFPRINT(Mn,(function(E,R){E._print_getter_setter("set",true,R)}));DEFPRINT(Pn,(function(E,R){E._print_getter_setter("get",true,R)}));DEFPRINT(Fn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,true,R)}));DEFPRINT(Rn,(function(E,R){var N;if(E.is_generator&&E.async){N="async*"}else if(E.is_generator){N="*"}else if(E.async){N="async"}E._print_getter_setter(N,false,R)}));zn.DEFMETHOD("_do_print",(function(E){var R=this.definition();E.print_name(R?R.mangled_name||R.name:this.name)}));DEFPRINT(zn,(function(E,R){E._do_print(R)}));DEFPRINT(xr,noop);DEFPRINT(ur,(function(E,R){R.print("this")}));DEFPRINT(pr,(function(E,R){R.print("super")}));DEFPRINT(dr,(function(E,R){R.print(E.getValue())}));DEFPRINT(fr,(function(E,R){R.print_string(E.getValue(),E.quote,R.in_directive)}));DEFPRINT(hr,(function(E,R){if((R.option("keep_numbers")||R.use_asm)&&E.raw){R.print(E.raw)}else{R.print(make_num(E.getValue()))}}));DEFPRINT(mr,(function(E,R){R.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,R)=>R.replace("/","\\/");DEFPRINT(gr,(function(R,N){let{source:$,flags:j}=R.getValue();$=regexp_source_fix($);j=j?sort_regexp_flags(j):"";$=$.replace(E,slash_script_replace);N.print(N.to_utf8(`/${$}/${j}`));const q=N.parent();if(q instanceof kn&&/^\w/.test(q.operator)&&q.left===R){N.print(" ")}}));function force_statement(E,R){if(R.option("braces")){make_block(E,R)}else{if(!E||E instanceof ht)R.force_semicolon();else E.print(R)}}function best_of(E){var R=E[0],N=R.length;for(var $=1;$E===null&&R===null||E.TYPE===R.TYPE&&E.shallow_cmp(R);const equivalent_to=(E,R)=>{if(!shallow_cmp(E,R))return false;const N=[E];const $=[R];const j=N.push.bind(N);const q=$.push.bind($);while(N.length&&$.length){const E=N.pop();const R=$.pop();if(!shallow_cmp(E,R))return false;E._children_backwards(j);R._children_backwards(q);if(N.length!==$.length){return false}}return N.length==0&&$.length==0};const mkshallow=E=>{const R=Object.keys(E).map((R=>{if(E[R]==="eq"){return`this.${R} === other.${R}`}else if(E[R]==="exist"){return`(this.${R} == null ? other.${R} == null : this.${R} === other.${R})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[R]}`)}})).join(" && ");return new Function("other","return "+R)};const pass_through=()=>true;ot.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ct.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({value:"eq"});pt.prototype.shallow_cmp=pass_through;dt.prototype.shallow_cmp=pass_through;ht.prototype.shallow_cmp=pass_through;gt.prototype.shallow_cmp=mkshallow({"label.name":"eq"});bt.prototype.shallow_cmp=pass_through;_t.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});kt.prototype.shallow_cmp=pass_through;Et.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;Ct.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Ot.prototype.shallow_cmp=mkshallow({is_array:"eq"});Rt.prototype.shallow_cmp=pass_through;Ft.prototype.shallow_cmp=pass_through;Nt.prototype.shallow_cmp=mkshallow({value:"eq"});Bt.prototype.shallow_cmp=pass_through;zt.prototype.shallow_cmp=pass_through;Gt.prototype.shallow_cmp=pass_through;Ht.prototype.shallow_cmp=mkshallow({is_star:"eq"});Wt.prototype.shallow_cmp=mkshallow({alternative:"exist"});Vt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Xt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Yt.prototype.shallow_cmp=mkshallow({argname:"exist"});Zt.prototype.shallow_cmp=pass_through;en.prototype.shallow_cmp=pass_through;sn.prototype.shallow_cmp=mkshallow({value:"exist"});on.prototype.shallow_cmp=pass_through;an.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});ln.prototype.shallow_cmp=pass_through;cn.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});un.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;hn.prototype.shallow_cmp=pass_through;vn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=mkshallow({property:"eq"});gn.prototype.shallow_cmp=mkshallow({property:"eq"});bn.prototype.shallow_cmp=mkshallow({operator:"eq"});kn.prototype.shallow_cmp=mkshallow({operator:"eq"});En.prototype.shallow_cmp=pass_through;An.prototype.shallow_cmp=pass_through;Cn.prototype.shallow_cmp=pass_through;Dn.prototype.shallow_cmp=pass_through;In.prototype.shallow_cmp=mkshallow({key:"eq"});Tn.prototype.shallow_cmp=mkshallow({static:"eq"});On.prototype.shallow_cmp=mkshallow({static:"eq"});Rn.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Nn.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Bn.prototype.shallow_cmp=mkshallow({static:"eq"});zn.prototype.shallow_cmp=mkshallow({name:"eq"});Un.prototype.shallow_cmp=pass_through;ur.prototype.shallow_cmp=pass_through;pr.prototype.shallow_cmp=pass_through;fr.prototype.shallow_cmp=mkshallow({value:"eq"});hr.prototype.shallow_cmp=mkshallow({value:"eq"});mr.prototype.shallow_cmp=mkshallow({value:"eq"});gr.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};yr.prototype.shallow_cmp=pass_through;const Fr=1<<0;const Nr=1<<1;let Br=null;let Lr=null;class SymbolDef{constructor(E,R,N){this.name=R.name;this.orig=[R];this.init=N;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof ot)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Br&&Br.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Fr||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Yn||this.orig[0]instanceof Qn)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Jn||(this.orig[0]instanceof er||this.orig[0]instanceof Zn)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const R=E.cache&&E.cache.props;if(this.global&&R&&R.has(this.name)){this.mangled_name=R.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var N=this.scope;var $=this.orig[0];if(E.ie8&&$ instanceof Yn)N=N.parent_scope;const j=redefined_catch_def(this);this.mangled_name=j?j.mangled_name||j.name:N.next_mangled(E,this);if(this.global&&R){R.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof tr&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}St.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:R=null,toplevel:N=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(N instanceof At)){throw new Error("Invalid toplevel scope")}var $=this.parent_scope=R;var j=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((R,N)=>{if(R.is_block_scope()){const j=$;R.block_scope=$=new St(R);$._block_scope=true;const q=R instanceof Yt?j.parent_scope:j;$.init_scope_vars(q);$.uses_with=j.uses_with;$.uses_eval=j.uses_eval;if(E.safari10){if(R instanceof xt||R instanceof kt){ie.push($)}}if(R instanceof Vt){const E=$;$=j;R.expression.walk(ae);$=E;for(let E=0;E{if(E===R)return true;if(R instanceof Hn){return E instanceof Yn}return!(E instanceof Vn||E instanceof Wn)}))){js_error(`"${R.name}" is redeclared`,R.start.file,R.start.line,R.start.col,R.start.pos)}if(!(R instanceof Kn))mark_export(Me,2);if(q!==$){R.mark_enclosed();var Me=$.find_variable(R);if(R.thedef!==Me){R.thedef=Me;R.reference()}}}else if(R instanceof cr){var Te=j.get(R.name);if(!Te)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:R.name,line:R.start.line,col:R.start.col}));R.thedef=Te}if(!($ instanceof At)&&(R instanceof cn||R instanceof an)){js_error(`"${R.TYPE}" statement may only appear at the top level`,R.start.file,R.start.line,R.start.col,R.start.pos)}}));this.walk(ae);function mark_export(E,R){if(G){var N=0;do{R++}while(ae.parent(N++)!==G)}var $=ae.parent(R);if(E.export=$ instanceof cn?Fr:0){var j=$.exported_definition;if((j instanceof Tt||j instanceof $n)&&$.is_default){E.export=Nr}}}const le=this instanceof At;if(le){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof zt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof ir){var R=E.name;if(R=="eval"&&ae.parent()instanceof un){for(var $=E.scope;$&&!$.uses_eval;$=$.parent_scope){$.uses_eval=true}}var j;if(ae.parent()instanceof on&&ae.parent(1).module_name||!(j=E.scope.find_variable(R))){j=N.def_global(E);if(E instanceof ar)j.export=Fr}else if(j.scope instanceof Dt&&R=="arguments"){j.scope.uses_arguments=true}E.thedef=j;E.reference();if(E.scope.is_block_scope()&&!(j.orig[0]instanceof Hn)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof tr&&(q=redefined_catch_def(E.definition()))){var $=E.scope;while($){push_uniq($.enclosed,q);if($===q.scope)break;$=$.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof tr){var R=E.name;var $=E.thedef.references;var j=E.scope.get_defun_scope();var q=j.find_variable(R)||N.globals.get(R)||j.def_variable(E);$.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(R){push_uniq(E.enclosed,R)}))}}}));At.DEFMETHOD("def_global",(function(E){var R=this.globals,N=E.name;if(R.has(N)){return R.get(N)}else{var $=new SymbolDef(this,E);$.undeclared=true;$.global=true;R.set(N,$);return $}}));St.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));St.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));St.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((R=>R.name===E))||this.variables.has(E)}));St.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const R=(()=>{const E=[];let R=this;do{E.push(R)}while(R=R.parent_scope);E.reverse();return E})();const N=new Set(E.enclosed);const $=[];for(const E of R){$.forEach((R=>push_uniq(E.enclosed,R)));for(const R of E.variables.values()){if(N.has(R)){push_uniq($,R);push_uniq(E.enclosed,R)}}}}));function find_scopes_visible_from(E){const R=new Set;for(const N of new Set(E)){(function bubble_up(E){if(E==null||R.has(E))return;R.add(E);bubble_up(E.parent_scope)})(N)}return[...R]}St.DEFMETHOD("create_symbol",(function(E,{source:R,tentative_name:N,scope:$,conflict_scopes:j=[$],init:q=null}={}){let G;j=find_scopes_visible_from(j);if(N){N=G=N.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while(j.find((E=>E.conflicting_def_shallow(G)))){G=N+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,R,{name:G,scope:$});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));ot.DEFMETHOD("is_block_scope",return_false);Nn.DEFMETHOD("is_block_scope",return_false);Dt.DEFMETHOD("is_block_scope",return_false);At.DEFMETHOD("is_block_scope",return_false);Kt.DEFMETHOD("is_block_scope",return_false);dt.DEFMETHOD("is_block_scope",return_true);St.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));yt.DEFMETHOD("is_block_scope",return_true);Dt.DEFMETHOD("init_scope_vars",(function(){St.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Kn({name:"arguments",start:this.start,end:this.end}))}));Pt.DEFMETHOD("init_scope_vars",(function(){St.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));zn.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var R=this.scope;while(R){push_uniq(R.enclosed,E);if(R===E.scope)break;R=R.parent_scope}}));zn.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));St.DEFMETHOD("find_variable",(function(E){if(E instanceof zn)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));St.DEFMETHOD("def_function",(function(E,R){var N=this.def_variable(E,R);if(!N.init||N.init instanceof Tt)N.init=R;return N}));St.DEFMETHOD("def_variable",(function(E,R){var N=this.variables.get(E.name);if(N){N.orig.push(E);if(N.init&&(N.scope!==E.scope||N.init instanceof Mt)){N.init=R}}else{N=new SymbolDef(this,E,R);this.variables.set(E.name,N);N.global=!this.parent_scope}return E.thedef=N}));function next_mangled(E,R){var N=E.enclosed;e:while(true){var $=$r(++E.cname);if(Ee.has($))continue;if(R.reserved.has($))continue;if(Lr&&Lr.has($))continue e;for(let E=N.length;--E>=0;){const j=N[E];const q=j.mangled_name||j.unmangleable(R)&&j.name;if($==q)continue e}return $}}St.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));At.DEFMETHOD("next_mangled",(function(E){let R;const N=this.mangled_names;do{R=next_mangled(this,E)}while(N.has(R));return R}));Mt.DEFMETHOD("next_mangled",(function(E,R){var N=R.orig[0]instanceof Kn&&this.name&&this.name.definition();var $=N?N.mangled_name||N.name:null;while(true){var j=next_mangled(this,E);if(!$||$!=j)return j}}));zn.DEFMETHOD("unmangleable",(function(E){var R=this.definition();return!R||R.unmangleable(E)}));sr.DEFMETHOD("unmangleable",return_false);zn.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));zn.DEFMETHOD("definition",(function(){return this.thedef}));zn.DEFMETHOD("global",(function(){return this.thedef.global}));At.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));At.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var R=-1;var N=[];if(E.keep_fnames){Br=new Set}const $=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){$.add(E)}))}}var j=new TreeWalker((function($,j){if($ instanceof gt){var q=R;j();R=q;return true}if($ instanceof St){$.variables.forEach(collect);return}if($.is_block_scope()){$.block_scope.variables.forEach(collect);return}if(Br&&$ instanceof sn&&$.value instanceof Dt&&!$.value.name&&keep_name(E.keep_fnames,$.name.name)){Br.add($.name.definition().id);return}if($ instanceof sr){let E;do{E=$r(++R)}while(Ee.has(E));$.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&$ instanceof tr){N.push($.definition());return}}));this.walk(j);if(E.keep_fnames||E.keep_classnames){Lr=new Set;N.forEach((R=>{if(R.name.length<6&&R.unmangleable(E)){Lr.add(R.name)}}))}N.forEach((R=>{R.mangle(E)}));Br=null;Lr=null;function collect(R){const $=!E.reserved.has(R.name)&&!(R.export&Fr);if($){N.push(R)}}}));At.DEFMETHOD("find_colliding_names",(function(E){const R=E.cache&&E.cache.props;const N=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof St)E.variables.forEach(add_def);if(E instanceof tr)add_def(E.definition())})));return N;function to_avoid(E){N.add(E)}function add_def(N){var $=N.name;if(N.global&&R&&R.has($))$=R.get($);else if(!N.unmangleable(E))return;to_avoid($)}}));At.DEFMETHOD("expand_names",(function(E){$r.reset();$r.sort();E=this._default_mangler_options(E);var R=this.find_colliding_names(E);var N=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof St)E.variables.forEach(rename);if(E instanceof tr)rename(E.definition())})));function next_name(){var E;do{E=$r(N++)}while(R.has(E)||Ee.has(E));return E}function rename(R){if(R.global&&E.cache)return;if(R.unmangleable(E))return;if(E.reserved.has(R.name))return;const N=redefined_catch_def(R);const $=R.name=N?N.name:next_name();R.orig.forEach((function(E){E.name=$}));R.references.forEach((function(E){E.name=$}))}}));ot.DEFMETHOD("tail_node",return_this);dn.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));At.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{ot.prototype.print=function(R,N){this._print(R,N);if(this instanceof zn&&!this.unmangleable(E)){$r.consider(this.name,-1)}else if(E.properties){if(this instanceof gn){$r.consider("#"+this.property,-1)}else if(this instanceof mn){$r.consider(this.property,-1)}else if(this instanceof yn){skip_string(this.property)}}};$r.consider(this.print_to_string(),1)}finally{ot.prototype.print=ot.prototype._print}$r.sort();function skip_string(E){if(E instanceof fr){$r.consider(E.value,-1)}else if(E instanceof En){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof dn){skip_string(E.tail_node())}}}));const $r=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const R="0123456789".split("");let N;let $;function reset(){$=new Map;E.forEach((function(E){$.set(E,0)}));R.forEach((function(E){$.set(E,0)}))}base54.consider=function(E,R){for(var N=E.length;--N>=0;){$.set(E[N],$.get(E[N])+R)}};function compare(E,R){return $.get(R)-$.get(E)}base54.sort=function(){N=mergeSort(E,compare).concat(mergeSort(R,compare))};base54.reset=reset;reset();function base54(E){var R="",$=54;E++;do{E--;R+=N[E%$];E=Math.floor(E/$);$=64}while(E>0);return R}return base54})();let jr=undefined;ot.prototype.size=function(E,R){jr=E&&E.mangle_options;let N=0;walk_parent(this,((E,R)=>{N+=E._size(R);if(E instanceof Pt&&E.is_braceless()){N+=E.body[0].value._size(R);return true}}),R||E&&E.stack);jr=undefined;return N};ot.prototype._size=()=>0;ct.prototype._size=()=>8;ut.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;dt.prototype._size=function(){return 2+list_overhead(this.body)};At.prototype._size=function(){return list_overhead(this.body)};ht.prototype._size=()=>1;gt.prototype._size=()=>2;bt.prototype._size=()=>9;_t.prototype._size=()=>7;xt.prototype._size=()=>8;kt.prototype._size=()=>8;wt.prototype._size=()=>6;Ct.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);It.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Mt.prototype._size=function(E){const R=!!first_in_statement(E);return R*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Tt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};Pt.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof zn)){E+=2}const R=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+R};Ot.prototype._size=()=>2;Ft.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Nt.prototype._size=function(){return this.value.length};$t.prototype._size=function(){return this.value?7:6};jt.prototype._size=()=>6;Ut.prototype._size=function(){return this.label?6:5};qt.prototype._size=function(){return this.label?9:8};Wt.prototype._size=()=>4;Vt.prototype._size=function(){return 8+list_overhead(this.body)};Jt.prototype._size=function(){return 5+list_overhead(this.body)};Qt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 3+list_overhead(this.body)};Yt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};Zt.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,R)=>E+list_overhead(R.definitions);tn.prototype._size=function(){return def_size(4,this)};nn.prototype._size=function(){return def_size(4,this)};rn.prototype._size=function(){return def_size(6,this)};sn.prototype._size=function(){return this.value?1:0};on.prototype._size=function(){return this.name?4:0};an.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};ln.prototype._size=()=>11;cn.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};un.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};pn.prototype._size=function(){return 6+list_overhead(this.args)};dn.prototype._size=function(){return list_overhead(this.expressions)};mn.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};gn.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};yn.prototype._size=function(){return this.optional?4:2};bn.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};kn.prototype._size=function(E){if(this.operator==="in")return 4;let R=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof bn&&this.right.operator===this.operator){R+=1}if(this.needs_parens(E)){R+=2}return R};En.prototype._size=()=>3;An.prototype._size=function(){return 2+list_overhead(this.elements)};Cn.prototype._size=function(E){let R=2;if(first_in_statement(E)){R+=2}return R+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;In.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;On.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Tn.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Rn.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Fn.prototype._size=function(){return Rn.prototype._size.call(this)+1};Pn.prototype._size=Mn.prototype._size=function(){return Rn.prototype._size.call(this)+4};Nn.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Bn.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Ln.prototype._size=function(){return Bn.prototype._size.call(this)+1};zn.prototype._size=function(){return!jr||this.definition().unmangleable(jr)?this.name.length:1};Xn.prototype._size=function(){return this.name.length};ir.prototype._size=qn.prototype._size=function(){const{name:E,thedef:R}=this;if(R&&R.global)return E.length;if(E==="arguments")return 9;return zn.prototype._size.call(this)};Un.prototype._size=()=>10;rr.prototype._size=function(){return this.name.length};lr.prototype._size=function(){return this.name.length};ur.prototype._size=()=>4;pr.prototype._size=()=>5;fr.prototype._size=function(){return this.value.length+2};hr.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};mr.prototype._size=function(){return this.value.length};gr.prototype._size=function(){return this.value.toString().length};vr.prototype._size=()=>4;br.prototype._size=()=>3;_r.prototype._size=()=>6;xr.prototype._size=()=>0;kr.prototype._size=()=>8;Sr.prototype._size=()=>4;wr.prototype._size=()=>5;Gt.prototype._size=()=>6;Ht.prototype._size=()=>6;const zr=1;const Ur=2;const qr=4;const Gr=8;const Hr=16;const Wr=32;const Vr=256;const Kr=512;const Qr=1024;const Jr=Vr|Kr|Qr;const has_flag=(E,R)=>E.flags&R;const set_flag=(E,R)=>{E.flags|=R};const clear_flag=(E,R)=>{E.flags&=~R};class Compressor extends TreeWalker{constructor(E,{false_by_default:R=false,mangle_options:N=false}){super();if(E.defaults!==undefined&&!E.defaults)R=true;this.options=defaults(E,{arguments:false,arrows:!R,booleans:!R,booleans_as_integers:false,collapse_vars:!R,comparisons:!R,computed_props:!R,conditionals:!R,dead_code:!R,defaults:true,directives:!R,drop_console:false,drop_debugger:!R,ecma:5,evaluate:!R,expression:false,global_defs:false,hoist_funs:false,hoist_props:!R,hoist_vars:false,ie8:false,if_return:!R,inline:!R,join_vars:!R,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!R,module:false,negate_iife:!R,passes:1,properties:!R,pure_getters:!R&&"strict",pure_funcs:null,reduce_funcs:!R,reduce_vars:!R,sequences:!R,side_effects:!R,switches:!R,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!R,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!R,warnings:false},true);var $=this.options["global_defs"];if(typeof $=="object")for(var j in $){if(j[0]==="@"&&HOP($,j)){$[j.slice(1)]=parse($[j],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=N}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var R=0,N=E.orig.length;R0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(R>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){j.body[G]=j.body[G].transform($)}}else if(j instanceof Wt){j.body=j.body.transform($);if(j.alternative){j.alternative=j.alternative.transform($)}}else if(j instanceof wt){j.body=j.body.transform($)}return j}));N.transform($)}));function read_property(E,R){R=get_value(R);if(R instanceof ot)return;var N;if(E instanceof An){var $=E.elements;if(R=="length")return make_node_from_constant($.length,E);if(typeof R=="number"&&R in $)N=$[R]}else if(E instanceof Cn){R=""+R;var j=E.properties;for(var q=j.length;--q>=0;){var G=j[q];if(!(G instanceof In))return;if(!N&&j[q].key===R)N=j[q].value}}return N instanceof ir&&N.fixed_value()||N}function is_modified(E,R,N,$,j,q){var G=R.parent(j);var ie=is_lhs(N,G);if(ie)return ie;if(!q&&G instanceof un&&G.expression===N&&!($ instanceof Pt)&&!($ instanceof Nn)&&!G.is_callee_pure(E)&&(!($ instanceof Mt)||!(G instanceof pn)&&$.contains_this())){return true}if(G instanceof An){return is_modified(E,R,G,G,j+1)}if(G instanceof In&&N===G.value){var ae=R.parent(j+1);return is_modified(E,R,ae,ae,j+2)}if(G instanceof hn&&G.expression===N){var le=read_property($,G.property);return!q&&is_modified(E,R,G,le,j+1)}}(function(E){E(ot,noop);function reset_def(E,R){R.assignments=0;R.chained=false;R.direct_access=false;R.escaped=0;R.recursive_refs=0;R.references=[];R.single_use=undefined;if(R.scope.pinned()){R.fixed=false}else if(R.orig[0]instanceof Wn||!E.exposed(R)){R.fixed=R.init}else{R.fixed=false}}function reset_variables(E,R,N){N.variables.forEach((function(N){reset_def(R,N);if(N.fixed===null){E.defs_to_safe_ids.set(N.id,E.safe_ids);mark(E,N,true)}else if(N.fixed){E.loop_ids.set(N.id,E.in_loop);mark(E,N,true)}}))}function reset_block_variables(E,R){if(R.block_scope)R.block_scope.variables.forEach((R=>{reset_def(E,R)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,R,N){E.safe_ids[R.id]=N}function safe_to_read(E,R){if(R.single_use=="m")return false;if(E.safe_ids[R.id]){if(R.fixed==null){var N=R.orig[0];if(N instanceof Kn||N.name=="arguments")return false;R.fixed=make_node(_r,N)}return true}return R.fixed instanceof Tt}function safe_to_assign(E,R,N,$){if(R.fixed===undefined)return true;let j;if(R.fixed===null&&(j=E.defs_to_safe_ids.get(R.id))){j[R.id]=false;E.defs_to_safe_ids.delete(R.id);return true}if(!HOP(E.safe_ids,R.id))return false;if(!safe_to_read(E,R))return false;if(R.fixed===false)return false;if(R.fixed!=null&&(!$||R.references.length>R.assignments))return false;if(R.fixed instanceof Tt){return $ instanceof ot&&R.fixed.parent_scope===N}return R.orig.every((E=>!(E instanceof Wn||E instanceof Qn||E instanceof Yn)))}function ref_once(E,R,N){return R.option("unused")&&!N.scope.pinned()&&N.references.length-N.recursive_refs==1&&E.loop_ids.get(N.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof Dt||E instanceof ur}function mark_escaped(E,R,N,$,j,q=0,G=1){var ie=E.parent(q);if(j){if(j.is_constant())return;if(j instanceof jn)return}if(ie instanceof wn&&(ie.operator==="="||ie.logical)&&$===ie.right||ie instanceof un&&($!==ie.expression||ie instanceof pn)||ie instanceof Lt&&$===ie.value&&$.scope!==R.scope||ie instanceof sn&&$===ie.value||ie instanceof Ht&&$===ie.value&&$.scope!==R.scope){if(G>1&&!(j&&j.is_constant_expression(N)))G=1;if(!R.escaped||R.escaped>G)R.escaped=G;return}else if(ie instanceof An||ie instanceof Gt||ie instanceof kn&&Zr.has(ie.operator)||ie instanceof En&&$!==ie.condition||ie instanceof Ct||ie instanceof dn&&$===ie.tail_node()){mark_escaped(E,R,N,ie,ie,q+1,G)}else if(ie instanceof In&&$===ie.value){var ae=E.parent(q+1);mark_escaped(E,R,N,ae,ae,q+2,G)}else if(ie instanceof hn&&$===ie.expression){j=read_property(j,ie.property);mark_escaped(E,R,N,ie,j,q+1,G+1);if(j)return}if(q>0)return;if(ie instanceof dn&&$!==ie.tail_node())return;if(ie instanceof pt)return;R.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof zn))return;var R=E.definition();if(!R)return;if(E instanceof ir)R.references.push(E);R.fixed=false}));E(It,(function(E,R,N){push(E);reset_variables(E,N,this);R();pop(E);return true}));E(wn,(function(E,R,N){var $=this;if($.left instanceof Ot){suppress($.left);return}const finish_walk=()=>{if($.logical){$.left.walk(E);push(E);$.right.walk(E);pop(E);return true}};var j=$.left;if(!(j instanceof ir))return finish_walk();var q=j.definition();var G=safe_to_assign(E,q,j.scope,$.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&$.operator!="="&&!$.logical)return finish_walk();var ae=$.operator=="=";var le=ae?$.right:$;if(is_modified(N,E,$,le,0))return finish_walk();q.references.push(j);if(!$.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return $.right}:function(){return make_node(kn,$,{operator:$.operator.slice(0,-1),left:ie instanceof ot?ie:ie(),right:$.right})}}if($.logical){mark(E,q,false);push(E);$.right.walk(E);pop(E);return true}mark(E,q,false);$.right.walk(E);mark(E,q,true);mark_escaped(E,q,j.scope,$,le,0,1);return true}));E(kn,(function(E){if(!Zr.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(dt,(function(E,R,N){reset_block_variables(N,this)}));E(Jt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Nn,(function(E,R){clear_flag(this,Hr);push(E);R();pop(E);return true}));E(En,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(vn,(function(E,R){const N=E.safe_ids;R();E.safe_ids=N;return true}));E(un,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const R of this.args)R.walk(E);return true}));E(hn,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof ot)this.property.walk(E);return true}));E(Qt,(function(E,R){push(E);R();pop(E);return true}));function mark_lambda(E,R,N){clear_flag(this,Hr);push(E);reset_variables(E,N,this);if(this.uses_arguments){R();pop(E);return}var $;if(!this.name&&($=E.parent())instanceof un&&$.expression===this&&!$.args.some((E=>E instanceof Ct))&&this.argnames.every((E=>E instanceof zn))){this.argnames.forEach(((R,N)=>{if(!R.definition)return;var j=R.definition();if(j.orig.length>1)return;if(j.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){j.fixed=function(){return $.args[N]||make_node(_r,$)};E.loop_ids.set(j.id,E.in_loop);mark(E,j,true)}else{j.fixed=false}}))}R();pop(E);return true}E(Dt,mark_lambda);E(bt,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=$;return true}));E(xt,(function(E,R,N){reset_block_variables(N,this);if(this.init)this.init.walk(E);const $=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=$;return true}));E(kt,(function(E,R,N){reset_block_variables(N,this);suppress(this.init);this.object.walk(E);const $=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=$;return true}));E(Wt,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(gt,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(tr,(function(){this.definition().fixed=false}));E(ir,(function(E,R,N){var $=this.definition();$.references.push(this);if($.references.length==1&&!$.fixed&&$.orig[0]instanceof Qn){E.loop_ids.set($.id,E.in_loop)}var j;if($.fixed===undefined||!safe_to_read(E,$)){$.fixed=false}else if($.fixed){j=this.fixed_value();if(j instanceof Dt&&recursive_ref(E,$)){$.recursive_refs++}else if(j&&!N.exposed($)&&ref_once(E,N,$)){$.single_use=j instanceof Dt&&!j.pinned()||j instanceof Nn||$.scope===this.scope&&j.is_constant_expression()}else{$.single_use=false}if(is_modified(N,E,this,j,0,is_immutable(j))){if($.single_use){$.single_use="m"}else{$.fixed=false}}}mark_escaped(E,$,this.scope,this,j,0,1)}));E(At,(function(E,R,N){this.globals.forEach((function(E){reset_def(N,E)}));reset_variables(E,N,this)}));E(Xt,(function(E,R,N){reset_block_variables(N,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(bn,(function(E){var R=this;if(R.operator!=="++"&&R.operator!=="--")return;var N=R.expression;if(!(N instanceof ir))return;var $=N.definition();var j=safe_to_assign(E,$,N.scope,true);$.assignments++;if(!j)return;var q=$.fixed;if(!q)return;$.references.push(N);$.chained=true;$.fixed=function(){return make_node(kn,R,{operator:R.operator.slice(0,-1),left:make_node(_n,R,{operator:"+",expression:q instanceof ot?q:q()}),right:make_node(hr,R,{value:1})})};mark(E,$,true);return true}));E(sn,(function(E,R){var N=this;if(N.name instanceof Ot){suppress(N.name);return}var $=N.name.definition();if(N.value){if(safe_to_assign(E,$,N.name.scope,N.value)){$.fixed=function(){return N.value};E.loop_ids.set($.id,E.in_loop);mark(E,$,false);R();mark(E,$,true);return true}else{$.fixed=false}}}));E(_t,(function(E,R,N){reset_block_variables(N,this);const $=E.in_loop;E.in_loop=this;push(E);R();pop(E);E.in_loop=$;return true}))})((function(E,R){E.DEFMETHOD("reduce_vars",R)}));At.DEFMETHOD("reset_opt_flags",(function(E){const R=this;const N=E.option("reduce_vars");const $=new TreeWalker((function(j,q){clear_flag(j,Jr);if(N){if(E.top_retain&&j instanceof Tt&&$.parent()===R){set_flag(j,Qr)}return j.reduce_vars($,q,E)}}));$.safe_ids=Object.create(null);$.in_loop=null;$.loop_ids=new Map;$.defs_to_safe_ids=new Map;R.walk($)}));zn.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof ot)return E;return E()}));ir.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Yn}));function is_func_expr(E){return E instanceof Pt||E instanceof Mt}function is_lhs_read_only(E){if(E instanceof ur)return true;if(E instanceof ir)return E.definition().orig[0]instanceof Yn;if(E instanceof hn){E=E.expression;if(E instanceof ir){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof gr)return false;if(E instanceof dr)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,R){if(!(E instanceof ir))return false;var N=E.definition().orig;for(var $=N.length;--$>=0;){if(N[$]instanceof R)return true}}function find_scope(E){for(let R=0;;R++){const N=E.parent(R);if(N instanceof At)return N;if(N instanceof Dt)return N;if(N.block_scope)return N.block_scope}}function find_variable(E,R){var N,$=0;while(N=E.parent($++)){if(N instanceof St)break;if(N instanceof Yt&&N.argname){N=N.argname.definition().scope;break}}return N.find_variable(R)}function make_sequence(E,R){if(R.length==1)return R[0];if(R.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(dn,E,{expressions:R.reduce(merge_sequence,[])})}function make_node_from_constant(E,R){switch(typeof E){case"string":return make_node(fr,R,{value:E});case"number":if(isNaN(E))return make_node(br,R);if(isFinite(E)){return 1/E<0?make_node(_n,R,{operator:"-",expression:make_node(hr,R,{value:-E})}):make_node(hr,R,{value:E})}return E<0?make_node(_n,R,{operator:"-",expression:make_node(kr,R)}):make_node(kr,R);case"boolean":return make_node(E?Sr:wr,R);case"undefined":return make_node(_r,R);default:if(E===null){return make_node(vr,R,{value:null})}if(E instanceof RegExp){return make_node(gr,R,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,R,N){if(E instanceof _n&&E.operator=="delete"||E instanceof un&&E.expression===R&&(N instanceof hn||N instanceof ir&&N.name=="eval")){return make_sequence(R,[make_node(hr,R,{value:0}),N])}return N}function merge_sequence(E,R){if(R instanceof dn){E.push(...R.expressions)}else{E.push(R)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof ft)return E.body;if(E instanceof ht)return[];if(E instanceof lt)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof ht)return true;if(E instanceof ft)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof $n||E instanceof Tt||E instanceof nn||E instanceof rn||E instanceof cn||E instanceof an)}function loop_body(E){if(E instanceof yt){return E.body instanceof ft?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Mt||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof ir&&E.definition().undeclared}var Xr=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");ir.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&Xr.has(this.name)}));var Yr=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof kr||E instanceof br||E instanceof _r}function tighten_body(E,R){var N,$;var q=R.find_parent(St).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(R.option("dead_code")){eliminate_dead_code(E,R)}if(R.option("if_return")){handle_if_return(E,R)}if(R.sequences_limit>0){sequencesize(E,R);sequencesize_2(E,R)}if(R.option("join_vars")){join_consecutive_vars(E)}if(R.option("collapse_vars")){collapse(E,R)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=R.self(),j=0;do{if(E instanceof Yt||E instanceof Zt){j++}else if(E instanceof yt){N=true}else if(E instanceof St){q=E;break}else if(E instanceof Xt){$=true}}while(E=R.parent(j++))}function collapse(E,R){if(q.pinned())return E;var ie;var ae=[];var le=E.length;var _e=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Ie])return E;Ie++;if(Ie1)||E instanceof yt&&!(E instanceof xt)||E instanceof zt||E instanceof Xt||E instanceof wt||E instanceof Ht||E instanceof cn||E instanceof Nn||N instanceof xt&&E!==N.init||!qe&&(E instanceof ir&&!E.is_declared(R)&&!os.has(E))||E instanceof ir&&N instanceof un&&has_annotation(N,Ir)){Ve=true;return E}if(!Be&&(!ze||!qe)&&(N instanceof kn&&Zr.has(N.operator)&&N.left!==E||N instanceof En&&N.condition!==E||N instanceof Wt&&N.condition!==E)){Be=N}if(Qe&&!(E instanceof qn)&&Le.equivalent_to(E)){if(Be){Ve=true;return E}if(is_lhs(E,N)){if(Te)Ke++;return E}else{Ke++;if(Te&&Me instanceof sn)return E}G=Ve=true;if(Me instanceof xn){return make_node(_n,Me,Me)}if(Me instanceof sn){var j=Me.name.definition();var q=Me.value;if(j.references.length-j.replaced==1&&!R.exposed(j)){j.replaced++;if(He&&is_identifier_atom(q)){return q.transform(R)}else{return maintain_this_binding(N,E,q)}}return make_node(wn,Me,{operator:"=",logical:false,left:make_node(ir,Me.name,Me.name),right:q})}clear_flag(Me,Wr);return Me}var ie;if(E instanceof un||E instanceof Lt&&(Ue||Le instanceof hn||may_modify(Le))||E instanceof hn&&(Ue||E.expression.may_throw_on_access(R))||E instanceof ir&&(je.get(E.name)||Ue&&may_modify(E))||E instanceof sn&&E.value&&(je.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof hn||je.has(ie.name))||Ge&&($?E.has_side_effects(R):side_effects_external(E))){Ne=E;if(E instanceof St)Ve=true}return handle_custom_scan_order(E)}),(function(E){if(Ve)return;if(Ne===E)Ve=true;if(Be===E)Be=null}));var Ee=new TreeTransformer((function(E){if(Ve)return E;if(!We){if(E!==we[Ie])return E;Ie++;if(Ie=0){if(le==0&&R.option("unused"))extract_args();var we=[];extract_candidates(E[le]);while(ae.length>0){we=ae.pop();var Ie=0;var Me=we[we.length-1];var Te=null;var Ne=null;var Be=null;var Le=get_lhs(Me);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(R))continue;var je=get_lvalues(Me);var ze=is_lhs_local(Le);if(Le instanceof ir)je.set(Le.name,false);var Ue=value_has_side_effects(Me);var qe=replace_all_symbols();var Ge=Me.may_throw(R);var He=Me.name instanceof Kn;var We=He;var Ve=false,Ke=0,Qe=!ie||!We;if(!Qe){for(var Je=R.self().argnames.lastIndexOf(Me.name)+1;!Ve&&JeKe)Ke=false;else{Ve=false;Ie=0;We=He;for(var Xe=le;!Ve&&Xe!(E instanceof Ct)))){var $=R.has_directive("use strict");if($&&!member($,N.body))$=false;var j=N.argnames.length;ie=E.args.slice(j);var q=new Set;for(var G=j;--G>=0;){var le=N.argnames[G];var _e=E.args[G];const j=le.definition&&le.definition();const we=j&&j.orig.length>1;if(we)continue;ie.unshift(make_node(sn,le,{name:le,value:_e}));if(q.has(le.name))continue;q.add(le.name);if(le instanceof Ct){var Ee=E.args.slice(G);if(Ee.every((E=>!has_overlapping_symbol(N,E,$)))){ae.unshift([make_node(sn,le,{name:le.expression,value:make_node(An,E,{elements:Ee})})])}}else{if(!_e){_e=make_node(_r,le).transform(R)}else if(_e instanceof Dt&&_e.pinned()||has_overlapping_symbol(N,_e,$)){_e=null}if(_e)ae.unshift([make_node(sn,le,{name:le,value:_e})])}}}}function extract_candidates(E){we.push(E);if(E instanceof wn){if(!E.left.has_side_effects(R)&&!(E.right instanceof vn)){ae.push(we.slice())}extract_candidates(E.right)}else if(E instanceof kn){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof un&&!has_annotation(E,Ir)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Jt){extract_candidates(E.expression)}else if(E instanceof En){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof en){var N=E.definitions.length;var $=N-200;if($<0)$=0;for(;$1&&!(E.name instanceof Kn)||($>1?mangleable_var(E):!R.exposed(N))){return make_node(ir,E.name,E.name)}}else{const R=E instanceof wn?E.left:E.expression;return!is_ref_of(R,Wn)&&!is_ref_of(R,Vn)&&R}}function get_rvalue(E){if(E instanceof wn){return E.right}else{return E.value}}function get_lvalues(E){var N=new Map;if(E instanceof bn)return N;var $=new TreeWalker((function(E){var j=E;while(j instanceof hn)j=j.expression;if(j instanceof ir||j instanceof ur){N.set(j.name,N.get(j.name)||is_modified(R,$,E,E,0))}}));get_rvalue(E).walk($);return N}function remove_candidate(N){if(N.name instanceof Kn){var $=R.parent(),q=R.self().argnames;var G=q.indexOf(N.name);if(G<0){$.args.length=Math.min($.args.length,q.length-1)}else{var ie=$.args;if(ie[G])ie[G]=make_node(hr,ie[G],{value:0})}return true}var ae=false;return E[le].transform(new TreeTransformer((function(E,R,$){if(ae)return E;if(E===N||E.body===N){ae=true;if(E instanceof sn){E.value=E.name instanceof Wn?make_node(_r,E.value):null;return E}return $?j.skip:null}}),(function(E){if(E instanceof dn)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof hn)E=E.expression;return E instanceof ir&&E.definition().scope===q&&!(N&&(je.has(E.name)||Me instanceof bn||Me instanceof wn&&!Me.logical&&Me.operator!="="))}function value_has_side_effects(E){if(E instanceof bn)return es.has(E.operator);return get_rvalue(E).has_side_effects(R)}function replace_all_symbols(){if(Ue)return false;if(Te)return true;if(Le instanceof ir){var E=Le.definition();if(E.references.length-E.replaced==(Me instanceof sn?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var R=E.definition();if(R.orig.length==1&&R.orig[0]instanceof Qn)return false;if(R.scope.get_defun_scope()!==q)return true;return!R.references.every((E=>{var R=E.scope.get_defun_scope();if(R.TYPE=="Scope")R=R.parent_scope;return R===q}))}function side_effects_external(E,R){if(E instanceof wn)return side_effects_external(E.left,true);if(E instanceof bn)return side_effects_external(E.expression,true);if(E instanceof sn)return E.value&&side_effects_external(E.value);if(R){if(E instanceof mn)return side_effects_external(E.expression,true);if(E instanceof yn)return side_effects_external(E.expression,true);if(E instanceof ir)return E.definition().scope!==q}return false}}function eliminate_spurious_blocks(E){var R=[];for(var N=0;N=0;){var ie=E[q];var ae=next_index(q);var le=E[ae];if(j&&!le&&ie instanceof $t){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof _n&&ie.value.operator=="void"){G=true;E[q]=make_node(pt,ie,{body:ie.value.expression});continue}}if(ie instanceof Wt){var _e=aborts(ie.body);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(R);var Ee=as_statement_array_with_return(ie.body,_e);ie.body=make_node(ft,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ft,ie,{body:Ee});E[q]=ie.transform(R);continue}var _e=aborts(ie.alternative);if(can_merge_flow(_e)){if(_e.label){remove(_e.label.thedef.references,_e)}G=true;ie=ie.clone();ie.body=make_node(ft,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var Ee=as_statement_array_with_return(ie.alternative,_e);ie.alternative=make_node(ft,ie.alternative,{body:Ee});E[q]=ie.transform(R);continue}}if(ie instanceof Wt&&ie.body instanceof $t){var we=ie.body.value;if(!we&&!ie.alternative&&(j&&!le||le instanceof $t&&!le.value)){G=true;E[q]=make_node(pt,ie.condition,{body:ie.condition});continue}if(we&&!ie.alternative&&le instanceof $t&&le.value){G=true;ie=ie.clone();ie.alternative=le;E[q]=ie.transform(R);E.splice(ae,1);continue}if(we&&!ie.alternative&&(!le&&j&&$||le instanceof $t)){G=true;ie=ie.clone();ie.alternative=le||make_node($t,ie,{value:null});E[q]=ie.transform(R);if(le)E.splice(ae,1);continue}var Ie=E[prev_index(q)];if(R.option("sequences")&&j&&!ie.alternative&&Ie instanceof Wt&&Ie.body instanceof $t&&next_index(ae)==E.length&&le instanceof pt){G=true;ie=ie.clone();ie.alternative=make_node(ft,le,{body:[le,make_node($t,le,{value:null})]});E[q]=ie.transform(R);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var R=0;for(var N=E.length;--N>=0;){var $=E[N];if($ instanceof Wt&&$.body instanceof $t){if(++R>1)return true}}return false}function is_return_void(E){return!E||E instanceof _n&&E.operator=="void"}function can_merge_flow($){if(!$)return false;for(var G=q+1,ie=E.length;G=0;){var $=E[N];if(!($ instanceof tn&&declarations_only($))){break}}return N}}function eliminate_dead_code(E,R){var N;var $=R.self();for(var j=0,q=0,ie=E.length;j!E.value))}function sequencesize(E,R){if(E.length<2)return;var N=[],$=0;function push_seq(){if(!N.length)return;var R=make_sequence(N[0],N);E[$++]=make_node(pt,R,{body:R});N=[]}for(var j=0,q=E.length;j=R.sequences_limit)push_seq();var ae=ie.body;if(N.length>0)ae=ae.drop_side_effect_free(R);if(ae)merge_sequence(N,ae)}else if(ie instanceof en&&declarations_only(ie)||ie instanceof Tt){E[$++]=ie}else{push_seq();E[$++]=ie}}push_seq();E.length=$;if($!=q)G=true}function to_simple_statement(E,R){if(!(E instanceof ft))return E;var N=null;for(var $=0,j=E.body.length;${if(E instanceof St)return true;if(E instanceof kn&&E.operator==="in"){return Ar}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=$.body;N--;G=true}}}}else if(q instanceof kt){if(!(q.init instanceof rn)&&!(q.init instanceof nn)){q.object=cons_seq(q.object)}}else if(q instanceof Wt){q.condition=cons_seq(q.condition)}else if(q instanceof Vt){q.expression=cons_seq(q.expression)}else if(q instanceof wt){q.expression=cons_seq(q.expression)}}if(R.option("conditionals")&&q instanceof Wt){var ie=[];var ae=to_simple_statement(q.body,ie);var le=to_simple_statement(q.alternative,ie);if(ae!==false&&le!==false&&ie.length>0){var _e=ie.length;ie.push(make_node(Wt,q,{condition:q.condition,body:ae||make_node(ht,q.body),alternative:le}));ie.unshift(N,1);[].splice.apply(E,ie);j+=_e;N+=_e+1;$=null;G=true;continue}}E[N++]=q;$=q instanceof pt?q:null}E.length=N}function join_object_assignments(E,N){if(!(E instanceof en))return;var $=E.definitions[E.definitions.length-1];if(!($.value instanceof Cn))return;var j;if(N instanceof wn&&!N.logical){j=[N]}else if(N instanceof dn){j=N.expressions.slice()}if(!j)return;var G=false;do{var ie=j[0];if(!(ie instanceof wn))break;if(ie.operator!="=")break;if(!(ie.left instanceof hn))break;var ae=ie.left.expression;if(!(ae instanceof ir))break;if($.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var le=ie.left.property;if(le instanceof ot){le=le.evaluate(R)}if(le instanceof ot)break;le=""+le;var _e=R.option("ecma")<2015&&R.has_directive("use strict")?function(E){return E.key!=le&&(E.key&&E.key.name!=le)}:function(E){return E.key&&E.key.name!=le};if(!$.value.properties.every(_e))break;var Ee=$.value.properties.filter((function(E){return E.key===le}))[0];if(!Ee){$.value.properties.push(make_node(In,ie,{key:le,value:ie.right}))}else{Ee.value=new dn({start:Ee.start,expressions:[Ee.value.clone(),ie.right.clone()],end:Ee.end})}j.shift();G=true}while(j.length);return G&&j}function join_consecutive_vars(E){var R;for(var N=0,$=-1,j=E.length;N{if($ instanceof tn){$.remove_initializers();N.push($);return true}if($ instanceof Tt&&($===R||!E.has_directive("use strict"))){N.push($===R?$:make_node(tn,$,{definitions:[make_node(sn,$,{name:make_node(Gn,$.name,$.name),value:null})]}));return true}if($ instanceof cn||$ instanceof an){N.push($);return true}if($ instanceof St){return true}}))}function get_value(E){if(E instanceof dr){return E.getValue()}if(E instanceof _n&&E.operator=="void"&&E.expression instanceof dr){return}return E}function is_undefined(E,R){return has_flag(E,Gr)||E instanceof _r||E instanceof _n&&E.operator=="void"&&!E.expression.has_side_effects(R)}(function(E){ot.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(ot,is_strict);E(vr,return_true);E(_r,return_true);E(dr,return_false);E(An,return_false);E(Cn,(function(E){if(!is_strict(E))return false;for(var R=this.properties.length;--R>=0;)if(this.properties[R]._dot_throw(E))return true;return false}));E(Nn,return_false);E(Dn,return_false);E(On,return_true);E(Ct,(function(E){return this.expression._dot_throw(E)}));E(Mt,return_false);E(Pt,return_false);E(xn,return_false);E(_n,(function(){return this.operator=="void"}));E(kn,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(wn,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(En,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(mn,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Mt||this.expression instanceof Nn)}return true}));E(vn,(function(E){return this.expression._dot_throw(E)}));E(dn,(function(E){return this.tail_node()._dot_throw(E)}));E(ir,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Gr))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var R=this.fixed_value();return!R||R._dot_throw(E)}))})((function(E,R){E.DEFMETHOD("_dot_throw",R)}));(function(E){const R=makePredicate("! delete");const N=makePredicate("in instanceof == != === !== < <= >= >");E(ot,return_false);E(_n,(function(){return R.has(this.operator)}));E(kn,(function(){return N.has(this.operator)||Zr.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(En,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(wn,(function(){return this.operator=="="&&this.right.is_boolean()}));E(dn,(function(){return this.tail_node().is_boolean()}));E(Sr,return_true);E(wr,return_true)})((function(E,R){E.DEFMETHOD("is_boolean",R)}));(function(E){E(ot,return_false);E(hr,return_true);var R=makePredicate("+ - ~ ++ --");E(bn,(function(){return R.has(this.operator)}));var N=makePredicate("- * / % & | ^ << >> >>>");E(kn,(function(E){return N.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(wn,(function(E){return N.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(dn,(function(E){return this.tail_node().is_number(E)}));E(En,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,R){E.DEFMETHOD("is_number",R)}));(function(E){E(ot,return_false);E(fr,return_true);E(Ft,return_true);E(_n,(function(){return this.operator=="typeof"}));E(kn,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(wn,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(dn,(function(E){return this.tail_node().is_string(E)}));E(En,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,R){E.DEFMETHOD("is_string",R)}));var Zr=makePredicate("&& || ??");var es=makePredicate("delete ++ --");function is_lhs(E,R){if(R instanceof bn&&es.has(R.operator))return R.expression;if(R instanceof wn&&R.left===E)return E}(function(E){function to_node(E,R){if(E instanceof ot)return make_node(E.CTOR,R,E);if(Array.isArray(E))return make_node(An,R,{elements:E.map((function(E){return to_node(E,R)}))});if(E&&typeof E=="object"){var N=[];for(var $ in E)if(HOP(E,$)){N.push(make_node(In,R,{key:$,value:to_node(E[$],R)}))}return make_node(Cn,R,{properties:N})}return make_node_from_constant(E,R)}At.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(R){var N=R._find_defs(E,"");if(!N)return;var $=0,j=R,q;while(q=this.parent($++)){if(!(q instanceof hn))break;if(q.expression!==j)break;j=q}if(is_lhs(j,q)){return}return N})))}));E(ot,noop);E(vn,(function(E,R){return this.expression._find_defs(E,R)}));E(mn,(function(E,R){return this.expression._find_defs(E,"."+this.property+R)}));E(qn,(function(){if(!this.global())return}));E(ir,(function(E,R){if(!this.global())return;var N=E.option("global_defs");var $=this.name+R;if(HOP(N,$))return to_node(N[$],this)}))})((function(E,R){E.DEFMETHOD("_find_defs",R)}));function best_of_expression(E,R){return E.size()>R.size()?R:E}function best_of_statement(E,R){return best_of_expression(make_node(pt,E,{body:E}),make_node(pt,R,{body:R})).body}function best_of(E,R,N){return(first_in_statement(E)?best_of_statement:best_of_expression)(R,N)}function convert_to_predicate(E){const R=new Map;for(var N of Object.keys(E)){R.set(N,makePredicate(E[N]))}return R}var ts=["constructor","toString","valueOf"];var ns=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(ts),Boolean:ts,Function:ts,Number:["toExponential","toFixed","toPrecision"].concat(ts),Object:ts,RegExp:["test"].concat(ts),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(ts)});var rs=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){ot.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var R=this._eval(E,1);if(!R||R instanceof RegExp)return R;if(typeof R=="function"||typeof R=="object")return this;return R}));var R=makePredicate("! ~ - + void");ot.DEFMETHOD("is_constant",(function(){if(this instanceof dr){return!(this instanceof gr)}else{return this instanceof _n&&this.expression instanceof dr&&R.has(this.operator)}}));E(lt,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(Dt,return_this);E(Nn,return_this);E(ot,return_this);E(dr,(function(){return this.getValue()}));E(mr,return_this);E(gr,(function(E){let R=E.evaluated_regexps.get(this);if(R===undefined){try{R=(0,eval)(this.print_to_string())}catch(E){R=null}E.evaluated_regexps.set(this,R)}return R||this}));E(Ft,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(Mt,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(An,(function(E,R){if(E.option("unsafe")){var N=[];for(var $=0,j=this.elements.length;$typeof E==="object"||typeof E==="function"||typeof E==="symbol";E(kn,(function(E,R){if(!$.has(this.operator))R++;var N=this.left._eval(E,R);if(N===this.left)return this;var q=this.right._eval(E,R);if(q===this.right)return this;var G;if(N!=null&&q!=null&&j.has(this.operator)&&has_identity(N)&&has_identity(q)&&typeof N===typeof q){return this}switch(this.operator){case"&&":G=N&&q;break;case"||":G=N||q;break;case"??":G=N!=null?N:q;break;case"|":G=N|q;break;case"&":G=N&q;break;case"^":G=N^q;break;case"+":G=N+q;break;case"*":G=N*q;break;case"**":G=Math.pow(N,q);break;case"/":G=N/q;break;case"%":G=N%q;break;case"-":G=N-q;break;case"<<":G=N<>":G=N>>q;break;case">>>":G=N>>>q;break;case"==":G=N==q;break;case"===":G=N===q;break;case"!=":G=N!=q;break;case"!==":G=N!==q;break;case"<":G=N":G=N>q;break;case">=":G=N>=q;break;default:return this}if(isNaN(G)&&E.find_parent(wt)){return this}return G}));E(En,(function(E,R){var N=this.condition._eval(E,R);if(N===this.condition)return this;var $=N?this.consequent:this.alternative;var j=$._eval(E,R);return j===$?this:j}));const q=new Set;E(ir,(function(E,R){if(q.has(this))return this;var N=this.fixed_value();if(!N)return this;q.add(this);const $=N._eval(E,R);q.delete(this);if($===N)return this;if($&&typeof $=="object"){var j=this.definition().escaped;if(j&&R>j)return this}return $}));var G={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ie=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const ae=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(hn,(function(E,R){if(this.optional){const N=this.expression._eval(E,R);if(N==null)return undefined}if(E.option("unsafe")){var N=this.property;if(N instanceof ot){N=N._eval(E,R);if(N===this.property)return this}var $=this.expression;var j;if(is_undeclared_ref($)){var q;var le=$.name==="hasOwnProperty"&&N==="call"&&(q=E.parent()&&E.parent().args)&&(q&&q[0]&&q[0].evaluate(E));le=le instanceof mn?le.expression:le;if(le==null||le.thedef&&le.thedef.undeclared){return this.clone()}var _e=ie.get($.name);if(!_e||!_e.has(N))return this;j=G[$.name]}else{j=$._eval(E,R+1);if(j instanceof RegExp){if(N=="source"){return regexp_source_fix(j.source)}else if(N=="flags"||ae.has(N)){return j[N]}}if(!j||j===$||!HOP(j,N))return this;if(typeof j=="function")switch(N){case"name":return j.node.name?j.node.name.name:"";case"length":return j.node.length_property();default:return this}}return j[N]}return this}));E(vn,(function(E,R){const N=this.expression._eval(E,R);return N===this.expression?this:N}));E(un,(function(E,R){var N=this.expression;if(this.optional){const N=this.expression._eval(E,R);if(N==null)return undefined}if(E.option("unsafe")&&N instanceof hn){var $=N.property;if($ instanceof ot){$=$._eval(E,R);if($===N.property)return this}var j;var q=N.expression;if(is_undeclared_ref(q)){var ie=q.name==="hasOwnProperty"&&$==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof mn?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}var ae=rs.get(q.name);if(!ae||!ae.has($))return this;j=G[q.name]}else{j=q._eval(E,R+1);if(j===q||!j)return this;var le=ns.get(j.constructor.name);if(!le||!le.has($))return this}var _e=[];for(var Ee=0,we=this.args.length;Ee";return N;case"<":N.operator=">=";return N;case">=":N.operator="<";return N;case">":N.operator="<=";return N}}switch($){case"==":N.operator="!=";return N;case"!=":N.operator="==";return N;case"===":N.operator="!==";return N;case"!==":N.operator="===";return N;case"&&":N.operator="||";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R);case"||":N.operator="&&";N.left=N.left.negate(E,R);N.right=N.right.negate(E);return best(this,N,R);case"??":N.right=N.right.negate(E);return best(this,N,R)}return basic_negation(this)}))})((function(E,R){E.DEFMETHOD("negate",(function(E,N){return R.call(this,E,N)}))}));var ss=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");un.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var R=this.expression;var N=this.args&&this.args[0]&&this.args[0].evaluate(E);if(R.expression&&R.expression.name==="hasOwnProperty"&&(N==null||N.thedef&&N.thedef.undeclared)){return false}if(is_undeclared_ref(R)&&ss.has(R.name))return true;let $;if(R instanceof mn&&is_undeclared_ref(R.expression)&&($=rs.get(R.expression.name))&&$.has(R.property)){return true}}return!!has_annotation(this,Cr)||!E.pure_funcs(this)}));ot.DEFMETHOD("is_call_pure",return_false);mn.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const R=this.expression;let N;if(R instanceof An){N=ns.get("Array")}else if(R.is_boolean()){N=ns.get("Boolean")}else if(R.is_number(E)){N=ns.get("Number")}else if(R instanceof gr){N=ns.get("RegExp")}else if(R.is_string(E)){N=ns.get("String")}else if(!this.may_throw_on_access(E)){N=ns.get("Object")}return N&&N.has(this.property)}));const os=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(ot,return_true);E(ht,return_false);E(dr,return_false);E(ur,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].has_side_effects(R))return true;return false}E(dt,(function(E){return any(this.body,E)}));E(un,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Vt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Jt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Wt,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(gt,(function(E){return this.body.has_side_effects(E)}));E(pt,(function(E){return this.body.has_side_effects(E)}));E(Dt,return_false);E(Nn,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(kn,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(wn,return_true);E(En,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(bn,(function(E){return es.has(this.operator)||this.expression.has_side_effects(E)}));E(ir,(function(E){return!this.is_declared(E)&&!os.has(this.name)}));E(Xn,return_false);E(qn,return_false);E(Cn,(function(E){return any(this.properties,E)}));E(Dn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Bn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(On,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(An,(function(E){return any(this.elements,E)}));E(mn,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(yn,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(vn,(function(E){return this.expression.has_side_effects(E)}));E(dn,(function(E){return any(this.expressions,E)}));E(en,(function(E){return any(this.definitions,E)}));E(sn,(function(){return this.value}));E(Nt,return_false);E(Ft,(function(E){return any(this.segments,E)}))})((function(E,R){E.DEFMETHOD("has_side_effects",R)}));(function(E){E(ot,return_true);E(dr,return_false);E(ht,return_false);E(Dt,return_false);E(qn,return_false);E(ur,return_false);function any(E,R){for(var N=E.length;--N>=0;)if(E[N].may_throw(R))return true;return false}E(Nn,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(An,(function(E){return any(this.elements,E)}));E(wn,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof ir){return false}return this.left.may_throw(E)}));E(kn,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(dt,(function(E){return any(this.body,E)}));E(un,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof Dt)||any(this.expression.body,E)}));E(Jt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(En,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(en,(function(E){return any(this.definitions,E)}));E(Wt,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(gt,(function(E){return this.body.may_throw(E)}));E(Cn,(function(E){return any(this.properties,E)}));E(Dn,(function(E){return this.value?this.value.may_throw(E):false}));E(Bn,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Rn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(On,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Tn,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E($t,(function(E){return this.value&&this.value.may_throw(E)}));E(dn,(function(E){return any(this.expressions,E)}));E(pt,(function(E){return this.body.may_throw(E)}));E(mn,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(yn,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(vn,(function(E){return this.expression.may_throw(E)}));E(Vt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(ir,(function(E){return!this.is_declared(E)&&!os.has(this.name)}));E(Xn,return_false);E(Xt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(bn,(function(E){if(this.operator=="typeof"&&this.expression instanceof ir)return false;return this.expression.may_throw(E)}));E(sn,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,R){E.DEFMETHOD("may_throw",R)}));(function(E){function all_refs_local(E){let R=true;walk(this,(N=>{if(N instanceof ir){if(has_flag(this,Hr)){R=false;return Ar}var $=N.definition();if(member($,this.enclosed)&&!this.variables.has($.name)){if(E){var j=E.find_variable(N);if($.undeclared?!j:j===$){R="f";return true}}R=false;return Ar}return true}if(N instanceof ur&&this instanceof Pt){R=false;return Ar}}));return R}E(ot,return_false);E(dr,return_true);E(Nn,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const R of this.properties){if(R.computed_key()&&!R.key.is_constant_expression(E)){return false}if(R.static&&R.value&&!R.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(Dt,all_refs_local);E(bn,(function(){return this.expression.is_constant_expression()}));E(kn,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(An,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Cn,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Dn,(function(){return!!(!(this.key instanceof ot)&&this.value&&this.value.is_constant_expression())}))})((function(E,R){E.DEFMETHOD("is_constant_expression",R)}));function aborts(E){return E&&E.aborts()}(function(E){E(lt,return_null);E(Bt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof qn){const N=E.definition();if((R||N.global)&&!G.has(N.id)){G.set(N.id,N)}}}))}if(N.value){if(N.name instanceof Ot){N.walk(Ee)}else{var j=N.name.definition();map_add(le,j.id,N.value);if(!j.chained&&N.name.fixed_value()===N.value){ie.set(j.id,N)}}if(N.value.has_side_effects(E)){N.value.walk(Ee)}}}));return true}return scan_ref_scoped(j,q)}));R.walk(Ee);Ee=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var R=le.get(E.id);if(R)R.forEach((function(E){E.walk(Ee)}))}));var we=new TreeTransformer((function before(le,Ee,Ie){var Me=we.parent();if($){const E=q(le);if(E instanceof ir){var Te=E.definition();var Ne=G.has(Te.id);if(le instanceof wn){if(!Ne||ie.has(Te.id)&&ie.get(Te.id)!==le){return maintain_this_binding(Me,le,le.right.transform(we))}}else if(!Ne)return Ie?j.skip:make_node(hr,le,{value:0})}}if(_e!==R)return;var Te;if(le.name&&(le instanceof jn&&!keep_name(E.option("keep_classnames"),(Te=le.name.definition()).name)||le instanceof Mt&&!keep_name(E.option("keep_fnames"),(Te=le.name.definition()).name))){if(!G.has(Te.id)||Te.orig.length>1)le.name=null}if(le instanceof Dt&&!(le instanceof It)){var Be=!E.option("keep_fargs");for(var Le=le.argnames,je=Le.length;--je>=0;){var ze=Le[je];if(ze instanceof Ct){ze=ze.expression}if(ze instanceof Sn){ze=ze.left}if(!(ze instanceof Ot)&&!G.has(ze.definition().id)){set_flag(ze,zr);if(Be){Le.pop()}}else{Be=false}}}if((le instanceof Tt||le instanceof $n)&&le!==R){const R=le.name.definition();let $=R.global&&!N||G.has(R.id);if(!$){R.eliminated++;if(le instanceof $n){const R=le.drop_side_effect_free(E);if(R){return make_node(pt,le,{body:R})}}return Ie?j.skip:make_node(ht,le)}}if(le instanceof en&&!(Me instanceof kt&&Me.init===le)){var Ue=!(Me instanceof At)&&!(le instanceof tn);var qe=[],Ge=[],He=[];var We=[];le.definitions.forEach((function(R){if(R.value)R.value=R.value.transform(we);var N=R.name instanceof Ot;var j=N?new SymbolDef(null,{name:""}):R.name.definition();if(Ue&&j.global)return He.push(R);if(!($||Ue)||N&&(R.name.names.length||R.name.is_array||E.option("pure_getters")!=true)||G.has(j.id)){if(R.value&&ie.has(j.id)&&ie.get(j.id)!==R){R.value=R.value.drop_side_effect_free(E)}if(R.name instanceof Gn){var q=ae.get(j.id);if(q.length>1&&(!R.value||j.orig.indexOf(R.name)>j.eliminated)){if(R.value){var _e=make_node(ir,R.name,R.name);j.references.push(_e);var Ee=make_node(wn,R,{operator:"=",logical:false,left:_e,right:R.value});if(ie.get(j.id)===R){ie.set(j.id,Ee)}We.push(Ee.transform(we))}remove(q,R);j.eliminated++;return}}if(R.value){if(We.length>0){if(He.length>0){We.push(R.value);R.value=make_sequence(R.value,We)}else{qe.push(make_node(pt,le,{body:make_sequence(le,We)}))}We=[]}He.push(R)}else{Ge.push(R)}}else if(j.orig[0]instanceof tr){var Ie=R.value&&R.value.drop_side_effect_free(E);if(Ie)We.push(Ie);R.value=null;Ge.push(R)}else{var Ie=R.value&&R.value.drop_side_effect_free(E);if(Ie){We.push(Ie)}j.eliminated++}}));if(Ge.length>0||He.length>0){le.definitions=Ge.concat(He);qe.push(le)}if(We.length>0){qe.push(make_node(pt,le,{body:make_sequence(le,We)}))}switch(qe.length){case 0:return Ie?j.skip:make_node(ht,le);case 1:return qe[0];default:return Ie?j.splice(qe):make_node(ft,le,{body:qe})}}if(le instanceof xt){Ee(le,this);var Ve;if(le.init instanceof ft){Ve=le.init;le.init=Ve.body.pop();Ve.body.push(le)}if(le.init instanceof pt){le.init=le.init.body}else if(is_empty(le.init)){le.init=null}return!Ve?le:Ie?j.splice(Ve.body):Ve}if(le instanceof gt&&le.body instanceof xt){Ee(le,this);if(le.body instanceof ft){var Ve=le.body;le.body=Ve.body.pop();Ve.body.push(le);return Ie?j.splice(Ve.body):Ve}return le}if(le instanceof ft){Ee(le,this);if(Ie&&le.body.every(can_be_evicted_from_block)){return j.splice(le.body)}return le}if(le instanceof St){const E=_e;_e=le;Ee(le,this);_e=E;return le}}));R.transform(we);function scan_ref_scoped(E,N){var $;const j=q(E);if(j instanceof ir&&!is_ref_of(E.left,Hn)&&R.variables.get(j.name)===($=j.definition())){if(E instanceof wn){E.right.walk(Ee);if(!$.chained&&E.left.fixed_value()===E.right){ie.set($.id,E)}}return true}if(E instanceof ir){$=E.definition();if(!G.has($.id)){G.set($.id,$);if($.orig[0]instanceof tr){const E=$.scope.is_block_scope()&&$.scope.get_defun_scope().variables.get($.name);if(E)G.set(E.id,E)}}return true}if(E instanceof St){var ae=_e;_e=E;N();_e=ae;return true}}}));St.DEFMETHOD("hoist_declarations",(function(E){var R=this;if(E.has_directive("use asm"))return R;if(!Array.isArray(R.body))return R;var N=E.option("hoist_funs");var $=E.option("hoist_vars");if(N||$){var j=[];var q=[];var G=new Map,ie=0,ae=0;walk(R,(E=>{if(E instanceof St&&E!==R)return true;if(E instanceof tn){++ae;return true}}));$=$&&ae>1;var le=new TreeTransformer((function before(ae){if(ae!==R){if(ae instanceof ut){j.push(ae);return make_node(ht,ae)}if(N&&ae instanceof Tt&&!(le.parent()instanceof cn)&&le.parent()===R){q.push(ae);return make_node(ht,ae)}if($&&ae instanceof tn&&!ae.definitions.some((E=>E.name instanceof Ot))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var _e=ae.to_assignments(E);var Ee=le.parent();if(Ee instanceof kt&&Ee.init===ae){if(_e==null){var we=ae.definitions[0].name;return make_node(ir,we,we)}return _e}if(Ee instanceof xt&&Ee.init===ae){return _e}if(!_e)return make_node(ht,ae);return make_node(pt,ae,{body:_e})}if(ae instanceof St)return ae}}));R=R.transform(le);if(ie>0){var _e=[];const E=R instanceof Dt;const N=E?R.args_as_names():null;G.forEach(((R,$)=>{if(E&&N.some((E=>E.name===R.name.name))){G.delete($)}else{R=R.clone();R.value=null;_e.push(R);G.set($,R)}}));if(_e.length>0){for(var Ee=0;EeE instanceof Ct||E.computed_key()))){ie(G,this);const E=new Map;const N=[];_e.properties.forEach((({key:$,value:j})=>{const ie=find_scope(q);const le=R.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+$});E.set(String($),le.definition());N.push(make_node(sn,G,{name:le,value:j}))}));$.set(le.id,E);return j.splice(N)}}else if(G instanceof hn&&G.expression instanceof ir){const E=$.get(G.expression.definition().id);if(E){const R=E.get(String(get_value(G.property)));const N=make_node(ir,G,{name:R.name,scope:G.expression.scope,thedef:R});N.reference({});return N}}}));return R.transform(q)}));(function(E){function trim(E,R,N){var $=E.length;if(!$)return null;var j=[],q=false;for(var G=0;G<$;G++){var ie=E[G].drop_side_effect_free(R,N);q|=ie!==E[G];if(ie){j.push(ie);N=false}}return q?j.length?j:null:E}E(ot,return_this);E(dr,return_null);E(ur,return_null);E(un,(function(E,R){if(this.optional&&is_nullish(this.expression,E)){return make_node(_r,this)}if(!this.is_callee_pure(E)){if(this.expression.is_call_pure(E)){var N=this.args.slice();N.unshift(this.expression.expression);N=trim(N,E,R);return N&&make_sequence(this,N)}if(is_func_expr(this.expression)&&(!this.expression.name||!this.expression.name.definition().references.length)){var $=this.clone();$.expression.process_expression(false,E);return $}return this}var j=trim(this.args,E,R);return j&&make_sequence(this,j)}));E(It,return_null);E(Mt,return_null);E(Pt,return_null);E(Nn,(function(E){const R=[];const N=this.extends&&this.extends.drop_side_effect_free(E);if(N)R.push(N);for(const N of this.properties){const $=N.drop_side_effect_free(E);if($)R.push($)}if(!R.length)return null;return make_sequence(this,R)}));E(kn,(function(E,R){var N=this.right.drop_side_effect_free(E);if(!N)return this.left.drop_side_effect_free(E,R);if(Zr.has(this.operator)){if(N===this.right)return this;var $=this.clone();$.right=N;return $}else{var j=this.left.drop_side_effect_free(E,R);if(!j)return this.right.drop_side_effect_free(E,R);return make_sequence(this,[j,N])}}));E(wn,(function(E){if(this.logical)return this;var R=this.left;if(R.has_side_effects(E)||E.has_directive("use strict")&&R instanceof hn&&R.expression.is_constant()){return this}set_flag(this,Wr);while(R instanceof hn){R=R.expression}if(R.is_constant_expression(E.find_parent(St))){return this.right.drop_side_effect_free(E)}return this}));E(En,(function(E){var R=this.consequent.drop_side_effect_free(E);var N=this.alternative.drop_side_effect_free(E);if(R===this.consequent&&N===this.alternative)return this;if(!R)return N?make_node(kn,this,{operator:"||",left:this.condition,right:N}):this.condition.drop_side_effect_free(E);if(!N)return make_node(kn,this,{operator:"&&",left:this.condition,right:R});var $=this.clone();$.consequent=R;$.alternative=N;return $}));E(bn,(function(E,R){if(es.has(this.operator)){if(!this.expression.has_side_effects(E)){set_flag(this,Wr)}else{clear_flag(this,Wr)}return this}if(this.operator=="typeof"&&this.expression instanceof ir)return null;var N=this.expression.drop_side_effect_free(E,R);if(R&&N&&is_iife_call(N)){if(N===this.expression&&this.operator=="!")return this;return N.negate(E,R)}return N}));E(ir,(function(E){const R=this.is_declared(E)||os.has(this.name);return R?null:this}));E(Cn,(function(E,R){var N=trim(this.properties,E,R);return N&&make_sequence(this,N)}));E(Dn,(function(E,R){const N=this instanceof In&&this.key instanceof ot;const $=N&&this.key.drop_side_effect_free(E,R);const j=this.value&&this.value.drop_side_effect_free(E,R);if($&&j){return make_sequence(this,[$,j])}return $||j}));E(Bn,(function(E){const R=this.computed_key()&&this.key.drop_side_effect_free(E);const N=this.static&&this.value&&this.value.drop_side_effect_free(E);if(R&&N)return make_sequence(this,[R,N]);return R||N||null}));E(Rn,(function(){return this.computed_key()?this.key:null}));E(On,(function(){return this.computed_key()?this.key:null}));E(Tn,(function(){return this.computed_key()?this.key:null}));E(An,(function(E,R){var N=trim(this.elements,E,R);return N&&make_sequence(this,N)}));E(mn,(function(E,R){if(this.optional){return is_nullish(this.expression,E)?make_node(_r,this):this}if(this.expression.may_throw_on_access(E))return this;return this.expression.drop_side_effect_free(E,R)}));E(yn,(function(E,R){if(this.optional){return is_nullish(this.expression,E)?make_node(_r,this):this}if(this.expression.may_throw_on_access(E))return this;var N=this.expression.drop_side_effect_free(E,R);if(!N)return this.property.drop_side_effect_free(E,R);var $=this.property.drop_side_effect_free(E);if(!$)return N;return make_sequence(this,[N,$])}));E(vn,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));E(dn,(function(E){var R=this.tail_node();var N=R.drop_side_effect_free(E);if(N===R)return this;var $=this.expressions.slice(0,-1);if(N)$.push(N);if(!$.length){return make_node(hr,this,{value:0})}return make_sequence(this,$)}));E(Ct,(function(E,R){return this.expression.drop_side_effect_free(E,R)}));E(Nt,return_null);E(Ft,(function(E){var R=trim(this.segments,E,first_in_statement);return R&&make_sequence(this,R)}))})((function(E,R){E.DEFMETHOD("drop_side_effect_free",R)}));def_optimize(pt,(function(E,R){if(R.option("side_effects")){var N=E.body;var $=N.drop_side_effect_free(R,true);if(!$){return make_node(ht,E)}if($!==N){return make_node(pt,E,{body:$})}}return E}));def_optimize(_t,(function(E,R){return R.option("loops")?make_node(xt,E,E).optimize(R):E}));function has_break_or_continue(E,R){var N=false;var $=new TreeWalker((function(R){if(N||R instanceof St)return true;if(R instanceof zt&&$.loopcontrol_target(R)===E){return N=true}}));if(R instanceof gt)$.push(R);$.push(E);E.body.walk($);return N}def_optimize(bt,(function(E,R){if(!R.option("loops"))return E;var N=E.condition.tail_node().evaluate(R);if(!(N instanceof ot)){if(N)return make_node(xt,E,{body:make_node(ft,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]})}).optimize(R);if(!has_break_or_continue(E,R.parent())){return make_node(ft,E.body,{body:[E.body,make_node(pt,E.condition,{body:E.condition})]}).optimize(R)}}return E}));function if_break_in_loop(E,R){var N=E.body instanceof ft?E.body.body[0]:E.body;if(R.option("dead_code")&&is_break(N)){var $=[];if(E.init instanceof lt){$.push(E.init)}else if(E.init){$.push(make_node(pt,E.init,{body:E.init}))}if(E.condition){$.push(make_node(pt,E.condition,{body:E.condition}))}trim_unreachable_code(R,E.body,$);return make_node(ft,E,{body:$})}if(N instanceof Wt){if(is_break(N.body)){if(E.condition){E.condition=make_node(kn,E.condition,{left:E.condition,operator:"&&",right:N.condition.negate(R)})}else{E.condition=N.condition.negate(R)}drop_it(N.alternative)}else if(is_break(N.alternative)){if(E.condition){E.condition=make_node(kn,E.condition,{left:E.condition,operator:"&&",right:N.condition})}else{E.condition=N.condition}drop_it(N.body)}}return E;function is_break(E){return E instanceof Ut&&R.loopcontrol_target(E)===R.self()}function drop_it(N){N=as_statement_array(N);if(E.body instanceof ft){E.body=E.body.clone();E.body.body=N.concat(E.body.body.slice(1));E.body=E.body.transform(R)}else{E.body=make_node(ft,E.body,{body:N}).transform(R)}E=if_break_in_loop(E,R)}}def_optimize(xt,(function(E,R){if(!R.option("loops"))return E;if(R.option("side_effects")&&E.init){E.init=E.init.drop_side_effect_free(R)}if(E.condition){var N=E.condition.evaluate(R);if(!(N instanceof ot)){if(N)E.condition=null;else if(!R.option("dead_code")){var $=E.condition;E.condition=make_node_from_constant(N,E.condition);E.condition=best_of_expression(E.condition.transform(R),$)}}if(R.option("dead_code")){if(N instanceof ot)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);if(E.init instanceof lt){j.push(E.init)}else if(E.init){j.push(make_node(pt,E.init,{body:E.init}))}j.push(make_node(pt,E.condition,{body:E.condition}));return make_node(ft,E,{body:j}).optimize(R)}}}return if_break_in_loop(E,R)}));def_optimize(Wt,(function(E,R){if(is_empty(E.alternative))E.alternative=null;if(!R.option("conditionals"))return E;var N=E.condition.evaluate(R);if(!R.option("dead_code")&&!(N instanceof ot)){var $=E.condition;E.condition=make_node_from_constant(N,$);E.condition=best_of_expression(E.condition.transform(R),$)}if(R.option("dead_code")){if(N instanceof ot)N=E.condition.tail_node().evaluate(R);if(!N){var j=[];trim_unreachable_code(R,E.body,j);j.push(make_node(pt,E.condition,{body:E.condition}));if(E.alternative)j.push(E.alternative);return make_node(ft,E,{body:j}).optimize(R)}else if(!(N instanceof ot)){var j=[];j.push(make_node(pt,E.condition,{body:E.condition}));j.push(E.body);if(E.alternative){trim_unreachable_code(R,E.alternative,j)}return make_node(ft,E,{body:j}).optimize(R)}}var q=E.condition.negate(R);var G=E.condition.size();var ie=q.size();var ae=ie0){G[0].body=q.concat(G[0].body)}E.body=G;while(N=G[G.length-1]){var Me=N.body[N.body.length-1];if(Me instanceof Ut&&R.loopcontrol_target(Me)===E)N.body.pop();if(N.body.length||N instanceof Jt&&(ie||N.expression.has_side_effects(R)))break;if(G.pop()===ie)ie=null}if(G.length==0){return make_node(ft,E,{body:q.concat(make_node(pt,E.expression,{body:E.expression}))}).optimize(R)}if(G.length==1&&(G[0]===ae||G[0]===ie)){var Te=false;var Ne=new TreeWalker((function(R){if(Te||R instanceof Dt||R instanceof pt)return true;if(R instanceof Ut&&Ne.loopcontrol_target(R)===E)Te=true}));E.walk(Ne);if(!Te){var Be=G[0].body.slice();var Ee=G[0].expression;if(Ee)Be.unshift(make_node(pt,Ee,{body:Ee}));Be.unshift(make_node(pt,E.expression,{body:E.expression}));return make_node(ft,E,{body:Be}).optimize(R)}}return E;function eliminate_branch(E,N){if(N&&!aborts(N)){N.body=N.body.concat(E.body)}else{trim_unreachable_code(R,E,q)}}}));def_optimize(Xt,(function(E,R){tighten_body(E.body,R);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(R.option("dead_code")&&E.body.every(is_empty)){var N=[];if(E.bcatch){trim_unreachable_code(R,E.bcatch,N)}if(E.bfinally)N.push(...E.bfinally.body);return make_node(ft,E,{body:N}).optimize(R)}return E}));en.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(R){if(R.name instanceof qn){R.value=null;E.push(R)}else{walk(R.name,(N=>{if(N instanceof qn){E.push(make_node(sn,R,{name:N,value:null}))}}))}}));this.definitions=E}));en.DEFMETHOD("to_assignments",(function(E){var R=E.option("reduce_vars");var N=[];for(const E of this.definitions){if(E.value){var $=make_node(ir,E.name,E.name);N.push(make_node(wn,E,{operator:"=",logical:false,left:$,right:E.value}));if(R)$.definition().fixed=false}else if(E.value){var j=make_node(sn,E,{name:E.name,value:E.value});var q=make_node(tn,E,{definitions:[j]});N.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(N.length==0)return null;return make_sequence(this,N)}));def_optimize(en,(function(E){if(E.definitions.length==0)return make_node(ht,E);return E}));def_optimize(sn,(function(E,R){if(E.name instanceof Vn&&E.value!=null&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(an,(function(E){return E}));function retain_top_func(E,R){return R.top_retain&&E instanceof Tt&&has_flag(E,Qr)&&E.name&&R.top_retain(E.name)}def_optimize(un,(function(E,R){var N=E.expression;var $=N;inline_array_like_spread(E.args);var j=E.args.every((E=>!(E instanceof Ct)));if(R.option("reduce_vars")&&$ instanceof ir&&!has_annotation(E,Ir)){const E=$.fixed_value();if(!retain_top_func(E,R)){$=E}}if(E.optional&&is_nullish($,R)){return make_node(_r,E)}var q=$ instanceof Dt;if(q&&$.pinned())return E;if(R.option("unused")&&j&&q&&!$.uses_arguments){var G=0,ie=0;for(var ae=0,le=E.args.length;ae=$.argnames.length;if(Ee||has_flag($.argnames[ae],zr)){var _e=E.args[ae].drop_side_effect_free(R);if(_e){E.args[G++]=_e}else if(!Ee){E.args[G++]=make_node(hr,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(R.option("unsafe")){if(is_undeclared_ref(N))switch(N.name){case"Array":if(E.args.length!=1){return make_node(An,E,{elements:E.args}).optimize(R)}else if(E.args[0]instanceof hr&&E.args[0].value<=11){const R=[];for(let N=0;N=1&&E.args.length<=2&&E.args.every((E=>{var N=E.evaluate(R);we.push(N);return E!==N}))){let[N,$]=we;N=regexp_source_fix(new RegExp(N).source);const j=make_node(gr,E,{value:{source:N,flags:$}});if(j._eval(R)!==j){return j}}break}else if(N instanceof mn)switch(N.property){case"toString":if(E.args.length==0&&!N.expression.may_throw_on_access(R)){return make_node(kn,E,{left:make_node(fr,E,{value:""}),operator:"+",right:N.expression}).optimize(R)}break;case"join":if(N.expression instanceof An)e:{var Ie;if(E.args.length>0){Ie=E.args[0].evaluate(R);if(Ie===E.args[0])break e}var Me=[];var Te=[];for(var ae=0,le=N.expression.elements.length;ae0){Me.push(make_node(fr,E,{value:Te.join(Ie)}));Te.length=0}Me.push(Ne)}}if(Te.length>0){Me.push(make_node(fr,E,{value:Te.join(Ie)}))}if(Me.length==0)return make_node(fr,E,{value:""});if(Me.length==1){if(Me[0].is_string(R)){return Me[0]}return make_node(kn,Me[0],{operator:"+",left:make_node(fr,E,{value:""}),right:Me[0]})}if(Ie==""){var Le;if(Me[0].is_string(R)||Me[1].is_string(R)){Le=Me.shift()}else{Le=make_node(fr,E,{value:""})}return Me.reduce((function(E,R){return make_node(kn,R,{operator:"+",left:E,right:R})}),Le).optimize(R)}var _e=E.clone();_e.expression=_e.expression.clone();_e.expression.expression=_e.expression.expression.clone();_e.expression.expression.elements=Me;return best_of(R,E,_e)}break;case"charAt":if(N.expression.is_string(R)){var je=E.args[0];var ze=je?je.evaluate(R):0;if(ze!==je){return make_node(yn,N,{expression:N.expression,property:make_node_from_constant(ze|0,je||N)}).optimize(R)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof An){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(un,E,{expression:make_node(mn,N,{expression:N.expression,optional:false,property:"call"}),args:Ue}).optimize(R)}break;case"call":var qe=N.expression;if(qe instanceof ir){qe=qe.fixed_value()}if(qe instanceof Dt&&!qe.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(un,E,{expression:N.expression,args:E.args.slice(1)})]):make_node(un,E,{expression:N.expression,args:[]})).optimize(R)}break}}if(R.option("unsafe_Function")&&is_undeclared_ref(N)&&N.name=="Function"){if(E.args.length==0)return make_node(Mt,E,{argnames:[],body:[]}).optimize(R);if(E.args.every((E=>E instanceof fr))){try{var Ge="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var He=parse(Ge);var We={ie8:R.option("ie8")};He.figure_out_scope(We);var Ve=new Compressor(R.options,{mangle_options:R.mangle_options});He=He.transform(Ve);He.figure_out_scope(We);$r.reset();He.compute_char_frequency(We);He.mangle_names(We);var Ke;walk(He,(E=>{if(is_func_expr(E)){Ke=E;return Ar}}));var Ge=OutputStream();ft.prototype._codegen.call(Ke,Ke,Ge);E.args=[make_node(fr,E,{value:Ke.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(fr,E.args[E.args.length-1],{value:Ge.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Qe=q&&$.body[0];var Je=q&&!$.is_generator&&!$.async;var Xe=Je&&R.option("inline")&&!E.is_callee_pure(R);if(Xe&&Qe instanceof $t){let N=Qe.value;if(!N||N.is_constant_expression()){if(N){N=N.clone(true)}else{N=make_node(_r,E)}const $=E.args.concat(N);return make_sequence(E,$).optimize(R)}if($.argnames.length===1&&$.argnames[0]instanceof Kn&&E.args.length<2&&N instanceof ir&&N.name===$.argnames[0].name){const N=(E.args[0]||make_node(_r)).optimize(R);let $;if(N instanceof hn&&($=R.parent())instanceof un&&$.expression===E){return make_sequence(E,[make_node(hr,E,{value:0}),N])}return N}}if(Xe){var Ye,Ze,et=-1;let q;let G;let ie;if(j&&!$.uses_arguments&&!(R.parent()instanceof Nn)&&!($.name&&$ instanceof Mt)&&(G=can_flatten_body(Qe))&&(N===$||has_annotation(E,Dr)||R.option("unused")&&(q=N.definition()).references.length==1&&!recursive_ref(R,q)&&$.is_constant_expression(N.scope))&&!has_annotation(E,Cr|Ir)&&!$.contains_this()&&can_inject_symbols()&&(ie=find_scope(R))&&!scope_encloses_variables_in_this_scope(ie,$)&&!function in_default_assign(){let E=0;let N;while(N=R.parent(E++)){if(N instanceof Sn)return true;if(N instanceof dt)break}return false}()&&!(Ye instanceof Nn)){set_flag($,Vr);ie.add_child_scope($);return make_sequence(E,flatten_fn(G)).optimize(R)}}if(Xe&&has_annotation(E,Dr)){set_flag($,Vr);$=make_node($.CTOR===Tt?Mt:$.CTOR,$,$);$.figure_out_scope({},{parent_scope:find_scope(R),toplevel:R.get_toplevel()});return make_node(un,E,{expression:$,args:E.args}).optimize(R)}const tt=Je&&R.option("side_effects")&&$.body.every(is_empty);if(tt){var Ue=E.args.concat(make_node(_r,E));return make_sequence(E,Ue).optimize(R)}if(R.option("negate_iife")&&R.parent()instanceof pt&&is_iife_call(E)){return E.negate(R,true)}var nt=E.evaluate(R);if(nt!==E){nt=make_node_from_constant(nt,E).optimize(R);return best_of(R,nt,E)}return E;function return_value(R){if(!R)return make_node(_r,E);if(R instanceof $t){if(!R.value)return make_node(_r,E);return R.value.clone(true)}if(R instanceof pt){return make_node(_n,R,{operator:"void",expression:R.body.clone(true)})}}function can_flatten_body(E){var N=$.body;var j=N.length;if(R.option("inline")<3){return j==1&&return_value(E)}E=null;for(var q=0;q!E.value))){return false}}else if(E){return false}else if(!(G instanceof ht)){E=G}}return return_value(E)}function can_inject_args(E,R){for(var N=0,j=$.argnames.length;N=0;){var ie=q.definitions[G].name;if(ie instanceof Ot||E.has(ie.name)||Yr.has(ie.name)||Ye.conflicting_def(ie.name)){return false}if(Ze)Ze.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Ye=R.parent(++et);if(Ye.is_block_scope()&&Ye.block_scope){Ye.block_scope.variables.forEach((function(R){E.add(R.name)}))}if(Ye instanceof Yt){if(Ye.argname){E.add(Ye.argname.name)}}else if(Ye instanceof yt){Ze=[]}else if(Ye instanceof ir){if(Ye.fixed_value()instanceof St)return false}}while(!(Ye instanceof St));var N=!(Ye instanceof At)||R.toplevel.vars;var j=R.option("inline");if(!can_inject_vars(E,j>=3&&N))return false;if(!can_inject_args(E,j>=2&&N))return false;return!Ze||Ze.length==0||!is_reachable($,Ze)}function append_var(R,N,$,j){var q=$.definition();const G=Ye.variables.has($.name);if(!G){Ye.variables.set($.name,q);Ye.enclosed.push(q);R.push(make_node(sn,$,{name:$,value:null}))}var ie=make_node(ir,$,$);q.references.push(ie);if(j)N.push(make_node(wn,E,{operator:"=",logical:false,left:ie,right:j.clone()}))}function flatten_args(R,N){var j=$.argnames.length;for(var q=E.args.length;--q>=j;){N.push(E.args[q])}for(q=j;--q>=0;){var G=$.argnames[q];var ie=E.args[q];if(has_flag(G,zr)||!G.name||Ye.conflicting_def(G.name)){if(ie)N.push(ie)}else{var ae=make_node(Gn,G,G);G.definition().orig.push(ae);if(!ie&&Ze)ie=make_node(_r,E);append_var(R,N,ae,ie)}}R.reverse();N.reverse()}function flatten_vars(E,R){var N=R.length;for(var j=0,q=$.body.length;jE.name!=_e.name))){var Ee=$.variables.get(_e.name);var we=make_node(ir,_e,_e);Ee.references.push(we);R.splice(N++,0,make_node(wn,le,{operator:"=",logical:false,left:we,right:make_node(_r,_e)}))}}}}function flatten_fn(E){var N=[];var j=[];flatten_args(N,j);flatten_vars(N,j);j.push(E);if(N.length){const E=Ye.body.indexOf(R.parent(et-1))+1;Ye.body.splice(E,0,make_node(tn,$,{definitions:N}))}return j.map((E=>E.clone(true)))}}));def_optimize(pn,(function(E,R){if(R.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(un,E,E).transform(R);return E}));def_optimize(dn,(function(E,R){if(!R.option("side_effects"))return E;var N=[];filter_for_side_effects();var $=N.length-1;trim_right_for_undefined();if($==0){E=maintain_this_binding(R.parent(),R.self(),N[0]);if(!(E instanceof dn))E=E.optimize(R);return E}E.expressions=N;return E;function filter_for_side_effects(){var $=first_in_statement(R);var j=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q0&&is_undefined(N[$],R))$--;if($0){var N=this.clone();N.right=make_sequence(this.right,R.slice(q));R=R.slice(0,q);R.push(N);return make_sequence(this,R).optimize(E)}}}return this}));var cs=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof An||E instanceof Dt||E instanceof Cn||E instanceof Nn}def_optimize(kn,(function(E,R){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(R)&&!E.right.has_side_effects(R)}function reverse(R){if(reversible()){if(R)E.operator=R;var N=E.left;E.left=E.right;E.right=N}}if(cs.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof kn&&tt[E.left.operator]>=tt[E.operator])){reverse()}}}E=E.lift_sequences(R);if(R.option("comparisons"))switch(E.operator){case"===":case"!==":var N=true;if(E.left.is_string(R)&&E.right.is_string(R)||E.left.is_number(R)&&E.right.is_number(R)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!N&&is_undefined(E.left,R)){E.left=make_node(vr,E.left)}else if(R.option("typeofs")&&E.left instanceof fr&&E.left.value=="undefined"&&E.right instanceof _n&&E.right.operator=="typeof"){var $=E.right.expression;if($ instanceof ir?$.is_declared(R):!($ instanceof hn&&R.option("ie8"))){E.right=$;E.left=make_node(_r,E.left).optimize(R);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof ir&&E.right instanceof ir&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Sr:wr,E)}break;case"&&":case"||":var j=E.left;if(j.operator==E.operator){j=j.right}if(j instanceof kn&&j.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof kn&&j.operator==E.right.operator&&(is_undefined(j.left,R)&&E.right.left instanceof vr||j.left instanceof vr&&is_undefined(E.right.left,R))&&!j.right.has_side_effects(R)&&j.right.equivalent_to(E.right.right)){var q=make_node(kn,E,{operator:j.operator.slice(0,-1),left:make_node(vr,E),right:j.right});if(j!==E.left){q=make_node(kn,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&R.in_boolean_context()){var G=E.left.evaluate(R);var ie=E.right.evaluate(R);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Sr,E)]).optimize(R)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Sr,E)]).optimize(R)}}if(R.option("comparisons")&&E.is_boolean()){if(!(R.parent()instanceof kn)||R.parent()instanceof wn){var ae=make_node(_n,E,{operator:"!",expression:E.negate(R,first_in_statement(R))});E=best_of(R,E,ae)}if(R.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof fr&&E.right.getValue()==""&&E.left.is_string(R)){return E.left}if(E.left instanceof fr&&E.left.getValue()==""&&E.right.is_string(R)){return E.right}if(E.left instanceof kn&&E.left.operator=="+"&&E.left.left instanceof fr&&E.left.left.getValue()==""&&E.right.is_string(R)){E.left=E.left.right;return E}}if(R.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,Ur)?true:has_flag(E.left,qr)?false:E.left.evaluate(R);if(!G){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}else if(!(G instanceof ot)){return make_sequence(E,[E.left,E.right]).optimize(R)}var ie=E.right.evaluate(R);if(!ie){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(wr,E)]).optimize(R)}else{set_flag(E,qr)}}else if(!(ie instanceof ot)){var le=R.parent();if(le.operator=="&&"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}if(E.left.operator=="||"){var _e=E.left.right.evaluate(R);if(!_e)return make_node(En,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(R)}break;case"||":var G=has_flag(E.left,Ur)?true:has_flag(E.left,qr)?false:E.left.evaluate(R);if(!G){return make_sequence(E,[E.left,E.right]).optimize(R)}else if(!(G instanceof ot)){return maintain_this_binding(R.parent(),R.self(),E.left).optimize(R)}var ie=E.right.evaluate(R);if(!ie){var le=R.parent();if(le.operator=="||"&&le.left===R.self()||R.in_boolean_context()){return E.left.optimize(R)}}else if(!(ie instanceof ot)){if(R.in_boolean_context()){return make_sequence(E,[E.left,make_node(Sr,E)]).optimize(R)}else{set_flag(E,Ur)}}if(E.left.operator=="&&"){var _e=E.left.right.evaluate(R);if(_e&&!(_e instanceof ot))return make_node(En,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(R)}break;case"??":if(is_nullish(E.left,R)){return E.right}var G=E.left.evaluate(R);if(!(G instanceof ot)){return G==null?E.right:E.left}if(R.in_boolean_context()){const N=E.right.evaluate(R);if(!(N instanceof ot)&&!N){return E.left}}}var Ee=true;switch(E.operator){case"+":if(E.right instanceof dr&&E.left instanceof kn&&E.left.operator=="+"&&E.left.is_string(R)){var we=make_node(kn,E,{operator:"+",left:E.left.right,right:E.right});var Ie=we.optimize(R);if(we!==Ie){E=make_node(kn,E,{operator:"+",left:E.left.left,right:Ie})}}if(E.left instanceof kn&&E.left.operator=="+"&&E.left.is_string(R)&&E.right instanceof kn&&E.right.operator=="+"&&E.right.is_string(R)){var we=make_node(kn,E,{operator:"+",left:E.left.right,right:E.right.left});var Me=we.optimize(R);if(we!==Me){E=make_node(kn,E,{operator:"+",left:make_node(kn,E.left,{operator:"+",left:E.left.left,right:Me}),right:E.right.right})}}if(E.right instanceof _n&&E.right.operator=="-"&&E.left.is_number(R)){E=make_node(kn,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof _n&&E.left.operator=="-"&&reversible()&&E.right.is_number(R)){E=make_node(kn,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Ft){var Te=E.left;var Ie=E.right.evaluate(R);if(Ie!=E.right){Te.segments[Te.segments.length-1].value+=String(Ie);return Te}}if(E.right instanceof Ft){var Ie=E.right;var Te=E.left.evaluate(R);if(Te!=E.left){Ie.segments[0].value=String(Te)+Ie.segments[0].value;return Ie}}if(E.left instanceof Ft&&E.right instanceof Ft){var Te=E.left;var Ne=Te.segments;var Ie=E.right;Ne[Ne.length-1].value+=Ie.segments[0].value;for(var Be=1;Be=tt[E.operator])){var Le=make_node(kn,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof dr&&!(E.left instanceof dr)){E=best_of(R,Le,E)}else{E=best_of(R,E,Le)}}if(Ee&&E.is_number(R)){if(E.right instanceof kn&&E.right.operator==E.operator){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof dr&&E.left instanceof kn&&E.left.operator==E.operator){if(E.left.left instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof kn&&E.left.operator==E.operator&&E.left.right instanceof dr&&E.right instanceof kn&&E.right.operator==E.operator&&E.right.left instanceof dr){E=make_node(kn,E,{operator:E.operator,left:make_node(kn,E.left,{operator:E.operator,left:make_node(kn,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof kn&&E.right.operator==E.operator&&(Zr.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(R)||E.left.is_string(R)&&E.right.right.is_string(R)))){E.left=make_node(kn,E.left,{operator:E.operator,left:E.left.transform(R),right:E.right.left.transform(R)});E.right=E.right.right.transform(R);return E.transform(R)}var je=E.evaluate(R);if(je!==E){je=make_node_from_constant(je,E).optimize(R);return best_of(R,je,E)}return E}));def_optimize(ar,(function(E){return E}));function recursive_ref(E,R){var N;for(var $=0;N=E.parent($);$++){if(N instanceof Dt||N instanceof Nn){var j=N.name;if(j&&j.definition()===R)break}}return N}function within_array_or_object_literal(E){var R,N=0;while(R=E.parent(N++)){if(R instanceof lt)return false;if(R instanceof An||R instanceof In||R instanceof Cn){return true}}return false}def_optimize(ir,(function(E,R){if(!R.option("ie8")&&is_undeclared_ref(E)&&!R.find_parent(wt)){switch(E.name){case"undefined":return make_node(_r,E).optimize(R);case"NaN":return make_node(br,E).optimize(R);case"Infinity":return make_node(kr,E).optimize(R)}}const N=R.parent();if(R.option("reduce_vars")&&is_lhs(E,N)!==E){const q=E.definition();const G=find_scope(R);if(R.top_retain&&q.global&&R.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(N instanceof un&&N.is_callee_pure(R)||has_annotation(N,Ir))&&!(N instanceof cn&&ie instanceof Dt&&ie.name);if(ae&&ie instanceof ot){ae=!ie.has_side_effects(R)&&!ie.may_throw(R)}if(ae&&(ie instanceof Dt||ie instanceof Nn)){if(retain_top_func(ie,R)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,Hr)||within_array_or_object_literal(R)||!R.option("reduce_funcs"))){ae=false}else if(recursive_ref(R,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Kn){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var $=E.scope;do{if($ instanceof Tt||is_func_expr($)){set_flag($,Hr)}}while($=$.parent_scope)}}}if(ae&&ie instanceof Dt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||N instanceof un&&N.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof $n){set_flag(ie,Vr);ie=make_node(jn,ie,ie)}if(ie instanceof Tt){set_flag(ie,Vr);ie=make_node(Mt,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Qn){const E=ie.name.definition();let R=ie.variables.get(ie.name.name);let N=R&&R.orig[0];if(!(N instanceof Yn)){N=make_node(Yn,ie.name,ie.name);N.scope=ie;ie.name=N;R=ie.def_function(N)}walk(ie,(N=>{if(N instanceof ir&&N.definition()===E){N.thedef=R;R.references.push(N)}}))}if((ie instanceof Dt||ie instanceof Nn)&&ie.parent_scope!==G){ie=ie.clone(true,R.get_toplevel());G.add_child_scope(ie)}return ie.optimize(R)}if(ie){let N;if(ie instanceof ur){if(!(q.orig[0]instanceof Kn)&&q.references.every((E=>q.scope===E.scope))){N=ie}}else{var j=ie.evaluate(R);if(j!==ie&&(R.option("unsafe_regexp")||!(j instanceof RegExp))){N=make_node_from_constant(j,ie)}}if(N){const $=E.size(R);const j=N.size(R);let G=0;if(R.option("unused")&&!R.exposed(q)){G=($+2+j)/(q.references.length-q.assignments)}if(j<=$+G){return N}}}}return E}));function scope_encloses_variables_in_this_scope(E,R){for(const N of R.enclosed){if(R.variables.has(N.name)){continue}const $=E.find_variable(N.name);if($){if($===N)continue;return true}}return false}function is_atomic(E,R){return E instanceof ir||E.TYPE===R.TYPE}def_optimize(_r,(function(E,R){if(R.option("unsafe_undefined")){var N=find_variable(R,"undefined");if(N){var $=make_node(ir,E,{name:"undefined",scope:N.scope,thedef:N});set_flag($,Gr);return $}}var j=is_lhs(R.self(),R.parent());if(j&&is_atomic(j,E))return E;return make_node(_n,E,{operator:"void",expression:make_node(hr,E,{value:0})})}));def_optimize(kr,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&is_atomic(N,E))return E;if(R.option("keep_infinity")&&!(N&&!is_atomic(N,E))&&!find_variable(R,"Infinity")){return E}return make_node(kn,E,{operator:"/",left:make_node(hr,E,{value:1}),right:make_node(hr,E,{value:0})})}));def_optimize(br,(function(E,R){var N=is_lhs(R.self(),R.parent());if(N&&!is_atomic(N,E)||find_variable(R,"NaN")){return make_node(kn,E,{operator:"/",left:make_node(hr,E,{value:0}),right:make_node(hr,E,{value:0})})}return E}));function is_reachable(E,R){const find_ref=E=>{if(E instanceof ir&&member(E.definition(),R)){return Ar}};return walk_parent(E,((R,N)=>{if(R instanceof St&&R!==E){var $=N.parent();if($ instanceof un&&$.expression===R)return;if(walk(R,find_ref))return Ar;return true}}))}const us=makePredicate("+ - / * % >> << >>> | ^ &");const ps=makePredicate("* | ^ &");def_optimize(wn,(function(E,R){if(E.logical){return E.lift_sequences(R)}var N;if(R.option("dead_code")&&E.left instanceof ir&&(N=E.left.definition()).scope===R.find_parent(Dt)){var $=0,j,q=E;do{j=q;q=R.parent($++);if(q instanceof Lt){if(in_try($,q))break;if(is_reachable(N.scope,[N]))break;if(E.operator=="=")return E.right;N.fixed=false;return make_node(kn,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(R)}}while(q instanceof kn&&q.right===j||q instanceof dn&&q.tail_node()===j)}E=E.lift_sequences(R);if(E.operator=="="&&E.left instanceof ir&&E.right instanceof kn){if(E.right.left instanceof ir&&E.right.left.name==E.left.name&&us.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof ir&&E.right.right.name==E.left.name&&ps.has(E.right.operator)&&!E.right.left.has_side_effects(R)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(N,$){var j=E.right;E.right=make_node(vr,j);var q=$.may_throw(R);E.right=j;var G=E.left.definition().scope;var ie;while((ie=R.parent(N++))!==G){if(ie instanceof Xt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(Sn,(function(E,R){if(!R.option("evaluate")){return E}var N=E.right.evaluate(R);if(N===undefined){E=E.left}else if(N!==E.right){N=make_node_from_constant(N,E.right);E.right=best_of_expression(N,E.right)}return E}));function is_nullish(E,R){let N;return E instanceof vr||is_undefined(E,R)||E instanceof ir&&(N=E.definition().fixed)instanceof ot&&is_nullish(N,R)||E instanceof hn&&E.optional&&is_nullish(E.expression,R)||E instanceof un&&E.optional&&is_nullish(E.expression,R)||E instanceof vn&&is_nullish(E.expression,R)}function is_nullish_check(E,R,N){if(R.may_throw(N))return false;let $;if(E instanceof kn&&E.operator==="=="&&(($=is_nullish(E.left,N)&&E.left)||($=is_nullish(E.right,N)&&E.right))&&($===E.left?E.right:E.left).equivalent_to(R)){return true}if(E instanceof kn&&E.operator==="||"){let $;let j;const find_comparison=E=>{if(!(E instanceof kn&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof vr){q++;$=E;G=E.right}if(E.right instanceof vr){q++;$=E;G=E.left}if(is_undefined(E.left,N)){q++;j=E;G=E.right}if(is_undefined(E.right,N)){q++;j=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(R)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if($&&j&&$!==j){return true}}return false}def_optimize(En,(function(E,R){if(!R.option("conditionals"))return E;if(E.condition instanceof dn){var N=E.condition.expressions.slice();E.condition=N.pop();N.push(E);return make_sequence(E,N)}var $=E.condition.evaluate(R);if($!==E.condition){if($){return maintain_this_binding(R.parent(),R.self(),E.consequent)}else{return maintain_this_binding(R.parent(),R.self(),E.alternative)}}var j=$.negate(R,first_in_statement(R));if(best_of(R,$,j)===j){E=make_node(En,E,{condition:j,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof ir&&G instanceof ir&&q.definition()===G.definition()){return make_node(kn,E,{operator:"||",left:q,right:ie})}if(G instanceof wn&&ie instanceof wn&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(R)||G.operator=="="&&!G.left.has_side_effects(R))){return make_node(wn,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(En,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof un&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(R)&&!G.expression.has_side_effects(R)&&typeof(ae=single_arg_diff())=="number"){var le=G.clone();le.args[ae]=make_node(En,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return le}if(ie instanceof En&&G.equivalent_to(ie.consequent)){return make_node(En,E,{condition:make_node(kn,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(R)}if(R.option("ecma")>=2020&&is_nullish_check(q,ie,R)){return make_node(kn,E,{operator:"??",left:ie,right:G}).optimize(R)}if(ie instanceof dn&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(kn,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(R)}if(ie instanceof kn&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(kn,E,{operator:"&&",left:make_node(kn,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(R)}if(G instanceof En&&G.alternative.equivalent_to(ie)){return make_node(En,E,{condition:make_node(kn,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(R)}if(G instanceof kn&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(kn,E,{operator:"||",left:make_node(kn,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(R)}var _e=R.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(kn,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(R))}return make_node(kn,E,{operator:"&&",left:booleanize(E.condition.negate(R)),right:E.alternative})}if(is_true(E.alternative)){return make_node(kn,E,{operator:"||",left:booleanize(E.condition.negate(R)),right:E.consequent})}if(is_false(E.alternative)){return make_node(kn,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(_n,E,{operator:"!",expression:E.negate(R)})}function is_true(E){return E instanceof Sr||_e&&E instanceof dr&&E.getValue()||E instanceof _n&&E.operator=="!"&&E.expression instanceof dr&&!E.expression.getValue()}function is_false(E){return E instanceof wr||_e&&E instanceof dr&&!E.getValue()||E instanceof _n&&E.operator=="!"&&E.expression instanceof dr&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var R=ie.args;for(var N=0,$=E.length;N<$;N++){if(E[N]instanceof Ct)return;if(!E[N].equivalent_to(R[N])){if(R[N]instanceof Ct)return;for(var j=N+1;j<$;j++){if(E[j]instanceof Ct)return;if(!E[j].equivalent_to(R[j]))return}return N}}}}));def_optimize(Er,(function(E,R){if(R.in_boolean_context())return make_node(hr,E,{value:+E.value});var N=R.parent();if(R.option("booleans_as_integers")){if(N instanceof kn&&(N.operator=="==="||N.operator=="!==")){N.operator=N.operator.replace(/=$/,"")}return make_node(hr,E,{value:+E.value})}if(R.option("booleans")){if(N instanceof kn&&(N.operator=="=="||N.operator=="!=")){return make_node(hr,E,{value:+E.value})}return make_node(_n,E,{operator:"!",expression:make_node(hr,E,{value:1-E.value})})}return E}));function safe_to_flatten(E,R){if(E instanceof ir){E=E.fixed_value()}if(!E)return false;if(!(E instanceof Dt||E instanceof Nn))return true;if(!(E instanceof Dt&&E.contains_this()))return true;return R.parent()instanceof pn}hn.DEFMETHOD("flatten_object",(function(E,R){if(!R.option("properties"))return;if(E==="__proto__")return;var N=R.option("unsafe_arrows")&&R.option("ecma")>=2015;var $=this.expression;if($ instanceof Cn){var j=$.properties;for(var q=j.length;--q>=0;){var G=j[q];if(""+(G instanceof Rn?G.key.name:G.key)==E){const E=j.every((E=>(E instanceof In||N&&E instanceof Rn&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,R))return;return make_node(yn,this,{expression:make_node(An,$,{elements:j.map((function(E){var R=E.value;if(R instanceof It){R=make_node(Mt,R,R)}var N=E.key;if(N instanceof ot&&!(N instanceof Jn)){return make_sequence(E,[N,R])}return R}))}),property:make_node(hr,this,{value:q})})}}}}));def_optimize(yn,(function(E,R){var N=E.expression;var $=E.property;if(R.option("properties")){var j=$.evaluate(R);if(j!==$){if(typeof j=="string"){if(j=="undefined"){j=undefined}else{var q=parseFloat(j);if(q.toString()==j){j=q}}}$=E.property=best_of_expression($,make_node_from_constant(j,$).transform(R));var G=""+j;if(is_basic_identifier_string(G)&&G.length<=$.size()+1){return make_node(mn,E,{expression:N,optional:E.optional,property:G,quote:$.quote}).optimize(R)}}}var ie;e:if(R.option("arguments")&&N instanceof ir&&N.name=="arguments"&&N.definition().orig.length==1&&(ie=N.scope)instanceof Dt&&ie.uses_arguments&&!(ie instanceof Pt)&&$ instanceof hr){var ae=$.getValue();var le=new Set;var _e=ie.argnames;for(var Ee=0;Ee<_e.length;Ee++){if(!(_e[Ee]instanceof Kn)){break e}var we=_e[Ee].name;if(le.has(we)){break e}le.add(we)}var Ie=ie.argnames[ae];if(Ie&&R.has_directive("use strict")){var Me=Ie.definition();if(!R.option("reduce_vars")||Me.assignments||Me.orig.length>1){Ie=null}}else if(!Ie&&!R.option("keep_fargs")&&ae=ie.argnames.length){Ie=ie.create_symbol(Kn,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Ie)}}if(Ie){var Te=make_node(ir,E,Ie);Te.reference({});clear_flag(Ie,zr);return Te}}if(is_lhs(E,R.parent()))return E;if(j!==$){var Ne=E.flatten_object(G,R);if(Ne){N=E.expression=Ne.expression;$=E.property=Ne.property}}if(R.option("properties")&&R.option("side_effects")&&$ instanceof hr&&N instanceof An){var ae=$.getValue();var Be=N.elements;var Le=Be[ae];e:if(safe_to_flatten(Le,R)){var je=true;var ze=[];for(var Ue=Be.length;--Ue>ae;){var q=Be[Ue].drop_side_effect_free(R);if(q){ze.unshift(q);if(je&&q.has_side_effects(R))je=false}}if(Le instanceof Ct)break e;Le=Le instanceof xr?make_node(_r,Le):Le;if(!je)ze.unshift(Le);while(--Ue>=0){var q=Be[Ue];if(q instanceof Ct)break e;q=q.drop_side_effect_free(R);if(q)ze.unshift(q);else ae--}if(je){ze.push(Le);return make_sequence(E,ze).optimize(R)}else return make_node(yn,E,{expression:make_node(An,N,{elements:ze}),property:make_node(hr,$,{value:ae})})}}var qe=E.evaluate(R);if(qe!==E){qe=make_node_from_constant(qe,E).optimize(R);return best_of(R,qe,E)}if(E.optional&&is_nullish(E.expression,R)){return make_node(_r,E)}return E}));def_optimize(vn,(function(E,R){E.expression=E.expression.optimize(R);return E}));Dt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof ur)return Ar;if(E!==this&&E instanceof St&&!(E instanceof Pt)){return true}}))}));def_optimize(mn,(function(E,R){const N=R.parent();if(is_lhs(E,N))return E;if(R.option("unsafe_proto")&&E.expression instanceof mn&&E.expression.property=="prototype"){var $=E.expression.expression;if(is_undeclared_ref($))switch($.name){case"Array":E.expression=make_node(An,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Mt,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(hr,E.expression,{value:0});break;case"Object":E.expression=make_node(Cn,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(gr,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(fr,E.expression,{value:""});break}}if(!(N instanceof un)||!has_annotation(N,Ir)){const N=E.flatten_object(E.property,R);if(N)return N.optimize(R)}let j=E.evaluate(R);if(j!==E){j=make_node_from_constant(j,E).optimize(R);return best_of(R,j,E)}if(E.optional&&is_nullish(E.expression,R)){return make_node(_r,E)}return E}));function literals_in_boolean_context(E,R){if(R.in_boolean_context()){return best_of(R,E,make_sequence(E,[E,make_node(Sr,E)]).optimize(R))}return E}function inline_array_like_spread(E){for(var R=0;RE instanceof xr))){E.splice(R,1,...$.elements);R--}}}}def_optimize(An,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,R){for(var N=0;NE instanceof In))){E.splice(N,1,...j.properties);N--}else if(j instanceof dr&&!(j instanceof fr)){E.splice(N,1)}else if(is_nullish(j,R)){E.splice(N,1)}}}}def_optimize(Cn,(function(E,R){var N=literals_in_boolean_context(E,R);if(N!==E){return N}inline_object_prop_spread(E.properties,R);return E}));def_optimize(gr,literals_in_boolean_context);def_optimize($t,(function(E,R){if(E.value&&is_undefined(E.value,R)){E.value=null}return E}));def_optimize(Pt,opt_AST_Lambda);def_optimize(Mt,(function(E,R){E=opt_AST_Lambda(E,R);if(R.option("unsafe_arrows")&&R.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const N=walk(E,(E=>{if(E instanceof ur)return Ar}));if(!N)return make_node(Pt,E,E).optimize(R)}return E}));def_optimize(Nn,(function(E){return E}));def_optimize(Ht,(function(E,R){if(E.expression&&!E.is_star&&is_undefined(E.expression,R)){E.expression=null}return E}));def_optimize(Ft,(function(E,R){if(!R.option("evaluate")||R.parent()instanceof Rt){return E}var N=[];for(var $=0;$=2015&&(!(N instanceof RegExp)||N.test(E.key+""))){var $=E.key;var j=E.value;var q=j instanceof Pt&&Array.isArray(j.body)&&!j.contains_this();if((q||j instanceof Mt)&&!j.name){return make_node(Rn,E,{async:j.async,is_generator:j.is_generator,key:$ instanceof ot?$:make_node(Jn,E,{name:$}),value:make_node(It,j,j),quote:E.quote})}}return E}));def_optimize(Ot,(function(E,R){if(R.option("pure_getters")==true&&R.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(R)&&!(E.names[E.names.length-1]instanceof Ct)){var N=[];for(var $=0;$1)throw new Error("inline source map only works with singular input");R.sourceMap.content=read_source_map(E[q])}}}j=R.parse.toplevel}if($&&R.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys(j,$)}if(R.wrap){j=j.wrap_commonjs(R.wrap)}if(R.enclose){j=j.wrap_enclose(R.enclose)}if(N)N.rename=Date.now();if(N)N.compress=Date.now();if(R.compress){j=new Compressor(R.compress,{mangle_options:R.mangle}).compress(j)}if(N)N.scope=Date.now();if(R.mangle)j.figure_out_scope(R.mangle);if(N)N.mangle=Date.now();if(R.mangle){$r.reset();j.compute_char_frequency(R.mangle);j.mangle_names(R.mangle)}if(N)N.properties=Date.now();if(R.mangle&&R.mangle.properties){j=mangle_properties(j,R.mangle.properties)}if(N)N.format=Date.now();var G={};if(R.format.ast){G.ast=j}if(R.format.spidermonkey){G.ast=j.to_mozilla_ast()}if(!HOP(R.format,"code")||R.format.code){if(R.sourceMap){R.format.source_map=await SourceMap({file:R.sourceMap.filename,orig:R.sourceMap.content,root:R.sourceMap.root});if(R.sourceMap.includeSources){if(E instanceof At){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){R.format.source_map.get().setSourceContent(q,E[q])}}}delete R.format.ast;delete R.format.code;delete R.format.spidermonkey;var ie=OutputStream(R.format);j.print(ie);G.code=ie.get();if(R.sourceMap){if(R.sourceMap.asObject){G.map=R.format.source_map.get().toJSON()}else{G.map=R.format.source_map.toString()}if(R.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+ms(ae)}else if(R.sourceMap.url){G.code+="\n//# sourceMappingURL="+R.sourceMap.url}}}if(R.nameCache&&R.mangle){if(R.mangle.cache)R.nameCache.vars=cache_to_json(R.mangle.cache);if(R.mangle.properties&&R.mangle.properties.cache){R.nameCache.props=cache_to_json(R.mangle.properties.cache)}}if(R.format&&R.format.source_map){R.format.source_map.destroy()}if(N){N.end=Date.now();G.timings={parse:.001*(N.rename-N.parse),rename:.001*(N.compress-N.rename),compress:.001*(N.scope-N.compress),scope:.001*(N.mangle-N.scope),mangle:.001*(N.properties-N.mangle),properties:.001*(N.format-N.properties),format:.001*(N.end-N.format),total:.001*(N.end-N.start)}}return G}async function run_cli({program:E,packageJson:R,fs:$,path:j}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(R.name+" "+R.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var R in ae){E.push("--"+(R==="sourceMap"?"source-map":R)+" options:");E.push(format_object(ae[R]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(R){if(R in E){ie[R]=E[R]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const R=E.ecma|0;if(R>5&&R<2015)ie.ecma=R+2009;else ie.ecma=R}if(E.format||E.beautify){const R=E.format||E.beautify;ie.format=typeof R==="object"?R:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var le in E.define){ie.compress.global_defs[le]=E.define[le]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var R=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return j.relative(R,E)}}()}let _e;if(ie.files&&ie.files.length){_e=ie.files;delete ie.files}else if(E.args.length){_e=E.args}if(_e){simple_glob(_e).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var R=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){R.push(E)})).on("end",(function(){G=[R.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return ot.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var R=E.sourceMap&&E.sourceMap.content;if(R&&R!=="inline"){ie.sourceMap.content=read_file(R,R)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(R,$){return N(20976).parse(G[$],{ecmaVersion:2018,locations:true,program:R,sourceFile:$,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,R){var N=JSON.parse(G[R]);if(!E)return N;E.body=E.body.concat(N.body);return E}))}}}catch(E){fatal(E)}let j;try{j=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var le=G[E.filename].split(/\r?\n/);var _e=le[E.line-1];if(!_e&&!ae){_e=le[E.line-2];ae=_e.length}if(_e){var Ee=70;if(ae>Ee){_e=_e.slice(ae-Ee);ae=Ee}print_error(_e.slice(0,80));print_error(_e.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){j.ast.figure_out_scope({})}console.log(JSON.stringify(j.ast,(function(E,R){if(R)switch(E){case"thedef":return symdef(R);case"enclosed":return R.length?R.map(symdef):undefined;case"variables":case"globals":return R.size?collect_from_map(R,symdef):undefined}if(q.has(E))return;if(R instanceof AST_Token)return;if(R instanceof Map)return;if(R instanceof ot){var N={_class:"AST_"+R.TYPE};if(R.block_scope){N.variables=R.block_scope.variables;N.enclosed=R.block_scope.enclosed}R.CTOR.PROPS.forEach((function(E){N[E]=R[E]}));return N}return R}),2))}else if(E.output=="spidermonkey"){try{const E=await minify(j.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){$.writeFileSync(E.output,j.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&j.map){$.writeFileSync(E.output+".map",j.map)}}else{console.log(j.code)}if(E.nameCache){$.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if(j.timings)for(var we in j.timings){print_error("- "+we+": "+j.timings[we].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var R=j.dirname(E);try{var N=$.readdirSync(R)}catch(E){}if(N){var q="^"+j.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=N.filter((function(E){return ie.test(E)})).map((function(E){return j.join(R,E)}));if(ae.length)return ae}}return[E]}function read_file(E,R){try{return $.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&R!=null)return R;fatal(E)}}function parse_js(E){return function(R,N){N=N||{};try{walk(parse(R,{expression:true}),(R=>{if(R instanceof wn){var $=R.left.print_to_string();var j=R.right;if(E){N[$]=j}else if(j instanceof An){N[$]=j.elements.map(to_string)}else if(j instanceof gr){j=j.value;N[$]=new RegExp(j.source,j.flags)}else{N[$]=to_string(j)}return true}if(R instanceof zn||R instanceof hn){var $=R.print_to_string();N[$]=true;return true}if(!(R instanceof dn))throw R;function to_string(E){return E instanceof dr?E.getValue():E.print_to_string({quote_keys:true})}}))}catch($){if(E){fatal("Error parsing arguments for '"+E+"': "+R)}else{N[R]=null}}return N}}function symdef(E){var R=1e6+E.id+" "+E.name;if(E.mangled_name)R+=" "+E.mangled_name;return R}function collect_from_map(E,R){var N=[];E.forEach((function(E){N.push(R(E))}));return N}function format_object(E){var R=[];var N="";Object.keys(E).map((function(R){if(N.length!/^\$/.test(E)));if(N.length>0){E.space();E.with_parens((function(){N.forEach((function(R,N){if(N)E.space();E.print(R)}))}))}if(R.documentation){E.space();E.print_string(R.documentation)}if(R.SUBCLASSES.length>0){E.space();E.with_block((function(){R.SUBCLASSES.forEach((function(R){E.indent();doitem(R);E.newline()}))}))}}doitem(ot);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((R=>{const N=infer_options({[R]:{0:0}});if(N)E[R]=N}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,R)=>{"use strict";R.parse=parse,R.init=void 0;const N=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,R="@"){if(!$)return j.then((()=>parse(E)));const q=E.length+1,G=($.__heap_base.value||$.__heap_base)+4*q-$.memory.buffer.byteLength;G>0&&$.memory.grow(Math.ceil(G/65536));const ie=$.sa(q-1);if((N?C:Q)(E,new Uint16Array($.memory.buffer,ie,q)),!$.parse())throw Object.assign(new Error(`Parse error ${R}:${E.slice(0,$.e()).split("\n").length}:${$.e()-E.lastIndexOf("\n",$.e()-1)}`),{idx:$.e()});const ae=[],le=[];for(;$.ri();){const R=$.is(),N=$.ie(),j=$.ai(),q=$.id(),G=$.ss(),ie=$.se();let le;$.ip()&&(le=J(E.slice(-1===q?R-1:R,-1===q?N+1:N))),ae.push({n:le,s:R,e:N,ss:G,se:ie,d:q,a:j})}for(;$.re();){const R=E.slice($.es(),$.ee()),N=R[0];le.push('"'===N||"'"===N?J(R):R)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,le,!!$.f()]}function Q(E,R){const N=E.length;let $=0;for(;$>>8}}function C(E,R){const N=E.length;let $=0;for(;$E.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{$=E}));var q;R.init=j},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},66151:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},74503:E=>{"use strict";E.exports=JSON.parse('{"assert":true,"assert/strict":">= 15","async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"diagnostics_channel":">= 15.1","dns":true,"dns/promises":">= 15","domain":">= 0.7.12","events":true,"freelist":"< 6","fs":true,"fs/promises":[">= 10 && < 10.1",">= 14"],"_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"path/posix":">= 15.3","path/win32":">= 15.3","perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"stream/promises":">= 15","string_decoder":true,"sys":[">= 0.6 && < 0.7",">= 0.8"],"timers":true,"timers/promises":">= 15","_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"util/types":">= 15.3","v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')},4147:E=>{"use strict";E.exports=JSON.parse('{"name":"@vercel/ncc","description":"Simple CLI for compiling a Node.js module into a single file, together with all its dependencies, gcc-style.","version":"0.33.1","repository":"vercel/ncc","license":"MIT","main":"./dist/ncc/index.js","bin":{"ncc":"./dist/ncc/cli.js"},"files":["dist"],"scripts":{"build":"node scripts/build.js","build-test-binary":"cd test/binary && node-gyp rebuild && cp build/Release/hello.node ../integration/hello.node","codecov":"codecov","test":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest","test-coverage":"node --expose-gc --max_old_space_size=3072 node_modules/.bin/jest --coverage --globals \\"{\\\\\\"coverage\\\\\\":true}\\" && codecov","prepublishOnly":"node scripts/build.js --no-cache"},"devDependencies":{"@azure/cosmos":"^3.12.3","@bugsnag/js":"^7.11.0","@ffmpeg-installer/ffmpeg":"^1.0.17","@google-cloud/bigquery":"^5.7.0","@google-cloud/firestore":"^4.14.0","@sentry/node":"^6.10.0","@slack/web-api":"^6.3.0","@tensorflow/tfjs-node":"^3.8.0","@vercel/webpack-asset-relocator-loader":"1.7.0","analytics-node":"^5.0.0","apollo-server-express":"^2.2.2","arg":"^5.0.0","auth0":"^2.14.0","aws-sdk":"^2.356.0","axios":"^0.21.1","azure-storage":"^2.10.2","browserify-middleware":"^8.1.1","bytes":"^3.0.0","canvas":"^2.2.0","chromeless":"^1.5.2","codecov":"^3.8.3","consolidate":"^0.16.0","copy":"^0.3.2","core-js":"^2.5.7","cowsay":"^1.3.1","esm":"^3.2.22","express":"^4.16.4","fetch-h2":"^3.0.0","firebase":"^6.1.1","firebase-admin":"^9.11.0","fluent-ffmpeg":"^2.1.2","fontkit":"^1.7.7","get-folder-size":"^2.0.0","glob":"^7.1.3","got":"^11.8.2","graceful-fs":"^4.1.15","graphql":"^15.5.1","highlights":"^3.1.1","hot-shots":"^8.5.0","ioredis":"^4.2.0","isomorphic-unfetch":"^3.0.0","jest":"^27.0.6","jimp":"^0.16.1","jugglingdb":"2.0.1","koa":"^2.6.2","leveldown":"^6.0.0","license-webpack-plugin":"2.3.20","lighthouse":"^8.1.0","loopback":"^3.24.0","mailgun":"^0.5.0","mariadb":"^2.0.1-beta","memcached":"^2.2.2","mkdirp":"^1.0.4","mongoose":"^5.3.12","mysql":"^2.16.0","node-gyp":"^8.1.0","npm":"^6.13.4","oracledb":"^4.2.0","passport":"^0.4.0","passport-google-oauth":"^2.0.0","path-platform":"^0.11.15","pdf2json":"^1.1.8","pdfkit":"^0.12.1","pg":"^8.7.1","pug":"^3.0.1","react":"^17.0.2","react-dom":"^17.0.2","redis":"^3.1.1","request":"^2.88.0","rxjs":"^7.3.0","saslprep":"^1.0.2","sequelize":"^6.6.5","sharp":"^0.28.3","shebang-loader":"^0.0.1","socket.io":"^4.1.3","source-map-support":"^0.5.9","stripe":"^8.167.0","swig":"^1.4.2","terser":"^5.6.1","the-answer":"^1.0.0","tiny-json-http":"^7.0.2","ts-loader":"^8.3.0","tsconfig-paths":"^3.7.0","tsconfig-paths-webpack-plugin":"^3.2.0","twilio":"^3.23.2","typescript":"^4.4.2","vm2":"^3.6.6","vue":"^2.5.17","vue-server-renderer":"^2.5.17","web-vitals":"^0.2.4","webpack":"5.62.1","when":"^3.7.8"},"resolutions":{"grpc":"1.24.6"}}')}};var __webpack_module_cache__={};function __webpack_require__(E){var R=__webpack_module_cache__[E];if(R!==undefined){return R.exports}var N=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var $=true;try{__webpack_modules__[E].call(N.exports,N,N.exports,__webpack_require__);$=false}finally{if($)delete __webpack_module_cache__[E]}N.loaded=true;return N.exports}(()=>{__webpack_require__.o=(E,R)=>Object.prototype.hasOwnProperty.call(E,R)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(77086);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js new file mode 100644 index 00000000..d6926e33 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/empty-loader.js @@ -0,0 +1,31 @@ +// returns the base-level package folder based on detecting "node_modules" +// package name boundaries +const pkgNameRegEx = /^(@[^\\\/]+[\\\/])?[^\\\/]+/; +function getPackageBase(id) { + const pkgIndex = id.lastIndexOf('node_modules'); + if (pkgIndex !== -1 && + (id[pkgIndex - 1] === '/' || id[pkgIndex - 1] === '\\') && + (id[pkgIndex + 12] === '/' || id[pkgIndex + 12] === '\\')) { + const pkgNameMatch = id.substr(pkgIndex + 13).match(pkgNameRegEx); + if (pkgNameMatch) + return id.substr(0, pkgIndex + 13 + pkgNameMatch[0].length); + } +} + +const emptyModules = { 'uglify-js': true, 'uglify-es': true }; + +module.exports = function (input, map) { + const id = this.resourcePath; + const pkgBase = getPackageBase(id); + if (pkgBase) { + const baseParts = pkgBase.split('/'); + if (baseParts[baseParts.length - 2] === 'node_modules') { + const pkgName = baseParts[baseParts.length - 1]; + if (pkgName in emptyModules) { + console.warn(`ncc: Ignoring build of ${pkgName}, as it is not statically analyzable. Build with "--external ${pkgName}" if this package is needed.`); + return ''; + } + } + } + this.callback(null, input, map); +}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js new file mode 100644 index 00000000..5b925fa3 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/notfound-loader.js @@ -0,0 +1,7 @@ +module.exports = function (input, map) { + if (this.cacheable) + this.cacheable(); + const id = this.resourceQuery.substr(1); + input = input.replace('\'UNKNOWN\'', JSON.stringify(id)); + this.callback(null, input, map); +}; diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md b/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md new file mode 100644 index 00000000..98cad61a --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/readme.md @@ -0,0 +1,11 @@ +# About this directory + +This directory will contain: + +- `relocate-loader.js` the ncc loader for handling CommonJS asset and reference relocations +- `shebang-loader.js` the ncc loader to ensure proper hash bang support in Node.js CLI files +- `ts-loader.js` the ncc loader for handling TypeScript + +These are generated by the `build` step defined in `../../../package.json`. + +These files are published to npm. diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js new file mode 100644 index 00000000..e6e9f73d --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js @@ -0,0 +1,8 @@ +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/relocate-loader.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache new file mode 100644 index 00000000..7e6d7b39 Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js new file mode 100644 index 00000000..59c4046b --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/relocate-loader.js.cache.js @@ -0,0 +1,12 @@ +(()=>{var __webpack_modules__={901:(module,__unused_webpack_exports,__webpack_require__)=>{module.exports=(()=>{var __webpack_modules__={4259:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=e.acorn||r(390);const a=t.tokTypes;e=s(e);return class extends e{_maybeParseFieldValue(e){if(this.eat(a.eq)){const t=this._inFieldValue;this._inFieldValue=true;if(this.type===a.name&&this.value==="await"&&(this.inAsync||this.options.allowAwaitOutsideFunction)){e.value=this.parseAwait()}else e.value=this.parseExpression();this._inFieldValue=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion>=8&&(this.type==a.name||this.type.keyword||this.type==this.privateIdentifierToken||this.type==a.bracketL||this.type==a.string||this.type==a.num)){const e=this._branch();if(e.type==a.bracketL){let t=0;do{if(e.eat(a.bracketL))++t;else if(e.eat(a.bracketR))--t;else e.next()}while(t>0)}else e.next(true);let t=e.type==a.eq||e.type==a.semi;if(!t&&e.canInsertSemicolon()){t=e.type!=a.parenL}if(t){const e=this.startNode();if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{this.parsePropertyName(e)}if(e.key.type==="Identifier"&&e.key.name==="constructor"||e.key.type==="Literal"&&e.key.value==="constructor"){this.raise(e.key.start,"Classes may not have a field called constructor")}this.enterScope(64|2|1);this._maybeParseFieldValue(e);this.exitScope();this.finishNode(e,"PropertyDefinition");this.semicolon();return e}}return super.parseClassElement.apply(this,arguments)}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inFieldValue&&r.name=="arguments")this.raise(r.start,"A class field initializer may not contain arguments");return r}}}},9406:(e,t,r)=>{"use strict";const s=Object.getPrototypeOf||(e=>e.__proto__);const getAcorn=e=>{if(e.acorn)return e.acorn;const t=r(390);if(t.version.indexOf("6.")!=0&&t.version.indexOf("6.0.")==0&&t.version.indexOf("7.")!=0){throw new Error(`acorn-private-class-elements requires acorn@^6.1.0 or acorn@7.0.0, not ${t.version}`)}for(let r=e;r&&r!==t.Parser;r=s(r)){if(r!==t.Parser){throw new Error("acorn-private-class-elements does not support mixing different acorn copies")}}return t};e.exports=function(e){if(e.prototype.parsePrivateName){return e}const t=getAcorn(e);e=class extends e{_branch(){this.__branch=this.__branch||new e({ecmaVersion:this.options.ecmaVersion},this.input);this.__branch.end=this.end;this.__branch.pos=this.pos;this.__branch.type=this.type;this.__branch.value=this.value;this.__branch.containsEsc=this.containsEsc;return this.__branch}parsePrivateClassElementName(e){e.computed=false;e.key=this.parsePrivateName();if(e.key.name=="constructor")this.raise(e.key.start,"Classes may not have a private element named constructor");const t={get:"set",set:"get"}[e.kind];const r=this._privateBoundNames;if(Object.prototype.hasOwnProperty.call(r,e.key.name)&&r[e.key.name]!==t){this.raise(e.start,"Duplicate private element")}r[e.key.name]=e.kind||true;delete this._unresolvedPrivateNames[e.key.name];return e.key}parsePrivateName(){const e=this.startNode();e.name=this.value;this.next();this.finishNode(e,"PrivateIdentifier");if(this.options.allowReserved=="never")this.checkUnreserved(e);return e}getTokenFromCode(e){if(e===35){++this.pos;const e=this.readWord1();return this.finishToken(this.privateIdentifierToken,e)}return super.getTokenFromCode(e)}parseClass(e,t){const r=this._outerPrivateBoundNames;this._outerPrivateBoundNames=this._privateBoundNames;this._privateBoundNames=Object.create(this._privateBoundNames||null);const s=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=this._unresolvedPrivateNames;this._unresolvedPrivateNames=Object.create(null);const a=super.parseClass(e,t);const o=this._unresolvedPrivateNames;this._privateBoundNames=this._outerPrivateBoundNames;this._outerPrivateBoundNames=r;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;this._outerUnresolvedPrivateNames=s;if(!this._unresolvedPrivateNames){const e=Object.keys(o);if(e.length){e.sort(((e,t)=>o[e]-o[t]));this.raise(o[e[0]],"Usage of undeclared private name")}}else Object.assign(this._unresolvedPrivateNames,o);return a}parseClassSuper(e){const t=this._privateBoundNames;this._privateBoundNames=this._outerPrivateBoundNames;const r=this._unresolvedPrivateNames;this._unresolvedPrivateNames=this._outerUnresolvedPrivateNames;const s=super.parseClassSuper(e);this._privateBoundNames=t;this._unresolvedPrivateNames=r;return s}parseSubscript(e,r,s,a,o,u){const c=this.options.ecmaVersion>=11&&t.tokTypes.questionDot;const h=this._branch();if(!((h.eat(t.tokTypes.dot)||c&&h.eat(t.tokTypes.questionDot))&&h.type==this.privateIdentifierToken)){return super.parseSubscript.apply(this,arguments)}let p=false;if(!this.eat(t.tokTypes.dot)){this.expect(t.tokTypes.questionDot);p=true}let d=this.startNodeAt(r,s);d.object=e;d.computed=false;if(c){d.optional=p}if(this.type==this.privateIdentifierToken){if(e.type=="Super"){this.raise(this.start,"Cannot access private element on super")}d.property=this.parsePrivateName();if(!this._privateBoundNames||!this._privateBoundNames[d.property.name]){if(!this._unresolvedPrivateNames){this.raise(d.property.start,"Usage of undeclared private name")}this._unresolvedPrivateNames[d.property.name]=d.property.start}}else{d.property=this.parseIdent(true)}return this.finishNode(d,"MemberExpression")}parseMaybeUnary(e,t){const r=super.parseMaybeUnary(e,t);if(r.operator=="delete"){if(r.argument.type=="MemberExpression"&&r.argument.property.type=="PrivateIdentifier"){this.raise(r.start,"Private elements may not be deleted")}}return r}};e.prototype.privateIdentifierToken=new t.TokenType("privateIdentifier");return e}},104:(e,t,r)=>{"use strict";const s=r(9406);e.exports=function(e){const t=s(e);const a=e.acorn||r(390);const o=a.tokTypes;return class extends t{_maybeParseFieldValue(e){if(this.eat(o.eq)){const t=this._inStaticFieldScope;this._inStaticFieldScope=this.currentThisScope();e.value=this.parseExpression();this._inStaticFieldScope=t}else e.value=null}parseClassElement(e){if(this.options.ecmaVersion<8||!this.isContextual("static")){return super.parseClassElement.apply(this,arguments)}const t=this._branch();t.next();if([o.name,o.bracketL,o.string,o.num,this.privateIdentifierToken].indexOf(t.type)==-1&&!t.type.keyword){return super.parseClassElement.apply(this,arguments)}if(t.type==o.bracketL){let e=0;do{if(t.eat(o.bracketL))++e;else if(t.eat(o.bracketR))--e;else t.next()}while(e>0)}else t.next();if(t.type!=o.eq&&!t.canInsertSemicolon()&&t.type!=o.semi){return super.parseClassElement.apply(this,arguments)}const r=this.startNode();r.static=this.eatContextual("static");if(this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(r)}else{this.parsePropertyName(r)}if(r.key.type==="Identifier"&&r.key.name==="constructor"||r.key.type==="Literal"&&!r.computed&&r.key.value==="constructor"){this.raise(r.key.start,"Classes may not have a field called constructor")}if((r.key.name||r.key.value)==="prototype"&&!r.computed){this.raise(r.key.start,"Classes may not have a static property named prototype")}this.enterScope(64|2|1);this._maybeParseFieldValue(r);this.exitScope();this.finishNode(r,"PropertyDefinition");this.semicolon();return r}parsePropertyName(e){if(e.static&&this.type==this.privateIdentifierToken){this.parsePrivateClassElementName(e)}else{super.parsePropertyName(e)}}parseIdent(e,t){const r=super.parseIdent(e,t);if(this._inStaticFieldScope&&this.currentThisScope()===this._inStaticFieldScope&&r.name=="arguments"){this.raise(r.start,"A static class field initializer may not contain arguments")}return r}}}},390:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var r="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var s={5:r,"5module":r+" export import",6:r+" const class extends export import super"};var a=/^in(stanceof)?$/;var o="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var u="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var c=new RegExp("["+o+"]");var h=new RegExp("["+o+u+"]");o=u=null;var p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var d=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(e,t){var r=65536;for(var s=0;se){return false}r+=t[s+1];if(r>=e){return true}}}function isIdentifierStart(e,t){if(e<65){return e===36}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&c.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)}function isIdentifierChar(e,t){if(e<48){return e===36}if(e<58){return true}if(e<65){return false}if(e<91){return true}if(e<97){return e===95}if(e<123){return true}if(e<=65535){return e>=170&&h.test(String.fromCharCode(e))}if(t===false){return false}return isInAstralSet(e,p)||isInAstralSet(e,d)}var v=function TokenType(e,t){if(t===void 0)t={};this.label=e;this.keyword=t.keyword;this.beforeExpr=!!t.beforeExpr;this.startsExpr=!!t.startsExpr;this.isLoop=!!t.isLoop;this.isAssign=!!t.isAssign;this.prefix=!!t.prefix;this.postfix=!!t.postfix;this.binop=t.binop||null;this.updateContext=null};function binop(e,t){return new v(e,{beforeExpr:true,binop:t})}var m={beforeExpr:true},g={startsExpr:true};var y={};function kw(e,t){if(t===void 0)t={};t.keyword=e;return y[e]=new v(e,t)}var _={num:new v("num",g),regexp:new v("regexp",g),string:new v("string",g),name:new v("name",g),privateId:new v("privateId",g),eof:new v("eof"),bracketL:new v("[",{beforeExpr:true,startsExpr:true}),bracketR:new v("]"),braceL:new v("{",{beforeExpr:true,startsExpr:true}),braceR:new v("}"),parenL:new v("(",{beforeExpr:true,startsExpr:true}),parenR:new v(")"),comma:new v(",",m),semi:new v(";",m),colon:new v(":",m),dot:new v("."),question:new v("?",m),questionDot:new v("?."),arrow:new v("=>",m),template:new v("template"),invalidTemplate:new v("invalidTemplate"),ellipsis:new v("...",m),backQuote:new v("`",g),dollarBraceL:new v("${",{beforeExpr:true,startsExpr:true}),eq:new v("=",{beforeExpr:true,isAssign:true}),assign:new v("_=",{beforeExpr:true,isAssign:true}),incDec:new v("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new v("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new v("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new v("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",m),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",m),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",m),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",g),_if:kw("if"),_return:kw("return",m),_switch:kw("switch"),_throw:kw("throw",m),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",g),_super:kw("super",g),_class:kw("class",g),_extends:kw("extends",m),_export:kw("export"),_import:kw("import",g),_null:kw("null",g),_true:kw("true",g),_false:kw("false",g),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var E=/\r\n?|\n|\u2028|\u2029/;var x=new RegExp(E.source,"g");function isNewLine(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var w=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var D=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var C=Object.prototype;var A=C.hasOwnProperty;var S=C.toString;function has(e,t){return A.call(e,t)}var k=Array.isArray||function(e){return S.call(e)==="[object Array]"};function wordsRegexp(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=function Position(e,t){this.line=e;this.column=t};F.prototype.offset=function offset(e){return new F(this.line,this.column+e)};var R=function SourceLocation(e,t,r){this.start=t;this.end=r;if(e.sourceFile!==null){this.source=e.sourceFile}};function getLineInfo(e,t){for(var r=1,s=0;;){x.lastIndex=s;var a=x.exec(e);if(a&&a.index=2015){t.ecmaVersion-=2009}if(t.allowReserved==null){t.allowReserved=t.ecmaVersion<5}if(t.allowAwaitOutsideFunction==null){t.allowAwaitOutsideFunction=t.ecmaVersion>=13}if(k(t.onToken)){var s=t.onToken;t.onToken=function(e){return s.push(e)}}if(k(t.onComment)){t.onComment=pushComment(t,t.onComment)}return t}function pushComment(e,t){return function(r,s,a,o,u,c){var h={type:r?"Block":"Line",value:s,start:a,end:o};if(e.locations){h.loc=new R(this,u,c)}if(e.ranges){h.range=[a,o]}t.push(h)}}var B=1,N=2,O=B|N,P=4,L=8,j=16,M=32,V=64,q=128;function functionFlags(e,t){return N|(e?P:0)|(t?L:0)}var U=0,$=1,H=2,G=3,W=4,z=5;var K=function Parser(e,r,a){this.options=e=getOptions(e);this.sourceFile=e.sourceFile;this.keywords=wordsRegexp(s[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var o="";if(e.allowReserved!==true){o=t[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3];if(e.sourceType==="module"){o+=" await"}}this.reservedWords=wordsRegexp(o);var u=(o?o+" ":"")+t.strict;this.reservedWordsStrict=wordsRegexp(u);this.reservedWordsStrictBind=wordsRegexp(u+" "+t.strictBind);this.input=String(r);this.containsEsc=false;if(a){this.pos=a;this.lineStart=this.input.lastIndexOf("\n",a-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(E).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=_.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=e.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(B);this.regexpState=null;this.privateNameStack=[]};var Q={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};K.prototype.parse=function parse(){var e=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(e)};Q.inFunction.get=function(){return(this.currentVarScope().flags&N)>0};Q.inGenerator.get=function(){return(this.currentVarScope().flags&L)>0&&!this.currentVarScope().inClassFieldInit};Q.inAsync.get=function(){return(this.currentVarScope().flags&P)>0&&!this.currentVarScope().inClassFieldInit};Q.allowSuper.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&V)>0||r};Q.allowDirectSuper.get=function(){return(this.currentThisScope().flags&q)>0};Q.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Q.inNonArrowFunction.get=function(){var e=this.currentThisScope();var t=e.flags;var r=e.inClassFieldInit;return(t&N)>0||r};K.extend=function extend(){var e=[],t=arguments.length;while(t--)e[t]=arguments[t];var r=this;for(var s=0;s=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length;D.lastIndex=e;e+=D.exec(this.input)[0].length;if(this.input[e]===";"){e++}}};X.eat=function(e){if(this.type===e){this.next();return true}else{return false}};X.isContextual=function(e){return this.type===_.name&&this.value===e&&!this.containsEsc};X.eatContextual=function(e){if(!this.isContextual(e)){return false}this.next();return true};X.expectContextual=function(e){if(!this.eatContextual(e)){this.unexpected()}};X.canInsertSemicolon=function(){return this.type===_.eof||this.type===_.braceR||E.test(this.input.slice(this.lastTokEnd,this.start))};X.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};X.semicolon=function(){if(!this.eat(_.semi)&&!this.insertSemicolon()){this.unexpected()}};X.afterTrailingComma=function(e,t){if(this.type===e){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!t){this.next()}return true}};X.expect=function(e){this.eat(e)||this.unexpected()};X.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}X.checkPatternErrors=function(e,t){if(!e){return}if(e.trailingComma>-1){this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element")}var r=t?e.parenthesizedAssign:e.parenthesizedBind;if(r>-1){this.raiseRecoverable(r,"Parenthesized pattern")}};X.checkExpressionErrors=function(e,t){if(!e){return false}var r=e.shorthandAssign;var s=e.doubleProto;if(!t){return r>=0||s>=0}if(r>=0){this.raise(r,"Shorthand property assignments are valid only in destructuring patterns")}if(s>=0){this.raiseRecoverable(s,"Redefinition of __proto__ property")}};X.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&s<56320){return true}if(e){return false}if(s===123){return true}if(isIdentifierStart(s,true)){var o=r+1;while(isIdentifierChar(s=this.input.charCodeAt(o),true)){++o}if(s===92||s>55295&&s<56320){return true}var u=this.input.slice(r,o);if(!a.test(u)){return true}}return false};Z.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}D.lastIndex=this.pos;var e=D.exec(this.input);var t=this.pos+e[0].length,r;return!E.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(isIdentifierChar(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};Z.parseStatement=function(e,t,r){var s=this.type,a=this.startNode(),o;if(this.isLet(e)){s=_._var;o="let"}switch(s){case _._break:case _._continue:return this.parseBreakContinueStatement(a,s.keyword);case _._debugger:return this.parseDebuggerStatement(a);case _._do:return this.parseDoStatement(a);case _._for:return this.parseForStatement(a);case _._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement(a,false,!e);case _._class:if(e){this.unexpected()}return this.parseClass(a,true);case _._if:return this.parseIfStatement(a);case _._return:return this.parseReturnStatement(a);case _._switch:return this.parseSwitchStatement(a);case _._throw:return this.parseThrowStatement(a);case _._try:return this.parseTryStatement(a);case _._const:case _._var:o=o||this.value;if(e&&o!=="var"){this.unexpected()}return this.parseVarStatement(a,o);case _._while:return this.parseWhileStatement(a);case _._with:return this.parseWithStatement(a);case _.braceL:return this.parseBlock(true,a);case _.semi:return this.parseEmptyStatement(a);case _._export:case _._import:if(this.options.ecmaVersion>10&&s===_._import){D.lastIndex=this.pos;var u=D.exec(this.input);var c=this.pos+u[0].length,h=this.input.charCodeAt(c);if(h===40||h===46){return this.parseExpressionStatement(a,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!t){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return s===_._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction()){if(e){this.unexpected()}this.next();return this.parseFunctionStatement(a,true,!e)}var p=this.value,d=this.parseExpression();if(s===_.name&&d.type==="Identifier"&&this.eat(_.colon)){return this.parseLabeledStatement(a,p,d,e)}else{return this.parseExpressionStatement(a,d)}}};Z.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.label=null}else if(this.type!==_.name){this.unexpected()}else{e.label=this.parseIdent();this.semicolon()}var s=0;for(;s=6){this.eat(_.semi)}else{this.semicolon()}return this.finishNode(e,"DoWhileStatement")};Z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(Y);this.enterScope(0);this.expect(_.parenL);if(this.type===_.semi){if(t>-1){this.unexpected(t)}return this.parseFor(e,null)}var r=this.isLet();if(this.type===_._var||this.type===_._const||r){var s=this.startNode(),a=r?"let":this.value;this.next();this.parseVar(s,true,a);this.finishNode(s,"VariableDeclaration");if((this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}return this.parseForIn(e,s)}if(t>-1){this.unexpected(t)}return this.parseFor(e,s)}var o=new DestructuringErrors;var u=this.parseExpression(t>-1?"await":true,o);if(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===_._in){if(t>-1){this.unexpected(t)}}else{e.await=t>-1}}this.toAssignable(u,false,o);this.checkLValPattern(u);return this.parseForIn(e,u)}else{this.checkExpressionErrors(o,true)}if(t>-1){this.unexpected(t)}return this.parseFor(e,u)};Z.parseFunctionStatement=function(e,t,r){this.next();return this.parseFunction(e,re|(r?0:ie),false,t)};Z.parseIfStatement=function(e){this.next();e.test=this.parseParenExpression();e.consequent=this.parseStatement("if");e.alternate=this.eat(_._else)?this.parseStatement("if"):null;return this.finishNode(e,"IfStatement")};Z.parseReturnStatement=function(e){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(_.semi)||this.insertSemicolon()){e.argument=null}else{e.argument=this.parseExpression();this.semicolon()}return this.finishNode(e,"ReturnStatement")};Z.parseSwitchStatement=function(e){this.next();e.discriminant=this.parseParenExpression();e.cases=[];this.expect(_.braceL);this.labels.push(ee);this.enterScope(0);var t;for(var r=false;this.type!==_.braceR;){if(this.type===_._case||this.type===_._default){var s=this.type===_._case;if(t){this.finishNode(t,"SwitchCase")}e.cases.push(t=this.startNode());t.consequent=[];this.next();if(s){t.test=this.parseExpression()}else{if(r){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}r=true;t.test=null}this.expect(_.colon)}else{if(!t){this.unexpected()}t.consequent.push(this.parseStatement(null))}}this.exitScope();if(t){this.finishNode(t,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(e,"SwitchStatement")};Z.parseThrowStatement=function(e){this.next();if(E.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}e.argument=this.parseExpression();this.semicolon();return this.finishNode(e,"ThrowStatement")};var te=[];Z.parseTryStatement=function(e){this.next();e.block=this.parseBlock();e.handler=null;if(this.type===_._catch){var t=this.startNode();this.next();if(this.eat(_.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?M:0);this.checkLValPattern(t.param,r?W:H);this.expect(_.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}t.param=null;this.enterScope(0)}t.body=this.parseBlock(false);this.exitScope();e.handler=this.finishNode(t,"CatchClause")}e.finalizer=this.eat(_._finally)?this.parseBlock():null;if(!e.handler&&!e.finalizer){this.raise(e.start,"Missing catch or finally clause")}return this.finishNode(e,"TryStatement")};Z.parseVarStatement=function(e,t){this.next();this.parseVar(e,false,t);this.semicolon();return this.finishNode(e,"VariableDeclaration")};Z.parseWhileStatement=function(e){this.next();e.test=this.parseParenExpression();this.labels.push(Y);e.body=this.parseStatement("while");this.labels.pop();return this.finishNode(e,"WhileStatement")};Z.parseWithStatement=function(e){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();e.object=this.parseParenExpression();e.body=this.parseStatement("with");return this.finishNode(e,"WithStatement")};Z.parseEmptyStatement=function(e){this.next();return this.finishNode(e,"EmptyStatement")};Z.parseLabeledStatement=function(e,t,r,s){for(var a=0,o=this.labels;a=0;h--){var p=this.labels[h];if(p.statementStart===e.start){p.statementStart=this.start;p.kind=c}else{break}}this.labels.push({name:t,kind:c,statementStart:this.start});e.body=this.parseStatement(s?s.indexOf("label")===-1?s+"label":s:"label");this.labels.pop();e.label=r;return this.finishNode(e,"LabeledStatement")};Z.parseExpressionStatement=function(e,t){e.expression=t;this.semicolon();return this.finishNode(e,"ExpressionStatement")};Z.parseBlock=function(e,t,r){if(e===void 0)e=true;if(t===void 0)t=this.startNode();t.body=[];this.expect(_.braceL);if(e){this.enterScope(0)}while(this.type!==_.braceR){var s=this.parseStatement(null);t.body.push(s)}if(r){this.strict=false}this.next();if(e){this.exitScope()}return this.finishNode(t,"BlockStatement")};Z.parseFor=function(e,t){e.init=t;this.expect(_.semi);e.test=this.type===_.semi?null:this.parseExpression();this.expect(_.semi);e.update=this.type===_.parenR?null:this.parseExpression();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,"ForStatement")};Z.parseForIn=function(e,t){var r=this.type===_._in;this.next();if(t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")){this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer")}e.left=t;e.right=r?this.parseExpression():this.parseMaybeAssign();this.expect(_.parenR);e.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(e,r?"ForInStatement":"ForOfStatement")};Z.parseVar=function(e,t,r){e.declarations=[];e.kind=r;for(;;){var s=this.startNode();this.parseVarId(s,r);if(this.eat(_.eq)){s.init=this.parseMaybeAssign(t)}else if(r==="const"&&!(this.type===_._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(s.id.type!=="Identifier"&&!(t&&(this.type===_._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{s.init=null}e.declarations.push(this.finishNode(s,"VariableDeclarator"));if(!this.eat(_.comma)){break}}return e};Z.parseVarId=function(e,t){e.id=this.parseBindingAtom();this.checkLValPattern(e.id,t==="var"?$:H,false)};var re=1,ie=2,ne=4;Z.parseFunction=function(e,t,r,s){this.initFunction(e);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!s){if(this.type===_.star&&t&ie){this.unexpected()}e.generator=this.eat(_.star)}if(this.options.ecmaVersion>=8){e.async=!!s}if(t&re){e.id=t&ne&&this.type!==_.name?null:this.parseIdent();if(e.id&&!(t&ie)){this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?$:H:G)}}var a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(e.async,e.generator));if(!(t&re)){e.id=this.type===_.name?this.parseIdent():null}this.parseFunctionParams(e);this.parseFunctionBody(e,r,false);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(e,t&re?"FunctionDeclaration":"FunctionExpression")};Z.parseFunctionParams=function(e){this.expect(_.parenL);e.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};Z.parseClass=function(e,t){this.next();var r=this.strict;this.strict=true;this.parseClassId(e,t);this.parseClassSuper(e);var s=this.enterClassBody();var a=this.startNode();var o=false;a.body=[];this.expect(_.braceL);while(this.type!==_.braceR){var u=this.parseClassElement(e.superClass!==null);if(u){a.body.push(u);if(u.type==="MethodDefinition"&&u.kind==="constructor"){if(o){this.raise(u.start,"Duplicate constructor in the same class")}o=true}else if(u.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(s,u)){this.raiseRecoverable(u.key.start,"Identifier '#"+u.key.name+"' has already been declared")}}}this.strict=r;this.next();e.body=this.finishNode(a,"ClassBody");this.exitClassBody();return this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};Z.parseClassElement=function(e){if(this.eat(_.semi)){return null}var t=this.options.ecmaVersion;var r=this.startNode();var s="";var a=false;var o=false;var u="method";r.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===_.star){r.static=true}else{s="static"}}if(!s&&t>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===_.star)&&!this.canInsertSemicolon()){o=true}else{s="async"}}if(!s&&(t>=9||!o)&&this.eat(_.star)){a=true}if(!s&&!o&&!a){var c=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){u=c}else{s=c}}}if(s){r.computed=false;r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);r.key.name=s;this.finishNode(r.key,"Identifier")}else{this.parseClassElementName(r)}if(t<13||this.type===_.parenL||u!=="method"||a||o){var h=!r.static&&checkKeyName(r,"constructor");var p=h&&e;if(h&&u!=="method"){this.raise(r.key.start,"Constructor can't have get/set modifier")}r.kind=h?"constructor":u;this.parseClassMethod(r,a,o,p)}else{this.parseClassField(r)}return r};Z.isClassElementNameStart=function(){return this.type===_.name||this.type===_.privateId||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword};Z.parseClassElementName=function(e){if(this.type===_.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}e.computed=false;e.key=this.parsePrivateIdent()}else{this.parsePropertyName(e)}};Z.parseClassMethod=function(e,t,r,s){var a=e.key;if(e.kind==="constructor"){if(t){this.raise(a.start,"Constructor can't be a generator")}if(r){this.raise(a.start,"Constructor can't be an async method")}}else if(e.static&&checkKeyName(e,"prototype")){this.raise(a.start,"Classes may not have a static property named prototype")}var o=e.value=this.parseMethod(t,r,s);if(e.kind==="get"&&o.params.length!==0){this.raiseRecoverable(o.start,"getter should have no params")}if(e.kind==="set"&&o.params.length!==1){this.raiseRecoverable(o.start,"setter should have exactly one param")}if(e.kind==="set"&&o.params[0].type==="RestElement"){this.raiseRecoverable(o.params[0].start,"Setter cannot use rest params")}return this.finishNode(e,"MethodDefinition")};Z.parseClassField=function(e){if(checkKeyName(e,"constructor")){this.raise(e.key.start,"Classes can't have a field named 'constructor'")}else if(e.static&&checkKeyName(e,"prototype")){this.raise(e.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(_.eq)){var t=this.currentThisScope();var r=t.inClassFieldInit;t.inClassFieldInit=true;e.value=this.parseMaybeAssign();t.inClassFieldInit=r}else{e.value=null}this.semicolon();return this.finishNode(e,"PropertyDefinition")};Z.parseClassId=function(e,t){if(this.type===_.name){e.id=this.parseIdent();if(t){this.checkLValSimple(e.id,H,false)}}else{if(t===true){this.unexpected()}e.id=null}};Z.parseClassSuper=function(e){e.superClass=this.eat(_._extends)?this.parseExprSubscripts():null};Z.enterClassBody=function(){var e={declared:Object.create(null),used:[]};this.privateNameStack.push(e);return e.declared};Z.exitClassBody=function(){var e=this.privateNameStack.pop();var t=e.declared;var r=e.used;var s=this.privateNameStack.length;var a=s===0?null:this.privateNameStack[s-1];for(var o=0;o=11){if(this.eatContextual("as")){e.exported=this.parseIdent(true);this.checkExport(t,e.exported.name,this.lastTokStart)}else{e.exported=null}}this.expectContextual("from");if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom();this.semicolon();return this.finishNode(e,"ExportAllDeclaration")}if(this.eat(_._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===_._function||(r=this.isAsyncFunction())){var s=this.startNode();this.next();if(r){this.next()}e.declaration=this.parseFunction(s,re|ne,false,r)}else if(this.type===_._class){var a=this.startNode();e.declaration=this.parseClass(a,"nullableID")}else{e.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){e.declaration=this.parseStatement(null);if(e.declaration.type==="VariableDeclaration"){this.checkVariableExport(t,e.declaration.declarations)}else{this.checkExport(t,e.declaration.id.name,e.declaration.id.start)}e.specifiers=[];e.source=null}else{e.declaration=null;e.specifiers=this.parseExportSpecifiers(t);if(this.eatContextual("from")){if(this.type!==_.string){this.unexpected()}e.source=this.parseExprAtom()}else{for(var o=0,u=e.specifiers;o=6&&e){switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await"){this.raise(e.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";if(r){this.checkPatternErrors(r,true)}for(var s=0,a=e.properties;s=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(_._function)){return this.parseFunction(this.startNodeAt(s,a),0,false,true)}if(r&&!this.canInsertSemicolon()){if(this.eat(_.arrow)){return this.parseArrowExpression(this.startNodeAt(s,a),[u],false)}if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===_.name&&!o&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){u=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(_.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(s,a),[u],true)}}return u;case _.regexp:var c=this.value;t=this.parseLiteral(c.value);t.regex={pattern:c.pattern,flags:c.flags};return t;case _.num:case _.string:return this.parseLiteral(this.value);case _._null:case _._true:case _._false:t=this.startNode();t.value=this.type===_._null?null:this.type===_._true;t.raw=this.type.keyword;this.next();return this.finishNode(t,"Literal");case _.parenL:var h=this.start,p=this.parseParenAndDistinguishExpression(r);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)){e.parenthesizedAssign=h}if(e.parenthesizedBind<0){e.parenthesizedBind=h}}return p;case _.bracketL:t=this.startNode();this.next();t.elements=this.parseExprList(_.bracketR,true,true,e);return this.finishNode(t,"ArrayExpression");case _.braceL:return this.parseObj(false,e);case _._function:t=this.startNode();this.next();return this.parseFunction(t,0);case _._class:return this.parseClass(this.startNode(),false);case _._new:return this.parseNew();case _.backQuote:return this.parseTemplate();case _._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};ae.parseExprImport=function(){var e=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var t=this.parseIdent(true);switch(this.type){case _.parenL:return this.parseDynamicImport(e);case _.dot:e.meta=t;return this.parseImportMeta(e);default:this.unexpected()}};ae.parseDynamicImport=function(e){this.next();e.source=this.parseMaybeAssign();if(!this.eat(_.parenR)){var t=this.start;if(this.eat(_.comma)&&this.eat(_.parenR)){this.raiseRecoverable(t,"Trailing comma is not allowed in import()")}else{this.unexpected(t)}}return this.finishNode(e,"ImportExpression")};ae.parseImportMeta=function(e){this.next();var t=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="meta"){this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'")}if(t){this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(e,"MetaProperty")};ae.parseLiteral=function(e){var t=this.startNode();t.value=e;t.raw=this.input.slice(this.start,this.end);if(t.raw.charCodeAt(t.raw.length-1)===110){t.bigint=t.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(t,"Literal")};ae.parseParenExpression=function(){this.expect(_.parenL);var e=this.parseExpression();this.expect(_.parenR);return e};ae.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc;var c=[],h=true,p=false;var d=new DestructuringErrors,v=this.yieldPos,m=this.awaitPos,g;this.yieldPos=0;this.awaitPos=0;while(this.type!==_.parenR){h?h=false:this.expect(_.comma);if(a&&this.afterTrailingComma(_.parenR,true)){p=true;break}else if(this.type===_.ellipsis){g=this.start;c.push(this.parseParenItem(this.parseRestBinding()));if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{c.push(this.parseMaybeAssign(false,d,this.parseParenItem))}}var y=this.start,E=this.startLoc;this.expect(_.parenR);if(e&&!this.canInsertSemicolon()&&this.eat(_.arrow)){this.checkPatternErrors(d,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=v;this.awaitPos=m;return this.parseParenArrowList(t,r,c)}if(!c.length||p){this.unexpected(this.lastTokStart)}if(g){this.unexpected(g)}this.checkExpressionErrors(d,true);this.yieldPos=v||this.yieldPos;this.awaitPos=m||this.awaitPos;if(c.length>1){s=this.startNodeAt(o,u);s.expressions=c;this.finishNodeAt(s,"SequenceExpression",y,E)}else{s=c[0]}}else{s=this.parseParenExpression()}if(this.options.preserveParens){var x=this.startNodeAt(t,r);x.expression=s;return this.finishNode(x,"ParenthesizedExpression")}else{return s}};ae.parseParenItem=function(e){return e};ae.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var oe=[];ae.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var e=this.startNode();var t=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(_.dot)){e.meta=t;var r=this.containsEsc;e.property=this.parseIdent(true);if(e.property.name!=="target"){this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'")}if(r){this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(e.start,"'new.target' can only be used in functions")}return this.finishNode(e,"MetaProperty")}var s=this.start,a=this.startLoc,o=this.type===_._import;e.callee=this.parseSubscripts(this.parseExprAtom(),s,a,true);if(o&&e.callee.type==="ImportExpression"){this.raise(s,"Cannot use new with import()")}if(this.eat(_.parenL)){e.arguments=this.parseExprList(_.parenR,this.options.ecmaVersion>=8,false)}else{e.arguments=oe}return this.finishNode(e,"NewExpression")};ae.parseTemplateElement=function(e){var t=e.isTagged;var r=this.startNode();if(this.type===_.invalidTemplate){if(!t){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}r.value={raw:this.value,cooked:null}}else{r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();r.tail=this.type===_.backQuote;return this.finishNode(r,"TemplateElement")};ae.parseTemplate=function(e){if(e===void 0)e={};var t=e.isTagged;if(t===void 0)t=false;var r=this.startNode();this.next();r.expressions=[];var s=this.parseTemplateElement({isTagged:t});r.quasis=[s];while(!s.tail){if(this.type===_.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(_.dollarBraceL);r.expressions.push(this.parseExpression());this.expect(_.braceR);r.quasis.push(s=this.parseTemplateElement({isTagged:t}))}this.next();return this.finishNode(r,"TemplateLiteral")};ae.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===_.name||this.type===_.num||this.type===_.string||this.type===_.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===_.star)&&!E.test(this.input.slice(this.lastTokEnd,this.start))};ae.parseObj=function(e,t){var r=this.startNode(),s=true,a={};r.properties=[];this.next();while(!this.eat(_.braceR)){if(!s){this.expect(_.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(_.braceR)){break}}else{s=false}var o=this.parseProperty(e,t);if(!e){this.checkPropClash(o,a,t)}r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};ae.parseProperty=function(e,t){var r=this.startNode(),s,a,o,u;if(this.options.ecmaVersion>=9&&this.eat(_.ellipsis)){if(e){r.argument=this.parseIdent(false);if(this.type===_.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(r,"RestElement")}if(this.type===_.parenL&&t){if(t.parenthesizedAssign<0){t.parenthesizedAssign=this.start}if(t.parenthesizedBind<0){t.parenthesizedBind=this.start}}r.argument=this.parseMaybeAssign(false,t);if(this.type===_.comma&&t&&t.trailingComma<0){t.trailingComma=this.start}return this.finishNode(r,"SpreadElement")}if(this.options.ecmaVersion>=6){r.method=false;r.shorthand=false;if(e||t){o=this.start;u=this.startLoc}if(!e){s=this.eat(_.star)}}var c=this.containsEsc;this.parsePropertyName(r);if(!e&&!c&&this.options.ecmaVersion>=8&&!s&&this.isAsyncProp(r)){a=true;s=this.options.ecmaVersion>=9&&this.eat(_.star);this.parsePropertyName(r,t)}else{a=false}this.parsePropertyValue(r,e,s,a,o,u,t,c);return this.finishNode(r,"Property")};ae.parsePropertyValue=function(e,t,r,s,a,o,u,c){if((r||s)&&this.type===_.colon){this.unexpected()}if(this.eat(_.colon)){e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,u);e.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===_.parenL){if(t){this.unexpected()}e.kind="init";e.method=true;e.value=this.parseMethod(r,s)}else if(!t&&!c&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==_.comma&&this.type!==_.braceR&&this.type!==_.eq)){if(r||s){this.unexpected()}e.kind=e.key.name;this.parsePropertyName(e);e.value=this.parseMethod(false);var h=e.kind==="get"?0:1;if(e.value.params.length!==h){var p=e.value.start;if(e.kind==="get"){this.raiseRecoverable(p,"getter should have no params")}else{this.raiseRecoverable(p,"setter should have exactly one param")}}else{if(e.kind==="set"&&e.value.params[0].type==="RestElement"){this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(r||s){this.unexpected()}this.checkUnreserved(e.key);if(e.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=a}e.kind="init";if(t){e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else if(this.type===_.eq&&u){if(u.shorthandAssign<0){u.shorthandAssign=this.start}e.value=this.parseMaybeDefault(a,o,this.copyNode(e.key))}else{e.value=this.copyNode(e.key)}e.shorthand=true}else{this.unexpected()}};ae.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(_.bracketL)){e.computed=true;e.key=this.parseMaybeAssign();this.expect(_.bracketR);return e.key}else{e.computed=false}}return e.key=this.type===_.num||this.type===_.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};ae.initFunction=function(e){e.id=null;if(this.options.ecmaVersion>=6){e.generator=e.expression=false}if(this.options.ecmaVersion>=8){e.async=false}};ae.parseMethod=function(e,t,r){var s=this.startNode(),a=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;this.initFunction(s);if(this.options.ecmaVersion>=6){s.generator=e}if(this.options.ecmaVersion>=8){s.async=!!t}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(t,s.generator)|V|(r?q:0));this.expect(_.parenL);s.params=this.parseBindingList(_.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(s,false,true);this.yieldPos=a;this.awaitPos=o;this.awaitIdentPos=u;return this.finishNode(s,"FunctionExpression")};ae.parseArrowExpression=function(e,t,r){var s=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;this.enterScope(functionFlags(r,false)|j);this.initFunction(e);if(this.options.ecmaVersion>=8){e.async=!!r}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;e.params=this.toAssignableList(t,true);this.parseFunctionBody(e,true,false);this.yieldPos=s;this.awaitPos=a;this.awaitIdentPos=o;return this.finishNode(e,"ArrowFunctionExpression")};ae.parseFunctionBody=function(e,t,r){var s=t&&this.type!==_.braceL;var a=this.strict,o=false;if(s){e.body=this.parseMaybeAssign();e.expression=true;this.checkParams(e,false)}else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!a||u){o=this.strictDirective(this.end);if(o&&u){this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var c=this.labels;this.labels=[];if(o){this.strict=true}this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params));if(this.strict&&e.id){this.checkLValSimple(e.id,z)}e.body=this.parseBlock(false,undefined,o&&!a);e.expression=false;this.adaptDirectivePrologue(e.body.body);this.labels=c}this.exitScope()};ae.isSimpleParamList=function(e){for(var t=0,r=e;t-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1;a.lexical.push(e);if(this.inModule&&a.flags&B){delete this.undefinedExports[e]}}else if(t===W){var o=this.currentScope();o.lexical.push(e)}else if(t===G){var u=this.currentScope();if(this.treatFunctionsAsVar){s=u.lexical.indexOf(e)>-1}else{s=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1}u.functions.push(e)}else{for(var c=this.scopeStack.length-1;c>=0;--c){var h=this.scopeStack[c];if(h.lexical.indexOf(e)>-1&&!(h.flags&M&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){s=true;break}h.var.push(e);if(this.inModule&&h.flags&B){delete this.undefinedExports[e]}if(h.flags&O){break}}}if(s){this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")}};le.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1){this.undefinedExports[e.name]=e}};le.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};le.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O){return t}}};le.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&O&&!(t.flags&j)){return t}}};var fe=function Node(e,t,r){this.type="";this.start=t;this.end=0;if(e.options.locations){this.loc=new R(e,r)}if(e.options.directSourceFile){this.sourceFile=e.options.directSourceFile}if(e.options.ranges){this.range=[t,0]}};var he=K.prototype;he.startNode=function(){return new fe(this,this.start,this.startLoc)};he.startNodeAt=function(e,t){return new fe(this,e,t)};function finishNodeAt(e,t,r,s){e.type=t;e.end=r;if(this.options.locations){e.loc.end=s}if(this.options.ranges){e.range[1]=r}return e}he.finishNode=function(e,t){return finishNodeAt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};he.finishNodeAt=function(e,t,r,s){return finishNodeAt.call(this,e,t,r,s)};he.copyNode=function(e){var t=new fe(this,e.start,this.startLoc);for(var r in e){t[r]=e[r]}return t};var pe=function TokContext(e,t,r,s,a){this.token=e;this.isExpr=!!t;this.preserveSpace=!!r;this.override=s;this.generator=!!a};var de={b_stat:new pe("{",false),b_expr:new pe("{",true),b_tmpl:new pe("${",false),p_stat:new pe("(",false),p_expr:new pe("(",true),q_tmpl:new pe("`",true,true,(function(e){return e.tryReadTemplateToken()})),f_stat:new pe("function",false),f_expr:new pe("function",true),f_expr_gen:new pe("function",true,false,null,true),f_gen:new pe("function",false,false,null,true)};var ve=K.prototype;ve.initialContext=function(){return[de.b_stat]};ve.braceIsBlock=function(e){var t=this.curContext();if(t===de.f_expr||t===de.f_stat){return true}if(e===_.colon&&(t===de.b_stat||t===de.b_expr)){return!t.isExpr}if(e===_._return||e===_.name&&this.exprAllowed){return E.test(this.input.slice(this.lastTokEnd,this.start))}if(e===_._else||e===_.semi||e===_.eof||e===_.parenR||e===_.arrow){return true}if(e===_.braceL){return t===de.b_stat}if(e===_._var||e===_._const||e===_.name){return false}return!this.exprAllowed};ve.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function"){return t.generator}}return false};ve.updateContext=function(e){var t,r=this.type;if(r.keyword&&e===_.dot){this.exprAllowed=false}else if(t=r.updateContext){t.call(this,e)}else{this.exprAllowed=r.beforeExpr}};_.parenR.updateContext=_.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var e=this.context.pop();if(e===de.b_stat&&this.curContext().token==="function"){e=this.context.pop()}this.exprAllowed=!e.isExpr};_.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?de.b_stat:de.b_expr);this.exprAllowed=true};_.dollarBraceL.updateContext=function(){this.context.push(de.b_tmpl);this.exprAllowed=true};_.parenL.updateContext=function(e){var t=e===_._if||e===_._for||e===_._with||e===_._while;this.context.push(t?de.p_stat:de.p_expr);this.exprAllowed=true};_.incDec.updateContext=function(){};_._function.updateContext=_._class.updateContext=function(e){if(e.beforeExpr&&e!==_._else&&!(e===_.semi&&this.curContext()!==de.p_stat)&&!(e===_._return&&E.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===_.colon||e===_.braceL)&&this.curContext()===de.b_stat)){this.context.push(de.f_expr)}else{this.context.push(de.f_stat)}this.exprAllowed=false};_.backQuote.updateContext=function(){if(this.curContext()===de.q_tmpl){this.context.pop()}else{this.context.push(de.q_tmpl)}this.exprAllowed=false};_.star.updateContext=function(e){if(e===_._function){var t=this.context.length-1;if(this.context[t]===de.f_expr){this.context[t]=de.f_expr_gen}else{this.context[t]=de.f_gen}}this.exprAllowed=true};_.name.updateContext=function(e){var t=false;if(this.options.ecmaVersion>=6&&e!==_.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){t=true}}this.exprAllowed=t};var me="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var ge=me+" Extended_Pictographic";var be=ge;var ye=be+" EBase EComp EMod EPres ExtPict";var _e={9:me,10:ge,11:be,12:ye};var Ee="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var xe="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var we=xe+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var De=we+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var Ce=De+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Ae={9:xe,10:we,11:De,12:Ce};var Se={};function buildUnicodeData(e){var t=Se[e]={binary:wordsRegexp(_e[e]+" "+Ee),nonBinary:{General_Category:wordsRegexp(Ee),Script:wordsRegexp(Ae[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script;t.nonBinary.gc=t.nonBinary.General_Category;t.nonBinary.sc=t.nonBinary.Script;t.nonBinary.scx=t.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var ke=K.prototype;var Fe=function RegExpValidationState(e){this.parser=e;this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Se[e.options.ecmaVersion>=12?12:e.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Fe.prototype.reset=function reset(e,t,r){var s=r.indexOf("u")!==-1;this.start=e|0;this.source=t+"";this.flags=r;this.switchU=s&&this.parser.options.ecmaVersion>=6;this.switchN=s&&this.parser.options.ecmaVersion>=9};Fe.prototype.raise=function raise(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)};Fe.prototype.at=function at(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return-1}var a=r.charCodeAt(e);if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s){return a}var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(a<<10)+o-56613888:a};Fe.prototype.nextIndex=function nextIndex(e,t){if(t===void 0)t=false;var r=this.source;var s=r.length;if(e>=s){return s}var a=r.charCodeAt(e),o;if(!(t||this.switchU)||a<=55295||a>=57344||e+1>=s||(o=r.charCodeAt(e+1))<56320||o>57343){return e+1}return e+2};Fe.prototype.current=function current(e){if(e===void 0)e=false;return this.at(this.pos,e)};Fe.prototype.lookahead=function lookahead(e){if(e===void 0)e=false;return this.at(this.nextIndex(this.pos,e),e)};Fe.prototype.advance=function advance(e){if(e===void 0)e=false;this.pos=this.nextIndex(this.pos,e)};Fe.prototype.eat=function eat(e,t){if(t===void 0)t=false;if(this.current(t)===e){this.advance(t);return true}return false};function codePointToString(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}ke.validateRegExpFlags=function(e){var t=e.validFlags;var r=e.flags;for(var s=0;s-1){this.raise(e.start,"Duplicate regular expression flag")}}};ke.validateRegExpPattern=function(e){this.regexp_pattern(e);if(!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0){e.switchN=true;this.regexp_pattern(e)}};ke.regexp_pattern=function(e){e.pos=0;e.lastIntValue=0;e.lastStringValue="";e.lastAssertionIsQuantifiable=false;e.numCapturingParens=0;e.maxBackReference=0;e.groupNames.length=0;e.backReferenceNames.length=0;this.regexp_disjunction(e);if(e.pos!==e.source.length){if(e.eat(41)){e.raise("Unmatched ')'")}if(e.eat(93)||e.eat(125)){e.raise("Lone quantifier brackets")}}if(e.maxBackReference>e.numCapturingParens){e.raise("Invalid escape")}for(var t=0,r=e.backReferenceNames;t=9){r=e.eat(60)}if(e.eat(61)||e.eat(33)){this.regexp_disjunction(e);if(!e.eat(41)){e.raise("Unterminated group")}e.lastAssertionIsQuantifiable=!r;return true}}e.pos=t;return false};ke.regexp_eatQuantifier=function(e,t){if(t===void 0)t=false;if(this.regexp_eatQuantifierPrefix(e,t)){e.eat(63);return true}return false};ke.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ke.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var s=0,a=-1;if(this.regexp_eatDecimalDigits(e)){s=e.lastIntValue;if(e.eat(44)&&this.regexp_eatDecimalDigits(e)){a=e.lastIntValue}if(e.eat(125)){if(a!==-1&&a=9){this.regexp_groupSpecifier(e)}else if(e.current()===63){e.raise("Invalid group")}this.regexp_disjunction(e);if(e.eat(41)){e.numCapturingParens+=1;return true}e.raise("Unterminated group")}return false};ke.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};ke.regexp_eatInvalidBracedQuantifier=function(e){if(this.regexp_eatBracedQuantifier(e,true)){e.raise("Nothing to repeat")}return false};ke.regexp_eatSyntaxCharacter=function(e){var t=e.current();if(isSyntaxCharacter(t)){e.lastIntValue=t;e.advance();return true}return false};function isSyntaxCharacter(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}ke.regexp_eatPatternCharacters=function(e){var t=e.pos;var r=0;while((r=e.current())!==-1&&!isSyntaxCharacter(r)){e.advance()}return e.pos!==t};ke.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();if(t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124){e.advance();return true}return false};ke.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){if(e.groupNames.indexOf(e.lastStringValue)!==-1){e.raise("Duplicate capture group name")}e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}};ke.regexp_eatGroupName=function(e){e.lastStringValue="";if(e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62)){return true}e.raise("Invalid capture group name")}return false};ke.regexp_eatRegExpIdentifierName=function(e){e.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(e)){e.lastStringValue+=codePointToString(e.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(e)){e.lastStringValue+=codePointToString(e.lastIntValue)}return true}return false};ke.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierStart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierStart(e){return isIdentifierStart(e,true)||e===36||e===95}ke.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos;var r=this.options.ecmaVersion>=11;var s=e.current(r);e.advance(r);if(s===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)){s=e.lastIntValue}if(isRegExpIdentifierPart(s)){e.lastIntValue=s;return true}e.pos=t;return false};function isRegExpIdentifierPart(e){return isIdentifierChar(e,true)||e===36||e===95||e===8204||e===8205}ke.regexp_eatAtomEscape=function(e){if(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)){return true}if(e.switchU){if(e.current()===99){e.raise("Invalid unicode escape")}e.raise("Invalid escape")}return false};ke.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU){if(r>e.maxBackReference){e.maxBackReference=r}return true}if(r<=e.numCapturingParens){return true}e.pos=t}return false};ke.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e)){e.backReferenceNames.push(e.lastStringValue);return true}e.raise("Invalid named reference")}return false};ke.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,false)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ke.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e)){return true}e.pos=t}return false};ke.regexp_eatZero=function(e){if(e.current()===48&&!isDecimalDigit(e.lookahead())){e.lastIntValue=0;e.advance();return true}return false};ke.regexp_eatControlEscape=function(e){var t=e.current();if(t===116){e.lastIntValue=9;e.advance();return true}if(t===110){e.lastIntValue=10;e.advance();return true}if(t===118){e.lastIntValue=11;e.advance();return true}if(t===102){e.lastIntValue=12;e.advance();return true}if(t===114){e.lastIntValue=13;e.advance();return true}return false};ke.regexp_eatControlLetter=function(e){var t=e.current();if(isControlLetter(t)){e.lastIntValue=t%32;e.advance();return true}return false};function isControlLetter(e){return e>=65&&e<=90||e>=97&&e<=122}ke.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){if(t===void 0)t=false;var r=e.pos;var s=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(s&&a>=55296&&a<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343){e.lastIntValue=(a-55296)*1024+(u-56320)+65536;return true}}e.pos=o;e.lastIntValue=a}return true}if(s&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&isValidUnicode(e.lastIntValue)){return true}if(s){e.raise("Invalid unicode escape")}e.pos=r}return false};function isValidUnicode(e){return e>=0&&e<=1114111}ke.regexp_eatIdentityEscape=function(e){if(e.switchU){if(this.regexp_eatSyntaxCharacter(e)){return true}if(e.eat(47)){e.lastIntValue=47;return true}return false}var t=e.current();if(t!==99&&(!e.switchN||t!==107)){e.lastIntValue=t;e.advance();return true}return false};ke.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48);e.advance()}while((t=e.current())>=48&&t<=57);return true}return false};ke.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(isCharacterClassEscape(t)){e.lastIntValue=-1;e.advance();return true}if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){e.lastIntValue=-1;e.advance();if(e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125)){return true}e.raise("Invalid property name")}return false};function isCharacterClassEscape(e){return e===100||e===68||e===115||e===83||e===119||e===87}ke.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var s=e.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(e,r,s);return true}}e.pos=t;if(this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(e,a);return true}return false};ke.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){if(!has(e.unicodeProperties.nonBinary,t)){e.raise("Invalid property name")}if(!e.unicodeProperties.nonBinary[t].test(r)){e.raise("Invalid property value")}};ke.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(!e.unicodeProperties.binary.test(t)){e.raise("Invalid property name")}};ke.regexp_eatUnicodePropertyName=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyNameCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyNameCharacter(e){return isControlLetter(e)||e===95}ke.regexp_eatUnicodePropertyValue=function(e){var t=0;e.lastStringValue="";while(isUnicodePropertyValueCharacter(t=e.current())){e.lastStringValue+=codePointToString(t);e.advance()}return e.lastStringValue!==""};function isUnicodePropertyValueCharacter(e){return isUnicodePropertyNameCharacter(e)||isDecimalDigit(e)}ke.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ke.regexp_eatCharacterClass=function(e){if(e.eat(91)){e.eat(94);this.regexp_classRanges(e);if(e.eat(93)){return true}e.raise("Unterminated character class")}return false};ke.regexp_classRanges=function(e){while(this.regexp_eatClassAtom(e)){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;if(e.switchU&&(t===-1||r===-1)){e.raise("Invalid character class")}if(t!==-1&&r!==-1&&t>r){e.raise("Range out of order in character class")}}}};ke.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e)){return true}if(e.switchU){var r=e.current();if(r===99||isOctalDigit(r)){e.raise("Invalid class escape")}e.raise("Invalid escape")}e.pos=t}var s=e.current();if(s!==93){e.lastIntValue=s;e.advance();return true}return false};ke.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98)){e.lastIntValue=8;return true}if(e.switchU&&e.eat(45)){e.lastIntValue=45;return true}if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e)){return true}e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ke.regexp_eatClassControlLetter=function(e){var t=e.current();if(isDecimalDigit(t)||t===95){e.lastIntValue=t%32;e.advance();return true}return false};ke.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2)){return true}if(e.switchU){e.raise("Invalid escape")}e.pos=t}return false};ke.regexp_eatDecimalDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isDecimalDigit(r=e.current())){e.lastIntValue=10*e.lastIntValue+(r-48);e.advance()}return e.pos!==t};function isDecimalDigit(e){return e>=48&&e<=57}ke.regexp_eatHexDigits=function(e){var t=e.pos;var r=0;e.lastIntValue=0;while(isHexDigit(r=e.current())){e.lastIntValue=16*e.lastIntValue+hexToInt(r);e.advance()}return e.pos!==t};function isHexDigit(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function hexToInt(e){if(e>=65&&e<=70){return 10+(e-65)}if(e>=97&&e<=102){return 10+(e-97)}return e-48}ke.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;if(t<=3&&this.regexp_eatOctalDigit(e)){e.lastIntValue=t*64+r*8+e.lastIntValue}else{e.lastIntValue=t*8+r}}else{e.lastIntValue=t}return true}return false};ke.regexp_eatOctalDigit=function(e){var t=e.current();if(isOctalDigit(t)){e.lastIntValue=t-48;e.advance();return true}e.lastIntValue=0;return false};function isOctalDigit(e){return e>=48&&e<=55}ke.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var s=0;s=this.input.length){return this.finishToken(_.eof)}if(e.override){return e.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Te.readToken=function(e){if(isIdentifierStart(e,this.options.ecmaVersion>=6)||e===92){return this.readWord()}return this.getTokenFromCode(e)};Te.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320){return e}var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};Te.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition();var t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=r+2;if(this.options.locations){x.lastIndex=t;var s;while((s=x.exec(this.input))&&s.index8&&e<14||e>=5760&&w.test(String.fromCharCode(e))){++this.pos}else{break e}}}};Te.finishToken=function(e,t){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var r=this.type;this.type=e;this.value=t;this.updateContext(r)};Te.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57){return this.readNumber(true)}var t=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&t===46){this.pos+=3;return this.finishToken(_.ellipsis)}else{++this.pos;return this.finishToken(_.dot)}};Te.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.slash,1)};Te.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;var s=e===42?_.star:_.modulo;if(this.options.ecmaVersion>=7&&e===42&&t===42){++r;s=_.starstar;t=this.input.charCodeAt(this.pos+2)}if(t===61){return this.finishOp(_.assign,r+1)}return this.finishOp(s,r)};Te.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61){return this.finishOp(_.assign,3)}}return this.finishOp(e===124?_.logicalOR:_.logicalAND,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(e===124?_.bitwiseOR:_.bitwiseAND,1)};Te.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61){return this.finishOp(_.assign,2)}return this.finishOp(_.bitwiseXOR,1)};Te.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||E.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(_.incDec,2)}if(t===61){return this.finishOp(_.assign,2)}return this.finishOp(_.plusMin,1)};Te.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1);var r=1;if(t===e){r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+r)===61){return this.finishOp(_.assign,r+1)}return this.finishOp(_.bitShift,r)}if(t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(t===61){r=2}return this.finishOp(_.relational,r)};Te.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===61){return this.finishOp(_.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(e===61&&t===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(_.arrow)}return this.finishOp(e===61?_.eq:_.prefix,1)};Te.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57){return this.finishOp(_.questionDot,2)}}if(t===63){if(e>=12){var s=this.input.charCodeAt(this.pos+2);if(s===61){return this.finishOp(_.assign,3)}}return this.finishOp(_.coalesce,2)}}return this.finishOp(_.question,1)};Te.readToken_numberSign=function(){var e=this.options.ecmaVersion;var t=35;if(e>=13){++this.pos;t=this.fullCharCodeAtPos();if(isIdentifierStart(t,true)||t===92){return this.finishToken(_.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(t)+"'")};Te.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(_.parenL);case 41:++this.pos;return this.finishToken(_.parenR);case 59:++this.pos;return this.finishToken(_.semi);case 44:++this.pos;return this.finishToken(_.comma);case 91:++this.pos;return this.finishToken(_.bracketL);case 93:++this.pos;return this.finishToken(_.bracketR);case 123:++this.pos;return this.finishToken(_.braceL);case 125:++this.pos;return this.finishToken(_.braceR);case 58:++this.pos;return this.finishToken(_.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(_.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(t===111||t===79){return this.readRadixNumber(8)}if(t===98||t===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(_.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(e)+"'")};Te.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);this.pos+=t;return this.finishToken(e,r)};Te.readRegexp=function(){var e,t,r=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(r,"Unterminated regular expression")}var s=this.input.charAt(this.pos);if(E.test(s)){this.raise(r,"Unterminated regular expression")}if(!e){if(s==="["){t=true}else if(s==="]"&&t){t=false}else if(s==="/"&&!t){break}e=s==="\\"}else{e=false}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var o=this.pos;var u=this.readWord1();if(this.containsEsc){this.unexpected(o)}var c=this.regexpState||(this.regexpState=new Fe(this));c.reset(r,a,u);this.validateRegExpFlags(c);this.validateRegExpPattern(c);var h=null;try{h=new RegExp(a,u)}catch(e){}return this.finishToken(_.regexp,{pattern:a,flags:u,value:h})};Te.readInt=function(e,t,r){var s=this.options.ecmaVersion>=12&&t===undefined;var a=r&&this.input.charCodeAt(this.pos)===48;var o=this.pos,u=0,c=0;for(var h=0,p=t==null?Infinity:t;h=97){v=d-97+10}else if(d>=65){v=d-65+10}else if(d>=48&&d<=57){v=d-48}else{v=Infinity}if(v>=e){break}c=d;u=u*e+v}if(s&&c===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===o||t!=null&&this.pos-o!==t){return null}return u};function stringToNumber(e,t){if(t){return parseInt(e,8)}return parseFloat(e.replace(/_/g,""))}function stringToBigInt(e){if(typeof BigInt!=="function"){return null}return BigInt(e.replace(/_/g,""))}Te.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);if(r==null){this.raise(this.start+2,"Expected number in radix "+e)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){r=stringToBigInt(this.input.slice(t,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,r)};Te.readNumber=function(e){var t=this.pos;if(!e&&this.readInt(10,undefined,true)===null){this.raise(t,"Invalid number")}var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;if(r&&this.strict){this.raise(t,"Invalid number")}var s=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&s===110){var a=stringToBigInt(this.input.slice(t,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(_.num,a)}if(r&&/[89]/.test(this.input.slice(t,this.pos))){r=false}if(s===46&&!r){++this.pos;this.readInt(10);s=this.input.charCodeAt(this.pos)}if((s===69||s===101)&&!r){s=this.input.charCodeAt(++this.pos);if(s===43||s===45){++this.pos}if(this.readInt(10)===null){this.raise(t,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var o=stringToNumber(this.input.slice(t,this.pos),r);return this.finishToken(_.num,o)};Te.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){if(this.options.ecmaVersion<6){this.unexpected()}var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(t>1114111){this.invalidStringToken(r,"Code point out of bounds")}}else{t=this.readHexChar(4)}return t};function codePointToString$1(e){if(e<=65535){return String.fromCharCode(e)}e-=65536;return String.fromCharCode((e>>10)+55296,(e&1023)+56320)}Te.readString=function(e){var t="",r=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var s=this.input.charCodeAt(this.pos);if(s===e){break}if(s===92){t+=this.input.slice(r,this.pos);t+=this.readEscapedChar(false);r=this.pos}else{if(isNewLine(s,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}t+=this.input.slice(r,this.pos++);return this.finishToken(_.string,t)};var Ie={};Te.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(e){if(e===Ie){this.readInvalidTemplateToken()}else{throw e}}this.inTemplateElement=false};Te.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ie}else{this.raise(e,t)}};Te.readTmplToken=function(){var e="",t=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===_.template||this.type===_.invalidTemplate)){if(r===36){this.pos+=2;return this.finishToken(_.dollarBraceL)}else{++this.pos;return this.finishToken(_.backQuote)}}e+=this.input.slice(t,this.pos);return this.finishToken(_.template,e)}if(r===92){e+=this.input.slice(t,this.pos);e+=this.readEscapedChar(true);t=this.pos}else if(isNewLine(r)){e+=this.input.slice(t,this.pos);++this.pos;switch(r){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}t=this.pos}else{++this.pos}}};Te.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var a=parseInt(s,8);if(a>255){s=s.slice(0,-1);a=parseInt(s,8)}this.pos+=s.length-1;t=this.input.charCodeAt(this.pos);if((s!=="0"||t===56||t===57)&&(this.strict||e)){this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode(a)}if(isNewLine(t)){return""}return String.fromCharCode(t)}};Te.readHexChar=function(e){var t=this.pos;var r=this.readInt(16,e);if(r===null){this.invalidStringToken(t,"Bad character escape sequence")}return r};Te.readWord1=function(){this.containsEsc=false;var e="",t=true,r=this.pos;var s=this.options.ecmaVersion>=6;while(this.pos{"use strict";t.TrackerGroup=r(660);t.Tracker=r(8074);t.TrackerStream=r(1375)},165:(e,t,r)=>{"use strict";var s=r(8614).EventEmitter;var a=r(1669);var o=0;var u=e.exports=function(e){s.call(this);this.id=++o;this.name=e};a.inherits(u,s)},660:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=r(8074);var u=r(1375);var c=e.exports=function(e){a.call(this,e);this.parentGroup=null;this.trackers=[];this.completion={};this.weight={};this.totalWeight=0;this.finished=false;this.bubbleChange=bubbleChange(this)};s.inherits(c,a);function bubbleChange(e){return function(t,r,s){e.completion[s.id]=r;if(e.finished)return;e.emit("change",t||e.name,e.completed(),e)}}c.prototype.nameInTree=function(){var e=[];var t=this;while(t){e.unshift(t.name);t=t.parentGroup}return e.join("/")};c.prototype.addUnit=function(e,t){if(e.addUnit){var r=this;while(r){if(e===r){throw new Error("Attempted to add tracker group "+e.name+" to tree that already includes it "+this.nameInTree(this))}r=r.parentGroup}e.parentGroup=this}this.weight[e.id]=t||1;this.totalWeight+=this.weight[e.id];this.trackers.push(e);this.completion[e.id]=e.completed();e.on("change",this.bubbleChange);if(!this.finished)this.emit("change",e.name,this.completion[e.id],e);return e};c.prototype.completed=function(){if(this.trackers.length===0)return 0;var e=1/this.totalWeight;var t=0;for(var r=0;r{"use strict";var s=r(1669);var a=r(1642);var o=r(1318);var u=r(8074);var c=e.exports=function(e,t,r){a.Transform.call(this,r);this.tracker=new u(e,t);this.name=e;this.id=this.tracker.id;this.tracker.on("change",delegateChange(this))};s.inherits(c,a.Transform);function delegateChange(e){return function(t,r,s){e.emit("change",t,r,e)}}c.prototype._transform=function(e,t,r){this.tracker.completeWork(e.length?e.length:1);this.push(e);r()};c.prototype._flush=function(e){this.tracker.finish();e()};o(c.prototype,"tracker").method("completed").method("addWork").method("finish")},8074:(e,t,r)=>{"use strict";var s=r(1669);var a=r(165);var o=e.exports=function(e,t){a.call(this,e);this.workDone=0;this.workTodo=t||0};s.inherits(o,a);o.prototype.completed=function(){return this.workTodo===0?0:this.workDone/this.workTodo};o.prototype.addWork=function(e){this.workTodo+=e;this.emit("change",this.name,this.completed(),this)};o.prototype.completeWork=function(e){this.workDone+=e;if(this.workDone>this.workTodo)this.workDone=this.workTodo;this.emit("change",this.name,this.completed(),this)};o.prototype.finish=function(){this.workTodo=this.workDone=1;this.emit("change",this.name,1,this)}},9417:e=>{"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var s=range(e,t,r);return s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+e.length,s[1]),post:r.slice(s[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var s,a,o,u,c;var h=r.indexOf(e);var p=r.indexOf(t,h+1);var d=h;if(h>=0&&p>0){s=[];o=r.length;while(d>=0&&!c){if(d==h){s.push(d);h=r.indexOf(e,d+1)}else if(s.length==1){c=[s.pop(),p]}else{a=s.pop();if(a=0?h:p}if(s.length){c=[o,u]}}return c}},8738:function(e){(function(t){"use strict";var r,s=20,a=1,o=1e6,u=1e6,c=-7,h=21,p="[big.js] ",d=p+"Invalid ",v=d+"decimal places",m=d+"rounding mode",g=p+"Division by zero",y={},_=void 0,E=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(e){var t=this;if(!(t instanceof Big))return e===_?_Big_():new Big(e);if(e instanceof Big){t.s=e.s;t.e=e.e;t.c=e.c.slice()}else{parse(t,e)}t.constructor=Big}Big.prototype=y;Big.DP=s;Big.RM=a;Big.NE=c;Big.PE=h;Big.version="5.2.2";return Big}function parse(e,t){var r,s,a;if(t===0&&1/t<0)t="-0";else if(!E.test(t+=""))throw Error(d+"number");e.s=t.charAt(0)=="-"?(t=t.slice(1),-1):1;if((r=t.indexOf("."))>-1)t=t.replace(".","");if((s=t.search(/e/i))>0){if(r<0)r=s;r+=+t.slice(s+1);t=t.substring(0,s)}else if(r<0){r=t.length}a=t.length;for(s=0;s0&&t.charAt(--a)=="0";);e.e=r-s-1;e.c=[];for(r=0;s<=a;)e.c[r++]=+t.charAt(s++)}return e}function round(e,t,r,s){var a=e.c,o=e.e+t+1;if(o=5}else if(r===2){s=a[o]>5||a[o]==5&&(s||o<0||a[o+1]!==_||a[o-1]&1)}else if(r===3){s=s||!!a[0]}else{s=false;if(r!==0)throw Error(m)}if(o<1){a.length=1;if(s){e.e=-t;a[0]=1}else{a[0]=e.e=0}}else{a.length=o--;if(s){for(;++a[o]>9;){a[o]=0;if(!o--){++e.e;a.unshift(1)}}}for(o=a.length;!a[--o];)a.pop()}}else if(r<0||r>3||r!==~~r){throw Error(m)}return e}function stringify(e,t,r,s){var a,u,c=e.constructor,h=!e.c[0];if(r!==_){if(r!==~~r||r<(t==3)||r>o){throw Error(t==3?d+"precision":v)}e=new c(e);r=s-e.e;if(e.c.length>++s)round(e,r,c.RM);if(t==2)s=e.e+r+1;for(;e.c.length=c.PE)){u=u.charAt(0)+(r>1?"."+u.slice(1):"")+(a<0?"e":"e+")+a}else if(a<0){for(;++a;)u="0"+u;u="0."+u}else if(a>0){if(++a>r)for(a-=r;a--;)u+="0";else if(a1){u=u.charAt(0)+"."+u.slice(1)}return e.s<0&&(!h||t==4)?"-"+u:u}y.abs=function(){var e=new this.constructor(this);e.s=1;return e};y.cmp=function(e){var t,r=this,s=r.c,a=(e=new r.constructor(e)).c,o=r.s,u=e.s,c=r.e,h=e.e;if(!s[0]||!a[0])return!s[0]?!a[0]?0:-u:o;if(o!=u)return o;t=o<0;if(c!=h)return c>h^t?1:-1;u=(c=s.length)<(h=a.length)?c:h;for(o=-1;++oa[o]^t?1:-1}return c==h?0:c>h^t?1:-1};y.div=function(e){var t=this,r=t.constructor,s=t.c,a=(e=new r(e)).c,u=t.s==e.s?1:-1,c=r.DP;if(c!==~~c||c<0||c>o)throw Error(v);if(!a[0])throw Error(g);if(!s[0])return new r(u*0);var h,p,d,m,y,E=a.slice(),x=h=a.length,w=s.length,D=s.slice(0,h),C=D.length,A=e,S=A.c=[],k=0,F=c+(A.e=t.e-e.e)+1;A.s=u;u=F<0?0:F;E.unshift(0);for(;C++C?1:-1}else{for(y=-1,m=0;++yD[y]?1:-1;break}}}if(m<0){for(p=C==h?a:E;C;){if(D[--C]F)round(A,c,r.RM,D[0]!==_);return A};y.eq=function(e){return!this.cmp(e)};y.gt=function(e){return this.cmp(e)>0};y.gte=function(e){return this.cmp(e)>-1};y.lt=function(e){return this.cmp(e)<0};y.lte=function(e){return this.cmp(e)<1};y.minus=y.sub=function(e){var t,r,s,a,o=this,u=o.constructor,c=o.s,h=(e=new u(e)).s;if(c!=h){e.s=-h;return o.plus(e)}var p=o.c.slice(),d=o.e,v=e.c,m=e.e;if(!p[0]||!v[0]){return v[0]?(e.s=-h,e):new u(p[0]?o:0)}if(c=d-m){if(a=c<0){c=-c;s=p}else{m=d;s=v}s.reverse();for(h=c;h--;)s.push(0);s.reverse()}else{r=((a=p.length0)for(;h--;)p[t++]=0;for(h=t;r>c;){if(p[--r]0){h=u;t=p}else{a=-a;t=c}t.reverse();for(;a--;)t.push(0);t.reverse()}if(c.length-p.length<0){t=p;p=c;c=t}a=p.length;for(o=0;a;c[a]%=10)o=(c[--a]=c[a]+p[a]+o)/10|0;if(o){c.unshift(o);++h}for(a=c.length;c[--a]===0;)c.pop();e.c=c;e.e=h;return e};y.pow=function(e){var t=this,r=new t.constructor(1),s=r,a=e<0;if(e!==~~e||e<-u||e>u)throw Error(d+"exponent");if(a)e=-e;for(;;){if(e&1)s=s.times(t);e>>=1;if(!e)break;t=t.times(t)}return a?r.div(s):s};y.round=function(e,t){var r=this.constructor;if(e===_)e=0;else if(e!==~~e||e<-o||e>o)throw Error(v);return round(new r(this),e,t===_?r.RM:t)};y.sqrt=function(){var e,t,r,s=this,a=s.constructor,o=s.s,u=s.e,c=new a(.5);if(!s.c[0])return new a(s);if(o<0)throw Error(p+"No square root");o=Math.sqrt(s+"");if(o===0||o===1/0){t=s.c.join("");if(!(t.length+u&1))t+="0";o=Math.sqrt(t);u=((u+1)/2|0)-(u<0||u&1);e=new a((o==1/0?"1e":(o=o.toExponential()).slice(0,o.indexOf("e")+1))+u)}else{e=new a(o)}u=e.e+(a.DP+=4);do{r=e;e=c.times(r.plus(s.div(r)))}while(r.c.slice(0,u).join("")!==e.c.slice(0,u).join(""));return round(e,a.DP-=4,a.RM)};y.times=y.mul=function(e){var t,r=this,s=r.constructor,a=r.c,o=(e=new s(e)).c,u=a.length,c=o.length,h=r.e,p=e.e;e.s=r.s==e.s?1:-1;if(!a[0]||!o[0])return new s(e.s*0);e.e=h+p;if(uh;){c=t[p]+o[h]*a[p-h-1]+c;t[p--]=c%10;c=c/10|0}t[p]=(t[p]+c)%10}if(c)++e.e;else t.shift();for(h=t.length;!t[--h];)t.pop();e.c=t;return e};y.toExponential=function(e){return stringify(this,1,e,e)};y.toFixed=function(e){return stringify(this,2,e,this.e+e)};y.toPrecision=function(e){return stringify(this,3,e,e-1)};y.toString=function(){return stringify(this)};y.valueOf=y.toJSON=function(){return stringify(this,4)};r=_Big_();r["default"]=r.Big=r;if(typeof define==="function"&&define.amd){define((function(){return r}))}else if(true&&e.exports){e.exports=r}else{t.Big=r}})(this)},8384:(module,exports,__nested_webpack_require_255586__)=>{var fs=__nested_webpack_require_255586__(5747),path=__nested_webpack_require_255586__(5622),fileURLToPath=__nested_webpack_require_255586__(912),join=path.join,dirname=path.dirname,exists=fs.accessSync&&function(e){try{fs.accessSync(e)}catch(e){return false}return true}||fs.existsSync||path.existsSync,defaults={arrow:process.env.NODE_BINDINGS_ARROW||" → ",compiled:process.env.NODE_BINDINGS_COMPILED_DIR||"compiled",platform:process.platform,arch:process.arch,nodePreGyp:"node-v"+process.versions.modules+"-"+process.platform+"-"+process.arch,version:process.versions.node,bindings:"bindings.node",try:[["module_root","build","bindings"],["module_root","build","Debug","bindings"],["module_root","build","Release","bindings"],["module_root","out","Debug","bindings"],["module_root","Debug","bindings"],["module_root","out","Release","bindings"],["module_root","Release","bindings"],["module_root","build","default","bindings"],["module_root","compiled","version","platform","arch","bindings"],["module_root","addon-build","release","install-root","bindings"],["module_root","addon-build","debug","install-root","bindings"],["module_root","addon-build","default","install-root","bindings"],["module_root","lib","binding","nodePreGyp","bindings"]]};function bindings(opts){if(typeof opts=="string"){opts={bindings:opts}}else if(!opts){opts={}}Object.keys(defaults).map((function(e){if(!(e in opts))opts[e]=defaults[e]}));if(!opts.module_root){opts.module_root=exports.getRoot(exports.getFileName())}if(path.extname(opts.bindings)!=".node"){opts.bindings+=".node"}var requireFunc=true?eval("require"):0;var tries=[],i=0,l=opts.try.length,n,b,err;for(;i{var s=r(6891);var a=r(9417);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var u="\0OPEN"+Math.random()+"\0";var c="\0CLOSE"+Math.random()+"\0";var h="\0COMMA"+Math.random()+"\0";var p="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(u).split("\\}").join(c).split("\\,").join(h).split("\\.").join(p)}function unescapeBraces(e){return e.split(o).join("\\").split(u).join("{").split(c).join("}").split(h).join(",").split(p).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=a("{","}",e);if(!r)return e.split(",");var s=r.pre;var o=r.body;var u=r.post;var c=s.split(",");c[c.length-1]+="{"+o+"}";var h=parseCommaParts(u);if(u.length){c[c.length-1]+=h.shift();c.push.apply(c,h)}t.push.apply(t,c);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=a("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var h=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var p=u||h;var d=o.body.indexOf(",")>=0;if(!p&&!d){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+c+o.post;return expand(e)}return[e]}var v;if(p){v=o.body.split(/\.\./)}else{v=parseCommaParts(o.body);if(v.length===1){v=expand(v[0],false).map(embrace);if(v.length===1){var m=o.post.length?expand(o.post,false):[""];return m.map((function(e){return o.pre+v[0]+e}))}}}var g=o.pre;var m=o.post.length?expand(o.post,false):[""];var y;if(p){var _=numeric(v[0]);var E=numeric(v[1]);var x=Math.max(v[0].length,v[1].length);var w=v.length==3?Math.abs(numeric(v[2])):1;var D=lte;var C=E<_;if(C){w*=-1;D=gte}var A=v.some(isPadded);y=[];for(var S=_;D(S,E);S+=w){var k;if(h){k=String.fromCharCode(S);if(k==="\\")k=""}else{k=String(S);if(A){var F=x-k.length;if(F>0){var R=new Array(F+1).join("0");if(S<0)k="-"+R+k.slice(1);else k=R+k}}}y.push(k)}}else{y=s(v,(function(e){return expand(e,false)}))}for(var T=0;T{"use strict";e.exports=function(e,t){if(e===null||e===undefined){throw TypeError()}e=String(e);var r=e.length;var s=t?Number(t):0;if(Number.isNaN(s)){s=0}if(s<0||s>=r){return undefined}var a=e.charCodeAt(s);if(a>=55296&&a<=56319&&r>s+1){var o=e.charCodeAt(s+1);if(o>=56320&&o<=57343){return(a-55296)*1024+o-56320+65536}}return a}},6891:e=>{e.exports=function(e,r){var s=[];for(var a=0;a{"use strict";var r="[";t.up=function up(e){return r+(e||"")+"A"};t.down=function down(e){return r+(e||"")+"B"};t.forward=function forward(e){return r+(e||"")+"C"};t.back=function back(e){return r+(e||"")+"D"};t.nextLine=function nextLine(e){return r+(e||"")+"E"};t.previousLine=function previousLine(e){return r+(e||"")+"F"};t.horizontalAbsolute=function horizontalAbsolute(e){if(e==null)throw new Error("horizontalAboslute requires a column to position to");return r+e+"G"};t.eraseData=function eraseData(){return r+"J"};t.eraseLine=function eraseLine(){return r+"K"};t.goto=function(e,t){return r+t+";"+e+"H"};t.gotoSOL=function(){return"\r"};t.beep=function(){return""};t.hideCursor=function hideCursor(){return r+"?25l"};t.showCursor=function showCursor(){return r+"?25h"};var s={reset:0,bold:1,italic:3,underline:4,inverse:7,stopBold:22,stopItalic:23,stopUnderline:24,stopInverse:27,white:37,black:30,blue:34,cyan:36,green:32,magenta:35,red:31,yellow:33,bgWhite:47,bgBlack:40,bgBlue:44,bgCyan:46,bgGreen:42,bgMagenta:45,bgRed:41,bgYellow:43,grey:90,brightBlack:90,brightRed:91,brightGreen:92,brightYellow:93,brightBlue:94,brightMagenta:95,brightCyan:96,brightWhite:97,bgGrey:100,bgBrightBlack:100,bgBrightRed:101,bgBrightGreen:102,bgBrightYellow:103,bgBrightBlue:104,bgBrightMagenta:105,bgBrightCyan:106,bgBrightWhite:107};t.color=function color(e){if(arguments.length!==1||!Array.isArray(e)){e=Array.prototype.slice.call(arguments)}return r+e.map(colorNameToCode).join(";")+"m"};function colorNameToCode(e){if(s[e]!=null)return s[e];throw new Error("Unknown color or style name: "+e)}},5898:(e,t)=>{function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}t.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}t.isBoolean=isBoolean;function isNull(e){return e===null}t.isNull=isNull;function isNullOrUndefined(e){return e==null}t.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}t.isNumber=isNumber;function isString(e){return typeof e==="string"}t.isString=isString;function isSymbol(e){return typeof e==="symbol"}t.isSymbol=isSymbol;function isUndefined(e){return e===void 0}t.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}t.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}t.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}t.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}t.isError=isError;function isFunction(e){return typeof e==="function"}t.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}t.isPrimitive=isPrimitive;t.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},1318:e=>{e.exports=Delegator;function Delegator(e,t){if(!(this instanceof Delegator))return new Delegator(e,t);this.proto=e;this.target=t;this.methods=[];this.getters=[];this.setters=[];this.fluents=[]}Delegator.prototype.method=function(e){var t=this.proto;var r=this.target;this.methods.push(e);t[e]=function(){return this[r][e].apply(this[r],arguments)};return this};Delegator.prototype.access=function(e){return this.getter(e).setter(e)};Delegator.prototype.getter=function(e){var t=this.proto;var r=this.target;this.getters.push(e);t.__defineGetter__(e,(function(){return this[r][e]}));return this};Delegator.prototype.setter=function(e){var t=this.proto;var r=this.target;this.setters.push(e);t.__defineSetter__(e,(function(t){return this[r][e]=t}));return this};Delegator.prototype.fluent=function(e){var t=this.proto;var r=this.target;this.fluents.push(e);t[e]=function(t){if("undefined"!=typeof t){this[r][e]=t;return this}else{return this[r][e]}};return this}},4889:(e,t,r)=>{"use strict";var s=r(2087).platform();var a=r(3129).spawnSync;var o=r(5747).readdirSync;var u="glibc";var c="musl";var h={encoding:"utf8",env:process.env};if(!a){a=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(t){return t.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return o(e)}catch(e){}return[]}var p="";var d="";var v="";if(s==="linux"){var m=a("getconf",["GNU_LIBC_VERSION"],h);if(m.status===0){p=u;d=m.stdout.trim().split(" ")[1];v="getconf"}else{var g=a("ldd",["--version"],h);if(g.status===0&&g.stdout.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stdout);v="ldd"}else if(g.status===1&&g.stderr.indexOf(c)!==-1){p=c;d=versionFromMuslLdd(g.stderr);v="ldd"}else{var y=safeReaddirSync("/lib");if(y.some(contains("-linux-gnu"))){p=u;v="filesystem"}else if(y.some(contains("libc.musl-"))){p=c;v="filesystem"}else if(y.some(contains("ld-musl-"))){p=c;v="filesystem"}else{var _=safeReaddirSync("/usr/sbin");if(_.some(contains("glibc"))){p=u;v="filesystem"}}}}}var E=p!==""&&p!==u;e.exports={GLIBC:u,MUSL:c,family:p,version:d,method:v,isNonGlibcLinux:E}},3887:e=>{e.exports=["🀄","🃏","🅰","🅱","🅾","🅿","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂","🈚","🈯","🈲","🈳","🈴","🈵","🈶","🈷","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡","🌤","🌥","🌦","🌧","🌨","🌩","🌪","🌫","🌬","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖","🎗","🎙","🎚","🎛","🎞","🎟","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌","🏍","🏎","🏏","🏐","🏑","🏒","🏓","🏔","🏕","🏖","🏗","🏘","🏙","🏚","🏛","🏜","🏝","🏞","🏟","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳","🏴‍☠️","🏴","🏵","🏷","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿","👀","👁‍🗨","👁","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪🏻","👪🏼","👪🏽","👪🏾","👪🏿","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯🏻‍♀️","👯🏻‍♂️","👯🏻","👯🏼‍♀️","👯🏼‍♂️","👯🏼","👯🏽‍♀️","👯🏽‍♂️","👯🏽","👯🏾‍♀️","👯🏾‍♂️","👯🏾","👯🏿‍♀️","👯🏿‍♂️","👯🏿","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉","🕊","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯","🕰","🕳","🕴🏻","🕴🏼","🕴🏽","🕴🏾","🕴🏿","🕴","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵","🕶","🕷","🕸","🕹","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇","🖊","🖋","🖌","🖍","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥","🖨","🖱","🖲","🖼","🗂","🗃","🗄","🗑","🗒","🗓","🗜","🗝","🗞","🗡","🗣","🗨","🗯","🗳","🗺","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍","🛎","🛏","🛐","🛑","🛒","🛠","🛡","🛢","🛣","🛤","🛥","🛩","🛫","🛬","🛰","🛳","🛴","🛵","🛶","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝🏻","🤝🏼","🤝🏽","🤝🏾","🤝🏿","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻","🤵🏼","🤵🏽","🤵🏾","🤵🏿","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼🏻‍♀️","🤼🏻‍♂️","🤼🏻","🤼🏼‍♀️","🤼🏼‍♂️","🤼🏼","🤼🏽‍♀️","🤼🏽‍♂️","🤼🏽","🤼🏾‍♀️","🤼🏾‍♂️","🤼🏾","🤼🏿‍♀️","🤼🏿‍♂️","🤼🏿","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🧀","‼","⁉","™","ℹ","↔","↕","↖","↗","↘","↙","↩","↪","#⃣","⌚","⌛","⌨","⏏","⏩","⏪","⏫","⏬","⏭","⏮","⏯","⏰","⏱","⏲","⏳","⏸","⏹","⏺","Ⓜ","▪","▫","▶","◀","◻","◼","◽","◾","☀","☁","☂","☃","☄","☎","☑","☔","☕","☘","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝","☠","☢","☣","☦","☪","☮","☯","☸","☹","☺","♀","♂","♈","♉","♊","♋","♌","♍","♎","♏","♐","♑","♒","♓","♠","♣","♥","♦","♨","♻","♿","⚒","⚓","⚔","⚕","⚖","⚗","⚙","⚛","⚜","⚠","⚡","⚪","⚫","⚰","⚱","⚽","⚾","⛄","⛅","⛈","⛎","⛏","⛑","⛓","⛔","⛩","⛪","⛰","⛱","⛲","⛳","⛴","⛵","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷","⛸","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹","⛺","⛽","✂","✅","✈","✉","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍","✏","✒","✔","✖","✝","✡","✨","✳","✴","❄","❇","❌","❎","❓","❔","❕","❗","❣","❤","➕","➖","➗","➡","➰","➿","⤴","⤵","*⃣","⬅","⬆","⬇","⬛","⬜","⭐","⭕","0⃣","〰","〽","1⃣","2⃣","㊗","㊙","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©","®",""]},6465:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";function walk(e,{enter:t,leave:r}){visit(e,null,t,r)}let t=false;const r={skip:()=>t=true};const s={};const a=Object.prototype.toString;function isArray(e){return a.call(e)==="[object Array]"}function visit(e,a,o,u,c,h){if(!e)return;if(o){const s=t;t=false;o.call(r,e,a,c,h);const u=t;t=s;if(u)return}const p=e.type&&s[e.type]||(s[e.type]=Object.keys(e).filter((t=>typeof e[t]==="object")));for(let t=0;t{var s=r(5622).sep||"/";e.exports=fileUriToPath;function fileUriToPath(e){if("string"!=typeof e||e.length<=7||"file://"!=e.substring(0,7)){throw new TypeError("must pass in a file:// URI to convert to a file path")}var t=decodeURI(e.substring(7));var r=t.indexOf("/");var a=t.substring(0,r);var o=t.substring(r+1);if("localhost"==a)a="";if(a){a=s+s+a}o=o.replace(/^(.+)\|/,"$1:");if(s=="\\"){o=o.replace(/\//g,"\\")}if(/^.+\:/.test(o)){}else{o=s+o}return a+o}},6863:(e,t,r)=>{e.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var s=r(5747);var a=s.realpath;var o=s.realpathSync;var u=process.version;var c=/^v[0-5]\./.test(u);var h=r(1734);function newError(e){return e&&e.syscall==="realpath"&&(e.code==="ELOOP"||e.code==="ENOMEM"||e.code==="ENAMETOOLONG")}function realpath(e,t,r){if(c){return a(e,t,r)}if(typeof t==="function"){r=t;t=null}a(e,t,(function(s,a){if(newError(s)){h.realpath(e,t,r)}else{r(s,a)}}))}function realpathSync(e,t){if(c){return o(e,t)}try{return o(e,t)}catch(r){if(newError(r)){return h.realpathSync(e,t)}else{throw r}}}function monkeypatch(){s.realpath=realpath;s.realpathSync=realpathSync}function unmonkeypatch(){s.realpath=a;s.realpathSync=o}},1734:(e,t,r)=>{var s=r(5622);var a=process.platform==="win32";var o=r(5747);var u=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var e;if(u){var t=new Error;e=debugCallback}else e=missingCallback;return e;function debugCallback(e){if(e){t.message=e.message;e=t;missingCallback(e)}}function missingCallback(e){if(e){if(process.throwDeprecation)throw e;else if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);if(process.traceDeprecation)console.trace(t);else console.error(t)}}}}function maybeCallback(e){return typeof e==="function"?e:rethrow()}var c=s.normalize;if(a){var h=/(.*?)(?:[\/\\]+|$)/g}else{var h=/(.*?)(?:[\/]+|$)/g}if(a){var p=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var p=/^[\/]*/}t.realpathSync=function realpathSync(e,t){e=s.resolve(e);if(t&&Object.prototype.hasOwnProperty.call(t,e)){return t[e]}var r=e,u={},c={};var d;var v;var m;var g;start();function start(){var t=p.exec(e);d=t[0].length;v=t[0];m=t[0];g="";if(a&&!c[m]){o.lstatSync(m);c[m]=true}}while(d=e.length){if(t)t[u]=e;return r(null,e)}h.lastIndex=v;var s=h.exec(e);y=m;m+=s[0];g=y+s[1];v=h.lastIndex;if(d[g]||t&&t[g]===g){return process.nextTick(LOOP)}if(t&&Object.prototype.hasOwnProperty.call(t,g)){return gotResolvedLink(t[g])}return o.lstat(g,gotStat)}function gotStat(e,s){if(e)return r(e);if(!s.isSymbolicLink()){d[g]=true;if(t)t[g]=g;return process.nextTick(LOOP)}if(!a){var u=s.dev.toString(32)+":"+s.ino.toString(32);if(c.hasOwnProperty(u)){return gotTarget(null,c[u],g)}}o.stat(g,(function(e){if(e)return r(e);o.readlink(g,(function(e,t){if(!a)c[u]=t;gotTarget(e,t)}))}))}function gotTarget(e,a,o){if(e)return r(e);var u=s.resolve(y,a);if(t)t[o]=u;gotResolvedLink(u)}function gotResolvedLink(t){e=s.resolve(t,e.slice(v));start()}}},4369:(e,t,r)=>{"use strict";var s=r(5543);var a=r(6834);e.exports={activityIndicator:function(e,t,r){if(e.spun==null)return;return s(t,e.spun)},progressbar:function(e,t,r){if(e.completed==null)return;return a(t,r,e.completed)}}},7291:(e,t,r)=>{"use strict";var s=r(1669);var a=t.User=function User(e){var t=new Error(e);Error.captureStackTrace(t,User);t.code="EGAUGE";return t};t.MissingTemplateValue=function MissingTemplateValue(e,t){var r=new a(s.format('Missing template value "%s"',e.type));Error.captureStackTrace(r,MissingTemplateValue);r.template=e;r.values=t;return r};t.Internal=function Internal(e){var t=new Error(e);Error.captureStackTrace(t,Internal);t.code="EGAUGEINTERNAL";return t}},5586:e=>{"use strict";e.exports=isWin32()||isColorTerm();function isWin32(){return process.platform==="win32"}function isColorTerm(){var e=/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i;return!!process.env.COLORTERM||e.test(process.env.TERM)}},1800:(e,t,r)=>{"use strict";var s=r(7305);var a=r(5885);var o=r(5586);var u=r(4931);var c=r(6605);var h=r(5121);var p=r(9279);var d=r(6806);e.exports=Gauge;function callWith(e,t){return function(){return t.call(e)}}function Gauge(e,t){var r,a;if(e&&e.write){a=e;r=t||{}}else if(t&&t.write){a=t;r=e||{}}else{a=p.stderr;r=e||t||{}}this._status={spun:0,section:"",subsection:""};this._paused=false;this._disabled=true;this._showing=false;this._onScreen=false;this._needsRedraw=false;this._hideCursor=r.hideCursor==null?true:r.hideCursor;this._fixedFramerate=r.fixedFramerate==null?!/^v0\.8\./.test(p.version):r.fixedFramerate;this._lastUpdateAt=null;this._updateInterval=r.updateInterval==null?50:r.updateInterval;this._themes=r.themes||c;this._theme=r.theme;var o=this._computeTheme(r.theme);var u=r.template||[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",kerning:1,default:""},{type:"subsection",kerning:1,default:""}];this.setWriteTo(a,r.tty);var h=r.Plumbing||s;this._gauge=new h(o,u,this.getWidth());this._$$doRedraw=callWith(this,this._doRedraw);this._$$handleSizeChange=callWith(this,this._handleSizeChange);this._cleanupOnExit=r.cleanupOnExit==null||r.cleanupOnExit;this._removeOnExit=null;if(r.enabled||r.enabled==null&&this._tty&&this._tty.isTTY){this.enable()}else{this.disable()}}Gauge.prototype={};Gauge.prototype.isEnabled=function(){return!this._disabled};Gauge.prototype.setTemplate=function(e){this._gauge.setTemplate(e);if(this._showing)this._requestRedraw()};Gauge.prototype._computeTheme=function(e){if(!e)e={};if(typeof e==="string"){e=this._themes.getTheme(e)}else if(e&&(Object.keys(e).length===0||e.hasUnicode!=null||e.hasColor!=null)){var t=e.hasUnicode==null?a():e.hasUnicode;var r=e.hasColor==null?o:e.hasColor;e=this._themes.getDefault({hasUnicode:t,hasColor:r,platform:e.platform})}return e};Gauge.prototype.setThemeset=function(e){this._themes=e;this.setTheme(this._theme)};Gauge.prototype.setTheme=function(e){this._gauge.setTheme(this._computeTheme(e));if(this._showing)this._requestRedraw();this._theme=e};Gauge.prototype._requestRedraw=function(){this._needsRedraw=true;if(!this._fixedFramerate)this._doRedraw()};Gauge.prototype.getWidth=function(){return(this._tty&&this._tty.columns||80)-1};Gauge.prototype.setWriteTo=function(e,t){var r=!this._disabled;if(r)this.disable();this._writeTo=e;this._tty=t||e===p.stderr&&p.stdout.isTTY&&p.stdout||e.isTTY&&e||this._tty;if(this._gauge)this._gauge.setWidth(this.getWidth());if(r)this.enable()};Gauge.prototype.enable=function(){if(!this._disabled)return;this._disabled=false;if(this._tty)this._enableEvents();if(this._showing)this.show()};Gauge.prototype.disable=function(){if(this._disabled)return;if(this._showing){this._lastUpdateAt=null;this._showing=false;this._doRedraw();this._showing=true}this._disabled=true;if(this._tty)this._disableEvents()};Gauge.prototype._enableEvents=function(){if(this._cleanupOnExit){this._removeOnExit=u(callWith(this,this.disable))}this._tty.on("resize",this._$$handleSizeChange);if(this._fixedFramerate){this.redrawTracker=h(this._$$doRedraw,this._updateInterval);if(this.redrawTracker.unref)this.redrawTracker.unref()}};Gauge.prototype._disableEvents=function(){this._tty.removeListener("resize",this._$$handleSizeChange);if(this._fixedFramerate)clearInterval(this.redrawTracker);if(this._removeOnExit)this._removeOnExit()};Gauge.prototype.hide=function(e){if(this._disabled)return e&&p.nextTick(e);if(!this._showing)return e&&p.nextTick(e);this._showing=false;this._doRedraw();e&&d(e)};Gauge.prototype.show=function(e,t){this._showing=true;if(typeof e==="string"){this._status.section=e}else if(typeof e==="object"){var r=Object.keys(e);for(var s=0;s{"use strict";function isArguments(e){return e!=null&&typeof e==="object"&&e.hasOwnProperty("callee")}var t={"*":{label:"any",check:function(){return true}},A:{label:"array",check:function(e){return Array.isArray(e)||isArguments(e)}},S:{label:"string",check:function(e){return typeof e==="string"}},N:{label:"number",check:function(e){return typeof e==="number"}},F:{label:"function",check:function(e){return typeof e==="function"}},O:{label:"object",check:function(e){return typeof e==="object"&&e!=null&&!t.A.check(e)&&!t.E.check(e)}},B:{label:"boolean",check:function(e){return typeof e==="boolean"}},E:{label:"error",check:function(e){return e instanceof Error}},Z:{label:"null",check:function(e){return e==null}}};function addSchema(e,t){var r=t[e.length]=t[e.length]||[];if(r.indexOf(e)===-1)r.push(e)}var r=e.exports=function(e,r){if(arguments.length!==2)throw wrongNumberOfArgs(["SA"],arguments.length);if(!e)throw missingRequiredArg(0,"rawSchemas");if(!r)throw missingRequiredArg(1,"args");if(!t.S.check(e))throw invalidType(0,["string"],e);if(!t.A.check(r))throw invalidType(1,["array"],r);var s=e.split("|");var a={};s.forEach((function(e){for(var r=0;r{"use strict";var s=r(6325);e.exports=function(e){if(s(e)){return false}if(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},6529:(e,t,r)=>{"use strict";var s=r(5591);var a=r(8929);var o=r(3737);e.exports=function(e){if(typeof e!=="string"||e.length===0){return 0}var t=0;e=s(e);for(var r=0;r=127&&u<=159){continue}if(u>=65536){r++}if(o(u)){t+=2}else{t++}}return t}},7305:(e,t,r)=>{"use strict";var s=r(3645);var a=r(3444);var o=r(4186);var u=e.exports=function(e,t,r){if(!r)r=80;o("OAN",[e,t,r]);this.showing=false;this.theme=e;this.width=r;this.template=t};u.prototype={};u.prototype.setTheme=function(e){o("O",[e]);this.theme=e};u.prototype.setTemplate=function(e){o("A",[e]);this.template=e};u.prototype.setWidth=function(e){o("N",[e]);this.width=e};u.prototype.hide=function(){return s.gotoSOL()+s.eraseLine()};u.prototype.hideCursor=s.hideCursor;u.prototype.showCursor=s.showCursor;u.prototype.show=function(e){var t=Object.create(this.theme);for(var r in e){t[r]=e[r]}return a(this.width,this.template,t).trim()+s.color("reset")+s.eraseLine()+s.gotoSOL()}},9279:e=>{"use strict";e.exports=process},6834:(e,t,r)=>{"use strict";var s=r(4186);var a=r(3444);var o=r(8413);var u=r(6529);e.exports=function(e,t,r){s("ONN",[e,t,r]);if(r<0)r=0;if(r>1)r=1;if(t<=0)return"";var o=Math.round(t*r);var u=t-o;var c=[{type:"complete",value:repeat(e.complete,o),length:o},{type:"remaining",value:repeat(e.remaining,u),length:u}];return a(t,c,e)};function repeat(e,t){var r="";var s=t;do{if(s%2){r+=e}s=Math.floor(s/2);e+=e}while(s&&u(r){"use strict";var s=r(8034);var a=r(4186);var o=r(7426);var u=r(8413);var c=r(7291);var h=r(2131);function renderValueWithValues(e){return function(t){return renderValue(t,e)}}var p=e.exports=function(e,t,r){var a=prepareItems(e,t,r);var o=a.map(renderValueWithValues(r)).join("");return s.left(u(o,e),e)};function preType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"pre"+t}function postType(e){var t=e.type[0].toUpperCase()+e.type.slice(1);return"post"+t}function hasPreOrPost(e,t){if(!e.type)return;return t[preType(e)]||t[postType(e)]}function generatePreAndPost(e,t){var r=o({},e);var s=Object.create(t);var a=[];var u=preType(r);var c=postType(r);if(s[u]){a.push({value:s[u]});s[u]=null}r.minLength=null;r.length=null;r.maxLength=null;a.push(r);s[r.type]=s[r.type];if(s[c]){a.push({value:s[c]});s[c]=null}return function(e,t,r){return p(r,a,s)}}function prepareItems(e,t,r){function cloneAndObjectify(t,s,a){var o=new h(t,e);var u=o.type;if(o.value==null){if(!(u in r)){if(o.default==null){throw new c.MissingTemplateValue(o,r)}else{o.value=o.default}}else{o.value=r[u]}}if(o.value==null||o.value==="")return null;o.index=s;o.first=s===0;o.last=s===a.length-1;if(hasPreOrPost(o,r))o.value=generatePreAndPost(o,r);return o}var s=t.map(cloneAndObjectify).filter((function(e){return e!=null}));var a=0;var o=e;var u=s.length;function consumeSpace(e){if(e>o)e=o;a+=e;o-=e}function finishSizing(e,t){if(e.finished)throw new c.Internal("Tried to finish template item that was already finished");if(t===Infinity)throw new c.Internal("Length of template item cannot be infinity");if(t!=null)e.length=t;e.minLength=null;e.maxLength=null;--u;e.finished=true;if(e.length==null)e.length=e.getBaseLength();if(e.length==null)throw new c.Internal("Finished template items must have a length");consumeSpace(e.getLength())}s.forEach((function(e){if(!e.kerning)return;var t=e.first?0:s[e.index-1].padRight;if(!e.first&&t=v){finishSizing(e,e.minLength);d=true}}))}while(d&&p++{"use strict";var s=r(9279);try{e.exports=setImmediate}catch(t){e.exports=s.nextTick}},5121:e=>{"use strict";e.exports=setInterval},5543:e=>{"use strict";e.exports=function spin(e,t){return e[t%e.length]}},2131:(e,t,r)=>{"use strict";var s=r(6529);e.exports=TemplateItem;function isPercent(e){if(typeof e!=="string")return false;return e.slice(-1)==="%"}function percent(e){return Number(e.slice(0,-1))/100}function TemplateItem(e,t){this.overallOutputLength=t;this.finished=false;this.type=null;this.value=null;this.length=null;this.maxLength=null;this.minLength=null;this.kerning=null;this.align="left";this.padLeft=0;this.padRight=0;this.index=null;this.first=null;this.last=null;if(typeof e==="string"){this.value=e}else{for(var r in e)this[r]=e[r]}if(isPercent(this.length)){this.length=Math.round(this.overallOutputLength*percent(this.length))}if(isPercent(this.minLength)){this.minLength=Math.round(this.overallOutputLength*percent(this.minLength))}if(isPercent(this.maxLength)){this.maxLength=Math.round(this.overallOutputLength*percent(this.maxLength))}return this}TemplateItem.prototype={};TemplateItem.prototype.getBaseLength=function(){var e=this.length;if(e==null&&typeof this.value==="string"&&this.maxLength==null&&this.minLength==null){e=s(this.value)}return e};TemplateItem.prototype.getLength=function(){var e=this.getBaseLength();if(e==null)return null;return e+this.padLeft+this.padRight};TemplateItem.prototype.getMaxLength=function(){if(this.maxLength==null)return null;return this.maxLength+this.padLeft+this.padRight};TemplateItem.prototype.getMinLength=function(){if(this.minLength==null)return null;return this.minLength+this.padLeft+this.padRight}},1519:(e,t,r)=>{"use strict";var s=r(7426);e.exports=function(){return a.newThemeSet()};var a={};a.baseTheme=r(4369);a.newTheme=function(e,t){if(!t){t=e;e=this.baseTheme}return s({},e,t)};a.getThemeNames=function(){return Object.keys(this.themes)};a.addTheme=function(e,t,r){this.themes[e]=this.newTheme(t,r)};a.addToAllThemes=function(e){var t=this.themes;Object.keys(t).forEach((function(r){s(t[r],e)}));s(this.baseTheme,e)};a.getTheme=function(e){if(!this.themes[e])throw this.newMissingThemeError(e);return this.themes[e]};a.setDefault=function(e,t){if(t==null){t=e;e={}}var r=e.platform==null?"fallback":e.platform;var s=!!e.hasUnicode;var a=!!e.hasColor;if(!this.defaults[r])this.defaults[r]={true:{},false:{}};this.defaults[r][s][a]=t};a.getDefault=function(e){if(!e)e={};var t=e.platform||process.platform;var r=this.defaults[t]||this.defaults.fallback;var a=!!e.hasUnicode;var o=!!e.hasColor;if(!r)throw this.newMissingDefaultThemeError(t,a,o);if(!r[a][o]){if(a&&o&&r[!a][o]){a=false}else if(a&&o&&r[a][!o]){o=false}else if(a&&o&&r[!a][!o]){a=false;o=false}else if(a&&!o&&r[!a][o]){a=false}else if(!a&&o&&r[a][!o]){o=false}else if(r===this.defaults.fallback){throw this.newMissingDefaultThemeError(t,a,o)}}if(r[a][o]){return this.getTheme(r[a][o])}else{return this.getDefault(s({},e,{platform:"fallback"}))}};a.newMissingThemeError=function newMissingThemeError(e){var t=new Error('Could not find a gauge theme named "'+e+'"');Error.captureStackTrace.call(t,newMissingThemeError);t.theme=e;t.code="EMISSINGTHEME";return t};a.newMissingDefaultThemeError=function newMissingDefaultThemeError(e,t,r){var s=new Error("Could not find a gauge theme for your platform/unicode/color use combo:\n"+" platform = "+e+"\n"+" hasUnicode = "+t+"\n"+" hasColor = "+r);Error.captureStackTrace.call(s,newMissingDefaultThemeError);s.platform=e;s.hasUnicode=t;s.hasColor=r;s.code="EMISSINGTHEME";return s};a.newThemeSet=function(){var themeset=function(e){return themeset.getDefault(e)};return s(themeset,a,{themes:s({},this.themes),baseTheme:s({},this.baseTheme),defaults:JSON.parse(JSON.stringify(this.defaults||{}))})}},6605:(e,t,r)=>{"use strict";var s=r(3645);var a=r(1519);var o=e.exports=new a;o.addTheme("ASCII",{preProgressbar:"[",postProgressbar:"]",progressbarTheme:{complete:"#",remaining:"."},activityIndicatorTheme:"-\\|/",preSubsection:">"});o.addTheme("colorASCII",o.getTheme("ASCII"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:".",postRemaining:s.color("reset")}});o.addTheme("brailleSpinner",{preProgressbar:"⸨",postProgressbar:"⸩",progressbarTheme:{complete:"░",remaining:"⠂"},activityIndicatorTheme:"⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏",preSubsection:">"});o.addTheme("colorBrailleSpinner",o.getTheme("brailleSpinner"),{progressbarTheme:{preComplete:s.color("inverse"),complete:" ",postComplete:s.color("stopInverse"),preRemaining:s.color("brightBlack"),remaining:"░",postRemaining:s.color("reset")}});o.setDefault({},"ASCII");o.setDefault({hasColor:true},"colorASCII");o.setDefault({platform:"darwin",hasUnicode:true},"brailleSpinner");o.setDefault({platform:"darwin",hasUnicode:true,hasColor:true},"colorBrailleSpinner")},8413:(e,t,r)=>{"use strict";var s=r(6529);var a=r(5591);e.exports=wideTruncate;function wideTruncate(e,t){if(s(e)===0)return e;if(t<=0)return"";if(s(e)<=t)return e;var r=a(e);var o=e.length+r.length;var u=e.slice(0,t+o);while(s(u)>t){u=u.slice(0,-1)}return u}},7625:(e,t,r)=>{t.alphasort=alphasort;t.alphasorti=alphasorti;t.setopts=setopts;t.ownProp=ownProp;t.makeAbs=makeAbs;t.finish=finish;t.mark=mark;t.isIgnored=isIgnored;t.childrenIgnored=childrenIgnored;function ownProp(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var s=r(5622);var a=r(3973);var o=r(8714);var u=a.Minimatch;function alphasorti(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}function alphasort(e,t){return e.localeCompare(t)}function setupIgnores(e,t){e.ignore=t.ignore||[];if(!Array.isArray(e.ignore))e.ignore=[e.ignore];if(e.ignore.length){e.ignore=e.ignore.map(ignoreMap)}}function ignoreMap(e){var t=null;if(e.slice(-3)==="/**"){var r=e.replace(/(\/\*\*)+$/,"");t=new u(r,{dot:true})}return{matcher:new u(e,{dot:true}),gmatcher:t}}function setopts(e,t,r){if(!r)r={};if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}t="**/"+t}e.silent=!!r.silent;e.pattern=t;e.strict=r.strict!==false;e.realpath=!!r.realpath;e.realpathCache=r.realpathCache||Object.create(null);e.follow=!!r.follow;e.dot=!!r.dot;e.mark=!!r.mark;e.nodir=!!r.nodir;if(e.nodir)e.mark=true;e.sync=!!r.sync;e.nounique=!!r.nounique;e.nonull=!!r.nonull;e.nosort=!!r.nosort;e.nocase=!!r.nocase;e.stat=!!r.stat;e.noprocess=!!r.noprocess;e.absolute=!!r.absolute;e.maxLength=r.maxLength||Infinity;e.cache=r.cache||Object.create(null);e.statCache=r.statCache||Object.create(null);e.symlinks=r.symlinks||Object.create(null);setupIgnores(e,r);e.changedCwd=false;var a=process.cwd();if(!ownProp(r,"cwd"))e.cwd=a;else{e.cwd=s.resolve(r.cwd);e.changedCwd=e.cwd!==a}e.root=r.root||s.resolve(e.cwd,"/");e.root=s.resolve(e.root);if(process.platform==="win32")e.root=e.root.replace(/\\/g,"/");e.cwdAbs=o(e.cwd)?e.cwd:makeAbs(e,e.cwd);if(process.platform==="win32")e.cwdAbs=e.cwdAbs.replace(/\\/g,"/");e.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;e.minimatch=new u(t,r);e.options=e.minimatch.options}function finish(e){var t=e.nounique;var r=t?[]:Object.create(null);for(var s=0,a=e.matches.length;s{e.exports=glob;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(4124);var h=r(8614).EventEmitter;var p=r(5622);var d=r(2357);var v=r(8714);var m=r(9010);var g=r(7625);var y=g.alphasort;var _=g.alphasorti;var E=g.setopts;var x=g.ownProp;var w=r(2492);var D=r(1669);var C=g.childrenIgnored;var A=g.isIgnored;var S=r(1223);function glob(e,t,r){if(typeof t==="function")r=t,t={};if(!t)t={};if(t.sync){if(r)throw new TypeError("callback provided to sync glob");return m(e,t)}return new Glob(e,t,r)}glob.sync=m;var k=glob.GlobSync=m.GlobSync;glob.glob=glob;function extend(e,t){if(t===null||typeof t!=="object"){return e}var r=Object.keys(t);var s=r.length;while(s--){e[r[s]]=t[r[s]]}return e}glob.hasMagic=function(e,t){var r=extend({},t);r.noprocess=true;var s=new Glob(e,r);var a=s.minimatch.set;if(!e)return false;if(a.length>1)return true;for(var o=0;othis.maxLength)return t();if(!this.stat&&x(this.cache,r)){var o=this.cache[r];if(Array.isArray(o))o="DIR";if(!a||o==="DIR")return t(null,o);if(a&&o==="FILE")return t()}var u;var c=this.statCache[r];if(c!==undefined){if(c===false)return t(null,c);else{var h=c.isDirectory()?"DIR":"FILE";if(a&&h==="FILE")return t();else return t(null,h,c)}}var p=this;var d=w("stat\0"+r,lstatcb_);if(d)s.lstat(r,d);function lstatcb_(a,o){if(o&&o.isSymbolicLink()){return s.stat(r,(function(s,a){if(s)p._stat2(e,r,null,o,t);else p._stat2(e,r,s,a,t)}))}else{p._stat2(e,r,a,o,t)}}};Glob.prototype._stat2=function(e,t,r,s,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[t]=false;return a()}var o=e.slice(-1)==="/";this.statCache[t]=s;if(t.slice(-1)==="/"&&s&&!s.isDirectory())return a(null,false,s);var u=true;if(s)u=s.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||u;if(o&&u==="FILE")return a();return a(null,u,s)}},9010:(e,t,r)=>{e.exports=globSync;globSync.GlobSync=GlobSync;var s=r(5747);var a=r(6863);var o=r(3973);var u=o.Minimatch;var c=r(1957).Glob;var h=r(1669);var p=r(5622);var d=r(2357);var v=r(8714);var m=r(7625);var g=m.alphasort;var y=m.alphasorti;var _=m.setopts;var E=m.ownProp;var x=m.childrenIgnored;var w=m.isIgnored;function globSync(e,t){if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(e,t).found}function GlobSync(e,t){if(!e)throw new Error("must provide pattern");if(typeof t==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(e,t);_(this,e,t);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var s=0;sthis.maxLength)return false;if(!this.stat&&E(this.cache,t)){var a=this.cache[t];if(Array.isArray(a))a="DIR";if(!r||a==="DIR")return a;if(r&&a==="FILE")return false}var o;var u=this.statCache[t];if(!u){var c;try{c=s.lstatSync(t)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR")){this.statCache[t]=false;return false}}if(c&&c.isSymbolicLink()){try{u=s.statSync(t)}catch(e){u=c}}else{u=c}}this.statCache[t]=u;var a=true;if(u)a=u.isDirectory()?"DIR":"FILE";this.cache[t]=this.cache[t]||a;if(r&&a==="FILE")return false;return a};GlobSync.prototype._mark=function(e){return m.mark(this,e)};GlobSync.prototype._makeAbs=function(e){return m.makeAbs(this,e)}},7356:e=>{"use strict";e.exports=clone;function clone(e){if(e===null||typeof e!=="object")return e;if(e instanceof Object)var t={__proto__:e.__proto__};else var t=Object.create(null);Object.getOwnPropertyNames(e).forEach((function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(e,r))}));return t}},7758:(e,t,r)=>{var s=r(5747);var a=r(263);var o=r(3086);var u=r(7356);var c=[];var h=r(1669);function noop(){}var p=noop;if(h.debuglog)p=h.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))p=function(){var e=h.format.apply(h,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: ");console.error(e)};if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){p(c);r(2357).equal(c.length,0)}))}e.exports=patch(u(s));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!s.__patched){e.exports=patch(s);s.__patched=true}e.exports.close=function(e){return function(t,r){return e.call(s,t,(function(e){if(!e)retry();if(typeof r==="function")r.apply(this,arguments)}))}}(s.close);e.exports.closeSync=function(e){return function(t){var r=e.apply(s,arguments);retry();return r}}(s.closeSync);if(!/\bgraceful-fs\b/.test(s.closeSync.toString())){s.closeSync=e.exports.closeSync;s.close=e.exports.close}function patch(e){a(e);e.gracefulify=patch;e.FileReadStream=ReadStream;e.FileWriteStream=WriteStream;e.createReadStream=createReadStream;e.createWriteStream=createWriteStream;var t=e.readFile;e.readFile=readFile;function readFile(e,r,s){if(typeof r==="function")s=r,r=null;return go$readFile(e,r,s);function go$readFile(e,r,s){return t(e,r,(function(t){if(t&&(t.code==="EMFILE"||t.code==="ENFILE"))enqueue([go$readFile,[e,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}var r=e.writeFile;e.writeFile=writeFile;function writeFile(e,t,s,a){if(typeof s==="function")a=s,s=null;return go$writeFile(e,t,s,a);function go$writeFile(e,t,s,a){return r(e,t,s,(function(r){if(r&&(r.code==="EMFILE"||r.code==="ENFILE"))enqueue([go$writeFile,[e,t,s,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var s=e.appendFile;if(s)e.appendFile=appendFile;function appendFile(e,t,r,a){if(typeof r==="function")a=r,r=null;return go$appendFile(e,t,r,a);function go$appendFile(e,t,r,a){return s(e,t,r,(function(s){if(s&&(s.code==="EMFILE"||s.code==="ENFILE"))enqueue([go$appendFile,[e,t,r,a]]);else{if(typeof a==="function")a.apply(this,arguments);retry()}}))}}var u=e.readdir;e.readdir=readdir;function readdir(e,t,r){var s=[e];if(typeof t!=="function"){s.push(t)}else{r=t}s.push(go$readdir$cb);return go$readdir(s);function go$readdir$cb(e,t){if(t&&t.sort)t.sort();if(e&&(e.code==="EMFILE"||e.code==="ENFILE"))enqueue([go$readdir,[s]]);else{if(typeof r==="function")r.apply(this,arguments);retry()}}}function go$readdir(t){return u.apply(e,t)}if(process.version.substr(0,4)==="v0.8"){var c=o(e);ReadStream=c.ReadStream;WriteStream=c.WriteStream}var h=e.ReadStream;if(h){ReadStream.prototype=Object.create(h.prototype);ReadStream.prototype.open=ReadStream$open}var p=e.WriteStream;if(p){WriteStream.prototype=Object.create(p.prototype);WriteStream.prototype.open=WriteStream$open}e.ReadStream=ReadStream;e.WriteStream=WriteStream;function ReadStream(e,t){if(this instanceof ReadStream)return h.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){if(e.autoClose)e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r);e.read()}}))}function WriteStream(e,t){if(this instanceof WriteStream)return p.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var e=this;open(e.path,e.flags,e.mode,(function(t,r){if(t){e.destroy();e.emit("error",t)}else{e.fd=r;e.emit("open",r)}}))}function createReadStream(e,t){return new ReadStream(e,t)}function createWriteStream(e,t){return new WriteStream(e,t)}var d=e.open;e.open=open;function open(e,t,r,s){if(typeof r==="function")s=r,r=null;return go$open(e,t,r,s);function go$open(e,t,r,s){return d(e,t,r,(function(a,o){if(a&&(a.code==="EMFILE"||a.code==="ENFILE"))enqueue([go$open,[e,t,r,s]]);else{if(typeof s==="function")s.apply(this,arguments);retry()}}))}}return e}function enqueue(e){p("ENQUEUE",e[0].name,e[1]);c.push(e)}function retry(){var e=c.shift();if(e){p("RETRY",e[0].name,e[1]);e[0].apply(null,e[1])}}},3086:(e,t,r)=>{var s=r(2413).Stream;e.exports=legacy;function legacy(e){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(t,r){if(!(this instanceof ReadStream))return new ReadStream(t,r);s.call(this);var a=this;this.path=t;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;r=r||{};var o=Object.keys(r);for(var u=0,c=o.length;uthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){a._read()}));return}e.open(this.path,this.flags,this.mode,(function(e,t){if(e){a.emit("error",e);a.readable=false;return}a.fd=t;a.emit("open",t);a._read()}))}function WriteStream(t,r){if(!(this instanceof WriteStream))return new WriteStream(t,r);s.call(this);this.path=t;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;r=r||{};var a=Object.keys(r);for(var o=0,u=a.length;o= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=e.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},263:(e,t,r)=>{var s=r(7619);var a=process.cwd;var o=null;var u=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!o)o=a.call(process);return o};try{process.cwd()}catch(e){}var c=process.chdir;process.chdir=function(e){o=null;c.call(process,e)};e.exports=patch;function patch(e){if(s.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(e)}if(!e.lutimes){patchLutimes(e)}e.chown=chownFix(e.chown);e.fchown=chownFix(e.fchown);e.lchown=chownFix(e.lchown);e.chmod=chmodFix(e.chmod);e.fchmod=chmodFix(e.fchmod);e.lchmod=chmodFix(e.lchmod);e.chownSync=chownFixSync(e.chownSync);e.fchownSync=chownFixSync(e.fchownSync);e.lchownSync=chownFixSync(e.lchownSync);e.chmodSync=chmodFixSync(e.chmodSync);e.fchmodSync=chmodFixSync(e.fchmodSync);e.lchmodSync=chmodFixSync(e.lchmodSync);e.stat=statFix(e.stat);e.fstat=statFix(e.fstat);e.lstat=statFix(e.lstat);e.statSync=statFixSync(e.statSync);e.fstatSync=statFixSync(e.fstatSync);e.lstatSync=statFixSync(e.lstatSync);if(!e.lchmod){e.lchmod=function(e,t,r){if(r)process.nextTick(r)};e.lchmodSync=function(){}}if(!e.lchown){e.lchown=function(e,t,r,s){if(s)process.nextTick(s)};e.lchownSync=function(){}}if(u==="win32"){e.rename=function(t){return function(r,s,a){var o=Date.now();var u=0;t(r,s,(function CB(c){if(c&&(c.code==="EACCES"||c.code==="EPERM")&&Date.now()-o<6e4){setTimeout((function(){e.stat(s,(function(e,o){if(e&&e.code==="ENOENT")t(r,s,CB);else a(c)}))}),u);if(u<100)u+=10;return}if(a)a(c)}))}}(e.rename)}e.read=function(t){return function(r,s,a,o,u,c){var h;if(c&&typeof c==="function"){var p=0;h=function(d,v,m){if(d&&d.code==="EAGAIN"&&p<10){p++;return t.call(e,r,s,a,o,u,h)}c.apply(this,arguments)}}return t.call(e,r,s,a,o,u,h)}}(e.read);e.readSync=function(t){return function(r,s,a,o,u){var c=0;while(true){try{return t.call(e,r,s,a,o,u)}catch(e){if(e.code==="EAGAIN"&&c<10){c++;continue}throw e}}}}(e.readSync);function patchLchmod(e){e.lchmod=function(t,r,a){e.open(t,s.O_WRONLY|s.O_SYMLINK,r,(function(t,s){if(t){if(a)a(t);return}e.fchmod(s,r,(function(t){e.close(s,(function(e){if(a)a(t||e)}))}))}))};e.lchmodSync=function(t,r){var a=e.openSync(t,s.O_WRONLY|s.O_SYMLINK,r);var o=true;var u;try{u=e.fchmodSync(a,r);o=false}finally{if(o){try{e.closeSync(a)}catch(e){}}else{e.closeSync(a)}}return u}}function patchLutimes(e){if(s.hasOwnProperty("O_SYMLINK")){e.lutimes=function(t,r,a,o){e.open(t,s.O_SYMLINK,(function(t,s){if(t){if(o)o(t);return}e.futimes(s,r,a,(function(t){e.close(s,(function(e){if(o)o(t||e)}))}))}))};e.lutimesSync=function(t,r,a){var o=e.openSync(t,s.O_SYMLINK);var u;var c=true;try{u=e.futimesSync(o,r,a);c=false}finally{if(c){try{e.closeSync(o)}catch(e){}}else{e.closeSync(o)}}return u}}else{e.lutimes=function(e,t,r,s){if(s)process.nextTick(s)};e.lutimesSync=function(){}}}function chmodFix(t){if(!t)return t;return function(r,s,a){return t.call(e,r,s,(function(e){if(chownErOk(e))e=null;if(a)a.apply(this,arguments)}))}}function chmodFixSync(t){if(!t)return t;return function(r,s){try{return t.call(e,r,s)}catch(e){if(!chownErOk(e))throw e}}}function chownFix(t){if(!t)return t;return function(r,s,a,o){return t.call(e,r,s,a,(function(e){if(chownErOk(e))e=null;if(o)o.apply(this,arguments)}))}}function chownFixSync(t){if(!t)return t;return function(r,s,a){try{return t.call(e,r,s,a)}catch(e){if(!chownErOk(e))throw e}}}function statFix(t){if(!t)return t;return function(r,s){return t.call(e,r,(function(e,t){if(!t)return s.apply(this,arguments);if(t.uid<0)t.uid+=4294967296;if(t.gid<0)t.gid+=4294967296;if(s)s.apply(this,arguments)}))}}function statFixSync(t){if(!t)return t;return function(r){var s=t.call(e,r);if(s.uid<0)s.uid+=4294967296;if(s.gid<0)s.gid+=4294967296;return s}}function chownErOk(e){if(!e)return true;if(e.code==="ENOSYS")return true;var t=!process.getuid||process.getuid()!==0;if(t){if(e.code==="EINVAL"||e.code==="EPERM")return true}return false}}},5885:(e,t,r)=>{"use strict";var s=r(2087);var a=e.exports=function(){if(s.type()=="Windows_NT"){return false}var e=/UTF-?8$/i;var t=process.env.LC_ALL||process.env.LC_CTYPE||process.env.LANG;return e.test(t)}},2492:(e,t,r)=>{var s=r(2940);var a=Object.create(null);var o=r(1223);e.exports=s(inflight);function inflight(e,t){if(a[e]){a[e].push(t);return null}else{a[e]=[t];return makeres(e)}}function makeres(e){return o((function RES(){var t=a[e];var r=t.length;var s=slice(arguments);try{for(var o=0;or){t.splice(0,r);process.nextTick((function(){RES.apply(null,s)}))}else{delete a[e]}}}))}function slice(e){var t=e.length;var r=[];for(var s=0;s{try{var s=r(1669);if(typeof s.inherits!=="function")throw"";e.exports=s.inherits}catch(t){e.exports=r(8544)}},8544:e=>{if(typeof Object.create==="function"){e.exports=function inherits(e,t){if(t){e.super_=t;e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:false,writable:true,configurable:true}})}}}else{e.exports=function inherits(e,t){if(t){e.super_=t;var TempCtor=function(){};TempCtor.prototype=t.prototype;e.prototype=new TempCtor;e.prototype.constructor=e}}}},4882:e=>{"use strict";e.exports=e=>{if(Number.isNaN(e)){return false}if(e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141)){return true}return false}},893:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return t.call(e)=="[object Array]"}},6904:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=r(7583);var a=_interopRequireDefault(s);var o=r(749);var u=_interopRequireDefault(o);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.default={parse:a.default,stringify:u.default};e.exports=t["default"]},7583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=parse;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}var u=void 0;var c=void 0;var h=void 0;var p=void 0;var d=void 0;var v=void 0;var m=void 0;var g=void 0;var y=void 0;function parse(e,t){u=String(e);c="start";h=[];p=0;d=1;v=0;m=undefined;g=undefined;y=undefined;do{m=lex();A[c]()}while(m.type!=="eof");if(typeof t==="function"){return internalize({"":y},"",t)}return y}function internalize(e,t,r){var a=e[t];if(a!=null&&(typeof a==="undefined"?"undefined":s(a))==="object"){for(var o in a){var u=internalize(a,o,r);if(u===undefined){delete a[o]}else{a[o]=u}}}return r.call(e,t,a)}var _=void 0;var E=void 0;var x=void 0;var w=void 0;var D=void 0;function lex(){_="default";E="";x=false;w=1;for(;;){D=peek();var e=C[_]();if(e){return e}}}function peek(){if(u[p]){return String.fromCodePoint(u.codePointAt(p))}}function read(){var e=peek();if(e==="\n"){d++;v=0}else if(e){v+=e.length}else{v++}if(e){p+=e.length}return e}var C={default:function _default(){switch(D){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();_="comment";return;case undefined:read();return newToken("eof")}if(o.isSpaceSeparator(D)){read();return}return C[c]()},comment:function comment(){switch(D){case"*":read();_="multiLineComment";return;case"/":read();_="singleLineComment";return}throw invalidChar(read())},multiLineComment:function multiLineComment(){switch(D){case"*":read();_="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk:function multiLineCommentAsterisk(){switch(D){case"*":read();return;case"/":read();_="default";return;case undefined:throw invalidChar(read())}read();_="multiLineComment"},singleLineComment:function singleLineComment(){switch(D){case"\n":case"\r":case"\u2028":case"\u2029":read();_="default";return;case undefined:read();return newToken("eof")}read()},value:function value(){switch(D){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){w=-1}_="sign";return;case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":x=read()==='"';E="";_="string";return}throw invalidChar(read())},identifierNameStartEscape:function identifierNameStartEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":break;default:if(!o.isIdStartChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},identifierName:function identifierName(){switch(D){case"$":case"_":case"‌":case"‍":E+=read();return;case"\\":read();_="identifierNameEscape";return}if(o.isIdContinueChar(D)){E+=read();return}return newToken("identifier",E)},identifierNameEscape:function identifierNameEscape(){if(D!=="u"){throw invalidChar(read())}read();var e=unicodeEscape();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!o.isIdContinueChar(e)){throw invalidIdentifier()}break}E+=e;_="identifierName"},sign:function sign(){switch(D){case".":E=read();_="decimalPointLeading";return;case"0":E=read();_="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":E=read();_="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",w*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero:function zero(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return;case"x":case"X":E+=read();_="hexadecimal";return}return newToken("numeric",w*0)},decimalInteger:function decimalInteger(){switch(D){case".":E+=read();_="decimalPoint";return;case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalPointLeading:function decimalPointLeading(){if(o.isDigit(D)){E+=read();_="decimalFraction";return}throw invalidChar(read())},decimalPoint:function decimalPoint(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();_="decimalFraction";return}return newToken("numeric",w*Number(E))},decimalFraction:function decimalFraction(){switch(D){case"e":case"E":E+=read();_="decimalExponent";return}if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},decimalExponent:function decimalExponent(){switch(D){case"+":case"-":E+=read();_="decimalExponentSign";return}if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign:function decimalExponentSign(){if(o.isDigit(D)){E+=read();_="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger:function decimalExponentInteger(){if(o.isDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},hexadecimal:function hexadecimal(){if(o.isHexDigit(D)){E+=read();_="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger:function hexadecimalInteger(){if(o.isHexDigit(D)){E+=read();return}return newToken("numeric",w*Number(E))},string:function string(){switch(D){case"\\":read();E+=escape();return;case'"':if(x){read();return newToken("string",E)}E+=read();return;case"'":if(!x){read();return newToken("string",E)}E+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(D);break;case undefined:throw invalidChar(read())}E+=read()},start:function start(){switch(D){case"{":case"[":return newToken("punctuator",read())}_="value"},beforePropertyName:function beforePropertyName(){switch(D){case"$":case"_":E=read();_="identifierName";return;case"\\":read();_="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":x=read()==='"';_="string";return}if(o.isIdStartChar(D)){E+=read();_="identifierName";return}throw invalidChar(read())},afterPropertyName:function afterPropertyName(){if(D===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue:function beforePropertyValue(){_="value"},afterPropertyValue:function afterPropertyValue(){switch(D){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue:function beforeArrayValue(){if(D==="]"){return newToken("punctuator",read())}_="value"},afterArrayValue:function afterArrayValue(){switch(D){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end:function end(){throw invalidChar(read())}};function newToken(e,t){return{type:e,value:t,line:d,column:v}}function literal(e){var t=true;var r=false;var s=undefined;try{for(var a=e[Symbol.iterator](),o;!(t=(o=a.next()).done);t=true){var u=o.value;var c=peek();if(c!==u){throw invalidChar(read())}read()}}catch(e){r=true;s=e}finally{try{if(!t&&a.return){a.return()}}finally{if(r){throw s}}}}function escape(){var e=peek();switch(e){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(o.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){var e="";var t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();t=peek();if(!o.isHexDigit(t)){throw invalidChar(read())}e+=read();return String.fromCodePoint(parseInt(e,16))}function unicodeEscape(){var e="";var t=4;while(t-- >0){var r=peek();if(!o.isHexDigit(r)){throw invalidChar(read())}e+=read()}return String.fromCodePoint(parseInt(e,16))}var A={start:function start(){if(m.type==="eof"){throw invalidEOF()}push()},beforePropertyName:function beforePropertyName(){switch(m.type){case"identifier":case"string":g=m.value;c="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName:function afterPropertyName(){if(m.type==="eof"){throw invalidEOF()}c="beforePropertyValue"},beforePropertyValue:function beforePropertyValue(){if(m.type==="eof"){throw invalidEOF()}push()},beforeArrayValue:function beforeArrayValue(){if(m.type==="eof"){throw invalidEOF()}if(m.type==="punctuator"&&m.value==="]"){pop();return}push()},afterPropertyValue:function afterPropertyValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforePropertyName";return;case"}":pop()}},afterArrayValue:function afterArrayValue(){if(m.type==="eof"){throw invalidEOF()}switch(m.value){case",":c="beforeArrayValue";return;case"]":pop()}},end:function end(){}};function push(){var e=void 0;switch(m.type){case"punctuator":switch(m.value){case"{":e={};break;case"[":e=[];break}break;case"null":case"boolean":case"numeric":case"string":e=m.value;break}if(y===undefined){y=e}else{var t=h[h.length-1];if(Array.isArray(t)){t.push(e)}else{t[g]=e}}if(e!==null&&(typeof e==="undefined"?"undefined":s(e))==="object"){h.push(e);if(Array.isArray(e)){c="beforeArrayValue"}else{c="beforePropertyName"}}else{var r=h[h.length-1];if(r==null){c="end"}else if(Array.isArray(r)){c="afterArrayValue"}else{c="afterPropertyValue"}}}function pop(){h.pop();var e=h[h.length-1];if(e==null){c="end"}else if(Array.isArray(e)){c="afterArrayValue"}else{c="afterPropertyValue"}}function invalidChar(e){if(e===undefined){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}return syntaxError("JSON5: invalid character '"+formatChar(e)+"' at "+d+":"+v)}function invalidEOF(){return syntaxError("JSON5: invalid end of input at "+d+":"+v)}function invalidIdentifier(){v-=5;return syntaxError("JSON5: invalid identifier character at "+d+":"+v)}function separatorChar(e){console.warn("JSON5: '"+e+"' is not valid ECMAScript; consider escaping")}function formatChar(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e]){return t[e]}if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function syntaxError(e){var t=new SyntaxError(e);t.lineNumber=d;t.columnNumber=v;return t}e.exports=t["default"]},749:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});var s=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol==="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=stringify;var a=r(7393);var o=_interopRequireWildcard(a);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function stringify(e,t,r){var a=[];var u="";var c=void 0;var h=void 0;var p="";var d=void 0;if(t!=null&&(typeof t==="undefined"?"undefined":s(t))==="object"&&!Array.isArray(t)){r=t.space;d=t.quote;t=t.replacer}if(typeof t==="function"){h=t}else if(Array.isArray(t)){c=[];var v=true;var m=false;var g=undefined;try{for(var y=t[Symbol.iterator](),_;!(v=(_=y.next()).done);v=true){var E=_.value;var x=void 0;if(typeof E==="string"){x=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){x=String(E)}if(x!==undefined&&c.indexOf(x)<0){c.push(x)}}}catch(e){m=true;g=e}finally{try{if(!v&&y.return){y.return()}}finally{if(m){throw g}}}}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}if(typeof r==="number"){if(r>0){r=Math.min(10,Math.floor(r));p=" ".substr(0,r)}}else if(typeof r==="string"){p=r.substr(0,10)}return serializeProperty("",{"":e});function serializeProperty(e,t){var r=t[e];if(r!=null){if(typeof r.toJSON5==="function"){r=r.toJSON5(e)}else if(typeof r.toJSON==="function"){r=r.toJSON(e)}}if(h){r=h.call(t,e,r)}if(r instanceof Number){r=Number(r)}else if(r instanceof String){r=String(r)}else if(r instanceof Boolean){r=r.valueOf()}switch(r){case null:return"null";case true:return"true";case false:return"false"}if(typeof r==="string"){return quoteString(r,false)}if(typeof r==="number"){return String(r)}if((typeof r==="undefined"?"undefined":s(r))==="object"){return Array.isArray(r)?serializeArray(r):serializeObject(r)}return undefined}function quoteString(e){var t={"'":.1,'"':.2};var r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};var s="";var a=true;var o=false;var u=undefined;try{for(var c=e[Symbol.iterator](),h;!(a=(h=c.next()).done);a=true){var p=h.value;switch(p){case"'":case'"':t[p]++;s+=p;continue}if(r[p]){s+=r[p];continue}if(p<" "){var v=p.charCodeAt(0).toString(16);s+="\\x"+("00"+v).substring(v.length);continue}s+=p}}catch(e){o=true;u=e}finally{try{if(!a&&c.return){c.return()}}finally{if(o){throw u}}}var m=d||Object.keys(t).reduce((function(e,r){return t[e]=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=c||Object.keys(e);var s=[];var o=true;var h=false;var d=undefined;try{for(var v=r[Symbol.iterator](),m;!(o=(m=v.next()).done);o=true){var g=m.value;var y=serializeProperty(g,e);if(y!==undefined){var _=serializeKey(g)+":";if(p!==""){_+=" "}_+=y;s.push(_)}}}catch(e){h=true;d=e}finally{try{if(!o&&v.return){v.return()}}finally{if(h){throw d}}}var E=void 0;if(s.length===0){E="{}"}else{var x=void 0;if(p===""){x=s.join(",");E="{"+x+"}"}else{var w=",\n"+u;x=s.join(w);E="{\n"+u+x+",\n"+t+"}"}}a.pop();u=t;return E}function serializeKey(e){if(e.length===0){return quoteString(e,true)}var t=String.fromCodePoint(e.codePointAt(0));if(!o.isIdStartChar(t)){return quoteString(e,true)}for(var r=t.length;r=0){throw TypeError("Converting circular structure to JSON5")}a.push(e);var t=u;u=u+p;var r=[];for(var s=0;s{"use strict";Object.defineProperty(t,"__esModule",{value:true});var r=t.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;var s=t.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/;var a=t.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},7393:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isSpaceSeparator=isSpaceSeparator;t.isIdStartChar=isIdStartChar;t.isIdContinueChar=isIdContinueChar;t.isDigit=isDigit;t.isHexDigit=isHexDigit;var s=r(1927);var a=_interopRequireWildcard(s);function _interopRequireWildcard(e){if(e&&e.__esModule){return e}else{var t={};if(e!=null){for(var r in e){if(Object.prototype.hasOwnProperty.call(e,r))t[r]=e[r]}}t.default=e;return t}}function isSpaceSeparator(e){return a.Space_Separator.test(e)}function isIdStartChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e==="$"||e==="_"||a.ID_Start.test(e)}function isIdContinueChar(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||e==="$"||e==="_"||e==="‌"||e==="‍"||a.ID_Continue.test(e)}function isDigit(e){return/[0-9]/.test(e)}function isHexDigit(e){return/[0-9A-Fa-f]/.test(e)}},2821:e=>{"use strict";function getCurrentRequest(e){if(e.currentRequest){return e.currentRequest}const t=e.loaders.slice(e.loaderIndex).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getCurrentRequest},3567:(e,t,r)=>{"use strict";const s={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(e,t){const a=s[t];if(!a){throw new Error("Unknown encoding base"+t)}const o=e.length;const u=r(8738);u.RM=u.DP=0;let c=new u(0);for(let t=o-1;t>=0;t--){c=c.times(256).plus(e[t])}let h="";while(c.gt(0)){h=a[c.mod(t)]+h;c=c.div(t)}u.DP=20;u.RM=1;return h}function getHashDigest(e,t,s,a){t=t||"md5";a=a||9999;const o=r(6417).createHash(t);o.update(e);if(s==="base26"||s==="base32"||s==="base36"||s==="base49"||s==="base52"||s==="base58"||s==="base62"||s==="base64"){return encodeBufferToBase(o.digest(),s.substr(4)).substr(0,a)}else{return o.digest(s||"hex").substr(0,a)}}e.exports=getHashDigest},6445:(e,t,r)=>{"use strict";const s=r(5867);function getOptions(e){const t=e.query;if(typeof t==="string"&&t!==""){return s(e.query)}if(!t||typeof t!=="object"){return null}return t}e.exports=getOptions},8715:e=>{"use strict";function getRemainingRequest(e){if(e.remainingRequest){return e.remainingRequest}const t=e.loaders.slice(e.loaderIndex+1).map((e=>e.request)).concat([e.resource]);return t.join("!")}e.exports=getRemainingRequest},3432:(e,t,r)=>{"use strict";const s=r(6445);const a=r(5867);const o=r(4252);const u=r(8715);const c=r(2821);const h=r(507);const p=r(2685);const d=r(5784);const v=r(3567);const m=r(939);t.getOptions=s;t.parseQuery=a;t.stringifyRequest=o;t.getRemainingRequest=u;t.getCurrentRequest=c;t.isUrlRequest=h;t.urlToRequest=p;t.parseString=d;t.getHashDigest=v;t.interpolateName=m},939:(e,t,r)=>{"use strict";const s=r(5622);const a=r(3887);const o=r(3567);const u=/[\uD800-\uDFFF]./;const c=a.filter((e=>u.test(e)));const h={};function encodeStringToEmoji(e,t){if(h[e]){return h[e]}t=t||1;const r=[];do{if(!c.length){throw new Error("Ran out of emoji")}const e=Math.floor(Math.random()*c.length);r.push(c[e]);c.splice(e,1)}while(--t>0);const s=r.join("");h[e]=s;return s}function interpolateName(e,t,r){let a;if(typeof t==="function"){a=t(e.resourcePath)}else{a=t||"[hash].[ext]"}const u=r.context;const c=r.content;const h=r.regExp;let p="bin";let d="file";let v="";let m="";if(e.resourcePath){const t=s.parse(e.resourcePath);let r=e.resourcePath;if(t.ext){p=t.ext.substr(1)}if(t.dir){d=t.name;r=t.dir+s.sep}if(typeof u!=="undefined"){v=s.relative(u,r+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");v=v.substr(0,v.length-1)}else{v=r.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(v.length===1){v=""}else if(v.length>1){m=s.basename(v)}}let g=a;if(c){g=g.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((e,t,r,s)=>o(c,t,r,parseInt(s,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((e,t)=>encodeStringToEmoji(c,parseInt(t,10))))}g=g.replace(/\[ext\]/gi,(()=>p)).replace(/\[name\]/gi,(()=>d)).replace(/\[path\]/gi,(()=>v)).replace(/\[folder\]/gi,(()=>m));if(h&&e.resourcePath){const t=e.resourcePath.match(new RegExp(h));t&&t.forEach(((e,t)=>{g=g.replace(new RegExp("\\["+t+"\\]","ig"),e)}))}if(typeof e.options==="object"&&typeof e.options.customInterpolateName==="function"){g=e.options.customInterpolateName.call(e,g,t,r)}return g}e.exports=interpolateName},507:(e,t,r)=>{"use strict";const s=r(5622);function isUrlRequest(e,t){if(/^[a-z][a-z0-9+.-]*:/i.test(e)&&!s.win32.isAbsolute(e)){return false}if(/^\/\//.test(e)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(e)){return false}if((t===undefined||t===false)&&/^\//.test(e)){return false}return true}e.exports=isUrlRequest},5867:(e,t,r)=>{"use strict";const s=r(6904);const a={null:null,true:true,false:false};function parseQuery(e){if(e.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}e=e.substr(1);if(!e){return{}}if(e.substr(0,1)==="{"&&e.substr(-1)==="}"){return s.parse(e)}const t=e.split(/[,&]/g);const r={};t.forEach((e=>{const t=e.indexOf("=");if(t>=0){let s=e.substr(0,t);let o=decodeURIComponent(e.substr(t+1));if(a.hasOwnProperty(o)){o=a[o]}if(s.substr(-2)==="[]"){s=decodeURIComponent(s.substr(0,s.length-2));if(!Array.isArray(r[s])){r[s]=[]}r[s].push(o)}else{s=decodeURIComponent(s);r[s]=o}}else{if(e.substr(0,1)==="-"){r[decodeURIComponent(e.substr(1))]=false}else if(e.substr(0,1)==="+"){r[decodeURIComponent(e.substr(1))]=true}else{r[decodeURIComponent(e)]=true}}}));return r}e.exports=parseQuery},5784:e=>{"use strict";function parseString(e){try{if(e[0]==='"'){return JSON.parse(e)}if(e[0]==="'"&&e.substr(e.length-1)==="'"){return parseString(e.replace(/\\.|"/g,(e=>e==='"'?'\\"':e)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+e+'"')}catch(t){return e}}e.exports=parseString},4252:(e,t,r)=>{"use strict";const s=r(5622);const a=/^\.\.?[/\\]/;function isAbsolutePath(e){return s.posix.isAbsolute(e)||s.win32.isAbsolute(e)}function isRelativePath(e){return a.test(e)}function stringifyRequest(e,t){const r=t.split("!");const a=e.context||e.options&&e.options.context;return JSON.stringify(r.map((e=>{const t=e.match(/^(.*?)(\?.*)/);const r=t?t[2]:"";let o=t?t[1]:e;if(isAbsolutePath(o)&&a){o=s.relative(a,o);if(isAbsolutePath(o)){return o+r}if(isRelativePath(o)===false){o="./"+o}}return o.replace(/\\/g,"/")+r})).join("!"))}e.exports=stringifyRequest},2685:e=>{"use strict";const t=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(e,r){if(e===""){return""}const s=/^[^?]*~/;let a;if(t.test(e)){a=e}else if(r!==undefined&&r!==false&&/^\//.test(e)){switch(typeof r){case"string":if(s.test(r)){a=r.replace(/([^~/])$/,"$1/")+e.slice(1)}else{a=r+e}break;case"boolean":a=e;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+e+", root = "+r+".")}}else if(/^\.\.?\//.test(e)){a=e}else{a="./"+e}if(s.test(a)){a=a.replace(s,"")}return a}e.exports=urlToRequest},5734:(e,t,r)=>{"use strict";var s=r(4957);var a=function Chunk(e,t,r){this.start=e;this.end=t;this.original=r;this.intro="";this.outro="";this.content=r;this.storeName=false;this.edited=false;Object.defineProperties(this,{previous:{writable:true,value:null},next:{writable:true,value:null}})};a.prototype.appendLeft=function appendLeft(e){this.outro+=e};a.prototype.appendRight=function appendRight(e){this.intro=this.intro+e};a.prototype.clone=function clone(){var e=new a(this.start,this.end,this.original);e.intro=this.intro;e.outro=this.outro;e.content=this.content;e.storeName=this.storeName;e.edited=this.edited;return e};a.prototype.contains=function contains(e){return this.start=s.length){return"\t"}var a=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),Infinity);return new Array(a+1).join(" ")}function getRelativePath(e,t){var r=e.split(/[/\\]/);var s=t.split(/[/\\]/);r.pop();while(r[0]===s[0]){r.shift();s.shift()}if(r.length){var a=r.length;while(a--){r[a]=".."}}return r.concat(s).join("/")}var u=Object.prototype.toString;function isObject(e){return u.call(e)==="[object Object]"}function getLocator(e){var t=e.split("\n");var r=[];for(var s=0,a=0;s>1;if(e=0){a.push(s)}this.rawSegments.push(a)}else if(this.pending){this.rawSegments.push(this.pending)}this.advance(t);this.pending=null};c.prototype.addUneditedChunk=function addUneditedChunk(e,t,r,s,a){var o=t.start;var u=true;while(o1){for(var r=0;r=e&&r<=t){throw new Error("Cannot move a selection inside itself")}this._split(e);this._split(t);this._split(r);var s=this.byStart[e];var a=this.byEnd[t];var o=s.previous;var u=a.next;var c=this.byStart[r];if(!c&&a===this.lastChunk){return this}var h=c?c.previous:this.lastChunk;if(o){o.next=u}if(u){u.previous=o}if(h){h.next=s}if(c){c.previous=a}if(!s.previous){this.firstChunk=a.next}if(!a.next){this.lastChunk=s.previous;this.lastChunk.next=null}s.previous=h;a.next=c||null;if(!h){this.firstChunk=s}if(!c){this.lastChunk=a}return this};d.prototype.overwrite=function overwrite(e,t,r,s){if(typeof r!=="string"){throw new TypeError("replacement content must be a string")}while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(t>this.original.length){throw new Error("end is out of bounds")}if(e===t){throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead")}this._split(e);this._split(t);if(s===true){if(!p.storeName){console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string");p.storeName=true}s={storeName:true}}var o=s!==undefined?s.storeName:false;var u=s!==undefined?s.contentOnly:false;if(o){var c=this.original.slice(e,t);this.storedNames[c]=true}var h=this.byStart[e];var d=this.byEnd[t];if(h){if(t>h.end&&h.next!==this.byStart[h.end]){throw new Error("Cannot overwrite across a split point")}h.edit(r,o,u);if(h!==d){var v=h.next;while(v!==d){v.edit("",false);v=v.next}v.edit("",false)}}else{var m=new a(e,t,"").edit(r,o);d.next=m;m.previous=d}return this};d.prototype.prepend=function prepend(e){if(typeof e!=="string"){throw new TypeError("outro content must be a string")}this.intro=e+this.intro;return this};d.prototype.prependLeft=function prependLeft(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byEnd[e];if(r){r.prependLeft(t)}else{this.intro=t+this.intro}return this};d.prototype.prependRight=function prependRight(e,t){if(typeof t!=="string"){throw new TypeError("inserted content must be a string")}this._split(e);var r=this.byStart[e];if(r){r.prependRight(t)}else{this.outro=t+this.outro}return this};d.prototype.remove=function remove(e,t){while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}if(e===t){return this}if(e<0||t>this.original.length){throw new Error("Character is out of bounds")}if(e>t){throw new Error("end must be greater than start")}this._split(e);this._split(t);var r=this.byStart[e];while(r){r.intro="";r.outro="";r.edit("");r=t>r.end?this.byStart[r.end]:null}return this};d.prototype.lastChar=function lastChar(){if(this.outro.length){return this.outro[this.outro.length-1]}var e=this.lastChunk;do{if(e.outro.length){return e.outro[e.outro.length-1]}if(e.content.length){return e.content[e.content.length-1]}if(e.intro.length){return e.intro[e.intro.length-1]}}while(e=e.previous);if(this.intro.length){return this.intro[this.intro.length-1]}return""};d.prototype.lastLine=function lastLine(){var e=this.outro.lastIndexOf(h);if(e!==-1){return this.outro.substr(e+1)}var t=this.outro;var r=this.lastChunk;do{if(r.outro.length>0){e=r.outro.lastIndexOf(h);if(e!==-1){return r.outro.substr(e+1)+t}t=r.outro+t}if(r.content.length>0){e=r.content.lastIndexOf(h);if(e!==-1){return r.content.substr(e+1)+t}t=r.content+t}if(r.intro.length>0){e=r.intro.lastIndexOf(h);if(e!==-1){return r.intro.substr(e+1)+t}t=r.intro+t}}while(r=r.previous);e=this.intro.lastIndexOf(h);if(e!==-1){return this.intro.substr(e+1)+t}return this.intro+t};d.prototype.slice=function slice(e,t){if(e===void 0)e=0;if(t===void 0)t=this.original.length;while(e<0){e+=this.original.length}while(t<0){t+=this.original.length}var r="";var s=this.firstChunk;while(s&&(s.start>e||s.end<=e)){if(s.start=t){return r}s=s.next}if(s&&s.edited&&s.start!==e){throw new Error("Cannot use replaced character "+e+" as slice start anchor.")}var a=s;while(s){if(s.intro&&(a!==s||s.start===e)){r+=s.intro}var o=s.start=t;if(o&&s.edited&&s.end!==t){throw new Error("Cannot use replaced character "+t+" as slice end anchor.")}var u=a===s?e-s.start:0;var c=o?s.content.length+t-s.end:s.content.length;r+=s.content.slice(u,c);if(s.outro&&(!o||s.end===t)){r+=s.outro}if(o){break}s=s.next}return r};d.prototype.snip=function snip(e,t){var r=this.clone();r.remove(0,e);r.remove(t,r.original.length);return r};d.prototype._split=function _split(e){if(this.byStart[e]||this.byEnd[e]){return}var t=this.lastSearchedChunk;var r=e>t.end;while(t){if(t.contains(e)){return this._splitChunk(t,e)}t=r?this.byStart[t.end]:this.byEnd[t.start]}};d.prototype._splitChunk=function _splitChunk(e,t){if(e.edited&&e.content.length){var r=getLocator(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' – "'+e.original+'")')}var s=e.split(t);this.byEnd[t]=e;this.byStart[t]=s;this.byEnd[s.end]=s;if(e===this.lastChunk){this.lastChunk=s}this.lastSearchedChunk=e;return true};d.prototype.toString=function toString(){var e=this.intro;var t=this.firstChunk;while(t){e+=t.toString();t=t.next}return e+this.outro};d.prototype.isEmpty=function isEmpty(){var e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim()){return false}}while(e=e.next);return true};d.prototype.length=function length(){var e=this.firstChunk;var length=0;do{length+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return length};d.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};d.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};d.prototype.trimEndAborted=function trimEndAborted(e){var t=new RegExp((e||"\\s")+"+$");this.outro=this.outro.replace(t,"");if(this.outro.length){return true}var r=this.lastChunk;do{var s=r.end;var a=r.trimEnd(t);if(r.end!==s){if(this.lastChunk===r){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.previous}while(r);return false};d.prototype.trimEnd=function trimEnd(e){this.trimEndAborted(e);return this};d.prototype.trimStartAborted=function trimStartAborted(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(this.intro.length){return true}var r=this.firstChunk;do{var s=r.end;var a=r.trimStart(t);if(r.end!==s){if(r===this.lastChunk){this.lastChunk=r.next}this.byEnd[r.end]=r;this.byStart[r.next.start]=r.next;this.byEnd[r.next.end]=r.next}if(a){return true}r=r.next}while(r);return false};d.prototype.trimStart=function trimStart(e){this.trimStartAborted(e);return this};var v=Object.prototype.hasOwnProperty;var m=function Bundle(e){if(e===void 0)e={};this.intro=e.intro||"";this.separator=e.separator!==undefined?e.separator:"\n";this.sources=[];this.uniqueSources=[];this.uniqueSourceIndexByFilename={}};m.prototype.addSource=function addSource(e){if(e instanceof d){return this.addSource({content:e,filename:e.filename,separator:this.separator})}if(!isObject(e)||!e.content){throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`")}["filename","indentExclusionRanges","separator"].forEach((function(t){if(!v.call(e,t)){e[t]=e.content[t]}}));if(e.separator===undefined){e.separator=this.separator}if(e.filename){if(!v.call(this.uniqueSourceIndexByFilename,e.filename)){this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length;this.uniqueSources.push({filename:e.filename,content:e.content.original})}else{var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content){throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}}}this.sources.push(e);return this};m.prototype.append=function append(e,t){this.addSource({content:new d(e),separator:t&&t.separator||""});return this};m.prototype.clone=function clone(){var e=new m({intro:this.intro,separator:this.separator});this.sources.forEach((function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}));return e};m.prototype.generateDecodedMap=function generateDecodedMap(e){var t=this;if(e===void 0)e={};var r=[];this.sources.forEach((function(e){Object.keys(e.content.storedNames).forEach((function(e){if(!~r.indexOf(e)){r.push(e)}}))}));var s=new c(e.hires);if(this.intro){s.advance(this.intro)}this.sources.forEach((function(e,a){if(a>0){s.advance(t.separator)}var o=e.filename?t.uniqueSourceIndexByFilename[e.filename]:-1;var u=e.content;var c=getLocator(u.original);if(u.intro){s.advance(u.intro)}u.firstChunk.eachNext((function(t){var a=c(t.start);if(t.intro.length){s.advance(t.intro)}if(e.filename){if(t.edited){s.addEdit(o,t.content,a,t.storeName?r.indexOf(t.original):-1)}else{s.addUneditedChunk(o,t,u.original,a,u.sourcemapLocations)}}else{s.advance(t.content)}if(t.outro.length){s.advance(t.outro)}}));if(u.outro){s.advance(u.outro)}}));return{file:e.file?e.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map((function(t){return e.file?getRelativePath(e.file,t.filename):t.filename})),sourcesContent:this.uniqueSources.map((function(t){return e.includeContent?t.content:null})),names:r,mappings:s.raw}};m.prototype.generateMap=function generateMap(e){return new o(this.generateDecodedMap(e))};m.prototype.getIndentString=function getIndentString(){var e={};this.sources.forEach((function(t){var r=t.content.indentStr;if(r===null){return}if(!e[r]){e[r]=0}e[r]+=1}));return Object.keys(e).sort((function(t,r){return e[t]-e[r]}))[0]||"\t"};m.prototype.indent=function indent(e){var t=this;if(!arguments.length){e=this.getIndentString()}if(e===""){return this}var r=!this.intro||this.intro.slice(-1)==="\n";this.sources.forEach((function(s,a){var o=s.separator!==undefined?s.separator:t.separator;var u=r||a>0&&/\r?\n$/.test(o);s.content.indent(e,{exclude:s.indentExclusionRanges,indentStart:u});r=s.content.lastChar()==="\n"}));if(this.intro){this.intro=e+this.intro.replace(/^[^\n]/gm,(function(t,r){return r>0?e+t:t}))}return this};m.prototype.prepend=function prepend(e){this.intro=e+this.intro;return this};m.prototype.toString=function toString(){var e=this;var t=this.sources.map((function(t,r){var s=t.separator!==undefined?t.separator:e.separator;var a=(r>0?s:"")+t.content.toString();return a})).join("");return this.intro+t};m.prototype.isEmpty=function isEmpty(){if(this.intro.length&&this.intro.trim()){return false}if(this.sources.some((function(e){return!e.content.isEmpty()}))){return false}return true};m.prototype.length=function length(){return this.sources.reduce((function(e,t){return e+t.content.length()}),this.intro.length)};m.prototype.trimLines=function trimLines(){return this.trim("[\\r\\n]")};m.prototype.trim=function trim(e){return this.trimStart(e).trimEnd(e)};m.prototype.trimStart=function trimStart(e){var t=new RegExp("^"+(e||"\\s")+"+");this.intro=this.intro.replace(t,"");if(!this.intro){var r;var s=0;do{r=this.sources[s++];if(!r){break}}while(!r.content.trimStartAborted(e))}return this};m.prototype.trimEnd=function trimEnd(e){var t=new RegExp((e||"\\s")+"+$");var r;var s=this.sources.length-1;do{r=this.sources[s--];if(!r){this.intro=this.intro.replace(t,"");break}}while(!r.content.trimEndAborted(e));return this};d.Bundle=m;d.default=d;e.exports=d},3973:(e,t,r)=>{e.exports=minimatch;minimatch.Minimatch=Minimatch;var s={sep:"/"};try{s=r(5622)}catch(e){}var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var o=r(3717);var u={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var c="[^/]";var h=c+"*?";var p="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var d="(?:(?!(?:\\/|^)\\.).)*?";var v=charSet("().*{}+?[]^$\\!");function charSet(e){return e.split("").reduce((function(e,t){e[t]=true;return e}),{})}var m=/\/+/;minimatch.filter=filter;function filter(e,t){t=t||{};return function(r,s,a){return minimatch(r,e,t)}}function ext(e,t){e=e||{};t=t||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch;var r=function minimatch(r,s,a){return t.minimatch(r,s,ext(e,a))};r.Minimatch=function Minimatch(r,s){return new t.Minimatch(r,ext(e,s))};return r};Minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return Minimatch;return minimatch.defaults(e).Minimatch};function minimatch(e,t,r){if(typeof t!=="string"){throw new TypeError("glob pattern string required")}if(!r)r={};if(!r.nocomment&&t.charAt(0)==="#"){return false}if(t.trim()==="")return e==="";return new Minimatch(t,r).match(e)}function Minimatch(e,t){if(!(this instanceof Minimatch)){return new Minimatch(e,t)}if(typeof e!=="string"){throw new TypeError("glob pattern string required")}if(!t)t={};e=e.trim();if(s.sep!=="/"){e=e.split(s.sep).join("/")}this.options=t;this.set=[];this.pattern=e;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){if(this._made)return;var e=this.pattern;var t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=true;return}if(!e){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(t.debug)this.debug=console.error;this.debug(this.pattern,r);r=this.globParts=r.map((function(e){return e.split(m)}));this.debug(this.pattern,r);r=r.map((function(e,t,r){return e.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(e){return e.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var e=this.pattern;var t=false;var r=this.options;var s=0;if(r.nonegate)return;for(var a=0,o=e.length;a1024*64){throw new TypeError("pattern is too long")}var r=this.options;if(!r.noglobstar&&e==="**")return a;if(e==="")return"";var s="";var o=!!r.nocase;var p=false;var d=[];var m=[];var y;var _=false;var E=-1;var x=-1;var w=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var D=this;function clearStateChar(){if(y){switch(y){case"*":s+=h;o=true;break;case"?":s+=c;o=true;break;default:s+="\\"+y;break}D.debug("clearStateChar %j %j",y,s);y=false}}for(var C=0,A=e.length,S;C-1;N--){var O=m[N];var P=s.slice(0,O.reStart);var L=s.slice(O.reStart,O.reEnd-8);var j=s.slice(O.reEnd-8,O.reEnd);var M=s.slice(O.reEnd);j+=M;var V=P.split("(").length-1;var q=M;for(C=0;C=0;u--){o=e[u];if(o)break}for(u=0;u>> no match, partial?",e,v,t,m);if(v===c)return true}return false}var y;if(typeof p==="string"){if(s.nocase){y=d.toLowerCase()===p.toLowerCase()}else{y=d===p}this.debug("string match",p,d,y)}else{y=d.match(p);this.debug("pattern match",p,d,y)}if(!y)return false}if(o===c&&u===h){return true}else if(o===c){return r}else if(u===h){var _=o===c-1&&e[o]==="";return _}throw new Error("wtf?")};function globUnescape(e){return e.replace(/\\(.)/g,"$1")}function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},4090:(module,__unused_webpack_exports,__nested_webpack_require_520315__)=>{var fs=__nested_webpack_require_520315__(5747);var path=__nested_webpack_require_520315__(5622);var os=__nested_webpack_require_520315__(2087);var runtimeRequire=true?eval("require"):0;var vars=process.config&&process.config.variables||{};var prebuildsOnly=!!process.env.PREBUILDS_ONLY;var abi=process.versions.modules;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];module.exports=load;function load(e){return runtimeRequire(load.path(e))}load.path=function(e){e=path.resolve(e||".");try{var t=runtimeRequire(path.join(e,"package.json")).name.toUpperCase().replace(/-/g,"_");if(process.env[t+"_PREBUILD"])e=process.env[t+"_PREBUILD"]}catch(e){}if(!prebuildsOnly){var r=getFirst(path.join(e,"build/Release"),matchBuild);if(r)return r;var s=getFirst(path.join(e,"build/Debug"),matchBuild);if(s)return s}var a=resolve(e);if(a)return a;var o=resolve(path.dirname(process.execPath));if(o)return o;var u=["platform="+platform,"arch="+arch,"runtime="+runtime,"abi="+abi,"uv="+uv,armv?"armv="+armv:"","libc="+libc].filter(Boolean).join(" ");throw new Error("No native build was found for "+u);function resolve(e){var t=path.join(e,"prebuilds",platform+"-"+arch);var r=readdirSync(t).map(parseTags);var s=r.filter(matchTags(runtime,abi));var a=s.sort(compareTags(runtime))[0];if(a)return path.join(t,a.file)}};function readdirSync(e){try{return fs.readdirSync(e)}catch(e){return[]}}function getFirst(e,t){var r=readdirSync(e).filter(t);return r[0]&&path.join(e,r[0])}function matchBuild(e){return/\.node$/.test(e)}function parseTags(e){var t=e.split(".");var r=t.pop();var s={file:e,specificity:0};if(r!=="node")return;for(var a=0;ar.specificity?-1:1}else{return 0}}}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"}function isAlpine(e){return e==="linux"&&fs.existsSync("/etc/alpine-release")}load.parseTags=parseTags;load.matchTags=matchTags;load.compareTags=compareTags},480:(e,t,r)=>{"use strict";var s=r(5747);var a=r(4959);var o=r(4314);e.exports=t;var u=process.version.substr(1).replace(/-.*$/,"").split(".").map((function(e){return+e}));var c=["build","clean","configure","package","publish","reveal","testbinary","testpackage","unpublish"];var h="napi_build_version=";e.exports.get_napi_version=function(e){var t=process.versions.napi;if(!t){if(u[0]===9&&u[1]>=3)t=2;else if(u[0]===8)t=1}return t};e.exports.get_napi_version_as_string=function(t){var r=e.exports.get_napi_version(t);return r?""+r:""};e.exports.validate_package_json=function(t,r){var s=t.binary;var a=pathOK(s.module_path);var o=pathOK(s.remote_path);var u=pathOK(s.package_name);var c=e.exports.get_napi_build_versions(t,r,true);var h=e.exports.get_napi_build_versions_raw(t);if(c){c.forEach((function(e){if(!(parseInt(e,10)===e&&e>0)){throw new Error("All values specified in napi_versions must be positive integers.")}}))}if(c&&(!a||!o&&!u)){throw new Error("When napi_versions is specified; module_path and either remote_path or "+"package_name must contain the substitution string '{napi_build_version}`.")}if((a||o||u)&&!h){throw new Error("When the substitution string '{napi_build_version}` is specified in "+"module_path, remote_path, or package_name; napi_versions must also be specified.")}if(c&&!e.exports.get_best_napi_build_version(t,r)&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}if(h&&!c&&e.exports.build_napi_only(t)){throw new Error("The N-API version of this Node instance is "+e.exports.get_napi_version(r?r.target:undefined)+". "+"This module supports N-API version(s) "+e.exports.get_napi_build_versions_raw(t)+". "+"This Node instance cannot run this module.")}};function pathOK(e){return e&&(e.indexOf("{napi_build_version}")!==-1||e.indexOf("{node_napi_label}")!==-1)}e.exports.expand_commands=function(t,r,s){var a=[];var o=e.exports.get_napi_build_versions(t,r);s.forEach((function(s){if(o&&s.name==="install"){var u=e.exports.get_best_napi_build_version(t,r);var p=u?[h+u]:[];a.push({name:s.name,args:p})}else if(o&&c.indexOf(s.name)!==-1){o.forEach((function(e){var t=s.args.slice();t.push(h+e);a.push({name:s.name,args:t})}))}else{a.push(s)}}));return a};e.exports.get_napi_build_versions=function(t,r,s){var a=[];var u=e.exports.get_napi_version(r?r.target:undefined);if(t.binary&&t.binary.napi_versions){t.binary.napi_versions.forEach((function(e){var t=a.indexOf(e)!==-1;if(!t&&u&&e<=u){a.push(e)}else if(s&&!t&&u){o.info("This Node instance does not support builds for N-API version",e)}}))}if(r&&r["build-latest-napi-version-only"]){var c=0;a.forEach((function(e){if(e>c)c=e}));a=c?[c]:[]}return a.length?a:undefined};e.exports.get_napi_build_versions_raw=function(e){var t=[];if(e.binary&&e.binary.napi_versions){e.binary.napi_versions.forEach((function(e){if(t.indexOf(e)===-1){t.push(e)}}))}return t.length?t:undefined};e.exports.get_command_arg=function(e){return h+e};e.exports.get_napi_build_version_from_command_args=function(e){for(var t=0;ts&&e<=o){s=e}}))}return s===0?undefined:s};e.exports.build_napi_only=function(e){return e.binary&&e.binary.package_name&&e.binary.package_name.indexOf("{node_napi_label}")===-1}},887:(e,t,r)=>{"use strict";e.exports=t;var s=r(5622);var a=r(5911);var o=r(8835);var u=r(4889);var c=r(480);var h;if(process.env.NODE_PRE_GYP_ABI_CROSSWALK){h=require(process.env.NODE_PRE_GYP_ABI_CROSSWALK)}else{h=r(282)}var p={};Object.keys(h).forEach((function(e){var t=e.split(".")[0];if(!p[t]){p[t]=e}}));function get_electron_abi(e,t){if(!e){throw new Error("get_electron_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if electron is the target.")}var r=a.parse(t);return e+"-v"+r.major+"."+r.minor}e.exports.get_electron_abi=get_electron_abi;function get_node_webkit_abi(e,t){if(!e){throw new Error("get_node_webkit_abi requires valid runtime arg")}if(typeof t==="undefined"){throw new Error("Empty target version is not supported if node-webkit is the target.")}return e+"-v"+t}e.exports.get_node_webkit_abi=get_node_webkit_abi;function get_node_abi(e,t){if(!e){throw new Error("get_node_abi requires valid runtime arg")}if(!t){throw new Error("get_node_abi requires valid process.versions object")}var r=a.parse(t.node);if(r.major===0&&r.minor%2){return e+"-v"+t.node}else{return t.modules?e+"-v"+ +t.modules:"v8-"+t.v8.split(".").slice(0,2).join(".")}}e.exports.get_node_abi=get_node_abi;function get_runtime_abi(e,t){if(!e){throw new Error("get_runtime_abi requires valid runtime arg")}if(e==="node-webkit"){return get_node_webkit_abi(e,t||process.versions["node-webkit"])}else if(e==="electron"){return get_electron_abi(e,t||process.versions.electron)}else{if(e!="node"){throw new Error("Unknown Runtime: '"+e+"'")}if(!t){return get_node_abi(e,process.versions)}else{var r;if(h[t]){r=h[t]}else{var s=t.split(".").map((function(e){return+e}));if(s.length!=3){throw new Error("Unknown target version: "+t)}var a=s[0];var o=s[1];var u=s[2];if(a===1){while(true){if(o>0)--o;if(u>0)--u;var c=""+a+"."+o+"."+u;if(h[c]){r=h[c];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+c+" as ABI compatible target");break}if(o===0&&u===0){break}}}else if(a>=2){if(p[a]){r=h[p[a]];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+p[a]+" as ABI compatible target")}}else if(a===0){if(s[1]%2===0){while(--u>0){var d=""+a+"."+o+"."+u;if(h[d]){r=h[d];console.log("Warning: node-pre-gyp could not find exact match for "+t);console.log("Warning: but node-pre-gyp successfully choose "+d+" as ABI compatible target");break}}}}}if(!r){throw new Error("Unsupported target version: "+t)}var v={node:t,v8:r.v8+".0",modules:r.node_abi>1?r.node_abi:undefined};return get_node_abi(e,v)}}}e.exports.get_runtime_abi=get_runtime_abi;var d=["module_name","module_path","host"];function validate_config(e,t){var r=e.name+" package.json is not node-pre-gyp ready:\n";var s=[];if(!e.main){s.push("main")}if(!e.version){s.push("version")}if(!e.name){s.push("name")}if(!e.binary){s.push("binary")}var a=e.binary;d.forEach((function(e){if(s.indexOf("binary")>-1){s.pop("binary")}if(!a||a[e]===undefined||a[e]===""){s.push("binary."+e)}}));if(s.length>=1){throw new Error(r+"package.json must declare these properties: \n"+s.join("\n"))}if(a){var u=o.parse(a.host).protocol;if(u==="http:"){throw new Error("'host' protocol ("+u+") is invalid - only 'https:' is accepted")}}c.validate_package_json(e,t)}e.exports.validate_config=validate_config;function eval_template(e,t){Object.keys(t).forEach((function(r){var s="{"+r+"}";while(e.indexOf(s)>-1){e=e.replace(s,t[r])}}));return e}function fix_slashes(e){if(e.slice(-1)!="/"){return e+"/"}return e}function drop_double_slashes(e){return e.replace(/\/\//g,"/")}function get_process_runtime(e){var t="node";if(e["node-webkit"]){t="node-webkit"}else if(e.electron){t="electron"}return t}e.exports.get_process_runtime=get_process_runtime;var v="{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz";var m="";e.exports.evaluate=function(e,t,r){t=t||{};validate_config(e,t);var h=e.version;var p=a.parse(h);var d=t.runtime||get_process_runtime(process.versions);var g={name:e.name,configuration:Boolean(t.debug)?"Debug":"Release",debug:t.debug,module_name:e.binary.module_name,version:p.version,prerelease:p.prerelease.length?p.prerelease.join("."):"",build:p.build.length?p.build.join("."):"",major:p.major,minor:p.minor,patch:p.patch,runtime:d,node_abi:get_runtime_abi(d,t.target),node_abi_napi:c.get_napi_version(t.target)?"napi":get_runtime_abi(d,t.target),napi_version:c.get_napi_version(t.target),napi_build_version:r||"",node_napi_label:r?"napi-v"+r:get_runtime_abi(d,t.target),target:t.target||"",platform:t.target_platform||process.platform,target_platform:t.target_platform||process.platform,arch:t.target_arch||process.arch,target_arch:t.target_arch||process.arch,libc:t.target_libc||u.family||"unknown",module_main:e.main,toolset:t.toolset||""};var y=process.env["npm_config_"+g.module_name+"_binary_host_mirror"]||e.binary.host;g.host=fix_slashes(eval_template(y,g));g.module_path=eval_template(e.binary.module_path,g);if(t.module_root){g.module_path=s.join(t.module_root,g.module_path)}else{g.module_path=s.resolve(g.module_path)}g.module=s.join(g.module_path,g.module_name+".node");g.remote_path=e.binary.remote_path?drop_double_slashes(fix_slashes(eval_template(e.binary.remote_path,g))):m;var _=e.binary.package_name?e.binary.package_name:v;g.package_name=eval_template(_,g);g.staged_tarball=s.join("build/stage",g.remote_path,g.package_name);g.hosted_path=o.resolve(g.host,g.remote_path);g.hosted_tarball=o.resolve(g.hosted_path,g.package_name);return g}},4314:(e,t,r)=>{"use strict";var s=r(1083);var a=r(1800);var o=r(8614).EventEmitter;var u=t=e.exports=new o;var c=r(1669);var h=r(9344);var p=r(3645);h(true);var d=process.stderr;Object.defineProperty(u,"stream",{set:function(e){d=e;if(this.gauge)this.gauge.setWriteTo(d,d)},get:function(){return d}});var v;u.useColor=function(){return v!=null?v:d.isTTY};u.enableColor=function(){v=true;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.disableColor=function(){v=false;this.gauge.setTheme({hasColor:v,hasUnicode:m})};u.level="info";u.gauge=new a(d,{enabled:false,theme:{hasColor:u.useColor()},template:[{type:"progressbar",length:20},{type:"activityIndicator",kerning:1,length:1},{type:"section",default:""},":",{type:"logline",kerning:1,default:""}]});u.tracker=new s.TrackerGroup;u.progressEnabled=u.gauge.isEnabled();var m;u.enableUnicode=function(){m=true;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.disableUnicode=function(){m=false;this.gauge.setTheme({hasColor:this.useColor(),hasUnicode:m})};u.setGaugeThemeset=function(e){this.gauge.setThemeset(e)};u.setGaugeTemplate=function(e){this.gauge.setTemplate(e)};u.enableProgress=function(){if(this.progressEnabled)return;this.progressEnabled=true;this.tracker.on("change",this.showProgress);if(this._pause)return;this.gauge.enable()};u.disableProgress=function(){if(!this.progressEnabled)return;this.progressEnabled=false;this.tracker.removeListener("change",this.showProgress);this.gauge.disable()};var g=["newGroup","newItem","newStream"];var mixinLog=function(e){Object.keys(u).forEach((function(t){if(t[0]==="_")return;if(g.filter((function(e){return e===t})).length)return;if(e[t])return;if(typeof u[t]!=="function")return;var r=u[t];e[t]=function(){return r.apply(u,arguments)}}));if(e instanceof s.TrackerGroup){g.forEach((function(t){var r=e[t];e[t]=function(){return mixinLog(r.apply(e,arguments))}}))}return e};g.forEach((function(e){u[e]=function(){return mixinLog(this.tracker[e].apply(this.tracker,arguments))}}));u.clearProgress=function(e){if(!this.progressEnabled)return e&&process.nextTick(e);this.gauge.hide(e)};u.showProgress=function(e,t){if(!this.progressEnabled)return;var r={};if(e)r.section=e;var s=u.record[u.record.length-1];if(s){r.subsection=s.prefix;var a=u.disp[s.level]||s.level;var o=this._format(a,u.style[s.level]);if(s.prefix)o+=" "+this._format(s.prefix,this.prefixStyle);o+=" "+s.message.split(/\r?\n/)[0];r.logline=o}r.completed=t||this.tracker.completed();this.gauge.show(r)}.bind(u);u.pause=function(){this._paused=true;if(this.progressEnabled)this.gauge.disable()};u.resume=function(){if(!this._paused)return;this._paused=false;var e=this._buffer;this._buffer=[];e.forEach((function(e){this.emitLog(e)}),this);if(this.progressEnabled)this.gauge.enable()};u._buffer=[];var y=0;u.record=[];u.maxRecordSize=1e4;u.log=function(e,t,r){var s=this.levels[e];if(s===undefined){return this.emit("error",new Error(c.format("Undefined log level: %j",e)))}var a=new Array(arguments.length-2);var o=null;for(var u=2;ud/10){var m=Math.floor(d*.9);this.record=this.record.slice(-1*m)}this.emitLog(p)}.bind(u);u.emitLog=function(e){if(this._paused){this._buffer.push(e);return}if(this.progressEnabled)this.gauge.pulse(e.prefix);var t=this.levels[e.level];if(t===undefined)return;if(t0&&!isFinite(t))return;var r=u.disp[e.level]!=null?u.disp[e.level]:e.level;this.clearProgress();e.message.split(/\r?\n/).forEach((function(t){if(this.heading){this.write(this.heading,this.headingStyle);this.write(" ")}this.write(r,u.style[e.level]);var s=e.prefix||"";if(s)this.write(" ");this.write(s,this.prefixStyle);this.write(" "+t+"\n")}),this);this.showProgress()};u._format=function(e,t){if(!d)return;var r="";if(this.useColor()){t=t||{};var s=[];if(t.fg)s.push(t.fg);if(t.bg)s.push("bg"+t.bg[0].toUpperCase()+t.bg.slice(1));if(t.bold)s.push("bold");if(t.underline)s.push("underline");if(t.inverse)s.push("inverse");if(s.length)r+=p.color(s);if(t.beep)r+=p.beep()}r+=e;if(this.useColor()){r+=p.color("reset")}return r};u.write=function(e,t){if(!d)return;d.write(this._format(e,t))};u.addLevel=function(e,t,r,s){if(s==null)s=e;this.levels[e]=t;this.style[e]=r;if(!this[e]){this[e]=function(){var t=new Array(arguments.length+1);t[0]=e;for(var r=0;r{"use strict";e.exports=Number.isNaN||function(e){return e!==e}},7426:e=>{"use strict"; +/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var t=Object.getOwnPropertySymbols;var r=Object.prototype.hasOwnProperty;var s=Object.prototype.propertyIsEnumerable;function toObject(e){if(e===null||e===undefined){throw new TypeError("Object.assign cannot be called with null or undefined")}return Object(e)}function shouldUseNative(){try{if(!Object.assign){return false}var e=new String("abc");e[5]="de";if(Object.getOwnPropertyNames(e)[0]==="5"){return false}var t={};for(var r=0;r<10;r++){t["_"+String.fromCharCode(r)]=r}var s=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if(s.join("")!=="0123456789"){return false}var a={};"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e}));if(Object.keys(Object.assign({},a)).join("")!=="abcdefghijklmnopqrst"){return false}return true}catch(e){return false}}e.exports=shouldUseNative()?Object.assign:function(e,a){var o;var u=toObject(e);var c;for(var h=1;h{var s=r(2940);e.exports=s(once);e.exports.strict=s(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(e){var f=function(){if(f.called)return f.value;f.called=true;return f.value=e.apply(this,arguments)};f.called=false;return f}function onceStrict(e){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=e.apply(this,arguments)};var t=e.name||"Function wrapped with `once`";f.onceError=t+" shouldn't be called more than once";f.called=false;return f}},8714:e=>{"use strict";function posix(e){return e.charAt(0)==="/"}function win32(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=t.exec(e);var s=r[1]||"";var a=Boolean(s&&s.charAt(1)!==":");return Boolean(r[2]||a)}e.exports=process.platform==="win32"?win32:posix;e.exports.posix=posix;e.exports.win32=win32},5980:e=>{"use strict";var t=process.platform==="win32";var r=/^(((?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?[\\\/]?)(?:[^\\\/]*[\\\/])*)((\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))[\\\/]*$/;var s={};function win32SplitPath(e){return r.exec(e).slice(1)}s.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=win32SplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0]===t[1]?t[0]:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};var a=/^((\/?)(?:[^\/]*\/)*)((\.{1,2}|[^\/]+?|)(\.[^.\/]*|))[\/]*$/;var o={};function posixSplitPath(e){return a.exec(e).slice(1)}o.parse=function(e){if(typeof e!=="string"){throw new TypeError("Parameter 'pathString' must be a string, not "+typeof e)}var t=posixSplitPath(e);if(!t||t.length!==5){throw new TypeError("Invalid path '"+e+"'")}return{root:t[1],dir:t[0].slice(0,-1),base:t[2],ext:t[4],name:t[3]}};if(t)e.exports=s.parse;else e.exports=o.parse;e.exports.posix=o.parse;e.exports.win32=s.parse},7810:e=>{"use strict";if(!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){e.exports={nextTick:nextTick}}else{e.exports=process}function nextTick(e,t,r,s){if(typeof e!=="function"){throw new TypeError('"callback" argument must be a function')}var a=arguments.length;var o,u;switch(a){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function afterTickOne(){e.call(null,t)}));case 3:return process.nextTick((function afterTickTwo(){e.call(null,t,r)}));case 4:return process.nextTick((function afterTickThree(){e.call(null,t,r,s)}));default:o=new Array(a-1);u=0;while(u{"use strict";var s=r(7810);var a=Object.keys||function(e){var t=[];for(var r in e){t.push(r)}return t};e.exports=Duplex;var o=r(5898);o.inherits=r(4124);var u=r(1433);var c=r(6993);o.inherits(Duplex,u);{var h=a(c.prototype);for(var p=0;p{"use strict";e.exports=PassThrough;var s=r(4415);var a=r(5898);a.inherits=r(4124);a.inherits(PassThrough,s);function PassThrough(e){if(!(this instanceof PassThrough))return new PassThrough(e);s.call(this,e)}PassThrough.prototype._transform=function(e,t,r){r(null,e)}},1433:(e,t,r)=>{"use strict";var s=r(7810);e.exports=Readable;var a=r(893);var o;Readable.ReadableState=ReadableState;var u=r(8614).EventEmitter;var EElistenerCount=function(e,t){return e.listeners(t).length};var c=r(2387);var h=r(110).Buffer;var p=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return h.from(e)}function _isUint8Array(e){return h.isBuffer(e)||e instanceof p}var d=r(5898);d.inherits=r(4124);var v=r(1669);var m=void 0;if(v&&v.debuglog){m=v.debuglog("stream")}else{m=function(){}}var g=r(7053);var y=r(7049);var _;d.inherits(Readable,c);var E=["error","close","destroy","pause","resume"];function prependListener(e,t,r){if(typeof e.prependListener==="function")return e.prependListener(t,r);if(!e._events||!e._events[t])e.on(t,r);else if(a(e._events[t]))e._events[t].unshift(r);else e._events[t]=[r,e._events[t]]}function ReadableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.readableObjectMode;var a=e.highWaterMark;var u=e.readableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new g;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=e.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(e.encoding){if(!_)_=r(4841).s;this.decoder=new _(e.encoding);this.encoding=e.encoding}}function Readable(e){o=o||r(1359);if(!(this instanceof Readable))return new Readable(e);this._readableState=new ReadableState(e,this);this.readable=true;if(e){if(typeof e.read==="function")this._read=e.read;if(typeof e.destroy==="function")this._destroy=e.destroy}c.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(e){if(!this._readableState){return}this._readableState.destroyed=e}});Readable.prototype.destroy=y.destroy;Readable.prototype._undestroy=y.undestroy;Readable.prototype._destroy=function(e,t){this.push(null);t(e)};Readable.prototype.push=function(e,t){var r=this._readableState;var s;if(!r.objectMode){if(typeof e==="string"){t=t||r.defaultEncoding;if(t!==r.encoding){e=h.from(e,t);t=""}s=true}}else{s=true}return readableAddChunk(this,e,t,false,s)};Readable.prototype.unshift=function(e){return readableAddChunk(this,e,null,true,false)};function readableAddChunk(e,t,r,s,a){var o=e._readableState;if(t===null){o.reading=false;onEofChunk(e,o)}else{var u;if(!a)u=chunkInvalid(o,t);if(u){e.emit("error",u)}else if(o.objectMode||t&&t.length>0){if(typeof t!=="string"&&!o.objectMode&&Object.getPrototypeOf(t)!==h.prototype){t=_uint8ArrayToBuffer(t)}if(s){if(o.endEmitted)e.emit("error",new Error("stream.unshift() after end event"));else addChunk(e,o,t,true)}else if(o.ended){e.emit("error",new Error("stream.push() after EOF"))}else{o.reading=false;if(o.decoder&&!r){t=o.decoder.write(t);if(o.objectMode||t.length!==0)addChunk(e,o,t,false);else maybeReadMore(e,o)}else{addChunk(e,o,t,false)}}}else if(!s){o.reading=false}}return needMoreData(o)}function addChunk(e,t,r,s){if(t.flowing&&t.length===0&&!t.sync){e.emit("data",r);e.read(0)}else{t.length+=t.objectMode?1:r.length;if(s)t.buffer.unshift(r);else t.buffer.push(r);if(t.needReadable)emitReadable(e)}maybeReadMore(e,t)}function chunkInvalid(e,t){var r;if(!_isUint8Array(t)&&typeof t!=="string"&&t!==undefined&&!e.objectMode){r=new TypeError("Invalid non-string/buffer chunk")}return r}function needMoreData(e){return!e.ended&&(e.needReadable||e.length=x){e=x}else{e--;e|=e>>>1;e|=e>>>2;e|=e>>>4;e|=e>>>8;e|=e>>>16;e++}return e}function howMuchToRead(e,t){if(e<=0||t.length===0&&t.ended)return 0;if(t.objectMode)return 1;if(e!==e){if(t.flowing&&t.length)return t.buffer.head.data.length;else return t.length}if(e>t.highWaterMark)t.highWaterMark=computeNewHighWaterMark(e);if(e<=t.length)return e;if(!t.ended){t.needReadable=true;return 0}return t.length}Readable.prototype.read=function(e){m("read",e);e=parseInt(e,10);var t=this._readableState;var r=e;if(e!==0)t.emittedReadable=false;if(e===0&&t.needReadable&&(t.length>=t.highWaterMark||t.ended)){m("read: emitReadable",t.length,t.ended);if(t.length===0&&t.ended)endReadable(this);else emitReadable(this);return null}e=howMuchToRead(e,t);if(e===0&&t.ended){if(t.length===0)endReadable(this);return null}var s=t.needReadable;m("need readable",s);if(t.length===0||t.length-e0)a=fromList(e,t);else a=null;if(a===null){t.needReadable=true;e=0}else{t.length-=e}if(t.length===0){if(!t.ended)t.needReadable=true;if(r!==e&&t.ended)endReadable(this)}if(a!==null)this.emit("data",a);return a};function onEofChunk(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();if(r&&r.length){t.buffer.push(r);t.length+=t.objectMode?1:r.length}}t.ended=true;emitReadable(e)}function emitReadable(e){var t=e._readableState;t.needReadable=false;if(!t.emittedReadable){m("emitReadable",t.flowing);t.emittedReadable=true;if(t.sync)s.nextTick(emitReadable_,e);else emitReadable_(e)}}function emitReadable_(e){m("emit readable");e.emit("readable");flow(e)}function maybeReadMore(e,t){if(!t.readingMore){t.readingMore=true;s.nextTick(maybeReadMore_,e,t)}}function maybeReadMore_(e,t){var r=t.length;while(!t.reading&&!t.flowing&&!t.ended&&t.length1&&indexOf(a.pipes,e)!==-1)&&!h){m("false write response, pause",r._readableState.awaitDrain);r._readableState.awaitDrain++;p=true}r.pause()}}function onerror(t){m("onerror",t);unpipe();e.removeListener("error",onerror);if(EElistenerCount(e,"error")===0)e.emit("error",t)}prependListener(e,"error",onerror);function onclose(){e.removeListener("finish",onfinish);unpipe()}e.once("close",onclose);function onfinish(){m("onfinish");e.removeListener("close",onclose);unpipe()}e.once("finish",onfinish);function unpipe(){m("unpipe");r.unpipe(e)}e.emit("pipe",r);if(!a.flowing){m("pipe resume");r.resume()}return e};function pipeOnDrain(e){return function(){var t=e._readableState;m("pipeOnDrain",t.awaitDrain);if(t.awaitDrain)t.awaitDrain--;if(t.awaitDrain===0&&EElistenerCount(e,"data")){t.flowing=true;flow(e)}}}Readable.prototype.unpipe=function(e){var t=this._readableState;var r={hasUnpiped:false};if(t.pipesCount===0)return this;if(t.pipesCount===1){if(e&&e!==t.pipes)return this;if(!e)e=t.pipes;t.pipes=null;t.pipesCount=0;t.flowing=false;if(e)e.emit("unpipe",this,r);return this}if(!e){var s=t.pipes;var a=t.pipesCount;t.pipes=null;t.pipesCount=0;t.flowing=false;for(var o=0;o=t.length){if(t.decoder)r=t.buffer.join("");else if(t.buffer.length===1)r=t.buffer.head.data;else r=t.buffer.concat(t.length);t.buffer.clear()}else{r=fromListPartial(e,t.buffer,t.decoder)}return r}function fromListPartial(e,t,r){var s;if(eo.length?o.length:e;if(u===o.length)a+=o;else a+=o.slice(0,e);e-=u;if(e===0){if(u===o.length){++s;if(r.next)t.head=r.next;else t.head=t.tail=null}else{t.head=r;r.data=o.slice(u)}break}++s}t.length-=s;return a}function copyFromBuffer(e,t){var r=h.allocUnsafe(e);var s=t.head;var a=1;s.data.copy(r);e-=s.data.length;while(s=s.next){var o=s.data;var u=e>o.length?o.length:e;o.copy(r,r.length-e,0,u);e-=u;if(e===0){if(u===o.length){++a;if(s.next)t.head=s.next;else t.head=t.tail=null}else{t.head=s;s.data=o.slice(u)}break}++a}t.length-=a;return r}function endReadable(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!t.endEmitted){t.ended=true;s.nextTick(endReadableNT,t,e)}}function endReadableNT(e,t){if(!e.endEmitted&&e.length===0){e.endEmitted=true;t.readable=false;t.emit("end")}}function indexOf(e,t){for(var r=0,s=e.length;r{"use strict";e.exports=Transform;var s=r(1359);var a=r(5898);a.inherits=r(4124);a.inherits(Transform,s);function afterTransform(e,t){var r=this._transformState;r.transforming=false;var s=r.writecb;if(!s){return this.emit("error",new Error("write callback called multiple times"))}r.writechunk=null;r.writecb=null;if(t!=null)this.push(t);s(e);var a=this._readableState;a.reading=false;if(a.needReadable||a.length{"use strict";var s=r(7810);e.exports=Writable;function WriteReq(e,t,r){this.chunk=e;this.encoding=t;this.callback=r;this.next=null}function CorkedRequest(e){var t=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(t,e)}}var a=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:s.nextTick;var o;Writable.WritableState=WritableState;var u=r(5898);u.inherits=r(4124);var c={deprecate:r(5278)};var h=r(2387);var p=r(110).Buffer;var d=global.Uint8Array||function(){};function _uint8ArrayToBuffer(e){return p.from(e)}function _isUint8Array(e){return p.isBuffer(e)||e instanceof d}var v=r(7049);u.inherits(Writable,h);function nop(){}function WritableState(e,t){o=o||r(1359);e=e||{};var s=t instanceof o;this.objectMode=!!e.objectMode;if(s)this.objectMode=this.objectMode||!!e.writableObjectMode;var a=e.highWaterMark;var u=e.writableHighWaterMark;var c=this.objectMode?16:16*1024;if(a||a===0)this.highWaterMark=a;else if(s&&(u||u===0))this.highWaterMark=u;else this.highWaterMark=c;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var h=e.decodeStrings===false;this.decodeStrings=!h;this.defaultEncoding=e.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(e){onwrite(t,e)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var e=this.bufferedRequest;var t=[];while(e){t.push(e);e=e.next}return t};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(e){}})();var m;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){m=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(e){if(m.call(this,e))return true;if(this!==Writable)return false;return e&&e._writableState instanceof WritableState}})}else{m=function(e){return e instanceof this}}function Writable(e){o=o||r(1359);if(!m.call(Writable,this)&&!(this instanceof o)){return new Writable(e)}this._writableState=new WritableState(e,this);this.writable=true;if(e){if(typeof e.write==="function")this._write=e.write;if(typeof e.writev==="function")this._writev=e.writev;if(typeof e.destroy==="function")this._destroy=e.destroy;if(typeof e.final==="function")this._final=e.final}h.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(e,t){var r=new Error("write after end");e.emit("error",r);s.nextTick(t,r)}function validChunk(e,t,r,a){var o=true;var u=false;if(r===null){u=new TypeError("May not write null values to stream")}else if(typeof r!=="string"&&r!==undefined&&!t.objectMode){u=new TypeError("Invalid non-string/buffer chunk")}if(u){e.emit("error",u);s.nextTick(a,u);o=false}return o}Writable.prototype.write=function(e,t,r){var s=this._writableState;var a=false;var o=!s.objectMode&&_isUint8Array(e);if(o&&!p.isBuffer(e)){e=_uint8ArrayToBuffer(e)}if(typeof t==="function"){r=t;t=null}if(o)t="buffer";else if(!t)t=s.defaultEncoding;if(typeof r!=="function")r=nop;if(s.ended)writeAfterEnd(this,r);else if(o||validChunk(this,s,e,r)){s.pendingcb++;a=writeOrBuffer(this,s,o,e,t,r)}return a};Writable.prototype.cork=function(){var e=this._writableState;e.corked++};Writable.prototype.uncork=function(){var e=this._writableState;if(e.corked){e.corked--;if(!e.writing&&!e.corked&&!e.finished&&!e.bufferProcessing&&e.bufferedRequest)clearBuffer(this,e)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(e){if(typeof e==="string")e=e.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);this._writableState.defaultEncoding=e;return this};function decodeChunk(e,t,r){if(!e.objectMode&&e.decodeStrings!==false&&typeof t==="string"){t=p.from(t,r)}return t}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(e,t,r,s,a,o){if(!r){var u=decodeChunk(t,s,a);if(s!==u){r=true;a="buffer";s=u}}var c=t.objectMode?1:s.length;t.length+=c;var h=t.length{"use strict";function _classCallCheck(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}var s=r(110).Buffer;var a=r(1669);function copyBuffer(e,t,r){e.copy(t,r)}e.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(e){var t={data:e,next:null};if(this.length>0)this.tail.next=t;else this.head=t;this.tail=t;++this.length};BufferList.prototype.unshift=function unshift(e){var t={data:e,next:this.head};if(this.length===0)this.tail=t;this.head=t;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var e=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return e};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(e){if(this.length===0)return"";var t=this.head;var r=""+t.data;while(t=t.next){r+=e+t.data}return r};BufferList.prototype.concat=function concat(e){if(this.length===0)return s.alloc(0);if(this.length===1)return this.head.data;var t=s.allocUnsafe(e>>>0);var r=this.head;var a=0;while(r){copyBuffer(r.data,t,a);a+=r.data.length;r=r.next}return t};return BufferList}();if(a&&a.inspect&&a.inspect.custom){e.exports.prototype[a.inspect.custom]=function(){var e=a.inspect({length:this.length});return this.constructor.name+" "+e}}},7049:(e,t,r)=>{"use strict";var s=r(7810);function destroy(e,t){var r=this;var a=this._readableState&&this._readableState.destroyed;var o=this._writableState&&this._writableState.destroyed;if(a||o){if(t){t(e)}else if(e&&(!this._writableState||!this._writableState.errorEmitted)){s.nextTick(emitErrorNT,this,e)}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(e||null,(function(e){if(!t&&e){s.nextTick(emitErrorNT,r,e);if(r._writableState){r._writableState.errorEmitted=true}}else if(t){t(e)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(e,t){e.emit("error",t)}e.exports={destroy:destroy,undestroy:undestroy}},2387:(e,t,r)=>{e.exports=r(2413)},110:(e,t,r)=>{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},1642:(e,t,r)=>{var s=r(2413);if(process.env.READABLE_STREAM==="disable"&&s){e.exports=s;t=e.exports=s.Readable;t.Readable=s.Readable;t.Writable=s.Writable;t.Duplex=s.Duplex;t.Transform=s.Transform;t.PassThrough=s.PassThrough;t.Stream=s}else{t=e.exports=r(1433);t.Stream=s||t;t.Readable=t;t.Writable=r(6993);t.Duplex=r(1359);t.Transform=r(4415);t.PassThrough=r(1542)}},9283:(e,t,r)=>{var s=r(6226);var a=r(2125);a.core=s;a.isCore=function isCore(e){return s[e]};a.sync=r(5284);t=a;e.exports=a},2125:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e,t){a.stat(e,(function(e,r){if(!e){return t(null,r.isFile()||r.isFIFO())}if(e.code==="ENOENT"||e.code==="ENOTDIR")return t(null,false);return t(e)}))};e.exports=function resolve(e,t,r){var d=r;var v=t;if(typeof t==="function"){d=v;v={}}if(typeof e!=="string"){var m=new TypeError("Path must be a string.");return process.nextTick((function(){d(m)}))}v=h(e,v);var g=v.isFile||p;var y=v.readFile||a.readFile;var _=v.extensions||[".js"];var E=v.basedir||o.dirname(u());var x=v.filename||E;v.paths=v.paths||[];var w=o.resolve(E);if(v.preserveSymlinks===false){a.realpath(w,(function(e,t){if(e&&e.code!=="ENOENT")d(m);else init(e?w:t)}))}else{init(w)}var D;function init(t){if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){D=o.resolve(t,e);if(e===".."||e.slice(-1)==="/")D+="/";if(/\/$/.test(e)&&D===t){loadAsDirectory(D,v.package,onfile)}else loadAsFile(D,v.package,onfile)}else loadNodeModules(e,t,(function(t,r,a){if(t)d(t);else if(r)d(null,r,a);else if(s[e])return d(null,e);else{var o=new Error("Cannot find module '"+e+"' from '"+x+"'");o.code="MODULE_NOT_FOUND";d(o)}}))}function onfile(t,r,s){if(t)d(t);else if(r)d(null,r,s);else loadAsDirectory(D,(function(t,r,s){if(t)d(t);else if(r)d(null,r,s);else{var a=new Error("Cannot find module '"+e+"' from '"+x+"'");a.code="MODULE_NOT_FOUND";d(a)}}))}function loadAsFile(e,t,r){var s=t;var a=r;if(typeof s==="function"){a=s;s=undefined}var u=[""].concat(_);load(u,e,s);function load(e,t,r){if(e.length===0)return a(null,undefined,r);var s=t+e[0];var u=r;if(u)onpkg(null,u);else loadpkg(o.dirname(s),onpkg);function onpkg(r,c,h){u=c;if(r)return a(r);if(h&&u&&v.pathFilter){var p=o.relative(h,s);var d=p.slice(0,p.length-e[0].length);var m=v.pathFilter(u,t,d);if(m)return load([""].concat(_.slice()),o.resolve(h,m),u)}g(s,onex)}function onex(r,o){if(r)return a(r);if(o)return a(null,s,u);load(e.slice(1),t,u)}}}function loadpkg(e,t){if(e===""||e==="/")return t(null);if(process.platform==="win32"&&/^\w:[/\\]*$/.test(e)){return t(null)}if(/[/\\]node_modules[/\\]*$/.test(e))return t(null);var r=o.join(e,"package.json");g(r,(function(s,a){if(!a)return loadpkg(o.dirname(e),t);y(r,(function(s,a){if(s)t(s);try{var o=JSON.parse(a)}catch(e){}if(o&&v.packageFilter){o=v.packageFilter(o,r)}t(null,o,e)}))}))}function loadAsDirectory(e,t,r){var s=r;var a=t;if(typeof a==="function"){s=a;a=v.package}var u=o.join(e,"package.json");g(u,(function(t,r){if(t)return s(t);if(!r)return loadAsFile(o.join(e,"index"),a,s);y(u,(function(t,r){if(t)return s(t);try{var a=JSON.parse(r)}catch(e){}if(v.packageFilter){a=v.packageFilter(a,u)}if(a.main){if(typeof a.main!=="string"){var c=new TypeError("package “"+a.name+"” `main` must be a string");c.code="INVALID_PACKAGE_MAIN";return s(c)}if(a.main==="."||a.main==="./"){a.main="index"}loadAsFile(o.resolve(e,a.main),a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);if(!a)return loadAsFile(o.join(e,"index"),a,s);var u=o.resolve(e,a.main);loadAsDirectory(u,a,(function(t,r,a){if(t)return s(t);if(r)return s(null,r,a);loadAsFile(o.join(e,"index"),a,s)}))}));return}loadAsFile(o.join(e,"/index"),a,s)}))}))}function processDirs(t,r){if(r.length===0)return t(null,undefined);var s=r[0];var a=o.join(s,e);loadAsFile(a,v.package,onfile);function onfile(r,a,u){if(r)return t(r);if(a)return t(null,a,u);loadAsDirectory(o.join(s,e),v.package,ondir)}function ondir(e,s,a){if(e)return t(e);if(s)return t(null,s,a);processDirs(t,r.slice(1))}}function loadNodeModules(e,t,r){processDirs(r,c(t,v,e))}}},6155:e=>{e.exports=function(){var e=Error.prepareStackTrace;Error.prepareStackTrace=function(e,t){return t};var t=(new Error).stack;Error.prepareStackTrace=e;return t[2].getFileName()}},6226:(e,t,r)=>{var s=process.versions&&process.versions.node&&process.versions.node.split(".")||[];function specifierIncluded(e){var t=e.split(" ");var r=t.length>1?t[0]:"=";var a=(t.length>1?t[1]:t[0]).split(".");for(var o=0;o<3;++o){var u=Number(s[o]||0);var c=Number(a[o]||0);if(u===c){continue}if(r==="<"){return u="){return u>=c}else{return false}}return r===">="}function matchesRange(e){var t=e.split(/ ?&& ?/);if(t.length===0){return false}for(var r=0;r{var s=r(5622);var a=s.parse||r(5980);var o=function getNodeModulesDirs(e,t){var r="/";if(/^([A-Za-z]:)/.test(e)){r=""}else if(/^\\\\/.test(e)){r="\\\\"}var o=[e];var u=a(e);while(u.dir!==o[o.length-1]){o.push(u.dir);u=a(u.dir)}return o.reduce((function(e,a){return e.concat(t.map((function(e){return s.join(r,a,e)})))}),[])};e.exports=function nodeModulesPaths(e,t,r){var s=t&&t.moduleDirectory?[].concat(t.moduleDirectory):["node_modules"];if(t&&typeof t.paths==="function"){return t.paths(r,e,(function(){return o(e,s)}),t)}var a=o(e,s);return t&&t.paths?a.concat(t.paths):a}},7990:e=>{e.exports=function(e,t){return t||{}}},5284:(e,t,r)=>{var s=r(6226);var a=r(5747);var o=r(5622);var u=r(6155);var c=r(3265);var h=r(7990);var p=function isFile(e){try{var t=a.statSync(e)}catch(e){if(e&&(e.code==="ENOENT"||e.code==="ENOTDIR"))return false;throw e}return t.isFile()||t.isFIFO()};e.exports=function(e,t){if(typeof e!=="string"){throw new TypeError("Path must be a string.")}var r=h(e,t);var d=r.isFile||p;var v=r.readFileSync||a.readFileSync;var m=r.extensions||[".js"];var g=r.basedir||o.dirname(u());var y=r.filename||g;r.paths=r.paths||[];var _=o.resolve(g);if(r.preserveSymlinks===false){try{_=a.realpathSync(_)}catch(e){if(e.code!=="ENOENT"){throw e}}}if(/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/.test(e)){var E=o.resolve(_,e);if(e===".."||e.slice(-1)==="/")E+="/";var x=loadAsFileSync(E)||loadAsDirectorySync(E);if(x)return x}else{var w=loadNodeModulesSync(e,_);if(w)return w}if(s[e])return e;var D=new Error("Cannot find module '"+e+"' from '"+y+"'");D.code="MODULE_NOT_FOUND";throw D;function loadAsFileSync(e){var t=loadpkg(o.dirname(e));if(t&&t.dir&&t.pkg&&r.pathFilter){var s=o.relative(t.dir,e);var a=r.pathFilter(t.pkg,e,s);if(a){e=o.resolve(t.dir,a)}}if(d(e)){return e}for(var u=0;u{e.exports=rimraf;rimraf.sync=rimrafSync;var s=r(2357);var a=r(5622);var o=r(5747);var u=r(1957);var c=parseInt("666",8);var h={nosort:true,silent:true};var p=0;var d=process.platform==="win32";function defaults(e){var t=["unlink","chmod","stat","lstat","rmdir","readdir"];t.forEach((function(t){e[t]=e[t]||o[t];t=t+"Sync";e[t]=e[t]||o[t]}));e.maxBusyTries=e.maxBusyTries||3;e.emfileWait=e.emfileWait||1e3;if(e.glob===false){e.disableGlob=true}e.disableGlob=e.disableGlob||false;e.glob=e.glob||h}function rimraf(e,t,r){if(typeof t==="function"){r=t;t={}}s(e,"rimraf: missing path");s.equal(typeof e,"string","rimraf: path should be a string");s.equal(typeof r,"function","rimraf: callback function required");s(t,"rimraf: invalid options argument provided");s.equal(typeof t,"object","rimraf: options should be object");defaults(t);var a=0;var o=null;var c=0;if(t.disableGlob||!u.hasMagic(e))return afterGlob(null,[e]);t.lstat(e,(function(r,s){if(!r)return afterGlob(null,[e]);u(e,t.glob,afterGlob)}));function next(e){o=o||e;if(--c===0)r(o)}function afterGlob(e,s){if(e)return r(e);c=s.length;if(c===0)return r();s.forEach((function(e){rimraf_(e,t,(function CB(r){if(r){if((r.code==="EBUSY"||r.code==="ENOTEMPTY"||r.code==="EPERM")&&a{"use strict";Object.defineProperty(t,"__esModule",{value:true});function _interopDefault(e){return e&&typeof e==="object"&&"default"in e?e["default"]:e}var s=r(5622);var a=_interopDefault(s);var o=r(6465);var u=_interopDefault(r(1669));const c=function addExtension(e,t=".js"){if(!s.extname(e))e+=t;return e};const h={ArrayPattern(e,t){for(const r of t.elements){if(r)h[r.type](e,r)}},AssignmentPattern(e,t){h[t.left.type](e,t.left)},Identifier(e,t){e.push(t.name)},MemberExpression(){},ObjectPattern(e,t){for(const r of t.properties){if(r.type==="RestElement"){h.RestElement(e,r)}else{h[r.value.type](e,r.value)}}},RestElement(e,t){h[t.argument.type](e,t.argument)}};const p=function extractAssignedNames(e){const t=[];h[e.type](t,e);return t};const d={const:true,let:true};class Scope{constructor(e={}){this.parent=e.parent;this.isBlockScope=!!e.block;this.declarations=Object.create(null);if(e.params){e.params.forEach((e=>{p(e).forEach((e=>{this.declarations[e]=true}))}))}}addDeclaration(e,t,r){if(!t&&this.isBlockScope){this.parent.addDeclaration(e,t,r)}else if(e.id){p(e.id).forEach((e=>{this.declarations[e]=true}))}}contains(e){return this.declarations[e]||(this.parent?this.parent.contains(e):false)}}const v=function attachScopes(e,t="scope"){let r=new Scope;o.walk(e,{enter(e,s){if(/(Function|Class)Declaration/.test(e.type)){r.addDeclaration(e,false,false)}if(e.type==="VariableDeclaration"){const t=e.kind;const s=d[t];e.declarations.forEach((e=>{r.addDeclaration(e,s,true)}))}let a;if(/Function/.test(e.type)){a=new Scope({parent:r,block:false,params:e.params});if(e.type==="FunctionExpression"&&e.id){a.addDeclaration(e,false,false)}}if(e.type==="BlockStatement"&&!/Function/.test(s.type)){a=new Scope({parent:r,block:true})}if(e.type==="CatchClause"){a=new Scope({parent:r,params:e.param?[e.param]:[],block:true})}if(a){Object.defineProperty(e,t,{value:a,configurable:true});r=a}},leave(e){if(e[t])r=r.parent}});return r};function createCommonjsModule(e,t){return t={exports:{}},e(t,t.exports),t.exports}var m=createCommonjsModule((function(e,t){t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,s=1,a)=>{if(a===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(s)>=a};t.escapeNode=(e,t=0,r)=>{let s=e.nodes[t];if(!s)return;if(r&&s.type===r||s.type==="open"||s.type==="close"){if(s.escaped!==true){s.value="\\"+s.value;s.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r{let stringify=(e,r={})=>{let s=t.escapeInvalid&&m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o="";if(e.value){if((s||a)&&m.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){o+=stringify(t)}}return o};return stringify(e)}; +/*! + * is-number + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Released under the MIT License. + */var isNumber=function(e){if(typeof e==="number"){return e-e===0}if(typeof e==="string"&&e.trim()!==""){return Number.isFinite?Number.isFinite(+e):isFinite(+e)}return false};const toRegexRange=(e,t,r)=>{if(isNumber(e)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(t===void 0||e===t){return String(e)}if(isNumber(t)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let s=Object.assign({relaxZeros:true},r);if(typeof s.strictZeros==="boolean"){s.relaxZeros=s.strictZeros===false}let a=String(s.relaxZeros);let o=String(s.shorthand);let u=String(s.capture);let c=String(s.wrap);let h=e+":"+t+"="+a+o+u+c;if(toRegexRange.cache.hasOwnProperty(h)){return toRegexRange.cache[h].result}let p=Math.min(e,t);let d=Math.max(e,t);if(Math.abs(p-d)===1){let r=e+"|"+t;if(s.capture){return`(${r})`}if(s.wrap===false){return r}return`(?:${r})`}let v=hasPadding(e)||hasPadding(t);let m={min:e,max:t,a:p,b:d};let g=[];let y=[];if(v){m.isPadded=v;m.maxLen=String(m.max).length}if(p<0){let e=d<0?Math.abs(d):1;y=splitToPatterns(e,Math.abs(p),m,s);p=m.a=0}if(d>=0){g=splitToPatterns(p,d,m,s)}m.negatives=y;m.positives=g;m.result=collatePatterns(y,g,s);if(s.capture===true){m.result=`(${m.result})`}else if(s.wrap!==false&&g.length+y.length>1){m.result=`(?:${m.result})`}toRegexRange.cache[h]=m;return m.result};function collatePatterns(e,t,r){let s=filterPatterns(e,t,"-",false,r)||[];let a=filterPatterns(t,e,"",false,r)||[];let o=filterPatterns(e,t,"-?",true,r)||[];let u=s.concat(o).concat(a);return u.join("|")}function splitToRanges(e,t){let r=1;let s=1;let a=countNines(e,r);let o=new Set([t]);while(e<=a&&a<=t){o.add(a);r+=1;a=countNines(e,r)}a=countZeros(t+1,s)-1;while(e1){c.count.pop()}c.count.push(h.count[0]);c.string=c.pattern+toQuantifier(c.count);u=t+1;continue}if(r.isPadded){p=padZeros(t,r,s)}h.string=p+h.pattern+toQuantifier(h.count);o.push(h);u=t+1;c=h}return o}function filterPatterns(e,t,r,s,a){let o=[];for(let a of e){let{string:e}=a;if(!s&&!contains(t,"string",e)){o.push(r+e)}if(s&&contains(t,"string",e)){o.push(r+e)}}return o}function zip(e,t){let r=[];for(let s=0;st?1:t>e?-1:0}function contains(e,t,r){return e.some((e=>e[t]===r))}function countNines(e,t){return Number(String(e).slice(0,-t)+"9".repeat(t))}function countZeros(e,t){return e-e%Math.pow(10,t)}function toQuantifier(e){let[t=0,r=""]=e;if(r||t>1){return`{${t+(r?","+r:"")}}`}return""}function toCharacterClass(e,t,r){return`[${e}${t-e===1?"":"-"}${t}]`}function hasPadding(e){return/^-?(0+)\d/.test(e)}function padZeros(e,t,r){if(!t.isPadded){return e}let s=Math.abs(t.maxLen-String(e).length);let a=r.relaxZeros!==false;switch(s){case 0:return"";case 1:return a?"0?":"0";case 2:return a?"0{0,2}":"00";default:{return a?`0{0,${s}}`:`0{${s}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};var S=toRegexRange;const isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);const transform=e=>t=>e===true?Number(t):String(t);const isValidValue=e=>typeof e==="number"||typeof e==="string"&&e!=="";const isNumber$1=e=>Number.isInteger(+e);const zeros=e=>{let t=`${e}`;let r=-1;if(t[0]==="-")t=t.slice(1);if(t==="0")return false;while(t[++r]==="0");return r>0};const stringify$1=(e,t,r)=>{if(typeof e==="string"||typeof t==="string"){return true}return r.stringify===true};const pad=(e,t,r)=>{if(t>0){let r=e[0]==="-"?"-":"";if(r)e=e.slice(1);e=r+e.padStart(r?t-1:t,"0")}if(r===false){return String(e)}return e};const toMaxLen=(e,t)=>{let r=e[0]==="-"?"-":"";if(r){e=e.slice(1);t--}while(e.length{e.negatives.sort(((e,t)=>et?1:0));e.positives.sort(((e,t)=>et?1:0));let r=t.capture?"":"?:";let s="";let a="";let o;if(e.positives.length){s=e.positives.join("|")}if(e.negatives.length){a=`-(${r}${e.negatives.join("|")})`}if(s&&a){o=`${s}|${a}`}else{o=s||a}if(t.wrap){return`(${r}${o})`}return o};const toRange=(e,t,r,s)=>{if(r){return S(e,t,Object.assign({wrap:false},s))}let a=String.fromCharCode(e);if(e===t)return a;let o=String.fromCharCode(t);return`[${a}-${o}]`};const toRegex=(e,t,r)=>{if(Array.isArray(e)){let t=r.wrap===true;let s=r.capture?"":"?:";return t?`(${s}${e.join("|")})`:e.join("|")}return S(e,t,r)};const rangeError=(...e)=>new RangeError("Invalid range arguments: "+u.inspect(...e));const invalidRange=(e,t,r)=>{if(r.strictRanges===true)throw rangeError([e,t]);return[]};const invalidStep=(e,t)=>{if(t.strictRanges===true){throw new TypeError(`Expected step "${e}" to be a number`)}return[]};const fillNumbers=(e,t,r=1,s={})=>{let a=Number(e);let o=Number(t);if(!Number.isInteger(a)||!Number.isInteger(o)){if(s.strictRanges===true)throw rangeError([e,t]);return[]}if(a===0)a=0;if(o===0)o=0;let u=a>o;let c=String(e);let h=String(t);let p=String(r);r=Math.max(Math.abs(r),1);let d=zeros(c)||zeros(h)||zeros(p);let v=d?Math.max(c.length,h.length,p.length):0;let m=d===false&&stringify$1(e,t,s)===false;let g=s.transform||transform(m);if(s.toRegex&&r===1){return toRange(toMaxLen(e,v),toMaxLen(t,v),true,s)}let y={negatives:[],positives:[]};let push=e=>y[e<0?"negatives":"positives"].push(Math.abs(e));let _=[];let E=0;while(u?a>=o:a<=o){if(s.toRegex===true&&r>1){push(a)}else{_.push(pad(g(a,E),v,m))}a=u?a-r:a+r;E++}if(s.toRegex===true){return r>1?toSequence(y,s):toRegex(_,null,Object.assign({wrap:false},s))}return _};const fillLetters=(e,t,r=1,s={})=>{if(!isNumber$1(e)&&e.length>1||!isNumber$1(t)&&t.length>1){return invalidRange(e,t,s)}let a=s.transform||(e=>String.fromCharCode(e));let o=`${e}`.charCodeAt(0);let u=`${t}`.charCodeAt(0);let c=o>u;let h=Math.min(o,u);let p=Math.max(o,u);if(s.toRegex&&r===1){return toRange(h,p,false,s)}let d=[];let v=0;while(c?o>=u:o<=u){d.push(a(o,v));o=c?o-r:o+r;v++}if(s.toRegex===true){return toRegex(d,null,{wrap:false,options:s})}return d};const fill=(e,t,r,s={})=>{if(t==null&&isValidValue(e)){return[e]}if(!isValidValue(e)||!isValidValue(t)){return invalidRange(e,t,s)}if(typeof r==="function"){return fill(e,t,1,{transform:r})}if(isObject(r)){return fill(e,t,0,r)}let a=Object.assign({},s);if(a.capture===true)a.wrap=true;r=r||a.step||1;if(!isNumber$1(r)){if(r!=null&&!isObject(r))return invalidStep(r,a);return fill(e,t,1,r)}if(isNumber$1(e)&&isNumber$1(t)){return fillNumbers(e,t,r,a)}return fillLetters(e,t,Math.max(Math.abs(r),1),a)};var k=fill;const compile=(e,t={})=>{let walk=(e,r={})=>{let s=m.isInvalidBrace(r);let a=e.invalid===true&&t.escapeInvalid===true;let o=s===true||a===true;let u=t.escapeInvalid===true?"\\":"";let c="";if(e.isOpen===true){return u+e.value}if(e.isClose===true){return u+e.value}if(e.type==="open"){return o?u+e.value:"("}if(e.type==="close"){return o?u+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":o?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=m.reduce(e.nodes);let s=k(...r,Object.assign({},t,{wrap:false,toRegex:true}));if(s.length!==0){return r.length>1&&s.length>1?`(${s})`:s}}if(e.nodes){for(let t of e.nodes){c+=walk(t,e)}}return c};return walk(e)};var F=compile;const append=(e="",t="",r=false)=>{let s=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?m.flatten(t).map((e=>`{${e}}`)):t}for(let a of e){if(Array.isArray(a)){for(let e of a){s.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;s.push(Array.isArray(e)?append(a,e,r):a+e)}}}return m.flatten(s)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,s={})=>{e.queue=[];let a=s;let o=s.queue;while(a.type!=="brace"&&a.type!=="root"&&a.parent){a=a.parent;o=a.queue}if(e.invalid||e.dollar){o.push(append(o.pop(),stringify(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){o.push(append(o.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let s=m.reduce(e.nodes);if(m.exceedsLimit(...s,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let a=k(...s,t);if(a.length===0){a=stringify(e,t)}o.push(append(o.pop(),a));e.nodes=[];return}let u=m.encloseBrace(e);let c=e.queue;let h=e;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;c=h.queue}for(let t=0;t",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"};const{MAX_LENGTH:I,CHAR_BACKSLASH:B,CHAR_BACKTICK:N,CHAR_COMMA:O,CHAR_DOT:P,CHAR_LEFT_PARENTHESES:L,CHAR_RIGHT_PARENTHESES:j,CHAR_LEFT_CURLY_BRACE:M,CHAR_RIGHT_CURLY_BRACE:V,CHAR_LEFT_SQUARE_BRACKET:q,CHAR_RIGHT_SQUARE_BRACKET:U,CHAR_DOUBLE_QUOTE:$,CHAR_SINGLE_QUOTE:H,CHAR_NO_BREAK_SPACE:G,CHAR_ZERO_WIDTH_NOBREAK_SPACE:W}=T;const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let s=typeof r.maxLength==="number"?Math.min(I,r.maxLength):I;if(e.length>s){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${s})`)}let a={type:"root",input:e,nodes:[]};let o=[a];let u=a;let c=a;let h=0;let p=e.length;let d=0;let v=0;let m;const advance=()=>e[d++];const push=e=>{if(e.type==="text"&&c.type==="dot"){c.type="text"}if(c&&c.type==="text"&&e.type==="text"){c.value+=e.value;return}u.nodes.push(e);e.parent=u;e.prev=c;c=e;return e};push({type:"bos"});while(d0){if(u.ranges>0){u.ranges=0;let e=u.nodes.shift();u.nodes=[e,{type:"text",value:stringify(u)}]}push({type:"comma",value:m});u.commas++;continue}if(m===P&&v>0&&u.commas===0){let e=u.nodes;if(v===0||e.length===0){push({type:"text",value:m});continue}if(c.type==="dot"){u.range=[];c.value+=m;c.type="range";if(u.nodes.length!==3&&u.nodes.length!==5){u.invalid=true;u.ranges=0;c.type="text";continue}u.ranges++;u.args=[];continue}if(c.type==="range"){e.pop();let t=e[e.length-1];t.value+=c.value+m;c=t;u.ranges--;continue}push({type:"dot",value:m});continue}push({type:"text",value:m})}do{u=o.pop();if(u.type!=="root"){u.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=o[o.length-1];let t=e.nodes.indexOf(u);e.nodes.splice(t,1,...u.nodes)}}while(o.length>0);push({type:"eos"});return a};var z=parse;const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let s of e){let e=braces.create(s,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>z(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return stringify(braces.parse(e,t),t)}return stringify(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return F(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=R(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};var K=braces;const Q="\\\\/";const X=`[^${Q}]`;const J="\\.";const Z="\\+";const Y="\\?";const ee="\\/";const te="(?=.)";const re="[^/]";const ie=`(?:${ee}|$)`;const ne=`(?:^|${ee})`;const se=`${J}{1,2}${ie}`;const ae=`(?!${J})`;const oe=`(?!${ne}${se})`;const ue=`(?!${J}{0,1}${ie})`;const le=`(?!${se})`;const ce=`[^.${ee}]`;const fe=`${re}*?`;const he={DOT_LITERAL:J,PLUS_LITERAL:Z,QMARK_LITERAL:Y,SLASH_LITERAL:ee,ONE_CHAR:te,QMARK:re,END_ANCHOR:ie,DOTS_SLASH:se,NO_DOT:ae,NO_DOTS:oe,NO_DOT_SLASH:ue,NO_DOTS_SLASH:le,QMARK_NO_DOT:ce,STAR:fe,START_ANCHOR:ne};const pe=Object.assign({},he,{SLASH_LITERAL:`[${Q}]`,QMARK:X,STAR:`${X}*?`,DOTS_SLASH:`${J}{1,2}(?:[${Q}]|$)`,NO_DOT:`(?!${J})`,NO_DOTS:`(?!(?:^|[${Q}])${J}{1,2}(?:[${Q}]|$))`,NO_DOT_SLASH:`(?!${J}{0,1}(?:[${Q}]|$))`,NO_DOTS_SLASH:`(?!${J}{1,2}(?:[${Q}]|$))`,QMARK_NO_DOT:`[^.${Q}]`,START_ANCHOR:`(?:^|[${Q}])`,END_ANCHOR:`(?:[${Q}]|$)`});const de={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};var ve={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:de,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHAR:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:a.sep,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===true?pe:he}};var me=createCommonjsModule((function(e,t){const r=process.platform==="win32";const{REGEX_SPECIAL_CHARS:s,REGEX_SPECIAL_CHARS_GLOBAL:o,REGEX_REMOVE_BACKSLASH:u}=ve;t.isObject=e=>e!==null&&typeof e==="object"&&!Array.isArray(e);t.hasRegexChars=e=>s.test(e);t.isRegexChar=e=>e.length===1&&t.hasRegexChars(e);t.escapeRegex=e=>e.replace(o,"\\$1");t.toPosixSlashes=e=>e.replace(/\\/g,"/");t.removeBackslashes=e=>e.replace(u,(e=>e==="\\"?"":e));t.supportsLookbehinds=()=>{let e=process.version.slice(1).split(".");if(e.length===3&&+e[0]>=9||+e[0]===8&&+e[1]>=10){return true}return false};t.isWindows=e=>{if(e&&typeof e.windows==="boolean"){return e.windows}return r===true||a.sep==="\\"};t.escapeLast=(e,r,s)=>{let a=e.lastIndexOf(r,s);if(a===-1)return e;if(e[a-1]==="\\")return t.escapeLast(e,r,a-1);return e.slice(0,a)+"\\"+e.slice(a)}}));var ge=me.isObject;var be=me.hasRegexChars;var ye=me.isRegexChar;var _e=me.escapeRegex;var Ee=me.toPosixSlashes;var xe=me.removeBackslashes;var we=me.supportsLookbehinds;var De=me.isWindows;var Ce=me.escapeLast;const{CHAR_ASTERISK:Ae,CHAR_AT:Se,CHAR_BACKWARD_SLASH:ke,CHAR_COMMA:Fe,CHAR_DOT:Re,CHAR_EXCLAMATION_MARK:Te,CHAR_FORWARD_SLASH:Ie,CHAR_LEFT_CURLY_BRACE:Be,CHAR_LEFT_PARENTHESES:Ne,CHAR_LEFT_SQUARE_BRACKET:Oe,CHAR_PLUS:Pe,CHAR_QUESTION_MARK:Le,CHAR_RIGHT_CURLY_BRACE:je,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Ve}=ve;const isPathSeparator=e=>e===Ie||e===ke;var scan=(e,t)=>{let r=t||{};let s=e.length-1;let a=-1;let o=0;let u=0;let c=false;let h=false;let p=false;let d=0;let v;let m;let g=false;let eos=()=>a>=s;let advance=()=>{v=m;return e.charCodeAt(++a)};while(a0){y=e.slice(0,o);e=e.slice(o);u-=o}if(E&&c===true&&u>0){E=e.slice(0,u);x=e.slice(u)}else if(c===true){E="";x=e}else{E=e}if(E&&E!==""&&E!=="/"&&E!==e){if(isPathSeparator(E.charCodeAt(E.length-1))){E=E.slice(0,-1)}}if(r.unescape===true){if(x)x=me.removeBackslashes(x);if(E&&h===true){E=me.removeBackslashes(E)}}return{prefix:y,input:_,base:E,glob:x,negated:p,isGlob:c}};const{MAX_LENGTH:qe,POSIX_REGEX_SOURCE:Ue,REGEX_NON_SPECIAL_CHAR:$e,REGEX_SPECIAL_CHARS_BACKREF:He,REPLACEMENTS:Ge}=ve;const expandRange=(e,t)=>{if(typeof t.expandRange==="function"){return t.expandRange(...e,t)}e.sort();let r=`[${e.join("-")}]`;try{}catch(t){return e.map((e=>me.escapeRegex(e))).join("..")}return r};const negate=e=>{let t=1;while(e.peek()==="!"&&(e.peek(2)!=="("||e.peek(3)==="?")){e.advance();e.start++;t++}if(t%2===0){return false}e.negated=true;e.start++;return true};const syntaxError=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`;const parse$1=(e,t)=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}e=Ge[e]||e;let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}let o={type:"bos",value:"",output:r.prepend||""};let u=[o];let c=r.capture?"":"?:";let h=me.isWindows(t);const p=ve.globChars(h);const d=ve.extglobChars(p);const{DOT_LITERAL:v,PLUS_LITERAL:m,SLASH_LITERAL:g,ONE_CHAR:y,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:x,NO_DOTS_SLASH:w,QMARK:D,QMARK_NO_DOT:C,STAR:A,START_ANCHOR:S}=p;const globstar=e=>`(${c}(?:(?!${S}${e.dot?_:v}).)*?)`;let k=r.dot?"":E;let F=r.bash===true?globstar(r):A;let R=r.dot?D:C;if(r.capture){F=`(${F})`}if(typeof r.noext==="boolean"){r.noextglob=r.noext}let T={index:-1,start:0,consumed:"",output:"",backtrack:false,brackets:0,braces:0,parens:0,quotes:0,tokens:u};let I=[];let B=[];let N=o;let O;const eos=()=>T.index===a-1;const P=T.peek=(t=1)=>e[T.index+t];const L=T.advance=()=>e[++T.index];const append=e=>{T.output+=e.output!=null?e.output:e.value;T.consumed+=e.value||""};const increment=e=>{T[e]++;B.push(e)};const decrement=e=>{T[e]--;B.pop()};const push=e=>{if(N.type==="globstar"){let t=T.braces>0&&(e.type==="comma"||e.type==="brace");let r=I.length&&(e.type==="pipe"||e.type==="paren");if(e.type!=="slash"&&e.type!=="paren"&&!t&&!r){T.output=T.output.slice(0,-N.output.length);N.type="star";N.value="*";N.output=F;T.output+=N.output}}if(I.length&&e.type!=="paren"&&!d[e.value]){I[I.length-1].inner+=e.value}if(e.value||e.output)append(e);if(N&&N.type==="text"&&e.type==="text"){N.value+=e.value;return}e.prev=N;u.push(e);N=e};const extglobOpen=(e,t)=>{let s=Object.assign({},d[t],{conditions:1,inner:""});s.prev=N;s.parens=T.parens;s.output=T.output;let a=(r.capture?"(":"")+s.open;push({type:e,value:t,output:T.output?"":y});push({type:"paren",extglob:true,value:L(),output:a});increment("parens");I.push(s)};const extglobClose=t=>{let s=t.close+(r.capture?")":"");if(t.type==="negate"){let a=F;if(t.inner&&t.inner.length>1&&t.inner.includes("/")){a=globstar(r)}if(a!==F||eos()||/^\)+$/.test(e.slice(T.index+1))){s=t.close=")$))"+a}if(t.prev.type==="bos"&&eos()){T.negatedExtglob=true}}push({type:"paren",extglob:true,value:O,output:s});decrement("parens")};if(r.fastpaths!==false&&!/(^[*!]|[/{[()\]}"])/.test(e)){let t=false;let s=e.replace(He,((e,r,s,a,o,u)=>{if(a==="\\"){t=true;return e}if(a==="?"){if(r){return r+a+(o?D.repeat(o.length):"")}if(u===0){return R+(o?D.repeat(o.length):"")}return D.repeat(s.length)}if(a==="."){return v.repeat(s.length)}if(a==="*"){if(r){return r+a+(o?F:"")}return F}return r?e:"\\"+e}));if(t===true){if(r.unescape===true){s=s.replace(/\\/g,"")}else{s=s.replace(/\\+/g,(e=>e.length%2===0?"\\\\":e?"\\":""))}}T.output=s;return T}while(!eos()){O=L();if(O==="\0"){continue}if(O==="\\"){let t=P();if(t==="/"&&r.bash!==true){continue}if(t==="."||t===";"){continue}if(!t){O+="\\";push({type:"text",value:O});continue}let s=/^\\+/.exec(e.slice(T.index+1));let a=0;if(s&&s[0].length>2){a=s[0].length;T.index+=a;if(a%2!==0){O+="\\"}}if(r.unescape===true){O=L()||""}else{O+=L()||""}if(T.brackets===0){push({type:"text",value:O});continue}}if(T.brackets>0&&(O!=="]"||N.value==="["||N.value==="[^")){if(r.posix!==false&&O===":"){let e=N.value.slice(1);if(e.includes("[")){N.posix=true;if(e.includes(":")){let e=N.value.lastIndexOf("[");let t=N.value.slice(0,e);let r=N.value.slice(e+2);let s=Ue[r];if(s){N.value=t+s;T.backtrack=true;L();if(!o.output&&u.indexOf(N)===1){o.output=y}continue}}}}if(O==="["&&P()!==":"||O==="-"&&P()==="]"){O="\\"+O}if(O==="]"&&(N.value==="["||N.value==="[^")){O="\\"+O}if(r.posix===true&&O==="!"&&N.value==="["){O="^"}N.value+=O;append({value:O});continue}if(T.quotes===1&&O!=='"'){O=me.escapeRegex(O);N.value+=O;append({value:O});continue}if(O==='"'){T.quotes=T.quotes===1?0:1;if(r.keepQuotes===true){push({type:"text",value:O})}continue}if(O==="("){push({type:"paren",value:O});increment("parens");continue}if(O===")"){if(T.parens===0&&r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}let e=I[I.length-1];if(e&&T.parens===e.parens+1){extglobClose(I.pop());continue}push({type:"paren",value:O,output:T.parens?")":"\\)"});decrement("parens");continue}if(O==="["){if(r.nobracket===true||!e.slice(T.index+1).includes("]")){if(r.nobracket!==true&&r.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}O="\\"+O}else{increment("brackets")}push({type:"bracket",value:O});continue}if(O==="]"){if(r.nobracket===true||N&&N.type==="bracket"&&N.value.length===1){push({type:"text",value:O,output:"\\"+O});continue}if(T.brackets===0){if(r.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:O,output:"\\"+O});continue}decrement("brackets");let e=N.value.slice(1);if(N.posix!==true&&e[0]==="^"&&!e.includes("/")){O="/"+O}N.value+=O;append({value:O});if(r.literalBrackets===false||me.hasRegexChars(e)){continue}let t=me.escapeRegex(N.value);T.output=T.output.slice(0,-N.value.length);if(r.literalBrackets===true){T.output+=t;N.value=t;continue}N.value=`(${c}${t}|${N.value})`;T.output+=N.value;continue}if(O==="{"&&r.nobrace!==true){push({type:"brace",value:O,output:"("});increment("braces");continue}if(O==="}"){if(r.nobrace===true||T.braces===0){push({type:"text",value:O,output:"\\"+O});continue}let e=")";if(T.dots===true){let t=u.slice();let s=[];for(let e=t.length-1;e>=0;e--){u.pop();if(t[e].type==="brace"){break}if(t[e].type!=="dots"){s.unshift(t[e].value)}}e=expandRange(s,r);T.backtrack=true}push({type:"brace",value:O,output:e});decrement("braces");continue}if(O==="|"){if(I.length>0){I[I.length-1].conditions++}push({type:"text",value:O});continue}if(O===","){let e=O;if(T.braces>0&&B[B.length-1]==="braces"){e="|"}push({type:"comma",value:O,output:e});continue}if(O==="/"){if(N.type==="dot"&&T.index===1){T.start=T.index+1;T.consumed="";T.output="";u.pop();N=o;continue}push({type:"slash",value:O,output:g});continue}if(O==="."){if(T.braces>0&&N.type==="dot"){if(N.value===".")N.output=v;N.type="dots";N.output+=O;N.value+=O;T.dots=true;continue}push({type:"dot",value:O,output:v});continue}if(O==="?"){if(N&&N.type==="paren"){let e=P();let t=O;if(e==="<"&&!me.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(N.value==="("&&!/[!=<:]/.test(e)||e==="<"&&!/[!=]/.test(P(2))){t="\\"+O}push({type:"text",value:O,output:t});continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("qmark",O);continue}if(r.dot!==true&&(N.type==="slash"||N.type==="bos")){push({type:"qmark",value:O,output:C});continue}push({type:"qmark",value:O,output:D});continue}if(O==="!"){if(r.noextglob!==true&&P()==="("){if(P(2)!=="?"||!/[!=<:]/.test(P(3))){extglobOpen("negate",O);continue}}if(r.nonegate!==true&&T.index===0){negate(T);continue}}if(O==="+"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("plus",O);continue}if(N&&(N.type==="bracket"||N.type==="paren"||N.type==="brace")){let e=N.extglob===true?"\\"+O:O;push({type:"plus",value:O,output:e});continue}if(T.parens>0&&r.regex!==false){push({type:"plus",value:O});continue}push({type:"plus",value:m});continue}if(O==="@"){if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){push({type:"at",value:O,output:""});continue}push({type:"text",value:O});continue}if(O!=="*"){if(O==="$"||O==="^"){O="\\"+O}let t=$e.exec(e.slice(T.index+1));if(t){O+=t[0];T.index+=t[0].length}push({type:"text",value:O});continue}if(N&&(N.type==="globstar"||N.star===true)){N.type="star";N.star=true;N.value+=O;N.output=F;T.backtrack=true;T.consumed+=O;continue}if(r.noextglob!==true&&P()==="("&&P(2)!=="?"){extglobOpen("star",O);continue}if(N.type==="star"){if(r.noglobstar===true){T.consumed+=O;continue}let t=N.prev;let s=t.prev;let a=t.type==="slash"||t.type==="bos";let o=s&&(s.type==="star"||s.type==="globstar");if(r.bash===true&&(!a||!eos()&&P()!=="/")){push({type:"star",value:O,output:""});continue}let u=T.braces>0&&(t.type==="comma"||t.type==="brace");let c=I.length&&(t.type==="pipe"||t.type==="paren");if(!a&&t.type!=="paren"&&!u&&!c){push({type:"star",value:O,output:""});continue}while(e.slice(T.index+1,T.index+4)==="/**"){let t=e[T.index+4];if(t&&t!=="/"){break}T.consumed+="/**";T.index+=3}if(t.type==="bos"&&eos()){N.type="globstar";N.value+=O;N.output=globstar(r);T.output=N.output;T.consumed+=O;continue}if(t.type==="slash"&&t.prev.type!=="bos"&&!o&&eos()){T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=globstar(r)+"|$)";N.value+=O;T.output+=t.output+N.output;T.consumed+=O;continue}let h=P();if(t.type==="slash"&&t.prev.type!=="bos"&&h==="/"){let e=P(2)!==void 0?"|$":"";T.output=T.output.slice(0,-(t.output+N.output).length);t.output="(?:"+t.output;N.type="globstar";N.output=`${globstar(r)}${g}|${g}${e})`;N.value+=O;T.output+=t.output+N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}if(t.type==="bos"&&h==="/"){N.type="globstar";N.value+=O;N.output=`(?:^|${g}|${globstar(r)}${g})`;T.output=N.output;T.consumed+=O+L();push({type:"slash",value:O,output:""});continue}T.output=T.output.slice(0,-N.output.length);N.type="globstar";N.output=globstar(r);N.value+=O;T.output+=N.output;T.consumed+=O;continue}let t={type:"star",value:O,output:F};if(r.bash===true){t.output=".*?";if(N.type==="bos"||N.type==="slash"){t.output=k+t.output}push(t);continue}if(N&&(N.type==="bracket"||N.type==="paren")&&r.regex===true){t.output=O;push(t);continue}if(T.index===T.start||N.type==="slash"||N.type==="dot"){if(N.type==="dot"){T.output+=x;N.output+=x}else if(r.dot===true){T.output+=w;N.output+=w}else{T.output+=k;N.output+=k}if(P()!=="*"){T.output+=y;N.output+=y}}push(t)}while(T.brackets>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));T.output=me.escapeLast(T.output,"[");decrement("brackets")}while(T.parens>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));T.output=me.escapeLast(T.output,"(");decrement("parens")}while(T.braces>0){if(r.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));T.output=me.escapeLast(T.output,"{");decrement("braces")}if(r.strictSlashes!==true&&(N.type==="star"||N.type==="bracket")){push({type:"maybe_slash",value:"",output:`${g}?`})}if(T.backtrack===true){T.output="";for(let e of T.tokens){T.output+=e.output!=null?e.output:e.value;if(e.suffix){T.output+=e.suffix}}}return T};parse$1.fastpaths=(e,t)=>{let r=Object.assign({},t);let s=typeof r.maxLength==="number"?Math.min(qe,r.maxLength):qe;let a=e.length;if(a>s){throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${s}`)}e=Ge[e]||e;let o=me.isWindows(t);const{DOT_LITERAL:u,SLASH_LITERAL:c,ONE_CHAR:h,DOTS_SLASH:p,NO_DOT:d,NO_DOTS:v,NO_DOTS_SLASH:m,STAR:g,START_ANCHOR:y}=ve.globChars(o);let _=r.capture?"":"?:";let E=r.bash===true?".*?":g;let x=r.dot?v:d;let w=r.dot?m:d;if(r.capture){E=`(${E})`}const globstar=e=>`(${_}(?:(?!${y}${e.dot?p:u}).)*?)`;const create=e=>{switch(e){case"*":return`${x}${h}${E}`;case".*":return`${u}${h}${E}`;case"*.*":return`${x}${E}${u}${h}${E}`;case"*/*":return`${x}${E}${c}${h}${w}${E}`;case"**":return x+globstar(r);case"**/*":return`(?:${x}${globstar(r)}${c})?${w}${h}${E}`;case"**/*.*":return`(?:${x}${globstar(r)}${c})?${w}${E}${u}${h}${E}`;case"**/.*":return`(?:${x}${globstar(r)}${c})?${u}${h}${E}`;default:{let r=/^(.*?)\.(\w+)$/.exec(e);if(!r)return;let s=create(r[1],t);if(!s)return;return s+u+r[2]}}};let D=create(e);if(D&&r.strictSlashes!==true){D+=`${c}?`}return D};var We=parse$1;const picomatch=(e,t,r=false)=>{if(Array.isArray(e)){let s=e.map((e=>picomatch(e,t,r)));return e=>{for(let t of s){let r=t(e);if(r)return r}return false}}if(typeof e!=="string"||e===""){throw new TypeError("Expected pattern to be a non-empty string")}let s=t||{};let a=me.isWindows(t);let o=picomatch.makeRe(e,t,false,true);let u=o.state;delete o.state;let isIgnored=()=>false;if(s.ignore){let e=Object.assign({},t,{ignore:null,onMatch:null,onResult:null});isIgnored=picomatch(s.ignore,e,r)}const matcher=(r,c=false)=>{let{isMatch:h,match:p,output:d}=picomatch.test(r,o,t,{glob:e,posix:a});let v={glob:e,state:u,regex:o,posix:a,input:r,output:d,match:p,isMatch:h};if(typeof s.onResult==="function"){s.onResult(v)}if(h===false){v.isMatch=false;return c?v:false}if(isIgnored(r)){if(typeof s.onIgnore==="function"){s.onIgnore(v)}v.isMatch=false;return c?v:false}if(typeof s.onMatch==="function"){s.onMatch(v)}return c?v:true};if(r){matcher.state=u}return matcher};picomatch.test=(e,t,r,{glob:s,posix:a}={})=>{if(typeof e!=="string"){throw new TypeError("Expected input to be a string")}if(e===""){return{isMatch:false,output:""}}let o=r||{};let u=o.format||(a?me.toPosixSlashes:null);let c=e===s;let h=c&&u?u(e):e;if(c===false){h=u?u(e):e;c=h===s}if(c===false||o.capture===true){if(o.matchBase===true||o.basename===true){c=picomatch.matchBase(e,t,r,a)}else{c=t.exec(h)}}return{isMatch:!!c,match:c,output:h}};picomatch.matchBase=(e,t,r,s=me.isWindows(r))=>{let o=t instanceof RegExp?t:picomatch.makeRe(t,r);return o.test(a.basename(e))};picomatch.isMatch=(e,t,r)=>picomatch(t,r)(e);picomatch.parse=(e,t)=>We(e,t);picomatch.scan=(e,t)=>scan(e,t);picomatch.makeRe=(e,t,r=false,s=false)=>{if(!e||typeof e!=="string"){throw new TypeError("Expected a non-empty string")}let a=t||{};let o=a.contains?"":"^";let u=a.contains?"":"$";let c={negated:false,fastpaths:true};let h="";let p;if(e.startsWith("./")){e=e.slice(2);h=c.prefix="./"}if(a.fastpaths!==false&&(e[0]==="."||e[0]==="*")){p=We.fastpaths(e,t)}if(p===void 0){c=picomatch.parse(e,t);c.prefix=h+(c.prefix||"");p=c.output}if(r===true){return p}let d=`${o}(?:${p})${u}`;if(c&&c.negated===true){d=`^(?!${d}).*$`}let v=picomatch.toRegex(d,t);if(s===true){v.state=c}return v};picomatch.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(e){if(t&&t.debug===true)throw e;return/$^/}};picomatch.constants=ve;var ze=picomatch;var Ke=ze;const isEmptyString=e=>typeof e==="string"&&(e===""||e==="./");const micromatch=(e,t,r)=>{t=[].concat(t);e=[].concat(e);let s=new Set;let a=new Set;let o=new Set;let u=0;let onResult=e=>{o.add(e.output);if(r&&r.onResult){r.onResult(e)}};for(let o=0;o!s.has(e)));if(r&&h.length===0){if(r.failglob===true){throw new Error(`No matches found for "${t.join(", ")}"`)}if(r.nonull===true||r.nullglob===true){return r.unescape?t.map((e=>e.replace(/\\/g,""))):t}}return h};micromatch.match=micromatch;micromatch.matcher=(e,t)=>Ke(e,t);micromatch.isMatch=(e,t,r)=>Ke(t,r)(e);micromatch.any=micromatch.isMatch;micromatch.not=(e,t,r={})=>{t=[].concat(t).map(String);let s=new Set;let a=[];let onResult=e=>{if(r.onResult)r.onResult(e);a.push(e.output)};let o=micromatch(e,t,Object.assign({},r,{onResult:onResult}));for(let e of a){if(!o.includes(e)){s.add(e)}}return[...s]};micromatch.contains=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}if(Array.isArray(t)){return t.some((t=>micromatch.contains(e,t,r)))}if(typeof t==="string"){if(isEmptyString(e)||isEmptyString(t)){return false}if(e.includes(t)||e.startsWith("./")&&e.slice(2).includes(t)){return true}}return micromatch.isMatch(e,t,Object.assign({},r,{contains:true}))};micromatch.matchKeys=(e,t,r)=>{if(!me.isObject(e)){throw new TypeError("Expected the first argument to be an object")}let s=micromatch(Object.keys(e),t,r);let a={};for(let t of s)a[t]=e[t];return a};micromatch.some=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(s.some((e=>t(e)))){return true}}return false};micromatch.every=(e,t,r)=>{let s=[].concat(e);for(let e of[].concat(t)){let t=Ke(String(e),r);if(!s.every((e=>t(e)))){return false}}return true};micromatch.all=(e,t,r)=>{if(typeof e!=="string"){throw new TypeError(`Expected a string: "${u.inspect(e)}"`)}return[].concat(t).every((t=>Ke(t,r)(e)))};micromatch.capture=(e,t,r)=>{let s=me.isWindows(r);let a=Ke.makeRe(String(e),Object.assign({},r,{capture:true}));let o=a.exec(s?me.toPosixSlashes(t):t);if(o){return o.slice(1).map((e=>e===void 0?"":e))}};micromatch.makeRe=(...e)=>Ke.makeRe(...e);micromatch.scan=(...e)=>Ke.scan(...e);micromatch.parse=(e,t)=>{let r=[];for(let s of[].concat(e||[])){for(let e of K(String(s),t)){r.push(Ke.parse(e,t))}}return r};micromatch.braces=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");if(t&&t.nobrace===true||!/\{.*\}/.test(e)){return[e]}return K(e,t)};micromatch.braceExpand=(e,t)=>{if(typeof e!=="string")throw new TypeError("Expected a string");return micromatch.braces(e,Object.assign({},t,{expand:true}))};var Qe=micromatch;function ensureArray(e){if(Array.isArray(e))return e;if(e==undefined)return[];return[e]}function getMatcherString(e,t){if(t===false){return e}return s.resolve(...typeof t==="string"?[t,e]:[e])}const Xe=function createFilter(e,t,r){const a=r&&r.resolve;const getMatcher=e=>e instanceof RegExp?e:{test:Qe.matcher(getMatcherString(e,a).split(s.sep).join("/"),{dot:true})};const o=ensureArray(e).map(getMatcher);const u=ensureArray(t).map(getMatcher);return function(e){if(typeof e!=="string")return false;if(/\0/.test(e))return false;e=e.split(s.sep).join("/");for(let t=0;tt.toUpperCase())).replace(/[^$_a-zA-Z0-9]/g,"_");if(/\d/.test(e[0])||Ye.has(e)){e=`_${e}`}return e||"_"};function stringify$2(e){return(JSON.stringify(e)||"undefined").replace(/[\u2028\u2029]/g,(e=>`\\u${("000"+e.charCodeAt(0).toString(16)).slice(-4)}`))}function serializeArray(e,t,r){let s="[";const a=t?"\n"+r+t:"";for(let o=0;o0?",":""}${a}${serialize(u,t,r+t)}`}return s+`${t?"\n"+r:""}]`}function serializeObject(e,t,r){let s="{";const a=t?"\n"+r+t:"";const o=Object.keys(e);for(let u=0;u0?",":""}${a}${h}:${t?" ":""}${serialize(e[c],t,r+t)}`}return s+`${t?"\n"+r:""}}`}function serialize(e,t,r){if(e===Infinity)return"Infinity";if(e===-Infinity)return"-Infinity";if(e===0&&1/e===-Infinity)return"-0";if(e instanceof Date)return"new Date("+e.getTime()+")";if(e instanceof RegExp)return e.toString();if(e!==e)return"NaN";if(Array.isArray(e))return serializeArray(e,t,r);if(e===null)return"null";if(typeof e==="object")return serializeObject(e,t,r);return stringify$2(e)}const tt=function dataToEsm(e,t={}){const r=t.compact?"":"indent"in t?t.indent:"\t";const s=t.compact?"":" ";const a=t.compact?"":"\n";const o=t.preferConst?"const":"var";if(t.namedExports===false||typeof e!=="object"||Array.isArray(e)||e instanceof Date||e instanceof RegExp||e===null){const a=serialize(e,t.compact?null:r,"");const o=s||(/^[{[\-\/]/.test(a)?"":" ");return`export default${o}${a};`}let u="";const c=[];const h=Object.keys(e);for(let p=0;p{t=e.exports=SemVer;var r;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){r=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER");console.log.apply(console,e)}}else{r=function(){}}t.SEMVER_SPEC_VERSION="2.0.0";var s=256;var a=Number.MAX_SAFE_INTEGER||9007199254740991;var o=16;var u=t.re=[];var c=t.src=[];var h=0;var p=h++;c[p]="0|[1-9]\\d*";var d=h++;c[d]="[0-9]+";var v=h++;c[v]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var m=h++;c[m]="("+c[p]+")\\."+"("+c[p]+")\\."+"("+c[p]+")";var g=h++;c[g]="("+c[d]+")\\."+"("+c[d]+")\\."+"("+c[d]+")";var y=h++;c[y]="(?:"+c[p]+"|"+c[v]+")";var _=h++;c[_]="(?:"+c[d]+"|"+c[v]+")";var E=h++;c[E]="(?:-("+c[y]+"(?:\\."+c[y]+")*))";var x=h++;c[x]="(?:-?("+c[_]+"(?:\\."+c[_]+")*))";var w=h++;c[w]="[0-9A-Za-z-]+";var D=h++;c[D]="(?:\\+("+c[w]+"(?:\\."+c[w]+")*))";var C=h++;var A="v?"+c[m]+c[E]+"?"+c[D]+"?";c[C]="^"+A+"$";var S="[v=\\s]*"+c[g]+c[x]+"?"+c[D]+"?";var k=h++;c[k]="^"+S+"$";var F=h++;c[F]="((?:<|>)?=?)";var R=h++;c[R]=c[d]+"|x|X|\\*";var T=h++;c[T]=c[p]+"|x|X|\\*";var I=h++;c[I]="[v=\\s]*("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:\\.("+c[T]+")"+"(?:"+c[E]+")?"+c[D]+"?"+")?)?";var B=h++;c[B]="[v=\\s]*("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:\\.("+c[R]+")"+"(?:"+c[x]+")?"+c[D]+"?"+")?)?";var N=h++;c[N]="^"+c[F]+"\\s*"+c[I]+"$";var O=h++;c[O]="^"+c[F]+"\\s*"+c[B]+"$";var P=h++;c[P]="(?:^|[^\\d])"+"(\\d{1,"+o+"})"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:\\.(\\d{1,"+o+"}))?"+"(?:$|[^\\d])";var L=h++;c[L]="(?:~>?)";var j=h++;c[j]="(\\s*)"+c[L]+"\\s+";u[j]=new RegExp(c[j],"g");var M="$1~";var V=h++;c[V]="^"+c[L]+c[I]+"$";var q=h++;c[q]="^"+c[L]+c[B]+"$";var U=h++;c[U]="(?:\\^)";var $=h++;c[$]="(\\s*)"+c[U]+"\\s+";u[$]=new RegExp(c[$],"g");var H="$1^";var G=h++;c[G]="^"+c[U]+c[I]+"$";var W=h++;c[W]="^"+c[U]+c[B]+"$";var z=h++;c[z]="^"+c[F]+"\\s*("+S+")$|^$";var K=h++;c[K]="^"+c[F]+"\\s*("+A+")$|^$";var Q=h++;c[Q]="(\\s*)"+c[F]+"\\s*("+S+"|"+c[I]+")";u[Q]=new RegExp(c[Q],"g");var X="$1$2$3";var J=h++;c[J]="^\\s*("+c[I]+")"+"\\s+-\\s+"+"("+c[I]+")"+"\\s*$";var Z=h++;c[Z]="^\\s*("+c[B]+")"+"\\s+-\\s+"+"("+c[B]+")"+"\\s*$";var Y=h++;c[Y]="(<|>)?=?\\s*\\*";for(var ee=0;ees){return null}var r=t.loose?u[k]:u[C];if(!r.test(e)){return null}try{return new SemVer(e,t)}catch(e){return null}}t.valid=valid;function valid(e,t){var r=parse(e,t);return r?r.version:null}t.clean=clean;function clean(e,t){var r=parse(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}t.SemVer=SemVer;function SemVer(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof SemVer){if(e.loose===t.loose){return e}else{e=e.version}}else if(typeof e!=="string"){throw new TypeError("Invalid Version: "+e)}if(e.length>s){throw new TypeError("version is longer than "+s+" characters")}if(!(this instanceof SemVer)){return new SemVer(e,t)}r("SemVer",e,t);this.options=t;this.loose=!!t.loose;var o=e.trim().match(t.loose?u[k]:u[C]);if(!o){throw new TypeError("Invalid Version: "+e)}this.raw=e;this.major=+o[1];this.minor=+o[2];this.patch=+o[3];if(this.major>a||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>a||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>a||this.patch<0){throw new TypeError("Invalid patch version")}if(!o[4]){this.prerelease=[]}else{this.prerelease=o[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t=0){if(typeof this.prerelease[r]==="number"){this.prerelease[r]++;r=-2}}if(r===-1){this.prerelease.push(0)}}if(t){if(this.prerelease[0]===t){if(isNaN(this.prerelease[1])){this.prerelease=[t,0]}}else{this.prerelease=[t,0]}}break;default:throw new Error("invalid increment argument: "+e)}this.format();this.raw=this.version;return this};t.inc=inc;function inc(e,t,r,s){if(typeof r==="string"){s=r;r=undefined}try{return new SemVer(e,r).inc(t,s).version}catch(e){return null}}t.diff=diff;function diff(e,t){if(eq(e,t)){return null}else{var r=parse(e);var s=parse(t);var a="";if(r.prerelease.length||s.prerelease.length){a="pre";var o="prerelease"}for(var u in r){if(u==="major"||u==="minor"||u==="patch"){if(r[u]!==s[u]){return a+u}}}return o}}t.compareIdentifiers=compareIdentifiers;var te=/^[0-9]+$/;function compareIdentifiers(e,t){var r=te.test(e);var s=te.test(t);if(r&&s){e=+e;t=+t}return e===t?0:r&&!s?-1:s&&!r?1:e0}t.lt=lt;function lt(e,t,r){return compare(e,t,r)<0}t.eq=eq;function eq(e,t,r){return compare(e,t,r)===0}t.neq=neq;function neq(e,t,r){return compare(e,t,r)!==0}t.gte=gte;function gte(e,t,r){return compare(e,t,r)>=0}t.lte=lte;function lte(e,t,r){return compare(e,t,r)<=0}t.cmp=cmp;function cmp(e,t,r,s){switch(t){case"===":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e===r;case"!==":if(typeof e==="object")e=e.version;if(typeof r==="object")r=r.version;return e!==r;case"":case"=":case"==":return eq(e,r,s);case"!=":return neq(e,r,s);case">":return gt(e,r,s);case">=":return gte(e,r,s);case"<":return lt(e,r,s);case"<=":return lte(e,r,s);default:throw new TypeError("Invalid operator: "+t)}}t.Comparator=Comparator;function Comparator(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Comparator){if(e.loose===!!t.loose){return e}else{e=e.value}}if(!(this instanceof Comparator)){return new Comparator(e,t)}r("comparator",e,t);this.options=t;this.loose=!!t.loose;this.parse(e);if(this.semver===re){this.value=""}else{this.value=this.operator+this.semver.version}r("comp",this)}var re={};Comparator.prototype.parse=function(e){var t=this.options.loose?u[z]:u[K];var r=e.match(t);if(!r){throw new TypeError("Invalid comparator: "+e)}this.operator=r[1];if(this.operator==="="){this.operator=""}if(!r[2]){this.semver=re}else{this.semver=new SemVer(r[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(e){r("Comparator.test",e,this.options.loose);if(this.semver===re){return true}if(typeof e==="string"){e=new SemVer(e,this.options)}return cmp(e,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(e,t){if(!(e instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}var r;if(this.operator===""){r=new Range(e.value,t);return satisfies(this.value,r,t)}else if(e.operator===""){r=new Range(this.value,t);return satisfies(e.semver,r,t)}var s=(this.operator===">="||this.operator===">")&&(e.operator===">="||e.operator===">");var a=(this.operator==="<="||this.operator==="<")&&(e.operator==="<="||e.operator==="<");var o=this.semver.version===e.semver.version;var u=(this.operator===">="||this.operator==="<=")&&(e.operator===">="||e.operator==="<=");var c=cmp(this.semver,"<",e.semver,t)&&((this.operator===">="||this.operator===">")&&(e.operator==="<="||e.operator==="<"));var h=cmp(this.semver,">",e.semver,t)&&((this.operator==="<="||this.operator==="<")&&(e.operator===">="||e.operator===">"));return s||a||o&&u||c||h};t.Range=Range;function Range(e,t){if(!t||typeof t!=="object"){t={loose:!!t,includePrerelease:false}}if(e instanceof Range){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease){return e}else{return new Range(e.raw,t)}}if(e instanceof Comparator){return new Range(e.value,t)}if(!(this instanceof Range)){return new Range(e,t)}this.options=t;this.loose=!!t.loose;this.includePrerelease=!!t.includePrerelease;this.raw=e;this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+e)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var s=t?u[Z]:u[J];e=e.replace(s,hyphenReplace);r("hyphen replace",e);e=e.replace(u[Q],X);r("comparator trim",e,u[Q]);e=e.replace(u[j],M);e=e.replace(u[$],H);e=e.split(/\s+/).join(" ");var a=t?u[z]:u[K];var o=e.split(" ").map((function(e){return parseComparator(e,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){o=o.filter((function(e){return!!e.match(a)}))}o=o.map((function(e){return new Comparator(e,this.options)}),this);return o};Range.prototype.intersects=function(e,t){if(!(e instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(r){return r.every((function(r){return e.set.some((function(e){return e.every((function(e){return r.intersects(e,t)}))}))}))}))};t.toComparators=toComparators;function toComparators(e,t){return new Range(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))}function parseComparator(e,t){r("comp",e,t);e=replaceCarets(e,t);r("caret",e);e=replaceTildes(e,t);r("tildes",e);e=replaceXRanges(e,t);r("xrange",e);e=replaceStars(e,t);r("stars",e);return e}function isX(e){return!e||e.toLowerCase()==="x"||e==="*"}function replaceTildes(e,t){return e.trim().split(/\s+/).map((function(e){return replaceTilde(e,t)})).join(" ")}function replaceTilde(e,t){var s=t.loose?u[q]:u[V];return e.replace(s,(function(t,s,a,o,u){r("tilde",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else if(u){r("replaceTilde pr",u);c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}r("tilde return",c);return c}))}function replaceCarets(e,t){return e.trim().split(/\s+/).map((function(e){return replaceCaret(e,t)})).join(" ")}function replaceCaret(e,t){r("caret",e,t);var s=t.loose?u[W]:u[G];return e.replace(s,(function(t,s,a,o,u){r("caret",e,t,s,a,o,u);var c;if(isX(s)){c=""}else if(isX(a)){c=">="+s+".0.0 <"+(+s+1)+".0.0"}else if(isX(o)){if(s==="0"){c=">="+s+"."+a+".0 <"+s+"."+(+a+1)+".0"}else{c=">="+s+"."+a+".0 <"+(+s+1)+".0.0"}}else if(u){r("replaceCaret pr",u);if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+"-"+u+" <"+(+s+1)+".0.0"}}else{r("no pr");if(s==="0"){if(a==="0"){c=">="+s+"."+a+"."+o+" <"+s+"."+a+"."+(+o+1)}else{c=">="+s+"."+a+"."+o+" <"+s+"."+(+a+1)+".0"}}else{c=">="+s+"."+a+"."+o+" <"+(+s+1)+".0.0"}}r("caret return",c);return c}))}function replaceXRanges(e,t){r("replaceXRanges",e,t);return e.split(/\s+/).map((function(e){return replaceXRange(e,t)})).join(" ")}function replaceXRange(e,t){e=e.trim();var s=t.loose?u[O]:u[N];return e.replace(s,(function(t,s,a,o,u,c){r("xRange",e,t,s,a,o,u,c);var h=isX(a);var p=h||isX(o);var d=p||isX(u);var v=d;if(s==="="&&v){s=""}if(h){if(s===">"||s==="<"){t="<0.0.0"}else{t="*"}}else if(s&&v){if(p){o=0}u=0;if(s===">"){s=">=";if(p){a=+a+1;o=0;u=0}else{o=+o+1;u=0}}else if(s==="<="){s="<";if(p){a=+a+1}else{o=+o+1}}t=s+a+"."+o+"."+u}else if(p){t=">="+a+".0.0 <"+(+a+1)+".0.0"}else if(d){t=">="+a+"."+o+".0 <"+a+"."+(+o+1)+".0"}r("xRange return",t);return t}))}function replaceStars(e,t){r("replaceStars",e,t);return e.trim().replace(u[Y],"")}function hyphenReplace(e,t,r,s,a,o,u,c,h,p,d,v,m){if(isX(r)){t=""}else if(isX(s)){t=">="+r+".0.0"}else if(isX(a)){t=">="+r+"."+s+".0"}else{t=">="+t}if(isX(h)){c=""}else if(isX(p)){c="<"+(+h+1)+".0.0"}else if(isX(d)){c="<"+h+"."+(+p+1)+".0"}else if(v){c="<="+h+"."+p+"."+d+"-"+v}else{c="<="+c}return(t+" "+c).trim()}Range.prototype.test=function(e){if(!e){return false}if(typeof e==="string"){e=new SemVer(e,this.options)}for(var t=0;t0){var o=e[a].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch){return true}}}return false}return true}t.satisfies=satisfies;function satisfies(e,t,r){try{t=new Range(t,r)}catch(e){return false}return t.test(e)}t.maxSatisfying=maxSatisfying;function maxSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===-1){s=e;a=new SemVer(s,r)}}}));return s}t.minSatisfying=minSatisfying;function minSatisfying(e,t,r){var s=null;var a=null;try{var o=new Range(t,r)}catch(e){return null}e.forEach((function(e){if(o.test(e)){if(!s||a.compare(e)===1){s=e;a=new SemVer(s,r)}}}));return s}t.minVersion=minVersion;function minVersion(e,t){e=new Range(e,t);var r=new SemVer("0.0.0");if(e.test(r)){return r}r=new SemVer("0.0.0-0");if(e.test(r)){return r}r=null;for(var s=0;s":if(t.prerelease.length===0){t.patch++}else{t.prerelease.push(0)}t.raw=t.format();case"":case">=":if(!r||gt(r,t)){r=t}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r)){return r}return null}t.validRange=validRange;function validRange(e,t){try{return new Range(e,t).range||"*"}catch(e){return null}}t.ltr=ltr;function ltr(e,t,r){return outside(e,t,"<",r)}t.gtr=gtr;function gtr(e,t,r){return outside(e,t,">",r)}t.outside=outside;function outside(e,t,r,s){e=new SemVer(e,s);t=new Range(t,s);var a,o,u,c,h;switch(r){case">":a=gt;o=lte;u=lt;c=">";h=">=";break;case"<":a=lt;o=gte;u=gt;c="<";h="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(e,t,s)){return false}for(var p=0;p=0.0.0")}v=v||e;m=m||e;if(a(e.semver,v.semver,s)){v=e}else if(u(e.semver,m.semver,s)){m=e}}));if(v.operator===c||v.operator===h){return false}if((!m.operator||m.operator===c)&&o(e,m.semver)){return false}else if(m.operator===h&&u(e,m.semver)){return false}}return true}t.prerelease=prerelease;function prerelease(e,t){var r=parse(e,t);return r&&r.prerelease.length?r.prerelease:null}t.intersects=intersects;function intersects(e,t,r){e=new Range(e,r);t=new Range(t,r);return e.intersects(t)}t.coerce=coerce;function coerce(e){if(e instanceof SemVer){return e}if(typeof e!=="string"){return null}var t=e.match(u[P]);if(t==null){return null}return parse(t[1]+"."+(t[2]||"0")+"."+(t[3]||"0"))}},9344:e=>{e.exports=function(e){[process.stdout,process.stderr].forEach((function(t){if(t._handle&&t.isTTY&&typeof t._handle.setBlocking==="function"){t._handle.setBlocking(e)}}))}},4931:(e,t,r)=>{var s=r(2357);var a=r(3710);var o=r(8614);if(typeof o!=="function"){o=o.EventEmitter}var u;if(process.__signal_exit_emitter__){u=process.__signal_exit_emitter__}else{u=process.__signal_exit_emitter__=new o;u.count=0;u.emitted={}}if(!u.infinite){u.setMaxListeners(Infinity);u.infinite=true}e.exports=function(e,t){s.equal(typeof e,"function","a callback must be provided for exit handler");if(h===false){load()}var r="exit";if(t&&t.alwaysLast){r="afterexit"}var remove=function(){u.removeListener(r,e);if(u.listeners("exit").length===0&&u.listeners("afterexit").length===0){unload()}};u.on(r,e);return remove};e.exports.unload=unload;function unload(){if(!h){return}h=false;a.forEach((function(e){try{process.removeListener(e,c[e])}catch(e){}}));process.emit=d;process.reallyExit=p;u.count-=1}function emit(e,t,r){if(u.emitted[e]){return}u.emitted[e]=true;u.emit(e,t,r)}var c={};a.forEach((function(e){c[e]=function listener(){var t=process.listeners(e);if(t.length===u.count){unload();emit("exit",null,e);emit("afterexit",null,e);process.kill(process.pid,e)}}}));e.exports.signals=function(){return a};e.exports.load=load;var h=false;function load(){if(h){return}h=true;u.count+=1;a=a.filter((function(e){try{process.on(e,c[e]);return true}catch(e){return false}}));process.emit=processEmit;process.reallyExit=processReallyExit}var p=process.reallyExit;function processReallyExit(e){process.exitCode=e||0;emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);p.call(process,process.exitCode)}var d=process.emit;function processEmit(e,t){if(e==="exit"){if(t!==undefined){process.exitCode=t}var r=d.apply(this,arguments);emit("exit",process.exitCode,null);emit("afterexit",process.exitCode,null);return r}else{return d.apply(this,arguments)}}},3710:e=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32"){e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT")}if(process.platform==="linux"){e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")}},4957:function(e,t){(function(e,r){true?r(t):0})(this,(function(e){"use strict";var t={};var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(var s=0;s>=1;var D=w?-g:g;if(v==0){r+=D;p.push(r)}else if(v===1){s+=D;p.push(s)}else if(v===2){a+=D;p.push(a)}else if(v===3){o+=D;p.push(o)}else if(v===4){u+=D;p.push(u)}v++;g=m=0}}}if(p.length)h.push(new Int32Array(p));c.push(h);return c}function encode(e){var t=0;var r=0;var s=0;var a=0;var o="";for(var u=0;u0)o+=";";if(c.length===0)continue;var h=0;var p=[];for(var d=0,v=c;d1){g+=encodeInteger(m[1]-t)+encodeInteger(m[2]-r)+encodeInteger(m[3]-s);t=m[1];r=m[2];s=m[3]}if(m.length===5){g+=encodeInteger(m[4]-a);a=m[4]}p.push(g)}o+=p.join(",")}return o}function encodeInteger(e){var t="";e=e<0?-e<<1|1:e<<1;do{var s=e&31;e>>=5;if(e>0){s|=32}t+=r[s]}while(e>0);return t}e.decode=decode;e.encode=encode;Object.defineProperty(e,"__esModule",{value:true})}))},2577:(e,t,r)=>{"use strict";const s=r(3520);const a=r(4882);e.exports=e=>{if(typeof e!=="string"||e.length===0){return 0}e=s(e);let t=0;for(let r=0;r=127&&s<=159){continue}if(s>=768&&s<=879){continue}if(s>65535){r++}t+=a(s)?2:1}return t}},9139:e=>{"use strict";e.exports=()=>{const e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))"].join("|");return new RegExp(e,"g")}},3520:(e,t,r)=>{"use strict";const s=r(9139);e.exports=e=>typeof e==="string"?e.replace(s(),""):e},4841:(e,t,r)=>{"use strict";var s=r(2279).Buffer;var a=s.isEncoding||function(e){e=""+e;switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(e){if(!e)return"utf8";var t;while(true){switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase();t=true}}}function normalizeEncoding(e){var t=_normalizeEncoding(e);if(typeof t!=="string"&&(s.isEncoding===a||!a(e)))throw new Error("Unknown encoding: "+e);return t||e}t.s=StringDecoder;function StringDecoder(e){this.encoding=normalizeEncoding(e);var t;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;t=4;break;case"utf8":this.fillLast=utf8FillLast;t=4;break;case"base64":this.text=base64Text;this.end=base64End;t=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=s.allocUnsafe(t)}StringDecoder.prototype.write=function(e){if(e.length===0)return"";var t;var r;if(this.lastNeed){t=this.fillLast(e);if(t===undefined)return"";r=this.lastNeed;this.lastNeed=0}else{r=0}if(r>5===6)return 2;else if(e>>4===14)return 3;else if(e>>3===30)return 4;return e>>6===2?-1:-2}function utf8CheckIncomplete(e,t,r){var s=t.length-1;if(s=0){if(a>0)e.lastNeed=a-1;return a}if(--s=0){if(a>0)e.lastNeed=a-2;return a}if(--s=0){if(a>0){if(a===2)a=0;else e.lastNeed=a-3}return a}return 0}function utf8CheckExtraBytes(e,t,r){if((t[0]&192)!==128){e.lastNeed=0;return"�"}if(e.lastNeed>1&&t.length>1){if((t[1]&192)!==128){e.lastNeed=1;return"�"}if(e.lastNeed>2&&t.length>2){if((t[2]&192)!==128){e.lastNeed=2;return"�"}}}}function utf8FillLast(e){var t=this.lastTotal-this.lastNeed;var r=utf8CheckExtraBytes(this,e,t);if(r!==undefined)return r;if(this.lastNeed<=e.length){e.copy(this.lastChar,t,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}e.copy(this.lastChar,t,0,e.length);this.lastNeed-=e.length}function utf8Text(e,t){var r=utf8CheckIncomplete(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var s=e.length-(r-this.lastNeed);e.copy(this.lastChar,0,s);return e.toString("utf8",t,s)}function utf8End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+"�";return t}function utf16Text(e,t){if((e.length-t)%2===0){var r=e.toString("utf16le",t);if(r){var s=r.charCodeAt(r.length-1);if(s>=55296&&s<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1];return r.slice(0,-1)}}return r}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=e[e.length-1];return e.toString("utf16le",t,e.length-1)}function utf16End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function base64Text(e,t){var r=(e.length-t)%3;if(r===0)return e.toString("base64",t);this.lastNeed=3-r;this.lastTotal=3;if(r===1){this.lastChar[0]=e[e.length-1]}else{this.lastChar[0]=e[e.length-2];this.lastChar[1]=e[e.length-1]}return e.toString("base64",t,e.length-r)}function base64End(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed)return t+this.lastChar.toString("base64",0,3-this.lastNeed);return t}function simpleWrite(e){return e.toString(this.encoding)}function simpleEnd(e){return e&&e.length?this.write(e):""}},2279:(e,t,r)=>{var s=r(4293);var a=s.Buffer;function copyProps(e,t){for(var r in e){t[r]=e[r]}}if(a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow){e.exports=s}else{copyProps(s,t);t.Buffer=SafeBuffer}function SafeBuffer(e,t,r){return a(e,t,r)}copyProps(a,SafeBuffer);SafeBuffer.from=function(e,t,r){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return a(e,t,r)};SafeBuffer.alloc=function(e,t,r){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var s=a(e);if(t!==undefined){if(typeof r==="string"){s.fill(t,r)}else{s.fill(t)}}else{s.fill(0)}return s};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return a(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return s.SlowBuffer(e)}},5591:(e,t,r)=>{"use strict";var s=r(5465)();e.exports=function(e){return typeof e==="string"?e.replace(s,""):e}},5465:e=>{"use strict";e.exports=function(){return/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-PRZcf-nqry=><]/g}},5278:(e,t,r)=>{e.exports=r(1669).deprecate},8034:(e,t,r)=>{"use strict";var s=r(2577);t.center=alignCenter;t.left=alignLeft;t.right=alignRight;function createPadding(e){var t="";var r=" ";var s=e;do{if(s%2){t+=r}s=Math.floor(s/2);r+=r}while(s);return t}function alignLeft(e,t){var r=e.trimRight();if(r.length===0&&e.length>=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o=s(r);if(o=t)return e;var a="";var o="";var u=s(r);if(u{e.exports=wrappy;function wrappy(e,t){if(e&&t)return wrappy(e)(t);if(typeof e!=="function")throw new TypeError("need wrapper function");Object.keys(e).forEach((function(t){wrapper[t]=e[t]}));return wrapper;function wrapper(){var t=new Array(arguments.length);for(var r=0;r{const s=r(5622);const{readFileSync:a,readFile:o,stat:u,lstat:c,readlink:h,statSync:p}=r(7758);const{walk:d}=r(6465);const v=r(5734);const{attachScopes:m}=r(5648);const g=r(798);let y=r(390);const _=r(8384);const E=r(8357);const x=r(1331);const w=r(1957);const D=r(8011);const C=r(3953);const{pregyp:A,nbind:S}=r(5277);const k=r(9646);const{getOptions:F}=r(3432);const R=r(9283);const T=r(4723);const I=r(2087);const B=r(4090);const{pathToFileURL:N,fileURLToPath:O}=r(8835);y=y.Parser.extend(r(4259),r(104),r(9406));const P=[".js",".json",".node"];const{UNKNOWN:L,FUNCTION:j,WILDCARD:M,wildcardRegEx:V}=g;function isIdentifierRead(e,t){switch(t.type){case"ObjectPattern":case"ArrayPattern":return false;case"AssignmentExpression":return t.right===e;case"MemberExpression":return t.computed||e===t.object;case"Property":return e===t.value;case"MethodDefinition":return false;case"VariableDeclarator":return t.id!==e;case"ExportSpecifier":return false;case"FunctionExpression":case"FunctionDeclaration":case"ArrowFunctionExpression":return false;default:return true}}function isVarLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"}function isLoop(e){return e.type==="ForStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="WhileStatement"||e.type==="DoWhileStatement"}const q=new Map;let U;let $=0;function getAssetState(e,t){let r=q.get(t);if(!r){q.set(t,r={stateId:++$,entryIds:getEntryIds(t),assets:Object.create(null),assetNames:Object.create(null),assetMeta:Object.create(null),assetSymlinks:Object.create(null),hadOptions:false})}if(!r.hadOptions){r.hadOptions=true;if(e&&e.existingAssetNames){e.existingAssetNames.forEach((e=>{r.assetNames[e]=true}))}}return U=r}const flattenArray=e=>Array.prototype.concat.apply([],e);function getEntryIds(e){if(e.options.entry){if(typeof e.options.entry==="string"){try{return[R.sync(e.options.entry,{extensions:P})]}catch(e){return}}else if(typeof e.options.entry==="object"){try{return flattenArray(Object.values(e.options.entry).map((e=>{if(typeof e==="string"){return[e]}if(e&&Array.isArray(e.import)){return e.import}return[]}))).map((e=>R.sync(e,{extensions:P})))}catch(e){return}}}}function assetBase(e){if(!e)return"";if(e.endsWith("/")||e.endsWith("\\"))return e;return e+"/"}const H={cwd:()=>se,env:{NODE_ENV:L,[L]:true},[L]:true};const G=Symbol();const W=Symbol();const z=Symbol();const K=Symbol();const Q=Symbol();const X=Symbol();const J=Symbol();const Z={access:K,accessSync:K,createReadStream:K,exists:K,existsSync:K,fstat:K,fstatSync:K,lstat:K,lstatSync:K,open:K,readFile:K,readFileSync:K,stat:K,statSync:K};const Y=Object.assign(Object.create(null),{bindings:{default:X},express:{default:function(){return{[L]:true,set:G,engine:W}}},fs:{default:Z,...Z},process:{default:H,...H},path:{default:{}},os:{default:I,...I},"node-pre-gyp":A,"node-pre-gyp/lib/pre-binding":A,"node-pre-gyp/lib/pre-binding.js":A,"@mapbox/node-pre-gyp":A,"@mapbox/node-pre-gyp/lib/pre-binding":A,"@mapbox/node-pre-gyp/lib/pre-binding.js":A,"node-gyp-build":{default:J},nbind:{init:z,default:{init:z}},"resolve-from":{default:Q}});const ee={MONGOOSE_DRIVER_PATH:undefined,URL:URL};ee.global=ee.GLOBAL=ee.globalThis=ee;const te=Symbol();A.find[te]=true;const re=Y.path;Object.keys(s).forEach((e=>{const t=s[e];if(typeof t==="function"){const fn=function(){return t.apply(this,arguments)};fn[te]=true;re[e]=re.default[e]=fn}else{re[e]=re.default[e]=t}}));re.resolve=re.default.resolve=function(...e){return s.resolve.apply(this,[se,...e])};re.resolve[te]=true;const ie=new Set([".h",".cmake",".c",".cpp"]);const ne=new Set(["CHANGELOG.md","README.md","readme.md","changelog.md"]);let se;function backtrack(e,t){if(!t||t.type!=="ArrayExpression")return e.skip()}const ae=/^\/[^\/]+|^[a-z]:[\\/][^\\/]+/i;function isAbsolutePathOrUrl(e){if(e instanceof URL)return e.protocol==="file:";if(typeof e==="string"){if(e.startsWith("file:")){try{new URL(e);return true}catch{return false}}return ae.test(e)}return false}const oe=Symbol();function generateWildcardRequire(e,t,r,a,o){const u=a.length;const c=t.endsWith(M);const h=t.indexOf(M);const p=t.substr(0,h);const d=t.substr(h+1);const v=d?"?(.@(js|json|node))":".@(js|json|node)";if(o)console.log("Generating wildcard requires for "+t.replace(M,"*"));let m=w.sync(p+"**"+d+v,{mark:true,ignore:"node_modules/**/*"});if(!m.length)return;const g=m.map(((t,r)=>{const a=JSON.stringify(t.substring(p.length,t.lastIndexOf(d)));let o=s.relative(e,t).replace(/\\/g,"/");if(!o.startsWith("../"))o="./"+o;let u=r===0?" ":" else ";if(c&&a.endsWith('.js"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-4)}")`;else if(c&&a.endsWith('.json"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else if(c&&a.endsWith('.node"'))u+=`if (arg === ${a} || arg === ${a.substr(0,a.length-6)}")`;else u+=`if (arg === ${a})`;u+=` return require(${JSON.stringify(o)});`;return u})).join("\n");a.push(`function __ncc_wildcard$${u} (arg) {\n${g}\n}`);return`__ncc_wildcard$${u}(${r})`}const ue=new WeakSet;function injectPathHook(e,t){const r=e.outputOptions.module;const{mainTemplate:a}=e;if(!ue.has(a)){ue.add(a);a.hooks.requireExtensions.tap("asset-relocator-loader",((e,a)=>{let o="";if(a.name){o=s.relative(s.dirname(a.name),".").replace(/\\/g,"/");if(o.length)o="/"+o}return`${e}\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = ${r?"new URL('.', import.meta.url).pathname.slice(import.meta.url.match(/^file:\\/\\/\\/\\w:/) ? 1 : 0, -1)":"__dirname"} + ${JSON.stringify(o+"/"+assetBase(t))};`}))}}e.exports=async function(e,t){if(this.cacheable)this.cacheable();this.async();const r=this.resourcePath;const A=s.dirname(r);const T=F(this)||{};injectPathHook(this._compilation,T.outputAssetBase);if(r.endsWith(".node")){const t=getAssetState(T,this._compilation);const s=D(this.resourcePath)||A;await x(s,t,assetBase(T.outputAssetBase),this.emitFile);let a;if(!(a=t.assets[r]))a=t.assets[r]=E(r.substr(s.length+1).replace(/\\/g,"/"),r,t.assetNames);const o=await new Promise(((e,t)=>u(r,((r,s)=>r?t(r):e(s.mode)))));t.assetMeta[a]={path:r,permissions:o};this.emitFile(assetBase(T.outputAssetBase)+a,e);this.callback(null,"module.exports = __non_webpack_require__(__webpack_require__.ab + "+JSON.stringify(a)+")");return}if(r.endsWith(".json"))return this.callback(null,I,t);let I=e.toString();if(typeof T.production==="boolean"&&H.env.NODE_ENV===L){H.env.NODE_ENV=T.production?"production":"dev"}if(!se){if(typeof T.cwd==="string")se=s.resolve(T.cwd);else se=process.cwd()}const q=getAssetState(T,this._compilation);const U=q.entryIds;const $=D(r);const emitAsset=e=>{let t=s.basename(e);if(e.endsWith(".node")){if($)t=e.substr($.length+1).replace(/\\/g,"/");const r=x($,q,assetBase(T.outputAssetBase),this.emitFile);Z=Z.then((()=>r))}let a;if(!(a=q.assets[e])){a=q.assets[e]=E(t,e,q.assetNames);if(T.debugLog)console.log("Emitting "+e+" for static use in module "+r)}Z=Z.then((async()=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+a]=s.relative(r,s.resolve(r,t))}else{q.assetMeta[assetBase(T.outputAssetBase)+a]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+a,t)}}));return"__webpack_require__.ab + "+JSON.stringify(a).replace(/\\/g,"/")};const emitAssetDirectory=(e,t)=>{const a=e.indexOf(M);const u=a===-1?e.length:e.lastIndexOf(s.sep,a);const p=e.substr(0,u);const d=e.substr(u);const v=d.replace(V,((e,t)=>d[t-1]===s.sep?"**/*":"*/**/*"))||"/**/*";if(T.debugLog)console.log("Emitting directory "+p+v+" for static use in module "+r);const m=s.basename(p);const g=q.assets[p]||(q.assets[p]=E(m,p,q.assetNames,true));q.assets[p]=g;const y=w.sync(p+v,{mark:true,ignore:"node_modules/**/*"}).filter((e=>!ie.has(s.extname(e))&&!ne.has(s.basename(e))&&!e.endsWith("/")));if(!y.length)return;Z=Z.then((async()=>{await Promise.all(y.map((async e=>{const[t,r]=await Promise.all([new Promise(((t,r)=>o(e,((e,s)=>e?r(e):t(s))))),await new Promise(((t,r)=>c(e,((e,s)=>e?r(e):t(s)))))]);if(r.isSymbolicLink()){const t=await new Promise(((t,r)=>{h(e,((e,s)=>e?r(e):t(s)))}));const r=s.dirname(e);q.assetSymlinks[assetBase(T.outputAssetBase)+g+e.substr(p.length)]=s.relative(r,s.resolve(r,t)).replace(/\\/g,"/")}else{q.assetMeta[assetBase(T.outputAssetBase)+g+e.substr(p.length)]={path:e,permissions:r.mode};this.addDependency(e);this.emitFile(assetBase(T.outputAssetBase)+g+e.substr(p.length),t)}})))}));let _="";let x="";if(t){let e=d;let r=true;for(const s of t){const t=e.indexOf(M);const a=e.substr(0,t);e=e.substr(t+1);if(r){x=a;r=false}else{_+=" + '"+JSON.stringify(a).slice(1,-1)+"'"}if(s.type==="SpreadElement")_+=" + "+I.substring(s.argument.start,s.argument.end)+".join('/')";else _+=" + "+I.substring(s.start,s.end)}if(e.length){_+=" + '"+JSON.stringify(e).replace(/\\/g,"/").slice(1,-1)+"'"}}return"__webpack_require__.ab + "+JSON.stringify((g+x).replace(/\\/g,"/"))+_};let Z=Promise.resolve();const re=new v(I);let ue,le;try{ue=y.parse(I,{allowReturnOutsideFunction:true,ecmaVersion:2020});le=false}catch(e){}if(!ue){try{ue=y.parse(I,{sourceType:"module",ecmaVersion:2020,allowAwaitOutsideFunction:true});le=true}catch(e){return this.callback(null,I,t)}}let ce=m(ue,"scope");let fe=false;const he=N(r).href;const pe=Object.assign(Object.create(null),{__dirname:{shadowDepth:0,value:s.resolve(r,"..")},__filename:{shadowDepth:0,value:r},process:{shadowDepth:0,value:H}});if(!le){pe.require={shadowDepth:0,value:{[j](e){const t=Y[e];return t.default},resolve(e){return R.sync(e,{basedir:A,extensions:P})}}};pe.require.value.resolve[te]=true}let de=[];function setKnownBinding(e,t){if(e==="require")return;pe[e]={shadowDepth:0,value:t}}function getKnownBinding(e){const t=pe[e];if(t){if(t.shadowDepth===0){return t.value}}}if(le){for(const e of ue.body){if(e.type==="ImportDeclaration"){const t=e.source.value;const r=Y[t];if(r){for(const t of e.specifiers){if(t.type==="ImportNamespaceSpecifier")setKnownBinding(t.local.name,r);else if(t.type==="ImportDefaultSpecifier"&&"default"in r)setKnownBinding(t.local.name,r.default);else if(t.type==="ImportSpecifier"&&t.imported.name in r)setKnownBinding(t.local.name,r[t.imported.name])}}}}}function computePureStaticValue(e,t=true){const r=Object.create(null);Object.keys(pe).forEach((e=>{r[e]=getKnownBinding(e)}));Object.keys(ee).forEach((e=>{r[e]=ee[e]}));r["import.meta"]={url:he};const s=g(e,r,t);return s}let ve,me;let ge=false;let be;function isStaticRequire(e){return e&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length===1&&e.arguments[0].type==="Literal"}({ast:ue=ue,scope:ce=ce,transformed:fe=fe}=k({id:r,ast:ue,scope:ce,pkgBase:$,magicString:re,options:T,emitAsset:emitAsset,emitAssetDirectory:emitAssetDirectory})||{});d(ue,{enter(e,t){if(e.scope){ce=e.scope;for(const t in e.scope.declarations){if(t in pe)pe[t].shadowDepth++}}if(ve)return backtrack(this,t);if(e.type==="Identifier"){if(isIdentifierRead(e,t)){let r;if(typeof(r=getKnownBinding(e.name))==="string"&&r.match(ae)||r&&(typeof r==="function"||typeof r==="object")&&r[te]){me={value:typeof r==="string"?r:undefined};ve=e;return this.skip()}else if(!le&&e.name==="require"&&pe.require.shadowDepth===0&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,"__non_webpack_require__");fe=true;return this.skip()}else if(!le&&e.name==="__non_webpack_require__"&&t.type!=="UnaryExpression"){re.overwrite(e.start,e.end,'eval("require")');fe=true;return this.skip()}}}else if(e.type==="MemberExpression"&&e.object.type==="MetaProperty"&&e.object.meta.name==="import"&&e.object.property.name==="meta"&&(e.property.computed?e.property.value:e.property.name)==="url"){me={value:he};ve=e;return this.skip()}else if(!le&&e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="require"&&pe.require.shadowDepth===0&&e.arguments.length){const c=e.arguments[0];const{result:h,sawIdentifier:p}=computePureStaticValue(c,true);if(!h){if(c.type==="LogicalExpression"&&c.operator==="||"&&c.left.type==="Identifier"){fe=true;re.overwrite(c.start,c.end,I.substring(c.right.start,c.right.end));return this.skip()}fe=true;re.overwrite(e.callee.start,e.callee.end,"__non_webpack_require__");return this.skip()}else if(typeof h.value==="string"&&p){if(h.wildcards){const t=s.resolve(A,h.value);if(h.wildcards.length===1&&validAssetEmission(t)){const r=generateWildcardRequire(A,t,I.substring(h.wildcards[0].start,h.wildcards[0].end),de,T.debugLog);if(r){re.overwrite(e.start,e.end,r);fe=true;return this.skip()}}}else if(h.value){let e;if(T.customEmit)e=T.customEmit(h.value,true);if(e===undefined)e=JSON.stringify(h.value);if(e!==false){re.overwrite(c.start,c.end,e);fe=true;return this.skip()}}}else if(h&&typeof h.then==="string"&&typeof h.else==="string"&&p){const e=computePureStaticValue(h.test,true).result;if(e&&"value"in e){if(e){fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.then));return this.skip()}else{fe=true;re.overwrite(c.start,c.end,JSON.stringify(h.else));return this.skip()}}else{const e=I.substring(h.test.start,h.test.end);fe=true;re.overwrite(c.start,c.end,`${e} ? ${JSON.stringify(h.then)} : ${JSON.stringify(h.else)}`);return this.skip()}}else if(t.type==="CallExpression"&&t.callee===e){if(h.value==="pkginfo"&&t.arguments.length&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="module"){let e=new Set;for(let r=1;re.id.type==="Identifier"&&e.init&&e.init.type==="CallExpression"&&e.init.callee.type==="Identifier"&&e.init.callee.name==="require"&&pe.require.shadowDepth===0&&e.init.arguments[0]&&e.init.arguments[0].type==="Identifier"&&e.init.arguments[0].name===s[0].name));if(a)o=e.body.body[t]}if(a&&e.body.body[t].type==="ReturnStatement"&&e.body.body[t].argument&&e.body.body[t].argument.type==="Identifier"&&e.body.body[t].argument.name===a.id.name){u=true;break}}if(u){let u=";";const c=e.type==="ArrowFunctionExpression"&&e.params[0].start===e.start;if(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"){e=t;u=","}be=r.name+"$$mod";setKnownBinding(r.name,oe);const h=u+I.substring(e.start,r.start)+be+I.substring(r.end,s[0].start+!c)+(c?"(":"")+a.id.name+", "+I.substring(s[0].start,s[s.length-1].end+!c)+(c?")":"")+I.substring(s[0].end+!c,o.start)+I.substring(o.end,e.end);re.appendRight(e.end,h)}}}},leave(e,t){if(e.scope){ce=ce.parent;for(const t in e.scope.declarations){if(t in pe){if(pe[t].shadowDepth>0)pe[t].shadowDepth--;else delete pe[t]}}}if(ve){const t=computePureStaticValue(e,true).result;if(t){if("value"in t&&typeof t.value!=="symbol"||typeof t.then!=="symbol"&&typeof t.else!=="symbol"){me=t;ve=e;return}}emitStaticChildAsset()}}});if(!fe)return this.callback(null,I,t);Z.then((()=>{if(de.length)re.appendLeft(ue.body[0].start,de.join("\n")+"\n");I=re.toString();t=t||re.generateMap();if(t){t.sources=[r]}this.callback(null,I,t)}));function validAssetEmission(e){if(!e)return;if(e===r)return;let t="";if(e.endsWith(s.sep))t=s.sep;else if(e.endsWith(s.sep+M))t=s.sep+M;else if(e.endsWith(M))t=M;if(!T.emitDirnameAll&&e===A+t)return;if(!T.emitFilterAssetBaseAll&&e===(T.filterAssetBase||se)+t)return;if(e.endsWith(s.sep+"node_modules"+t))return;if(A.startsWith(e.substr(0,e.length-t.length)+s.sep))return;if($){const t=r.substr(0,r.indexOf(s.sep+"node_modules"))+s.sep+"node_modules"+s.sep;if(!e.startsWith(t)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the package base "+$)}return}}else if(!e.startsWith(T.filterAssetBase||se)){if(T.debugLog){if(assetEmission(e))console.log("Skipping asset emission of "+e.replace(V,"*")+" for "+r+" as it is outside the filterAssetBase directory "+(T.filterAssetBase||se))}return}if(T.customEmit){const t=T.customEmit(e,{id:r,isRequire:false});if(t===false)return;if(typeof t==="string")return()=>t}return assetEmission(e)}function assetEmission(e){const t=e.indexOf(M);const r=t===-1?e.length:e.lastIndexOf(s.sep,t);const a=e.substr(0,r);try{const e=p(a);if(t!==-1&&e.isFile())return;if(e.isFile())return emitAsset;if(e.isDirectory())return emitAssetDirectory}catch(e){return}}function resolveAbsolutePathOrUrl(e){return e instanceof URL?O(e):e.startsWith("file:")?O(new URL(e)):s.resolve(e)}function emitStaticChildAsset(e=false){if(isAbsolutePathOrUrl(me.value)){let t;try{t=resolveAbsolutePathOrUrl(me.value)}catch(e){}let r;if(r=validAssetEmission(t)){let s=r(t,me.wildcards);if(s){if(e)s="__non_webpack_require__("+s+")";re.overwrite(ve.start,ve.end,s);fe=true}}}else if(isAbsolutePathOrUrl(me.then)&&isAbsolutePathOrUrl(me.else)){let t;try{t=resolveAbsolutePathOrUrl(me.then)}catch(e){}let r;try{r=resolveAbsolutePathOrUrl(me.else)}catch(e){}let s;if(!e&&(s=validAssetEmission(t))&&s===validAssetEmission(r)){const e=s(t);const a=s(r);if(e&&a){re.overwrite(ve.start,ve.end,`${I.substring(me.test.start,me.test.end)} ? ${e} : ${a}`);fe=true}}}else if(ve.type==="ArrayExpression"&&me.value instanceof Array){for(let t=0;t{if(e)console.error(e);if(t){const e=JSON.parse(t);if(e.assetMeta)s.assetMeta=e.assetMeta;if(e.assetSymlinks)s.assetSymlinks=e.assetSymlinks}}));e.compiler.hooks.afterCompile.tap("relocate-loader",(e=>{const t=e.getCache?e.getCache():e.cache;if(t)t.store("/RelocateLoader/AssetState/"+JSON.stringify(r),null,JSON.stringify({assetMeta:s.assetMeta,assetSymlinks:s.assetSymlinks}),(e=>{if(e)console.error(e)}))}))}},5277:(__unused_webpack_module,exports,__nested_webpack_require_893430__)=>{const path=__nested_webpack_require_893430__(5622);const fs=__nested_webpack_require_893430__(5747);const versioning=__nested_webpack_require_893430__(887);const napi=__nested_webpack_require_893430__(480);const pregypFind=(e,t)=>{const r=JSON.parse(fs.readFileSync(e).toString());versioning.validate_config(r,t);var s;if(napi.get_napi_build_versions(r,t)){s=napi.get_best_napi_build_version(r,t)}t=t||{};if(!t.module_root)t.module_root=path.dirname(e);var a=versioning.evaluate(r,t,s);return a.module};exports.pregyp={default:{find:pregypFind},find:pregypFind};function makeModulePathList(e,t){return[[e,t],[e,"build",t],[e,"build","Debug",t],[e,"build","Release",t],[e,"out","Debug",t],[e,"Debug",t],[e,"out","Release",t],[e,"Release",t],[e,"build","default",t],[e,process.env["NODE_BINDINGS_COMPILED_DIR"]||"compiled",process.versions.node,process.platform,process.arch,t]]}function findCompiledModule(basePath,specList){var resolvedList=[];var ext=path.extname(basePath);for(var _i=0,specList_1=specList;_i{const s=r(5622);e.exports=getUniqueAssetName;function getUniqueAssetName(e,t,r,a){const o=s.extname(e);let u=e,c=0;while((u in r||a&&Object.keys(r).some((e=>e.startsWith(u+s.sep))))&&r[u]!==t){u=e.substr(0,e.length-o.length)+ ++c+o}r[u]=t;return u}},8011:e=>{const t=/^(@[^\\\/]+[\\\/])?[^\\\/]+/;e.exports=function(e){const r=e.lastIndexOf("node_modules");if(r!==-1&&(e[r-1]==="/"||e[r-1]==="\\")&&(e[r+12]==="/"||e[r+12]==="\\")){const s=e.substr(r+13).match(t);if(s)return e.substr(0,r+13+s[0].length)}};e.exports.pkgNameRegEx=t},3953:(e,t,r)=>{const{existsSync:s}=r(5747);const{dirname:a}=r(5622);e.exports=function getPackageScope(e){let t=a(e);do{e=t;t=a(e);if(s(e+"/package.json"))return e}while(e!==t)}},4723:(e,t,r)=>{const{encode:s,decode:a}=r(4957);function traceSegment(e,t,r,s,a){const o=t[r];if(!o)return null;let u=0;let c=o.length-1;while(u<=c){const t=u+c>>1;const r=o[t];if(r[0]===s){return{source:r[1],line:r[2],column:r[3],name:e.names[r[4]]||a}}if(r[0]>s)c=t-1;else u=t+1}return null}e.exports=function(e,t){const r=[];const o=[];const u=[];const c=[];const h=a(e.mappings);for(const s of a(t.mappings)){const a=[];for(const c of s){const s=traceSegment(e,h,c[2],c[3],t.names[c[4]]);if(s){const t=e.sources[s.source];let h=r.lastIndexOf(t);if(h===-1){h=r.length;r.push(t);o[h]=e.sourcesContent[s.source]}else if(o[h]==null){o[h]=e.sourcesContent[s.source]}const p=[c[0],h,s.line,s.column];if(s.name){let e=u.indexOf(s.name);if(e===-1){e=u.length;u.push(s.name)}p[4]=e}a.push(p)}}c.push(a)}return{version:3,file:null,sources:r,mappings:s(c),names:u,sourcesContent:o}}},1331:(e,t,r)=>{const s=r(2087);const a=r(7758);const o=r(1957);const u=r(5622);let c;switch(s.platform()){case"darwin":c="/**/*.@(dylib|so?(.*))";break;case"win32":c="/**/*.dll";break;default:c="/**/*.so?(.*)"}e.exports=async function(e,t,r,s,h){const p=await new Promise(((t,r)=>o(e+c,{ignore:"node_modules/**/*"},((e,s)=>e?r(e):t(s)))));await Promise.all(p.map((async o=>{const[c,p]=await Promise.all([new Promise(((e,t)=>a.readFile(o,((r,s)=>r?t(r):e(s))))),await new Promise(((e,t)=>a.lstat(o,((r,s)=>r?t(r):e(s)))))]);if(p.isSymbolicLink()){const s=await new Promise(((e,t)=>{a.readlink(o,((r,s)=>r?t(r):e(s)))}));const c=u.dirname(o);t.assetSymlinks[r+o.substr(e.length+1)]=u.relative(c,u.resolve(c,s))}else{t.assetMeta[o.substr(e.length)]={path:o,permissions:p.mode};if(h)console.log("Emitting "+o+" for shared library support in "+e);s(r+o.substr(e.length+1),c)}})))}},9646:(e,t,r)=>{const s=r(5622);const a=r(9283);const o=r(5747);const u=r(5094);e.exports=function({id:e,code:t,pkgBase:r,ast:c,scope:h,magicString:p,emitAssetDirectory:d}){let v;({transformed:v,ast:c,scope:h}=u(c,h,p));if(v)return{transformed:v,ast:c,scope:h};if(e.endsWith("google-gax/build/src/grpc.js")||global._unit&&e.includes("google-gax")){for(const t of c.body){if(t.type==="VariableDeclaration"&&t.declarations[0].id.type==="Identifier"&&t.declarations[0].id.name==="googleProtoFilesDir"){const r=d(s.resolve(s.dirname(e),global._unit?"./":"../../../google-proto-files"));if(r){p.overwrite(t.declarations[0].init.start,t.declarations[0].init.end,r);t.declarations[0].init=null;return{transformed:true}}}}}else if(e.endsWith("socket.io/lib/index.js")||global._unit&&e.includes("socket.io")){function replaceResolvePathStatement(t){if(t.type==="ExpressionStatement"&&t.expression.type==="AssignmentExpression"&&t.expression.operator==="="&&t.expression.right.type==="CallExpression"&&t.expression.right.callee.type==="Identifier"&&t.expression.right.callee.name==="read"&&t.expression.right.arguments.length>=1&&t.expression.right.arguments[0].type==="CallExpression"&&t.expression.right.arguments[0].callee.type==="Identifier"&&t.expression.right.arguments[0].callee.name==="resolvePath"&&t.expression.right.arguments[0].arguments.length===1&&t.expression.right.arguments[0].arguments[0].type==="Literal"){const o=t.expression.right.arguments[0].arguments[0].value;try{var r=a.sync(o,{basedir:s.dirname(e)})}catch(e){return{transformed:false}}const u="/"+s.relative(s.dirname(e),r);t.expression.right.arguments[0]={type:"BinaryExpression",start:t.expression.right.arguments[0].start,end:t.expression.right.arguments[0].end,operator:"+",left:{type:"Identifier",name:"__dirname"},right:{type:"Literal",value:u,raw:JSON.stringify(u)}};return{transformed:true}}return{transformed:false}}for(const e of c.body){if(e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&e.expression.operator==="="&&e.expression.left.type==="MemberExpression"&&e.expression.left.object.type==="MemberExpression"&&e.expression.left.object.object.type==="Identifier"&&e.expression.left.object.object.name==="Server"&&e.expression.left.object.property.type==="Identifier"&&e.expression.left.object.property.name==="prototype"&&e.expression.left.property.type==="Identifier"&&e.expression.left.property.name==="serveClient"&&e.expression.right.type==="FunctionExpression"){let t;for(const r of e.expression.right.body.body)if(r.type==="IfStatement")t=r;const r=t&&t.consequent.body;let s=false;if(r&&r[0]&&r[0].type==="ExpressionStatement")s=replaceResolvePathStatement(r[0]);const a=r&&r[1]&&r[1].type==="TryStatement"&&r[1].block.body;if(a&&a[0])s=replaceResolvePathStatement(a[0])||s;return{transformed:s}}}}else if(e.endsWith("oracledb/lib/oracledb.js")||global._unit&&e.includes("oracledb")){for(const t of c.body){if(t.type==="ForStatement"&&t.body.body&&t.body.body[0]&&t.body.body[0].type==="TryStatement"&&t.body.body[0].block.body[0]&&t.body.body[0].block.body[0].type==="ExpressionStatement"&&t.body.body[0].block.body[0].expression.type==="AssignmentExpression"&&t.body.body[0].block.body[0].expression.operator==="="&&t.body.body[0].block.body[0].expression.left.type==="Identifier"&&t.body.body[0].block.body[0].expression.left.name==="oracledbCLib"&&t.body.body[0].block.body[0].expression.right.type==="CallExpression"&&t.body.body[0].block.body[0].expression.right.callee.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.callee.name==="require"&&t.body.body[0].block.body[0].expression.right.arguments.length===1&&t.body.body[0].block.body[0].expression.right.arguments[0].type==="MemberExpression"&&t.body.body[0].block.body[0].expression.right.arguments[0].computed===true&&t.body.body[0].block.body[0].expression.right.arguments[0].object.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].object.name==="binaryLocations"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.type==="Identifier"&&t.body.body[0].block.body[0].expression.right.arguments[0].property.name==="i"){const r=t.body.body[0].block.body[0].expression.right.arguments[0];t.body.body[0].block.body[0].expression.right.arguments=[{type:"Literal",value:"_"}];const s=global._unit?"3.0.0":JSON.parse(o.readFileSync(e.slice(0,-15)+"package.json")).version;const a=Number(s.slice(0,s.indexOf(".")))>=4;const u="oracledb-"+(a?s:"abi"+process.versions.modules)+"-"+process.platform+"-"+process.arch+".node";p.overwrite(r.start,r.end,global._unit?"'./oracledb.js'":"'../build/Release/"+u+"'");return{transformed:true}}}}return{transformed:false}}},798:e=>{e.exports=function(e,t={},r=true){const s={computeBranches:r,sawIdentifier:false,vars:t};const a=walk(e);return{result:a,sawIdentifier:s.sawIdentifier};function walk(e){const t=o[e.type];if(t)return t.call(s,e,walk)}};const t=e.exports.UNKNOWN=Symbol();const r=e.exports.FUNCTION=Symbol();const s=e.exports.WILDCARD="";const a=e.exports.wildcardRegEx=/\x1a/g;function countWildcards(e){a.lastIndex=0;let t=0;while(a.exec(e))t++;return t}const o={ArrayExpression(e,t){const r=[];for(let s=0,a=e.elements.length;s")return{test:a.test,then:a.then>o,else:a.else>o};if(r===">=")return{test:a.test,then:a.then>=o,else:a.else>=o};if(r==="|")return{test:a.test,then:a.then|o,else:a.else|o};if(r==="&")return{test:a.test,then:a.then&o,else:a.else&o};if(r==="^")return{test:a.test,then:a.then^o,else:a.else^o};if(r==="&&")return{test:a.test,then:a.then&&o,else:a.else&&o};if(r==="||")return{test:a.test,then:a.then||o,else:a.else||o}}else if("test"in o){a=a.value;if(r==="==")return{test:o.test,then:a==o.then,else:a==o.else};if(r==="===")return{test:o.test,then:a===o.then,else:a===o.else};if(r==="!=")return{test:o.test,then:a!=o.then,else:a!=o.else};if(r==="!==")return{test:o.test,then:a!==o.then,else:a!==o.else};if(r==="+")return{test:o.test,then:a+o.then,else:a+o.else};if(r==="-")return{test:o.test,then:a-o.then,else:a-o.else};if(r==="*")return{test:o.test,then:a*o.then,else:a*o.else};if(r==="/")return{test:o.test,then:a/o.then,else:a/o.else};if(r==="%")return{test:o.test,then:a%o.then,else:a%o.else};if(r==="<")return{test:o.test,then:a")return{test:o.test,then:a>o.then,else:a>o.else};if(r===">=")return{test:o.test,then:a>=o.then,else:a>=o.else};if(r==="|")return{test:o.test,then:a|o.then,else:a|o.else};if(r==="&")return{test:o.test,then:a&o.then,else:a&o.else};if(r==="^")return{test:o.test,then:a^o.then,else:a^o.else};if(r==="&&")return{test:o.test,then:a&&o.then,else:a&&o.else};if(r==="||")return{test:o.test,then:a||o.then,else:a||o.else}}else{if(r==="==")return{value:a.value==o.value};if(r==="===")return{value:a.value===o.value};if(r==="!=")return{value:a.value!=o.value};if(r==="!==")return{value:a.value!==o.value};if(r==="+"){const e={value:a.value+o.value};if(a.wildcards||o.wildcards)e.wildcards=[...a.wildcards||[],...o.wildcards||[]];return e}if(r==="-")return{value:a.value-o.value};if(r==="*")return{value:a.value*o.value};if(r==="/")return{value:a.value/o.value};if(r==="%")return{value:a.value%o.value};if(r==="<")return{value:a.value")return{value:a.value>o.value};if(r===">=")return{value:a.value>=o.value};if(r==="|")return{value:a.value|o.value};if(r==="&")return{value:a.value&o.value};if(r==="^")return{value:a.value^o.value};if(r==="&&")return{value:a.value&&o.value};if(r==="||")return{value:a.value||o.value}}return},CallExpression(e,a){const o=a(e.callee);if(!o||"test"in o)return;let u=o.value;if(typeof u==="object"&&u!==null)u=u[r];if(typeof u!=="function")return;const c=e.callee.object&&a(e.callee.object).value||null;let h;let p=[];let d;let v=e.arguments.length>0;const m=[];for(let t=0,r=e.arguments.length;tm.push(e)))}else{if(!this.computeBranches)return;r={value:s};m.push(e.arguments[t])}if("test"in r){if(m.length)return;if(h)return;h=r.test;d=p.concat([]);p.push(r.then);d.push(r.else)}else{p.push(r.value);if(d)d.push(r.value)}}if(v)return;try{const e=u.apply(c,p);if(e===t)return;if(!h){if(m.length){if(typeof e!=="string"||countWildcards(e)!==m.length)return;return{value:e,wildcards:m}}return{value:e}}const r=u.apply(c,d);if(e===t)return;return{test:h,then:e,else:r}}catch(e){return}},ConditionalExpression(e,t){const r=t(e.test);if(r&&"value"in r)return r.value?t(e.consequent):t(e.alternate);if(!this.computeBranches)return;const s=t(e.consequent);if(!s||"wildcards"in s||"test"in s)return;const a=t(e.alternate);if(!a||"wildcards"in a||"test"in a)return;return{test:e.test,then:s.value,else:a.value}},ExpressionStatement(e,t){return t(e.expression)},Identifier(e){this.sawIdentifier=true;if(Object.hasOwnProperty.call(this.vars,e.name)){const r=this.vars[e.name];if(r===t)return;return{value:r}}return},Literal(e){return{value:e.value}},MemberExpression(e,r){const s=r(e.object);if(!s||"test"in s||typeof s.value==="function")return;if(e.property.type==="Identifier"){if(typeof s.value==="object"&&s.value!==null){if(e.property.name in s.value){const r=s.value[e.property.name];if(r===t)return;return{value:r}}else if(s.value[t])return}else{return{value:undefined}}}const a=r(e.property);if(!a||"test"in a)return;if(typeof s.value==="object"&&s.value!==null){if(a.value in s.value){const e=s.value[a.value];if(e===t)return;return{value:e}}else if(s.value[t]){return}}else{return{value:undefined}}},MetaProperty:function MetaProperty(e){if(e.meta.name==="import"&&e.property.name==="meta"){return{value:this.vars["import.meta"]}}return undefined},NewExpression:function NewExpression(e,t){const r=t(e.callee);if(r&&"value"in r&&r.value===URL&&e.arguments.length){const r=t(e.arguments[0]);if(!r)return undefined;let s=null;if(e.arguments[1]){s=t(e.arguments[1]);if(!s||!("value"in s))return undefined}if("value"in r){if(s){try{return{value:new URL(r.value,s.value)}}catch{return undefined}}try{return{value:new URL(r.value)}}catch{return undefined}}else{const e=r.test;if(s){try{return{test:e,then:new URL(r.then,s.value),else:new URL(r.else,s.value)}}catch{return undefined}}try{return{test:e,then:new URL(r.then),else:new URL(r.else)}}catch{return undefined}}}return undefined},ObjectExpression(e,r){const s={};for(let a=0;a{const{walk:s}=r(6465);function isUndefinedOrVoid(e){return e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function handleWrappers(e,t,r){let a=false;let o;if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="UnaryExpression"&&e.body[0].expression.operator==="!"&&e.body[0].expression.argument.type==="CallExpression"&&e.body[0].expression.argument.callee.type==="FunctionExpression"&&e.body[0].expression.argument.arguments.length===1)o=e.body[0].expression.argument;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="CallExpression"&&e.body[0].expression.callee.type==="FunctionExpression"&&e.body[0].expression.arguments.length===1)o=e.body[0].expression;else if(e.body.length===1&&e.body[0].type==="ExpressionStatement"&&e.body[0].expression.type==="AssgnmentExpression"&&e.body[0].expression.left.type==="MemberExpression"&&e.body[0].expression.left.object.type==="Identifier"&&e.body[0].expression.left.object.name==="module"&&e.body[0].expression.left.property.type==="Identifier"&&e.body[0].expression.left.property.name==="exports"&&e.body[0].expression.right.type==="CallExpression"&&e.body[0].expression.right.callee.type==="FunctionExpression"&&e.body[0].expression.right.arguments.length===1)o=e.body[0].expression.right;if(o){if(o.arguments[0].type==="ConditionalExpression"&&o.arguments[0].test.type==="LogicalExpression"&&o.arguments[0].test.operator==="&&"&&o.arguments[0].test.left.type==="BinaryExpression"&&o.arguments[0].test.left.operator==="==="&&o.arguments[0].test.left.left.type==="UnaryExpression"&&o.arguments[0].test.left.left.operator==="typeof"&&o.arguments[0].test.left.left.argument.name==="define"&&o.arguments[0].test.left.right.type==="Literal"&&o.arguments[0].test.left.right.value==="function"&&o.arguments[0].test.right.type==="MemberExpression"&&o.arguments[0].test.right.object.type==="Identifier"&&o.arguments[0].test.right.property.type==="Identifier"&&o.arguments[0].test.right.property.name==="amd"&&o.arguments[0].test.right.computed===false&&o.arguments[0].alternate.type==="FunctionExpression"&&o.arguments[0].alternate.params.length===1&&o.arguments[0].alternate.params[0].type==="Identifier"&&o.arguments[0].alternate.body.body.length===1&&o.arguments[0].alternate.body.body[0].type==="ExpressionStatement"&&o.arguments[0].alternate.body.body[0].expression.type==="AssignmentExpression"&&o.arguments[0].alternate.body.body[0].expression.left.type==="MemberExpression"&&o.arguments[0].alternate.body.body[0].expression.left.object.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.object.name==="module"&&o.arguments[0].alternate.body.body[0].expression.left.property.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.left.property.name==="exports"&&o.arguments[0].alternate.body.body[0].expression.left.computed===false&&o.arguments[0].alternate.body.body[0].expression.right.type==="CallExpression"&&o.arguments[0].alternate.body.body[0].expression.right.callee.type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.callee.name===o.arguments[0].alternate.params[0].name&&o.arguments[0].alternate.body.body[0].expression.right.arguments.length===1&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].type==="Identifier"&&o.arguments[0].alternate.body.body[0].expression.right.arguments[0].name==="require"){let e=o.callee.body.body;if(e[0].type==="ExpressionStatement"&&e[0].expression.type==="Literal"&&e[0].expression.value==="use strict"){e=e.slice(1)}if(e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Identifier"&&e[0].expression.callee.name===o.arguments[0].test.right.object.name&&e[0].expression.arguments.length===1&&e[0].expression.arguments[0].type==="FunctionExpression"&&e[0].expression.arguments[0].params.length===1&&e[0].expression.arguments[0].params[0].type==="Identifier"&&e[0].expression.arguments[0].params[0].name==="require"){r.remove(e[0].expression.arguments[0].params[0].start,e[0].expression.arguments[0].params[0].end);a=true}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===0&&(o.arguments[0].body.body.length===1||o.arguments[0].body.body.length===2&&o.arguments[0].body.body[0].type==="VariableDeclaration"&&o.arguments[0].body.body[0].declarations.length===3&&o.arguments[0].body.body[0].declarations.every((e=>e.init===null&&e.id.type==="Identifier")))&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].type==="ReturnStatement"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.length&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.arguments.every((e=>e.type==="Literal"&&typeof e.value==="number"))&&(o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"||o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="CallExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.type==="FunctionExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.arguments.length===0)&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments.length===3&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[1].type==="ObjectExpression"&&o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[2].type==="ArrayExpression"){const e=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.arguments[0].properties;const t=o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.type==="FunctionExpression"?o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee:o.arguments[0].body.body[o.arguments[0].body.body.length-1].argument.callee.callee.callee.body.body[0];let s;if(t.type==="FunctionDeclaration")s=t.body;else if(t.type==="ReturnStatement")s=t.argument.body;if(s){const e=s.body[0].body.body[0].consequent.body[0].consequent.body[0].declarations[0].init;const t=s.body[1].init.declarations[0].init;e.right.name="_";t.right.name="_";r.overwrite(e.start,e.end,"__non_webpack_require__");r.overwrite(t.start,t.end,"__non_webpack_require__");a=true}const u={};if(e.every((e=>{if(e.type!=="Property"||e.computed!==false||e.key.type!=="Literal"||typeof e.key.value!=="number"||e.value.type!=="ArrayExpression"||e.value.elements.length!==2||e.value.elements[0].type!=="FunctionExpression"||e.value.elements[1].type!=="ObjectExpression")return false;const t=e.value.elements[1].properties;for(const e of t){if(e.type!=="Property"||e.value.type!=="Identifier"&&e.value.type!=="Literal"&&!isUndefinedOrVoid(e.value)||!(e.key.type==="Literal"&&typeof e.key.value==="string"||e.key.type==="Identifier")||e.computed)return false;if(isUndefinedOrVoid(e.value))u[e.key.value||e.key.name]=true}return true}))){const e=Object.keys(u);if(e.length){const t=(o.arguments[0].body.body[1]||o.arguments[0].body.body[0]).argument.callee.arguments[1];const s=e.map((e=>`"${e}": { exports: require("${e}") }`)).join(",\n ");r.appendRight(t.end-1,s);a=true}}}else if(o.arguments[0].type==="FunctionExpression"&&o.arguments[0].params.length===2&&o.arguments[0].params[0].type==="Identifier"&&o.arguments[0].params[1].type==="Identifier"&&o.callee.body.body.length===1){const e=o.callee.body.body[0];if(e.type==="IfStatement"&&e.test.type==="LogicalExpression"&&e.test.operator==="&&"&&e.test.left.type==="BinaryExpression"&&e.test.left.left.type==="UnaryExpression"&&e.test.left.left.operator==="typeof"&&e.test.left.left.argument.type==="Identifier"&&e.test.left.left.argument.name==="module"&&e.test.left.right.type==="Literal"&&e.test.left.right.value==="object"&&e.test.right.type==="BinaryExpression"&&e.test.right.left.type==="UnaryExpression"&&e.test.right.left.operator==="typeof"&&e.test.right.left.argument.type==="MemberExpression"&&e.test.right.left.argument.object.type==="Identifier"&&e.test.right.left.argument.object.name==="module"&&e.test.right.left.argument.property.type==="Identifier"&&e.test.right.left.argument.property.name==="exports"&&e.test.right.right.type==="Literal"&&e.test.right.right.value==="object"&&e.consequent.type==="BlockStatement"&&e.consequent.body.length>0){let t;if(e.consequent.body[0].type==="VariableDeclaration"&&e.consequent.body[0].declarations[0].init&&e.consequent.body[0].declarations[0].init.type==="CallExpression")t=e.consequent.body[0].declarations[0].init;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="CallExpression")t=e.consequent.body[0].expression;else if(e.consequent.body[0].type==="ExpressionStatement"&&e.consequent.body[0].expression.type==="AssignmentExpression"&&e.consequent.body[0].expression.right.type==="CallExpression")t=e.consequent.body[0].expression.right;if(t&&t.callee.type==="Identifier"&&t.callee.name===o.callee.params[0].name&&t.arguments.length===2&&t.arguments[0].type==="Identifier"&&t.arguments[0].name==="require"&&t.arguments[1].type==="Identifier"&&t.arguments[1].name==="exports"){r.remove(o.arguments[0].params[0].start,o.arguments[0].params[o.arguments[0].params.length-1].end);a=true}}}else if(o.callee.type==="FunctionExpression"&&o.callee.params.length===1&&o.callee.body.body.length>2&&o.callee.body.body[0].type==="VariableDeclaration"&&o.callee.body.body[0].declarations.length===1&&o.callee.body.body[0].declarations[0].type==="VariableDeclarator"&&o.callee.body.body[0].declarations[0].id.type==="Identifier"&&o.callee.body.body[0].declarations[0].init.type==="ObjectExpression"&&o.callee.body.body[0].declarations[0].init.properties.length===0&&o.callee.body.body[1].type==="FunctionDeclaration"&&o.callee.body.body[1].params.length===1&&o.callee.body.body[1].body.body.length===3&&o.arguments[0].type==="ArrayExpression"&&o.arguments[0].elements.length>0&&o.arguments[0].elements.every((e=>e.type==="FunctionExpression"))){const e=new Map;for(let t=0;te===t)))s.arguments=s.arguments.map((r=>r===t?e:r));else if(s.init===t)s.init=e}}}})}}}}return{ast:e,scope:t,transformed:a}}e.exports=handleWrappers},282:e=>{"use strict";e.exports=JSON.parse('{"0.1.14":{"node_abi":null,"v8":"1.3"},"0.1.15":{"node_abi":null,"v8":"1.3"},"0.1.16":{"node_abi":null,"v8":"1.3"},"0.1.17":{"node_abi":null,"v8":"1.3"},"0.1.18":{"node_abi":null,"v8":"1.3"},"0.1.19":{"node_abi":null,"v8":"2.0"},"0.1.20":{"node_abi":null,"v8":"2.0"},"0.1.21":{"node_abi":null,"v8":"2.0"},"0.1.22":{"node_abi":null,"v8":"2.0"},"0.1.23":{"node_abi":null,"v8":"2.0"},"0.1.24":{"node_abi":null,"v8":"2.0"},"0.1.25":{"node_abi":null,"v8":"2.0"},"0.1.26":{"node_abi":null,"v8":"2.0"},"0.1.27":{"node_abi":null,"v8":"2.1"},"0.1.28":{"node_abi":null,"v8":"2.1"},"0.1.29":{"node_abi":null,"v8":"2.1"},"0.1.30":{"node_abi":null,"v8":"2.1"},"0.1.31":{"node_abi":null,"v8":"2.1"},"0.1.32":{"node_abi":null,"v8":"2.1"},"0.1.33":{"node_abi":null,"v8":"2.1"},"0.1.90":{"node_abi":null,"v8":"2.2"},"0.1.91":{"node_abi":null,"v8":"2.2"},"0.1.92":{"node_abi":null,"v8":"2.2"},"0.1.93":{"node_abi":null,"v8":"2.2"},"0.1.94":{"node_abi":null,"v8":"2.2"},"0.1.95":{"node_abi":null,"v8":"2.2"},"0.1.96":{"node_abi":null,"v8":"2.2"},"0.1.97":{"node_abi":null,"v8":"2.2"},"0.1.98":{"node_abi":null,"v8":"2.2"},"0.1.99":{"node_abi":null,"v8":"2.2"},"0.1.100":{"node_abi":null,"v8":"2.2"},"0.1.101":{"node_abi":null,"v8":"2.3"},"0.1.102":{"node_abi":null,"v8":"2.3"},"0.1.103":{"node_abi":null,"v8":"2.3"},"0.1.104":{"node_abi":null,"v8":"2.3"},"0.2.0":{"node_abi":1,"v8":"2.3"},"0.2.1":{"node_abi":1,"v8":"2.3"},"0.2.2":{"node_abi":1,"v8":"2.3"},"0.2.3":{"node_abi":1,"v8":"2.3"},"0.2.4":{"node_abi":1,"v8":"2.3"},"0.2.5":{"node_abi":1,"v8":"2.3"},"0.2.6":{"node_abi":1,"v8":"2.3"},"0.3.0":{"node_abi":1,"v8":"2.5"},"0.3.1":{"node_abi":1,"v8":"2.5"},"0.3.2":{"node_abi":1,"v8":"3.0"},"0.3.3":{"node_abi":1,"v8":"3.0"},"0.3.4":{"node_abi":1,"v8":"3.0"},"0.3.5":{"node_abi":1,"v8":"3.0"},"0.3.6":{"node_abi":1,"v8":"3.0"},"0.3.7":{"node_abi":1,"v8":"3.0"},"0.3.8":{"node_abi":1,"v8":"3.1"},"0.4.0":{"node_abi":1,"v8":"3.1"},"0.4.1":{"node_abi":1,"v8":"3.1"},"0.4.2":{"node_abi":1,"v8":"3.1"},"0.4.3":{"node_abi":1,"v8":"3.1"},"0.4.4":{"node_abi":1,"v8":"3.1"},"0.4.5":{"node_abi":1,"v8":"3.1"},"0.4.6":{"node_abi":1,"v8":"3.1"},"0.4.7":{"node_abi":1,"v8":"3.1"},"0.4.8":{"node_abi":1,"v8":"3.1"},"0.4.9":{"node_abi":1,"v8":"3.1"},"0.4.10":{"node_abi":1,"v8":"3.1"},"0.4.11":{"node_abi":1,"v8":"3.1"},"0.4.12":{"node_abi":1,"v8":"3.1"},"0.5.0":{"node_abi":1,"v8":"3.1"},"0.5.1":{"node_abi":1,"v8":"3.4"},"0.5.2":{"node_abi":1,"v8":"3.4"},"0.5.3":{"node_abi":1,"v8":"3.4"},"0.5.4":{"node_abi":1,"v8":"3.5"},"0.5.5":{"node_abi":1,"v8":"3.5"},"0.5.6":{"node_abi":1,"v8":"3.6"},"0.5.7":{"node_abi":1,"v8":"3.6"},"0.5.8":{"node_abi":1,"v8":"3.6"},"0.5.9":{"node_abi":1,"v8":"3.6"},"0.5.10":{"node_abi":1,"v8":"3.7"},"0.6.0":{"node_abi":1,"v8":"3.6"},"0.6.1":{"node_abi":1,"v8":"3.6"},"0.6.2":{"node_abi":1,"v8":"3.6"},"0.6.3":{"node_abi":1,"v8":"3.6"},"0.6.4":{"node_abi":1,"v8":"3.6"},"0.6.5":{"node_abi":1,"v8":"3.6"},"0.6.6":{"node_abi":1,"v8":"3.6"},"0.6.7":{"node_abi":1,"v8":"3.6"},"0.6.8":{"node_abi":1,"v8":"3.6"},"0.6.9":{"node_abi":1,"v8":"3.6"},"0.6.10":{"node_abi":1,"v8":"3.6"},"0.6.11":{"node_abi":1,"v8":"3.6"},"0.6.12":{"node_abi":1,"v8":"3.6"},"0.6.13":{"node_abi":1,"v8":"3.6"},"0.6.14":{"node_abi":1,"v8":"3.6"},"0.6.15":{"node_abi":1,"v8":"3.6"},"0.6.16":{"node_abi":1,"v8":"3.6"},"0.6.17":{"node_abi":1,"v8":"3.6"},"0.6.18":{"node_abi":1,"v8":"3.6"},"0.6.19":{"node_abi":1,"v8":"3.6"},"0.6.20":{"node_abi":1,"v8":"3.6"},"0.6.21":{"node_abi":1,"v8":"3.6"},"0.7.0":{"node_abi":1,"v8":"3.8"},"0.7.1":{"node_abi":1,"v8":"3.8"},"0.7.2":{"node_abi":1,"v8":"3.8"},"0.7.3":{"node_abi":1,"v8":"3.9"},"0.7.4":{"node_abi":1,"v8":"3.9"},"0.7.5":{"node_abi":1,"v8":"3.9"},"0.7.6":{"node_abi":1,"v8":"3.9"},"0.7.7":{"node_abi":1,"v8":"3.9"},"0.7.8":{"node_abi":1,"v8":"3.9"},"0.7.9":{"node_abi":1,"v8":"3.11"},"0.7.10":{"node_abi":1,"v8":"3.9"},"0.7.11":{"node_abi":1,"v8":"3.11"},"0.7.12":{"node_abi":1,"v8":"3.11"},"0.8.0":{"node_abi":1,"v8":"3.11"},"0.8.1":{"node_abi":1,"v8":"3.11"},"0.8.2":{"node_abi":1,"v8":"3.11"},"0.8.3":{"node_abi":1,"v8":"3.11"},"0.8.4":{"node_abi":1,"v8":"3.11"},"0.8.5":{"node_abi":1,"v8":"3.11"},"0.8.6":{"node_abi":1,"v8":"3.11"},"0.8.7":{"node_abi":1,"v8":"3.11"},"0.8.8":{"node_abi":1,"v8":"3.11"},"0.8.9":{"node_abi":1,"v8":"3.11"},"0.8.10":{"node_abi":1,"v8":"3.11"},"0.8.11":{"node_abi":1,"v8":"3.11"},"0.8.12":{"node_abi":1,"v8":"3.11"},"0.8.13":{"node_abi":1,"v8":"3.11"},"0.8.14":{"node_abi":1,"v8":"3.11"},"0.8.15":{"node_abi":1,"v8":"3.11"},"0.8.16":{"node_abi":1,"v8":"3.11"},"0.8.17":{"node_abi":1,"v8":"3.11"},"0.8.18":{"node_abi":1,"v8":"3.11"},"0.8.19":{"node_abi":1,"v8":"3.11"},"0.8.20":{"node_abi":1,"v8":"3.11"},"0.8.21":{"node_abi":1,"v8":"3.11"},"0.8.22":{"node_abi":1,"v8":"3.11"},"0.8.23":{"node_abi":1,"v8":"3.11"},"0.8.24":{"node_abi":1,"v8":"3.11"},"0.8.25":{"node_abi":1,"v8":"3.11"},"0.8.26":{"node_abi":1,"v8":"3.11"},"0.8.27":{"node_abi":1,"v8":"3.11"},"0.8.28":{"node_abi":1,"v8":"3.11"},"0.9.0":{"node_abi":1,"v8":"3.11"},"0.9.1":{"node_abi":10,"v8":"3.11"},"0.9.2":{"node_abi":10,"v8":"3.11"},"0.9.3":{"node_abi":10,"v8":"3.13"},"0.9.4":{"node_abi":10,"v8":"3.13"},"0.9.5":{"node_abi":10,"v8":"3.13"},"0.9.6":{"node_abi":10,"v8":"3.15"},"0.9.7":{"node_abi":10,"v8":"3.15"},"0.9.8":{"node_abi":10,"v8":"3.15"},"0.9.9":{"node_abi":11,"v8":"3.15"},"0.9.10":{"node_abi":11,"v8":"3.15"},"0.9.11":{"node_abi":11,"v8":"3.14"},"0.9.12":{"node_abi":11,"v8":"3.14"},"0.10.0":{"node_abi":11,"v8":"3.14"},"0.10.1":{"node_abi":11,"v8":"3.14"},"0.10.2":{"node_abi":11,"v8":"3.14"},"0.10.3":{"node_abi":11,"v8":"3.14"},"0.10.4":{"node_abi":11,"v8":"3.14"},"0.10.5":{"node_abi":11,"v8":"3.14"},"0.10.6":{"node_abi":11,"v8":"3.14"},"0.10.7":{"node_abi":11,"v8":"3.14"},"0.10.8":{"node_abi":11,"v8":"3.14"},"0.10.9":{"node_abi":11,"v8":"3.14"},"0.10.10":{"node_abi":11,"v8":"3.14"},"0.10.11":{"node_abi":11,"v8":"3.14"},"0.10.12":{"node_abi":11,"v8":"3.14"},"0.10.13":{"node_abi":11,"v8":"3.14"},"0.10.14":{"node_abi":11,"v8":"3.14"},"0.10.15":{"node_abi":11,"v8":"3.14"},"0.10.16":{"node_abi":11,"v8":"3.14"},"0.10.17":{"node_abi":11,"v8":"3.14"},"0.10.18":{"node_abi":11,"v8":"3.14"},"0.10.19":{"node_abi":11,"v8":"3.14"},"0.10.20":{"node_abi":11,"v8":"3.14"},"0.10.21":{"node_abi":11,"v8":"3.14"},"0.10.22":{"node_abi":11,"v8":"3.14"},"0.10.23":{"node_abi":11,"v8":"3.14"},"0.10.24":{"node_abi":11,"v8":"3.14"},"0.10.25":{"node_abi":11,"v8":"3.14"},"0.10.26":{"node_abi":11,"v8":"3.14"},"0.10.27":{"node_abi":11,"v8":"3.14"},"0.10.28":{"node_abi":11,"v8":"3.14"},"0.10.29":{"node_abi":11,"v8":"3.14"},"0.10.30":{"node_abi":11,"v8":"3.14"},"0.10.31":{"node_abi":11,"v8":"3.14"},"0.10.32":{"node_abi":11,"v8":"3.14"},"0.10.33":{"node_abi":11,"v8":"3.14"},"0.10.34":{"node_abi":11,"v8":"3.14"},"0.10.35":{"node_abi":11,"v8":"3.14"},"0.10.36":{"node_abi":11,"v8":"3.14"},"0.10.37":{"node_abi":11,"v8":"3.14"},"0.10.38":{"node_abi":11,"v8":"3.14"},"0.10.39":{"node_abi":11,"v8":"3.14"},"0.10.40":{"node_abi":11,"v8":"3.14"},"0.10.41":{"node_abi":11,"v8":"3.14"},"0.10.42":{"node_abi":11,"v8":"3.14"},"0.10.43":{"node_abi":11,"v8":"3.14"},"0.10.44":{"node_abi":11,"v8":"3.14"},"0.10.45":{"node_abi":11,"v8":"3.14"},"0.10.46":{"node_abi":11,"v8":"3.14"},"0.10.47":{"node_abi":11,"v8":"3.14"},"0.10.48":{"node_abi":11,"v8":"3.14"},"0.11.0":{"node_abi":12,"v8":"3.17"},"0.11.1":{"node_abi":12,"v8":"3.18"},"0.11.2":{"node_abi":12,"v8":"3.19"},"0.11.3":{"node_abi":12,"v8":"3.19"},"0.11.4":{"node_abi":12,"v8":"3.20"},"0.11.5":{"node_abi":12,"v8":"3.20"},"0.11.6":{"node_abi":12,"v8":"3.20"},"0.11.7":{"node_abi":12,"v8":"3.20"},"0.11.8":{"node_abi":13,"v8":"3.21"},"0.11.9":{"node_abi":13,"v8":"3.22"},"0.11.10":{"node_abi":13,"v8":"3.22"},"0.11.11":{"node_abi":14,"v8":"3.22"},"0.11.12":{"node_abi":14,"v8":"3.22"},"0.11.13":{"node_abi":14,"v8":"3.25"},"0.11.14":{"node_abi":14,"v8":"3.26"},"0.11.15":{"node_abi":14,"v8":"3.28"},"0.11.16":{"node_abi":14,"v8":"3.28"},"0.12.0":{"node_abi":14,"v8":"3.28"},"0.12.1":{"node_abi":14,"v8":"3.28"},"0.12.2":{"node_abi":14,"v8":"3.28"},"0.12.3":{"node_abi":14,"v8":"3.28"},"0.12.4":{"node_abi":14,"v8":"3.28"},"0.12.5":{"node_abi":14,"v8":"3.28"},"0.12.6":{"node_abi":14,"v8":"3.28"},"0.12.7":{"node_abi":14,"v8":"3.28"},"0.12.8":{"node_abi":14,"v8":"3.28"},"0.12.9":{"node_abi":14,"v8":"3.28"},"0.12.10":{"node_abi":14,"v8":"3.28"},"0.12.11":{"node_abi":14,"v8":"3.28"},"0.12.12":{"node_abi":14,"v8":"3.28"},"0.12.13":{"node_abi":14,"v8":"3.28"},"0.12.14":{"node_abi":14,"v8":"3.28"},"0.12.15":{"node_abi":14,"v8":"3.28"},"0.12.16":{"node_abi":14,"v8":"3.28"},"0.12.17":{"node_abi":14,"v8":"3.28"},"0.12.18":{"node_abi":14,"v8":"3.28"},"1.0.0":{"node_abi":42,"v8":"3.31"},"1.0.1":{"node_abi":42,"v8":"3.31"},"1.0.2":{"node_abi":42,"v8":"3.31"},"1.0.3":{"node_abi":42,"v8":"4.1"},"1.0.4":{"node_abi":42,"v8":"4.1"},"1.1.0":{"node_abi":43,"v8":"4.1"},"1.2.0":{"node_abi":43,"v8":"4.1"},"1.3.0":{"node_abi":43,"v8":"4.1"},"1.4.1":{"node_abi":43,"v8":"4.1"},"1.4.2":{"node_abi":43,"v8":"4.1"},"1.4.3":{"node_abi":43,"v8":"4.1"},"1.5.0":{"node_abi":43,"v8":"4.1"},"1.5.1":{"node_abi":43,"v8":"4.1"},"1.6.0":{"node_abi":43,"v8":"4.1"},"1.6.1":{"node_abi":43,"v8":"4.1"},"1.6.2":{"node_abi":43,"v8":"4.1"},"1.6.3":{"node_abi":43,"v8":"4.1"},"1.6.4":{"node_abi":43,"v8":"4.1"},"1.7.1":{"node_abi":43,"v8":"4.1"},"1.8.1":{"node_abi":43,"v8":"4.1"},"1.8.2":{"node_abi":43,"v8":"4.1"},"1.8.3":{"node_abi":43,"v8":"4.1"},"1.8.4":{"node_abi":43,"v8":"4.1"},"2.0.0":{"node_abi":44,"v8":"4.2"},"2.0.1":{"node_abi":44,"v8":"4.2"},"2.0.2":{"node_abi":44,"v8":"4.2"},"2.1.0":{"node_abi":44,"v8":"4.2"},"2.2.0":{"node_abi":44,"v8":"4.2"},"2.2.1":{"node_abi":44,"v8":"4.2"},"2.3.0":{"node_abi":44,"v8":"4.2"},"2.3.1":{"node_abi":44,"v8":"4.2"},"2.3.2":{"node_abi":44,"v8":"4.2"},"2.3.3":{"node_abi":44,"v8":"4.2"},"2.3.4":{"node_abi":44,"v8":"4.2"},"2.4.0":{"node_abi":44,"v8":"4.2"},"2.5.0":{"node_abi":44,"v8":"4.2"},"3.0.0":{"node_abi":45,"v8":"4.4"},"3.1.0":{"node_abi":45,"v8":"4.4"},"3.2.0":{"node_abi":45,"v8":"4.4"},"3.3.0":{"node_abi":45,"v8":"4.4"},"3.3.1":{"node_abi":45,"v8":"4.4"},"4.0.0":{"node_abi":46,"v8":"4.5"},"4.1.0":{"node_abi":46,"v8":"4.5"},"4.1.1":{"node_abi":46,"v8":"4.5"},"4.1.2":{"node_abi":46,"v8":"4.5"},"4.2.0":{"node_abi":46,"v8":"4.5"},"4.2.1":{"node_abi":46,"v8":"4.5"},"4.2.2":{"node_abi":46,"v8":"4.5"},"4.2.3":{"node_abi":46,"v8":"4.5"},"4.2.4":{"node_abi":46,"v8":"4.5"},"4.2.5":{"node_abi":46,"v8":"4.5"},"4.2.6":{"node_abi":46,"v8":"4.5"},"4.3.0":{"node_abi":46,"v8":"4.5"},"4.3.1":{"node_abi":46,"v8":"4.5"},"4.3.2":{"node_abi":46,"v8":"4.5"},"4.4.0":{"node_abi":46,"v8":"4.5"},"4.4.1":{"node_abi":46,"v8":"4.5"},"4.4.2":{"node_abi":46,"v8":"4.5"},"4.4.3":{"node_abi":46,"v8":"4.5"},"4.4.4":{"node_abi":46,"v8":"4.5"},"4.4.5":{"node_abi":46,"v8":"4.5"},"4.4.6":{"node_abi":46,"v8":"4.5"},"4.4.7":{"node_abi":46,"v8":"4.5"},"4.5.0":{"node_abi":46,"v8":"4.5"},"4.6.0":{"node_abi":46,"v8":"4.5"},"4.6.1":{"node_abi":46,"v8":"4.5"},"4.6.2":{"node_abi":46,"v8":"4.5"},"4.7.0":{"node_abi":46,"v8":"4.5"},"4.7.1":{"node_abi":46,"v8":"4.5"},"4.7.2":{"node_abi":46,"v8":"4.5"},"4.7.3":{"node_abi":46,"v8":"4.5"},"4.8.0":{"node_abi":46,"v8":"4.5"},"4.8.1":{"node_abi":46,"v8":"4.5"},"4.8.2":{"node_abi":46,"v8":"4.5"},"4.8.3":{"node_abi":46,"v8":"4.5"},"4.8.4":{"node_abi":46,"v8":"4.5"},"4.8.5":{"node_abi":46,"v8":"4.5"},"4.8.6":{"node_abi":46,"v8":"4.5"},"4.8.7":{"node_abi":46,"v8":"4.5"},"4.9.0":{"node_abi":46,"v8":"4.5"},"4.9.1":{"node_abi":46,"v8":"4.5"},"5.0.0":{"node_abi":47,"v8":"4.6"},"5.1.0":{"node_abi":47,"v8":"4.6"},"5.1.1":{"node_abi":47,"v8":"4.6"},"5.2.0":{"node_abi":47,"v8":"4.6"},"5.3.0":{"node_abi":47,"v8":"4.6"},"5.4.0":{"node_abi":47,"v8":"4.6"},"5.4.1":{"node_abi":47,"v8":"4.6"},"5.5.0":{"node_abi":47,"v8":"4.6"},"5.6.0":{"node_abi":47,"v8":"4.6"},"5.7.0":{"node_abi":47,"v8":"4.6"},"5.7.1":{"node_abi":47,"v8":"4.6"},"5.8.0":{"node_abi":47,"v8":"4.6"},"5.9.0":{"node_abi":47,"v8":"4.6"},"5.9.1":{"node_abi":47,"v8":"4.6"},"5.10.0":{"node_abi":47,"v8":"4.6"},"5.10.1":{"node_abi":47,"v8":"4.6"},"5.11.0":{"node_abi":47,"v8":"4.6"},"5.11.1":{"node_abi":47,"v8":"4.6"},"5.12.0":{"node_abi":47,"v8":"4.6"},"6.0.0":{"node_abi":48,"v8":"5.0"},"6.1.0":{"node_abi":48,"v8":"5.0"},"6.2.0":{"node_abi":48,"v8":"5.0"},"6.2.1":{"node_abi":48,"v8":"5.0"},"6.2.2":{"node_abi":48,"v8":"5.0"},"6.3.0":{"node_abi":48,"v8":"5.0"},"6.3.1":{"node_abi":48,"v8":"5.0"},"6.4.0":{"node_abi":48,"v8":"5.0"},"6.5.0":{"node_abi":48,"v8":"5.1"},"6.6.0":{"node_abi":48,"v8":"5.1"},"6.7.0":{"node_abi":48,"v8":"5.1"},"6.8.0":{"node_abi":48,"v8":"5.1"},"6.8.1":{"node_abi":48,"v8":"5.1"},"6.9.0":{"node_abi":48,"v8":"5.1"},"6.9.1":{"node_abi":48,"v8":"5.1"},"6.9.2":{"node_abi":48,"v8":"5.1"},"6.9.3":{"node_abi":48,"v8":"5.1"},"6.9.4":{"node_abi":48,"v8":"5.1"},"6.9.5":{"node_abi":48,"v8":"5.1"},"6.10.0":{"node_abi":48,"v8":"5.1"},"6.10.1":{"node_abi":48,"v8":"5.1"},"6.10.2":{"node_abi":48,"v8":"5.1"},"6.10.3":{"node_abi":48,"v8":"5.1"},"6.11.0":{"node_abi":48,"v8":"5.1"},"6.11.1":{"node_abi":48,"v8":"5.1"},"6.11.2":{"node_abi":48,"v8":"5.1"},"6.11.3":{"node_abi":48,"v8":"5.1"},"6.11.4":{"node_abi":48,"v8":"5.1"},"6.11.5":{"node_abi":48,"v8":"5.1"},"6.12.0":{"node_abi":48,"v8":"5.1"},"6.12.1":{"node_abi":48,"v8":"5.1"},"6.12.2":{"node_abi":48,"v8":"5.1"},"6.12.3":{"node_abi":48,"v8":"5.1"},"6.13.0":{"node_abi":48,"v8":"5.1"},"6.13.1":{"node_abi":48,"v8":"5.1"},"6.14.0":{"node_abi":48,"v8":"5.1"},"6.14.1":{"node_abi":48,"v8":"5.1"},"6.14.2":{"node_abi":48,"v8":"5.1"},"6.14.3":{"node_abi":48,"v8":"5.1"},"6.14.4":{"node_abi":48,"v8":"5.1"},"7.0.0":{"node_abi":51,"v8":"5.4"},"7.1.0":{"node_abi":51,"v8":"5.4"},"7.2.0":{"node_abi":51,"v8":"5.4"},"7.2.1":{"node_abi":51,"v8":"5.4"},"7.3.0":{"node_abi":51,"v8":"5.4"},"7.4.0":{"node_abi":51,"v8":"5.4"},"7.5.0":{"node_abi":51,"v8":"5.4"},"7.6.0":{"node_abi":51,"v8":"5.5"},"7.7.0":{"node_abi":51,"v8":"5.5"},"7.7.1":{"node_abi":51,"v8":"5.5"},"7.7.2":{"node_abi":51,"v8":"5.5"},"7.7.3":{"node_abi":51,"v8":"5.5"},"7.7.4":{"node_abi":51,"v8":"5.5"},"7.8.0":{"node_abi":51,"v8":"5.5"},"7.9.0":{"node_abi":51,"v8":"5.5"},"7.10.0":{"node_abi":51,"v8":"5.5"},"7.10.1":{"node_abi":51,"v8":"5.5"},"8.0.0":{"node_abi":57,"v8":"5.8"},"8.1.0":{"node_abi":57,"v8":"5.8"},"8.1.1":{"node_abi":57,"v8":"5.8"},"8.1.2":{"node_abi":57,"v8":"5.8"},"8.1.3":{"node_abi":57,"v8":"5.8"},"8.1.4":{"node_abi":57,"v8":"5.8"},"8.2.0":{"node_abi":57,"v8":"5.8"},"8.2.1":{"node_abi":57,"v8":"5.8"},"8.3.0":{"node_abi":57,"v8":"6.0"},"8.4.0":{"node_abi":57,"v8":"6.0"},"8.5.0":{"node_abi":57,"v8":"6.0"},"8.6.0":{"node_abi":57,"v8":"6.0"},"8.7.0":{"node_abi":57,"v8":"6.1"},"8.8.0":{"node_abi":57,"v8":"6.1"},"8.8.1":{"node_abi":57,"v8":"6.1"},"8.9.0":{"node_abi":57,"v8":"6.1"},"8.9.1":{"node_abi":57,"v8":"6.1"},"8.9.2":{"node_abi":57,"v8":"6.1"},"8.9.3":{"node_abi":57,"v8":"6.1"},"8.9.4":{"node_abi":57,"v8":"6.1"},"8.10.0":{"node_abi":57,"v8":"6.2"},"8.11.0":{"node_abi":57,"v8":"6.2"},"8.11.1":{"node_abi":57,"v8":"6.2"},"8.11.2":{"node_abi":57,"v8":"6.2"},"8.11.3":{"node_abi":57,"v8":"6.2"},"8.11.4":{"node_abi":57,"v8":"6.2"},"8.12.0":{"node_abi":57,"v8":"6.2"},"9.0.0":{"node_abi":59,"v8":"6.2"},"9.1.0":{"node_abi":59,"v8":"6.2"},"9.2.0":{"node_abi":59,"v8":"6.2"},"9.2.1":{"node_abi":59,"v8":"6.2"},"9.3.0":{"node_abi":59,"v8":"6.2"},"9.4.0":{"node_abi":59,"v8":"6.2"},"9.5.0":{"node_abi":59,"v8":"6.2"},"9.6.0":{"node_abi":59,"v8":"6.2"},"9.6.1":{"node_abi":59,"v8":"6.2"},"9.7.0":{"node_abi":59,"v8":"6.2"},"9.7.1":{"node_abi":59,"v8":"6.2"},"9.8.0":{"node_abi":59,"v8":"6.2"},"9.9.0":{"node_abi":59,"v8":"6.2"},"9.10.0":{"node_abi":59,"v8":"6.2"},"9.10.1":{"node_abi":59,"v8":"6.2"},"9.11.0":{"node_abi":59,"v8":"6.2"},"9.11.1":{"node_abi":59,"v8":"6.2"},"9.11.2":{"node_abi":59,"v8":"6.2"},"10.0.0":{"node_abi":64,"v8":"6.6"},"10.1.0":{"node_abi":64,"v8":"6.6"},"10.2.0":{"node_abi":64,"v8":"6.6"},"10.2.1":{"node_abi":64,"v8":"6.6"},"10.3.0":{"node_abi":64,"v8":"6.6"},"10.4.0":{"node_abi":64,"v8":"6.7"},"10.4.1":{"node_abi":64,"v8":"6.7"},"10.5.0":{"node_abi":64,"v8":"6.7"},"10.6.0":{"node_abi":64,"v8":"6.7"},"10.7.0":{"node_abi":64,"v8":"6.7"},"10.8.0":{"node_abi":64,"v8":"6.7"},"10.9.0":{"node_abi":64,"v8":"6.8"},"10.10.0":{"node_abi":64,"v8":"6.8"},"10.11.0":{"node_abi":64,"v8":"6.8"},"10.12.0":{"node_abi":64,"v8":"6.8"},"10.13.0":{"node_abi":64,"v8":"6.8"},"11.0.0":{"node_abi":67,"v8":"7.0"},"11.1.0":{"node_abi":67,"v8":"7.0"}}')},5537:e=>{"use strict";e.exports=JSON.parse('{"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0","node-inspect/lib/internal/inspect_client":">= 7.6.0","node-inspect/lib/internal/inspect_repl":">= 7.6.0","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0"],"v8":">= 1","vm":true,"worker_threads":">= 11.7","zlib":true}')},2357:e=>{"use strict";e.exports=__webpack_require__(491)},4293:e=>{"use strict";e.exports=__webpack_require__(709)},3129:e=>{"use strict";e.exports=__webpack_require__(81)},7619:e=>{"use strict";e.exports=__webpack_require__(57)},6417:e=>{"use strict";e.exports=__webpack_require__(113)},8614:e=>{"use strict";e.exports=__webpack_require__(361)},5747:e=>{"use strict";e.exports=__webpack_require__(147)},2087:e=>{"use strict";e.exports=__webpack_require__(37)},5622:e=>{"use strict";e.exports=__webpack_require__(17)},2413:e=>{"use strict";e.exports=__webpack_require__(781)},8835:e=>{"use strict";e.exports=__webpack_require__(310)},1669:e=>{"use strict";e.exports=__webpack_require__(837)}};var __webpack_module_cache__={};function __nested_webpack_require_971402__(e){if(__webpack_module_cache__[e]){return __webpack_module_cache__[e].exports}var t=__webpack_module_cache__[e]={exports:{}};var r=true;try{__webpack_modules__[e].call(t.exports,t,t.exports,__nested_webpack_require_971402__);r=false}finally{if(r)delete __webpack_module_cache__[e]}return t.exports}__nested_webpack_require_971402__.ab=__dirname+"/";return __nested_webpack_require_971402__(6265)})()},300:(e,t,r)=>{e.exports=r(901)},491:e=>{"use strict";e.exports=require("assert")},709:e=>{"use strict";e.exports=require("buffer")},81:e=>{"use strict";e.exports=require("child_process")},57:e=>{"use strict";e.exports=require("constants")},113:e=>{"use strict";e.exports=require("crypto")},361:e=>{"use strict";e.exports=require("events")},147:e=>{"use strict";e.exports=require("fs")},37:e=>{"use strict";e.exports=require("os")},17:e=>{"use strict";e.exports=require("path")},781:e=>{"use strict";e.exports=require("stream")},310:e=>{"use strict";e.exports=require("url")},837:e=>{"use strict";e.exports=require("util")}};var __webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(t!==undefined){return t.exports}var r=__webpack_module_cache__[e]={exports:{}};var s=true;try{__webpack_modules__[e](r,r.exports,__webpack_require__);s=false}finally{if(s)delete __webpack_module_cache__[e]}return r.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(300);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js new file mode 100644 index 00000000..a904f52d --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js @@ -0,0 +1,8 @@ +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/shebang-loader.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache new file mode 100644 index 00000000..0779b4c7 Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js new file mode 100644 index 00000000..1a66cd19 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/shebang-loader.js.cache.js @@ -0,0 +1 @@ +(()=>{var e={170:e=>{e.exports=function(e){this.cacheable&&this.cacheable();if(typeof e==="string"&&/^#!/.test(e)){e=e.replace(/^#![^\n\r]*[\r\n]/,"")}return e}},431:(e,r,_)=>{e.exports=_(170)}};var r={};function __webpack_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var i=true;try{e[_](a,a.exports,__webpack_require__);i=false}finally{if(i)delete r[_]}return a.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(431);module.exports=_})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js new file mode 100644 index 00000000..1a062553 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js @@ -0,0 +1,8 @@ +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/stringify-loader.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache new file mode 100644 index 00000000..0a22ec48 Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache.js new file mode 100644 index 00000000..4e7c895f --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/stringify-loader.js.cache.js @@ -0,0 +1 @@ +(()=>{var e={873:e=>{e.exports=e=>JSON.stringify(e)}};var r={};function __webpack_require__(_){var a=r[_];if(a!==undefined){return a.exports}var i=r[_]={exports:{}};var t=true;try{e[_](i,i.exports,__webpack_require__);t=false}finally{if(t)delete r[_]}return i.exports}if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var _=__webpack_require__(873);module.exports=_})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js new file mode 100644 index 00000000..d8cb47f5 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js @@ -0,0 +1,8 @@ +const { readFileSync, writeFileSync } = require('fs'), { Script } = require('vm'), { wrap } = require('module'); +const basename = __dirname + '/ts-loader.js'; +const source = readFileSync(basename + '.cache.js', 'utf-8'); +const cachedData = !process.pkg && require('process').platform !== 'win32' && readFileSync(basename + '.cache'); +const scriptOpts = { filename: basename + '.cache.js', columnOffset: -62 } +const script = new Script(wrap(source), cachedData ? Object.assign({ cachedData }, scriptOpts) : scriptOpts); +(script.runInThisContext())(exports, require, module, __filename, __dirname); +if (cachedData) process.on('exit', () => { try { writeFileSync(basename + '.cache', script.createCachedData()); } catch(e) {} }); diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache new file mode 100644 index 00000000..07ce3003 Binary files /dev/null and b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache differ diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js new file mode 100644 index 00000000..df97e160 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/ts-loader.js.cache.js @@ -0,0 +1,62 @@ +(()=>{var __webpack_modules__={28440:E=>{function webpackEmptyContext(E){var N=new Error("Cannot find module '"+E+"'");N.code="MODULE_NOT_FOUND";throw N}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=28440;E.exports=webpackEmptyContext},70797:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.cloneNode=cloneNode;function cloneNode(E){return Object.assign({},E)}},98093:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j={numberLiteralFromRaw:true,withLoc:true,withRaw:true,funcParam:true,indexLiteral:true,memIndexLiteral:true,instruction:true,objectInstruction:true,traverse:true,signatures:true,cloneNode:true,moduleContextFromModuleAST:true};Object.defineProperty(N,"numberLiteralFromRaw",{enumerable:true,get:function get(){return q.numberLiteralFromRaw}});Object.defineProperty(N,"withLoc",{enumerable:true,get:function get(){return q.withLoc}});Object.defineProperty(N,"withRaw",{enumerable:true,get:function get(){return q.withRaw}});Object.defineProperty(N,"funcParam",{enumerable:true,get:function get(){return q.funcParam}});Object.defineProperty(N,"indexLiteral",{enumerable:true,get:function get(){return q.indexLiteral}});Object.defineProperty(N,"memIndexLiteral",{enumerable:true,get:function get(){return q.memIndexLiteral}});Object.defineProperty(N,"instruction",{enumerable:true,get:function get(){return q.instruction}});Object.defineProperty(N,"objectInstruction",{enumerable:true,get:function get(){return q.objectInstruction}});Object.defineProperty(N,"traverse",{enumerable:true,get:function get(){return G.traverse}});Object.defineProperty(N,"signatures",{enumerable:true,get:function get(){return ie.signatures}});Object.defineProperty(N,"cloneNode",{enumerable:true,get:function get(){return ce.cloneNode}});Object.defineProperty(N,"moduleContextFromModuleAST",{enumerable:true,get:function get(){return le.moduleContextFromModuleAST}});var $=R(52696);Object.keys($).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return $[E]}})}));var q=R(11891);var G=R(22056);var ie=R(75769);var ae=R(91764);Object.keys(ae).forEach((function(E){if(E==="default"||E==="__esModule")return;if(Object.prototype.hasOwnProperty.call(j,E))return;Object.defineProperty(N,E,{enumerable:true,get:function get(){return ae[E]}})}));var ce=R(70797);var le=R(5499)},11891:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.numberLiteralFromRaw=numberLiteralFromRaw;N.instruction=instruction;N.objectInstruction=objectInstruction;N.withLoc=withLoc;N.withRaw=withRaw;N.funcParam=funcParam;N.indexLiteral=indexLiteral;N.memIndexLiteral=memIndexLiteral;var j=R(80853);var $=R(52696);function numberLiteralFromRaw(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"i32";var R=E;if(typeof E==="string"){E=E.replace(/_/g,"")}if(typeof E==="number"){return(0,$.numberLiteral)(E,String(R))}else{switch(N){case"i32":{return(0,$.numberLiteral)((0,j.parse32I)(E),String(R))}case"u32":{return(0,$.numberLiteral)((0,j.parseU32)(E),String(R))}case"i64":{return(0,$.longNumberLiteral)((0,j.parse64I)(E),String(R))}case"f32":{return(0,$.floatLiteral)((0,j.parse32F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}default:{return(0,$.floatLiteral)((0,j.parse64F)(E),(0,j.isNanLiteral)(E),(0,j.isInfLiteral)(E),String(R))}}}}function instruction(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:[];var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};return(0,$.instr)(E,undefined,N,R)}function objectInstruction(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:[];var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};return(0,$.instr)(E,N,R,j)}function withLoc(E,N,R){var j={start:R,end:N};E.loc=j;return E}function withRaw(E,N){E.raw=N;return E}function funcParam(E,N){return{id:N,valtype:E}}function indexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}function memIndexLiteral(E){var N=numberLiteralFromRaw(E,"u32");return N}},46166:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createPath=createPath;function _extends(){_extends=Object.assign||function(E){for(var N=1;N2&&arguments[2]!==undefined?arguments[2]:0;if(!j){throw new Error("inList"+" error: "+("insert can only be used for nodes that are within lists"||0))}if(!($!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var ie=$.node[q];var ae=ie.findIndex((function(E){return E===R}));ie.splice(ae+G,0,N)}function remove(E){var N=E.node,R=E.parentKey,j=E.parentPath;if(!(j!=null)){throw new Error("parentPath != null"+" error: "+("Can not remove root node"||0))}var $=j.node;var q=$[R];if(Array.isArray(q)){$[R]=q.filter((function(E){return E!==N}))}else{delete $[R]}N._deleted=true}function stop(E){E.shouldStop=true}function replaceWith(E,N){var R=E.parentPath.node;var j=R[E.parentKey];if(Array.isArray(j)){var $=j.findIndex((function(N){return N===E.node}));j.splice($,1,N)}else{R[E.parentKey]=N}E.node._deleted=true;E.node=N}function bindNodeOperations(E,N){var R=Object.keys(E);var j={};R.forEach((function(R){j[R]=E[R].bind(null,N)}));return j}function createPathOperations(E){return bindNodeOperations({findParent:findParent,replaceWith:replaceWith,remove:remove,insertBefore:insertBefore,insertAfter:insertAfter,stop:stop},E)}function createPath(E){var N=_extends({},E);Object.assign(N,createPathOperations(N));return N}},52696:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.module=_module;N.moduleMetadata=moduleMetadata;N.moduleNameMetadata=moduleNameMetadata;N.functionNameMetadata=functionNameMetadata;N.localNameMetadata=localNameMetadata;N.binaryModule=binaryModule;N.quoteModule=quoteModule;N.sectionMetadata=sectionMetadata;N.producersSectionMetadata=producersSectionMetadata;N.producerMetadata=producerMetadata;N.producerMetadataVersionedName=producerMetadataVersionedName;N.loopInstruction=loopInstruction;N.instr=instr;N.ifInstruction=ifInstruction;N.stringLiteral=stringLiteral;N.numberLiteral=numberLiteral;N.longNumberLiteral=longNumberLiteral;N.floatLiteral=floatLiteral;N.elem=elem;N.indexInFuncSection=indexInFuncSection;N.valtypeLiteral=valtypeLiteral;N.typeInstruction=typeInstruction;N.start=start;N.globalType=globalType;N.leadingComment=leadingComment;N.blockComment=blockComment;N.data=data;N.global=global;N.table=table;N.memory=memory;N.funcImportDescr=funcImportDescr;N.moduleImport=moduleImport;N.moduleExportDescr=moduleExportDescr;N.moduleExport=moduleExport;N.limit=limit;N.signature=signature;N.program=program;N.identifier=identifier;N.blockInstruction=blockInstruction;N.callInstruction=callInstruction;N.callIndirectInstruction=callIndirectInstruction;N.byteArray=byteArray;N.func=func;N.internalBrUnless=internalBrUnless;N.internalGoto=internalGoto;N.internalCallExtern=internalCallExtern;N.internalEndAndReturn=internalEndAndReturn;N.assertInternalCallExtern=N.assertInternalGoto=N.assertInternalBrUnless=N.assertFunc=N.assertByteArray=N.assertCallIndirectInstruction=N.assertCallInstruction=N.assertBlockInstruction=N.assertIdentifier=N.assertProgram=N.assertSignature=N.assertLimit=N.assertModuleExport=N.assertModuleExportDescr=N.assertModuleImport=N.assertFuncImportDescr=N.assertMemory=N.assertTable=N.assertGlobal=N.assertData=N.assertBlockComment=N.assertLeadingComment=N.assertGlobalType=N.assertStart=N.assertTypeInstruction=N.assertValtypeLiteral=N.assertIndexInFuncSection=N.assertElem=N.assertFloatLiteral=N.assertLongNumberLiteral=N.assertNumberLiteral=N.assertStringLiteral=N.assertIfInstruction=N.assertInstr=N.assertLoopInstruction=N.assertProducerMetadataVersionedName=N.assertProducerMetadata=N.assertProducersSectionMetadata=N.assertSectionMetadata=N.assertQuoteModule=N.assertBinaryModule=N.assertLocalNameMetadata=N.assertFunctionNameMetadata=N.assertModuleNameMetadata=N.assertModuleMetadata=N.assertModule=N.isIntrinsic=N.isImportDescr=N.isNumericLiteral=N.isExpression=N.isInstruction=N.isBlock=N.isNode=N.isInternalEndAndReturn=N.isInternalCallExtern=N.isInternalGoto=N.isInternalBrUnless=N.isFunc=N.isByteArray=N.isCallIndirectInstruction=N.isCallInstruction=N.isBlockInstruction=N.isIdentifier=N.isProgram=N.isSignature=N.isLimit=N.isModuleExport=N.isModuleExportDescr=N.isModuleImport=N.isFuncImportDescr=N.isMemory=N.isTable=N.isGlobal=N.isData=N.isBlockComment=N.isLeadingComment=N.isGlobalType=N.isStart=N.isTypeInstruction=N.isValtypeLiteral=N.isIndexInFuncSection=N.isElem=N.isFloatLiteral=N.isLongNumberLiteral=N.isNumberLiteral=N.isStringLiteral=N.isIfInstruction=N.isInstr=N.isLoopInstruction=N.isProducerMetadataVersionedName=N.isProducerMetadata=N.isProducersSectionMetadata=N.isSectionMetadata=N.isQuoteModule=N.isBinaryModule=N.isLocalNameMetadata=N.isFunctionNameMetadata=N.isModuleNameMetadata=N.isModuleMetadata=N.isModule=void 0;N.nodeAndUnionTypes=N.unionTypesMap=N.assertInternalEndAndReturn=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isTypeOf(E){return function(N){return N.type===E}}function assertTypeOf(E){return function(N){return function(){if(!(N.type===E)){throw new Error("n.type === t"+" error: "+(undefined||"unknown"))}}()}}function _module(E,N,R){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof fields === "object" && typeof fields.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Module",id:E,fields:N};if(typeof R!=="undefined"){j.metadata=R}return j}function moduleMetadata(E,N,R,j){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof sections === "object" && typeof sections.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof functionNames === "object" && typeof functionNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(R!==null&&R!==undefined){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof localNames === "object" && typeof localNames.length !== "undefined"'+" error: "+(undefined||"unknown"))}}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"ModuleMetadata",sections:E};if(typeof N!=="undefined"&&N.length>0){$.functionNames=N}if(typeof R!=="undefined"&&R.length>0){$.localNames=R}if(typeof j!=="undefined"&&j.length>0){$.producers=j}return $}function moduleNameMetadata(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"ModuleNameMetadata",value:E};return N}function functionNameMetadata(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof index === "number"'+" error: "+("Argument index must be of type number, given: "+_typeof(N)||0))}var R={type:"FunctionNameMetadata",value:E,index:N};return R}function localNameMetadata(E,N,R){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="number")){throw new Error('typeof localIndex === "number"'+" error: "+("Argument localIndex must be of type number, given: "+_typeof(N)||0))}if(!(typeof R==="number")){throw new Error('typeof functionIndex === "number"'+" error: "+("Argument functionIndex must be of type number, given: "+_typeof(R)||0))}var j={type:"LocalNameMetadata",value:E,localIndex:N,functionIndex:R};return j}function binaryModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof blob === "object" && typeof blob.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"BinaryModule",id:E,blob:N};return R}function quoteModule(E,N){if(E!==null&&E!==undefined){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof string === "object" && typeof string.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"QuoteModule",id:E,string:N};return R}function sectionMetadata(E,N,R,j){if(!(typeof N==="number")){throw new Error('typeof startOffset === "number"'+" error: "+("Argument startOffset must be of type number, given: "+_typeof(N)||0))}var $={type:"SectionMetadata",section:E,startOffset:N,size:R,vectorOfSize:j};return $}function producersSectionMetadata(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof producers === "object" && typeof producers.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ProducersSectionMetadata",producers:E};return N}function producerMetadata(E,N,R){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof language === "object" && typeof language.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof processedBy === "object" && typeof processedBy.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof sdk === "object" && typeof sdk.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"ProducerMetadata",language:E,processedBy:N,sdk:R};return j}function producerMetadataVersionedName(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof version === "string"'+" error: "+("Argument version must be of type string, given: "+_typeof(N)||0))}var R={type:"ProducerMetadataVersionedName",name:E,version:N};return R}function loopInstruction(E,N,R){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"LoopInstruction",id:"loop",label:E,resulttype:N,instr:R};return j}function instr(E,N,R,j){if(!(typeof E==="string")){throw new Error('typeof id === "string"'+" error: "+("Argument id must be of type string, given: "+_typeof(E)||0))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof args === "object" && typeof args.length !== "undefined"'+" error: "+(undefined||"unknown"))}var $={type:"Instr",id:E,args:R};if(typeof N!=="undefined"){$.object=N}if(typeof j!=="undefined"&&Object.keys(j).length!==0){$.namedArgs=j}return $}function ifInstruction(E,N,R,j,$){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof test === "object" && typeof test.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof consequent === "object" && typeof consequent.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof($)==="object"&&typeof $.length!=="undefined")){throw new Error('typeof alternate === "object" && typeof alternate.length !== "undefined"'+" error: "+(undefined||"unknown"))}var q={type:"IfInstruction",id:"if",testLabel:E,test:N,result:R,consequent:j,alternate:$};return q}function stringLiteral(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"StringLiteral",value:E};return N}function numberLiteral(E,N){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"NumberLiteral",value:E,raw:N};return R}function longNumberLiteral(E,N){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}var R={type:"LongNumberLiteral",value:E,raw:N};return R}function floatLiteral(E,N,R,j){if(!(typeof E==="number")){throw new Error('typeof value === "number"'+" error: "+("Argument value must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="boolean")){throw new Error('typeof nan === "boolean"'+" error: "+("Argument nan must be of type boolean, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof inf === "boolean"'+" error: "+("Argument inf must be of type boolean, given: "+_typeof(R)||0))}}if(!(typeof j==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(j)||0))}var $={type:"FloatLiteral",value:E,raw:j};if(N===true){$.nan=true}if(R===true){$.inf=true}return $}function elem(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof offset === "object" && typeof offset.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof funcs === "object" && typeof funcs.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Elem",table:E,offset:N,funcs:R};return j}function indexInFuncSection(E){var N={type:"IndexInFuncSection",index:E};return N}function valtypeLiteral(E){var N={type:"ValtypeLiteral",name:E};return N}function typeInstruction(E,N){var R={type:"TypeInstruction",id:E,functype:N};return R}function start(E){var N={type:"Start",index:E};return N}function globalType(E,N){var R={type:"GlobalType",valtype:E,mutability:N};return R}function leadingComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"LeadingComment",value:E};return N}function blockComment(E){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}var N={type:"BlockComment",value:E};return N}function data(E,N,R){var j={type:"Data",memoryIndex:E,offset:N,init:R};return j}function global(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof init === "object" && typeof init.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"Global",globalType:E,init:N,name:R};return j}function table(E,N,R,j){if(!(N.type==="Limit")){throw new Error('limits.type === "Limit"'+" error: "+("Argument limits must be of type Limit, given: "+N.type||0))}if(j!==null&&j!==undefined){if(!(_typeof(j)==="object"&&typeof j.length!=="undefined")){throw new Error('typeof elements === "object" && typeof elements.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var $={type:"Table",elementType:E,limits:N,name:R};if(typeof j!=="undefined"&&j.length>0){$.elements=j}return $}function memory(E,N){var R={type:"Memory",limits:E,id:N};return R}function funcImportDescr(E,N){var R={type:"FuncImportDescr",id:E,signature:N};return R}function moduleImport(E,N,R){if(!(typeof E==="string")){throw new Error('typeof module === "string"'+" error: "+("Argument module must be of type string, given: "+_typeof(E)||0))}if(!(typeof N==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(N)||0))}var j={type:"ModuleImport",module:E,name:N,descr:R};return j}function moduleExportDescr(E,N){var R={type:"ModuleExportDescr",exportType:E,id:N};return R}function moduleExport(E,N){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+("Argument name must be of type string, given: "+_typeof(E)||0))}var R={type:"ModuleExport",name:E,descr:N};return R}function limit(E,N,R){if(!(typeof E==="number")){throw new Error('typeof min === "number"'+" error: "+("Argument min must be of type number, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="number")){throw new Error('typeof max === "number"'+" error: "+("Argument max must be of type number, given: "+_typeof(N)||0))}}if(R!==null&&R!==undefined){if(!(typeof R==="boolean")){throw new Error('typeof shared === "boolean"'+" error: "+("Argument shared must be of type boolean, given: "+_typeof(R)||0))}}var j={type:"Limit",min:E};if(typeof N!=="undefined"){j.max=N}if(R===true){j.shared=true}return j}function signature(E,N){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof params === "object" && typeof params.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof results === "object" && typeof results.length !== "undefined"'+" error: "+(undefined||"unknown"))}var R={type:"Signature",params:E,results:N};return R}function program(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"Program",body:E};return N}function identifier(E,N){if(!(typeof E==="string")){throw new Error('typeof value === "string"'+" error: "+("Argument value must be of type string, given: "+_typeof(E)||0))}if(N!==null&&N!==undefined){if(!(typeof N==="string")){throw new Error('typeof raw === "string"'+" error: "+("Argument raw must be of type string, given: "+_typeof(N)||0))}}var R={type:"Identifier",value:E};if(typeof N!=="undefined"){R.raw=N}return R}function blockInstruction(E,N,R){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instr === "object" && typeof instr.length !== "undefined"'+" error: "+(undefined||"unknown"))}var j={type:"BlockInstruction",id:"block",label:E,instr:N,result:R};return j}function callInstruction(E,N,R){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof instrArgs === "object" && typeof instrArgs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var j={type:"CallInstruction",id:"call",index:E};if(typeof N!=="undefined"&&N.length>0){j.instrArgs=N}if(typeof R!=="undefined"){j.numeric=R}return j}function callIndirectInstruction(E,N){if(N!==null&&N!==undefined){if(!(_typeof(N)==="object"&&typeof N.length!=="undefined")){throw new Error('typeof intrs === "object" && typeof intrs.length !== "undefined"'+" error: "+(undefined||"unknown"))}}var R={type:"CallIndirectInstruction",id:"call_indirect",signature:E};if(typeof N!=="undefined"&&N.length>0){R.intrs=N}return R}function byteArray(E){if(!(_typeof(E)==="object"&&typeof E.length!=="undefined")){throw new Error('typeof values === "object" && typeof values.length !== "undefined"'+" error: "+(undefined||"unknown"))}var N={type:"ByteArray",values:E};return N}function func(E,N,R,j,$){if(!(_typeof(R)==="object"&&typeof R.length!=="undefined")){throw new Error('typeof body === "object" && typeof body.length !== "undefined"'+" error: "+(undefined||"unknown"))}if(j!==null&&j!==undefined){if(!(typeof j==="boolean")){throw new Error('typeof isExternal === "boolean"'+" error: "+("Argument isExternal must be of type boolean, given: "+_typeof(j)||0))}}var q={type:"Func",name:E,signature:N,body:R};if(j===true){q.isExternal=true}if(typeof $!=="undefined"){q.metadata=$}return q}function internalBrUnless(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalBrUnless",target:E};return N}function internalGoto(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalGoto",target:E};return N}function internalCallExtern(E){if(!(typeof E==="number")){throw new Error('typeof target === "number"'+" error: "+("Argument target must be of type number, given: "+_typeof(E)||0))}var N={type:"InternalCallExtern",target:E};return N}function internalEndAndReturn(){var E={type:"InternalEndAndReturn"};return E}var R=isTypeOf("Module");N.isModule=R;var j=isTypeOf("ModuleMetadata");N.isModuleMetadata=j;var $=isTypeOf("ModuleNameMetadata");N.isModuleNameMetadata=$;var q=isTypeOf("FunctionNameMetadata");N.isFunctionNameMetadata=q;var G=isTypeOf("LocalNameMetadata");N.isLocalNameMetadata=G;var ie=isTypeOf("BinaryModule");N.isBinaryModule=ie;var ae=isTypeOf("QuoteModule");N.isQuoteModule=ae;var ce=isTypeOf("SectionMetadata");N.isSectionMetadata=ce;var le=isTypeOf("ProducersSectionMetadata");N.isProducersSectionMetadata=le;var _e=isTypeOf("ProducerMetadata");N.isProducerMetadata=_e;var Ee=isTypeOf("ProducerMetadataVersionedName");N.isProducerMetadataVersionedName=Ee;var Te=isTypeOf("LoopInstruction");N.isLoopInstruction=Te;var we=isTypeOf("Instr");N.isInstr=we;var Ie=isTypeOf("IfInstruction");N.isIfInstruction=Ie;var Ne=isTypeOf("StringLiteral");N.isStringLiteral=Ne;var Me=isTypeOf("NumberLiteral");N.isNumberLiteral=Me;var Le=isTypeOf("LongNumberLiteral");N.isLongNumberLiteral=Le;var Be=isTypeOf("FloatLiteral");N.isFloatLiteral=Be;var je=isTypeOf("Elem");N.isElem=je;var Ue=isTypeOf("IndexInFuncSection");N.isIndexInFuncSection=Ue;var ze=isTypeOf("ValtypeLiteral");N.isValtypeLiteral=ze;var We=isTypeOf("TypeInstruction");N.isTypeInstruction=We;var Je=isTypeOf("Start");N.isStart=Je;var Ve=isTypeOf("GlobalType");N.isGlobalType=Ve;var qe=isTypeOf("LeadingComment");N.isLeadingComment=qe;var He=isTypeOf("BlockComment");N.isBlockComment=He;var Ge=isTypeOf("Data");N.isData=Ge;var Ke=isTypeOf("Global");N.isGlobal=Ke;var Qe=isTypeOf("Table");N.isTable=Qe;var Xe=isTypeOf("Memory");N.isMemory=Xe;var Ye=isTypeOf("FuncImportDescr");N.isFuncImportDescr=Ye;var Ze=isTypeOf("ModuleImport");N.isModuleImport=Ze;var et=isTypeOf("ModuleExportDescr");N.isModuleExportDescr=et;var tt=isTypeOf("ModuleExport");N.isModuleExport=tt;var rt=isTypeOf("Limit");N.isLimit=rt;var nt=isTypeOf("Signature");N.isSignature=nt;var it=isTypeOf("Program");N.isProgram=it;var ot=isTypeOf("Identifier");N.isIdentifier=ot;var st=isTypeOf("BlockInstruction");N.isBlockInstruction=st;var ct=isTypeOf("CallInstruction");N.isCallInstruction=ct;var ut=isTypeOf("CallIndirectInstruction");N.isCallIndirectInstruction=ut;var dt=isTypeOf("ByteArray");N.isByteArray=dt;var pt=isTypeOf("Func");N.isFunc=pt;var ft=isTypeOf("InternalBrUnless");N.isInternalBrUnless=ft;var mt=isTypeOf("InternalGoto");N.isInternalGoto=mt;var ht=isTypeOf("InternalCallExtern");N.isInternalCallExtern=ht;var _t=isTypeOf("InternalEndAndReturn");N.isInternalEndAndReturn=_t;var yt=function isNode(E){return R(E)||j(E)||$(E)||q(E)||G(E)||ie(E)||ae(E)||ce(E)||le(E)||_e(E)||Ee(E)||Te(E)||we(E)||Ie(E)||Ne(E)||Me(E)||Le(E)||Be(E)||je(E)||Ue(E)||ze(E)||We(E)||Je(E)||Ve(E)||qe(E)||He(E)||Ge(E)||Ke(E)||Qe(E)||Xe(E)||Ye(E)||Ze(E)||et(E)||tt(E)||rt(E)||nt(E)||it(E)||ot(E)||st(E)||ct(E)||ut(E)||dt(E)||pt(E)||ft(E)||mt(E)||ht(E)||_t(E)};N.isNode=yt;var vt=function isBlock(E){return Te(E)||st(E)||pt(E)};N.isBlock=vt;var bt=function isInstruction(E){return Te(E)||we(E)||Ie(E)||We(E)||st(E)||ct(E)||ut(E)};N.isInstruction=bt;var xt=function isExpression(E){return we(E)||Ne(E)||Me(E)||Le(E)||Be(E)||ze(E)||ot(E)};N.isExpression=xt;var St=function isNumericLiteral(E){return Me(E)||Le(E)||Be(E)};N.isNumericLiteral=St;var Et=function isImportDescr(E){return Ve(E)||Qe(E)||Xe(E)||Ye(E)};N.isImportDescr=Et;var Tt=function isIntrinsic(E){return ft(E)||mt(E)||ht(E)||_t(E)};N.isIntrinsic=Tt;var kt=assertTypeOf("Module");N.assertModule=kt;var Ct=assertTypeOf("ModuleMetadata");N.assertModuleMetadata=Ct;var Dt=assertTypeOf("ModuleNameMetadata");N.assertModuleNameMetadata=Dt;var At=assertTypeOf("FunctionNameMetadata");N.assertFunctionNameMetadata=At;var wt=assertTypeOf("LocalNameMetadata");N.assertLocalNameMetadata=wt;var Pt=assertTypeOf("BinaryModule");N.assertBinaryModule=Pt;var Ft=assertTypeOf("QuoteModule");N.assertQuoteModule=Ft;var It=assertTypeOf("SectionMetadata");N.assertSectionMetadata=It;var Nt=assertTypeOf("ProducersSectionMetadata");N.assertProducersSectionMetadata=Nt;var Ot=assertTypeOf("ProducerMetadata");N.assertProducerMetadata=Ot;var Mt=assertTypeOf("ProducerMetadataVersionedName");N.assertProducerMetadataVersionedName=Mt;var Rt=assertTypeOf("LoopInstruction");N.assertLoopInstruction=Rt;var Lt=assertTypeOf("Instr");N.assertInstr=Lt;var Bt=assertTypeOf("IfInstruction");N.assertIfInstruction=Bt;var jt=assertTypeOf("StringLiteral");N.assertStringLiteral=jt;var Ut=assertTypeOf("NumberLiteral");N.assertNumberLiteral=Ut;var zt=assertTypeOf("LongNumberLiteral");N.assertLongNumberLiteral=zt;var Wt=assertTypeOf("FloatLiteral");N.assertFloatLiteral=Wt;var $t=assertTypeOf("Elem");N.assertElem=$t;var Jt=assertTypeOf("IndexInFuncSection");N.assertIndexInFuncSection=Jt;var Vt=assertTypeOf("ValtypeLiteral");N.assertValtypeLiteral=Vt;var qt=assertTypeOf("TypeInstruction");N.assertTypeInstruction=qt;var Ht=assertTypeOf("Start");N.assertStart=Ht;var Gt=assertTypeOf("GlobalType");N.assertGlobalType=Gt;var Kt=assertTypeOf("LeadingComment");N.assertLeadingComment=Kt;var Qt=assertTypeOf("BlockComment");N.assertBlockComment=Qt;var Xt=assertTypeOf("Data");N.assertData=Xt;var Yt=assertTypeOf("Global");N.assertGlobal=Yt;var Zt=assertTypeOf("Table");N.assertTable=Zt;var er=assertTypeOf("Memory");N.assertMemory=er;var tr=assertTypeOf("FuncImportDescr");N.assertFuncImportDescr=tr;var rr=assertTypeOf("ModuleImport");N.assertModuleImport=rr;var nr=assertTypeOf("ModuleExportDescr");N.assertModuleExportDescr=nr;var ir=assertTypeOf("ModuleExport");N.assertModuleExport=ir;var ar=assertTypeOf("Limit");N.assertLimit=ar;var sr=assertTypeOf("Signature");N.assertSignature=sr;var cr=assertTypeOf("Program");N.assertProgram=cr;var lr=assertTypeOf("Identifier");N.assertIdentifier=lr;var ur=assertTypeOf("BlockInstruction");N.assertBlockInstruction=ur;var dr=assertTypeOf("CallInstruction");N.assertCallInstruction=dr;var pr=assertTypeOf("CallIndirectInstruction");N.assertCallIndirectInstruction=pr;var fr=assertTypeOf("ByteArray");N.assertByteArray=fr;var mr=assertTypeOf("Func");N.assertFunc=mr;var gr=assertTypeOf("InternalBrUnless");N.assertInternalBrUnless=gr;var hr=assertTypeOf("InternalGoto");N.assertInternalGoto=hr;var _r=assertTypeOf("InternalCallExtern");N.assertInternalCallExtern=_r;var yr=assertTypeOf("InternalEndAndReturn");N.assertInternalEndAndReturn=yr;var vr={Module:["Node"],ModuleMetadata:["Node"],ModuleNameMetadata:["Node"],FunctionNameMetadata:["Node"],LocalNameMetadata:["Node"],BinaryModule:["Node"],QuoteModule:["Node"],SectionMetadata:["Node"],ProducersSectionMetadata:["Node"],ProducerMetadata:["Node"],ProducerMetadataVersionedName:["Node"],LoopInstruction:["Node","Block","Instruction"],Instr:["Node","Expression","Instruction"],IfInstruction:["Node","Instruction"],StringLiteral:["Node","Expression"],NumberLiteral:["Node","NumericLiteral","Expression"],LongNumberLiteral:["Node","NumericLiteral","Expression"],FloatLiteral:["Node","NumericLiteral","Expression"],Elem:["Node"],IndexInFuncSection:["Node"],ValtypeLiteral:["Node","Expression"],TypeInstruction:["Node","Instruction"],Start:["Node"],GlobalType:["Node","ImportDescr"],LeadingComment:["Node"],BlockComment:["Node"],Data:["Node"],Global:["Node"],Table:["Node","ImportDescr"],Memory:["Node","ImportDescr"],FuncImportDescr:["Node","ImportDescr"],ModuleImport:["Node"],ModuleExportDescr:["Node"],ModuleExport:["Node"],Limit:["Node"],Signature:["Node"],Program:["Node"],Identifier:["Node","Expression"],BlockInstruction:["Node","Block","Instruction"],CallInstruction:["Node","Instruction"],CallIndirectInstruction:["Node","Instruction"],ByteArray:["Node"],Func:["Node","Block"],InternalBrUnless:["Node","Intrinsic"],InternalGoto:["Node","Intrinsic"],InternalCallExtern:["Node","Intrinsic"],InternalEndAndReturn:["Node","Intrinsic"]};N.unionTypesMap=vr;var br=["Module","ModuleMetadata","ModuleNameMetadata","FunctionNameMetadata","LocalNameMetadata","BinaryModule","QuoteModule","SectionMetadata","ProducersSectionMetadata","ProducerMetadata","ProducerMetadataVersionedName","LoopInstruction","Instr","IfInstruction","StringLiteral","NumberLiteral","LongNumberLiteral","FloatLiteral","Elem","IndexInFuncSection","ValtypeLiteral","TypeInstruction","Start","GlobalType","LeadingComment","BlockComment","Data","Global","Table","Memory","FuncImportDescr","ModuleImport","ModuleExportDescr","ModuleExport","Limit","Signature","Program","Identifier","BlockInstruction","CallInstruction","CallIndirectInstruction","ByteArray","Func","InternalBrUnless","InternalGoto","InternalCallExtern","InternalEndAndReturn","Node","Block","Instruction","Expression","NumericLiteral","ImportDescr","Intrinsic"];N.nodeAndUnionTypes=br},75769:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.signatures=void 0;function sign(E,N){return[E,N]}var R="u32";var j="i32";var $="i64";var q="f32";var G="f64";var ie=function vector(E){var N=[E];N.vector=true;return N};var ae={unreachable:sign([],[]),nop:sign([],[]),br:sign([R],[]),br_if:sign([R],[]),br_table:sign(ie(R),[]),return:sign([],[]),call:sign([R],[]),call_indirect:sign([R],[])};var ce={drop:sign([],[]),select:sign([],[])};var le={get_local:sign([R],[]),set_local:sign([R],[]),tee_local:sign([R],[]),get_global:sign([R],[]),set_global:sign([R],[])};var _e={"i32.load":sign([R,R],[j]),"i64.load":sign([R,R],[]),"f32.load":sign([R,R],[]),"f64.load":sign([R,R],[]),"i32.load8_s":sign([R,R],[j]),"i32.load8_u":sign([R,R],[j]),"i32.load16_s":sign([R,R],[j]),"i32.load16_u":sign([R,R],[j]),"i64.load8_s":sign([R,R],[$]),"i64.load8_u":sign([R,R],[$]),"i64.load16_s":sign([R,R],[$]),"i64.load16_u":sign([R,R],[$]),"i64.load32_s":sign([R,R],[$]),"i64.load32_u":sign([R,R],[$]),"i32.store":sign([R,R],[]),"i64.store":sign([R,R],[]),"f32.store":sign([R,R],[]),"f64.store":sign([R,R],[]),"i32.store8":sign([R,R],[]),"i32.store16":sign([R,R],[]),"i64.store8":sign([R,R],[]),"i64.store16":sign([R,R],[]),"i64.store32":sign([R,R],[]),current_memory:sign([],[]),grow_memory:sign([],[])};var Ee={"i32.const":sign([j],[j]),"i64.const":sign([$],[$]),"f32.const":sign([q],[q]),"f64.const":sign([G],[G]),"i32.eqz":sign([j],[j]),"i32.eq":sign([j,j],[j]),"i32.ne":sign([j,j],[j]),"i32.lt_s":sign([j,j],[j]),"i32.lt_u":sign([j,j],[j]),"i32.gt_s":sign([j,j],[j]),"i32.gt_u":sign([j,j],[j]),"i32.le_s":sign([j,j],[j]),"i32.le_u":sign([j,j],[j]),"i32.ge_s":sign([j,j],[j]),"i32.ge_u":sign([j,j],[j]),"i64.eqz":sign([$],[$]),"i64.eq":sign([$,$],[j]),"i64.ne":sign([$,$],[j]),"i64.lt_s":sign([$,$],[j]),"i64.lt_u":sign([$,$],[j]),"i64.gt_s":sign([$,$],[j]),"i64.gt_u":sign([$,$],[j]),"i64.le_s":sign([$,$],[j]),"i64.le_u":sign([$,$],[j]),"i64.ge_s":sign([$,$],[j]),"i64.ge_u":sign([$,$],[j]),"f32.eq":sign([q,q],[j]),"f32.ne":sign([q,q],[j]),"f32.lt":sign([q,q],[j]),"f32.gt":sign([q,q],[j]),"f32.le":sign([q,q],[j]),"f32.ge":sign([q,q],[j]),"f64.eq":sign([G,G],[j]),"f64.ne":sign([G,G],[j]),"f64.lt":sign([G,G],[j]),"f64.gt":sign([G,G],[j]),"f64.le":sign([G,G],[j]),"f64.ge":sign([G,G],[j]),"i32.clz":sign([j],[j]),"i32.ctz":sign([j],[j]),"i32.popcnt":sign([j],[j]),"i32.add":sign([j,j],[j]),"i32.sub":sign([j,j],[j]),"i32.mul":sign([j,j],[j]),"i32.div_s":sign([j,j],[j]),"i32.div_u":sign([j,j],[j]),"i32.rem_s":sign([j,j],[j]),"i32.rem_u":sign([j,j],[j]),"i32.and":sign([j,j],[j]),"i32.or":sign([j,j],[j]),"i32.xor":sign([j,j],[j]),"i32.shl":sign([j,j],[j]),"i32.shr_s":sign([j,j],[j]),"i32.shr_u":sign([j,j],[j]),"i32.rotl":sign([j,j],[j]),"i32.rotr":sign([j,j],[j]),"i64.clz":sign([$],[$]),"i64.ctz":sign([$],[$]),"i64.popcnt":sign([$],[$]),"i64.add":sign([$,$],[$]),"i64.sub":sign([$,$],[$]),"i64.mul":sign([$,$],[$]),"i64.div_s":sign([$,$],[$]),"i64.div_u":sign([$,$],[$]),"i64.rem_s":sign([$,$],[$]),"i64.rem_u":sign([$,$],[$]),"i64.and":sign([$,$],[$]),"i64.or":sign([$,$],[$]),"i64.xor":sign([$,$],[$]),"i64.shl":sign([$,$],[$]),"i64.shr_s":sign([$,$],[$]),"i64.shr_u":sign([$,$],[$]),"i64.rotl":sign([$,$],[$]),"i64.rotr":sign([$,$],[$]),"f32.abs":sign([q],[q]),"f32.neg":sign([q],[q]),"f32.ceil":sign([q],[q]),"f32.floor":sign([q],[q]),"f32.trunc":sign([q],[q]),"f32.nearest":sign([q],[q]),"f32.sqrt":sign([q],[q]),"f32.add":sign([q,q],[q]),"f32.sub":sign([q,q],[q]),"f32.mul":sign([q,q],[q]),"f32.div":sign([q,q],[q]),"f32.min":sign([q,q],[q]),"f32.max":sign([q,q],[q]),"f32.copysign":sign([q,q],[q]),"f64.abs":sign([G],[G]),"f64.neg":sign([G],[G]),"f64.ceil":sign([G],[G]),"f64.floor":sign([G],[G]),"f64.trunc":sign([G],[G]),"f64.nearest":sign([G],[G]),"f64.sqrt":sign([G],[G]),"f64.add":sign([G,G],[G]),"f64.sub":sign([G,G],[G]),"f64.mul":sign([G,G],[G]),"f64.div":sign([G,G],[G]),"f64.min":sign([G,G],[G]),"f64.max":sign([G,G],[G]),"f64.copysign":sign([G,G],[G]),"i32.wrap/i64":sign([$],[j]),"i32.trunc_s/f32":sign([q],[j]),"i32.trunc_u/f32":sign([q],[j]),"i32.trunc_s/f64":sign([q],[j]),"i32.trunc_u/f64":sign([G],[j]),"i64.extend_s/i32":sign([j],[$]),"i64.extend_u/i32":sign([j],[$]),"i64.trunc_s/f32":sign([q],[$]),"i64.trunc_u/f32":sign([q],[$]),"i64.trunc_s/f64":sign([G],[$]),"i64.trunc_u/f64":sign([G],[$]),"f32.convert_s/i32":sign([j],[q]),"f32.convert_u/i32":sign([j],[q]),"f32.convert_s/i64":sign([$],[q]),"f32.convert_u/i64":sign([$],[q]),"f32.demote/f64":sign([G],[q]),"f64.convert_s/i32":sign([j],[G]),"f64.convert_u/i32":sign([j],[G]),"f64.convert_s/i64":sign([$],[G]),"f64.convert_u/i64":sign([$],[G]),"f64.promote/f32":sign([q],[G]),"i32.reinterpret/f32":sign([q],[j]),"i64.reinterpret/f64":sign([G],[$]),"f32.reinterpret/i32":sign([j],[q]),"f64.reinterpret/i64":sign([$],[G])};var Te=Object.assign({},ae,ce,le,_e,Ee);N.signatures=Te},5499:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.moduleContextFromModuleAST=moduleContextFromModuleAST;N.ModuleContext=void 0;var j=R(52696);function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _defineProperties(E,N){for(var R=0;RE&&E>=0}},{key:"getLabel",value:function getLabel(E){return this.labels[E]}},{key:"popLabel",value:function popLabel(){this.labels.shift()}},{key:"hasLocal",value:function hasLocal(E){return typeof this.getLocal(E)!=="undefined"}},{key:"getLocal",value:function getLocal(E){return this.locals[E]}},{key:"addLocal",value:function addLocal(E){this.locals.push(E)}},{key:"addType",value:function addType(E){if(!(E.functype.type==="Signature")){throw new Error('type.functype.type === "Signature"'+" error: "+(undefined||"unknown"))}this.types.push(E.functype)}},{key:"hasType",value:function hasType(E){return this.types[E]!==undefined}},{key:"getType",value:function getType(E){return this.types[E]}},{key:"hasGlobal",value:function hasGlobal(E){return this.globals.length>E&&E>=0}},{key:"getGlobal",value:function getGlobal(E){return this.globals[E].type}},{key:"getGlobalOffsetByIdentifier",value:function getGlobalOffsetByIdentifier(E){if(!(typeof E==="string")){throw new Error('typeof name === "string"'+" error: "+(undefined||"unknown"))}return this.globalsOffsetByIdentifier[E]}},{key:"defineGlobal",value:function defineGlobal(E){var N=E.globalType.valtype;var R=E.globalType.mutability;this.globals.push({type:N,mutability:R});if(typeof E.name!=="undefined"){this.globalsOffsetByIdentifier[E.name.value]=this.globals.length-1}}},{key:"importGlobal",value:function importGlobal(E,N){this.globals.push({type:E,mutability:N})}},{key:"isMutableGlobal",value:function isMutableGlobal(E){return this.globals[E].mutability==="var"}},{key:"isImmutableGlobal",value:function isImmutableGlobal(E){return this.globals[E].mutability==="const"}},{key:"hasMemory",value:function hasMemory(E){return this.mems.length>E&&E>=0}},{key:"addMemory",value:function addMemory(E,N){this.mems.push({min:E,max:N})}},{key:"getMemory",value:function getMemory(E){return this.mems[E]}}]);return ModuleContext}();N.ModuleContext=$},22056:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.traverse=traverse;var j=R(46166);var $=R(52696);function walk(E,N){var R=false;function innerWalk(E,N){if(R){return}var $=E.node;if($===undefined){console.warn("traversing with an empty context");return}if($._deleted===true){return}var q=(0,j.createPath)(E);N($.type,q);if(q.shouldStop){R=true;return}Object.keys($).forEach((function(E){var R=$[E];if(R===null||R===undefined){return}var j=Array.isArray(R)?R:[R];j.forEach((function(j){if(typeof j.type==="string"){var $={node:j,parentKey:E,parentPath:q,shouldStop:false,inList:Array.isArray(R)};innerWalk($,N)}}))}))}innerWalk(E,N)}var q=function noop(){};function traverse(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:q;var j=arguments.length>3&&arguments[3]!==undefined?arguments[3]:q;Object.keys(N).forEach((function(E){if(!$.nodeAndUnionTypes.includes(E)){throw new Error("Unexpected visitor ".concat(E))}}));var G={node:E,inList:false,shouldStop:false,parentPath:null,parentKey:null};walk(G,(function(E,q){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}var G=$.unionTypesMap[E];if(!G){throw new Error("Unexpected node type ".concat(E))}G.forEach((function(E){if(typeof N[E]==="function"){R(E,q);N[E](q);j(E,q)}}))}))}},91764:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.isAnonymous=isAnonymous;N.getSectionMetadata=getSectionMetadata;N.getSectionMetadatas=getSectionMetadatas;N.sortSectionMetadata=sortSectionMetadata;N.orderedInsertNode=orderedInsertNode;N.assertHasLoc=assertHasLoc;N.getEndOfSection=getEndOfSection;N.shiftLoc=shiftLoc;N.shiftSection=shiftSection;N.signatureForOpcode=signatureForOpcode;N.getUniqueNameGenerator=getUniqueNameGenerator;N.getStartByteOffset=getStartByteOffset;N.getEndByteOffset=getEndByteOffset;N.getFunctionBeginingByteOffset=getFunctionBeginingByteOffset;N.getEndBlockByteOffset=getEndBlockByteOffset;N.getStartBlockByteOffset=getStartBlockByteOffset;var j=R(75769);var $=R(22056);var q=_interopRequireWildcard(R(3930));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function isAnonymous(E){return E.raw===""}function getSectionMetadata(E,N){var R;(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R=j}}))});return R}function getSectionMetadatas(E,N){var R=[];(0,$.traverse)(E,{SectionMetadata:function(E){function SectionMetadata(N){return E.apply(this,arguments)}SectionMetadata.toString=function(){return E.toString()};return SectionMetadata}((function(E){var j=E.node;if(j.section===N){R.push(j)}}))});return R}function sortSectionMetadata(E){if(E.metadata==null){console.warn("sortSectionMetadata: no metadata to sort");return}E.metadata.sections.sort((function(E,N){var R=q.default.sections[E.section];var j=q.default.sections[N.section];if(typeof R!=="number"||typeof j!=="number"){throw new Error("Section id not found")}return R-j}))}function orderedInsertNode(E,N){assertHasLoc(N);var R=false;if(N.type==="ModuleExport"){E.fields.push(N);return}E.fields=E.fields.reduce((function(E,j){var $=Infinity;if(j.loc!=null){$=j.loc.end.column}if(R===false&&N.loc.start.column<$){R=true;E.push(N)}E.push(j);return E}),[]);if(R===false){E.fields.push(N)}}function assertHasLoc(E){if(E.loc==null||E.loc.start==null||E.loc.end==null){throw new Error("Internal failure: node (".concat(JSON.stringify(E.type),") has no location information"))}}function getEndOfSection(E){assertHasLoc(E.size);return E.startOffset+E.size.value+(E.size.loc.end.column-E.size.loc.start.column)}function shiftLoc(E,N){E.loc.start.column+=N;E.loc.end.column+=N}function shiftSection(E,N,R){if(N.type!=="SectionMetadata"){throw new Error("Can not shift node "+JSON.stringify(N.type))}N.startOffset+=R;if(_typeof(N.size.loc)==="object"){shiftLoc(N.size,R)}if(_typeof(N.vectorOfSize)==="object"&&_typeof(N.vectorOfSize.loc)==="object"){shiftLoc(N.vectorOfSize,R)}var j=N.section;(0,$.traverse)(E,{Node:function Node(E){var N=E.node;var $=(0,q.getSectionForNode)(N);if($===j&&_typeof(N.loc)==="object"){shiftLoc(N,R)}}})}function signatureForOpcode(E,N){var R=N;if(E!==undefined&&E!==""){R=E+"."+N}var $=j.signatures[R];if($==undefined){return[E,E]}return $[0]}function getUniqueNameGenerator(){var E={};return function(){var N=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"temp";if(!(N in E)){E[N]=0}else{E[N]=E[N]+1}return N+"_"+E[N]}}function getStartByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.start==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+String(E.id))}return E.loc.start.column}function getEndByteOffset(E){if(typeof E.loc==="undefined"||typeof E.loc.end==="undefined"){throw new Error("Can not get byte offset without loc informations, node: "+E.type)}return E.loc.end.column}function getFunctionBeginingByteOffset(E){if(!(E.body.length>0)){throw new Error("n.body.length > 0"+" error: "+(undefined||"unknown"))}var N=_slicedToArray(E.body,1),R=N[0];return getStartByteOffset(R)}function getEndBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){N=E.instr[E.instr.length-1]}if(E.body){N=E.body[E.body.length-1]}if(!(_typeof(N)==="object")){throw new Error('typeof lastInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}function getStartBlockByteOffset(E){if(!(E.instr.length>0||E.body.length>0)){throw new Error("n.instr.length > 0 || n.body.length > 0"+" error: "+(undefined||"unknown"))}var N;if(E.instr){var R=_slicedToArray(E.instr,1);N=R[0]}if(E.body){var j=_slicedToArray(E.body,1);N=j[0]}if(!(_typeof(N)==="object")){throw new Error('typeof fistInstruction === "object"'+" error: "+(undefined||"unknown"))}return getStartByteOffset(N)}},18083:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=parse;function parse(E){E=E.toUpperCase();var N=E.indexOf("P");var R,j;if(N!==-1){R=E.substring(0,N);j=parseInt(E.substring(N+1))}else{R=E;j=0}var $=R.indexOf(".");if($!==-1){var q=parseInt(R.substring(0,$),16);var G=Math.sign(q);q=G*q;var ie=R.length-$-1;var ae=parseInt(R.substring($+1),16);var ce=ie>0?ae/Math.pow(16,ie):0;if(G===0){if(ce===0){R=G}else{if(Object.is(G,-0)){R=-ce}else{R=ce}}}else{R=G*(q+ce)}}else{R=parseInt(R,16)}return R*(N!==-1?Math.pow(2,j):1)}},35866:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.LinkError=N.CompileError=N.RuntimeError=void 0;function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var R=function(E){_inherits(RuntimeError,E);function RuntimeError(){_classCallCheck(this,RuntimeError);return _possibleConstructorReturn(this,(RuntimeError.__proto__||Object.getPrototypeOf(RuntimeError)).apply(this,arguments))}return RuntimeError}(Error);N.RuntimeError=R;var j=function(E){_inherits(CompileError,E);function CompileError(){_classCallCheck(this,CompileError);return _possibleConstructorReturn(this,(CompileError.__proto__||Object.getPrototypeOf(CompileError)).apply(this,arguments))}return CompileError}(Error);N.CompileError=j;var $=function(E){_inherits(LinkError,E);function LinkError(){_classCallCheck(this,LinkError);return _possibleConstructorReturn(this,(LinkError.__proto__||Object.getPrototypeOf(LinkError)).apply(this,arguments))}return LinkError}(Error);N.LinkError=$},3104:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.overrideBytesInBuffer=overrideBytesInBuffer;N.makeBuffer=makeBuffer;N.fromHexdump=fromHexdump;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.parse32F=parse32F;N.parse64F=parse64F;N.parse32I=parse32I;N.parseU32=parseU32;N.parse64I=parse64I;N.isInfLiteral=isInfLiteral;N.isNanLiteral=isNanLiteral;var j=_interopRequireDefault(R(11174));var $=_interopRequireDefault(R(18083));var q=R(35866);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function parse32F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):4194304)}return parseFloat(E)}function parse64F(E){if(isHexLiteral(E)){return(0,$.default)(E)}if(isInfLiteral(E)){return E[0]==="-"?-1:1}if(isNanLiteral(E)){return(E[0]==="-"?-1:1)*(E.includes(":")?parseInt(E.substring(E.indexOf(":")+1),16):0x8000000000000)}if(isHexLiteral(E)){return(0,$.default)(E)}return parseFloat(E)}function parse32I(E){var N=0;if(isHexLiteral(E)){N=~~parseInt(E,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=parseInt(E,10)}return N}function parseU32(E){var N=parse32I(E);if(N<0){throw new q.CompileError("Illegal value for u32: "+E)}return N}function parse64I(E){var N;if(isHexLiteral(E)){N=j.default.fromString(E,false,16)}else if(isDecimalExponentLiteral(E)){throw new Error("This number literal format is yet to be implemented.")}else{N=j.default.fromString(E)}return{high:N.high,low:N.low}}var G=/^\+?-?nan/;var ie=/^\+?-?inf/;function isInfLiteral(E){return ie.test(E.toLowerCase())}function isNanLiteral(E){return G.test(E.toLowerCase())}function isDecimalExponentLiteral(E){return!isHexLiteral(E)&&E.toUpperCase().includes("E")}function isHexLiteral(E){return E.substring(0,2).toUpperCase()==="0X"||E.substring(0,3).toUpperCase()==="-0X"}},3930:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"getSectionForNode",{enumerable:true,get:function get(){return j.getSectionForNode}});N["default"]=void 0;var j=R(55474);var $="illegal";var q=[0,97,115,109];var G=[1,0,0,0];function invertMap(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:function(E){return E};var R={};var j=Object.keys(E);for(var $=0,q=j.length;$2&&arguments[2]!==undefined?arguments[2]:0;return{name:E,object:N,numberOfArgs:R}}function createSymbol(E){var N=arguments.length>1&&arguments[1]!==undefined?arguments[1]:0;return{name:E,numberOfArgs:N}}var ie={func:96,result:64};var ae={0:"Func",1:"Table",2:"Mem",3:"Global"};var ce=invertMap(ae);var le={127:"i32",126:"i64",125:"f32",124:"f64",123:"v128"};var _e=invertMap(le);var Ee={112:"anyfunc"};var Te=Object.assign({},le,{64:null,127:"i32",126:"i64",125:"f32",124:"f64"});var we={0:"const",1:"var"};var Ie=invertMap(we);var Ne={0:"func",1:"table",2:"mem",3:"global"};var Me={custom:0,type:1,import:2,func:3,table:4,memory:5,global:6,export:7,start:8,element:9,code:10,data:11};var Le={0:createSymbol("unreachable"),1:createSymbol("nop"),2:createSymbol("block"),3:createSymbol("loop"),4:createSymbol("if"),5:createSymbol("else"),6:$,7:$,8:$,9:$,10:$,11:createSymbol("end"),12:createSymbol("br",1),13:createSymbol("br_if",1),14:createSymbol("br_table"),15:createSymbol("return"),16:createSymbol("call",1),17:createSymbol("call_indirect",2),18:$,19:$,20:$,21:$,22:$,23:$,24:$,25:$,26:createSymbol("drop"),27:createSymbol("select"),28:$,29:$,30:$,31:$,32:createSymbol("get_local",1),33:createSymbol("set_local",1),34:createSymbol("tee_local",1),35:createSymbol("get_global",1),36:createSymbol("set_global",1),37:$,38:$,39:$,40:createSymbolObject("load","u32",1),41:createSymbolObject("load","u64",1),42:createSymbolObject("load","f32",1),43:createSymbolObject("load","f64",1),44:createSymbolObject("load8_s","u32",1),45:createSymbolObject("load8_u","u32",1),46:createSymbolObject("load16_s","u32",1),47:createSymbolObject("load16_u","u32",1),48:createSymbolObject("load8_s","u64",1),49:createSymbolObject("load8_u","u64",1),50:createSymbolObject("load16_s","u64",1),51:createSymbolObject("load16_u","u64",1),52:createSymbolObject("load32_s","u64",1),53:createSymbolObject("load32_u","u64",1),54:createSymbolObject("store","u32",1),55:createSymbolObject("store","u64",1),56:createSymbolObject("store","f32",1),57:createSymbolObject("store","f64",1),58:createSymbolObject("store8","u32",1),59:createSymbolObject("store16","u32",1),60:createSymbolObject("store8","u64",1),61:createSymbolObject("store16","u64",1),62:createSymbolObject("store32","u64",1),63:createSymbolObject("current_memory"),64:createSymbolObject("grow_memory"),65:createSymbolObject("const","i32",1),66:createSymbolObject("const","i64",1),67:createSymbolObject("const","f32",1),68:createSymbolObject("const","f64",1),69:createSymbolObject("eqz","i32"),70:createSymbolObject("eq","i32"),71:createSymbolObject("ne","i32"),72:createSymbolObject("lt_s","i32"),73:createSymbolObject("lt_u","i32"),74:createSymbolObject("gt_s","i32"),75:createSymbolObject("gt_u","i32"),76:createSymbolObject("le_s","i32"),77:createSymbolObject("le_u","i32"),78:createSymbolObject("ge_s","i32"),79:createSymbolObject("ge_u","i32"),80:createSymbolObject("eqz","i64"),81:createSymbolObject("eq","i64"),82:createSymbolObject("ne","i64"),83:createSymbolObject("lt_s","i64"),84:createSymbolObject("lt_u","i64"),85:createSymbolObject("gt_s","i64"),86:createSymbolObject("gt_u","i64"),87:createSymbolObject("le_s","i64"),88:createSymbolObject("le_u","i64"),89:createSymbolObject("ge_s","i64"),90:createSymbolObject("ge_u","i64"),91:createSymbolObject("eq","f32"),92:createSymbolObject("ne","f32"),93:createSymbolObject("lt","f32"),94:createSymbolObject("gt","f32"),95:createSymbolObject("le","f32"),96:createSymbolObject("ge","f32"),97:createSymbolObject("eq","f64"),98:createSymbolObject("ne","f64"),99:createSymbolObject("lt","f64"),100:createSymbolObject("gt","f64"),101:createSymbolObject("le","f64"),102:createSymbolObject("ge","f64"),103:createSymbolObject("clz","i32"),104:createSymbolObject("ctz","i32"),105:createSymbolObject("popcnt","i32"),106:createSymbolObject("add","i32"),107:createSymbolObject("sub","i32"),108:createSymbolObject("mul","i32"),109:createSymbolObject("div_s","i32"),110:createSymbolObject("div_u","i32"),111:createSymbolObject("rem_s","i32"),112:createSymbolObject("rem_u","i32"),113:createSymbolObject("and","i32"),114:createSymbolObject("or","i32"),115:createSymbolObject("xor","i32"),116:createSymbolObject("shl","i32"),117:createSymbolObject("shr_s","i32"),118:createSymbolObject("shr_u","i32"),119:createSymbolObject("rotl","i32"),120:createSymbolObject("rotr","i32"),121:createSymbolObject("clz","i64"),122:createSymbolObject("ctz","i64"),123:createSymbolObject("popcnt","i64"),124:createSymbolObject("add","i64"),125:createSymbolObject("sub","i64"),126:createSymbolObject("mul","i64"),127:createSymbolObject("div_s","i64"),128:createSymbolObject("div_u","i64"),129:createSymbolObject("rem_s","i64"),130:createSymbolObject("rem_u","i64"),131:createSymbolObject("and","i64"),132:createSymbolObject("or","i64"),133:createSymbolObject("xor","i64"),134:createSymbolObject("shl","i64"),135:createSymbolObject("shr_s","i64"),136:createSymbolObject("shr_u","i64"),137:createSymbolObject("rotl","i64"),138:createSymbolObject("rotr","i64"),139:createSymbolObject("abs","f32"),140:createSymbolObject("neg","f32"),141:createSymbolObject("ceil","f32"),142:createSymbolObject("floor","f32"),143:createSymbolObject("trunc","f32"),144:createSymbolObject("nearest","f32"),145:createSymbolObject("sqrt","f32"),146:createSymbolObject("add","f32"),147:createSymbolObject("sub","f32"),148:createSymbolObject("mul","f32"),149:createSymbolObject("div","f32"),150:createSymbolObject("min","f32"),151:createSymbolObject("max","f32"),152:createSymbolObject("copysign","f32"),153:createSymbolObject("abs","f64"),154:createSymbolObject("neg","f64"),155:createSymbolObject("ceil","f64"),156:createSymbolObject("floor","f64"),157:createSymbolObject("trunc","f64"),158:createSymbolObject("nearest","f64"),159:createSymbolObject("sqrt","f64"),160:createSymbolObject("add","f64"),161:createSymbolObject("sub","f64"),162:createSymbolObject("mul","f64"),163:createSymbolObject("div","f64"),164:createSymbolObject("min","f64"),165:createSymbolObject("max","f64"),166:createSymbolObject("copysign","f64"),167:createSymbolObject("wrap/i64","i32"),168:createSymbolObject("trunc_s/f32","i32"),169:createSymbolObject("trunc_u/f32","i32"),170:createSymbolObject("trunc_s/f64","i32"),171:createSymbolObject("trunc_u/f64","i32"),172:createSymbolObject("extend_s/i32","i64"),173:createSymbolObject("extend_u/i32","i64"),174:createSymbolObject("trunc_s/f32","i64"),175:createSymbolObject("trunc_u/f32","i64"),176:createSymbolObject("trunc_s/f64","i64"),177:createSymbolObject("trunc_u/f64","i64"),178:createSymbolObject("convert_s/i32","f32"),179:createSymbolObject("convert_u/i32","f32"),180:createSymbolObject("convert_s/i64","f32"),181:createSymbolObject("convert_u/i64","f32"),182:createSymbolObject("demote/f64","f32"),183:createSymbolObject("convert_s/i32","f64"),184:createSymbolObject("convert_u/i32","f64"),185:createSymbolObject("convert_s/i64","f64"),186:createSymbolObject("convert_u/i64","f64"),187:createSymbolObject("promote/f32","f64"),188:createSymbolObject("reinterpret/f32","i32"),189:createSymbolObject("reinterpret/f64","i64"),190:createSymbolObject("reinterpret/i32","f32"),191:createSymbolObject("reinterpret/i64","f64"),65024:createSymbol("memory.atomic.notify",1),65025:createSymbol("memory.atomic.wait32",1),65026:createSymbol("memory.atomic.wait64",1),65040:createSymbolObject("atomic.load","i32",1),65041:createSymbolObject("atomic.load","i64",1),65042:createSymbolObject("atomic.load8_u","i32",1),65043:createSymbolObject("atomic.load16_u","i32",1),65044:createSymbolObject("atomic.load8_u","i64",1),65045:createSymbolObject("atomic.load16_u","i64",1),65046:createSymbolObject("atomic.load32_u","i64",1),65047:createSymbolObject("atomic.store","i32",1),65048:createSymbolObject("atomic.store","i64",1),65049:createSymbolObject("atomic.store8_u","i32",1),65050:createSymbolObject("atomic.store16_u","i32",1),65051:createSymbolObject("atomic.store8_u","i64",1),65052:createSymbolObject("atomic.store16_u","i64",1),65053:createSymbolObject("atomic.store32_u","i64",1),65054:createSymbolObject("atomic.rmw.add","i32",1),65055:createSymbolObject("atomic.rmw.add","i64",1),65056:createSymbolObject("atomic.rmw8_u.add_u","i32",1),65057:createSymbolObject("atomic.rmw16_u.add_u","i32",1),65058:createSymbolObject("atomic.rmw8_u.add_u","i64",1),65059:createSymbolObject("atomic.rmw16_u.add_u","i64",1),65060:createSymbolObject("atomic.rmw32_u.add_u","i64",1),65061:createSymbolObject("atomic.rmw.sub","i32",1),65062:createSymbolObject("atomic.rmw.sub","i64",1),65063:createSymbolObject("atomic.rmw8_u.sub_u","i32",1),65064:createSymbolObject("atomic.rmw16_u.sub_u","i32",1),65065:createSymbolObject("atomic.rmw8_u.sub_u","i64",1),65066:createSymbolObject("atomic.rmw16_u.sub_u","i64",1),65067:createSymbolObject("atomic.rmw32_u.sub_u","i64",1),65068:createSymbolObject("atomic.rmw.and","i32",1),65069:createSymbolObject("atomic.rmw.and","i64",1),65070:createSymbolObject("atomic.rmw8_u.and_u","i32",1),65071:createSymbolObject("atomic.rmw16_u.and_u","i32",1),65072:createSymbolObject("atomic.rmw8_u.and_u","i64",1),65073:createSymbolObject("atomic.rmw16_u.and_u","i64",1),65074:createSymbolObject("atomic.rmw32_u.and_u","i64",1),65075:createSymbolObject("atomic.rmw.or","i32",1),65076:createSymbolObject("atomic.rmw.or","i64",1),65077:createSymbolObject("atomic.rmw8_u.or_u","i32",1),65078:createSymbolObject("atomic.rmw16_u.or_u","i32",1),65079:createSymbolObject("atomic.rmw8_u.or_u","i64",1),65080:createSymbolObject("atomic.rmw16_u.or_u","i64",1),65081:createSymbolObject("atomic.rmw32_u.or_u","i64",1),65082:createSymbolObject("atomic.rmw.xor","i32",1),65083:createSymbolObject("atomic.rmw.xor","i64",1),65084:createSymbolObject("atomic.rmw8_u.xor_u","i32",1),65085:createSymbolObject("atomic.rmw16_u.xor_u","i32",1),65086:createSymbolObject("atomic.rmw8_u.xor_u","i64",1),65087:createSymbolObject("atomic.rmw16_u.xor_u","i64",1),65088:createSymbolObject("atomic.rmw32_u.xor_u","i64",1),65089:createSymbolObject("atomic.rmw.xchg","i32",1),65090:createSymbolObject("atomic.rmw.xchg","i64",1),65091:createSymbolObject("atomic.rmw8_u.xchg_u","i32",1),65092:createSymbolObject("atomic.rmw16_u.xchg_u","i32",1),65093:createSymbolObject("atomic.rmw8_u.xchg_u","i64",1),65094:createSymbolObject("atomic.rmw16_u.xchg_u","i64",1),65095:createSymbolObject("atomic.rmw32_u.xchg_u","i64",1),65096:createSymbolObject("atomic.rmw.cmpxchg","i32",1),65097:createSymbolObject("atomic.rmw.cmpxchg","i64",1),65098:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i32",1),65099:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i32",1),65100:createSymbolObject("atomic.rmw8_u.cmpxchg_u","i64",1),65101:createSymbolObject("atomic.rmw16_u.cmpxchg_u","i64",1),65102:createSymbolObject("atomic.rmw32_u.cmpxchg_u","i64",1)};var Be=invertMap(Le,(function(E){if(typeof E.object==="string"){return"".concat(E.object,".").concat(E.name)}return E.name}));var je={symbolsByByte:Le,sections:Me,magicModuleHeader:q,moduleVersion:G,types:ie,valtypes:le,exportTypes:ae,blockTypes:Te,tableTypes:Ee,globalTypes:we,importTypes:Ne,valtypesByString:_e,globalTypesByString:Ie,exportTypesByName:ce,symbolsByName:Be};N["default"]=je},55474:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSectionForNode=getSectionForNode;function getSectionForNode(E){switch(E.type){case"ModuleImport":return"import";case"CallInstruction":case"CallIndirectInstruction":case"Func":case"Instr":return"code";case"ModuleExport":return"export";case"Start":return"start";case"TypeInstruction":return"type";case"IndexInFuncSection":return"func";case"Global":return"global";default:return}}},97961:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.createEmptySection=createEmptySection;var j=R(44166);var $=R(3104);var q=_interopRequireDefault(R(3930));var G=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function findLastSection(E,N){var R=q.default.sections[N];var j=E.body[0].metadata.sections;var $;var G=0;for(var ie=0,ae=j.length;ieG&&R{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"resizeSectionByteSize",{enumerable:true,get:function get(){return j.resizeSectionByteSize}});Object.defineProperty(N,"resizeSectionVecSize",{enumerable:true,get:function get(){return j.resizeSectionVecSize}});Object.defineProperty(N,"createEmptySection",{enumerable:true,get:function get(){return $.createEmptySection}});Object.defineProperty(N,"removeSections",{enumerable:true,get:function get(){return q.removeSections}});var j=R(35369);var $=R(97961);var q=R(96744)},96744:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.removeSections=removeSections;var j=R(98093);var $=R(3104);function removeSections(E,N,R){var q=(0,j.getSectionMetadatas)(E,R);if(q.length===0){throw new Error("Section metadata not found")}return q.reverse().reduce((function(N,q){var G=q.startOffset-1;var ie=R==="start"?q.size.loc.end.column+1:q.startOffset+q.size.value+1;var ae=-(ie-G);var ce=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){ce=true;return N.remove()}if(ce===true){(0,j.shiftSection)(E,N.node,ae)}}});var le=[];return(0,$.overrideBytesInBuffer)(N,G,ie,le)}),N)}},35369:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.resizeSectionByteSize=resizeSectionByteSize;N.resizeSectionVecSize=resizeSectionVecSize;var j=R(44166);var $=R(98093);var q=R(3104);function resizeSectionByteSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.size.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}var ae=ie.size.loc.start.column;var ce=ie.size.loc.end.column;var le=ie.size.value+G;var _e=(0,j.encodeU32)(le);ie.size.value=le;var Ee=ce-ae;var Te=_e.length;if(Te!==Ee){var we=Te-Ee;ie.size.loc.end.column=ae+Te;G+=we;ie.vectorOfSize.loc.start.column+=we;ie.vectorOfSize.loc.end.column+=we}var Ie=false;(0,$.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===R){Ie=true;return}if(Ie===true){(0,$.shiftSection)(E,N.node,G)}}});return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}function resizeSectionVecSize(E,N,R,G){var ie=(0,$.getSectionMetadata)(E,R);if(typeof ie==="undefined"){throw new Error("Section metadata not found")}if(typeof ie.vectorOfSize.loc==="undefined"){throw new Error("SectionMetadata "+R+" has no loc")}if(ie.vectorOfSize.value===-1){return N}var ae=ie.vectorOfSize.loc.start.column;var ce=ie.vectorOfSize.loc.end.column;var le=ie.vectorOfSize.value+G;var _e=(0,j.encodeU32)(le);ie.vectorOfSize.value=le;ie.vectorOfSize.loc.end.column=ae+_e.length;return(0,q.overrideBytesInBuffer)(N,ae,ce,_e)}},48:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeF32=encodeF32;N.encodeF64=encodeF64;N.decodeF32=decodeF32;N.decodeF64=decodeF64;N.DOUBLE_PRECISION_MANTISSA=N.SINGLE_PRECISION_MANTISSA=N.NUMBER_OF_BYTE_F64=N.NUMBER_OF_BYTE_F32=void 0;var j=R(3158);var $=4;N.NUMBER_OF_BYTE_F32=$;var q=8;N.NUMBER_OF_BYTE_F64=q;var G=23;N.SINGLE_PRECISION_MANTISSA=G;var ie=52;N.DOUBLE_PRECISION_MANTISSA=ie;function encodeF32(E){var N=[];(0,j.write)(N,E,0,true,G,$);return N}function encodeF64(E){var N=[];(0,j.write)(N,E,0,true,ie,q);return N}function decodeF32(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,G,$)}function decodeF64(E){var N=Buffer.from(E);return(0,j.read)(N,0,true,ie,q)}},90683:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.extract=extract;N.inject=inject;N.getSign=getSign;N.highOrder=highOrder;function extract(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}if(j===undefined){j=0}else if(j!==0&&j!==1){throw new Error("Bad value for defaultBit.")}var $=j*255;var q=0;var G=N+R;var ie=Math.floor(N/8);var ae=N%8;var ce=Math.floor(G/8);var le=G%8;if(le!==0){q=get(ce)&(1<ie){ce--;q=q<<8|get(ce)}q>>>=ae;return q;function get(N){var R=E[N];return R===undefined?$:R}}function inject(E,N,R,j){if(R<0||R>32){throw new Error("Bad value for bitLength.")}var $=Math.floor((N+R-1)/8);if(N<0||$>=E.length){throw new Error("Index out of range.")}var q=Math.floor(N/8);var G=N%8;while(R>0){if(j&1){E[q]|=1<>=1;R--;G=(G+1)%8;if(G===0){q++}}}function getSign(E){return E[E.length-1]>>>7}function highOrder(E,N){var R=N.length;var j=(E^1)*255;while(R>0&&N[R-1]===j){R--}if(R===0){return-1}var $=N[R-1];var q=R*8-1;for(var G=7;G>0;G--){if(($>>G&1)===E){break}q--}return q}},1779:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.alloc=alloc;N.free=free;N.resize=resize;N.readInt=readInt;N.readUInt=readUInt;N.writeInt64=writeInt64;N.writeUInt64=writeUInt64;var R=[];var j=20;var $=-0x8000000000000000;var q=0x7ffffffffffffc00;var G=0xfffffffffffff800;var ie=4294967296;var ae=0x10000000000000000;function lowestBit(E){return E&-E}function isLossyToAdd(E,N){if(N===0){return false}var R=lowestBit(N);var j=E+R;if(j===E){return true}if(j-R!==E){return true}return false}function alloc(E){var N=R[E];if(N){R[E]=undefined}else{N=new Buffer(E)}N.fill(0);return N}function free(E){var N=E.length;if(N=0;q--){j=j*256+E[q]}}else{for(var G=N-1;G>=0;G--){var ie=E[G];j*=256;if(isLossyToAdd(j,ie)){$=true}j+=ie}}return{value:j,lossy:$}}function readUInt(E){var N=E.length;var R=0;var j=false;if(N<7){for(var $=N-1;$>=0;$--){R=R*256+E[$]}}else{for(var q=N-1;q>=0;q--){var G=E[q];R*=256;if(isLossyToAdd(R,G)){j=true}R+=G}}return{value:R,lossy:j}}function writeInt64(E,N){if(E<$||E>q){throw new Error("Value out of range.")}if(E<0){E+=ae}writeUInt64(E,N)}function writeUInt64(E,N){if(E<0||E>G){throw new Error("Value out of range.")}var R=E%ie;var j=Math.floor(E/ie);N.writeUInt32LE(R,0);N.writeUInt32LE(j,4)}},39784:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decodeInt64=decodeInt64;N.decodeUInt64=decodeUInt64;N.decodeInt32=decodeInt32;N.decodeUInt32=decodeUInt32;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.MAX_NUMBER_OF_BYTE_U64=N.MAX_NUMBER_OF_BYTE_U32=void 0;var j=_interopRequireDefault(R(83082));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var $=5;N.MAX_NUMBER_OF_BYTE_U32=$;var q=10;N.MAX_NUMBER_OF_BYTE_U64=q;function decodeInt64(E,N){return j.default.decodeInt64(E,N)}function decodeUInt64(E,N){return j.default.decodeUInt64(E,N)}function decodeInt32(E,N){return j.default.decodeInt32(E,N)}function decodeUInt32(E,N){return j.default.decodeUInt32(E,N)}function encodeU32(E){return j.default.encodeUInt32(E)}function encodeI32(E){return j.default.encodeInt32(E)}function encodeI64(E){return j.default.encodeInt64(E)}},83082:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(11174));var $=_interopRequireWildcard(R(90683));var q=_interopRequireWildcard(R(1779));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}var G=-2147483648;var ie=2147483647;var ae=4294967295;function signedBitCount(E){return $.highOrder($.getSign(E)^1,E)+2}function unsignedBitCount(E){var N=$.highOrder(1,E)+1;return N?N:1}function encodeBufferCommon(E,N){var R;var j;if(N){R=$.getSign(E);j=signedBitCount(E)}else{R=0;j=unsignedBitCount(E)}var G=Math.ceil(j/7);var ie=q.alloc(G);for(var ae=0;ae=128){R++}R++;if(N+R>E.length){}return R}function decodeBufferCommon(E,N,R){N=N===undefined?0:N;var j=encodedLength(E,N);var G=j*7;var ie=Math.ceil(G/8);var ae=q.alloc(ie);var ce=0;while(j>0){$.inject(ae,ce,7,E[N]);ce+=7;N++;j--}var le;var _e;if(R){var Ee=ae[ie-1];var Te=ce%8;if(Te!==0){var we=32-Te;Ee=ae[ie-1]=Ee<>we&255}le=Ee>>7;_e=le*255}else{le=0;_e=0}while(ie>1&&ae[ie-1]===_e&&(!R||ae[ie-2]>>7===le)){ie--}ae=q.resize(ae,ie);return{value:ae,nextIndex:N}}function encodeIntBuffer(E){return encodeBufferCommon(E,true)}function decodeIntBuffer(E,N){return decodeBufferCommon(E,N,true)}function encodeInt32(E){var N=q.alloc(4);N.writeInt32LE(E,0);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt32(E,N){var R=decodeIntBuffer(E,N);var j=q.readInt(R.value);var $=j.value;q.free(R.value);if($ie){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeInt64(E){var N=q.alloc(8);q.writeInt64(E,N);var R=encodeIntBuffer(N);q.free(N);return R}function decodeInt64(E,N){var R=decodeIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,false);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}function encodeUIntBuffer(E){return encodeBufferCommon(E,false)}function decodeUIntBuffer(E,N){return decodeBufferCommon(E,N,false)}function encodeUInt32(E){var N=q.alloc(4);N.writeUInt32LE(E,0);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt32(E,N){var R=decodeUIntBuffer(E,N);var j=q.readUInt(R.value);var $=j.value;q.free(R.value);if($>ae){throw new Error("integer too large")}return{value:$,nextIndex:R.nextIndex}}function encodeUInt64(E){var N=q.alloc(8);q.writeUInt64(E,N);var R=encodeUIntBuffer(N);q.free(N);return R}function decodeUInt64(E,N){var R=decodeUIntBuffer(E,N);var $=j.default.fromBytesLE(R.value,true);q.free(R.value);return{value:$,nextIndex:R.nextIndex,lossy:false}}var ce={decodeInt32:decodeInt32,decodeInt64:decodeInt64,decodeIntBuffer:decodeIntBuffer,decodeUInt32:decodeUInt32,decodeUInt64:decodeUInt64,decodeUIntBuffer:decodeUIntBuffer,encodeInt32:encodeInt32,encodeInt64:encodeInt64,encodeIntBuffer:encodeIntBuffer,encodeUInt32:encodeUInt32,encodeUInt64:encodeUInt64,encodeUIntBuffer:encodeUIntBuffer};N["default"]=ce},85589:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=65536){throw new Error("invalid UTF-8 encoding")}else{return N}}function decode(E){return _decode(E).map((function(E){return String.fromCharCode(E)})).join("")}function _decode(E){if(E.length===0){return[]}{var N=_toArray(E),R=N[0],j=N.slice(1);if(R<128){return[code(0,R)].concat(_toConsumableArray(_decode(j)))}if(R<192){throw new Error("invalid UTF-8 encoding")}}{var $=_toArray(E),q=$[0],G=$[1],ie=$.slice(2);if(q<224){return[code(128,((q&31)<<6)+con(G))].concat(_toConsumableArray(_decode(ie)))}}{var ae=_toArray(E),ce=ae[0],le=ae[1],_e=ae[2],Ee=ae.slice(3);if(ce<240){return[code(2048,((ce&15)<<12)+(con(le)<<6)+con(_e))].concat(_toConsumableArray(_decode(Ee)))}}{var Te=_toArray(E),we=Te[0],Ie=Te[1],Ne=Te[2],Me=Te[3],Le=Te.slice(4);if(we<248){return[code(65536,(((we&7)<<18)+con(Ie)<<12)+(con(Ne)<<6)+con(Me))].concat(_toConsumableArray(_decode(Le)))}}throw new Error("invalid UTF-8 encoding")}},56264:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encode=encode;function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N>>6,con(R)].concat(_toConsumableArray(_encode(j)))}if(R<65536){return[224|R>>>12,con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}if(R<1114112){return[240|R>>>18,con(R>>>12),con(R>>>6),con(R)].concat(_toConsumableArray(_encode(j)))}throw new Error("utf8")}},38040:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"decode",{enumerable:true,get:function get(){return j.decode}});Object.defineProperty(N,"encode",{enumerable:true,get:function get(){return $.encode}});var j=R(85589);var $=R(56264)},17467:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.applyOperations=applyOperations;var j=R(44166);var $=R(77445);var q=R(98093);var G=R(77246);var ie=R(3104);var ae=R(3930);function _sliceIterator(E,N){var R=[];var j=true;var $=false;var q=undefined;try{for(var G=E[Symbol.iterator](),ie;!(j=(ie=G.next()).done);j=true){R.push(ie.value);if(N&&R.length===N)break}}catch(E){$=true;q=E}finally{try{if(!j&&G["return"]!=null)G["return"]()}finally{if($)throw q}}return R}function _slicedToArray(E,N){if(Array.isArray(E)){return E}else if(Symbol.iterator in Object(E)){return _sliceIterator(E,N)}else{throw new TypeError("Invalid attempt to destructure non-iterable instance")}}function shiftLocNodeByDelta(E,N){(0,q.assertHasLoc)(E);E.loc.start.column+=N;E.loc.end.column+=N}function applyUpdate(E,N,R){var G=_slicedToArray(R,2),ce=G[0],le=G[1];var _e=0;(0,q.assertHasLoc)(ce);var Ee=(0,ae.getSectionForNode)(le);var Te=(0,j.encodeNode)(le);N=(0,ie.overrideBytesInBuffer)(N,ce.loc.start.column,ce.loc.end.column,Te);if(Ee==="code"){(0,q.traverse)(E,{Func:function Func(E){var R=E.node;var G=R.body.find((function(E){return E===le}))!==undefined;if(G===true){(0,q.assertHasLoc)(R);var ae=(0,j.encodeNode)(ce).length;var _e=Te.length-ae;if(_e!==0){var Ee=R.metadata.bodySize+_e;var we=(0,$.encodeU32)(Ee);var Ie=R.loc.start.column;var Ne=Ie+1;N=(0,ie.overrideBytesInBuffer)(N,Ie,Ne,we)}}}})}var we=Te.length-(ce.loc.end.column-ce.loc.start.column);le.loc={start:{line:-1,column:-1},end:{line:-1,column:-1}};le.loc.start.column=ce.loc.start.column;le.loc.end.column=ce.loc.start.column+Te.length;return{uint8Buffer:N,deltaBytes:we,deltaElements:_e}}function applyDelete(E,N,R){var j=-1;(0,q.assertHasLoc)(R);var $=(0,ae.getSectionForNode)(R);if($==="start"){var ce=(0,q.getSectionMetadata)(E,"start");N=(0,G.removeSections)(E,N,"start");var le=-(ce.size.value+1);return{uint8Buffer:N,deltaBytes:le,deltaElements:j}}var _e=[];N=(0,ie.overrideBytesInBuffer)(N,R.loc.start.column,R.loc.end.column,_e);var Ee=-(R.loc.end.column-R.loc.start.column);return{uint8Buffer:N,deltaBytes:Ee,deltaElements:j}}function applyAdd(E,N,R){var $=+1;var ce=(0,ae.getSectionForNode)(R);var le=(0,q.getSectionMetadata)(E,ce);if(typeof le==="undefined"){var _e=(0,G.createEmptySection)(E,N,ce);N=_e.uint8Buffer;le=_e.sectionMetadata}if((0,q.isFunc)(R)){var Ee=R.body;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}if((0,q.isGlobal)(R)){var Ee=R.init;if(Ee.length===0||Ee[Ee.length-1].id!=="end"){throw new Error("expressions must be ended")}}var Te=(0,j.encodeNode)(R);var we=(0,q.getEndOfSection)(le);var Ie=we;var Ne=Te.length;N=(0,ie.overrideBytesInBuffer)(N,we,Ie,Te);R.loc={start:{line:-1,column:we},end:{line:-1,column:we+Ne}};if(R.type==="Func"){var Me=Te[0];R.metadata={bodySize:Me}}if(R.type!=="IndexInFuncSection"){(0,q.orderedInsertNode)(E.body[0],R)}return{uint8Buffer:N,deltaBytes:Ne,deltaElements:$}}function applyOperations(E,N,R){R.forEach((function(j){var $;var q;switch(j.kind){case"update":$=applyUpdate(E,N,[j.oldNode,j.node]);q=(0,ae.getSectionForNode)(j.node);break;case"delete":$=applyDelete(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;case"add":$=applyAdd(E,N,j.node);q=(0,ae.getSectionForNode)(j.node);break;default:throw new Error("Unknown operation")}if($.deltaElements!==0&&q!=="start"){var ie=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionVecSize)(E,$.uint8Buffer,q,$.deltaElements);$.deltaBytes+=$.uint8Buffer.length-ie}if($.deltaBytes!==0&&q!=="start"){var ce=$.uint8Buffer.length;$.uint8Buffer=(0,G.resizeSectionByteSize)(E,$.uint8Buffer,q,$.deltaBytes);$.deltaBytes+=$.uint8Buffer.length-ce}if($.deltaBytes!==0){R.forEach((function(E){switch(E.kind){case"update":shiftLocNodeByDelta(E.oldNode,$.deltaBytes);break;case"delete":shiftLocNodeByDelta(E.node,$.deltaBytes);break}}))}N=$.uint8Buffer}));return N}},226:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.edit=edit;N.editWithAST=editWithAST;N.add=add;N.addWithAST=addWithAST;var j=R(73432);var $=R(98093);var q=R(70797);var G=R(53620);var ie=_interopRequireWildcard(R(3930));var ae=R(17467);function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function hashNode(E){return JSON.stringify(E)}function preprocess(E){var N=(0,G.shrinkPaddedLEB128)(new Uint8Array(E));return N.buffer}function sortBySectionOrder(E){var N=new Map;var R=true;var j=false;var $=undefined;try{for(var q=E[Symbol.iterator](),G;!(R=(G=q.next()).done);R=true){var ae=G.value;N.set(ae,N.size)}}catch(E){j=true;$=E}finally{try{if(!R&&q.return!=null){q.return()}}finally{if(j){throw $}}}E.sort((function(E,R){var j=(0,ie.getSectionForNode)(E);var $=(0,ie.getSectionForNode)(R);var q=ie.default.sections[j];var G=ie.default.sections[$];if(typeof q!=="number"||typeof G!=="number"){throw new Error("Section id not found")}if(q===G){return N.get(E)-N.get(R)}return q-G}))}function edit(E,N){E=preprocess(E);var R=(0,j.decode)(E);return editWithAST(R,E,N)}function editWithAST(E,N,R){var j=[];var G=new Uint8Array(N);var ie;function before(E,N){ie=(0,q.cloneNode)(N.node)}function after(E,N){if(N.node._deleted===true){j.push({kind:"delete",node:N.node})}else if(hashNode(ie)!==hashNode(N.node)){j.push({kind:"update",oldNode:ie,node:N.node})}}(0,$.traverse)(E,R,before,after);G=(0,ae.applyOperations)(E,G,j);return G.buffer}function add(E,N){E=preprocess(E);var R=(0,j.decode)(E);return addWithAST(R,E,N)}function addWithAST(E,N,R){sortBySectionOrder(R);var j=new Uint8Array(N);var $=R.map((function(E){return{kind:"add",node:E}}));j=(0,ae.applyOperations)(E,j,$);return j.buffer}},77445:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeVersion=encodeVersion;N.encodeHeader=encodeHeader;N.encodeU32=encodeU32;N.encodeI32=encodeI32;N.encodeI64=encodeI64;N.encodeVec=encodeVec;N.encodeValtype=encodeValtype;N.encodeMutability=encodeMutability;N.encodeUTF8Vec=encodeUTF8Vec;N.encodeLimits=encodeLimits;N.encodeModuleImport=encodeModuleImport;N.encodeSectionMetadata=encodeSectionMetadata;N.encodeCallInstruction=encodeCallInstruction;N.encodeCallIndirectInstruction=encodeCallIndirectInstruction;N.encodeModuleExport=encodeModuleExport;N.encodeTypeInstruction=encodeTypeInstruction;N.encodeInstr=encodeInstr;N.encodeStringLiteral=encodeStringLiteral;N.encodeGlobal=encodeGlobal;N.encodeFuncBody=encodeFuncBody;N.encodeIndexInFuncSection=encodeIndexInFuncSection;N.encodeElem=encodeElem;var j=_interopRequireWildcard(R(39784));var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireDefault(R(3930));var ie=R(44166);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.encodeNode=encodeNode;N.encodeU32=void 0;var j=_interopRequireWildcard(R(77445));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function encodeNode(E){switch(E.type){case"ModuleImport":return j.encodeModuleImport(E);case"SectionMetadata":return j.encodeSectionMetadata(E);case"CallInstruction":return j.encodeCallInstruction(E);case"CallIndirectInstruction":return j.encodeCallIndirectInstruction(E);case"TypeInstruction":return j.encodeTypeInstruction(E);case"Instr":return j.encodeInstr(E);case"ModuleExport":return j.encodeModuleExport(E);case"Global":return j.encodeGlobal(E);case"Func":return j.encodeFuncBody(E);case"IndexInFuncSection":return j.encodeIndexInFuncSection(E);case"StringLiteral":return j.encodeStringLiteral(E);case"Elem":return j.encodeElem(E);default:throw new Error("Unsupported encoding for node of type: "+JSON.stringify(E.type))}}var $=j.encodeU32;N.encodeU32=$},53620:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(73432);var $=R(25688);function _typeof(E){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"){_typeof=function _typeof(E){return typeof E}}else{_typeof=function _typeof(E){return E&&typeof Symbol==="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E}}return _typeof(E)}function _classCallCheck(E,N){if(!(E instanceof N)){throw new TypeError("Cannot call a class as a function")}}function _possibleConstructorReturn(E,N){if(N&&(_typeof(N)==="object"||typeof N==="function")){return N}if(!E){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return E}function _inherits(E,N){if(typeof N!=="function"&&N!==null){throw new TypeError("Super expression must either be null or a function")}E.prototype=Object.create(N&&N.prototype,{constructor:{value:E,enumerable:false,writable:true,configurable:true}});if(N)Object.setPrototypeOf?Object.setPrototypeOf(E,N):E.__proto__=N}var q=function(E){_inherits(OptimizerError,E);function OptimizerError(E,N){var R;_classCallCheck(this,OptimizerError);R=_possibleConstructorReturn(this,(OptimizerError.__proto__||Object.getPrototypeOf(OptimizerError)).call(this,"Error while optimizing: "+E+": "+N.message));R.stack=N.stack;return R}return OptimizerError}(Error);var G={ignoreCodeSection:true,ignoreDataSection:true};function shrinkPaddedLEB128(E){try{var N=(0,j.decode)(E.buffer,G);return(0,$.shrinkPaddedLEB128)(N,E)}catch(E){throw new q("shrinkPaddedLEB128",E)}}},25688:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.shrinkPaddedLEB128=shrinkPaddedLEB128;var j=R(98093);var $=R(77445);var q=R(3104);function shiftFollowingSections(E,N,R){var $=N.section;var q=false;(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(N){if(N.node.section===$){q=true;return}if(q===true){(0,j.shiftSection)(E,N.node,R)}}})}function shrinkPaddedLEB128(E,N){(0,j.traverse)(E,{SectionMetadata:function SectionMetadata(R){var j=R.node;{var G=(0,$.encodeU32)(j.size.value);var ie=G.length;var ae=j.size.loc.start.column;var ce=j.size.loc.end.column;var le=ce-ae;if(ie!==le){var _e=le-ie;N=(0,q.overrideBytesInBuffer)(N,ae,ce,G);shiftFollowingSections(E,j,-_e)}}}});return N}},13975:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=R(35866);var $=_interopRequireWildcard(R(48));var q=_interopRequireWildcard(R(38040));var G=_interopRequireWildcard(R(98093));var ie=R(39784);var ae=_interopRequireDefault(R(3930));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}function _toConsumableArray(E){if(Array.isArray(E)){for(var N=0,R=new Array(E.length);N=R.length}function eatBytes(E){le=le+E}function readBytesAtOffset(E,N){var j=[];for(var $=0;$>7?-1:1;var j=0;for(var q=0;q>7?-1:1;var j=0;for(var q=0;qR.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.magicModuleHeader,E)===false){throw new j.CompileError("magic header not detected")}dump(E,"wasm magic header");eatBytes(4)}function parseVersion(){if(isEOF()===true||le+4>R.length){throw new Error("unexpected end")}var E=readBytes(4);if(byteArrayEq(ae.default.moduleVersion,E)===false){throw new j.CompileError("unknown binary version")}dump(E,"wasm version");eatBytes(4)}function parseVec(E){var N=readU32();var R=N.value;eatBytes(N.nextIndex);dump([R],"number");if(R===0){return[]}var $=[];for(var q=0;q=40&&$<=64){if(q.name==="grow_memory"||q.name==="current_memory"){var vt=readU32();var bt=vt.value;eatBytes(vt.nextIndex);if(bt!==0){throw new Error("zero flag expected")}dump([bt],"index")}else{var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);dump([St],"align");var Et=readU32();var Tt=Et.value;eatBytes(Et.nextIndex);dump([Tt],"offset")}}else if($>=65&&$<=68){if(q.object==="i32"){var kt=read32();var Ct=kt.value;eatBytes(kt.nextIndex);dump([Ct],"i32 value");le.push(G.numberLiteralFromRaw(Ct))}if(q.object==="u32"){var Dt=readU32();var At=Dt.value;eatBytes(Dt.nextIndex);dump([At],"u32 value");le.push(G.numberLiteralFromRaw(At))}if(q.object==="i64"){var wt=read64();var Pt=wt.value;eatBytes(wt.nextIndex);dump([Number(Pt.toString())],"i64 value");var Ft=Pt.high,It=Pt.low;var Nt={type:"LongNumberLiteral",value:{high:Ft,low:It}};le.push(Nt)}if(q.object==="u64"){var Ot=readU64();var Mt=Ot.value;eatBytes(Ot.nextIndex);dump([Number(Mt.toString())],"u64 value");var Rt=Mt.high,Lt=Mt.low;var Bt={type:"LongNumberLiteral",value:{high:Rt,low:Lt}};le.push(Bt)}if(q.object==="f32"){var jt=readF32();var Ut=jt.value;eatBytes(jt.nextIndex);dump([Ut],"f32 value");le.push(G.floatLiteral(Ut,jt.nan,jt.inf,String(Ut)))}if(q.object==="f64"){var zt=readF64();var Wt=zt.value;eatBytes(zt.nextIndex);dump([Wt],"f64 value");le.push(G.floatLiteral(Wt,zt.nan,zt.inf,String(Wt)))}}else if($>=65024&&$<=65279){var $t=readU32();var Jt=$t.value;eatBytes($t.nextIndex);dump([Jt],"align");var Vt=readU32();var qt=Vt.value;eatBytes(Vt.nextIndex);dump([qt],"offset")}else{for(var Ht=0;Ht=E||E===ae.default.sections.custom){E=R+1}else{if(R!==ae.default.sections.custom)throw new j.CompileError("Unexpected section: "+toHex(R))}var $=E;var q=le;var ie=getPosition();var ce=readU32();var _e=ce.value;eatBytes(ce.nextIndex);var Ee=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_e),E,ie)}();switch(R){case ae.default.sections.type:{dumpSep("section Type");dump([R],"section code");dump([_e],"section size");var Te=getPosition();var we=readU32();var Ie=we.value;eatBytes(we.nextIndex);var Ne=G.sectionMetadata("type",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ie),E,Te)}());var Me=parseTypeSection(Ie);return{nodes:Me,metadata:Ne,nextSectionIndex:$}}case ae.default.sections.table:{dumpSep("section Table");dump([R],"section code");dump([_e],"section size");var Le=getPosition();var Be=readU32();var je=Be.value;eatBytes(Be.nextIndex);dump([je],"num tables");var Ue=G.sectionMetadata("table",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(je),E,Le)}());var ze=parseTableSection(je);return{nodes:ze,metadata:Ue,nextSectionIndex:$}}case ae.default.sections.import:{dumpSep("section Import");dump([R],"section code");dump([_e],"section size");var We=getPosition();var Je=readU32();var Ve=Je.value;eatBytes(Je.nextIndex);dump([Ve],"number of imports");var qe=G.sectionMetadata("import",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Ve),E,We)}());var He=parseImportSection(Ve);return{nodes:He,metadata:qe,nextSectionIndex:$}}case ae.default.sections.func:{dumpSep("section Function");dump([R],"section code");dump([_e],"section size");var Ge=getPosition();var Ke=readU32();var Qe=Ke.value;eatBytes(Ke.nextIndex);var Xe=G.sectionMetadata("func",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Qe),E,Ge)}());parseFuncSection(Qe);var Ye=[];return{nodes:Ye,metadata:Xe,nextSectionIndex:$}}case ae.default.sections.export:{dumpSep("section Export");dump([R],"section code");dump([_e],"section size");var Ze=getPosition();var et=readU32();var tt=et.value;eatBytes(et.nextIndex);var rt=G.sectionMetadata("export",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(tt),E,Ze)}());parseExportSection(tt);var nt=[];return{nodes:nt,metadata:rt,nextSectionIndex:$}}case ae.default.sections.code:{dumpSep("section Code");dump([R],"section code");dump([_e],"section size");var it=getPosition();var ot=readU32();var st=ot.value;eatBytes(ot.nextIndex);var ct=G.sectionMetadata("code",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(st),E,it)}());if(N.ignoreCodeSection===true){var ut=_e-ot.nextIndex;eatBytes(ut)}else{parseCodeSection(st)}var dt=[];return{nodes:dt,metadata:ct,nextSectionIndex:$}}case ae.default.sections.start:{dumpSep("section Start");dump([R],"section code");dump([_e],"section size");var pt=G.sectionMetadata("start",q,Ee);var ft=[parseStartSection()];return{nodes:ft,metadata:pt,nextSectionIndex:$}}case ae.default.sections.element:{dumpSep("section Element");dump([R],"section code");dump([_e],"section size");var mt=getPosition();var ht=readU32();var _t=ht.value;eatBytes(ht.nextIndex);var yt=G.sectionMetadata("element",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(_t),E,mt)}());var vt=parseElemSection(_t);return{nodes:vt,metadata:yt,nextSectionIndex:$}}case ae.default.sections.global:{dumpSep("section Global");dump([R],"section code");dump([_e],"section size");var bt=getPosition();var xt=readU32();var St=xt.value;eatBytes(xt.nextIndex);var Et=G.sectionMetadata("global",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(St),E,bt)}());var Tt=parseGlobalSection(St);return{nodes:Tt,metadata:Et,nextSectionIndex:$}}case ae.default.sections.memory:{dumpSep("section Memory");dump([R],"section code");dump([_e],"section size");var kt=getPosition();var Ct=readU32();var Dt=Ct.value;eatBytes(Ct.nextIndex);var At=G.sectionMetadata("memory",q,Ee,function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Dt),E,kt)}());var wt=parseMemorySection(Dt);return{nodes:wt,metadata:At,nextSectionIndex:$}}case ae.default.sections.data:{dumpSep("section Data");dump([R],"section code");dump([_e],"section size");var Pt=G.sectionMetadata("data",q,Ee);var Ft=getPosition();var It=readU32();var Nt=It.value;eatBytes(It.nextIndex);Pt.vectorOfSize=function(){var E=getPosition();return G.withLoc(G.numberLiteralFromRaw(Nt),E,Ft)}();if(N.ignoreDataSection===true){var Ot=_e-It.nextIndex;eatBytes(Ot);dumpSep("ignore data ("+_e+" bytes)");return{nodes:[],metadata:Pt,nextSectionIndex:$}}else{var Mt=parseDataSection(Nt);return{nodes:Mt,metadata:Pt,nextSectionIndex:$}}}case ae.default.sections.custom:{dumpSep("section Custom");dump([R],"section code");dump([_e],"section size");var Rt=[G.sectionMetadata("custom",q,Ee)];var Lt=readUTF8String();eatBytes(Lt.nextIndex);dump([],"section name (".concat(Lt.value,")"));var Bt=_e-Lt.nextIndex;if(Lt.value==="name"){var jt=le;try{Rt.push.apply(Rt,_toConsumableArray(parseNameSection(Bt)))}catch(E){console.warn('Failed to decode custom "name" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(jt+Bt))}}else if(Lt.value==="producers"){var Ut=le;try{Rt.push(parseProducersSection())}catch(E){console.warn('Failed to decode custom "producers" section @'.concat(le,"; ignoring (").concat(E.message,")."));eatBytes(le-(Ut+Bt))}}else{eatBytes(Bt);dumpSep("ignore custom "+JSON.stringify(Lt.value)+" section ("+Bt+" bytes)")}return{nodes:[],metadata:Rt,nextSectionIndex:$}}}throw new j.CompileError("Unexpected section: "+toHex(R))}parseModuleHeader();parseVersion();var Ee=[];var Te=0;var we={sections:[],functionNames:[],localNames:[],producers:[]};while(le{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.decode=decode;var j=_interopRequireWildcard(R(13975));var $=_interopRequireWildcard(R(98093));function _interopRequireWildcard(E){if(E&&E.__esModule){return E}else{var N={};if(E!=null){for(var R in E){if(Object.prototype.hasOwnProperty.call(E,R)){var j=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(E,R):{};if(j.get||j.set){Object.defineProperty(N,R,j)}else{N[R]=E[R]}}}}N.default=E;return N}}var q={dump:false,ignoreCodeSection:false,ignoreDataSection:false,ignoreCustomNameSection:false};function restoreFunctionNames(E){var N=[];$.traverse(E,{FunctionNameMetadata:function FunctionNameMetadata(E){var R=E.node;N.push({name:R.value,index:R.index})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.name;var $=j.value;var q=Number($.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){var ie=j.value;j.value=G.name;j.numeric=ie;delete j.raw}})),ModuleExport:function(E){function ModuleExport(N){return E.apply(this,arguments)}ModuleExport.toString=function(){return E.toString()};return ModuleExport}((function(E){var R=E.node;if(R.descr.exportType==="Func"){var j=R.descr.id;var q=j.value;var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),ModuleImport:function(E){function ModuleImport(N){return E.apply(this,arguments)}ModuleImport.toString=function(){return E.toString()};return ModuleImport}((function(E){var R=E.node;if(R.descr.type==="FuncImportDescr"){var j=R.descr.id;var q=Number(j.replace("func_",""));var G=N.find((function(E){return E.index===q}));if(G){R.descr.id=$.identifier(G.name)}}})),CallInstruction:function(E){function CallInstruction(N){return E.apply(this,arguments)}CallInstruction.toString=function(){return E.toString()};return CallInstruction}((function(E){var R=E.node;var j=R.index.value;var q=N.find((function(E){return E.index===j}));if(q){var G=R.index;R.index=$.identifier(q.name);R.numeric=G;delete R.raw}}))})}function restoreLocalNames(E){var N=[];$.traverse(E,{LocalNameMetadata:function LocalNameMetadata(E){var R=E.node;N.push({name:R.value,localIndex:R.localIndex,functionIndex:R.functionIndex})}});if(N.length===0){return}$.traverse(E,{Func:function(E){function Func(N){return E.apply(this,arguments)}Func.toString=function(){return E.toString()};return Func}((function(E){var R=E.node;var j=R.signature;if(j.type!=="Signature"){return}var $=R.name;var q=$.value;var G=Number(q.replace("func_",""));j.params.forEach((function(E,R){var j=N.find((function(E){return E.localIndex===R&&E.functionIndex===G}));if(j&&j.name!==""){E.id=j.name}}))}))})}function restoreModuleName(E){$.traverse(E,{ModuleNameMetadata:function(E){function ModuleNameMetadata(N){return E.apply(this,arguments)}ModuleNameMetadata.toString=function(){return E.toString()};return ModuleNameMetadata}((function(N){$.traverse(E,{Module:function(E){function Module(N){return E.apply(this,arguments)}Module.toString=function(){return E.toString()};return Module}((function(E){var R=E.node;var j=N.node.value;if(j===""){j=null}R.id=j}))})}))})}function decode(E,N){var R=Object.assign({},q,N);var $=j.decode(E,R);if(R.ignoreCustomNameSection===false){restoreFunctionNames($);restoreLocalNames($);restoreModuleName($)}return $}},3158:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.read=read;N.write=write;function read(E,N,R,j,$){var q,G;var ie=$*8-j-1;var ae=(1<>1;var le=-7;var _e=R?$-1:0;var Ee=R?-1:1;var Te=E[N+_e];_e+=Ee;q=Te&(1<<-le)-1;Te>>=-le;le+=ie;for(;le>0;q=q*256+E[N+_e],_e+=Ee,le-=8){}G=q&(1<<-le)-1;q>>=-le;le+=j;for(;le>0;G=G*256+E[N+_e],_e+=Ee,le-=8){}if(q===0){q=1-ce}else if(q===ae){return G?NaN:(Te?-1:1)*Infinity}else{G=G+Math.pow(2,j);q=q-ce}return(Te?-1:1)*G*Math.pow(2,q-j)}function write(E,N,R,j,$,q){var G,ie,ae;var ce=q*8-$-1;var le=(1<>1;var Ee=$===23?Math.pow(2,-24)-Math.pow(2,-77):0;var Te=j?0:q-1;var we=j?1:-1;var Ie=N<0||N===0&&1/N<0?1:0;N=Math.abs(N);if(isNaN(N)||N===Infinity){ie=isNaN(N)?1:0;G=le}else{G=Math.floor(Math.log(N)/Math.LN2);if(N*(ae=Math.pow(2,-G))<1){G--;ae*=2}if(G+_e>=1){N+=Ee/ae}else{N+=Ee*Math.pow(2,1-_e)}if(N*ae>=2){G++;ae/=2}if(G+_e>=le){ie=0;G=le}else if(G+_e>=1){ie=(N*ae-1)*Math.pow(2,$);G=G+_e}else{ie=N*Math.pow(2,_e-1)*Math.pow(2,$);G=0}}for(;$>=8;E[R+Te]=ie&255,Te+=we,ie/=256,$-=8){}G=G<<$|ie;ce+=$;for(;ce>0;E[R+Te]=G&255,Te+=we,G/=256,ce-=8){}E[R+Te-we]|=Ie*128}},11174:E=>{E.exports=Long;var N=null;try{N=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function Long(E,N,R){this.low=E|0;this.high=N|0;this.unsigned=!!R}Long.prototype.__isLong__;Object.defineProperty(Long.prototype,"__isLong__",{value:true});function isLong(E){return(E&&E["__isLong__"])===true}Long.isLong=isLong;var R={};var j={};function fromInt(E,N){var $,q,G;if(N){E>>>=0;if(G=0<=E&&E<256){q=j[E];if(q)return q}$=fromBits(E,(E|0)<0?-1:0,true);if(G)j[E]=$;return $}else{E|=0;if(G=-128<=E&&E<128){q=R[E];if(q)return q}$=fromBits(E,E<0?-1:0,false);if(G)R[E]=$;return $}}Long.fromInt=fromInt;function fromNumber(E,N){if(isNaN(E))return N?Ee:_e;if(N){if(E<0)return Ee;if(E>=ae)return Me}else{if(E<=-ce)return Le;if(E+1>=ce)return Ne}if(E<0)return fromNumber(-E,N).neg();return fromBits(E%ie|0,E/ie|0,N)}Long.fromNumber=fromNumber;function fromBits(E,N,R){return new Long(E,N,R)}Long.fromBits=fromBits;var $=Math.pow;function fromString(E,N,R){if(E.length===0)throw Error("empty string");if(E==="NaN"||E==="Infinity"||E==="+Infinity"||E==="-Infinity")return _e;if(typeof N==="number"){R=N,N=false}else{N=!!N}R=R||10;if(R<2||360)throw Error("interior hyphen");else if(j===0){return fromString(E.substring(1),N,R).neg()}var q=fromNumber($(R,8));var G=_e;for(var ie=0;ie>>0:this.low};Be.toNumber=function toNumber(){if(this.unsigned)return(this.high>>>0)*ie+(this.low>>>0);return this.high*ie+(this.low>>>0)};Be.toString=function toString(E){E=E||10;if(E<2||36>>0,le=ce.toString(E);G=ae;if(G.isZero())return le+ie;else{while(le.length<6)le="0"+le;ie=""+le+ie}}};Be.getHighBits=function getHighBits(){return this.high};Be.getHighBitsUnsigned=function getHighBitsUnsigned(){return this.high>>>0};Be.getLowBits=function getLowBits(){return this.low};Be.getLowBitsUnsigned=function getLowBitsUnsigned(){return this.low>>>0};Be.getNumBitsAbs=function getNumBitsAbs(){if(this.isNegative())return this.eq(Le)?64:this.neg().getNumBitsAbs();var E=this.high!=0?this.high:this.low;for(var N=31;N>0;N--)if((E&1<=0};Be.isOdd=function isOdd(){return(this.low&1)===1};Be.isEven=function isEven(){return(this.low&1)===0};Be.equals=function equals(E){if(!isLong(E))E=fromValue(E);if(this.unsigned!==E.unsigned&&this.high>>>31===1&&E.high>>>31===1)return false;return this.high===E.high&&this.low===E.low};Be.eq=Be.equals;Be.notEquals=function notEquals(E){return!this.eq(E)};Be.neq=Be.notEquals;Be.ne=Be.notEquals;Be.lessThan=function lessThan(E){return this.comp(E)<0};Be.lt=Be.lessThan;Be.lessThanOrEqual=function lessThanOrEqual(E){return this.comp(E)<=0};Be.lte=Be.lessThanOrEqual;Be.le=Be.lessThanOrEqual;Be.greaterThan=function greaterThan(E){return this.comp(E)>0};Be.gt=Be.greaterThan;Be.greaterThanOrEqual=function greaterThanOrEqual(E){return this.comp(E)>=0};Be.gte=Be.greaterThanOrEqual;Be.ge=Be.greaterThanOrEqual;Be.compare=function compare(E){if(!isLong(E))E=fromValue(E);if(this.eq(E))return 0;var N=this.isNegative(),R=E.isNegative();if(N&&!R)return-1;if(!N&&R)return 1;if(!this.unsigned)return this.sub(E).isNegative()?-1:1;return E.high>>>0>this.high>>>0||E.high===this.high&&E.low>>>0>this.low>>>0?-1:1};Be.comp=Be.compare;Be.negate=function negate(){if(!this.unsigned&&this.eq(Le))return Le;return this.not().add(Te)};Be.neg=Be.negate;Be.add=function add(E){if(!isLong(E))E=fromValue(E);var N=this.high>>>16;var R=this.high&65535;var j=this.low>>>16;var $=this.low&65535;var q=E.high>>>16;var G=E.high&65535;var ie=E.low>>>16;var ae=E.low&65535;var ce=0,le=0,_e=0,Ee=0;Ee+=$+ae;_e+=Ee>>>16;Ee&=65535;_e+=j+ie;le+=_e>>>16;_e&=65535;le+=R+G;ce+=le>>>16;le&=65535;ce+=N+q;ce&=65535;return fromBits(_e<<16|Ee,ce<<16|le,this.unsigned)};Be.subtract=function subtract(E){if(!isLong(E))E=fromValue(E);return this.add(E.neg())};Be.sub=Be.subtract;Be.multiply=function multiply(E){if(this.isZero())return _e;if(!isLong(E))E=fromValue(E);if(N){var R=N["mul"](this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(E.isZero())return _e;if(this.eq(Le))return E.isOdd()?Le:_e;if(E.eq(Le))return this.isOdd()?Le:_e;if(this.isNegative()){if(E.isNegative())return this.neg().mul(E.neg());else return this.neg().mul(E).neg()}else if(E.isNegative())return this.mul(E.neg()).neg();if(this.lt(le)&&E.lt(le))return fromNumber(this.toNumber()*E.toNumber(),this.unsigned);var j=this.high>>>16;var $=this.high&65535;var q=this.low>>>16;var G=this.low&65535;var ie=E.high>>>16;var ae=E.high&65535;var ce=E.low>>>16;var Ee=E.low&65535;var Te=0,we=0,Ie=0,Ne=0;Ne+=G*Ee;Ie+=Ne>>>16;Ne&=65535;Ie+=q*Ee;we+=Ie>>>16;Ie&=65535;Ie+=G*ce;we+=Ie>>>16;Ie&=65535;we+=$*Ee;Te+=we>>>16;we&=65535;we+=q*ce;Te+=we>>>16;we&=65535;we+=G*ae;Te+=we>>>16;we&=65535;Te+=j*Ee+$*ce+q*ae+G*ie;Te&=65535;return fromBits(Ie<<16|Ne,Te<<16|we,this.unsigned)};Be.mul=Be.multiply;Be.divide=function divide(E){if(!isLong(E))E=fromValue(E);if(E.isZero())throw Error("division by zero");if(N){if(!this.unsigned&&this.high===-2147483648&&E.low===-1&&E.high===-1){return this}var R=(this.unsigned?N["div_u"]:N["div_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}if(this.isZero())return this.unsigned?Ee:_e;var j,q,G;if(!this.unsigned){if(this.eq(Le)){if(E.eq(Te)||E.eq(Ie))return Le;else if(E.eq(Le))return Te;else{var ie=this.shr(1);j=ie.div(E).shl(1);if(j.eq(_e)){return E.isNegative()?Te:Ie}else{q=this.sub(E.mul(j));G=j.add(q.div(E));return G}}}else if(E.eq(Le))return this.unsigned?Ee:_e;if(this.isNegative()){if(E.isNegative())return this.neg().div(E.neg());return this.neg().div(E).neg()}else if(E.isNegative())return this.div(E.neg()).neg();G=_e}else{if(!E.unsigned)E=E.toUnsigned();if(E.gt(this))return Ee;if(E.gt(this.shru(1)))return we;G=Ee}q=this;while(q.gte(E)){j=Math.max(1,Math.floor(q.toNumber()/E.toNumber()));var ae=Math.ceil(Math.log(j)/Math.LN2),ce=ae<=48?1:$(2,ae-48),le=fromNumber(j),Ne=le.mul(E);while(Ne.isNegative()||Ne.gt(q)){j-=ce;le=fromNumber(j,this.unsigned);Ne=le.mul(E)}if(le.isZero())le=Te;G=G.add(le);q=q.sub(Ne)}return G};Be.div=Be.divide;Be.modulo=function modulo(E){if(!isLong(E))E=fromValue(E);if(N){var R=(this.unsigned?N["rem_u"]:N["rem_s"])(this.low,this.high,E.low,E.high);return fromBits(R,N["get_high"](),this.unsigned)}return this.sub(this.div(E).mul(E))};Be.mod=Be.modulo;Be.rem=Be.modulo;Be.not=function not(){return fromBits(~this.low,~this.high,this.unsigned)};Be.and=function and(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low&E.low,this.high&E.high,this.unsigned)};Be.or=function or(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low|E.low,this.high|E.high,this.unsigned)};Be.xor=function xor(E){if(!isLong(E))E=fromValue(E);return fromBits(this.low^E.low,this.high^E.high,this.unsigned)};Be.shiftLeft=function shiftLeft(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;else if(E<32)return fromBits(this.low<>>32-E,this.unsigned);else return fromBits(0,this.low<>>E|this.high<<32-E,this.high>>E,this.unsigned);else return fromBits(this.high>>E-32,this.high>=0?0:-1,this.unsigned)};Be.shr=Be.shiftRight;Be.shiftRightUnsigned=function shiftRightUnsigned(E){if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E<32)return fromBits(this.low>>>E|this.high<<32-E,this.high>>>E,this.unsigned);if(E===32)return fromBits(this.high,0,this.unsigned);return fromBits(this.high>>>E-32,0,this.unsigned)};Be.shru=Be.shiftRightUnsigned;Be.shr_u=Be.shiftRightUnsigned;Be.rotateLeft=function rotateLeft(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.low<>>N,this.high<>>N,this.unsigned)}E-=32;N=32-E;return fromBits(this.high<>>N,this.low<>>N,this.unsigned)};Be.rotl=Be.rotateLeft;Be.rotateRight=function rotateRight(E){var N;if(isLong(E))E=E.toInt();if((E&=63)===0)return this;if(E===32)return fromBits(this.high,this.low,this.unsigned);if(E<32){N=32-E;return fromBits(this.high<>>E,this.low<>>E,this.unsigned)}E-=32;N=32-E;return fromBits(this.low<>>E,this.high<>>E,this.unsigned)};Be.rotr=Be.rotateRight;Be.toSigned=function toSigned(){if(!this.unsigned)return this;return fromBits(this.low,this.high,false)};Be.toUnsigned=function toUnsigned(){if(this.unsigned)return this;return fromBits(this.low,this.high,true)};Be.toBytes=function toBytes(E){return E?this.toBytesLE():this.toBytesBE()};Be.toBytesLE=function toBytesLE(){var E=this.high,N=this.low;return[N&255,N>>>8&255,N>>>16&255,N>>>24,E&255,E>>>8&255,E>>>16&255,E>>>24]};Be.toBytesBE=function toBytesBE(){var E=this.high,N=this.low;return[E>>>24,E>>>16&255,E>>>8&255,E&255,N>>>24,N>>>16&255,N>>>8&255,N&255]};Long.fromBytes=function fromBytes(E,N,R){return R?Long.fromBytesLE(E,N):Long.fromBytesBE(E,N)};Long.fromBytesLE=function fromBytesLE(E,N){return new Long(E[0]|E[1]<<8|E[2]<<16|E[3]<<24,E[4]|E[5]<<8|E[6]<<16|E[7]<<24,N)};Long.fromBytesBE=function fromBytesBE(E,N){return new Long(E[4]<<24|E[5]<<16|E[6]<<8|E[7],E[0]<<24|E[1]<<16|E[2]<<8|E[3],N)}},20976:function(E,N){(function(E,R){true?R(N):0})(this,(function(E){"use strict";var N={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"};var R="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this";var j={5:R,"5module":R+" export import",6:R+" const class extends export import super"};var $=/^in(stanceof)?$/;var q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ";var G="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";var ie=new RegExp("["+q+"]");var ae=new RegExp("["+q+G+"]");q=G=null;var ce=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938];var le=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function isInAstralSet(E,N){var R=65536;for(var j=0;jE){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var He=1,Ge=2,Ke=He|Ge,Qe=4,Xe=8,Ye=16,Ze=32,et=64,tt=128;function functionFlags(E,N){return Ge|(E?Qe:0)|(N?Xe:0)}var rt=0,nt=1,it=2,ot=3,st=4,ct=5;var ut=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){for(var G=E.ecmaVersion;;G--){if(q=N[G]){break}}if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var ie=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(ie);this.reservedWordsStrictBind=wordsRegexp(ie+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports={};if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(He);this.regexpState=null};var dt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true}};ut.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};dt.inFunction.get=function(){return(this.currentVarScope().flags&Ge)>0};dt.inGenerator.get=function(){return(this.currentVarScope().flags&Xe)>0};dt.inAsync.get=function(){return(this.currentVarScope().flags&Qe)>0};dt.allowSuper.get=function(){return(this.currentThisScope().flags&et)>0};dt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tt)>0};dt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};ut.prototype.inNonArrowFunction=function inNonArrowFunction(){return(this.currentThisScope().flags&Ge)>0};ut.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};pt.eat=function(E){if(this.type===E){this.next();return true}else{return false}};pt.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};pt.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};pt.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};pt.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};pt.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};pt.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};pt.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};pt.expect=function(E){this.eat(E)||this.unexpected()};pt.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}pt.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};pt.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};pt.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};mt.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};mt.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(ht);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLVal(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};mt.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,vt|(R?0:bt),false,N)};mt.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};mt.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};mt.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(_t);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};mt.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var yt=[];mt.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?Ze:0);this.checkLVal(N.param,R?st:it);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};mt.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};mt.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(ht);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};mt.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};mt.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};mt.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};mt.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};mt.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};mt.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};mt.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}else if(N.type==="AssignmentPattern"){this.raise(N.start,"Invalid left-hand side in for-loop")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};mt.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};mt.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLVal(E.id,N==="var"?nt:it,false)};var vt=1,bt=2,xt=4;mt.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&bt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&vt){E.id=N&xt&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&bt)){this.checkLVal(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?nt:it:ot)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&vt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&vt?"FunctionDeclaration":"FunctionExpression")};mt.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};mt.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.startNode();var $=false;j.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var q=this.parseClassElement(E.superClass!==null);if(q){j.body.push(q);if(q.type==="MethodDefinition"&&q.kind==="constructor"){if($){this.raise(q.start,"Duplicate constructor in the same class")}$=true}}}this.strict=R;this.next();E.body=this.finishNode(j,"ClassBody");return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};mt.parseClassElement=function(E){var N=this;if(this.eat(Ie.semi)){return null}var R=this.startNode();var tryContextual=function(E,j){if(j===void 0)j=false;var $=N.start,q=N.startLoc;if(!N.eatContextual(E)){return false}if(N.type!==Ie.parenL&&(!j||!N.canInsertSemicolon())){return true}if(R.key){N.unexpected()}R.computed=false;R.key=N.startNodeAt($,q);R.key.name=E;N.finishNode(R.key,"Identifier");return false};R.kind="method";R.static=tryContextual("static");var j=this.eat(Ie.star);var $=false;if(!j){if(this.options.ecmaVersion>=8&&tryContextual("async",true)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star)}else if(tryContextual("get")){R.kind="get"}else if(tryContextual("set")){R.kind="set"}}if(!R.key){this.parsePropertyName(R)}var q=R.key;var G=false;if(!R.computed&&!R.static&&(q.type==="Identifier"&&q.name==="constructor"||q.type==="Literal"&&q.value==="constructor")){if(R.kind!=="method"){this.raise(q.start,"Constructor can't have get/set modifier")}if(j){this.raise(q.start,"Constructor can't be a generator")}if($){this.raise(q.start,"Constructor can't be an async method")}R.kind="constructor";G=E}else if(R.static&&q.type==="Identifier"&&q.name==="prototype"){this.raise(q.start,"Classes may not have a static property named prototype")}this.parseClassMethod(R,j,$,G);if(R.kind==="get"&&R.value.params.length!==0){this.raiseRecoverable(R.value.start,"getter should have no params")}if(R.kind==="set"&&R.value.params.length!==1){this.raiseRecoverable(R.value.start,"setter should have exactly one param")}if(R.kind==="set"&&R.value.params[0].type==="RestElement"){this.raiseRecoverable(R.value.params[0].start,"Setter cannot use rest params")}return R};mt.parseClassMethod=function(E,N,R,j){E.value=this.parseMethod(N,R,j);return this.finishNode(E,"MethodDefinition")};mt.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLVal(E.id,it,false)}}else{if(N===true){this.unexpected()}E.id=null}};mt.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};mt.parseExport=function(E,N){this.next();if(this.eat(Ie.star)){if(this.options.ecmaVersion>=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,vt|xt,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};St.toAssignableList=function(E,N){var R=E.length;for(var j=0;j=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};St.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};St.parseBindingListItem=function(E){return E};St.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};St.checkLVal=function(E,N,R){if(N===void 0)N=rt;switch(E.type){case"Identifier":if(N===it&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(N?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==rt&&N!==ct){this.declareName(E.name,N,E.start)}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(N){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLVal(q,N,R)}break;case"Property":this.checkLVal(E.value,N,R);break;case"ArrayPattern":for(var G=0,ie=E.elements;G=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Et.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Et.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;ce.left=this.type===Ie.eq?this.toAssignable(ae,false,N):ae;if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ce.left.start){N.shorthandAssign=-1}this.checkLVal(ae);this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Et.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Et.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Et.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Et.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Et.parseMaybeUnary=function(E,N){var R=this.start,j=this.startLoc,$;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)){$=this.parseAwait();N=true}else if(this.type.prefix){var q=this.startNode(),G=this.type===Ie.incDec;q.operator=this.value;q.prefix=true;this.next();q.argument=this.parseMaybeUnary(null,true);this.checkExpressionErrors(E,true);if(G){this.checkLVal(q.argument)}else if(this.strict&&q.operator==="delete"&&q.argument.type==="Identifier"){this.raiseRecoverable(q.start,"Deleting local variable in strict mode")}else{N=true}$=this.finishNode(q,G?"UpdateExpression":"UnaryExpression")}else{$=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return $}while(this.type.postfix&&!this.canInsertSemicolon()){var ie=this.startNodeAt(R,j);ie.operator=this.value;ie.prefix=false;ie.argument=$;this.checkLVal($);this.next();$=this.finishNode(ie,"UpdateExpression")}}if(!N&&this.eat(Ie.starstar)){return this.buildBinary(R,j,$,this.parseMaybeUnary(null,false),"**",false)}else{return $}};Et.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}}return $};Et.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Et.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;ce.property=ae?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never");ce.computed=!!ae;if(ae){this.expect(Ie.bracketR)}if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Et.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Et.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Et.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Et.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Et.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Et.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Et.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Et.parseParenItem=function(E){return E};Et.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var Tt=[];Et.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction()){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=Tt}return this.finishNode(E,"NewExpression")};Et.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Et.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Et.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Et.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Et.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Et.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,E.key)}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,E.key)}else{E.value=E.key}E.shorthand=true}else{this.unexpected()}};Et.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Et.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Et.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|et|(R?tt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Et.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ye);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Et.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLVal(E.id,ct)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Et.isSimpleParamList=function(E){for(var N=0,R=E;N-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&He){delete this.undefinedExports[E]}}else if(N===st){var q=this.currentScope();q.lexical.push(E)}else if(N===ot){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&Ze&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&He){delete this.undefinedExports[E]}if(ae.flags&Ke){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Ct.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Ct.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ct.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke){return N}}};Ct.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Ke&&!(N.flags&Ye)){return N}}};var At=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var wt=ut.prototype;wt.startNode=function(){return new At(this,this.start,this.startLoc)};wt.startNodeAt=function(E,N){return new At(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}wt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};wt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};var Pt=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var Ft={b_stat:new Pt("{",false),b_expr:new Pt("{",true),b_tmpl:new Pt("${",false),p_stat:new Pt("(",false),p_expr:new Pt("(",true),q_tmpl:new Pt("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Pt("function",false),f_expr:new Pt("function",true),f_expr_gen:new Pt("function",true,false,null,true),f_gen:new Pt("function",false,false,null,true)};var It=ut.prototype;It.initialContext=function(){return[Ft.b_stat]};It.braceIsBlock=function(E){var N=this.curContext();if(N===Ft.f_expr||N===Ft.f_stat){return true}if(E===Ie.colon&&(N===Ft.b_stat||N===Ft.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===Ft.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};It.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};It.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===Ft.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?Ft.b_stat:Ft.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(Ft.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?Ft.p_stat:Ft.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie.semi&&E!==Ie._else&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===Ft.b_stat)){this.context.push(Ft.f_expr)}else{this.context.push(Ft.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===Ft.q_tmpl){this.context.pop()}else{this.context.push(Ft.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===Ft.f_expr){this.context[N]=Ft.f_expr_gen}else{this.context[N]=Ft.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Nt="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Ot=Nt+" Extended_Pictographic";var Mt=Ot;var Rt={9:Nt,10:Ot,11:Mt};var Lt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Bt="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var jt=Bt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Ut=jt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var zt={9:Bt,10:jt,11:Ut};var Wt={};function buildUnicodeData(E){var N=Wt[E]={binary:wordsRegexp(Rt[E]+" "+Lt),nonBinary:{General_Category:wordsRegexp(Lt),Script:wordsRegexp(zt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);var $t=ut.prototype;var Jt=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"");this.unicodeProperties=Wt[E.options.ecmaVersion>=11?11:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Jt.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Jt.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Jt.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Jt.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Jt.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Jt.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Jt.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Jt.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}$t.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j-1){this.raise(E.start,"Duplicate regular expression flag")}}};$t.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};$t.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};$t.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};$t.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};$t.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};$t.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};$t.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};$t.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}$t.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};$t.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};$t.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};$t.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};$t.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};$t.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}$t.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}$t.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};$t.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};$t.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};$t.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};$t.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};$t.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};$t.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};$t.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}$t.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}$t.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};$t.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};$t.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}$t.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};$t.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};$t.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};$t.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}$t.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}$t.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};$t.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};$t.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};$t.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};$t.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};$t.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};$t.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};$t.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}$t.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}$t.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};$t.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}$t.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};qt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};qt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=57344){return E}var N=this.input.charCodeAt(this.pos+1);return(E<<10)+N-56613888};qt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};qt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};qt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};qt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};qt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};qt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};qt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};qt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};qt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};qt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};qt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};qt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1)}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};qt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};qt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Jt(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};qt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}qt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};qt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};qt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Ht={};qt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Ht){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};qt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Ht}else{this.raise(E,N)}};qt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};qt.readInvalidTemplateToken=function(){for(;this.pos=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};qt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};qt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos{"use strict";var j=R(62310);E.exports=defineKeywords;function defineKeywords(E,N){if(Array.isArray(N)){for(var R=0;R{"use strict";var j=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d:\d\d)?$/i;var $=/t|\s/i;var q={date:compareDate,time:compareTime,"date-time":compareDateTime};var G={type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:false};E.exports=function(E){var N="format"+E;return function defFunc(j){defFunc.definition={type:"string",inline:R(2543),statements:true,errors:"full",dependencies:["format"],metaSchema:{anyOf:[{type:"string"},G]}};j.addKeyword(N,defFunc.definition);j.addKeyword("formatExclusive"+E,{dependencies:["format"+E],metaSchema:{anyOf:[{type:"boolean"},G]}});extendFormats(j);return j}};function extendFormats(E){var N=E._formats;for(var R in q){var j=N[R];if(typeof j!="object"||j instanceof RegExp||!j.validate)j=N[R]={validate:j};if(!j.compare)j.compare=q[R]}}function compareDate(E,N){if(!(E&&N))return;if(E>N)return 1;if(EN)return 1;if(E{"use strict";E.exports={metaSchemaRef:metaSchemaRef};var N="http://json-schema.org/draft-07/schema";function metaSchemaRef(E){var R=E._opts.defaultMeta;if(typeof R=="string")return{$ref:R};if(E.getSchema(N))return{$ref:N};console.warn("meta schema not defined");return{}}},96216:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E,N){if(!E)return true;var R=Object.keys(N.properties);if(R.length==0)return true;return{required:R}},metaSchema:{type:"boolean"},dependencies:["properties"]};E.addKeyword("allRequired",defFunc.definition);return E}},1611:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{anyOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("anyRequired",defFunc.definition);return E}},49494:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){var N=[];for(var R in E)N.push(getSchema(R,E[R]));return{allOf:N}},metaSchema:{type:"object",propertyNames:{type:"string",format:"json-pointer"},additionalProperties:j.metaSchemaRef(E)}};E.addKeyword("deepProperties",defFunc.definition);return E};function getSchema(E,N){var R=E.split("/");var j={};var $=j;for(var q=1;q{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:function(E,N,R){var j="";for(var $=0;${"use strict";E.exports=function generate__formatLimit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;j+="var "+Ee+" = undefined;";if(E.opts.format===false){j+=" "+Ee+" = true; ";return j}var Te=E.schema.format,we=E.opts.$data&&Te.$data,Ie="";if(we){var Ne=E.util.getData(Te.$data,q,E.dataPathArr),Me="format"+$,Le="compare"+$;j+=" var "+Me+" = formats["+Ne+"] , "+Le+" = "+Me+" && "+Me+".compare;"}else{var Me=E.formats[Te];if(!(Me&&Me.compare)){j+=" "+Ee+" = true; ";return j}var Le="formats"+E.util.getProperty(Te)+".compare"}var Be=N=="formatMaximum",je="formatExclusive"+(Be?"Maximum":"Minimum"),Ue=E.schema[je],ze=E.opts.$data&&Ue&&Ue.$data,We=Be?"<":">",Je="result"+$;var Ve=E.opts.$data&&G&&G.$data,qe;if(Ve){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";qe="schema"+$}else{qe=G}if(ze){var He=E.util.getData(Ue.$data,q,E.dataPathArr),Ge="exclusive"+$,Ke="op"+$,Qe="' + "+Ke+" + '";j+=" var schemaExcl"+$+" = "+He+"; ";He="schemaExcl"+$;j+=" if (typeof "+He+" != 'boolean' && "+He+" !== undefined) { "+Ee+" = false; ";var le=je;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatExclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+je+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){Ie+="}";j+=" else { "}if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; var "+Ge+" = "+He+" === true; if ("+Ee+" === undefined) { "+Ee+" = "+Ge+" ? "+Je+" "+We+" 0 : "+Je+" "+We+"= 0; } if (!"+Ee+") var op"+$+" = "+Ge+" ? '"+We+"' : '"+We+"=';"}else{var Ge=Ue===true,Qe=We;if(!Ge)Qe+="=";var Ke="'"+Qe+"'";if(Ve){j+=" if ("+qe+" === undefined) "+Ee+" = true; else if (typeof "+qe+" != 'string') "+Ee+" = false; else { ";Ie+="}"}if(we){j+=" if (!"+Le+") "+Ee+" = true; else { ";Ie+="}"}j+=" var "+Je+" = "+Le+"("+_e+", ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" ); if ("+Je+" === undefined) "+Ee+" = false; if ("+Ee+" === undefined) "+Ee+" = "+Je+" "+We;if(!Ge){j+="="}j+=" 0;"}j+=""+Ie+"if (!"+Ee+") { ";var le=N;var Xe=Xe||[];Xe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_formatLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Ke+", limit: ";if(Ve){j+=""+qe}else{j+=""+E.util.toQuotedString(G)}j+=" , exclusive: "+Ge+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Qe+' "';if(Ve){j+="' + "+qe+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(Ve){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ye=j;j=Xe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ye+"]); "}else{j+=" validate.errors = ["+Ye+"]; return false; "}}else{j+=" var err = "+Ye+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="}";return j}},98632:E=>{"use strict";E.exports=function generate_patternRequired(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="key"+$,Te="idx"+$,we="patternMatched"+$,Ie="dataProperties"+$,Ne="",Me=E.opts.ownProperties;j+="var "+_e+" = true;";if(Me){j+=" var "+Ie+" = undefined;"}var Le=G;if(Le){var Be,je=-1,Ue=Le.length-1;while(je{"use strict";E.exports=function generate_switch(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="ifPassed"+E.level,Me=Te.baseId,Le;j+="var "+Ne+";";var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue0:E.util.schemaHasRules(je.if,E.RULES.all))){j+=" var "+Ee+" = errors; ";var We=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.createErrors=false;Te.schema=je.if;Te.schemaPath=ie+"["+Ue+"].if";Te.errSchemaPath=ae+"/"+Ue+"/if";j+=" "+E.validate(Te)+" ";Te.baseId=Me;Te.createErrors=true;E.compositeRule=Te.compositeRule=We;j+=" "+Ne+" = "+Ie+"; if ("+Ne+") { ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}j+=" } else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } } "}else{j+=" "+Ne+" = true; ";if(typeof je.then=="boolean"){if(je.then===false){var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"switch"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { caseIndex: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should pass \"switch\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}j+=" var "+Ie+" = "+je.then+"; "}else{Te.schema=je.then;Te.schemaPath=ie+"["+Ue+"].then";Te.errSchemaPath=ae+"/"+Ue+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Me}}Le=je.continue}}j+=""+we+"var "+_e+" = "+Ie+";";return j}},41835:E=>{"use strict";var N={};var R={timestamp:function(){return Date.now()},datetime:function(){return(new Date).toISOString()},date:function(){return(new Date).toISOString().slice(0,10)},time:function(){return(new Date).toISOString().slice(11)},random:function(){return Math.random()},randomint:function(E){var N=E&&E.max||2;return function(){return Math.floor(Math.random()*N)}},seq:function(E){var R=E&&E.name||"";N[R]=N[R]||0;return function(){return N[R]++}}};E.exports=function defFunc(E){defFunc.definition={compile:function(E,N,R){var j={};for(var $ in E){var q=E[$];var G=getDefault(typeof q=="string"?q:q.func);j[$]=G.length?G(q.args):G}return R.opts.useDefaults&&!R.compositeRule?assignDefaults:noop;function assignDefaults(N){for(var $ in E){if(N[$]===undefined||R.opts.useDefaults=="empty"&&(N[$]===null||N[$]===""))N[$]=j[$]()}return true}function noop(){return true}},DEFAULTS:R,metaSchema:{type:"object",additionalProperties:{type:["string","object"],additionalProperties:false,required:["func","args"],properties:{func:{type:"string"},args:{type:"object"}}}}};E.addKeyword("dynamicDefaults",defFunc.definition);return E;function getDefault(E){var N=R[E];if(N)return N;throw new Error('invalid "dynamicDefaults" keyword property value: '+E)}}},69513:(E,N,R)=>{"use strict";E.exports=R(87113)("Maximum")},50581:(E,N,R)=>{"use strict";E.exports=R(87113)("Minimum")},62310:(E,N,R)=>{"use strict";E.exports={instanceof:R(94236),range:R(5332),regexp:R(85829),typeof:R(77189),dynamicDefaults:R(41835),allRequired:R(96216),anyRequired:R(1611),oneRequired:R(82233),prohibited:R(47431),uniqueItemProperties:R(69536),deepProperties:R(49494),deepRequired:R(23023),formatMinimum:R(50581),formatMaximum:R(69513),patternRequired:R(89042),switch:R(65305),select:R(9821),transform:R(62111)}},94236:E=>{"use strict";var N={Object:Object,Array:Array,Function:Function,Number:Number,String:String,Date:Date,RegExp:RegExp};E.exports=function defFunc(E){if(typeof Buffer!="undefined")N.Buffer=Buffer;if(typeof Promise!="undefined")N.Promise=Promise;defFunc.definition={compile:function(E){if(typeof E=="string"){var N=getConstructor(E);return function(E){return E instanceof N}}var R=E.map(getConstructor);return function(E){for(var N=0;N{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{required:E};var N=E.map((function(E){return{required:[E]}}));return{oneOf:N}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("oneRequired",defFunc.definition);return E}},89042:(E,N,R)=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",inline:R(98632),statements:true,errors:"full",metaSchema:{type:"array",items:{type:"string",format:"regex"},uniqueItems:true}};E.addKeyword("patternRequired",defFunc.definition);return E}},47431:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"object",macro:function(E){if(E.length==0)return true;if(E.length==1)return{not:{required:E}};var N=E.map((function(E){return{required:[E]}}));return{not:{anyOf:N}}},metaSchema:{type:"array",items:{type:"string"}}};E.addKeyword("prohibited",defFunc.definition);return E}},5332:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"number",macro:function(E,N){var R=E[0],j=E[1],$=N.exclusiveRange;validateRangeSchema(R,j,$);return $===true?{exclusiveMinimum:R,exclusiveMaximum:j}:{minimum:R,maximum:j}},metaSchema:{type:"array",minItems:2,maxItems:2,items:{type:"number"}}};E.addKeyword("range",defFunc.definition);E.addKeyword("exclusiveRange");return E;function validateRangeSchema(E,N,R){if(R!==undefined&&typeof R!="boolean")throw new Error("Invalid schema for exclusiveRange keyword, should be boolean");if(E>N||R&&E==N)throw new Error("There are no numbers in range")}}},85829:E=>{"use strict";E.exports=function defFunc(E){defFunc.definition={type:"string",inline:function(E,N,R){return getRegExp()+".test(data"+(E.dataLevel||"")+")";function getRegExp(){try{if(typeof R=="object")return new RegExp(R.pattern,R.flags);var E=R.match(/^\/(.*)\/([gimuy]*)$/);if(E)return new RegExp(E[1],E[2]);throw new Error("cannot parse string into RegExp")}catch(E){console.error("regular expression",R,"is invalid");throw E}}},metaSchema:{type:["string","object"],properties:{pattern:{type:"string"},flags:{type:"string"}},required:["pattern"],additionalProperties:false}};E.addKeyword("regexp",defFunc.definition);return E}},9821:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(!E._opts.$data){console.warn("keyword select requires $data option");return E}var N=j.metaSchemaRef(E);var R=[];defFunc.definition={validate:function v(E,N,R){if(R.selectCases===undefined)throw new Error('keyword "selectCases" is absent');var j=getCompiledSchemas(R,false);var $=j.cases[E];if($===undefined)$=j.default;if(typeof $=="boolean")return $;var q=$(N);if(!q)v.errors=$.errors;return q},$data:true,metaSchema:{type:["string","number","boolean","null"]}};E.addKeyword("select",defFunc.definition);E.addKeyword("selectCases",{compile:function(E,N){var R=getCompiledSchemas(N);for(var j in E)R.cases[j]=compileOrBoolean(E[j]);return function(){return true}},valid:true,metaSchema:{type:"object",additionalProperties:N}});E.addKeyword("selectDefault",{compile:function(E,N){var R=getCompiledSchemas(N);R.default=compileOrBoolean(E);return function(){return true}},valid:true,metaSchema:N});return E;function getCompiledSchemas(E,N){var j;R.some((function(N){if(N.parentSchema===E){j=N;return true}}));if(!j&&N!==false){j={parentSchema:E,cases:{},default:true};R.push(j)}return j}function compileOrBoolean(N){return typeof N=="boolean"?N:E.compile(N)}}},65305:(E,N,R)=>{"use strict";var j=R(54630);E.exports=function defFunc(E){if(E.RULES.keywords.switch&&E.RULES.keywords.if)return;var N=j.metaSchemaRef(E);defFunc.definition={inline:R(34657),statements:true,errors:"full",metaSchema:{type:"array",items:{required:["then"],properties:{if:N,then:{anyOf:[{type:"boolean"},N]},continue:{type:"boolean"}},additionalProperties:false,dependencies:{continue:["if"]}}}};E.addKeyword("switch",defFunc.definition);return E}},62111:E=>{"use strict";E.exports=function defFunc(E){var N={trimLeft:function(E){return E.replace(/^[\s]+/,"")},trimRight:function(E){return E.replace(/[\s]+$/,"")},trim:function(E){return E.trim()},toLowerCase:function(E){return E.toLowerCase()},toUpperCase:function(E){return E.toUpperCase()},toEnumCase:function(E,N){return N.hash[makeHashTableKey(E)]||E}};defFunc.definition={type:"string",errors:false,modifying:true,valid:true,compile:function(E,R){var j;if(E.indexOf("toEnumCase")!==-1){j={hash:{}};if(!R.enum)throw new Error('Missing enum. To use `transform:["toEnumCase"]`, `enum:[...]` is required.');for(var $=R.enum.length;$--;$){var q=R.enum[$];if(typeof q!=="string")continue;var G=makeHashTableKey(q);if(j.hash[G])throw new Error('Invalid enum uniqueness. To use `transform:["toEnumCase"]`, all values must be unique when case insensitive.');j.hash[G]=q}}return function(R,$,q,G){if(!q)return;for(var ie=0,ae=E.length;ie{"use strict";var N=["undefined","string","number","object","function","boolean","symbol"];E.exports=function defFunc(E){defFunc.definition={inline:function(E,N,R){var j="data"+(E.dataLevel||"");if(typeof R=="string")return"typeof "+j+' == "'+R+'"';R="validate.schema"+E.schemaPath+"."+N;return R+".indexOf(typeof "+j+") >= 0"},metaSchema:{anyOf:[{type:"string",enum:N},{type:"array",items:{type:"string",enum:N}}]}};E.addKeyword("typeof",defFunc.definition);return E}},69536:E=>{"use strict";var N=["number","integer","string","boolean","null"];E.exports=function defFunc(E){defFunc.definition={type:"array",compile:function(E,N,R){var j=R.util.equal;var $=getScalarKeys(E,N);return function(N){if(N.length>1){for(var R=0;R=0}))}},33866:(E,N,R)=>{"use strict";var j=R(69579),$=R(82253),q=R(32183),G=R(38868),ie=R(75986),ae=R(10698),ce=R(75041),le=R(30398),_e=R(778);E.exports=Ajv;Ajv.prototype.validate=validate;Ajv.prototype.compile=compile;Ajv.prototype.addSchema=addSchema;Ajv.prototype.addMetaSchema=addMetaSchema;Ajv.prototype.validateSchema=validateSchema;Ajv.prototype.getSchema=getSchema;Ajv.prototype.removeSchema=removeSchema;Ajv.prototype.addFormat=addFormat;Ajv.prototype.errorsText=errorsText;Ajv.prototype._addSchema=_addSchema;Ajv.prototype._compile=_compile;Ajv.prototype.compileAsync=R(18840);var Ee=R(3811);Ajv.prototype.addKeyword=Ee.add;Ajv.prototype.getKeyword=Ee.get;Ajv.prototype.removeKeyword=Ee.remove;Ajv.prototype.validateKeyword=Ee.validate;var Te=R(29411);Ajv.ValidationError=Te.Validation;Ajv.MissingRefError=Te.MissingRef;Ajv.$dataMetaSchema=le;var we="http://json-schema.org/draft-07/schema";var Ie=["removeAdditional","useDefaults","coerceTypes","strictDefaults"];var Ne=["/properties"];function Ajv(E){if(!(this instanceof Ajv))return new Ajv(E);E=this._opts=_e.copy(E)||{};setLogger(this);this._schemas={};this._refs={};this._fragments={};this._formats=ae(E.format);this._cache=E.cache||new q;this._loadingSchemas={};this._compilations=[];this.RULES=ce();this._getId=chooseGetId(E);E.loopRequired=E.loopRequired||Infinity;if(E.errorDataPath=="property")E._errorDataPathProperty=true;if(E.serialize===undefined)E.serialize=ie;this._metaOpts=getMetaSchemaOptions(this);if(E.formats)addInitialFormats(this);if(E.keywords)addInitialKeywords(this);addDefaultMetaSchema(this);if(typeof E.meta=="object")this.addMetaSchema(E.meta);if(E.nullable)this.addKeyword("nullable",{metaSchema:{type:"boolean"}});addInitialSchemas(this)}function validate(E,N){var R;if(typeof E=="string"){R=this.getSchema(E);if(!R)throw new Error('no schema with key or ref "'+E+'"')}else{var j=this._addSchema(E);R=j.validate||this._compile(j)}var $=R(N);if(R.$async!==true)this.errors=R.errors;return $}function compile(E,N){var R=this._addSchema(E,undefined,N);return R.validate||this._compile(R)}function addSchema(E,N,R,j){if(Array.isArray(E)){for(var q=0;q{"use strict";var N=E.exports=function Cache(){this._cache={}};N.prototype.put=function Cache_put(E,N){this._cache[E]=N};N.prototype.get=function Cache_get(E){return this._cache[E]};N.prototype.del=function Cache_del(E){delete this._cache[E]};N.prototype.clear=function Cache_clear(){this._cache={}}},18840:(E,N,R)=>{"use strict";var j=R(29411).MissingRef;E.exports=compileAsync;function compileAsync(E,N,R){var $=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");if(typeof N=="function"){R=N;N=undefined}var q=loadMetaSchemaOf(E).then((function(){var R=$._addSchema(E,undefined,N);return R.validate||_compileAsync(R)}));if(R){q.then((function(E){R(null,E)}),R)}return q;function loadMetaSchemaOf(E){var N=E.$schema;return N&&!$.getSchema(N)?compileAsync.call($,{$ref:N},true):Promise.resolve()}function _compileAsync(E){try{return $._compile(E)}catch(E){if(E instanceof j)return loadMissingSchema(E);throw E}function loadMissingSchema(R){var j=R.missingSchema;if(added(j))throw new Error("Schema "+j+" is loaded but "+R.missingRef+" cannot be resolved");var q=$._loadingSchemas[j];if(!q){q=$._loadingSchemas[j]=$._opts.loadSchema(j);q.then(removePromise,removePromise)}return q.then((function(E){if(!added(j)){return loadMetaSchemaOf(E).then((function(){if(!added(j))$.addSchema(E,j,undefined,N)}))}})).then((function(){return _compileAsync(E)}));function removePromise(){delete $._loadingSchemas[j]}function added(E){return $._refs[E]||$._schemas[E]}}}}},29411:(E,N,R)=>{"use strict";var j=R(82253);E.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(E){this.message="validation failed";this.errors=E;this.ajv=this.validation=true}MissingRefError.message=function(E,N){return"can't resolve reference "+N+" from id "+E};function MissingRefError(E,N,R){this.message=R||MissingRefError.message(E,N);this.missingRef=j.url(E,N);this.missingSchema=j.normalizeId(j.fullPath(this.missingRef))}function errorSubclass(E){E.prototype=Object.create(Error.prototype);E.prototype.constructor=E;return E}},10698:(E,N,R)=>{"use strict";var j=R(778);var $=/^(\d\d\d\d)-(\d\d)-(\d\d)$/;var q=[0,31,28,31,30,31,30,31,31,30,31,30,31];var G=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;var ie=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i;var ae=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var ce=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;var le=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var _e=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var Ee=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var Te=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var we=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var Ie=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;E.exports=formats;function formats(E){E=E=="full"?"full":"fast";return j.copy(formats[E])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":le,url:_e,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":ce,"uri-template":le,url:_e,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:ie,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:Ee,"json-pointer":Te,"json-pointer-uri-fragment":we,"relative-json-pointer":Ie};function isLeapYear(E){return E%4===0&&(E%100!==0||E%400===0)}function date(E){var N=E.match($);if(!N)return false;var R=+N[1];var j=+N[2];var G=+N[3];return j>=1&&j<=12&&G>=1&&G<=(j==2&&isLeapYear(R)?29:q[j])}function time(E,N){var R=E.match(G);if(!R)return false;var j=R[1];var $=R[2];var q=R[3];var ie=R[5];return(j<=23&&$<=59&&q<=59||j==23&&$==59&&q==60)&&(!N||ie)}var Ne=/t|\s/i;function date_time(E){var N=E.split(Ne);return N.length==2&&date(N[0])&&time(N[1],true)}var Me=/\/|:/;function uri(E){return Me.test(E)&&ae.test(E)}var Le=/[^\\]\\Z/;function regex(E){if(Le.test(E))return false;try{new RegExp(E);return true}catch(E){return false}}},69579:(E,N,R)=>{"use strict";var j=R(82253),$=R(778),q=R(29411),G=R(75986);var ie=R(85061);var ae=$.ucs2length;var ce=R(55245);var le=q.Validation;E.exports=compile;function compile(E,N,R,_e){var Ee=this,Te=this._opts,we=[undefined],Ie={},Ne=[],Me={},Le=[],Be={},je=[];N=N||{schema:E,refVal:we,refs:Ie};var Ue=checkCompiling.call(this,E,N,_e);var ze=this._compilations[Ue.index];if(Ue.compiling)return ze.callValidate=callValidate;var We=this._formats;var Je=this.RULES;try{var Ve=localCompile(E,N,R,_e);ze.validate=Ve;var qe=ze.callValidate;if(qe){qe.schema=Ve.schema;qe.errors=null;qe.refs=Ve.refs;qe.refVal=Ve.refVal;qe.root=Ve.root;qe.$async=Ve.$async;if(Te.sourceCode)qe.source=Ve.source}return Ve}finally{endCompiling.call(this,E,N,_e)}function callValidate(){var E=ze.validate;var N=E.apply(this,arguments);callValidate.errors=E.errors;return N}function localCompile(E,R,G,_e){var Me=!R||R&&R.schema==E;if(R.schema!=N.schema)return compile.call(Ee,E,R,G,_e);var Be=E.$async===true;var Ue=ie({isTop:true,schema:E,isRoot:Me,baseId:_e,root:R,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:q.MissingRef,RULES:Je,validate:ie,util:$,resolve:j,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:Te,formats:We,logger:Ee.logger,self:Ee});Ue=vars(we,refValCode)+vars(Ne,patternCode)+vars(Le,defaultCode)+vars(je,customRuleCode)+Ue;if(Te.processCode)Ue=Te.processCode(Ue,E);var ze;try{var Ve=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",Ue);ze=Ve(Ee,Je,We,N,we,Le,je,ce,ae,le);we[0]=ze}catch(E){Ee.logger.error("Error compiling schema, function code:",Ue);throw E}ze.schema=E;ze.errors=null;ze.refs=Ie;ze.refVal=we;ze.root=Me?ze:R;if(Be)ze.$async=true;if(Te.sourceCode===true){ze.source={code:Ue,patterns:Ne,defaults:Le}}return ze}function resolveRef(E,$,q){$=j.url(E,$);var G=Ie[$];var ie,ae;if(G!==undefined){ie=we[G];ae="refVal["+G+"]";return resolvedRef(ie,ae)}if(!q&&N.refs){var ce=N.refs[$];if(ce!==undefined){ie=N.refVal[ce];ae=addLocalRef($,ie);return resolvedRef(ie,ae)}}ae=addLocalRef($);var le=j.call(Ee,localCompile,N,$);if(le===undefined){var _e=R&&R[$];if(_e){le=j.inlineRef(_e,Te.inlineRefs)?_e:compile.call(Ee,_e,N,R,E)}}if(le===undefined){removeLocalRef($)}else{replaceLocalRef($,le);return resolvedRef(le,ae)}}function addLocalRef(E,N){var R=we.length;we[R]=N;Ie[E]=R;return"refVal"+R}function removeLocalRef(E){delete Ie[E]}function replaceLocalRef(E,N){var R=Ie[E];we[R]=N}function resolvedRef(E,N){return typeof E=="object"||typeof E=="boolean"?{code:N,schema:E,inline:true}:{code:N,$async:E&&!!E.$async}}function usePattern(E){var N=Me[E];if(N===undefined){N=Me[E]=Ne.length;Ne[N]=E}return"pattern"+N}function useDefault(E){switch(typeof E){case"boolean":case"number":return""+E;case"string":return $.toQuotedString(E);case"object":if(E===null)return"null";var N=G(E);var R=Be[N];if(R===undefined){R=Be[N]=Le.length;Le[R]=E}return"default"+R}}function useCustomRule(E,N,R,j){if(Ee._opts.validateSchema!==false){var $=E.definition.dependencies;if($&&!$.every((function(E){return Object.prototype.hasOwnProperty.call(R,E)})))throw new Error("parent schema must have all required keywords: "+$.join(","));var q=E.definition.validateSchema;if(q){var G=q(N);if(!G){var ie="keyword schema is invalid: "+Ee.errorsText(q.errors);if(Ee._opts.validateSchema=="log")Ee.logger.error(ie);else throw new Error(ie)}}}var ae=E.definition.compile,ce=E.definition.inline,le=E.definition.macro;var _e;if(ae){_e=ae.call(Ee,N,R,j)}else if(le){_e=le.call(Ee,N,R,j);if(Te.validateSchema!==false)Ee.validateSchema(_e,true)}else if(ce){_e=ce.call(Ee,j,E.keyword,N,R)}else{_e=E.definition.validate;if(!_e)return}if(_e===undefined)throw new Error('custom keyword "'+E.keyword+'"failed to compile');var we=je.length;je[we]=_e;return{code:"customRule"+we,validate:_e}}}function checkCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)return{index:j,compiling:true};j=this._compilations.length;this._compilations[j]={schema:E,root:N,baseId:R};return{index:j,compiling:false}}function endCompiling(E,N,R){var j=compIndex.call(this,E,N,R);if(j>=0)this._compilations.splice(j,1)}function compIndex(E,N,R){for(var j=0;j{"use strict";var j=R(30823),$=R(55245),q=R(778),G=R(38868),ie=R(46833);E.exports=resolve;resolve.normalizeId=normalizeId;resolve.fullPath=getFullPath;resolve.url=resolveUrl;resolve.ids=resolveIds;resolve.inlineRef=inlineRef;resolve.schema=resolveSchema;function resolve(E,N,R){var j=this._refs[R];if(typeof j=="string"){if(this._refs[j])j=this._refs[j];else return resolve.call(this,E,N,j)}j=j||this._schemas[R];if(j instanceof G){return inlineRef(j.schema,this._opts.inlineRefs)?j.schema:j.validate||this._compile(j)}var $=resolveSchema.call(this,N,R);var q,ie,ae;if($){q=$.schema;N=$.root;ae=$.baseId}if(q instanceof G){ie=q.validate||E.call(this,q.schema,N,undefined,ae)}else if(q!==undefined){ie=inlineRef(q,this._opts.inlineRefs)?q:E.call(this,q,N,undefined,ae)}return ie}function resolveSchema(E,N){var R=j.parse(N),$=_getFullPath(R),q=getFullPath(this._getId(E.schema));if(Object.keys(E.schema).length===0||$!==q){var ie=normalizeId($);var ae=this._refs[ie];if(typeof ae=="string"){return resolveRecursive.call(this,E,ae,R)}else if(ae instanceof G){if(!ae.validate)this._compile(ae);E=ae}else{ae=this._schemas[ie];if(ae instanceof G){if(!ae.validate)this._compile(ae);if(ie==normalizeId(N))return{schema:ae,root:E,baseId:q};E=ae}else{return}}if(!E.schema)return;q=getFullPath(this._getId(E.schema))}return getJsonPointer.call(this,R,q,E.schema,E)}function resolveRecursive(E,N,R){var j=resolveSchema.call(this,E,N);if(j){var $=j.schema;var q=j.baseId;E=j.root;var G=this._getId($);if(G)q=resolveUrl(q,G);return getJsonPointer.call(this,R,q,$,E)}}var ae=q.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function getJsonPointer(E,N,R,j){E.fragment=E.fragment||"";if(E.fragment.slice(0,1)!="/")return;var $=E.fragment.split("/");for(var G=1;G<$.length;G++){var ie=$[G];if(ie){ie=q.unescapeFragment(ie);R=R[ie];if(R===undefined)break;var ce;if(!ae[ie]){ce=this._getId(R);if(ce)N=resolveUrl(N,ce);if(R.$ref){var le=resolveUrl(N,R.$ref);var _e=resolveSchema.call(this,j,le);if(_e){R=_e.schema;j=_e.root;N=_e.baseId}}}}}if(R!==undefined&&R!==j.schema)return{schema:R,root:j,baseId:N}}var ce=q.toHash(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum"]);function inlineRef(E,N){if(N===false)return false;if(N===undefined||N===true)return checkNoRef(E);else if(N)return countKeys(E)<=N}function checkNoRef(E){var N;if(Array.isArray(E)){for(var R=0;R{"use strict";var j=R(71001),$=R(778).toHash;E.exports=function rules(){var E=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}];var N=["type","$comment"];var R=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"];var q=["number","integer","string","array","object","boolean","null"];E.all=$(N);E.types=$(q);E.forEach((function(R){R.rules=R.rules.map((function(R){var $;if(typeof R=="object"){var q=Object.keys(R)[0];$=R[q];R=q;$.forEach((function(R){N.push(R);E.all[R]=true}))}N.push(R);var G=E.all[R]={keyword:R,code:j[R],implements:$};return G}));E.all.$comment={keyword:"$comment",code:j.$comment};if(R.type)E.types[R.type]=R}));E.keywords=$(N.concat(R));E.custom={};return E}},38868:(E,N,R)=>{"use strict";var j=R(778);E.exports=SchemaObject;function SchemaObject(E){j.copy(E,this)}},15512:E=>{"use strict";E.exports=function ucs2length(E){var N=0,R=E.length,j=0,$;while(j=55296&&$<=56319&&j{"use strict";E.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:R(55245),ucs2length:R(15512),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(E,N){N=N||{};for(var R in E)N[R]=E[R];return N}function checkDataType(E,N,R,j){var $=j?" !== ":" === ",q=j?" || ":" && ",G=j?"!":"",ie=j?"":"!";switch(E){case"null":return N+$+"null";case"array":return G+"Array.isArray("+N+")";case"object":return"("+G+N+q+"typeof "+N+$+'"object"'+q+ie+"Array.isArray("+N+"))";case"integer":return"(typeof "+N+$+'"number"'+q+ie+"("+N+" % 1)"+q+N+$+N+(R?q+G+"isFinite("+N+")":"")+")";case"number":return"(typeof "+N+$+'"'+E+'"'+(R?q+G+"isFinite("+N+")":"")+")";default:return"typeof "+N+$+'"'+E+'"'}}function checkDataTypes(E,N,R){switch(E.length){case 1:return checkDataType(E[0],N,R,true);default:var j="";var $=toHash(E);if($.array&&$.object){j=$.null?"(":"(!"+N+" || ";j+="typeof "+N+' !== "object")';delete $.null;delete $.array;delete $.object}if($.number)delete $.integer;for(var q in $)j+=(j?" && ":"")+checkDataType(q,N,R,true);return j}}var j=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(E,N){if(Array.isArray(N)){var R=[];for(var $=0;$=N)throw new Error("Cannot access property/index "+j+" levels up, current level is "+N);return R[N-j]}if(j>N)throw new Error("Cannot access data "+j+" levels up, current level is "+N);q="data"+(N-j||"");if(!$)return q}var ce=q;var le=$.split("/");for(var _e=0;_e{"use strict";var N=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];E.exports=function(E,R){for(var j=0;j{"use strict";var j=R(6680);E.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:j.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:j.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},70507:E=>{"use strict";E.exports=function generate__limit(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we=N=="maximum",Ie=we?"exclusiveMaximum":"exclusiveMinimum",Ne=E.schema[Ie],Me=E.opts.$data&&Ne&&Ne.$data,Le=we?"<":">",Be=we?">":"<",le=undefined;if(!(Ee||typeof G=="number"||G===undefined)){throw new Error(N+" must be number")}if(!(Me||Ne===undefined||typeof Ne=="number"||typeof Ne=="boolean")){throw new Error(Ie+" must be number or boolean")}if(Me){var je=E.util.getData(Ne.$data,q,E.dataPathArr),Ue="exclusive"+$,ze="exclType"+$,We="exclIsNumber"+$,Je="op"+$,Ve="' + "+Je+" + '";j+=" var schemaExcl"+$+" = "+je+"; ";je="schemaExcl"+$;j+=" var "+Ue+"; var "+ze+" = typeof "+je+"; if ("+ze+" != 'boolean' && "+ze+" != 'undefined' && "+ze+" != 'number') { ";var le=Ie;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: '"+Ie+" should be boolean' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+ze+" == 'number' ? ( ("+Ue+" = "+Te+" === undefined || "+je+" "+Le+"= "+Te+") ? "+_e+" "+Be+"= "+je+" : "+_e+" "+Be+" "+Te+" ) : ( ("+Ue+" = "+je+" === true) ? "+_e+" "+Be+"= "+Te+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { var op"+$+" = "+Ue+" ? '"+Le+"' : '"+Le+"='; ";if(G===undefined){le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=je;Ee=Me}}else{var We=typeof Ne=="number",Ve=Le;if(We&&Ee){var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" ( "+Te+" === undefined || "+Ne+" "+Le+"= "+Te+" ? "+_e+" "+Be+"= "+Ne+" : "+_e+" "+Be+" "+Te+" ) || "+_e+" !== "+_e+") { "}else{if(We&&G===undefined){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Te=Ne;Be+="="}else{if(We)Te=Math[we?"min":"max"](Ne,G);if(Ne===(We?Te:true)){Ue=true;le=Ie;ae=E.errSchemaPath+"/"+Ie;Be+="="}else{Ue=false;Ve+="="}}var Je="'"+Ve+"'";j+=" if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+" "+Be+" "+Te+" || "+_e+" !== "+_e+") { "}}le=le||N;var qe=qe||[];qe.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limit")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { comparison: "+Je+", limit: "+Te+", exclusive: "+Ue+" } ";if(E.opts.messages!==false){j+=" , message: 'should be "+Ve+" ";if(Ee){j+="' + "+Te}else{j+=""+Te+"'"}}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var He=j;j=qe.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+He+"]); "}else{j+=" validate.errors = ["+He+"]; return false; "}}else{j+=" var err = "+He+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},6958:E=>{"use strict";E.exports=function generate__limitItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxItems"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" "+_e+".length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitItems")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxItems"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" items' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},41363:E=>{"use strict";E.exports=function generate__limitLength(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxLength"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}if(E.opts.unicode===false){j+=" "+_e+".length "}else{j+=" ucs2length("+_e+") "}j+=" "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitLength")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT be ";if(N=="maxLength"){j+="longer"}else{j+="shorter"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" characters' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},25569:E=>{"use strict";E.exports=function generate__limitProperties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!(Ee||typeof G=="number")){throw new Error(N+" must be number")}var we=N=="maxProperties"?">":"<";j+="if ( ";if(Ee){j+=" ("+Te+" !== undefined && typeof "+Te+" != 'number') || "}j+=" Object.keys("+_e+").length "+we+" "+Te+") { ";var le=N;var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"_limitProperties")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+Te+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have ";if(N=="maxProperties"){j+="more"}else{j+="fewer"}j+=" than ";if(Ee){j+="' + "+Te+" + '"}else{j+=""+G}j+=" properties' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},30081:E=>{"use strict";E.exports=function generate_allOf(E,N,R){var j=" ";var $=E.schema[N];var q=E.schemaPath+E.util.getProperty(N);var G=E.errSchemaPath+"/"+N;var ie=!E.opts.allErrors;var ae=E.util.copy(E);var ce="";ae.level++;var le="valid"+ae.level;var _e=ae.baseId,Ee=true;var Te=$;if(Te){var we,Ie=-1,Ne=Te.length-1;while(Ie0||we===false:E.util.schemaHasRules(we,E.RULES.all)){Ee=false;ae.schema=we;ae.schemaPath=q+"["+Ie+"]";ae.errSchemaPath=G+"/"+Ie;j+=" "+E.validate(ae)+" ";ae.baseId=_e;if(ie){j+=" if ("+le+") { ";ce+="}"}}}}if(ie){if(Ee){j+=" if (true) { "}else{j+=" "+ce.slice(0,-1)+" "}}return j}},70019:E=>{"use strict";E.exports=function generate_anyOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=G.every((function(N){return E.opts.strictKeywords?typeof N=="object"&&Object.keys(N).length>0||N===false:E.util.schemaHasRules(N,E.RULES.all)}));if(Ne){var Me=Te.baseId;j+=" var "+Ee+" = errors; var "+_e+" = false; ";var Le=E.compositeRule;E.compositeRule=Te.compositeRule=true;var Be=G;if(Be){var je,Ue=-1,ze=Be.length-1;while(Ue{"use strict";E.exports=function generate_comment(E,N,R){var j=" ";var $=E.schema[N];var q=E.errSchemaPath+"/"+N;var G=!E.opts.allErrors;var ie=E.util.toQuotedString($);if(E.opts.$comment===true){j+=" console.log("+ie+");"}else if(typeof E.opts.$comment=="function"){j+=" self._opts.$comment("+ie+", "+E.util.toQuotedString(q)+", validate.root.schema);"}return j}},23404:E=>{"use strict";E.exports=function generate_const(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if(!Ee){j+=" var schema"+$+" = validate.schema"+ie+";"}j+="var "+_e+" = equal("+le+", schema"+$+"); if (!"+_e+") { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"const"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValue: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to constant' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},33224:E=>{"use strict";E.exports=function generate_contains(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId,je=E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all);j+="var "+Ee+" = errors;var "+_e+";";if(je){var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ie+" = false; for (var "+Ne+" = 0; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var ze=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var We=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(We,Le)<2){j+=" "+E.util.varReplace(We,Le,ze)+" "}else{j+=" var "+Le+" = "+ze+"; "+We+" "}j+=" if ("+Ie+") break; } ";E.compositeRule=Te.compositeRule=Ue;j+=" "+we+" if (!"+Ie+") {"}else{j+=" if ("+le+".length == 0) {"}var Je=Je||[];Je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should contain a valid item' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ve=j;j=Je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ve+"]); "}else{j+=" validate.errors = ["+Ve+"]; return false; "}}else{j+=" var err = "+Ve+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { ";if(je){j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } "}if(E.opts.allErrors){j+=" } "}return j}},99819:E=>{"use strict";E.exports=function generate_custom(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le;var _e="data"+(q||"");var Ee="valid"+$;var Te="errs__"+$;var we=E.opts.$data&&G&&G.$data,Ie;if(we){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ie="schema"+$}else{Ie=G}var Ne=this,Me="definition"+$,Le=Ne.definition,Be="";var je,Ue,ze,We,Je;if(we&&Le.$data){Je="keywordValidate"+$;var Ve=Le.validateSchema;j+=" var "+Me+" = RULES.custom['"+N+"'].definition; var "+Je+" = "+Me+".validate;"}else{We=E.useCustomRule(Ne,G,E.schema,E);if(!We)return;Ie="validate.schema"+ie;Je=We.code;je=Le.compile;Ue=Le.inline;ze=Le.macro}var qe=Je+".errors",He="i"+$,Ge="ruleErr"+$,Ke=Le.async;if(Ke&&!E.async)throw new Error("async keyword in sync schema");if(!(Ue||ze)){j+=""+qe+" = null;"}j+="var "+Te+" = errors;var "+Ee+";";if(we&&Le.$data){Be+="}";j+=" if ("+Ie+" === undefined) { "+Ee+" = true; } else { ";if(Ve){Be+="}";j+=" "+Ee+" = "+Me+".validateSchema("+Ie+"); if ("+Ee+") { "}}if(Ue){if(Le.statements){j+=" "+We.validate+" "}else{j+=" "+Ee+" = "+We.validate+"; "}}else if(ze){var Qe=E.util.copy(E);var Be="";Qe.level++;var Xe="valid"+Qe.level;Qe.schema=We.validate;Qe.schemaPath="";var Ye=E.compositeRule;E.compositeRule=Qe.compositeRule=true;var Ze=E.validate(Qe).replace(/validate\.schema/g,Je);E.compositeRule=Qe.compositeRule=Ye;j+=" "+Ze}else{var et=et||[];et.push(j);j="";j+=" "+Je+".call( ";if(E.opts.passContext){j+="this"}else{j+="self"}if(je||Le.schema===false){j+=" , "+_e+" "}else{j+=" , "+Ie+" , "+_e+" , validate.schema"+E.schemaPath+" "}j+=" , (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var tt=q?"data"+(q-1||""):"parentData",rt=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+tt+" , "+rt+" , rootData ) ";var nt=j;j=et.pop();if(Le.errors===false){j+=" "+Ee+" = ";if(Ke){j+="await "}j+=""+nt+"; "}else{if(Ke){qe="customErrors"+$;j+=" var "+qe+" = null; try { "+Ee+" = await "+nt+"; } catch (e) { "+Ee+" = false; if (e instanceof ValidationError) "+qe+" = e.errors; else throw e; } "}else{j+=" "+qe+" = null; "+Ee+" = "+nt+"; "}}}if(Le.modifying){j+=" if ("+tt+") "+_e+" = "+tt+"["+rt+"];"}j+=""+Be;if(Le.valid){if(ce){j+=" if (true) { "}}else{j+=" if ( ";if(Le.valid===undefined){j+=" !";if(ze){j+=""+Xe}else{j+=""+Ee}}else{j+=" "+!Le.valid+" "}j+=") { ";le=Ne.keyword;var et=et||[];et.push(j);j="";var et=et||[];et.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(le||"custom")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { keyword: '"+Ne.keyword+"' } ";if(E.opts.messages!==false){j+=" , message: 'should pass \""+Ne.keyword+"\" keyword validation' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+_e+" "}j+=" } "}else{j+=" {} "}var it=j;j=et.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+it+"]); "}else{j+=" validate.errors = ["+it+"]; return false; "}}else{j+=" var err = "+it+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var ot=j;j=et.pop();if(Ue){if(Le.errors){if(Le.errors!="full"){j+=" for (var "+He+"="+Te+"; "+He+"{"use strict";E.exports=function generate_dependencies(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie={},Ne={},Me=E.opts.ownProperties;for(Ue in G){if(Ue=="__proto__")continue;var Le=G[Ue];var Be=Array.isArray(Le)?Ne:Ie;Be[Ue]=Le}j+="var "+_e+" = errors;";var je=E.errorPath;j+="var missing"+$+";";for(var Ue in Ne){Be=Ne[Ue];if(Be.length){j+=" if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}if(ce){j+=" && ( ";var ze=Be;if(ze){var We,Je=-1,Ve=ze.length-1;while(Je0||Le===false:E.util.schemaHasRules(Le,E.RULES.all)){j+=" "+we+" = true; if ( "+le+E.util.getProperty(Ue)+" !== undefined ";if(Me){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(Ue)+"') "}j+=") { ";Ee.schema=Le;Ee.schemaPath=ie+E.util.getProperty(Ue);Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(Ue);j+=" "+E.validate(Ee)+" ";Ee.baseId=tt;j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},20489:E=>{"use strict";E.exports=function generate_enum(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="i"+$,Ie="schema"+$;if(!Ee){j+=" var "+Ie+" = validate.schema"+ie+";"}j+="var "+_e+";";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=""+_e+" = false;for (var "+we+"=0; "+we+"<"+Ie+".length; "+we+"++) if (equal("+le+", "+Ie+"["+we+"])) { "+_e+" = true; break; }";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"enum"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { allowedValues: schema"+$+" } ";if(E.opts.messages!==false){j+=" , message: 'should be equal to one of the allowed values' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" }";if(ce){j+=" else { "}return j}},69090:E=>{"use strict";E.exports=function generate_format(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");if(E.opts.format===false){if(ce){j+=" if (true) { "}return j}var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=E.opts.unknownFormats,we=Array.isArray(Te);if(_e){var Ie="format"+$,Ne="isObject"+$,Me="formatType"+$;j+=" var "+Ie+" = formats["+Ee+"]; var "+Ne+" = typeof "+Ie+" == 'object' && !("+Ie+" instanceof RegExp) && "+Ie+".validate; var "+Me+" = "+Ne+" && "+Ie+".type || 'string'; if ("+Ne+") { ";if(E.async){j+=" var async"+$+" = "+Ie+".async; "}j+=" "+Ie+" = "+Ie+".validate; } if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" (";if(Te!="ignore"){j+=" ("+Ee+" && !"+Ie+" ";if(we){j+=" && self._opts.unknownFormats.indexOf("+Ee+") == -1 "}j+=") || "}j+=" ("+Ie+" && "+Me+" == '"+R+"' && !(typeof "+Ie+" == 'function' ? ";if(E.async){j+=" (async"+$+" ? await "+Ie+"("+le+") : "+Ie+"("+le+")) "}else{j+=" "+Ie+"("+le+") "}j+=" : "+Ie+".test("+le+"))))) {"}else{var Ie=E.formats[G];if(!Ie){if(Te=="ignore"){E.logger.warn('unknown format "'+G+'" ignored in schema at path "'+E.errSchemaPath+'"');if(ce){j+=" if (true) { "}return j}else if(we&&Te.indexOf(G)>=0){if(ce){j+=" if (true) { "}return j}else{throw new Error('unknown format "'+G+'" is used in schema at path "'+E.errSchemaPath+'"')}}var Ne=typeof Ie=="object"&&!(Ie instanceof RegExp)&&Ie.validate;var Me=Ne&&Ie.type||"string";if(Ne){var Le=Ie.async===true;Ie=Ie.validate}if(Me!=R){if(ce){j+=" if (true) { "}return j}if(Le){if(!E.async)throw new Error("async format in sync schema");var Be="formats"+E.util.getProperty(G)+".validate";j+=" if (!(await "+Be+"("+le+"))) { "}else{j+=" if (! ";var Be="formats"+E.util.getProperty(G);if(Ne)Be+=".validate";if(typeof Ie=="function"){j+=" "+Be+"("+le+") "}else{j+=" "+Be+".test("+le+") "}j+=") { "}}var je=je||[];je.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { format: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match format \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ue=j;j=je.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ue+"]); "}else{j+=" validate.errors = ["+Ue+"]; return false; "}}else{j+=" var err = "+Ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}return j}},1636:E=>{"use strict";E.exports=function generate_if(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);Te.level++;var we="valid"+Te.level;var Ie=E.schema["then"],Ne=E.schema["else"],Me=Ie!==undefined&&(E.opts.strictKeywords?typeof Ie=="object"&&Object.keys(Ie).length>0||Ie===false:E.util.schemaHasRules(Ie,E.RULES.all)),Le=Ne!==undefined&&(E.opts.strictKeywords?typeof Ne=="object"&&Object.keys(Ne).length>0||Ne===false:E.util.schemaHasRules(Ne,E.RULES.all)),Be=Te.baseId;if(Me||Le){var je;Te.createErrors=false;Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" var "+Ee+" = errors; var "+_e+" = true; ";var Ue=E.compositeRule;E.compositeRule=Te.compositeRule=true;j+=" "+E.validate(Te)+" ";Te.baseId=Be;Te.createErrors=true;j+=" errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; } ";E.compositeRule=Te.compositeRule=Ue;if(Me){j+=" if ("+we+") { ";Te.schema=E.schema["then"];Te.schemaPath=E.schemaPath+".then";Te.errSchemaPath=E.errSchemaPath+"/then";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'then'; "}else{je="'then'"}j+=" } ";if(Le){j+=" else { "}}else{j+=" if (!"+we+") { "}if(Le){Te.schema=E.schema["else"];Te.schemaPath=E.schemaPath+".else";Te.errSchemaPath=E.errSchemaPath+"/else";j+=" "+E.validate(Te)+" ";Te.baseId=Be;j+=" "+_e+" = "+we+"; ";if(Me&&Le){je="ifClause"+$;j+=" var "+je+" = 'else'; "}else{je="'else'"}j+=" } "}j+=" if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { failingKeyword: "+je+" } ";if(E.opts.messages!==false){j+=" , message: 'should match \"' + "+je+" + '\" schema' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},71001:(E,N,R)=>{"use strict";E.exports={$ref:R(41944),allOf:R(30081),anyOf:R(70019),$comment:R(79878),const:R(23404),contains:R(33224),dependencies:R(19493),enum:R(20489),format:R(69090),if:R(1636),items:R(6060),maximum:R(70507),minimum:R(70507),maxItems:R(6958),minItems:R(6958),maxLength:R(41363),minLength:R(41363),maxProperties:R(25569),minProperties:R(25569),multipleOf:R(54841),not:R(74881),oneOf:R(77675),pattern:R(98676),properties:R(99306),propertyNames:R(28014),required:R(16372),uniqueItems:R(37270),validate:R(85061)}},6060:E=>{"use strict";E.exports=function generate_items(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne="i"+$,Me=Te.dataLevel=E.dataLevel+1,Le="data"+Me,Be=E.baseId;j+="var "+Ee+" = errors;var "+_e+";";if(Array.isArray(G)){var je=E.schema.additionalItems;if(je===false){j+=" "+_e+" = "+le+".length <= "+G.length+"; ";var Ue=ae;ae=E.errSchemaPath+"/additionalItems";j+=" if (!"+_e+") { ";var ze=ze||[];ze.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"additionalItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { limit: "+G.length+" } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have more than "+G.length+" items' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var We=j;j=ze.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+We+"]); "}else{j+=" validate.errors = ["+We+"]; return false; "}}else{j+=" var err = "+We+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";ae=Ue;if(ce){we+="}";j+=" else { "}}var Je=G;if(Je){var Ve,qe=-1,He=Je.length-1;while(qe0||Ve===false:E.util.schemaHasRules(Ve,E.RULES.all)){j+=" "+Ie+" = true; if ("+le+".length > "+qe+") { ";var Ge=le+"["+qe+"]";Te.schema=Ve;Te.schemaPath=ie+"["+qe+"]";Te.errSchemaPath=ae+"/"+qe;Te.errorPath=E.util.getPathExpr(E.errorPath,qe,E.opts.jsonPointers,true);Te.dataPathArr[Me]=qe;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}j+=" } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}}if(typeof je=="object"&&(E.opts.strictKeywords?typeof je=="object"&&Object.keys(je).length>0||je===false:E.util.schemaHasRules(je,E.RULES.all))){Te.schema=je;Te.schemaPath=E.schemaPath+".additionalItems";Te.errSchemaPath=E.errSchemaPath+"/additionalItems";j+=" "+Ie+" = true; if ("+le+".length > "+G.length+") { for (var "+Ne+" = "+G.length+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" } } ";if(ce){j+=" if ("+Ie+") { ";we+="}"}}}else if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Te.schema=G;Te.schemaPath=ie;Te.errSchemaPath=ae;j+=" for (var "+Ne+" = "+0+"; "+Ne+" < "+le+".length; "+Ne+"++) { ";Te.errorPath=E.util.getPathExpr(E.errorPath,Ne,E.opts.jsonPointers,true);var Ge=le+"["+Ne+"]";Te.dataPathArr[Me]=Ne;var Ke=E.validate(Te);Te.baseId=Be;if(E.util.varOccurences(Ke,Le)<2){j+=" "+E.util.varReplace(Ke,Le,Ge)+" "}else{j+=" var "+Le+" = "+Ge+"; "+Ke+" "}if(ce){j+=" if (!"+Ie+") break; "}j+=" }"}if(ce){j+=" "+we+" if ("+Ee+" == errors) {"}return j}},54841:E=>{"use strict";E.exports=function generate_multipleOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}if(!(_e||typeof G=="number")){throw new Error(N+" must be number")}j+="var division"+$+";if (";if(_e){j+=" "+Ee+" !== undefined && ( typeof "+Ee+" != 'number' || "}j+=" (division"+$+" = "+le+" / "+Ee+", ";if(E.opts.multipleOfPrecision){j+=" Math.abs(Math.round(division"+$+") - division"+$+") > 1e-"+E.opts.multipleOfPrecision+" "}else{j+=" division"+$+" !== parseInt(division"+$+") "}j+=" ) ";if(_e){j+=" ) "}j+=" ) { ";var Te=Te||[];Te.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { multipleOf: "+Ee+" } ";if(E.opts.messages!==false){j+=" , message: 'should be multiple of ";if(_e){j+="' + "+Ee}else{j+=""+Ee+"'"}}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var we=j;j=Te.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+we+"]); "}else{j+=" validate.errors = ["+we+"]; return false; "}}else{j+=" var err = "+we+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},74881:E=>{"use strict";E.exports=function generate_not(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);Ee.level++;var Te="valid"+Ee.level;if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;j+=" var "+_e+" = errors; ";var we=E.compositeRule;E.compositeRule=Ee.compositeRule=true;Ee.createErrors=false;var Ie;if(Ee.opts.allErrors){Ie=Ee.opts.allErrors;Ee.opts.allErrors=false}j+=" "+E.validate(Ee)+" ";Ee.createErrors=true;if(Ie)Ee.opts.allErrors=Ie;E.compositeRule=Ee.compositeRule=we;j+=" if ("+Te+") { ";var Ne=Ne||[];Ne.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Me=j;j=Ne.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Me+"]); "}else{j+=" validate.errors = ["+Me+"]; return false; "}}else{j+=" var err = "+Me+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { errors = "+_e+"; if (vErrors !== null) { if ("+_e+") vErrors.length = "+_e+"; else vErrors = null; } ";if(E.opts.allErrors){j+=" } "}}else{j+=" var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'should NOT be valid' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(ce){j+=" if (false) { "}}return j}},77675:E=>{"use strict";E.exports=function generate_oneOf(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee="errs__"+$;var Te=E.util.copy(E);var we="";Te.level++;var Ie="valid"+Te.level;var Ne=Te.baseId,Me="prevValid"+$,Le="passingSchemas"+$;j+="var "+Ee+" = errors , "+Me+" = false , "+_e+" = false , "+Le+" = null; ";var Be=E.compositeRule;E.compositeRule=Te.compositeRule=true;var je=G;if(je){var Ue,ze=-1,We=je.length-1;while(ze0||Ue===false:E.util.schemaHasRules(Ue,E.RULES.all)){Te.schema=Ue;Te.schemaPath=ie+"["+ze+"]";Te.errSchemaPath=ae+"/"+ze;j+=" "+E.validate(Te)+" ";Te.baseId=Ne}else{j+=" var "+Ie+" = true; "}if(ze){j+=" if ("+Ie+" && "+Me+") { "+_e+" = false; "+Le+" = ["+Le+", "+ze+"]; } else { ";we+="}"}j+=" if ("+Ie+") { "+_e+" = "+Me+" = true; "+Le+" = "+ze+"; }"}}E.compositeRule=Te.compositeRule=Be;j+=""+we+"if (!"+_e+") { var err = ";if(E.createErrors!==false){j+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { passingSchemas: "+Le+" } ";if(E.opts.messages!==false){j+=" , message: 'should match exactly one schema in oneOf' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}j+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(vErrors); "}else{j+=" validate.errors = vErrors; return false; "}}j+="} else { errors = "+Ee+"; if (vErrors !== null) { if ("+Ee+") vErrors.length = "+Ee+"; else vErrors = null; }";if(E.opts.allErrors){j+=" } "}return j}},98676:E=>{"use strict";E.exports=function generate_pattern(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e=E.opts.$data&&G&&G.$data,Ee;if(_e){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Ee="schema"+$}else{Ee=G}var Te=_e?"(new RegExp("+Ee+"))":E.usePattern(G);j+="if ( ";if(_e){j+=" ("+Ee+" !== undefined && typeof "+Ee+" != 'string') || "}j+=" !"+Te+".test("+le+") ) { ";var we=we||[];we.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { pattern: ";if(_e){j+=""+Ee}else{j+=""+E.util.toQuotedString(G)}j+=" } ";if(E.opts.messages!==false){j+=" , message: 'should match pattern \"";if(_e){j+="' + "+Ee+" + '"}else{j+=""+E.util.escapeQuotes(G)}j+="\"' "}if(E.opts.verbose){j+=" , schema: ";if(_e){j+="validate.schema"+ie}else{j+=""+E.util.toQuotedString(G)}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ie=j;j=we.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ie+"]); "}else{j+=" validate.errors = ["+Ie+"]; return false; "}}else{j+=" var err = "+Ie+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+="} ";if(ce){j+=" else { "}return j}},99306:E=>{"use strict";E.exports=function generate_properties(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;var Ie="key"+$,Ne="idx"+$,Me=Ee.dataLevel=E.dataLevel+1,Le="data"+Me,Be="dataProperties"+$;var je=Object.keys(G||{}).filter(notProto),Ue=E.schema.patternProperties||{},ze=Object.keys(Ue).filter(notProto),We=E.schema.additionalProperties,Je=je.length||ze.length,Ve=We===false,qe=typeof We=="object"&&Object.keys(We).length,He=E.opts.removeAdditional,Ge=Ve||qe||He,Ke=E.opts.ownProperties,Qe=E.baseId;var Xe=E.schema.required;if(Xe&&!(E.opts.$data&&Xe.$data)&&Xe.length8){j+=" || validate.schema"+ie+".hasOwnProperty("+Ie+") "}else{var Ze=je;if(Ze){var et,tt=-1,rt=Ze.length-1;while(tt0||St===false:E.util.schemaHasRules(St,E.RULES.all)){var Et=E.util.getProperty(et),ht=le+Et,Tt=yt&&St.default!==undefined;Ee.schema=St;Ee.schemaPath=ie+Et;Ee.errSchemaPath=ae+"/"+E.util.escapeFragment(et);Ee.errorPath=E.util.getPath(E.errorPath,et,E.opts.jsonPointers);Ee.dataPathArr[Me]=E.util.toQuotedString(et);var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){_t=E.util.varReplace(_t,Le,ht);var kt=ht}else{var kt=Le;j+=" var "+Le+" = "+ht+"; "}if(Tt){j+=" "+_t+" "}else{if(Ye&&Ye[et]){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = false; ";var ct=E.errorPath,dt=ae,Ct=E.util.escapeQuotes(et);if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPath(ct,et,E.opts.jsonPointers)}ae=E.errSchemaPath+"/required";var pt=pt||[];pt.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+Ct+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+Ct+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var ft=j;j=pt.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+ft+"]); "}else{j+=" validate.errors = ["+ft+"]; return false; "}}else{j+=" var err = "+ft+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}ae=dt;E.errorPath=ct;j+=" } else { "}else{if(ce){j+=" if ( "+kt+" === undefined ";if(Ke){j+=" || ! Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=") { "+we+" = true; } else { "}else{j+=" if ("+kt+" !== undefined ";if(Ke){j+=" && Object.prototype.hasOwnProperty.call("+le+", '"+E.util.escapeQuotes(et)+"') "}j+=" ) { "}}j+=" "+_t+" } "}}if(ce){j+=" if ("+we+") { ";Te+="}"}}}}if(ze.length){var Dt=ze;if(Dt){var it,At=-1,wt=Dt.length-1;while(At0||St===false:E.util.schemaHasRules(St,E.RULES.all)){Ee.schema=St;Ee.schemaPath=E.schemaPath+".patternProperties"+E.util.getProperty(it);Ee.errSchemaPath=E.errSchemaPath+"/patternProperties/"+E.util.escapeFragment(it);if(Ke){j+=" "+Be+" = "+Be+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Be+".length; "+Ne+"++) { var "+Ie+" = "+Be+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" if ("+E.usePattern(it)+".test("+Ie+")) { ";Ee.errorPath=E.util.getPathExpr(E.errorPath,Ie,E.opts.jsonPointers);var ht=le+"["+Ie+"]";Ee.dataPathArr[Me]=Ie;var _t=E.validate(Ee);Ee.baseId=Qe;if(E.util.varOccurences(_t,Le)<2){j+=" "+E.util.varReplace(_t,Le,ht)+" "}else{j+=" var "+Le+" = "+ht+"; "+_t+" "}if(ce){j+=" if (!"+we+") break; "}j+=" } ";if(ce){j+=" else "+we+" = true; "}j+=" } ";if(ce){j+=" if ("+we+") { ";Te+="}"}}}}}if(ce){j+=" "+Te+" if ("+_e+" == errors) {"}return j}},28014:E=>{"use strict";E.exports=function generate_propertyNames(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="errs__"+$;var Ee=E.util.copy(E);var Te="";Ee.level++;var we="valid"+Ee.level;j+="var "+_e+" = errors;";if(E.opts.strictKeywords?typeof G=="object"&&Object.keys(G).length>0||G===false:E.util.schemaHasRules(G,E.RULES.all)){Ee.schema=G;Ee.schemaPath=ie;Ee.errSchemaPath=ae;var Ie="key"+$,Ne="idx"+$,Me="i"+$,Le="' + "+Ie+" + '",Be=Ee.dataLevel=E.dataLevel+1,je="data"+Be,Ue="dataProperties"+$,ze=E.opts.ownProperties,We=E.baseId;if(ze){j+=" var "+Ue+" = undefined; "}if(ze){j+=" "+Ue+" = "+Ue+" || Object.keys("+le+"); for (var "+Ne+"=0; "+Ne+"<"+Ue+".length; "+Ne+"++) { var "+Ie+" = "+Ue+"["+Ne+"]; "}else{j+=" for (var "+Ie+" in "+le+") { "}j+=" var startErrs"+$+" = errors; ";var Je=Ie;var Ve=E.compositeRule;E.compositeRule=Ee.compositeRule=true;var qe=E.validate(Ee);Ee.baseId=We;if(E.util.varOccurences(qe,je)<2){j+=" "+E.util.varReplace(qe,je,Je)+" "}else{j+=" var "+je+" = "+Je+"; "+qe+" "}E.compositeRule=Ee.compositeRule=Ve;j+=" if (!"+we+") { for (var "+Me+"=startErrs"+$+"; "+Me+"{"use strict";E.exports=function generate_ref(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.errSchemaPath+"/"+N;var ae=!E.opts.allErrors;var ce="data"+(q||"");var le="valid"+$;var _e,Ee;if(G=="#"||G=="#/"){if(E.isRoot){_e=E.async;Ee="validate"}else{_e=E.root.schema.$async===true;Ee="root.refVal[0]"}}else{var Te=E.resolveRef(E.baseId,G,E.isRoot);if(Te===undefined){var we=E.MissingRefError.message(E.baseId,G);if(E.opts.missingRefs=="fail"){E.logger.error(we);var Ie=Ie||[];Ie.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"$ref"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ie)+" , params: { ref: '"+E.util.escapeQuotes(G)+"' } ";if(E.opts.messages!==false){j+=" , message: 'can\\'t resolve reference "+E.util.escapeQuotes(G)+"' "}if(E.opts.verbose){j+=" , schema: "+E.util.toQuotedString(G)+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+ce+" "}j+=" } "}else{j+=" {} "}var Ne=j;j=Ie.pop();if(!E.compositeRule&&ae){if(E.async){j+=" throw new ValidationError(["+Ne+"]); "}else{j+=" validate.errors = ["+Ne+"]; return false; "}}else{j+=" var err = "+Ne+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}if(ae){j+=" if (false) { "}}else if(E.opts.missingRefs=="ignore"){E.logger.warn(we);if(ae){j+=" if (true) { "}}else{throw new E.MissingRefError(E.baseId,G,we)}}else if(Te.inline){var Me=E.util.copy(E);Me.level++;var Le="valid"+Me.level;Me.schema=Te.schema;Me.schemaPath="";Me.errSchemaPath=G;var Be=E.validate(Me).replace(/validate\.schema/g,Te.code);j+=" "+Be+" ";if(ae){j+=" if ("+Le+") { "}}else{_e=Te.$async===true||E.async&&Te.$async!==false;Ee=Te.code}}if(Ee){var Ie=Ie||[];Ie.push(j);j="";if(E.opts.passContext){j+=" "+Ee+".call(this, "}else{j+=" "+Ee+"( "}j+=" "+ce+", (dataPath || '')";if(E.errorPath!='""'){j+=" + "+E.errorPath}var je=q?"data"+(q-1||""):"parentData",Ue=q?E.dataPathArr[q]:"parentDataProperty";j+=" , "+je+" , "+Ue+", rootData) ";var ze=j;j=Ie.pop();if(_e){if(!E.async)throw new Error("async schema referenced by sync schema");if(ae){j+=" var "+le+"; "}j+=" try { await "+ze+"; ";if(ae){j+=" "+le+" = true; "}j+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ";if(ae){j+=" "+le+" = false; "}j+=" } ";if(ae){j+=" if ("+le+") { "}}else{j+=" if (!"+ze+") { if (vErrors === null) vErrors = "+Ee+".errors; else vErrors = vErrors.concat("+Ee+".errors); errors = vErrors.length; } ";if(ae){j+=" else { "}}}return j}},16372:E=>{"use strict";E.exports=function generate_required(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}var we="schema"+$;if(!Ee){if(G.length0||je===false:E.util.schemaHasRules(je,E.RULES.all)))){Ie[Ie.length]=Me}}}}else{var Ie=G}}if(Ee||Ie.length){var Ue=E.errorPath,ze=Ee||Ie.length>=E.opts.loopRequired,We=E.opts.ownProperties;if(ce){j+=" var missing"+$+"; ";if(ze){if(!Ee){j+=" var "+we+" = validate.schema"+ie+"; "}var Je="i"+$,Ve="schema"+$+"["+Je+"]",qe="' + "+Ve+" + '";if(E.opts._errorDataPathProperty){E.errorPath=E.util.getPathExpr(Ue,Ve,E.opts.jsonPointers)}j+=" var "+_e+" = true; ";if(Ee){j+=" if (schema"+$+" === undefined) "+_e+" = true; else if (!Array.isArray(schema"+$+")) "+_e+" = false; else {"}j+=" for (var "+Je+" = 0; "+Je+" < "+we+".length; "+Je+"++) { "+_e+" = "+le+"["+we+"["+Je+"]] !== undefined ";if(We){j+=" && Object.prototype.hasOwnProperty.call("+le+", "+we+"["+Je+"]) "}j+="; if (!"+_e+") break; } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var He=He||[];He.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { missingProperty: '"+qe+"' } ";if(E.opts.messages!==false){j+=" , message: '";if(E.opts._errorDataPathProperty){j+="is a required property"}else{j+="should have required property \\'"+qe+"\\'"}j+="' "}if(E.opts.verbose){j+=" , schema: validate.schema"+ie+" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Ge=j;j=He.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Ge+"]); "}else{j+=" validate.errors = ["+Ge+"]; return false; "}}else{j+=" var err = "+Ge+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } else { "}else{j+=" if ( ";var Ke=Ie;if(Ke){var Qe,Je=-1,Xe=Ke.length-1;while(Je{"use strict";E.exports=function generate_uniqueItems(E,N,R){var j=" ";var $=E.level;var q=E.dataLevel;var G=E.schema[N];var ie=E.schemaPath+E.util.getProperty(N);var ae=E.errSchemaPath+"/"+N;var ce=!E.opts.allErrors;var le="data"+(q||"");var _e="valid"+$;var Ee=E.opts.$data&&G&&G.$data,Te;if(Ee){j+=" var schema"+$+" = "+E.util.getData(G.$data,q,E.dataPathArr)+"; ";Te="schema"+$}else{Te=G}if((G||Ee)&&E.opts.uniqueItems!==false){if(Ee){j+=" var "+_e+"; if ("+Te+" === false || "+Te+" === undefined) "+_e+" = true; else if (typeof "+Te+" != 'boolean') "+_e+" = false; else { "}j+=" var i = "+le+".length , "+_e+" = true , j; if (i > 1) { ";var we=E.schema.items&&E.schema.items.type,Ie=Array.isArray(we);if(!we||we=="object"||we=="array"||Ie&&(we.indexOf("object")>=0||we.indexOf("array")>=0)){j+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+le+"[i], "+le+"[j])) { "+_e+" = false; break outer; } } } "}else{j+=" var itemIndices = {}, item; for (;i--;) { var item = "+le+"[i]; ";var Ne="checkDataType"+(Ie?"s":"");j+=" if ("+E.util[Ne](we,"item",E.opts.strictNumbers,true)+") continue; ";if(Ie){j+=" if (typeof item == 'string') item = '\"' + item; "}j+=" if (typeof itemIndices[item] == 'number') { "+_e+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}j+=" } ";if(Ee){j+=" } "}j+=" if (!"+_e+") { ";var Me=Me||[];Me.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(ae)+" , params: { i: i, j: j } ";if(E.opts.messages!==false){j+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(E.opts.verbose){j+=" , schema: ";if(Ee){j+="validate.schema"+ie}else{j+=""+G}j+=" , parentSchema: validate.schema"+E.schemaPath+" , data: "+le+" "}j+=" } "}else{j+=" {} "}var Le=j;j=Me.pop();if(!E.compositeRule&&ce){if(E.async){j+=" throw new ValidationError(["+Le+"]); "}else{j+=" validate.errors = ["+Le+"]; return false; "}}else{j+=" var err = "+Le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}j+=" } ";if(ce){j+=" else { "}}else{if(ce){j+=" if (true) { "}}return j}},85061:E=>{"use strict";E.exports=function generate_validate(E,N,R){var j="";var $=E.schema.$async===true,q=E.util.schemaHasRulesExcept(E.schema,E.RULES.all,"$ref"),G=E.self._getId(E.schema);if(E.opts.strictKeywords){var ie=E.util.schemaUnknownRules(E.schema,E.RULES.keywords);if(ie){var ae="unknown keyword: "+ie;if(E.opts.strictKeywords==="log")E.logger.warn(ae);else throw new Error(ae)}}if(E.isTop){j+=" var validate = ";if($){E.async=true;j+="async "}j+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(G&&(E.opts.sourceCode||E.opts.processCode)){j+=" "+("/*# sourceURL="+G+" */")+" "}}if(typeof E.schema=="boolean"||!(q||E.schema.$ref)){var N="false schema";var ce=E.level;var le=E.dataLevel;var _e=E.schema[N];var Ee=E.schemaPath+E.util.getProperty(N);var Te=E.errSchemaPath+"/"+N;var we=!E.opts.allErrors;var Ie;var Ne="data"+(le||"");var Me="valid"+ce;if(E.schema===false){if(E.isTop){we=true}else{j+=" var "+Me+" = false; "}var Le=Le||[];Le.push(j);j="";if(E.createErrors!==false){j+=" { keyword: '"+(Ie||"false schema")+"' , dataPath: (dataPath || '') + "+E.errorPath+" , schemaPath: "+E.util.toQuotedString(Te)+" , params: {} ";if(E.opts.messages!==false){j+=" , message: 'boolean schema is false' "}if(E.opts.verbose){j+=" , schema: false , parentSchema: validate.schema"+E.schemaPath+" , data: "+Ne+" "}j+=" } "}else{j+=" {} "}var Be=j;j=Le.pop();if(!E.compositeRule&&we){if(E.async){j+=" throw new ValidationError(["+Be+"]); "}else{j+=" validate.errors = ["+Be+"]; return false; "}}else{j+=" var err = "+Be+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(E.isTop){if($){j+=" return data; "}else{j+=" validate.errors = null; return true; "}}else{j+=" var "+Me+" = true; "}}if(E.isTop){j+=" }; return validate; "}return j}if(E.isTop){var je=E.isTop,ce=E.level=0,le=E.dataLevel=0,Ne="data";E.rootId=E.resolve.fullPath(E.self._getId(E.root.schema));E.baseId=E.baseId||E.rootId;delete E.isTop;E.dataPathArr=[""];if(E.schema.default!==undefined&&E.opts.useDefaults&&E.opts.strictDefaults){var Ue="default is ignored in the schema root";if(E.opts.strictDefaults==="log")E.logger.warn(Ue);else throw new Error(Ue)}j+=" var vErrors = null; ";j+=" var errors = 0; ";j+=" if (rootData === undefined) rootData = data; "}else{var ce=E.level,le=E.dataLevel,Ne="data"+(le||"");if(G)E.baseId=E.resolve.url(E.baseId,G);if($&&!E.async)throw new Error("async schema in sync schema");j+=" var errs_"+ce+" = errors;"}var Me="valid"+ce,we=!E.opts.allErrors,ze="",We="";var Ie;var Je=E.schema.type,Ve=Array.isArray(Je);if(Je&&E.opts.nullable&&E.schema.nullable===true){if(Ve){if(Je.indexOf("null")==-1)Je=Je.concat("null")}else if(Je!="null"){Je=[Je,"null"];Ve=true}}if(Ve&&Je.length==1){Je=Je[0];Ve=false}if(E.schema.$ref&&q){if(E.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+E.errSchemaPath+'" (see option extendRefs)')}else if(E.opts.extendRefs!==true){q=false;E.logger.warn('$ref: keywords ignored in schema at path "'+E.errSchemaPath+'"')}}if(E.schema.$comment&&E.opts.$comment){j+=" "+E.RULES.all.$comment.code(E,"$comment")}if(Je){if(E.opts.coerceTypes){var qe=E.util.coerceToTypes(E.opts.coerceTypes,Je)}var He=E.RULES.types[Je];if(qe||Ve||He===true||He&&!$shouldUseGroup(He)){var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type";var Ee=E.schemaPath+".type",Te=E.errSchemaPath+"/type",Ge=Ve?"checkDataTypes":"checkDataType";j+=" if ("+E.util[Ge](Je,Ne,E.opts.strictNumbers,true)+") { ";if(qe){var Ke="dataType"+ce,Qe="coerced"+ce;j+=" var "+Ke+" = typeof "+Ne+"; var "+Qe+" = undefined; ";if(E.opts.coerceTypes=="array"){j+=" if ("+Ke+" == 'object' && Array.isArray("+Ne+") && "+Ne+".length == 1) { "+Ne+" = "+Ne+"[0]; "+Ke+" = typeof "+Ne+"; if ("+E.util.checkDataType(E.schema.type,Ne,E.opts.strictNumbers)+") "+Qe+" = "+Ne+"; } "}j+=" if ("+Qe+" !== undefined) ; ";var Xe=qe;if(Xe){var Ye,Ze=-1,et=Xe.length-1;while(Ze{"use strict";var j=/^[a-z_$][a-z0-9_$-]*$/i;var $=R(99819);var q=R(86205);E.exports={add:addKeyword,get:getKeyword,remove:removeKeyword,validate:validateKeyword};function addKeyword(E,N){var R=this.RULES;if(R.keywords[E])throw new Error("Keyword "+E+" is already defined");if(!j.test(E))throw new Error("Keyword "+E+" is not a valid identifier");if(N){this.validateKeyword(N,true);var q=N.type;if(Array.isArray(q)){for(var G=0;G{"use strict";E=R.nmd(E);const wrapAnsi16=(E,N)=>(...R)=>{const j=E(...R);return`[${j+N}m`};const wrapAnsi256=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};5;${j}m`};const wrapAnsi16m=(E,N)=>(...R)=>{const j=E(...R);return`[${38+N};2;${j[0]};${j[1]};${j[2]}m`};const ansi2ansi=E=>E;const rgb2rgb=(E,N,R)=>[E,N,R];const setLazyProperty=(E,N,R)=>{Object.defineProperty(E,N,{get:()=>{const j=R();Object.defineProperty(E,N,{value:j,enumerable:true,configurable:true});return j},enumerable:true,configurable:true})};let j;const makeDynamicStyles=(E,N,$,q)=>{if(j===undefined){j=R(76843)}const G=q?10:0;const ie={};for(const[R,q]of Object.entries(j)){const j=R==="ansi16"?"ansi":R;if(R===N){ie[j]=E($,G)}else if(typeof q==="object"){ie[j]=E(q[N],G)}}return ie};function assembleStyles(){const E=new Map;const N={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};N.color.gray=N.color.blackBright;N.bgColor.bgGray=N.bgColor.bgBlackBright;N.color.grey=N.color.blackBright;N.bgColor.bgGrey=N.bgColor.bgBlackBright;for(const[R,j]of Object.entries(N)){for(const[R,$]of Object.entries(j)){N[R]={open:`[${$[0]}m`,close:`[${$[1]}m`};j[R]=N[R];E.set($[0],$[1])}Object.defineProperty(N,R,{value:j,enumerable:false})}Object.defineProperty(N,"codes",{value:E,enumerable:false});N.color.close="";N.bgColor.close="";setLazyProperty(N.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,false)));setLazyProperty(N.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,false)));setLazyProperty(N.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,false)));setLazyProperty(N.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,true)));setLazyProperty(N.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,true)));return N}Object.defineProperty(E,"exports",{enumerable:true,get:assembleStyles})},33775:(E,N,R)=>{const j=R(24253);const $={};for(const E of Object.keys(j)){$[j[E]]=E}const q={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};E.exports=q;for(const E of Object.keys(q)){if(!("channels"in q[E])){throw new Error("missing channels property: "+E)}if(!("labels"in q[E])){throw new Error("missing channel labels property: "+E)}if(q[E].labels.length!==q[E].channels){throw new Error("channel and label counts mismatch: "+E)}const{channels:N,labels:R}=q[E];delete q[E].channels;delete q[E].labels;Object.defineProperty(q[E],"channels",{value:N});Object.defineProperty(q[E],"labels",{value:R})}q.rgb.hsl=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(N,R,j);const q=Math.max(N,R,j);const G=q-$;let ie;let ae;if(q===$){ie=0}else if(N===q){ie=(R-j)/G}else if(R===q){ie=2+(j-N)/G}else if(j===q){ie=4+(N-R)/G}ie=Math.min(ie*60,360);if(ie<0){ie+=360}const ce=($+q)/2;if(q===$){ae=0}else if(ce<=.5){ae=G/(q+$)}else{ae=G/(2-q-$)}return[ie,ae*100,ce*100]};q.rgb.hsv=function(E){let N;let R;let j;let $;let q;const G=E[0]/255;const ie=E[1]/255;const ae=E[2]/255;const ce=Math.max(G,ie,ae);const le=ce-Math.min(G,ie,ae);const diffc=function(E){return(ce-E)/6/le+1/2};if(le===0){$=0;q=0}else{q=le/ce;N=diffc(G);R=diffc(ie);j=diffc(ae);if(G===ce){$=j-R}else if(ie===ce){$=1/3+N-j}else if(ae===ce){$=2/3+R-N}if($<0){$+=1}else if($>1){$-=1}}return[$*360,q*100,ce*100]};q.rgb.hwb=function(E){const N=E[0];const R=E[1];let j=E[2];const $=q.rgb.hsl(E)[0];const G=1/255*Math.min(N,Math.min(R,j));j=1-1/255*Math.max(N,Math.max(R,j));return[$,G*100,j*100]};q.rgb.cmyk=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.min(1-N,1-R,1-j);const q=(1-N-$)/(1-$)||0;const G=(1-R-$)/(1-$)||0;const ie=(1-j-$)/(1-$)||0;return[q*100,G*100,ie*100,$*100]};function comparativeDistance(E,N){return(E[0]-N[0])**2+(E[1]-N[1])**2+(E[2]-N[2])**2}q.rgb.keyword=function(E){const N=$[E];if(N){return N}let R=Infinity;let q;for(const N of Object.keys(j)){const $=j[N];const G=comparativeDistance(E,$);if(G.04045?((N+.055)/1.055)**2.4:N/12.92;R=R>.04045?((R+.055)/1.055)**2.4:R/12.92;j=j>.04045?((j+.055)/1.055)**2.4:j/12.92;const $=N*.4124+R*.3576+j*.1805;const q=N*.2126+R*.7152+j*.0722;const G=N*.0193+R*.1192+j*.9505;return[$*100,q*100,G*100]};q.rgb.lab=function(E){const N=q.rgb.xyz(E);let R=N[0];let j=N[1];let $=N[2];R/=95.047;j/=100;$/=108.883;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;$=$>.008856?$**(1/3):7.787*$+16/116;const G=116*j-16;const ie=500*(R-j);const ae=200*(j-$);return[G,ie,ae]};q.hsl.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;if(R===0){G=j*255;return[G,G,G]}if(j<.5){$=j*(1+R)}else{$=j+R-j*R}const ie=2*j-$;const ae=[0,0,0];for(let E=0;E<3;E++){q=N+1/3*-(E-1);if(q<0){q++}if(q>1){q--}if(6*q<1){G=ie+($-ie)*6*q}else if(2*q<1){G=$}else if(3*q<2){G=ie+($-ie)*(2/3-q)*6}else{G=ie}ae[E]=G*255}return ae};q.hsl.hsv=function(E){const N=E[0];let R=E[1]/100;let j=E[2]/100;let $=R;const q=Math.max(j,.01);j*=2;R*=j<=1?j:2-j;$*=q<=1?q:2-q;const G=(j+R)/2;const ie=j===0?2*$/(q+$):2*R/(j+R);return[N,ie*100,G*100]};q.hsv.rgb=function(E){const N=E[0]/60;const R=E[1]/100;let j=E[2]/100;const $=Math.floor(N)%6;const q=N-Math.floor(N);const G=255*j*(1-R);const ie=255*j*(1-R*q);const ae=255*j*(1-R*(1-q));j*=255;switch($){case 0:return[j,ae,G];case 1:return[ie,j,G];case 2:return[G,j,ae];case 3:return[G,ie,j];case 4:return[ae,G,j];case 5:return[j,G,ie]}};q.hsv.hsl=function(E){const N=E[0];const R=E[1]/100;const j=E[2]/100;const $=Math.max(j,.01);let q;let G;G=(2-R)*j;const ie=(2-R)*$;q=R*$;q/=ie<=1?ie:2-ie;q=q||0;G/=2;return[N,q*100,G*100]};q.hwb.rgb=function(E){const N=E[0]/360;let R=E[1]/100;let j=E[2]/100;const $=R+j;let q;if($>1){R/=$;j/=$}const G=Math.floor(6*N);const ie=1-j;q=6*N-G;if((G&1)!==0){q=1-q}const ae=R+q*(ie-R);let ce;let le;let _e;switch(G){default:case 6:case 0:ce=ie;le=ae;_e=R;break;case 1:ce=ae;le=ie;_e=R;break;case 2:ce=R;le=ie;_e=ae;break;case 3:ce=R;le=ae;_e=ie;break;case 4:ce=ae;le=R;_e=ie;break;case 5:ce=ie;le=R;_e=ae;break}return[ce*255,le*255,_e*255]};q.cmyk.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;const $=E[3]/100;const q=1-Math.min(1,N*(1-$)+$);const G=1-Math.min(1,R*(1-$)+$);const ie=1-Math.min(1,j*(1-$)+$);return[q*255,G*255,ie*255]};q.xyz.rgb=function(E){const N=E[0]/100;const R=E[1]/100;const j=E[2]/100;let $;let q;let G;$=N*3.2406+R*-1.5372+j*-.4986;q=N*-.9689+R*1.8758+j*.0415;G=N*.0557+R*-.204+j*1.057;$=$>.0031308?1.055*$**(1/2.4)-.055:$*12.92;q=q>.0031308?1.055*q**(1/2.4)-.055:q*12.92;G=G>.0031308?1.055*G**(1/2.4)-.055:G*12.92;$=Math.min(Math.max(0,$),1);q=Math.min(Math.max(0,q),1);G=Math.min(Math.max(0,G),1);return[$*255,q*255,G*255]};q.xyz.lab=function(E){let N=E[0];let R=E[1];let j=E[2];N/=95.047;R/=100;j/=108.883;N=N>.008856?N**(1/3):7.787*N+16/116;R=R>.008856?R**(1/3):7.787*R+16/116;j=j>.008856?j**(1/3):7.787*j+16/116;const $=116*R-16;const q=500*(N-R);const G=200*(R-j);return[$,q,G]};q.lab.xyz=function(E){const N=E[0];const R=E[1];const j=E[2];let $;let q;let G;q=(N+16)/116;$=R/500+q;G=q-j/200;const ie=q**3;const ae=$**3;const ce=G**3;q=ie>.008856?ie:(q-16/116)/7.787;$=ae>.008856?ae:($-16/116)/7.787;G=ce>.008856?ce:(G-16/116)/7.787;$*=95.047;q*=100;G*=108.883;return[$,q,G]};q.lab.lch=function(E){const N=E[0];const R=E[1];const j=E[2];let $;const q=Math.atan2(j,R);$=q*360/2/Math.PI;if($<0){$+=360}const G=Math.sqrt(R*R+j*j);return[N,G,$]};q.lch.lab=function(E){const N=E[0];const R=E[1];const j=E[2];const $=j/360*2*Math.PI;const q=R*Math.cos($);const G=R*Math.sin($);return[N,q,G]};q.rgb.ansi16=function(E,N=null){const[R,j,$]=E;let G=N===null?q.rgb.hsv(E)[2]:N;G=Math.round(G/50);if(G===0){return 30}let ie=30+(Math.round($/255)<<2|Math.round(j/255)<<1|Math.round(R/255));if(G===2){ie+=60}return ie};q.hsv.ansi16=function(E){return q.rgb.ansi16(q.hsv.rgb(E),E[2])};q.rgb.ansi256=function(E){const N=E[0];const R=E[1];const j=E[2];if(N===R&&R===j){if(N<8){return 16}if(N>248){return 231}return Math.round((N-8)/247*24)+232}const $=16+36*Math.round(N/255*5)+6*Math.round(R/255*5)+Math.round(j/255*5);return $};q.ansi16.rgb=function(E){let N=E%10;if(N===0||N===7){if(E>50){N+=3.5}N=N/10.5*255;return[N,N,N]}const R=(~~(E>50)+1)*.5;const j=(N&1)*R*255;const $=(N>>1&1)*R*255;const q=(N>>2&1)*R*255;return[j,$,q]};q.ansi256.rgb=function(E){if(E>=232){const N=(E-232)*10+8;return[N,N,N]}E-=16;let N;const R=Math.floor(E/36)/5*255;const j=Math.floor((N=E%36)/6)/5*255;const $=N%6/5*255;return[R,j,$]};q.rgb.hex=function(E){const N=((Math.round(E[0])&255)<<16)+((Math.round(E[1])&255)<<8)+(Math.round(E[2])&255);const R=N.toString(16).toUpperCase();return"000000".substring(R.length)+R};q.hex.rgb=function(E){const N=E.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!N){return[0,0,0]}let R=N[0];if(N[0].length===3){R=R.split("").map((E=>E+E)).join("")}const j=parseInt(R,16);const $=j>>16&255;const q=j>>8&255;const G=j&255;return[$,q,G]};q.rgb.hcg=function(E){const N=E[0]/255;const R=E[1]/255;const j=E[2]/255;const $=Math.max(Math.max(N,R),j);const q=Math.min(Math.min(N,R),j);const G=$-q;let ie;let ae;if(G<1){ie=q/(1-G)}else{ie=0}if(G<=0){ae=0}else if($===N){ae=(R-j)/G%6}else if($===R){ae=2+(j-N)/G}else{ae=4+(N-R)/G}ae/=6;ae%=1;return[ae*360,G*100,ie*100]};q.hsl.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=R<.5?2*N*R:2*N*(1-R);let $=0;if(j<1){$=(R-.5*j)/(1-j)}return[E[0],j*100,$*100]};q.hsv.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=N*R;let $=0;if(j<1){$=(R-j)/(1-j)}return[E[0],j*100,$*100]};q.hcg.rgb=function(E){const N=E[0]/360;const R=E[1]/100;const j=E[2]/100;if(R===0){return[j*255,j*255,j*255]}const $=[0,0,0];const q=N%1*6;const G=q%1;const ie=1-G;let ae=0;switch(Math.floor(q)){case 0:$[0]=1;$[1]=G;$[2]=0;break;case 1:$[0]=ie;$[1]=1;$[2]=0;break;case 2:$[0]=0;$[1]=1;$[2]=G;break;case 3:$[0]=0;$[1]=ie;$[2]=1;break;case 4:$[0]=G;$[1]=0;$[2]=1;break;default:$[0]=1;$[1]=0;$[2]=ie}ae=(1-R)*j;return[(R*$[0]+ae)*255,(R*$[1]+ae)*255,(R*$[2]+ae)*255]};q.hcg.hsv=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);let $=0;if(j>0){$=N/j}return[E[0],$*100,j*100]};q.hcg.hsl=function(E){const N=E[1]/100;const R=E[2]/100;const j=R*(1-N)+.5*N;let $=0;if(j>0&&j<.5){$=N/(2*j)}else if(j>=.5&&j<1){$=N/(2*(1-j))}return[E[0],$*100,j*100]};q.hcg.hwb=function(E){const N=E[1]/100;const R=E[2]/100;const j=N+R*(1-N);return[E[0],(j-N)*100,(1-j)*100]};q.hwb.hcg=function(E){const N=E[1]/100;const R=E[2]/100;const j=1-R;const $=j-N;let q=0;if($<1){q=(j-$)/(1-$)}return[E[0],$*100,q*100]};q.apple.rgb=function(E){return[E[0]/65535*255,E[1]/65535*255,E[2]/65535*255]};q.rgb.apple=function(E){return[E[0]/255*65535,E[1]/255*65535,E[2]/255*65535]};q.gray.rgb=function(E){return[E[0]/100*255,E[0]/100*255,E[0]/100*255]};q.gray.hsl=function(E){return[0,0,E[0]]};q.gray.hsv=q.gray.hsl;q.gray.hwb=function(E){return[0,100,E[0]]};q.gray.cmyk=function(E){return[0,0,0,E[0]]};q.gray.lab=function(E){return[E[0],0,0]};q.gray.hex=function(E){const N=Math.round(E[0]/100*255)&255;const R=(N<<16)+(N<<8)+N;const j=R.toString(16).toUpperCase();return"000000".substring(j.length)+j};q.rgb.gray=function(E){const N=(E[0]+E[1]+E[2])/3;return[N/255*100]}},76843:(E,N,R)=>{const j=R(33775);const $=R(2581);const q={};const G=Object.keys(j);function wrapRaw(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}return E(N)};if("conversion"in E){wrappedFn.conversion=E.conversion}return wrappedFn}function wrapRounded(E){const wrappedFn=function(...N){const R=N[0];if(R===undefined||R===null){return R}if(R.length>1){N=R}const j=E(N);if(typeof j==="object"){for(let E=j.length,N=0;N{q[E]={};Object.defineProperty(q[E],"channels",{value:j[E].channels});Object.defineProperty(q[E],"labels",{value:j[E].labels});const N=$(E);const R=Object.keys(N);R.forEach((R=>{const j=N[R];q[E][R]=wrapRounded(j);q[E][R].raw=wrapRaw(j)}))}));E.exports=q},2581:(E,N,R)=>{const j=R(33775);function buildGraph(){const E={};const N=Object.keys(j);for(let R=N.length,j=0;j{function BrowserslistError(E){this.name="BrowserslistError";this.message=E;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;E.exports=BrowserslistError},69328:(E,N,R)=>{var j=R(76052);var $=R(92406).D;var q=R(78864);var G=R(71017);var ie=R(46233);var ae=R(72464);var ce=R(81886);var le=365.259641*24*60*60*1e3;var _e=37;var Ee=1;var Te=2;function isVersionsMatch(E,N){return(E+".").indexOf(N+".")===0}function isEolReleased(E){var N=E.slice(1);return j.some((function(E){return isVersionsMatch(E.version,N)}))}function normalize(E){return E.filter((function(E){return typeof E==="string"}))}function normalizeElectron(E){var N=E;if(E.split(".").length===3){N=E.split(".").slice(0,-1).join(".")}return N}function nameMapper(E){return function mapName(N){return E+" "+N}}function getMajor(E){return parseInt(E.split(".")[0])}function getMajorVersions(E,N){if(E.length===0)return[];var R=uniq(E.map(getMajor));var j=R[R.length-N];if(!j){return E}var $=[];for(var q=E.length-1;q>=0;q--){if(j>getMajor(E[q]))break;$.unshift(E[q])}return $}function uniq(E){var N=[];for(var R=0;R"){return function(E){return parseFloat(E)>N}}else if(E===">="){return function(E){return parseFloat(E)>=N}}else if(E==="<"){return function(E){return parseFloat(E)"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>0}}else if(E===">="){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(E,N)>=0}}else if(E==="<"){return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>0}}else{return function(E){E=E.split(".").map(parseSimpleInt);return compareSemver(N,E)>=0}}}function parseSimpleInt(E){return parseInt(E)}function compare(E,N){if(EN)return+1;return 0}function compareSemver(E,N){return compare(parseInt(E[0]),parseInt(N[0]))||compare(parseInt(E[1]||"0"),parseInt(N[1]||"0"))||compare(parseInt(E[2]||"0"),parseInt(N[2]||"0"))}function semverFilterLoose(E,N){N=N.split(".").map(parseSimpleInt);if(typeof N[1]==="undefined"){N[1]="x"}switch(E){case"<=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)<=0};default:case">=":return function(E){E=E.split(".").map(parseSimpleInt);return compareSemverLoose(E,N)>=0}}}function compareSemverLoose(E,N){if(E[0]!==N[0]){return E[0]=E}));return R.concat(q.map(nameMapper($.name)))}),[])}function cloneData(E){return{name:E.name,versions:E.versions,released:E.released,releaseDate:E.releaseDate}}function mapVersions(E,N){E.versions=E.versions.map((function(E){return N[E]||E}));E.released=E.versions.map((function(E){return N[E]||E}));var R={};for(var j in E.releaseDate){R[N[j]||j]=E.releaseDate[j]}E.releaseDate=R;return E}function byName(E,N){E=E.toLowerCase();E=browserslist.aliases[E]||E;if(N.mobileToDesktop&&browserslist.desktopNames[E]){var R=browserslist.data[browserslist.desktopNames[E]];if(E==="android"){return normalizeAndroidData(cloneData(browserslist.data[E]),R)}else{var j=cloneData(R);j.name=E;if(E==="op_mob"){j=mapVersions(j,{"10.0-10.1":"10"})}return j}}return browserslist.data[E]}function normalizeAndroidVersions(E,N){var R=_e;var j=N[N.length-1];return E.filter((function(E){return/^(?:[2-4]\.|[34]$)/.test(E)})).concat(N.slice(R-j-1))}function normalizeAndroidData(E,N){E.released=normalizeAndroidVersions(E.released,N.released);E.versions=normalizeAndroidVersions(E.versions,N.versions);return E}function checkName(E,N){var R=byName(E,N);if(!R)throw new ae("Unknown browser "+E);return R}function unknownQuery(E){return new ae("Unknown browser query `"+E+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterAndroid(E,N,R){if(R.mobileToDesktop)return E;var j=browserslist.data.android.released;var $=j[j.length-1];var q=$-_e-N;if(q>0){return E.slice(-1)}else{return E.slice(q-1)}}function resolve(E,N){if(Array.isArray(E)){E=flatten(E.map(parse))}else{E=parse(E)}return E.reduce((function(E,R,j){var $=R.queryString;var q=$.indexOf("not ")===0;if(q){if(j===0){throw new ae("Write any browsers query (for instance, `defaults`) "+"before `"+$+"`")}$=$.slice(4)}for(var G=0;G 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=ce.clearCaches;browserslist.parseConfig=ce.parseConfig;browserslist.readConfig=ce.readConfig;browserslist.findConfig=ce.findConfig;browserslist.loadConfig=ce.loadConfig;browserslist.coverage=function(E,N){var R;if(typeof N==="undefined"){R=browserslist.usage.global}else if(N==="my stats"){var j={};j.path=G.resolve?G.resolve("."):".";var $=ce.getStat(j);if(!$){throw new ae("Custom usage statistics was not provided")}R={};for(var q in $){fillUsage(R,q,$[q])}}else if(typeof N==="string"){if(N.length>2){N=N.toLowerCase()}else{N=N.toUpperCase()}ce.loadCountry(browserslist.usage,N,browserslist.data);R=browserslist.usage[N]}else{if("dataByBrowser"in N){N=N.dataByBrowser}R={};for(var ie in N){for(var le in N[ie]){R[ie+" "+le]=N[ie][le]}}}return E.reduce((function(E,N){var j=R[N];if(j===undefined){j=R[N.replace(/ \S+$/," 0")]}return E+(j||0)}),0)};function nodeQuery(E,N){var R=j.filter((function(E){return E.name==="nodejs"}));var $=R.filter((function(E){return isVersionsMatch(E.version,N)}));if($.length===0){if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+N+" of Node.js")}}return["node "+$[$.length-1].version]}function sinceQuery(E,N,R,j){N=parseInt(N);R=parseInt(R||"01")-1;j=parseInt(j||"01");return filterByYear(Date.UTC(N,R,j,0,0,0),E)}function coverQuery(E,N,R){N=parseFloat(N);var j=browserslist.usage.global;if(R){if(R.match(/^my\s+stats$/)){if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}j=E.customUsage}else{var $;if(R.length===2){$=R.toUpperCase()}else{$=R.toLowerCase()}ce.loadCountry(browserslist.usage,$,browserslist.data);j=browserslist.usage[$]}}var q=Object.keys(j).sort((function(E,N){return j[N]-j[E]}));var G=0;var ie=[];var le;for(var _e=0;_e<=q.length;_e++){le=q[_e];if(j[le]===0)break;G+=j[le];ie.push(le);if(G>=N)break}return ie}var Ie=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=getMajorVersions($.released,N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(E,N){return Object.keys($).reduce((function(R,j){var $=byName(j,E);if(!$)return R;var q=$.released.slice(-N);q=q.map(nameMapper($.name));if($.name==="android"){q=filterAndroid(q,N,E)}return R.concat(q)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(E,N){var R=getMajorVersions(Object.keys(ie),N);return R.map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=getMajorVersions(j.released,N);var q=$.map(nameMapper(j.name));if(j.name==="android"){q=filterAndroid(q,N,E)}return q}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(E,N){return Object.keys(ie).slice(-N).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(E,N,R){var j=checkName(R,E);var $=j.released.slice(-N).map(nameMapper(j.name));if(j.name==="android"){$=filterAndroid($,N,E)}return $}},{regexp:/^unreleased\s+versions$/i,select:function(E){return Object.keys($).reduce((function(N,R){var j=byName(R,E);if(!j)return N;var $=j.versions.filter((function(E){return j.released.indexOf(E)===-1}));$=$.map(nameMapper(j.name));return N.concat($)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(E,N){var R=checkName(N,E);return R.versions.filter((function(E){return R.released.indexOf(E)===-1})).map(nameMapper(R.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(E,N){return filterByYear(Date.now()-le*N,E)}},{regexp:/^since (\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(E,N,R){R=parseFloat(R);var j=browserslist.usage.global;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(E,N,R){R=parseFloat(R);if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var j=E.customUsage;return Object.keys(j).reduce((function(E,$){if(N===">"){if(j[$]>R){E.push($)}}else if(N==="<"){if(j[$]=R){E.push($)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(E,N,R,j){R=parseFloat(R);var $=ce.loadStat(E,j,browserslist.data);if($){E.customUsage={};for(var q in $){fillUsage(E.customUsage,q,$[q])}}if(!E.customUsage){throw new ae("Custom usage statistics was not provided")}var G=E.customUsage;return Object.keys(G).reduce((function(E,j){if(N===">"){if(G[j]>R){E.push(j)}}else if(N==="<"){if(G[j]=R){E.push(j)}return E}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(E,N,R,j){R=parseFloat(R);if(j.length===2){j=j.toUpperCase()}else{j=j.toLowerCase()}ce.loadCountry(browserslist.usage,j,browserslist.data);var $=browserslist.usage[j];return Object.keys($).reduce((function(E,j){if(N===">"){if($[j]>R){E.push(j)}}else if(N==="<"){if($[j]=R){E.push(j)}return E}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/,select:coverQuery},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/,select:coverQuery},{regexp:/^supports\s+([\w-]+)$/,select:function(E,N){ce.loadFeature(browserslist.cache,N);var R=browserslist.cache[N];return Object.keys(R).reduce((function(E,N){var j=R[N];if(j.indexOf("y")>=0||j.indexOf("a")>=0){E.push(N)}return E}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(N);var $=normalizeElectron(R);if(!ie[j]){throw new ae("Unknown version "+N+" of electron")}if(!ie[$]){throw new ae("Unknown version "+R+" of electron")}N=parseFloat(N);R=parseFloat(R);return Object.keys(ie).filter((function(E){var j=parseFloat(E);return j>=N&&j<=R})).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(semverFilterLoose(">=",N)).filter(semverFilterLoose("<=",R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(E,N,R,j){var $=checkName(N,E);R=parseFloat(normalizeVersion($,R)||R);j=parseFloat(normalizeVersion($,j)||j);function filter(E){var N=parseFloat(E);return N>=R&&N<=j}return $.released.filter(filter).map(nameMapper($.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var j=normalizeElectron(R);return Object.keys(ie).filter(generateFilter(N,j)).map((function(E){return"chrome "+ie[E]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(E,N,R){var $=j.filter((function(E){return E.name==="nodejs"})).map((function(E){return E.version}));return $.filter(generateSemverFilter(N,R)).map((function(E){return"node "+E}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(E,N,R,j){var $=checkName(N,E);var q=browserslist.versionAliases[$.name][j];if(q){j=q}return $.released.filter(generateFilter(R,j)).map((function(E){return $.name+" "+E}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(E,N){var R=normalizeElectron(N);var j=ie[R];if(!j){throw new ae("Unknown version "+N+" of electron")}return["chrome "+j]}},{regexp:/^node\s+(\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},{regexp:/^current\s+node$/i,select:function(E){return[ce.currentNode(resolve,E)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(E){var N=Date.now();var R=Object.keys(q).filter((function(E){return NDate.parse(q[E].start)&&isEolReleased(E)})).map((function(E){return"node "+E.slice(1)}));return resolve(R,E)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(E,N,R){if(/^tp$/i.test(R))R="TP";var j=checkName(N,E);var $=normalizeVersion(j,R);if($){R=$}else{if(R.indexOf(".")===-1){$=R+".0"}else{$=R.replace(/\.0$/,"")}$=normalizeVersion(j,$);if($){R=$}else if(E.ignoreUnknownVersions){return[]}else{throw new ae("Unknown version "+R+" of "+N)}}return[j.name+" "+R]}},{regexp:/^browserslist config$/i,select:function(E){return browserslist(undefined,E)}},{regexp:/^extends (.+)$/i,select:function(E,N){return resolve(ce.loadQueries(E,N),E)}},{regexp:/^defaults$/i,select:function(E){return resolve(browserslist.defaults,E)}},{regexp:/^dead$/i,select:function(E){var N=["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(N,E)}},{regexp:/^(\w+)$/i,select:function(E,N){if(byName(N,E)){throw new ae("Specify versions in Browserslist query for browser "+N)}else{throw unknownQuery(N)}}}];(function(){for(var E in $){var N=$[E];browserslist.data[E]={name:E,versions:normalize($[E].versions),released:normalize($[E].versions.slice(0,-3)),releaseDate:$[E].release_date};fillUsage(browserslist.usage.global,E,N.usage_global);browserslist.versionAliases[E]={};for(var R=0;R{var j=R(30048)["default"];var $=R(24356)["default"];var q=R(71017);var G=R(57147);var ie=R(72464);var ae=/^\s*\[(.+)]\s*$/;var ce=/^browserslist-config-/;var le=/@[^/]+\/browserslist-config(-|$|\/)/;var _e=6*30*24*60*60*1e3;var Ee="Browserslist config should be a string or an array "+"of strings with browser queries";var Te=false;var we={};var Ie={};function checkExtend(E){var N=" Use `dangerousExtend` option to disable.";if(!ce.test(E)&&!le.test(E)){throw new ie("Browserslist config needs `browserslist-config-` prefix. "+N)}if(E.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new ie("`.` not allowed in Browserslist config name. "+N)}if(E.indexOf("node_modules")!==-1){throw new ie("`node_modules` not allowed in Browserslist config."+N)}}function isFile(E){if(E in we){return we[E]}var N=G.existsSync(E)&&G.statSync(E).isFile();if(!process.env.BROWSERSLIST_DISABLE_CACHE){we[E]=N}return N}function eachParent(E,N){var R=isFile(E)?q.dirname(E):E;var j=q.resolve(R);do{var $=N(j);if(typeof $!=="undefined")return $}while(j!==(j=q.dirname(j)));return undefined}function check(E){if(Array.isArray(E)){for(var N=0;N{var N=Object.prototype.toString;var R=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(E){return N.call(E).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(E,N,j){N>>>=0;var $=E.byteLength-N;if($<0){throw new RangeError("'offset' is out of bounds")}if(j===undefined){j=$}else{j>>>=0;if(j>$){throw new RangeError("'length' is out of bounds")}}return R?Buffer.from(E.slice(N,N+j)):new Buffer(new Uint8Array(E.slice(N,N+j)))}function fromString(E,N){if(typeof N!=="string"||N===""){N="utf8"}if(!Buffer.isEncoding(N)){throw new TypeError('"encoding" must be a valid string encoding')}return R?Buffer.from(E,N):new Buffer(E,N)}function bufferFrom(E,N,j){if(typeof E==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(E)){return fromArrayBuffer(E,N,j)}if(typeof E==="string"){return fromString(E,N)}return R?Buffer.from(E):new Buffer(E)}E.exports=bufferFrom},12161:E=>{E.exports={A:{A:{J:.0131217,D:.00621152,E:.0199047,F:.0928884,A:.0132698,B:.849265,gB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","gB","J","D","E","F","A","B","","",""],E:"IE",F:{gB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008408,K:.004267,L:.004204,G:.004204,M:.008408,N:.033632,O:.092488,R:0,S:.004298,T:.00944,U:.00415,V:.008408,W:.008408,X:.012612,Y:.012612,Z:.016816,P:.079876,a:3.01006,H:.2102},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","R","S","T","U","V","W","X","Y","Z","P","a","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,R:1579046400,S:1581033600,T:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,P:1614816e3,a:1618358400,H:1622073600},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.058856,1:.004204,2:.004204,3:.004525,4:.004271,5:.008408,6:.004538,7:.004267,8:.004204,9:.071468,hB:.012813,YB:.004271,I:.02102,b:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.008408,C:.004471,K:.004486,L:.00453,G:.008542,M:.004417,N:.004425,O:.008542,c:.004443,d:.004283,e:.008542,f:.013698,g:.008542,h:.008786,i:.017084,j:.004317,k:.004393,l:.004418,m:.008834,n:.008542,o:.008928,p:.004471,q:.009284,r:.004707,s:.009076,t:.004425,u:.004783,v:.004271,w:.004783,x:.00487,y:.005029,z:.0047,AB:.004335,BB:.004204,CB:.004204,DB:.012612,EB:.004425,FB:.004204,ZB:.004204,GB:.008408,aB:.00472,Q:.004425,HB:.02102,IB:.00415,JB:.004267,KB:.008408,LB:.004267,MB:.012612,NB:.00415,OB:.004204,PB:.004425,QB:.008408,RB:.00415,SB:.00415,TB:.008542,UB:.004298,VB:.004204,bB:.14714,R:.008408,S:.008408,T:.012612,iB:.016816,U:.012612,V:.025224,W:.02102,X:.033632,Y:.071468,Z:2.3122,P:.029428,a:0,H:0,jB:.008786,kB:.00487},B:"moz",C:["hB","YB","jB","kB","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","iB","U","V","W","X","Y","Z","P","a","H",""],E:"Firefox",F:{0:1450137600,1:1453852800,2:1457395200,3:1461628800,4:1465257600,5:1470096e3,6:1474329600,7:1479168e3,8:1485216e3,9:1488844800,hB:1161648e3,YB:1213660800,jB:124632e4,kB:1264032e3,I:1300752e3,b:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,c:1357603200,d:1361232e3,e:1364860800,f:1368489600,g:1372118400,h:1375747200,i:1379376e3,j:1386633600,k:1391472e3,l:1395100800,m:1398729600,n:1402358400,o:1405987200,p:1409616e3,q:1413244800,r:1417392e3,s:1421107200,t:1424736e3,u:1428278400,v:1431475200,w:1435881600,x:1439251200,y:144288e4,z:1446508800,AB:149256e4,BB:1497312e3,CB:1502150400,DB:1506556800,EB:1510617600,FB:1516665600,ZB:1520985600,GB:1525824e3,aB:1529971200,Q:1536105600,HB:1540252800,IB:1544486400,JB:154872e4,KB:1552953600,LB:1558396800,MB:1562630400,NB:1567468800,OB:1571788800,PB:1575331200,QB:1578355200,RB:1581379200,SB:1583798400,TB:1586304e3,UB:1588636800,VB:1591056e3,bB:1593475200,R:1595894400,S:1598313600,T:1600732800,iB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,P:1622505600,a:null,H:null}},D:{A:{0:.008408,1:.004465,2:.004642,3:.004891,4:.008408,5:.02102,6:.214404,7:.004204,8:.016816,9:.004204,I:.004706,b:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,c:.008542,d:.004393,e:.004317,f:.012612,g:.008786,h:.008408,i:.004461,j:.004298,k:.004326,l:.0047,m:.004538,n:.008542,o:.008596,p:.004566,q:.004204,r:.008408,s:.012612,t:.004335,u:.004464,v:.025224,w:.004464,x:.012612,y:.0236,z:.004403,AB:.058856,BB:.008408,CB:.012612,DB:.04204,EB:.008408,FB:.008408,ZB:.008408,GB:.016816,aB:.121916,Q:.008408,HB:.02102,IB:.025224,JB:.02102,KB:.02102,LB:.033632,MB:.029428,NB:.067264,OB:.071468,PB:.025224,QB:.058856,RB:.02102,SB:.113508,TB:.092488,UB:.067264,VB:.029428,bB:.075672,R:.18918,S:.1051,T:.079876,U:.130324,V:.100896,W:.243832,X:.16816,Y:.311096,Z:.344728,P:1.0468,a:21.4866,H:.790352,lB:.025224,mB:.004204,nB:0},B:"webkit",C:["","","","I","b","J","D","E","F","A","B","C","K","L","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","ZB","GB","aB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","bB","R","S","T","U","V","W","X","Y","Z","P","a","H","lB","mB","nB"],E:"Chrome",F:{0:143208e4,1:1437523200,2:1441152e3,3:1444780800,4:1449014400,5:1453248e3,6:1456963200,7:1460592e3,8:1464134400,9:1469059200,I:1264377600,b:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,c:1332892800,d:133704e4,e:1340668800,f:1343692800,g:1348531200,h:1352246400,i:1357862400,j:1361404800,k:1364428800,l:1369094400,m:1374105600,n:1376956800,o:1384214400,p:1389657600,q:1392940800,r:1397001600,s:1400544e3,t:1405468800,u:1409011200,v:141264e4,w:1416268800,x:1421798400,y:1425513600,z:1429401600,AB:1472601600,BB:1476230400,CB:1480550400,DB:1485302400,EB:1489017600,FB:149256e4,ZB:1496707200,GB:1500940800,aB:1504569600,Q:1508198400,HB:1512518400,IB:1516752e3,JB:1520294400,KB:1523923200,LB:1527552e3,MB:1532390400,NB:1536019200,OB:1539648e3,PB:1543968e3,QB:154872e4,RB:1552348800,SB:1555977600,TB:1559606400,UB:1564444800,VB:1568073600,bB:1571702400,R:1575936e3,S:1580860800,T:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,P:1614556800,a:1618272e3,H:1621987200,lB:null,mB:null,nB:null}},E:{A:{I:0,b:.008542,J:.004656,D:.004465,E:.218608,F:.004891,A:.004425,B:.008408,C:.012612,K:.088284,L:2.26175,G:0,oB:0,cB:.008692,pB:.109304,qB:.00456,rB:.004283,sB:.02102,dB:.02102,WB:.058856,XB:.088284,tB:.395176,uB:.748312,vB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","cB","I","b","pB","J","qB","D","rB","E","F","sB","A","dB","B","WB","C","XB","K","tB","L","uB","G","vB",""],E:"Safari",F:{oB:1205798400,cB:1226534400,I:1244419200,b:1275868800,pB:131112e4,J:1343174400,qB:13824e5,D:13824e5,rB:1410998400,E:1413417600,F:1443657600,sB:1458518400,A:1474329600,dB:1490572800,B:1505779200,WB:1522281600,C:1537142400,XB:1553472e3,K:1568851200,tB:1585008e3,L:1600214400,uB:1619395200,G:null,vB:null}},F:{A:{0:.008542,1:.004227,2:.004725,3:.008408,4:.008942,5:.004707,6:.004827,7:.004707,8:.004707,9:.004326,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,c:.006015,d:.004879,e:.006597,f:.006597,g:.013434,h:.006702,i:.006015,j:.005595,k:.004393,l:.008652,m:.004879,n:.004879,o:.004711,p:.005152,q:.005014,r:.009758,s:.004879,t:.008408,u:.004283,v:.004367,w:.004534,x:.008408,y:.004227,z:.004418,AB:.008922,BB:.014349,CB:.004425,DB:.00472,EB:.004425,FB:.004425,GB:.00472,Q:.004532,HB:.004566,IB:.02283,JB:.00867,KB:.004656,LB:.004642,MB:.004298,NB:.00944,OB:.00415,PB:.004271,QB:.004298,RB:.096692,SB:.008408,TB:.433012,UB:.437216,VB:0,wB:.00685,xB:0,yB:.008392,zB:.004706,WB:.006229,eB:.004879,"0B":.008786,XB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","F","wB","xB","yB","zB","B","WB","eB","0B","C","XB","G","M","N","O","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","Q","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","","",""],E:"Opera",F:{0:1486425600,1:1490054400,2:1494374400,3:1498003200,4:1502236800,5:1506470400,6:1510099200,7:1515024e3,8:1517961600,9:1521676800,F:1150761600,wB:1223424e3,xB:1251763200,yB:1267488e3,zB:1277942400,B:1292457600,WB:1302566400,eB:1309219200,"0B":1323129600,C:1323129600,XB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,c:1390867200,d:1393891200,e:1399334400,f:1401753600,g:1405987200,h:1409616e3,i:1413331200,j:1417132800,k:1422316800,l:1425945600,m:1430179200,n:1433808e3,o:1438646400,p:1442448e3,q:1445904e3,r:1449100800,s:1454371200,t:1457308800,u:146232e4,v:1465344e3,w:1470096e3,x:1474329600,y:1477267200,z:1481587200,AB:1525910400,BB:1530144e3,CB:1534982400,DB:1537833600,EB:1543363200,FB:1548201600,GB:1554768e3,Q:1561593600,HB:1566259200,IB:1570406400,JB:1573689600,KB:1578441600,LB:1583971200,MB:1587513600,NB:1592956800,OB:1595894400,PB:1600128e3,QB:1603238400,RB:161352e4,SB:1612224e3,TB:1616544e3,UB:1619568e3,VB:1623715200},D:{F:"o",B:"o",C:"o",wB:"o",xB:"o",yB:"o",zB:"o",WB:"o",eB:"o","0B":"o",XB:"o"}},G:{A:{E:.00144955,cB:0,"1B":0,fB:.00289911,"2B":.00869732,"3B":.0449361,"4B":.0304406,"5B":.0202937,"6B":.0217433,"7B":.147854,"8B":.0347893,"9B":.149304,AC:.0855236,BC:.0739272,CC:.0768263,DC:.246424,EC:.0666794,FC:.0333397,GC:.172497,HC:.572573,IC:10.1498,JC:1.93225},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cB","1B","fB","2B","3B","4B","E","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","","",""],E:"Safari on iOS",F:{cB:1270252800,"1B":1283904e3,fB:1299628800,"2B":1331078400,"3B":1359331200,"4B":1394409600,E:1410912e3,"5B":1413763200,"6B":1442361600,"7B":1458518400,"8B":1473724800,"9B":1490572800,AC:1505779200,BC:1522281600,CC:1537142400,DC:1553472e3,EC:1568851200,FC:1572220800,GC:1580169600,HC:1585008e3,IC:1600214400,JC:1619395200}},H:{A:{KC:1.18546},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KC","","",""],E:"Opera Mini",F:{KC:1426464e3}},I:{A:{YB:0,I:.0263634,H:0,LC:0,MC:0,NC:0,OC:.0301296,fB:.0979213,PC:0,QC:.43688},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LC","MC","NC","YB","I","OC","fB","PC","QC","H","","",""],E:"Android Browser",F:{LC:1256515200,MC:1274313600,NC:1291593600,YB:1298332800,I:1318896e3,OC:1341792e3,fB:1374624e3,PC:1386547200,QC:1401667200,H:1621987200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,Q:.0111391,WB:0,eB:0,XB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","WB","eB","C","XB","Q","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,WB:1314835200,eB:1318291200,C:1330300800,XB:1349740800,Q:1613433600},D:{Q:"webkit"}},L:{A:{H:38.7167},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1621987200}},M:{A:{P:.278256},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","P","","",""],E:"Firefox for Android",F:{P:1622505600}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{RC:1.36809},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","RC","","",""],E:"UC Browser for Android",F:{RC:1471392e3},D:{RC:"webkit"}},P:{A:{I:.309232,SC:.0103543,TC:.010304,UC:.0824619,VC:.0103584,WC:.0721541,dB:.0412309,XC:.164924,YC:.113385,ZC:.412309,aC:2.19555},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","SC","TC","UC","VC","WC","dB","XC","YC","ZC","aC","","",""],E:"Samsung Internet",F:{I:1461024e3,SC:1481846400,TC:1509408e3,UC:1528329600,VC:1546128e3,WC:1554163200,dB:1567900800,XC:1582588800,YC:1593475200,ZC:1605657600,aC:1618531200}},Q:{A:{bC:.185504},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"QQ Browser",F:{bC:1589846400}},R:{A:{cC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","cC","","",""],E:"Baidu Browser",F:{cC:1491004800}},S:{A:{dC:.098549},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","dC","","",""],E:"KaiOS Browser",F:{dC:1527811200}}}},5682:E=>{E.exports={0:"43",1:"44",2:"45",3:"46",4:"47",5:"48",6:"49",7:"50",8:"51",9:"52",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"91",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"89",Q:"62",R:"79",S:"80",T:"81",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"90",b:"5",c:"19",d:"20",e:"21",f:"22",g:"23",h:"24",i:"25",j:"26",k:"27",l:"28",m:"29",n:"30",o:"31",p:"32",q:"33",r:"34",s:"35",t:"36",u:"37",v:"38",w:"39",x:"40",y:"41",z:"42",AB:"53",BB:"54",CB:"55",DB:"56",EB:"57",FB:"58",GB:"60",HB:"63",IB:"64",JB:"65",KB:"66",LB:"67",MB:"68",NB:"69",OB:"70",PB:"71",QB:"72",RB:"73",SB:"74",TB:"75",UB:"76",VB:"77",WB:"11.1",XB:"12.1",YB:"3",ZB:"59",aB:"61",bB:"78",cB:"3.2",dB:"10.1",eB:"11.5",fB:"4.2-4.3",gB:"5.5",hB:"2",iB:"82",jB:"3.5",kB:"3.6",lB:"92",mB:"93",nB:"94",oB:"3.1",pB:"5.1",qB:"6.1",rB:"7.1",sB:"9.1",tB:"13.1",uB:"14.1",vB:"TP",wB:"9.5-9.6",xB:"10.0-10.1",yB:"10.5",zB:"10.6","0B":"11.6","1B":"4.0-4.1","2B":"5.0-5.1","3B":"6.0-6.1","4B":"7.0-7.1","5B":"8.1-8.4","6B":"9.0-9.2","7B":"9.3","8B":"10.0-10.2","9B":"10.3",AC:"11.0-11.2",BC:"11.3-11.4",CC:"12.0-12.1",DC:"12.2-12.4",EC:"13.0-13.1",FC:"13.2",GC:"13.3",HC:"13.4-13.7",IC:"14.0-14.4",JC:"14.5-14.6",KC:"all",LC:"2.1",MC:"2.2",NC:"2.3",OC:"4.1",PC:"4.4",QC:"4.4.3-4.4.4",RC:"12.12",SC:"5.0-5.4",TC:"6.2-6.4",UC:"7.2-7.4",VC:"8.2",WC:"9.2",XC:"11.1-11.2",YC:"12.0",ZC:"13.0",aC:"14.0",bC:"10.4",cC:"7.12",dC:"2.5"}},73238:E=>{E.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},54994:E=>{E.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},44909:E=>{E.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},92406:(E,N,R)=>{const{browsers:j}=R(59307);const $=R(57917).browserVersions;const q=R(12161);function unpackBrowserVersions(E){return Object.keys(E).reduce(((N,R)=>{N[$[R]]=E[R];return N}),{})}E.exports.D=Object.keys(q).reduce(((E,N)=>{let R=q[N];E[j[N]]=Object.keys(R).reduce(((E,N)=>{if(N==="A"){E.usage_global=unpackBrowserVersions(R[N])}else if(N==="C"){E.versions=R[N].reduce(((E,N)=>{if(N===""){E.push(null)}else{E.push($[N])}return E}),[])}else if(N==="D"){E.prefix_exceptions=unpackBrowserVersions(R[N])}else if(N==="E"){E.browser=R[N]}else if(N==="F"){E.release_date=Object.keys(R[N]).reduce(((E,j)=>{E[$[j]]=R[N][j];return E}),{})}else{E.prefix=R[N]}return E}),{});return E}),{})},57917:(E,N,R)=>{E.exports.browserVersions=R(5682)},59307:(E,N,R)=>{E.exports.browsers=R(73238)},30048:(E,N,R)=>{const j=R(54994);const $=R(44909);const{browsers:q}=R(59307);const G=R(57917).browserVersions;const ie=Math.log(2);function unpackSupport(E){let N=Object.keys($).reduce(((N,R)=>{if(E&$[R])N.push(R);return N}),[]);let R=E>>7;let j=[];while(R){let E=Math.floor(Math.log(R)/ie)+1;j.unshift(`#${E}`);R-=Math.pow(2,E-1)}return N.concat(j).join(" ")}function unpackFeature(E){let N={status:j[E.B],title:E.C};N.stats=Object.keys(E.A).reduce(((N,R)=>{let j=E.A[R];N[q[R]]=Object.keys(j).reduce(((E,N)=>{let R=j[N].split(" ");let $=unpackSupport(N);R.forEach((N=>E[G[N]]=$));return E}),{});return N}),{});return N}E.exports=unpackFeature;E.exports["default"]=unpackFeature},24356:(E,N,R)=>{const{browsers:j}=R(59307);function unpackRegion(E){return Object.keys(E).reduce(((N,R)=>{let $=E[R];N[j[R]]=Object.keys($).reduce(((E,N)=>{let R=$[N];if(N==="_"){R.split(" ").forEach((N=>E[N]=null))}else{E[N]=R}return E}),{});return N}),{})}E.exports=unpackRegion;E.exports["default"]=unpackRegion},57347:(E,N,R)=>{"use strict";const j=R(11207);const{stdout:$,stderr:q}=R(96204);const{stringReplaceAll:G,stringEncaseCRLFWithFirstIndex:ie}=R(88445);const{isArray:ae}=Array;const ce=["ansi","ansi","ansi256","ansi16m"];const le=Object.create(null);const applyOptions=(E,N={})=>{if(N.level&&!(Number.isInteger(N.level)&&N.level>=0&&N.level<=3)){throw new Error("The `level` option should be an integer from 0 to 3")}const R=$?$.level:0;E.level=N.level===undefined?R:N.level};class ChalkClass{constructor(E){return chalkFactory(E)}}const chalkFactory=E=>{const N={};applyOptions(N,E);N.template=(...E)=>chalkTag(N.template,...E);Object.setPrototypeOf(N,Chalk.prototype);Object.setPrototypeOf(N.template,N);N.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")};N.template.Instance=ChalkClass;return N.template};function Chalk(E){return chalkFactory(E)}for(const[E,N]of Object.entries(j)){le[E]={get(){const R=createBuilder(this,createStyler(N.open,N.close,this._styler),this._isEmpty);Object.defineProperty(this,E,{value:R});return R}}}le.visible={get(){const E=createBuilder(this,this._styler,true);Object.defineProperty(this,"visible",{value:E});return E}};const _e=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(const E of _e){le[E]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.color[ce[N]][E](...R),j.color.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}for(const E of _e){const N="bg"+E[0].toUpperCase()+E.slice(1);le[N]={get(){const{level:N}=this;return function(...R){const $=createStyler(j.bgColor[ce[N]][E](...R),j.bgColor.close,this._styler);return createBuilder(this,$,this._isEmpty)}}}}const Ee=Object.defineProperties((()=>{}),{...le,level:{enumerable:true,get(){return this._generator.level},set(E){this._generator.level=E}}});const createStyler=(E,N,R)=>{let j;let $;if(R===undefined){j=E;$=N}else{j=R.openAll+E;$=N+R.closeAll}return{open:E,close:N,openAll:j,closeAll:$,parent:R}};const createBuilder=(E,N,R)=>{const builder=(...E)=>{if(ae(E[0])&&ae(E[0].raw)){return applyStyle(builder,chalkTag(builder,...E))}return applyStyle(builder,E.length===1?""+E[0]:E.join(" "))};Object.setPrototypeOf(builder,Ee);builder._generator=E;builder._styler=N;builder._isEmpty=R;return builder};const applyStyle=(E,N)=>{if(E.level<=0||!N){return E._isEmpty?"":N}let R=E._styler;if(R===undefined){return N}const{openAll:j,closeAll:$}=R;if(N.indexOf("")!==-1){while(R!==undefined){N=G(N,R.close,R.open);R=R.parent}}const q=N.indexOf("\n");if(q!==-1){N=ie(N,$,j,q)}return j+N+$};let Te;const chalkTag=(E,...N)=>{const[j]=N;if(!ae(j)||!ae(j.raw)){return N.join(" ")}const $=N.slice(1);const q=[j.raw[0]];for(let E=1;E{"use strict";const N=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;const R=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;const j=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;const $=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;const q=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(E){const N=E[0]==="u";const R=E[1]==="{";if(N&&!R&&E.length===5||E[0]==="x"&&E.length===3){return String.fromCharCode(parseInt(E.slice(1),16))}if(N&&R){return String.fromCodePoint(parseInt(E.slice(2,-1),16))}return q.get(E)||E}function parseArguments(E,N){const R=[];const q=N.trim().split(/\s*,\s*/g);let G;for(const N of q){const q=Number(N);if(!Number.isNaN(q)){R.push(q)}else if(G=N.match(j)){R.push(G[2].replace($,((E,N,R)=>N?unescape(N):R)))}else{throw new Error(`Invalid Chalk template style argument: ${N} (in style '${E}')`)}}return R}function parseStyle(E){R.lastIndex=0;const N=[];let j;while((j=R.exec(E))!==null){const E=j[1];if(j[2]){const R=parseArguments(E,j[2]);N.push([E].concat(R))}else{N.push([E])}}return N}function buildStyle(E,N){const R={};for(const E of N){for(const N of E.styles){R[N[0]]=E.inverse?null:N.slice(1)}}let j=E;for(const[E,N]of Object.entries(R)){if(!Array.isArray(N)){continue}if(!(E in j)){throw new Error(`Unknown Chalk style: ${E}`)}j=N.length>0?j[E](...N):j[E]}return j}E.exports=(E,R)=>{const j=[];const $=[];let q=[];R.replace(N,((N,R,G,ie,ae,ce)=>{if(R){q.push(unescape(R))}else if(ie){const N=q.join("");q=[];$.push(j.length===0?N:buildStyle(E,j)(N));j.push({inverse:G,styles:parseStyle(ie)})}else if(ae){if(j.length===0){throw new Error("Found extraneous } in Chalk template literal")}$.push(buildStyle(E,j)(q.join("")));q=[];j.pop()}else{q.push(ce)}}));$.push(q.join(""));if(j.length>0){const E=`Chalk template literal is missing ${j.length} closing bracket${j.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return $.join("")}},88445:E=>{"use strict";const stringReplaceAll=(E,N,R)=>{let j=E.indexOf(N);if(j===-1){return E}const $=N.length;let q=0;let G="";do{G+=E.substr(q,j-q)+N+R;q=j+$;j=E.indexOf(N,q)}while(j!==-1);G+=E.substr(q);return G};const stringEncaseCRLFWithFirstIndex=(E,N,R,j)=>{let $=0;let q="";do{const G=E[j-1]==="\r";q+=E.substr($,(G?j-1:j)-$)+N+(G?"\r\n":"\n")+R;$=j+1;j=E.indexOf("\n",$)}while(j!==-1);q+=E.substr($);return q};E.exports={stringReplaceAll:stringReplaceAll,stringEncaseCRLFWithFirstIndex:stringEncaseCRLFWithFirstIndex}},25954:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});var j=R(5115);var $=R(12781);function evCommon(){var E=process.hrtime();var N=E[0]*1e6+Math.round(E[1]/1e3);return{ts:N,pid:process.pid,tid:process.pid}}var q=function(E){j.__extends(Tracer,E);function Tracer(N){if(N===void 0){N={}}var R=E.call(this)||this;R.noStream=false;R.events=[];if(typeof N!=="object"){throw new Error("Invalid options passed (must be an object)")}if(N.parent!=null&&typeof N.parent!=="object"){throw new Error("Invalid option (parent) passed (must be an object)")}if(N.fields!=null&&typeof N.fields!=="object"){throw new Error("Invalid option (fields) passed (must be an object)")}if(N.objectMode!=null&&(N.objectMode!==true&&N.objectMode!==false)){throw new Error("Invalid option (objectsMode) passed (must be a boolean)")}R.noStream=N.noStream||false;R.parent=N.parent;if(R.parent){R.fields=Object.assign({},N.parent&&N.parent.fields)}else{R.fields={}}if(N.fields){Object.assign(R.fields,N.fields)}if(!R.fields.cat){R.fields.cat="default"}else if(Array.isArray(R.fields.cat)){R.fields.cat=R.fields.cat.join(",")}if(!R.fields.args){R.fields.args={}}if(R.parent){R._push=R.parent._push.bind(R.parent)}else{R._objectMode=Boolean(N.objectMode);var j={objectMode:R._objectMode};if(R._objectMode){R._push=R.push}else{R._push=R._pushString;j.encoding="utf8"}$.Readable.call(R,j)}return R}Tracer.prototype.flush=function(){if(this.noStream===true){for(var E=0,N=this.events;E{"use strict";E.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},46233:E=>{E.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87","12.0":"89","13.0":"91",13.1:"91","14.0":"93"}},31356:E=>{E.exports=["🀄️","🃏","🅰️","🅱️","🅾️","🅿️","🆎","🆑","🆒","🆓","🆔","🆕","🆖","🆗","🆘","🆙","🆚","🇦🇨","🇦🇩","🇦🇪","🇦🇫","🇦🇬","🇦🇮","🇦🇱","🇦🇲","🇦🇴","🇦🇶","🇦🇷","🇦🇸","🇦🇹","🇦🇺","🇦🇼","🇦🇽","🇦🇿","🇦","🇧🇦","🇧🇧","🇧🇩","🇧🇪","🇧🇫","🇧🇬","🇧🇭","🇧🇮","🇧🇯","🇧🇱","🇧🇲","🇧🇳","🇧🇴","🇧🇶","🇧🇷","🇧🇸","🇧🇹","🇧🇻","🇧🇼","🇧🇾","🇧🇿","🇧","🇨🇦","🇨🇨","🇨🇩","🇨🇫","🇨🇬","🇨🇭","🇨🇮","🇨🇰","🇨🇱","🇨🇲","🇨🇳","🇨🇴","🇨🇵","🇨🇷","🇨🇺","🇨🇻","🇨🇼","🇨🇽","🇨🇾","🇨🇿","🇨","🇩🇪","🇩🇬","🇩🇯","🇩🇰","🇩🇲","🇩🇴","🇩🇿","🇩","🇪🇦","🇪🇨","🇪🇪","🇪🇬","🇪🇭","🇪🇷","🇪🇸","🇪🇹","🇪🇺","🇪","🇫🇮","🇫🇯","🇫🇰","🇫🇲","🇫🇴","🇫🇷","🇫","🇬🇦","🇬🇧","🇬🇩","🇬🇪","🇬🇫","🇬🇬","🇬🇭","🇬🇮","🇬🇱","🇬🇲","🇬🇳","🇬🇵","🇬🇶","🇬🇷","🇬🇸","🇬🇹","🇬🇺","🇬🇼","🇬🇾","🇬","🇭🇰","🇭🇲","🇭🇳","🇭🇷","🇭🇹","🇭🇺","🇭","🇮🇨","🇮🇩","🇮🇪","🇮🇱","🇮🇲","🇮🇳","🇮🇴","🇮🇶","🇮🇷","🇮🇸","🇮🇹","🇮","🇯🇪","🇯🇲","🇯🇴","🇯🇵","🇯","🇰🇪","🇰🇬","🇰🇭","🇰🇮","🇰🇲","🇰🇳","🇰🇵","🇰🇷","🇰🇼","🇰🇾","🇰🇿","🇰","🇱🇦","🇱🇧","🇱🇨","🇱🇮","🇱🇰","🇱🇷","🇱🇸","🇱🇹","🇱🇺","🇱🇻","🇱🇾","🇱","🇲🇦","🇲🇨","🇲🇩","🇲🇪","🇲🇫","🇲🇬","🇲🇭","🇲🇰","🇲🇱","🇲🇲","🇲🇳","🇲🇴","🇲🇵","🇲🇶","🇲🇷","🇲🇸","🇲🇹","🇲🇺","🇲🇻","🇲🇼","🇲🇽","🇲🇾","🇲🇿","🇲","🇳🇦","🇳🇨","🇳🇪","🇳🇫","🇳🇬","🇳🇮","🇳🇱","🇳🇴","🇳🇵","🇳🇷","🇳🇺","🇳🇿","🇳","🇴🇲","🇴","🇵🇦","🇵🇪","🇵🇫","🇵🇬","🇵🇭","🇵🇰","🇵🇱","🇵🇲","🇵🇳","🇵🇷","🇵🇸","🇵🇹","🇵🇼","🇵🇾","🇵","🇶🇦","🇶","🇷🇪","🇷🇴","🇷🇸","🇷🇺","🇷🇼","🇷","🇸🇦","🇸🇧","🇸🇨","🇸🇩","🇸🇪","🇸🇬","🇸🇭","🇸🇮","🇸🇯","🇸🇰","🇸🇱","🇸🇲","🇸🇳","🇸🇴","🇸🇷","🇸🇸","🇸🇹","🇸🇻","🇸🇽","🇸🇾","🇸🇿","🇸","🇹🇦","🇹🇨","🇹🇩","🇹🇫","🇹🇬","🇹🇭","🇹🇯","🇹🇰","🇹🇱","🇹🇲","🇹🇳","🇹🇴","🇹🇷","🇹🇹","🇹🇻","🇹🇼","🇹🇿","🇹","🇺🇦","🇺🇬","🇺🇲","🇺🇳","🇺🇸","🇺🇾","🇺🇿","🇺","🇻🇦","🇻🇨","🇻🇪","🇻🇬","🇻🇮","🇻🇳","🇻🇺","🇻","🇼🇫","🇼🇸","🇼","🇽🇰","🇽","🇾🇪","🇾🇹","🇾","🇿🇦","🇿🇲","🇿🇼","🇿","🈁","🈂️","🈚️","🈯️","🈲","🈳","🈴","🈵","🈶","🈷️","🈸","🈹","🈺","🉐","🉑","🌀","🌁","🌂","🌃","🌄","🌅","🌆","🌇","🌈","🌉","🌊","🌋","🌌","🌍","🌎","🌏","🌐","🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘","🌙","🌚","🌛","🌜","🌝","🌞","🌟","🌠","🌡️","🌤️","🌥️","🌦️","🌧️","🌨️","🌩️","🌪️","🌫️","🌬️","🌭","🌮","🌯","🌰","🌱","🌲","🌳","🌴","🌵","🌶️","🌷","🌸","🌹","🌺","🌻","🌼","🌽","🌾","🌿","🍀","🍁","🍂","🍃","🍄","🍅","🍆","🍇","🍈","🍉","🍊","🍋","🍌","🍍","🍎","🍏","🍐","🍑","🍒","🍓","🍔","🍕","🍖","🍗","🍘","🍙","🍚","🍛","🍜","🍝","🍞","🍟","🍠","🍡","🍢","🍣","🍤","🍥","🍦","🍧","🍨","🍩","🍪","🍫","🍬","🍭","🍮","🍯","🍰","🍱","🍲","🍳","🍴","🍵","🍶","🍷","🍸","🍹","🍺","🍻","🍼","🍽️","🍾","🍿","🎀","🎁","🎂","🎃","🎄","🎅🏻","🎅🏼","🎅🏽","🎅🏾","🎅🏿","🎅","🎆","🎇","🎈","🎉","🎊","🎋","🎌","🎍","🎎","🎏","🎐","🎑","🎒","🎓","🎖️","🎗️","🎙️","🎚️","🎛️","🎞️","🎟️","🎠","🎡","🎢","🎣","🎤","🎥","🎦","🎧","🎨","🎩","🎪","🎫","🎬","🎭","🎮","🎯","🎰","🎱","🎲","🎳","🎴","🎵","🎶","🎷","🎸","🎹","🎺","🎻","🎼","🎽","🎾","🎿","🏀","🏁","🏂🏻","🏂🏼","🏂🏽","🏂🏾","🏂🏿","🏂","🏃🏻‍♀️","🏃🏻‍♂️","🏃🏻","🏃🏼‍♀️","🏃🏼‍♂️","🏃🏼","🏃🏽‍♀️","🏃🏽‍♂️","🏃🏽","🏃🏾‍♀️","🏃🏾‍♂️","🏃🏾","🏃🏿‍♀️","🏃🏿‍♂️","🏃🏿","🏃‍♀️","🏃‍♂️","🏃","🏄🏻‍♀️","🏄🏻‍♂️","🏄🏻","🏄🏼‍♀️","🏄🏼‍♂️","🏄🏼","🏄🏽‍♀️","🏄🏽‍♂️","🏄🏽","🏄🏾‍♀️","🏄🏾‍♂️","🏄🏾","🏄🏿‍♀️","🏄🏿‍♂️","🏄🏿","🏄‍♀️","🏄‍♂️","🏄","🏅","🏆","🏇🏻","🏇🏼","🏇🏽","🏇🏾","🏇🏿","🏇","🏈","🏉","🏊🏻‍♀️","🏊🏻‍♂️","🏊🏻","🏊🏼‍♀️","🏊🏼‍♂️","🏊🏼","🏊🏽‍♀️","🏊🏽‍♂️","🏊🏽","🏊🏾‍♀️","🏊🏾‍♂️","🏊🏾","🏊🏿‍♀️","🏊🏿‍♂️","🏊🏿","🏊‍♀️","🏊‍♂️","🏊","🏋🏻‍♀️","🏋🏻‍♂️","🏋🏻","🏋🏼‍♀️","🏋🏼‍♂️","🏋🏼","🏋🏽‍♀️","🏋🏽‍♂️","🏋🏽","🏋🏾‍♀️","🏋🏾‍♂️","🏋🏾","🏋🏿‍♀️","🏋🏿‍♂️","🏋🏿","🏋️‍♀️","🏋️‍♂️","🏋️","🏌🏻‍♀️","🏌🏻‍♂️","🏌🏻","🏌🏼‍♀️","🏌🏼‍♂️","🏌🏼","🏌🏽‍♀️","🏌🏽‍♂️","🏌🏽","🏌🏾‍♀️","🏌🏾‍♂️","🏌🏾","🏌🏿‍♀️","🏌🏿‍♂️","🏌🏿","🏌️‍♀️","🏌️‍♂️","🏌️","🏍️","🏎️","🏏","🏐","🏑","🏒","🏓","🏔️","🏕️","🏖️","🏗️","🏘️","🏙️","🏚️","🏛️","🏜️","🏝️","🏞️","🏟️","🏠","🏡","🏢","🏣","🏤","🏥","🏦","🏧","🏨","🏩","🏪","🏫","🏬","🏭","🏮","🏯","🏰","🏳️‍🌈","🏳️","🏴‍☠️","🏴󠁧󠁢󠁥󠁮󠁧󠁿","🏴󠁧󠁢󠁳󠁣󠁴󠁿","🏴󠁧󠁢󠁷󠁬󠁳󠁿","🏴","🏵️","🏷️","🏸","🏹","🏺","🏻","🏼","🏽","🏾","🏿","🐀","🐁","🐂","🐃","🐄","🐅","🐆","🐇","🐈","🐉","🐊","🐋","🐌","🐍","🐎","🐏","🐐","🐑","🐒","🐓","🐔","🐕‍🦺","🐕","🐖","🐗","🐘","🐙","🐚","🐛","🐜","🐝","🐞","🐟","🐠","🐡","🐢","🐣","🐤","🐥","🐦","🐧","🐨","🐩","🐪","🐫","🐬","🐭","🐮","🐯","🐰","🐱","🐲","🐳","🐴","🐵","🐶","🐷","🐸","🐹","🐺","🐻","🐼","🐽","🐾","🐿️","👀","👁‍🗨","👁️","👂🏻","👂🏼","👂🏽","👂🏾","👂🏿","👂","👃🏻","👃🏼","👃🏽","👃🏾","👃🏿","👃","👄","👅","👆🏻","👆🏼","👆🏽","👆🏾","👆🏿","👆","👇🏻","👇🏼","👇🏽","👇🏾","👇🏿","👇","👈🏻","👈🏼","👈🏽","👈🏾","👈🏿","👈","👉🏻","👉🏼","👉🏽","👉🏾","👉🏿","👉","👊🏻","👊🏼","👊🏽","👊🏾","👊🏿","👊","👋🏻","👋🏼","👋🏽","👋🏾","👋🏿","👋","👌🏻","👌🏼","👌🏽","👌🏾","👌🏿","👌","👍🏻","👍🏼","👍🏽","👍🏾","👍🏿","👍","👎🏻","👎🏼","👎🏽","👎🏾","👎🏿","👎","👏🏻","👏🏼","👏🏽","👏🏾","👏🏿","👏","👐🏻","👐🏼","👐🏽","👐🏾","👐🏿","👐","👑","👒","👓","👔","👕","👖","👗","👘","👙","👚","👛","👜","👝","👞","👟","👠","👡","👢","👣","👤","👥","👦🏻","👦🏼","👦🏽","👦🏾","👦🏿","👦","👧🏻","👧🏼","👧🏽","👧🏾","👧🏿","👧","👨🏻‍🌾","👨🏻‍🍳","👨🏻‍🎓","👨🏻‍🎤","👨🏻‍🎨","👨🏻‍🏫","👨🏻‍🏭","👨🏻‍💻","👨🏻‍💼","👨🏻‍🔧","👨🏻‍🔬","👨🏻‍🚀","👨🏻‍🚒","👨🏻‍🦯","👨🏻‍🦰","👨🏻‍🦱","👨🏻‍🦲","👨🏻‍🦳","👨🏻‍🦼","👨🏻‍🦽","👨🏻‍⚕️","👨🏻‍⚖️","👨🏻‍✈️","👨🏻","👨🏼‍🌾","👨🏼‍🍳","👨🏼‍🎓","👨🏼‍🎤","👨🏼‍🎨","👨🏼‍🏫","👨🏼‍🏭","👨🏼‍💻","👨🏼‍💼","👨🏼‍🔧","👨🏼‍🔬","👨🏼‍🚀","👨🏼‍🚒","👨🏼‍🤝‍👨🏻","👨🏼‍🦯","👨🏼‍🦰","👨🏼‍🦱","👨🏼‍🦲","👨🏼‍🦳","👨🏼‍🦼","👨🏼‍🦽","👨🏼‍⚕️","👨🏼‍⚖️","👨🏼‍✈️","👨🏼","👨🏽‍🌾","👨🏽‍🍳","👨🏽‍🎓","👨🏽‍🎤","👨🏽‍🎨","👨🏽‍🏫","👨🏽‍🏭","👨🏽‍💻","👨🏽‍💼","👨🏽‍🔧","👨🏽‍🔬","👨🏽‍🚀","👨🏽‍🚒","👨🏽‍🤝‍👨🏻","👨🏽‍🤝‍👨🏼","👨🏽‍🦯","👨🏽‍🦰","👨🏽‍🦱","👨🏽‍🦲","👨🏽‍🦳","👨🏽‍🦼","👨🏽‍🦽","👨🏽‍⚕️","👨🏽‍⚖️","👨🏽‍✈️","👨🏽","👨🏾‍🌾","👨🏾‍🍳","👨🏾‍🎓","👨🏾‍🎤","👨🏾‍🎨","👨🏾‍🏫","👨🏾‍🏭","👨🏾‍💻","👨🏾‍💼","👨🏾‍🔧","👨🏾‍🔬","👨🏾‍🚀","👨🏾‍🚒","👨🏾‍🤝‍👨🏻","👨🏾‍🤝‍👨🏼","👨🏾‍🤝‍👨🏽","👨🏾‍🦯","👨🏾‍🦰","👨🏾‍🦱","👨🏾‍🦲","👨🏾‍🦳","👨🏾‍🦼","👨🏾‍🦽","👨🏾‍⚕️","👨🏾‍⚖️","👨🏾‍✈️","👨🏾","👨🏿‍🌾","👨🏿‍🍳","👨🏿‍🎓","👨🏿‍🎤","👨🏿‍🎨","👨🏿‍🏫","👨🏿‍🏭","👨🏿‍💻","👨🏿‍💼","👨🏿‍🔧","👨🏿‍🔬","👨🏿‍🚀","👨🏿‍🚒","👨🏿‍🤝‍👨🏻","👨🏿‍🤝‍👨🏼","👨🏿‍🤝‍👨🏽","👨🏿‍🤝‍👨🏾","👨🏿‍🦯","👨🏿‍🦰","👨🏿‍🦱","👨🏿‍🦲","👨🏿‍🦳","👨🏿‍🦼","👨🏿‍🦽","👨🏿‍⚕️","👨🏿‍⚖️","👨🏿‍✈️","👨🏿","👨‍🌾","👨‍🍳","👨‍🎓","👨‍🎤","👨‍🎨","👨‍🏫","👨‍🏭","👨‍👦‍👦","👨‍👦","👨‍👧‍👦","👨‍👧‍👧","👨‍👧","👨‍👨‍👦‍👦","👨‍👨‍👦","👨‍👨‍👧‍👦","👨‍👨‍👧‍👧","👨‍👨‍👧","👨‍👩‍👦‍👦","👨‍👩‍👦","👨‍👩‍👧‍👦","👨‍👩‍👧‍👧","👨‍👩‍👧","👨‍💻","👨‍💼","👨‍🔧","👨‍🔬","👨‍🚀","👨‍🚒","👨‍🦯","👨‍🦰","👨‍🦱","👨‍🦲","👨‍🦳","👨‍🦼","👨‍🦽","👨‍⚕️","👨‍⚖️","👨‍✈️","👨‍❤️‍👨","👨‍❤️‍💋‍👨","👨","👩🏻‍🌾","👩🏻‍🍳","👩🏻‍🎓","👩🏻‍🎤","👩🏻‍🎨","👩🏻‍🏫","👩🏻‍🏭","👩🏻‍💻","👩🏻‍💼","👩🏻‍🔧","👩🏻‍🔬","👩🏻‍🚀","👩🏻‍🚒","👩🏻‍🤝‍👨🏼","👩🏻‍🤝‍👨🏽","👩🏻‍🤝‍👨🏾","👩🏻‍🤝‍👨🏿","👩🏻‍🦯","👩🏻‍🦰","👩🏻‍🦱","👩🏻‍🦲","👩🏻‍🦳","👩🏻‍🦼","👩🏻‍🦽","👩🏻‍⚕️","👩🏻‍⚖️","👩🏻‍✈️","👩🏻","👩🏼‍🌾","👩🏼‍🍳","👩🏼‍🎓","👩🏼‍🎤","👩🏼‍🎨","👩🏼‍🏫","👩🏼‍🏭","👩🏼‍💻","👩🏼‍💼","👩🏼‍🔧","👩🏼‍🔬","👩🏼‍🚀","👩🏼‍🚒","👩🏼‍🤝‍👨🏻","👩🏼‍🤝‍👨🏽","👩🏼‍🤝‍👨🏾","👩🏼‍🤝‍👨🏿","👩🏼‍🤝‍👩🏻","👩🏼‍🦯","👩🏼‍🦰","👩🏼‍🦱","👩🏼‍🦲","👩🏼‍🦳","👩🏼‍🦼","👩🏼‍🦽","👩🏼‍⚕️","👩🏼‍⚖️","👩🏼‍✈️","👩🏼","👩🏽‍🌾","👩🏽‍🍳","👩🏽‍🎓","👩🏽‍🎤","👩🏽‍🎨","👩🏽‍🏫","👩🏽‍🏭","👩🏽‍💻","👩🏽‍💼","👩🏽‍🔧","👩🏽‍🔬","👩🏽‍🚀","👩🏽‍🚒","👩🏽‍🤝‍👨🏻","👩🏽‍🤝‍👨🏼","👩🏽‍🤝‍👨🏾","👩🏽‍🤝‍👨🏿","👩🏽‍🤝‍👩🏻","👩🏽‍🤝‍👩🏼","👩🏽‍🦯","👩🏽‍🦰","👩🏽‍🦱","👩🏽‍🦲","👩🏽‍🦳","👩🏽‍🦼","👩🏽‍🦽","👩🏽‍⚕️","👩🏽‍⚖️","👩🏽‍✈️","👩🏽","👩🏾‍🌾","👩🏾‍🍳","👩🏾‍🎓","👩🏾‍🎤","👩🏾‍🎨","👩🏾‍🏫","👩🏾‍🏭","👩🏾‍💻","👩🏾‍💼","👩🏾‍🔧","👩🏾‍🔬","👩🏾‍🚀","👩🏾‍🚒","👩🏾‍🤝‍👨🏻","👩🏾‍🤝‍👨🏼","👩🏾‍🤝‍👨🏽","👩🏾‍🤝‍👨🏿","👩🏾‍🤝‍👩🏻","👩🏾‍🤝‍👩🏼","👩🏾‍🤝‍👩🏽","👩🏾‍🦯","👩🏾‍🦰","👩🏾‍🦱","👩🏾‍🦲","👩🏾‍🦳","👩🏾‍🦼","👩🏾‍🦽","👩🏾‍⚕️","👩🏾‍⚖️","👩🏾‍✈️","👩🏾","👩🏿‍🌾","👩🏿‍🍳","👩🏿‍🎓","👩🏿‍🎤","👩🏿‍🎨","👩🏿‍🏫","👩🏿‍🏭","👩🏿‍💻","👩🏿‍💼","👩🏿‍🔧","👩🏿‍🔬","👩🏿‍🚀","👩🏿‍🚒","👩🏿‍🤝‍👨🏻","👩🏿‍🤝‍👨🏼","👩🏿‍🤝‍👨🏽","👩🏿‍🤝‍👨🏾","👩🏿‍🤝‍👩🏻","👩🏿‍🤝‍👩🏼","👩🏿‍🤝‍👩🏽","👩🏿‍🤝‍👩🏾","👩🏿‍🦯","👩🏿‍🦰","👩🏿‍🦱","👩🏿‍🦲","👩🏿‍🦳","👩🏿‍🦼","👩🏿‍🦽","👩🏿‍⚕️","👩🏿‍⚖️","👩🏿‍✈️","👩🏿","👩‍🌾","👩‍🍳","👩‍🎓","👩‍🎤","👩‍🎨","👩‍🏫","👩‍🏭","👩‍👦‍👦","👩‍👦","👩‍👧‍👦","👩‍👧‍👧","👩‍👧","👩‍👩‍👦‍👦","👩‍👩‍👦","👩‍👩‍👧‍👦","👩‍👩‍👧‍👧","👩‍👩‍👧","👩‍💻","👩‍💼","👩‍🔧","👩‍🔬","👩‍🚀","👩‍🚒","👩‍🦯","👩‍🦰","👩‍🦱","👩‍🦲","👩‍🦳","👩‍🦼","👩‍🦽","👩‍⚕️","👩‍⚖️","👩‍✈️","👩‍❤️‍👨","👩‍❤️‍👩","👩‍❤️‍💋‍👨","👩‍❤️‍💋‍👩","👩","👪","👫🏻","👫🏼","👫🏽","👫🏾","👫🏿","👫","👬🏻","👬🏼","👬🏽","👬🏾","👬🏿","👬","👭🏻","👭🏼","👭🏽","👭🏾","👭🏿","👭","👮🏻‍♀️","👮🏻‍♂️","👮🏻","👮🏼‍♀️","👮🏼‍♂️","👮🏼","👮🏽‍♀️","👮🏽‍♂️","👮🏽","👮🏾‍♀️","👮🏾‍♂️","👮🏾","👮🏿‍♀️","👮🏿‍♂️","👮🏿","👮‍♀️","👮‍♂️","👮","👯‍♀️","👯‍♂️","👯","👰🏻","👰🏼","👰🏽","👰🏾","👰🏿","👰","👱🏻‍♀️","👱🏻‍♂️","👱🏻","👱🏼‍♀️","👱🏼‍♂️","👱🏼","👱🏽‍♀️","👱🏽‍♂️","👱🏽","👱🏾‍♀️","👱🏾‍♂️","👱🏾","👱🏿‍♀️","👱🏿‍♂️","👱🏿","👱‍♀️","👱‍♂️","👱","👲🏻","👲🏼","👲🏽","👲🏾","👲🏿","👲","👳🏻‍♀️","👳🏻‍♂️","👳🏻","👳🏼‍♀️","👳🏼‍♂️","👳🏼","👳🏽‍♀️","👳🏽‍♂️","👳🏽","👳🏾‍♀️","👳🏾‍♂️","👳🏾","👳🏿‍♀️","👳🏿‍♂️","👳🏿","👳‍♀️","👳‍♂️","👳","👴🏻","👴🏼","👴🏽","👴🏾","👴🏿","👴","👵🏻","👵🏼","👵🏽","👵🏾","👵🏿","👵","👶🏻","👶🏼","👶🏽","👶🏾","👶🏿","👶","👷🏻‍♀️","👷🏻‍♂️","👷🏻","👷🏼‍♀️","👷🏼‍♂️","👷🏼","👷🏽‍♀️","👷🏽‍♂️","👷🏽","👷🏾‍♀️","👷🏾‍♂️","👷🏾","👷🏿‍♀️","👷🏿‍♂️","👷🏿","👷‍♀️","👷‍♂️","👷","👸🏻","👸🏼","👸🏽","👸🏾","👸🏿","👸","👹","👺","👻","👼🏻","👼🏼","👼🏽","👼🏾","👼🏿","👼","👽","👾","👿","💀","💁🏻‍♀️","💁🏻‍♂️","💁🏻","💁🏼‍♀️","💁🏼‍♂️","💁🏼","💁🏽‍♀️","💁🏽‍♂️","💁🏽","💁🏾‍♀️","💁🏾‍♂️","💁🏾","💁🏿‍♀️","💁🏿‍♂️","💁🏿","💁‍♀️","💁‍♂️","💁","💂🏻‍♀️","💂🏻‍♂️","💂🏻","💂🏼‍♀️","💂🏼‍♂️","💂🏼","💂🏽‍♀️","💂🏽‍♂️","💂🏽","💂🏾‍♀️","💂🏾‍♂️","💂🏾","💂🏿‍♀️","💂🏿‍♂️","💂🏿","💂‍♀️","💂‍♂️","💂","💃🏻","💃🏼","💃🏽","💃🏾","💃🏿","💃","💄","💅🏻","💅🏼","💅🏽","💅🏾","💅🏿","💅","💆🏻‍♀️","💆🏻‍♂️","💆🏻","💆🏼‍♀️","💆🏼‍♂️","💆🏼","💆🏽‍♀️","💆🏽‍♂️","💆🏽","💆🏾‍♀️","💆🏾‍♂️","💆🏾","💆🏿‍♀️","💆🏿‍♂️","💆🏿","💆‍♀️","💆‍♂️","💆","💇🏻‍♀️","💇🏻‍♂️","💇🏻","💇🏼‍♀️","💇🏼‍♂️","💇🏼","💇🏽‍♀️","💇🏽‍♂️","💇🏽","💇🏾‍♀️","💇🏾‍♂️","💇🏾","💇🏿‍♀️","💇🏿‍♂️","💇🏿","💇‍♀️","💇‍♂️","💇","💈","💉","💊","💋","💌","💍","💎","💏","💐","💑","💒","💓","💔","💕","💖","💗","💘","💙","💚","💛","💜","💝","💞","💟","💠","💡","💢","💣","💤","💥","💦","💧","💨","💩","💪🏻","💪🏼","💪🏽","💪🏾","💪🏿","💪","💫","💬","💭","💮","💯","💰","💱","💲","💳","💴","💵","💶","💷","💸","💹","💺","💻","💼","💽","💾","💿","📀","📁","📂","📃","📄","📅","📆","📇","📈","📉","📊","📋","📌","📍","📎","📏","📐","📑","📒","📓","📔","📕","📖","📗","📘","📙","📚","📛","📜","📝","📞","📟","📠","📡","📢","📣","📤","📥","📦","📧","📨","📩","📪","📫","📬","📭","📮","📯","📰","📱","📲","📳","📴","📵","📶","📷","📸","📹","📺","📻","📼","📽️","📿","🔀","🔁","🔂","🔃","🔄","🔅","🔆","🔇","🔈","🔉","🔊","🔋","🔌","🔍","🔎","🔏","🔐","🔑","🔒","🔓","🔔","🔕","🔖","🔗","🔘","🔙","🔚","🔛","🔜","🔝","🔞","🔟","🔠","🔡","🔢","🔣","🔤","🔥","🔦","🔧","🔨","🔩","🔪","🔫","🔬","🔭","🔮","🔯","🔰","🔱","🔲","🔳","🔴","🔵","🔶","🔷","🔸","🔹","🔺","🔻","🔼","🔽","🕉️","🕊️","🕋","🕌","🕍","🕎","🕐","🕑","🕒","🕓","🕔","🕕","🕖","🕗","🕘","🕙","🕚","🕛","🕜","🕝","🕞","🕟","🕠","🕡","🕢","🕣","🕤","🕥","🕦","🕧","🕯️","🕰️","🕳️","🕴🏻‍♀️","🕴🏻‍♂️","🕴🏻","🕴🏼‍♀️","🕴🏼‍♂️","🕴🏼","🕴🏽‍♀️","🕴🏽‍♂️","🕴🏽","🕴🏾‍♀️","🕴🏾‍♂️","🕴🏾","🕴🏿‍♀️","🕴🏿‍♂️","🕴🏿","🕴️‍♀️","🕴️‍♂️","🕴️","🕵🏻‍♀️","🕵🏻‍♂️","🕵🏻","🕵🏼‍♀️","🕵🏼‍♂️","🕵🏼","🕵🏽‍♀️","🕵🏽‍♂️","🕵🏽","🕵🏾‍♀️","🕵🏾‍♂️","🕵🏾","🕵🏿‍♀️","🕵🏿‍♂️","🕵🏿","🕵️‍♀️","🕵️‍♂️","🕵️","🕶️","🕷️","🕸️","🕹️","🕺🏻","🕺🏼","🕺🏽","🕺🏾","🕺🏿","🕺","🖇️","🖊️","🖋️","🖌️","🖍️","🖐🏻","🖐🏼","🖐🏽","🖐🏾","🖐🏿","🖐️","🖕🏻","🖕🏼","🖕🏽","🖕🏾","🖕🏿","🖕","🖖🏻","🖖🏼","🖖🏽","🖖🏾","🖖🏿","🖖","🖤","🖥️","🖨️","🖱️","🖲️","🖼️","🗂️","🗃️","🗄️","🗑️","🗒️","🗓️","🗜️","🗝️","🗞️","🗡️","🗣️","🗨️","🗯️","🗳️","🗺️","🗻","🗼","🗽","🗾","🗿","😀","😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅🏻‍♀️","🙅🏻‍♂️","🙅🏻","🙅🏼‍♀️","🙅🏼‍♂️","🙅🏼","🙅🏽‍♀️","🙅🏽‍♂️","🙅🏽","🙅🏾‍♀️","🙅🏾‍♂️","🙅🏾","🙅🏿‍♀️","🙅🏿‍♂️","🙅🏿","🙅‍♀️","🙅‍♂️","🙅","🙆🏻‍♀️","🙆🏻‍♂️","🙆🏻","🙆🏼‍♀️","🙆🏼‍♂️","🙆🏼","🙆🏽‍♀️","🙆🏽‍♂️","🙆🏽","🙆🏾‍♀️","🙆🏾‍♂️","🙆🏾","🙆🏿‍♀️","🙆🏿‍♂️","🙆🏿","🙆‍♀️","🙆‍♂️","🙆","🙇🏻‍♀️","🙇🏻‍♂️","🙇🏻","🙇🏼‍♀️","🙇🏼‍♂️","🙇🏼","🙇🏽‍♀️","🙇🏽‍♂️","🙇🏽","🙇🏾‍♀️","🙇🏾‍♂️","🙇🏾","🙇🏿‍♀️","🙇🏿‍♂️","🙇🏿","🙇‍♀️","🙇‍♂️","🙇","🙈","🙉","🙊","🙋🏻‍♀️","🙋🏻‍♂️","🙋🏻","🙋🏼‍♀️","🙋🏼‍♂️","🙋🏼","🙋🏽‍♀️","🙋🏽‍♂️","🙋🏽","🙋🏾‍♀️","🙋🏾‍♂️","🙋🏾","🙋🏿‍♀️","🙋🏿‍♂️","🙋🏿","🙋‍♀️","🙋‍♂️","🙋","🙌🏻","🙌🏼","🙌🏽","🙌🏾","🙌🏿","🙌","🙍🏻‍♀️","🙍🏻‍♂️","🙍🏻","🙍🏼‍♀️","🙍🏼‍♂️","🙍🏼","🙍🏽‍♀️","🙍🏽‍♂️","🙍🏽","🙍🏾‍♀️","🙍🏾‍♂️","🙍🏾","🙍🏿‍♀️","🙍🏿‍♂️","🙍🏿","🙍‍♀️","🙍‍♂️","🙍","🙎🏻‍♀️","🙎🏻‍♂️","🙎🏻","🙎🏼‍♀️","🙎🏼‍♂️","🙎🏼","🙎🏽‍♀️","🙎🏽‍♂️","🙎🏽","🙎🏾‍♀️","🙎🏾‍♂️","🙎🏾","🙎🏿‍♀️","🙎🏿‍♂️","🙎🏿","🙎‍♀️","🙎‍♂️","🙎","🙏🏻","🙏🏼","🙏🏽","🙏🏾","🙏🏿","🙏","🚀","🚁","🚂","🚃","🚄","🚅","🚆","🚇","🚈","🚉","🚊","🚋","🚌","🚍","🚎","🚏","🚐","🚑","🚒","🚓","🚔","🚕","🚖","🚗","🚘","🚙","🚚","🚛","🚜","🚝","🚞","🚟","🚠","🚡","🚢","🚣🏻‍♀️","🚣🏻‍♂️","🚣🏻","🚣🏼‍♀️","🚣🏼‍♂️","🚣🏼","🚣🏽‍♀️","🚣🏽‍♂️","🚣🏽","🚣🏾‍♀️","🚣🏾‍♂️","🚣🏾","🚣🏿‍♀️","🚣🏿‍♂️","🚣🏿","🚣‍♀️","🚣‍♂️","🚣","🚤","🚥","🚦","🚧","🚨","🚩","🚪","🚫","🚬","🚭","🚮","🚯","🚰","🚱","🚲","🚳","🚴🏻‍♀️","🚴🏻‍♂️","🚴🏻","🚴🏼‍♀️","🚴🏼‍♂️","🚴🏼","🚴🏽‍♀️","🚴🏽‍♂️","🚴🏽","🚴🏾‍♀️","🚴🏾‍♂️","🚴🏾","🚴🏿‍♀️","🚴🏿‍♂️","🚴🏿","🚴‍♀️","🚴‍♂️","🚴","🚵🏻‍♀️","🚵🏻‍♂️","🚵🏻","🚵🏼‍♀️","🚵🏼‍♂️","🚵🏼","🚵🏽‍♀️","🚵🏽‍♂️","🚵🏽","🚵🏾‍♀️","🚵🏾‍♂️","🚵🏾","🚵🏿‍♀️","🚵🏿‍♂️","🚵🏿","🚵‍♀️","🚵‍♂️","🚵","🚶🏻‍♀️","🚶🏻‍♂️","🚶🏻","🚶🏼‍♀️","🚶🏼‍♂️","🚶🏼","🚶🏽‍♀️","🚶🏽‍♂️","🚶🏽","🚶🏾‍♀️","🚶🏾‍♂️","🚶🏾","🚶🏿‍♀️","🚶🏿‍♂️","🚶🏿","🚶‍♀️","🚶‍♂️","🚶","🚷","🚸","🚹","🚺","🚻","🚼","🚽","🚾","🚿","🛀🏻","🛀🏼","🛀🏽","🛀🏾","🛀🏿","🛀","🛁","🛂","🛃","🛄","🛅","🛋️","🛌🏻","🛌🏼","🛌🏽","🛌🏾","🛌🏿","🛌","🛍️","🛎️","🛏️","🛐","🛑","🛒","🛕","🛠️","🛡️","🛢️","🛣️","🛤️","🛥️","🛩️","🛫","🛬","🛰️","🛳️","🛴","🛵","🛶","🛷","🛸","🛹","🛺","🟠","🟡","🟢","🟣","🟤","🟥","🟦","🟧","🟨","🟩","🟪","🟫","🤍","🤎","🤏🏻","🤏🏼","🤏🏽","🤏🏾","🤏🏿","🤏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘🏻","🤘🏼","🤘🏽","🤘🏾","🤘🏿","🤘","🤙🏻","🤙🏼","🤙🏽","🤙🏾","🤙🏿","🤙","🤚🏻","🤚🏼","🤚🏽","🤚🏾","🤚🏿","🤚","🤛🏻","🤛🏼","🤛🏽","🤛🏾","🤛🏿","🤛","🤜🏻","🤜🏼","🤜🏽","🤜🏾","🤜🏿","🤜","🤝","🤞🏻","🤞🏼","🤞🏽","🤞🏾","🤞🏿","🤞","🤟🏻","🤟🏼","🤟🏽","🤟🏾","🤟🏿","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦🏻‍♀️","🤦🏻‍♂️","🤦🏻","🤦🏼‍♀️","🤦🏼‍♂️","🤦🏼","🤦🏽‍♀️","🤦🏽‍♂️","🤦🏽","🤦🏾‍♀️","🤦🏾‍♂️","🤦🏾","🤦🏿‍♀️","🤦🏿‍♂️","🤦🏿","🤦‍♀️","🤦‍♂️","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯","🤰🏻","🤰🏼","🤰🏽","🤰🏾","🤰🏿","🤰","🤱🏻","🤱🏼","🤱🏽","🤱🏾","🤱🏿","🤱","🤲🏻","🤲🏼","🤲🏽","🤲🏾","🤲🏿","🤲","🤳🏻","🤳🏼","🤳🏽","🤳🏾","🤳🏿","🤳","🤴🏻","🤴🏼","🤴🏽","🤴🏾","🤴🏿","🤴","🤵🏻‍♀️","🤵🏻‍♂️","🤵🏻","🤵🏼‍♀️","🤵🏼‍♂️","🤵🏼","🤵🏽‍♀️","🤵🏽‍♂️","🤵🏽","🤵🏾‍♀️","🤵🏾‍♂️","🤵🏾","🤵🏿‍♀️","🤵🏿‍♂️","🤵🏿","🤵‍♀️","🤵‍♂️","🤵","🤶🏻","🤶🏼","🤶🏽","🤶🏾","🤶🏿","🤶","🤷🏻‍♀️","🤷🏻‍♂️","🤷🏻","🤷🏼‍♀️","🤷🏼‍♂️","🤷🏼","🤷🏽‍♀️","🤷🏽‍♂️","🤷🏽","🤷🏾‍♀️","🤷🏾‍♂️","🤷🏾","🤷🏿‍♀️","🤷🏿‍♂️","🤷🏿","🤷‍♀️","🤷‍♂️","🤷","🤸🏻‍♀️","🤸🏻‍♂️","🤸🏻","🤸🏼‍♀️","🤸🏼‍♂️","🤸🏼","🤸🏽‍♀️","🤸🏽‍♂️","🤸🏽","🤸🏾‍♀️","🤸🏾‍♂️","🤸🏾","🤸🏿‍♀️","🤸🏿‍♂️","🤸🏿","🤸‍♀️","🤸‍♂️","🤸","🤹🏻‍♀️","🤹🏻‍♂️","🤹🏻","🤹🏼‍♀️","🤹🏼‍♂️","🤹🏼","🤹🏽‍♀️","🤹🏽‍♂️","🤹🏽","🤹🏾‍♀️","🤹🏾‍♂️","🤹🏾","🤹🏿‍♀️","🤹🏿‍♂️","🤹🏿","🤹‍♀️","🤹‍♂️","🤹","🤺","🤼‍♀️","🤼‍♂️","🤼","🤽🏻‍♀️","🤽🏻‍♂️","🤽🏻","🤽🏼‍♀️","🤽🏼‍♂️","🤽🏼","🤽🏽‍♀️","🤽🏽‍♂️","🤽🏽","🤽🏾‍♀️","🤽🏾‍♂️","🤽🏾","🤽🏿‍♀️","🤽🏿‍♂️","🤽🏿","🤽‍♀️","🤽‍♂️","🤽","🤾🏻‍♀️","🤾🏻‍♂️","🤾🏻","🤾🏼‍♀️","🤾🏼‍♂️","🤾🏼","🤾🏽‍♀️","🤾🏽‍♂️","🤾🏽","🤾🏾‍♀️","🤾🏾‍♂️","🤾🏾","🤾🏿‍♀️","🤾🏿‍♂️","🤾🏿","🤾‍♀️","🤾‍♂️","🤾","🤿","🥀","🥁","🥂","🥃","🥄","🥅","🥇","🥈","🥉","🥊","🥋","🥌","🥍","🥎","🥏","🥐","🥑","🥒","🥓","🥔","🥕","🥖","🥗","🥘","🥙","🥚","🥛","🥜","🥝","🥞","🥟","🥠","🥡","🥢","🥣","🥤","🥥","🥦","🥧","🥨","🥩","🥪","🥫","🥬","🥭","🥮","🥯","🥰","🥱","🥳","🥴","🥵","🥶","🥺","🥻","🥼","🥽","🥾","🥿","🦀","🦁","🦂","🦃","🦄","🦅","🦆","🦇","🦈","🦉","🦊","🦋","🦌","🦍","🦎","🦏","🦐","🦑","🦒","🦓","🦔","🦕","🦖","🦗","🦘","🦙","🦚","🦛","🦜","🦝","🦞","🦟","🦠","🦡","🦢","🦥","🦦","🦧","🦨","🦩","🦪","🦮","🦯","🦰","🦱","🦲","🦳","🦴","🦵🏻","🦵🏼","🦵🏽","🦵🏾","🦵🏿","🦵","🦶🏻","🦶🏼","🦶🏽","🦶🏾","🦶🏿","🦶","🦷","🦸🏻‍♀️","🦸🏻‍♂️","🦸🏻","🦸🏼‍♀️","🦸🏼‍♂️","🦸🏼","🦸🏽‍♀️","🦸🏽‍♂️","🦸🏽","🦸🏾‍♀️","🦸🏾‍♂️","🦸🏾","🦸🏿‍♀️","🦸🏿‍♂️","🦸🏿","🦸‍♀️","🦸‍♂️","🦸","🦹🏻‍♀️","🦹🏻‍♂️","🦹🏻","🦹🏼‍♀️","🦹🏼‍♂️","🦹🏼","🦹🏽‍♀️","🦹🏽‍♂️","🦹🏽","🦹🏾‍♀️","🦹🏾‍♂️","🦹🏾","🦹🏿‍♀️","🦹🏿‍♂️","🦹🏿","🦹‍♀️","🦹‍♂️","🦹","🦺","🦻🏻","🦻🏼","🦻🏽","🦻🏾","🦻🏿","🦻","🦼","🦽","🦾","🦿","🧀","🧁","🧂","🧃","🧄","🧅","🧆","🧇","🧈","🧉","🧊","🧍🏻‍♀️","🧍🏻‍♂️","🧍🏻","🧍🏼‍♀️","🧍🏼‍♂️","🧍🏼","🧍🏽‍♀️","🧍🏽‍♂️","🧍🏽","🧍🏾‍♀️","🧍🏾‍♂️","🧍🏾","🧍🏿‍♀️","🧍🏿‍♂️","🧍🏿","🧍‍♀️","🧍‍♂️","🧍","🧎🏻‍♀️","🧎🏻‍♂️","🧎🏻","🧎🏼‍♀️","🧎🏼‍♂️","🧎🏼","🧎🏽‍♀️","🧎🏽‍♂️","🧎🏽","🧎🏾‍♀️","🧎🏾‍♂️","🧎🏾","🧎🏿‍♀️","🧎🏿‍♂️","🧎🏿","🧎‍♀️","🧎‍♂️","🧎","🧏🏻‍♀️","🧏🏻‍♂️","🧏🏻","🧏🏼‍♀️","🧏🏼‍♂️","🧏🏼","🧏🏽‍♀️","🧏🏽‍♂️","🧏🏽","🧏🏾‍♀️","🧏🏾‍♂️","🧏🏾","🧏🏿‍♀️","🧏🏿‍♂️","🧏🏿","🧏‍♀️","🧏‍♂️","🧏","🧐","🧑🏻‍🤝‍🧑🏻","🧑🏻","🧑🏼‍🤝‍🧑🏻","🧑🏼‍🤝‍🧑🏼","🧑🏼","🧑🏽‍🤝‍🧑🏻","🧑🏽‍🤝‍🧑🏼","🧑🏽‍🤝‍🧑🏽","🧑🏽","🧑🏾‍🤝‍🧑🏻","🧑🏾‍🤝‍🧑🏼","🧑🏾‍🤝‍🧑🏽","🧑🏾‍🤝‍🧑🏾","🧑🏾","🧑🏿‍🤝‍🧑🏻","🧑🏿‍🤝‍🧑🏼","🧑🏿‍🤝‍🧑🏽","🧑🏿‍🤝‍🧑🏾","🧑🏿‍🤝‍🧑🏿","🧑🏿","🧑‍🤝‍🧑","🧑","🧒🏻","🧒🏼","🧒🏽","🧒🏾","🧒🏿","🧒","🧓🏻","🧓🏼","🧓🏽","🧓🏾","🧓🏿","🧓","🧔🏻","🧔🏼","🧔🏽","🧔🏾","🧔🏿","🧔","🧕🏻","🧕🏼","🧕🏽","🧕🏾","🧕🏿","🧕","🧖🏻‍♀️","🧖🏻‍♂️","🧖🏻","🧖🏼‍♀️","🧖🏼‍♂️","🧖🏼","🧖🏽‍♀️","🧖🏽‍♂️","🧖🏽","🧖🏾‍♀️","🧖🏾‍♂️","🧖🏾","🧖🏿‍♀️","🧖🏿‍♂️","🧖🏿","🧖‍♀️","🧖‍♂️","🧖","🧗🏻‍♀️","🧗🏻‍♂️","🧗🏻","🧗🏼‍♀️","🧗🏼‍♂️","🧗🏼","🧗🏽‍♀️","🧗🏽‍♂️","🧗🏽","🧗🏾‍♀️","🧗🏾‍♂️","🧗🏾","🧗🏿‍♀️","🧗🏿‍♂️","🧗🏿","🧗‍♀️","🧗‍♂️","🧗","🧘🏻‍♀️","🧘🏻‍♂️","🧘🏻","🧘🏼‍♀️","🧘🏼‍♂️","🧘🏼","🧘🏽‍♀️","🧘🏽‍♂️","🧘🏽","🧘🏾‍♀️","🧘🏾‍♂️","🧘🏾","🧘🏿‍♀️","🧘🏿‍♂️","🧘🏿","🧘‍♀️","🧘‍♂️","🧘","🧙🏻‍♀️","🧙🏻‍♂️","🧙🏻","🧙🏼‍♀️","🧙🏼‍♂️","🧙🏼","🧙🏽‍♀️","🧙🏽‍♂️","🧙🏽","🧙🏾‍♀️","🧙🏾‍♂️","🧙🏾","🧙🏿‍♀️","🧙🏿‍♂️","🧙🏿","🧙‍♀️","🧙‍♂️","🧙","🧚🏻‍♀️","🧚🏻‍♂️","🧚🏻","🧚🏼‍♀️","🧚🏼‍♂️","🧚🏼","🧚🏽‍♀️","🧚🏽‍♂️","🧚🏽","🧚🏾‍♀️","🧚🏾‍♂️","🧚🏾","🧚🏿‍♀️","🧚🏿‍♂️","🧚🏿","🧚‍♀️","🧚‍♂️","🧚","🧛🏻‍♀️","🧛🏻‍♂️","🧛🏻","🧛🏼‍♀️","🧛🏼‍♂️","🧛🏼","🧛🏽‍♀️","🧛🏽‍♂️","🧛🏽","🧛🏾‍♀️","🧛🏾‍♂️","🧛🏾","🧛🏿‍♀️","🧛🏿‍♂️","🧛🏿","🧛‍♀️","🧛‍♂️","🧛","🧜🏻‍♀️","🧜🏻‍♂️","🧜🏻","🧜🏼‍♀️","🧜🏼‍♂️","🧜🏼","🧜🏽‍♀️","🧜🏽‍♂️","🧜🏽","🧜🏾‍♀️","🧜🏾‍♂️","🧜🏾","🧜🏿‍♀️","🧜🏿‍♂️","🧜🏿","🧜‍♀️","🧜‍♂️","🧜","🧝🏻‍♀️","🧝🏻‍♂️","🧝🏻","🧝🏼‍♀️","🧝🏼‍♂️","🧝🏼","🧝🏽‍♀️","🧝🏽‍♂️","🧝🏽","🧝🏾‍♀️","🧝🏾‍♂️","🧝🏾","🧝🏿‍♀️","🧝🏿‍♂️","🧝🏿","🧝‍♀️","🧝‍♂️","🧝","🧞‍♀️","🧞‍♂️","🧞","🧟‍♀️","🧟‍♂️","🧟","🧠","🧡","🧢","🧣","🧤","🧥","🧦","🧧","🧨","🧩","🧪","🧫","🧬","🧭","🧮","🧯","🧰","🧱","🧲","🧳","🧴","🧵","🧶","🧷","🧸","🧹","🧺","🧻","🧼","🧽","🧾","🧿","🩰","🩱","🩲","🩳","🩸","🩹","🩺","🪀","🪁","🪂","🪐","🪑","🪒","🪓","🪔","🪕","‼️","⁉️","™️","ℹ️","↔️","↕️","↖️","↗️","↘️","↙️","↩️","↪️","#⃣","⌚️","⌛️","⌨️","⏏️","⏩","⏪","⏫","⏬","⏭️","⏮️","⏯️","⏰","⏱️","⏲️","⏳","⏸️","⏹️","⏺️","Ⓜ️","▪️","▫️","▶️","◀️","◻️","◼️","◽️","◾️","☀️","☁️","☂️","☃️","☄️","☎️","☑️","☔️","☕️","☘️","☝🏻","☝🏼","☝🏽","☝🏾","☝🏿","☝️","☠️","☢️","☣️","☦️","☪️","☮️","☯️","☸️","☹️","☺️","♀️","♂️","♈️","♉️","♊️","♋️","♌️","♍️","♎️","♏️","♐️","♑️","♒️","♓️","♟️","♠️","♣️","♥️","♦️","♨️","♻️","♾","♿️","⚒️","⚓️","⚔️","⚕️","⚖️","⚗️","⚙️","⚛️","⚜️","⚠️","⚡️","⚪️","⚫️","⚰️","⚱️","⚽️","⚾️","⛄️","⛅️","⛈️","⛎","⛏️","⛑️","⛓️","⛔️","⛩️","⛪️","⛰️","⛱️","⛲️","⛳️","⛴️","⛵️","⛷🏻","⛷🏼","⛷🏽","⛷🏾","⛷🏿","⛷️","⛸️","⛹🏻‍♀️","⛹🏻‍♂️","⛹🏻","⛹🏼‍♀️","⛹🏼‍♂️","⛹🏼","⛹🏽‍♀️","⛹🏽‍♂️","⛹🏽","⛹🏾‍♀️","⛹🏾‍♂️","⛹🏾","⛹🏿‍♀️","⛹🏿‍♂️","⛹🏿","⛹️‍♀️","⛹️‍♂️","⛹️","⛺️","⛽️","✂️","✅","✈️","✉️","✊🏻","✊🏼","✊🏽","✊🏾","✊🏿","✊","✋🏻","✋🏼","✋🏽","✋🏾","✋🏿","✋","✌🏻","✌🏼","✌🏽","✌🏾","✌🏿","✌️","✍🏻","✍🏼","✍🏽","✍🏾","✍🏿","✍️","✏️","✒️","✔️","✖️","✝️","✡️","✨","✳️","✴️","❄️","❇️","❌","❎","❓","❔","❕","❗️","❣️","❤️","➕","➖","➗","➡️","➰","➿","⤴️","⤵️","*⃣","⬅️","⬆️","⬇️","⬛️","⬜️","⭐️","⭕️","0⃣","〰️","〽️","1⃣","2⃣","㊗️","㊙️","3⃣","4⃣","5⃣","6⃣","7⃣","8⃣","9⃣","©️","®️",""]},57235:(E,N,R)=>{"use strict";const j=R(83881);const $=R(22471);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(ae===null||typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E={...R,path:false};return G(null,E)}const Ee={...R,path:R.descriptionFileRoot,request:_e,fullySpecified:false};E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},22002:(E,N,R)=>{"use strict";const j=R(43556);E.exports=class AliasPlugin{constructor(E,N,R){this.source=E;this.options=Array.isArray(N)?N:[N];this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasPlugin",((R,$,q)=>{const G=R.request||R.path;if(!G)return q();j(this.options,((q,ie)=>{let ae=false;if(G===q.name||!q.onlyModule&&G.startsWith(q.name+"/")){const ce=G.substr(q.name.length);const resolveWithAlias=(j,ie)=>{if(j===false){const E={...R,path:false};return ie(null,E)}if(G!==j&&!G.startsWith(j+"/")){ae=true;const G=j+ce;const le={...R,request:G,fullySpecified:false};return E.doResolve(N,le,"aliased with mapping '"+q.name+"': '"+j+"' to '"+G+"'",$,((E,N)=>{if(E)return ie(E);if(N)return ie(null,N);return ie()}))}return ie()};const stoppingCallback=(E,N)=>{if(E)return ie(E);if(N)return ie(null,N);if(ae)return ie(null,null);return ie()};if(Array.isArray(q.alias)){return j(q.alias,resolveWithAlias,stoppingCallback)}else{return resolveWithAlias(q.alias,stoppingCallback)}}return ie()}),q)}))}}},40803:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q={...R,path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending};E.doResolve(N,q,this.appending,j,$)}))}}},67703:(E,N,R)=>{"use strict";const j=R(77282).nextTick;const dirname=E=>{let N=E.length-1;while(N>=0){const R=E.charCodeAt(N);if(R===47||R===92)break;N--}if(N<0)return"";return E.slice(0,N)};const runCallbacks=(E,N,R)=>{if(E.length===1){E[0](N,R);E.length=0;return}let j;for(const $ of E){try{$(N,R)}catch(E){if(!j)j=E}}E.length=0;if(j)throw j};class OperationMergerBackend{constructor(E,N,R){this._provider=E;this._syncProvider=N;this._providerContext=R;this._activeAsyncOperations=new Map;this.provide=this._provider?(N,R,j)=>{if(typeof R==="function"){j=R;R=undefined}if(R){return this._provider.call(this._providerContext,N,R,j)}if(typeof N!=="string"){j(new TypeError("path must be a string"));return}let $=this._activeAsyncOperations.get(N);if($){$.push(j);return}this._activeAsyncOperations.set(N,$=[j]);E(N,((E,R)=>{this._activeAsyncOperations.delete(N);runCallbacks($,E,R)}))}:null;this.provideSync=this._syncProvider?(E,N)=>this._syncProvider.call(this._providerContext,E,N):null}purge(){}purgeParent(){}}const $=0;const q=1;const G=2;class CacheBackend{constructor(E,N,R,j){this._duration=E;this._provider=N;this._syncProvider=R;this._providerContext=j;this._activeAsyncOperations=new Map;this._data=new Map;this._levels=[];for(let E=0;E<10;E++)this._levels.push(new Set);for(let N=5e3;N{this._activeAsyncOperations.delete(E);this._storeResult(E,N,R);this._enterAsyncMode();runCallbacks(G,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(N){return this._syncProvider.call(this._providerContext,E,N)}if(this._mode===q){this._runDecays()}let R=this._data.get(E);if(R!==undefined){if(R.err)throw R.err;return R.result}const j=this._activeAsyncOperations.get(E);this._activeAsyncOperations.delete(E);let $;try{$=this._syncProvider.call(this._providerContext,E)}catch(N){this._storeResult(E,N,undefined);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,N,undefined);throw N}this._storeResult(E,undefined,$);this._enterSyncModeWhenIdle();if(j)runCallbacks(j,undefined,$);return $}purge(E){if(!E){if(this._mode!==$){this._data.clear();for(const E of this._levels){E.clear()}this._enterIdleMode()}}else if(typeof E==="string"){for(let[N,R]of this._data){if(N.startsWith(E)){this._data.delete(N);R.level.delete(N)}}if(this._data.size===0){this._enterIdleMode()}}else{for(let[N,R]of this._data){for(const j of E){if(N.startsWith(j)){this._data.delete(N);R.level.delete(N);break}}}if(this._data.size===0){this._enterIdleMode()}}}purgeParent(E){if(!E){this.purge()}else if(typeof E==="string"){this.purge(dirname(E))}else{const N=new Set;for(const R of E){N.add(dirname(R))}this.purge(N)}}_storeResult(E,N,R){if(this._data.has(E))return;const j=this._levels[this._currentLevel];this._data.set(E,{err:N,result:R,level:j});j.add(E)}_decayLevel(){const E=(this._currentLevel+1)%this._levels.length;const N=this._levels[E];this._currentLevel=E;for(let E of N){this._data.delete(E)}N.clear();if(this._data.size===0){this._enterIdleMode()}else{this._nextDecay+=this._tickInterval}}_runDecays(){while(this._nextDecay<=Date.now()&&this._mode!==$){this._decayLevel()}}_enterAsyncMode(){let E=0;switch(this._mode){case G:return;case $:this._nextDecay=Date.now()+this._tickInterval;E=this._tickInterval;break;case q:this._runDecays();if(this._mode===$)return;E=Math.max(0,this._nextDecay-Date.now());break}this._mode=G;const N=setTimeout((()=>{this._mode=q;this._runDecays()}),E);if(N.unref)N.unref();this._timeout=N}_enterSyncModeWhenIdle(){if(this._mode===$){this._mode=q;this._nextDecay=Date.now()+this._tickInterval}}_enterIdleMode(){this._mode=$;this._nextDecay=undefined;if(this._timeout)clearTimeout(this._timeout)}}const createBackend=(E,N,R,j)=>{if(E>0){return new CacheBackend(E,N,R,j)}return new OperationMergerBackend(N,R,j)};E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._lstatBackend=createBackend(N,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);const R=this._lstatBackend.provide;this.lstat=R;const j=this._lstatBackend.provideSync;this.lstatSync=j;this._statBackend=createBackend(N,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);const $=this._statBackend.provide;this.stat=$;const q=this._statBackend.provideSync;this.statSync=q;this._readdirBackend=createBackend(N,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);const G=this._readdirBackend.provide;this.readdir=G;const ie=this._readdirBackend.provideSync;this.readdirSync=ie;this._readFileBackend=createBackend(N,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);const ae=this._readFileBackend.provide;this.readFile=ae;const ce=this._readFileBackend.provideSync;this.readFileSync=ce;this._readJsonBackend=createBackend(N,this.fileSystem.readJson||this.readFile&&((E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);if(!R||R.length===0)return N(new Error("No file content"));let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}),this.fileSystem.readJsonSync||this.readFileSync&&(E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}),this.fileSystem);const le=this._readJsonBackend.provide;this.readJson=le;const _e=this._readJsonBackend.provideSync;this.readJsonSync=_e;this._readlinkBackend=createBackend(N,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);const Ee=this._readlinkBackend.provide;this.readlink=Ee;const Te=this._readlinkBackend.provideSync;this.readlinkSync=Te}purge(E){this._statBackend.purge(E);this._lstatBackend.purge(E);this._readdirBackend.purgeParent(E);this._readFileBackend.purge(E);this._readlinkBackend.purge(E);this._readJsonBackend.purge(E)}}},94511:(E,N,R)=>{"use strict";const j=R(69835).basename;E.exports=class CloneBasenamePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("CloneBasenamePlugin",((R,$,q)=>{const G=j(R.path);const ie=E.join(R.path,G);const ae={...R,path:ie,relativePath:R.relativePath&&E.join(R.relativePath,G)};E.doResolve(N,ae,"using path: "+ie,$,q)}))}}},61770:E=>{"use strict";E.exports=class ConditionalPlugin{constructor(E,N,R,j,$){this.source=E;this.test=N;this.message=R;this.allowAlternatives=j;this.target=$}apply(E){const N=E.ensureHook(this.target);const{test:R,message:j,allowAlternatives:$}=this;const q=Object.keys(R);E.getHook(this.source).tapAsync("ConditionalPlugin",((G,ie,ae)=>{for(const E of q){if(G[E]!==R[E])return ae()}E.doResolve(N,G,j,ie,$?ae:(E,N)=>{if(E)return ae(E);if(N===undefined)return ae(null,null);ae(null,N)})}))}}},65943:(E,N,R)=>{"use strict";const j=R(83881);E.exports=class DescriptionFilePlugin{constructor(E,N,R,j){this.source=E;this.filenames=N;this.pathIsFile=R;this.target=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;if(!G)return q();const ie=this.pathIsFile?j.cdUp(G):G;if(!ie)return q();j.loadDescriptionFile(E,ie,this.filenames,R.descriptionFilePath?{path:R.descriptionFilePath,content:R.descriptionFileData,directory:R.descriptionFileRoot}:undefined,$,((j,ae)=>{if(j)return q(j);if(!ae){if($.log)$.log(`No description file found in ${ie} or above`);return q()}const ce="."+G.substr(ae.directory.length).replace(/\\/g,"/");const le={...R,descriptionFilePath:ae.path,descriptionFileData:ae.content,descriptionFileRoot:ae.directory,relativePath:ce};E.doResolve(N,le,"using description file: "+ae.path+" (relative path: "+ce+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},83881:(E,N,R)=>{"use strict";const j=R(43556);function loadDescriptionFile(E,N,R,$,q,G){(function findDescriptionFile(){if($&&$.directory===N){return G(null,$)}j(R,((R,j)=>{const $=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson($,((E,N)=>{if(E){if(typeof E.code!=="undefined"){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}return onJson(E)}if(q.fileDependencies){q.fileDependencies.add($)}onJson(null,N)}))}else{E.fileSystem.readFile($,((E,N)=>{if(E){if(q.missingDependencies){q.missingDependencies.add($)}return j()}if(q.fileDependencies){q.fileDependencies.add($)}let R;if(N){try{R=JSON.parse(N.toString())}catch(E){return onJson(E)}}else{return onJson(new Error("No content in file"))}onJson(null,R)}))}function onJson(E,R){if(E){if(q.log)q.log($+" (directory description file): "+E);else E.message=$+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:$})}}),((E,R)=>{if(E)return G(E);if(R){return G(null,R)}else{const E=cdUp(N);if(!E){return G()}else{N=E;return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;if(!G)return $();q.stat(G,((q,ie)=>{if(q||!ie){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missingDependencies)j.missingDependencies.add(G);if(j.log)j.log(G+" is not a directory");return $()}if(j.fileDependencies)j.fileDependencies.add(G);E.doResolve(N,R,`existing directory ${G}`,j,$)}))}))}}},5109:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processExportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const{checkExportsFieldTarget:ae}=R(67411);E.exports=class ExportsFieldPlugin{constructor(E,N,R,j){this.source=E;this.target=j;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ExportsFieldPlugin",((R,ce,le)=>{if(!R.descriptionFilePath)return le();if(R.relativePath!=="."||R.request===undefined)return le();const _e=R.query||R.fragment?(R.request==="."?"./":R.request)+R.query+R.fragment:R.request;const Ee=$.getField(R.descriptionFileData,this.fieldName);if(!Ee)return le();if(R.directory){return le(new Error(`Resolving to directories is not possible with the exports field (request was ${_e}/)`))}let Te;try{let E=this.fieldProcessorCache.get(R.descriptionFileData);if(E===undefined){E=G(Ee);this.fieldProcessorCache.set(R.descriptionFileData,E)}Te=E(_e,this.conditionNames)}catch(E){if(ce.log){ce.log(`Exports field in ${R.descriptionFilePath} can't be processed: ${E}`)}return le(E)}if(Te.length===0){return le(new Error(`Package path ${_e} is not exported from package ${R.descriptionFileRoot} (see exports field in ${R.descriptionFilePath})`))}q(Te,(($,q)=>{const G=ie($);if(!G)return q();const[le,_e,Ee]=G;const Te=ae(le);if(Te){return q(Te)}const we={...R,request:undefined,path:j.join(R.descriptionFileRoot,le),relativePath:le,query:_e,fragment:Ee};E.doResolve(N,we,"using exports field: "+$,ce,q)}),((E,N)=>le(E,N||null)))}))}}},87876:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;if(!G)return q();R.stat(G,((R,ie)=>{if(R||!ie){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missingDependencies)$.missingDependencies.add(G);if($.log)$.log(G+" is not a file");return q()}if($.fileDependencies)$.fileDependencies.add(G);E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},1825:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=R(43556);const{processImportsField:G}=R(4077);const{parseIdentifier:ie}=R(48366);const ae=".".charCodeAt(0);E.exports=class ImportsFieldPlugin{constructor(E,N,R,j,$){this.source=E;this.targetFile=j;this.targetPackage=$;this.conditionNames=N;this.fieldName=R;this.fieldProcessorCache=new WeakMap}apply(E){const N=E.ensureHook(this.targetFile);const R=E.ensureHook(this.targetPackage);E.getHook(this.source).tapAsync("ImportsFieldPlugin",((ce,le,_e)=>{if(!ce.descriptionFilePath||ce.request===undefined){return _e()}const Ee=ce.request+ce.query+ce.fragment;const Te=$.getField(ce.descriptionFileData,this.fieldName);if(!Te)return _e();if(ce.directory){return _e(new Error(`Resolving to directories is not possible with the imports field (request was ${Ee}/)`))}let we;try{let E=this.fieldProcessorCache.get(ce.descriptionFileData);if(E===undefined){E=G(Te);this.fieldProcessorCache.set(ce.descriptionFileData,E)}we=E(Ee,this.conditionNames)}catch(E){if(le.log){le.log(`Imports field in ${ce.descriptionFilePath} can't be processed: ${E}`)}return _e(E)}if(we.length===0){return _e(new Error(`Package import ${Ee} is not imported from package ${ce.descriptionFileRoot} (see imports field in ${ce.descriptionFilePath})`))}q(we,(($,q)=>{const G=ie($);if(!G)return q();const[_e,Ee,Te]=G;switch(_e.charCodeAt(0)){case ae:{const R={...ce,request:undefined,path:j.join(ce.descriptionFileRoot,_e),relativePath:_e,query:Ee,fragment:Te};E.doResolve(N,R,"using imports field: "+$,le,q);break}default:{const N={...ce,request:_e,relativePath:_e,fullySpecified:true,query:Ee,fragment:Te};E.doResolve(R,N,"using imports field: "+$,le,q)}}}),((E,N)=>_e(E,N||null)))}))}}},91521:E=>{"use strict";const N="@".charCodeAt(0);E.exports=class JoinRequestPartPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const R=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPartPlugin",((j,$,q)=>{const G=j.request||"";let ie=G.indexOf("/",3);if(ie>=0&&G.charCodeAt(2)===N){ie=G.indexOf("/",ie+1)}let ae,ce,le;if(ie<0){ae=G;ce=".";le=false}else{ae=G.slice(0,ie);ce="."+G.slice(ie);le=j.fullySpecified}const _e={...j,path:E.join(j.path,ae),relativePath:j.relativePath&&E.join(j.relativePath,ae),request:ce,fullySpecified:le};E.doResolve(R,_e,null,$,q)}))}}},88277:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q={...R,path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined};E.doResolve(N,q,null,j,$)}))}}},74934:E=>{"use strict";E.exports=class LogInfoPlugin{constructor(E){this.source=E}apply(E){const N=this.source;E.getHook(this.source).tapAsync("LogInfoPlugin",((E,R,j)=>{if(!R.log)return j();const $=R.log;const q="["+N+"] ";if(E.path)$(q+"Resolving in directory: "+E.path);if(E.request)$(q+"Resolving request: "+E.request);if(E.module)$(q+"Request is an module request.");if(E.directory)$(q+"Request is a directory request.");if(E.query)$(q+"Resolving request query: "+E.query);if(E.fragment)$(q+"Resolving request fragment: "+E.fragment);if(E.descriptionFilePath)$(q+"Has description data from "+E.descriptionFilePath);if(E.relativePath)$(q+"Relative path from description file is: "+E.relativePath);j()}))}}},26713:(E,N,R)=>{"use strict";const j=R(71017);const $=R(83881);const q=Symbol("alreadyTriedMainField");E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot||R[q]===R.descriptionFilePath||!R.descriptionFilePath)return ie();const ae=j.basename(R.descriptionFilePath);let ce=$.getField(R.descriptionFileData,this.options.name);if(!ce||typeof ce!=="string"||ce==="."||ce==="./"){return ie()}if(this.options.forceRelative&&!/^\.\.?\//.test(ce))ce="./"+ce;const le={...R,request:ce,module:false,directory:ce.endsWith("/"),[q]:R.descriptionFilePath};return E.doResolve(N,le,"use "+ce+" from "+this.options.name+" in "+ae,G,ie)}))}}},76067:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G={...R,path:j,request:"./"+R.request,module:false};const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missingDependencies)q.missingDependencies.add(j);return $()}))}),G)}))}}},22433:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q={...R,path:this.path,request:"./"+R.request,module:false};E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},12276:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},71121:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N,R){this.source=E;this.requestOptions=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G={...R,...q,...this.requestOptions};if(R.query&&!q.query){G.query=R.query}if(R.fragment&&!q.fragment){G.fragment=R.fragment}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}if(G.request&&!G.query&&G.fragment){const R=G.fragment.endsWith("/");const q={...G,directory:R,request:G.request+(G.directory?"/":"")+(R?G.fragment.slice(0,-1):G.fragment),fragment:""};E.doResolve(N,q,null,j,((R,q)=>{if(R)return $(R);if(q)return $(null,q);E.doResolve(N,G,null,j,$)}));return}E.doResolve(N,G,null,j,$)}))}}},10232:E=>{"use strict";E.exports=class PnpPlugin{constructor(E,N,R){this.source=E;this.pnpApi=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("PnpPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();const G=`${R.path}/`;const ie=/^(@[^/]+\/)?[^/]+/.exec(q);if(!ie)return $();const ae=ie[0];const ce=`.${q.slice(ae.length)}`;let le;let _e;try{le=this.pnpApi.resolveToUnqualified(ae,G,{considerBuiltins:false});if(j.fileDependencies){_e=this.pnpApi.resolveToUnqualified("pnpapi",G,{considerBuiltins:false})}}catch(E){if(E.code==="MODULE_NOT_FOUND"&&E.pnpCode==="UNDECLARED_DEPENDENCY"){if(j.log){j.log(`request is not managed by the pnpapi`);for(const N of E.message.split("\n").filter(Boolean))j.log(` ${N}`)}return $()}return $(E)}if(le===ae)return $();if(_e&&j.fileDependencies){j.fileDependencies.add(_e)}const Ee={...R,path:le,request:ce,ignoreSymlinks:true,fullySpecified:R.fullySpecified&&ce!=="."};E.doResolve(N,Ee,`resolved by pnp to ${le}`,j,((E,N)=>{if(E)return $(E);if(N)return $(null,N);return $(null,null)}))}))}}},33679:(E,N,R)=>{"use strict";const{AsyncSeriesBailHook:j,AsyncSeriesHook:$,SyncHook:q}=R(92960);const G=R(52227);const{parseIdentifier:ie}=R(48366);const{normalize:ae,cachedJoin:ce,getType:le,PathType:_e}=R(67411);function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}class Resolver{static createStackEntry(E,N){return E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.fragment||"")+(N.directory?" directory":"")+(N.module?" module":"")}constructor(E,N){this.fileSystem=E;this.options=N;this.hooks={resolveStep:new q(["hook","request"],"resolveStep"),noResolve:new q(["request","error"],"noResolve"),resolve:new j(["request","resolveContext"],"resolve"),result:new $(["result","resolveContext"],"result")}}ensureHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=new j(["request","resolveContext"],E)}return N}getHook(E){if(typeof E!=="string"){return E}E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j=undefined;let $=undefined;let q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q){throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!")}if(j)throw j;if($===undefined)throw new Error("No result");return $}resolve(E,N,R,j,$){if(!E||typeof E!=="object")return $(new Error("context argument is not an object"));if(typeof N!=="string")return $(new Error("path argument is not a string"));if(typeof R!=="string")return $(new Error("path argument is not a string"));if(!j)return $(new Error("resolveContext argument is not set"));const q={context:E,path:N,request:R};const G=`resolve '${R}' in '${N}'`;const finishResolved=E=>$(null,E.path===false?false:`${E.path.replace(/#/g,"\0#")}${E.query?E.query.replace(/#/g,"\0#"):""}${E.fragment||""}`,E);const finishWithoutResolve=E=>{const N=new Error("Can't "+G);N.details=E.join("\n");this.hooks.noResolve.call(q,N);return $(N)};if(j.log){const E=j.log;const N=[];return this.doResolve(this.hooks.resolve,q,G,{log:R=>{E(R);N.push(R)},fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,R)=>{if(E)return $(E);if(R)return finishResolved(R);return finishWithoutResolve(N)}))}else{return this.doResolve(this.hooks.resolve,q,G,{log:undefined,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:j.stack},((E,N)=>{if(E)return $(E);if(N)return finishResolved(N);const R=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>R.push(E),stack:j.stack},((E,N)=>{if(E)return $(E);return finishWithoutResolve(R)}))}))}}doResolve(E,N,R,j,$){const q=Resolver.createStackEntry(E,N);let ie;if(j.stack){ie=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(ie).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}ie.add(q)}else{ie=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=G({log:j.log,fileDependencies:j.fileDependencies,contextDependencies:j.contextDependencies,missingDependencies:j.missingDependencies,stack:ie},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){const N={request:"",query:"",fragment:"",module:false,directory:false,file:false,internal:false};const R=ie(E);if(!R)return N;[N.request,N.query,N.fragment]=R;if(N.request.length>0){N.internal=this.isPrivate(E);N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return le(E)===_e.Normal}isPrivate(E){return le(E)===_e.Internal}isDirectory(E){return E.endsWith("/")}join(E,N){return ce(E,N)}normalize(E){return ae(E)}}E.exports=Resolver},57934:(E,N,R)=>{"use strict";const j=R(77282).versions;const $=R(33679);const{getType:q,PathType:G}=R(67411);const ie=R(64407);const ae=R(57235);const ce=R(22002);const le=R(40803);const _e=R(61770);const Ee=R(65943);const Te=R(32575);const we=R(5109);const Ie=R(87876);const Ne=R(1825);const Me=R(91521);const Le=R(88277);const Be=R(26713);const je=R(76067);const Ue=R(22433);const ze=R(12276);const We=R(71121);const Je=R(10232);const Ve=R(77398);const qe=R(46182);const He=R(89609);const Ge=R(68285);const Ke=R(44362);const Qe=R(68029);const Xe=R(62216);const Ye=R(55187);function processPnpApiOption(E){if(E===undefined&&j.pnp){return R(35125)}return E||null}function normalizeAlias(E){return typeof E==="object"&&!Array.isArray(E)&&E!==null?Object.keys(E).map((N=>{const R={name:N,onlyModule:false,alias:E[N]};if(/\$$/.test(N)){R.onlyModule=true;R.name=N.substr(0,N.length-1)}return R})):E||[]}function createOptions(E){const N=new Set(E.mainFields||["main"]);const R=[];for(const E of N){if(typeof E==="string"){R.push({name:[E],forceRelative:true})}else if(Array.isArray(E)){R.push({name:E,forceRelative:true})}else{R.push({name:Array.isArray(E.name)?E.name:[E.name],forceRelative:E.forceRelative})}}return{alias:normalizeAlias(E.alias),fallback:normalizeAlias(E.fallback),aliasFields:new Set(E.aliasFields),cachePredicate:E.cachePredicate||function(){return true},cacheWithContext:typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true,exportsFields:new Set(E.exportsFields||["exports"]),importsFields:new Set(E.importsFields||["imports"]),conditionNames:new Set(E.conditionNames),descriptionFiles:Array.from(new Set(E.descriptionFiles||["package.json"])),enforceExtension:E.enforceExtension===undefined?E.extensions&&E.extensions.includes("")?true:false:E.enforceExtension,extensions:new Set(E.extensions||[".js",".json",".node"]),fileSystem:E.useSyncFileSystemCalls?new ie(E.fileSystem):E.fileSystem,unsafeCache:E.unsafeCache&&typeof E.unsafeCache!=="object"?{}:E.unsafeCache||false,symlinks:typeof E.symlinks!=="undefined"?E.symlinks:true,resolver:E.resolver,modules:mergeFilteredToArray(Array.isArray(E.modules)?E.modules:E.modules?[E.modules]:["node_modules"],(E=>{const N=q(E);return N===G.Normal||N===G.Relative})),mainFields:R,mainFiles:new Set(E.mainFiles||["index"]),plugins:E.plugins||[],pnpApi:processPnpApiOption(E.pnpApi),roots:new Set(E.roots||undefined),fullySpecified:E.fullySpecified||false,resolveToContext:E.resolveToContext||false,preferRelative:E.preferRelative||false,preferAbsolute:E.preferAbsolute||false,restrictions:new Set(E.restrictions)}}N.createResolver=function(E){const N=createOptions(E);const{alias:R,fallback:j,aliasFields:q,cachePredicate:G,cacheWithContext:ie,conditionNames:Ze,descriptionFiles:et,enforceExtension:tt,exportsFields:rt,importsFields:nt,extensions:it,fileSystem:ot,fullySpecified:st,mainFields:ct,mainFiles:ut,modules:dt,plugins:pt,pnpApi:ft,resolveToContext:mt,preferRelative:ht,preferAbsolute:_t,symlinks:yt,unsafeCache:vt,resolver:bt,restrictions:xt,roots:St}=N;const Et=pt.slice();const Tt=bt?bt:new $(ot,N);Tt.ensureHook("resolve");Tt.ensureHook("internalResolve");Tt.ensureHook("newInteralResolve");Tt.ensureHook("parsedResolve");Tt.ensureHook("describedResolve");Tt.ensureHook("internal");Tt.ensureHook("rawModule");Tt.ensureHook("module");Tt.ensureHook("resolveAsModule");Tt.ensureHook("undescribedResolveInPackage");Tt.ensureHook("resolveInPackage");Tt.ensureHook("resolveInExistingDirectory");Tt.ensureHook("relative");Tt.ensureHook("describedRelative");Tt.ensureHook("directory");Tt.ensureHook("undescribedExistingDirectory");Tt.ensureHook("existingDirectory");Tt.ensureHook("undescribedRawFile");Tt.ensureHook("rawFile");Tt.ensureHook("file");Tt.ensureHook("finalFile");Tt.ensureHook("existingFile");Tt.ensureHook("resolved");for(const{source:E,resolveOptions:N}of[{source:"resolve",resolveOptions:{fullySpecified:st}},{source:"internal-resolve",resolveOptions:{fullySpecified:false}}]){if(vt){Et.push(new Xe(E,G,vt,ie,`new-${E}`));Et.push(new We(`new-${E}`,N,"parsed-resolve"))}else{Et.push(new We(E,N,"parsed-resolve"))}}Et.push(new Ee("parsed-resolve",et,false,"described-resolve"));Et.push(new ze("after-parsed-resolve","described-resolve"));Et.push(new ze("described-resolve","normal-resolve"));if(j.length>0){Et.push(new ce("described-resolve",j,"internal-resolve"))}if(R.length>0)Et.push(new ce("normal-resolve",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("normal-resolve",E,"internal-resolve"))}));if(ht){Et.push(new Le("after-normal-resolve","relative"))}Et.push(new _e("after-normal-resolve",{module:true},"resolve as module",false,"raw-module"));Et.push(new _e("after-normal-resolve",{internal:true},"resolve as internal import",false,"internal"));if(_t){Et.push(new Le("after-normal-resolve","relative"))}if(St.size>0){Et.push(new He("after-normal-resolve",St,"relative"))}if(!ht&&!_t){Et.push(new Le("after-normal-resolve","relative"))}nt.forEach((E=>{Et.push(new Ne("internal",Ze,E,"relative","internal-resolve"))}));rt.forEach((E=>{Et.push(new Ge("raw-module",E,"resolve-as-module"))}));dt.forEach((E=>{if(Array.isArray(E)){if(E.includes("node_modules")&&ft){Et.push(new je("raw-module",E.filter((E=>E!=="node_modules")),"module"));Et.push(new Je("raw-module",ft,"undescribed-resolve-in-package"))}else{Et.push(new je("raw-module",E,"module"))}}else{Et.push(new Ue("raw-module",E,"module"))}}));Et.push(new Me("module","resolve-as-module"));if(!mt){Et.push(new _e("resolve-as-module",{directory:false,request:"."},"single file module",true,"undescribed-raw-file"))}Et.push(new Te("resolve-as-module","undescribed-resolve-in-package"));Et.push(new Ee("undescribed-resolve-in-package",et,false,"resolve-in-package"));Et.push(new ze("after-undescribed-resolve-in-package","resolve-in-package"));rt.forEach((E=>{Et.push(new we("resolve-in-package",Ze,E,"relative"))}));Et.push(new ze("resolve-in-package","resolve-in-existing-directory"));Et.push(new Le("resolve-in-existing-directory","relative"));Et.push(new Ee("relative",et,true,"described-relative"));Et.push(new ze("after-relative","described-relative"));if(mt){Et.push(new ze("described-relative","directory"))}else{Et.push(new _e("described-relative",{directory:false},null,true,"raw-file"));Et.push(new _e("described-relative",{fullySpecified:false},"as directory",true,"directory"))}Et.push(new Te("directory","undescribed-existing-directory"));if(mt){Et.push(new ze("undescribed-existing-directory","resolved"))}else{Et.push(new Ee("undescribed-existing-directory",et,false,"existing-directory"));ut.forEach((E=>{Et.push(new Ye("undescribed-existing-directory",E,"undescribed-raw-file"))}));ct.forEach((E=>{Et.push(new Be("existing-directory",E,"resolve-in-existing-directory"))}));ut.forEach((E=>{Et.push(new Ye("existing-directory",E,"undescribed-raw-file"))}));Et.push(new Ee("undescribed-raw-file",et,true,"raw-file"));Et.push(new ze("after-undescribed-raw-file","raw-file"));Et.push(new _e("raw-file",{fullySpecified:true},null,false,"file"));if(!tt){Et.push(new Qe("raw-file","no extension","file"))}it.forEach((E=>{Et.push(new le("raw-file",E,"file"))}));if(R.length>0)Et.push(new ce("file",R,"internal-resolve"));q.forEach((E=>{Et.push(new ae("file",E,"internal-resolve"))}));Et.push(new ze("file","final-file"));Et.push(new Ie("final-file","existing-file"));if(yt)Et.push(new Ke("existing-file","existing-file"));Et.push(new ze("existing-file","resolved"))}if(xt.size>0){Et.push(new Ve(Tt.hooks.resolved,xt))}Et.push(new qe(Tt.hooks.resolved));for(const E of Et){if(typeof E==="function"){E.call(Tt,Tt)}else{E.apply(Tt)}}return Tt};function mergeFilteredToArray(E,N){const R=[];const j=new Set(E);for(const E of j){if(N(E)){const N=R.length>0?R[R.length-1]:undefined;if(Array.isArray(N)){N.push(E)}else{R.push([E])}}else{R.push(E)}}return R}},77398:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(const E of this.restrictions){if(typeof E==="string"){if(!isInside(j,E)){if(N.log){N.log(`${j} is not inside of the restriction ${E}`)}return R(null,null)}}else if(!E.test(j)){if(N.log){N.log(`${j} doesn't match the restriction ${E}`)}return R(null,null)}}}R()}))}}},46182:E=>{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $={...N};if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},89609:(E,N,R)=>{"use strict";const j=R(43556);class RootsPlugin{constructor(E,N,R){this.roots=Array.from(N);this.source=E;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootsPlugin",((R,$,q)=>{const G=R.request;if(!G)return q();if(!G.startsWith("/"))return q();j(this.roots,((j,q)=>{const ie=E.join(j,G.slice(1));const ae={...R,path:ie,relativePath:R.relativePath&&ie};E.doResolve(N,ae,`root path ${j}`,$,q)}),q)}))}}E.exports=RootsPlugin},68285:(E,N,R)=>{"use strict";const j=R(83881);const $="/".charCodeAt(0);E.exports=class SelfReferencePlugin{constructor(E,N,R){this.source=E;this.target=R;this.fieldName=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("SelfReferencePlugin",((R,q,G)=>{if(!R.descriptionFilePath)return G();const ie=R.request;if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.fieldName);if(!ae)return G();const ce=j.getField(R.descriptionFileData,"name");if(typeof ce!=="string")return G();if(ie.startsWith(ce)&&(ie.length===ce.length||ie.charCodeAt(ce.length)===$)){const j=`.${ie.slice(ce.length)}`;const $={...R,request:j,path:R.descriptionFileRoot,relativePath:"."};E.doResolve(N,$,"self reference",q,G)}else{return G()}}))}}},44362:(E,N,R)=>{"use strict";const j=R(43556);const $=R(69835);const{getType:q,PathType:G}=R(67411);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((ie,ae,ce)=>{if(ie.ignoreSymlinks)return ce();const le=$(ie.path);const _e=le.seqments;const Ee=le.paths;let Te=false;let we=-1;j(Ee,((E,N)=>{we++;if(ae.fileDependencies)ae.fileDependencies.add(E);R.readlink(E,((E,R)=>{if(!E&&R){_e[we]=R;Te=true;const E=q(R.toString());if(E===G.AbsoluteWin||E===G.AbsolutePosix){return N(null,we)}}N()}))}),((R,j)=>{if(!Te)return ce();const $=typeof j==="number"?_e.slice(0,j+1):_e.slice();const q=$.reduceRight(((N,R)=>E.join(N,R)));const G={...ie,path:q};E.doResolve(N,G,"resolved symlink to "+q,ae,ce)}))}))}}},64407:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;this.lstat=undefined;this.lstatSync=undefined;const N=E.lstatSync;if(N){this.lstat=(R,j,$)=>{let q;try{q=N.call(E,R)}catch(E){return($||j)(E)}($||j)(null,q)};this.lstatSync=(R,j)=>N.call(E,R,j)}this.stat=(N,R,j)=>{let $;try{$=j?E.statSync(N,R):E.statSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.statSync=(N,R)=>E.statSync(N,R);this.readdir=(N,R,j)=>{let $;try{$=E.readdirSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readdirSync=(N,R)=>E.readdirSync(N,R);this.readFile=(N,R,j)=>{let $;try{$=E.readFileSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readFileSync=(N,R)=>E.readFileSync(N,R);this.readlink=(N,R,j)=>{let $;try{$=E.readlinkSync(N)}catch(E){return(j||R)(E)}(j||R)(null,$)};this.readlinkSync=(N,R)=>E.readlinkSync(N,R);this.readJson=undefined;this.readJsonSync=undefined;const R=E.readJsonSync;if(R){this.readJson=(N,j,$)=>{let q;try{q=R.call(E,N)}catch(E){return($||j)(E)}($||j)(null,q)};this.readJsonSync=(N,j)=>R.call(E,N,j)}}E.exports=SyncAsyncFileSystemDecorator},68029:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},62216:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,fragment:E.fragment,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R;this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},55187:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G={...R,path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)};E.doResolve(N,G,"using path: "+q,j,$)}))}}},52227:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;let $=undefined;if(E.log){if(N){$=R=>{if(!j){E.log(N);j=true}E.log(" "+R)}}else{$=E.log}}const q={log:$,fileDependencies:E.fileDependencies,contextDependencies:E.contextDependencies,missingDependencies:E.missingDependencies,stack:E.stack};return q}},43556:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=0;const next=()=>{let $=undefined;N(E[j++],((N,q)=>{if(N||q!==undefined||j>=E.length){return R(N,q)}if($===false)while(next());$=true}));if(!$)$=false;return $};while(next());}},22471:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?(?:\/|$)/.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},69835:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N{"use strict";const j=R(15808);const $=R(67703);const q=R(57934);const G=new $(j,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:G});function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)}const ce=q.createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)}function create(E){E={fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}}function createSync(E){E={useSyncFileSystemCalls:true,fileSystem:G,...E};const N=q.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}}const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);Object.defineProperties(E,R);return Object.freeze(E)};E.exports=mergeExports(resolve,{get sync(){return resolveSync},create:mergeExports(create,{get sync(){return createSync}}),ResolverFactory:q,CachedInputFileSystem:$,get CloneBasenamePlugin(){return R(94511)},get LogInfoPlugin(){return R(74934)},get forEachBail(){return R(43556)}})},4077:E=>{"use strict";const N="/".charCodeAt(0);const R=".".charCodeAt(0);const j="#".charCodeAt(0);E.exports.processExportsField=function processExportsField(E){return createFieldProcessor(buildExportsFieldPathTree(E),assertExportsFieldRequest,assertExportTarget)};E.exports.processImportsField=function processImportsField(E){return createFieldProcessor(buildImportsFieldPathTree(E),assertImportsFieldRequest,assertImportTarget)};function createFieldProcessor(E,N,R){return function fieldProcessor(j,$){j=N(j);const q=findMatch(j,E);if(q===null)return[];const[G,ie]=q;let ae=null;if(isConditionalMapping(G)){ae=conditionalMapping(G,$);if(ae===null)return[]}else{ae=G}const ce=ie===j.length+1?undefined:ie<0?j.slice(-ie-1):j.slice(ie);return directMapping(ce,ie<0,ae,$,R)}}function assertExportsFieldRequest(E){if(E.charCodeAt(0)!==R){throw new Error('Request should be relative path and start with "."')}if(E.length===1)return"";if(E.charCodeAt(1)!==N){throw new Error('Request should be relative path and start with "./"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(2)}function assertImportsFieldRequest(E){if(E.charCodeAt(0)!==j){throw new Error('Request should start with "#"')}if(E.length===1){throw new Error("Request should have at least 2 characters")}if(E.charCodeAt(1)===N){throw new Error('Request should not start with "#/"')}if(E.charCodeAt(E.length-1)===N){throw new Error("Only requesting file allowed")}return E.slice(1)}function assertExportTarget(E,j){if(E.charCodeAt(0)===N||E.charCodeAt(0)===R&&E.charCodeAt(1)!==N){throw new Error(`Export should be relative path and start with "./", got ${JSON.stringify(E)}.`)}const $=E.charCodeAt(E.length-1)===N;if($!==j){throw new Error(j?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function assertImportTarget(E,R){const j=E.charCodeAt(E.length-1)===N;if(j!==R){throw new Error(R?`Expecting folder to folder mapping. ${JSON.stringify(E)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(E)} should not end with "/"`)}}function findMatch(E,N){if(E.length===0){const E=N.files.get("");return E?[E,1]:null}if(N.children===null&&N.folder===null&&N.wildcards===null){const R=N.files.get(E);return R?[R,E.length+1]:null}let R=N;let j=0;let $=E.indexOf("/",0);let q=null;const applyFolderMapping=()=>{const E=R.folder;if(E){if(q){q[0]=E;q[1]=-j-1}else{q=[E,-j-1]}}};const applyWildcardMappings=(E,N)=>{if(E){for(const[R,$]of E){if(N.startsWith(R)){if(!q){q=[$,j+R.length]}else if(q[1]0?E.slice(j):E;const ie=R.files.get(G);if(ie){return[ie,E.length+1]}applyFolderMapping();applyWildcardMappings(R.wildcards,G);return q}function isConditionalMapping(E){return E!==null&&typeof E==="object"&&!Array.isArray(E)}function directMapping(E,N,R,j,$){if(R===null)return[];if(typeof R==="string"){return[targetMapping(E,N,R,$)]}const q=[];for(const G of R){if(typeof G==="string"){q.push(targetMapping(E,N,G,$));continue}const R=conditionalMapping(G,j);if(!R)continue;const ie=directMapping(E,N,R,j,$);for(const E of ie){q.push(E)}}return q}function targetMapping(E,N,R,j){if(E===undefined){j(R,false);return R}if(N){j(R,true);return R+E}j(R,false);return R.replace(/\*/g,E.replace(/\$/g,"$$"))}function conditionalMapping(E,N){let R=[[E,Object.keys(E),0]];e:while(R.length>0){const[E,j,$]=R[R.length-1];const q=j.length-1;for(let G=$;G=N.length){j.folder=R}else{const E=$>0?N.slice($):N;if(E.endsWith("*")){if(j.wildcards===null)j.wildcards=new Map;j.wildcards.set(E.slice(0,-1),R)}else{j.files.set(E,R)}}}function buildExportsFieldPathTree(E){const j=createNode();if(typeof E==="string"){j.files.set("",E);return j}else if(Array.isArray(E)){j.files.set("",E.slice());return j}const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==R){if(q===0){while(q<$.length){const E=$[q].charCodeAt(0);if(E===R||E===N){throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}q++}j.files.set("",E);return j}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(G)})`)}if(G.length===1){j.files.set("",E[G]);continue}if(G.charCodeAt(1)!==N){throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(G)})`)}walkPath(j,G.slice(2),E[G])}return j}function buildImportsFieldPathTree(E){const R=createNode();const $=Object.keys(E);for(let q=0;q<$.length;q++){const G=$[q];if(G.charCodeAt(0)!==j){throw new Error(`Imports field key should start with "#" (key: ${JSON.stringify(G)})`)}if(G.length===1){throw new Error(`Imports field key should have at least 2 characters (key: ${JSON.stringify(G)})`)}if(G.charCodeAt(1)===N){throw new Error(`Imports field key should not start with "#/" (key: ${JSON.stringify(G)})`)}walkPath(R,G.slice(1),E[G])}return R}},48366:E=>{"use strict";const N=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parseIdentifier(E){const R=N.exec(E);if(!R)return null;return[R[1].replace(/\0(.)/g,"$1"),R[2]?R[2].replace(/\0(.)/g,"$1"):"",R[3]||""]}E.exports.parseIdentifier=parseIdentifier},67411:(E,N,R)=>{"use strict";const j=R(71017);const $="#".charCodeAt(0);const q="/".charCodeAt(0);const G="\\".charCodeAt(0);const ie="A".charCodeAt(0);const ae="Z".charCodeAt(0);const ce="a".charCodeAt(0);const le="z".charCodeAt(0);const _e=".".charCodeAt(0);const Ee=":".charCodeAt(0);const Te=j.posix.normalize;const we=j.win32.normalize;const Ie=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5});N.PathType=Ie;const getType=E=>{switch(E.length){case 0:return Ie.Empty;case 1:{const N=E.charCodeAt(0);switch(N){case _e:return Ie.Relative;case q:return Ie.AbsolutePosix;case $:return Ie.Internal}return Ie.Normal}case 2:{const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case _e:case q:return Ie.Relative}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){if(N>=ie&&N<=ae||N>=ce&&N<=le){return Ie.AbsoluteWin}}return Ie.Normal}}const N=E.charCodeAt(0);switch(N){case _e:{const N=E.charCodeAt(1);switch(N){case q:return Ie.Relative;case _e:{const N=E.charCodeAt(2);if(N===q)return Ie.Relative;return Ie.Normal}}return Ie.Normal}case q:return Ie.AbsolutePosix;case $:return Ie.Internal}const R=E.charCodeAt(1);if(R===Ee){const R=E.charCodeAt(2);if((R===G||R===q)&&(N>=ie&&N<=ae||N>=ce&&N<=le)){return Ie.AbsoluteWin}}return Ie.Normal};N.getType=getType;const normalize=E=>{switch(getType(E)){case Ie.Empty:return E;case Ie.AbsoluteWin:return we(E);case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.normalize=normalize;const join=(E,N)=>{if(!N)return normalize(E);const R=getType(N);switch(R){case Ie.AbsolutePosix:return Te(N);case Ie.AbsoluteWin:return we(N)}switch(getType(E)){case Ie.Normal:case Ie.Relative:case Ie.AbsolutePosix:return Te(`${E}/${N}`);case Ie.AbsoluteWin:return we(`${E}\\${N}`)}switch(R){case Ie.Empty:return E;case Ie.Relative:{const N=Te(E);return getType(N)===Ie.Relative?N:`./${N}`}}return Te(E)};N.join=join;const Ne=new Map;const cachedJoin=(E,N)=>{let R;let j=Ne.get(E);if(j===undefined){Ne.set(E,j=new Map)}else{R=j.get(N);if(R!==undefined)return R}R=join(E,N);j.set(N,R);return R};N.cachedJoin=cachedJoin;const checkExportsFieldTarget=E=>{let N=2;let R=E.indexOf("/",2);let j=0;while(R!==-1){const $=E.slice(N,R);switch($){case"..":{j--;if(j<0)return new Error(`Trying to access out of package scope. Requesting ${E}`);break}default:j++;break}N=R+1;R=E.indexOf("/",N)}};N.checkExportsFieldTarget=checkExportsFieldTarget},16950:(E,N,R)=>{"use strict";const j=R(78120);class Definition{constructor(E,N,R,j,$,q){this.type=E;this.name=N;this.node=R;this.parent=j;this.index=$;this.kind=q}}class ParameterDefinition extends Definition{constructor(E,N,R,$){super(j.Parameter,E,N,null,R,null);this.rest=$}}E.exports={ParameterDefinition:ParameterDefinition,Definition:Definition}},19579:(E,N,R)=>{"use strict";const j=R(39491);const $=R(60018);const q=R(36337);const G=R(24552);const ie=R(78120);const ae=R(98699).Scope;const ce=R(83196).i8;function defaultOptions(){return{optimistic:false,directive:false,nodejsScope:false,impliedStrict:false,sourceType:"script",ecmaVersion:5,childVisitorKeys:null,fallback:"iteration"}}function updateDeeply(E,N){function isHashObject(E){return typeof E==="object"&&E instanceof Object&&!(E instanceof Array)&&!(E instanceof RegExp)}for(const R in N){if(Object.prototype.hasOwnProperty.call(N,R)){const j=N[R];if(isHashObject(j)){if(isHashObject(E[R])){updateDeeply(E[R],j)}else{E[R]=updateDeeply({},j)}}else{E[R]=j}}}return E}function analyze(E,N){const R=updateDeeply(defaultOptions(),N);const G=new $(R);const ie=new q(R,G);ie.visit(E);j(G.__currentScope===null,"currentScope should be null.");return G}E.exports={version:ce,Reference:G,Variable:ie,Scope:ae,ScopeManager:$,analyze:analyze}},29630:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);function getLast(E){return E[E.length-1]||null}class PatternVisitor extends $.Visitor{static isPattern(E){const N=E.type;return N===j.Identifier||N===j.ObjectPattern||N===j.ArrayPattern||N===j.SpreadElement||N===j.RestElement||N===j.AssignmentPattern}constructor(E,N,R){super(null,E);this.rootPattern=N;this.callback=R;this.assignments=[];this.rightHandNodes=[];this.restElements=[]}Identifier(E){const N=getLast(this.restElements);this.callback(E,{topLevel:E===this.rootPattern,rest:N!==null&&N!==undefined&&N.argument===E,assignments:this.assignments})}Property(E){if(E.computed){this.rightHandNodes.push(E.key)}this.visit(E.value)}ArrayPattern(E){for(let N=0,R=E.elements.length;N{this.rightHandNodes.push(E)}));this.visit(E.callee)}}E.exports=PatternVisitor},24552:E=>{"use strict";const N=1;const R=2;const j=N|R;class Reference{constructor(E,N,R,j,$,q,G){this.identifier=E;this.from=N;this.tainted=false;this.resolved=null;this.flag=R;if(this.isWrite()){this.writeExpr=j;this.partial=q;this.init=G}this.__maybeImplicitGlobal=$}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&Reference.WRITE)}isRead(){return!!(this.flag&Reference.READ)}isReadOnly(){return this.flag===Reference.READ}isWriteOnly(){return this.flag===Reference.WRITE}isReadWrite(){return this.flag===Reference.RW}}Reference.READ=N;Reference.WRITE=R;Reference.RW=j;E.exports=Reference},36337:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(49112);const q=R(24552);const G=R(78120);const ie=R(29630);const ae=R(16950);const ce=R(39491);const le=ae.ParameterDefinition;const _e=ae.Definition;function traverseIdentifierInPattern(E,N,R,j){const $=new ie(E,N,j);$.visit(N);if(R!==null&&R!==undefined){$.rightHandNodes.forEach(R.visit,R)}}class Importer extends $.Visitor{constructor(E,N){super(null,N.options);this.declaration=E;this.referencer=N}visitImport(E,N){this.referencer.visitPattern(E,(E=>{this.referencer.currentScope().__define(E,new _e(G.ImportBinding,E,N,this.declaration,null,null))}))}ImportNamespaceSpecifier(E){const N=E.local||E.id;if(N){this.visitImport(N,E)}}ImportDefaultSpecifier(E){const N=E.local||E.id;this.visitImport(N,E)}ImportSpecifier(E){const N=E.local||E.id;if(E.name){this.visitImport(E.name,E)}else{this.visitImport(N,E)}}}class Referencer extends $.Visitor{constructor(E,N){super(null,E);this.options=E;this.scopeManager=N;this.parent=null;this.isInnerMethodDefinition=false}currentScope(){return this.scopeManager.__currentScope}close(E){while(this.currentScope()&&E===this.currentScope().block){this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}}pushInnerMethodDefinition(E){const N=this.isInnerMethodDefinition;this.isInnerMethodDefinition=E;return N}popInnerMethodDefinition(E){this.isInnerMethodDefinition=E}referencingDefaultValue(E,N,R,j){const $=this.currentScope();N.forEach((N=>{$.__referencing(E,q.WRITE,N.right,R,E!==N.left,j)}))}visitPattern(E,N,R){let j=N;let $=R;if(typeof N==="function"){$=N;j={processRightHandNodes:false}}traverseIdentifierInPattern(this.options,E,j.processRightHandNodes?this:null,$)}visitFunction(E){let N,R;if(E.type===j.FunctionDeclaration){this.currentScope().__define(E.id,new _e(G.FunctionName,E.id,E,null,null,null))}if(E.type===j.FunctionExpression&&E.id){this.scopeManager.__nestFunctionExpressionNameScope(E)}this.scopeManager.__nestFunctionScope(E,this.isInnerMethodDefinition);const $=this;function visitPatternCallback(R,j){$.currentScope().__define(R,new le(R,E,N,j.rest));$.referencingDefaultValue(R,j.assignments,null,true)}for(N=0,R=E.params.length;N{this.currentScope().__define(N,new le(N,E,E.params.length,true))}))}if(E.body){if(E.body.type===j.BlockStatement){this.visitChildren(E.body)}else{this.visit(E.body)}}this.close(E)}visitClass(E){if(E.type===j.ClassDeclaration){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E,null,null,null))}this.visit(E.superClass);this.scopeManager.__nestClassScope(E);if(E.id){this.currentScope().__define(E.id,new _e(G.ClassName,E.id,E))}this.visit(E.body);this.close(E)}visitProperty(E){let N;if(E.computed){this.visit(E.key)}const R=E.type===j.MethodDefinition;if(R){N=this.pushInnerMethodDefinition(true)}this.visit(E.value);if(R){this.popInnerMethodDefinition(N)}}visitForIn(E){if(E.left.type===j.VariableDeclaration&&E.left.kind!=="var"){this.scopeManager.__nestForScope(E)}if(E.left.type===j.VariableDeclaration){this.visit(E.left);this.visitPattern(E.left.declarations[0].id,(N=>{this.currentScope().__referencing(N,q.WRITE,E.right,null,true,true)}))}else{this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,true,false)}))}this.visit(E.right);this.visit(E.body);this.close(E)}visitVariableDeclaration(E,N,R,j){const $=R.declarations[j];const G=$.init;this.visitPattern($.id,{processRightHandNodes:true},((ie,ae)=>{E.__define(ie,new _e(N,ie,$,R,j,R.kind));this.referencingDefaultValue(ie,ae.assignments,null,true);if(G){this.currentScope().__referencing(ie,q.WRITE,G,null,!ae.topLevel,true)}}))}AssignmentExpression(E){if(ie.isPattern(E.left)){if(E.operator==="="){this.visitPattern(E.left,{processRightHandNodes:true},((N,R)=>{let j=null;if(!this.currentScope().isStrict){j={pattern:N,node:E}}this.referencingDefaultValue(N,R.assignments,j,false);this.currentScope().__referencing(N,q.WRITE,E.right,j,!R.topLevel,false)}))}else{this.currentScope().__referencing(E.left,q.RW,E.right)}}else{this.visit(E.left)}this.visit(E.right)}CatchClause(E){this.scopeManager.__nestCatchScope(E);this.visitPattern(E.param,{processRightHandNodes:true},((N,R)=>{this.currentScope().__define(N,new _e(G.CatchClause,E.param,E,null,null,null));this.referencingDefaultValue(N,R.assignments,null,true)}));this.visit(E.body);this.close(E)}Program(E){this.scopeManager.__nestGlobalScope(E);if(this.scopeManager.__isNodejsScope()){this.currentScope().isStrict=false;this.scopeManager.__nestFunctionScope(E,false)}if(this.scopeManager.__isES6()&&this.scopeManager.isModule()){this.scopeManager.__nestModuleScope(E)}if(this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()){this.currentScope().isStrict=true}this.visitChildren(E);this.close(E)}Identifier(E){this.currentScope().__referencing(E)}UpdateExpression(E){if(ie.isPattern(E.argument)){this.currentScope().__referencing(E.argument,q.RW,null)}else{this.visitChildren(E)}}MemberExpression(E){this.visit(E.object);if(E.computed){this.visit(E.property)}}Property(E){this.visitProperty(E)}MethodDefinition(E){this.visitProperty(E)}BreakStatement(){}ContinueStatement(){}LabeledStatement(E){this.visit(E.body)}ForStatement(E){if(E.init&&E.init.type===j.VariableDeclaration&&E.init.kind!=="var"){this.scopeManager.__nestForScope(E)}this.visitChildren(E);this.close(E)}ClassExpression(E){this.visitClass(E)}ClassDeclaration(E){this.visitClass(E)}CallExpression(E){if(!this.scopeManager.__ignoreEval()&&E.callee.type===j.Identifier&&E.callee.name==="eval"){this.currentScope().variableScope.__detectEval()}this.visitChildren(E)}BlockStatement(E){if(this.scopeManager.__isES6()){this.scopeManager.__nestBlockScope(E)}this.visitChildren(E);this.close(E)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(E){this.visit(E.object);this.scopeManager.__nestWithScope(E);this.visit(E.body);this.close(E)}VariableDeclaration(E){const N=E.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let R=0,j=E.declarations.length;R{"use strict";const j=R(98699);const $=R(39491);const q=j.GlobalScope;const G=j.CatchScope;const ie=j.WithScope;const ae=j.ModuleScope;const ce=j.ClassScope;const le=j.SwitchScope;const _e=j.FunctionScope;const Ee=j.ForScope;const Te=j.FunctionExpressionNameScope;const we=j.BlockScope;class ScopeManager{constructor(E){this.scopes=[];this.globalScope=null;this.__nodeToScope=new WeakMap;this.__currentScope=null;this.__options=E;this.__declaredVariables=new WeakMap}__useDirective(){return this.__options.directive}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isNodejsScope(){return this.__options.nodejsScope}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(E){return this.__nodeToScope.get(E)}getDeclaredVariables(E){return this.__declaredVariables.get(E)||[]}acquire(E,N){function predicate(E){if(E.type==="function"&&E.functionExpressionScope){return false}return true}const R=this.__get(E);if(!R||R.length===0){return null}if(R.length===1){return R[0]}if(N){for(let E=R.length-1;E>=0;--E){const N=R[E];if(predicate(N)){return N}}}else{for(let E=0,N=R.length;E=6}}E.exports=ScopeManager},98699:(E,N,R)=>{"use strict";const j=R(92105).Syntax;const $=R(24552);const q=R(78120);const G=R(16950).Definition;const ie=R(39491);function isStrictScope(E,N,R,$){let q;if(E.upper&&E.upper.isStrict){return true}if(R){return true}if(E.type==="class"||E.type==="module"){return true}if(E.type==="block"||E.type==="switch"){return false}if(E.type==="function"){if(N.type===j.ArrowFunctionExpression&&N.body.type!==j.BlockStatement){return false}if(N.type===j.Program){q=N}else{q=N.body}if(!q){return false}}else if(E.type==="global"){q=N}else{return false}if($){for(let E=0,N=q.body.length;E0&&j.every(shouldBeStatically)}__staticCloseRef(E){if(!this.__resolve(E)){this.__delegateToUpperScope(E)}}__dynamicCloseRef(E){let N=this;do{N.through.push(E);N=N.upper}while(N)}__globalCloseRef(E){if(this.__shouldStaticallyCloseForGlobal(E)){this.__staticCloseRef(E)}else{this.__dynamicCloseRef(E)}}__close(E){let N;if(this.__shouldStaticallyClose(E)){N=this.__staticCloseRef}else if(this.type!=="global"){N=this.__dynamicCloseRef}else{N=this.__globalCloseRef}for(let E=0,R=this.__left.length;EE.name.range[0]>=R)))}}class ForScope extends Scope{constructor(E,N,R){super(E,"for",N,R,false)}}class ClassScope extends Scope{constructor(E,N,R){super(E,"class",N,R,false)}}E.exports={Scope:Scope,GlobalScope:GlobalScope,ModuleScope:ModuleScope,FunctionExpressionNameScope:FunctionExpressionNameScope,CatchScope:CatchScope,WithScope:WithScope,BlockScope:BlockScope,SwitchScope:SwitchScope,FunctionScope:FunctionScope,ForScope:ForScope,ClassScope:ClassScope}},78120:E=>{"use strict";class Variable{constructor(E,N){this.name=E;this.identifiers=[];this.references=[];this.defs=[];this.tainted=false;this.stack=true;this.scope=N}}Variable.CatchClause="CatchClause";Variable.Parameter="Parameter";Variable.FunctionName="FunctionName";Variable.ClassName="ClassName";Variable.Variable="Variable";Variable.ImportBinding="ImportBinding";Variable.ImplicitGlobalVariable="ImplicitGlobalVariable";E.exports=Variable},49112:(E,N,R)=>{(function(){"use strict";var E=R(99054);function isNode(E){if(E==null){return false}return typeof E==="object"&&typeof E.type==="string"}function isProperty(N,R){return(N===E.Syntax.ObjectExpression||N===E.Syntax.ObjectPattern)&&R==="properties"}function Visitor(N,R){R=R||{};this.__visitor=N||this;this.__childVisitorKeys=R.childVisitorKeys?Object.assign({},E.VisitorKeys,R.childVisitorKeys):E.VisitorKeys;if(R.fallback==="iteration"){this.__fallback=Object.keys}else if(typeof R.fallback==="function"){this.__fallback=R.fallback}}Visitor.prototype.visitChildren=function(N){var R,j,$,q,G,ie,ae;if(N==null){return}R=N.type||E.Syntax.Property;j=this.__childVisitorKeys[R];if(!j){if(this.__fallback){j=this.__fallback(N)}else{throw new Error("Unknown node type "+R+".")}}for($=0,q=j.length;${(function clone(E){"use strict";var N,R,j,$,q,G;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};j={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};$={};q={};G={};R={Break:$,Skip:q,Remove:G};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0;--R){if(E[R].node===N){return true}}return false}Controller.prototype.traverse=function traverse(E,N){var R,j,G,ie,ae,ce,le,_e,Ee,Te,we,Ie;this.__initialize(E,N);Ie={};R=this.__worklist;j=this.__leavelist;R.push(new Element(E,null,null,null));j.push(new Element(null,null,null,null));while(R.length){G=R.pop();if(G===Ie){G=j.pop();ce=this.__execute(N.leave,G);if(this.__state===$||ce===$){return}continue}if(G.node){ce=this.__execute(N.enter,G);if(this.__state===$||ce===$){return}R.push(Ie);j.push(G);if(this.__state===q||ce===q){continue}ie=G.node;ae=ie.type||G.wrap;Te=this.__keys[ae];if(!Te){if(this.__fallback){Te=this.__fallback(ie)}else{throw new Error("Unknown node type "+ae+".")}}_e=Te.length;while((_e-=1)>=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(candidateExistsInLeaveList(j,we[Ee])){continue}if(isProperty(ae,Te[_e])){G=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){G=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push(G)}}else if(isNode(we)){if(candidateExistsInLeaveList(j,we)){continue}R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Te[_e];we=ie[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference(ie,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,j){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!j.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return R.Break}if($[ae].extendedRange[0]>E.range[1]){return R.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return R.Skip}}});return E}E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=j;E.VisitorOption=R;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},92105:(E,N,R)=>{(function clone(E){"use strict";var N,j,$,q,G,ie;function deepCopy(E){var N={},R,j;for(R in E){if(E.hasOwnProperty(R)){j=E[R];if(typeof j==="object"&&j!==null){N[R]=deepCopy(j)}else{N[R]=j}}}return N}function upperBound(E,N){var R,j,$,q;j=E.length;$=0;while(j){R=j>>>1;q=$+R;if(N(E[q])){j=R}else{$=q+1;j-=R+1}}return $}N={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"};$={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],Program:["body"],Property:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]};q={};G={};ie={};j={Break:q,Skip:G,Remove:ie};function Reference(E,N){this.parent=E;this.key=N}Reference.prototype.replace=function replace(E){this.parent[this.key]=E};Reference.prototype.remove=function remove(){if(Array.isArray(this.parent)){this.parent.splice(this.key,1);return true}else{this.replace(null);return false}};function Element(E,N,R,j){this.node=E;this.path=N;this.wrap=R;this.ref=j}function Controller(){}Controller.prototype.path=function path(){var E,N,R,j,$,q;function addToPath(E,N){if(Array.isArray(N)){for(R=0,j=N.length;R=0){le=Te[_e];we=ie[le];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){$=new Element(we[Ee],[le,Ee],"Property",null)}else if(isNode(we[Ee])){$=new Element(we[Ee],[le,Ee],null,null)}else{continue}R.push($)}}else if(isNode(we)){R.push(new Element(we,le,null,null))}}}}};Controller.prototype.replace=function replace(E,N){var R,j,$,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me;function removeElem(E){var N,j,$,q;if(E.ref.remove()){j=E.ref.key;q=E.ref.parent;N=R.length;while(N--){$=R[N];if($.ref&&$.ref.parent===q){if($.ref.key=0){Me=Te[_e];we=$[Me];if(!we){continue}if(Array.isArray(we)){Ee=we.length;while((Ee-=1)>=0){if(!we[Ee]){continue}if(isProperty(ae,Te[_e])){le=new Element(we[Ee],[Me,Ee],"Property",new Reference(we,Ee))}else if(isNode(we[Ee])){le=new Element(we[Ee],[Me,Ee],null,new Reference(we,Ee))}else{continue}R.push(le)}}else if(isNode(we)){R.push(new Element(we,Me,null,new Reference($,Me)))}}}return Ne.root};function traverse(E,N){var R=new Controller;return R.traverse(E,N)}function replace(E,N){var R=new Controller;return R.replace(E,N)}function extendCommentRange(E,N){var R;R=upperBound(N,(function search(N){return N.range[0]>E.range[0]}));E.extendedRange=[E.range[0],E.range[1]];if(R!==N.length){E.extendedRange[1]=N[R].range[0]}R-=1;if(R>=0){E.extendedRange[0]=N[R].range[1]}return E}function attachComments(E,N,R){var $=[],q,G,ie,ae;if(!E.range){throw new Error("attachComments needs range information")}if(!R.length){if(N.length){for(ie=0,G=N.length;ieE.range[0]){break}if(N.extendedRange[1]===E.range[0]){if(!E.leadingComments){E.leadingComments=[]}E.leadingComments.push(N);$.splice(ae,1)}else{ae+=1}}if(ae===$.length){return j.Break}if($[ae].extendedRange[0]>E.range[1]){return j.Skip}}});ae=0;traverse(E,{leave:function(E){var N;while(ae<$.length){N=$[ae];if(E.range[1]E.range[1]){return j.Skip}}});return E}E.version=R(42600).i8;E.Syntax=N;E.traverse=traverse;E.replace=replace;E.attachComments=attachComments;E.VisitorKeys=$;E.VisitorOption=j;E.Controller=Controller;E.cloneEnvironment=function(){return clone({})};return E})(N)},55245:E=>{"use strict";E.exports=function equal(E,N){if(E===N)return true;if(E&&N&&typeof E=="object"&&typeof N=="object"){if(E.constructor!==N.constructor)return false;var R,j,$;if(Array.isArray(E)){R=E.length;if(R!=N.length)return false;for(j=R;j--!==0;)if(!equal(E[j],N[j]))return false;return true}if(E.constructor===RegExp)return E.source===N.source&&E.flags===N.flags;if(E.valueOf!==Object.prototype.valueOf)return E.valueOf()===N.valueOf();if(E.toString!==Object.prototype.toString)return E.toString()===N.toString();$=Object.keys(E);R=$.length;if(R!==Object.keys(N).length)return false;for(j=R;j--!==0;)if(!Object.prototype.hasOwnProperty.call(N,$[j]))return false;for(j=R;j--!==0;){var q=$[j];if(!equal(E[q],N[q]))return false}return true}return E!==E&&N!==N}},75986:E=>{"use strict";E.exports=function(E,N){if(!N)N={};if(typeof N==="function")N={cmp:N};var R=typeof N.cycles==="boolean"?N.cycles:false;var j=N.cmp&&function(E){return function(N){return function(R,j){var $={key:R,value:N[R]};var q={key:j,value:N[j]};return E($,q)}}}(N.cmp);var $=[];return function stringify(E){if(E&&E.toJSON&&typeof E.toJSON==="function"){E=E.toJSON()}if(E===undefined)return;if(typeof E=="number")return isFinite(E)?""+E:"null";if(typeof E!=="object")return JSON.stringify(E);var N,q;if(Array.isArray(E)){q="[";for(N=0;N{E.exports=function(E,N){if(typeof E!=="string"){throw new TypeError("Expected a string")}var R=String(E);var j="";var $=N?!!N.extended:false;var q=N?!!N.globstar:false;var G=false;var ie=N&&typeof N.flags==="string"?N.flags:"";var ae;for(var ce=0,le=R.length;ce1&&(_e==="/"||_e===undefined)&&(Te==="/"||Te===undefined);if(we){j+="((?:[^/]*(?:/|$))*)";ce++}else{j+="([^/]*)"}}break;default:j+=ae}}if(!ie||!~ie.indexOf("g")){j="^"+j+"$"}return new RegExp(j,ie)}},40858:E=>{"use strict";E.exports=clone;var N=Object.getPrototypeOf||function(E){return E.__proto__};function clone(E){if(E===null||typeof E!=="object")return E;if(E instanceof Object)var R={__proto__:N(E)};else var R=Object.create(null);Object.getOwnPropertyNames(E).forEach((function(N){Object.defineProperty(R,N,Object.getOwnPropertyDescriptor(E,N))}));return R}},15808:(E,N,R)=>{var j=R(57147);var $=R(82444);var q=R(94073);var G=R(40858);var ie=R(73837);var ae;var ce;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){ae=Symbol.for("graceful-fs.queue");ce=Symbol.for("graceful-fs.previous")}else{ae="___graceful-fs.queue";ce="___graceful-fs.previous"}function noop(){}function publishQueue(E,N){Object.defineProperty(E,ae,{get:function(){return N}})}var le=noop;if(ie.debuglog)le=ie.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))le=function(){var E=ie.format.apply(ie,arguments);E="GFS4: "+E.split(/\n/).join("\nGFS4: ");console.error(E)};if(!j[ae]){var _e=global[ae]||[];publishQueue(j,_e);j.close=function(E){function close(N,R){return E.call(j,N,(function(E){if(!E){resetQueue()}if(typeof R==="function")R.apply(this,arguments)}))}Object.defineProperty(close,ce,{value:E});return close}(j.close);j.closeSync=function(E){function closeSync(N){E.apply(j,arguments);resetQueue()}Object.defineProperty(closeSync,ce,{value:E});return closeSync}(j.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){le(j[ae]);R(39491).equal(j[ae].length,0)}))}}if(!global[ae]){publishQueue(global,j[ae])}E.exports=patch(G(j));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!j.__patched){E.exports=patch(j);j.__patched=true}function patch(E){$(E);E.gracefulify=patch;E.createReadStream=createReadStream;E.createWriteStream=createWriteStream;var N=E.readFile;E.readFile=readFile;function readFile(E,R,j){if(typeof R==="function")j=R,R=null;return go$readFile(E,R,j);function go$readFile(E,R,j,$){return N(E,R,(function(N){if(N&&(N.code==="EMFILE"||N.code==="ENFILE"))enqueue([go$readFile,[E,R,j],N,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var R=E.writeFile;E.writeFile=writeFile;function writeFile(E,N,j,$){if(typeof j==="function")$=j,j=null;return go$writeFile(E,N,j,$);function go$writeFile(E,N,j,$,q){return R(E,N,j,(function(R){if(R&&(R.code==="EMFILE"||R.code==="ENFILE"))enqueue([go$writeFile,[E,N,j,$],R,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var j=E.appendFile;if(j)E.appendFile=appendFile;function appendFile(E,N,R,$){if(typeof R==="function")$=R,R=null;return go$appendFile(E,N,R,$);function go$appendFile(E,N,R,$,q){return j(E,N,R,(function(j){if(j&&(j.code==="EMFILE"||j.code==="ENFILE"))enqueue([go$appendFile,[E,N,R,$],j,q||Date.now(),Date.now()]);else{if(typeof $==="function")$.apply(this,arguments)}}))}}var G=E.copyFile;if(G)E.copyFile=copyFile;function copyFile(E,N,R,j){if(typeof R==="function"){j=R;R=0}return go$copyFile(E,N,R,j);function go$copyFile(E,N,R,j,$){return G(E,N,R,(function(q){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$copyFile,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}var ie=E.readdir;E.readdir=readdir;function readdir(E,N,R){if(typeof N==="function")R=N,N=null;return go$readdir(E,N,R);function go$readdir(E,N,R,j){return ie(E,N,(function($,q){if($&&($.code==="EMFILE"||$.code==="ENFILE"))enqueue([go$readdir,[E,N,R],$,j||Date.now(),Date.now()]);else{if(q&&q.sort)q.sort();if(typeof R==="function")R.call(this,$,q)}}))}}if(process.version.substr(0,4)==="v0.8"){var ae=q(E);ReadStream=ae.ReadStream;WriteStream=ae.WriteStream}var ce=E.ReadStream;if(ce){ReadStream.prototype=Object.create(ce.prototype);ReadStream.prototype.open=ReadStream$open}var le=E.WriteStream;if(le){WriteStream.prototype=Object.create(le.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(E,"ReadStream",{get:function(){return ReadStream},set:function(E){ReadStream=E},enumerable:true,configurable:true});Object.defineProperty(E,"WriteStream",{get:function(){return WriteStream},set:function(E){WriteStream=E},enumerable:true,configurable:true});var _e=ReadStream;Object.defineProperty(E,"FileReadStream",{get:function(){return _e},set:function(E){_e=E},enumerable:true,configurable:true});var Ee=WriteStream;Object.defineProperty(E,"FileWriteStream",{get:function(){return Ee},set:function(E){Ee=E},enumerable:true,configurable:true});function ReadStream(E,N){if(this instanceof ReadStream)return ce.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){if(E.autoClose)E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R);E.read()}}))}function WriteStream(E,N){if(this instanceof WriteStream)return le.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var E=this;open(E.path,E.flags,E.mode,(function(N,R){if(N){E.destroy();E.emit("error",N)}else{E.fd=R;E.emit("open",R)}}))}function createReadStream(N,R){return new E.ReadStream(N,R)}function createWriteStream(N,R){return new E.WriteStream(N,R)}var Te=E.open;E.open=open;function open(E,N,R,j){if(typeof R==="function")j=R,R=null;return go$open(E,N,R,j);function go$open(E,N,R,j,$){return Te(E,N,R,(function(q,G){if(q&&(q.code==="EMFILE"||q.code==="ENFILE"))enqueue([go$open,[E,N,R,j],q,$||Date.now(),Date.now()]);else{if(typeof j==="function")j.apply(this,arguments)}}))}}return E}function enqueue(E){le("ENQUEUE",E[0].name,E[1]);j[ae].push(E);retry()}var Ee;function resetQueue(){var E=Date.now();for(var N=0;N2){j[ae][N][3]=E;j[ae][N][4]=E}}retry()}function retry(){clearTimeout(Ee);Ee=undefined;if(j[ae].length===0)return;var E=j[ae].shift();var N=E[0];var R=E[1];var $=E[2];var q=E[3];var G=E[4];if(q===undefined){le("RETRY",N.name,R);N.apply(null,R)}else if(Date.now()-q>=6e4){le("TIMEOUT",N.name,R);var ie=R.pop();if(typeof ie==="function")ie.call(null,$)}else{var ce=Date.now()-G;var _e=Math.max(G-q,1);var Te=Math.min(_e*1.2,100);if(ce>=Te){le("RETRY",N.name,R);N.apply(null,R.concat([q]))}else{j[ae].push(E)}}if(Ee===undefined){Ee=setTimeout(retry,0)}}},94073:(E,N,R)=>{var j=R(12781).Stream;E.exports=legacy;function legacy(E){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(N,R){if(!(this instanceof ReadStream))return new ReadStream(N,R);j.call(this);var $=this;this.path=N;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;R=R||{};var q=Object.keys(R);for(var G=0,ie=q.length;Gthis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){$._read()}));return}E.open(this.path,this.flags,this.mode,(function(E,N){if(E){$.emit("error",E);$.readable=false;return}$.fd=N;$.emit("open",N);$._read()}))}function WriteStream(N,R){if(!(this instanceof WriteStream))return new WriteStream(N,R);j.call(this);this.path=N;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;R=R||{};var $=Object.keys(R);for(var q=0,G=$.length;q= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=E.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},82444:(E,N,R)=>{var j=R(22057);var $=process.cwd;var q=null;var G=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!q)q=$.call(process);return q};try{process.cwd()}catch(E){}if(typeof process.chdir==="function"){var ie=process.chdir;process.chdir=function(E){q=null;ie.call(process,E)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,ie)}E.exports=patch;function patch(E){if(j.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(E)}if(!E.lutimes){patchLutimes(E)}E.chown=chownFix(E.chown);E.fchown=chownFix(E.fchown);E.lchown=chownFix(E.lchown);E.chmod=chmodFix(E.chmod);E.fchmod=chmodFix(E.fchmod);E.lchmod=chmodFix(E.lchmod);E.chownSync=chownFixSync(E.chownSync);E.fchownSync=chownFixSync(E.fchownSync);E.lchownSync=chownFixSync(E.lchownSync);E.chmodSync=chmodFixSync(E.chmodSync);E.fchmodSync=chmodFixSync(E.fchmodSync);E.lchmodSync=chmodFixSync(E.lchmodSync);E.stat=statFix(E.stat);E.fstat=statFix(E.fstat);E.lstat=statFix(E.lstat);E.statSync=statFixSync(E.statSync);E.fstatSync=statFixSync(E.fstatSync);E.lstatSync=statFixSync(E.lstatSync);if(!E.lchmod){E.lchmod=function(E,N,R){if(R)process.nextTick(R)};E.lchmodSync=function(){}}if(!E.lchown){E.lchown=function(E,N,R,j){if(j)process.nextTick(j)};E.lchownSync=function(){}}if(G==="win32"){E.rename=function(N){return function(R,j,$){var q=Date.now();var G=0;N(R,j,(function CB(ie){if(ie&&(ie.code==="EACCES"||ie.code==="EPERM")&&Date.now()-q<6e4){setTimeout((function(){E.stat(j,(function(E,q){if(E&&E.code==="ENOENT")N(R,j,CB);else $(ie)}))}),G);if(G<100)G+=10;return}if($)$(ie)}))}}(E.rename)}E.read=function(N){function read(R,j,$,q,G,ie){var ae;if(ie&&typeof ie==="function"){var ce=0;ae=function(le,_e,Ee){if(le&&le.code==="EAGAIN"&&ce<10){ce++;return N.call(E,R,j,$,q,G,ae)}ie.apply(this,arguments)}}return N.call(E,R,j,$,q,G,ae)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,N);return read}(E.read);E.readSync=function(N){return function(R,j,$,q,G){var ie=0;while(true){try{return N.call(E,R,j,$,q,G)}catch(E){if(E.code==="EAGAIN"&&ie<10){ie++;continue}throw E}}}}(E.readSync);function patchLchmod(E){E.lchmod=function(N,R,$){E.open(N,j.O_WRONLY|j.O_SYMLINK,R,(function(N,j){if(N){if($)$(N);return}E.fchmod(j,R,(function(N){E.close(j,(function(E){if($)$(N||E)}))}))}))};E.lchmodSync=function(N,R){var $=E.openSync(N,j.O_WRONLY|j.O_SYMLINK,R);var q=true;var G;try{G=E.fchmodSync($,R);q=false}finally{if(q){try{E.closeSync($)}catch(E){}}else{E.closeSync($)}}return G}}function patchLutimes(E){if(j.hasOwnProperty("O_SYMLINK")){E.lutimes=function(N,R,$,q){E.open(N,j.O_SYMLINK,(function(N,j){if(N){if(q)q(N);return}E.futimes(j,R,$,(function(N){E.close(j,(function(E){if(q)q(N||E)}))}))}))};E.lutimesSync=function(N,R,$){var q=E.openSync(N,j.O_SYMLINK);var G;var ie=true;try{G=E.futimesSync(q,R,$);ie=false}finally{if(ie){try{E.closeSync(q)}catch(E){}}else{E.closeSync(q)}}return G}}else{E.lutimes=function(E,N,R,j){if(j)process.nextTick(j)};E.lutimesSync=function(){}}}function chmodFix(N){if(!N)return N;return function(R,j,$){return N.call(E,R,j,(function(E){if(chownErOk(E))E=null;if($)$.apply(this,arguments)}))}}function chmodFixSync(N){if(!N)return N;return function(R,j){try{return N.call(E,R,j)}catch(E){if(!chownErOk(E))throw E}}}function chownFix(N){if(!N)return N;return function(R,j,$,q){return N.call(E,R,j,$,(function(E){if(chownErOk(E))E=null;if(q)q.apply(this,arguments)}))}}function chownFixSync(N){if(!N)return N;return function(R,j,$){try{return N.call(E,R,j,$)}catch(E){if(!chownErOk(E))throw E}}}function statFix(N){if(!N)return N;return function(R,j,$){if(typeof j==="function"){$=j;j=null}function callback(E,N){if(N){if(N.uid<0)N.uid+=4294967296;if(N.gid<0)N.gid+=4294967296}if($)$.apply(this,arguments)}return j?N.call(E,R,j,callback):N.call(E,R,callback)}}function statFixSync(N){if(!N)return N;return function(R,j){var $=j?N.call(E,R,j):N.call(E,R);if($.uid<0)$.uid+=4294967296;if($.gid<0)$.gid+=4294967296;return $}}function chownErOk(E){if(!E)return true;if(E.code==="ENOSYS")return true;var N=!process.getuid||process.getuid()!==0;if(N){if(E.code==="EINVAL"||E.code==="EPERM")return true}return false}}},86811:E=>{"use strict";E.exports=(E,N=process.argv)=>{const R=E.startsWith("-")?"":E.length===1?"-":"--";const j=N.indexOf(R+E);const $=N.indexOf("--");return j!==-1&&($===-1||j<$)}},15986:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(62483));var $=R(42195);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class Farm{constructor(E,N,R={}){var $,q;this._numOfWorkers=E;this._callback=N;_defineProperty(this,"_computeWorkerKey",void 0);_defineProperty(this,"_workerSchedulingPolicy",void 0);_defineProperty(this,"_cacheKeys",Object.create(null));_defineProperty(this,"_locks",[]);_defineProperty(this,"_offset",0);_defineProperty(this,"_taskQueue",void 0);this._computeWorkerKey=R.computeWorkerKey;this._workerSchedulingPolicy=($=R.workerSchedulingPolicy)!==null&&$!==void 0?$:"round-robin";this._taskQueue=(q=R.taskQueue)!==null&&q!==void 0?q:new j.default}doWork(E,...N){const R=new Set;const addCustomMessageListener=E=>{R.add(E);return()=>{R.delete(E)}};const onCustomMessage=E=>{R.forEach((N=>N(E)))};const j=new Promise(((N,j,q)=>{const G=this._computeWorkerKey;const ie=[$.CHILD_MESSAGE_CALL,false,E,N];let ae=null;let ce=null;if(G){ce=G.call(this,E,...N);ae=ce==null?null:this._cacheKeys[ce]}const onStart=E=>{if(ce!=null){this._cacheKeys[ce]=E}};const onEnd=(E,N)=>{R.clear();if(E){q(E)}else{j(N)}};const le={onCustomMessage:onCustomMessage,onEnd:onEnd,onStart:onStart,request:ie};if(ae){this._taskQueue.enqueue(le,ae.getWorkerId());this._process(ae.getWorkerId())}else{this._push(le)}}).bind(null,N));j.UNSTABLE_onCustomMessage=addCustomMessageListener;return j}_process(E){if(this._isLocked(E)){return this}const N=this._taskQueue.dequeue(E);if(!N){return this}if(N.request[1]){throw new Error("Queue implementation returned processed task")}const R=N.onEnd;const onEnd=(N,j)=>{R(N,j);this._unlock(E);this._process(E)};N.request[1]=true;this._lock(E);this._callback(E,N.request,N.onStart,onEnd,N.onCustomMessage);return this}_push(E){this._taskQueue.enqueue(E);const N=this._getNextWorkerOffset();for(let R=0;R{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class FifoQueue{constructor(){_defineProperty(this,"_workerQueues",[]);_defineProperty(this,"_sharedQueue",new InternalQueue)}enqueue(E,N){if(N==null){this._sharedQueue.enqueue(E);return}let R=this._workerQueues[N];if(R==null){R=this._workerQueues[N]=new InternalQueue}const j=this._sharedQueue.peekLast();const $={previousSharedTask:j,task:E};R.enqueue($)}dequeue(E){var N,R,j;const $=(N=this._workerQueues[E])===null||N===void 0?void 0:N.peek();const q=(R=$===null||$===void 0?void 0:(j=$.previousSharedTask)===null||j===void 0?void 0:j.request[1])!==null&&R!==void 0?R:true;if($!=null&&q){var G,ie,ae;return(G=(ie=this._workerQueues[E])===null||ie===void 0?void 0:(ae=ie.dequeue())===null||ae===void 0?void 0:ae.task)!==null&&G!==void 0?G:null}return this._sharedQueue.dequeue()}}N["default"]=FifoQueue;class InternalQueue{constructor(){_defineProperty(this,"_head",null);_defineProperty(this,"_last",null)}enqueue(E){const N={next:null,value:E};if(this._last==null){this._head=N}else{this._last.next=N}this._last=N}dequeue(){if(this._head==null){return null}const E=this._head;this._head=E.next;if(this._head==null){this._last=null}return E.value}peek(){var E,N;return(E=(N=this._head)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}peekLast(){var E,N;return(E=(N=this._last)===null||N===void 0?void 0:N.value)!==null&&E!==void 0?E:null}}},25739:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class PriorityQueue{constructor(E){this._computePriority=E;_defineProperty(this,"_queue",[]);_defineProperty(this,"_sharedQueue",new MinHeap)}enqueue(E,N){if(N==null){this._enqueue(E,this._sharedQueue)}else{const R=this._getWorkerQueue(N);this._enqueue(E,R)}}_enqueue(E,N){const R={priority:this._computePriority(E.request[2],...E.request[3]),task:E};N.add(R)}dequeue(E){const N=this._getWorkerQueue(E);const R=N.peek();const j=this._sharedQueue.peek();if(j==null||R!=null&&R.priority<=j.priority){var $,q;return($=(q=N.poll())===null||q===void 0?void 0:q.task)!==null&&$!==void 0?$:null}return this._sharedQueue.poll().task}_getWorkerQueue(E){let N=this._queue[E];if(N==null){N=this._queue[E]=new MinHeap}return N}}N["default"]=PriorityQueue;class MinHeap{constructor(){_defineProperty(this,"_heap",[])}peek(){var E;return(E=this._heap[0])!==null&&E!==void 0?E:null}add(E){const N=this._heap;N.push(E);if(N.length===1){return}let R=N.length-1;while(R>0){const j=Math.floor((R+1)/2)-1;const $=N[j];if($.priority<=E.priority){break}N[R]=$;N[j]=E;R=j}}poll(){const E=this._heap;const N=E[0];const R=E.pop();if(N==null||E.length===0){return N!==null&&N!==void 0?N:null}let j=0;E[0]=R!==null&&R!==void 0?R:null;const $=E[0];while(true){let N=null;const R=(j+1)*2;const q=R-1;const G=E[R];const ie=E[q];if(ie!=null&&ie.priority<$.priority){N=q}if(G!=null&&G.priority<(N==null?$:ie).priority){N=R}if(N==null){break}E[j]=E[N];E[N]=$;j=N}return N}}},61315:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireDefault(R(68189));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const canUseWorkerThreads=()=>{try{R(71267);return true}catch{return false}};class WorkerPool extends j.default{send(E,N,R,j,$){this.getWorkerById(E).send(N,R,j,$)}createWorker(E){let N;if(this._options.enableWorkerThreads&&canUseWorkerThreads()){N=R(12295).Z}else{N=R(17164).Z}return new N(E)}}var $=WorkerPool;N["default"]=$},68189:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const j=500;const emptyMethod=()=>{};class BaseWorkerPool{constructor(E,N){_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workers",void 0);this._options=N;this._workers=new Array(N.numWorkers);if(!path().isAbsolute(E)){E=require.resolve(E)}const R=(0,_mergeStream().default)();const j=(0,_mergeStream().default)();const{forkOptions:$,maxRetries:q,resourceLimits:G,setupArgs:ie}=N;for(let ae=0;ae{E.send([_types().CHILD_MESSAGE_END,false],emptyMethod,emptyMethod,emptyMethod);let N=false;const R=setTimeout((()=>{E.forceExit();N=true}),j);await E.waitForExit();clearTimeout(R);return N}));const N=await Promise.all(E);return N.reduce(((E,N)=>({forceExited:E.forceExited||N})),{forceExited:false})}}N["default"]=BaseWorkerPool},69419:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});Object.defineProperty(N,"PriorityQueue",{enumerable:true,get:function(){return q.default}});Object.defineProperty(N,"FifoQueue",{enumerable:true,get:function(){return G.default}});Object.defineProperty(N,"messageParent",{enumerable:true,get:function(){return ie.default}});N.Worker=void 0;function _os(){const E=R(22037);_os=function(){return E};return E}var j=_interopRequireDefault(R(15986));var $=_interopRequireDefault(R(61315));var q=_interopRequireDefault(R(25739));var G=_interopRequireDefault(R(62483));var ie=_interopRequireDefault(R(27008));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}function getExposedMethods(E,N){let R=N.exposedMethods;if(!R){const N=require(E);R=Object.keys(N).filter((E=>typeof N[E]==="function"));if(typeof N==="function"){R=[...R,"default"]}}return R}class Worker{constructor(E,N){var R,q,G,ie,ae,ce;_defineProperty(this,"_ending",void 0);_defineProperty(this,"_farm",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_workerPool",void 0);this._options={...N};this._ending=false;const le={enableWorkerThreads:(R=this._options.enableWorkerThreads)!==null&&R!==void 0?R:false,forkOptions:(q=this._options.forkOptions)!==null&&q!==void 0?q:{},maxRetries:(G=this._options.maxRetries)!==null&&G!==void 0?G:3,numWorkers:(ie=this._options.numWorkers)!==null&&ie!==void 0?ie:Math.max((0,_os().cpus)().length-1,1),resourceLimits:(ae=this._options.resourceLimits)!==null&&ae!==void 0?ae:{},setupArgs:(ce=this._options.setupArgs)!==null&&ce!==void 0?ce:[]};if(this._options.WorkerPool){this._workerPool=new this._options.WorkerPool(E,le)}else{this._workerPool=new $.default(E,le)}this._farm=new j.default(le.numWorkers,this._workerPool.send.bind(this._workerPool),{computeWorkerKey:this._options.computeWorkerKey,taskQueue:this._options.taskQueue,workerSchedulingPolicy:this._options.workerSchedulingPolicy});this._bindExposedWorkerMethods(E,this._options)}_bindExposedWorkerMethods(E,N){getExposedMethods(E,N).forEach((E=>{if(E.startsWith("_")){return}if(this.constructor.prototype.hasOwnProperty(E)){throw new TypeError("Cannot define a method called "+E)}this[E]=this._callFunctionWithArgs.bind(this,E)}))}_callFunctionWithArgs(E,...N){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}return this._farm.doWork(E,...N)}getStderr(){return this._workerPool.getStderr()}getStdout(){return this._workerPool.getStdout()}async end(){if(this._ending){throw new Error("Farm is ended, no more calls can be done to it")}this._ending=true;return this._workerPool.end()}}N.Worker=Worker},42195:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.PARENT_MESSAGE_CUSTOM=N.PARENT_MESSAGE_SETUP_ERROR=N.PARENT_MESSAGE_CLIENT_ERROR=N.PARENT_MESSAGE_OK=N.CHILD_MESSAGE_END=N.CHILD_MESSAGE_CALL=N.CHILD_MESSAGE_INITIALIZE=void 0;const R=0;N.CHILD_MESSAGE_INITIALIZE=R;const j=1;N.CHILD_MESSAGE_CALL=j;const $=2;N.CHILD_MESSAGE_END=$;const q=0;N.PARENT_MESSAGE_OK=q;const G=1;N.PARENT_MESSAGE_CLIENT_ERROR=G;const ie=2;N.PARENT_MESSAGE_SETUP_ERROR=ie;const ae=3;N.PARENT_MESSAGE_CUSTOM=ae},17164:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function _child_process(){const E=R(32081);_child_process=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _supportsColor(){const E=R(24467);_supportsColor=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}const $=128;const q=$+9;const G=$+15;const ie=500;class ChildProcessWorker{constructor(E){_defineProperty(this,"_child",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this.initialize()}initialize(){const E=_supportsColor().stdout?{FORCE_COLOR:"1"}:{};const N=(0,_child_process().fork)(R.ab+"processChild.js",[],{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1),...E},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions});if(N.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(N.stdout)}if(N.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(N.stderr)}N.on("message",this._onMessage.bind(this));N.on("exit",this._onExit.bind(this));N.send([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._child=N;this._retries++;if(this._retries>this._options.maxRetries){const E=new Error(`Jest worker encountered ${this._retries} child process exceptions, exceeding retry limit`);this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&E!==null&&E!==G&&E!==q){this.initialize();if(this._request){this._child.send(this._request)}}else{this._shutdown()}}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{this._request=null;return R(...E)};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._child.send(E,(()=>{}))}waitForExit(){return this._exitPromise}forceExit(){this._child.kill("SIGTERM");const E=setTimeout((()=>this._child.kill("SIGKILL")),ie);this._exitPromise.then((()=>clearTimeout(E)))}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ChildProcessWorker},12295:(E,N,R)=>{"use strict";var j;j={value:true};N.Z=void 0;function path(){const E=_interopRequireWildcard(R(71017));path=function(){return E};return E}function _stream(){const E=R(12781);_stream=function(){return E};return E}function _worker_threads(){const E=R(71267);_worker_threads=function(){return E};return E}function _mergeStream(){const E=_interopRequireDefault(R(33089));_mergeStream=function(){return E};return E}function _types(){const E=R(42195);_types=function(){return E};return E}function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}function _defineProperty(E,N,R){if(N in E){Object.defineProperty(E,N,{value:R,enumerable:true,configurable:true,writable:true})}else{E[N]=R}return E}class ExperimentalWorker{constructor(E){_defineProperty(this,"_worker",void 0);_defineProperty(this,"_options",void 0);_defineProperty(this,"_request",void 0);_defineProperty(this,"_retries",void 0);_defineProperty(this,"_onProcessEnd",void 0);_defineProperty(this,"_onCustomMessage",void 0);_defineProperty(this,"_fakeStream",void 0);_defineProperty(this,"_stdout",void 0);_defineProperty(this,"_stderr",void 0);_defineProperty(this,"_exitPromise",void 0);_defineProperty(this,"_resolveExitPromise",void 0);_defineProperty(this,"_forceExited",void 0);this._options=E;this._request=null;this._fakeStream=null;this._stdout=null;this._stderr=null;this._exitPromise=new Promise((E=>{this._resolveExitPromise=E}));this._forceExited=false;this.initialize()}initialize(){this._worker=new(_worker_threads().Worker)(path().resolve(__dirname,"./threadChild.js"),{eval:false,resourceLimits:this._options.resourceLimits,stderr:true,stdout:true,workerData:{cwd:process.cwd(),env:{...process.env,JEST_WORKER_ID:String(this._options.workerId+1)},execArgv:process.execArgv.filter((E=>!/^--(debug|inspect)/.test(E))),silent:true,...this._options.forkOptions}});if(this._worker.stdout){if(!this._stdout){this._stdout=(0,_mergeStream().default)(this._getFakeStream())}this._stdout.add(this._worker.stdout)}if(this._worker.stderr){if(!this._stderr){this._stderr=(0,_mergeStream().default)(this._getFakeStream())}this._stderr.add(this._worker.stderr)}this._worker.on("message",this._onMessage.bind(this));this._worker.on("exit",this._onExit.bind(this));this._worker.postMessage([_types().CHILD_MESSAGE_INITIALIZE,false,this._options.workerPath,this._options.setupArgs]);this._retries++;if(this._retries>this._options.maxRetries){const E=new Error("Call retries were exceeded");this._onMessage([_types().PARENT_MESSAGE_CLIENT_ERROR,E.name,E.message,E.stack,{type:"WorkerError"}])}}_shutdown(){if(this._fakeStream){this._fakeStream.end();this._fakeStream=null}this._resolveExitPromise()}_onMessage(E){let N;switch(E[0]){case _types().PARENT_MESSAGE_OK:this._onProcessEnd(null,E[1]);break;case _types().PARENT_MESSAGE_CLIENT_ERROR:N=E[4];if(N!=null&&typeof N==="object"){const R=N;const j=global[E[1]];const $=typeof j==="function"?j:Error;N=new $(E[2]);N.type=E[1];N.stack=E[3];for(const E in R){N[E]=R[E]}}this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_SETUP_ERROR:N=new Error("Error when calling setup: "+E[2]);N.type=E[1];N.stack=E[3];this._onProcessEnd(N,null);break;case _types().PARENT_MESSAGE_CUSTOM:this._onCustomMessage(E[1]);break;default:throw new TypeError("Unexpected response from worker: "+E[0])}}_onExit(E){if(E!==0&&!this._forceExited){this.initialize();if(this._request){this._worker.postMessage(this._request)}}else{this._shutdown()}}waitForExit(){return this._exitPromise}forceExit(){this._forceExited=true;this._worker.terminate()}send(E,N,R,j){N(this);this._onProcessEnd=(...E)=>{var N;this._request=null;const j=(N=R)===null||N===void 0?void 0:N(...E);R=null;return j};this._onCustomMessage=(...E)=>j(...E);this._request=E;this._retries=0;this._worker.postMessage(E)}getWorkerId(){return this._options.workerId}getStdout(){return this._stdout}getStderr(){return this._stderr}_getFakeStream(){if(!this._fakeStream){this._fakeStream=new(_stream().PassThrough)}return this._fakeStream}}N.Z=ExperimentalWorker},27008:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=messageParent;function _types(){const E=R(42195);_types=function(){return E};return E}const j=(()=>{try{const{isMainThread:E,parentPort:N}=R(71267);return!E&&N!=null}catch{return false}})();function messageParent(E,N=process){if(j){const{parentPort:N}=R(71267);N.postMessage([_types().PARENT_MESSAGE_CUSTOM,E])}else if(typeof N.send==="function"){N.send([_types().PARENT_MESSAGE_CUSTOM,E])}else{throw new Error('"messageParent" can only be used inside a worker')}}},24467:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}function envForceColor(){if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){return 1}if(G.FORCE_COLOR==="false"){return 0}return G.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,{streamIsTTY:N,sniffFlags:R=true}={}){const $=envForceColor();if($!==undefined){ie=$}const ae=R?ie:$;if(ae===0){return 0}if(R){if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}}if(E&&!N&&ae===undefined){return 0}const ce=ae||0;if(G.TERM==="dumb"){return ce}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return ce}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=Number.parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return ce}function getSupportLevel(E,N={}){const R=supportsColor(E,{streamIsTTY:E&&E.isTTY,...N});return translateLevel(R)}E.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:$.isatty(1)}),stderr:getSupportLevel({isTTY:$.isatty(2)})}},78688:E=>{"use strict";E.exports=parseJson;function parseJson(E,N,R){R=R||20;try{return JSON.parse(E,N)}catch(N){if(typeof E!=="string"){const N=Array.isArray(E)&&E.length===0;const R="Cannot parse "+(N?"an empty array":String(E));throw new TypeError(R)}const j=N.message.match(/^Unexpected token.*position\s+(\d+)/i);const $=j?+j[1]:N.message.match(/^Unexpected end of JSON.*/i)?E.length-1:null;if($!=null){const j=$<=R?0:$-R;const q=$+R>=E.length?E.length:$+R;N.message+=` while parsing near '${j===0?"":"..."}${E.slice(j,q)}${q===E.length?"":"..."}'`}else{N.message+=` while parsing '${E.slice(0,R*2)}'`}throw N}}},46833:E=>{"use strict";var N=E.exports=function(E,N,R){if(typeof N=="function"){R=N;N={}}R=N.cb||R;var j=typeof R=="function"?R:R.pre||function(){};var $=R.post||function(){};_traverse(N,j,$,E,"",E)};N.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};N.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};N.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};N.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(E,R,j,$,q,G,ie,ae,ce,le){if($&&typeof $=="object"&&!Array.isArray($)){R($,q,G,ie,ae,ce,le);for(var _e in $){var Ee=$[_e];if(Array.isArray(Ee)){if(_e in N.arrayKeywords){for(var Te=0;Te{const j=R(14465);const $=R(59977);const q={parse:j,stringify:$};E.exports=q},14465:(E,N,R)=>{const j=R(58034);let $;let q;let G;let ie;let ae;let ce;let le;let _e;let Ee;E.exports=function parse(E,N){$=String(E);q="start";G=[];ie=0;ae=1;ce=0;le=undefined;_e=undefined;Ee=undefined;do{le=lex();Be[q]()}while(le.type!=="eof");if(typeof N==="function"){return internalize({"":Ee},"",N)}return Ee};function internalize(E,N,R){const j=E[N];if(j!=null&&typeof j==="object"){for(const E in j){const N=internalize(j,E,R);if(N===undefined){delete j[E]}else{j[E]=N}}}return R.call(E,N,j)}let Te;let we;let Ie;let Ne;let Me;function lex(){Te="default";we="";Ie=false;Ne=1;for(;;){Me=peek();const E=Le[Te]();if(E){return E}}}function peek(){if($[ie]){return String.fromCodePoint($.codePointAt(ie))}}function read(){const E=peek();if(E==="\n"){ae++;ce=0}else if(E){ce+=E.length}else{ce++}if(E){ie+=E.length}return E}const Le={default(){switch(Me){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();Te="comment";return;case undefined:read();return newToken("eof")}if(j.isSpaceSeparator(Me)){read();return}return Le[q]()},comment(){switch(Me){case"*":read();Te="multiLineComment";return;case"/":read();Te="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(Me){case"*":read();Te="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(Me){case"*":read();return;case"/":read();Te="default";return;case undefined:throw invalidChar(read())}read();Te="multiLineComment"},singleLineComment(){switch(Me){case"\n":case"\r":case"\u2028":case"\u2029":read();Te="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(Me){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){Ne=-1}Te="sign";return;case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":Ie=read()==='"';we="";Te="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":break;default:if(!j.isIdStartChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},identifierName(){switch(Me){case"$":case"_":case"‌":case"‍":we+=read();return;case"\\":read();Te="identifierNameEscape";return}if(j.isIdContinueChar(Me)){we+=read();return}return newToken("identifier",we)},identifierNameEscape(){if(Me!=="u"){throw invalidChar(read())}read();const E=unicodeEscape();switch(E){case"$":case"_":case"‌":case"‍":break;default:if(!j.isIdContinueChar(E)){throw invalidIdentifier()}break}we+=E;Te="identifierName"},sign(){switch(Me){case".":we=read();Te="decimalPointLeading";return;case"0":we=read();Te="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":we=read();Te="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Ne*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return;case"x":case"X":we+=read();Te="hexadecimal";return}return newToken("numeric",Ne*0)},decimalInteger(){switch(Me){case".":we+=read();Te="decimalPoint";return;case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalPointLeading(){if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();Te="decimalFraction";return}return newToken("numeric",Ne*Number(we))},decimalFraction(){switch(Me){case"e":case"E":we+=read();Te="decimalExponent";return}if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},decimalExponent(){switch(Me){case"+":case"-":we+=read();Te="decimalExponentSign";return}if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(j.isDigit(Me)){we+=read();Te="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(j.isDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},hexadecimal(){if(j.isHexDigit(Me)){we+=read();Te="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(j.isHexDigit(Me)){we+=read();return}return newToken("numeric",Ne*Number(we))},string(){switch(Me){case"\\":read();we+=escape();return;case'"':if(Ie){read();return newToken("string",we)}we+=read();return;case"'":if(!Ie){read();return newToken("string",we)}we+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(Me);break;case undefined:throw invalidChar(read())}we+=read()},start(){switch(Me){case"{":case"[":return newToken("punctuator",read())}Te="value"},beforePropertyName(){switch(Me){case"$":case"_":we=read();Te="identifierName";return;case"\\":read();Te="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":Ie=read()==='"';Te="string";return}if(j.isIdStartChar(Me)){we+=read();Te="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(Me===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){Te="value"},afterPropertyValue(){switch(Me){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(Me==="]"){return newToken("punctuator",read())}Te="value"},afterArrayValue(){switch(Me){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(E,N){return{type:E,value:N,line:ae,column:ce}}function literal(E){for(const N of E){const E=peek();if(E!==N){throw invalidChar(read())}read()}}function escape(){const E=peek();switch(E){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(j.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let E="";let N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read();return String.fromCodePoint(parseInt(E,16))}function unicodeEscape(){let E="";let N=4;while(N-- >0){const N=peek();if(!j.isHexDigit(N)){throw invalidChar(read())}E+=read()}return String.fromCodePoint(parseInt(E,16))}const Be={start(){if(le.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(le.type){case"identifier":case"string":_e=le.value;q="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(le.type==="eof"){throw invalidEOF()}q="beforePropertyValue"},beforePropertyValue(){if(le.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(le.type==="eof"){throw invalidEOF()}if(le.type==="punctuator"&&le.value==="]"){pop();return}push()},afterPropertyValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(le.type==="eof"){throw invalidEOF()}switch(le.value){case",":q="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let E;switch(le.type){case"punctuator":switch(le.value){case"{":E={};break;case"[":E=[];break}break;case"null":case"boolean":case"numeric":case"string":E=le.value;break}if(Ee===undefined){Ee=E}else{const N=G[G.length-1];if(Array.isArray(N)){N.push(E)}else{N[_e]=E}}if(E!==null&&typeof E==="object"){G.push(E);if(Array.isArray(E)){q="beforeArrayValue"}else{q="beforePropertyName"}}else{const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}}function pop(){G.pop();const E=G[G.length-1];if(E==null){q="end"}else if(Array.isArray(E)){q="afterArrayValue"}else{q="afterPropertyValue"}}function invalidChar(E){if(E===undefined){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}return syntaxError(`JSON5: invalid character '${formatChar(E)}' at ${ae}:${ce}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${ae}:${ce}`)}function invalidIdentifier(){ce-=5;return syntaxError(`JSON5: invalid identifier character at ${ae}:${ce}`)}function separatorChar(E){console.warn(`JSON5: '${formatChar(E)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(E){const N={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(N[E]){return N[E]}if(E<" "){const N=E.charCodeAt(0).toString(16);return"\\x"+("00"+N).substring(N.length)}return E}function syntaxError(E){const N=new SyntaxError(E);N.lineNumber=ae;N.columnNumber=ce;return N}},59977:(E,N,R)=>{const j=R(58034);E.exports=function stringify(E,N,R){const $=[];let q="";let G;let ie;let ae="";let ce;if(N!=null&&typeof N==="object"&&!Array.isArray(N)){R=N.space;ce=N.quote;N=N.replacer}if(typeof N==="function"){ie=N}else if(Array.isArray(N)){G=[];for(const E of N){let N;if(typeof E==="string"){N=E}else if(typeof E==="number"||E instanceof String||E instanceof Number){N=String(E)}if(N!==undefined&&G.indexOf(N)<0){G.push(N)}}}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}if(typeof R==="number"){if(R>0){R=Math.min(10,Math.floor(R));ae=" ".substr(0,R)}}else if(typeof R==="string"){ae=R.substr(0,10)}return serializeProperty("",{"":E});function serializeProperty(E,N){let R=N[E];if(R!=null){if(typeof R.toJSON5==="function"){R=R.toJSON5(E)}else if(typeof R.toJSON==="function"){R=R.toJSON(E)}}if(ie){R=ie.call(N,E,R)}if(R instanceof Number){R=Number(R)}else if(R instanceof String){R=String(R)}else if(R instanceof Boolean){R=R.valueOf()}switch(R){case null:return"null";case true:return"true";case false:return"false"}if(typeof R==="string"){return quoteString(R,false)}if(typeof R==="number"){return String(R)}if(typeof R==="object"){return Array.isArray(R)?serializeArray(R):serializeObject(R)}return undefined}function quoteString(E){const N={"'":.1,'"':.2};const R={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let $="";for(let q=0;qN[E]=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=G||Object.keys(E);let j=[];for(const N of R){const R=serializeProperty(N,E);if(R!==undefined){let E=serializeKey(N)+":";if(ae!==""){E+=" "}E+=R;j.push(E)}}let ie;if(j.length===0){ie="{}"}else{let E;if(ae===""){E=j.join(",");ie="{"+E+"}"}else{let R=",\n"+q;E=j.join(R);ie="{\n"+q+E+",\n"+N+"}"}}$.pop();q=N;return ie}function serializeKey(E){if(E.length===0){return quoteString(E,true)}const N=String.fromCodePoint(E.codePointAt(0));if(!j.isIdStartChar(N)){return quoteString(E,true)}for(let R=N.length;R=0){throw TypeError("Converting circular structure to JSON5")}$.push(E);let N=q;q=q+ae;let R=[];for(let N=0;N{E.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;E.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;E.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},58034:(E,N,R)=>{const j=R(14059);E.exports={isSpaceSeparator(E){return typeof E==="string"&&j.Space_Separator.test(E)},isIdStartChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E==="$"||E==="_"||j.ID_Start.test(E))},isIdContinueChar(E){return typeof E==="string"&&(E>="a"&&E<="z"||E>="A"&&E<="Z"||E>="0"&&E<="9"||E==="$"||E==="_"||E==="‌"||E==="‍"||j.ID_Continue.test(E))},isDigit(E){return typeof E==="string"&&/[0-9]/.test(E)},isHexDigit(E){return typeof E==="string"&&/[0-9A-Fa-f]/.test(E)}}},11638:E=>{"use strict";class LoadingLoaderError extends Error{constructor(E){super(E);this.name="LoaderRunnerError";Error.captureStackTrace(this,this.constructor)}}E.exports=LoadingLoaderError},60425:(E,N,R)=>{var j=R(57147);var $=j.readFile.bind(j);var q=R(45658);function utf8BufferToString(E){var N=E.toString("utf-8");if(N.charCodeAt(0)===65279){return N.substr(1)}else{return N}}const G=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;function parsePathQueryFragment(E){var N=G.exec(E);return{path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}}function dirname(E){if(E==="/")return"/";var N=E.lastIndexOf("/");var R=E.lastIndexOf("\\");var j=E.indexOf("/");var $=E.indexOf("\\");var q=N>R?N:R;var G=N>R?j:$;if(q<0)return E;if(q===G)return E.substr(0,q+1);return E.substr(0,q)}function createLoaderObject(E){var N={path:null,query:null,fragment:null,options:null,ident:null,normal:null,pitch:null,raw:null,data:null,pitchExecuted:false,normalExecuted:false};Object.defineProperty(N,"request",{enumerable:true,get:function(){return N.path.replace(/#/g,"\0#")+N.query.replace(/#/g,"\0#")+N.fragment},set:function(E){if(typeof E==="string"){var R=parsePathQueryFragment(E);N.path=R.path;N.query=R.query;N.fragment=R.fragment;N.options=undefined;N.ident=undefined}else{if(!E.loader)throw new Error("request should be a string or object with loader and options ("+JSON.stringify(E)+")");N.path=E.loader;N.fragment=E.fragment||"";N.type=E.type;N.options=E.options;N.ident=E.ident;if(N.options===null)N.query="";else if(N.options===undefined)N.query="";else if(typeof N.options==="string")N.query="?"+N.options;else if(N.ident)N.query="??"+N.ident;else if(typeof N.options==="object"&&N.options.ident)N.query="??"+N.options.ident;else N.query="?"+JSON.stringify(N.options)}}});N.request=E;if(Object.preventExtensions){Object.preventExtensions(N)}return N}function runSyncOrAsync(E,N,R,j){var $=true;var q=false;var G=false;var ie=false;N.async=function async(){if(q){if(ie)return;throw new Error("async(): The callback was already called.")}$=false;return ae};var ae=N.callback=function(){if(q){if(ie)return;throw new Error("callback(): The callback was already called.")}q=true;$=false;try{j.apply(null,arguments)}catch(E){G=true;throw E}};try{var ce=function LOADER_EXECUTION(){return E.apply(N,R)}();if($){q=true;if(ce===undefined)return j();if(ce&&typeof ce==="object"&&typeof ce.then==="function"){return ce.then((function(E){j(null,E)}),j)}return j(null,ce)}}catch(E){if(G)throw E;if(q){if(typeof E==="object"&&E.stack)console.error(E.stack);else console.error(E);return}q=true;ie=true;j(E)}}function convertArgs(E,N){if(!N&&Buffer.isBuffer(E[0]))E[0]=utf8BufferToString(E[0]);else if(N&&typeof E[0]==="string")E[0]=Buffer.from(E[0],"utf-8")}function iteratePitchingLoaders(E,N,R){if(N.loaderIndex>=N.loaders.length)return processResource(E,N,R);var j=N.loaders[N.loaderIndex];if(j.pitchExecuted){N.loaderIndex++;return iteratePitchingLoaders(E,N,R)}q(j,(function($){if($){N.cacheable(false);return R($)}var q=j.pitch;j.pitchExecuted=true;if(!q)return iteratePitchingLoaders(E,N,R);runSyncOrAsync(q,N,[N.remainingRequest,N.previousRequest,j.data={}],(function(j){if(j)return R(j);var $=Array.prototype.slice.call(arguments,1);var q=$.some((function(E){return E!==undefined}));if(q){N.loaderIndex--;iterateNormalLoaders(E,N,$,R)}else{iteratePitchingLoaders(E,N,R)}}))}))}function processResource(E,N,R){N.loaderIndex=N.loaders.length-1;var j=N.resourcePath;if(j){E.processResource(N,j,(function(j,$){if(j)return R(j);E.resourceBuffer=$;iterateNormalLoaders(E,N,[$],R)}))}else{iterateNormalLoaders(E,N,[null],R)}}function iterateNormalLoaders(E,N,R,j){if(N.loaderIndex<0)return j(null,R);var $=N.loaders[N.loaderIndex];if($.normalExecuted){N.loaderIndex--;return iterateNormalLoaders(E,N,R,j)}var q=$.normal;$.normalExecuted=true;if(!q){return iterateNormalLoaders(E,N,R,j)}convertArgs(R,$.raw);runSyncOrAsync(q,N,R,(function(R){if(R)return j(R);var $=Array.prototype.slice.call(arguments,1);iterateNormalLoaders(E,N,$,j)}))}N.getContext=function getContext(E){var N=parsePathQueryFragment(E).path;return dirname(N)};N.runLoaders=function runLoaders(E,N){var R=E.resource||"";var j=E.loaders||[];var q=E.context||{};var G=E.processResource||((E,N,R,j)=>{N.addDependency(R);E(R,j)}).bind(null,E.readResource||$);var ie=R&&parsePathQueryFragment(R);var ae=ie?ie.path:undefined;var ce=ie?ie.query:undefined;var le=ie?ie.fragment:undefined;var _e=ae?dirname(ae):null;var Ee=true;var Te=[];var we=[];var Ie=[];j=j.map(createLoaderObject);q.context=_e;q.loaderIndex=0;q.loaders=j;q.resourcePath=ae;q.resourceQuery=ce;q.resourceFragment=le;q.async=null;q.callback=null;q.cacheable=function cacheable(E){if(E===false){Ee=false}};q.dependency=q.addDependency=function addDependency(E){Te.push(E)};q.addContextDependency=function addContextDependency(E){we.push(E)};q.addMissingDependency=function addMissingDependency(E){Ie.push(E)};q.getDependencies=function getDependencies(){return Te.slice()};q.getContextDependencies=function getContextDependencies(){return we.slice()};q.getMissingDependencies=function getMissingDependencies(){return Ie.slice()};q.clearDependencies=function clearDependencies(){Te.length=0;we.length=0;Ie.length=0;Ee=true};Object.defineProperty(q,"resource",{enumerable:true,get:function(){if(q.resourcePath===undefined)return undefined;return q.resourcePath.replace(/#/g,"\0#")+q.resourceQuery.replace(/#/g,"\0#")+q.resourceFragment},set:function(E){var N=E&&parsePathQueryFragment(E);q.resourcePath=N?N.path:undefined;q.resourceQuery=N?N.query:undefined;q.resourceFragment=N?N.fragment:undefined}});Object.defineProperty(q,"request",{enumerable:true,get:function(){return q.loaders.map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"remainingRequest",{enumerable:true,get:function(){if(q.loaderIndex>=q.loaders.length-1&&!q.resource)return"";return q.loaders.slice(q.loaderIndex+1).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"currentRequest",{enumerable:true,get:function(){return q.loaders.slice(q.loaderIndex).map((function(E){return E.request})).concat(q.resource||"").join("!")}});Object.defineProperty(q,"previousRequest",{enumerable:true,get:function(){return q.loaders.slice(0,q.loaderIndex).map((function(E){return E.request})).join("!")}});Object.defineProperty(q,"query",{enumerable:true,get:function(){var E=q.loaders[q.loaderIndex];return E.options&&typeof E.options==="object"?E.options:E.query}});Object.defineProperty(q,"data",{enumerable:true,get:function(){return q.loaders[q.loaderIndex].data}});if(Object.preventExtensions){Object.preventExtensions(q)}var Ne={resourceBuffer:null,processResource:G};iteratePitchingLoaders(Ne,q,(function(E,R){if(E){return N(E,{cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}N(null,{result:R,resourceBuffer:Ne.resourceBuffer,cacheable:Ee,fileDependencies:Te,contextDependencies:we,missingDependencies:Ie})}))}},45658:(module,__unused_webpack_exports,__webpack_require__)=>{var LoaderLoadingError=__webpack_require__(11638);var url;module.exports=function loadLoader(loader,callback){if(loader.type==="module"){try{if(url===undefined)url=__webpack_require__(57310);var loaderUrl=url.pathToFileURL(loader.path);var modulePromise=eval("import("+JSON.stringify(loaderUrl.toString())+")");modulePromise.then((function(E){handleResult(loader,E,callback)}),callback);return}catch(E){callback(E)}}else{try{var module=require(loader.path)}catch(E){if(E instanceof Error&&E.code==="EMFILE"){var retry=loadLoader.bind(null,loader,callback);if(typeof setImmediate==="function"){return setImmediate(retry)}else{return process.nextTick(retry)}}return callback(E)}return handleResult(loader,module,callback)}};function handleResult(E,N,R){if(typeof N!=="function"&&typeof N!=="object"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (export function or es6 module)"))}E.normal=typeof N==="function"?N:N.default;E.pitch=N.pitch;E.raw=N.raw;if(typeof E.normal!=="function"&&typeof E.pitch!=="function"){return R(new LoaderLoadingError("Module '"+E.path+"' is not a loader (must have normal or pitch function)"))}R()}},66559:E=>{"use strict";function getCurrentRequest(E){if(E.currentRequest){return E.currentRequest}const N=E.loaders.slice(E.loaderIndex).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getCurrentRequest},92669:(E,N,R)=>{"use strict";const j={26:"abcdefghijklmnopqrstuvwxyz",32:"123456789abcdefghjkmnpqrstuvwxyz",36:"0123456789abcdefghijklmnopqrstuvwxyz",49:"abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",52:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",58:"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ",62:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",64:"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-_"};function encodeBufferToBase(E,N){const $=j[N];if(!$){throw new Error("Unknown encoding base"+N)}const q=E.length;const G=R(82558);G.RM=G.DP=0;let ie=new G(0);for(let N=q-1;N>=0;N--){ie=ie.times(256).plus(E[N])}let ae="";while(ie.gt(0)){ae=$[ie.mod(N)]+ae;ie=ie.div(N)}G.DP=20;G.RM=1;return ae}function getHashDigest(E,N,j,$){N=N||"md4";$=$||9999;const q=R(6113).createHash(N);q.update(E);if(j==="base26"||j==="base32"||j==="base36"||j==="base49"||j==="base52"||j==="base58"||j==="base62"||j==="base64"){return encodeBufferToBase(q.digest(),j.substr(4)).substr(0,$)}else{return q.digest(j||"hex").substr(0,$)}}E.exports=getHashDigest},42245:(E,N,R)=>{"use strict";const j=R(69170);function getOptions(E){const N=E.query;if(typeof N==="string"&&N!==""){return j(E.query)}if(!N||typeof N!=="object"){return{}}return N}E.exports=getOptions},12078:E=>{"use strict";function getRemainingRequest(E){if(E.remainingRequest){return E.remainingRequest}const N=E.loaders.slice(E.loaderIndex+1).map((E=>E.request)).concat([E.resource]);return N.join("!")}E.exports=getRemainingRequest},88244:(E,N,R)=>{"use strict";const j=R(42245);const $=R(69170);const q=R(61412);const G=R(12078);const ie=R(66559);const ae=R(51077);const ce=R(64608);const le=R(5231);const _e=R(92669);const Ee=R(37872);N.getOptions=j;N.parseQuery=$;N.stringifyRequest=q;N.getRemainingRequest=G;N.getCurrentRequest=ie;N.isUrlRequest=ae;N.urlToRequest=ce;N.parseString=le;N.getHashDigest=_e;N.interpolateName=Ee},37872:(E,N,R)=>{"use strict";const j=R(71017);const $=R(31356);const q=R(92669);const G=/[\uD800-\uDFFF]./;const ie=$.filter((E=>G.test(E)));const ae={};function encodeStringToEmoji(E,N){if(ae[E]){return ae[E]}N=N||1;const R=[];do{if(!ie.length){throw new Error("Ran out of emoji")}const E=Math.floor(Math.random()*ie.length);R.push(ie[E]);ie.splice(E,1)}while(--N>0);const j=R.join("");ae[E]=j;return j}function interpolateName(E,N,R){let $;const G=E.resourceQuery&&E.resourceQuery.length>1;if(typeof N==="function"){$=N(E.resourcePath,G?E.resourceQuery:undefined)}else{$=N||"[hash].[ext]"}const ie=R.context;const ae=R.content;const ce=R.regExp;let le="bin";let _e="file";let Ee="";let Te="";let we="";if(E.resourcePath){const N=j.parse(E.resourcePath);let R=E.resourcePath;if(N.ext){le=N.ext.substr(1)}if(N.dir){_e=N.name;R=N.dir+j.sep}if(typeof ie!=="undefined"){Ee=j.relative(ie,R+"_").replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1");Ee=Ee.substr(0,Ee.length-1)}else{Ee=R.replace(/\\/g,"/").replace(/\.\.(\/)?/g,"_$1")}if(Ee.length===1){Ee=""}else if(Ee.length>1){Te=j.basename(Ee)}}if(E.resourceQuery&&E.resourceQuery.length>1){we=E.resourceQuery;const N=we.indexOf("#");if(N>=0){we=we.substr(0,N)}}let Ie=$;if(ae){Ie=Ie.replace(/\[(?:([^:\]]+):)?(?:hash|contenthash)(?::([a-z]+\d*))?(?::(\d+))?\]/gi,((E,N,R,j)=>q(ae,N,R,parseInt(j,10)))).replace(/\[emoji(?::(\d+))?\]/gi,((E,N)=>encodeStringToEmoji(ae,parseInt(N,10))))}Ie=Ie.replace(/\[ext\]/gi,(()=>le)).replace(/\[name\]/gi,(()=>_e)).replace(/\[path\]/gi,(()=>Ee)).replace(/\[folder\]/gi,(()=>Te)).replace(/\[query\]/gi,(()=>we));if(ce&&E.resourcePath){const N=E.resourcePath.match(new RegExp(ce));N&&N.forEach(((E,N)=>{Ie=Ie.replace(new RegExp("\\["+N+"\\]","ig"),E)}))}if(typeof E.options==="object"&&typeof E.options.customInterpolateName==="function"){Ie=E.options.customInterpolateName.call(E,Ie,N,R)}return Ie}E.exports=interpolateName},51077:(E,N,R)=>{"use strict";const j=R(71017);function isUrlRequest(E,N){if(/^[a-z][a-z0-9+.-]*:/i.test(E)&&!j.win32.isAbsolute(E)){return false}if(/^\/\//.test(E)){return false}if(/^[{}[\]#*;,'§$%&(=?`´^°<>]/.test(E)){return false}if((N===undefined||N===false)&&/^\//.test(E)){return false}return true}E.exports=isUrlRequest},69170:(E,N,R)=>{"use strict";const j=R(5278);const $={null:null,true:true,false:false};function parseQuery(E){if(E.substr(0,1)!=="?"){throw new Error("A valid query string passed to parseQuery should begin with '?'")}E=E.substr(1);if(!E){return{}}if(E.substr(0,1)==="{"&&E.substr(-1)==="}"){return j.parse(E)}const N=E.split(/[,&]/g);const R={};N.forEach((E=>{const N=E.indexOf("=");if(N>=0){let j=E.substr(0,N);let q=decodeURIComponent(E.substr(N+1));if($.hasOwnProperty(q)){q=$[q]}if(j.substr(-2)==="[]"){j=decodeURIComponent(j.substr(0,j.length-2));if(!Array.isArray(R[j])){R[j]=[]}R[j].push(q)}else{j=decodeURIComponent(j);R[j]=q}}else{if(E.substr(0,1)==="-"){R[decodeURIComponent(E.substr(1))]=false}else if(E.substr(0,1)==="+"){R[decodeURIComponent(E.substr(1))]=true}else{R[decodeURIComponent(E)]=true}}}));return R}E.exports=parseQuery},5231:E=>{"use strict";function parseString(E){try{if(E[0]==='"'){return JSON.parse(E)}if(E[0]==="'"&&E.substr(E.length-1)==="'"){return parseString(E.replace(/\\.|"/g,(E=>E==='"'?'\\"':E)).replace(/^'|'$/g,'"'))}return JSON.parse('"'+E+'"')}catch(N){return E}}E.exports=parseString},61412:(E,N,R)=>{"use strict";const j=R(71017);const $=/^\.\.?[/\\]/;function isAbsolutePath(E){return j.posix.isAbsolute(E)||j.win32.isAbsolute(E)}function isRelativePath(E){return $.test(E)}function stringifyRequest(E,N){const R=N.split("!");const $=E.context||E.options&&E.options.context;return JSON.stringify(R.map((E=>{const N=E.match(/^(.*?)(\?.*)/);const R=N?N[2]:"";let q=N?N[1]:E;if(isAbsolutePath(q)&&$){q=j.relative($,q);if(isAbsolutePath(q)){return q+R}if(isRelativePath(q)===false){q="./"+q}}return q.replace(/\\/g,"/")+R})).join("!"))}E.exports=stringifyRequest},64608:E=>{"use strict";const N=/^[A-Z]:[/\\]|^\\\\/i;function urlToRequest(E,R){if(E===""){return""}const j=/^[^?]*~/;let $;if(N.test(E)){$=E}else if(R!==undefined&&R!==false&&/^\//.test(E)){switch(typeof R){case"string":if(j.test(R)){$=R.replace(/([^~/])$/,"$1/")+E.slice(1)}else{$=R+E}break;case"boolean":$=E;break;default:throw new Error("Unexpected parameters to loader-utils 'urlToRequest': url = "+E+", root = "+R+".")}}else if(/^\.\.?\//.test(E)){$=E}else{$="./"+E}if(j.test($)){$=$.replace(j,"")}return $}E.exports=urlToRequest},82558:function(E){(function(N){"use strict";var R,j=20,$=1,q=1e6,G=1e6,ie=-7,ae=21,ce="[big.js] ",le=ce+"Invalid ",_e=le+"decimal places",Ee=le+"rounding mode",Te=ce+"Division by zero",we={},Ie=void 0,Ne=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function _Big_(){function Big(E){var N=this;if(!(N instanceof Big))return E===Ie?_Big_():new Big(E);if(E instanceof Big){N.s=E.s;N.e=E.e;N.c=E.c.slice()}else{parse(N,E)}N.constructor=Big}Big.prototype=we;Big.DP=j;Big.RM=$;Big.NE=ie;Big.PE=ae;Big.version="5.2.2";return Big}function parse(E,N){var R,j,$;if(N===0&&1/N<0)N="-0";else if(!Ne.test(N+=""))throw Error(le+"number");E.s=N.charAt(0)=="-"?(N=N.slice(1),-1):1;if((R=N.indexOf("."))>-1)N=N.replace(".","");if((j=N.search(/e/i))>0){if(R<0)R=j;R+=+N.slice(j+1);N=N.substring(0,j)}else if(R<0){R=N.length}$=N.length;for(j=0;j<$&&N.charAt(j)=="0";)++j;if(j==$){E.c=[E.e=0]}else{for(;$>0&&N.charAt(--$)=="0";);E.e=R-j-1;E.c=[];for(R=0;j<=$;)E.c[R++]=+N.charAt(j++)}return E}function round(E,N,R,j){var $=E.c,q=E.e+N+1;if(q<$.length){if(R===1){j=$[q]>=5}else if(R===2){j=$[q]>5||$[q]==5&&(j||q<0||$[q+1]!==Ie||$[q-1]&1)}else if(R===3){j=j||!!$[0]}else{j=false;if(R!==0)throw Error(Ee)}if(q<1){$.length=1;if(j){E.e=-N;$[0]=1}else{$[0]=E.e=0}}else{$.length=q--;if(j){for(;++$[q]>9;){$[q]=0;if(!q--){++E.e;$.unshift(1)}}}for(q=$.length;!$[--q];)$.pop()}}else if(R<0||R>3||R!==~~R){throw Error(Ee)}return E}function stringify(E,N,R,j){var $,G,ie=E.constructor,ae=!E.c[0];if(R!==Ie){if(R!==~~R||R<(N==3)||R>q){throw Error(N==3?le+"precision":_e)}E=new ie(E);R=j-E.e;if(E.c.length>++j)round(E,R,ie.RM);if(N==2)j=E.e+R+1;for(;E.c.length=ie.PE)){G=G.charAt(0)+(R>1?"."+G.slice(1):"")+($<0?"e":"e+")+$}else if($<0){for(;++$;)G="0"+G;G="0."+G}else if($>0){if(++$>R)for($-=R;$--;)G+="0";else if($1){G=G.charAt(0)+"."+G.slice(1)}return E.s<0&&(!ae||N==4)?"-"+G:G}we.abs=function(){var E=new this.constructor(this);E.s=1;return E};we.cmp=function(E){var N,R=this,j=R.c,$=(E=new R.constructor(E)).c,q=R.s,G=E.s,ie=R.e,ae=E.e;if(!j[0]||!$[0])return!j[0]?!$[0]?0:-G:q;if(q!=G)return q;N=q<0;if(ie!=ae)return ie>ae^N?1:-1;G=(ie=j.length)<(ae=$.length)?ie:ae;for(q=-1;++q$[q]^N?1:-1}return ie==ae?0:ie>ae^N?1:-1};we.div=function(E){var N=this,R=N.constructor,j=N.c,$=(E=new R(E)).c,G=N.s==E.s?1:-1,ie=R.DP;if(ie!==~~ie||ie<0||ie>q)throw Error(_e);if(!$[0])throw Error(Te);if(!j[0])return new R(G*0);var ae,ce,le,Ee,we,Ne=$.slice(),Me=ae=$.length,Le=j.length,Be=j.slice(0,ae),je=Be.length,Ue=E,ze=Ue.c=[],We=0,Je=ie+(Ue.e=N.e-E.e)+1;Ue.s=G;G=Je<0?0:Je;Ne.unshift(0);for(;je++je?1:-1}else{for(we=-1,Ee=0;++weBe[we]?1:-1;break}}}if(Ee<0){for(ce=je==ae?$:Ne;je;){if(Be[--je]Je)round(Ue,ie,R.RM,Be[0]!==Ie);return Ue};we.eq=function(E){return!this.cmp(E)};we.gt=function(E){return this.cmp(E)>0};we.gte=function(E){return this.cmp(E)>-1};we.lt=function(E){return this.cmp(E)<0};we.lte=function(E){return this.cmp(E)<1};we.minus=we.sub=function(E){var N,R,j,$,q=this,G=q.constructor,ie=q.s,ae=(E=new G(E)).s;if(ie!=ae){E.s=-ae;return q.plus(E)}var ce=q.c.slice(),le=q.e,_e=E.c,Ee=E.e;if(!ce[0]||!_e[0]){return _e[0]?(E.s=-ae,E):new G(ce[0]?q:0)}if(ie=le-Ee){if($=ie<0){ie=-ie;j=ce}else{Ee=le;j=_e}j.reverse();for(ae=ie;ae--;)j.push(0);j.reverse()}else{R=(($=ce.length<_e.length)?ce:_e).length;for(ie=ae=0;ae0)for(;ae--;)ce[N++]=0;for(ae=N;R>ie;){if(ce[--R]<_e[R]){for(N=R;N&&!ce[--N];)ce[N]=9;--ce[N];ce[R]+=10}ce[R]-=_e[R]}for(;ce[--ae]===0;)ce.pop();for(;ce[0]===0;){ce.shift();--Ee}if(!ce[0]){E.s=1;ce=[Ee=0]}E.c=ce;E.e=Ee;return E};we.mod=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if(!E.c[0])throw Error(Te);R.s=E.s=1;N=E.cmp(R)==1;R.s=$;E.s=q;if(N)return new j(R);$=j.DP;q=j.RM;j.DP=j.RM=0;R=R.div(E);j.DP=$;j.RM=q;return this.minus(R.times(E))};we.plus=we.add=function(E){var N,R=this,j=R.constructor,$=R.s,q=(E=new j(E)).s;if($!=q){E.s=-q;return R.minus(E)}var G=R.e,ie=R.c,ae=E.e,ce=E.c;if(!ie[0]||!ce[0])return ce[0]?E:new j(ie[0]?R:$*0);ie=ie.slice();if($=G-ae){if($>0){ae=G;N=ce}else{$=-$;N=ie}N.reverse();for(;$--;)N.push(0);N.reverse()}if(ie.length-ce.length<0){N=ce;ce=ie;ie=N}$=ce.length;for(q=0;$;ie[$]%=10)q=(ie[--$]=ie[$]+ce[$]+q)/10|0;if(q){ie.unshift(q);++ae}for($=ie.length;ie[--$]===0;)ie.pop();E.c=ie;E.e=ae;return E};we.pow=function(E){var N=this,R=new N.constructor(1),j=R,$=E<0;if(E!==~~E||E<-G||E>G)throw Error(le+"exponent");if($)E=-E;for(;;){if(E&1)j=j.times(N);E>>=1;if(!E)break;N=N.times(N)}return $?R.div(j):j};we.round=function(E,N){var R=this.constructor;if(E===Ie)E=0;else if(E!==~~E||E<-q||E>q)throw Error(_e);return round(new R(this),E,N===Ie?R.RM:N)};we.sqrt=function(){var E,N,R,j=this,$=j.constructor,q=j.s,G=j.e,ie=new $(.5);if(!j.c[0])return new $(j);if(q<0)throw Error(ce+"No square root");q=Math.sqrt(j+"");if(q===0||q===1/0){N=j.c.join("");if(!(N.length+G&1))N+="0";q=Math.sqrt(N);G=((G+1)/2|0)-(G<0||G&1);E=new $((q==1/0?"1e":(q=q.toExponential()).slice(0,q.indexOf("e")+1))+G)}else{E=new $(q)}G=E.e+($.DP+=4);do{R=E;E=ie.times(R.plus(j.div(R)))}while(R.c.slice(0,G).join("")!==E.c.slice(0,G).join(""));return round(E,$.DP-=4,$.RM)};we.times=we.mul=function(E){var N,R=this,j=R.constructor,$=R.c,q=(E=new j(E)).c,G=$.length,ie=q.length,ae=R.e,ce=E.e;E.s=R.s==E.s?1:-1;if(!$[0]||!q[0])return new j(E.s*0);E.e=ae+ce;if(Gae;){ie=N[ce]+q[ae]*$[ce-ae-1]+ie;N[ce--]=ie%10;ie=ie/10|0}N[ce]=(N[ce]+ie)%10}if(ie)++E.e;else N.shift();for(ae=N.length;!N[--ae];)N.pop();E.c=N;return E};we.toExponential=function(E){return stringify(this,1,E,E)};we.toFixed=function(E){return stringify(this,2,E,this.e+E)};we.toPrecision=function(E){return stringify(this,3,E,E-1)};we.toString=function(){return stringify(this)};we.valueOf=we.toJSON=function(){return stringify(this,4)};R=_Big_();R["default"]=R.Big=R;if(typeof define==="function"&&define.amd){define((function(){return R}))}else if(true&&E.exports){E.exports=R}else{N.Big=R}})(this)},89987:(E,N,R)=>{"use strict";const j=R(48333);const $=/^[A-Z]:([\\\/]|$)/i;const q=/^\//i;E.exports=function join(E,N){if(!N)return j(E);if($.test(N))return j(N.replace(/\//g,"\\"));if(q.test(N))return j(N);if(E=="/")return j(E+N);if($.test(E))return j(E.replace(/\//g,"\\")+"\\"+N.replace(/\//g,"\\"));if(q.test(E))return j(E+"/"+N);return j(E+"/"+N)}},48333:E=>{"use strict";E.exports=function normalize(E){var N=E.split(/(\\+|\/+)/);if(N.length===1)return E;var R=[];var j=0;for(var $=0,q=false;${"use strict";const{PassThrough:j}=R(12781);E.exports=function(){var E=[];var N=new j({objectMode:true});N.setMaxListeners(0);N.add=add;N.isEmpty=isEmpty;N.on("unpipe",remove);Array.prototype.slice.call(arguments).forEach(add);return N;function add(R){if(Array.isArray(R)){R.forEach(add);return this}E.push(R);R.once("end",remove.bind(null,R));R.once("error",N.emit.bind(N,"error"));R.pipe(N,{end:false});return this}function isEmpty(){return E.length==0}function remove(R){E=E.filter((function(E){return E!==R}));if(!E.length&&N.readable){N.end()}}}},22198:(E,N,R)=>{ +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ +E.exports=R(53765)},50007:(E,N,R)=>{"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */var j=R(22198);var $=R(71017).extname;var q=/^\s*([^;\s]*)(?:;|\s|$)/;var G=/^text\//i;N.charset=charset;N.charsets={lookup:charset};N.contentType=contentType;N.extension=extension;N.extensions=Object.create(null);N.lookup=lookup;N.types=Object.create(null);populateMaps(N.extensions,N.types);function charset(E){if(!E||typeof E!=="string"){return false}var N=q.exec(E);var R=N&&j[N[1].toLowerCase()];if(R&&R.charset){return R.charset}if(N&&G.test(N[1])){return"UTF-8"}return false}function contentType(E){if(!E||typeof E!=="string"){return false}var R=E.indexOf("/")===-1?N.lookup(E):E;if(!R){return false}if(R.indexOf("charset")===-1){var j=N.charset(R);if(j)R+="; charset="+j.toLowerCase()}return R}function extension(E){if(!E||typeof E!=="string"){return false}var R=q.exec(E);var j=R&&N.extensions[R[1].toLowerCase()];if(!j||!j.length){return false}return j[0]}function lookup(E){if(!E||typeof E!=="string"){return false}var R=$("x."+E).toLowerCase().substr(1);if(!R){return false}return N.types[R]||false}function populateMaps(E,N){var R=["nginx","apache",undefined,"iana"];Object.keys(j).forEach((function forEachMimeType($){var q=j[$];var G=q.extensions;if(!G||!G.length){return}E[$]=G;for(var ie=0;iele||ce===le&&N[ae].substr(0,12)==="application/")){continue}}N[ae]=$}}))}},62355:function(E,N){(function(E,R){"use strict";true?R(N):0})(this,(function(E){"use strict";var N=function noop(){};var R=function throwError(){throw new Error("Callback was already called.")};var j=5;var $=0;var q="object";var G="function";var ie=Array.isArray;var ae=Object.keys;var ce=Array.prototype.push;var le=typeof Symbol===G&&Symbol.iterator;var _e,Ee,Te;createImmediate();var we=createEach(arrayEach,baseEach,symbolEach);var Ie=createMap(arrayEachIndex,baseEachIndex,symbolEachIndex,true);var Ne=createMap(arrayEachIndex,baseEachKey,symbolEachKey,false);var Me=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,true);var Le=createFilterSeries(true);var Be=createFilterLimit(true);var je=createFilter(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue,false);var Ue=createFilterSeries(false);var ze=createFilterLimit(false);var We=createDetect(arrayEachValue,baseEachValue,symbolEachValue,true);var Je=createDetectSeries(true);var Ve=createDetectLimit(true);var qe=createEvery(arrayEachValue,baseEachValue,symbolEachValue);var He=createEverySeries();var Ge=createEveryLimit();var Ke=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,true);var Qe=createPickSeries(true);var Xe=createPickLimit(true);var Ye=createPick(arrayEachIndexValue,baseEachKeyValue,symbolEachKeyValue,false);var Ze=createPickSeries(false);var et=createPickLimit(false);var tt=createTransform(arrayEachResult,baseEachResult,symbolEachResult);var rt=createSortBy(arrayEachIndexValue,baseEachIndexValue,symbolEachIndexValue);var nt=createConcat(arrayEachIndex,baseEachIndex,symbolEachIndex);var it=createGroupBy(arrayEachValue,baseEachValue,symbolEachValue);var ot=createParallel(arrayEachFunc,baseEachFunc);var st=createApplyEach(Ie);var ct=createApplyEach(mapSeries);var ut=createLogger("log");var dt=createLogger("dir");var pt={VERSION:"2.6.2",each:we,eachSeries:eachSeries,eachLimit:eachLimit,forEach:we,forEachSeries:eachSeries,forEachLimit:eachLimit,eachOf:we,eachOfSeries:eachSeries,eachOfLimit:eachLimit,forEachOf:we,forEachOfSeries:eachSeries,forEachOfLimit:eachLimit,map:Ie,mapSeries:mapSeries,mapLimit:mapLimit,mapValues:Ne,mapValuesSeries:mapValuesSeries,mapValuesLimit:mapValuesLimit,filter:Me,filterSeries:Le,filterLimit:Be,select:Me,selectSeries:Le,selectLimit:Be,reject:je,rejectSeries:Ue,rejectLimit:ze,detect:We,detectSeries:Je,detectLimit:Ve,find:We,findSeries:Je,findLimit:Ve,pick:Ke,pickSeries:Qe,pickLimit:Xe,omit:Ye,omitSeries:Ze,omitLimit:et,reduce:reduce,inject:reduce,foldl:reduce,reduceRight:reduceRight,foldr:reduceRight,transform:tt,transformSeries:transformSeries,transformLimit:transformLimit,sortBy:rt,sortBySeries:sortBySeries,sortByLimit:sortByLimit,some:some,someSeries:someSeries,someLimit:someLimit,any:some,anySeries:someSeries,anyLimit:someLimit,every:qe,everySeries:He,everyLimit:Ge,all:qe,allSeries:He,allLimit:Ge,concat:nt,concatSeries:concatSeries,concatLimit:concatLimit,groupBy:it,groupBySeries:groupBySeries,groupByLimit:groupByLimit,parallel:ot,series:series,parallelLimit:parallelLimit,tryEach:tryEach,waterfall:waterfall,angelFall:angelFall,angelfall:angelFall,whilst:whilst,doWhilst:doWhilst,until:until,doUntil:doUntil,during:during,doDuring:doDuring,forever:forever,compose:compose,seq:seq,applyEach:st,applyEachSeries:ct,queue:queue,priorityQueue:priorityQueue,cargo:cargo,auto:auto,autoInject:autoInject,retry:retry,retryable:retryable,iterator:iterator,times:times,timesSeries:timesSeries,timesLimit:timesLimit,race:race,apply:apply,nextTick:Ee,setImmediate:Te,memoize:memoize,unmemoize:unmemoize,ensureAsync:ensureAsync,constant:constant,asyncify:asyncify,wrapSync:asyncify,log:ut,dir:dt,reflect:reflect,reflectAll:reflectAll,timeout:timeout,createLogger:createLogger,safe:safe,fast:fast};E["default"]=pt;baseEachSync(pt,(function(N,R){E[R]=N}),ae(pt));function createImmediate(E){var N=function delay(E){var N=slice(arguments,1);setTimeout((function(){E.apply(null,N)}))};Te=typeof setImmediate===G?setImmediate:N;if(typeof process===q&&typeof process.nextTick===G){_e=/^v0.10/.test(process.version)?Te:process.nextTick;Ee=/^v0/.test(process.version)?Te:process.nextTick}else{Ee=_e=Te}if(E===false){_e=function(E){E()}}}function createArray(E){var N=-1;var R=E.length;var j=Array(R);while(++N=N&&E[G]>=j){G--}if(q>G){break}swap(E,$,q++,G--)}return q}function swap(E,N,R,j){var $=E[R];E[R]=E[j];E[j]=$;var q=N[R];N[R]=N[j];N[j]=q}function quickSort(E,N,R,j){if(N===R){return}var $=N;while(++$<=R&&E[N]===E[$]){var q=$-1;if(j[q]>j[$]){var G=j[q];j[q]=j[$];j[$]=G}}if($>R){return}var ie=E[N]>E[$]?N:$;$=partition(E,N,R,E[ie],j);quickSort(E,N,$-1,j);quickSort(E,$,R,j)}function makeConcatResult(E){var R=[];arrayEachSync(E,(function(E){if(E===N){return}if(ie(E)){ce.apply(R,E)}else{R.push(E)}}));return R}function arrayEach(E,N,R){var j=-1;var $=E.length;if(N.length===3){while(++j<$){N(E[j],j,onlyOnce(R))}}else{while(++j<$){N(E[j],onlyOnce(R))}}}function baseEach(E,N,R,j){var $;var q=-1;var G=j.length;if(N.length===3){while(++qEe?Ee:$,Be);function arrayIterator(){Te=ze++;if(Tece?ce:j,Me);function arrayIterator(){if(Bece?ce:j,Le);function arrayIterator(){Ee=je++;if(Eece?ce:j,Me);function arrayIterator(){Ee=je++;if(EeEe?Ee:$,Be);function arrayIterator(){Te=Ue++;if(TeEe?Ee:$,Be);function arrayIterator(){Te=ze++;if(Tece?ce:R,Me);function arrayIterator(){Ee=je++;if(Eece?ce:j,je);function arrayIterator(){if(ze=2){ce.apply(Le,slice(arguments,1))}if(E){$(E,Le)}else if(++Be===G){Ne=R;$(null,Le)}else if(Me){_e(Ne)}else{Me=true;Ne()}Me=false}}function concatLimit(E,j,$,G){G=G||N;var ce,Ee,Te,we,Ie,Ne;var Me=false;var Le=0;var Be=0;if(ie(E)){ce=E.length;Ie=$.length===3?arrayIteratorWithIndex:arrayIterator}else if(!E){}else if(le&&E[le]){ce=Infinity;Ne=[];Te=E[le]();Ie=$.length===3?symbolIteratorWithKey:symbolIterator}else if(typeof E===q){var je=ae(E);ce=je.length;Ie=$.length===3?objectIteratorWithKey:objectIterator}if(!ce||isNaN(j)||j<1){return G(null,[])}Ne=Ne||Array(ce);timesSync(j>ce?ce:j,Ie);function arrayIterator(){if(Lece?ce:j,Le);function arrayIterator(){if(jeG?G:j,we);function arrayIterator(){ce=Ne++;if(ce1){var j=slice(arguments,1);return go.apply(this,j)}else{return go}}}function DLL(){this.head=null;this.tail=null;this.length=0}DLL.prototype._removeLink=function(E){var N=E.prev;var R=E.next;if(N){N.next=R}else{this.head=R}if(R){R.prev=N}else{this.tail=N}E.prev=null;E.next=null;this.length--;return E};DLL.prototype.empty=DLL;DLL.prototype._setInitial=function(E){this.length=1;this.head=this.tail=E};DLL.prototype.insertBefore=function(E,N){N.prev=E.prev;N.next=E;if(E.prev){E.prev.next=N}else{this.head=N}E.prev=N;this.length++};DLL.prototype.unshift=function(E){if(this.head){this.insertBefore(this.head,E)}else{this._setInitial(E)}};DLL.prototype.push=function(E){var N=this.tail;if(N){E.prev=N;E.next=N.next;this.tail=E;N.next=E;this.length++}else{this._setInitial(E)}};DLL.prototype.shift=function(){return this.head&&this._removeLink(this.head)};DLL.prototype.splice=function(E){var N;var R=[];while(E--&&(N=this.shift())){R.push(N)}return R};DLL.prototype.remove=function(E){var N=this.head;while(N){if(E(N)){this._removeLink(N)}N=N.next}return this};function baseQueue(E,j,$,q){if($===undefined){$=1}else if(isNaN($)||$<1){throw new Error("Concurrency must not be zero")}var G=0;var ae=[];var le,Ee;var Te={_tasks:new DLL,concurrency:$,payload:q,saturated:N,unsaturated:N,buffer:$/4,empty:N,drain:N,error:N,started:false,paused:false,push:push,kill:kill,unshift:unshift,remove:remove,process:E?runQueue:runCargo,length:getLength,running:running,workersList:getWorkersList,idle:idle,pause:pause,resume:resume,_worker:j};return Te;function push(E,N){_insert(E,N)}function unshift(E,N){_insert(E,N,true)}function _exec(E){var N={data:E,callback:le};if(Ee){Te._tasks.unshift(N)}else{Te._tasks.push(N)}_e(Te.process)}function _insert(E,R,j){if(R==null){R=N}else if(typeof R!=="function"){throw new Error("task callback must be a function")}Te.started=true;var $=ie(E)?E:[E];if(E===undefined||!$.length){if(Te.idle()){_e(Te.drain)}return}Ee=j;le=R;arrayEachSync($,_exec);le=undefined}function kill(){Te.drain=N;Te._tasks.empty()}function _next(E,N){var j=false;return function done($,q){if(j){R()}j=true;G--;var ie;var ce=-1;var le=ae.length;var _e=-1;var Ee=N.length;var Te=arguments.length>2;var we=Te&&createArray(arguments);while(++_e=ce.priority){ce=ce.next}while(ae--){var le={data:q[ae],priority:R,callback:$};if(ce){j._tasks.insertBefore(ce,le)}else{j._tasks.push(le)}_e(j.process)}}}function cargo(E,N){return baseQueue(false,E,1,N)}function auto(E,j,$){if(typeof j===G){$=j;j=null}var q=ae(E);var ce=q.length;var le={};if(ce===0){return $(null,le)}var _e=0;var Ee=new DLL;var Te=Object.create(null);$=onlyOnce($||N);j=j||ce;baseEachSync(E,iterator,q);proceedQueue();function iterator(E,j){var G,ae;if(!ie(E)){G=E;ae=0;Ee.push([G,ae,done]);return}var we=E.length-1;G=E[we];ae=we;if(we===0){Ee.push([G,ae,done]);return}var Ie=-1;while(++Ie=E){$(null,q);$=R}else if(G){_e(iterate)}else{G=true;iterate()}G=false}}function timesLimit(E,j,$,q){q=q||N;E=+E;if(isNaN(E)||E<1||isNaN(j)||j<1){return q(null,[])}var G=Array(E);var ie=false;var ae=0;var ce=0;timesSync(j>E?E:j,iterate);function iterate(){var N=ae++;if(N=E){q(null,G);q=R}else if(ie){_e(iterate)}else{ie=true;iterate()}ie=false}}}function race(E,R){R=once(R||N);var j,$;var G=-1;if(ie(E)){j=E.length;while(++G2){R=slice(arguments,1)}N(null,{value:R})}}}function reflectAll(E){var N,R;if(ie(E)){N=Array(E.length);arrayEachSync(E,iterate)}else if(E&&typeof E===q){R=ae(E);N={};baseEachSync(E,iterate,R)}return N;function iterate(E,R){N[R]=reflect(E)}}function createLogger(E){return function(E){var N=slice(arguments,1);N.push(done);E.apply(null,N)};function done(N){if(typeof console===q){if(N){if(console.error){console.error(N)}return}if(console[E]){var R=slice(arguments,1);arrayEachSync(R,(function(N){console[E](N)}))}}}}function safe(){createImmediate();return E}function fast(){createImmediate(false);return E}}))},5782:(E,N,R)=>{"use strict";E.exports=R(43162)},36949:(E,N,R)=>{"use strict";const j=R(71017);const $="\\\\/";const q=`[^${$}]`;const G="\\.";const ie="\\+";const ae="\\?";const ce="\\/";const le="(?=.)";const _e="[^/]";const Ee=`(?:${ce}|$)`;const Te=`(?:^|${ce})`;const we=`${G}{1,2}${Ee}`;const Ie=`(?!${G})`;const Ne=`(?!${Te}${we})`;const Me=`(?!${G}{0,1}${Ee})`;const Le=`(?!${we})`;const Be=`[^.${ce}]`;const je=`${_e}*?`;const Ue={DOT_LITERAL:G,PLUS_LITERAL:ie,QMARK_LITERAL:ae,SLASH_LITERAL:ce,ONE_CHAR:le,QMARK:_e,END_ANCHOR:Ee,DOTS_SLASH:we,NO_DOT:Ie,NO_DOTS:Ne,NO_DOT_SLASH:Me,NO_DOTS_SLASH:Le,QMARK_NO_DOT:Be,STAR:je,START_ANCHOR:Te};const ze={...Ue,SLASH_LITERAL:`[${$}]`,QMARK:q,STAR:`${q}*?`,DOTS_SLASH:`${G}{1,2}(?:[${$}]|$)`,NO_DOT:`(?!${G})`,NO_DOTS:`(?!(?:^|[${$}])${G}{1,2}(?:[${$}]|$))`,NO_DOT_SLASH:`(?!${G}{0,1}(?:[${$}]|$))`,NO_DOTS_SLASH:`(?!${G}{1,2}(?:[${$}]|$))`,QMARK_NO_DOT:`[^.${$}]`,START_ANCHOR:`(?:^|[${$}])`,END_ANCHOR:`(?:[${$}]|$)`};const We={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};E.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:We,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:j.sep,extglobChars(E){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${E.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(E){return E===true?ze:Ue}}},19934:(E,N,R)=>{"use strict";const j=R(36949);const $=R(2661);const{MAX_LENGTH:q,POSIX_REGEX_SOURCE:G,REGEX_NON_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_BACKREF:ae,REPLACEMENTS:ce}=j;const expandRange=(E,N)=>{if(typeof N.expandRange==="function"){return N.expandRange(...E,N)}E.sort();const R=`[${E.join("-")}]`;try{new RegExp(R)}catch(N){return E.map((E=>$.escapeRegex(E))).join("..")}return R};const syntaxError=(E,N)=>`Missing ${E}: "${N}" - use "\\\\${N}" to match literal characters`;const parse=(E,N)=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}E=ce[E]||E;const R={...N};const le=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;let _e=E.length;if(_e>le){throw new SyntaxError(`Input length: ${_e}, exceeds maximum allowed length: ${le}`)}const Ee={type:"bos",value:"",output:R.prepend||""};const Te=[Ee];const we=R.capture?"":"?:";const Ie=$.isWindows(N);const Ne=j.globChars(Ie);const Me=j.extglobChars(Ne);const{DOT_LITERAL:Le,PLUS_LITERAL:Be,SLASH_LITERAL:je,ONE_CHAR:Ue,DOTS_SLASH:ze,NO_DOT:We,NO_DOT_SLASH:Je,NO_DOTS_SLASH:Ve,QMARK:qe,QMARK_NO_DOT:He,STAR:Ge,START_ANCHOR:Ke}=Ne;const globstar=E=>`(${we}(?:(?!${Ke}${E.dot?ze:Le}).)*?)`;const Qe=R.dot?"":We;const Xe=R.dot?qe:He;let Ye=R.bash===true?globstar(R):Ge;if(R.capture){Ye=`(${Ye})`}if(typeof R.noext==="boolean"){R.noextglob=R.noext}const Ze={input:E,index:-1,start:0,dot:R.dot===true,consumed:"",output:"",prefix:"",backtrack:false,negated:false,brackets:0,braces:0,parens:0,quotes:0,globstar:false,tokens:Te};E=$.removePrefix(E,Ze);_e=E.length;const et=[];const tt=[];const rt=[];let nt=Ee;let it;const eos=()=>Ze.index===_e-1;const ot=Ze.peek=(N=1)=>E[Ze.index+N];const st=Ze.advance=()=>E[++Ze.index];const remaining=()=>E.slice(Ze.index+1);const consume=(E="",N=0)=>{Ze.consumed+=E;Ze.index+=N};const append=E=>{Ze.output+=E.output!=null?E.output:E.value;consume(E.value)};const negate=()=>{let E=1;while(ot()==="!"&&(ot(2)!=="("||ot(3)==="?")){st();Ze.start++;E++}if(E%2===0){return false}Ze.negated=true;Ze.start++;return true};const increment=E=>{Ze[E]++;rt.push(E)};const decrement=E=>{Ze[E]--;rt.pop()};const push=E=>{if(nt.type==="globstar"){const N=Ze.braces>0&&(E.type==="comma"||E.type==="brace");const R=E.extglob===true||et.length&&(E.type==="pipe"||E.type==="paren");if(E.type!=="slash"&&E.type!=="paren"&&!N&&!R){Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="star";nt.value="*";nt.output=Ye;Ze.output+=nt.output}}if(et.length&&E.type!=="paren"&&!Me[E.value]){et[et.length-1].inner+=E.value}if(E.value||E.output)append(E);if(nt&&nt.type==="text"&&E.type==="text"){nt.value+=E.value;nt.output=(nt.output||"")+E.value;return}E.prev=nt;Te.push(E);nt=E};const extglobOpen=(E,N)=>{const j={...Me[N],conditions:1,inner:""};j.prev=nt;j.parens=Ze.parens;j.output=Ze.output;const $=(R.capture?"(":"")+j.open;increment("parens");push({type:E,value:N,output:Ze.output?"":Ue});push({type:"paren",extglob:true,value:st(),output:$});et.push(j)};const extglobClose=E=>{let N=E.close+(R.capture?")":"");if(E.type==="negate"){let j=Ye;if(E.inner&&E.inner.length>1&&E.inner.includes("/")){j=globstar(R)}if(j!==Ye||eos()||/^\)+$/.test(remaining())){N=E.close=`)$))${j}`}if(E.prev.type==="bos"&&eos()){Ze.negatedExtglob=true}}push({type:"paren",extglob:true,value:it,output:N});decrement("parens")};if(R.fastpaths!==false&&!/(^[*!]|[/()[\]{}"])/.test(E)){let j=false;let q=E.replace(ae,((E,N,R,$,q,G)=>{if($==="\\"){j=true;return E}if($==="?"){if(N){return N+$+(q?qe.repeat(q.length):"")}if(G===0){return Xe+(q?qe.repeat(q.length):"")}return qe.repeat(R.length)}if($==="."){return Le.repeat(R.length)}if($==="*"){if(N){return N+$+(q?Ye:"")}return Ye}return N?E:`\\${E}`}));if(j===true){if(R.unescape===true){q=q.replace(/\\/g,"")}else{q=q.replace(/\\+/g,(E=>E.length%2===0?"\\\\":E?"\\":""))}}if(q===E&&R.contains===true){Ze.output=E;return Ze}Ze.output=$.wrapOutput(q,Ze,N);return Ze}while(!eos()){it=st();if(it==="\0"){continue}if(it==="\\"){const E=ot();if(E==="/"&&R.bash!==true){continue}if(E==="."||E===";"){continue}if(!E){it+="\\";push({type:"text",value:it});continue}const N=/^\\+/.exec(remaining());let j=0;if(N&&N[0].length>2){j=N[0].length;Ze.index+=j;if(j%2!==0){it+="\\"}}if(R.unescape===true){it=st()||""}else{it+=st()||""}if(Ze.brackets===0){push({type:"text",value:it});continue}}if(Ze.brackets>0&&(it!=="]"||nt.value==="["||nt.value==="[^")){if(R.posix!==false&&it===":"){const E=nt.value.slice(1);if(E.includes("[")){nt.posix=true;if(E.includes(":")){const E=nt.value.lastIndexOf("[");const N=nt.value.slice(0,E);const R=nt.value.slice(E+2);const j=G[R];if(j){nt.value=N+j;Ze.backtrack=true;st();if(!Ee.output&&Te.indexOf(nt)===1){Ee.output=Ue}continue}}}}if(it==="["&&ot()!==":"||it==="-"&&ot()==="]"){it=`\\${it}`}if(it==="]"&&(nt.value==="["||nt.value==="[^")){it=`\\${it}`}if(R.posix===true&&it==="!"&&nt.value==="["){it="^"}nt.value+=it;append({value:it});continue}if(Ze.quotes===1&&it!=='"'){it=$.escapeRegex(it);nt.value+=it;append({value:it});continue}if(it==='"'){Ze.quotes=Ze.quotes===1?0:1;if(R.keepQuotes===true){push({type:"text",value:it})}continue}if(it==="("){increment("parens");push({type:"paren",value:it});continue}if(it===")"){if(Ze.parens===0&&R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","("))}const E=et[et.length-1];if(E&&Ze.parens===E.parens+1){extglobClose(et.pop());continue}push({type:"paren",value:it,output:Ze.parens?")":"\\)"});decrement("parens");continue}if(it==="["){if(R.nobracket===true||!remaining().includes("]")){if(R.nobracket!==true&&R.strictBrackets===true){throw new SyntaxError(syntaxError("closing","]"))}it=`\\${it}`}else{increment("brackets")}push({type:"bracket",value:it});continue}if(it==="]"){if(R.nobracket===true||nt&&nt.type==="bracket"&&nt.value.length===1){push({type:"text",value:it,output:`\\${it}`});continue}if(Ze.brackets===0){if(R.strictBrackets===true){throw new SyntaxError(syntaxError("opening","["))}push({type:"text",value:it,output:`\\${it}`});continue}decrement("brackets");const E=nt.value.slice(1);if(nt.posix!==true&&E[0]==="^"&&!E.includes("/")){it=`/${it}`}nt.value+=it;append({value:it});if(R.literalBrackets===false||$.hasRegexChars(E)){continue}const N=$.escapeRegex(nt.value);Ze.output=Ze.output.slice(0,-nt.value.length);if(R.literalBrackets===true){Ze.output+=N;nt.value=N;continue}nt.value=`(${we}${N}|${nt.value})`;Ze.output+=nt.value;continue}if(it==="{"&&R.nobrace!==true){increment("braces");const E={type:"brace",value:it,output:"(",outputIndex:Ze.output.length,tokensIndex:Ze.tokens.length};tt.push(E);push(E);continue}if(it==="}"){const E=tt[tt.length-1];if(R.nobrace===true||!E){push({type:"text",value:it,output:it});continue}let N=")";if(E.dots===true){const E=Te.slice();const j=[];for(let N=E.length-1;N>=0;N--){Te.pop();if(E[N].type==="brace"){break}if(E[N].type!=="dots"){j.unshift(E[N].value)}}N=expandRange(j,R);Ze.backtrack=true}if(E.comma!==true&&E.dots!==true){const R=Ze.output.slice(0,E.outputIndex);const j=Ze.tokens.slice(E.tokensIndex);E.value=E.output="\\{";it=N="\\}";Ze.output=R;for(const E of j){Ze.output+=E.output||E.value}}push({type:"brace",value:it,output:N});decrement("braces");tt.pop();continue}if(it==="|"){if(et.length>0){et[et.length-1].conditions++}push({type:"text",value:it});continue}if(it===","){let E=it;const N=tt[tt.length-1];if(N&&rt[rt.length-1]==="braces"){N.comma=true;E="|"}push({type:"comma",value:it,output:E});continue}if(it==="/"){if(nt.type==="dot"&&Ze.index===Ze.start+1){Ze.start=Ze.index+1;Ze.consumed="";Ze.output="";Te.pop();nt=Ee;continue}push({type:"slash",value:it,output:je});continue}if(it==="."){if(Ze.braces>0&&nt.type==="dot"){if(nt.value===".")nt.output=Le;const E=tt[tt.length-1];nt.type="dots";nt.output+=it;nt.value+=it;E.dots=true;continue}if(Ze.braces+Ze.parens===0&&nt.type!=="bos"&&nt.type!=="slash"){push({type:"text",value:it,output:Le});continue}push({type:"dot",value:it,output:Le});continue}if(it==="?"){const E=nt&&nt.value==="(";if(!E&&R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("qmark",it);continue}if(nt&&nt.type==="paren"){const E=ot();let N=it;if(E==="<"&&!$.supportsLookbehinds()){throw new Error("Node.js v10 or higher is required for regex lookbehinds")}if(nt.value==="("&&!/[!=<:]/.test(E)||E==="<"&&!/<([!=]|\w+>)/.test(remaining())){N=`\\${it}`}push({type:"text",value:it,output:N});continue}if(R.dot!==true&&(nt.type==="slash"||nt.type==="bos")){push({type:"qmark",value:it,output:He});continue}push({type:"qmark",value:it,output:qe});continue}if(it==="!"){if(R.noextglob!==true&&ot()==="("){if(ot(2)!=="?"||!/[!=<:]/.test(ot(3))){extglobOpen("negate",it);continue}}if(R.nonegate!==true&&Ze.index===0){negate();continue}}if(it==="+"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){extglobOpen("plus",it);continue}if(nt&&nt.value==="("||R.regex===false){push({type:"plus",value:it,output:Be});continue}if(nt&&(nt.type==="bracket"||nt.type==="paren"||nt.type==="brace")||Ze.parens>0){push({type:"plus",value:it});continue}push({type:"plus",value:Be});continue}if(it==="@"){if(R.noextglob!==true&&ot()==="("&&ot(2)!=="?"){push({type:"at",extglob:true,value:it,output:""});continue}push({type:"text",value:it});continue}if(it!=="*"){if(it==="$"||it==="^"){it=`\\${it}`}const E=ie.exec(remaining());if(E){it+=E[0];Ze.index+=E[0].length}push({type:"text",value:it});continue}if(nt&&(nt.type==="globstar"||nt.star===true)){nt.type="star";nt.star=true;nt.value+=it;nt.output=Ye;Ze.backtrack=true;Ze.globstar=true;consume(it);continue}let N=remaining();if(R.noextglob!==true&&/^\([^?]/.test(N)){extglobOpen("star",it);continue}if(nt.type==="star"){if(R.noglobstar===true){consume(it);continue}const j=nt.prev;const $=j.prev;const q=j.type==="slash"||j.type==="bos";const G=$&&($.type==="star"||$.type==="globstar");if(R.bash===true&&(!q||N[0]&&N[0]!=="/")){push({type:"star",value:it,output:""});continue}const ie=Ze.braces>0&&(j.type==="comma"||j.type==="brace");const ae=et.length&&(j.type==="pipe"||j.type==="paren");if(!q&&j.type!=="paren"&&!ie&&!ae){push({type:"star",value:it,output:""});continue}while(N.slice(0,3)==="/**"){const R=E[Ze.index+4];if(R&&R!=="/"){break}N=N.slice(3);consume("/**",3)}if(j.type==="bos"&&eos()){nt.type="globstar";nt.value+=it;nt.output=globstar(R);Ze.output=nt.output;Ze.globstar=true;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&!G&&eos()){Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=globstar(R)+(R.strictSlashes?")":"|$)");nt.value+=it;Ze.globstar=true;Ze.output+=j.output+nt.output;consume(it);continue}if(j.type==="slash"&&j.prev.type!=="bos"&&N[0]==="/"){const E=N[1]!==void 0?"|$":"";Ze.output=Ze.output.slice(0,-(j.output+nt.output).length);j.output=`(?:${j.output}`;nt.type="globstar";nt.output=`${globstar(R)}${je}|${je}${E})`;nt.value+=it;Ze.output+=j.output+nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}if(j.type==="bos"&&N[0]==="/"){nt.type="globstar";nt.value+=it;nt.output=`(?:^|${je}|${globstar(R)}${je})`;Ze.output=nt.output;Ze.globstar=true;consume(it+st());push({type:"slash",value:"/",output:""});continue}Ze.output=Ze.output.slice(0,-nt.output.length);nt.type="globstar";nt.output=globstar(R);nt.value+=it;Ze.output+=nt.output;Ze.globstar=true;consume(it);continue}const j={type:"star",value:it,output:Ye};if(R.bash===true){j.output=".*?";if(nt.type==="bos"||nt.type==="slash"){j.output=Qe+j.output}push(j);continue}if(nt&&(nt.type==="bracket"||nt.type==="paren")&&R.regex===true){j.output=it;push(j);continue}if(Ze.index===Ze.start||nt.type==="slash"||nt.type==="dot"){if(nt.type==="dot"){Ze.output+=Je;nt.output+=Je}else if(R.dot===true){Ze.output+=Ve;nt.output+=Ve}else{Ze.output+=Qe;nt.output+=Qe}if(ot()!=="*"){Ze.output+=Ue;nt.output+=Ue}}push(j)}while(Ze.brackets>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","]"));Ze.output=$.escapeLast(Ze.output,"[");decrement("brackets")}while(Ze.parens>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing",")"));Ze.output=$.escapeLast(Ze.output,"(");decrement("parens")}while(Ze.braces>0){if(R.strictBrackets===true)throw new SyntaxError(syntaxError("closing","}"));Ze.output=$.escapeLast(Ze.output,"{");decrement("braces")}if(R.strictSlashes!==true&&(nt.type==="star"||nt.type==="bracket")){push({type:"maybe_slash",value:"",output:`${je}?`})}if(Ze.backtrack===true){Ze.output="";for(const E of Ze.tokens){Ze.output+=E.output!=null?E.output:E.value;if(E.suffix){Ze.output+=E.suffix}}}return Ze};parse.fastpaths=(E,N)=>{const R={...N};const G=typeof R.maxLength==="number"?Math.min(q,R.maxLength):q;const ie=E.length;if(ie>G){throw new SyntaxError(`Input length: ${ie}, exceeds maximum allowed length: ${G}`)}E=ce[E]||E;const ae=$.isWindows(N);const{DOT_LITERAL:le,SLASH_LITERAL:_e,ONE_CHAR:Ee,DOTS_SLASH:Te,NO_DOT:we,NO_DOTS:Ie,NO_DOTS_SLASH:Ne,STAR:Me,START_ANCHOR:Le}=j.globChars(ae);const Be=R.dot?Ie:we;const je=R.dot?Ne:we;const Ue=R.capture?"":"?:";const ze={negated:false,prefix:""};let We=R.bash===true?".*?":Me;if(R.capture){We=`(${We})`}const globstar=E=>{if(E.noglobstar===true)return We;return`(${Ue}(?:(?!${Le}${E.dot?Te:le}).)*?)`};const create=E=>{switch(E){case"*":return`${Be}${Ee}${We}`;case".*":return`${le}${Ee}${We}`;case"*.*":return`${Be}${We}${le}${Ee}${We}`;case"*/*":return`${Be}${We}${_e}${Ee}${je}${We}`;case"**":return Be+globstar(R);case"**/*":return`(?:${Be}${globstar(R)}${_e})?${je}${Ee}${We}`;case"**/*.*":return`(?:${Be}${globstar(R)}${_e})?${je}${We}${le}${Ee}${We}`;case"**/.*":return`(?:${Be}${globstar(R)}${_e})?${le}${Ee}${We}`;default:{const N=/^(.*?)\.(\w+)$/.exec(E);if(!N)return;const R=create(N[1]);if(!R)return;return R+le+N[2]}}};const Je=$.removePrefix(E,ze);let Ve=create(Je);if(Ve&&R.strictSlashes!==true){Ve+=`${_e}?`}return Ve};E.exports=parse},43162:(E,N,R)=>{"use strict";const j=R(71017);const $=R(35788);const q=R(19934);const G=R(2661);const ie=R(36949);const isObject=E=>E&&typeof E==="object"&&!Array.isArray(E);const picomatch=(E,N,R=false)=>{if(Array.isArray(E)){const j=E.map((E=>picomatch(E,N,R)));const arrayMatcher=E=>{for(const N of j){const R=N(E);if(R)return R}return false};return arrayMatcher}const j=isObject(E)&&E.tokens&&E.input;if(E===""||typeof E!=="string"&&!j){throw new TypeError("Expected pattern to be a non-empty string")}const $=N||{};const q=G.isWindows(N);const ie=j?picomatch.compileRe(E,N):picomatch.makeRe(E,N,false,true);const ae=ie.state;delete ie.state;let isIgnored=()=>false;if($.ignore){const E={...N,ignore:null,onMatch:null,onResult:null};isIgnored=picomatch($.ignore,E,R)}const matcher=(R,j=false)=>{const{isMatch:G,match:ce,output:le}=picomatch.test(R,ie,N,{glob:E,posix:q});const _e={glob:E,state:ae,regex:ie,posix:q,input:R,output:le,match:ce,isMatch:G};if(typeof $.onResult==="function"){$.onResult(_e)}if(G===false){_e.isMatch=false;return j?_e:false}if(isIgnored(R)){if(typeof $.onIgnore==="function"){$.onIgnore(_e)}_e.isMatch=false;return j?_e:false}if(typeof $.onMatch==="function"){$.onMatch(_e)}return j?_e:true};if(R){matcher.state=ae}return matcher};picomatch.test=(E,N,R,{glob:j,posix:$}={})=>{if(typeof E!=="string"){throw new TypeError("Expected input to be a string")}if(E===""){return{isMatch:false,output:""}}const q=R||{};const ie=q.format||($?G.toPosixSlashes:null);let ae=E===j;let ce=ae&&ie?ie(E):E;if(ae===false){ce=ie?ie(E):E;ae=ce===j}if(ae===false||q.capture===true){if(q.matchBase===true||q.basename===true){ae=picomatch.matchBase(E,N,R,$)}else{ae=N.exec(ce)}}return{isMatch:Boolean(ae),match:ae,output:ce}};picomatch.matchBase=(E,N,R,$=G.isWindows(R))=>{const q=N instanceof RegExp?N:picomatch.makeRe(N,R);return q.test(j.basename(E))};picomatch.isMatch=(E,N,R)=>picomatch(N,R)(E);picomatch.parse=(E,N)=>{if(Array.isArray(E))return E.map((E=>picomatch.parse(E,N)));return q(E,{...N,fastpaths:false})};picomatch.scan=(E,N)=>$(E,N);picomatch.compileRe=(E,N,R=false,j=false)=>{if(R===true){return E.output}const $=N||{};const q=$.contains?"":"^";const G=$.contains?"":"$";let ie=`${q}(?:${E.output})${G}`;if(E&&E.negated===true){ie=`^(?!${ie}).*$`}const ae=picomatch.toRegex(ie,N);if(j===true){ae.state=E}return ae};picomatch.makeRe=(E,N,R=false,j=false)=>{if(!E||typeof E!=="string"){throw new TypeError("Expected a non-empty string")}const $=N||{};let G={negated:false,fastpaths:true};let ie="";let ae;if(E.startsWith("./")){E=E.slice(2);ie=G.prefix="./"}if($.fastpaths!==false&&(E[0]==="."||E[0]==="*")){ae=q.fastpaths(E,N)}if(ae===undefined){G=q(E,N);G.prefix=ie+(G.prefix||"")}else{G.output=ae}return picomatch.compileRe(G,N,R,j)};picomatch.toRegex=(E,N)=>{try{const R=N||{};return new RegExp(E,R.flags||(R.nocase?"i":""))}catch(E){if(N&&N.debug===true)throw E;return/$^/}};picomatch.constants=ie;E.exports=picomatch},35788:(E,N,R)=>{"use strict";const j=R(2661);const{CHAR_ASTERISK:$,CHAR_AT:q,CHAR_BACKWARD_SLASH:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_EXCLAMATION_MARK:ce,CHAR_FORWARD_SLASH:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_LEFT_PARENTHESES:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_PLUS:we,CHAR_QUESTION_MARK:Ie,CHAR_RIGHT_CURLY_BRACE:Ne,CHAR_RIGHT_PARENTHESES:Me,CHAR_RIGHT_SQUARE_BRACKET:Le}=R(36949);const isPathSeparator=E=>E===le||E===G;const depth=E=>{if(E.isPrefix!==true){E.depth=E.isGlobstar?Infinity:1}};const scan=(E,N)=>{const R=N||{};const Be=E.length-1;const je=R.parts===true||R.scanToEnd===true;const Ue=[];const ze=[];const We=[];let Je=E;let Ve=-1;let qe=0;let He=0;let Ge=false;let Ke=false;let Qe=false;let Xe=false;let Ye=false;let Ze=false;let et=false;let tt=false;let rt=false;let nt=0;let it;let ot;let st={value:"",depth:0,isGlob:false};const eos=()=>Ve>=Be;const peek=()=>Je.charCodeAt(Ve+1);const advance=()=>{it=ot;return Je.charCodeAt(++Ve)};while(Ve0){ut=Je.slice(0,qe);Je=Je.slice(qe);He-=qe}if(ct&&Qe===true&&He>0){ct=Je.slice(0,He);dt=Je.slice(He)}else if(Qe===true){ct="";dt=Je}else{ct=Je}if(ct&&ct!==""&&ct!=="/"&&ct!==Je){if(isPathSeparator(ct.charCodeAt(ct.length-1))){ct=ct.slice(0,-1)}}if(R.unescape===true){if(dt)dt=j.removeBackslashes(dt);if(ct&&et===true){ct=j.removeBackslashes(ct)}}const pt={prefix:ut,input:E,start:qe,base:ct,glob:dt,isBrace:Ge,isBracket:Ke,isGlob:Qe,isExtglob:Xe,isGlobstar:Ye,negated:tt};if(R.tokens===true){pt.maxDepth=0;if(!isPathSeparator(ot)){ze.push(st)}pt.tokens=ze}if(R.parts===true||R.tokens===true){let N;for(let j=0;j{"use strict";const j=R(71017);const $=process.platform==="win32";const{REGEX_BACKSLASH:q,REGEX_REMOVE_BACKSLASH:G,REGEX_SPECIAL_CHARS:ie,REGEX_SPECIAL_CHARS_GLOBAL:ae}=R(36949);N.isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);N.hasRegexChars=E=>ie.test(E);N.isRegexChar=E=>E.length===1&&N.hasRegexChars(E);N.escapeRegex=E=>E.replace(ae,"\\$1");N.toPosixSlashes=E=>E.replace(q,"/");N.removeBackslashes=E=>E.replace(G,(E=>E==="\\"?"":E));N.supportsLookbehinds=()=>{const E=process.version.slice(1).split(".").map(Number);if(E.length===3&&E[0]>=9||E[0]===8&&E[1]>=10){return true}return false};N.isWindows=E=>{if(E&&typeof E.windows==="boolean"){return E.windows}return $===true||j.sep==="\\"};N.escapeLast=(E,R,j)=>{const $=E.lastIndexOf(R,j);if($===-1)return E;if(E[$-1]==="\\")return N.escapeLast(E,R,$-1);return`${E.slice(0,$)}\\${E.slice($)}`};N.removePrefix=(E,N={})=>{let R=E;if(R.startsWith("./")){R=R.slice(2);N.prefix="./"}return R};N.wrapOutput=(E,N={},R={})=>{const j=R.contains?"":"^";const $=R.contains?"":"$";let q=`${j}(?:${E})${$}`;if(N.negated===true){q=`(?:^(?!${q}).*$)`}return q}},31998:(E,N,R)=>{E.exports=R(6113).randomBytes},24672:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;const{stringHints:j,numberHints:$}=R(47961);const q={type:1,not:1,oneOf:1,anyOf:1,if:1,enum:1,const:1,instanceof:1,required:2,pattern:2,patternRequired:2,format:2,formatMinimum:2,formatMaximum:2,minimum:2,exclusiveMinimum:2,maximum:2,exclusiveMaximum:2,multipleOf:2,uniqueItems:2,contains:2,minLength:2,maxLength:2,minItems:2,maxItems:2,minProperties:2,maxProperties:2,dependencies:2,propertyNames:2,additionalItems:2,additionalProperties:2,absolutePath:2};function filterMax(E,N){const R=E.reduce(((E,R)=>Math.max(E,N(R))),0);return E.filter((E=>N(E)===R))}function filterChildren(E){let N=E;N=filterMax(N,(E=>E.dataPath?E.dataPath.length:0));N=filterMax(N,(E=>q[E.keyword]||2));return N}function findAllChildren(E,N){let R=E.length-1;const predicate=N=>E[R].schemaPath.indexOf(N)!==0;while(R>-1&&!N.every(predicate)){if(E[R].keyword==="anyOf"||E[R].keyword==="oneOf"){const N=extractRefs(E[R]);const j=findAllChildren(E.slice(0,R),N.concat(E[R].schemaPath));R=j-1}else{R-=1}}return R+1}function extractRefs(E){const{schema:N}=E;if(!Array.isArray(N)){return[]}return N.map((({$ref:E})=>E)).filter((E=>E))}function groupChildrenByFirstChild(E){const N=[];let R=E.length-1;while(R>0){const j=E[R];if(j.keyword==="anyOf"||j.keyword==="oneOf"){const $=extractRefs(j);const q=findAllChildren(E.slice(0,R),$.concat(j.schemaPath));if(q!==R){N.push(Object.assign({},j,{children:E.slice(q,R)}));R=q}else{N.push(j)}}else{N.push(j)}R-=1}if(R===0){N.push(E[R])}return N.reverse()}function indent(E,N){return E.replace(/\n(?!$)/g,`\n${N}`)}function hasNotInSchema(E){return!!E.not}function findFirstTypedSchema(E){if(hasNotInSchema(E)){return findFirstTypedSchema(E.not)}return E}function canApplyNot(E){const N=findFirstTypedSchema(E);return likeNumber(N)||likeInteger(N)||likeString(N)||likeNull(N)||likeBoolean(N)}function isObject(E){return typeof E==="object"&&E!==null}function likeNumber(E){return E.type==="number"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeInteger(E){return E.type==="integer"||typeof E.minimum!=="undefined"||typeof E.exclusiveMinimum!=="undefined"||typeof E.maximum!=="undefined"||typeof E.exclusiveMaximum!=="undefined"||typeof E.multipleOf!=="undefined"}function likeString(E){return E.type==="string"||typeof E.minLength!=="undefined"||typeof E.maxLength!=="undefined"||typeof E.pattern!=="undefined"||typeof E.format!=="undefined"||typeof E.formatMinimum!=="undefined"||typeof E.formatMaximum!=="undefined"}function likeBoolean(E){return E.type==="boolean"}function likeArray(E){return E.type==="array"||typeof E.minItems==="number"||typeof E.maxItems==="number"||typeof E.uniqueItems!=="undefined"||typeof E.items!=="undefined"||typeof E.additionalItems!=="undefined"||typeof E.contains!=="undefined"}function likeObject(E){return E.type==="object"||typeof E.minProperties!=="undefined"||typeof E.maxProperties!=="undefined"||typeof E.required!=="undefined"||typeof E.properties!=="undefined"||typeof E.patternProperties!=="undefined"||typeof E.additionalProperties!=="undefined"||typeof E.dependencies!=="undefined"||typeof E.propertyNames!=="undefined"||typeof E.patternRequired!=="undefined"}function likeNull(E){return E.type==="null"}function getArticle(E){if(/^[aeiou]/i.test(E)){return"an"}return"a"}function getSchemaNonTypes(E){if(!E){return""}if(!E.type){if(likeNumber(E)||likeInteger(E)){return" | should be any non-number"}if(likeString(E)){return" | should be any non-string"}if(likeArray(E)){return" | should be any non-array"}if(likeObject(E)){return" | should be any non-object"}}return""}function formatHints(E){return E.length>0?`(${E.join(", ")})`:""}function getHints(E,N){if(likeNumber(E)||likeInteger(E)){return $(E,N)}else if(likeString(E)){return j(E,N)}return[]}class ValidationError extends Error{constructor(E,N,R={}){super();this.name="ValidationError";this.errors=E;this.schema=N;let j;let $;if(N.title&&(!R.name||!R.baseDataPath)){const E=N.title.match(/^(.+) (.+)$/);if(E){if(!R.name){[,j]=E}if(!R.baseDataPath){[,,$]=E}}}this.headerName=R.name||j||"Object";this.baseDataPath=R.baseDataPath||$||"configuration";this.postFormatter=R.postFormatter||null;const q=`Invalid ${this.baseDataPath} object. ${this.headerName} has been initialized using ${getArticle(this.baseDataPath)} ${this.baseDataPath} object that does not match the API schema.\n`;this.message=`${q}${this.formatValidationErrors(E)}`;Error.captureStackTrace(this,this.constructor)}getSchemaPart(E){const N=E.split("/");let R=this.schema;for(let E=1;E{if(!$){return this.formatSchema(N,j,R)}if(R.includes(N)){return"(recursive)"}return this.formatSchema(N,j,R.concat(E))};if(hasNotInSchema(E)&&!likeObject(E)){if(canApplyNot(E.not)){j=!N;return formatInnerSchema(E.not)}const R=!E.not.not;const $=N?"":"non ";j=!N;return R?$+formatInnerSchema(E.not):formatInnerSchema(E.not)}if(E.instanceof){const{instanceof:N}=E;const R=!Array.isArray(N)?[N]:N;return R.map((E=>E==="Function"?"function":E)).join(" | ")}if(E.enum){return E.enum.map((E=>JSON.stringify(E))).join(" | ")}if(typeof E.const!=="undefined"){return JSON.stringify(E.const)}if(E.oneOf){return E.oneOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.anyOf){return E.anyOf.map((E=>formatInnerSchema(E,true))).join(" | ")}if(E.allOf){return E.allOf.map((E=>formatInnerSchema(E,true))).join(" & ")}if(E.if){const{if:N,then:R,else:j}=E;return`${N?`if ${formatInnerSchema(N)}`:""}${R?` then ${formatInnerSchema(R)}`:""}${j?` else ${formatInnerSchema(j)}`:""}`}if(E.$ref){return formatInnerSchema(this.getSchemaPart(E.$ref),true)}if(likeNumber(E)||likeInteger(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:j.length>0?`non-${R} | ${$}`:`non-${R}`}if(likeString(E)){const[R,...j]=getHints(E,N);const $=`${R}${j.length>0?` ${formatHints(j)}`:""}`;return N?$:$==="string"?"non-string":`non-string | ${$}`}if(likeBoolean(E)){return`${N?"":"non-"}boolean`}if(likeArray(E)){j=true;const N=[];if(typeof E.minItems==="number"){N.push(`should not have fewer than ${E.minItems} item${E.minItems>1?"s":""}`)}if(typeof E.maxItems==="number"){N.push(`should not have more than ${E.maxItems} item${E.maxItems>1?"s":""}`)}if(E.uniqueItems){N.push("should not have duplicate items")}const R=typeof E.additionalItems==="undefined"||Boolean(E.additionalItems);let $="";if(E.items){if(Array.isArray(E.items)&&E.items.length>0){$=`${E.items.map((E=>formatInnerSchema(E))).join(", ")}`;if(R){if(E.additionalItems&&isObject(E.additionalItems)&&Object.keys(E.additionalItems).length>0){N.push(`additional items should be ${formatInnerSchema(E.additionalItems)}`)}}}else if(E.items&&Object.keys(E.items).length>0){$=`${formatInnerSchema(E.items)}`}else{$="any"}}else{$="any"}if(E.contains&&Object.keys(E.contains).length>0){N.push(`should contains at least one ${this.formatSchema(E.contains)} item`)}return`[${$}${R?", ...":""}]${N.length>0?` (${N.join(", ")})`:""}`}if(likeObject(E)){j=true;const N=[];if(typeof E.minProperties==="number"){N.push(`should not have fewer than ${E.minProperties} ${E.minProperties>1?"properties":"property"}`)}if(typeof E.maxProperties==="number"){N.push(`should not have more than ${E.maxProperties} ${E.minProperties&&E.minProperties>1?"properties":"property"}`)}if(E.patternProperties&&Object.keys(E.patternProperties).length>0){const R=Object.keys(E.patternProperties);N.push(`additional property names should match pattern${R.length>1?"s":""} ${R.map((E=>JSON.stringify(E))).join(" | ")}`)}const R=E.properties?Object.keys(E.properties):[];const $=E.required?E.required:[];const q=[...new Set([].concat($).concat(R))];const G=q.map((E=>{const N=$.includes(E);return`${E}${N?"":"?"}`})).concat(typeof E.additionalProperties==="undefined"||Boolean(E.additionalProperties)?E.additionalProperties&&isObject(E.additionalProperties)?[`: ${formatInnerSchema(E.additionalProperties)}`]:["…"]:[]).join(", ");const{dependencies:ie,propertyNames:ae,patternRequired:ce}=E;if(ie){Object.keys(ie).forEach((E=>{const R=ie[E];if(Array.isArray(R)){N.push(`should have ${R.length>1?"properties":"property"} ${R.map((E=>`'${E}'`)).join(", ")} when property '${E}' is present`)}else{N.push(`should be valid according to the schema ${formatInnerSchema(R)} when property '${E}' is present`)}}))}if(ae&&Object.keys(ae).length>0){N.push(`each property name should match format ${JSON.stringify(E.propertyNames.format)}`)}if(ce&&ce.length>0){N.push(`should have property matching pattern ${ce.map((E=>JSON.stringify(E)))}`)}return`object {${G?` ${G} `:""}}${N.length>0?` (${N.join(", ")})`:""}`}if(likeNull(E)){return`${N?"":"non-"}null`}if(Array.isArray(E.type)){return`${E.type.join(" | ")}`}return JSON.stringify(E,null,2)}getSchemaPartText(E,N,R=false,j=true){if(!E){return""}if(Array.isArray(N)){for(let R=0;R ${E.description}`}if(E.link){$+=`\n-> Read more at ${E.link}`}return $}getSchemaPartDescription(E){if(!E){return""}while(E.$ref){E=this.getSchemaPart(E.$ref)}let N="";if(E.description){N+=`\n-> ${E.description}`}if(E.link){N+=`\n-> Read more at ${E.link}`}return N}formatValidationError(E){const{keyword:N,dataPath:R}=E;const j=`${this.baseDataPath}${R}`;switch(N){case"type":{const{parentSchema:N,params:R}=E;switch(R.type){case"number":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"integer":return`${j} should be an ${this.getSchemaPartText(N,false,true)}`;case"string":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"boolean":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;case"array":return`${j} should be an array:\n${this.getSchemaPartText(N)}`;case"object":return`${j} should be an object:\n${this.getSchemaPartText(N)}`;case"null":return`${j} should be a ${this.getSchemaPartText(N,false,true)}`;default:return`${j} should be:\n${this.getSchemaPartText(N)}`}}case"instanceof":{const{parentSchema:N}=E;return`${j} should be an instance of ${this.getSchemaPartText(N,false,true)}`}case"pattern":{const{params:N,parentSchema:R}=E;const{pattern:$}=N;return`${j} should match pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"format":{const{params:N,parentSchema:R}=E;const{format:$}=N;return`${j} should match format ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"formatMinimum":case"formatMaximum":{const{params:N,parentSchema:R}=E;const{comparison:$,limit:q}=N;return`${j} should be ${$} ${JSON.stringify(q)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minimum":case"maximum":case"exclusiveMinimum":case"exclusiveMaximum":{const{parentSchema:N,params:R}=E;const{comparison:$,limit:q}=R;const[,...G]=getHints(N,true);if(G.length===0){G.push(`should be ${$} ${q}`)}return`${j} ${G.join(" ")}${getSchemaNonTypes(N)}.${this.getSchemaPartDescription(N)}`}case"multipleOf":{const{params:N,parentSchema:R}=E;const{multipleOf:$}=N;return`${j} should be multiple of ${$}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"patternRequired":{const{params:N,parentSchema:R}=E;const{missingPattern:$}=N;return`${j} should have property matching pattern ${JSON.stringify($)}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty string${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}const q=$-1;return`${j} should be longer than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty array${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"minProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;if($===1){return`${j} should be a non-empty object${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}return`${j} should not have fewer than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxLength":{const{params:N,parentSchema:R}=E;const{limit:$}=N;const q=$+1;return`${j} should be shorter than ${q} character${q>1?"s":""}${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"maxProperties":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} properties${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"uniqueItems":{const{params:N,parentSchema:R}=E;const{i:$}=N;return`${j} should not contain the item '${E.data[$]}' twice${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"additionalItems":{const{params:N,parentSchema:R}=E;const{limit:$}=N;return`${j} should not have more than ${$} items${getSchemaNonTypes(R)}. These items are valid:\n${this.getSchemaPartText(R)}`}case"contains":{const{parentSchema:N}=E;return`${j} should contains at least one ${this.getSchemaPartText(N,["contains"])} item${getSchemaNonTypes(N)}.`}case"required":{const{parentSchema:N,params:R}=E;const $=R.missingProperty.replace(/^\./,"");const q=N&&Boolean(N.properties&&N.properties[$]);return`${j} misses the property '${$}'${getSchemaNonTypes(N)}.${q?` Should be:\n${this.getSchemaPartText(N,["properties",$])}`:this.getSchemaPartDescription(N)}`}case"additionalProperties":{const{params:N,parentSchema:R}=E;const{additionalProperty:$}=N;return`${j} has an unknown property '${$}'${getSchemaNonTypes(R)}. These properties are valid:\n${this.getSchemaPartText(R)}`}case"dependencies":{const{params:N,parentSchema:R}=E;const{property:$,deps:q}=N;const G=q.split(",").map((E=>`'${E.trim()}'`)).join(", ");return`${j} should have properties ${G} when property '${$}' is present${getSchemaNonTypes(R)}.${this.getSchemaPartDescription(R)}`}case"propertyNames":{const{params:N,parentSchema:R,schema:$}=E;const{propertyName:q}=N;return`${j} property name '${q}' is invalid${getSchemaNonTypes(R)}. Property names should be match format ${JSON.stringify($.format)}.${this.getSchemaPartDescription(R)}`}case"enum":{const{parentSchema:N}=E;if(N&&N.enum&&N.enum.length===1){return`${j} should be ${this.getSchemaPartText(N,false,true)}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"const":{const{parentSchema:N}=E;return`${j} should be equal to constant ${this.getSchemaPartText(N,false,true)}`}case"not":{const N=likeObject(E.parentSchema)?`\n${this.getSchemaPartText(E.parentSchema)}`:"";const R=this.getSchemaPartText(E.schema,false,false,false);if(canApplyNot(E.schema)){return`${j} should be any ${R}${N}.`}const{schema:$,parentSchema:q}=E;return`${j} should not be ${this.getSchemaPartText($,false,true)}${q&&likeObject(q)?`\n${this.getSchemaPartText(q)}`:""}`}case"oneOf":case"anyOf":{const{parentSchema:N,children:R}=E;if(R&&R.length>0){if(E.schema.length===1){const E=R[R.length-1];const j=R.slice(0,R.length-1);return this.formatValidationError(Object.assign({},E,{children:j,parentSchema:Object.assign({},N,E.parentSchema)}))}let $=filterChildren(R);if($.length===1){return this.formatValidationError($[0])}$=groupChildrenByFirstChild($);return`${j} should be one of these:\n${this.getSchemaPartText(N)}\nDetails:\n${$.map((E=>` * ${indent(this.formatValidationError(E)," ")}`)).join("\n")}`}return`${j} should be one of these:\n${this.getSchemaPartText(N)}`}case"if":{const{params:N,parentSchema:R}=E;const{failingKeyword:$}=N;return`${j} should match "${$}" schema:\n${this.getSchemaPartText(R,[$])}`}case"absolutePath":{const{message:N,parentSchema:R}=E;return`${j}: ${N}${this.getSchemaPartDescription(R)}`}default:{const{message:N,parentSchema:R}=E;const $=JSON.stringify(E,null,2);return`${j} ${N} (${$}).\n${this.getSchemaPartText(R,false)}`}}}formatValidationErrors(E){return E.map((E=>{let N=this.formatValidationError(E);if(this.postFormatter){N=this.postFormatter(N,E)}return` - ${indent(N," ")}`})).join("\n")}}var G=ValidationError;N["default"]=G},15235:(E,N,R)=>{"use strict";const{validate:j,ValidationError:$}=R(18110);E.exports={validate:j,ValidationError:$}},77102:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;function errorMessage(E,N,R){return{dataPath:undefined,schemaPath:undefined,keyword:"absolutePath",params:{absolutePath:R},message:E,parentSchema:N}}function getErrorFor(E,N,R){const j=E?`The provided value ${JSON.stringify(R)} is not an absolute path!`:`A relative path is expected. However, the provided value ${JSON.stringify(R)} is an absolute path!`;return errorMessage(j,N,R)}function addAbsolutePathKeyword(E){E.addKeyword("absolutePath",{errors:true,type:"string",compile(E,N){const callback=R=>{let j=true;const $=R.includes("!");if($){callback.errors=[errorMessage(`The provided value ${JSON.stringify(R)} contains exclamation mark (!) which is not allowed because it's reserved for loader syntax.`,N,R)];j=false}const q=E===/^(?:[A-Za-z]:(\\|\/)|\\\\|\/)/.test(R);if(!q){callback.errors=[getErrorFor(E,N,R)];j=false}return j};callback.errors=[];return callback}});return E}var R=addAbsolutePathKeyword;N["default"]=R},95855:E=>{"use strict";class Range{static getOperator(E,N){if(E==="left"){return N?">":">="}return N?"<":"<="}static formatRight(E,N,R){if(N===false){return Range.formatLeft(E,!N,!R)}return`should be ${Range.getOperator("right",R)} ${E}`}static formatLeft(E,N,R){if(N===false){return Range.formatRight(E,!N,!R)}return`should be ${Range.getOperator("left",R)} ${E}`}static formatRange(E,N,R,j,$){let q="should be";q+=` ${Range.getOperator($?"left":"right",$?R:!R)} ${E} `;q+=$?"and":"or";q+=` ${Range.getOperator($?"right":"left",$?j:!j)} ${N}`;return q}static getRangeValue(E,N){let R=N?Infinity:-Infinity;let j=-1;const $=N?([E])=>E<=R:([E])=>E>=R;for(let N=0;N-1){return E[j]}return[Infinity,true]}constructor(){this._left=[];this._right=[]}left(E,N=false){this._left.push([E,N])}right(E,N=false){this._right.push([E,N])}format(E=true){const[N,R]=Range.getRangeValue(this._left,E);const[j,$]=Range.getRangeValue(this._right,!E);if(!Number.isFinite(N)&&!Number.isFinite(j)){return""}const q=R?N+1:N;const G=$?j-1:j;if(q===G){return`should be ${E?"":"!"}= ${q}`}if(Number.isFinite(N)&&!Number.isFinite(j)){return Range.formatLeft(N,E,R)}if(!Number.isFinite(N)&&Number.isFinite(j)){return Range.formatRight(j,E,$)}return Range.formatRange(N,j,R,$,E)}}E.exports=Range},47961:(E,N,R)=>{"use strict";const j=R(95855);E.exports.stringHints=function stringHints(E,N){const R=[];let j="string";const $={...E};if(!N){const E=$.minLength;const N=$.formatMinimum;const R=$.formatExclusiveMaximum;$.minLength=$.maxLength;$.maxLength=E;$.formatMinimum=$.formatMaximum;$.formatMaximum=N;$.formatExclusiveMaximum=!$.formatExclusiveMinimum;$.formatExclusiveMinimum=!R}if(typeof $.minLength==="number"){if($.minLength===1){j="non-empty string"}else{const E=Math.max($.minLength-1,0);R.push(`should be longer than ${E} character${E>1?"s":""}`)}}if(typeof $.maxLength==="number"){if($.maxLength===0){j="empty string"}else{const E=$.maxLength+1;R.push(`should be shorter than ${E} character${E>1?"s":""}`)}}if($.pattern){R.push(`should${N?"":" not"} match pattern ${JSON.stringify($.pattern)}`)}if($.format){R.push(`should${N?"":" not"} match format ${JSON.stringify($.format)}`)}if($.formatMinimum){R.push(`should be ${$.formatExclusiveMinimum?">":">="} ${JSON.stringify($.formatMinimum)}`)}if($.formatMaximum){R.push(`should be ${$.formatExclusiveMaximum?"<":"<="} ${JSON.stringify($.formatMaximum)}`)}return[j].concat(R)};E.exports.numberHints=function numberHints(E,N){const R=[E.type==="integer"?"integer":"number"];const $=new j;if(typeof E.minimum==="number"){$.left(E.minimum)}if(typeof E.exclusiveMinimum==="number"){$.left(E.exclusiveMinimum,true)}if(typeof E.maximum==="number"){$.right(E.maximum)}if(typeof E.exclusiveMaximum==="number"){$.right(E.exclusiveMaximum,true)}const q=$.format(N);if(q){R.push(q)}if(typeof E.multipleOf==="number"){R.push(`should${N?"":" not"} be multiple of ${E.multipleOf}`)}return R}},18110:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.validate=validate;Object.defineProperty(N,"ValidationError",{enumerable:true,get:function(){return $.default}});var j=_interopRequireDefault(R(77102));var $=_interopRequireDefault(R(24672));function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}const q=R(33866);const G=R(35525);const ie=new q({allErrors:true,verbose:true,$data:true});G(ie,["instanceof","formatMinimum","formatMaximum","patternRequired"]);(0,j.default)(ie);function validate(E,N,R){let j=[];if(Array.isArray(N)){j=Array.from(N,(N=>validateObject(E,N)));j.forEach(((E,N)=>{const applyPrefix=E=>{E.dataPath=`[${N}]${E.dataPath}`;if(E.children){E.children.forEach(applyPrefix)}};E.forEach(applyPrefix)}));j=j.reduce(((E,N)=>{E.push(...N);return E}),[])}else{j=validateObject(E,N)}if(j.length>0){throw new $.default(j,E,R)}}function validateObject(E,N){const R=ie.compile(E);const j=R(N);if(j)return[];return R.errors?filterErrors(R.errors):[]}function filterErrors(E){let N=[];for(const R of E){const{dataPath:E}=R;let j=[];N=N.filter((N=>{if(N.dataPath.includes(E)){if(N.children){j=j.concat(N.children.slice(0))}N.children=undefined;j.push(N);return false}return true}));if(j.length){R.children=j}N.push(R)}return N}},22284:(E,N,R)=>{E=R.nmd(E);var j=R(99596).SourceMapConsumer;var $=R(71017);var q;try{q=R(57147);if(!q.existsSync||!q.readFileSync){q=null}}catch(E){}var G=R(86650);function dynamicRequire(E,N){return E.require(N)}var ie=false;var ae=false;var ce=false;var le="auto";var _e={};var Ee={};var Te=/^data:application\/json[^,]+base64,/;var we=[];var Ie=[];function isInBrowser(){if(le==="browser")return true;if(le==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(E){return function(N){for(var R=0;R"}var R=this.getLineNumber();if(R!=null){N+=":"+R;var j=this.getColumnNumber();if(j){N+=":"+j}}}var $="";var q=this.getFunctionName();var G=true;var ie=this.isConstructor();var ae=!(this.isToplevel()||ie);if(ae){var ce=this.getTypeName();if(ce==="[object Object]"){ce="null"}var le=this.getMethodName();if(q){if(ce&&q.indexOf(ce)!=0){$+=ce+"."}$+=q;if(le&&q.indexOf("."+le)!=q.length-le.length-1){$+=" [as "+le+"]"}}else{$+=ce+"."+(le||"")}}else if(ie){$+="new "+(q||"")}else if(q){$+=q}else{$+=N;G=false}if(G){$+=" ("+N+")"}return $}function cloneCallSite(E){var N={};Object.getOwnPropertyNames(Object.getPrototypeOf(E)).forEach((function(R){N[R]=/^(?:is|get)/.test(R)?function(){return E[R].call(E)}:E[R]}));N.toString=CallSiteToString;return N}function wrapCallSite(E,N){if(N===undefined){N={nextPosition:null,curPosition:null}}if(E.isNative()){N.curPosition=null;return E}var R=E.getFileName()||E.getScriptNameOrSourceURL();if(R){var j=E.getLineNumber();var $=E.getColumnNumber()-1;var q=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var G=q.test(process.version)?0:62;if(j===1&&$>G&&!isInBrowser()&&!E.isEval()){$-=G}var ie=mapSourcePosition({source:R,line:j,column:$});N.curPosition=ie;E=cloneCallSite(E);var ae=E.getFunctionName;E.getFunctionName=function(){if(N.nextPosition==null){return ae()}return N.nextPosition.name||ae()};E.getFileName=function(){return ie.source};E.getLineNumber=function(){return ie.line};E.getColumnNumber=function(){return ie.column+1};E.getScriptNameOrSourceURL=function(){return ie.source};return E}var ce=E.isEval()&&E.getEvalOrigin();if(ce){ce=mapEvalOrigin(ce);E=cloneCallSite(E);E.getEvalOrigin=function(){return ce};return E}return E}function prepareStackTrace(E,N){if(ce){_e={};Ee={}}var R=E.name||"Error";var j=E.message||"";var $=R+": "+j;var q={nextPosition:null,curPosition:null};var G=[];for(var ie=N.length-1;ie>=0;ie--){G.push("\n at "+wrapCallSite(N[ie],q));q.nextPosition=q.curPosition}q.curPosition=q.nextPosition=null;return $+G.reverse().join("")}function getErrorSource(E){var N=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(E.stack);if(N){var R=N[1];var j=+N[2];var $=+N[3];var G=_e[R];if(!G&&q&&q.existsSync(R)){try{G=q.readFileSync(R,"utf8")}catch(E){G=""}}if(G){var ie=G.split(/(?:\r\n|\r|\n)/)[j-1];if(ie){return R+":"+j+"\n"+ie+"\n"+new Array($).join(" ")+"^"}}}return null}function printErrorAndExit(E){var N=getErrorSource(E);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(N){console.error();console.error(N)}console.error(E.stack);process.exit(1)}function shimEmitUncaughtException(){var E=process.emit;process.emit=function(N){if(N==="uncaughtException"){var R=arguments[1]&&arguments[1].stack;var j=this.listeners(N).length>0;if(R&&!j){return printErrorAndExit(arguments[1])}}return E.apply(this,arguments)}}var Le=we.slice(0);var Be=Ie.slice(0);N.wrapCallSite=wrapCallSite;N.getErrorSource=getErrorSource;N.mapSourcePosition=mapSourcePosition;N.retrieveSourceMap=Me;N.install=function(N){N=N||{};if(N.environment){le=N.environment;if(["node","browser","auto"].indexOf(le)===-1){throw new Error("environment "+le+" was unknown. Available options are {auto, browser, node}")}}if(N.retrieveFile){if(N.overrideRetrieveFile){we.length=0}we.unshift(N.retrieveFile)}if(N.retrieveSourceMap){if(N.overrideRetrieveSourceMap){Ie.length=0}Ie.unshift(N.retrieveSourceMap)}if(N.hookRequire&&!isInBrowser()){var R=dynamicRequire(E,"module");var j=R.prototype._compile;if(!j.__sourceMapSupport){R.prototype._compile=function(E,N){_e[N]=E;Ee[N]=undefined;return j.call(this,E,N)};R.prototype._compile.__sourceMapSupport=true}}if(!ce){ce="emptyCacheBetweenOperations"in N?N.emptyCacheBetweenOperations:false}if(!ie){ie=true;Error.prepareStackTrace=prepareStackTrace}if(!ae){var $="handleUncaughtExceptions"in N?N.handleUncaughtExceptions:true;try{var q=dynamicRequire(E,"worker_threads");if(q.isMainThread===false){$=false}}catch(E){}if($&&hasGlobalProcessEventEmitter()){ae=true;shimEmitUncaughtException()}}};N.resetRetrieveHandlers=function(){we.length=0;Ie.length=0;we=Le.slice(0);Ie=Be.slice(0);Me=handlerExec(Ie);Ne=handlerExec(we)}},26837:(E,N,R)=>{var j=R(31983);var $=Object.prototype.hasOwnProperty;var q=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=q?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(E,N){var R=new ArraySet;for(var j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R};ArraySet.prototype.size=function ArraySet_size(){return q?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(E,N){var R=q?E:j.toSetString(E);var G=q?this.has(E):$.call(this._set,R);var ie=this._array.length;if(!G||N){this._array.push(E)}if(!G){if(q){this._set.set(E,ie)}else{this._set[R]=ie}}};ArraySet.prototype.has=function ArraySet_has(E){if(q){return this._set.has(E)}else{var N=j.toSetString(E);return $.call(this._set,N)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(E){if(q){var N=this._set.get(E);if(N>=0){return N}}else{var R=j.toSetString(E);if($.call(this._set,R)){return this._set[R]}}throw new Error('"'+E+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(E){if(E>=0&&E{var j=R(96537);var $=5;var q=1<<$;var G=q-1;var ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){var N=(E&1)===1;var R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){var N="";var R;var q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N};N.decode=function base64VLQ_decode(E,N,R){var q=E.length;var ae=0;var ce=0;var le,_e;do{if(N>=q){throw new Error("Expected more digits in base 64 VLQ value.")}_e=j.decode(E.charCodeAt(N++));if(_e===-1){throw new Error("Invalid base64 digit: "+E.charAt(N-1))}le=!!(_e&ie);_e&=G;ae=ae+(_e<{var R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){var ie=Math.floor((R-E)/2)+E;var ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}else{return ie}}else{if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}else{return E<0?-1:E}}}N.search=function search(E,R,j,$){if(R.length===0){return-1}var q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},91740:(E,N,R)=>{var j=R(31983);function generatedPositionAfter(E,N){var R=E.generatedLine;var $=N.generatedLine;var q=E.generatedColumn;var G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(E,N){this._array.forEach(E,N)};MappingList.prototype.add=function MappingList_add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};N.H=MappingList},68226:(E,N)=>{function swap(E,N,R){var j=E[N];E[N]=E[R];E[R]=j}function randomIntInRange(E,N){return Math.round(E+Math.random()*(N-E))}function doQuickSort(E,N,R,j){if(R{var j;var $=R(31983);var q=R(53164);var G=R(26837).I;var ie=R(4215);var ae=R(68226).U;function SourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}return R.sections!=null?new IndexedSourceMapConsumer(R,N):new BasicSourceMapConsumer(R,N)}SourceMapConsumer.fromSourceMap=function(E,N){return BasicSourceMapConsumer.fromSourceMap(E,N)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(E,N){var R=E.charAt(N);return R===";"||R===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(E,N,R){var j=N||null;var q=R||SourceMapConsumer.GENERATED_ORDER;var G;switch(q){case SourceMapConsumer.GENERATED_ORDER:G=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:G=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var ie=this.sourceRoot;G.map((function(E){var N=E.source===null?null:this._sources.at(E.source);N=$.computeSourceURL(ie,N,this._sourceMapURL);return{source:N,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}}),this).forEach(E,j)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(E){var N=$.getArg(E,"line");var R={source:$.getArg(E,"source"),originalLine:N,originalColumn:$.getArg(E,"column",0)};R.source=this._findSourceIndex(R.source);if(R.source<0){return[]}var j=[];var G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){var ie=this._originalMappings[G];if(E.column===undefined){var ae=ie.originalLine;while(ie&&ie.originalLine===ae){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}else{var ce=ie.originalColumn;while(ie&&ie.originalLine===N&&ie.originalColumn==ce){j.push({line:$.getArg(ie,"generatedLine",null),column:$.getArg(ie,"generatedColumn",null),lastColumn:$.getArg(ie,"lastGeneratedColumn",null)});ie=this._originalMappings[++G]}}}return j};N.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sources");var ie=$.getArg(R,"names",[]);var ae=$.getArg(R,"sourceRoot",null);var ce=$.getArg(R,"sourcesContent",null);var le=$.getArg(R,"mappings");var _e=$.getArg(R,"file",null);if(j!=this._version){throw new Error("Unsupported version: "+j)}if(ae){ae=$.normalize(ae)}q=q.map(String).map($.normalize).map((function(E){return ae&&$.isAbsolute(ae)&&$.isAbsolute(E)?$.relative(ae,E):E}));this._names=G.fromArray(ie.map(String),true);this._sources=G.fromArray(q,true);this._absoluteSources=this._sources.toArray().map((function(E){return $.computeSourceURL(ae,E,N)}));this.sourceRoot=ae;this.sourcesContent=ce;this._mappings=le;this._sourceMapURL=N;this.file=_e}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(E){var N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}var R;for(R=0;R1){Me.source=ce+Be[1];ce+=Be[1];Me.originalLine=q+Be[2];q=Me.originalLine;Me.originalLine+=1;Me.originalColumn=G+Be[3];G=Me.originalColumn;if(Be.length>4){Me.name=le+Be[4];le+=Be[4]}}Ne.push(Me);if(typeof Me.originalLine==="number"){Ie.push(Me)}}}ae(Ne,$.compareByGeneratedPositionsDeflated);this.__generatedMappings=Ne;ae(Ie,$.compareByOriginalPositions);this.__originalMappings=Ie};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(E,N,R,j,$,G){if(E[R]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+E[R])}if(E[j]<0){throw new TypeError("Column must be greater than or equal to 0, got "+E[j])}return q.search(E,N,$,G)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var E=0;E=0){var j=this._generatedMappings[R];if(j.generatedLine===N.generatedLine){var q=$.getArg(j,"source",null);if(q!==null){q=this._sources.at(q);q=$.computeSourceURL(this.sourceRoot,q,this._sourceMapURL)}var G=$.getArg(j,"name",null);if(G!==null){G=this._names.at(G)}return{source:q,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:G}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(E,N){if(!this.sourcesContent){return null}var R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}var j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}var q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){var G=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(G)){return this.sourcesContent[this._sources.indexOf(G)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}else{throw new Error('"'+j+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(E){var N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}var R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};var j=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(j>=0){var q=this._originalMappings[j];if(q.source===R.source){return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:$.getArg(q,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};j=BasicSourceMapConsumer;function IndexedSourceMapConsumer(E,N){var R=E;if(typeof E==="string"){R=$.parseSourceMapInput(E)}var j=$.getArg(R,"version");var q=$.getArg(R,"sections");if(j!=this._version){throw new Error("Unsupported version: "+j)}this._sources=new G;this._names=new G;var ie={line:-1,column:0};this._sections=q.map((function(E){if(E.url){throw new Error("Support for url field in sections not implemented.")}var R=$.getArg(E,"offset");var j=$.getArg(R,"line");var q=$.getArg(R,"column");if(j{var j=R(4215);var $=R(31983);var q=R(26837).I;var G=R(91740).H;function SourceMapGenerator(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(E){var N=E.sourceRoot;var R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){var j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){var q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}var G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(E){var N=$.getArg(E,"generated");var R=$.getArg(E,"original",null);var j=$.getArg(E,"source",null);var q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(E,N){var R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(E,N,R){var j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}var G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}var ie=new q;var ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){var q=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(q.source!=null){N.source=q.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=q.line;N.originalColumn=q.column;if(q.name!=null){N.name=q.name}}}var ce=N.source;if(ce!=null&&!ie.has(ce)){ie.add(ce)}var le=N.name;if(le!=null&&!ae.has(le)){ae.add(le)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){var j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){return}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var E=0;var N=1;var R=0;var q=0;var G=0;var ie=0;var ae="";var ce;var le;var _e;var Ee;var Te=this._mappings.toArray();for(var we=0,Ie=Te.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}var R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};N.SourceMapGenerator=SourceMapGenerator},9990:(E,N,R)=>{var j=R(11341).SourceMapGenerator;var $=R(31983);var q=/(\r?\n)/;var G=10;var ie="$$$isSourceNode$$$";function SourceNode(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(E,N,R){var j=new SourceNode;var G=E.split(q);var ie=0;var shiftNextLine=function(){var E=getNextLine();var N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this};SourceNode.prototype.walk=function SourceNode_walk(E){var N;for(var R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}else{throw new Error('"'+N+'" is a required argument.')}}N.getArg=getArg;var R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var j=/^data:.+\,.+$/;function urlParse(E){var N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){var N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;function normalize(E){var R=E;var j=urlParse(E);if(j){if(!j.path){return E}R=j.path}var $=N.isAbsolute(R);var q=R.split(/\/+/);for(var G,ie=0,ae=q.length-1;ae>=0;ae--){G=q[ae];if(G==="."){q.splice(ae,1)}else if(G===".."){ie++}else if(ie>0){if(G===""){q.splice(ae+1,ie);ie=0}else{q.splice(ae,2);ie--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}N.normalize=normalize;function join(E,N){if(E===""){E="."}if(N===""){N="."}var R=urlParse(N);var $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}var q=N.charAt(0)==="/"?N:normalize(E.replace(/\/+$/,"")+"/"+N);if($){$.path=q;return urlGenerate($)}return q}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");var R=0;while(N.indexOf(E+"/")!==0){var j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;var $=function(){var E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=$?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=$?identity:fromSetString;function isProtoString(E){if(!E){return false}var N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(var R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){var j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){var j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){var R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){var j=urlParse(R);if(!j){throw new Error("sourceMapURL could not be parsed")}if(j.path){var $=j.path.lastIndexOf("/");if($>=0){j.path=j.path.substring(0,$+1)}}N=join(urlGenerate(j),N)}return normalize(N)}N.computeSourceURL=computeSourceURL},99596:(E,N,R)=>{N.SourceMapGenerator=R(11341).SourceMapGenerator;N.SourceMapConsumer=R(86327).SourceMapConsumer;N.SourceNode=R(9990).SourceNode},96204:(E,N,R)=>{"use strict";const j=R(22037);const $=R(76224);const q=R(86811);const{env:G}=process;let ie;if(q("no-color")||q("no-colors")||q("color=false")||q("color=never")){ie=0}else if(q("color")||q("colors")||q("color=true")||q("color=always")){ie=1}if("FORCE_COLOR"in G){if(G.FORCE_COLOR==="true"){ie=1}else if(G.FORCE_COLOR==="false"){ie=0}else{ie=G.FORCE_COLOR.length===0?1:Math.min(parseInt(G.FORCE_COLOR,10),3)}}function translateLevel(E){if(E===0){return false}return{level:E,hasBasic:true,has256:E>=2,has16m:E>=3}}function supportsColor(E,N){if(ie===0){return 0}if(q("color=16m")||q("color=full")||q("color=truecolor")){return 3}if(q("color=256")){return 2}if(E&&!N&&ie===undefined){return 0}const R=ie||0;if(G.TERM==="dumb"){return R}if(process.platform==="win32"){const E=j.release().split(".");if(Number(E[0])>=10&&Number(E[2])>=10586){return Number(E[2])>=14931?3:2}return 1}if("CI"in G){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((E=>E in G))||G.CI_NAME==="codeship"){return 1}return R}if("TEAMCITY_VERSION"in G){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(G.TEAMCITY_VERSION)?1:0}if(G.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in G){const E=parseInt((G.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(G.TERM_PROGRAM){case"iTerm.app":return E>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(G.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(G.TERM)){return 1}if("COLORTERM"in G){return 1}return R}function getSupportLevel(E){const N=supportsColor(E,E&&E.isTTY);return translateLevel(N)}E.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,$.isatty(1))),stderr:translateLevel(supportsColor(true,$.isatty(2)))}},78802:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelBailHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){let j="";j+=`var _results = new Array(${this.options.taps.length});\n`;j+="var _checkDone = function() {\n";j+="for(var i = 0; i < _results.length; i++) {\n";j+="var item = _results[i];\n";j+="if(item === undefined) return false;\n";j+="if(item.result !== undefined) {\n";j+=N("item.result");j+="return true;\n";j+="}\n";j+="if(item.error) {\n";j+=E("item.error");j+="return true;\n";j+="}\n";j+="}\n";j+="return false;\n";j+="}\n";j+=this.callTapsParallel({onError:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && ((_results.length = ${E+1}), (_results[${E}] = { error: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onResult:(E,N,R,j)=>{let $="";$+=`if(${E} < _results.length && (${N} !== undefined && (_results.length = ${E+1}), (_results[${E}] = { result: ${N} }), _checkDone())) {\n`;$+=j(true);$+="} else {\n";$+=R();$+="}\n";return $},onTap:(E,N,R,j)=>{let $="";if(E>0){$+=`if(${E} >= _results.length) {\n`;$+=R();$+="} else {\n"}$+=N();if(E>0)$+="}\n";return $},onDone:R});return j}}const q=new AsyncParallelBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelBailHook.prototype=null;E.exports=AsyncParallelBailHook},3350:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncParallelHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsParallel({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncParallelHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncParallelHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncParallelHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncParallelHook.prototype=null;E.exports=AsyncParallelHook},4953:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)}\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesBailHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesBailHook.prototype=null;E.exports=AsyncSeriesBailHook},68152:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesHook.prototype=null;E.exports=AsyncSeriesHook},25810:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesLoopHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsLooping({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesLoopHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=AsyncSeriesLoopHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesLoopHook.prototype=null;E.exports=AsyncSeriesLoopHook},66760:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class AsyncSeriesWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,onDone:R}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0])})}}const q=new AsyncSeriesWaterfallHookCodeFactory;const COMPILE=function(E){q.setup(this,E);return q.create(E)};function AsyncSeriesWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=AsyncSeriesWaterfallHook;R.compile=COMPILE;R._call=undefined;R.call=undefined;return R}AsyncSeriesWaterfallHook.prototype=null;E.exports=AsyncSeriesWaterfallHook},67332:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate((()=>{}),"Hook.context is deprecated and will be removed");const CALL_DELEGATE=function(...E){this.call=this._createCall("sync");return this.call(...E)};const CALL_ASYNC_DELEGATE=function(...E){this.callAsync=this._createCall("async");return this.callAsync(...E)};const PROMISE_DELEGATE=function(...E){this.promise=this._createCall("promise");return this.promise(...E)};class Hook{constructor(E=[],N=undefined){this._args=E;this.name=N;this.taps=[];this.interceptors=[];this._call=CALL_DELEGATE;this.call=CALL_DELEGATE;this._callAsync=CALL_ASYNC_DELEGATE;this.callAsync=CALL_ASYNC_DELEGATE;this._promise=PROMISE_DELEGATE;this.promise=PROMISE_DELEGATE;this._x=undefined;this.compile=this.compile;this.tap=this.tap;this.tapAsync=this.tapAsync;this.tapPromise=this.tapPromise}compile(E){throw new Error("Abstract: should be overridden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}_tap(E,N,R){if(typeof N==="string"){N={name:N.trim()}}else if(typeof N!=="object"||N===null){throw new Error("Invalid tap options")}if(typeof N.name!=="string"||N.name===""){throw new Error("Missing name for tap")}if(typeof N.context!=="undefined"){$()}N=Object.assign({type:E,fn:R},N);N=this._runRegisterInterceptors(N);this._insert(N)}tap(E,N){this._tap("sync",E,N)}tapAsync(E,N){this._tap("async",E,N)}tapPromise(E,N){this._tap("promise",E,N)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined){E=R}}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);return{name:this.name,tap:(E,N)=>this.tap(mergeOptions(E),N),tapAsync:(E,N)=>this.tapAsync(mergeOptions(E),N),tapPromise:(E,N)=>this.tapPromise(mergeOptions(E),N),intercept:E=>this.intercept(E),isUsed:()=>this.isUsed(),withOptions:E=>this.withOptions(mergeOptions(E))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}Object.setPrototypeOf(Hook.prototype,null);E.exports=Hook},91165:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.contentWithInterceptors({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.contentWithInterceptors({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+=this.header();j+="return new Promise((function(_resolve, _reject) {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then((function() { throw _err; })));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=R;if(E){j+="_sync = false;\n"}j+="}));\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}contentWithInterceptors(E){if(this.options.interceptors.length>0){const N=E.onError;const R=E.onResult;const j=E.onDone;let $="";for(let E=0;E{let R="";for(let N=0;N{let N="";for(let R=0;R{let E="";for(let N=0;N0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}return E}needContext(){for(const E of this.options.taps)if(E.context)return true;return false}callTap(E,{onError:N,onResult:R,onDone:j,rethrowIfPossible:$}){let q="";let G=false;for(let N=0;NE.type!=="sync"));const ie=R||$;let ae="";let ce=j;let le=0;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const _e=ce!==j&&(this.options.taps[$].type!=="sync"||le++>20);if(_e){le=0;ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const Ee=ce;const doneBreak=E=>{if(E)return"";return j()};const Te=this.callTap($,{onError:N=>E($,N,Ee,doneBreak),onResult:N&&(E=>N($,E,Ee,doneBreak)),onDone:!N&&Ee,rethrowIfPossible:q&&(G<0||$Te}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = (function() {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="});\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = (function() {\n";q+=R();q+="});\n"}for(let G=0;G{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},28636:(E,N,R)=>{"use strict";const j=R(73837);const defaultFactory=(E,N)=>N;class HookMap{constructor(E,N=undefined){this._map=new Map;this.name=N;this._factory=E;this._interceptors=[]}get(E){return this._map.get(E)}for(E){const N=this.get(E);if(N!==undefined){return N}let R=this._factory(E);const j=this._interceptors;for(let N=0;N{"use strict";const j=R(67332);class MultiHook{constructor(E,N=undefined){this.hooks=E;this.name=N}tap(E,N){for(const R of this.hooks){R.tap(E,N)}}tapAsync(E,N){for(const R of this.hooks){R.tapAsync(E,N)}}tapPromise(E,N){for(const R of this.hooks){R.tapPromise(E,N)}}isUsed(){for(const E of this.hooks){if(E.isUsed())return true}return false}intercept(E){for(const N of this.hooks){N.intercept(E)}}withOptions(E){return new MultiHook(this.hooks.map((N=>N.withOptions(E))),this.name)}}E.exports=MultiHook},3334:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncBailHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncBailHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncBailHook.prototype=null;E.exports=SyncBailHook},6728:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncHook.prototype=null;E.exports=SyncHook},52332:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncLoopHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsLooping({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncLoopHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncLoopHook(E=[],N=undefined){const R=new j(E,N);R.constructor=SyncLoopHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncLoopHook.prototype=null;E.exports=SyncLoopHook},81934:(E,N,R)=>{"use strict";const j=R(67332);const $=R(91165);class SyncWaterfallHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,rethrowIfPossible:j}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,N,R)=>{let j="";j+=`if(${N} !== undefined) {\n`;j+=`${this._args[0]} = ${N};\n`;j+=`}\n`;j+=R();return j},onDone:()=>N(this._args[0]),doneReturns:R,rethrowIfPossible:j})}}const q=new SyncWaterfallHookCodeFactory;const TAP_ASYNC=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")};const TAP_PROMISE=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")};const COMPILE=function(E){q.setup(this,E);return q.create(E)};function SyncWaterfallHook(E=[],N=undefined){if(E.length<1)throw new Error("Waterfall hooks must have at least one argument");const R=new j(E,N);R.constructor=SyncWaterfallHook;R.tapAsync=TAP_ASYNC;R.tapPromise=TAP_PROMISE;R.compile=COMPILE;return R}SyncWaterfallHook.prototype=null;E.exports=SyncWaterfallHook},92960:(E,N,R)=>{"use strict";N.__esModule=true;N.SyncHook=R(6728);N.SyncBailHook=R(3334);N.SyncWaterfallHook=R(81934);N.SyncLoopHook=R(52332);N.AsyncParallelHook=R(3350);N.AsyncParallelBailHook=R(78802);N.AsyncSeriesHook=R(68152);N.AsyncSeriesBailHook=R(4953);N.AsyncSeriesLoopHook=R(25810);N.AsyncSeriesWaterfallHook=R(66760);N.HookMap=R(28636);N.MultiHook=R(20937)},96013:(E,N,R)=>{"use strict";const j=R(98225);E.exports=j.default},98225:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N["default"]=void 0;var j=_interopRequireWildcard(R(71017));var $=_interopRequireWildcard(R(22037));var q=R(99596);var G=R(15235);var ie=_interopRequireDefault(R(35764));var ae=_interopRequireWildcard(R(54703));var ce=_interopRequireDefault(R(97909));var le=R(69419);var _e=_interopRequireWildcard(R(11519));var Ee=R(6218);function _interopRequireDefault(E){return E&&E.__esModule?E:{default:E}}function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}class TerserPlugin{constructor(E={}){(0,G.validate)(_e,E,{name:"Terser Plugin",baseDataPath:"options"});const{minify:N,terserOptions:R={},test:j=/\.[cm]?js(\?.*)?$/i,extractComments:$=true,parallel:q=true,include:ie,exclude:ae}=E;this.options={test:j,extractComments:$,parallel:q,include:ie,exclude:ae,minify:N,terserOptions:R}}static isSourceMap(E){return Boolean(E&&E.version&&E.sources&&Array.isArray(E.sources)&&typeof E.mappings==="string")}static buildError(E,N,R,j){if(E.line){const $=j&&j.originalPositionFor({line:E.line,column:E.col});if($&&$.source&&R){return new Error(`${N} from Terser\n${E.message} [${R.shorten($.source)}:${$.line},${$.column}][${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}return new Error(`${N} from Terser\n${E.message} [${N}:${E.line},${E.col}]${E.stack?`\n${E.stack.split("\n").slice(1).join("\n")}`:""}`)}if(E.stack){return new Error(`${N} from Terser\n${E.stack}`)}return new Error(`${N} from Terser\n${E.message}`)}static getAvailableNumberOfCores(E){const N=$.cpus()||{length:1};return E===true?N.length-1:Math.min(Number(E)||0,N.length-1)}async optimize(E,N,$,G){const ae=N.getCache("TerserWebpackPlugin");let _e=0;const Te=await Promise.all(Object.keys($).filter((R=>{const{info:j}=N.getAsset(R);if(j.minimized||j.extractedComments){return false}if(!E.webpack.ModuleFilenameHelpers.matchObject.bind(undefined,this.options)(R)){return false}return true})).map((async E=>{const{info:R,source:j}=N.getAsset(E);const $=ae.getLazyHashedEtag(j);const q=ae.getItemCache(E,$);const G=await q.getPromise();if(!G){_e+=1}return{name:E,info:R,inputSource:j,output:G,cacheItem:q}})));let we;let Ie;let Ne;if(G.availableNumberOfCores>0){Ne=Math.min(_e,G.availableNumberOfCores);we=()=>{if(Ie){return Ie}Ie=new le.Worker(R.ab+"minify.js",{numWorkers:Ne,enableWorkerThreads:true});const E=Ie.getStdout();if(E){E.on("data",(E=>process.stdout.write(E)))}const N=Ie.getStderr();if(N){N.on("data",(E=>process.stderr.write(E)))}return Ie}}const Me=(0,ce.default)(we&&_e>0?Ne:Infinity);const{SourceMapSource:Le,ConcatSource:Be,RawSource:je}=E.webpack.sources;const Ue=new Map;const ze=[];for(const E of Te){ze.push(Me((async()=>{const{name:R,inputSource:$,info:G,cacheItem:ae}=E;let{output:ce}=E;if(!ce){let E;let le;const{source:_e,map:Te}=$.sourceAndMap();E=_e;if(Te){if(TerserPlugin.isSourceMap(Te)){le=Te}else{le=Te;N.warnings.push(new Error(`${R} contains invalid source map`))}}if(Buffer.isBuffer(E)){E=E.toString()}const Ie={name:R,input:E,inputSourceMap:le,minify:this.options.minify,minifyOptions:{...this.options.terserOptions},extractComments:this.options.extractComments};if(typeof Ie.minifyOptions.module==="undefined"){if(typeof G.javascriptModule!=="undefined"){Ie.minifyOptions.module=G.javascriptModule}else if(/\.mjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=true}else if(/\.cjs(\?.*)?$/i.test(R)){Ie.minifyOptions.module=false}}try{ce=await(we?we().transform((0,ie.default)(Ie)):(0,Ee.minify)(Ie))}catch(E){const j=le&&TerserPlugin.isSourceMap(le);N.errors.push(TerserPlugin.buildError(E,R,j?N.requestShortener:undefined,j?new q.SourceMapConsumer(le):undefined));return}let Ne;if(this.options.extractComments.banner!==false&&ce.extractedComments&&ce.extractedComments.length>0&&ce.code.startsWith("#!")){const E=ce.code.indexOf("\n");Ne=ce.code.substring(0,E);ce.code=ce.code.substring(E+1)}if(ce.map){ce.source=new Le(ce.code,R,ce.map,E,le,true)}else{ce.source=new je(ce.code)}if(ce.extractedComments&&ce.extractedComments.length>0){const E=this.options.extractComments.filename||"[file].LICENSE.txt[query]";let $="";let q=R;const G=q.indexOf("?");if(G>=0){$=q.substr(G);q=q.substr(0,G)}const ie=q.lastIndexOf("/");const ae=ie===-1?q:q.substr(ie+1);const le={filename:q,basename:ae,query:$};ce.commentsFilename=N.getPath(E,le);let _e;if(this.options.extractComments.banner!==false){_e=this.options.extractComments.banner||`For license information please see ${j.relative(j.dirname(R),ce.commentsFilename).replace(/\\/g,"/")}`;if(typeof _e==="function"){_e=_e(ce.commentsFilename)}if(_e){ce.source=new Be(Ne?`${Ne}\n`:"",`/*! ${_e} */\n`,ce.source)}}const Ee=ce.extractedComments.sort().join("\n\n");ce.extractedCommentsSource=new je(`${Ee}\n`)}await ae.storePromise({source:ce.source,commentsFilename:ce.commentsFilename,extractedCommentsSource:ce.extractedCommentsSource})}const le={minimized:true};const{source:_e,extractedCommentsSource:Te}=ce;if(Te){const{commentsFilename:E}=ce;le.related={license:E};Ue.set(R,{extractedCommentsSource:Te,commentsFilename:E})}N.updateAsset(R,_e,le)})))}await Promise.all(ze);if(Ie){await Ie.end()}await Array.from(Ue).sort().reduce((async(E,[R,j])=>{const $=await E;const{commentsFilename:q,extractedCommentsSource:G}=j;if($&&$.commentsFilename===q){const{from:E,source:j}=$;const ie=`${E}|${R}`;const ce=`${q}|${ie}`;const le=[j,G].map((E=>ae.getLazyHashedEtag(E))).reduce(((E,N)=>ae.mergeEtags(E,N)));let _e=await ae.getPromise(ce,le);if(!_e){_e=new Be(Array.from(new Set([...j.source().split("\n\n"),...G.source().split("\n\n")])).join("\n\n"));await ae.storePromise(ce,le,_e)}N.updateAsset(q,_e);return{source:_e,commentsFilename:q,from:ie}}const ie=N.getAsset(q);if(ie){return{source:ie.source,commentsFilename:q,from:q}}N.emitAsset(q,G,{extractedComments:true});return{source:G,commentsFilename:q,from:R}}),Promise.resolve())}static getEcmaVersion(E){if(E.arrowFunction||E.const||E.destructuring||E.forOf||E.module){return 2015}if(E.bigIntLiteral||E.dynamicImport){return 2020}return 5}apply(E){const{output:N}=E.options;if(typeof this.options.terserOptions.ecma==="undefined"){this.options.terserOptions.ecma=TerserPlugin.getEcmaVersion(N.environment||{})}const R=this.constructor.name;const j=TerserPlugin.getAvailableNumberOfCores(this.options.parallel);E.hooks.compilation.tap(R,(N=>{const $=E.webpack.javascript.JavascriptModulesPlugin.getCompilationHooks(N);const q=(0,ie.default)({terser:ae.version,terserOptions:this.options.terserOptions});$.chunkHash.tap(R,((E,N)=>{N.update("TerserPlugin");N.update(q)}));N.hooks.processAssets.tapPromise({name:R,stage:E.webpack.Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE,additionalAssets:true},(R=>this.optimize(E,N,R,{availableNumberOfCores:j})));N.hooks.statsPrinter.tap(R,(E=>{E.hooks.print.for("asset.info.minimized").tap("terser-webpack-plugin",((E,{green:N,formatFlag:R})=>E?N(R("minimized")):""))}))}))}}var Te=TerserPlugin;N["default"]=Te},6218:(E,N,R)=>{"use strict";E=R.nmd(E);const{minify:j}=R(44858);function buildTerserOptions(E={}){return{...E,compress:typeof E.compress==="boolean"?E.compress:{...E.compress},mangle:E.mangle==null?true:typeof E.mangle==="boolean"?E.mangle:{...E.mangle},...E.format?{format:{beautify:false,...E.format}}:{output:{beautify:false,...E.output}},parse:{...E.parse},sourceMap:undefined}}function isObject(E){const N=typeof E;return E!=null&&(N==="object"||N==="function")}function buildComments(E,N,R){const j={};let $;if(N.format){({comments:$}=N.format)}else if(N.output){({comments:$}=N.output)}j.preserve=typeof $!=="undefined"?$:false;if(typeof E==="boolean"&&E){j.extract="some"}else if(typeof E==="string"||E instanceof RegExp){j.extract=E}else if(typeof E==="function"){j.extract=E}else if(E&&isObject(E)){j.extract=typeof E.condition==="boolean"&&E.condition?"some":typeof E.condition!=="undefined"?E.condition:"some"}else{j.preserve=typeof $!=="undefined"?$:"some";j.extract=false}["preserve","extract"].forEach((E=>{let N;let R;switch(typeof j[E]){case"boolean":j[E]=j[E]?()=>true:()=>false;break;case"function":break;case"string":if(j[E]==="all"){j[E]=()=>true;break}if(j[E]==="some"){j[E]=(E,N)=>(N.type==="comment2"||N.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(N.value);break}N=j[E];j[E]=(E,R)=>new RegExp(N).test(R.value);break;default:R=j[E];j[E]=(E,N)=>R.test(N.value)}}));return(E,N)=>{if(j.extract(E,N)){const E=N.type==="comment2"?`/*${N.value}*/`:`//${N.value}`;if(!R.includes(E)){R.push(E)}}return j.preserve(E,N)}}async function minify(E){const{name:N,input:R,inputSourceMap:$,minify:q,minifyOptions:G}=E;if(q){return q({[N]:R},$,G)}const ie=buildTerserOptions(G);if($){ie.sourceMap={asObject:true}}const ae=[];const{extractComments:ce}=E;if(ie.output){ie.output.comments=buildComments(ce,ie,ae)}else if(ie.format){ie.format.comments=buildComments(ce,ie,ae)}const le=await j({[N]:R},ie);return{...le,extractedComments:ae}}function transform(R){const j=new Function("exports","require","module","__filename","__dirname",`'use strict'\nreturn ${R}`)(N,require,E,__filename,__dirname);return minify(j)}E.exports.minify=minify;E.exports.transform=transform},97909:(E,N,R)=>{"use strict";const j=R(74395);const pLimit=E=>{if(!((Number.isInteger(E)||E===Infinity)&&E>0)){throw new TypeError("Expected `concurrency` to be a number from 1 and up")}const N=new j;let R=0;const next=()=>{R--;if(N.size>0){N.dequeue()()}};const run=async(E,N,...j)=>{R++;const $=(async()=>E(...j))();N($);try{await $}catch{}next()};const enqueue=(j,$,...q)=>{N.enqueue(run.bind(null,j,$,...q));(async()=>{await Promise.resolve();if(R0){N.dequeue()()}})()};const generator=(E,...N)=>new Promise((R=>{enqueue(E,R,...N)}));Object.defineProperties(generator,{activeCount:{get:()=>R},pendingCount:{get:()=>N.size},clearQueue:{value:()=>{N.clear()}}});return generator};E.exports=pLimit},35764:(E,N,R)=>{"use strict";var j=R(31998);var $=16;var q=generateUID();var G=new RegExp('(\\\\)?"@__(F|R|D|M|S|A|U|I|B|L)-'+q+'-(\\d+)__@"',"g");var ie=/\{\s*\[native code\]\s*\}/g;var ae=/function.*?\(/;var ce=/.*?=>.*?/;var le=/[<>\/\u2028\u2029]/g;var _e=["*","async"];var Ee={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function escapeUnsafeChars(E){return Ee[E]}function generateUID(){var E=j($);var N="";for(var R=0;R<$;++R){N+=E[R].toString(16)}return N}function deleteFunctions(E){var N=[];for(var R in E){if(typeof E[R]==="function"){N.push(R)}}for(var j=0;j0}));var $=j.filter((function(E){return _e.indexOf(E)===-1}));if($.length>0){return(j.indexOf("async")>-1?"async ":"")+"function"+(j.join("").indexOf("*")>-1?"*":"")+N.substr(R)}return N}if(N.ignoreFunction&&typeof E==="function"){E=undefined}if(E===undefined){return String(E)}var Be;if(N.isJSON&&!N.space){Be=JSON.stringify(E)}else{Be=JSON.stringify(E,N.isJSON?null:replacer,N.space)}if(typeof Be!=="string"){return String(Be)}if(N.unsafe!==true){Be=Be.replace(le,escapeUnsafeChars)}if(R.length===0&&j.length===0&&$.length===0&&Ee.length===0&&Te.length===0&&we.length===0&&Ie.length===0&&Ne.length===0&&Me.length===0&&Le.length===0){return Be}return Be.replace(G,(function(E,q,G,ie){if(q){return E}if(G==="D"){return'new Date("'+$[ie].toISOString()+'")'}if(G==="R"){return"new RegExp("+serialize(j[ie].source)+', "'+j[ie].flags+'")'}if(G==="M"){return"new Map("+serialize(Array.from(Ee[ie].entries()),N)+")"}if(G==="S"){return"new Set("+serialize(Array.from(Te[ie].values()),N)+")"}if(G==="A"){return"Array.prototype.slice.call("+serialize(Object.assign({length:we[ie].length},we[ie]),N)+")"}if(G==="U"){return"undefined"}if(G==="I"){return Ne[ie]}if(G==="B"){return'BigInt("'+Me[ie]+'")'}if(G==="L"){return'new URL("'+Le[ie].toString()+'")'}var ae=R[ie];return serializeFunc(ae)}))}},85431:(E,N)=>{class ArraySet{constructor(){this._array=[];this._set=new Map}static fromArray(E,N){const R=new ArraySet;for(let j=0,$=E.length;j<$;j++){R.add(E[j],N)}return R}size(){return this._set.size}add(E,N){const R=this.has(E);const j=this._array.length;if(!R||N){this._array.push(E)}if(!R){this._set.set(E,j)}}has(E){return this._set.has(E)}indexOf(E){const N=this._set.get(E);if(N>=0){return N}throw new Error('"'+E+'" is not in the set.')}at(E){if(E>=0&&E{const j=R(45210);const $=5;const q=1<<$;const G=q-1;const ie=q;function toVLQSigned(E){return E<0?(-E<<1)+1:(E<<1)+0}function fromVLQSigned(E){const N=(E&1)===1;const R=E>>1;return N?-R:R}N.encode=function base64VLQ_encode(E){let N="";let R;let q=toVLQSigned(E);do{R=q&G;q>>>=$;if(q>0){R|=ie}N+=j.encode(R)}while(q>0);return N}},45210:(E,N)=>{const R="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");N.encode=function(E){if(0<=E&&E{N.GREATEST_LOWER_BOUND=1;N.LEAST_UPPER_BOUND=2;function recursiveSearch(E,R,j,$,q,G){const ie=Math.floor((R-E)/2)+E;const ae=q(j,$[ie],true);if(ae===0){return ie}else if(ae>0){if(R-ie>1){return recursiveSearch(ie,R,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return R<$.length?R:-1}return ie}if(ie-E>1){return recursiveSearch(E,ie,j,$,q,G)}if(G==N.LEAST_UPPER_BOUND){return ie}return E<0?-1:E}N.search=function search(E,R,j,$){if(R.length===0){return-1}let q=recursiveSearch(-1,R.length,E,R,j,$||N.GREATEST_LOWER_BOUND);if(q<0){return-1}while(q-1>=0){if(j(R[q],R[q-1],true)!==0){break}--q}return q}},48935:(E,N,R)=>{const j=R(53033);function generatedPositionAfter(E,N){const R=E.generatedLine;const $=N.generatedLine;const q=E.generatedColumn;const G=N.generatedColumn;return $>R||$==R&&G>=q||j.compareByGeneratedPositionsInflated(E,N)<=0}class MappingList{constructor(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}unsortedForEach(E,N){this._array.forEach(E,N)}add(E){if(generatedPositionAfter(this._last,E)){this._last=E;this._array.push(E)}else{this._sorted=false;this._array.push(E)}}toArray(){if(!this._sorted){this._array.sort(j.compareByGeneratedPositionsInflated);this._sorted=true}return this._array}}N.H=MappingList},92256:(E,N,R)=>{if(typeof fetch==="function"){let N=null;E.exports=function readWasm(){if(typeof N!=="string"){throw new Error("You must provide the URL of lib/mappings.wasm by calling "+"SourceMapConsumer.initialize({ 'lib/mappings.wasm': ... }) "+"before using SourceMapConsumer")}return fetch(N).then((E=>E.arrayBuffer()))};E.exports.initialize=E=>N=E}else{const N=R(57147);const j=R(71017);E.exports=function readWasm(){return new Promise(((E,j)=>{const $=R.ab+"mappings.wasm";N.readFile(R.ab+"mappings.wasm",null,((N,R)=>{if(N){j(N);return}E(R.buffer)}))}))};E.exports.initialize=E=>{console.debug("SourceMapConsumer.initialize is a no-op when running in node.js")}}},47532:(E,N,R)=>{var j;const $=R(53033);const q=R(31850);const G=R(85431).I;const ie=R(2635);const ae=R(92256);const ce=R(7059);const le=Symbol("smcInternal");class SourceMapConsumer{constructor(E,N){if(E==le){return Promise.resolve(this)}return _factory(E,N)}static initialize(E){ae.initialize(E["lib/mappings.wasm"])}static fromSourceMap(E,N){return _factoryBSM(E,N)}static with(E,N,R){let j=null;const $=new SourceMapConsumer(E,N);return $.then((E=>{j=E;return R(E)})).then((E=>{if(j){j.destroy()}return E}),(E=>{if(j){j.destroy()}throw E}))}_parseMappings(E,N){throw new Error("Subclasses must implement _parseMappings")}eachMapping(E,N,R){throw new Error("Subclasses must implement eachMapping")}allGeneratedPositionsFor(E){throw new Error("Subclasses must implement allGeneratedPositionsFor")}destroy(){throw new Error("Subclasses must implement destroy")}}SourceMapConsumer.prototype._version=3;SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;N.SourceMapConsumer=SourceMapConsumer;class BasicSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");let ie=$.getArg(j,"sources");const ae=$.getArg(j,"names",[]);let le=$.getArg(j,"sourceRoot",null);const _e=$.getArg(j,"sourcesContent",null);const Ee=$.getArg(j,"mappings");const Te=$.getArg(j,"file",null);if(q!=R._version){throw new Error("Unsupported version: "+q)}if(le){le=$.normalize(le)}ie=ie.map(String).map($.normalize).map((function(E){return le&&$.isAbsolute(le)&&$.isAbsolute(E)?$.relative(le,E):E}));R._names=G.fromArray(ae.map(String),true);R._sources=G.fromArray(ie,true);R._absoluteSources=R._sources.toArray().map((function(E){return $.computeSourceURL(le,E,N)}));R.sourceRoot=le;R.sourcesContent=_e;R._mappings=Ee;R._sourceMapURL=N;R.file=Te;R._computedColumnSpans=false;R._mappingsPtr=0;R._wasm=null;return ce().then((E=>{R._wasm=E;return R}))}))}_findSourceIndex(E){let N=E;if(this.sourceRoot!=null){N=$.relative(this.sourceRoot,N)}if(this._sources.has(N)){return this._sources.indexOf(N)}for(let N=0;N{if(N.source!==null){N.source=this._sources.at(N.source);N.source=$.computeSourceURL(G,N.source,this._sourceMapURL);if(N.name!==null){N.name=this._names.at(N.name)}}E.call(j,N)}),(()=>{switch(q){case SourceMapConsumer.GENERATED_ORDER:this._wasm.exports.by_generated_location(this._getMappingsPtr());break;case SourceMapConsumer.ORIGINAL_ORDER:this._wasm.exports.by_original_location(this._getMappingsPtr());break;default:throw new Error("Unknown order of iteration.")}}))}allGeneratedPositionsFor(E){let N=$.getArg(E,"source");const R=$.getArg(E,"line");const j=E.column||0;N=this._findSourceIndex(N);if(N<0){return[]}if(R<1){throw new Error("Line numbers must be >= 1")}if(j<0){throw new Error("Column numbers must be >= 0")}const q=[];this._wasm.withMappingCallback((E=>{let N=E.lastGeneratedColumn;if(this._computedColumnSpans&&N===null){N=Infinity}q.push({line:E.generatedLine,column:E.generatedColumn,lastColumn:N})}),(()=>{this._wasm.exports.all_generated_locations_for(this._getMappingsPtr(),N,R-1,"column"in E,j)}));return q}destroy(){if(this._mappingsPtr!==0){this._wasm.exports.free_mappings(this._mappingsPtr);this._mappingsPtr=0}}computeColumnSpans(){if(this._computedColumnSpans){return}this._wasm.exports.compute_column_spans(this._getMappingsPtr());this._computedColumnSpans=true}originalPositionFor(E){const N={generatedLine:$.getArg(E,"line"),generatedColumn:$.getArg(E,"column")};if(N.generatedLine<1){throw new Error("Line numbers must be >= 1")}if(N.generatedColumn<0){throw new Error("Column numbers must be >= 0")}let R=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(R==null){R=SourceMapConsumer.GREATEST_LOWER_BOUND}let j;this._wasm.withMappingCallback((E=>j=E),(()=>{this._wasm.exports.original_location_for(this._getMappingsPtr(),N.generatedLine-1,N.generatedColumn,R)}));if(j){if(j.generatedLine===N.generatedLine){let E=$.getArg(j,"source",null);if(E!==null){E=this._sources.at(E);E=$.computeSourceURL(this.sourceRoot,E,this._sourceMapURL)}let N=$.getArg(j,"name",null);if(N!==null){N=this._names.at(N)}return{source:E,line:$.getArg(j,"originalLine",null),column:$.getArg(j,"originalColumn",null),name:N}}}return{source:null,line:null,column:null,name:null}}hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(E){return E==null}))}sourceContentFor(E,N){if(!this.sourcesContent){return null}const R=this._findSourceIndex(E);if(R>=0){return this.sourcesContent[R]}let j=E;if(this.sourceRoot!=null){j=$.relative(this.sourceRoot,j)}let q;if(this.sourceRoot!=null&&(q=$.urlParse(this.sourceRoot))){const E=j.replace(/^file:\/\//,"");if(q.scheme=="file"&&this._sources.has(E)){return this.sourcesContent[this._sources.indexOf(E)]}if((!q.path||q.path=="/")&&this._sources.has("/"+j)){return this.sourcesContent[this._sources.indexOf("/"+j)]}}if(N){return null}throw new Error('"'+j+'" is not in the SourceMap.')}generatedPositionFor(E){let N=$.getArg(E,"source");N=this._findSourceIndex(N);if(N<0){return{line:null,column:null,lastColumn:null}}const R={source:N,originalLine:$.getArg(E,"line"),originalColumn:$.getArg(E,"column")};if(R.originalLine<1){throw new Error("Line numbers must be >= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}let j=$.getArg(E,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND);if(j==null){j=SourceMapConsumer.GREATEST_LOWER_BOUND}let q;this._wasm.withMappingCallback((E=>q=E),(()=>{this._wasm.exports.generated_location_for(this._getMappingsPtr(),R.source,R.originalLine-1,R.originalColumn,j)}));if(q){if(q.source===R.source){let E=q.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}return{line:$.getArg(q,"generatedLine",null),column:$.getArg(q,"generatedColumn",null),lastColumn:E}}}return{line:null,column:null,lastColumn:null}}}BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;j=BasicSourceMapConsumer;class IndexedSourceMapConsumer extends SourceMapConsumer{constructor(E,N){return super(le).then((R=>{let j=E;if(typeof E==="string"){j=$.parseSourceMapInput(E)}const q=$.getArg(j,"version");const ie=$.getArg(j,"sections");if(q!=R._version){throw new Error("Unsupported version: "+q)}R._sources=new G;R._names=new G;R.__generatedMappings=null;R.__originalMappings=null;R.__generatedMappingsUnsorted=null;R.__originalMappingsUnsorted=null;let ae={line:-1,column:0};return Promise.all(ie.map((E=>{if(E.url){throw new Error("Support for url field in sections not implemented.")}const R=$.getArg(E,"offset");const j=$.getArg(R,"line");const q=$.getArg(R,"column");if(j({generatedOffset:{generatedLine:j+1,generatedColumn:q+1},consumer:E})))}))).then((E=>{R._sections=E;return R}))}))}get _generatedMappings(){if(!this.__generatedMappings){this._sortGeneratedMappings()}return this.__generatedMappings}get _originalMappings(){if(!this.__originalMappings){this._sortOriginalMappings()}return this.__originalMappings}get _generatedMappingsUnsorted(){if(!this.__generatedMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappingsUnsorted}get _originalMappingsUnsorted(){if(!this.__originalMappingsUnsorted){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappingsUnsorted}_sortGeneratedMappings(){const E=this._generatedMappingsUnsorted;E.sort($.compareByGeneratedPositionsDeflated);this.__generatedMappings=E}_sortOriginalMappings(){const E=this._originalMappingsUnsorted;E.sort($.compareByOriginalPositions);this.__originalMappings=E}get sources(){const E=[];for(let N=0;Nq.push(E)));for(let E=0;E= 1")}if(R.originalColumn<0){throw new Error("Column numbers must be >= 0")}const j=[];let G=this._findMapping(R,this._originalMappings,"originalLine","originalColumn",$.compareByOriginalPositions,q.LEAST_UPPER_BOUND);if(G>=0){let R=this._originalMappings[G];if(E.column===undefined){const E=R.originalLine;while(R&&R.originalLine===E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}else{const E=R.originalColumn;while(R&&R.originalLine===N&&R.originalColumn==E){let E=R.lastGeneratedColumn;if(this._computedColumnSpans&&E===null){E=Infinity}j.push({line:$.getArg(R,"generatedLine",null),column:$.getArg(R,"generatedColumn",null),lastColumn:E});R=this._originalMappings[++G]}}}return j}destroy(){for(let E=0;E{const j=R(2635);const $=R(53033);const q=R(85431).I;const G=R(48935).H;class SourceMapGenerator{constructor(E){if(!E){E={}}this._file=$.getArg(E,"file",null);this._sourceRoot=$.getArg(E,"sourceRoot",null);this._skipValidation=$.getArg(E,"skipValidation",false);this._sources=new q;this._names=new q;this._mappings=new G;this._sourcesContents=null}static fromSourceMap(E){const N=E.sourceRoot;const R=new SourceMapGenerator({file:E.file,sourceRoot:N});E.eachMapping((function(E){const j={generated:{line:E.generatedLine,column:E.generatedColumn}};if(E.source!=null){j.source=E.source;if(N!=null){j.source=$.relative(N,j.source)}j.original={line:E.originalLine,column:E.originalColumn};if(E.name!=null){j.name=E.name}}R.addMapping(j)}));E.sources.forEach((function(j){let q=j;if(N!==null){q=$.relative(N,j)}if(!R._sources.has(q)){R._sources.add(q)}const G=E.sourceContentFor(j);if(G!=null){R.setSourceContent(j,G)}}));return R}addMapping(E){const N=$.getArg(E,"generated");const R=$.getArg(E,"original",null);let j=$.getArg(E,"source",null);let q=$.getArg(E,"name",null);if(!this._skipValidation){this._validateMapping(N,R,j,q)}if(j!=null){j=String(j);if(!this._sources.has(j)){this._sources.add(j)}}if(q!=null){q=String(q);if(!this._names.has(q)){this._names.add(q)}}this._mappings.add({generatedLine:N.line,generatedColumn:N.column,originalLine:R!=null&&R.line,originalColumn:R!=null&&R.column,source:j,name:q})}setSourceContent(E,N){let R=E;if(this._sourceRoot!=null){R=$.relative(this._sourceRoot,R)}if(N!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[$.toSetString(R)]=N}else if(this._sourcesContents){delete this._sourcesContents[$.toSetString(R)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}}applySourceMap(E,N,R){let j=N;if(N==null){if(E.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}j=E.file}const G=this._sourceRoot;if(G!=null){j=$.relative(G,j)}const ie=this._mappings.toArray().length>0?new q:this._sources;const ae=new q;this._mappings.unsortedForEach((function(N){if(N.source===j&&N.originalLine!=null){const j=E.originalPositionFor({line:N.originalLine,column:N.originalColumn});if(j.source!=null){N.source=j.source;if(R!=null){N.source=$.join(R,N.source)}if(G!=null){N.source=$.relative(G,N.source)}N.originalLine=j.line;N.originalColumn=j.column;if(j.name!=null){N.name=j.name}}}const q=N.source;if(q!=null&&!ie.has(q)){ie.add(q)}const ce=N.name;if(ce!=null&&!ae.has(ce)){ae.add(ce)}}),this);this._sources=ie;this._names=ae;E.sources.forEach((function(N){const j=E.sourceContentFor(N);if(j!=null){if(R!=null){N=$.join(R,N)}if(G!=null){N=$.relative(G,N)}this.setSourceContent(N,j)}}),this)}_validateMapping(E,N,R,j){if(N&&typeof N.line!=="number"&&typeof N.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(E&&"line"in E&&"column"in E&&E.line>0&&E.column>=0&&!N&&!R&&!j){}else if(E&&"line"in E&&"column"in E&&N&&"line"in N&&"column"in N&&E.line>0&&E.column>=0&&N.line>0&&N.column>=0&&R){}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:E,source:R,original:N,name:j}))}}_serializeMappings(){let E=0;let N=1;let R=0;let q=0;let G=0;let ie=0;let ae="";let ce;let le;let _e;let Ee;const Te=this._mappings.toArray();for(let we=0,Ie=Te.length;we0){if(!$.compareByGeneratedPositionsInflated(le,Te[we-1])){continue}ce+=","}ce+=j.encode(le.generatedColumn-E);E=le.generatedColumn;if(le.source!=null){Ee=this._sources.indexOf(le.source);ce+=j.encode(Ee-ie);ie=Ee;ce+=j.encode(le.originalLine-1-q);q=le.originalLine-1;ce+=j.encode(le.originalColumn-R);R=le.originalColumn;if(le.name!=null){_e=this._names.indexOf(le.name);ce+=j.encode(_e-G);G=_e}}ae+=ce}return ae}_generateSourcesContent(E,N){return E.map((function(E){if(!this._sourcesContents){return null}if(N!=null){E=$.relative(N,E)}const R=$.toSetString(E);return Object.prototype.hasOwnProperty.call(this._sourcesContents,R)?this._sourcesContents[R]:null}),this)}toJSON(){const E={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){E.file=this._file}if(this._sourceRoot!=null){E.sourceRoot=this._sourceRoot}if(this._sourcesContents){E.sourcesContent=this._generateSourcesContent(E.sources,E.sourceRoot)}return E}toString(){return JSON.stringify(this.toJSON())}}SourceMapGenerator.prototype._version=3;N.SourceMapGenerator=SourceMapGenerator},98160:(E,N,R)=>{const j=R(69010).SourceMapGenerator;const $=R(53033);const q=/(\r?\n)/;const G=10;const ie="$$$isSourceNode$$$";class SourceNode{constructor(E,N,R,j,$){this.children=[];this.sourceContents={};this.line=E==null?null:E;this.column=N==null?null:N;this.source=R==null?null:R;this.name=$==null?null:$;this[ie]=true;if(j!=null)this.add(j)}static fromStringWithSourceMap(E,N,R){const j=new SourceNode;const G=E.split(q);let ie=0;const shiftNextLine=function(){const E=getNextLine();const N=getNextLine()||"";return E+N;function getNextLine(){return ie=0;N--){this.prepend(E[N])}}else if(E[ie]||typeof E==="string"){this.children.unshift(E)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+E)}return this}walk(E){let N;for(let R=0,j=this.children.length;R0){N=[];for(R=0;R{function getArg(E,N,R){if(N in E){return E[N]}else if(arguments.length===3){return R}throw new Error('"'+N+'" is a required argument.')}N.getArg=getArg;const R=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;const j=/^data:.+\,.+$/;function urlParse(E){const N=E.match(R);if(!N){return null}return{scheme:N[1],auth:N[2],host:N[3],port:N[4],path:N[5]}}N.urlParse=urlParse;function urlGenerate(E){let N="";if(E.scheme){N+=E.scheme+":"}N+="//";if(E.auth){N+=E.auth+"@"}if(E.host){N+=E.host}if(E.port){N+=":"+E.port}if(E.path){N+=E.path}return N}N.urlGenerate=urlGenerate;const $=32;function lruMemoize(E){const N=[];return function(R){for(let E=0;E$){N.pop()}return j}}const q=lruMemoize((function normalize(E){let R=E;const j=urlParse(E);if(j){if(!j.path){return E}R=j.path}const $=N.isAbsolute(R);const q=[];let G=0;let ie=0;while(true){G=ie;ie=R.indexOf("/",G);if(ie===-1){q.push(R.slice(G));break}else{q.push(R.slice(G,ie));while(ie=0;ie--){const E=q[ie];if(E==="."){q.splice(ie,1)}else if(E===".."){ae++}else if(ae>0){if(E===""){q.splice(ie+1,ae);ae=0}else{q.splice(ie,2);ae--}}}R=q.join("/");if(R===""){R=$?"/":"."}if(j){j.path=R;return urlGenerate(j)}return R}));N.normalize=q;function join(E,N){if(E===""){E="."}if(N===""){N="."}const R=urlParse(N);const $=urlParse(E);if($){E=$.path||"/"}if(R&&!R.scheme){if($){R.scheme=$.scheme}return urlGenerate(R)}if(R||N.match(j)){return N}if($&&!$.host&&!$.path){$.host=N;return urlGenerate($)}const G=N.charAt(0)==="/"?N:q(E.replace(/\/+$/,"")+"/"+N);if($){$.path=G;return urlGenerate($)}return G}N.join=join;N.isAbsolute=function(E){return E.charAt(0)==="/"||R.test(E)};function relative(E,N){if(E===""){E="."}E=E.replace(/\/$/,"");let R=0;while(N.indexOf(E+"/")!==0){const j=E.lastIndexOf("/");if(j<0){return N}E=E.slice(0,j);if(E.match(/^([^\/]+:\/)?\/*$/)){return N}++R}return Array(R+1).join("../")+N.substr(E.length+1)}N.relative=relative;const G=function(){const E=Object.create(null);return!("__proto__"in E)}();function identity(E){return E}function toSetString(E){if(isProtoString(E)){return"$"+E}return E}N.toSetString=G?identity:toSetString;function fromSetString(E){if(isProtoString(E)){return E.slice(1)}return E}N.fromSetString=G?identity:fromSetString;function isProtoString(E){if(!E){return false}const N=E.length;if(N<9){return false}if(E.charCodeAt(N-1)!==95||E.charCodeAt(N-2)!==95||E.charCodeAt(N-3)!==111||E.charCodeAt(N-4)!==116||E.charCodeAt(N-5)!==111||E.charCodeAt(N-6)!==114||E.charCodeAt(N-7)!==112||E.charCodeAt(N-8)!==95||E.charCodeAt(N-9)!==95){return false}for(let R=N-10;R>=0;R--){if(E.charCodeAt(R)!==36){return false}}return true}function compareByOriginalPositions(E,N,R){let j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0||R){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0){return j}j=E.generatedLine-N.generatedLine;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(E,N,R){let j=E.generatedLine-N.generatedLine;if(j!==0){return j}j=E.generatedColumn-N.generatedColumn;if(j!==0||R){return j}j=strcmp(E.source,N.source);if(j!==0){return j}j=E.originalLine-N.originalLine;if(j!==0){return j}j=E.originalColumn-N.originalColumn;if(j!==0){return j}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(E,N){if(E===N){return 0}if(E===null){return 1}if(N===null){return-1}if(E>N){return 1}return-1}function compareByGeneratedPositionsInflated(E,N){let R=E.generatedLine-N.generatedLine;if(R!==0){return R}R=E.generatedColumn-N.generatedColumn;if(R!==0){return R}R=strcmp(E.source,N.source);if(R!==0){return R}R=E.originalLine-N.originalLine;if(R!==0){return R}R=E.originalColumn-N.originalColumn;if(R!==0){return R}return strcmp(E.name,N.name)}N.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(E){return JSON.parse(E.replace(/^\)]}'[^\n]*\n/,""))}N.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(E,N,R){N=N||"";if(E){if(E[E.length-1]!=="/"&&N[0]!=="/"){E+="/"}N=E+N}if(R){const E=urlParse(R);if(!E){throw new Error("sourceMapURL could not be parsed")}if(E.path){const N=E.path.lastIndexOf("/");if(N>=0){E.path=E.path.substring(0,N+1)}}N=join(urlGenerate(E),N)}return q(N)}N.computeSourceURL=computeSourceURL},7059:(E,N,R)=>{const j=R(92256);function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.lastGeneratedColumn=null;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}let $=null;E.exports=function wasm(){if($){return $}const E=[];$=j().then((N=>WebAssembly.instantiate(N,{env:{mapping_callback(N,R,j,$,q,G,ie,ae,ce,le){const _e=new Mapping;_e.generatedLine=N+1;_e.generatedColumn=R;if(j){_e.lastGeneratedColumn=$-1}if(q){_e.source=G;_e.originalLine=ie+1;_e.originalColumn=ae;if(ce){_e.name=le}}E[E.length-1](_e)},start_all_generated_locations_for(){console.time("all_generated_locations_for")},end_all_generated_locations_for(){console.timeEnd("all_generated_locations_for")},start_compute_column_spans(){console.time("compute_column_spans")},end_compute_column_spans(){console.timeEnd("compute_column_spans")},start_generated_location_for(){console.time("generated_location_for")},end_generated_location_for(){console.timeEnd("generated_location_for")},start_original_location_for(){console.time("original_location_for")},end_original_location_for(){console.timeEnd("original_location_for")},start_parse_mappings(){console.time("parse_mappings")},end_parse_mappings(){console.timeEnd("parse_mappings")},start_sort_by_generated_location(){console.time("sort_by_generated_location")},end_sort_by_generated_location(){console.timeEnd("sort_by_generated_location")},start_sort_by_original_location(){console.time("sort_by_original_location")},end_sort_by_original_location(){console.timeEnd("sort_by_original_location")}}}))).then((N=>({exports:N.instance.exports,withMappingCallback:(N,R)=>{E.push(N);try{R()}finally{E.pop()}}}))).then(null,(E=>{$=null;throw E}));return $}},37362:(E,N,R)=>{N.SourceMapGenerator=R(69010).SourceMapGenerator;N.SourceMapConsumer=R(47532).SourceMapConsumer;N.SourceNode=R(98160).SourceNode},6619:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeAfterCompile=void 0;const j=R(71017);const $=R(69635);const q=R(90557);const G=R(38001);function makeAfterCompile(E,N){let R=true;let j=true;return($,q)=>{if($.compiler.isChild()){q();return}if(E.loaderOptions.transpileOnly){provideAssetsFromSolutionBuilderHost(E,$);q();return}removeCompilationTSLoaderErrors($,E.loaderOptions);provideCompilerOptionDiagnosticErrorsToWebpack(R,$,E,N);R=false;const G=determineModules($,E);const ie=determineFilesToCheckForErrors(j,E);j=false;const ae=new Map;provideErrorsToWebpack(ie,ae,$,G,E);provideSolutionErrorsToWebpack($,G,E);provideDeclarationFilesToWebpack(ie,E,$);provideTsBuildInfoFilesToWebpack(E,$);provideAssetsFromSolutionBuilderHost(E,$);E.filesWithErrors=ae;E.modifiedFiles=undefined;E.projectsMissingSourceMaps=new Set;q()}}N.makeAfterCompile=makeAfterCompile;function provideCompilerOptionDiagnosticErrorsToWebpack(E,N,R,j){if(E){const{languageService:E,loaderOptions:$,compiler:q,program:ie}=R;const ae=G.formatErrors(ie===undefined?E.getCompilerOptionsDiagnostics():ie.getOptionsDiagnostics(),$,R.colors,q,{file:j||"tsconfig.json"},N.compiler.context);N.errors.push(...ae)}}function determineModules(E,{filePathKeyMapper:N}){const R=new Map;E.modules.forEach((E=>{if(E.resource){const j=N(E.resource);const $=R.get(j);if($!==undefined){if(!$.includes(E)){$.push(E)}}else{R.set(j,[E])}}}));return R}function determineFilesToCheckForErrors(E,N){const{files:R,modifiedFiles:j,filesWithErrors:$,otherFiles:q}=N;const ie=new Map;if(E){for(const[E,N]of R){addFileToCheckForErrors(E,N)}for(const[E,N]of q){addFileToCheckForErrors(E,N)}}else if(j!==null&&j!==undefined&&j.size){const E=G.populateReverseDependencyGraph(N);for(const N of j.keys()){for(const j of G.collectAllDependants(E,N).keys()){const E=R.get(j)||q.get(j);addFileToCheckForErrors(j,E)}}}if($!==undefined){for(const[E,N]of $){addFileToCheckForErrors(E,N)}}return ie;function addFileToCheckForErrors(E,R){if(!G.isReferencedFile(N,E)){ie.set(E,R)}}}function provideErrorsToWebpack(E,N,R,j,q){const{compiler:ie,files:ae,loaderOptions:ce,compilerOptions:le,otherFiles:_e}=q;const Ee=le.allowJs===true?$.dtsTsTsxJsJsxRegex:$.dtsTsTsxRegex;const Te=G.ensureProgram(q);for(const[$,{fileName:le}]of E.entries()){if(le.match(Ee)===null){continue}const E=Te&&Te.getSourceFile(le);const we=[];if(Te&&E){we.push(...Te.getSyntacticDiagnostics(E),...Te.getSemanticDiagnostics(E).filter((({code:E})=>E!==6305)))}if(we.length>0){const E=ae.get($)||_e.get($);N.set($,E)}const Ie=j.get(q.filePathKeyMapper(le));if(Ie!==undefined){Ie.forEach((E=>{removeModuleTSLoaderError(E,ce);const N=G.formatErrors(we,ce,q.colors,ie,{module:E},R.compiler.context);N.forEach((N=>{if(E.addError){E.addError(N)}else{E.errors.push(N)}}));R.errors.push(...N)}))}else{const E=G.formatErrors(we,ce,q.colors,ie,{file:le},R.compiler.context);R.errors.push(...E)}}}function provideSolutionErrorsToWebpack(E,N,R){if(!R.solutionBuilderHost||!(R.solutionBuilderHost.diagnostics.global.length||R.solutionBuilderHost.diagnostics.perFile.size)){return}const{compiler:$,loaderOptions:q,solutionBuilderHost:{diagnostics:ie}}=R;for(const[ae,ce]of ie.perFile){const ie=N.get(ae);if(ie!==undefined){ie.forEach((N=>{removeModuleTSLoaderError(N,q);const j=G.formatErrors(ce,q,R.colors,$,{module:N},E.compiler.context);j.forEach((E=>{if(N.addError){N.addError(E)}else{N.errors.push(E)}}));E.errors.push(...j)}))}else{const N=G.formatErrors(ce,q,R.colors,$,{file:j.resolve(ce[0].file.fileName)},E.compiler.context);E.errors.push(...N)}}E.errors.push(...G.formatErrors(ie.global,R.loaderOptions,R.colors,R.compiler,{file:"tsconfig.json"},E.compiler.context))}function provideDeclarationFilesToWebpack(E,N,R){for(const{fileName:j}of E.values()){if(j.match($.tsTsxRegex)===null){continue}addDeclarationFilesAsAsset(q.getEmitOutput(N,j),R)}}function addDeclarationFilesAsAsset(E,N,R){outputFilesToAsset(E,N,(E=>R&&R(E)?true:!E.name.match($.dtsDtsxOrDtsDtsxMapRegex)))}function outputFileToAsset(E,N){const R=j.relative(N.compiler.outputPath,E.name);N.assets[R]={source:()=>E.text,size:()=>E.text.length}}function outputFilesToAsset(E,N,R){for(const j of E){if(!R||!R(j)){outputFileToAsset(j,N)}}}function provideTsBuildInfoFilesToWebpack(E,N){if(E.watchHost){q.getEmitFromWatchHost(E);if(E.watchHost.tsbuildinfo){outputFileToAsset(E.watchHost.tsbuildinfo,N)}E.watchHost.outputFiles.clear();E.watchHost.tsbuildinfo=undefined}}function provideAssetsFromSolutionBuilderHost(E,N){if(E.solutionBuilderHost){outputFilesToAsset(E.solutionBuilderHost.writtenFiles,N);E.solutionBuilderHost.writtenFiles.length=0}}function removeCompilationTSLoaderErrors(E,N){E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}function removeModuleTSLoaderError(E,N){if(!!E.addError){const R=E.getWarnings();const j=E.getErrors();E.clearWarningsAndErrors();Array.from(R||[]).forEach((N=>E.addWarning(N)));Array.from(j||[]).filter((E=>E.loaderSource!==G.tsLoaderSource(N))).forEach((N=>E.addError(N)))}else{E.errors=E.errors.filter((E=>E.loaderSource!==G.tsLoaderSource(N)))}}},17464:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getCompilerOptions=N.getCompiler=void 0;const j=R(3609);function getCompiler(E,N){let R;let $;let q;let G=false;try{R=require(E.compiler)}catch(N){$=E.compiler==="typescript"?"Could not load TypeScript. Try installing with `yarn add typescript` or `npm install typescript`. If TypeScript is installed globally, try using `yarn link typescript` or `npm link typescript`.":`Could not load TypeScript compiler with NPM package name \`${E.compiler}\`. Are you sure it is correctly installed?`}if($===undefined){q=`ts-loader: Using ${E.compiler}@${R.version}`;G=false;if(E.compiler==="typescript"){if(R.version!==undefined&&j.gte(R.version,"3.6.3")){G=true}else{N.logError(`${q}. This version is incompatible with ts-loader. Please upgrade to the latest version of TypeScript.`)}}else{N.logWarning(`${q}. This version may or may not be compatible with ts-loader.`)}}return{compiler:R,compilerCompatible:G,compilerDetailsLogMessage:q,errorMessage:$}}N.getCompiler=getCompiler;function getCompilerOptions(E,N){const R=Object.assign({},E.options,{skipLibCheck:true,suppressOutputPathCheck:true});if(R.module===undefined&&R.target!==undefined&&R.target{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getParsedCommandLine=N.getConfigParseResult=N.getConfigFile=void 0;const j=R(71017);const $=R(17464);const q=R(38001);function getConfigFile(E,N,R,$,G,ie,ae){const ce=findConfigFile(E,j.dirname(R.resourcePath),$.configFile);let le;let _e;if(ce!==undefined){if(G){ie.logInfo(`${ae} and ${ce}`)}else{ie.logInfo(`ts-loader: Using config file at ${ce}`)}_e=E.readConfigFile(ce,E.sys.readFile);if(_e.error!==undefined){le=q.formatErrors([_e.error],$,N,E,{file:ce},R.context)[0]}}else{if(G){ie.logInfo(ae)}_e={config:{compilerOptions:{},files:[]}}}if(le===undefined){_e.config.compilerOptions=Object.assign({},_e.config.compilerOptions)}return{configFilePath:ce,configFile:_e,configFileError:le}}N.getConfigFile=getConfigFile;function findConfigFile(E,N,R){if(j.isAbsolute(R)){return E.sys.fileExists(R)?R:undefined}if(R.match(/^\.\.?(\/|\\)/)!==null){const $=j.resolve(N,R);return E.sys.fileExists($)?$:undefined}else{while(true){const $=j.join(N,R);if(E.sys.fileExists($)){return $}const q=j.dirname(N);if(q===N){break}N=q}return undefined}}function getConfigParseResult(E,N,R,j,$){const G=E.parseJsonConfigFileContent(N.config,Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,$)}),R,getCompilerOptionsToExtend(E,$,R,j||"tsconfig.json"));if(!$.projectReferences){G.projectReferences=undefined}G.options=Object.assign({},G.options,{configFilePath:j});return G}N.getConfigParseResult=getConfigParseResult;const G=new Map;function getParsedCommandLine(E,N,R){const ie=E.getParsedCommandLineOfConfigFile(R,getCompilerOptionsToExtend(E,N,j.dirname(R),R),Object.assign(Object.assign({},E.sys),{useCaseSensitiveFileNames:q.useCaseSensitiveFileNames(E,N),onUnRecoverableConfigFileDiagnostic:()=>{}}),G);if(ie){ie.options=$.getCompilerOptions(ie,E)}return ie}N.getParsedCommandLine=getParsedCommandLine;function getCompilerOptionsToExtend(E,N,R,j){return E.convertCompilerOptionsFromJson(N.compilerOptions,R,j).options}},69635:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.nodeModules=N.jsonRegex=N.jsJsxMap=N.jsJsx=N.tsTsxJsJsxRegex=N.dtsTsTsxJsJsxRegex=N.dtsTsTsxRegex=N.dtsDtsxOrDtsDtsxMapRegex=N.tsTsxRegex=N.tsxRegex=N.extensionRegex=N.LineFeedCode=N.CarriageReturnLineFeedCode=N.LineFeed=N.CarriageReturnLineFeed=N.EOL=void 0;const j=R(22037);N.EOL=j.EOL;N.CarriageReturnLineFeed="\r\n";N.LineFeed="\n";N.CarriageReturnLineFeedCode=0;N.LineFeedCode=1;N.extensionRegex=/\.[^.]+$/;N.tsxRegex=/\.tsx$/i;N.tsTsxRegex=/\.ts(x?)$/i;N.dtsDtsxOrDtsDtsxMapRegex=/\.d\.ts(x?)(\.map)?$/i;N.dtsTsTsxRegex=/(\.d)?\.ts(x?)$/i;N.dtsTsTsxJsJsxRegex=/((\.d)?\.ts(x?)|js(x?))$/i;N.tsTsxJsJsxRegex=/\.tsx?$|\.jsx?$/i;N.jsJsx=/\.js(x?)$/i;N.jsJsxMap=/\.js(x?)\.map$/i;N.jsonRegex=/\.json$/i;N.nodeModules=/node_modules/i},32956:(E,N,R)=>{"use strict";const j=R(6113);const $=R(88244);const q=R(71017);const G=R(69635);const ie=R(90557);const ae=R(38001);const ce={};function loader(E){this.cacheable&&this.cacheable();const N=this.async();const R=getLoaderOptions(this);const j=ie.getTypeScriptInstance(R,this);if(j.error!==undefined){N(new Error(j.error.message));return}const $=j.instance;ie.buildSolutionReferences($,this);successLoader(this,E,N,$)}function successLoader(E,N,R,j){ie.initializeInstance(E,j);ie.reportTranspileErrors(j,E);const $=q.normalize(E.resourcePath);const G=j.loaderOptions.appendTsSuffixTo.length>0||j.loaderOptions.appendTsxSuffixTo.length>0?ae.appendSuffixesIfMatch({".ts":j.loaderOptions.appendTsSuffixTo,".tsx":j.loaderOptions.appendTsxSuffixTo},$):$;const ce=updateFileInCache(j.loaderOptions,G,N,j);const{outputText:le,sourceMapText:_e}=j.loaderOptions.transpileOnly?getTranspilationEmit(G,N,j,E):getEmit($,G,j,E);makeSourceMapAndFinish(_e,le,G,N,E,ce,R,j)}function makeSourceMapAndFinish(E,N,R,j,$,q,G,ie){if(N===null||N===undefined){setModuleMeta($,ie,q);const E=ae.isReferencedFile(ie,R)?" The most common cause for this is having errors when building referenced projects.":!ie.loaderOptions.allowTsInNodeModules&&R.indexOf("node_modules")!==-1?" By default, ts-loader will not compile .ts files in node_modules.\n"+"You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.\n"+"See: https://github.com/Microsoft/TypeScript/issues/12358":"";G(new Error(`TypeScript emitted no output for ${R}.${E}`),N,undefined);return}const{sourceMap:ce,output:le}=makeSourceMap(E,N,R,j,$);setModuleMeta($,ie,q);G(null,le,ce)}function setModuleMeta(E,N,R){if(!N.loaderOptions.happyPackMode&&E._module.buildMeta!==undefined){E._module.buildMeta.tsLoaderFileVersion=R}}function getOptionsHash(E){const N=j.createHash("sha256");Object.keys(E).forEach((R=>{const j=E[R];if(j!==undefined){const E=typeof j==="function"?j.toString():JSON.stringify(j);N.update(R+E)}}));return N.digest("hex").substring(0,16)}function getLoaderOptions(E){const N=$.getOptions(E)||{};const R=N.instance||"default_"+getOptionsHash(N);if(!ce.hasOwnProperty(R)){ce[R]=new WeakMap}const j=ce[R];if(j.has(N)){return j.get(N)}validateLoaderOptions(N);const q=makeLoaderOptions(R,N);j.set(N,q);return q}const le=["silent","logLevel","logInfoToStdOut","instance","compiler","context","configFile","transpileOnly","ignoreDiagnostics","errorFormatter","colors","compilerOptions","appendTsSuffixTo","appendTsxSuffixTo","onlyCompileBundledFiles","happyPackMode","getCustomTransformers","reportFiles","experimentalWatchApi","allowTsInNodeModules","experimentalFileCaching","projectReferences","resolveModuleName","resolveTypeReferenceDirective","useCaseSensitiveFileNames"];function validateLoaderOptions(E){const N=Object.keys(E);for(let E=0;E{E=q.resolve(E);j.addDependency(E);le.push(E)};if(!ae.isReferencedFile(R,N)){for(const{fileName:E}of R.files.values()){if(E.match(G.dtsDtsxOrDtsDtsxMapRegex)&&!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){addDependency(E)}}}const _e=R.dependencyGraph.get(R.filePathKeyMapper(N));if(_e){for(const{resolvedFileName:E,originalFileName:N}of _e){addDependency(ie.getInputFileNameFromOutput(R,q.resolve(E))||N)}}addDependenciesFromSolutionBuilder(R,N,addDependency);j._module.buildMeta.tsLoaderDefinitionFileVersions=le.map((E=>q.relative(j.rootContext,E)+"@"+(ae.isReferencedFile(R,E)?R.solutionBuilderHost.getInputFileStamp(E).toString():(R.files.get(R.filePathKeyMapper(E))||R.otherFiles.get(R.filePathKeyMapper(E))||{version:"?"}).version)));return getOutputAndSourceMapFromOutputFiles(ce)}function getOutputAndSourceMapFromOutputFiles(E){const N=E.filter((E=>E.name.match(G.jsJsx))).pop();const R=N===undefined?undefined:N.text;const j=E.filter((E=>E.name.match(G.jsJsxMap))).pop();const $=j===undefined?undefined:j.text;return{outputText:R,sourceMapText:$}}function addDependenciesFromSolutionBuilder(E,N,R){if(!E.solutionBuilderHost){return}const j=E.filePathKeyMapper(N);if(!ae.isReferencedFile(E,N)){if(E.configParseResult.fileNames.some((N=>E.filePathKeyMapper(N)===j))){addDependenciesFromProjectReferences(E,E.configFilePath,E.configParseResult.projectReferences,R)}return}for(const[N,$]of E.solutionBuilderHost.configFileInfo.entries()){if(!$.config||!$.config.projectReferences||!$.config.projectReferences.length){continue}if($.outputFileNames){if(!$.outputFileNames.has(j)){continue}}else if(!$.config.fileNames.some((N=>E.filePathKeyMapper(N)===j))){continue}if($.dtsFiles){$.dtsFiles.forEach(R)}addDependenciesFromProjectReferences(E,N,$.config.projectReferences,R);break}}function addDependenciesFromProjectReferences(E,N,R,j){if(!R||!R.length){return}const $=new Map;$.set(E.filePathKeyMapper(N),true);const q=R.slice();while(true){const N=q.pop();if(!N){break}const R=E.filePathKeyMapper(E.compiler.resolveProjectReferencePath(N));if($.has(R)){continue}const G=E.solutionBuilderHost.configFileInfo.get(R);if(!G){continue}$.set(R,true);if(G.config){G.config.fileNames.forEach(j);if(G.config.projectReferences){q.push(...G.config.projectReferences)}}}}function getTranspilationEmit(E,N,R,j){if(ae.isReferencedFile(R,E)){const N=R.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(E);addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));return getOutputAndSourceMapFromOutputFiles(N)}const{outputText:$,sourceMapText:G,diagnostics:ie}=R.compiler.transpileModule(N,{compilerOptions:Object.assign(Object.assign({},R.compilerOptions),{rootDir:undefined}),transformers:R.transformers,reportDiagnostics:true,fileName:E});const ce=j._module;addDependenciesFromSolutionBuilder(R,E,(E=>j.addDependency(q.resolve(E))));if(!R.loaderOptions.happyPackMode){const E=ae.formatErrors(ie,R.loaderOptions,R.colors,R.compiler,{module:ce},j.context);if(ce.addError){E.forEach((E=>ce.addError(E)))}else{ce.errors.push(...E)}}return{outputText:$,sourceMapText:G}}function makeSourceMap(E,N,R,j,q){if(E===undefined){return{output:N,sourceMap:undefined}}return{output:N.replace(/^\/\/# sourceMappingURL=[^\r\n]*/gm,""),sourceMap:Object.assign(JSON.parse(E),{sources:[$.getRemainingRequest(q)],file:R,sourcesContent:[j]})}}E.exports=loader},50043:(E,N)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.setTSInstanceInCache=N.getTSInstanceFromCache=void 0;const R={};const j=new WeakMap;function getTSInstanceFromCache(E,N){const $=E!==null&&E!==void 0?E:R;let q=j.get($);if(!q){q=new Map;j.set($,q)}return q.get(N)}N.getTSInstanceFromCache=getTSInstanceFromCache;function setTSInstanceInCache(E,N,$){var q;const G=E!==null&&E!==void 0?E:R;const ie=(q=j.get(G))!==null&&q!==void 0?q:new Map;ie.set(N,$);j.set(G,ie)}N.setTSInstanceInCache=setTSInstanceInCache},90557:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getEmitOutput=N.getEmitFromWatchHost=N.getInputFileNameFromOutput=N.getOutputFileNames=N.forEachResolvedProjectReference=N.buildSolutionReferences=N.reportTranspileErrors=N.initializeInstance=N.getTypeScriptInstance=void 0;const j=R(57347);const $=R(57147);const q=R(71017);const G=R(86443);const ie=R(6619);const ae=R(17464);const ce=R(10852);const le=R(69635);const _e=R(50043);const Ee=R(63686);const Te=R(9674);const we=R(38001);const Ie=R(80573);const Ne=new Map;function getTypeScriptInstance(E,N){const R=_e.getTSInstanceFromCache(N._compiler,E.instance);if(R){if(!R.initialSetupPending){we.ensureProgram(R)}return{instance:R}}const $=E.colors&&j.supportsColor?j.supportsColor.level:0;const q=new j.Instance({level:$});const G=Ee.makeLogger(E,q);const ie=ae.getCompiler(E,G);if(ie.errorMessage!==undefined){return{error:we.makeError(E,q.red(ie.errorMessage),undefined)}}return successfulTypeScriptInstance(E,N,G,q,ie.compiler,ie.compilerCompatible,ie.compilerDetailsLogMessage)}N.getTypeScriptInstance=getTypeScriptInstance;function createFilePathKeyMapper(E,N){const R=new Map;const j=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;return we.useCaseSensitiveFileNames(E,N)?pathResolve:toFileNameLowerCase;function pathResolve(E){let N=R.get(E);if(!N){N=q.resolve(E);R.set(E,N)}return N}function toFileNameLowerCase(E){let N=R.get(E);if(!N){const $=pathResolve(E);N=j.test($)?$.replace(j,(E=>E.toLowerCase())):$;R.set(E,N)}return N}}function successfulTypeScriptInstance(E,N,R,j,G,ie,Ee){const Te=ce.getConfigFile(G,j,N,E,ie,R,Ee);if(Te.configFileError!==undefined){const{message:N,file:R}=Te.configFileError;return{error:we.makeError(E,j.red("error while reading tsconfig.json:"+le.EOL+N),R)}}const{configFilePath:Ie,configFile:Ne}=Te;const Me=createFilePathKeyMapper(G,E);if(Ie&&E.projectReferences){const R=Me(Ie);const j=getExistingSolutionBuilderHost(R);if(j){_e.setTSInstanceInCache(N._compiler,E.instance,j);return{instance:j}}}const Le=N._module;const Be=E.context||q.dirname(Ie||"");const je=ce.getConfigParseResult(G,Ne,Be,Ie,E);if(je.errors.length>0&&!E.happyPackMode){const R=we.formatErrors(je.errors,E,j,G,{file:Ie},N.context);if(Le.addError){R.forEach((E=>Le.addError(E)))}else{Le.errors.push(...R)}return{error:we.makeError(E,j.red("error while parsing tsconfig.json"),Ie)}}const Ue=ae.getCompilerOptions(je,G);const ze=new Set;const We=new Map;const Je=new Map;const Ve=E.appendTsSuffixTo.length>0||E.appendTsxSuffixTo.length>0?N=>we.appendSuffixesIfMatch({".ts":E.appendTsSuffixTo,".tsx":E.appendTsxSuffixTo},N):E=>E;if(E.transpileOnly){const $={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,version:0,program:undefined,dependencyGraph:new Map,transformers:{},colors:j,initialSetupPending:true,reportTranspileErrors:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,$);return{instance:$}}let qe;try{const N=E.onlyCompileBundledFiles?je.fileNames.filter((E=>le.dtsDtsxOrDtsDtsxMapRegex.test(E))):je.fileNames;N.forEach((E=>{qe=q.normalize(E);We.set(Me(qe),{fileName:qe,text:$.readFileSync(qe,"utf-8"),version:0});ze.add(qe)}))}catch(N){return{error:we.makeError(E,j.red(`A file specified in tsconfig.json could not be found: ${qe}`),qe)}}const He={compiler:G,compilerOptions:Ue,appendTsTsxSuffixesIfRequired:Ve,loaderOptions:E,rootFileNames:ze,files:We,otherFiles:Je,languageService:null,version:0,transformers:{},dependencyGraph:new Map,colors:j,initialSetupPending:true,configFilePath:Ie,configParseResult:je,log:R,filePathKeyMapper:Me};_e.setTSInstanceInCache(N._compiler,E.instance,He);return{instance:He}}function getExistingSolutionBuilderHost(E){const N=Ne.get(E);if(N)return N;for(const N of Ne.values()){if(N.solutionBuilderHost.configFileInfo.has(E)){return N}}return undefined}const Me=!!G.version.match(/^4.*/)?(E,N)=>{E._compiler.hooks.afterCompile.tapAsync("ts-loader",ie.makeAfterCompile(N,N.configFilePath))}:(E,N)=>{const R=ie.makeAfterCompile(N,N.configFilePath);const makeAssetsCallback=E=>{E.hooks.afterProcessAssets.tap("ts-loader",(()=>R(E,(()=>null))))};makeAssetsCallback(E._compilation);E._compiler.hooks.compilation.tap("ts-loader",makeAssetsCallback)};function initializeInstance(E,N){if(!N.initialSetupPending){return}N.initialSetupPending=false;let{getCustomTransformers:R}=N.loaderOptions;let j=Function.prototype;if(typeof R==="function"){j=R}else if(typeof R==="string"){try{R=require(R)}catch(E){throw new Error(`Failed to load customTransformers from "${N.loaderOptions.getCustomTransformers}": ${E.message}`)}if(typeof R!=="function"){throw new Error(`Custom transformers in "${N.loaderOptions.getCustomTransformers}" should export a function, got ${typeof j}`)}j=R}if(N.loaderOptions.transpileOnly){const R=N.program=N.configParseResult.projectReferences!==undefined?N.compiler.createProgram({rootNames:N.configParseResult.fileNames,options:N.configParseResult.options,projectReferences:N.configParseResult.projectReferences}):N.compiler.createProgram([],N.compilerOptions);N.transformers=j(R);if(N.solutionBuilderHost){Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}else{if(!E._compiler.hooks){throw new Error("You may be using an old version of webpack; please check you're using at least version 4")}if(N.loaderOptions.experimentalWatchApi){N.log.logInfo("Using watch api");N.watchHost=Te.makeWatchHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.watchOfFilesAndCompilerOptions=N.compiler.createWatchProgram(N.watchHost);N.builderProgram=N.watchOfFilesAndCompilerOptions.getProgram();N.program=N.builderProgram.getProgram();N.transformers=j(N.program)}else{N.servicesHost=Te.makeServicesHost(getScriptRegexp(N),E,N,N.configParseResult.projectReferences);N.languageService=N.compiler.createLanguageService(N.servicesHost,N.compiler.createDocumentRegistry());N.transformers=j(N.languageService.getProgram())}Me(E,N);E._compiler.hooks.watchRun.tapAsync("ts-loader",Ie.makeWatchRun(N,E))}}N.initializeInstance=initializeInstance;function getScriptRegexp(E){if(E.configParseResult.options.resolveJsonModule){return E.configParseResult.options.allowJs===true?/\.tsx?$|\.json$|\.jsx?$/i:/\.tsx?$|\.json$/i}return E.configParseResult.options.allowJs===true?/\.tsx?$|\.jsx?$/i:/\.tsx?$/i}function reportTranspileErrors(E,N){if(!E.reportTranspileErrors){return}const R=N._module;E.reportTranspileErrors=false;if(!E.loaderOptions.happyPackMode){const j=Te.getSolutionErrors(E,N.context);const $=E.program.getOptionsDiagnostics();const q=we.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:E.configFilePath||"tsconfig.json"},N.context);if(R.addError){[...j,...q].forEach((E=>R.addError(E)))}else{R.errors.push(...j,...q)}}}N.reportTranspileErrors=reportTranspileErrors;function buildSolutionReferences(E,N){if(!we.supportsSolutionBuild(E)){return}if(!E.solutionBuilderHost){E.log.logInfo("Using SolutionBuilder api");const R=getScriptRegexp(E);E.solutionBuilderHost=Te.makeSolutionBuilderHost(R,N,E);const j=E.compiler.createSolutionBuilderWithWatch(E.solutionBuilderHost,E.configParseResult.projectReferences.map((E=>E.path)),{verbose:true});j.build();E.solutionBuilderHost.ensureAllReferenceTimestamps();Ne.set(E.filePathKeyMapper(E.configFilePath),E)}else{E.solutionBuilderHost.buildReferences()}}N.buildSolutionReferences=buildSolutionReferences;function forEachResolvedProjectReference(E,N){let R;return worker(E);function worker(E){if(E){for(const j of E){if(!j){continue}if(R&&R.some((E=>E===j))){continue}(R||(R=[])).push(j);const E=N(j)||worker(j.references);if(E){return E}}}return undefined}}N.forEachResolvedProjectReference=forEachResolvedProjectReference;function fileExtensionIs(E,N){return E.endsWith(N)}function rootDirOfOptions(E,N){return N.options.rootDir||E.compiler.getDirectoryPath(N.options.configFilePath)}function getOutputPathWithoutChangingExt(E,N,R,j,$){return $?E.compiler.resolvePath($,E.compiler.getRelativePathFromDirectory(rootDirOfOptions(E,R),N,j)):N}function getOutputJSFileName(E,N,R,j){if(R.options.emitDeclarationOnly){return undefined}const $=fileExtensionIs(N,".json");const q=E.compiler.changeExtension(getOutputPathWithoutChangingExt(E,N,R,j,R.options.outDir),$?".json":fileExtensionIs(N,".tsx")&&R.options.jsx===E.compiler.JsxEmit.Preserve?".jsx":".js");return!$||E.compiler.comparePaths(N,q,R.options.configFilePath,j)!==E.compiler.Comparison.EqualTo?q:undefined}function getOutputFileNames(E,N,R){const j=!we.useCaseSensitiveFileNames(E.compiler,E.loaderOptions);if(E.compiler.getOutputFileNames){return E.compiler.getOutputFileNames(N,R,j)}const $=[];const addOutput=E=>E&&$.push(E);const q=getOutputJSFileName(E,R,N,j);addOutput(q);if(!fileExtensionIs(R,".json")){if(q&&N.options.sourceMap){addOutput(`${q}.map`)}if((N.options.declaration||N.options.composite)&&E.compiler.hasTSFileExtension(R)){const $=E.compiler.getOutputDeclarationFileName(R,N,j);addOutput($);if(N.options.declarationMap){addOutput(`${$}.map`)}}}return $}N.getOutputFileNames=getOutputFileNames;function getInputFileNameFromOutput(E,N){if(N.match(le.tsTsxRegex)&&!fileExtensionIs(N,".d.ts")){return undefined}if(E.solutionBuilderHost){return E.solutionBuilderHost.getInputFileNameFromOutput(N)}const R=we.ensureProgram(E);return R&&R.getResolvedProjectReferences&&forEachResolvedProjectReference(R.getResolvedProjectReferences(),(({commandLine:R})=>{const{options:j,fileNames:$}=R;if(!j.outFile&&!j.out){const j=$.find((j=>getOutputFileNames(E,R,j).find((E=>q.resolve(E)===N))));return j&&q.resolve(j)}return undefined}))}N.getInputFileNameFromOutput=getInputFileNameFromOutput;function getEmitFromWatchHost(E,N){const R=we.ensureProgram(E);const j=E.builderProgram;if(j&&R){if(N){const R=E.watchHost.outputFiles.get(E.filePathKeyMapper(N));if(R){return R}}const $=[];const writeFile=(N,R,j)=>{if(N.endsWith(".tsbuildinfo")){E.watchHost.tsbuildinfo={name:N,writeByteOrderMark:j,text:R}}else{$.push({name:N,writeByteOrderMark:j,text:R})}};const q=N?R.getSourceFile(N):undefined;while(true){const N=j.emitNextAffectedFile(writeFile,undefined,false,E.transformers);if(!N){break}if(N.affected===q){E.watchHost.outputFiles.set(E.filePathKeyMapper(N.affected.fileName),$.slice());return $}}}return undefined}N.getEmitFromWatchHost=getEmitFromWatchHost;function getEmitOutput(E,N){if(fileExtensionIs(N,E.compiler.Extension.Dts)){return[]}if(we.isReferencedFile(E,N)){return E.solutionBuilderHost.getOutputFilesFromReferencedProjectInput(N)}const R=we.ensureProgram(E);if(R!==undefined){const j=R.getSourceFile(N);const $=[];const writeFile=(E,N,R)=>$.push({name:E,writeByteOrderMark:R,text:N});const q=getEmitFromWatchHost(E,N);if(q){return q}R.emit(j,writeFile,undefined,false,E.transformers);return $}else{return E.languageService.getProgram().getSourceFile(N)===undefined?[]:E.languageService.getEmitOutput(N).outputFiles}}N.getEmitOutput=getEmitOutput},63686:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeLogger=N.LogLevel=void 0;const j=R(96206);var $;(function(E){E[E["INFO"]=1]="INFO";E[E["WARN"]=2]="WARN";E[E["ERROR"]=3]="ERROR"})($=N.LogLevel||(N.LogLevel={}));const q=new j.Console(process.stderr);const G=new j.Console(process.stdout);const doNothingLogger=E=>{};const makeLoggerFunc=E=>E.silent?(E,N)=>{}:(E,N)=>console.log.call(E,N);const makeExternalLogger=(E,N)=>R=>N(E.logInfoToStdOut?G:q,R);const makeLogInfo=(E,N,R)=>$[E.logLevel]<=$.INFO?j=>N(E.logInfoToStdOut?G:q,R(j)):doNothingLogger;const makeLogError=(E,N,R)=>$[E.logLevel]<=$.ERROR?E=>N(q,R(E)):doNothingLogger;const makeLogWarning=(E,N,R)=>$[E.logLevel]<=$.WARN?E=>N(q,R(E)):doNothingLogger;function makeLogger(E,N){const R=makeLoggerFunc(E);return{log:makeExternalLogger(E,R),logInfo:makeLogInfo(E,R,N.green),logWarning:makeLogWarning(E,R,N.yellow),logError:makeLogError(E,R,N.red)}}N.makeLogger=makeLogger},98535:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeResolver=void 0;const j=R(79921);function makeResolver(E){return j.create.sync(E.resolve)}N.makeResolver=makeResolver},9674:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.getSolutionErrors=N.makeSolutionBuilderHost=N.makeWatchHost=N.updateFileWithText=N.makeServicesHost=void 0;const j=R(71017);const $=R(10852);const q=R(69635);const G=R(90557);const ie=R(98535);const ae=R(38001);function makeResolversAndModuleResolutionHost(E,N,R,j,$){const{compiler:G,compilerOptions:ce,appendTsTsxSuffixesIfRequired:le,loaderOptions:{resolveModuleName:_e,resolveTypeReferenceDirective:Ee}}=R;const Te=ce.newLine===q.CarriageReturnLineFeedCode?q.CarriageReturnLineFeed:ce.newLine===q.LineFeedCode?q.LineFeed:q.EOL;const getCurrentDirectory=()=>N.context;const we=ie.makeResolver(N._compiler.options);const Ie={trace:E=>R.log.log(E),fileExists:j,readFile:readFile,realpath:G.sys.realpath&&realpath,directoryExists:directoryExists,getCurrentDirectory:getCurrentDirectory,getDirectories:getDirectories,readDirectory:readDirectory,useCaseSensitiveFileNames:()=>ae.useCaseSensitiveFileNames(G,R.loaderOptions),getNewLine:()=>Te,getDefaultLibFileName:E=>G.getDefaultLibFilePath(E)};if($){addCache(Ie)}return makeResolvers(G,ce,Ie,Ee,_e,we,le,E,R);function readFile(E,N){return R.compiler.sys.readFile(E,N)||ae.fsReadFile(E,N)}function directoryExists(E){return G.sys.directoryExists(E)}function realpath(E){return G.sys.realpath(E)}function getDirectories(E){return G.sys.getDirectories(E)}function readDirectory(E,N,R,j,$){return G.sys.readDirectory(E,N,R,j,$)}}function makeServicesHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,filePathKeyMapper:ce}=R;const{moduleResolutionHost:le,resolveModuleNames:_e,resolveTypeReferenceDirectives:Ee}=makeResolversAndModuleResolutionHost(E,N,R,(E=>q.sys.fileExists(E)||ae.fsReadFile(E)!==undefined),R.loaderOptions.experimentalFileCaching);const Te=Object.assign(Object.assign({getProjectVersion:()=>`${R.version}`,getProjectReferences:()=>$,getScriptFileNames:()=>[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E))),getScriptVersion:E=>{var N;E=j.normalize(E);const $=ce(E);const q=ie.get($);if(q){return q.version.toString()}const G=(N=R.solutionBuilderHost)===null||N===void 0?void 0:N.getOutputFileAndKeyFromReferencedProject(E);if(G!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(G.key,true)}return G&&G.outputFile?G.outputFile:""},getScriptSnapshot:E=>{E=j.normalize(E);const N=ce(E);let $=ie.get(N);if($===undefined){if(R.solutionBuilderHost){const N=R.solutionBuilderHost.getOutputFileTextAndKeyFromReferencedProject(E);if(N!==undefined){R.solutionBuilderHost.outputAffectingInstanceVersion.set(N.key,true);return N&&N.text!==undefined?q.ScriptSnapshot.fromString(N.text):undefined}}const j=le.readFile(E);if(j===undefined){return undefined}$={fileName:E,version:0,text:j};ie.set(N,$)}return q.ScriptSnapshot.fromString($.text)}},le),{getCompilationSettings:()=>G,log:le.trace,resolveTypeReferenceDirectives:Ee,resolveModuleNames:_e,getCustomTransformers:()=>R.transformers});return Te}N.makeServicesHost=makeServicesHost;function makeResolvers(E,N,R,j,$,q,G,ie,ce){const le=makeResolveModuleName(E,N,R,$,ce);const resolveModuleNames=(E,N,R,j)=>{const $=E.map((E=>resolveModule(q,le,G,ie,E,N,j)));ae.populateDependencyGraph($,ce,N);return $};const _e=makeResolveTypeReferenceDirective(E,N,R,j,ce);const resolveTypeReferenceDirectives=(E,N,R)=>E.map((E=>_e(E,N,R).resolvedTypeReferenceDirective));return{resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,resolveModuleNames:resolveModuleNames,moduleResolutionHost:R}}function createWatchFactory(E,N){const R=new Map;const $=new Map;const q=new Map;return{watchedFiles:R,watchedDirectories:$,watchedDirectoriesRecursive:q,invokeFileWatcher:invokeFileWatcher,watchFile:watchFile,watchDirectory:watchDirectory};function invokeWatcherCallbacks(N,R,j,$){var q;const G=(q=N.get(E(R)))===null||q===void 0?void 0:q.callbacks;if(G!==undefined&&G.length){const E=G.slice();for(const N of E){N(j,$)}return true}return false}function invokeFileWatcher(E,q){E=j.normalize(E);let G=invokeWatcherCallbacks(R,E,E,q);if(q!==N.FileWatcherEventKind.Changed){const N=j.dirname(E);G=invokeWatcherCallbacks($,N,E)||G;G=invokeRecursiveDirectoryWatcher(N,E)||G}return G}``;function invokeRecursiveDirectoryWatcher(E,N){E=j.normalize(E);let R=invokeWatcherCallbacks(q,E,N);const $=j.dirname(E);if(E!==$){R=invokeRecursiveDirectoryWatcher($,N)||R}return R}function createWatcher(N,R,$){const q=E(N);const G=R.get(q);if(G===undefined){R.set(q,{fileName:j.normalize(N),callbacks:[$]})}else{G.callbacks.push($)}return{close:()=>{const E=R.get(q);if(E!==undefined){ae.unorderedRemoveItem(E.callbacks,$);if(!E.callbacks.length){R.delete(q)}}}}}function watchFile(E,N,j){return createWatcher(E,R,N)}function watchDirectory(E,N,R){return createWatcher(E,R===true?q:$,N)}}function updateFileWithText(E,N,R,$){const q=j.normalize(R);const G=E.files.get(N)||E.otherFiles.get(N);if(G!==undefined){const R=$(q);if(R!==G.text){G.text=R;G.version++;G.modifiedTime=new Date;E.version++;if(!E.modifiedFiles){E.modifiedFiles=new Map}E.modifiedFiles.set(N,true);if(E.watchHost!==undefined){E.watchHost.invokeFileWatcher(q,E.compiler.FileWatcherEventKind.Changed)}}}}N.updateFileWithText=updateFileWithText;function makeWatchHost(E,N,R,$){const{compiler:q,compilerOptions:G,files:ie,otherFiles:ae,filePathKeyMapper:ce}=R;const{watchFile:le,watchDirectory:_e,invokeFileWatcher:Ee}=createWatchFactory(ce,q);const{moduleResolutionHost:Te,resolveModuleNames:we,resolveTypeReferenceDirectives:Ie}=makeResolversAndModuleResolutionHost(E,N,R,(E=>ie.has(ce(E))||q.sys.fileExists(E)),R.loaderOptions.experimentalFileCaching);const Ne=Object.assign(Object.assign({rootFiles:getRootFileNames(),options:G},Te),{readFile:readFileWithCachingText,watchFile:(E,N,j,$)=>{var q;const G=(q=R.solutionBuilderHost)===null||q===void 0?void 0:q.getOutputFileKeyFromReferencedProject(E);if(!G||G===ce(E)){return le(E,N,j,$)}const ie=R.solutionBuilderHost.realpath(E);return le(ie,((R,j)=>N(E,j)),j,$)},watchDirectory:_e,resolveTypeReferenceDirectives:Ie,resolveModuleNames:we,invokeFileWatcher:Ee,updateRootFileNames:()=>{R.changedFilesList=false;if(R.watchOfFilesAndCompilerOptions!==undefined){R.watchOfFilesAndCompilerOptions.updateRootFileNames(getRootFileNames())}},createProgram:$===undefined?q.createEmitAndSemanticDiagnosticsBuilderProgram:createBuilderProgramWithReferences,outputFiles:new Map});return Ne;function getRootFileNames(){return[...ie.values()].map((({fileName:E})=>E)).filter((N=>N.match(E)))}function readFileWithCachingText(E,N){var $;E=j.normalize(E);const q=ce(E);const G=ie.get(q)||ae.get(q);if(G!==undefined){return G.text}const le=Te.readFile(E,N);if(le===undefined){return undefined}if(!(($=R.solutionBuilderHost)===null||$===void 0?void 0:$.getOutputFileKeyFromReferencedProject(E))){ae.set(q,{fileName:E,version:0,text:le})}return le}function createBuilderProgramWithReferences(E,N,R,j,G){const ie=q.createProgram({rootNames:E,options:N,host:R,oldProgram:j&&j.getProgram(),configFileParsingDiagnostics:G,projectReferences:$});const ae=R;return q.createEmitAndSemanticDiagnosticsBuilderProgram(ie,ae,j,G)}}N.makeWatchHost=makeWatchHost;const ce=new Date(0);function identity(E){return E}function toLowerCase(E){return E.toLowerCase()}const le=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function toFileNameLowerCase(E){return le.test(E)?E.replace(le,toLowerCase):E}function createGetCanonicalFileName(E){return ae.useCaseSensitiveFileNames(E.compiler,E.loaderOptions)?identity:toFileNameLowerCase}function createModuleResolutionCache(E,N){const R=E.compiler.createModuleResolutionCache(N.getCurrentDirectory(),createGetCanonicalFileName(E),E.compilerOptions);if(!R.clear){R.clear=()=>{R.directoryToModuleNameMap.clear();R.moduleNameToDirectoryMap.clear()}}if(!R.update){R.update=E=>{if(!E.configFile)return;const N={sourceFile:E.configFile,commandLine:{options:E}};R.directoryToModuleNameMap.setOwnMap(R.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(N));R.moduleNameToDirectoryMap.setOwnMap(R.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(N));R.directoryToModuleNameMap.setOwnOptions(E);R.moduleNameToDirectoryMap.setOwnOptions(E)}}return R}function makeSolutionBuilderHost(E,N,R){const{compiler:ie,loaderOptions:{transpileOnly:ae},filePathKeyMapper:le}=R;const _e={getCurrentDirectory:ie.sys.getCurrentDirectory,getCanonicalFileName:createGetCanonicalFileName(R),getNewLine:()=>ie.sys.newLine};const Ee={global:[],perFile:new Map,transpileErrors:[]};const reportDiagnostic=E=>{if(ae){const N=E.file?le(E.file.fileName):undefined;const R=Ee.transpileErrors[Ee.transpileErrors.length-1];if(Ee.transpileErrors.length&&R[0]===N){R[1].push(E)}else{Ee.transpileErrors.push([N,[E]])}}else if(E.file){const N=le(E.file.fileName);const R=Ee.perFile.get(N);if(R){R.push(E)}else{Ee.perFile.set(N,[E])}}else{Ee.global.push(E)}R.log.logInfo(ie.formatDiagnostic(E,_e))};const reportSolutionBuilderStatus=E=>R.log.logInfo(ie.formatDiagnostic(E,_e));const reportWatchStatus=(E,N,j)=>R.log.logInfo(`${ie.flattenDiagnosticMessageText(E.messageText,ie.sys.newLine)}${N+N}`);const Te=new Map;const we=new Map;const Ie=[];const Ne=new Map;let Me;const{resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,moduleResolutionHost:je}=makeResolversAndModuleResolutionHost(E,N,R,(E=>{const N=le(E);return R.files.has(N)||R.otherFiles.has(N)||ie.sys.fileExists(E)}),true);const Ue=new Map;const ze=[];const We=ie.createSolutionBuilderWithWatchHost(ie.sys,ie.createEmitAndSemanticDiagnosticsBuilderProgram,reportDiagnostic,reportSolutionBuilderStatus,reportWatchStatus);const Je=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},We),je),{createProgram:(E,N,j,$,q,G)=>{var ie,ae,ce,le;(ie=R.moduleResolutionCache)===null||ie===void 0?void 0:ie.update(N||{});(ae=R.typeReferenceResolutionCache)===null||ae===void 0?void 0:ae.update(N||{});const _e=We.createProgram(E,N,j,$,q,G);(ce=R.typeReferenceResolutionCache)===null||ce===void 0?void 0:ce.update(R.compilerOptions);(le=R.moduleResolutionCache)===null||le===void 0?void 0:le.update(R.compilerOptions);return _e},resolveModuleNames:Le,resolveTypeReferenceDirectives:Be,diagnostics:Ee}),createWatchFactory(le,ie)),{writeFile:(E,N,j)=>{var $;const q=le(E);updateFileWithText(R,q,E,(()=>N));const G=ensureOutputFile(E);const ae=hashOutputText(N);Te.set(q,ae);Ie.push({name:E,text:N,writeByteOrderMark:!!j});ie.sys.writeFile(E,N,j);($=je.fileExistsCache)===null||$===void 0?void 0:$.delete(E);if(Ne.has(q)&&(!G||G!==ae)){R.version++}if(R.watchHost&&!R.files.has(q)&&!R.otherFiles.has(q)){if(!G){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Created)||R.hasUnaccountedModifiedFiles}else if(G!==ae){R.hasUnaccountedModifiedFiles=R.watchHost.invokeFileWatcher(E,ie.FileWatcherEventKind.Changed)||R.hasUnaccountedModifiedFiles}}},createDirectory:We.createDirectory&&(E=>{var N;We.createDirectory(E);(N=je.directoryExistsCache)===null||N===void 0?void 0:N.delete(E)}),afterProgramEmitAndDiagnostics:ae?undefined:storeDtsFiles,setTimeout:(E,N,...R)=>{Me=[E,R];return Me},clearTimeout:E=>{Me=undefined},getParsedCommandLine:E=>{const N=$.getParsedCommandLine(ie,R.loaderOptions,E);Ue.set(le(E),{config:N});return N},writtenFiles:Ie,configFileInfo:Ue,outputAffectingInstanceVersion:Ne,getInputFileStamp:getInputFileStamp,updateSolutionBuilderInputFile:updateSolutionBuilderInputFile,getOutputFileKeyFromReferencedProject:getOutputFileKeyFromReferencedProject,getOutputFileAndKeyFromReferencedProject:getOutputFileAndKeyFromReferencedProject,getOutputFileTextAndKeyFromReferencedProject:getOutputFileTextAndKeyFromReferencedProject,getInputFileNameFromOutput:E=>{const N=getInputFileNameFromOutput(E);return typeof N==="string"?N:undefined},getOutputFilesFromReferencedProjectInput:getOutputFilesFromReferencedProjectInput,buildReferences:buildReferences,ensureAllReferenceTimestamps:ensureAllReferenceTimestamps,clearCache:clearCache,close:close});return Je;function close(){ze.slice().forEach((E=>E.close()))}function clearCache(){je.clearCache();Te.clear();we.clear()}function buildReferences(){if(!Me){ensureAllReferenceTimestamps();return}Ee.global.length=0;Ee.perFile.clear();Ee.transpileErrors.length=0;while(Me){const[E,N]=Me;Me=undefined;E(...N)}ensureAllReferenceTimestamps()}function ensureAllReferenceTimestamps(){if(we.size!==Je.watchedFiles.size){for(const{fileName:E}of R.solutionBuilderHost.watchedFiles.values()){R.solutionBuilderHost.getInputFileStamp(E)}}}function storeDtsFiles(E){const N=E.getProgram();for(const E of Ue.values()){if(!E.config||N.getRootFileNames()!==E.config.fileNames||N.getCompilerOptions()!==E.config.options||N.getProjectReferences()!==E.config.projectReferences){continue}E.dtsFiles=N.getSourceFiles().map((E=>j.resolve(E.fileName))).filter((E=>E.match(q.dtsDtsxOrDtsDtsxMapRegex)));return}}function getInputFileNameFromOutput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){for(const{inputFileName:R,outputNames:j}of E.outputFileNames.values()){if(j.some((E=>N===le(E)))){return R}}}if(E.tsbuildInfoFile&&le(E.tsbuildInfoFile)===N){return true}}const R=Je.realpath(E);return le(R)!==N?getInputFileNameFromOutput(R):undefined}function ensureInputOutputInfo(E){if(E.outputFileNames||!E.config){return}E.outputFileNames=new Map;E.config.fileNames.forEach((N=>E.outputFileNames.set(le(N),{inputFileName:j.resolve(N),outputNames:G.getOutputFileNames(R,E.config,N)})));E.tsbuildInfoFile=R.compiler.getTsBuildInfoEmitOutputFilePath?R.compiler.getTsBuildInfoEmitOutputFilePath(E.config.options):R.compiler.getOutputPathForBuildInfo(E.config.options)}function getOutputFileAndKeyFromReferencedProject(E){const N=ensureOutputFile(E);return N!==undefined?{key:getOutputFileKeyFromReferencedProject(E),outputFile:N}:undefined}function getOutputFileTextAndKeyFromReferencedProject(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Ie.find((E=>le(E.name)===N));if(R){return{key:N,text:R.text}}const j=Te.get(N);return{key:N,text:j!==false?ie.sys.readFile(E):undefined}}function getOutputFileKeyFromReferencedProject(E){const N=le(E);if(Te.has(N))return N;const R=le(Je.realpath(E));if(R!==N&&Te.has(R))return R;return getInputFileNameFromOutput(E)?R:undefined}function hashOutputText(E){return ie.sys.createHash?ie.sys.createHash(E):E}function ensureOutputFile(E){const N=getOutputFileKeyFromReferencedProject(E);if(!N){return undefined}const R=Te.get(N);if(R!==undefined){return R}if(!getInputFileNameFromOutput(E)){return undefined}const j=ie.sys.readFile(E);const $=j===undefined?false:hashOutputText(j);Te.set(N,$);return $}function getTypeScriptOutputFile(E){const N=le(E);const R=Ie.find((E=>le(E.name)===N));if(R)return R;const j=ie.sys.readFile(E);return j!==undefined?{name:E,text:j,writeByteOrderMark:false}:undefined}function getOutputFilesFromReferencedProjectInput(E){const N=le(E);for(const E of Ue.values()){ensureInputOutputInfo(E);if(E.outputFileNames){const R=E.outputFileNames.get(N);if(R){return R.outputNames.map(getTypeScriptOutputFile).filter((E=>!!E))}}}return[]}function getInputFileStamp(E){const N=le(E);const R=we.get(N);if(R!==undefined){return R}const j=ie.sys.getModifiedTime(E)||ce;we.set(N,j);return j}function updateSolutionBuilderInputFile(E){const N=le(E);const R=we.get(N)||ce;const j=ie.sys.getModifiedTime(E)||ce;if(R.getTime()===j.getTime()){return}const $=R==ce?ie.FileWatcherEventKind.Created:j===ce?ie.FileWatcherEventKind.Deleted:ie.FileWatcherEventKind.Changed;Je.invokeFileWatcher(E,$)}}N.makeSolutionBuilderHost=makeSolutionBuilderHost;function getSolutionErrors(E,N){const R=[];if(E.solutionBuilderHost&&E.solutionBuilderHost.diagnostics.transpileErrors.length){E.solutionBuilderHost.diagnostics.transpileErrors.forEach((([j,$])=>R.push(...ae.formatErrors($,E.loaderOptions,E.colors,E.compiler,{file:j?undefined:"tsconfig.json"},N))))}return R}N.getSolutionErrors=getSolutionErrors;function makeResolveTypeReferenceDirective(E,N,R,j,$){var q,G;if(j===undefined){if(E.createTypeReferenceDirectiveResolutionCache&&!$.typeReferenceResolutionCache){$.typeReferenceResolutionCache=E.createTypeReferenceDirectiveResolutionCache(R.getCurrentDirectory(),createGetCanonicalFileName($),$.compilerOptions,(G=(q=$.moduleResolutionCache)===null||q===void 0?void 0:q.getPackageJsonInfoCache)===null||G===void 0?void 0:G.call(q))}return(j,q,G)=>E.resolveTypeReferenceDirective(j,q,N,R,G,$.typeReferenceResolutionCache)}return($,q)=>j($,q,N,R,E.resolveTypeReferenceDirective)}function isJsImplementationOfTypings(E,N){return E.resolvedFileName.endsWith("js")&&/\.d\.ts$/.test(N.resolvedFileName)}function resolveModule(E,N,R,$,q,G,ie){let ae;try{const N=E(undefined,j.normalize(j.dirname(G)),q);const ie=R(N);if(ie.match($)!==null){ae={resolvedFileName:ie,originalFileName:N}}}catch(E){}const ce=N(q,G,ie);if(ce.resolvedModule!==undefined){const E=j.normalize(ce.resolvedModule.resolvedFileName);const N=Object.assign(Object.assign({},ce.resolvedModule),{originalFileName:E,resolvedFileName:E});return ae===undefined||ae.resolvedFileName===N.resolvedFileName||isJsImplementationOfTypings(ae,N)?N:ae}return ae}function makeResolveModuleName(E,N,R,j,$){if(j===undefined){if(!$.moduleResolutionCache){$.moduleResolutionCache=createModuleResolutionCache($,R)}return(j,q,G)=>E.resolveModuleName(j,q,N,R,$.moduleResolutionCache,G)}return($,q)=>j($,q,N,R,E.resolveModuleName)}function addCache(E){E.fileExists=createCache(E.fileExists,E.fileExistsCache=new Map);E.directoryExists=createCache(E.directoryExists,E.directoryExistsCache=new Map);E.realpath=E.realpath&&createCache(E.realpath,E.realpathCache=new Map);E.clearCache=clearCache;function createCache(E,N){return function getCached(R){let j=N.get(R);if(j!==undefined){return j}j=E(R);N.set(R,j);return j}}function clearCache(){var N,R,j;(N=E.fileExistsCache)===null||N===void 0?void 0:N.clear();(R=E.directoryExistsCache)===null||R===void 0?void 0:R.clear();(j=E.realpathCache)===null||j===void 0?void 0:j.clear()}}},38001:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.useCaseSensitiveFileNames=N.isReferencedFile=N.supportsSolutionBuild=N.ensureProgram=N.arrify=N.collectAllDependants=N.populateReverseDependencyGraph=N.populateDependencyGraph=N.unorderedRemoveItem=N.appendSuffixesIfMatch=N.appendSuffixIfMatch=N.tsLoaderSource=N.makeError=N.fsReadFile=N.formatErrors=void 0;const j=R(57147);const $=R(44930);const q=R(71017);const G=R(69635);const ie=R(90557);function defaultErrorFormatter(E,N){const R=E.severity==="warning"?N.bold.yellow:N.bold.red;return N.grey("[tsl] ")+R(E.severity.toUpperCase())+(E.file===""?"":R(" in ")+N.bold.cyan(`${E.file}(${E.line},${E.character})`))+G.EOL+R(` TS${E.code}: ${E.content}`)}function formatErrors(E,N,R,j,ie,ae){return E===undefined?[]:E.filter((E=>{if(N.ignoreDiagnostics.indexOf(E.code)!==-1){return false}if(N.reportFiles.length>0&&E.file!==undefined){const R=q.relative(ae,E.file.fileName);const j=$([R],N.reportFiles);if(j.length===0){return false}}return true})).map((E=>{const $=E.file;const{start:ce,end:le}=$===undefined||E.start===undefined?{start:undefined,end:undefined}:getFileLocations($,E.start,E.length);const _e={code:E.code,severity:j.DiagnosticCategory[E.category].toLowerCase(),content:j.flattenDiagnosticMessageText(E.messageText,G.EOL),file:$===undefined?"":q.normalize($.fileName),line:ce===undefined?0:ce.line,character:ce===undefined?0:ce.character,context:ae};const Ee=N.errorFormatter===undefined?defaultErrorFormatter(_e,R):N.errorFormatter(_e,R);const Te=makeError(N,Ee,ie.file===undefined?_e.file:ie.file,ce,le);return Object.assign(Te,ie)}))}N.formatErrors=formatErrors;function getFileLocations(E,N,R=0){const j=E.getLineAndCharacterOfPosition(N);const $={line:j.line+1,character:j.character+1};const q=R>0?E.getLineAndCharacterOfPosition(N+R):undefined;const G=q===undefined?undefined:{line:q.line+1,character:q.character+1};return{start:$,end:G}}function fsReadFile(E,N="utf8"){E=q.normalize(E);try{return j.readFileSync(E,N)}catch(E){return undefined}}N.fsReadFile=fsReadFile;function makeError(E,N,R,j,$){return{message:N,file:R,loc:j===undefined?undefined:makeWebpackLocation(j,$),location:j,loaderSource:tsLoaderSource(E)}}N.makeError=makeError;function makeWebpackLocation(E,N){const R={line:E.line,column:E.character-1};const j=N===undefined?undefined:{line:N.line,column:N.character-1};return{start:R,end:j}}function tsLoaderSource(E){return`ts-loader-${E.instance}`}N.tsLoaderSource=tsLoaderSource;function appendSuffixIfMatch(E,N,R){if(E.length>0){for(const j of E){if(N.match(j)!==null){return N+R}}}return N}N.appendSuffixIfMatch=appendSuffixIfMatch;function appendSuffixesIfMatch(E,N){let R=N;for(const N in E){R=appendSuffixIfMatch(E[N],R,N)}return R}N.appendSuffixesIfMatch=appendSuffixesIfMatch;function unorderedRemoveItem(E,N){for(let R=0;RE!==null&&E!==undefined));if(E.length){const j=N.filePathKeyMapper(R);N.dependencyGraph.set(j,E)}}N.populateDependencyGraph=populateDependencyGraph;function populateReverseDependencyGraph(E){const N=new Map;for(const[R,j]of E.dependencyGraph.entries()){const $=E.solutionBuilderHost&&ie.getInputFileNameFromOutput(E,R);const q=$?E.filePathKeyMapper($):R;j.forEach((({resolvedFileName:R})=>{const j=E.filePathKeyMapper(E.solutionBuilderHost?ie.getInputFileNameFromOutput(E,R)||R:R);let $=N.get(j);if(!$){$=new Map;N.set(j,$)}$.set(q,true)}))}return N}N.populateReverseDependencyGraph=populateReverseDependencyGraph;function collectAllDependants(E,N,R=new Map){R.set(N,true);const j=E.get(N);if(j!==undefined){for(const N of j.keys()){if(!R.has(N)){collectAllDependants(E,N,R)}}}return R}N.collectAllDependants=collectAllDependants;function arrify(E){if(E===null||E===undefined){return[]}return Array.isArray(E)?E:[E]}N.arrify=arrify;function ensureProgram(E){if(E&&E.watchHost){if(E.hasUnaccountedModifiedFiles){if(E.changedFilesList){E.watchHost.updateRootFileNames()}if(E.watchOfFilesAndCompilerOptions){E.builderProgram=E.watchOfFilesAndCompilerOptions.getProgram();E.program=E.builderProgram.getProgram()}E.hasUnaccountedModifiedFiles=false}return E.program}if(E.languageService){return E.languageService.getProgram()}return E.program}N.ensureProgram=ensureProgram;function supportsSolutionBuild(E){return!!E.configFilePath&&!!E.loaderOptions.projectReferences&&!!E.configParseResult.projectReferences&&!!E.configParseResult.projectReferences.length}N.supportsSolutionBuild=supportsSolutionBuild;function isReferencedFile(E,N){return!!E.solutionBuilderHost&&!!E.solutionBuilderHost.watchedFiles.get(E.filePathKeyMapper(N))}N.isReferencedFile=isReferencedFile;function useCaseSensitiveFileNames(E,N){return N.useCaseSensitiveFileNames!==undefined?N.useCaseSensitiveFileNames:E.sys.useCaseSensitiveFileNames}N.useCaseSensitiveFileNames=useCaseSensitiveFileNames},80573:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.makeWatchRun=void 0;const j=R(71017);const $=R(69635);const q=R(9674);const G=R(38001);function makeWatchRun(E,N){const R=new Map;const j=0;const q=N.loaderIndex;return(G,ie)=>{var ae,ce,le,_e,Ee,Te;(ce=(ae=E.servicesHost)===null||ae===void 0?void 0:ae.clearCache)===null||ce===void 0?void 0:ce.call(ae);(_e=(le=E.watchHost)===null||le===void 0?void 0:le.clearCache)===null||_e===void 0?void 0:_e.call(le);(Ee=E.moduleResolutionCache)===null||Ee===void 0?void 0:Ee.clear();(Te=E.typeReferenceResolutionCache)===null||Te===void 0?void 0:Te.clear();const we=[];if(E.loaderOptions.transpileOnly){E.reportTranspileErrors=true}else{const ie=G.fileTimestamps;for(const[$,G]of ie){const ie=E.filePathKeyMapper($);const ae=R.get(ie)||j;if(G<=ae){continue}R.set(ie,G);we.push(updateFile(E,ie,$,N,q))}for(const[R,{fileName:j}]of E.files.entries()){if(j.match($.dtsDtsxOrDtsDtsxMapRegex)!==null&&j.match($.nodeModules)===null){we.push(updateFile(E,R,j,N,q))}}}if(E.solutionBuilderHost){for(const{fileName:N}of E.solutionBuilderHost.watchedFiles.values()){E.solutionBuilderHost.updateSolutionBuilderInputFile(N)}E.solutionBuilderHost.clearCache()}Promise.all(we).then((()=>ie())).catch((E=>ie(E)))}}N.makeWatchRun=makeWatchRun;function updateFile(E,N,R,$,ie){return new Promise(((ae,ce)=>{if(ie+1<$.loaders.length&&E.rootFileNames.has(j.normalize(R))){let G=`!!${j.resolve(__dirname,"stringify-loader.js")}!`;for(let E=ie+1;E<$.loaders.length;++E){G+=$.loaders[E].request+"!"}G+=R;$.loadModule(G,((j,$)=>{if(j){ce(j)}else{const j=JSON.parse($);q.updateFileWithText(E,N,R,(()=>j));ae()}}))}else{q.updateFileWithText(E,N,R,(E=>G.fsReadFile(E)||""));ae()}}))}},82070:(E,N,R)=>{var j=R(32956);E.exports=j},4822:(E,N,R)=>{"use strict";const j=R(13819);const $=R(59153);const q=R(64455);const G=R(82806);const braces=(E,N={})=>{let R=[];if(Array.isArray(E)){for(let j of E){let E=braces.create(j,N);if(Array.isArray(E)){R.push(...E)}else{R.push(E)}}}else{R=[].concat(braces.create(E,N))}if(N&&N.expand===true&&N.nodupes===true){R=[...new Set(R)]}return R};braces.parse=(E,N={})=>G(E,N);braces.stringify=(E,N={})=>{if(typeof E==="string"){return j(braces.parse(E,N),N)}return j(E,N)};braces.compile=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}return $(E,N)};braces.expand=(E,N={})=>{if(typeof E==="string"){E=braces.parse(E,N)}let R=q(E,N);if(N.noempty===true){R=R.filter(Boolean)}if(N.nodupes===true){R=[...new Set(R)]}return R};braces.create=(E,N={})=>{if(E===""||E.length<3){return[E]}return N.expand!==true?braces.compile(E,N):braces.expand(E,N)};E.exports=braces},59153:(E,N,R)=>{"use strict";const j=R(12710);const $=R(82875);const compile=(E,N={})=>{let walk=(E,R={})=>{let q=$.isInvalidBrace(R);let G=E.invalid===true&&N.escapeInvalid===true;let ie=q===true||G===true;let ae=N.escapeInvalid===true?"\\":"";let ce="";if(E.isOpen===true){return ae+E.value}if(E.isClose===true){return ae+E.value}if(E.type==="open"){return ie?ae+E.value:"("}if(E.type==="close"){return ie?ae+E.value:")"}if(E.type==="comma"){return E.prev.type==="comma"?"":ie?E.value:"|"}if(E.value){return E.value}if(E.nodes&&E.ranges>0){let R=$.reduce(E.nodes);let q=j(...R,{...N,wrap:false,toRegex:true});if(q.length!==0){return R.length>1&&q.length>1?`(${q})`:q}}if(E.nodes){for(let N of E.nodes){ce+=walk(N,E)}}return ce};return walk(E)};E.exports=compile},43783:E=>{"use strict";E.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},64455:(E,N,R)=>{"use strict";const j=R(12710);const $=R(13819);const q=R(82875);const append=(E="",N="",R=false)=>{let j=[];E=[].concat(E);N=[].concat(N);if(!N.length)return E;if(!E.length){return R?q.flatten(N).map((E=>`{${E}}`)):N}for(let $ of E){if(Array.isArray($)){for(let E of $){j.push(append(E,N,R))}}else{for(let E of N){if(R===true&&typeof E==="string")E=`{${E}}`;j.push(Array.isArray(E)?append($,E,R):$+E)}}}return q.flatten(j)};const expand=(E,N={})=>{let R=N.rangeLimit===void 0?1e3:N.rangeLimit;let walk=(E,G={})=>{E.queue=[];let ie=G;let ae=G.queue;while(ie.type!=="brace"&&ie.type!=="root"&&ie.parent){ie=ie.parent;ae=ie.queue}if(E.invalid||E.dollar){ae.push(append(ae.pop(),$(E,N)));return}if(E.type==="brace"&&E.invalid!==true&&E.nodes.length===2){ae.push(append(ae.pop(),["{}"]));return}if(E.nodes&&E.ranges>0){let G=q.reduce(E.nodes);if(q.exceedsLimit(...G,N.step,R)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let ie=j(...G,N);if(ie.length===0){ie=$(E,N)}ae.push(append(ae.pop(),ie));E.nodes=[];return}let ce=q.encloseBrace(E);let le=E.queue;let _e=E;while(_e.type!=="brace"&&_e.type!=="root"&&_e.parent){_e=_e.parent;le=_e.queue}for(let N=0;N{"use strict";const j=R(13819);const{MAX_LENGTH:$,CHAR_BACKSLASH:q,CHAR_BACKTICK:G,CHAR_COMMA:ie,CHAR_DOT:ae,CHAR_LEFT_PARENTHESES:ce,CHAR_RIGHT_PARENTHESES:le,CHAR_LEFT_CURLY_BRACE:_e,CHAR_RIGHT_CURLY_BRACE:Ee,CHAR_LEFT_SQUARE_BRACKET:Te,CHAR_RIGHT_SQUARE_BRACKET:we,CHAR_DOUBLE_QUOTE:Ie,CHAR_SINGLE_QUOTE:Ne,CHAR_NO_BREAK_SPACE:Me,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Le}=R(43783);const parse=(E,N={})=>{if(typeof E!=="string"){throw new TypeError("Expected a string")}let R=N||{};let Be=typeof R.maxLength==="number"?Math.min($,R.maxLength):$;if(E.length>Be){throw new SyntaxError(`Input length (${E.length}), exceeds max characters (${Be})`)}let je={type:"root",input:E,nodes:[]};let Ue=[je];let ze=je;let We=je;let Je=0;let Ve=E.length;let qe=0;let He=0;let Ge;let Ke={};const advance=()=>E[qe++];const push=E=>{if(E.type==="text"&&We.type==="dot"){We.type="text"}if(We&&We.type==="text"&&E.type==="text"){We.value+=E.value;return}ze.nodes.push(E);E.parent=ze;E.prev=We;We=E;return E};push({type:"bos"});while(qe0){if(ze.ranges>0){ze.ranges=0;let E=ze.nodes.shift();ze.nodes=[E,{type:"text",value:j(ze)}]}push({type:"comma",value:Ge});ze.commas++;continue}if(Ge===ae&&He>0&&ze.commas===0){let E=ze.nodes;if(He===0||E.length===0){push({type:"text",value:Ge});continue}if(We.type==="dot"){ze.range=[];We.value+=Ge;We.type="range";if(ze.nodes.length!==3&&ze.nodes.length!==5){ze.invalid=true;ze.ranges=0;We.type="text";continue}ze.ranges++;ze.args=[];continue}if(We.type==="range"){E.pop();let N=E[E.length-1];N.value+=We.value+Ge;We=N;ze.ranges--;continue}push({type:"dot",value:Ge});continue}push({type:"text",value:Ge})}do{ze=Ue.pop();if(ze.type!=="root"){ze.nodes.forEach((E=>{if(!E.nodes){if(E.type==="open")E.isOpen=true;if(E.type==="close")E.isClose=true;if(!E.nodes)E.type="text";E.invalid=true}}));let E=Ue[Ue.length-1];let N=E.nodes.indexOf(ze);E.nodes.splice(N,1,...ze.nodes)}}while(Ue.length>0);push({type:"eos"});return je};E.exports=parse},13819:(E,N,R)=>{"use strict";const j=R(82875);E.exports=(E,N={})=>{let stringify=(E,R={})=>{let $=N.escapeInvalid&&j.isInvalidBrace(R);let q=E.invalid===true&&N.escapeInvalid===true;let G="";if(E.value){if(($||q)&&j.isOpenOrClose(E)){return"\\"+E.value}return E.value}if(E.value){return E.value}if(E.nodes){for(let N of E.nodes){G+=stringify(N)}}return G};return stringify(E)}},82875:(E,N)=>{"use strict";N.isInteger=E=>{if(typeof E==="number"){return Number.isInteger(E)}if(typeof E==="string"&&E.trim()!==""){return Number.isInteger(Number(E))}return false};N.find=(E,N)=>E.nodes.find((E=>E.type===N));N.exceedsLimit=(E,R,j=1,$)=>{if($===false)return false;if(!N.isInteger(E)||!N.isInteger(R))return false;return(Number(R)-Number(E))/Number(j)>=$};N.escapeNode=(E,N=0,R)=>{let j=E.nodes[N];if(!j)return;if(R&&j.type===R||j.type==="open"||j.type==="close"){if(j.escaped!==true){j.value="\\"+j.value;j.escaped=true}}};N.encloseBrace=E=>{if(E.type!=="brace")return false;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}return false};N.isInvalidBrace=E=>{if(E.type!=="brace")return false;if(E.invalid===true||E.dollar)return true;if(E.commas>>0+E.ranges>>0===0){E.invalid=true;return true}if(E.open!==true||E.close!==true){E.invalid=true;return true}return false};N.isOpenOrClose=E=>{if(E.type==="open"||E.type==="close"){return true}return E.open===true||E.close===true};N.reduce=E=>E.reduce(((E,N)=>{if(N.type==="text")E.push(N.value);if(N.type==="range")N.type="text";return E}),[]);N.flatten=(...E)=>{const N=[];const flat=E=>{for(let R=0;R{"use strict";const j=R(28194);const $=R(37575);E.exports=class AliasFieldPlugin{constructor(E,N,R){this.source=E;this.field=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AliasFieldPlugin",((R,q,G)=>{if(!R.descriptionFileData)return G();const ie=$(E,R);if(!ie)return G();const ae=j.getField(R.descriptionFileData,this.field);if(typeof ae!=="object"){if(q.log)q.log("Field '"+this.field+"' doesn't contain a valid alias configuration");return G()}const ce=ae[ie];const le=ae[ie.replace(/^\.\//,"")];const _e=typeof ce!=="undefined"?ce:le;if(_e===ie)return G();if(_e===undefined)return G();if(_e===false){const E=Object.assign({},R,{path:false});return G(null,E)}const Ee=Object.assign({},R,{path:R.descriptionFileRoot,request:_e});E.doResolve(N,Ee,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ie+"' to '"+_e+"'",q,((E,N)=>{if(E)return G(E);if(N===undefined)return G(null,null);G(null,N)}))}))}}},71648:E=>{"use strict";function startsWith(E,N){const R=E.length;const j=N.length;if(j>R){return false}let $=-1;while(++${const q=R.request||R.path;if(!q)return $();for(const G of this.options){if(q===G.name||!G.onlyModule&&startsWith(q,G.name+"/")){if(q!==G.alias&&!startsWith(q,G.alias+"/")){const ie=G.alias+q.substr(G.name.length);const ae=Object.assign({},R,{request:ie});return E.doResolve(N,ae,"aliased with mapping '"+G.name+"': '"+G.alias+"' to '"+ie+"'",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}}}return $()}))}}},63554:E=>{"use strict";E.exports=class AppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("AppendPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:R.path+this.appending,relativePath:R.relativePath&&R.relativePath+this.appending});E.doResolve(N,q,this.appending,j,$)}))}}},87507:E=>{"use strict";class Storage{constructor(E){this.duration=E;this.running=new Map;this.data=new Map;this.levels=[];if(E>0){this.levels.push(new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set,new Set);for(let N=8e3;N0&&!this.nextTick)this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length))}finished(E,N,R){const j=this.running.get(E);this.running.delete(E);if(this.duration>0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}for(let E=0;E0){this.data.set(E,[N,R]);const j=this.levels[0];this.count-=j.size;j.add(E);this.count+=j.size;this.ensureTick()}}provide(E,N,R){if(typeof E!=="string"){R(new TypeError("path must be a string"));return}let j=this.running.get(E);if(j){j.push(R);return}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){return process.nextTick((()=>{R.apply(null,N)}))}}this.running.set(E,j=[R]);N(E,((N,R)=>{this.finished(E,N,R)}))}provideSync(E,N){if(typeof E!=="string"){throw new TypeError("path must be a string")}if(this.duration>0){this.checkTicks();const N=this.data.get(E);if(N){if(N[0])throw N[0];return N[1]}}let R;try{R=N(E)}catch(N){this.finishedSync(E,N);throw N}this.finishedSync(E,null,R);return R}tick(){const E=this.levels.pop();for(let N of E){this.data.delete(N)}this.count-=E.size;E.clear();this.levels.unshift(E);if(this.count===0){clearInterval(this.interval);this.interval=null;this.nextTick=null;return true}else if(this.nextTick){this.nextTick+=Math.floor(this.duration/this.levels.length);const E=(new Date).getTime();if(this.nextTick>E){this.nextTick=null;this.interval=setInterval(this.tick,Math.floor(this.duration/this.levels.length));return true}}else if(this.passive){clearInterval(this.interval);this.interval=null;this.nextTick=(new Date).getTime()+Math.floor(this.duration/this.levels.length)}else{this.passive=true}}checkTicks(){this.passive=false;if(this.nextTick){while(!this.tick());}}purge(E){if(!E){this.count=0;clearInterval(this.interval);this.nextTick=null;this.data.clear();this.levels.forEach((E=>{E.clear()}))}else if(typeof E==="string"){for(let N of this.data.keys()){if(N.startsWith(E))this.data.delete(N)}}else{for(let N=E.length-1;N>=0;N--){this.purge(E[N])}}}}E.exports=class CachedInputFileSystem{constructor(E,N){this.fileSystem=E;this._statStorage=new Storage(N);this._readdirStorage=new Storage(N);this._readFileStorage=new Storage(N);this._readJsonStorage=new Storage(N);this._readlinkStorage=new Storage(N);this._stat=this.fileSystem.stat?this.fileSystem.stat.bind(this.fileSystem):null;if(!this._stat)this.stat=null;this._statSync=this.fileSystem.statSync?this.fileSystem.statSync.bind(this.fileSystem):null;if(!this._statSync)this.statSync=null;this._readdir=this.fileSystem.readdir?this.fileSystem.readdir.bind(this.fileSystem):null;if(!this._readdir)this.readdir=null;this._readdirSync=this.fileSystem.readdirSync?this.fileSystem.readdirSync.bind(this.fileSystem):null;if(!this._readdirSync)this.readdirSync=null;this._readFile=this.fileSystem.readFile?this.fileSystem.readFile.bind(this.fileSystem):null;if(!this._readFile)this.readFile=null;this._readFileSync=this.fileSystem.readFileSync?this.fileSystem.readFileSync.bind(this.fileSystem):null;if(!this._readFileSync)this.readFileSync=null;if(this.fileSystem.readJson){this._readJson=this.fileSystem.readJson.bind(this.fileSystem)}else if(this.readFile){this._readJson=(E,N)=>{this.readFile(E,((E,R)=>{if(E)return N(E);let j;try{j=JSON.parse(R.toString("utf-8"))}catch(E){return N(E)}N(null,j)}))}}else{this.readJson=null}if(this.fileSystem.readJsonSync){this._readJsonSync=this.fileSystem.readJsonSync.bind(this.fileSystem)}else if(this.readFileSync){this._readJsonSync=E=>{const N=this.readFileSync(E);const R=JSON.parse(N.toString("utf-8"));return R}}else{this.readJsonSync=null}this._readlink=this.fileSystem.readlink?this.fileSystem.readlink.bind(this.fileSystem):null;if(!this._readlink)this.readlink=null;this._readlinkSync=this.fileSystem.readlinkSync?this.fileSystem.readlinkSync.bind(this.fileSystem):null;if(!this._readlinkSync)this.readlinkSync=null}stat(E,N){this._statStorage.provide(E,this._stat,N)}readdir(E,N){this._readdirStorage.provide(E,this._readdir,N)}readFile(E,N){this._readFileStorage.provide(E,this._readFile,N)}readJson(E,N){this._readJsonStorage.provide(E,this._readJson,N)}readlink(E,N){this._readlinkStorage.provide(E,this._readlink,N)}statSync(E){return this._statStorage.provideSync(E,this._statSync)}readdirSync(E){return this._readdirStorage.provideSync(E,this._readdirSync)}readFileSync(E){return this._readFileStorage.provideSync(E,this._readFileSync)}readJsonSync(E){return this._readJsonStorage.provideSync(E,this._readJsonSync)}readlinkSync(E){return this._readlinkStorage.provideSync(E,this._readlinkSync)}purge(E){this._statStorage.purge(E);this._readdirStorage.purge(E);this._readFileStorage.purge(E);this._readlinkStorage.purge(E);this._readJsonStorage.purge(E)}}},54428:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(13457);E.exports=class ConcordExtensionsPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordExtensionsPlugin",((R,G,ie)=>{const ae=$.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=j.getExtensions(R.context,ae);if(!ce)return ie();q(ce,((j,$)=>{const q=Object.assign({},R,{path:R.path+j,relativePath:R.relativePath&&R.relativePath+j});E.doResolve(N,q,"concord extension: "+j,G,$)}),((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},13483:(E,N,R)=>{"use strict";const j=R(71017);const $=R(34164);const q=R(28194);E.exports=class ConcordMainPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordMainPlugin",((R,G,ie)=>{if(R.path!==R.descriptionFileRoot)return ie();const ae=q.getField(R.descriptionFileData,"concord");if(!ae)return ie();const ce=$.getMain(R.context,ae);if(!ce)return ie();const le=Object.assign({},R,{request:ce});const _e=j.basename(R.descriptionFilePath);return E.doResolve(N,le,"use "+ce+" from "+_e,G,ie)}))}}},12379:(E,N,R)=>{"use strict";const j=R(34164);const $=R(28194);const q=R(37575);E.exports=class ConcordModulesPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ConcordModulesPlugin",((R,G,ie)=>{const ae=q(E,R);if(!ae)return ie();const ce=$.getField(R.descriptionFileData,"concord");if(!ce)return ie();const le=j.matchModule(R.context,ce,ae);if(le===ae)return ie();if(le===undefined)return ie();if(le===false){const E=Object.assign({},R,{path:false});return ie(null,E)}const _e=Object.assign({},R,{path:R.descriptionFileRoot,request:le});E.doResolve(N,_e,"aliased from description file "+R.descriptionFilePath+" with mapping '"+ae+"' to '"+le+"'",G,((E,N)=>{if(E)return ie(E);if(N===undefined)return ie(null,null);ie(null,N)}))}))}}},61878:(E,N,R)=>{"use strict";const j=R(28194);E.exports=class DescriptionFilePlugin{constructor(E,N,R){this.source=E;this.filenames=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DescriptionFilePlugin",((R,$,q)=>{const G=R.path;j.loadDescriptionFile(E,G,this.filenames,$,((j,ie)=>{if(j)return q(j);if(!ie){if($.missing){this.filenames.forEach((N=>{$.missing.add(E.join(G,N))}))}if($.log)$.log("No description file found");return q()}const ae="."+R.path.substr(ie.directory.length).replace(/\\/g,"/");const ce=Object.assign({},R,{descriptionFilePath:ie.path,descriptionFileData:ie.content,descriptionFileRoot:ie.directory,relativePath:ae});E.doResolve(N,ce,"using description file: "+ie.path+" (relative path: "+ae+")",$,((E,N)=>{if(E)return q(E);if(N===undefined)return q(null,null);q(null,N)}))}))}))}}},28194:(E,N,R)=>{"use strict";const j=R(13457);function loadDescriptionFile(E,N,R,$,q){(function findDescriptionFile(){j(R,((R,j)=>{const q=E.join(N,R);if(E.fileSystem.readJson){E.fileSystem.readJson(q,((E,N)=>{if(E){if(typeof E.code!=="undefined")return j();return onJson(E)}onJson(null,N)}))}else{E.fileSystem.readFile(q,((E,N)=>{if(E)return j();let R;try{R=JSON.parse(N)}catch(E){onJson(E)}onJson(null,R)}))}function onJson(E,R){if(E){if($.log)$.log(q+" (directory description file): "+E);else E.message=q+" (directory description file): "+E;return j(E)}j(null,{content:R,directory:N,path:q})}}),((E,R)=>{if(E)return q(E);if(R){return q(null,R)}else{N=cdUp(N);if(!N){return q()}else{return findDescriptionFile()}}}))})()}function getField(E,N){if(!E)return undefined;if(Array.isArray(N)){let R=E;for(let E=0;E{"use strict";E.exports=class DirectoryExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("DirectoryExistsPlugin",((R,j,$)=>{const q=E.fileSystem;const G=R.path;q.stat(G,((q,ie)=>{if(q||!ie){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" doesn't exist");return $()}if(!ie.isDirectory()){if(j.missing)j.missing.add(G);if(j.log)j.log(G+" is not a directory");return $()}E.doResolve(N,R,"existing directory",j,$)}))}))}}},37841:E=>{"use strict";E.exports=class FileExistsPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("FileExistsPlugin",((j,$,q)=>{const G=j.path;R.stat(G,((R,ie)=>{if(R||!ie){if($.missing)$.missing.add(G);if($.log)$.log(G+" doesn't exist");return q()}if(!ie.isFile()){if($.missing)$.missing.add(G);if($.log)$.log(G+" is not a file");return q()}E.doResolve(N,j,"existing file: "+G,$,q)}))}))}}},40530:E=>{"use strict";E.exports=class FileKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("FileKindPlugin",((R,j,$)=>{if(R.directory)return $();const q=Object.assign({},R);delete q.directory;E.doResolve(N,q,null,j,$)}))}}},82703:E=>{"use strict";E.exports=class JoinRequestPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("JoinRequestPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:E.join(R.path,R.request),relativePath:R.relativePath&&E.join(R.relativePath,R.request),request:undefined});E.doResolve(N,q,null,j,$)}))}}},52265:(E,N,R)=>{"use strict";const j=R(71017);E.exports=class MainFieldPlugin{constructor(E,N,R){this.source=E;this.options=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("MainFieldPlugin",((R,$,q)=>{if(R.path!==R.descriptionFileRoot)return q();if(R.alreadyTriedMainField===R.descriptionFilePath)return q();const G=R.descriptionFileData;const ie=j.basename(R.descriptionFilePath);let ae;const ce=this.options.name;if(Array.isArray(ce)){let E=G;for(let N=0;N{"use strict";E.exports=class ModuleAppendPlugin{constructor(E,N,R){this.source=E;this.appending=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleAppendPlugin",((R,j,$)=>{const q=R.request.indexOf("/"),G=R.request.indexOf("\\");const ie=q<0?G:G<0?q:q{"use strict";E.exports=class ModuleKindPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModuleKindPlugin",((R,j,$)=>{if(!R.module)return $();const q=Object.assign({},R);delete q.module;E.doResolve(N,q,"resolve as module",j,((E,N)=>{if(E)return $(E);if(N===undefined)return $(null,null);$(null,N)}))}))}}},23401:(E,N,R)=>{"use strict";const j=R(13457);const $=R(94585);E.exports=class ModulesInHierachicDirectoriesPlugin{constructor(E,N,R){this.source=E;this.directories=[].concat(N);this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInHierachicDirectoriesPlugin",((R,q,G)=>{const ie=E.fileSystem;const ae=$(R.path).paths.map((N=>this.directories.map((R=>E.join(N,R))))).reduce(((E,N)=>{E.push.apply(E,N);return E}),[]);j(ae,((j,$)=>{ie.stat(j,((G,ie)=>{if(!G&&ie&&ie.isDirectory()){const G=Object.assign({},R,{path:j,request:"./"+R.request});const ie="looking for modules in "+j;return E.doResolve(N,G,ie,q,$)}if(q.log)q.log(j+" doesn't exist or is not a directory");if(q.missing)q.missing.add(j);return $()}))}),G)}))}}},20735:E=>{"use strict";E.exports=class ModulesInRootPlugin{constructor(E,N,R){this.source=E;this.path=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ModulesInRootPlugin",((R,j,$)=>{const q=Object.assign({},R,{path:this.path,request:"./"+R.request});E.doResolve(N,q,"looking for modules in "+this.path,j,$)}))}}},58467:E=>{"use strict";E.exports=class NextPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("NextPlugin",((R,j,$)=>{E.doResolve(N,R,null,j,$)}))}}},52831:(E,N,R)=>{"use strict";const j=R(15808);class NodeJsInputFileSystem{readdir(E,N){j.readdir(E,((E,R)=>{N(E,R&&R.map((E=>E.normalize?E.normalize("NFC"):E)))}))}readdirSync(E){const N=j.readdirSync(E);return N&&N.map((E=>E.normalize?E.normalize("NFC"):E))}}const $=["stat","statSync","readFile","readFileSync","readlink","readlinkSync"];for(const E of $){Object.defineProperty(NodeJsInputFileSystem.prototype,E,{configurable:true,writable:true,value:j[E].bind(j)})}E.exports=NodeJsInputFileSystem},64829:E=>{"use strict";E.exports=class ParsePlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("ParsePlugin",((R,j,$)=>{const q=E.parse(R.request);const G=Object.assign({},R,q);if(R.query&&!q.query){G.query=R.query}if(q&&j.log){if(q.module)j.log("Parsed request is a module");if(q.directory)j.log("Parsed request is a directory")}E.doResolve(N,G,null,j,$)}))}}},5625:(E,N,R)=>{"use strict";const j=R(73837);const $=R(86118);const q=R(40352);const G=R(53706);const ie=R(27046);const ae=R(29591);const ce=/^\.$|^\.[\\/]|^\.\.$|^\.\.[\\/]|^\/|^[A-Z]:[\\/]/i;const le=/[\\/]$/i;const _e=R(89987);const Ee=new Map;const Te=R(48333);function withName(E,N){N.name=E;return N}function toCamelCase(E){return E.replace(/-([a-z])/g,(E=>E.substr(1).toUpperCase()))}const we=j.deprecate(((E,N)=>{E.add(N)}),"Resolver: 'missing' is now a Set. Use add instead of push.");const Ie=j.deprecate((E=>E),"Resolver: The callback argument was splitted into resolveContext and callback.");const Ne=j.deprecate((E=>E),"Resolver#doResolve: The type arguments (string) is now a hook argument (Hook). Pass a reference to the hook instead.");class Resolver extends ${constructor(E){super();this.fileSystem=E;this.hooks={resolveStep:withName("resolveStep",new q(["hook","request"])),noResolve:withName("noResolve",new q(["request","error"])),resolve:withName("resolve",new G(["request","resolveContext"])),result:new ie(["result","resolveContext"])};this._pluginCompat.tap("Resolver: before/after",(E=>{if(/^before-/.test(E.name)){E.name=E.name.substr(7);E.stage=-10}else if(/^after-/.test(E.name)){E.name=E.name.substr(6);E.stage=10}}));this._pluginCompat.tap("Resolver: step hooks",(E=>{const N=E.name;const R=!/^resolve(-s|S)tep$|^no(-r|R)esolve$/.test(N);if(R){E.async=true;this.ensureHook(N);const R=E.fn;E.fn=(E,N,j)=>{const innerCallback=(E,N)=>{if(E)return j(E);if(N!==undefined)return j(null,N);j()};for(const E in N){innerCallback[E]=N[E]}R.call(this,E,innerCallback)}}}))}ensureHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.ensureHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.ensureHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){return this.hooks[E]=withName(E,new G(["request","resolveContext"]))}return N}getHook(E){if(typeof E!=="string")return E;E=toCamelCase(E);if(/^before/.test(E)){return this.getHook(E[6].toLowerCase()+E.substr(7)).withOptions({stage:-10})}if(/^after/.test(E)){return this.getHook(E[5].toLowerCase()+E.substr(6)).withOptions({stage:10})}const N=this.hooks[E];if(!N){throw new Error(`Hook ${E} doesn't exist`)}return N}resolveSync(E,N,R){let j,$,q=false;this.resolve(E,N,R,{},((E,N)=>{j=E;$=N;q=true}));if(!q)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(j)throw j;return $}resolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}const q={context:E,path:N,request:R};const G="resolve '"+R+"' in '"+N+"'";return this.doResolve(this.hooks.resolve,q,G,{missing:j.missing,stack:j.stack},((E,N)=>{if(!E&&N){return $(null,N.path===false?false:N.path+(N.query||""),N)}const R=new Set;R.push=E=>we(R,E);const ie=[];return this.doResolve(this.hooks.resolve,q,G,{log:E=>{if(j.log){j.log(E)}ie.push(E)},missing:R,stack:j.stack},((E,N)=>{if(E)return $(E);const j=new Error("Can't "+G);j.details=ie.join("\n");j.missing=Array.from(R);this.hooks.noResolve.call(q,j);return $(j)}))}))}doResolve(E,N,R,j,$){if(typeof $!=="function"){$=Ie(j)}if(typeof E==="string"){const N=toCamelCase(E);E=Ne(this.hooks[N]);if(!E){throw new Error(`Hook "${N}" doesn't exist`)}}if(typeof $!=="function")throw new Error("callback is not a function "+Array.from(arguments));if(!j)throw new Error("resolveContext is not an object "+Array.from(arguments));const q=E.name+": ("+N.path+") "+(N.request||"")+(N.query||"")+(N.directory?" directory":"")+(N.module?" module":"");let G;if(j.stack){G=new Set(j.stack);if(j.stack.has(q)){const E=new Error("Recursion in resolving\nStack:\n "+Array.from(G).join("\n "));E.recursion=true;if(j.log)j.log("abort resolving because of recursion");return $(E)}G.add(q)}else{G=new Set([q])}this.hooks.resolveStep.call(E,N);if(E.isUsed()){const q=ae({log:j.log,missing:j.missing,stack:G},R);return E.callAsync(N,q,((E,N)=>{if(E)return $(E);if(N)return $(null,N);$()}))}else{$()}}parse(E){if(E==="")return null;const N={request:"",query:"",module:false,directory:false,file:false};const R=E.indexOf("?");if(R===0){N.query=E}else if(R>0){N.request=E.slice(0,R);N.query=E.slice(R)}else{N.request=E}if(N.request){N.module=this.isModule(N.request);N.directory=this.isDirectory(N.request);if(N.directory){N.request=N.request.substr(0,N.request.length-1)}}return N}isModule(E){return!ce.test(E)}isDirectory(E){return le.test(E)}join(E,N){let R;let j=Ee.get(E);if(typeof j==="undefined"){Ee.set(E,j=new Map)}else{R=j.get(N);if(typeof R!=="undefined")return R}R=_e(E,N);j.set(N,R);return R}normalize(E){return Te(E)}}E.exports=Resolver},77e3:(E,N,R)=>{"use strict";const j=R(5625);const $=R(2627);const q=R(64829);const G=R(61878);const ie=R(58467);const ae=R(27473);const ce=R(70869);const le=R(40530);const _e=R(82703);const Ee=R(23401);const Te=R(20735);const we=R(71648);const Ie=R(36325);const Ne=R(54428);const Me=R(13483);const Le=R(12379);const Be=R(17197);const je=R(37841);const Ue=R(55098);const ze=R(52265);const We=R(6069);const Je=R(63554);const Ve=R(98573);const qe=R(76997);const He=R(36605);const Ge=R(36513);const Ke=R(35329);N.createResolver=function(E){let N=E.modules||["node_modules"];const R=E.descriptionFiles||["package.json"];const Qe=E.plugins&&E.plugins.slice()||[];let Xe=E.mainFields||["main"];const Ye=E.aliasFields||[];const Ze=E.mainFiles||["index"];let et=E.extensions||[".js",".json",".node"];const tt=E.enforceExtension||false;let rt=E.moduleExtensions||[];const nt=E.enforceModuleExtension||false;let it=E.alias||[];const ot=typeof E.symlinks!=="undefined"?E.symlinks:true;const st=E.resolveToContext||false;const ct=E.roots||[];const ut=E.ignoreRootsErrors||false;const dt=E.preferAbsolute||false;const pt=E.restrictions||[];let ft=E.unsafeCache||false;const mt=typeof E.cacheWithContext!=="undefined"?E.cacheWithContext:true;const ht=E.concord||false;const _t=E.cachePredicate||function(){return true};const yt=E.fileSystem;const vt=E.useSyncFileSystemCalls;let bt=E.resolver;if(!bt){bt=new j(vt?new $(yt):yt)}et=[].concat(et);rt=[].concat(rt);N=mergeFilteredToArray([].concat(N),(E=>!isAbsolutePath(E)));Xe=Xe.map((E=>{if(typeof E==="string"||Array.isArray(E)){E={name:E,forceRelative:true}}return E}));if(typeof it==="object"&&!Array.isArray(it)){it=Object.keys(it).map((E=>{let N=false;let R=it[E];if(/\$$/.test(E)){N=true;E=E.substr(0,E.length-1)}if(typeof R==="string"){R={alias:R}}R=Object.assign({name:E,onlyModule:N},R);return R}))}if(ft&&typeof ft!=="object"){ft={}}bt.ensureHook("resolve");bt.ensureHook("parsedResolve");bt.ensureHook("describedResolve");bt.ensureHook("rawModule");bt.ensureHook("module");bt.ensureHook("relative");bt.ensureHook("describedRelative");bt.ensureHook("directory");bt.ensureHook("existingDirectory");bt.ensureHook("undescribedRawFile");bt.ensureHook("rawFile");bt.ensureHook("file");bt.ensureHook("existingFile");bt.ensureHook("resolved");if(ft){Qe.push(new Ke("resolve",_t,ft,mt,"new-resolve"));Qe.push(new q("new-resolve","parsed-resolve"))}else{Qe.push(new q("resolve","parsed-resolve"))}Qe.push(new G("parsed-resolve",R,"described-resolve"));Qe.push(new ie("after-parsed-resolve","described-resolve"));if(it.length>0)Qe.push(new we("described-resolve",it,"resolve"));if(ht){Qe.push(new Le("described-resolve",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("described-resolve",E,"resolve"))}));Qe.push(new ce("after-described-resolve","raw-module"));if(dt){Qe.push(new _e("after-described-resolve","relative"))}ct.forEach((E=>{Qe.push(new Ve("after-described-resolve",E,"relative",ut))}));if(!dt){Qe.push(new _e("after-described-resolve","relative"))}rt.forEach((E=>{Qe.push(new Ge("raw-module",E,"module"))}));if(!nt)Qe.push(new ae("raw-module",null,"module"));N.forEach((E=>{if(Array.isArray(E))Qe.push(new Ee("module",E,"resolve"));else Qe.push(new Te("module",E,"resolve"))}));Qe.push(new G("relative",R,"described-relative"));Qe.push(new ie("after-relative","described-relative"));Qe.push(new le("described-relative","raw-file"));Qe.push(new ae("described-relative","as directory","directory"));Qe.push(new Be("directory","existing-directory"));if(st){Qe.push(new ie("existing-directory","resolved"))}else{if(ht){Qe.push(new Me("existing-directory",{},"resolve"))}Xe.forEach((E=>{Qe.push(new ze("existing-directory",E,"resolve"))}));Ze.forEach((E=>{Qe.push(new We("existing-directory",E,"undescribed-raw-file"))}));Qe.push(new G("undescribed-raw-file",R,"raw-file"));Qe.push(new ie("after-undescribed-raw-file","raw-file"));if(!tt){Qe.push(new ae("raw-file","no extension","file"))}if(ht){Qe.push(new Ne("raw-file",{},"file"))}et.forEach((E=>{Qe.push(new Je("raw-file",E,"file"))}));if(it.length>0)Qe.push(new we("file",it,"resolve"));if(ht){Qe.push(new Le("file",{},"resolve"))}Ye.forEach((E=>{Qe.push(new Ie("file",E,"resolve"))}));if(ot)Qe.push(new Ue("file","relative"));Qe.push(new je("file","existing-file"));Qe.push(new ie("existing-file","resolved"))}if(pt.length>0){Qe.push(new qe(bt.hooks.resolved,pt))}Qe.push(new He(bt.hooks.resolved));Qe.forEach((E=>{E.apply(bt)}));return bt};function mergeFilteredToArray(E,N){return E.reduce(((E,R)=>{if(N(R)){const N=E[E.length-1];if(Array.isArray(N)){N.push(R)}else{E.push([R])}return E}else{E.push(R);return E}}),[])}function isAbsolutePath(E){return/^[A-Z]:|^\//.test(E)}},76997:E=>{"use strict";const N="/".charCodeAt(0);const R="\\".charCodeAt(0);const isInside=(E,j)=>{if(!E.startsWith(j))return false;if(E.length===j.length)return true;const $=E.charCodeAt(j.length);return $===N||$===R};E.exports=class RestrictionsPlugin{constructor(E,N){this.source=E;this.restrictions=N}apply(E){E.getHook(this.source).tapAsync("RestrictionsPlugin",((E,N,R)=>{if(typeof E.path==="string"){const j=E.path;for(let E=0;E{"use strict";E.exports=class ResultPlugin{constructor(E){this.source=E}apply(E){this.source.tapAsync("ResultPlugin",((N,R,j)=>{const $=Object.assign({},N);if(R.log)R.log("reporting result "+$.path);E.hooks.result.callAsync($,R,(E=>{if(E)return j(E);j(null,$)}))}))}}},98573:E=>{"use strict";class RootPlugin{constructor(E,N,R,j){this.root=N;this.source=E;this.target=R;this._ignoreErrors=j}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("RootPlugin",((R,j,$)=>{const q=R.request;if(!q)return $();if(!q.startsWith("/"))return $();const G=E.join(this.root,q.slice(1));const ie=Object.assign(R,{path:G,relativePath:R.relativePath&&G});E.doResolve(N,ie,`root path ${this.root}`,j,this._ignoreErrors?(E,N)=>{if(E){if(j.log){j.log(`Ignored fatal error while resolving root path:\n${E}`)}return $()}if(N)return $(null,N);$()}:$)}))}}E.exports=RootPlugin},55098:(E,N,R)=>{"use strict";const j=R(94585);const $=R(13457);E.exports=class SymlinkPlugin{constructor(E,N){this.source=E;this.target=N}apply(E){const N=E.ensureHook(this.target);const R=E.fileSystem;E.getHook(this.source).tapAsync("SymlinkPlugin",((q,G,ie)=>{const ae=j(q.path);const ce=ae.seqments;const le=ae.paths;let _e=false;$.withIndex(le,((E,N,j)=>{R.readlink(E,((E,R)=>{if(!E&&R){ce[N]=R;_e=true;if(/^(\/|[a-zA-Z]:($|\\))/.test(R))return j(null,N)}j()}))}),((R,j)=>{if(!_e)return ie();const $=typeof j==="number"?ce.slice(0,j+1):ce.slice();const ae=$.reverse().reduce(((N,R)=>E.join(N,R)));const le=Object.assign({},q,{path:ae});E.doResolve(N,le,"resolved symlink to "+ae,G,ie)}))}))}}},2627:E=>{"use strict";function SyncAsyncFileSystemDecorator(E){this.fs=E;if(E.statSync){this.stat=function(N,R){let j;try{j=E.statSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readdirSync){this.readdir=function(N,R){let j;try{j=E.readdirSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readFileSync){this.readFile=function(N,R){let j;try{j=E.readFileSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readlinkSync){this.readlink=function(N,R){let j;try{j=E.readlinkSync(N)}catch(E){return R(E)}R(null,j)}}if(E.readJsonSync){this.readJson=function(N,R){let j;try{j=E.readJsonSync(N)}catch(E){return R(E)}R(null,j)}}}E.exports=SyncAsyncFileSystemDecorator},27473:E=>{"use strict";E.exports=class TryNextPlugin{constructor(E,N,R){this.source=E;this.message=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("TryNextPlugin",((R,j,$)=>{E.doResolve(N,R,this.message,j,$)}))}}},35329:E=>{"use strict";function getCacheId(E,N){return JSON.stringify({context:N?E.context:"",path:E.path,query:E.query,request:E.request})}E.exports=class UnsafeCachePlugin{constructor(E,N,R,j,$){this.source=E;this.filterPredicate=N;this.withContext=j;this.cache=R||{};this.target=$}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UnsafeCachePlugin",((R,j,$)=>{if(!this.filterPredicate(R))return $();const q=getCacheId(R,this.withContext);const G=this.cache[q];if(G){return $(null,G)}E.doResolve(N,R,null,j,((E,N)=>{if(E)return $(E);if(N)return $(null,this.cache[q]=N);$()}))}))}}},6069:E=>{"use strict";E.exports=class UseFilePlugin{constructor(E,N,R){this.source=E;this.filename=N;this.target=R}apply(E){const N=E.ensureHook(this.target);E.getHook(this.source).tapAsync("UseFilePlugin",((R,j,$)=>{const q=E.join(R.path,this.filename);const G=Object.assign({},R,{path:q,relativePath:R.relativePath&&E.join(R.relativePath,this.filename)});E.doResolve(N,G,"using path: "+q,j,$)}))}}},34164:(E,N,R)=>{"use strict";const j=R(60129).P;function parseType(E){const N=E.split("+");const R=N.shift();return{type:R==="*"?null:R,features:N}}function isTypeMatched(E,N){if(typeof E==="string")E=parseType(E);if(typeof N==="string")N=parseType(N);if(N.type&&N.type!==E.type)return false;return N.features.every((N=>E.features.indexOf(N)>=0))}function isResourceTypeMatched(E,N){E=E.split("/");N=N.split("/");if(E.length!==N.length)return false;for(let R=0;RisResourceTypeMatched(E,N)))}function isEnvironment(E,N){return E.environments&&E.environments.every((E=>isTypeMatched(E,N)))}const $={};function getGlobRegExp(E){const N=$[E]||($[E]=j(E));return N}function matchGlob(E,N){const R=getGlobRegExp(E);return R.exec(N)}function isGlobMatched(E,N){return!!matchGlob(E,N)}function isConditionMatched(E,N){const R=N.split("|");return R.some((function testFn(N){N=N.trim();const R=/^!/.test(N);if(R)return!testFn(N.substr(1));if(/^[a-z]+:/.test(N)){const R=/^([a-z]+):\s*/.exec(N);const j=N.substr(R[0].length);const $=R[1];switch($){case"referrer":return isGlobMatched(j,E.referrer);default:return false}}else if(N.indexOf("/")>=0){return isResourceTypeSupported(E,N)}else{return isEnvironment(E,N)}}))}function isKeyMatched(E,N){for(;;){const R=/^\[([^\]]+)\]\s*/.exec(N);if(!R)return N;N=N.substr(R[0].length);const j=R[1];if(!isConditionMatched(E,j)){return false}}}function getField(E,N,R){let j;Object.keys(N).forEach(($=>{const q=isKeyMatched(E,$);if(q===R){j=N[$]}}));return j}function getMain(E,N){return getField(E,N,"main")}function getExtensions(E,N){return getField(E,N,"extensions")}function matchModule(E,N,R){const j=getField(E,N,"modules");if(!j)return R;let $=R;const q=Object.keys(j);let G=0;let ie;let ae;for(let N=0;Nq.length){throw new Error("Request '"+R+"' matches recursively")}}}return $;function replaceMatcher(E){switch(E){case"/**":{const E=ie[ae++];return E?"/"+E:""}case"**":case"*":return ie[ae++]}}}function matchType(E,N,R){const j=getField(E,N,"types");if(!j)return undefined;let $;Object.keys(j).forEach((N=>{const q=isKeyMatched(E,N);if(isGlobMatched(q,R)){const E=j[N];if(!$&&/\/\*$/.test(E))throw new Error("value ('"+E+"') of key '"+N+"' contains '*', but there is no previous value defined");$=E.replace(/\/\*$/,"/"+$)}}));return $}N.parseType=parseType;N.isTypeMatched=isTypeMatched;N.isResourceTypeSupported=isResourceTypeSupported;N.isEnvironment=isEnvironment;N.isGlobMatched=isGlobMatched;N.isConditionMatched=isConditionMatched;N.isKeyMatched=isKeyMatched;N.getField=getField;N.getMain=getMain;N.getExtensions=getExtensions;N.matchModule=matchModule;N.matchType=matchType},29591:E=>{"use strict";E.exports=function createInnerContext(E,N,R){let j=false;const $={log:(()=>{if(!E.log)return undefined;if(!N)return E.log;const logFunction=R=>{if(!j){E.log(N);j=true}E.log(" "+R)};return logFunction})(),stack:E.stack,missing:E.missing};return $}},13457:E=>{"use strict";E.exports=function forEachBail(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}};E.exports.withIndex=function forEachBailWithIndex(E,N,R){if(E.length===0)return R();let j=E.length;let $;let q=[];for(let R=0;R{if(E>=j)return;q.push(E);if(N.length>0){j=E+1;q=q.filter((N=>N<=E));$=N}if(q.length===j){R.apply(null,$);j=0}}}}},37575:E=>{"use strict";E.exports=function getInnerRequest(E,N){if(typeof N.__innerRequest==="string"&&N.__innerRequest_request===N.request&&N.__innerRequest_relativePath===N.relativePath)return N.__innerRequest;let R;if(N.request){R=N.request;if(/^\.\.?\//.test(R)&&N.relativePath){R=E.join(N.relativePath,R)}}else{R=N.relativePath}N.__innerRequest_request=N.request;N.__innerRequest_relativePath=N.relativePath;return N.__innerRequest=R}},94585:E=>{"use strict";E.exports=function getPaths(E){const N=E.split(/(.*?[\\/]+)/);const R=[E];const j=[N[N.length-1]];let $=N[N.length-1];E=E.substr(0,E.length-$.length-1);for(let q=N.length-2;q>2;q-=2){R.push(E);$=N[q];E=E.substr(0,E.length-$.length)||"/";j.push($.substr(0,$.length-1))}$=N[1];j.push($);R.push($);return{paths:R,seqments:j}};E.exports.basename=function basename(E){const N=E.lastIndexOf("/"),R=E.lastIndexOf("\\");const j=N<0?R:R<0?N:N{"use strict";function globToRegExp(E){if(/^\(.+\)$/.test(E)){return new RegExp(E.substr(1,E.length-2))}const N=tokenize(E);const R=createRoot();const j=N.map(R).join("");return new RegExp("^"+j+"$")}const R={"@(":"one","?(":"zero-one","+(":"one-many","*(":"zero-many","|":"segment-sep","/**/":"any-path-segments","**":"any-path","*":"any-path-segment","?":"any-char","{":"or","/":"path-sep",",":"comma",")":"closing-segment","}":"closing-or"};function tokenize(E){return E.split(/([@?+*]\(|\/\*\*\/|\*\*|[?*]|\[[!^]?(?:[^\]\\]|\\.)+\]|\{|,|\/|[|)}])/g).map((E=>{if(!E)return null;const N=R[E];if(N){return{type:N}}if(E[0]==="["){if(E[1]==="^"||E[1]==="!"){return{type:"inverted-char-set",value:E.substr(2,E.length-3)}}else{return{type:"char-set",value:E.substr(1,E.length-2)}}}return{type:"string",value:E}})).filter(Boolean).concat({type:"end"})}function createRoot(){const E=[];const N=createSeqment();let R=true;return function(j){switch(j.type){case"or":E.push(R);return"(";case"comma":if(E.length){R=E[E.length-1];return"|"}else{return N({type:"string",value:","},R)}case"closing-or":if(E.length===0)throw new Error("Unmatched '}'");E.pop();return")";case"end":if(E.length)throw new Error("Unmatched '{'");return N(j,R);default:{const E=N(j,R);R=false;return E}}}}function createSeqment(){const E=[];const N=createSimple();return function(R,j){switch(R.type){case"one":case"one-many":case"zero-many":case"zero-one":E.push(R.type);return"(";case"segment-sep":if(E.length){return"|"}else{return N({type:"string",value:"|"},j)}case"closing-segment":{const N=E.pop();switch(N){case"one":return")";case"one-many":return")+";case"zero-many":return")*";case"zero-one":return")?"}throw new Error("Unexcepted segment "+N)}case"end":if(E.length>0){throw new Error("Unmatched segment, missing ')'")}return N(R,j);default:return N(R,j)}}}function createSimple(){return function(E,N){switch(E.type){case"path-sep":return"[\\\\/]+";case"any-path-segments":return"[\\\\/]+(?:(.+)[\\\\/]+)?";case"any-path":return"(.*)";case"any-path-segment":if(N){return"\\.[\\\\/]+(?:.*[\\\\/]+)?([^\\\\/]+)"}else{return"([^\\\\/]*)"}case"any-char":return"[^\\\\/]";case"inverted-char-set":return"[^"+E.value+"]";case"char-set":return"["+E.value+"]";case"string":return E.value.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");case"end":return"";default:throw new Error("Unsupported token '"+E.type+"'")}}}N.P=globToRegExp},79921:(E,N,R)=>{"use strict";const j=R(77e3);const $=R(52831);const q=R(87507);const G=new q(new $,4e3);const ie={environments:["node+es3+es5+process+native"]};const ae=j.createResolver({extensions:[".js",".json",".node"],fileSystem:G});E.exports=function resolve(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}ae.resolve(E,N,R,j,$)};const ce=j.createResolver({extensions:[".js",".json",".node"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.sync=function resolveSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return ce.resolveSync(E,N,R)};const le=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,fileSystem:G});E.exports.context=function resolveContext(E,N,R,resolveContext,j){if(typeof E==="string"){j=resolveContext;resolveContext=R;R=N;N=E;E=ie}if(typeof j!=="function"){j=resolveContext}le.resolve(E,N,R,resolveContext,j)};const _e=j.createResolver({extensions:[".js",".json",".node"],resolveToContext:true,useSyncFileSystemCalls:true,fileSystem:G});E.exports.context.sync=function resolveContextSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return _e.resolveSync(E,N,R)};const Ee=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],fileSystem:G});E.exports.loader=function resolveLoader(E,N,R,j,$){if(typeof E==="string"){$=j;j=R;R=N;N=E;E=ie}if(typeof $!=="function"){$=j}Ee.resolve(E,N,R,j,$)};const Te=j.createResolver({extensions:[".js",".json",".node"],moduleExtensions:["-loader"],mainFields:["loader","main"],useSyncFileSystemCalls:true,fileSystem:G});E.exports.loader.sync=function resolveLoaderSync(E,N,R){if(typeof E==="string"){R=N;N=E;E=ie}return Te.resolveSync(E,N,R)};E.exports.create=function create(E){E=Object.assign({fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j,$,q){if(typeof E==="string"){q=$;$=j;j=R;R=E;E=ie}if(typeof q!=="function"){q=$}N.resolve(E,R,j,$,q)}};E.exports.create.sync=function createSync(E){E=Object.assign({useSyncFileSystemCalls:true,fileSystem:G},E);const N=j.createResolver(E);return function(E,R,j){if(typeof E==="string"){j=R;R=E;E=ie}return N.resolveSync(E,R,j)}};E.exports.ResolverFactory=j;E.exports.NodeJsInputFileSystem=$;E.exports.CachedInputFileSystem=q},12710:(E,N,R)=>{"use strict"; +/*! + * fill-range + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Licensed under the MIT License. + */const j=R(73837);const $=R(31406);const isObject=E=>E!==null&&typeof E==="object"&&!Array.isArray(E);const transform=E=>N=>E===true?Number(N):String(N);const isValidValue=E=>typeof E==="number"||typeof E==="string"&&E!=="";const isNumber=E=>Number.isInteger(+E);const zeros=E=>{let N=`${E}`;let R=-1;if(N[0]==="-")N=N.slice(1);if(N==="0")return false;while(N[++R]==="0");return R>0};const stringify=(E,N,R)=>{if(typeof E==="string"||typeof N==="string"){return true}return R.stringify===true};const pad=(E,N,R)=>{if(N>0){let R=E[0]==="-"?"-":"";if(R)E=E.slice(1);E=R+E.padStart(R?N-1:N,"0")}if(R===false){return String(E)}return E};const toMaxLen=(E,N)=>{let R=E[0]==="-"?"-":"";if(R){E=E.slice(1);N--}while(E.length{E.negatives.sort(((E,N)=>EN?1:0));E.positives.sort(((E,N)=>EN?1:0));let R=N.capture?"":"?:";let j="";let $="";let q;if(E.positives.length){j=E.positives.join("|")}if(E.negatives.length){$=`-(${R}${E.negatives.join("|")})`}if(j&&$){q=`${j}|${$}`}else{q=j||$}if(N.wrap){return`(${R}${q})`}return q};const toRange=(E,N,R,j)=>{if(R){return $(E,N,{wrap:false,...j})}let q=String.fromCharCode(E);if(E===N)return q;let G=String.fromCharCode(N);return`[${q}-${G}]`};const toRegex=(E,N,R)=>{if(Array.isArray(E)){let N=R.wrap===true;let j=R.capture?"":"?:";return N?`(${j}${E.join("|")})`:E.join("|")}return $(E,N,R)};const rangeError=(...E)=>new RangeError("Invalid range arguments: "+j.inspect(...E));const invalidRange=(E,N,R)=>{if(R.strictRanges===true)throw rangeError([E,N]);return[]};const invalidStep=(E,N)=>{if(N.strictRanges===true){throw new TypeError(`Expected step "${E}" to be a number`)}return[]};const fillNumbers=(E,N,R=1,j={})=>{let $=Number(E);let q=Number(N);if(!Number.isInteger($)||!Number.isInteger(q)){if(j.strictRanges===true)throw rangeError([E,N]);return[]}if($===0)$=0;if(q===0)q=0;let G=$>q;let ie=String(E);let ae=String(N);let ce=String(R);R=Math.max(Math.abs(R),1);let le=zeros(ie)||zeros(ae)||zeros(ce);let _e=le?Math.max(ie.length,ae.length,ce.length):0;let Ee=le===false&&stringify(E,N,j)===false;let Te=j.transform||transform(Ee);if(j.toRegex&&R===1){return toRange(toMaxLen(E,_e),toMaxLen(N,_e),true,j)}let we={negatives:[],positives:[]};let push=E=>we[E<0?"negatives":"positives"].push(Math.abs(E));let Ie=[];let Ne=0;while(G?$>=q:$<=q){if(j.toRegex===true&&R>1){push($)}else{Ie.push(pad(Te($,Ne),_e,Ee))}$=G?$-R:$+R;Ne++}if(j.toRegex===true){return R>1?toSequence(we,j):toRegex(Ie,null,{wrap:false,...j})}return Ie};const fillLetters=(E,N,R=1,j={})=>{if(!isNumber(E)&&E.length>1||!isNumber(N)&&N.length>1){return invalidRange(E,N,j)}let $=j.transform||(E=>String.fromCharCode(E));let q=`${E}`.charCodeAt(0);let G=`${N}`.charCodeAt(0);let ie=q>G;let ae=Math.min(q,G);let ce=Math.max(q,G);if(j.toRegex&&R===1){return toRange(ae,ce,false,j)}let le=[];let _e=0;while(ie?q>=G:q<=G){le.push($(q,_e));q=ie?q-R:q+R;_e++}if(j.toRegex===true){return toRegex(le,null,{wrap:false,options:j})}return le};const fill=(E,N,R,j={})=>{if(N==null&&isValidValue(E)){return[E]}if(!isValidValue(E)||!isValidValue(N)){return invalidRange(E,N,j)}if(typeof R==="function"){return fill(E,N,1,{transform:R})}if(isObject(R)){return fill(E,N,0,R)}let $={...j};if($.capture===true)$.wrap=true;R=R||$.step||1;if(!isNumber(R)){if(R!=null&&!isObject(R))return invalidStep(R,$);return fill(E,N,1,R)}if(isNumber(E)&&isNumber(N)){return fillNumbers(E,N,R,$)}return fillLetters(E,N,Math.max(Math.abs(R),1),$)};E.exports=fill},89459:E=>{"use strict"; +/*! + * is-number + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Released under the MIT License. + */E.exports=function(E){if(typeof E==="number"){return E-E===0}if(typeof E==="string"&&E.trim()!==""){return Number.isFinite?Number.isFinite(+E):isFinite(+E)}return false}},19806:(E,N,R)=>{"use strict";const j=R(83314);const $=Symbol("max");const q=Symbol("length");const G=Symbol("lengthCalculator");const ie=Symbol("allowStale");const ae=Symbol("maxAge");const ce=Symbol("dispose");const le=Symbol("noDisposeOnSet");const _e=Symbol("lruList");const Ee=Symbol("cache");const Te=Symbol("updateAgeOnGet");const naiveLength=()=>1;class LRUCache{constructor(E){if(typeof E==="number")E={max:E};if(!E)E={};if(E.max&&(typeof E.max!=="number"||E.max<0))throw new TypeError("max must be a non-negative number");const N=this[$]=E.max||Infinity;const R=E.length||naiveLength;this[G]=typeof R!=="function"?naiveLength:R;this[ie]=E.stale||false;if(E.maxAge&&typeof E.maxAge!=="number")throw new TypeError("maxAge must be a number");this[ae]=E.maxAge||0;this[ce]=E.dispose;this[le]=E.noDisposeOnSet||false;this[Te]=E.updateAgeOnGet||false;this.reset()}set max(E){if(typeof E!=="number"||E<0)throw new TypeError("max must be a non-negative number");this[$]=E||Infinity;trim(this)}get max(){return this[$]}set allowStale(E){this[ie]=!!E}get allowStale(){return this[ie]}set maxAge(E){if(typeof E!=="number")throw new TypeError("maxAge must be a non-negative number");this[ae]=E;trim(this)}get maxAge(){return this[ae]}set lengthCalculator(E){if(typeof E!=="function")E=naiveLength;if(E!==this[G]){this[G]=E;this[q]=0;this[_e].forEach((E=>{E.length=this[G](E.value,E.key);this[q]+=E.length}))}trim(this)}get lengthCalculator(){return this[G]}get length(){return this[q]}get itemCount(){return this[_e].length}rforEach(E,N){N=N||this;for(let R=this[_e].tail;R!==null;){const j=R.prev;forEachStep(this,E,R,N);R=j}}forEach(E,N){N=N||this;for(let R=this[_e].head;R!==null;){const j=R.next;forEachStep(this,E,R,N);R=j}}keys(){return this[_e].toArray().map((E=>E.key))}values(){return this[_e].toArray().map((E=>E.value))}reset(){if(this[ce]&&this[_e]&&this[_e].length){this[_e].forEach((E=>this[ce](E.key,E.value)))}this[Ee]=new Map;this[_e]=new j;this[q]=0}dump(){return this[_e].map((E=>isStale(this,E)?false:{k:E.key,v:E.value,e:E.now+(E.maxAge||0)})).toArray().filter((E=>E))}dumpLru(){return this[_e]}set(E,N,R){R=R||this[ae];if(R&&typeof R!=="number")throw new TypeError("maxAge must be a number");const j=R?Date.now():0;const ie=this[G](N,E);if(this[Ee].has(E)){if(ie>this[$]){del(this,this[Ee].get(E));return false}const G=this[Ee].get(E);const ae=G.value;if(this[ce]){if(!this[le])this[ce](E,ae.value)}ae.now=j;ae.maxAge=R;ae.value=N;this[q]+=ie-ae.length;ae.length=ie;this.get(E);trim(this);return true}const Te=new Entry(E,N,ie,j,R);if(Te.length>this[$]){if(this[ce])this[ce](E,N);return false}this[q]+=Te.length;this[_e].unshift(Te);this[Ee].set(E,this[_e].head);trim(this);return true}has(E){if(!this[Ee].has(E))return false;const N=this[Ee].get(E).value;return!isStale(this,N)}get(E){return get(this,E,true)}peek(E){return get(this,E,false)}pop(){const E=this[_e].tail;if(!E)return null;del(this,E);return E.value}del(E){del(this,this[Ee].get(E))}load(E){this.reset();const N=Date.now();for(let R=E.length-1;R>=0;R--){const j=E[R];const $=j.e||0;if($===0)this.set(j.k,j.v);else{const E=$-N;if(E>0){this.set(j.k,j.v,E)}}}}prune(){this[Ee].forEach(((E,N)=>get(this,N,false)))}}const get=(E,N,R)=>{const j=E[Ee].get(N);if(j){const N=j.value;if(isStale(E,N)){del(E,j);if(!E[ie])return undefined}else{if(R){if(E[Te])j.value.now=Date.now();E[_e].unshiftNode(j)}}return N.value}};const isStale=(E,N)=>{if(!N||!N.maxAge&&!E[ae])return false;const R=Date.now()-N.now;return N.maxAge?R>N.maxAge:E[ae]&&R>E[ae]};const trim=E=>{if(E[q]>E[$]){for(let N=E[_e].tail;E[q]>E[$]&&N!==null;){const R=N.prev;del(E,N);N=R}}};const del=(E,N)=>{if(N){const R=N.value;if(E[ce])E[ce](R.key,R.value);E[q]-=R.length;E[Ee].delete(R.key);E[_e].removeNode(N)}};class Entry{constructor(E,N,R,j,$){this.key=E;this.value=N;this.length=R;this.now=j;this.maxAge=$||0}}const forEachStep=(E,N,R,j)=>{let $=R.value;if(isStale(E,$)){del(E,R);if(!E[ie])$=undefined}if($)N.call(j,$.value,$.key,E)};E.exports=LRUCache},44930:(E,N,R)=>{"use strict";const j=R(73837);const $=R(4822);const q=R(5782);const G=R(2661);const isEmptyString=E=>typeof E==="string"&&(E===""||E==="./");const micromatch=(E,N,R)=>{N=[].concat(N);E=[].concat(E);let j=new Set;let $=new Set;let G=new Set;let ie=0;let onResult=E=>{G.add(E.output);if(R&&R.onResult){R.onResult(E)}};for(let G=0;G!j.has(E)));if(R&&ce.length===0){if(R.failglob===true){throw new Error(`No matches found for "${N.join(", ")}"`)}if(R.nonull===true||R.nullglob===true){return R.unescape?N.map((E=>E.replace(/\\/g,""))):N}}return ce};micromatch.match=micromatch;micromatch.matcher=(E,N)=>q(E,N);micromatch.isMatch=(E,N,R)=>q(N,R)(E);micromatch.any=micromatch.isMatch;micromatch.not=(E,N,R={})=>{N=[].concat(N).map(String);let j=new Set;let $=[];let onResult=E=>{if(R.onResult)R.onResult(E);$.push(E.output)};let q=micromatch(E,N,{...R,onResult:onResult});for(let E of $){if(!q.includes(E)){j.add(E)}}return[...j]};micromatch.contains=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}if(Array.isArray(N)){return N.some((N=>micromatch.contains(E,N,R)))}if(typeof N==="string"){if(isEmptyString(E)||isEmptyString(N)){return false}if(E.includes(N)||E.startsWith("./")&&E.slice(2).includes(N)){return true}}return micromatch.isMatch(E,N,{...R,contains:true})};micromatch.matchKeys=(E,N,R)=>{if(!G.isObject(E)){throw new TypeError("Expected the first argument to be an object")}let j=micromatch(Object.keys(E),N,R);let $={};for(let N of j)$[N]=E[N];return $};micromatch.some=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(j.some((E=>N(E)))){return true}}return false};micromatch.every=(E,N,R)=>{let j=[].concat(E);for(let E of[].concat(N)){let N=q(String(E),R);if(!j.every((E=>N(E)))){return false}}return true};micromatch.all=(E,N,R)=>{if(typeof E!=="string"){throw new TypeError(`Expected a string: "${j.inspect(E)}"`)}return[].concat(N).every((N=>q(N,R)(E)))};micromatch.capture=(E,N,R)=>{let j=G.isWindows(R);let $=q.makeRe(String(E),{...R,capture:true});let ie=$.exec(j?G.toPosixSlashes(N):N);if(ie){return ie.slice(1).map((E=>E===void 0?"":E))}};micromatch.makeRe=(...E)=>q.makeRe(...E);micromatch.scan=(...E)=>q.scan(...E);micromatch.parse=(E,N)=>{let R=[];for(let j of[].concat(E||[])){for(let E of $(String(j),N)){R.push(q.parse(E,N))}}return R};micromatch.braces=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");if(N&&N.nobrace===true||!/\{.*\}/.test(E)){return[E]}return $(E,N)};micromatch.braceExpand=(E,N)=>{if(typeof E!=="string")throw new TypeError("Expected a string");return micromatch.braces(E,{...N,expand:true})};E.exports=micromatch},6471:(E,N,R)=>{const j=Symbol("SemVer ANY");class Comparator{static get ANY(){return j}constructor(E,N){N=$(N);if(E instanceof Comparator){if(E.loose===!!N.loose){return E}else{E=E.value}}ae("comparator",E,N);this.options=N;this.loose=!!N.loose;this.parse(E);if(this.semver===j){this.value=""}else{this.value=this.operator+this.semver.version}ae("comp",this)}parse(E){const N=this.options.loose?q[G.COMPARATORLOOSE]:q[G.COMPARATOR];const R=E.match(N);if(!R){throw new TypeError(`Invalid comparator: ${E}`)}this.operator=R[1]!==undefined?R[1]:"";if(this.operator==="="){this.operator=""}if(!R[2]){this.semver=j}else{this.semver=new ce(R[2],this.options.loose)}}toString(){return this.value}test(E){ae("Comparator.test",E,this.options.loose);if(this.semver===j||E===j){return true}if(typeof E==="string"){try{E=new ce(E,this.options)}catch(E){return false}}return ie(E,this.operator,this.semver,this.options)}intersects(E,N){if(!(E instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!N||typeof N!=="object"){N={loose:!!N,includePrerelease:false}}if(this.operator===""){if(this.value===""){return true}return new le(E.value,N).test(this.value)}else if(E.operator===""){if(E.value===""){return true}return new le(this.value,N).test(E.semver)}const R=(this.operator===">="||this.operator===">")&&(E.operator===">="||E.operator===">");const j=(this.operator==="<="||this.operator==="<")&&(E.operator==="<="||E.operator==="<");const $=this.semver.version===E.semver.version;const q=(this.operator===">="||this.operator==="<=")&&(E.operator===">="||E.operator==="<=");const G=ie(this.semver,"<",E.semver,N)&&(this.operator===">="||this.operator===">")&&(E.operator==="<="||E.operator==="<");const ae=ie(this.semver,">",E.semver,N)&&(this.operator==="<="||this.operator==="<")&&(E.operator===">="||E.operator===">");return R||j||$&&q||G||ae}}E.exports=Comparator;const $=R(94679);const{re:q,t:G}=R(43109);const ie=R(54327);const ae=R(81320);const ce=R(5345);const le=R(282)},282:(E,N,R)=>{class Range{constructor(E,N){N=q(N);if(E instanceof Range){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{return new Range(E.raw,N)}}if(E instanceof G){this.raw=E.value;this.set=[[E]];this.format();return this}this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;this.raw=E;this.set=E.split(/\s*\|\|\s*/).map((E=>this.parseRange(E.trim()))).filter((E=>E.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${E}`)}if(this.set.length>1){const E=this.set[0];this.set=this.set.filter((E=>!isNullSet(E[0])));if(this.set.length===0)this.set=[E];else if(this.set.length>1){for(const E of this.set){if(E.length===1&&isAny(E[0])){this.set=[E];break}}}}this.format()}format(){this.range=this.set.map((E=>E.join(" ").trim())).join("||").trim();return this.range}toString(){return this.range}parseRange(E){E=E.trim();const N=Object.keys(this.options).join(",");const R=`parseRange:${N}:${E}`;const j=$.get(R);if(j)return j;const q=this.options.loose;const ae=q?ce[le.HYPHENRANGELOOSE]:ce[le.HYPHENRANGE];E=E.replace(ae,hyphenReplace(this.options.includePrerelease));ie("hyphen replace",E);E=E.replace(ce[le.COMPARATORTRIM],_e);ie("comparator trim",E,ce[le.COMPARATORTRIM]);E=E.replace(ce[le.TILDETRIM],Ee);E=E.replace(ce[le.CARETTRIM],Te);E=E.split(/\s+/).join(" ");const we=q?ce[le.COMPARATORLOOSE]:ce[le.COMPARATOR];const Ie=E.split(" ").map((E=>parseComparator(E,this.options))).join(" ").split(/\s+/).map((E=>replaceGTE0(E,this.options))).filter(this.options.loose?E=>!!E.match(we):()=>true).map((E=>new G(E,this.options)));const Ne=Ie.length;const Me=new Map;for(const E of Ie){if(isNullSet(E))return[E];Me.set(E.value,E)}if(Me.size>1&&Me.has(""))Me.delete("");const Le=[...Me.values()];$.set(R,Le);return Le}intersects(E,N){if(!(E instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((R=>isSatisfiable(R,N)&&E.set.some((E=>isSatisfiable(E,N)&&R.every((R=>E.every((E=>R.intersects(E,N)))))))))}test(E){if(!E){return false}if(typeof E==="string"){try{E=new ae(E,this.options)}catch(E){return false}}for(let N=0;NE.value==="<0.0.0-0";const isAny=E=>E.value==="";const isSatisfiable=(E,N)=>{let R=true;const j=E.slice();let $=j.pop();while(R&&j.length){R=j.every((E=>$.intersects(E,N)));$=j.pop()}return R};const parseComparator=(E,N)=>{ie("comp",E,N);E=replaceCarets(E,N);ie("caret",E);E=replaceTildes(E,N);ie("tildes",E);E=replaceXRanges(E,N);ie("xrange",E);E=replaceStars(E,N);ie("stars",E);return E};const isX=E=>!E||E.toLowerCase()==="x"||E==="*";const replaceTildes=(E,N)=>E.trim().split(/\s+/).map((E=>replaceTilde(E,N))).join(" ");const replaceTilde=(E,N)=>{const R=N.loose?ce[le.TILDELOOSE]:ce[le.TILDE];return E.replace(R,((N,R,j,$,q)=>{ie("tilde",E,N,R,j,$,q);let G;if(isX(R)){G=""}else if(isX(j)){G=`>=${R}.0.0 <${+R+1}.0.0-0`}else if(isX($)){G=`>=${R}.${j}.0 <${R}.${+j+1}.0-0`}else if(q){ie("replaceTilde pr",q);G=`>=${R}.${j}.${$}-${q} <${R}.${+j+1}.0-0`}else{G=`>=${R}.${j}.${$} <${R}.${+j+1}.0-0`}ie("tilde return",G);return G}))};const replaceCarets=(E,N)=>E.trim().split(/\s+/).map((E=>replaceCaret(E,N))).join(" ");const replaceCaret=(E,N)=>{ie("caret",E,N);const R=N.loose?ce[le.CARETLOOSE]:ce[le.CARET];const j=N.includePrerelease?"-0":"";return E.replace(R,((N,R,$,q,G)=>{ie("caret",E,N,R,$,q,G);let ae;if(isX(R)){ae=""}else if(isX($)){ae=`>=${R}.0.0${j} <${+R+1}.0.0-0`}else if(isX(q)){if(R==="0"){ae=`>=${R}.${$}.0${j} <${R}.${+$+1}.0-0`}else{ae=`>=${R}.${$}.0${j} <${+R+1}.0.0-0`}}else if(G){ie("replaceCaret pr",G);if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}-${G} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}-${G} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q}-${G} <${+R+1}.0.0-0`}}else{ie("no pr");if(R==="0"){if($==="0"){ae=`>=${R}.${$}.${q}${j} <${R}.${$}.${+q+1}-0`}else{ae=`>=${R}.${$}.${q}${j} <${R}.${+$+1}.0-0`}}else{ae=`>=${R}.${$}.${q} <${+R+1}.0.0-0`}}ie("caret return",ae);return ae}))};const replaceXRanges=(E,N)=>{ie("replaceXRanges",E,N);return E.split(/\s+/).map((E=>replaceXRange(E,N))).join(" ")};const replaceXRange=(E,N)=>{E=E.trim();const R=N.loose?ce[le.XRANGELOOSE]:ce[le.XRANGE];return E.replace(R,((R,j,$,q,G,ae)=>{ie("xRange",E,R,j,$,q,G,ae);const ce=isX($);const le=ce||isX(q);const _e=le||isX(G);const Ee=_e;if(j==="="&&Ee){j=""}ae=N.includePrerelease?"-0":"";if(ce){if(j===">"||j==="<"){R="<0.0.0-0"}else{R="*"}}else if(j&&Ee){if(le){q=0}G=0;if(j===">"){j=">=";if(le){$=+$+1;q=0;G=0}else{q=+q+1;G=0}}else if(j==="<="){j="<";if(le){$=+$+1}else{q=+q+1}}if(j==="<")ae="-0";R=`${j+$}.${q}.${G}${ae}`}else if(le){R=`>=${$}.0.0${ae} <${+$+1}.0.0-0`}else if(_e){R=`>=${$}.${q}.0${ae} <${$}.${+q+1}.0-0`}ie("xRange return",R);return R}))};const replaceStars=(E,N)=>{ie("replaceStars",E,N);return E.trim().replace(ce[le.STAR],"")};const replaceGTE0=(E,N)=>{ie("replaceGTE0",E,N);return E.trim().replace(ce[N.includePrerelease?le.GTE0PRE:le.GTE0],"")};const hyphenReplace=E=>(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te)=>{if(isX(j)){R=""}else if(isX($)){R=`>=${j}.0.0${E?"-0":""}`}else if(isX(q)){R=`>=${j}.${$}.0${E?"-0":""}`}else if(G){R=`>=${R}`}else{R=`>=${R}${E?"-0":""}`}if(isX(ce)){ae=""}else if(isX(le)){ae=`<${+ce+1}.0.0-0`}else if(isX(_e)){ae=`<${ce}.${+le+1}.0-0`}else if(Ee){ae=`<=${ce}.${le}.${_e}-${Ee}`}else if(E){ae=`<${ce}.${le}.${+_e+1}-0`}else{ae=`<=${ae}`}return`${R} ${ae}`.trim()};const testSet=(E,N,R)=>{for(let R=0;R0){const j=E[R].semver;if(j.major===N.major&&j.minor===N.minor&&j.patch===N.patch){return true}}}return false}return true}},5345:(E,N,R)=>{const j=R(81320);const{MAX_LENGTH:$,MAX_SAFE_INTEGER:q}=R(30280);const{re:G,t:ie}=R(43109);const ae=R(94679);const{compareIdentifiers:ce}=R(26474);class SemVer{constructor(E,N){N=ae(N);if(E instanceof SemVer){if(E.loose===!!N.loose&&E.includePrerelease===!!N.includePrerelease){return E}else{E=E.version}}else if(typeof E!=="string"){throw new TypeError(`Invalid Version: ${E}`)}if(E.length>$){throw new TypeError(`version is longer than ${$} characters`)}j("SemVer",E,N);this.options=N;this.loose=!!N.loose;this.includePrerelease=!!N.includePrerelease;const R=E.trim().match(N.loose?G[ie.LOOSE]:G[ie.FULL]);if(!R){throw new TypeError(`Invalid Version: ${E}`)}this.raw=E;this.major=+R[1];this.minor=+R[2];this.patch=+R[3];if(this.major>q||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>q||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>q||this.patch<0){throw new TypeError("Invalid patch version")}if(!R[4]){this.prerelease=[]}else{this.prerelease=R[4].split(".").map((E=>{if(/^[0-9]+$/.test(E)){const N=+E;if(N>=0&&N=0){if(typeof this.prerelease[E]==="number"){this.prerelease[E]++;E=-2}}if(E===-1){this.prerelease.push(0)}}if(N){if(this.prerelease[0]===N){if(isNaN(this.prerelease[1])){this.prerelease=[N,0]}}else{this.prerelease=[N,0]}}break;default:throw new Error(`invalid increment argument: ${E}`)}this.format();this.raw=this.version;return this}}E.exports=SemVer},58248:(E,N,R)=>{const j=R(71788);const clean=(E,N)=>{const R=j(E.trim().replace(/^[=v]+/,""),N);return R?R.version:null};E.exports=clean},54327:(E,N,R)=>{const j=R(42956);const $=R(91025);const q=R(96390);const G=R(10739);const ie=R(69503);const ae=R(95906);const cmp=(E,N,R,ce)=>{switch(N){case"===":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E===R;case"!==":if(typeof E==="object")E=E.version;if(typeof R==="object")R=R.version;return E!==R;case"":case"=":case"==":return j(E,R,ce);case"!=":return $(E,R,ce);case">":return q(E,R,ce);case">=":return G(E,R,ce);case"<":return ie(E,R,ce);case"<=":return ae(E,R,ce);default:throw new TypeError(`Invalid operator: ${N}`)}};E.exports=cmp},46607:(E,N,R)=>{const j=R(5345);const $=R(71788);const{re:q,t:G}=R(43109);const coerce=(E,N)=>{if(E instanceof j){return E}if(typeof E==="number"){E=String(E)}if(typeof E!=="string"){return null}N=N||{};let R=null;if(!N.rtl){R=E.match(q[G.COERCE])}else{let N;while((N=q[G.COERCERTL].exec(E))&&(!R||R.index+R[0].length!==E.length)){if(!R||N.index+N[0].length!==R.index+R[0].length){R=N}q[G.COERCERTL].lastIndex=N.index+N[1].length+N[2].length}q[G.COERCERTL].lastIndex=-1}if(R===null)return null;return $(`${R[2]}.${R[3]||"0"}.${R[4]||"0"}`,N)};E.exports=coerce},42380:(E,N,R)=>{const j=R(5345);const compareBuild=(E,N,R)=>{const $=new j(E,R);const q=new j(N,R);return $.compare(q)||$.compareBuild(q)};E.exports=compareBuild},39057:(E,N,R)=>{const j=R(14064);const compareLoose=(E,N)=>j(E,N,true);E.exports=compareLoose},14064:(E,N,R)=>{const j=R(5345);const compare=(E,N,R)=>new j(E,R).compare(new j(N,R));E.exports=compare},96860:(E,N,R)=>{const j=R(71788);const $=R(42956);const diff=(E,N)=>{if($(E,N)){return null}else{const R=j(E);const $=j(N);const q=R.prerelease.length||$.prerelease.length;const G=q?"pre":"";const ie=q?"prerelease":"";for(const E in R){if(E==="major"||E==="minor"||E==="patch"){if(R[E]!==$[E]){return G+E}}}return ie}};E.exports=diff},42956:(E,N,R)=>{const j=R(14064);const eq=(E,N,R)=>j(E,N,R)===0;E.exports=eq},96390:(E,N,R)=>{const j=R(14064);const gt=(E,N,R)=>j(E,N,R)>0;E.exports=gt},10739:(E,N,R)=>{const j=R(14064);const gte=(E,N,R)=>j(E,N,R)>=0;E.exports=gte},75702:(E,N,R)=>{const j=R(5345);const inc=(E,N,R,$)=>{if(typeof R==="string"){$=R;R=undefined}try{return new j(E,R).inc(N,$).version}catch(E){return null}};E.exports=inc},69503:(E,N,R)=>{const j=R(14064);const lt=(E,N,R)=>j(E,N,R)<0;E.exports=lt},95906:(E,N,R)=>{const j=R(14064);const lte=(E,N,R)=>j(E,N,R)<=0;E.exports=lte},1146:(E,N,R)=>{const j=R(5345);const major=(E,N)=>new j(E,N).major;E.exports=major},38236:(E,N,R)=>{const j=R(5345);const minor=(E,N)=>new j(E,N).minor;E.exports=minor},91025:(E,N,R)=>{const j=R(14064);const neq=(E,N,R)=>j(E,N,R)!==0;E.exports=neq},71788:(E,N,R)=>{const{MAX_LENGTH:j}=R(30280);const{re:$,t:q}=R(43109);const G=R(5345);const ie=R(94679);const parse=(E,N)=>{N=ie(N);if(E instanceof G){return E}if(typeof E!=="string"){return null}if(E.length>j){return null}const R=N.loose?$[q.LOOSE]:$[q.FULL];if(!R.test(E)){return null}try{return new G(E,N)}catch(E){return null}};E.exports=parse},59141:(E,N,R)=>{const j=R(5345);const patch=(E,N)=>new j(E,N).patch;E.exports=patch},25694:(E,N,R)=>{const j=R(71788);const prerelease=(E,N)=>{const R=j(E,N);return R&&R.prerelease.length?R.prerelease:null};E.exports=prerelease},80339:(E,N,R)=>{const j=R(14064);const rcompare=(E,N,R)=>j(N,E,R);E.exports=rcompare},67768:(E,N,R)=>{const j=R(42380);const rsort=(E,N)=>E.sort(((E,R)=>j(R,E,N)));E.exports=rsort},51543:(E,N,R)=>{const j=R(282);const satisfies=(E,N,R)=>{try{N=new j(N,R)}catch(E){return false}return N.test(E)};E.exports=satisfies},8612:(E,N,R)=>{const j=R(42380);const sort=(E,N)=>E.sort(((E,R)=>j(E,R,N)));E.exports=sort},98018:(E,N,R)=>{const j=R(71788);const valid=(E,N)=>{const R=j(E,N);return R?R.version:null};E.exports=valid},3609:(E,N,R)=>{const j=R(43109);E.exports={re:j.re,src:j.src,tokens:j.t,SEMVER_SPEC_VERSION:R(30280).SEMVER_SPEC_VERSION,SemVer:R(5345),compareIdentifiers:R(26474).compareIdentifiers,rcompareIdentifiers:R(26474).rcompareIdentifiers,parse:R(71788),valid:R(98018),clean:R(58248),inc:R(75702),diff:R(96860),major:R(1146),minor:R(38236),patch:R(59141),prerelease:R(25694),compare:R(14064),rcompare:R(80339),compareLoose:R(39057),compareBuild:R(42380),sort:R(8612),rsort:R(67768),gt:R(96390),lt:R(69503),eq:R(42956),neq:R(91025),gte:R(10739),lte:R(95906),cmp:R(54327),coerce:R(46607),Comparator:R(6471),Range:R(282),satisfies:R(51543),toComparators:R(4817),maxSatisfying:R(13452),minSatisfying:R(57655),minVersion:R(34905),validRange:R(51952),outside:R(31492),gtr:R(96168),ltr:R(59609),intersects:R(18706),simplifyRange:R(15354),subset:R(26519)}},30280:E=>{const N="2.0.0";const R=256;const j=Number.MAX_SAFE_INTEGER||9007199254740991;const $=16;E.exports={SEMVER_SPEC_VERSION:N,MAX_LENGTH:R,MAX_SAFE_INTEGER:j,MAX_SAFE_COMPONENT_LENGTH:$}},81320:E=>{const N=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...E)=>console.error("SEMVER",...E):()=>{};E.exports=N},26474:E=>{const N=/^[0-9]+$/;const compareIdentifiers=(E,R)=>{const j=N.test(E);const $=N.test(R);if(j&&$){E=+E;R=+R}return E===R?0:j&&!$?-1:$&&!j?1:EcompareIdentifiers(N,E);E.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},94679:E=>{const N=["includePrerelease","loose","rtl"];const parseOptions=E=>!E?{}:typeof E!=="object"?{loose:true}:N.filter((N=>E[N])).reduce(((E,N)=>{E[N]=true;return E}),{});E.exports=parseOptions},43109:(E,N,R)=>{const{MAX_SAFE_COMPONENT_LENGTH:j}=R(30280);const $=R(81320);N=E.exports={};const q=N.re=[];const G=N.src=[];const ie=N.t={};let ae=0;const createToken=(E,N,R)=>{const j=ae++;$(j,N);ie[E]=j;G[j]=N;q[j]=new RegExp(N,R?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","[0-9]+");createToken("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");createToken("MAINVERSION",`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})\\.`+`(${G[ie.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${G[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${G[ie.NUMERICIDENTIFIER]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${G[ie.NUMERICIDENTIFIERLOOSE]}|${G[ie.NONNUMERICIDENTIFIER]})`);createToken("PRERELEASE",`(?:-(${G[ie.PRERELEASEIDENTIFIER]}(?:\\.${G[ie.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${G[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${G[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER","[0-9A-Za-z-]+");createToken("BUILD",`(?:\\+(${G[ie.BUILDIDENTIFIER]}(?:\\.${G[ie.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${G[ie.MAINVERSION]}${G[ie.PRERELEASE]}?${G[ie.BUILD]}?`);createToken("FULL",`^${G[ie.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${G[ie.MAINVERSIONLOOSE]}${G[ie.PRERELEASELOOSE]}?${G[ie.BUILD]}?`);createToken("LOOSE",`^${G[ie.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${G[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${G[ie.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIER]})`+`(?:${G[ie.PRERELEASE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${G[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:${G[ie.PRERELEASELOOSE]})?${G[ie.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${G[ie.GTLT]}\\s*${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COERCE",`${"(^|[^\\d])"+"(\\d{1,"}${j}})`+`(?:\\.(\\d{1,${j}}))?`+`(?:\\.(\\d{1,${j}}))?`+`(?:$|[^\\d])`);createToken("COERCERTL",G[ie.COERCE],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${G[ie.LONETILDE]}\\s+`,true);N.tildeTrimReplace="$1~";createToken("TILDE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${G[ie.LONETILDE]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${G[ie.LONECARET]}\\s+`,true);N.caretTrimReplace="$1^";createToken("CARET",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${G[ie.LONECARET]}${G[ie.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${G[ie.GTLT]}\\s*(${G[ie.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${G[ie.GTLT]}\\s*(${G[ie.LOOSEPLAIN]}|${G[ie.XRANGEPLAIN]})`,true);N.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${G[ie.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${G[ie.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${G[ie.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0.0.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")},96168:(E,N,R)=>{const j=R(31492);const gtr=(E,N,R)=>j(E,N,">",R);E.exports=gtr},18706:(E,N,R)=>{const j=R(282);const intersects=(E,N,R)=>{E=new j(E,R);N=new j(N,R);return E.intersects(N)};E.exports=intersects},59609:(E,N,R)=>{const j=R(31492);const ltr=(E,N,R)=>j(E,N,"<",R);E.exports=ltr},13452:(E,N,R)=>{const j=R(5345);const $=R(282);const maxSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===-1){q=E;G=new j(q,R)}}}));return q};E.exports=maxSatisfying},57655:(E,N,R)=>{const j=R(5345);const $=R(282);const minSatisfying=(E,N,R)=>{let q=null;let G=null;let ie=null;try{ie=new $(N,R)}catch(E){return null}E.forEach((E=>{if(ie.test(E)){if(!q||G.compare(E)===1){q=E;G=new j(q,R)}}}));return q};E.exports=minSatisfying},34905:(E,N,R)=>{const j=R(5345);const $=R(282);const q=R(96390);const minVersion=(E,N)=>{E=new $(E,N);let R=new j("0.0.0");if(E.test(R)){return R}R=new j("0.0.0-0");if(E.test(R)){return R}R=null;for(let N=0;N{const N=new j(E.semver.version);switch(E.operator){case">":if(N.prerelease.length===0){N.patch++}else{N.prerelease.push(0)}N.raw=N.format();case"":case">=":if(!G||q(N,G)){G=N}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${E.operator}`)}}));if(G&&(!R||q(R,G)))R=G}if(R&&E.test(R)){return R}return null};E.exports=minVersion},31492:(E,N,R)=>{const j=R(5345);const $=R(6471);const{ANY:q}=$;const G=R(282);const ie=R(51543);const ae=R(96390);const ce=R(69503);const le=R(95906);const _e=R(10739);const outside=(E,N,R,Ee)=>{E=new j(E,Ee);N=new G(N,Ee);let Te,we,Ie,Ne,Me;switch(R){case">":Te=ae;we=le;Ie=ce;Ne=">";Me=">=";break;case"<":Te=ce;we=_e;Ie=ae;Ne="<";Me="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ie(E,N,Ee)){return false}for(let R=0;R{if(E.semver===q){E=new $(">=0.0.0")}G=G||E;ie=ie||E;if(Te(E.semver,G.semver,Ee)){G=E}else if(Ie(E.semver,ie.semver,Ee)){ie=E}}));if(G.operator===Ne||G.operator===Me){return false}if((!ie.operator||ie.operator===Ne)&&we(E,ie.semver)){return false}else if(ie.operator===Me&&Ie(E,ie.semver)){return false}}return true};E.exports=outside},15354:(E,N,R)=>{const j=R(51543);const $=R(14064);E.exports=(E,N,R)=>{const q=[];let G=null;let ie=null;const ae=E.sort(((E,N)=>$(E,N,R)));for(const E of ae){const $=j(E,N,R);if($){ie=E;if(!G)G=E}else{if(ie){q.push([G,ie])}ie=null;G=null}}if(G)q.push([G,null]);const ce=[];for(const[E,N]of q){if(E===N)ce.push(E);else if(!N&&E===ae[0])ce.push("*");else if(!N)ce.push(`>=${E}`);else if(E===ae[0])ce.push(`<=${N}`);else ce.push(`${E} - ${N}`)}const le=ce.join(" || ");const _e=typeof N.raw==="string"?N.raw:String(N);return le.length<_e.length?le:N}},26519:(E,N,R)=>{const j=R(282);const $=R(6471);const{ANY:q}=$;const G=R(51543);const ie=R(14064);const subset=(E,N,R={})=>{if(E===N)return true;E=new j(E,R);N=new j(N,R);let $=false;e:for(const j of E.set){for(const E of N.set){const N=simpleSubset(j,E,R);$=$||N!==null;if(N)continue e}if($)return false}return true};const simpleSubset=(E,N,R)=>{if(E===N)return true;if(E.length===1&&E[0].semver===q){if(N.length===1&&N[0].semver===q)return true;else if(R.includePrerelease)E=[new $(">=0.0.0-0")];else E=[new $(">=0.0.0")]}if(N.length===1&&N[0].semver===q){if(R.includePrerelease)return true;else N=[new $(">=0.0.0")]}const j=new Set;let ae,ce;for(const N of E){if(N.operator===">"||N.operator===">=")ae=higherGT(ae,N,R);else if(N.operator==="<"||N.operator==="<=")ce=lowerLT(ce,N,R);else j.add(N.semver)}if(j.size>1)return null;let le;if(ae&&ce){le=ie(ae.semver,ce.semver,R);if(le>0)return null;else if(le===0&&(ae.operator!==">="||ce.operator!=="<="))return null}for(const E of j){if(ae&&!G(E,String(ae),R))return null;if(ce&&!G(E,String(ce),R))return null;for(const j of N){if(!G(E,String(j),R))return false}return true}let _e,Ee;let Te,we;let Ie=ce&&!R.includePrerelease&&ce.semver.prerelease.length?ce.semver:false;let Ne=ae&&!R.includePrerelease&&ae.semver.prerelease.length?ae.semver:false;if(Ie&&Ie.prerelease.length===1&&ce.operator==="<"&&Ie.prerelease[0]===0){Ie=false}for(const E of N){we=we||E.operator===">"||E.operator===">=";Te=Te||E.operator==="<"||E.operator==="<=";if(ae){if(Ne){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ne.major&&E.semver.minor===Ne.minor&&E.semver.patch===Ne.patch){Ne=false}}if(E.operator===">"||E.operator===">="){_e=higherGT(ae,E,R);if(_e===E&&_e!==ae)return false}else if(ae.operator===">="&&!G(ae.semver,String(E),R))return false}if(ce){if(Ie){if(E.semver.prerelease&&E.semver.prerelease.length&&E.semver.major===Ie.major&&E.semver.minor===Ie.minor&&E.semver.patch===Ie.patch){Ie=false}}if(E.operator==="<"||E.operator==="<="){Ee=lowerLT(ce,E,R);if(Ee===E&&Ee!==ce)return false}else if(ce.operator==="<="&&!G(ce.semver,String(E),R))return false}if(!E.operator&&(ce||ae)&&le!==0)return false}if(ae&&Te&&!ce&&le!==0)return false;if(ce&&we&&!ae&&le!==0)return false;if(Ne||Ie)return false;return true};const higherGT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j>0?E:j<0?N:N.operator===">"&&E.operator===">="?N:E};const lowerLT=(E,N,R)=>{if(!E)return N;const j=ie(E.semver,N.semver,R);return j<0?E:j>0?N:N.operator==="<"&&E.operator==="<="?N:E};E.exports=subset},4817:(E,N,R)=>{const j=R(282);const toComparators=(E,N)=>new j(E,N).set.map((E=>E.map((E=>E.value)).join(" ").trim().split(" ")));E.exports=toComparators},51952:(E,N,R)=>{const j=R(282);const validRange=(E,N)=>{try{return new j(E,N).range||"*"}catch(E){return null}};E.exports=validRange},53706:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j})}}const q=new AsyncSeriesBailHookCodeFactory;class AsyncSeriesBailHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesBailHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesBailHook},27046:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class AsyncSeriesHookCodeFactory extends ${content({onError:E,onDone:N}){return this.callTapsSeries({onError:(N,R,j,$)=>E(R)+$(true),onDone:N})}}const q=new AsyncSeriesHookCodeFactory;class AsyncSeriesHook extends j{compile(E){q.setup(this,E);return q.create(E)}}Object.defineProperties(AsyncSeriesHook.prototype,{_call:{value:undefined,configurable:true,writable:true}});E.exports=AsyncSeriesHook},63782:E=>{"use strict";class Hook{constructor(E){if(!Array.isArray(E))E=[];this._args=E;this.taps=[];this.interceptors=[];this.call=this._call;this.promise=this._promise;this.callAsync=this._callAsync;this._x=undefined}compile(E){throw new Error("Abstract: should be overriden")}_createCall(E){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:E})}tap(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tap(options: Object, fn: function)");E=Object.assign({type:"sync",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tap");E=this._runRegisterInterceptors(E);this._insert(E)}tapAsync(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapAsync(options: Object, fn: function)");E=Object.assign({type:"async",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapAsync");E=this._runRegisterInterceptors(E);this._insert(E)}tapPromise(E,N){if(typeof E==="string")E={name:E};if(typeof E!=="object"||E===null)throw new Error("Invalid arguments to tapPromise(options: Object, fn: function)");E=Object.assign({type:"promise",fn:N},E);if(typeof E.name!=="string"||E.name==="")throw new Error("Missing name for tapPromise");E=this._runRegisterInterceptors(E);this._insert(E)}_runRegisterInterceptors(E){for(const N of this.interceptors){if(N.register){const R=N.register(E);if(R!==undefined)E=R}}return E}withOptions(E){const mergeOptions=N=>Object.assign({},E,typeof N==="string"?{name:N}:N);E=Object.assign({},E,this._withOptions);const N=this._withOptionsBase||this;const R=Object.create(N);R.tapAsync=(E,R)=>N.tapAsync(mergeOptions(E),R),R.tap=(E,R)=>N.tap(mergeOptions(E),R);R.tapPromise=(E,R)=>N.tapPromise(mergeOptions(E),R);R._withOptions=E;R._withOptionsBase=N;return R}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(E){this._resetCompilation();this.interceptors.push(Object.assign({},E));if(E.register){for(let N=0;N0){j--;const E=this.taps[j];this.taps[j+1]=E;const $=E.stage||0;if(N){if(N.has(E.name)){N.delete(E.name);continue}if(N.size>0){continue}}if($>R){continue}j++;break}this.taps[j]=E}}function createCompileDelegate(E,N){return function lazyCompileHook(...R){this[E]=this._createCall(N);return this[E](...R)}}Object.defineProperties(Hook.prototype,{_call:{value:createCompileDelegate("call","sync"),configurable:true,writable:true},_promise:{value:createCompileDelegate("promise","promise"),configurable:true,writable:true},_callAsync:{value:createCompileDelegate("callAsync","async"),configurable:true,writable:true}});E.exports=Hook},92070:E=>{"use strict";class HookCodeFactory{constructor(E){this.config=E;this.options=undefined;this._args=undefined}create(E){this.init(E);let N;switch(this.options.type){case"sync":N=new Function(this.args(),'"use strict";\n'+this.header()+this.content({onError:E=>`throw ${E};\n`,onResult:E=>`return ${E};\n`,resultReturns:true,onDone:()=>"",rethrowIfPossible:true}));break;case"async":N=new Function(this.args({after:"_callback"}),'"use strict";\n'+this.header()+this.content({onError:E=>`_callback(${E});\n`,onResult:E=>`_callback(null, ${E});\n`,onDone:()=>"_callback();\n"}));break;case"promise":let E=false;const R=this.content({onError:N=>{E=true;return`_error(${N});\n`},onResult:E=>`_resolve(${E});\n`,onDone:()=>"_resolve();\n"});let j="";j+='"use strict";\n';j+="return new Promise((_resolve, _reject) => {\n";if(E){j+="var _sync = true;\n";j+="function _error(_err) {\n";j+="if(_sync)\n";j+="_resolve(Promise.resolve().then(() => { throw _err; }));\n";j+="else\n";j+="_reject(_err);\n";j+="};\n"}j+=this.header();j+=R;if(E){j+="_sync = false;\n"}j+="});\n";N=new Function(this.args(),j);break}this.deinit();return N}setup(E,N){E._x=N.taps.map((E=>E.fn))}init(E){this.options=E;this._args=E.args.slice()}deinit(){this.options=undefined;this._args=undefined}header(){let E="";if(this.needContext()){E+="var _context = {};\n"}else{E+="var _context;\n"}E+="var _x = this._x;\n";if(this.options.interceptors.length>0){E+="var _taps = this.taps;\n";E+="var _interceptors = this.interceptors;\n"}for(let N=0;N {\n`;else G+=`_err${E} => {\n`;G+=`if(_err${E}) {\n`;G+=N(`_err${E}`);G+="} else {\n";if(R){G+=R(`_result${E}`)}if(j){G+=j()}G+="}\n";G+="}";q+=`_fn${E}(${this.args({before:ie.context?"_context":undefined,after:G})});\n`;break;case"promise":q+=`var _hasResult${E} = false;\n`;q+=`var _promise${E} = _fn${E}(${this.args({before:ie.context?"_context":undefined})});\n`;q+=`if (!_promise${E} || !_promise${E}.then)\n`;q+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${E} + ')');\n`;q+=`_promise${E}.then(_result${E} => {\n`;q+=`_hasResult${E} = true;\n`;if(R){q+=R(`_result${E}`)}if(j){q+=j()}q+=`}, _err${E} => {\n`;q+=`if(_hasResult${E}) throw _err${E};\n`;q+=N(`_err${E}`);q+="});\n";break}return q}callTapsSeries({onError:E,onResult:N,resultReturns:R,onDone:j,doneReturns:$,rethrowIfPossible:q}){if(this.options.taps.length===0)return j();const G=this.options.taps.findIndex((E=>E.type!=="sync"));const ie=R||$||false;let ae="";let ce=j;for(let R=this.options.taps.length-1;R>=0;R--){const $=R;const le=ce!==j&&this.options.taps[$].type!=="sync";if(le){ae+=`function _next${$}() {\n`;ae+=ce();ae+=`}\n`;ce=()=>`${ie?"return ":""}_next${$}();\n`}const _e=ce;const doneBreak=E=>{if(E)return"";return j()};const Ee=this.callTap($,{onError:N=>E($,N,_e,doneBreak),onResult:N&&(E=>N($,E,_e,doneBreak)),onDone:!N&&_e,rethrowIfPossible:q&&(G<0||$Ee}ae+=ce();return ae}callTapsLooping({onError:E,onDone:N,rethrowIfPossible:R}){if(this.options.taps.length===0)return N();const j=this.options.taps.every((E=>E.type==="sync"));let $="";if(!j){$+="var _looper = () => {\n";$+="var _loopAsync = false;\n"}$+="var _loop;\n";$+="do {\n";$+="_loop = false;\n";for(let E=0;E{let q="";q+=`if(${N} !== undefined) {\n`;q+="_loop = true;\n";if(!j)q+="if(_loopAsync) _looper();\n";q+=$(true);q+=`} else {\n`;q+=R();q+=`}\n`;return q},onDone:N&&(()=>{let E="";E+="if(!_loop) {\n";E+=N();E+="}\n";return E}),rethrowIfPossible:R&&j});$+="} while(_loop);\n";if(!j){$+="_loopAsync = true;\n";$+="};\n";$+="_looper();\n"}return $}callTapsParallel({onError:E,onResult:N,onDone:R,rethrowIfPossible:j,onTap:$=((E,N)=>N())}){if(this.options.taps.length<=1){return this.callTapsSeries({onError:E,onResult:N,onDone:R,rethrowIfPossible:j})}let q="";q+="do {\n";q+=`var _counter = ${this.options.taps.length};\n`;if(R){q+="var _done = () => {\n";q+=R();q+="};\n"}for(let G=0;G{if(R)return"if(--_counter === 0) _done();\n";else return"--_counter;"};const doneBreak=E=>{if(E||!R)return"_counter = 0;\n";else return"_counter = 0;\n_done();\n"};q+="if(_counter <= 0) break;\n";q+=$(G,(()=>this.callTap(G,{onError:N=>{let R="";R+="if(_counter > 0) {\n";R+=E(G,N,done,doneBreak);R+="}\n";return R},onResult:N&&(E=>{let R="";R+="if(_counter > 0) {\n";R+=N(G,E,done,doneBreak);R+="}\n";return R}),onDone:!N&&(()=>done()),rethrowIfPossible:j})),done,doneBreak)}q+="} while(false);\n";return q}args({before:E,after:N}={}){let R=this._args;if(E)R=[E].concat(R);if(N)R=R.concat(N);if(R.length===0){return""}else{return R.join(", ")}}getTapFn(E){return`_x[${E}]`}getTap(E){return`_taps[${E}]`}getInterceptor(E){return`_interceptors[${E}]`}}E.exports=HookCodeFactory},54333:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncBailHookCodeFactory extends ${content({onError:E,onResult:N,resultReturns:R,onDone:j,rethrowIfPossible:$}){return this.callTapsSeries({onError:(N,R)=>E(R),onResult:(E,R,j)=>`if(${R} !== undefined) {\n${N(R)};\n} else {\n${j()}}\n`,resultReturns:R,onDone:j,rethrowIfPossible:$})}}const q=new SyncBailHookCodeFactory;class SyncBailHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncBailHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncBailHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncBailHook},40352:(E,N,R)=>{"use strict";const j=R(63782);const $=R(92070);class SyncHookCodeFactory extends ${content({onError:E,onDone:N,rethrowIfPossible:R}){return this.callTapsSeries({onError:(N,R)=>E(R),onDone:N,rethrowIfPossible:R})}}const q=new SyncHookCodeFactory;class SyncHook extends j{tapAsync(){throw new Error("tapAsync is not supported on a SyncHook")}tapPromise(){throw new Error("tapPromise is not supported on a SyncHook")}compile(E){q.setup(this,E);return q.create(E)}}E.exports=SyncHook},86118:(E,N,R)=>{"use strict";const j=R(73837);const $=R(54333);function Tapable(){this._pluginCompat=new $(["options"]);this._pluginCompat.tap({name:"Tapable camelCase",stage:100},(E=>{E.names.add(E.name.replace(/[- ]([a-z])/g,((E,N)=>N.toUpperCase())))}));this._pluginCompat.tap({name:"Tapable this.hooks",stage:200},(E=>{let N;for(const R of E.names){N=this.hooks[R];if(N!==undefined){break}}if(N!==undefined){const R={name:E.fn.name||"unnamed compat plugin",stage:E.stage||0};if(E.async)N.tapAsync(R,E.fn);else N.tap(R,E.fn);return true}}))}E.exports=Tapable;Tapable.addCompatLayer=function addCompatLayer(E){Tapable.call(E);E.plugin=Tapable.prototype.plugin;E.apply=Tapable.prototype.apply};Tapable.prototype.plugin=j.deprecate((function plugin(E,N){if(Array.isArray(E)){E.forEach((function(E){this.plugin(E,N)}),this);return}const R=this._pluginCompat.call({name:E,fn:N,names:new Set([E])});if(!R){throw new Error(`Plugin could not be registered at '${E}'. Hook was not found.\n`+"BREAKING CHANGE: There need to exist a hook at 'this.hooks'. "+"To create a compatibility layer for this hook, hook into 'this._pluginCompat'.")}}),"Tapable.plugin is deprecated. Use new API on `.hooks` instead");Tapable.prototype.apply=j.deprecate((function apply(){for(var E=0;E{"use strict"; +/*! + * to-regex-range + * + * Copyright (c) 2015-present, Jon Schlinkert. + * Released under the MIT License. + */const j=R(89459);const toRegexRange=(E,N,R)=>{if(j(E)===false){throw new TypeError("toRegexRange: expected the first argument to be a number")}if(N===void 0||E===N){return String(E)}if(j(N)===false){throw new TypeError("toRegexRange: expected the second argument to be a number.")}let $={relaxZeros:true,...R};if(typeof $.strictZeros==="boolean"){$.relaxZeros=$.strictZeros===false}let q=String($.relaxZeros);let G=String($.shorthand);let ie=String($.capture);let ae=String($.wrap);let ce=E+":"+N+"="+q+G+ie+ae;if(toRegexRange.cache.hasOwnProperty(ce)){return toRegexRange.cache[ce].result}let le=Math.min(E,N);let _e=Math.max(E,N);if(Math.abs(le-_e)===1){let R=E+"|"+N;if($.capture){return`(${R})`}if($.wrap===false){return R}return`(?:${R})`}let Ee=hasPadding(E)||hasPadding(N);let Te={min:E,max:N,a:le,b:_e};let we=[];let Ie=[];if(Ee){Te.isPadded=Ee;Te.maxLen=String(Te.max).length}if(le<0){let E=_e<0?Math.abs(_e):1;Ie=splitToPatterns(E,Math.abs(le),Te,$);le=Te.a=0}if(_e>=0){we=splitToPatterns(le,_e,Te,$)}Te.negatives=Ie;Te.positives=we;Te.result=collatePatterns(Ie,we,$);if($.capture===true){Te.result=`(${Te.result})`}else if($.wrap!==false&&we.length+Ie.length>1){Te.result=`(?:${Te.result})`}toRegexRange.cache[ce]=Te;return Te.result};function collatePatterns(E,N,R){let j=filterPatterns(E,N,"-",false,R)||[];let $=filterPatterns(N,E,"",false,R)||[];let q=filterPatterns(E,N,"-?",true,R)||[];let G=j.concat(q).concat($);return G.join("|")}function splitToRanges(E,N){let R=1;let j=1;let $=countNines(E,R);let q=new Set([N]);while(E<=$&&$<=N){q.add($);R+=1;$=countNines(E,R)}$=countZeros(N+1,j)-1;while(E<$&&$<=N){q.add($);j+=1;$=countZeros(N+1,j)-1}q=[...q];q.sort(compare);return q}function rangeToPattern(E,N,R){if(E===N){return{pattern:E,count:[],digits:0}}let j=zip(E,N);let $=j.length;let q="";let G=0;for(let E=0;E<$;E++){let[N,$]=j[E];if(N===$){q+=N}else if(N!=="0"||$!=="9"){q+=toCharacterClass(N,$,R)}else{G++}}if(G){q+=R.shorthand===true?"\\d":"[0-9]"}return{pattern:q,count:[G],digits:$}}function splitToPatterns(E,N,R,j){let $=splitToRanges(E,N);let q=[];let G=E;let ie;for(let E=0;E<$.length;E++){let N=$[E];let ae=rangeToPattern(String(G),String(N),j);let ce="";if(!R.isPadded&&ie&&ie.pattern===ae.pattern){if(ie.count.length>1){ie.count.pop()}ie.count.push(ae.count[0]);ie.string=ie.pattern+toQuantifier(ie.count);G=N+1;continue}if(R.isPadded){ce=padZeros(N,R,j)}ae.string=ce+ae.pattern+toQuantifier(ae.count);q.push(ae);G=N+1;ie=ae}return q}function filterPatterns(E,N,R,j,$){let q=[];for(let $ of E){let{string:E}=$;if(!j&&!contains(N,"string",E)){q.push(R+E)}if(j&&contains(N,"string",E)){q.push(R+E)}}return q}function zip(E,N){let R=[];for(let j=0;jN?1:N>E?-1:0}function contains(E,N,R){return E.some((E=>E[N]===R))}function countNines(E,N){return Number(String(E).slice(0,-N)+"9".repeat(N))}function countZeros(E,N){return E-E%Math.pow(10,N)}function toQuantifier(E){let[N=0,R=""]=E;if(R||N>1){return`{${N+(R?","+R:"")}}`}return""}function toCharacterClass(E,N,R){return`[${E}${N-E===1?"":"-"}${N}]`}function hasPadding(E){return/^-?(0+)\d/.test(E)}function padZeros(E,N,R){if(!N.isPadded){return E}let j=Math.abs(N.maxLen-String(E).length);let $=R.relaxZeros!==false;switch(j){case 0:return"";case 1:return $?"0?":"0";case 2:return $?"0{0,2}":"00";default:{return $?`0{0,${j}}`:`0{${j}}`}}}toRegexRange.cache={};toRegexRange.clearCache=()=>toRegexRange.cache={};E.exports=toRegexRange},5115:E=>{ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +var N;var R;var j;var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;(function(N){var R=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(E){N(createExporter(R,createExporter(E)))}))}else if(true&&typeof E.exports==="object"){N(createExporter(R,createExporter(E.exports)))}else{N(createExporter(R))}function createExporter(E,N){if(E!==R){if(typeof Object.create==="function"){Object.defineProperty(E,"__esModule",{value:true})}else{E.__esModule=true}}return function(R,j){return E[R]=N?N(R,j):j}}})((function(E){var Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(E,N){E.__proto__=N}||function(E,N){for(var R in N)if(N.hasOwnProperty(R))E[R]=N[R]};N=function(E,N){Je(E,N);function __(){this.constructor=E}E.prototype=N===null?Object.create(N):(__.prototype=N.prototype,new __)};R=Object.assign||function(E){for(var N,R=1,j=arguments.length;R=0;ie--)if(G=E[ie])q=($<3?G(q):$>3?G(N,R,q):G(N,R))||q;return $>3&&q&&Object.defineProperty(N,R,q),q};q=function(E,N){return function(R,j){N(R,j,E)}};G=function(E,N){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(E,N)};ie=function(E,N,R,j){function adopt(E){return E instanceof R?E:new R((function(N){N(E)}))}return new(R||(R=Promise))((function(R,$){function fulfilled(E){try{step(j.next(E))}catch(E){$(E)}}function rejected(E){try{step(j["throw"](E))}catch(E){$(E)}}function step(E){E.done?R(E.value):adopt(E.value).then(fulfilled,rejected)}step((j=j.apply(E,N||[])).next())}))};ae=function(E,N){var R={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},j,$,q,G;return G={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(G[Symbol.iterator]=function(){return this}),G;function verb(E){return function(N){return step([E,N])}}function step(G){if(j)throw new TypeError("Generator is already executing.");while(R)try{if(j=1,$&&(q=G[0]&2?$["return"]:G[0]?$["throw"]||((q=$["return"])&&q.call($),0):$.next)&&!(q=q.call($,G[1])).done)return q;if($=0,q)G=[G[0]&2,q.value];switch(G[0]){case 0:case 1:q=G;break;case 4:R.label++;return{value:G[1],done:false};case 5:R.label++;$=G[1];G=[0];continue;case 7:G=R.ops.pop();R.trys.pop();continue;default:if(!(q=R.trys,q=q.length>0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=E.length)E=void 0;return{value:E&&E[j++],done:!E}}};throw new TypeError(N?"Object is not iterable.":"Symbol.iterator is not defined.")};_e=function(E,N){var R=typeof Symbol==="function"&&E[Symbol.iterator];if(!R)return E;var j=R.call(E),$,q=[],G;try{while((N===void 0||N-- >0)&&!($=j.next()).done)q.push($.value)}catch(E){G={error:E}}finally{try{if($&&!$.done&&(R=j["return"]))R.call(j)}finally{if(G)throw G.error}}return q};Ee=function(){for(var E=[],N=0;N1||resume(E,N)}))}}function resume(E,N){try{step(j[E](N))}catch(E){settle(q[0][3],E)}}function step(E){E.value instanceof we?Promise.resolve(E.value.v).then(fulfill,reject):settle(q[0][2],E)}function fulfill(E){resume("next",E)}function reject(E){resume("throw",E)}function settle(E,N){if(E(N),q.shift(),q.length)resume(q[0][0],q[0][1])}};Ne=function(E){var N,R;return N={},verb("next"),verb("throw",(function(E){throw E})),verb("return"),N[Symbol.iterator]=function(){return this},N;function verb(j,$){N[j]=E[j]?function(N){return(R=!R)?{value:we(E[j](N)),done:j==="return"}:$?$(N):N}:$}};Me=function(E){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var N=E[Symbol.asyncIterator],R;return N?N.call(E):(E=typeof le==="function"?le(E):E[Symbol.iterator](),R={},verb("next"),verb("throw"),verb("return"),R[Symbol.asyncIterator]=function(){return this},R);function verb(N){R[N]=E[N]&&function(R){return new Promise((function(j,$){R=E[N](R),settle(j,$,R.done,R.value)}))}}function settle(E,N,R,j){Promise.resolve(j).then((function(N){E({value:N,done:R})}),N)}};Le=function(E,N){if(Object.defineProperty){Object.defineProperty(E,"raw",{value:N})}else{E.raw=N}return E};Be=function(E){if(E&&E.__esModule)return E;var N={};if(E!=null)for(var R in E)if(Object.hasOwnProperty.call(E,R))N[R]=E[R];N["default"]=E;return N};je=function(E){return E&&E.__esModule?E:{default:E}};Ue=function(E,N){if(!N.has(E)){throw new TypeError("attempted to get private field on non-instance")}return N.get(E)};ze=function(E,N,R){if(!N.has(E)){throw new TypeError("attempted to set private field on non-instance")}N.set(E,R);return R};E("__extends",N);E("__assign",R);E("__rest",j);E("__decorate",$);E("__param",q);E("__metadata",G);E("__awaiter",ie);E("__generator",ae);E("__exportStar",ce);E("__createBinding",We);E("__values",le);E("__read",_e);E("__spread",Ee);E("__spreadArrays",Te);E("__await",we);E("__asyncGenerator",Ie);E("__asyncDelegator",Ne);E("__asyncValues",Me);E("__makeTemplateObject",Le);E("__importStar",Be);E("__importDefault",je);E("__classPrivateFieldGet",Ue);E("__classPrivateFieldSet",ze)}))},53779:function(E,N,R){"use strict"; +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */var j=this&&this.__spreadArray||function(E,N,R){if(R||arguments.length===2)for(var j=0,$=N.length,q;j<$;j++){if(q||!(j in N)){if(!q)q=Array.prototype.slice.call(N,0,j);q[j]=N[j]}}return E.concat(q||Array.prototype.slice.call(N))};var $=this&&this.__assign||function(){$=Object.assign||function(E){for(var N,R=1,j=arguments.length;R0&&q[q.length-1])&&(G[0]===6||G[0]===2)){R=0;continue}if(G[0]===3&&(!q||G[1]>q[0]&&G[1]=0;R--){var j=N(E[R],R);if(j){return j}}}return undefined}E.forEachRight=forEachRight;function firstDefined(E,N){if(E===undefined){return undefined}for(var R=0;R=0;R--){var j=E[R];if(N(j,R)){return j}}return undefined}E.findLast=findLast;function findIndex(E,N,R){for(var j=R||0;j=0;j--){if(N(E[j],j)){return j}}return-1}E.findLastIndex=findLastIndex;function findMap(N,R){for(var j=0;j0}}return false}E.some=some;function getRangesWhere(E,N,R){var j;for(var $=0;$0){E.Debug.assertGreaterThanOrEqual(j(R[G],R[G-1]),0)}t:for(var ie=q;qie){E.Debug.assertGreaterThanOrEqual(j(N[q],N[q-1]),0)}switch(j(R[G],N[q])){case-1:$.push(R[G]);continue e;case 0:continue e;case 1:continue t}}}return $}E.relativeComplement=relativeComplement;function sum(E,N){var R=0;for(var j=0,$=E;j<$.length;j++){var q=$[j];R+=q[N]}return R}E.sum=sum;function append(E,N){if(N===undefined)return E;if(E===undefined)return[N];E.push(N);return E}E.append=append;function combine(E,N){if(E===undefined)return N;if(N===undefined)return E;if(isArray(E))return isArray(N)?concatenate(E,N):append(E,N);if(isArray(N))return append(N,E);return[E,N]}E.combine=combine;function toOffset(E,N){return N<0?E.length+N:N}function addRange(E,N,R,j){if(N===undefined||N.length===0)return E;if(E===undefined)return N.slice(R,j);R=R===undefined?0:toOffset(N,R);j=j===undefined?N.length:toOffset(N,j);for(var $=R;$>1);var ae=R(E[ie],ie);switch(j(ae,N)){case-1:q=ie+1;break;case 0:return ie;case 1:G=ie-1;break}}return~q}E.binarySearchKey=binarySearchKey;function reduceLeft(E,N,R,j,$){if(E&&E.length>0){var q=E.length;if(q>0){var G=j===undefined||j<0?0:j;var ie=$===undefined||G+$>q-1?q-1:G+$;var ae=void 0;if(arguments.length<=2){ae=E[G];G++}else{ae=R}while(G<=ie){ae=N(ae,E[G],G);G++}return ae}}return R}E.reduceLeft=reduceLeft;var N=Object.prototype.hasOwnProperty;function hasProperty(E,R){return N.call(E,R)}E.hasProperty=hasProperty;function getProperty(E,R){return N.call(E,R)?E[R]:undefined}E.getProperty=getProperty;function getOwnKeys(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(j)}}return R}E.getOwnKeys=getOwnKeys;function getAllKeys(E){var N=[];do{var R=Object.getOwnPropertyNames(E);for(var j=0,$=R;j<$.length;j++){var q=$[j];pushIfUnique(N,q)}}while(E=Object.getPrototypeOf(E));return N}E.getAllKeys=getAllKeys;function getOwnValues(E){var R=[];for(var j in E){if(N.call(E,j)){R.push(E[j])}}return R}E.getOwnValues=getOwnValues;var R=Object.entries||function(E){var N=getOwnKeys(E);var R=Array(N.length);for(var j=0;jN?1:0}E.compareStringsCaseInsensitive=compareStringsCaseInsensitive;function compareStringsCaseSensitive(E,N){return compareComparableValues(E,N)}E.compareStringsCaseSensitive=compareStringsCaseSensitive;function getStringComparer(E){return E?compareStringsCaseInsensitive:compareStringsCaseSensitive}E.getStringComparer=getStringComparer;var G=function(){var E;var N;var R=getStringComparerFactory();return createStringComparer;function compareWithCallback(E,N,R){if(E===N)return 0;if(E===undefined)return-1;if(N===undefined)return 1;var j=R(E,N);return j<0?-1:j>0?1:0}function createIntlCollatorStringComparer(E){var N=new Intl.Collator(E,{usage:"sort",sensitivity:"variant"}).compare;return function(E,R){return compareWithCallback(E,R,N)}}function createLocaleCompareStringComparer(E){if(E!==undefined)return createFallbackStringComparer();return function(E,N){return compareWithCallback(E,N,compareStrings)};function compareStrings(E,N){return E.localeCompare(N)}}function createFallbackStringComparer(){return function(E,N){return compareWithCallback(E,N,compareDictionaryOrder)};function compareDictionaryOrder(E,N){return compareStrings(E.toUpperCase(),N.toUpperCase())||compareStrings(E,N)}function compareStrings(E,N){return EN?1:0}}function getStringComparerFactory(){if(typeof Intl==="object"&&typeof Intl.Collator==="function"){return createIntlCollatorStringComparer}if(typeof String.prototype.localeCompare==="function"&&typeof String.prototype.toLocaleUpperCase==="function"&&"a".localeCompare("B")<0){return createLocaleCompareStringComparer}return createFallbackStringComparer}function createStringComparer(j){if(j===undefined){return E||(E=R(j))}else if(j==="en-US"){return N||(N=R(j))}else{return R(j)}}}();var ie;var ae;function getUILocale(){return ae}E.getUILocale=getUILocale;function setUILocale(E){if(ae!==E){ae=E;ie=undefined}}E.setUILocale=setUILocale;function compareStringsCaseSensitiveUI(E,N){var R=ie||(ie=G(ae));return R(E,N)}E.compareStringsCaseSensitiveUI=compareStringsCaseSensitiveUI;function compareProperties(E,N,R,j){return E===N?0:E===undefined?-1:N===undefined?1:j(E[R],N[R])}E.compareProperties=compareProperties;function compareBooleans(E,N){return compareValues(E?1:0,N?1:0)}E.compareBooleans=compareBooleans;function getSpellingSuggestion(N,R,j){var $=Math.min(2,Math.floor(N.length*.34));var q=Math.floor(N.length*.4)+1;var G;for(var ie=0,ae=R;ieR?G-R:1);var ce=Math.floor(N.length>R+G?R+G:N.length);$[0]=G;var le=G;for(var _e=1;_eR){return undefined}var we=j;j=$;$=we}var Ie=j[N.length];return Ie>R?undefined:Ie}function endsWith(E,N){var R=E.length-N.length;return R>=0&&E.indexOf(N,R)===R}E.endsWith=endsWith;function removeSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):E}E.removeSuffix=removeSuffix;function tryRemoveSuffix(E,N){return endsWith(E,N)?E.slice(0,E.length-N.length):undefined}E.tryRemoveSuffix=tryRemoveSuffix;function stringContains(E,N){return E.indexOf(N)!==-1}E.stringContains=stringContains;function removeMinAndVersionNumbers(E){var N=E.length;for(var R=N-1;R>0;R--){var j=E.charCodeAt(R);if(j>=48&&j<=57){do{--R;j=E.charCodeAt(R)}while(R>0&&j>=48&&j<=57)}else if(R>4&&(j===110||j===78)){--R;j=E.charCodeAt(R);if(j!==105&&j!==73){break}--R;j=E.charCodeAt(R);if(j!==109&&j!==77){break}--R;j=E.charCodeAt(R)}else{break}if(j!==45&&j!==46){break}N=R}return N===E.length?E:E.slice(0,N)}E.removeMinAndVersionNumbers=removeMinAndVersionNumbers;function orderedRemoveItem(E,N){for(var R=0;R$){$=ae.prefix.length;j=ie}}return j}E.findBestPatternMatch=findBestPatternMatch;function startsWith(E,N){return E.lastIndexOf(N,0)===0}E.startsWith=startsWith;function removePrefix(E,N){return startsWith(E,N)?E.substr(N.length):E}E.removePrefix=removePrefix;function tryRemovePrefix(E,N,R){if(R===void 0){R=identity}return startsWith(R(E),R(N))?E.substring(N.length):undefined}E.tryRemovePrefix=tryRemovePrefix;function isPatternMatch(E,N){var R=E.prefix,j=E.suffix;return N.length>=R.length+j.length&&startsWith(N,R)&&endsWith(N,j)}function and(E,N){return function(R){return E(R)&&N(R)}}E.and=and;function or(){var E=[];for(var N=0;N=0){if(!E.isWhiteSpaceLike(N.charCodeAt(R)))break;R--}return N.slice(0,R+1)}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Off"]=0]="Off";E[E["Error"]=1]="Error";E[E["Warning"]=2]="Warning";E[E["Info"]=3]="Info";E[E["Verbose"]=4]="Verbose"})(N=E.LogLevel||(E.LogLevel={}));var R;(function(R){var j;var $=0;R.currentLogLevel=N.Warning;R.isDebugging=false;function getTypeScriptVersion(){return j!==null&&j!==void 0?j:j=new E.Version(E.version)}R.getTypeScriptVersion=getTypeScriptVersion;function shouldLog(E){return R.currentLogLevel<=E}R.shouldLog=shouldLog;function logMessage(E,N){if(R.loggingHost&&shouldLog(E)){R.loggingHost.log(E,N)}}function log(E){logMessage(N.Info,E)}R.log=log;(function(E){function error(E){logMessage(N.Error,E)}E.error=error;function warn(E){logMessage(N.Warning,E)}E.warn=warn;function log(E){logMessage(N.Info,E)}E.log=log;function trace(E){logMessage(N.Verbose,E)}E.trace=trace})(log=R.log||(R.log={}));var q={};function getAssertionLevel(){return $}R.getAssertionLevel=getAssertionLevel;function setAssertionLevel(N){var j=$;$=N;if(N>j){for(var G=0,ie=E.getOwnKeys(q);G=ce.level){R[ae]=ce;q[ae]=undefined}}}}R.setAssertionLevel=setAssertionLevel;function shouldAssert(E){return $>=E}R.shouldAssert=shouldAssert;function shouldAssertFunction(N,j){if(!shouldAssert(N)){q[j]={level:N,assertion:R[j]};R[j]=E.noop;return false}return true}function fail(E,N){debugger;var R=new Error(E?"Debug Failure. "+E:"Debug Failure.");if(Error.captureStackTrace){Error.captureStackTrace(R,N||fail)}throw R}R.fail=fail;function failBadSyntaxKind(E,N,R){return fail((N||"Unexpected node.")+"\r\nNode "+formatSyntaxKind(E.kind)+" was unexpected.",R||failBadSyntaxKind)}R.failBadSyntaxKind=failBadSyntaxKind;function assert(E,N,R,j){if(!E){N=N?"False expression: "+N:"False expression.";if(R){N+="\r\nVerbose Debug Information: "+(typeof R==="string"?R:R())}fail(N,j||assert)}}R.assert=assert;function assertEqual(E,N,R,j,$){if(E!==N){var q=R?j?R+" "+j:R:"";fail("Expected "+E+" === "+N+". "+q,$||assertEqual)}}R.assertEqual=assertEqual;function assertLessThan(E,N,R,j){if(E>=N){fail("Expected "+E+" < "+N+". "+(R||""),j||assertLessThan)}}R.assertLessThan=assertLessThan;function assertLessThanOrEqual(E,N,R){if(E>N){fail("Expected "+E+" <= "+N,R||assertLessThanOrEqual)}}R.assertLessThanOrEqual=assertLessThanOrEqual;function assertGreaterThanOrEqual(E,N,R){if(E= "+N,R||assertGreaterThanOrEqual)}}R.assertGreaterThanOrEqual=assertGreaterThanOrEqual;function assertIsDefined(E,N,R){if(E===undefined||E===null){fail(N,R||assertIsDefined)}}R.assertIsDefined=assertIsDefined;function checkDefined(E,N,R){assertIsDefined(E,N,R||checkDefined);return E}R.checkDefined=checkDefined;R.assertDefined=checkDefined;function assertEachIsDefined(E,N,R){for(var j=0,$=E;j<$.length;j++){var q=$[j];assertIsDefined(q,N,R||assertEachIsDefined)}}R.assertEachIsDefined=assertEachIsDefined;function checkEachDefined(E,N,R){assertEachIsDefined(E,N,R||checkEachDefined);return E}R.checkEachDefined=checkEachDefined;R.assertEachDefined=checkEachDefined;function assertNever(N,R,j){if(R===void 0){R="Illegal value:"}var $=typeof N==="object"&&E.hasProperty(N,"kind")&&E.hasProperty(N,"pos")&&formatSyntaxKind?"SyntaxKind: "+formatSyntaxKind(N.kind):JSON.stringify(N);return fail(R+" "+$,j||assertNever)}R.assertNever=assertNever;function assertEachNode(N,R,j,$){if(shouldAssertFunction(1,"assertEachNode")){assert(R===undefined||E.every(N,R),j||"Unexpected node.",(function(){return"Node array did not pass test '"+getFunctionName(R)+"'."}),$||assertEachNode)}}R.assertEachNode=assertEachNode;function assertNode(E,N,R,j){if(shouldAssertFunction(1,"assertNode")){assert(E!==undefined&&(N===undefined||N(E)),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertNode)}}R.assertNode=assertNode;function assertNotNode(E,N,R,j){if(shouldAssertFunction(1,"assertNotNode")){assert(E===undefined||N===undefined||!N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" should not have passed test '"+getFunctionName(N)+"'."}),j||assertNotNode)}}R.assertNotNode=assertNotNode;function assertOptionalNode(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalNode")){assert(N===undefined||E===undefined||N(E),R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" did not pass test '"+getFunctionName(N)+"'."}),j||assertOptionalNode)}}R.assertOptionalNode=assertOptionalNode;function assertOptionalToken(E,N,R,j){if(shouldAssertFunction(1,"assertOptionalToken")){assert(N===undefined||E===undefined||E.kind===N,R||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E===null||E===void 0?void 0:E.kind)+" was not a '"+formatSyntaxKind(N)+"' token."}),j||assertOptionalToken)}}R.assertOptionalToken=assertOptionalToken;function assertMissingNode(E,N,R){if(shouldAssertFunction(1,"assertMissingNode")){assert(E===undefined,N||"Unexpected node.",(function(){return"Node "+formatSyntaxKind(E.kind)+" was unexpected'."}),R||assertMissingNode)}}R.assertMissingNode=assertMissingNode;function type(E){}R.type=type;function getFunctionName(E){if(typeof E!=="function"){return""}else if(E.hasOwnProperty("name")){return E.name}else{var N=Function.prototype.toString.call(E);var R=/^function\s+([\w\$]+)\s*\(/.exec(N);return R?R[1]:""}}R.getFunctionName=getFunctionName;function formatSymbol(N){return"{ name: "+E.unescapeLeadingUnderscores(N.escapedName)+"; flags: "+formatSymbolFlags(N.flags)+"; declarations: "+E.map(N.declarations,(function(E){return formatSyntaxKind(E.kind)}))+" }"}R.formatSymbol=formatSymbol;function formatEnum(E,N,R){if(E===void 0){E=0}var j=getEnumMembers(N);if(E===0){return j.length>0&&j[0][0]===0?j[0][1]:"0"}if(R){var $="";var q=E;for(var G=0,ie=j;GE){break}if(ce!==0&&ce&E){$=""+$+($?"|":"")+le;q&=~ce}}if(q===0){return $}}else{for(var _e=0,Ee=j;_e=0;return ce?createErrorDeprecation(N,G,ae,R.message):le?createWarningDeprecation(N,G,ae,R.message):E.noop}function wrapFunction(E,N){return function(){E();return N.apply(this,arguments)}}function deprecate(E,N){var R=createDeprecation(getFunctionName(E),N);return wrapFunction(R,E)}R.deprecate=deprecate})(R=E.Debug||(E.Debug={}))})(ce||(ce={}));var ce;(function(E){var N=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;var R=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i;var j=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;var $=/^(0|[1-9]\d*)$/;var q=function(){function Version(N,$,q,G,ie){if($===void 0){$=0}if(q===void 0){q=0}if(G===void 0){G=""}if(ie===void 0){ie=""}if(typeof N==="string"){var ae=E.Debug.checkDefined(tryParseComponents(N),"Invalid version");N=ae.major,$=ae.minor,q=ae.patch,G=ae.prerelease,ie=ae.build}E.Debug.assert(N>=0,"Invalid argument: major");E.Debug.assert($>=0,"Invalid argument: minor");E.Debug.assert(q>=0,"Invalid argument: patch");E.Debug.assert(!G||R.test(G),"Invalid argument: prerelease");E.Debug.assert(!ie||j.test(ie),"Invalid argument: build");this.major=N;this.minor=$;this.patch=q;this.prerelease=G?G.split("."):E.emptyArray;this.build=ie?ie.split("."):E.emptyArray}Version.tryParse=function(E){var N=tryParseComponents(E);if(!N)return undefined;var R=N.major,j=N.minor,$=N.patch,q=N.prerelease,G=N.build;return new Version(R,j,$,q,G)};Version.prototype.compareTo=function(N){if(this===N)return 0;if(N===undefined)return 1;return E.compareValues(this.major,N.major)||E.compareValues(this.minor,N.minor)||E.compareValues(this.patch,N.patch)||comparePrereleaseIdentifiers(this.prerelease,N.prerelease)};Version.prototype.increment=function(N){switch(N){case"major":return new Version(this.major+1,0,0);case"minor":return new Version(this.major,this.minor+1,0);case"patch":return new Version(this.major,this.minor,this.patch+1);default:return E.Debug.assertNever(N)}};Version.prototype.toString=function(){var N=this.major+"."+this.minor+"."+this.patch;if(E.some(this.prerelease))N+="-"+this.prerelease.join(".");if(E.some(this.build))N+="+"+this.build.join(".");return N};Version.zero=new Version(0,0,0);return Version}();E.Version=q;function tryParseComponents(E){var $=N.exec(E);if(!$)return undefined;var q=$[1],G=$[2],ie=G===void 0?"0":G,ae=$[3],ce=ae===void 0?"0":ae,le=$[4],_e=le===void 0?"":le,Ee=$[5],Te=Ee===void 0?"":Ee;if(_e&&!R.test(_e))return undefined;if(Te&&!j.test(Te))return undefined;return{major:parseInt(q,10),minor:parseInt(ie,10),patch:parseInt(ce,10),prerelease:_e,build:Te}}function comparePrereleaseIdentifiers(N,R){if(N===R)return 0;if(N.length===0)return R.length===0?0:1;if(R.length===0)return-1;var j=Math.min(N.length,R.length);for(var q=0;q|>=|=)?\s*([a-z0-9-+.*]+)$/i;function parseRange(N){var R=[];for(var j=0,$=E.trimString(N).split(ie);j<$.length;j++){var q=$[j];if(!q)continue;var G=[];q=E.trimString(q);var ce=le.exec(q);if(ce){if(!parseHyphen(ce[1],ce[2],G))return undefined}else{for(var Ee=0,Te=q.split(ae);Ee=",j.version))}if(!isWildcard($.major)){R.push(isWildcard($.minor)?createComparator("<",$.version.increment("major")):isWildcard($.patch)?createComparator("<",$.version.increment("minor")):createComparator("<=",$.version))}return true}function parseComparator(E,N,R){var j=parsePartial(N);if(!j)return false;var $=j.version,G=j.major,ie=j.minor,ae=j.patch;if(!isWildcard(G)){switch(E){case"~":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")));break;case"^":R.push(createComparator(">=",$));R.push(createComparator("<",$.increment($.major>0||isWildcard(ie)?"major":$.minor>0||isWildcard(ae)?"minor":"patch")));break;case"<":case">=":R.push(createComparator(E,$));break;case"<=":case">":R.push(isWildcard(ie)?createComparator(E==="<="?"<":">=",$.increment("major")):isWildcard(ae)?createComparator(E==="<="?"<":">=",$.increment("minor")):createComparator(E,$));break;case"=":case undefined:if(isWildcard(ie)||isWildcard(ae)){R.push(createComparator(">=",$));R.push(createComparator("<",$.increment(isWildcard(ie)?"major":"minor")))}else{R.push(createComparator("=",$))}break;default:return false}}else if(E==="<"||E===">"){R.push(createComparator("<",q.zero))}return true}function isWildcard(E){return E==="*"||E==="x"||E==="X"}function createComparator(E,N){return{operator:E,operand:N}}function testDisjunction(E,N){if(N.length===0)return true;for(var R=0,j=N;R":return $>0;case">=":return $>=0;case"=":return $===0;default:return E.Debug.assertNever(R)}}function formatDisjunction(N){return E.map(N,formatAlternative).join(" || ")||"*"}function formatAlternative(N){return E.map(N,formatComparator).join(" ")}function formatComparator(E){return""+E.operator+E.operand}})(ce||(ce={}));var ce;(function(E){function hasRequiredAPI(E,N){return typeof E==="object"&&typeof E.timeOrigin==="number"&&typeof E.mark==="function"&&typeof E.measure==="function"&&typeof E.now==="function"&&typeof N==="function"}function tryGetWebPerformanceHooks(){if(typeof performance==="object"&&typeof PerformanceObserver==="function"&&hasRequiredAPI(performance,PerformanceObserver)){return{shouldWriteNativeEvents:true,performance:performance,PerformanceObserver:PerformanceObserver}}}function tryGetNodePerformanceHooks(){if(typeof process!=="undefined"&&process.nextTick&&!process.browser&&"object"==="object"&&"function"==="function"){try{var N;var j=R(4074),$=j.performance,q=j.PerformanceObserver;if(hasRequiredAPI($,q)){N=$;var G=new E.Version(process.versions.node);var ie=new E.VersionRange("<12.16.3 || 13 <13.13");if(ie.test(G)){N={get timeOrigin(){return $.timeOrigin},now:function(){return $.now()},mark:function(E){return $.mark(E)},measure:function(E,N,R){if(N===void 0){N="nodeStart"}if(R===undefined){R="__performance.measure-fix__";$.mark(R)}$.measure(E,N,R);if(R==="__performance.measure-fix__"){$.clearMarks("__performance.measure-fix__")}}}}return{shouldWriteNativeEvents:false,performance:N,PerformanceObserver:q}}}catch(E){}}}var N=tryGetWebPerformanceHooks()||tryGetNodePerformanceHooks();var j=N===null||N===void 0?void 0:N.performance;function tryGetNativePerformanceHooks(){return N}E.tryGetNativePerformanceHooks=tryGetNativePerformanceHooks;E.timestamp=j?function(){return j.now()}:Date.now?Date.now:function(){return+new Date}})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;var j;function createTimerIf(E,R,j,$){return E?createTimer(R,j,$):N.nullTimer}N.createTimerIf=createTimerIf;function createTimer(N,R,j){var $=0;return{enter:enter,exit:exit};function enter(){if(++$===1){mark(R)}}function exit(){if(--$===0){mark(j);measure(N,R,j)}else if($<0){E.Debug.fail("enter/exit count does not match.")}}}N.createTimer=createTimer;N.nullTimer={enter:E.noop,exit:E.noop};var $=false;var q=E.timestamp();var G=new E.Map;var ie=new E.Map;var ae=new E.Map;function mark(N){var R;if($){var q=(R=ie.get(N))!==null&&R!==void 0?R:0;ie.set(N,q+1);G.set(N,E.timestamp());j===null||j===void 0?void 0:j.mark(N)}}N.mark=mark;function measure(N,R,ie){var ce,le;if($){var _e=(ce=ie!==undefined?G.get(ie):undefined)!==null&&ce!==void 0?ce:E.timestamp();var Ee=(le=R!==undefined?G.get(R):undefined)!==null&&le!==void 0?le:q;var Te=ae.get(N)||0;ae.set(N,Te+(_e-Ee));j===null||j===void 0?void 0:j.measure(N,R,ie)}}N.measure=measure;function getCount(E){return ie.get(E)||0}N.getCount=getCount;function getDuration(E){return ae.get(E)||0}N.getDuration=getDuration;function forEachMeasure(E){ae.forEach((function(N,R){return E(R,N)}))}N.forEachMeasure=forEachMeasure;function isEnabled(){return $}N.isEnabled=isEnabled;function enable(N){var G;if(N===void 0){N=E.sys}if(!$){$=true;R||(R=E.tryGetNativePerformanceHooks());if(R){q=R.performance.timeOrigin;if(R.shouldWriteNativeEvents||((G=N===null||N===void 0?void 0:N.cpuProfilingEnabled)===null||G===void 0?void 0:G.call(N))||(N===null||N===void 0?void 0:N.debugMode)){j=R.performance}}}return true}N.enable=enable;function disable(){if($){G.clear();ie.clear();ae.clear();j=undefined;$=false}}N.disable=disable})(N=E.performance||(E.performance={}))})(ce||(ce={}));var ce;(function(E){var N;var R={logEvent:E.noop,logErrEvent:E.noop,logPerfEvent:E.noop,logInfoEvent:E.noop,logStartCommand:E.noop,logStopCommand:E.noop,logStartUpdateProgram:E.noop,logStopUpdateProgram:E.noop,logStartUpdateGraph:E.noop,logStopUpdateGraph:E.noop,logStartResolveModule:E.noop,logStopResolveModule:E.noop,logStartParseSourceFile:E.noop,logStopParseSourceFile:E.noop,logStartReadFile:E.noop,logStopReadFile:E.noop,logStartBindFile:E.noop,logStopBindFile:E.noop,logStartScheduledOperation:E.noop,logStopScheduledOperation:E.noop};var j;try{var $=(N=process.env.TS_ETW_MODULE_PATH)!==null&&N!==void 0?N:"./node_modules/@microsoft/typescript-etw";j=require($)}catch(E){j=undefined}E.perfLogger=j&&j.logEvent?j:R})(ce||(ce={}));var ce;(function(E){var N;(function(N){var j;var q=0;var G=0;var ie;var ae=[];var ce;var le=[];function startTracing(_e,Ee,Te){E.Debug.assert(!E.tracing,"Tracing already started");if(j===undefined){try{j=R(57147)}catch(E){throw new Error("tracing requires having fs\n(original error: "+(E.message||E)+")")}}ie=_e;ae.length=0;if(ce===undefined){ce=E.combinePaths(Ee,"legend.json")}if(!j.existsSync(Ee)){j.mkdirSync(Ee,{recursive:true})}var we=ie==="build"?"."+process.pid+"-"+ ++q:ie==="server"?"."+process.pid:"";var Ie=E.combinePaths(Ee,"trace"+we+".json");var Ne=E.combinePaths(Ee,"types"+we+".json");le.push({configFilePath:Te,tracePath:Ie,typesPath:Ne});G=j.openSync(Ie,"w");E.tracing=N;var Me={cat:"__metadata",ph:"M",ts:1e3*E.timestamp(),pid:1,tid:1};j.writeSync(G,"[\n"+[$({name:"process_name",args:{name:"tsc"}},Me),$({name:"thread_name",args:{name:"Main"}},Me),$($({name:"TracingStartedInBrowser"},Me),{cat:"disabled-by-default-devtools.timeline"})].map((function(E){return JSON.stringify(E)})).join(",\n"))}N.startTracing=startTracing;function stopTracing(){E.Debug.assert(E.tracing,"Tracing is not in progress");E.Debug.assert(!!ae.length===(ie!=="server"));j.writeSync(G,"\n]\n");j.closeSync(G);E.tracing=undefined;if(ae.length){dumpTypes(ae)}else{le[le.length-1].typesPath=undefined}}N.stopTracing=stopTracing;function recordType(E){if(ie!=="server"){ae.push(E)}}N.recordType=recordType;var _e;(function(E){E["Parse"]="parse";E["Program"]="program";E["Bind"]="bind";E["Check"]="check";E["CheckTypes"]="checkTypes";E["Emit"]="emit";E["Session"]="session"})(_e=N.Phase||(N.Phase={}));function instant(E,N,R){writeEvent("I",E,N,R,'"s":"g"')}N.instant=instant;var Ee=[];function push(N,R,j,$){if($===void 0){$=false}if($){writeEvent("B",N,R,j)}Ee.push({phase:N,name:R,args:j,time:1e3*E.timestamp(),separateBeginAndEnd:$})}N.push=push;function pop(){E.Debug.assert(Ee.length>0);writeStackEvent(Ee.length-1,1e3*E.timestamp());Ee.length--}N.pop=pop;function popAll(){var N=1e3*E.timestamp();for(var R=Ee.length-1;R>=0;R--){writeStackEvent(R,N)}Ee.length=0}N.popAll=popAll;var Te=1e3*10;function writeStackEvent(E,N){var R=Ee[E],j=R.phase,$=R.name,q=R.args,G=R.time,ie=R.separateBeginAndEnd;if(ie){writeEvent("E",j,$,q,undefined,N)}else if(Te-G%Te<=N-G){writeEvent("X",j,$,q,'"dur":'+(N-G),G)}}function writeEvent(N,R,$,q,ae,ce){if(ce===void 0){ce=1e3*E.timestamp()}if(ie==="server"&&R==="checkTypes")return;E.performance.mark("beginTracing");j.writeSync(G,',\n{"pid":1,"tid":1,"ph":"'+N+'","cat":"'+R+'","ts":'+ce+',"name":"'+$+'"');if(ae)j.writeSync(G,","+ae);if(q)j.writeSync(G,',"args":'+JSON.stringify(q));j.writeSync(G,"}");E.performance.mark("endTracing");E.performance.measure("Tracing","beginTracing","endTracing")}function getLocation(N){var R=E.getSourceFileOfNode(N);return!R?undefined:{path:R.path,start:indexFromOne(E.getLineAndCharacterOfPosition(R,N.pos)),end:indexFromOne(E.getLineAndCharacterOfPosition(R,N.end))};function indexFromOne(E){return{line:E.line+1,character:E.character+1}}}function dumpTypes(N){var R,q,G,ie,ae,ce,_e,Ee,Te,we,Ie,Ne,Me,Le,Be,je,Ue,ze,We,Je,Ve,qe;E.performance.mark("beginDumpTypes");var He=le[le.length-1].typesPath;var Ge=j.openSync(He,"w");var Ke=new E.Map;j.writeSync(Ge,"[");var Qe=N.length;for(var Xe=0;Xe0}E.isRootedDiskPath=isRootedDiskPath;function isDiskPathRoot(E){var N=getEncodedRootLength(E);return N>0&&N===E.length}E.isDiskPathRoot=isDiskPathRoot;function pathIsAbsolute(E){return getEncodedRootLength(E)!==0}E.pathIsAbsolute=pathIsAbsolute;function pathIsRelative(E){return/^\.\.?($|[\\/])/.test(E)}E.pathIsRelative=pathIsRelative;function pathIsBareSpecifier(E){return!pathIsAbsolute(E)&&!pathIsRelative(E)}E.pathIsBareSpecifier=pathIsBareSpecifier;function hasExtension(N){return E.stringContains(getBaseFileName(N),".")}E.hasExtension=hasExtension;function fileExtensionIs(N,R){return N.length>R.length&&E.endsWith(N,R)}E.fileExtensionIs=fileExtensionIs;function fileExtensionIsOneOf(E,N){for(var R=0,j=N;R0&&isAnyDirectorySeparator(E.charCodeAt(E.length-1))}E.hasTrailingDirectorySeparator=hasTrailingDirectorySeparator;function isVolumeCharacter(E){return E>=97&&E<=122||E>=65&&E<=90}function getFileUrlVolumeSeparatorEnd(E,N){var R=E.charCodeAt(N);if(R===58)return N+1;if(R===37&&E.charCodeAt(N+1)===51){var j=E.charCodeAt(N+2);if(j===97||j===65)return N+3}return-1}function getEncodedRootLength(R){if(!R)return 0;var j=R.charCodeAt(0);if(j===47||j===92){if(R.charCodeAt(1)!==j)return 1;var $=R.indexOf(j===47?E.directorySeparator:E.altDirectorySeparator,2);if($<0)return R.length;return $+1}if(isVolumeCharacter(j)&&R.charCodeAt(1)===58){var q=R.charCodeAt(2);if(q===47||q===92)return 3;if(R.length===2)return 2}var G=R.indexOf(N);if(G!==-1){var ie=G+N.length;var ae=R.indexOf(E.directorySeparator,ie);if(ae!==-1){var ce=R.slice(0,G);var le=R.slice(ie,ae);if(ce==="file"&&(le===""||le==="localhost")&&isVolumeCharacter(R.charCodeAt(ae+1))){var _e=getFileUrlVolumeSeparatorEnd(R,ae+2);if(_e!==-1){if(R.charCodeAt(_e)===47){return~(_e+1)}if(_e===R.length){return~_e}}}return~(ae+1)}return~R.length}return 0}function getRootLength(E){var N=getEncodedRootLength(E);return N<0?~N:N}E.getRootLength=getRootLength;function getDirectoryPath(N){N=normalizeSlashes(N);var R=getRootLength(N);if(R===N.length)return N;N=removeTrailingDirectorySeparator(N);return N.slice(0,Math.max(R,N.lastIndexOf(E.directorySeparator)))}E.getDirectoryPath=getDirectoryPath;function getBaseFileName(N,R,j){N=normalizeSlashes(N);var $=getRootLength(N);if($===N.length)return"";N=removeTrailingDirectorySeparator(N);var q=N.slice(Math.max(getRootLength(N),N.lastIndexOf(E.directorySeparator)+1));var G=R!==undefined&&j!==undefined?getAnyExtensionFromPath(q,R,j):undefined;return G?q.slice(0,q.length-G.length):q}E.getBaseFileName=getBaseFileName;function tryGetExtensionFromPath(N,R,j){if(!E.startsWith(R,"."))R="."+R;if(N.length>=R.length&&N.charCodeAt(N.length-R.length)===46){var $=N.slice(N.length-R.length);if(j($,R)){return $}}}function getAnyExtensionFromPathWorker(E,N,R){if(typeof N==="string"){return tryGetExtensionFromPath(E,N,R)||""}for(var j=0,$=N;j<$.length;j++){var q=$[j];var G=tryGetExtensionFromPath(E,q,R);if(G)return G}return""}function getAnyExtensionFromPath(N,R,j){if(R){return getAnyExtensionFromPathWorker(removeTrailingDirectorySeparator(N),R,j?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive)}var $=getBaseFileName(N);var q=$.lastIndexOf(".");if(q>=0){return $.substring(q)}return""}E.getAnyExtensionFromPath=getAnyExtensionFromPath;function pathComponents(N,R){var $=N.substring(0,R);var q=N.substring(R).split(E.directorySeparator);if(q.length&&!E.lastOrUndefined(q))q.pop();return j([$],q,true)}function getPathComponents(E,N){if(N===void 0){N=""}E=combinePaths(N,E);return pathComponents(E,getRootLength(E))}E.getPathComponents=getPathComponents;function getPathFromPathComponents(N){if(N.length===0)return"";var R=N[0]&&ensureTrailingDirectorySeparator(N[0]);return R+N.slice(1).join(E.directorySeparator)}E.getPathFromPathComponents=getPathFromPathComponents;function normalizeSlashes(N){var j=N.indexOf("\\");if(j===-1){return N}R.lastIndex=j;return N.replace(R,E.directorySeparator)}E.normalizeSlashes=normalizeSlashes;function reducePathComponents(N){if(!E.some(N))return[];var R=[N[0]];for(var j=1;j1){if(R[R.length-1]!==".."){R.pop();continue}}else if(R[0])continue}R.push($)}return R}E.reducePathComponents=reducePathComponents;function combinePaths(E){var N=[];for(var R=1;R0===getRootLength(R)>0,"Paths must either both be absolute or both be relative");var $=typeof j==="function"?j:E.identity;var q=typeof j==="boolean"?j:false;var G=getPathComponentsRelativeTo(N,R,q?E.equateStringsCaseInsensitive:E.equateStringsCaseSensitive,$);return getPathFromPathComponents(G)}E.getRelativePathFromDirectory=getRelativePathFromDirectory;function convertToRelativePath(E,N,R){return!isRootedDiskPath(E)?E:getRelativePathToDirectoryOrUrl(N,E,N,R,false)}E.convertToRelativePath=convertToRelativePath;function getRelativePathFromFile(E,N,R){return ensurePathIsNonModuleName(getRelativePathFromDirectory(getDirectoryPath(E),N,R))}E.getRelativePathFromFile=getRelativePathFromFile;function getRelativePathToDirectoryOrUrl(N,R,j,$,q){var G=getPathComponentsRelativeTo(resolvePath(j,N),resolvePath(j,R),E.equateStringsCaseSensitive,$);var ie=G[0];if(q&&isRootedDiskPath(ie)){var ae=ie.charAt(0)===E.directorySeparator?"file://":"file:///";G[0]=ae+ie}return getPathFromPathComponents(G)}E.getRelativePathToDirectoryOrUrl=getRelativePathToDirectoryOrUrl;function forEachAncestorDirectory(E,N){while(true){var R=N(E);if(R!==undefined){return R}var j=getDirectoryPath(E);if(j===E){return undefined}E=j}}E.forEachAncestorDirectory=forEachAncestorDirectory;function isNodeModulesDirectory(N){return E.endsWith(N,"/node_modules")}E.isNodeModulesDirectory=isNodeModulesDirectory})(ce||(ce={}));var ce;(function(E){function generateDjb2Hash(E){var N=5381;for(var R=0;R=4;var Me=process.platform==="linux"||process.platform==="darwin";var Le=ce.platform();var Be=isFileSystemCaseSensitive();var je=Be?(q=ie.realpathSync.native)!==null&&q!==void 0?q:ie.realpathSync:ie.realpathSync;var Ue=Ne&&(process.platform==="win32"||process.platform==="darwin");var ze=E.memoize((function(){return process.cwd()}));var We=createSystemWatchFunctions({pollingWatchFile:createSingleFileWatcherPerName(fsWatchFileWorker,Be),getModifiedTime:getModifiedTime,setTimeout:setTimeout,clearTimeout:clearTimeout,fsWatch:fsWatch,useCaseSensitiveFileNames:Be,getCurrentDirectory:ze,fileExists:fileExists,fsSupportsRecursiveFsWatch:Ue,directoryExists:directoryExists,getAccessibleSortedChildDirectories:function(E){return getAccessibleFileSystemEntries(E).directories},realpath:realpath,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY,defaultWatchFileKind:function(){var E,N;return(N=(E=$).defaultWatchFileKind)===null||N===void 0?void 0:N.call(E)}}),Je=We.watchFile,Ve=We.watchDirectory;var qe={args:process.argv.slice(2),newLine:ce.EOL,useCaseSensitiveFileNames:Be,write:function(E){process.stdout.write(E)},getWidthOfTerminal:function(){return process.stdout.columns},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:readFile,writeFile:writeFile,watchFile:Je,watchDirectory:Ve,resolvePath:function(E){return ae.resolve(E)},fileExists:fileExists,directoryExists:directoryExists,createDirectory:function(E){if(!qe.directoryExists(E)){try{ie.mkdirSync(E)}catch(E){if(E.code!=="EEXIST"){throw E}}}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:ze,getDirectories:getDirectories,getEnvironmentVariable:function(E){return process.env[E]||""},readDirectory:readDirectory,getModifiedTime:getModifiedTime,setModifiedTime:setModifiedTime,deleteFile:deleteFile,createHash:le?createSHA256Hash:generateDjb2Hash,createSHA256Hash:le?createSHA256Hash:undefined,getMemoryUsage:function(){if(global.gc){global.gc()}return process.memoryUsage().heapUsed},getFileSize:function(E){try{var N=statSync(E);if(N===null||N===void 0?void 0:N.isFile()){return N.size}}catch(E){}return 0},exit:function(E){disableCPUProfiler((function(){return process.exit(E)}))},enableCPUProfiler:enableCPUProfiler,disableCPUProfiler:disableCPUProfiler,cpuProfilingEnabled:function(){return!!_e||E.contains(process.execArgv,"--cpu-prof")||E.contains(process.execArgv,"--prof")},realpath:realpath,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||E.some(process.execArgv,(function(E){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(E)})),tryEnableSourceMapsForHost:function(){try{R(22284).install()}catch(E){}},setTimeout:setTimeout,clearTimeout:clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){if(process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking){process.stdout._handle.setBlocking(true)}},bufferFrom:bufferFrom,base64decode:function(E){return bufferFrom(E,"base64").toString("utf8")},base64encode:function(E){return bufferFrom(E).toString("base64")},require:function(N,R){try{var j=E.resolveJSModule(R,N,qe);return{module:require(j),modulePath:j,error:undefined}}catch(E){return{module:undefined,modulePath:undefined,error:E}}}};return qe;function statSync(E){return ie.statSync(E,{throwIfNoEntry:false})}function enableCPUProfiler(E,N){if(_e){N();return false}var j=R(31405);if(!j||!j.Session){N();return false}var $=new j.Session;$.connect();$.post("Profiler.enable",(function(){$.post("Profiler.start",(function(){_e=$;Ee=E;N()}))}));return true}function cleanupPaths(N){var R=0;var j=new E.Map;var $=E.normalizeSlashes(__dirname);var q="file://"+(E.getRootLength($)===1?"":"/")+$;for(var ie=0,ae=N.nodes;ie=2&&R[0]===254&&R[1]===255){j&=~1;for(var $=0;$=2&&R[0]===255&&R[1]===254){return R.toString("utf16le",2)}if(j>=3&&R[0]===239&&R[1]===187&&R[2]===191){return R.toString("utf8",3)}return R.toString("utf8")}function readFile(N,R){E.perfLogger.logStartReadFile(N);var j=readFileWorker(N,R);E.perfLogger.logStopReadFile();return j}function writeFile(N,R,$){E.perfLogger.logEvent("WriteFile: "+N);if($){R=j+R}var q;try{q=ie.openSync(N,"w");ie.writeSync(q,R,undefined,"utf8")}finally{if(q!==undefined){ie.closeSync(q)}}}function getAccessibleFileSystemEntries(N){E.perfLogger.logEvent("ReadDir: "+(N||"."));try{var R=ie.readdirSync(N||".",{withFileTypes:true});var j=[];var $=[];for(var q=0,G=R;q type. Did you mean to write 'Promise<{0}>'?"),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:diag(1066,E.DiagnosticCategory.Error,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:diag(1068,E.DiagnosticCategory.Error,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:diag(1069,E.DiagnosticCategory.Error,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:diag(1070,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:diag(1071,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:diag(1079,E.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:diag(1084,E.DiagnosticCategory.Error,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:diag(1085,E.DiagnosticCategory.Error,"Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0_1085","Octal literals are not available when targeting ECMAScript 5 and higher. Use the syntax '{0}'."),_0_modifier_cannot_appear_on_a_constructor_declaration:diag(1089,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:diag(1090,E.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:diag(1091,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:diag(1092,E.DiagnosticCategory.Error,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:diag(1093,E.DiagnosticCategory.Error,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:diag(1094,E.DiagnosticCategory.Error,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:diag(1095,E.DiagnosticCategory.Error,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:diag(1096,E.DiagnosticCategory.Error,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:diag(1097,E.DiagnosticCategory.Error,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:diag(1098,E.DiagnosticCategory.Error,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:diag(1099,E.DiagnosticCategory.Error,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:diag(1100,E.DiagnosticCategory.Error,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:diag(1101,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:diag(1102,E.DiagnosticCategory.Error,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1103,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:diag(1104,E.DiagnosticCategory.Error,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:diag(1105,E.DiagnosticCategory.Error,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:diag(1106,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:diag(1107,E.DiagnosticCategory.Error,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:diag(1108,E.DiagnosticCategory.Error,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:diag(1109,E.DiagnosticCategory.Error,"Expression_expected_1109","Expression expected."),Type_expected:diag(1110,E.DiagnosticCategory.Error,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:diag(1113,E.DiagnosticCategory.Error,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:diag(1114,E.DiagnosticCategory.Error,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:diag(1115,E.DiagnosticCategory.Error,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:diag(1116,E.DiagnosticCategory.Error,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode:diag(1117,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:diag(1118,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:diag(1119,E.DiagnosticCategory.Error,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:diag(1120,E.DiagnosticCategory.Error,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:diag(1121,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:diag(1123,E.DiagnosticCategory.Error,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:diag(1124,E.DiagnosticCategory.Error,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:diag(1125,E.DiagnosticCategory.Error,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:diag(1126,E.DiagnosticCategory.Error,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:diag(1127,E.DiagnosticCategory.Error,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:diag(1128,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:diag(1129,E.DiagnosticCategory.Error,"Statement_expected_1129","Statement expected."),case_or_default_expected:diag(1130,E.DiagnosticCategory.Error,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:diag(1131,E.DiagnosticCategory.Error,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:diag(1132,E.DiagnosticCategory.Error,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:diag(1134,E.DiagnosticCategory.Error,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:diag(1135,E.DiagnosticCategory.Error,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:diag(1136,E.DiagnosticCategory.Error,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:diag(1137,E.DiagnosticCategory.Error,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:diag(1138,E.DiagnosticCategory.Error,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:diag(1139,E.DiagnosticCategory.Error,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:diag(1140,E.DiagnosticCategory.Error,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:diag(1141,E.DiagnosticCategory.Error,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:diag(1142,E.DiagnosticCategory.Error,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:diag(1144,E.DiagnosticCategory.Error,"or_expected_1144","'{' or ';' expected."),Declaration_expected:diag(1146,E.DiagnosticCategory.Error,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:diag(1147,E.DiagnosticCategory.Error,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:diag(1148,E.DiagnosticCategory.Error,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:diag(1149,E.DiagnosticCategory.Error,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),const_declarations_must_be_initialized:diag(1155,E.DiagnosticCategory.Error,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:diag(1156,E.DiagnosticCategory.Error,"const_declarations_can_only_be_declared_inside_a_block_1156","'const' declarations can only be declared inside a block."),let_declarations_can_only_be_declared_inside_a_block:diag(1157,E.DiagnosticCategory.Error,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:diag(1160,E.DiagnosticCategory.Error,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:diag(1161,E.DiagnosticCategory.Error,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:diag(1162,E.DiagnosticCategory.Error,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:diag(1163,E.DiagnosticCategory.Error,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:diag(1164,E.DiagnosticCategory.Error,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1165,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:diag(1166,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1168,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1169,E.DiagnosticCategory.Error,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:diag(1170,E.DiagnosticCategory.Error,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:diag(1171,E.DiagnosticCategory.Error,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:diag(1172,E.DiagnosticCategory.Error,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:diag(1173,E.DiagnosticCategory.Error,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:diag(1174,E.DiagnosticCategory.Error,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:diag(1175,E.DiagnosticCategory.Error,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:diag(1176,E.DiagnosticCategory.Error,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:diag(1177,E.DiagnosticCategory.Error,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:diag(1178,E.DiagnosticCategory.Error,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:diag(1179,E.DiagnosticCategory.Error,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:diag(1180,E.DiagnosticCategory.Error,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:diag(1181,E.DiagnosticCategory.Error,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:diag(1182,E.DiagnosticCategory.Error,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:diag(1183,E.DiagnosticCategory.Error,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:diag(1184,E.DiagnosticCategory.Error,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:diag(1185,E.DiagnosticCategory.Error,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:diag(1186,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:diag(1187,E.DiagnosticCategory.Error,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:diag(1188,E.DiagnosticCategory.Error,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:diag(1189,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:diag(1190,E.DiagnosticCategory.Error,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:diag(1191,E.DiagnosticCategory.Error,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:diag(1192,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:diag(1193,E.DiagnosticCategory.Error,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:diag(1194,E.DiagnosticCategory.Error,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:diag(1195,E.DiagnosticCategory.Error,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:diag(1196,E.DiagnosticCategory.Error,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:diag(1197,E.DiagnosticCategory.Error,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:diag(1198,E.DiagnosticCategory.Error,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:diag(1199,E.DiagnosticCategory.Error,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:diag(1200,E.DiagnosticCategory.Error,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:diag(1202,E.DiagnosticCategory.Error,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:diag(1203,E.DiagnosticCategory.Error,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type:diag(1205,E.DiagnosticCategory.Error,"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205","Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'."),Decorators_are_not_valid_here:diag(1206,E.DiagnosticCategory.Error,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:diag(1207,E.DiagnosticCategory.Error,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_import_export_or_an_empty_export_statement_to_make_it_a_module:diag(1208,E.DiagnosticCategory.Error,"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208","'{0}' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module."),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:diag(1210,E.DiagnosticCategory.Error,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:diag(1211,E.DiagnosticCategory.Error,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:diag(1212,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:diag(1213,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:diag(1214,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:diag(1215,E.DiagnosticCategory.Error,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:diag(1216,E.DiagnosticCategory.Error,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:diag(1218,E.DiagnosticCategory.Error,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning:diag(1219,E.DiagnosticCategory.Error,"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219","Experimental support for decorators is a feature that is subject to change in a future release. Set the 'experimentalDecorators' option in your 'tsconfig' or 'jsconfig' to remove this warning."),Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher:diag(1220,E.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context:diag(1221,E.DiagnosticCategory.Error,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:diag(1222,E.DiagnosticCategory.Error,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:diag(1223,E.DiagnosticCategory.Error,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:diag(1224,E.DiagnosticCategory.Error,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:diag(1225,E.DiagnosticCategory.Error,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:diag(1226,E.DiagnosticCategory.Error,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:diag(1227,E.DiagnosticCategory.Error,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:diag(1228,E.DiagnosticCategory.Error,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:diag(1229,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:diag(1230,E.DiagnosticCategory.Error,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1231,E.DiagnosticCategory.Error,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:diag(1232,E.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:diag(1233,E.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:diag(1234,E.DiagnosticCategory.Error,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_in_a_namespace_or_module:diag(1235,E.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:diag(1236,E.DiagnosticCategory.Error,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:diag(1237,E.DiagnosticCategory.Error,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:diag(1238,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:diag(1239,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:diag(1240,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:diag(1241,E.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:diag(1242,E.DiagnosticCategory.Error,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:diag(1243,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:diag(1244,E.DiagnosticCategory.Error,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:diag(1245,E.DiagnosticCategory.Error,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:diag(1246,E.DiagnosticCategory.Error,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:diag(1247,E.DiagnosticCategory.Error,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:diag(1248,E.DiagnosticCategory.Error,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:diag(1249,E.DiagnosticCategory.Error,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:diag(1250,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:diag(1251,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:diag(1252,E.DiagnosticCategory.Error,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:diag(1253,E.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:diag(1254,E.DiagnosticCategory.Error,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:diag(1255,E.DiagnosticCategory.Error,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:diag(1257,E.DiagnosticCategory.Error,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:diag(1258,E.DiagnosticCategory.Error,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:diag(1259,E.DiagnosticCategory.Error,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:diag(1260,E.DiagnosticCategory.Error,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:diag(1261,E.DiagnosticCategory.Error,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:diag(1262,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:diag(1263,E.DiagnosticCategory.Error,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:diag(1264,E.DiagnosticCategory.Error,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:diag(1265,E.DiagnosticCategory.Error,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:diag(1266,E.DiagnosticCategory.Error,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:diag(1267,E.DiagnosticCategory.Error,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:diag(1268,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),with_statements_are_not_allowed_in_an_async_function_block:diag(1300,E.DiagnosticCategory.Error,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:diag(1308,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:diag(1312,E.DiagnosticCategory.Error,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:diag(1313,E.DiagnosticCategory.Error,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:diag(1314,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:diag(1315,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:diag(1316,E.DiagnosticCategory.Error,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:diag(1317,E.DiagnosticCategory.Error,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:diag(1318,E.DiagnosticCategory.Error,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:diag(1319,E.DiagnosticCategory.Error,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1320,E.DiagnosticCategory.Error,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1321,E.DiagnosticCategory.Error,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:diag(1322,E.DiagnosticCategory.Error,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd:diag(1323,E.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:diag(1324,E.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:diag(1325,E.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments:diag(1326,E.DiagnosticCategory.Error,"Dynamic_import_cannot_have_type_arguments_1326","Dynamic import cannot have type arguments."),String_literal_with_double_quotes_expected:diag(1327,E.DiagnosticCategory.Error,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:diag(1328,E.DiagnosticCategory.Error,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:diag(1329,E.DiagnosticCategory.Error,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:diag(1330,E.DiagnosticCategory.Error,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:diag(1331,E.DiagnosticCategory.Error,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:diag(1332,E.DiagnosticCategory.Error,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:diag(1333,E.DiagnosticCategory.Error,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:diag(1334,E.DiagnosticCategory.Error,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:diag(1335,E.DiagnosticCategory.Error,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:diag(1337,E.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:diag(1338,E.DiagnosticCategory.Error,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:diag(1339,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:diag(1340,E.DiagnosticCategory.Error,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Type_arguments_cannot_be_used_here:diag(1342,E.DiagnosticCategory.Error,"Type_arguments_cannot_be_used_here_1342","Type arguments cannot be used here."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system:diag(1343,E.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'."),A_label_is_not_allowed_here:diag(1344,E.DiagnosticCategory.Error,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:diag(1345,E.DiagnosticCategory.Error,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:diag(1346,E.DiagnosticCategory.Error,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:diag(1347,E.DiagnosticCategory.Error,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:diag(1348,E.DiagnosticCategory.Error,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:diag(1349,E.DiagnosticCategory.Error,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:diag(1350,E.DiagnosticCategory.Message,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:diag(1351,E.DiagnosticCategory.Error,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:diag(1352,E.DiagnosticCategory.Error,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:diag(1353,E.DiagnosticCategory.Error,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:diag(1354,E.DiagnosticCategory.Error,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:diag(1355,E.DiagnosticCategory.Error,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:diag(1356,E.DiagnosticCategory.Error,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:diag(1357,E.DiagnosticCategory.Error,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:diag(1358,E.DiagnosticCategory.Error,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:diag(1359,E.DiagnosticCategory.Error,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Did_you_mean_to_parenthesize_this_function_type:diag(1360,E.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:diag(1361,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:diag(1362,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:diag(1363,E.DiagnosticCategory.Error,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:diag(1364,E.DiagnosticCategory.Message,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:diag(1365,E.DiagnosticCategory.Message,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:diag(1366,E.DiagnosticCategory.Message,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:diag(1367,E.DiagnosticCategory.Message,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Did_you_mean_0:diag(1369,E.DiagnosticCategory.Message,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:diag(1371,E.DiagnosticCategory.Error,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),Convert_to_type_only_import:diag(1373,E.DiagnosticCategory.Message,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:diag(1374,E.DiagnosticCategory.Message,"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374","Convert all imports not used as a value to type-only imports"),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1375,E.DiagnosticCategory.Error,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:diag(1376,E.DiagnosticCategory.Message,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:diag(1377,E.DiagnosticCategory.Message,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1378,E.DiagnosticCategory.Error,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:diag(1379,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:diag(1380,E.DiagnosticCategory.Error,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:diag(1381,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:diag(1382,E.DiagnosticCategory.Error,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Only_named_exports_may_use_export_type:diag(1383,E.DiagnosticCategory.Error,"Only_named_exports_may_use_export_type_1383","Only named exports may use 'export type'."),A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list:diag(1384,E.DiagnosticCategory.Error,"A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384","A 'new' expression with type arguments must always be followed by a parenthesized argument list."),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1385,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:diag(1386,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1387,E.DiagnosticCategory.Error,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:diag(1388,E.DiagnosticCategory.Error,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:diag(1389,E.DiagnosticCategory.Error,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),Provides_a_root_package_name_when_using_outFile_with_declarations:diag(1390,E.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:diag(1391,E.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The 'bundledPackageName' option must be provided when using outFile and node module resolution with declaration emit."),An_import_alias_cannot_use_import_type:diag(1392,E.DiagnosticCategory.Error,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:diag(1393,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:diag(1394,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:diag(1395,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:diag(1396,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:diag(1397,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:diag(1398,E.DiagnosticCategory.Message,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:diag(1399,E.DiagnosticCategory.Message,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:diag(1400,E.DiagnosticCategory.Message,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:diag(1401,E.DiagnosticCategory.Message,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:diag(1402,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:diag(1403,E.DiagnosticCategory.Message,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:diag(1404,E.DiagnosticCategory.Message,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:diag(1405,E.DiagnosticCategory.Message,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:diag(1406,E.DiagnosticCategory.Message,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:diag(1407,E.DiagnosticCategory.Message,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:diag(1408,E.DiagnosticCategory.Message,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:diag(1409,E.DiagnosticCategory.Message,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:diag(1410,E.DiagnosticCategory.Message,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:diag(1411,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1412,E.DiagnosticCategory.Message,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:diag(1413,E.DiagnosticCategory.Message,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:diag(1414,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:diag(1415,E.DiagnosticCategory.Message,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:diag(1416,E.DiagnosticCategory.Message,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:diag(1417,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:diag(1418,E.DiagnosticCategory.Message,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:diag(1419,E.DiagnosticCategory.Message,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:diag(1420,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:diag(1421,E.DiagnosticCategory.Message,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:diag(1422,E.DiagnosticCategory.Message,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:diag(1423,E.DiagnosticCategory.Message,"File_is_library_specified_here_1423","File is library specified here."),Default_library:diag(1424,E.DiagnosticCategory.Message,"Default_library_1424","Default library"),Default_library_for_target_0:diag(1425,E.DiagnosticCategory.Message,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:diag(1426,E.DiagnosticCategory.Message,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:diag(1427,E.DiagnosticCategory.Message,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:diag(1428,E.DiagnosticCategory.Message,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:diag(1429,E.DiagnosticCategory.Message,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:diag(1430,E.DiagnosticCategory.Message,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:diag(1431,E.DiagnosticCategory.Error,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher:diag(1432,E.DiagnosticCategory.Error,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),Decorators_may_not_be_applied_to_this_parameters:diag(1433,E.DiagnosticCategory.Error,"Decorators_may_not_be_applied_to_this_parameters_1433","Decorators may not be applied to 'this' parameters."),Unexpected_keyword_or_identifier:diag(1434,E.DiagnosticCategory.Error,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:diag(1435,E.DiagnosticCategory.Error,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:diag(1436,E.DiagnosticCategory.Error,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:diag(1437,E.DiagnosticCategory.Error,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:diag(1438,E.DiagnosticCategory.Error,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:diag(1439,E.DiagnosticCategory.Error,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:diag(1440,E.DiagnosticCategory.Error,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:diag(1441,E.DiagnosticCategory.Error,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:diag(1442,E.DiagnosticCategory.Error,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:diag(1443,E.DiagnosticCategory.Error,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),The_types_of_0_are_incompatible_between_these_types:diag(2200,E.DiagnosticCategory.Error,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:diag(2201,E.DiagnosticCategory.Error,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:diag(2202,E.DiagnosticCategory.Error,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",undefined,true),Construct_signature_return_types_0_and_1_are_incompatible:diag(2203,E.DiagnosticCategory.Error,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",undefined,true),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2204,E.DiagnosticCategory.Error,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:diag(2205,E.DiagnosticCategory.Error,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",undefined,true),Duplicate_identifier_0:diag(2300,E.DiagnosticCategory.Error,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:diag(2301,E.DiagnosticCategory.Error,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:diag(2302,E.DiagnosticCategory.Error,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:diag(2303,E.DiagnosticCategory.Error,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:diag(2304,E.DiagnosticCategory.Error,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:diag(2305,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:diag(2306,E.DiagnosticCategory.Error,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:diag(2307,E.DiagnosticCategory.Error,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:diag(2308,E.DiagnosticCategory.Error,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:diag(2309,E.DiagnosticCategory.Error,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:diag(2310,E.DiagnosticCategory.Error,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),A_class_may_only_extend_another_class:diag(2311,E.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2312,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:diag(2313,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:diag(2314,E.DiagnosticCategory.Error,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:diag(2315,E.DiagnosticCategory.Error,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:diag(2316,E.DiagnosticCategory.Error,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:diag(2317,E.DiagnosticCategory.Error,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:diag(2318,E.DiagnosticCategory.Error,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:diag(2319,E.DiagnosticCategory.Error,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:diag(2320,E.DiagnosticCategory.Error,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:diag(2321,E.DiagnosticCategory.Error,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:diag(2322,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:diag(2323,E.DiagnosticCategory.Error,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:diag(2324,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:diag(2325,E.DiagnosticCategory.Error,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:diag(2326,E.DiagnosticCategory.Error,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:diag(2327,E.DiagnosticCategory.Error,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:diag(2328,E.DiagnosticCategory.Error,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:diag(2329,E.DiagnosticCategory.Error,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:diag(2330,E.DiagnosticCategory.Error,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:diag(2331,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:diag(2332,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:diag(2333,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:diag(2334,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:diag(2335,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:diag(2336,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:diag(2337,E.DiagnosticCategory.Error,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:diag(2338,E.DiagnosticCategory.Error,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:diag(2339,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:diag(2340,E.DiagnosticCategory.Error,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:diag(2341,E.DiagnosticCategory.Error,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:diag(2342,E.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:diag(2343,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:diag(2344,E.DiagnosticCategory.Error,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:diag(2345,E.DiagnosticCategory.Error,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Call_target_does_not_contain_any_signatures:diag(2346,E.DiagnosticCategory.Error,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:diag(2347,E.DiagnosticCategory.Error,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:diag(2348,E.DiagnosticCategory.Error,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:diag(2349,E.DiagnosticCategory.Error,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:diag(2350,E.DiagnosticCategory.Error,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:diag(2351,E.DiagnosticCategory.Error,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:diag(2352,E.DiagnosticCategory.Error,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:diag(2353,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:diag(2354,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value:diag(2355,E.DiagnosticCategory.Error,"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'void' nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2356,E.DiagnosticCategory.Error,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:diag(2357,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:diag(2358,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type:diag(2359,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359","The right-hand side of an 'instanceof' expression must be of type 'any' or of a type assignable to the 'Function' interface type."),The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol:diag(2360,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_not_be_a_primitive:diag(2361,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361","The right-hand side of an 'in' expression must not be a primitive."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2362,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:diag(2363,E.DiagnosticCategory.Error,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:diag(2364,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:diag(2365,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:diag(2366,E.DiagnosticCategory.Error,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap:diag(2367,E.DiagnosticCategory.Error,"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367","This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap."),Type_parameter_name_cannot_be_0:diag(2368,E.DiagnosticCategory.Error,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:diag(2369,E.DiagnosticCategory.Error,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:diag(2370,E.DiagnosticCategory.Error,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:diag(2371,E.DiagnosticCategory.Error,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:diag(2372,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:diag(2373,E.DiagnosticCategory.Error,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:diag(2374,E.DiagnosticCategory.Error,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:diag(2376,E.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:diag(2377,E.DiagnosticCategory.Error,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:diag(2378,E.DiagnosticCategory.Error,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:diag(2380,E.DiagnosticCategory.Error,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),A_signature_with_an_implementation_cannot_use_a_string_literal_type:diag(2381,E.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:diag(2382,E.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported:diag(2383,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:diag(2384,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:diag(2385,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:diag(2386,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:diag(2387,E.DiagnosticCategory.Error,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:diag(2388,E.DiagnosticCategory.Error,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:diag(2389,E.DiagnosticCategory.Error,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:diag(2390,E.DiagnosticCategory.Error,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:diag(2391,E.DiagnosticCategory.Error,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:diag(2392,E.DiagnosticCategory.Error,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:diag(2393,E.DiagnosticCategory.Error,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:diag(2394,E.DiagnosticCategory.Error,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:diag(2395,E.DiagnosticCategory.Error,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:diag(2396,E.DiagnosticCategory.Error,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:diag(2397,E.DiagnosticCategory.Error,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:diag(2398,E.DiagnosticCategory.Error,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:diag(2399,E.DiagnosticCategory.Error,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:diag(2400,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:diag(2401,E.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:diag(2402,E.DiagnosticCategory.Error,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:diag(2403,E.DiagnosticCategory.Error,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:diag(2404,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:diag(2405,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:diag(2406,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:diag(2407,E.DiagnosticCategory.Error,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:diag(2408,E.DiagnosticCategory.Error,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:diag(2409,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:diag(2410,E.DiagnosticCategory.Error,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:diag(2411,E.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:diag(2413,E.DiagnosticCategory.Error,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:diag(2414,E.DiagnosticCategory.Error,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:diag(2415,E.DiagnosticCategory.Error,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:diag(2416,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:diag(2417,E.DiagnosticCategory.Error,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:diag(2418,E.DiagnosticCategory.Error,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:diag(2419,E.DiagnosticCategory.Error,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:diag(2420,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2422,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:diag(2423,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2425,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:diag(2426,E.DiagnosticCategory.Error,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:diag(2427,E.DiagnosticCategory.Error,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:diag(2428,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:diag(2430,E.DiagnosticCategory.Error,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:diag(2431,E.DiagnosticCategory.Error,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:diag(2432,E.DiagnosticCategory.Error,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:diag(2433,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:diag(2434,E.DiagnosticCategory.Error,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:diag(2435,E.DiagnosticCategory.Error,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:diag(2436,E.DiagnosticCategory.Error,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:diag(2437,E.DiagnosticCategory.Error,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:diag(2438,E.DiagnosticCategory.Error,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:diag(2439,E.DiagnosticCategory.Error,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:diag(2440,E.DiagnosticCategory.Error,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:diag(2441,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:diag(2442,E.DiagnosticCategory.Error,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:diag(2443,E.DiagnosticCategory.Error,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:diag(2444,E.DiagnosticCategory.Error,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:diag(2445,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:diag(2446,E.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:diag(2447,E.DiagnosticCategory.Error,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:diag(2448,E.DiagnosticCategory.Error,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:diag(2449,E.DiagnosticCategory.Error,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:diag(2450,E.DiagnosticCategory.Error,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:diag(2451,E.DiagnosticCategory.Error,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:diag(2452,E.DiagnosticCategory.Error,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:diag(2453,E.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:diag(2454,E.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:diag(2455,E.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself:diag(2456,E.DiagnosticCategory.Error,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:diag(2457,E.DiagnosticCategory.Error,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:diag(2458,E.DiagnosticCategory.Error,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:diag(2459,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:diag(2460,E.DiagnosticCategory.Error,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:diag(2461,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:diag(2462,E.DiagnosticCategory.Error,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:diag(2463,E.DiagnosticCategory.Error,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:diag(2464,E.DiagnosticCategory.Error,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:diag(2465,E.DiagnosticCategory.Error,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:diag(2466,E.DiagnosticCategory.Error,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:diag(2467,E.DiagnosticCategory.Error,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:diag(2468,E.DiagnosticCategory.Error,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:diag(2469,E.DiagnosticCategory.Error,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:diag(2470,E.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:diag(2471,E.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:diag(2472,E.DiagnosticCategory.Error,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:diag(2473,E.DiagnosticCategory.Error,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values:diag(2474,E.DiagnosticCategory.Error,"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474","const enum member initializers can only contain literal values and other computed enum values."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:diag(2475,E.DiagnosticCategory.Error,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:diag(2476,E.DiagnosticCategory.Error,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:diag(2477,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:diag(2478,E.DiagnosticCategory.Error,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),Property_0_does_not_exist_on_const_enum_1:diag(2479,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:diag(2480,E.DiagnosticCategory.Error,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:diag(2481,E.DiagnosticCategory.Error,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:diag(2483,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:diag(2484,E.DiagnosticCategory.Error,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:diag(2487,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2488,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:diag(2489,E.DiagnosticCategory.Error,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:diag(2490,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:diag(2491,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:diag(2492,E.DiagnosticCategory.Error,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:diag(2493,E.DiagnosticCategory.Error,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:diag(2494,E.DiagnosticCategory.Error,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:diag(2495,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:diag(2496,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:diag(2497,E.DiagnosticCategory.Error,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:diag(2498,E.DiagnosticCategory.Error,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2499,E.DiagnosticCategory.Error,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:diag(2500,E.DiagnosticCategory.Error,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:diag(2501,E.DiagnosticCategory.Error,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:diag(2502,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:diag(2503,E.DiagnosticCategory.Error,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:diag(2504,E.DiagnosticCategory.Error,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:diag(2505,E.DiagnosticCategory.Error,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:diag(2506,E.DiagnosticCategory.Error,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:diag(2507,E.DiagnosticCategory.Error,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:diag(2508,E.DiagnosticCategory.Error,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:diag(2509,E.DiagnosticCategory.Error,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:diag(2510,E.DiagnosticCategory.Error,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:diag(2511,E.DiagnosticCategory.Error,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:diag(2512,E.DiagnosticCategory.Error,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:diag(2513,E.DiagnosticCategory.Error,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),Classes_containing_abstract_methods_must_be_marked_abstract:diag(2514,E.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:diag(2515,E.DiagnosticCategory.Error,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:diag(2516,E.DiagnosticCategory.Error,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:diag(2517,E.DiagnosticCategory.Error,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:diag(2518,E.DiagnosticCategory.Error,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:diag(2519,E.DiagnosticCategory.Error,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:diag(2520,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:diag(2521,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:diag(2522,E.DiagnosticCategory.Error,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:diag(2523,E.DiagnosticCategory.Error,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:diag(2524,E.DiagnosticCategory.Error,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:diag(2525,E.DiagnosticCategory.Error,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:diag(2526,E.DiagnosticCategory.Error,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:diag(2527,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:diag(2528,E.DiagnosticCategory.Error,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:diag(2529,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:diag(2530,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:diag(2531,E.DiagnosticCategory.Error,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:diag(2532,E.DiagnosticCategory.Error,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:diag(2533,E.DiagnosticCategory.Error,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:diag(2534,E.DiagnosticCategory.Error,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Enum_type_0_has_members_with_initializers_that_are_not_literals:diag(2535,E.DiagnosticCategory.Error,"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535","Enum type '{0}' has members with initializers that are not literals."),Type_0_cannot_be_used_to_index_type_1:diag(2536,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:diag(2537,E.DiagnosticCategory.Error,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:diag(2538,E.DiagnosticCategory.Error,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:diag(2539,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:diag(2540,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:diag(2541,E.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading:diag(2542,E.DiagnosticCategory.Error,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:diag(2543,E.DiagnosticCategory.Error,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:diag(2544,E.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:diag(2545,E.DiagnosticCategory.Error,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:diag(2547,E.DiagnosticCategory.Error,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2548,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:diag(2549,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:diag(2550,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:diag(2551,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:diag(2552,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:diag(2553,E.DiagnosticCategory.Error,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:diag(2554,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:diag(2555,E.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:diag(2556,E.DiagnosticCategory.Error,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:diag(2558,E.DiagnosticCategory.Error,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:diag(2559,E.DiagnosticCategory.Error,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:diag(2560,E.DiagnosticCategory.Error,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:diag(2561,E.DiagnosticCategory.Error,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:diag(2562,E.DiagnosticCategory.Error,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:diag(2563,E.DiagnosticCategory.Error,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:diag(2564,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:diag(2565,E.DiagnosticCategory.Error,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:diag(2566,E.DiagnosticCategory.Error,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:diag(2567,E.DiagnosticCategory.Error,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:diag(2568,E.DiagnosticCategory.Error,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators:diag(2569,E.DiagnosticCategory.Error,"Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterati_2569","Type '{0}' is not an array type or a string type. Use compiler option '--downlevelIteration' to allow iterating of iterators."),Could_not_find_name_0_Did_you_mean_1:diag(2570,E.DiagnosticCategory.Error,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:diag(2571,E.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:diag(2572,E.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:diag(2573,E.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type:diag(2574,E.DiagnosticCategory.Error,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:diag(2575,E.DiagnosticCategory.Error,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:diag(2576,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:diag(2577,E.DiagnosticCategory.Error,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:diag(2578,E.DiagnosticCategory.Error,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:diag(2580,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:diag(2581,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:diag(2582,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:diag(2583,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:diag(2584,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:diag(2585,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Enum_type_0_circularly_references_itself:diag(2586,E.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:diag(2587,E.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant:diag(2588,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:diag(2589,E.DiagnosticCategory.Error,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:diag(2590,E.DiagnosticCategory.Error,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:diag(2591,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:diag(2592,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:diag(2593,E.DiagnosticCategory.Error,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:diag(2594,E.DiagnosticCategory.Error,"This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594","This module is declared with using 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:diag(2595,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2596,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:diag(2597,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2598,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_attributes_type_0_may_not_be_a_union_type:diag(2600,E.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:diag(2601,E.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:diag(2602,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:diag(2603,E.DiagnosticCategory.Error,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:diag(2604,E.DiagnosticCategory.Error,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:diag(2605,E.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:diag(2606,E.DiagnosticCategory.Error,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:diag(2607,E.DiagnosticCategory.Error,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:diag(2608,E.DiagnosticCategory.Error,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:diag(2609,E.DiagnosticCategory.Error,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:diag(2610,E.DiagnosticCategory.Error,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:diag(2611,E.DiagnosticCategory.Error,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:diag(2612,E.DiagnosticCategory.Error,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:diag(2613,E.DiagnosticCategory.Error,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:diag(2614,E.DiagnosticCategory.Error,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:diag(2615,E.DiagnosticCategory.Error,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:diag(2616,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:diag(2617,E.DiagnosticCategory.Error,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:diag(2618,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:diag(2619,E.DiagnosticCategory.Error,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:diag(2620,E.DiagnosticCategory.Error,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:diag(2621,E.DiagnosticCategory.Error,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:diag(2623,E.DiagnosticCategory.Error,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:diag(2624,E.DiagnosticCategory.Error,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:diag(2625,E.DiagnosticCategory.Error,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:diag(2626,E.DiagnosticCategory.Error,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:diag(2627,E.DiagnosticCategory.Error,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:diag(2628,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:diag(2629,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:diag(2630,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:diag(2631,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:diag(2632,E.DiagnosticCategory.Error,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:diag(2633,E.DiagnosticCategory.Error,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:diag(2634,E.DiagnosticCategory.Error,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:diag(2649,E.DiagnosticCategory.Error,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:diag(2651,E.DiagnosticCategory.Error,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:diag(2652,E.DiagnosticCategory.Error,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:diag(2653,E.DiagnosticCategory.Error,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:diag(2654,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:diag(2656,E.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element:diag(2657,E.DiagnosticCategory.Error,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:diag(2658,E.DiagnosticCategory.Error,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:diag(2659,E.DiagnosticCategory.Error,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:diag(2660,E.DiagnosticCategory.Error,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:diag(2661,E.DiagnosticCategory.Error,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:diag(2662,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:diag(2663,E.DiagnosticCategory.Error,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:diag(2664,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:diag(2665,E.DiagnosticCategory.Error,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:diag(2666,E.DiagnosticCategory.Error,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:diag(2667,E.DiagnosticCategory.Error,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:diag(2668,E.DiagnosticCategory.Error,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:diag(2669,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:diag(2670,E.DiagnosticCategory.Error,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:diag(2671,E.DiagnosticCategory.Error,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:diag(2672,E.DiagnosticCategory.Error,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:diag(2673,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:diag(2674,E.DiagnosticCategory.Error,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:diag(2675,E.DiagnosticCategory.Error,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:diag(2676,E.DiagnosticCategory.Error,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:diag(2677,E.DiagnosticCategory.Error,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:diag(2678,E.DiagnosticCategory.Error,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:diag(2679,E.DiagnosticCategory.Error,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:diag(2680,E.DiagnosticCategory.Error,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:diag(2681,E.DiagnosticCategory.Error,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),get_and_set_accessor_must_have_the_same_this_type:diag(2682,E.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:diag(2683,E.DiagnosticCategory.Error,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:diag(2684,E.DiagnosticCategory.Error,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:diag(2685,E.DiagnosticCategory.Error,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:diag(2686,E.DiagnosticCategory.Error,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:diag(2687,E.DiagnosticCategory.Error,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:diag(2688,E.DiagnosticCategory.Error,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:diag(2689,E.DiagnosticCategory.Error,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:diag(2690,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead:diag(2691,E.DiagnosticCategory.Error,"An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691","An import path cannot end with a '{0}' extension. Consider importing '{1}' instead."),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:diag(2692,E.DiagnosticCategory.Error,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:diag(2693,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:diag(2694,E.DiagnosticCategory.Error,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:diag(2695,E.DiagnosticCategory.Error,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",true),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:diag(2696,E.DiagnosticCategory.Error,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2697,E.DiagnosticCategory.Error,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:diag(2698,E.DiagnosticCategory.Error,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:diag(2699,E.DiagnosticCategory.Error,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:diag(2700,E.DiagnosticCategory.Error,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:diag(2701,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:diag(2702,E.DiagnosticCategory.Error,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:diag(2703,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:diag(2704,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2705,E.DiagnosticCategory.Error,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:diag(2706,E.DiagnosticCategory.Error,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:diag(2707,E.DiagnosticCategory.Error,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:diag(2708,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:diag(2709,E.DiagnosticCategory.Error,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:diag(2710,E.DiagnosticCategory.Error,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:diag(2711,E.DiagnosticCategory.Error,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:diag(2712,E.DiagnosticCategory.Error,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:diag(2713,E.DiagnosticCategory.Error,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:diag(2714,E.DiagnosticCategory.Error,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:diag(2715,E.DiagnosticCategory.Error,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:diag(2716,E.DiagnosticCategory.Error,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:diag(2717,E.DiagnosticCategory.Error,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:diag(2718,E.DiagnosticCategory.Error,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:diag(2719,E.DiagnosticCategory.Error,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:diag(2720,E.DiagnosticCategory.Error,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:diag(2721,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:diag(2722,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:diag(2723,E.DiagnosticCategory.Error,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:diag(2724,E.DiagnosticCategory.Error,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:diag(2725,E.DiagnosticCategory.Error,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:diag(2726,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:diag(2727,E.DiagnosticCategory.Error,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:diag(2728,E.DiagnosticCategory.Message,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:diag(2729,E.DiagnosticCategory.Error,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:diag(2730,E.DiagnosticCategory.Error,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:diag(2731,E.DiagnosticCategory.Error,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:diag(2732,E.DiagnosticCategory.Error,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:diag(2733,E.DiagnosticCategory.Error,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:diag(2734,E.DiagnosticCategory.Error,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:diag(2735,E.DiagnosticCategory.Error,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:diag(2736,E.DiagnosticCategory.Error,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:diag(2737,E.DiagnosticCategory.Error,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:diag(2738,E.DiagnosticCategory.Message,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:diag(2739,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:diag(2740,E.DiagnosticCategory.Error,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:diag(2741,E.DiagnosticCategory.Error,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:diag(2742,E.DiagnosticCategory.Error,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:diag(2743,E.DiagnosticCategory.Error,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:diag(2744,E.DiagnosticCategory.Error,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:diag(2745,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:diag(2746,E.DiagnosticCategory.Error,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:diag(2747,E.DiagnosticCategory.Error,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided:diag(2748,E.DiagnosticCategory.Error,"Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided_2748","Cannot access ambient const enums when the '--isolatedModules' flag is provided."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:diag(2749,E.DiagnosticCategory.Error,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:diag(2750,E.DiagnosticCategory.Error,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:diag(2751,E.DiagnosticCategory.Error,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:diag(2752,E.DiagnosticCategory.Error,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:diag(2753,E.DiagnosticCategory.Error,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:diag(2754,E.DiagnosticCategory.Error,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:diag(2755,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:diag(2756,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:diag(2757,E.DiagnosticCategory.Error,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2758,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:diag(2759,E.DiagnosticCategory.Error,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:diag(2760,E.DiagnosticCategory.Error,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:diag(2761,E.DiagnosticCategory.Error,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:diag(2762,E.DiagnosticCategory.Error,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:diag(2763,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:diag(2764,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:diag(2765,E.DiagnosticCategory.Error,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:diag(2766,E.DiagnosticCategory.Error,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:diag(2767,E.DiagnosticCategory.Error,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:diag(2768,E.DiagnosticCategory.Error,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:diag(2769,E.DiagnosticCategory.Error,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:diag(2770,E.DiagnosticCategory.Error,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:diag(2771,E.DiagnosticCategory.Error,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:diag(2772,E.DiagnosticCategory.Error,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:diag(2773,E.DiagnosticCategory.Error,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:diag(2774,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:diag(2775,E.DiagnosticCategory.Error,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:diag(2776,E.DiagnosticCategory.Error,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:diag(2777,E.DiagnosticCategory.Error,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:diag(2778,E.DiagnosticCategory.Error,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:diag(2779,E.DiagnosticCategory.Error,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:diag(2780,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:diag(2781,E.DiagnosticCategory.Error,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:diag(2782,E.DiagnosticCategory.Message,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:diag(2783,E.DiagnosticCategory.Error,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:diag(2784,E.DiagnosticCategory.Error,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:diag(2785,E.DiagnosticCategory.Error,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:diag(2786,E.DiagnosticCategory.Error,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:diag(2787,E.DiagnosticCategory.Error,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:diag(2788,E.DiagnosticCategory.Error,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:diag(2789,E.DiagnosticCategory.Error,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:diag(2790,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:diag(2791,E.DiagnosticCategory.Error,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:diag(2792,E.DiagnosticCategory.Error,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_th_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:diag(2793,E.DiagnosticCategory.Error,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:diag(2794,E.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:diag(2795,E.DiagnosticCategory.Error,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:diag(2796,E.DiagnosticCategory.Error,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:diag(2797,E.DiagnosticCategory.Error,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:diag(2798,E.DiagnosticCategory.Error,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:diag(2799,E.DiagnosticCategory.Error,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:diag(2800,E.DiagnosticCategory.Error,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:diag(2801,E.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:diag(2802,E.DiagnosticCategory.Error,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:diag(2803,E.DiagnosticCategory.Error,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:diag(2804,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_not_specified_with_a_target_of_esnext_Consider_adding_the_useDefineForClassFields_flag:diag(2805,E.DiagnosticCategory.Error,"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805","Static fields with private names can't have initializers when the '--useDefineForClassFields' flag is not specified with a '--target' of 'esnext'. Consider adding the '--useDefineForClassFields' flag."),Private_accessor_was_defined_without_a_getter:diag(2806,E.DiagnosticCategory.Error,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:diag(2807,E.DiagnosticCategory.Error,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:diag(2808,E.DiagnosticCategory.Error,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses:diag(2809,E.DiagnosticCategory.Error,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the the whole assignment in parentheses."),Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false:diag(2810,E.DiagnosticCategory.Error,"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810","Property '{0}' may not be used in a static property's initializer in the same class when 'target' is 'esnext' and 'useDefineForClassFields' is 'false'."),Initializer_for_property_0:diag(2811,E.DiagnosticCategory.Error,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:diag(2812,E.DiagnosticCategory.Error,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:diag(2813,E.DiagnosticCategory.Error,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:diag(2814,E.DiagnosticCategory.Error,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:diag(2815,E.DiagnosticCategory.Error,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:diag(2816,E.DiagnosticCategory.Error,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:diag(2817,E.DiagnosticCategory.Error,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:diag(2818,E.DiagnosticCategory.Error,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:diag(2819,E.DiagnosticCategory.Error,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Import_declaration_0_is_using_private_name_1:diag(4e3,E.DiagnosticCategory.Error,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:diag(4002,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:diag(4004,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4006,E.DiagnosticCategory.Error,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4008,E.DiagnosticCategory.Error,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4010,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4012,E.DiagnosticCategory.Error,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4014,E.DiagnosticCategory.Error,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4016,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4019,E.DiagnosticCategory.Error,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:diag(4020,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:diag(4021,E.DiagnosticCategory.Error,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:diag(4022,E.DiagnosticCategory.Error,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4023,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:diag(4024,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:diag(4025,E.DiagnosticCategory.Error,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4026,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4027,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4028,E.DiagnosticCategory.Error,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4029,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4030,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:diag(4031,E.DiagnosticCategory.Error,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4032,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:diag(4033,E.DiagnosticCategory.Error,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4034,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4035,E.DiagnosticCategory.Error,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4036,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:diag(4037,E.DiagnosticCategory.Error,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4038,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4039,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4040,E.DiagnosticCategory.Error,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4041,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4042,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:diag(4043,E.DiagnosticCategory.Error,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4044,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4045,E.DiagnosticCategory.Error,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4046,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4047,E.DiagnosticCategory.Error,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4048,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:diag(4049,E.DiagnosticCategory.Error,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4050,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4051,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:diag(4052,E.DiagnosticCategory.Error,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4053,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:diag(4054,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:diag(4055,E.DiagnosticCategory.Error,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:diag(4056,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:diag(4057,E.DiagnosticCategory.Error,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:diag(4058,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:diag(4059,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:diag(4060,E.DiagnosticCategory.Error,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4061,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4062,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:diag(4063,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4064,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4065,E.DiagnosticCategory.Error,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4066,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4067,E.DiagnosticCategory.Error,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4068,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4069,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:diag(4070,E.DiagnosticCategory.Error,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4071,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4072,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:diag(4073,E.DiagnosticCategory.Error,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4074,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:diag(4075,E.DiagnosticCategory.Error,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4076,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:diag(4077,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:diag(4078,E.DiagnosticCategory.Error,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:diag(4081,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:diag(4082,E.DiagnosticCategory.Error,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:diag(4083,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:diag(4084,E.DiagnosticCategory.Error,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:diag(4090,E.DiagnosticCategory.Error,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4091,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:diag(4092,E.DiagnosticCategory.Error,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:diag(4094,E.DiagnosticCategory.Error,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4095,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4096,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4097,E.DiagnosticCategory.Error,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4098,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:diag(4099,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:diag(4100,E.DiagnosticCategory.Error,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:diag(4101,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:diag(4102,E.DiagnosticCategory.Error,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:diag(4103,E.DiagnosticCategory.Error,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:diag(4104,E.DiagnosticCategory.Error,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:diag(4105,E.DiagnosticCategory.Error,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:diag(4106,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:diag(4107,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:diag(4108,E.DiagnosticCategory.Error,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:diag(4109,E.DiagnosticCategory.Error,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:diag(4110,E.DiagnosticCategory.Error,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:diag(4111,E.DiagnosticCategory.Error,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:diag(4112,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:diag(4113,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:diag(4114,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:diag(4115,E.DiagnosticCategory.Error,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:diag(4116,E.DiagnosticCategory.Error,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:diag(4117,E.DiagnosticCategory.Error,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:diag(4118,E.DiagnosticCategory.Error,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),The_current_host_does_not_support_the_0_option:diag(5001,E.DiagnosticCategory.Error,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:diag(5009,E.DiagnosticCategory.Error,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5010,E.DiagnosticCategory.Error,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:diag(5012,E.DiagnosticCategory.Error,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:diag(5014,E.DiagnosticCategory.Error,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:diag(5023,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:diag(5024,E.DiagnosticCategory.Error,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:diag(5025,E.DiagnosticCategory.Error,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:diag(5033,E.DiagnosticCategory.Error,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:diag(5042,E.DiagnosticCategory.Error,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:diag(5047,E.DiagnosticCategory.Error,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:diag(5048,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:diag(5051,E.DiagnosticCategory.Error,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:diag(5052,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:diag(5053,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:diag(5054,E.DiagnosticCategory.Error,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:diag(5055,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:diag(5056,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:diag(5057,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:diag(5058,E.DiagnosticCategory.Error,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:diag(5059,E.DiagnosticCategory.Error,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:diag(5061,E.DiagnosticCategory.Error,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:diag(5062,E.DiagnosticCategory.Error,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:diag(5063,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:diag(5064,E.DiagnosticCategory.Error,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:diag(5065,E.DiagnosticCategory.Error,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:diag(5066,E.DiagnosticCategory.Error,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(5067,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:diag(5068,E.DiagnosticCategory.Error,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:diag(5069,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy:diag(5070,E.DiagnosticCategory.Error,"Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070","Option '--resolveJsonModule' cannot be specified without 'node' module resolution strategy."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:diag(5071,E.DiagnosticCategory.Error,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:diag(5072,E.DiagnosticCategory.Error,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:diag(5073,E.DiagnosticCategory.Error,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:diag(5074,E.DiagnosticCategory.Error,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:diag(5075,E.DiagnosticCategory.Error,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:diag(5076,E.DiagnosticCategory.Error,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:diag(5077,E.DiagnosticCategory.Error,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:diag(5078,E.DiagnosticCategory.Error,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:diag(5079,E.DiagnosticCategory.Error,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:diag(5080,E.DiagnosticCategory.Error,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:diag(5081,E.DiagnosticCategory.Error,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:diag(5082,E.DiagnosticCategory.Error,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:diag(5083,E.DiagnosticCategory.Error,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:diag(5084,E.DiagnosticCategory.Error,"Tuple_members_must_all_have_names_or_all_not_have_names_5084","Tuple members must all have names or all not have names."),A_tuple_member_cannot_be_both_optional_and_rest:diag(5085,E.DiagnosticCategory.Error,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:diag(5086,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:diag(5087,E.DiagnosticCategory.Error,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:diag(5088,E.DiagnosticCategory.Error,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:diag(5089,E.DiagnosticCategory.Error,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:diag(5090,E.DiagnosticCategory.Error,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled:diag(5091,E.DiagnosticCategory.Error,"Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when 'isolatedModules' is enabled."),The_root_value_of_a_0_file_must_be_an_object:diag(5092,E.DiagnosticCategory.Error,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:diag(5093,E.DiagnosticCategory.Error,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:diag(5094,E.DiagnosticCategory.Error,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:diag(6e3,E.DiagnosticCategory.Message,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:diag(6001,E.DiagnosticCategory.Message,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:diag(6002,E.DiagnosticCategory.Message,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:diag(6655,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:diag(6004,E.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:diag(6005,E.DiagnosticCategory.Message,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:diag(6006,E.DiagnosticCategory.Message,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:diag(6007,E.DiagnosticCategory.Message,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:diag(6008,E.DiagnosticCategory.Message,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:diag(6009,E.DiagnosticCategory.Message,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:diag(6010,E.DiagnosticCategory.Message,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:diag(6011,E.DiagnosticCategory.Message,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:diag(6012,E.DiagnosticCategory.Message,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:diag(6013,E.DiagnosticCategory.Message,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:diag(6014,E.DiagnosticCategory.Message,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:diag(6015,E.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:diag(6016,E.DiagnosticCategory.Message,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:diag(6017,E.DiagnosticCategory.Message,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:diag(6019,E.DiagnosticCategory.Message,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:diag(6020,E.DiagnosticCategory.Message,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:diag(6023,E.DiagnosticCategory.Message,"Syntax_Colon_0_6023","Syntax: {0}"),options:diag(6024,E.DiagnosticCategory.Message,"options_6024","options"),file:diag(6025,E.DiagnosticCategory.Message,"file_6025","file"),Examples_Colon_0:diag(6026,E.DiagnosticCategory.Message,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:diag(6027,E.DiagnosticCategory.Message,"Options_Colon_6027","Options:"),Version_0:diag(6029,E.DiagnosticCategory.Message,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:diag(6030,E.DiagnosticCategory.Message,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:diag(6031,E.DiagnosticCategory.Message,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:diag(6032,E.DiagnosticCategory.Message,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:diag(6034,E.DiagnosticCategory.Message,"KIND_6034","KIND"),FILE:diag(6035,E.DiagnosticCategory.Message,"FILE_6035","FILE"),VERSION:diag(6036,E.DiagnosticCategory.Message,"VERSION_6036","VERSION"),LOCATION:diag(6037,E.DiagnosticCategory.Message,"LOCATION_6037","LOCATION"),DIRECTORY:diag(6038,E.DiagnosticCategory.Message,"DIRECTORY_6038","DIRECTORY"),STRATEGY:diag(6039,E.DiagnosticCategory.Message,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:diag(6040,E.DiagnosticCategory.Message,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Generates_corresponding_map_file:diag(6043,E.DiagnosticCategory.Message,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:diag(6044,E.DiagnosticCategory.Error,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:diag(6045,E.DiagnosticCategory.Error,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:diag(6046,E.DiagnosticCategory.Error,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:diag(6048,E.DiagnosticCategory.Error,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unsupported_locale_0:diag(6049,E.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),Unable_to_open_file_0:diag(6050,E.DiagnosticCategory.Error,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:diag(6051,E.DiagnosticCategory.Error,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:diag(6052,E.DiagnosticCategory.Message,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:diag(6053,E.DiagnosticCategory.Error,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:diag(6054,E.DiagnosticCategory.Error,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:diag(6055,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:diag(6056,E.DiagnosticCategory.Message,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:diag(6058,E.DiagnosticCategory.Message,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:diag(6059,E.DiagnosticCategory.Error,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:diag(6060,E.DiagnosticCategory.Message,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:diag(6061,E.DiagnosticCategory.Message,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:diag(6064,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:diag(6065,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:diag(6066,E.DiagnosticCategory.Message,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Enables_experimental_support_for_ES7_async_functions:diag(6068,E.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6:diag(6069,E.DiagnosticCategory.Message,"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069","Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6)."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:diag(6070,E.DiagnosticCategory.Message,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:diag(6071,E.DiagnosticCategory.Message,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:diag(6072,E.DiagnosticCategory.Message,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:diag(6073,E.DiagnosticCategory.Message,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:diag(6074,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:diag(6075,E.DiagnosticCategory.Message,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:diag(6076,E.DiagnosticCategory.Message,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:diag(6077,E.DiagnosticCategory.Message,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:diag(6078,E.DiagnosticCategory.Message,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:diag(6079,E.DiagnosticCategory.Message,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:diag(6080,E.DiagnosticCategory.Message,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:diag(6081,E.DiagnosticCategory.Message,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:diag(6082,E.DiagnosticCategory.Error,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:diag(6083,E.DiagnosticCategory.Message,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:diag(6084,E.DiagnosticCategory.Message,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:diag(6085,E.DiagnosticCategory.Message,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:diag(6086,E.DiagnosticCategory.Message,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:diag(6087,E.DiagnosticCategory.Message,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:diag(6088,E.DiagnosticCategory.Message,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:diag(6089,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:diag(6090,E.DiagnosticCategory.Message,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:diag(6091,E.DiagnosticCategory.Message,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:diag(6092,E.DiagnosticCategory.Message,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:diag(6093,E.DiagnosticCategory.Message,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:diag(6094,E.DiagnosticCategory.Message,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1:diag(6095,E.DiagnosticCategory.Message,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095","Loading module as file / folder, candidate module location '{0}', target file type '{1}'."),File_0_does_not_exist:diag(6096,E.DiagnosticCategory.Message,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exist_use_it_as_a_name_resolution_result:diag(6097,E.DiagnosticCategory.Message,"File_0_exist_use_it_as_a_name_resolution_result_6097","File '{0}' exist - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_type_1:diag(6098,E.DiagnosticCategory.Message,"Loading_module_0_from_node_modules_folder_target_file_type_1_6098","Loading module '{0}' from 'node_modules' folder, target file type '{1}'."),Found_package_json_at_0:diag(6099,E.DiagnosticCategory.Message,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:diag(6100,E.DiagnosticCategory.Message,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:diag(6101,E.DiagnosticCategory.Message,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:diag(6102,E.DiagnosticCategory.Message,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Option_0_should_have_array_of_strings_as_a_value:diag(6103,E.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:diag(6104,E.DiagnosticCategory.Message,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:diag(6105,E.DiagnosticCategory.Message,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:diag(6106,E.DiagnosticCategory.Message,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:diag(6107,E.DiagnosticCategory.Message,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:diag(6108,E.DiagnosticCategory.Message,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:diag(6109,E.DiagnosticCategory.Message,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:diag(6110,E.DiagnosticCategory.Message,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:diag(6111,E.DiagnosticCategory.Message,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:diag(6112,E.DiagnosticCategory.Message,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:diag(6113,E.DiagnosticCategory.Message,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:diag(6114,E.DiagnosticCategory.Error,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:diag(6115,E.DiagnosticCategory.Message,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:diag(6116,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Resolving_using_primary_search_paths:diag(6117,E.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:diag(6118,E.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:diag(6119,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:diag(6120,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:diag(6121,E.DiagnosticCategory.Message,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:diag(6122,E.DiagnosticCategory.Message,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:diag(6123,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:diag(6124,E.DiagnosticCategory.Message,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:diag(6125,E.DiagnosticCategory.Message,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:diag(6126,E.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:diag(6127,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:diag(6128,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:diag(6130,E.DiagnosticCategory.Message,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:diag(6131,E.DiagnosticCategory.Error,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:diag(6132,E.DiagnosticCategory.Message,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:diag(6133,E.DiagnosticCategory.Error,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",true),Report_errors_on_unused_locals:diag(6134,E.DiagnosticCategory.Message,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:diag(6135,E.DiagnosticCategory.Message,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:diag(6136,E.DiagnosticCategory.Message,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:diag(6137,E.DiagnosticCategory.Error,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:diag(6138,E.DiagnosticCategory.Error,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",true),Import_emit_helpers_from_tslib:diag(6139,E.DiagnosticCategory.Message,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:diag(6140,E.DiagnosticCategory.Error,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:diag(6141,E.DiagnosticCategory.Message,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:diag(6142,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:diag(6144,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:diag(6145,E.DiagnosticCategory.Message,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:diag(6146,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:diag(6147,E.DiagnosticCategory.Message,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:diag(6148,E.DiagnosticCategory.Message,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:diag(6149,E.DiagnosticCategory.Message,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:diag(6150,E.DiagnosticCategory.Message,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:diag(6151,E.DiagnosticCategory.Message,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:diag(6152,E.DiagnosticCategory.Message,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:diag(6153,E.DiagnosticCategory.Message,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:diag(6154,E.DiagnosticCategory.Message,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:diag(6155,E.DiagnosticCategory.Message,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:diag(6156,E.DiagnosticCategory.Message,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:diag(6157,E.DiagnosticCategory.Message,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:diag(6158,E.DiagnosticCategory.Message,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:diag(6159,E.DiagnosticCategory.Message,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:diag(6160,E.DiagnosticCategory.Message,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:diag(6161,E.DiagnosticCategory.Message,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:diag(6162,E.DiagnosticCategory.Message,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:diag(6163,E.DiagnosticCategory.Message,"The_character_set_of_the_input_files_6163","The character set of the input files."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:diag(6622,E.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages:diag(6165,E.DiagnosticCategory.Message,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:diag(6166,E.DiagnosticCategory.Message,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:diag(6167,E.DiagnosticCategory.Message,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:diag(6168,E.DiagnosticCategory.Message,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:diag(6169,E.DiagnosticCategory.Message,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:diag(6170,E.DiagnosticCategory.Message,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:diag(6171,E.DiagnosticCategory.Message,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:diag(6179,E.DiagnosticCategory.Message,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:diag(6180,E.DiagnosticCategory.Message,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),List_of_language_service_plugins:diag(6181,E.DiagnosticCategory.Message,"List_of_language_service_plugins_6181","List of language service plugins."),Scoped_package_detected_looking_in_0:diag(6182,E.DiagnosticCategory.Message,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6183,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6184,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:diag(6186,E.DiagnosticCategory.Message,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:diag(6187,E.DiagnosticCategory.Message,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:diag(6188,E.DiagnosticCategory.Error,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:diag(6189,E.DiagnosticCategory.Error,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:diag(6191,E.DiagnosticCategory.Message,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:diag(6192,E.DiagnosticCategory.Error,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",true),Found_1_error_Watching_for_file_changes:diag(6193,E.DiagnosticCategory.Message,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:diag(6194,E.DiagnosticCategory.Message,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:diag(6195,E.DiagnosticCategory.Message,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:diag(6196,E.DiagnosticCategory.Error,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",true),Include_modules_imported_with_json_extension:diag(6197,E.DiagnosticCategory.Message,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:diag(6198,E.DiagnosticCategory.Error,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",true),All_variables_are_unused:diag(6199,E.DiagnosticCategory.Error,"All_variables_are_unused_6199","All variables are unused.",true),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:diag(6200,E.DiagnosticCategory.Error,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:diag(6201,E.DiagnosticCategory.Message,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:diag(6202,E.DiagnosticCategory.Error,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:diag(6203,E.DiagnosticCategory.Message,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:diag(6204,E.DiagnosticCategory.Message,"and_here_6204","and here."),All_type_parameters_are_unused:diag(6205,E.DiagnosticCategory.Error,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:diag(6206,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:diag(6207,E.DiagnosticCategory.Message,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:diag(6208,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:diag(6209,E.DiagnosticCategory.Message,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:diag(6210,E.DiagnosticCategory.Message,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:diag(6211,E.DiagnosticCategory.Message,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:diag(6212,E.DiagnosticCategory.Message,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:diag(6213,E.DiagnosticCategory.Message,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:diag(6214,E.DiagnosticCategory.Message,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:diag(6215,E.DiagnosticCategory.Message,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:diag(6216,E.DiagnosticCategory.Message,"Found_1_error_6216","Found 1 error."),Found_0_errors:diag(6217,E.DiagnosticCategory.Message,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:diag(6218,E.DiagnosticCategory.Message,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:diag(6219,E.DiagnosticCategory.Message,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:diag(6220,E.DiagnosticCategory.Message,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:diag(6221,E.DiagnosticCategory.Message,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:diag(6222,E.DiagnosticCategory.Message,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:diag(6223,E.DiagnosticCategory.Message,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:diag(6224,E.DiagnosticCategory.Message,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:diag(6225,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:diag(6226,E.DiagnosticCategory.Message,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:diag(6227,E.DiagnosticCategory.Message,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:diag(6229,E.DiagnosticCategory.Error,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:diag(6230,E.DiagnosticCategory.Error,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:diag(6231,E.DiagnosticCategory.Error,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:diag(6232,E.DiagnosticCategory.Error,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:diag(6233,E.DiagnosticCategory.Error,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:diag(6234,E.DiagnosticCategory.Error,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:diag(6235,E.DiagnosticCategory.Message,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:diag(6236,E.DiagnosticCategory.Error,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:diag(6237,E.DiagnosticCategory.Message,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:diag(6238,E.DiagnosticCategory.Error,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:diag(6239,E.DiagnosticCategory.Message,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:diag(6240,E.DiagnosticCategory.Message,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:diag(6241,E.DiagnosticCategory.Message,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:diag(6242,E.DiagnosticCategory.Message,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:diag(6243,E.DiagnosticCategory.Message,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:diag(6244,E.DiagnosticCategory.Message,"Modules_6244","Modules"),File_Management:diag(6245,E.DiagnosticCategory.Message,"File_Management_6245","File Management"),Emit:diag(6246,E.DiagnosticCategory.Message,"Emit_6246","Emit"),JavaScript_Support:diag(6247,E.DiagnosticCategory.Message,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:diag(6248,E.DiagnosticCategory.Message,"Type_Checking_6248","Type Checking"),Editor_Support:diag(6249,E.DiagnosticCategory.Message,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:diag(6250,E.DiagnosticCategory.Message,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:diag(6251,E.DiagnosticCategory.Message,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:diag(6252,E.DiagnosticCategory.Message,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:diag(6253,E.DiagnosticCategory.Message,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:diag(6254,E.DiagnosticCategory.Message,"Language_and_Environment_6254","Language and Environment"),Projects:diag(6255,E.DiagnosticCategory.Message,"Projects_6255","Projects"),Output_Formatting:diag(6256,E.DiagnosticCategory.Message,"Output_Formatting_6256","Output Formatting"),Completeness:diag(6257,E.DiagnosticCategory.Message,"Completeness_6257","Completeness"),Projects_to_reference:diag(6300,E.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),Enable_project_compilation:diag(6302,E.DiagnosticCategory.Message,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:diag(6304,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:diag(6305,E.DiagnosticCategory.Error,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:diag(6306,E.DiagnosticCategory.Error,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:diag(6307,E.DiagnosticCategory.Error,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:diag(6308,E.DiagnosticCategory.Error,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:diag(6309,E.DiagnosticCategory.Error,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:diag(6310,E.DiagnosticCategory.Error,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2:diag(6350,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2_6350","Project '{0}' is out of date because oldest output '{1}' is older than newest input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2:diag(6351,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than oldest output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:diag(6352,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:diag(6353,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:diag(6354,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:diag(6355,E.DiagnosticCategory.Message,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:diag(6356,E.DiagnosticCategory.Message,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:diag(6357,E.DiagnosticCategory.Message,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:diag(6358,E.DiagnosticCategory.Message,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:diag(6359,E.DiagnosticCategory.Message,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:diag(6360,E.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date:diag(6361,E.DiagnosticCategory.Message,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:diag(6362,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:diag(6363,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:diag(6364,E.DiagnosticCategory.Message,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:diag(6365,E.DiagnosticCategory.Message,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects"),Show_what_would_be_built_or_deleted_if_specified_with_clean:diag(6367,E.DiagnosticCategory.Message,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:diag(6369,E.DiagnosticCategory.Error,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:diag(6370,E.DiagnosticCategory.Error,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:diag(6371,E.DiagnosticCategory.Message,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:diag(6372,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:diag(6373,E.DiagnosticCategory.Message,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:diag(6374,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:diag(6375,E.DiagnosticCategory.Message,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:diag(6376,E.DiagnosticCategory.Message,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:diag(6377,E.DiagnosticCategory.Error,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Enable_incremental_compilation:diag(6378,E.DiagnosticCategory.Message,"Enable_incremental_compilation_6378","Enable incremental compilation"),Composite_projects_may_not_disable_incremental_compilation:diag(6379,E.DiagnosticCategory.Error,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:diag(6380,E.DiagnosticCategory.Message,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:diag(6381,E.DiagnosticCategory.Message,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:diag(6382,E.DiagnosticCategory.Message,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:diag(6383,E.DiagnosticCategory.Message,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6384,E.DiagnosticCategory.Message,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:diag(6385,E.DiagnosticCategory.Suggestion,"_0_is_deprecated_6385","'{0}' is deprecated.",undefined,undefined,true),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:diag(6386,E.DiagnosticCategory.Message,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:diag(6387,E.DiagnosticCategory.Suggestion,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",undefined,undefined,true),Project_0_is_being_forcibly_rebuilt:diag(6388,E.DiagnosticCategory.Message,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:diag(6389,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:diag(6390,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:diag(6391,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:diag(6392,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6393,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6394,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6395,E.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:diag(6396,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:diag(6397,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:diag(6398,E.DiagnosticCategory.Message,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:diag(6500,E.DiagnosticCategory.Message,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:diag(6501,E.DiagnosticCategory.Message,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:diag(6502,E.DiagnosticCategory.Message,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:diag(6503,E.DiagnosticCategory.Message,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:diag(6504,E.DiagnosticCategory.Error,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:diag(6505,E.DiagnosticCategory.Message,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:diag(6506,E.DiagnosticCategory.Message,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:diag(6600,E.DiagnosticCategory.Message,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:diag(6601,E.DiagnosticCategory.Message,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:diag(6602,E.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:diag(6603,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:diag(6604,E.DiagnosticCategory.Message,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:diag(6605,E.DiagnosticCategory.Message,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:diag(6606,E.DiagnosticCategory.Message,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use `incremental` and `watch` mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:diag(6607,E.DiagnosticCategory.Message,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:diag(6608,E.DiagnosticCategory.Message,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:diag(6609,E.DiagnosticCategory.Message,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:diag(6611,E.DiagnosticCategory.Message,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:diag(6612,E.DiagnosticCategory.Message,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:diag(6613,E.DiagnosticCategory.Message,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:diag(6614,E.DiagnosticCategory.Message,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:diag(6615,E.DiagnosticCategory.Message,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:diag(6616,E.DiagnosticCategory.Message,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:diag(6617,E.DiagnosticCategory.Message,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:diag(6618,E.DiagnosticCategory.Message,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:diag(6619,E.DiagnosticCategory.Message,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:diag(6620,E.DiagnosticCategory.Message,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects"),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:diag(6621,E.DiagnosticCategory.Message,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Only_output_d_ts_files_and_not_JavaScript_files:diag(6623,E.DiagnosticCategory.Message,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:diag(6624,E.DiagnosticCategory.Message,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:diag(6625,E.DiagnosticCategory.Message,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:diag(6626,E.DiagnosticCategory.Message,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility."),Filters_results_from_the_include_option:diag(6627,E.DiagnosticCategory.Message,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:diag(6628,E.DiagnosticCategory.Message,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:diag(6629,E.DiagnosticCategory.Message,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_TC39_stage_2_draft_decorators:diag(6630,E.DiagnosticCategory.Message,"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630","Enable experimental support for TC39 stage 2 draft decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:diag(6631,E.DiagnosticCategory.Message,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:diag(6632,E.DiagnosticCategory.Message,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:diag(6633,E.DiagnosticCategory.Message,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:diag(6634,E.DiagnosticCategory.Message,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:diag(6635,E.DiagnosticCategory.Message,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:diag(6636,E.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date"),Ensure_that_casing_is_correct_in_imports:diag(6637,E.DiagnosticCategory.Message,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:diag(6638,E.DiagnosticCategory.Message,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:diag(6639,E.DiagnosticCategory.Message,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:diag(6641,E.DiagnosticCategory.Message,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:diag(6642,E.DiagnosticCategory.Message,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:diag(6643,E.DiagnosticCategory.Message,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:diag(6644,E.DiagnosticCategory.Message,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:diag(6645,E.DiagnosticCategory.Message,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:diag(6646,E.DiagnosticCategory.Message,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:diag(6647,E.DiagnosticCategory.Message,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'"),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:diag(6648,E.DiagnosticCategory.Message,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:diag(6649,E.DiagnosticCategory.Message,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.`"),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:diag(6650,E.DiagnosticCategory.Message,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:diag(6651,E.DiagnosticCategory.Message,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:diag(6652,E.DiagnosticCategory.Message,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:diag(6653,E.DiagnosticCategory.Message,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:diag(6654,E.DiagnosticCategory.Message,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:diag(6656,E.DiagnosticCategory.Message,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`."),Specify_what_module_code_is_generated:diag(6657,E.DiagnosticCategory.Message,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:diag(6658,E.DiagnosticCategory.Message,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:diag(6659,E.DiagnosticCategory.Message,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:diag(6660,E.DiagnosticCategory.Message,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:diag(6661,E.DiagnosticCategory.Message,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like `__extends` in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:diag(6662,E.DiagnosticCategory.Message,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:diag(6663,E.DiagnosticCategory.Message,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:diag(6664,E.DiagnosticCategory.Message,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:diag(6665,E.DiagnosticCategory.Message,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied `any` type.."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:diag(6666,E.DiagnosticCategory.Message,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:diag(6667,E.DiagnosticCategory.Message,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:diag(6668,E.DiagnosticCategory.Message,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when `this` is given the type `any`."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:diag(6669,E.DiagnosticCategory.Message,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:diag(6670,E.DiagnosticCategory.Message,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:diag(6671,E.DiagnosticCategory.Message,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type"),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:diag(6672,E.DiagnosticCategory.Message,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:diag(6673,E.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:diag(6674,E.DiagnosticCategory.Message,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add `undefined` to a type when accessed using an index."),Enable_error_reporting_when_a_local_variables_aren_t_read:diag(6675,E.DiagnosticCategory.Message,"Enable_error_reporting_when_a_local_variables_aren_t_read_6675","Enable error reporting when a local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:diag(6676,E.DiagnosticCategory.Message,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read"),Deprecated_setting_Use_outFile_instead:diag(6677,E.DiagnosticCategory.Message,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use `outFile` instead."),Specify_an_output_folder_for_all_emitted_files:diag(6678,E.DiagnosticCategory.Message,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:diag(6679,E.DiagnosticCategory.Message,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:diag(6680,E.DiagnosticCategory.Message,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:diag(6681,E.DiagnosticCategory.Message,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:diag(6682,E.DiagnosticCategory.Message,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing `const enum` declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:diag(6683,E.DiagnosticCategory.Message,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:diag(6684,E.DiagnosticCategory.Message,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode"),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:diag(6685,E.DiagnosticCategory.Message,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read"),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:diag(6686,E.DiagnosticCategory.Message,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:diag(6687,E.DiagnosticCategory.Message,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:diag(6688,E.DiagnosticCategory.Message,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:diag(6689,E.DiagnosticCategory.Message,"Enable_importing_json_files_6689","Enable importing .json files"),Specify_the_root_folder_within_your_source_files:diag(6690,E.DiagnosticCategory.Message,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:diag(6691,E.DiagnosticCategory.Message,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:diag(6692,E.DiagnosticCategory.Message,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:diag(6693,E.DiagnosticCategory.Message,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:diag(6694,E.DiagnosticCategory.Message,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:diag(6695,E.DiagnosticCategory.Message,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:diag(6697,E.DiagnosticCategory.Message,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for `bind`, `call`, and `apply` methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:diag(6698,E.DiagnosticCategory.Message,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:diag(6699,E.DiagnosticCategory.Message,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account `null` and `undefined`."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:diag(6700,E.DiagnosticCategory.Message,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:diag(6701,E.DiagnosticCategory.Message,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have `@internal` in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:diag(6702,E.DiagnosticCategory.Message,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:diag(6703,E.DiagnosticCategory.Message,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress `noImplicitAny` errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:diag(6704,E.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:diag(6705,E.DiagnosticCategory.Message,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:diag(6706,E.DiagnosticCategory.Message,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the `moduleResolution` process."),Specify_the_folder_for_tsbuildinfo_incremental_compilation_files:diag(6707,E.DiagnosticCategory.Message,"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707","Specify the folder for .tsbuildinfo incremental compilation files."),Specify_options_for_automatic_acquisition_of_declaration_files:diag(6709,E.DiagnosticCategory.Message,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:diag(6710,E.DiagnosticCategory.Message,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like `./node_modules/@types`."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:diag(6711,E.DiagnosticCategory.Message,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:diag(6712,E.DiagnosticCategory.Message,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:diag(6713,E.DiagnosticCategory.Message,"Enable_verbose_logging_6713","Enable verbose logging"),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:diag(6714,E.DiagnosticCategory.Message,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:diag(6715,E.DiagnosticCategory.Message,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Include_undefined_in_index_signature_results:diag(6716,E.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6716","Include 'undefined' in index signature results"),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:diag(6717,E.DiagnosticCategory.Message,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:diag(6718,E.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types"),Type_catch_clause_variables_as_unknown_instead_of_any:diag(6803,E.DiagnosticCategory.Message,"Type_catch_clause_variables_as_unknown_instead_of_any_6803","Type catch clause variables as 'unknown' instead of 'any'."),one_of_Colon:diag(6900,E.DiagnosticCategory.Message,"one_of_Colon_6900","one of:"),one_or_more_Colon:diag(6901,E.DiagnosticCategory.Message,"one_or_more_Colon_6901","one or more:"),type_Colon:diag(6902,E.DiagnosticCategory.Message,"type_Colon_6902","type:"),default_Colon:diag(6903,E.DiagnosticCategory.Message,"default_Colon_6903","default:"),module_system_or_esModuleInterop:diag(6904,E.DiagnosticCategory.Message,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:diag(6905,E.DiagnosticCategory.Message,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:diag(6906,E.DiagnosticCategory.Message,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:diag(6907,E.DiagnosticCategory.Message,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:diag(6908,E.DiagnosticCategory.Message,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:diag(6909,E.DiagnosticCategory.Message,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:diag(69010,E.DiagnosticCategory.Message,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:diag(6911,E.DiagnosticCategory.Message,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:diag(6912,E.DiagnosticCategory.Message,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:diag(6913,E.DiagnosticCategory.Message,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:diag(6914,E.DiagnosticCategory.Message,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:diag(6915,E.DiagnosticCategory.Message,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:diag(6916,E.DiagnosticCategory.Message,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:diag(6917,E.DiagnosticCategory.Message,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:diag(6918,E.DiagnosticCategory.Message,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:diag(6919,E.DiagnosticCategory.Message,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:diag(6920,E.DiagnosticCategory.Message,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:diag(6921,E.DiagnosticCategory.Message,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:diag(6922,E.DiagnosticCategory.Message,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:diag(6923,E.DiagnosticCategory.Message,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:diag(6924,E.DiagnosticCategory.Message,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:diag(6925,E.DiagnosticCategory.Message,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:diag(6926,E.DiagnosticCategory.Message,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:diag(6927,E.DiagnosticCategory.Message,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:diag(6928,E.DiagnosticCategory.Message,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:diag(6929,E.DiagnosticCategory.Message,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),Variable_0_implicitly_has_an_1_type:diag(7005,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:diag(7006,E.DiagnosticCategory.Error,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:diag(7008,E.DiagnosticCategory.Error,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:diag(7009,E.DiagnosticCategory.Error,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:diag(7010,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7011,E.DiagnosticCategory.Error,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7013,E.DiagnosticCategory.Error,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:diag(7014,E.DiagnosticCategory.Error,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:diag(7015,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:diag(7016,E.DiagnosticCategory.Error,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:diag(7017,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:diag(7018,E.DiagnosticCategory.Error,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:diag(7019,E.DiagnosticCategory.Error,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:diag(7020,E.DiagnosticCategory.Error,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:diag(7022,E.DiagnosticCategory.Error,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7023,E.DiagnosticCategory.Error,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:diag(7024,E.DiagnosticCategory.Error,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:diag(7025,E.DiagnosticCategory.Error,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:diag(7026,E.DiagnosticCategory.Error,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:diag(7027,E.DiagnosticCategory.Error,"Unreachable_code_detected_7027","Unreachable code detected.",true),Unused_label:diag(7028,E.DiagnosticCategory.Error,"Unused_label_7028","Unused label.",true),Fallthrough_case_in_switch:diag(7029,E.DiagnosticCategory.Error,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:diag(7030,E.DiagnosticCategory.Error,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:diag(7031,E.DiagnosticCategory.Error,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:diag(7032,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:diag(7033,E.DiagnosticCategory.Error,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:diag(7034,E.DiagnosticCategory.Error,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:diag(7035,E.DiagnosticCategory.Error,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:diag(7036,E.DiagnosticCategory.Error,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:diag(7037,E.DiagnosticCategory.Message,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:diag(7038,E.DiagnosticCategory.Message,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:diag(7039,E.DiagnosticCategory.Error,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:diag(7040,E.DiagnosticCategory.Error,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:diag(7041,E.DiagnosticCategory.Error,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:diag(7042,E.DiagnosticCategory.Error,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7043,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7044,E.DiagnosticCategory.Suggestion,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:diag(7045,E.DiagnosticCategory.Suggestion,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:diag(7046,E.DiagnosticCategory.Suggestion,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:diag(7047,E.DiagnosticCategory.Suggestion,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:diag(7048,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:diag(7049,E.DiagnosticCategory.Suggestion,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:diag(7050,E.DiagnosticCategory.Suggestion,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:diag(7051,E.DiagnosticCategory.Error,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:diag(7052,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:diag(7053,E.DiagnosticCategory.Error,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:diag(7054,E.DiagnosticCategory.Error,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:diag(7055,E.DiagnosticCategory.Error,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:diag(7056,E.DiagnosticCategory.Error,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:diag(7057,E.DiagnosticCategory.Error,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),You_cannot_rename_this_element:diag(8e3,E.DiagnosticCategory.Error,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:diag(8001,E.DiagnosticCategory.Error,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:diag(8002,E.DiagnosticCategory.Error,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:diag(8003,E.DiagnosticCategory.Error,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:diag(8004,E.DiagnosticCategory.Error,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:diag(8005,E.DiagnosticCategory.Error,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:diag(8006,E.DiagnosticCategory.Error,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:diag(8008,E.DiagnosticCategory.Error,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:diag(8009,E.DiagnosticCategory.Error,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:diag(8010,E.DiagnosticCategory.Error,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:diag(8011,E.DiagnosticCategory.Error,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:diag(8012,E.DiagnosticCategory.Error,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:diag(8013,E.DiagnosticCategory.Error,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:diag(8016,E.DiagnosticCategory.Error,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:diag(8017,E.DiagnosticCategory.Error,"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017","Octal literal types must use ES2015 syntax. Use the syntax '{0}'."),Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0:diag(8018,E.DiagnosticCategory.Error,"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018","Octal literals are not allowed in enums members initializer. Use the syntax '{0}'."),Report_errors_in_js_files:diag(8019,E.DiagnosticCategory.Message,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:diag(8020,E.DiagnosticCategory.Error,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:diag(8021,E.DiagnosticCategory.Error,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:diag(8022,E.DiagnosticCategory.Error,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:diag(8023,E.DiagnosticCategory.Error,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:diag(8024,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:diag(8025,E.DiagnosticCategory.Error,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:diag(8026,E.DiagnosticCategory.Error,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:diag(8027,E.DiagnosticCategory.Error,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:diag(8028,E.DiagnosticCategory.Error,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:diag(8029,E.DiagnosticCategory.Error,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:diag(8030,E.DiagnosticCategory.Error,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:diag(8031,E.DiagnosticCategory.Error,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:diag(8032,E.DiagnosticCategory.Error,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:diag(8033,E.DiagnosticCategory.Error,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:diag(8034,E.DiagnosticCategory.Error,"The_tag_was_first_specified_here_8034","The tag was first specified here."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:diag(9002,E.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:diag(9003,E.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:diag(9004,E.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9005,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:diag(9006,E.DiagnosticCategory.Error,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:diag(17e3,E.DiagnosticCategory.Error,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:diag(17001,E.DiagnosticCategory.Error,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:diag(17002,E.DiagnosticCategory.Error,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),JSX_attribute_expected:diag(17003,E.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:diag(17004,E.DiagnosticCategory.Error,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:diag(17005,E.DiagnosticCategory.Error,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17006,E.DiagnosticCategory.Error,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:diag(17007,E.DiagnosticCategory.Error,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:diag(17008,E.DiagnosticCategory.Error,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:diag(17009,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:diag(17010,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:diag(17011,E.DiagnosticCategory.Error,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:diag(17012,E.DiagnosticCategory.Error,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:diag(17013,E.DiagnosticCategory.Error,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:diag(17014,E.DiagnosticCategory.Error,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:diag(17015,E.DiagnosticCategory.Error,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:diag(17016,E.DiagnosticCategory.Error,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:diag(17017,E.DiagnosticCategory.Error,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:diag(17018,E.DiagnosticCategory.Error,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:diag(18e3,E.DiagnosticCategory.Error,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:diag(18001,E.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty:diag(18002,E.DiagnosticCategory.Error,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:diag(18003,E.DiagnosticCategory.Error,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module:diag(80001,E.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration:diag(80002,E.DiagnosticCategory.Suggestion,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:diag(80003,E.DiagnosticCategory.Suggestion,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:diag(80004,E.DiagnosticCategory.Suggestion,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:diag(80005,E.DiagnosticCategory.Suggestion,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:diag(80006,E.DiagnosticCategory.Suggestion,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:diag(80007,E.DiagnosticCategory.Suggestion,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:diag(80008,E.DiagnosticCategory.Suggestion,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),Add_missing_super_call:diag(90001,E.DiagnosticCategory.Message,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:diag(90002,E.DiagnosticCategory.Message,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:diag(90003,E.DiagnosticCategory.Message,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:diag(90004,E.DiagnosticCategory.Message,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:diag(90005,E.DiagnosticCategory.Message,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:diag(90006,E.DiagnosticCategory.Message,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:diag(90007,E.DiagnosticCategory.Message,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:diag(90008,E.DiagnosticCategory.Message,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:diag(90010,E.DiagnosticCategory.Message,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:diag(90011,E.DiagnosticCategory.Message,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:diag(90012,E.DiagnosticCategory.Message,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_module_1:diag(90013,E.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:diag(90014,E.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:diag(90015,E.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{1}\""),Declare_property_0:diag(90016,E.DiagnosticCategory.Message,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:diag(90017,E.DiagnosticCategory.Message,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:diag(90018,E.DiagnosticCategory.Message,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:diag(90019,E.DiagnosticCategory.Message,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:diag(90020,E.DiagnosticCategory.Message,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:diag(90021,E.DiagnosticCategory.Message,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:diag(90022,E.DiagnosticCategory.Message,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:diag(90023,E.DiagnosticCategory.Message,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:diag(90024,E.DiagnosticCategory.Message,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:diag(90025,E.DiagnosticCategory.Message,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:diag(90026,E.DiagnosticCategory.Message,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:diag(90027,E.DiagnosticCategory.Message,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:diag(90028,E.DiagnosticCategory.Message,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:diag(90029,E.DiagnosticCategory.Message,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:diag(90030,E.DiagnosticCategory.Message,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:diag(90031,E.DiagnosticCategory.Message,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Import_default_0_from_module_1:diag(90032,E.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:diag(90033,E.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name:diag(90034,E.DiagnosticCategory.Message,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:diag(90035,E.DiagnosticCategory.Message,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:diag(90036,E.DiagnosticCategory.Message,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:diag(90037,E.DiagnosticCategory.Message,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:diag(90038,E.DiagnosticCategory.Message,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:diag(90039,E.DiagnosticCategory.Message,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:diag(90041,E.DiagnosticCategory.Message,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:diag(90053,E.DiagnosticCategory.Message,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Convert_function_to_an_ES2015_class:diag(95001,E.DiagnosticCategory.Message,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_function_0_to_class:diag(95002,E.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to class"),Convert_0_to_1_in_0:diag(95003,E.DiagnosticCategory.Message,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:diag(95004,E.DiagnosticCategory.Message,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:diag(95005,E.DiagnosticCategory.Message,"Extract_function_95005","Extract function"),Extract_constant:diag(95006,E.DiagnosticCategory.Message,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:diag(95007,E.DiagnosticCategory.Message,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:diag(95008,E.DiagnosticCategory.Message,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:diag(95009,E.DiagnosticCategory.Message,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Annotate_with_types_from_JSDoc:diag(95010,E.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types from JSDoc"),Infer_type_of_0_from_usage:diag(95011,E.DiagnosticCategory.Message,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:diag(95012,E.DiagnosticCategory.Message,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:diag(95013,E.DiagnosticCategory.Message,"Convert_to_default_import_95013","Convert to default import"),Install_0:diag(95014,E.DiagnosticCategory.Message,"Install_0_95014","Install '{0}'"),Replace_import_with_0:diag(95015,E.DiagnosticCategory.Message,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:diag(95016,E.DiagnosticCategory.Message,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES6_module:diag(95017,E.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 module"),Add_undefined_type_to_property_0:diag(95018,E.DiagnosticCategory.Message,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:diag(95019,E.DiagnosticCategory.Message,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:diag(95020,E.DiagnosticCategory.Message,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:diag(95021,E.DiagnosticCategory.Message,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:diag(95022,E.DiagnosticCategory.Message,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:diag(95023,E.DiagnosticCategory.Message,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:diag(95024,E.DiagnosticCategory.Message,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:diag(95025,E.DiagnosticCategory.Message,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:diag(95026,E.DiagnosticCategory.Message,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:diag(95027,E.DiagnosticCategory.Message,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:diag(95028,E.DiagnosticCategory.Message,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:diag(95029,E.DiagnosticCategory.Message,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:diag(95030,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:diag(95031,E.DiagnosticCategory.Message,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:diag(95032,E.DiagnosticCategory.Message,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:diag(95033,E.DiagnosticCategory.Message,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:diag(95034,E.DiagnosticCategory.Message,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:diag(95035,E.DiagnosticCategory.Message,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:diag(95036,E.DiagnosticCategory.Message,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:diag(95037,E.DiagnosticCategory.Message,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:diag(95038,E.DiagnosticCategory.Message,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:diag(95039,E.DiagnosticCategory.Message,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:diag(95040,E.DiagnosticCategory.Message,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:diag(95041,E.DiagnosticCategory.Message,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:diag(95042,E.DiagnosticCategory.Message,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:diag(95043,E.DiagnosticCategory.Message,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:diag(95044,E.DiagnosticCategory.Message,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:diag(95045,E.DiagnosticCategory.Message,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:diag(95046,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:diag(95047,E.DiagnosticCategory.Message,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:diag(95048,E.DiagnosticCategory.Message,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:diag(95049,E.DiagnosticCategory.Message,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:diag(95050,E.DiagnosticCategory.Message,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:diag(95051,E.DiagnosticCategory.Message,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:diag(95052,E.DiagnosticCategory.Message,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:diag(95053,E.DiagnosticCategory.Message,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:diag(95054,E.DiagnosticCategory.Message,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:diag(95055,E.DiagnosticCategory.Message,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:diag(95056,E.DiagnosticCategory.Message,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:diag(95057,E.DiagnosticCategory.Message,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:diag(95058,E.DiagnosticCategory.Message,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:diag(95059,E.DiagnosticCategory.Message,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:diag(95060,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:diag(95061,E.DiagnosticCategory.Message,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:diag(95062,E.DiagnosticCategory.Message,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:diag(95063,E.DiagnosticCategory.Message,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:diag(95064,E.DiagnosticCategory.Message,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:diag(95065,E.DiagnosticCategory.Message,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:diag(95066,E.DiagnosticCategory.Message,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:diag(95067,E.DiagnosticCategory.Message,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:diag(95068,E.DiagnosticCategory.Message,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:diag(95069,E.DiagnosticCategory.Message,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:diag(95070,E.DiagnosticCategory.Message,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:diag(95071,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:diag(95072,E.DiagnosticCategory.Message,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:diag(95073,E.DiagnosticCategory.Message,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:diag(95074,E.DiagnosticCategory.Message,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:diag(95075,E.DiagnosticCategory.Message,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:diag(95077,E.DiagnosticCategory.Message,"Extract_type_95077","Extract type"),Extract_to_type_alias:diag(95078,E.DiagnosticCategory.Message,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:diag(95079,E.DiagnosticCategory.Message,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:diag(95080,E.DiagnosticCategory.Message,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:diag(95081,E.DiagnosticCategory.Message,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:diag(95082,E.DiagnosticCategory.Message,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:diag(95083,E.DiagnosticCategory.Message,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:diag(95084,E.DiagnosticCategory.Message,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:diag(95085,E.DiagnosticCategory.Message,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:diag(95086,E.DiagnosticCategory.Message,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:diag(95087,E.DiagnosticCategory.Message,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:diag(95088,E.DiagnosticCategory.Message,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:diag(95089,E.DiagnosticCategory.Message,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:diag(95090,E.DiagnosticCategory.Message,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:diag(95091,E.DiagnosticCategory.Message,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:diag(95092,E.DiagnosticCategory.Message,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:diag(95093,E.DiagnosticCategory.Message,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:diag(95094,E.DiagnosticCategory.Message,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:diag(95095,E.DiagnosticCategory.Message,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:diag(95096,E.DiagnosticCategory.Message,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:diag(95097,E.DiagnosticCategory.Message,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:diag(95098,E.DiagnosticCategory.Message,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:diag(95099,E.DiagnosticCategory.Message,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:diag(95100,E.DiagnosticCategory.Message,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:diag(95101,E.DiagnosticCategory.Message,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Add_class_tag:diag(95102,E.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:diag(95103,E.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:diag(95104,E.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),Convert_function_expression_0_to_arrow_function:diag(95105,E.DiagnosticCategory.Message,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:diag(95106,E.DiagnosticCategory.Message,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:diag(95107,E.DiagnosticCategory.Message,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:diag(95108,E.DiagnosticCategory.Message,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:diag(95109,E.DiagnosticCategory.Message,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file:diag(95110,E.DiagnosticCategory.Message,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig.json to read more about this file"),Add_a_return_statement:diag(95111,E.DiagnosticCategory.Message,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:diag(95112,E.DiagnosticCategory.Message,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:diag(95113,E.DiagnosticCategory.Message,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:diag(95114,E.DiagnosticCategory.Message,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:diag(95115,E.DiagnosticCategory.Message,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:diag(95116,E.DiagnosticCategory.Message,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:diag(95117,E.DiagnosticCategory.Message,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:diag(95118,E.DiagnosticCategory.Message,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:diag(95119,E.DiagnosticCategory.Message,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:diag(95120,E.DiagnosticCategory.Message,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:diag(95121,E.DiagnosticCategory.Message,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:diag(95122,E.DiagnosticCategory.Message,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:diag(95123,E.DiagnosticCategory.Message,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:diag(95124,E.DiagnosticCategory.Message,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:diag(95125,E.DiagnosticCategory.Message,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:diag(95126,E.DiagnosticCategory.Message,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:diag(95127,E.DiagnosticCategory.Message,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:diag(95128,E.DiagnosticCategory.Message,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:diag(95129,E.DiagnosticCategory.Message,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:diag(95130,E.DiagnosticCategory.Message,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:diag(95131,E.DiagnosticCategory.Message,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:diag(95132,E.DiagnosticCategory.Message,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:diag(95133,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:diag(95134,E.DiagnosticCategory.Message,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:diag(95135,E.DiagnosticCategory.Message,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:diag(95136,E.DiagnosticCategory.Message,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:diag(95137,E.DiagnosticCategory.Message,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:diag(95138,E.DiagnosticCategory.Message,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:diag(95139,E.DiagnosticCategory.Message,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:diag(95140,E.DiagnosticCategory.Message,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:diag(95141,E.DiagnosticCategory.Message,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:diag(95142,E.DiagnosticCategory.Message,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:diag(95143,E.DiagnosticCategory.Message,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:diag(95144,E.DiagnosticCategory.Message,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:diag(95145,E.DiagnosticCategory.Message,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:diag(95146,E.DiagnosticCategory.Message,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:diag(95147,E.DiagnosticCategory.Message,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:diag(95148,E.DiagnosticCategory.Message,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:diag(95149,E.DiagnosticCategory.Message,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:diag(95150,E.DiagnosticCategory.Message,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:diag(95151,E.DiagnosticCategory.Message,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:diag(95152,E.DiagnosticCategory.Message,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:diag(95153,E.DiagnosticCategory.Message,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:diag(95154,E.DiagnosticCategory.Message,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:diag(95155,E.DiagnosticCategory.Message,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:diag(95156,E.DiagnosticCategory.Message,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:diag(95157,E.DiagnosticCategory.Message,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:diag(95158,E.DiagnosticCategory.Message,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:diag(95159,E.DiagnosticCategory.Message,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:diag(95160,E.DiagnosticCategory.Message,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:diag(95161,E.DiagnosticCategory.Message,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:diag(95162,E.DiagnosticCategory.Message,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:diag(95163,E.DiagnosticCategory.Message,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:diag(95164,E.DiagnosticCategory.Message,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:diag(95165,E.DiagnosticCategory.Message,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:diag(95166,E.DiagnosticCategory.Message,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:diag(95167,E.DiagnosticCategory.Message,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:diag(95168,E.DiagnosticCategory.Message,"Add_all_missing_attributes_95168","Add all missing attributes"),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:diag(18004,E.DiagnosticCategory.Error,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:diag(18006,E.DiagnosticCategory.Error,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:diag(18007,E.DiagnosticCategory.Error,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:diag(18009,E.DiagnosticCategory.Error,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:diag(18010,E.DiagnosticCategory.Error,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:diag(18011,E.DiagnosticCategory.Error,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:diag(18012,E.DiagnosticCategory.Error,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:diag(18013,E.DiagnosticCategory.Error,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:diag(18014,E.DiagnosticCategory.Error,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:diag(18015,E.DiagnosticCategory.Error,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:diag(18016,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:diag(18017,E.DiagnosticCategory.Error,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:diag(18018,E.DiagnosticCategory.Error,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:diag(18019,E.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:diag(18024,E.DiagnosticCategory.Error,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:diag(18026,E.DiagnosticCategory.Error,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:diag(18027,E.DiagnosticCategory.Error,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:diag(18028,E.DiagnosticCategory.Error,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:diag(18029,E.DiagnosticCategory.Error,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:diag(18030,E.DiagnosticCategory.Error,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:diag(18031,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:diag(18032,E.DiagnosticCategory.Error,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhaustiveness_checks_consider_using_an_object_literal_instead:diag(18033,E.DiagnosticCategory.Error,"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033","Only numeric enums can have computed members, but this expression has type '{0}'. If you do not need exhaustiveness checks, consider using an object literal instead."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:diag(18034,E.DiagnosticCategory.Message,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:diag(18035,E.DiagnosticCategory.Error,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:diag(18036,E.DiagnosticCategory.Error,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:diag(18037,E.DiagnosticCategory.Error,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:diag(18038,E.DiagnosticCategory.Error,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:diag(18039,E.DiagnosticCategory.Error,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:diag(18041,E.DiagnosticCategory.Error,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block.")}})(ce||(ce={}));var ce;(function(E){var N;function tokenIsIdentifierOrKeyword(E){return E>=79}E.tokenIsIdentifierOrKeyword=tokenIsIdentifierOrKeyword;function tokenIsIdentifierOrKeywordOrGreaterThan(E){return E===31||tokenIsIdentifierOrKeyword(E)}E.tokenIsIdentifierOrKeywordOrGreaterThan=tokenIsIdentifierOrKeywordOrGreaterThan;E.textToKeywordObj=(N={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:81,case:82,catch:83,class:84,continue:86,const:85},N[""+"constructor"]=133,N.debugger=87,N.declare=134,N.default=88,N.delete=89,N.do=90,N.else=91,N.enum=92,N.export=93,N.extends=94,N.false=95,N.finally=96,N.for=97,N.from=154,N.function=98,N.get=135,N.if=99,N.implements=117,N.import=100,N.in=101,N.infer=136,N.instanceof=102,N.interface=118,N.intrinsic=137,N.is=138,N.keyof=139,N.let=119,N.module=140,N.namespace=141,N.never=142,N.new=103,N.null=104,N.number=145,N.object=146,N.package=120,N.private=121,N.protected=122,N.public=123,N.override=157,N.readonly=143,N.require=144,N.global=155,N.return=105,N.set=147,N.static=124,N.string=148,N.super=106,N.switch=107,N.symbol=149,N.this=108,N.throw=109,N.true=110,N.try=111,N.type=150,N.typeof=112,N.undefined=151,N.unique=152,N.unknown=153,N.var=113,N.void=114,N.while=115,N.with=116,N.yield=125,N.async=130,N.await=131,N.of=158,N);var R=new E.Map(E.getEntries(E.textToKeywordObj));var j=new E.Map(E.getEntries($($({},E.textToKeywordObj),{"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,">":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})));var q=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var G=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ie=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ae=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500];var ce=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101];var le=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999];var _e=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/;var Ee=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function lookupInUnicodeMap(E,N){if(E=2?lookupInUnicodeMap(E,ce):N===1?lookupInUnicodeMap(E,ie):lookupInUnicodeMap(E,q)}E.isUnicodeIdentifierStart=isUnicodeIdentifierStart;function isUnicodeIdentifierPart(E,N){return N>=2?lookupInUnicodeMap(E,le):N===1?lookupInUnicodeMap(E,ae):lookupInUnicodeMap(E,G)}function makeReverseMap(E){var N=[];E.forEach((function(E,R){N[E]=R}));return N}var Te=makeReverseMap(j);function tokenToString(E){return Te[E]}E.tokenToString=tokenToString;function stringToToken(E){return j.get(E)}E.stringToToken=stringToToken;function computeLineStarts(E){var N=new Array;var R=0;var j=0;while(R127&&isLineBreak($)){N.push(j);j=R}break}}N.push(j);return N}E.computeLineStarts=computeLineStarts;function getPositionOfLineAndCharacter(E,N,R,j){return E.getPositionOfLineAndCharacter?E.getPositionOfLineAndCharacter(N,R,j):computePositionOfLineAndCharacter(getLineStarts(E),N,R,E.text,j)}E.getPositionOfLineAndCharacter=getPositionOfLineAndCharacter;function computePositionOfLineAndCharacter(N,R,j,$,q){if(R<0||R>=N.length){if(q){R=R<0?0:R>=N.length?N.length-1:R}else{E.Debug.fail("Bad line number. Line: "+R+", lineStarts.length: "+N.length+" , line map is correct? "+($!==undefined?E.arraysEqual(N,computeLineStarts($)):"unknown"))}}var G=N[R]+j;if(q){return G>N[R+1]?N[R+1]:typeof $==="string"&&G>$.length?$.length:G}if(R=8192&&E<=8203||E===8239||E===8287||E===12288||E===65279}E.isWhiteSpaceSingleLine=isWhiteSpaceSingleLine;function isLineBreak(E){return E===10||E===13||E===8232||E===8233}E.isLineBreak=isLineBreak;function isDigit(E){return E>=48&&E<=57}function isHexDigit(E){return isDigit(E)||E>=65&&E<=70||E>=97&&E<=102}function isCodePoint(E){return E<=1114111}function isOctalDigit(E){return E>=48&&E<=55}E.isOctalDigit=isOctalDigit;function couldStartTrivia(E,N){var R=E.charCodeAt(N);switch(R){case 13:case 10:case 9:case 11:case 12:case 32:case 47:case 60:case 124:case 61:case 62:return true;case 35:return N===0;default:return R>127}}E.couldStartTrivia=couldStartTrivia;function skipTrivia(N,R,j,$,q){if(E.positionIsSynthesized(R)){return R}var G=false;while(true){var ie=N.charCodeAt(R);switch(ie){case 13:if(N.charCodeAt(R+1)===10){R++}case 10:R++;if(j){return R}G=!!q;continue;case 9:case 11:case 12:case 32:R++;continue;case 47:if($){break}if(N.charCodeAt(R+1)===47){R+=2;while(R127&&isWhiteSpaceLike(ie)){R++;continue}break}return R}}E.skipTrivia=skipTrivia;var we="<<<<<<<".length;function isConflictMarkerTrivia(N,R){E.Debug.assert(R>=0);if(R===0||isLineBreak(N.charCodeAt(R-1))){var j=N.charCodeAt(R);if(R+we=0&&R127&&isWhiteSpaceLike(Ie)){if(_e&&isLineBreak(Ie)){le=true}R++;continue}break e}}if(_e){Te=$(ie,ae,ce,le,q,Te)}return Te}function forEachLeadingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,false,R,j)}E.forEachLeadingCommentRange=forEachLeadingCommentRange;function forEachTrailingCommentRange(E,N,R,j){return iterateCommentRanges(false,E,N,true,R,j)}E.forEachTrailingCommentRange=forEachTrailingCommentRange;function reduceEachLeadingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,false,R,j,$)}E.reduceEachLeadingCommentRange=reduceEachLeadingCommentRange;function reduceEachTrailingCommentRange(E,N,R,j,$){return iterateCommentRanges(true,E,N,true,R,j,$)}E.reduceEachTrailingCommentRange=reduceEachTrailingCommentRange;function appendCommentRange(E,N,R,j,$,q){if(!q){q=[]}q.push({kind:R,pos:E,end:N,hasTrailingNewLine:j});return q}function getLeadingCommentRanges(E,N){return reduceEachLeadingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getLeadingCommentRanges=getLeadingCommentRanges;function getTrailingCommentRanges(E,N){return reduceEachTrailingCommentRange(E,N,appendCommentRange,undefined,undefined)}E.getTrailingCommentRanges=getTrailingCommentRanges;function getShebang(E){var N=Ie.exec(E);if(N){return N[0]}}E.getShebang=getShebang;function isIdentifierStart(E,N){return E>=65&&E<=90||E>=97&&E<=122||E===36||E===95||E>127&&isUnicodeIdentifierStart(E,N)}E.isIdentifierStart=isIdentifierStart;function isIdentifierPart(E,N,R){return E>=65&&E<=90||E>=97&&E<=122||E>=48&&E<=57||E===36||E===95||(R===1?E===45||E===58:false)||E>127&&isUnicodeIdentifierPart(E,N)}E.isIdentifierPart=isIdentifierPart;function isIdentifierText(E,N,R){var j=Ne(E,0);if(!isIdentifierStart(j,N)){return false}for(var $=charSize(j);$116},isReservedWord:function(){return Me>=81&&Me<=116},isUnterminated:function(){return(Be&4)!==0},getCommentDirectives:function(){return je},getNumericLiteralFlags:function(){return Be&1008},getTokenFlags:function(){return Be},reScanGreaterToken:reScanGreaterToken,reScanAsteriskEqualsToken:reScanAsteriskEqualsToken,reScanSlashToken:reScanSlashToken,reScanTemplateToken:reScanTemplateToken,reScanTemplateHeadOrNoSubstitutionTemplate:reScanTemplateHeadOrNoSubstitutionTemplate,scanJsxIdentifier:scanJsxIdentifier,scanJsxAttributeValue:scanJsxAttributeValue,reScanJsxAttributeValue:reScanJsxAttributeValue,reScanJsxToken:reScanJsxToken,reScanLessThanToken:reScanLessThanToken,reScanHashToken:reScanHashToken,reScanQuestionToken:reScanQuestionToken,reScanInvalidIdentifier:reScanInvalidIdentifier,scanJsxToken:scanJsxToken,scanJsDocToken:scanJsDocToken,scan:scan,getText:getText,clearCommentDirectives:clearCommentDirectives,setText:setText,setScriptTarget:setScriptTarget,setLanguageVariant:setLanguageVariant,setOnError:setOnError,setTextPos:setTextPos,setInJSDocType:setInJSDocType,tryScan:tryScan,lookAhead:lookAhead,scanRange:scanRange};if(E.Debug.isDebugging){Object.defineProperty(ze,"__debugShowCurrentPositionInText",{get:function(){var E=ze.getText();return E.slice(0,ze.getStartPos())+"║"+E.slice(ze.getStartPos())}})}return ze;function error(E,N,R){if(N===void 0){N=le}if(G){var j=le;le=N;G(E,R||0);le=j}}function scanNumberFragment(){var N=le;var R=false;var j=false;var $="";while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(R){R=false;j=true;$+=ce.substring(N,le)}else if(j){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;N=le;continue}if(isDigit(q)){R=true;j=false;le++;continue}break}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return $+ce.substring(N,le)}function scanNumber(){var N=le;var R=scanNumberFragment();var j;var $;if(ce.charCodeAt(le)===46){le++;j=scanNumberFragment()}var q=le;if(ce.charCodeAt(le)===69||ce.charCodeAt(le)===101){le++;Be|=16;if(ce.charCodeAt(le)===43||ce.charCodeAt(le)===45)le++;var G=le;var ie=scanNumberFragment();if(!ie){error(E.Diagnostics.Digit_expected)}else{$=ce.substring(q,G)+ie;q=le}}var ae;if(Be&512){ae=R;if(j){ae+="."+j}if($){ae+=$}}else{ae=ce.substring(N,q)}if(j!==undefined||Be&16){checkForIdentifierStartAfterNumericLiteral(N,j===undefined&&!!(Be&16));return{type:8,value:""+ +ae}}else{Le=ae;var _e=checkBigIntSuffix();checkForIdentifierStartAfterNumericLiteral(N);return{type:_e,value:Le}}}function checkForIdentifierStartAfterNumericLiteral(R,j){if(!isIdentifierStart(Ne(ce,le),N)){return}var $=le;var q=scanIdentifierParts().length;if(q===1&&ce[$]==="n"){if(j){error(E.Diagnostics.A_bigint_literal_cannot_use_exponential_notation,R,$-R+1)}else{error(E.Diagnostics.A_bigint_literal_must_be_an_integer,R,$-R+1)}}else{error(E.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,$,q);le=$}}function scanOctalDigits(){var E=le;while(isOctalDigit(ce.charCodeAt(le))){le++}return+ce.substring(E,le)}function scanExactNumberOfHexDigits(E,N){var R=scanHexDigits(E,false,N);return R?parseInt(R,16):-1}function scanMinimumNumberOfHexDigits(E,N){return scanHexDigits(E,true,N)}function scanHexDigits(N,R,j){var $=[];var q=false;var G=false;while($.length=65&&ie<=70){ie+=97-65}else if(!(ie>=48&&ie<=57||ie>=97&&ie<=102)){break}$.push(ie);le++;G=false}if($.length=Te){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}var q=ce.charCodeAt(le);if(q===R){j+=ce.substring($,le);le++;break}if(q===92&&!N){j+=ce.substring($,le);j+=scanEscapeSequence();$=le;continue}if(isLineBreak(q)&&!N){j+=ce.substring($,le);Be|=4;error(E.Diagnostics.Unterminated_string_literal);break}le++}return j}function scanTemplateAndSetTokenValue(N){var R=ce.charCodeAt(le)===96;le++;var j=le;var $="";var q;while(true){if(le>=Te){$+=ce.substring(j,le);Be|=4;error(E.Diagnostics.Unterminated_template_literal);q=R?14:17;break}var G=ce.charCodeAt(le);if(G===96){$+=ce.substring(j,le);le++;q=R?14:17;break}if(G===36&&le+1=Te){error(E.Diagnostics.Unexpected_end_of_text);return""}var j=ce.charCodeAt(le);le++;switch(j){case 48:if(N&&le=0){return String.fromCharCode(R)}else{error(E.Diagnostics.Hexadecimal_digit_expected);return""}}function scanExtendedUnicodeEscape(){var N=scanMinimumNumberOfHexDigits(1,false);var R=N?parseInt(N,16):-1;var j=false;if(R<0){error(E.Diagnostics.Hexadecimal_digit_expected);j=true}else if(R>1114111){error(E.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive);j=true}if(le>=Te){error(E.Diagnostics.Unexpected_end_of_text);j=true}else if(ce.charCodeAt(le)===125){le++}else{error(E.Diagnostics.Unterminated_Unicode_escape_sequence);j=true}if(j){return""}return utf16EncodeAsString(R)}function peekUnicodeEscape(){if(le+5=2&&Ne(ce,le+1)===117&&Ne(ce,le+2)===123){var E=le;le+=3;var R=scanMinimumNumberOfHexDigits(1,false);var j=R?parseInt(R,16):-1;le=E;return j}return-1}function scanIdentifierParts(){var E="";var R=le;while(le=0&&isIdentifierPart(j,N)){le+=3;Be|=8;E+=scanExtendedUnicodeEscape();R=le;continue}j=peekUnicodeEscape();if(!(j>=0&&isIdentifierPart(j,N))){break}Be|=1024;E+=ce.substring(R,le);E+=utf16EncodeAsString(j);le+=6;R=le}else{break}}E+=ce.substring(R,le);return E}function getIdentifierToken(){var E=Le.length;if(E>=2&&E<=12){var N=Le.charCodeAt(0);if(N>=97&&N<=122){var j=R.get(Le);if(j!==undefined){return Me=j}}}return Me=79}function scanBinaryOrOctalDigits(N){var R="";var j=false;var $=false;while(true){var q=ce.charCodeAt(le);if(q===95){Be|=512;if(j){j=false;$=true}else if($){error(E.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted,le,1)}else{error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le,1)}le++;continue}j=true;if(!isDigit(q)||q-48>=N){break}R+=ce[le];le++;$=false}if(ce.charCodeAt(le-1)===95){error(E.Diagnostics.Numeric_separators_are_not_allowed_here,le-1,1)}return R}function checkBigIntSuffix(){if(ce.charCodeAt(le)===110){Le+="n";if(Be&384){Le=E.parsePseudoBigInt(Le)+"n"}le++;return 9}else{var N=Be&128?parseInt(Le.slice(2),2):Be&256?parseInt(Le.slice(2),8):+Le;Le=""+N;return 8}}function scan(){var R;we=le;Be=0;var q=false;while(true){Ie=le;if(le>=Te){return Me=1}var G=Ne(ce,le);if(G===35&&le===0&&isShebangTrivia(ce,le)){le=scanShebangTrivia(ce,le);if(j){continue}else{return Me=6}}switch(G){case 10:case 13:Be|=1;if(j){le++;continue}else{if(G===13&&le+1=0&&isIdentifierStart(We,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var Je=peekUnicodeEscape();if(Je>=0&&isIdentifierStart(Je,N)){le+=6;Be|=1024;Le=String.fromCharCode(Je)+scanIdentifierParts();return Me=getIdentifierToken()}error(E.Diagnostics.Invalid_character);le++;return Me=0;case 35:if(le!==0&&ce[le+1]==="!"){error(E.Diagnostics.can_only_be_used_at_the_start_of_a_file);le++;return Me=0}if(isIdentifierStart(Ne(ce,le+1),N)){le++;scanIdentifier(Ne(ce,le),N)}else{Le=String.fromCharCode(Ne(ce,le));error(E.Diagnostics.Invalid_character,le++,charSize(G))}return Me=80;default:var Ve=scanIdentifier(G,N);if(Ve){return Me=Ve}else if(isWhiteSpaceSingleLine(G)){le+=charSize(G);continue}else if(isLineBreak(G)){Be|=1;le+=charSize(G);continue}var qe=charSize(G);error(E.Diagnostics.Invalid_character,le,qe);le+=qe;return Me=0}}}function reScanInvalidIdentifier(){E.Debug.assert(Me===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'.");le=Ie=we;Be=0;var N=Ne(ce,le);var R=scanIdentifier(N,99);if(R){return Me=R}le+=charSize(N);return Me}function scanIdentifier(E,N){var R=E;if(isIdentifierStart(R,N)){le+=charSize(R);while(le=Te){return Me=1}var R=ce.charCodeAt(le);if(R===60){if(ce.charCodeAt(le+1)===47){le+=2;return Me=30}le++;return Me=29}if(R===123){le++;return Me=18}var j=0;while(le0){break}else if(!isWhiteSpaceLike(R)){j=le}le++}Le=ce.substring(we,le);return j===-1?12:11}function scanJsxIdentifier(){if(tokenIsIdentifierOrKeyword(Me)){var E=false;while(le=Te){return Me=1}var E=Ne(ce,le);le+=charSize(E);switch(E){case 9:case 11:case 12:case 32:while(le=0&&isIdentifierStart(R,N)){le+=3;Be|=8;Le=scanExtendedUnicodeEscape()+scanIdentifierParts();return Me=getIdentifierToken()}var j=peekUnicodeEscape();if(j>=0&&isIdentifierStart(j,N)){le+=6;Be|=1024;Le=String.fromCharCode(j)+scanIdentifierParts();return Me=getIdentifierToken()}le++;return Me=0}if(isIdentifierStart(E,N)){var $=E;while(le=0);le=N;we=N;Ie=N;Me=0;Le=undefined;Be=0}function setInJSDocType(E){Ue+=E?1:-1}}E.createScanner=createScanner;var Ne=String.prototype.codePointAt?function(E,N){return E.codePointAt(N)}:function codePointAt(E,N){var R=E.length;if(N<0||N>=R){return undefined}var j=E.charCodeAt(N);if(j>=55296&&j<=56319&&R>N+1){var $=E.charCodeAt(N+1);if($>=56320&&$<=57343){return(j-55296)*1024+$-56320+65536}}return j};function charSize(E){if(E>=65536){return 2}return 1}function utf16EncodeAsStringFallback(N){E.Debug.assert(0<=N&&N<=1114111);if(N<=65535){return String.fromCharCode(N)}var R=Math.floor((N-65536)/1024)+55296;var j=(N-65536)%1024+56320;return String.fromCharCode(R,j)}var Me=String.fromCodePoint?function(E){return String.fromCodePoint(E)}:utf16EncodeAsStringFallback;function utf16EncodeAsString(E){return Me(E)}E.utf16EncodeAsString=utf16EncodeAsString})(ce||(ce={}));var ce;(function(E){function isExternalModuleNameRelative(N){return E.pathIsRelative(N)||E.isRootedDiskPath(N)}E.isExternalModuleNameRelative=isExternalModuleNameRelative;function sortAndDeduplicateDiagnostics(N){return E.sortAndDeduplicate(N,E.compareDiagnostics)}E.sortAndDeduplicateDiagnostics=sortAndDeduplicateDiagnostics;function getDefaultLibFileName(E){switch(E.target){case 99:return"lib.esnext.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}E.getDefaultLibFileName=getDefaultLibFileName;function textSpanEnd(E){return E.start+E.length}E.textSpanEnd=textSpanEnd;function textSpanIsEmpty(E){return E.length===0}E.textSpanIsEmpty=textSpanIsEmpty;function textSpanContainsPosition(E,N){return N>=E.start&&N=E.pos&&N<=E.end}E.textRangeContainsPositionInclusive=textRangeContainsPositionInclusive;function textSpanContainsTextSpan(E,N){return N.start>=E.start&&textSpanEnd(N)<=textSpanEnd(E)}E.textSpanContainsTextSpan=textSpanContainsTextSpan;function textSpanOverlapsWith(E,N){return textSpanOverlap(E,N)!==undefined}E.textSpanOverlapsWith=textSpanOverlapsWith;function textSpanOverlap(E,N){var R=textSpanIntersection(E,N);return R&&R.length===0?undefined:R}E.textSpanOverlap=textSpanOverlap;function textSpanIntersectsWithTextSpan(E,N){return decodedTextSpanIntersectsWith(E.start,E.length,N.start,N.length)}E.textSpanIntersectsWithTextSpan=textSpanIntersectsWithTextSpan;function textSpanIntersectsWith(E,N,R){return decodedTextSpanIntersectsWith(E.start,E.length,N,R)}E.textSpanIntersectsWith=textSpanIntersectsWith;function decodedTextSpanIntersectsWith(E,N,R,j){var $=E+N;var q=R+j;return R<=$&&q>=E}E.decodedTextSpanIntersectsWith=decodedTextSpanIntersectsWith;function textSpanIntersectsWithPosition(E,N){return N<=textSpanEnd(E)&&N>=E.start}E.textSpanIntersectsWithPosition=textSpanIntersectsWithPosition;function textSpanIntersection(E,N){var R=Math.max(E.start,N.start);var j=Math.min(textSpanEnd(E),textSpanEnd(N));return R<=j?createTextSpanFromBounds(R,j):undefined}E.textSpanIntersection=textSpanIntersection;function createTextSpan(E,N){if(E<0){throw new Error("start < 0")}if(N<0){throw new Error("length < 0")}return{start:E,length:N}}E.createTextSpan=createTextSpan;function createTextSpanFromBounds(E,N){return createTextSpan(E,N-E)}E.createTextSpanFromBounds=createTextSpanFromBounds;function textChangeRangeNewSpan(E){return createTextSpan(E.span.start,E.newLength)}E.textChangeRangeNewSpan=textChangeRangeNewSpan;function textChangeRangeIsUnchanged(E){return textSpanIsEmpty(E.span)&&E.newLength===0}E.textChangeRangeIsUnchanged=textChangeRangeIsUnchanged;function createTextChangeRange(E,N){if(N<0){throw new Error("newLength < 0")}return{span:E,newLength:N}}E.createTextChangeRange=createTextChangeRange;E.unchangedTextChangeRange=createTextChangeRange(createTextSpan(0,0),0);function collapseTextChangeRangesAcrossMultipleVersions(N){if(N.length===0){return E.unchangedTextChangeRange}if(N.length===1){return N[0]}var R=N[0];var j=R.span.start;var $=textSpanEnd(R.span);var q=j+R.newLength;for(var G=1;G=2&&E.charCodeAt(0)===95&&E.charCodeAt(1)===95?"_"+E:E}E.escapeLeadingUnderscores=escapeLeadingUnderscores;function unescapeLeadingUnderscores(E){var N=E;return N.length>=3&&N.charCodeAt(0)===95&&N.charCodeAt(1)===95&&N.charCodeAt(2)===95?N.substr(1):N}E.unescapeLeadingUnderscores=unescapeLeadingUnderscores;function idText(E){return unescapeLeadingUnderscores(E.escapedText)}E.idText=idText;function symbolName(E){if(E.valueDeclaration&&isPrivateIdentifierClassElementDeclaration(E.valueDeclaration)){return idText(E.valueDeclaration.name)}return unescapeLeadingUnderscores(E.escapedName)}E.symbolName=symbolName;function nameForNamelessJSDocTypedef(N){var R=N.parent.parent;if(!R){return undefined}if(isDeclaration(R)){return getDeclarationIdentifier(R)}switch(R.kind){case 235:if(R.declarationList&&R.declarationList.declarations[0]){return getDeclarationIdentifier(R.declarationList.declarations[0])}break;case 236:var j=R.expression;if(j.kind===219&&j.operatorToken.kind===63){j=j.left}switch(j.kind){case 204:return j.name;case 205:var $=j.argumentExpression;if(E.isIdentifier($)){return $}}break;case 210:{return getDeclarationIdentifier(R.expression)}case 248:{if(isDeclaration(R.statement)||isExpression(R.statement)){return getDeclarationIdentifier(R.statement)}break}}}function getDeclarationIdentifier(N){var R=getNameOfDeclaration(N);return R&&E.isIdentifier(R)?R:undefined}function nodeHasName(N,R){if(isNamedDeclaration(N)&&E.isIdentifier(N.name)&&idText(N.name)===idText(R)){return true}if(E.isVariableStatement(N)&&E.some(N.declarationList.declarations,(function(E){return nodeHasName(E,R)}))){return true}return false}E.nodeHasName=nodeHasName;function getNameOfJSDocTypedef(E){return E.name||nameForNamelessJSDocTypedef(E)}E.getNameOfJSDocTypedef=getNameOfJSDocTypedef;function isNamedDeclaration(E){return!!E.name}E.isNamedDeclaration=isNamedDeclaration;function getNonAssignedNameOfDeclaration(N){switch(N.kind){case 79:return N;case 342:case 335:{var R=N.name;if(R.kind===159){return R.right}break}case 206:case 219:{var j=N;switch(E.getAssignmentDeclarationKind(j)){case 1:case 4:case 5:case 3:return E.getElementOrPropertyAccessArgumentExpressionOrName(j.left);case 7:case 8:case 9:return j.arguments[1];default:return undefined}}case 340:return getNameOfJSDocTypedef(N);case 334:return nameForNamelessJSDocTypedef(N);case 269:{var $=N.expression;return E.isIdentifier($)?$:undefined}case 205:var q=N;if(E.isBindableStaticElementAccessExpression(q)){return q.argumentExpression}}return N.name}E.getNonAssignedNameOfDeclaration=getNonAssignedNameOfDeclaration;function getNameOfDeclaration(N){if(N===undefined)return undefined;return getNonAssignedNameOfDeclaration(N)||(E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isClassExpression(N)?getAssignedName(N):undefined)}E.getNameOfDeclaration=getNameOfDeclaration;function getAssignedName(N){if(!N.parent){return undefined}else if(E.isPropertyAssignment(N.parent)||E.isBindingElement(N.parent)){return N.parent.name}else if(E.isBinaryExpression(N.parent)&&N===N.parent.right){if(E.isIdentifier(N.parent.left)){return N.parent.left}else if(E.isAccessExpression(N.parent.left)){return E.getElementOrPropertyAccessArgumentExpressionOrName(N.parent.left)}}else if(E.isVariableDeclaration(N.parent)&&E.isIdentifier(N.parent.name)){return N.parent.name}}E.getAssignedName=getAssignedName;function getJSDocParameterTagsWorker(N,R){if(N.name){if(E.isIdentifier(N.name)){var j=N.name.escapedText;return getJSDocTagsWorker(N.parent,R).filter((function(N){return E.isJSDocParameterTag(N)&&E.isIdentifier(N.name)&&N.name.escapedText===j}))}else{var $=N.parent.parameters.indexOf(N);E.Debug.assert($>-1,"Parameters should always be in their parents' parameter list");var q=getJSDocTagsWorker(N.parent,R).filter(E.isJSDocParameterTag);if($=159}E.isNodeKind=isNodeKind;function isTokenKind(E){return E>=0&&E<=158}E.isTokenKind=isTokenKind;function isToken(E){return isTokenKind(E.kind)}E.isToken=isToken;function isNodeArray(E){return E.hasOwnProperty("pos")&&E.hasOwnProperty("end")}E.isNodeArray=isNodeArray;function isLiteralKind(E){return 8<=E&&E<=14}E.isLiteralKind=isLiteralKind;function isLiteralExpression(E){return isLiteralKind(E.kind)}E.isLiteralExpression=isLiteralExpression;function isTemplateLiteralKind(E){return 14<=E&&E<=17}E.isTemplateLiteralKind=isTemplateLiteralKind;function isTemplateLiteralToken(E){return isTemplateLiteralKind(E.kind)}E.isTemplateLiteralToken=isTemplateLiteralToken;function isTemplateMiddleOrTemplateTail(E){var N=E.kind;return N===16||N===17}E.isTemplateMiddleOrTemplateTail=isTemplateMiddleOrTemplateTail;function isImportOrExportSpecifier(N){return E.isImportSpecifier(N)||E.isExportSpecifier(N)}E.isImportOrExportSpecifier=isImportOrExportSpecifier;function isTypeOnlyImportOrExportDeclaration(E){switch(E.kind){case 268:case 273:return E.parent.parent.isTypeOnly;case 266:return E.parent.isTypeOnly;case 265:case 263:return E.isTypeOnly;default:return false}}E.isTypeOnlyImportOrExportDeclaration=isTypeOnlyImportOrExportDeclaration;function isStringTextContainingNode(E){return E.kind===10||isTemplateLiteralKind(E.kind)}E.isStringTextContainingNode=isStringTextContainingNode;function isGeneratedIdentifier(N){return E.isIdentifier(N)&&(N.autoGenerateFlags&7)>0}E.isGeneratedIdentifier=isGeneratedIdentifier;function isPrivateIdentifierClassElementDeclaration(N){return(E.isPropertyDeclaration(N)||isMethodOrAccessor(N))&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierClassElementDeclaration=isPrivateIdentifierClassElementDeclaration;function isPrivateIdentifierPropertyAccessExpression(N){return E.isPropertyAccessExpression(N)&&E.isPrivateIdentifier(N.name)}E.isPrivateIdentifierPropertyAccessExpression=isPrivateIdentifierPropertyAccessExpression;function isModifierKind(E){switch(E){case 126:case 130:case 85:case 134:case 88:case 93:case 123:case 121:case 122:case 143:case 124:case 157:return true}return false}E.isModifierKind=isModifierKind;function isParameterPropertyModifier(N){return!!(E.modifierToFlag(N)&16476)}E.isParameterPropertyModifier=isParameterPropertyModifier;function isClassMemberModifier(E){return isParameterPropertyModifier(E)||E===124||E===157}E.isClassMemberModifier=isClassMemberModifier;function isModifier(E){return isModifierKind(E.kind)}E.isModifier=isModifier;function isEntityName(E){var N=E.kind;return N===159||N===79}E.isEntityName=isEntityName;function isPropertyName(E){var N=E.kind;return N===79||N===80||N===10||N===8||N===160}E.isPropertyName=isPropertyName;function isBindingName(E){var N=E.kind;return N===79||N===199||N===200}E.isBindingName=isBindingName;function isFunctionLike(E){return!!E&&isFunctionLikeKind(E.kind)}E.isFunctionLike=isFunctionLike;function isFunctionLikeOrClassStaticBlockDeclaration(N){return!!N&&(isFunctionLikeKind(N.kind)||E.isClassStaticBlockDeclaration(N))}E.isFunctionLikeOrClassStaticBlockDeclaration=isFunctionLikeOrClassStaticBlockDeclaration;function isFunctionLikeDeclaration(E){return E&&isFunctionLikeDeclarationKind(E.kind)}E.isFunctionLikeDeclaration=isFunctionLikeDeclaration;function isBooleanLiteral(E){return E.kind===110||E.kind===95}E.isBooleanLiteral=isBooleanLiteral;function isFunctionLikeDeclarationKind(E){switch(E){case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:return false}}function isFunctionLikeKind(E){switch(E){case 166:case 172:case 318:case 173:case 174:case 177:case 312:case 178:return true;default:return isFunctionLikeDeclarationKind(E)}}E.isFunctionLikeKind=isFunctionLikeKind;function isFunctionOrModuleBlock(N){return E.isSourceFile(N)||E.isModuleBlock(N)||E.isBlock(N)&&isFunctionLike(N.parent)}E.isFunctionOrModuleBlock=isFunctionOrModuleBlock;function isClassElement(E){var N=E.kind;return N===169||N===165||N===167||N===170||N===171||N===174||N===168||N===232}E.isClassElement=isClassElement;function isClassLike(E){return E&&(E.kind===255||E.kind===224)}E.isClassLike=isClassLike;function isAccessor(E){return E&&(E.kind===170||E.kind===171)}E.isAccessor=isAccessor;function isMethodOrAccessor(E){switch(E.kind){case 167:case 170:case 171:return true;default:return false}}E.isMethodOrAccessor=isMethodOrAccessor;function isTypeElement(E){var N=E.kind;return N===173||N===172||N===164||N===166||N===174}E.isTypeElement=isTypeElement;function isClassOrTypeElement(E){return isTypeElement(E)||isClassElement(E)}E.isClassOrTypeElement=isClassOrTypeElement;function isObjectLiteralElementLike(E){var N=E.kind;return N===291||N===292||N===293||N===167||N===170||N===171}E.isObjectLiteralElementLike=isObjectLiteralElementLike;function isTypeNode(N){return E.isTypeNodeKind(N.kind)}E.isTypeNode=isTypeNode;function isFunctionOrConstructorTypeNode(E){switch(E.kind){case 177:case 178:return true}return false}E.isFunctionOrConstructorTypeNode=isFunctionOrConstructorTypeNode;function isBindingPattern(E){if(E){var N=E.kind;return N===200||N===199}return false}E.isBindingPattern=isBindingPattern;function isAssignmentPattern(E){var N=E.kind;return N===202||N===203}E.isAssignmentPattern=isAssignmentPattern;function isArrayBindingElement(E){var N=E.kind;return N===201||N===225}E.isArrayBindingElement=isArrayBindingElement;function isDeclarationBindingElement(E){switch(E.kind){case 252:case 162:case 201:return true}return false}E.isDeclarationBindingElement=isDeclarationBindingElement;function isBindingOrAssignmentPattern(E){return isObjectBindingOrAssignmentPattern(E)||isArrayBindingOrAssignmentPattern(E)}E.isBindingOrAssignmentPattern=isBindingOrAssignmentPattern;function isObjectBindingOrAssignmentPattern(E){switch(E.kind){case 199:case 203:return true}return false}E.isObjectBindingOrAssignmentPattern=isObjectBindingOrAssignmentPattern;function isObjectBindingOrAssignmentElement(E){switch(E.kind){case 201:case 291:case 292:case 293:return true}return false}E.isObjectBindingOrAssignmentElement=isObjectBindingOrAssignmentElement;function isArrayBindingOrAssignmentPattern(E){switch(E.kind){case 200:case 202:return true}return false}E.isArrayBindingOrAssignmentPattern=isArrayBindingOrAssignmentPattern;function isPropertyAccessOrQualifiedNameOrImportTypeNode(E){var N=E.kind;return N===204||N===159||N===198}E.isPropertyAccessOrQualifiedNameOrImportTypeNode=isPropertyAccessOrQualifiedNameOrImportTypeNode;function isPropertyAccessOrQualifiedName(E){var N=E.kind;return N===204||N===159}E.isPropertyAccessOrQualifiedName=isPropertyAccessOrQualifiedName;function isCallLikeExpression(E){switch(E.kind){case 278:case 277:case 206:case 207:case 208:case 163:return true;default:return false}}E.isCallLikeExpression=isCallLikeExpression;function isCallOrNewExpression(E){return E.kind===206||E.kind===207}E.isCallOrNewExpression=isCallOrNewExpression;function isTemplateLiteral(E){var N=E.kind;return N===221||N===14}E.isTemplateLiteral=isTemplateLiteral;function isLeftHandSideExpression(E){return isLeftHandSideExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isLeftHandSideExpression=isLeftHandSideExpression;function isLeftHandSideExpressionKind(E){switch(E){case 204:case 205:case 207:case 206:case 276:case 277:case 280:case 208:case 202:case 210:case 203:case 224:case 211:case 79:case 13:case 8:case 9:case 10:case 14:case 221:case 95:case 104:case 108:case 110:case 106:case 228:case 229:case 100:return true;default:return false}}function isUnaryExpression(E){return isUnaryExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isUnaryExpression=isUnaryExpression;function isUnaryExpressionKind(E){switch(E){case 217:case 218:case 213:case 214:case 215:case 216:case 209:return true;default:return isLeftHandSideExpressionKind(E)}}function isUnaryExpressionWithWrite(E){switch(E.kind){case 218:return true;case 217:return E.operator===45||E.operator===46;default:return false}}E.isUnaryExpressionWithWrite=isUnaryExpressionWithWrite;function isExpression(E){return isExpressionKind(skipPartiallyEmittedExpressions(E).kind)}E.isExpression=isExpression;function isExpressionKind(E){switch(E){case 220:case 222:case 212:case 219:case 223:case 227:case 225:case 346:case 345:return true;default:return isUnaryExpressionKind(E)}}function isAssertionExpression(E){var N=E.kind;return N===209||N===227}E.isAssertionExpression=isAssertionExpression;function isNotEmittedOrPartiallyEmittedNode(N){return E.isNotEmittedStatement(N)||E.isPartiallyEmittedExpression(N)}E.isNotEmittedOrPartiallyEmittedNode=isNotEmittedOrPartiallyEmittedNode;function isIterationStatement(E,N){switch(E.kind){case 240:case 241:case 242:case 238:case 239:return true;case 248:return N&&isIterationStatement(E.statement,N)}return false}E.isIterationStatement=isIterationStatement;function isScopeMarker(N){return E.isExportAssignment(N)||E.isExportDeclaration(N)}E.isScopeMarker=isScopeMarker;function hasScopeMarker(N){return E.some(N,isScopeMarker)}E.hasScopeMarker=hasScopeMarker;function needsScopeMarker(N){return!E.isAnyImportOrReExport(N)&&!E.isExportAssignment(N)&&!E.hasSyntacticModifier(N,1)&&!E.isAmbientModule(N)}E.needsScopeMarker=needsScopeMarker;function isExternalModuleIndicator(N){return E.isAnyImportOrReExport(N)||E.isExportAssignment(N)||E.hasSyntacticModifier(N,1)}E.isExternalModuleIndicator=isExternalModuleIndicator;function isForInOrOfStatement(E){return E.kind===241||E.kind===242}E.isForInOrOfStatement=isForInOrOfStatement;function isConciseBody(N){return E.isBlock(N)||isExpression(N)}E.isConciseBody=isConciseBody;function isFunctionBody(N){return E.isBlock(N)}E.isFunctionBody=isFunctionBody;function isForInitializer(N){return E.isVariableDeclarationList(N)||isExpression(N)}E.isForInitializer=isForInitializer;function isModuleBody(E){var N=E.kind;return N===260||N===259||N===79}E.isModuleBody=isModuleBody;function isNamespaceBody(E){var N=E.kind;return N===260||N===259}E.isNamespaceBody=isNamespaceBody;function isJSDocNamespaceBody(E){var N=E.kind;return N===79||N===259}E.isJSDocNamespaceBody=isJSDocNamespaceBody;function isNamedImportBindings(E){var N=E.kind;return N===267||N===266}E.isNamedImportBindings=isNamedImportBindings;function isModuleOrEnumDeclaration(E){return E.kind===259||E.kind===258}E.isModuleOrEnumDeclaration=isModuleOrEnumDeclaration;function isDeclarationKind(E){return E===212||E===201||E===255||E===224||E===168||E===169||E===258||E===294||E===273||E===254||E===211||E===170||E===265||E===263||E===268||E===256||E===283||E===167||E===166||E===259||E===262||E===266||E===272||E===162||E===291||E===165||E===164||E===171||E===292||E===257||E===161||E===252||E===340||E===333||E===342}function isDeclarationStatementKind(E){return E===254||E===274||E===255||E===256||E===257||E===258||E===259||E===264||E===263||E===270||E===269||E===262}function isStatementKindButNotDeclarationKind(E){return E===244||E===243||E===251||E===238||E===236||E===234||E===241||E===242||E===240||E===237||E===248||E===245||E===247||E===249||E===250||E===235||E===239||E===246||E===344||E===348||E===347}function isDeclaration(N){if(N.kind===161){return N.parent&&N.parent.kind!==339||E.isInJSFile(N)}return isDeclarationKind(N.kind)}E.isDeclaration=isDeclaration;function isDeclarationStatement(E){return isDeclarationStatementKind(E.kind)}E.isDeclarationStatement=isDeclarationStatement;function isStatementButNotDeclaration(E){return isStatementKindButNotDeclarationKind(E.kind)}E.isStatementButNotDeclaration=isStatementButNotDeclaration;function isStatement(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||isBlockStatement(E)}E.isStatement=isStatement;function isBlockStatement(N){if(N.kind!==233)return false;if(N.parent!==undefined){if(N.parent.kind===250||N.parent.kind===290){return false}}return!E.isFunctionBlock(N)}function isStatementOrBlock(E){var N=E.kind;return isStatementKindButNotDeclarationKind(N)||isDeclarationStatementKind(N)||N===233}E.isStatementOrBlock=isStatementOrBlock;function isModuleReference(E){var N=E.kind;return N===275||N===159||N===79}E.isModuleReference=isModuleReference;function isJsxTagNameExpression(E){var N=E.kind;return N===108||N===79||N===204}E.isJsxTagNameExpression=isJsxTagNameExpression;function isJsxChild(E){var N=E.kind;return N===276||N===286||N===277||N===11||N===280}E.isJsxChild=isJsxChild;function isJsxAttributeLike(E){var N=E.kind;return N===283||N===285}E.isJsxAttributeLike=isJsxAttributeLike;function isStringLiteralOrJsxExpression(E){var N=E.kind;return N===10||N===286}E.isStringLiteralOrJsxExpression=isStringLiteralOrJsxExpression;function isJsxOpeningLikeElement(E){var N=E.kind;return N===278||N===277}E.isJsxOpeningLikeElement=isJsxOpeningLikeElement;function isCaseOrDefaultClause(E){var N=E.kind;return N===287||N===288}E.isCaseOrDefaultClause=isCaseOrDefaultClause;function isJSDocNode(E){return E.kind>=304&&E.kind<=342}E.isJSDocNode=isJSDocNode;function isJSDocCommentContainingNode(N){return N.kind===315||N.kind===314||N.kind===316||isJSDocLinkLike(N)||isJSDocTag(N)||E.isJSDocTypeLiteral(N)||E.isJSDocSignature(N)}E.isJSDocCommentContainingNode=isJSDocCommentContainingNode;function isJSDocTag(E){return E.kind>=322&&E.kind<=342}E.isJSDocTag=isJSDocTag;function isSetAccessor(E){return E.kind===171}E.isSetAccessor=isSetAccessor;function isGetAccessor(E){return E.kind===170}E.isGetAccessor=isGetAccessor;function hasJSDocNodes(E){var N=E.jsDoc;return!!N&&N.length>0}E.hasJSDocNodes=hasJSDocNodes;function hasType(E){return!!E.type}E.hasType=hasType;function hasInitializer(E){return!!E.initializer}E.hasInitializer=hasInitializer;function hasOnlyExpressionInitializer(E){switch(E.kind){case 252:case 162:case 201:case 164:case 165:case 291:case 294:return true;default:return false}}E.hasOnlyExpressionInitializer=hasOnlyExpressionInitializer;function isObjectLiteralElement(E){return E.kind===283||E.kind===285||isObjectLiteralElementLike(E)}E.isObjectLiteralElement=isObjectLiteralElement;function isTypeReferenceType(E){return E.kind===176||E.kind===226}E.isTypeReferenceType=isTypeReferenceType;var N=1073741823;function guessIndentation(R){var j=N;for(var $=0,q=R;$=0);return E.getLineStarts(R)[N]}E.getStartPositionOfLine=getStartPositionOfLine;function nodePosToString(N){var R=getSourceFileOfNode(N);var j=E.getLineAndCharacterOfPosition(R,N.pos);return R.fileName+"("+(j.line+1)+","+(j.character+1)+")"}E.nodePosToString=nodePosToString;function getEndLinePosition(N,R){E.Debug.assert(N>=0);var j=E.getLineStarts(R);var $=N;var q=R.text;if($+1===j.length){return q.length-1}else{var G=j[$];var ie=j[$+1]-1;E.Debug.assert(E.isLineBreak(q.charCodeAt(ie)));while(G<=ie&&E.isLineBreak(q.charCodeAt(ie))){ie--}return ie}}E.getEndLinePosition=getEndLinePosition;function isFileLevelUniqueName(E,N,R){return!(R&&R(N))&&!E.identifiers.has(N)}E.isFileLevelUniqueName=isFileLevelUniqueName;function nodeIsMissing(E){if(E===undefined){return true}return E.pos===E.end&&E.pos>=0&&E.kind!==1}E.nodeIsMissing=nodeIsMissing;function nodeIsPresent(E){return!nodeIsMissing(E)}E.nodeIsPresent=nodeIsPresent;function insertStatementsAfterPrologue(E,N,R){if(N===undefined||N.length===0)return E;var $=0;for(;$0){return getTokenPosOfNode(N._children[0],R,j)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.pos,false,false,isInJSDoc(N))}E.getTokenPosOfNode=getTokenPosOfNode;function getNonDecoratorTokenPosOfNode(N,R){if(nodeIsMissing(N)||!N.decorators){return getTokenPosOfNode(N,R)}return E.skipTrivia((R||getSourceFileOfNode(N)).text,N.decorators.end)}E.getNonDecoratorTokenPosOfNode=getNonDecoratorTokenPosOfNode;function getSourceTextOfNodeFromSourceFile(E,N,R){if(R===void 0){R=false}return getTextOfNodeFromSourceText(E.text,N,R)}E.getSourceTextOfNodeFromSourceFile=getSourceTextOfNodeFromSourceFile;function isJSDocTypeExpressionOrChild(N){return!!E.findAncestor(N,E.isJSDocTypeExpression)}function isExportNamespaceAsDefaultDeclaration(N){return!!(E.isExportDeclaration(N)&&N.exportClause&&E.isNamespaceExport(N.exportClause)&&N.exportClause.name.escapedText==="default")}E.isExportNamespaceAsDefaultDeclaration=isExportNamespaceAsDefaultDeclaration;function getTextOfNodeFromSourceText(N,R,j){if(j===void 0){j=false}if(nodeIsMissing(R)){return""}var $=N.substring(j?R.pos:E.skipTrivia(N,R.pos),R.end);if(isJSDocTypeExpressionOrChild(R)){$=$.split(/\r\n|\n|\r/).map((function(N){return E.trimStringStart(N.replace(/^\s*\*/,""))})).join("\n")}return $}E.getTextOfNodeFromSourceText=getTextOfNodeFromSourceText;function getTextOfNode(E,N){if(N===void 0){N=false}return getSourceTextOfNodeFromSourceFile(getSourceFileOfNode(E),E,N)}E.getTextOfNode=getTextOfNode;function getPos(E){return E.pos}function indexOfNode(N,R){return E.binarySearch(N,R,getPos,E.compareValues)}E.indexOfNode=indexOfNode;function getEmitFlags(E){var N=E.emitNode;return N&&N.flags||0}E.getEmitFlags=getEmitFlags;function getScriptTargetFeatures(){return{es2015:{Array:["find","findIndex","fill","copyWithin","entries","keys","values"],RegExp:["flags","sticky","unicode"],Reflect:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],ArrayConstructor:["from","of"],ObjectConstructor:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],NumberConstructor:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"],Math:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"],Map:["entries","keys","values"],Set:["entries","keys","values"],Promise:E.emptyArray,PromiseConstructor:["all","race","reject","resolve"],Symbol:["for","keyFor"],WeakMap:["entries","keys","values"],WeakSet:["entries","keys","values"],Iterator:E.emptyArray,AsyncIterator:E.emptyArray,String:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],StringConstructor:["fromCodePoint","raw"]},es2016:{Array:["includes"]},es2017:{Atomics:E.emptyArray,SharedArrayBuffer:E.emptyArray,String:["padStart","padEnd"],ObjectConstructor:["values","entries","getOwnPropertyDescriptors"],DateTimeFormat:["formatToParts"]},es2018:{Promise:["finally"],RegExpMatchArray:["groups"],RegExpExecArray:["groups"],RegExp:["dotAll"],Intl:["PluralRules"],AsyncIterable:E.emptyArray,AsyncIterableIterator:E.emptyArray,AsyncGenerator:E.emptyArray,AsyncGeneratorFunction:E.emptyArray},es2019:{Array:["flat","flatMap"],ObjectConstructor:["fromEntries"],String:["trimStart","trimEnd","trimLeft","trimRight"],Symbol:["description"]},es2020:{BigInt:E.emptyArray,BigInt64Array:E.emptyArray,BigUint64Array:E.emptyArray,PromiseConstructor:["allSettled"],SymbolConstructor:["matchAll"],String:["matchAll"],DataView:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"],RelativeTimeFormat:["format","formatToParts","resolvedOptions"]},es2021:{PromiseConstructor:["any"],String:["replaceAll"]},esnext:{NumberFormat:["formatToParts"]}}}E.getScriptTargetFeatures=getScriptTargetFeatures;var R;(function(E){E[E["None"]=0]="None";E[E["NeverAsciiEscape"]=1]="NeverAsciiEscape";E[E["JsxAttributeEscape"]=2]="JsxAttributeEscape";E[E["TerminateUnterminatedLiterals"]=4]="TerminateUnterminatedLiterals";E[E["AllowNumericSeparator"]=8]="AllowNumericSeparator"})(R=E.GetLiteralTextFlags||(E.GetLiteralTextFlags={}));function getLiteralText(N,R,j){var $;if(canUseOriginalText(N,j)){return getSourceTextOfNodeFromSourceFile(R,N)}switch(N.kind){case 10:{var q=j&2?escapeJsxAttributeString:j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;if(N.singleQuote){return"'"+q(N.text,39)+"'"}else{return'"'+q(N.text,34)+'"'}}case 14:case 15:case 16:case 17:{var q=j&1||getEmitFlags(N)&16777216?escapeString:escapeNonAsciiString;var G=($=N.rawText)!==null&&$!==void 0?$:escapeTemplateSubstitution(q(N.text,96));switch(N.kind){case 14:return"`"+G+"`";case 15:return"`"+G+"${";case 16:return"}"+G+"${";case 17:return"}"+G+"`"}break}case 8:case 9:return N.text;case 13:if(j&4&&N.isUnterminated){return N.text+(N.text.charCodeAt(N.text.length-1)===92?" /":"/")}return N.text}return E.Debug.fail("Literal kind '"+N.kind+"' not accounted for.")}E.getLiteralText=getLiteralText;function canUseOriginalText(N,R){if(nodeIsSynthesized(N)||!N.parent||R&4&&N.isUnterminated){return false}if(E.isNumericLiteral(N)&&N.numericLiteralFlags&512){return!!(R&8)}return!E.isBigIntLiteral(N)}function getTextOfConstantValue(N){return E.isString(N)?'"'+escapeNonAsciiString(N)+'"':""+N}E.getTextOfConstantValue=getTextOfConstantValue;function makeIdentifierFromModuleName(N){return E.getBaseFileName(N).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}E.makeIdentifierFromModuleName=makeIdentifierFromModuleName;function isBlockOrCatchScoped(N){return(E.getCombinedNodeFlags(N)&3)!==0||isCatchClauseVariableDeclarationOrBindingElement(N)}E.isBlockOrCatchScoped=isBlockOrCatchScoped;function isCatchClauseVariableDeclarationOrBindingElement(E){var N=getRootDeclaration(E);return N.kind===252&&N.parent.kind===290}E.isCatchClauseVariableDeclarationOrBindingElement=isCatchClauseVariableDeclarationOrBindingElement;function isAmbientModule(N){return E.isModuleDeclaration(N)&&(N.name.kind===10||isGlobalScopeAugmentation(N))}E.isAmbientModule=isAmbientModule;function isModuleWithStringLiteralName(N){return E.isModuleDeclaration(N)&&N.name.kind===10}E.isModuleWithStringLiteralName=isModuleWithStringLiteralName;function isNonGlobalAmbientModule(N){return E.isModuleDeclaration(N)&&E.isStringLiteral(N.name)}E.isNonGlobalAmbientModule=isNonGlobalAmbientModule;function isEffectiveModuleDeclaration(N){return E.isModuleDeclaration(N)||E.isIdentifier(N)}E.isEffectiveModuleDeclaration=isEffectiveModuleDeclaration;function isShorthandAmbientModuleSymbol(E){return isShorthandAmbientModule(E.valueDeclaration)}E.isShorthandAmbientModuleSymbol=isShorthandAmbientModuleSymbol;function isShorthandAmbientModule(E){return!!E&&E.kind===259&&!E.body}function isBlockScopedContainerTopLevel(N){return N.kind===300||N.kind===259||E.isFunctionLikeOrClassStaticBlockDeclaration(N)}E.isBlockScopedContainerTopLevel=isBlockScopedContainerTopLevel;function isGlobalScopeAugmentation(E){return!!(E.flags&1024)}E.isGlobalScopeAugmentation=isGlobalScopeAugmentation;function isExternalModuleAugmentation(E){return isAmbientModule(E)&&isModuleAugmentationExternal(E)}E.isExternalModuleAugmentation=isExternalModuleAugmentation;function isModuleAugmentationExternal(N){switch(N.parent.kind){case 300:return E.isExternalModule(N.parent);case 260:return isAmbientModule(N.parent.parent)&&E.isSourceFile(N.parent.parent.parent)&&!E.isExternalModule(N.parent.parent.parent)}return false}E.isModuleAugmentationExternal=isModuleAugmentationExternal;function getNonAugmentationDeclaration(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find((function(N){return!isExternalModuleAugmentation(N)&&!(E.isModuleDeclaration(N)&&isGlobalScopeAugmentation(N))}))}E.getNonAugmentationDeclaration=getNonAugmentationDeclaration;function isEffectiveExternalModule(N,R){return E.isExternalModule(N)||R.isolatedModules||getEmitModuleKind(R)===E.ModuleKind.CommonJS&&!!N.commonJsModuleIndicator}E.isEffectiveExternalModule=isEffectiveExternalModule;function isEffectiveStrictModeSourceFile(N,R){switch(N.scriptKind){case 1:case 3:case 2:case 4:break;default:return false}if(N.isDeclarationFile){return false}if(getStrictOptionValue(R,"alwaysStrict")){return true}if(E.startsWithUseStrict(N.statements)){return true}if(E.isExternalModule(N)||R.isolatedModules){if(getEmitModuleKind(R)>=E.ModuleKind.ES2015){return true}return!R.noImplicitUseStrict}return false}E.isEffectiveStrictModeSourceFile=isEffectiveStrictModeSourceFile;function isBlockScope(N,R){switch(N.kind){case 300:case 261:case 290:case 259:case 240:case 241:case 242:case 169:case 167:case 170:case 171:case 254:case 211:case 212:case 165:case 168:return true;case 233:return!E.isFunctionLikeOrClassStaticBlockDeclaration(R)}return false}E.isBlockScope=isBlockScope;function isDeclarationWithTypeParameters(N){switch(N.kind){case 333:case 340:case 318:return true;default:E.assertType(N);return isDeclarationWithTypeParameterChildren(N)}}E.isDeclarationWithTypeParameters=isDeclarationWithTypeParameters;function isDeclarationWithTypeParameterChildren(N){switch(N.kind){case 172:case 173:case 166:case 174:case 177:case 178:case 312:case 255:case 224:case 256:case 257:case 339:case 254:case 167:case 169:case 170:case 171:case 211:case 212:return true;default:E.assertType(N);return false}}E.isDeclarationWithTypeParameterChildren=isDeclarationWithTypeParameterChildren;function isAnyImportSyntax(E){switch(E.kind){case 264:case 263:return true;default:return false}}E.isAnyImportSyntax=isAnyImportSyntax;function isLateVisibilityPaintedStatement(E){switch(E.kind){case 264:case 263:case 235:case 255:case 254:case 259:case 257:case 256:case 258:return true;default:return false}}E.isLateVisibilityPaintedStatement=isLateVisibilityPaintedStatement;function hasPossibleExternalModuleReference(N){return isAnyImportOrReExport(N)||E.isModuleDeclaration(N)||E.isImportTypeNode(N)||isImportCall(N)}E.hasPossibleExternalModuleReference=hasPossibleExternalModuleReference;function isAnyImportOrReExport(N){return isAnyImportSyntax(N)||E.isExportDeclaration(N)}E.isAnyImportOrReExport=isAnyImportOrReExport;function getEnclosingBlockScopeContainer(N){return E.findAncestor(N.parent,(function(E){return isBlockScope(E,E.parent)}))}E.getEnclosingBlockScopeContainer=getEnclosingBlockScopeContainer;function forEachEnclosingBlockScopeContainer(E,N){var R=getEnclosingBlockScopeContainer(E);while(R){N(R);R=getEnclosingBlockScopeContainer(R)}}E.forEachEnclosingBlockScopeContainer=forEachEnclosingBlockScopeContainer;function declarationNameToString(E){return!E||getFullWidth(E)===0?"(Missing)":getTextOfNode(E)}E.declarationNameToString=declarationNameToString;function getNameFromIndexInfo(E){return E.declaration?declarationNameToString(E.declaration.parameters[0].name):undefined}E.getNameFromIndexInfo=getNameFromIndexInfo;function isComputedNonLiteralName(E){return E.kind===160&&!isStringOrNumericLiteralLike(E.expression)}E.isComputedNonLiteralName=isComputedNonLiteralName;function getTextOfPropertyName(N){switch(N.kind){case 79:case 80:return N.escapedText;case 10:case 8:case 14:return E.escapeLeadingUnderscores(N.text);case 160:if(isStringOrNumericLiteralLike(N.expression))return E.escapeLeadingUnderscores(N.expression.text);return E.Debug.fail("Text of property name cannot be read from non-literal-valued ComputedPropertyNames");default:return E.Debug.assertNever(N)}}E.getTextOfPropertyName=getTextOfPropertyName;function entityNameToString(N){switch(N.kind){case 108:return"this";case 80:case 79:return getFullWidth(N)===0?E.idText(N):getTextOfNode(N);case 159:return entityNameToString(N.left)+"."+entityNameToString(N.right);case 204:if(E.isIdentifier(N.name)||E.isPrivateIdentifier(N.name)){return entityNameToString(N.expression)+"."+entityNameToString(N.name)}else{return E.Debug.assertNever(N.name)}case 306:return entityNameToString(N.left)+entityNameToString(N.right);default:return E.Debug.assertNever(N)}}E.entityNameToString=entityNameToString;function createDiagnosticForNode(E,N,R,j,$,q){var G=getSourceFileOfNode(E);return createDiagnosticForNodeInSourceFile(G,E,N,R,j,$,q)}E.createDiagnosticForNode=createDiagnosticForNode;function createDiagnosticForNodeArray(N,R,j,$,q,G,ie){var ae=E.skipTrivia(N.text,R.pos);return createFileDiagnostic(N,ae,R.end-ae,j,$,q,G,ie)}E.createDiagnosticForNodeArray=createDiagnosticForNodeArray;function createDiagnosticForNodeInSourceFile(E,N,R,j,$,q,G){var ie=getErrorSpanForNode(E,N);return createFileDiagnostic(E,ie.start,ie.length,R,j,$,q,G)}E.createDiagnosticForNodeInSourceFile=createDiagnosticForNodeInSourceFile;function createDiagnosticForNodeFromMessageChain(E,N,R){var j=getSourceFileOfNode(E);var $=getErrorSpanForNode(j,E);return createFileDiagnosticFromMessageChain(j,$.start,$.length,N,R)}E.createDiagnosticForNodeFromMessageChain=createDiagnosticForNodeFromMessageChain;function assertDiagnosticLocation(N,R,j){E.Debug.assertGreaterThanOrEqual(R,0);E.Debug.assertGreaterThanOrEqual(j,0);if(N){E.Debug.assertLessThanOrEqual(R,N.text.length);E.Debug.assertLessThanOrEqual(R+j,N.text.length)}}function createFileDiagnosticFromMessageChain(E,N,R,j,$){assertDiagnosticLocation(E,N,R);return{file:E,start:N,length:R,code:j.code,category:j.category,messageText:j.next?j:j.messageText,relatedInformation:$}}E.createFileDiagnosticFromMessageChain=createFileDiagnosticFromMessageChain;function createDiagnosticForFileFromMessageChain(E,N,R){return{file:E,start:0,length:0,code:N.code,category:N.category,messageText:N.next?N:N.messageText,relatedInformation:R}}E.createDiagnosticForFileFromMessageChain=createDiagnosticForFileFromMessageChain;function createDiagnosticForRange(E,N,R){return{file:E,start:N.pos,length:N.end-N.pos,code:R.code,category:R.category,messageText:R.message}}E.createDiagnosticForRange=createDiagnosticForRange;function getSpanOfTokenAtPosition(N,R){var j=E.createScanner(N.languageVersion,true,N.languageVariant,N.text,undefined,R);j.scan();var $=j.getTokenPos();return E.createTextSpanFromBounds($,j.getTextPos())}E.getSpanOfTokenAtPosition=getSpanOfTokenAtPosition;function getErrorSpanForArrowFunction(N,R){var j=E.skipTrivia(N.text,R.pos);if(R.body&&R.body.kind===233){var $=E.getLineAndCharacterOfPosition(N,R.body.pos).line;var q=E.getLineAndCharacterOfPosition(N,R.body.end).line;if($0?R.statements[0].pos:R.end;return E.createTextSpanFromBounds(q,G)}if(j===undefined){return getSpanOfTokenAtPosition(N,R.pos)}E.Debug.assert(!E.isJSDoc(j));var ie=nodeIsMissing(j);var ae=ie||E.isJsxText(R)?j.pos:E.skipTrivia(N.text,j.pos);if(ie){E.Debug.assert(ae===j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae===j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}else{E.Debug.assert(ae>=j.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809");E.Debug.assert(ae<=j.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")}return E.createTextSpanFromBounds(ae,j.end)}E.getErrorSpanForNode=getErrorSpanForNode;function isExternalOrCommonJsModule(E){return(E.externalModuleIndicator||E.commonJsModuleIndicator)!==undefined}E.isExternalOrCommonJsModule=isExternalOrCommonJsModule;function isJsonSourceFile(E){return E.scriptKind===6}E.isJsonSourceFile=isJsonSourceFile;function isEnumConst(N){return!!(E.getCombinedModifierFlags(N)&2048)}E.isEnumConst=isEnumConst;function isDeclarationReadonly(N){return!!(E.getCombinedModifierFlags(N)&64&&!E.isParameterPropertyDeclaration(N,N.parent))}E.isDeclarationReadonly=isDeclarationReadonly;function isVarConst(N){return!!(E.getCombinedNodeFlags(N)&2)}E.isVarConst=isVarConst;function isLet(N){return!!(E.getCombinedNodeFlags(N)&1)}E.isLet=isLet;function isSuperCall(E){return E.kind===206&&E.expression.kind===106}E.isSuperCall=isSuperCall;function isImportCall(E){return E.kind===206&&E.expression.kind===100}E.isImportCall=isImportCall;function isImportMeta(N){return E.isMetaProperty(N)&&N.keywordToken===100&&N.name.escapedText==="meta"}E.isImportMeta=isImportMeta;function isLiteralImportTypeNode(N){return E.isImportTypeNode(N)&&E.isLiteralTypeNode(N.argument)&&E.isStringLiteral(N.argument.literal)}E.isLiteralImportTypeNode=isLiteralImportTypeNode;function isPrologueDirective(E){return E.kind===236&&E.expression.kind===10}E.isPrologueDirective=isPrologueDirective;function isCustomPrologue(E){return!!(getEmitFlags(E)&1048576)}E.isCustomPrologue=isCustomPrologue;function isHoistedFunction(N){return isCustomPrologue(N)&&E.isFunctionDeclaration(N)}E.isHoistedFunction=isHoistedFunction;function isHoistedVariable(N){return E.isIdentifier(N.name)&&!N.initializer}function isHoistedVariableStatement(N){return isCustomPrologue(N)&&E.isVariableStatement(N)&&E.every(N.declarationList.declarations,isHoistedVariable)}E.isHoistedVariableStatement=isHoistedVariableStatement;function getLeadingCommentRangesOfNode(N,R){return N.kind!==11?E.getLeadingCommentRanges(R.text,N.pos):undefined}E.getLeadingCommentRangesOfNode=getLeadingCommentRangesOfNode;function getJSDocCommentRanges(N,R){var j=N.kind===162||N.kind===161||N.kind===211||N.kind===212||N.kind===210||N.kind===252?E.concatenate(E.getTrailingCommentRanges(R,N.pos),E.getLeadingCommentRanges(R,N.pos)):E.getLeadingCommentRanges(R,N.pos);return E.filter(j,(function(E){return R.charCodeAt(E.pos+1)===42&&R.charCodeAt(E.pos+2)===42&&R.charCodeAt(E.pos+3)!==47}))}E.getJSDocCommentRanges=getJSDocCommentRanges;E.fullTripleSlashReferencePathRegEx=/^(\/\/\/\s*/;var q=/^(\/\/\/\s*/;E.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*/;var G=/^(\/\/\/\s*/;function isPartOfTypeNode(N){if(175<=N.kind&&N.kind<=198){return true}switch(N.kind){case 129:case 153:case 145:case 156:case 148:case 132:case 149:case 146:case 151:case 142:return true;case 114:return N.parent.kind!==215;case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(N);case 161:return N.parent.kind===193||N.parent.kind===188;case 79:if(N.parent.kind===159&&N.parent.right===N){N=N.parent}else if(N.parent.kind===204&&N.parent.name===N){N=N.parent}E.Debug.assert(N.kind===79||N.kind===159||N.kind===204,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 159:case 204:case 108:{var R=N.parent;if(R.kind===179){return false}if(R.kind===198){return!R.isTypeOf}if(175<=R.kind&&R.kind<=198){return true}switch(R.kind){case 226:return!isExpressionWithTypeArgumentsInClassExtendsClause(R);case 161:return N===R.constraint;case 339:return N===R.constraint;case 165:case 164:case 162:case 252:return N===R.type;case 254:case 211:case 212:case 169:case 167:case 166:case 170:case 171:return N===R.type;case 172:case 173:case 174:return N===R.type;case 209:return N===R.type;case 206:case 207:return E.contains(R.typeArguments,N);case 208:return false}}}return false}E.isPartOfTypeNode=isPartOfTypeNode;function isChildOfNodeWithKind(E,N){while(E){if(E.kind===N){return true}E=E.parent}return false}E.isChildOfNodeWithKind=isChildOfNodeWithKind;function forEachReturnStatement(N,R){return traverse(N);function traverse(N){switch(N.kind){case 245:return R(N);case 261:case 233:case 237:case 238:case 239:case 240:case 241:case 242:case 246:case 247:case 287:case 288:case 248:case 250:case 290:return E.forEachChild(N,traverse)}}}E.forEachReturnStatement=forEachReturnStatement;function forEachYieldExpression(N,R){return traverse(N);function traverse(N){switch(N.kind){case 222:R(N);var j=N.expression;if(j){traverse(j)}return;case 258:case 256:case 259:case 257:return;default:if(E.isFunctionLike(N)){if(N.name&&N.name.kind===160){traverse(N.name.expression);return}}else if(!isPartOfTypeNode(N)){E.forEachChild(N,traverse)}}}}E.forEachYieldExpression=forEachYieldExpression;function getRestParameterElementType(N){if(N&&N.kind===181){return N.elementType}else if(N&&N.kind===176){return E.singleOrUndefined(N.typeArguments)}else{return undefined}}E.getRestParameterElementType=getRestParameterElementType;function getMembersOfDeclaration(E){switch(E.kind){case 256:case 255:case 224:case 180:return E.members;case 203:return E.properties}}E.getMembersOfDeclaration=getMembersOfDeclaration;function isVariableLike(E){if(E){switch(E.kind){case 201:case 294:case 162:case 291:case 165:case 164:case 292:case 252:return true}}return false}E.isVariableLike=isVariableLike;function isVariableLikeOrAccessor(N){return isVariableLike(N)||E.isAccessor(N)}E.isVariableLikeOrAccessor=isVariableLikeOrAccessor;function isVariableDeclarationInVariableStatement(E){return E.parent.kind===253&&E.parent.parent.kind===235}E.isVariableDeclarationInVariableStatement=isVariableDeclarationInVariableStatement;function isValidESSymbolDeclaration(N){return E.isVariableDeclaration(N)?isVarConst(N)&&E.isIdentifier(N.name)&&isVariableDeclarationInVariableStatement(N):E.isPropertyDeclaration(N)?hasEffectiveReadonlyModifier(N)&&hasStaticModifier(N):E.isPropertySignature(N)&&hasEffectiveReadonlyModifier(N)}E.isValidESSymbolDeclaration=isValidESSymbolDeclaration;function introducesArgumentsExoticObject(E){switch(E.kind){case 167:case 166:case 169:case 170:case 171:case 254:case 211:return true}return false}E.introducesArgumentsExoticObject=introducesArgumentsExoticObject;function unwrapInnermostStatementOfLabel(E,N){while(true){if(N){N(E)}if(E.statement.kind!==248){return E.statement}E=E.statement}}E.unwrapInnermostStatementOfLabel=unwrapInnermostStatementOfLabel;function isFunctionBlock(N){return N&&N.kind===233&&E.isFunctionLike(N.parent)}E.isFunctionBlock=isFunctionBlock;function isObjectLiteralMethod(E){return E&&E.kind===167&&E.parent.kind===203}E.isObjectLiteralMethod=isObjectLiteralMethod;function isObjectLiteralOrClassExpressionMethod(E){return E.kind===167&&(E.parent.kind===203||E.parent.kind===224)}E.isObjectLiteralOrClassExpressionMethod=isObjectLiteralOrClassExpressionMethod;function isIdentifierTypePredicate(E){return E&&E.kind===1}E.isIdentifierTypePredicate=isIdentifierTypePredicate;function isThisTypePredicate(E){return E&&E.kind===0}E.isThisTypePredicate=isThisTypePredicate;function getPropertyAssignment(E,N,R){return E.properties.filter((function(E){if(E.kind===291){var j=getTextOfPropertyName(E.name);return N===j||!!R&&R===j}return false}))}E.getPropertyAssignment=getPropertyAssignment;function getPropertyArrayElementValue(N,R,j){return E.firstDefined(getPropertyAssignment(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getPropertyArrayElementValue=getPropertyArrayElementValue;function getTsConfigObjectLiteralExpression(N){if(N&&N.statements.length){var R=N.statements[0].expression;return E.tryCast(R,E.isObjectLiteralExpression)}}E.getTsConfigObjectLiteralExpression=getTsConfigObjectLiteralExpression;function getTsConfigPropArrayElementValue(N,R,j){return E.firstDefined(getTsConfigPropArray(N,R),(function(N){return E.isArrayLiteralExpression(N.initializer)?E.find(N.initializer.elements,(function(N){return E.isStringLiteral(N)&&N.text===j})):undefined}))}E.getTsConfigPropArrayElementValue=getTsConfigPropArrayElementValue;function getTsConfigPropArray(N,R){var j=getTsConfigObjectLiteralExpression(N);return j?getPropertyAssignment(j,R):E.emptyArray}E.getTsConfigPropArray=getTsConfigPropArray;function getContainingFunction(N){return E.findAncestor(N.parent,E.isFunctionLike)}E.getContainingFunction=getContainingFunction;function getContainingFunctionDeclaration(N){return E.findAncestor(N.parent,E.isFunctionLikeDeclaration)}E.getContainingFunctionDeclaration=getContainingFunctionDeclaration;function getContainingClass(N){return E.findAncestor(N.parent,E.isClassLike)}E.getContainingClass=getContainingClass;function getContainingClassStaticBlock(N){return E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)||E.isFunctionLike(N)){return"quit"}return E.isClassStaticBlockDeclaration(N)}))}E.getContainingClassStaticBlock=getContainingClassStaticBlock;function getContainingFunctionOrClassStaticBlock(N){return E.findAncestor(N.parent,E.isFunctionLikeOrClassStaticBlockDeclaration)}E.getContainingFunctionOrClassStaticBlock=getContainingFunctionOrClassStaticBlock;function getThisContainer(N,R){E.Debug.assert(N.kind!==300);while(true){N=N.parent;if(!N){return E.Debug.fail()}switch(N.kind){case 160:if(E.isClassLike(N.parent.parent)){return N}N=N.parent;break;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break;case 212:if(!R){continue}case 254:case 211:case 259:case 168:case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 172:case 173:case 174:case 258:case 300:return N}}}E.getThisContainer=getThisContainer;function isInTopLevelContext(N){if(E.isIdentifier(N)&&(E.isClassDeclaration(N.parent)||E.isFunctionDeclaration(N.parent))&&N.parent.name===N){N=N.parent}var R=getThisContainer(N,true);return E.isSourceFile(R)}E.isInTopLevelContext=isInTopLevelContext;function getNewTargetContainer(E){var N=getThisContainer(E,false);if(N){switch(N.kind){case 169:case 254:case 211:return N}}return undefined}E.getNewTargetContainer=getNewTargetContainer;function getSuperContainer(N,R){while(true){N=N.parent;if(!N){return N}switch(N.kind){case 160:N=N.parent;break;case 254:case 211:case 212:if(!R){continue}case 165:case 164:case 167:case 166:case 169:case 170:case 171:case 168:return N;case 163:if(N.parent.kind===162&&E.isClassElement(N.parent.parent)){N=N.parent.parent}else if(E.isClassElement(N.parent)){N=N.parent}break}}}E.getSuperContainer=getSuperContainer;function getImmediatelyInvokedFunctionExpression(E){if(E.kind===211||E.kind===212){var N=E;var R=E.parent;while(R.kind===210){N=R;R=R.parent}if(R.kind===206&&R.expression===N){return R}}}E.getImmediatelyInvokedFunctionExpression=getImmediatelyInvokedFunctionExpression;function isSuperOrSuperProperty(E){return E.kind===106||isSuperProperty(E)}E.isSuperOrSuperProperty=isSuperOrSuperProperty;function isSuperProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===106}E.isSuperProperty=isSuperProperty;function isThisProperty(E){var N=E.kind;return(N===204||N===205)&&E.expression.kind===108}E.isThisProperty=isThisProperty;function isThisInitializedDeclaration(N){var R;return!!N&&E.isVariableDeclaration(N)&&((R=N.initializer)===null||R===void 0?void 0:R.kind)===108}E.isThisInitializedDeclaration=isThisInitializedDeclaration;function isThisInitializedObjectBindingExpression(N){return!!N&&(E.isShorthandPropertyAssignment(N)||E.isPropertyAssignment(N))&&E.isBinaryExpression(N.parent.parent)&&N.parent.parent.operatorToken.kind===63&&N.parent.parent.right.kind===108}E.isThisInitializedObjectBindingExpression=isThisInitializedObjectBindingExpression;function getEntityNameFromTypeNode(E){switch(E.kind){case 176:return E.typeName;case 226:return isEntityNameExpression(E.expression)?E.expression:undefined;case 79:case 159:return E}return undefined}E.getEntityNameFromTypeNode=getEntityNameFromTypeNode;function getInvokedExpression(E){switch(E.kind){case 208:return E.tag;case 278:case 277:return E.tagName;default:return E.expression}}E.getInvokedExpression=getInvokedExpression;function nodeCanBeDecorated(N,R,j){if(E.isNamedDeclaration(N)&&E.isPrivateIdentifier(N.name)){return false}switch(N.kind){case 255:return true;case 165:return R.kind===255;case 170:case 171:case 167:return N.body!==undefined&&R.kind===255;case 162:return R.body!==undefined&&(R.kind===169||R.kind===167||R.kind===171)&&j.kind===255}return false}E.nodeCanBeDecorated=nodeCanBeDecorated;function nodeIsDecorated(E,N,R){return E.decorators!==undefined&&nodeCanBeDecorated(E,N,R)}E.nodeIsDecorated=nodeIsDecorated;function nodeOrChildIsDecorated(E,N,R){return nodeIsDecorated(E,N,R)||childIsDecorated(E,N)}E.nodeOrChildIsDecorated=nodeOrChildIsDecorated;function childIsDecorated(N,R){switch(N.kind){case 255:return E.some(N.members,(function(E){return nodeOrChildIsDecorated(E,N,R)}));case 167:case 171:case 169:return E.some(N.parameters,(function(E){return nodeIsDecorated(E,N,R)}));default:return false}}E.childIsDecorated=childIsDecorated;function classOrConstructorParameterIsDecorated(E){if(nodeIsDecorated(E))return true;var N=getFirstConstructorWithBody(E);return!!N&&childIsDecorated(N,E)}E.classOrConstructorParameterIsDecorated=classOrConstructorParameterIsDecorated;function isJSXTagName(E){var N=E.parent;if(N.kind===278||N.kind===277||N.kind===279){return N.tagName===E}return false}E.isJSXTagName=isJSXTagName;function isExpressionNode(N){switch(N.kind){case 106:case 104:case 110:case 95:case 13:case 202:case 203:case 204:case 205:case 206:case 207:case 208:case 227:case 209:case 228:case 210:case 211:case 224:case 212:case 215:case 213:case 214:case 217:case 218:case 219:case 220:case 223:case 221:case 225:case 276:case 277:case 280:case 222:case 216:case 229:return true;case 159:while(N.parent.kind===159){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 306:while(E.isJSDocMemberName(N.parent)){N=N.parent}return N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N);case 79:if(N.parent.kind===179||E.isJSDocLinkLike(N.parent)||E.isJSDocNameReference(N.parent)||E.isJSDocMemberName(N.parent)||isJSXTagName(N)){return true}case 8:case 9:case 10:case 14:case 108:return isInExpressionContext(N);default:return false}}E.isExpressionNode=isExpressionNode;function isInExpressionContext(E){var N=E.parent;switch(N.kind){case 252:case 162:case 165:case 164:case 294:case 291:case 201:return N.initializer===E;case 236:case 237:case 238:case 239:case 245:case 246:case 247:case 287:case 249:return N.expression===E;case 240:var R=N;return R.initializer===E&&R.initializer.kind!==253||R.condition===E||R.incrementor===E;case 241:case 242:var j=N;return j.initializer===E&&j.initializer.kind!==253||j.expression===E;case 209:case 227:return E===N.expression;case 231:return E===N.expression;case 160:return E===N.expression;case 163:case 286:case 285:case 293:return true;case 226:return N.expression===E&&isExpressionWithTypeArgumentsInClassExtendsClause(N);case 292:return N.objectAssignmentInitializer===E;default:return isExpressionNode(N)}}E.isInExpressionContext=isInExpressionContext;function isPartOfTypeQuery(E){while(E.kind===159||E.kind===79){E=E.parent}return E.kind===179}E.isPartOfTypeQuery=isPartOfTypeQuery;function isNamespaceReexportDeclaration(N){return E.isNamespaceExport(N)&&!!N.parent.moduleSpecifier}E.isNamespaceReexportDeclaration=isNamespaceReexportDeclaration;function isExternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind===275}E.isExternalModuleImportEqualsDeclaration=isExternalModuleImportEqualsDeclaration;function getExternalModuleImportEqualsDeclarationExpression(N){E.Debug.assert(isExternalModuleImportEqualsDeclaration(N));return N.moduleReference.expression}E.getExternalModuleImportEqualsDeclarationExpression=getExternalModuleImportEqualsDeclarationExpression;function getExternalModuleRequireArgument(E){return isRequireVariableDeclaration(E)&&getLeftmostAccessExpression(E.initializer).arguments[0]}E.getExternalModuleRequireArgument=getExternalModuleRequireArgument;function isInternalModuleImportEqualsDeclaration(E){return E.kind===263&&E.moduleReference.kind!==275}E.isInternalModuleImportEqualsDeclaration=isInternalModuleImportEqualsDeclaration;function isSourceFileJS(E){return isInJSFile(E)}E.isSourceFileJS=isSourceFileJS;function isSourceFileNotJS(E){return!isInJSFile(E)}E.isSourceFileNotJS=isSourceFileNotJS;function isInJSFile(E){return!!E&&!!(E.flags&131072)}E.isInJSFile=isInJSFile;function isInJsonFile(E){return!!E&&!!(E.flags&33554432)}E.isInJsonFile=isInJsonFile;function isSourceFileNotJson(E){return!isJsonSourceFile(E)}E.isSourceFileNotJson=isSourceFileNotJson;function isInJSDoc(E){return!!E&&!!(E.flags&4194304)}E.isInJSDoc=isInJSDoc;function isJSDocIndexSignature(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&N.typeArguments&&N.typeArguments.length===2&&(N.typeArguments[0].kind===148||N.typeArguments[0].kind===145)}E.isJSDocIndexSignature=isJSDocIndexSignature;function isRequireCall(N,R){if(N.kind!==206){return false}var j=N,$=j.expression,q=j.arguments;if($.kind!==79||$.escapedText!=="require"){return false}if(q.length!==1){return false}var G=q[0];return!R||E.isStringLiteralLike(G)}E.isRequireCall=isRequireCall;function isRequireVariableDeclaration(N){if(N.kind===201){N=N.parent.parent}return E.isVariableDeclaration(N)&&!!N.initializer&&isRequireCall(getLeftmostAccessExpression(N.initializer),true)}E.isRequireVariableDeclaration=isRequireVariableDeclaration;function isRequireVariableStatement(N){return E.isVariableStatement(N)&&N.declarationList.declarations.length>0&&E.every(N.declarationList.declarations,(function(E){return isRequireVariableDeclaration(E)}))}E.isRequireVariableStatement=isRequireVariableStatement;function isSingleOrDoubleQuote(E){return E===39||E===34}E.isSingleOrDoubleQuote=isSingleOrDoubleQuote;function isStringDoubleQuoted(E,N){return getSourceTextOfNodeFromSourceFile(N,E).charCodeAt(0)===34}E.isStringDoubleQuoted=isStringDoubleQuoted;function isAssignmentDeclaration(N){return E.isBinaryExpression(N)||isAccessExpression(N)||E.isIdentifier(N)||E.isCallExpression(N)}E.isAssignmentDeclaration=isAssignmentDeclaration;function getEffectiveInitializer(N){if(isInJSFile(N)&&N.initializer&&E.isBinaryExpression(N.initializer)&&(N.initializer.operatorToken.kind===56||N.initializer.operatorToken.kind===60)&&N.name&&isEntityNameExpression(N.name)&&isSameEntityName(N.name,N.initializer.left)){return N.initializer.right}return N.initializer}E.getEffectiveInitializer=getEffectiveInitializer;function getDeclaredExpandoInitializer(E){var N=getEffectiveInitializer(E);return N&&getExpandoInitializer(N,isPrototypeAccess(E.name))}E.getDeclaredExpandoInitializer=getDeclaredExpandoInitializer;function hasExpandoValueProperty(N,R){return E.forEach(N.properties,(function(N){return E.isPropertyAssignment(N)&&E.isIdentifier(N.name)&&N.name.escapedText==="value"&&N.initializer&&getExpandoInitializer(N.initializer,R)}))}function getAssignedExpandoInitializer(N){if(N&&N.parent&&E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63){var R=isPrototypeAccess(N.parent.left);return getExpandoInitializer(N.parent.right,R)||getDefaultedExpandoInitializer(N.parent.left,N.parent.right,R)}if(N&&E.isCallExpression(N)&&isBindableObjectDefinePropertyCall(N)){var j=hasExpandoValueProperty(N.arguments[2],N.arguments[1].text==="prototype");if(j){return j}}}E.getAssignedExpandoInitializer=getAssignedExpandoInitializer;function getExpandoInitializer(N,R){if(E.isCallExpression(N)){var j=skipParentheses(N.expression);return j.kind===211||j.kind===212?N:undefined}if(N.kind===211||N.kind===224||N.kind===212){return N}if(E.isObjectLiteralExpression(N)&&(N.properties.length===0||R)){return N}}E.getExpandoInitializer=getExpandoInitializer;function getDefaultedExpandoInitializer(N,R,j){var $=E.isBinaryExpression(R)&&(R.operatorToken.kind===56||R.operatorToken.kind===60)&&getExpandoInitializer(R.right,j);if($&&isSameEntityName(N,R.left)){return $}}function isDefaultedExpandoInitializer(N){var R=E.isVariableDeclaration(N.parent)?N.parent.name:E.isBinaryExpression(N.parent)&&N.parent.operatorToken.kind===63?N.parent.left:undefined;return R&&getExpandoInitializer(N.right,isPrototypeAccess(R))&&isEntityNameExpression(R)&&isSameEntityName(R,N.left)}E.isDefaultedExpandoInitializer=isDefaultedExpandoInitializer;function getNameOfExpando(N){if(E.isBinaryExpression(N.parent)){var R=(N.parent.operatorToken.kind===56||N.parent.operatorToken.kind===60)&&E.isBinaryExpression(N.parent.parent)?N.parent.parent:N.parent;if(R.operatorToken.kind===63&&E.isIdentifier(R.left)){return R.left}}else if(E.isVariableDeclaration(N.parent)){return N.parent.name}}E.getNameOfExpando=getNameOfExpando;function isSameEntityName(N,R){if(isPropertyNameLiteral(N)&&isPropertyNameLiteral(R)){return getTextOfIdentifierOrLiteral(N)===getTextOfIdentifierOrLiteral(R)}if(E.isIdentifier(N)&&isLiteralLikeAccess(R)&&(R.expression.kind===108||E.isIdentifier(R.expression)&&(R.expression.escapedText==="window"||R.expression.escapedText==="self"||R.expression.escapedText==="global"))){var j=getNameOrArgument(R);if(E.isPrivateIdentifier(j)){E.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access.")}return isSameEntityName(N,j)}if(isLiteralLikeAccess(N)&&isLiteralLikeAccess(R)){return getElementOrPropertyAccessName(N)===getElementOrPropertyAccessName(R)&&isSameEntityName(N.expression,R.expression)}return false}E.isSameEntityName=isSameEntityName;function getRightMostAssignedExpression(E){while(isAssignmentExpression(E,true)){E=E.right}return E}E.getRightMostAssignedExpression=getRightMostAssignedExpression;function isExportsIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="exports"}E.isExportsIdentifier=isExportsIdentifier;function isModuleIdentifier(N){return E.isIdentifier(N)&&N.escapedText==="module"}E.isModuleIdentifier=isModuleIdentifier;function isModuleExportsAccessExpression(N){return(E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N))&&isModuleIdentifier(N.expression)&&getElementOrPropertyAccessName(N)==="exports"}E.isModuleExportsAccessExpression=isModuleExportsAccessExpression;function getAssignmentDeclarationKind(E){var N=getAssignmentDeclarationKindWorker(E);return N===5||isInJSFile(E)?N:0}E.getAssignmentDeclarationKind=getAssignmentDeclarationKind;function isBindableObjectDefinePropertyCall(N){return E.length(N.arguments)===3&&E.isPropertyAccessExpression(N.expression)&&E.isIdentifier(N.expression.expression)&&E.idText(N.expression.expression)==="Object"&&E.idText(N.expression.name)==="defineProperty"&&isStringOrNumericLiteralLike(N.arguments[1])&&isBindableStaticNameExpression(N.arguments[0],true)}E.isBindableObjectDefinePropertyCall=isBindableObjectDefinePropertyCall;function isLiteralLikeAccess(N){return E.isPropertyAccessExpression(N)||isLiteralLikeElementAccess(N)}E.isLiteralLikeAccess=isLiteralLikeAccess;function isLiteralLikeElementAccess(N){return E.isElementAccessExpression(N)&&isStringOrNumericLiteralLike(N.argumentExpression)}E.isLiteralLikeElementAccess=isLiteralLikeElementAccess;function isBindableStaticAccessExpression(N,R){return E.isPropertyAccessExpression(N)&&(!R&&N.expression.kind===108||E.isIdentifier(N.name)&&isBindableStaticNameExpression(N.expression,true))||isBindableStaticElementAccessExpression(N,R)}E.isBindableStaticAccessExpression=isBindableStaticAccessExpression;function isBindableStaticElementAccessExpression(E,N){return isLiteralLikeElementAccess(E)&&(!N&&E.expression.kind===108||isEntityNameExpression(E.expression)||isBindableStaticAccessExpression(E.expression,true))}E.isBindableStaticElementAccessExpression=isBindableStaticElementAccessExpression;function isBindableStaticNameExpression(E,N){return isEntityNameExpression(E)||isBindableStaticAccessExpression(E,N)}E.isBindableStaticNameExpression=isBindableStaticNameExpression;function getNameOrArgument(N){if(E.isPropertyAccessExpression(N)){return N.name}return N.argumentExpression}E.getNameOrArgument=getNameOrArgument;function getAssignmentDeclarationKindWorker(N){if(E.isCallExpression(N)){if(!isBindableObjectDefinePropertyCall(N)){return 0}var R=N.arguments[0];if(isExportsIdentifier(R)||isModuleExportsAccessExpression(R)){return 8}if(isBindableStaticAccessExpression(R)&&getElementOrPropertyAccessName(R)==="prototype"){return 9}return 7}if(N.operatorToken.kind!==63||!isAccessExpression(N.left)||isVoidZero(getRightMostAssignedExpression(N))){return 0}if(isBindableStaticNameExpression(N.left.expression,true)&&getElementOrPropertyAccessName(N.left)==="prototype"&&E.isObjectLiteralExpression(getInitializerOfBinaryExpression(N))){return 6}return getAssignmentDeclarationPropertyAccessKind(N.left)}function isVoidZero(N){return E.isVoidExpression(N)&&E.isNumericLiteral(N.expression)&&N.expression.text==="0"}function getElementOrPropertyAccessArgumentExpressionOrName(N){if(E.isPropertyAccessExpression(N)){return N.name}var R=skipParentheses(N.argumentExpression);if(E.isNumericLiteral(R)||E.isStringLiteralLike(R)){return R}return N}E.getElementOrPropertyAccessArgumentExpressionOrName=getElementOrPropertyAccessArgumentExpressionOrName;function getElementOrPropertyAccessName(N){var R=getElementOrPropertyAccessArgumentExpressionOrName(N);if(R){if(E.isIdentifier(R)){return R.escapedText}if(E.isStringLiteralLike(R)||E.isNumericLiteral(R)){return E.escapeLeadingUnderscores(R.text)}}return undefined}E.getElementOrPropertyAccessName=getElementOrPropertyAccessName;function getAssignmentDeclarationPropertyAccessKind(N){if(N.expression.kind===108){return 4}else if(isModuleExportsAccessExpression(N)){return 2}else if(isBindableStaticNameExpression(N.expression,true)){if(isPrototypeAccess(N.expression)){return 3}var R=N;while(!E.isIdentifier(R.expression)){R=R.expression}var j=R.expression;if((j.escapedText==="exports"||j.escapedText==="module"&&getElementOrPropertyAccessName(R)==="exports")&&isBindableStaticAccessExpression(N)){return 1}if(isBindableStaticNameExpression(N,true)||E.isElementAccessExpression(N)&&isDynamicName(N)){return 5}}return 0}E.getAssignmentDeclarationPropertyAccessKind=getAssignmentDeclarationPropertyAccessKind;function getInitializerOfBinaryExpression(N){while(E.isBinaryExpression(N.right)){N=N.right}return N.right}E.getInitializerOfBinaryExpression=getInitializerOfBinaryExpression;function isPrototypePropertyAssignment(N){return E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===3}E.isPrototypePropertyAssignment=isPrototypePropertyAssignment;function isSpecialPropertyDeclaration(N){return isInJSFile(N)&&N.parent&&N.parent.kind===236&&(!E.isElementAccessExpression(N)||isLiteralLikeElementAccess(N))&&!!E.getJSDocTypeTag(N.parent)}E.isSpecialPropertyDeclaration=isSpecialPropertyDeclaration;function setValueDeclaration(E,N){var R=E.valueDeclaration;if(!R||!(N.flags&8388608&&!(R.flags&8388608))&&(isAssignmentDeclaration(R)&&!isAssignmentDeclaration(N))||R.kind!==N.kind&&isEffectiveModuleDeclaration(R)){E.valueDeclaration=N}}E.setValueDeclaration=setValueDeclaration;function isFunctionSymbol(N){if(!N||!N.valueDeclaration){return false}var R=N.valueDeclaration;return R.kind===254||E.isVariableDeclaration(R)&&R.initializer&&E.isFunctionLike(R.initializer)}E.isFunctionSymbol=isFunctionSymbol;function tryGetModuleSpecifierFromDeclaration(N){var R,j,$;switch(N.kind){case 252:return N.initializer.arguments[0].text;case 264:return(R=E.tryCast(N.moduleSpecifier,E.isStringLiteralLike))===null||R===void 0?void 0:R.text;case 263:return($=E.tryCast((j=E.tryCast(N.moduleReference,E.isExternalModuleReference))===null||j===void 0?void 0:j.expression,E.isStringLiteralLike))===null||$===void 0?void 0:$.text;default:E.Debug.assertNever(N)}}E.tryGetModuleSpecifierFromDeclaration=tryGetModuleSpecifierFromDeclaration;function importFromModuleSpecifier(N){return tryGetImportFromModuleSpecifier(N)||E.Debug.failBadSyntaxKind(N.parent)}E.importFromModuleSpecifier=importFromModuleSpecifier;function tryGetImportFromModuleSpecifier(N){switch(N.parent.kind){case 264:case 270:return N.parent;case 275:return N.parent.parent;case 206:return isImportCall(N.parent)||isRequireCall(N.parent,false)?N.parent:undefined;case 194:E.Debug.assert(E.isStringLiteral(N));return E.tryCast(N.parent.parent,E.isImportTypeNode);default:return undefined}}E.tryGetImportFromModuleSpecifier=tryGetImportFromModuleSpecifier;function getExternalModuleName(N){switch(N.kind){case 264:case 270:return N.moduleSpecifier;case 263:return N.moduleReference.kind===275?N.moduleReference.expression:undefined;case 198:return isLiteralImportTypeNode(N)?N.argument.literal:undefined;case 206:return N.arguments[0];case 259:return N.name.kind===10?N.name:undefined;default:return E.Debug.assertNever(N)}}E.getExternalModuleName=getExternalModuleName;function getNamespaceDeclarationNode(N){switch(N.kind){case 264:return N.importClause&&E.tryCast(N.importClause.namedBindings,E.isNamespaceImport);case 263:return N;case 270:return N.exportClause&&E.tryCast(N.exportClause,E.isNamespaceExport);default:return E.Debug.assertNever(N)}}E.getNamespaceDeclarationNode=getNamespaceDeclarationNode;function isDefaultImport(E){return E.kind===264&&!!E.importClause&&!!E.importClause.name}E.isDefaultImport=isDefaultImport;function forEachImportClauseDeclaration(N,R){if(N.name){var j=R(N);if(j)return j}if(N.namedBindings){var j=E.isNamespaceImport(N.namedBindings)?R(N.namedBindings):E.forEach(N.namedBindings.elements,R);if(j)return j}}E.forEachImportClauseDeclaration=forEachImportClauseDeclaration;function hasQuestionToken(E){if(E){switch(E.kind){case 162:case 167:case 166:case 292:case 291:case 165:case 164:return E.questionToken!==undefined}}return false}E.hasQuestionToken=hasQuestionToken;function isJSDocConstructSignature(N){var R=E.isJSDocFunctionType(N)?E.firstOrUndefined(N.parameters):undefined;var j=E.tryCast(R&&R.name,E.isIdentifier);return!!j&&j.escapedText==="new"}E.isJSDocConstructSignature=isJSDocConstructSignature;function isJSDocTypeAlias(E){return E.kind===340||E.kind===333||E.kind===334}E.isJSDocTypeAlias=isJSDocTypeAlias;function isTypeAlias(N){return isJSDocTypeAlias(N)||E.isTypeAliasDeclaration(N)}E.isTypeAlias=isTypeAlias;function getSourceOfAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&N.expression.operatorToken.kind===63?getRightMostAssignedExpression(N.expression):undefined}function getSourceOfDefaultedAssignment(N){return E.isExpressionStatement(N)&&E.isBinaryExpression(N.expression)&&getAssignmentDeclarationKind(N.expression)!==0&&E.isBinaryExpression(N.expression.right)&&(N.expression.right.operatorToken.kind===56||N.expression.right.operatorToken.kind===60)?N.expression.right.right:undefined}function getSingleInitializerOfVariableStatementOrPropertyDeclaration(E){switch(E.kind){case 235:var N=getSingleVariableOfVariableStatement(E);return N&&N.initializer;case 165:return E.initializer;case 291:return E.initializer}}E.getSingleInitializerOfVariableStatementOrPropertyDeclaration=getSingleInitializerOfVariableStatementOrPropertyDeclaration;function getSingleVariableOfVariableStatement(N){return E.isVariableStatement(N)?E.firstOrUndefined(N.declarationList.declarations):undefined}E.getSingleVariableOfVariableStatement=getSingleVariableOfVariableStatement;function getNestedModuleDeclaration(N){return E.isModuleDeclaration(N)&&N.body&&N.body.kind===259?N.body:undefined}function getJSDocCommentsAndTags(N,R){var j;if(isVariableLike(N)&&E.hasInitializer(N)&&E.hasJSDocNodes(N.initializer)){j=E.append(j,E.last(N.initializer.jsDoc))}var $=N;while($&&$.parent){if(E.hasJSDocNodes($)){j=E.append(j,E.last($.jsDoc))}if($.kind===162){j=E.addRange(j,(R?E.getJSDocParameterTagsNoCache:E.getJSDocParameterTags)($));break}if($.kind===161){j=E.addRange(j,(R?E.getJSDocTypeParameterTagsNoCache:E.getJSDocTypeParameterTags)($));break}$=getNextJSDocCommentLocation($)}return j||E.emptyArray}E.getJSDocCommentsAndTags=getJSDocCommentsAndTags;function getNextJSDocCommentLocation(N){var R=N.parent;if(R.kind===291||R.kind===269||R.kind===165||R.kind===236&&N.kind===204||R.kind===245||getNestedModuleDeclaration(R)||E.isBinaryExpression(N)&&N.operatorToken.kind===63){return R}else if(R.parent&&(getSingleVariableOfVariableStatement(R.parent)===N||E.isBinaryExpression(R)&&R.operatorToken.kind===63)){return R.parent}else if(R.parent&&R.parent.parent&&(getSingleVariableOfVariableStatement(R.parent.parent)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(R.parent.parent)===N||getSourceOfDefaultedAssignment(R.parent.parent))){return R.parent.parent}}E.getNextJSDocCommentLocation=getNextJSDocCommentLocation;function getParameterSymbolFromJSDoc(N){if(N.symbol){return N.symbol}if(!E.isIdentifier(N.name)){return undefined}var R=N.name.escapedText;var j=getHostSignatureFromJSDoc(N);if(!j){return undefined}var $=E.find(j.parameters,(function(E){return E.name.kind===79&&E.name.escapedText===R}));return $&&$.symbol}E.getParameterSymbolFromJSDoc=getParameterSymbolFromJSDoc;function getHostSignatureFromJSDoc(N){var R=getEffectiveJSDocHost(N);return R&&E.isFunctionLike(R)?R:undefined}E.getHostSignatureFromJSDoc=getHostSignatureFromJSDoc;function getEffectiveJSDocHost(E){var N=getJSDocHost(E);if(N){return getSourceOfDefaultedAssignment(N)||getSourceOfAssignment(N)||getSingleInitializerOfVariableStatementOrPropertyDeclaration(N)||getSingleVariableOfVariableStatement(N)||getNestedModuleDeclaration(N)||N}}E.getEffectiveJSDocHost=getEffectiveJSDocHost;function getJSDocHost(N){var R=getJSDocRoot(N);if(!R){return undefined}var j=R.parent;if(j&&j.jsDoc&&R===E.lastOrUndefined(j.jsDoc)){return j}}E.getJSDocHost=getJSDocHost;function getJSDocRoot(N){return E.findAncestor(N.parent,E.isJSDoc)}E.getJSDocRoot=getJSDocRoot;function getTypeParameterFromJsDoc(N){var R=N.name.escapedText;var j=N.parent.parent.parent.typeParameters;return j&&E.find(j,(function(E){return E.name.escapedText===R}))}E.getTypeParameterFromJsDoc=getTypeParameterFromJsDoc;function hasRestParameter(N){var R=E.lastOrUndefined(N.parameters);return!!R&&isRestParameter(R)}E.hasRestParameter=hasRestParameter;function isRestParameter(N){var R=E.isJSDocParameterTag(N)?N.typeExpression&&N.typeExpression.type:N.type;return N.dotDotDotToken!==undefined||!!R&&R.kind===313}E.isRestParameter=isRestParameter;function hasTypeArguments(E){return!!E.typeArguments}E.hasTypeArguments=hasTypeArguments;var ie;(function(E){E[E["None"]=0]="None";E[E["Definite"]=1]="Definite";E[E["Compound"]=2]="Compound"})(ie=E.AssignmentKind||(E.AssignmentKind={}));function getAssignmentTargetKind(E){var N=E.parent;while(true){switch(N.kind){case 219:var R=N.operatorToken.kind;return isAssignmentOperator(R)&&N.left===E?R===63||isLogicalOrCoalescingAssignmentOperator(R)?1:2:0;case 217:case 218:var j=N.operator;return j===45||j===46?2:0;case 241:case 242:return N.initializer===E?1:0;case 210:case 202:case 223:case 228:E=N;break;case 293:E=N.parent;break;case 292:if(N.name!==E){return 0}E=N.parent;break;case 291:if(N.name===E){return 0}E=N.parent;break;default:return 0}N=E.parent}}E.getAssignmentTargetKind=getAssignmentTargetKind;function isAssignmentTarget(E){return getAssignmentTargetKind(E)!==0}E.isAssignmentTarget=isAssignmentTarget;function isNodeWithPossibleHoistedDeclaration(E){switch(E.kind){case 233:case 235:case 246:case 237:case 247:case 261:case 287:case 288:case 248:case 240:case 241:case 242:case 238:case 239:case 250:case 290:return true}return false}E.isNodeWithPossibleHoistedDeclaration=isNodeWithPossibleHoistedDeclaration;function isValueSignatureDeclaration(N){return E.isFunctionExpression(N)||E.isArrowFunction(N)||E.isMethodOrAccessor(N)||E.isFunctionDeclaration(N)||E.isConstructorDeclaration(N)}E.isValueSignatureDeclaration=isValueSignatureDeclaration;function walkUp(E,N){while(E&&E.kind===N){E=E.parent}return E}function walkUpParenthesizedTypes(E){return walkUp(E,189)}E.walkUpParenthesizedTypes=walkUpParenthesizedTypes;function walkUpParenthesizedExpressions(E){return walkUp(E,210)}E.walkUpParenthesizedExpressions=walkUpParenthesizedExpressions;function walkUpParenthesizedTypesAndGetParentAndChild(E){var N;while(E&&E.kind===189){N=E;E=E.parent}return[N,E]}E.walkUpParenthesizedTypesAndGetParentAndChild=walkUpParenthesizedTypesAndGetParentAndChild;function skipParentheses(N){return E.skipOuterExpressions(N,1)}E.skipParentheses=skipParentheses;function isDeleteTarget(E){if(E.kind!==204&&E.kind!==205){return false}E=walkUpParenthesizedExpressions(E.parent);return E&&E.kind===213}E.isDeleteTarget=isDeleteTarget;function isNodeDescendantOf(E,N){while(E){if(E===N)return true;E=E.parent}return false}E.isNodeDescendantOf=isNodeDescendantOf;function isDeclarationName(N){return!E.isSourceFile(N)&&!E.isBindingPattern(N)&&E.isDeclaration(N.parent)&&N.parent.name===N}E.isDeclarationName=isDeclarationName;function getDeclarationFromName(N){var R=N.parent;switch(N.kind){case 10:case 14:case 8:if(E.isComputedPropertyName(R))return R.parent;case 79:if(E.isDeclaration(R)){return R.name===N?R:undefined}else if(E.isQualifiedName(R)){var j=R.parent;return E.isJSDocParameterTag(j)&&j.name===R?j:undefined}else{var $=R.parent;return E.isBinaryExpression($)&&getAssignmentDeclarationKind($)!==0&&($.left.symbol||$.symbol)&&E.getNameOfDeclaration($)===N?$:undefined}case 80:return E.isDeclaration(R)&&R.name===N?R:undefined;default:return undefined}}E.getDeclarationFromName=getDeclarationFromName;function isLiteralComputedPropertyDeclarationName(N){return isStringOrNumericLiteralLike(N)&&N.parent.kind===160&&E.isDeclaration(N.parent.parent)}E.isLiteralComputedPropertyDeclarationName=isLiteralComputedPropertyDeclarationName;function isIdentifierName(E){var N=E.parent;switch(N.kind){case 165:case 164:case 167:case 166:case 170:case 171:case 294:case 291:case 204:return N.name===E;case 159:return N.right===E;case 201:case 268:return N.propertyName===E;case 273:case 283:return true}return false}E.isIdentifierName=isIdentifierName;function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&getAssignmentDeclarationKind(N)===2&&exportAssignmentIsAlias(N)||E.isPropertyAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableExpression(N.initializer)}E.isAliasSymbolDeclaration=isAliasSymbolDeclaration;function getAliasDeclarationFromName(E){switch(E.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return E.parent;case 159:do{E=E.parent}while(E.parent.kind===159);return getAliasDeclarationFromName(E)}}E.getAliasDeclarationFromName=getAliasDeclarationFromName;function isAliasableExpression(N){return isEntityNameExpression(N)||E.isClassExpression(N)}E.isAliasableExpression=isAliasableExpression;function exportAssignmentIsAlias(E){var N=getExportAssignmentExpression(E);return isAliasableExpression(N)}E.exportAssignmentIsAlias=exportAssignmentIsAlias;function getExportAssignmentExpression(N){return E.isExportAssignment(N)?N.expression:N.right}E.getExportAssignmentExpression=getExportAssignmentExpression;function getPropertyAssignmentAliasLikeExpression(E){return E.kind===292?E.name:E.kind===291?E.initializer:E.parent.right}E.getPropertyAssignmentAliasLikeExpression=getPropertyAssignmentAliasLikeExpression;function getEffectiveBaseTypeNode(N){var R=getClassExtendsHeritageElement(N);if(R&&isInJSFile(N)){var j=E.getJSDocAugmentsTag(N);if(j){return j.class}}return R}E.getEffectiveBaseTypeNode=getEffectiveBaseTypeNode;function getClassExtendsHeritageElement(E){var N=getHeritageClause(E.heritageClauses,94);return N&&N.types.length>0?N.types[0]:undefined}E.getClassExtendsHeritageElement=getClassExtendsHeritageElement;function getEffectiveImplementsTypeNodes(N){if(isInJSFile(N)){return E.getJSDocImplementsTags(N).map((function(E){return E.class}))}else{var R=getHeritageClause(N.heritageClauses,117);return R===null||R===void 0?void 0:R.types}}E.getEffectiveImplementsTypeNodes=getEffectiveImplementsTypeNodes;function getAllSuperTypeNodes(N){return E.isInterfaceDeclaration(N)?getInterfaceBaseTypeNodes(N)||E.emptyArray:E.isClassLike(N)?E.concatenate(E.singleElementArray(getEffectiveBaseTypeNode(N)),getEffectiveImplementsTypeNodes(N))||E.emptyArray:E.emptyArray}E.getAllSuperTypeNodes=getAllSuperTypeNodes;function getInterfaceBaseTypeNodes(E){var N=getHeritageClause(E.heritageClauses,94);return N?N.types:undefined}E.getInterfaceBaseTypeNodes=getInterfaceBaseTypeNodes;function getHeritageClause(E,N){if(E){for(var R=0,j=E;R=0){return $[q]}return undefined}function add(q){var G;if(q.file){G=j.get(q.file.fileName);if(!G){G=[];j.set(q.file.fileName,G);E.insertSorted(R,q.file.fileName,E.compareStringsCaseSensitive)}}else{if($){$=false;N=N.slice()}G=N}E.insertSorted(G,q,compareDiagnostics)}function getGlobalDiagnostics(){$=true;return N}function getDiagnostics($){if($){return j.get($)||[]}var q=E.flatMapToMutable(R,(function(E){return j.get(E)}));if(!N.length){return q}q.unshift.apply(q,N);return q}}E.createDiagnosticCollection=createDiagnosticCollection;var _e=/\$\{/g;function escapeTemplateSubstitution(E){return E.replace(_e,"\\${")}function hasInvalidEscape(N){return N&&!!(E.isNoSubstitutionTemplateLiteral(N)?N.templateFlags:N.head.templateFlags||E.some(N.templateSpans,(function(E){return!!E.literal.templateFlags})))}E.hasInvalidEscape=hasInvalidEscape;var Ee=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var Te=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g;var we=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g;var Ie=new E.Map(E.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"}));function encodeUtf16EscapeSequence(E){var N=E.toString(16).toUpperCase();var R=("0000"+N).slice(-4);return"\\u"+R}function getReplacement(E,N,R){if(E.charCodeAt(0)===0){var j=R.charCodeAt(N+E.length);if(j>=48&&j<=57){return"\\x00"}return"\\0"}return Ie.get(E)||encodeUtf16EscapeSequence(E.charCodeAt(0))}function escapeString(E,N){var R=N===96?we:N===39?Te:Ee;return E.replace(R,getReplacement)}E.escapeString=escapeString;var Ne=/[^\u0000-\u007F]/g;function escapeNonAsciiString(E,N){E=escapeString(E,N);return Ne.test(E)?E.replace(Ne,(function(E){return encodeUtf16EscapeSequence(E.charCodeAt(0))})):E}E.escapeNonAsciiString=escapeNonAsciiString;var Me=/[\"\u0000-\u001f\u2028\u2029\u0085]/g;var Le=/[\'\u0000-\u001f\u2028\u2029\u0085]/g;var Be=new E.Map(E.getEntries({'"':""","'":"'"}));function encodeJsxCharacterEntity(E){var N=E.toString(16).toUpperCase();return"&#x"+N+";"}function getJsxAttributeStringReplacement(E){if(E.charCodeAt(0)===0){return"�"}return Be.get(E)||encodeJsxCharacterEntity(E.charCodeAt(0))}function escapeJsxAttributeString(E,N){var R=N===39?Le:Me;return E.replace(R,getJsxAttributeStringReplacement)}E.escapeJsxAttributeString=escapeJsxAttributeString;function stripQuotes(E){var N=E.length;if(N>=2&&E.charCodeAt(0)===E.charCodeAt(N-1)&&isQuoteOrBacktick(E.charCodeAt(0))){return E.substring(1,N-1)}return E}E.stripQuotes=stripQuotes;function isQuoteOrBacktick(E){return E===39||E===34||E===96}function isIntrinsicJsxName(N){var R=N.charCodeAt(0);return R>=97&&R<=122||E.stringContains(N,"-")||E.stringContains(N,":")}E.isIntrinsicJsxName=isIntrinsicJsxName;var je=[""," "];function getIndentString(E){var N=je[1];for(var R=je.length;R<=E;R++){je.push(je[R-1]+N)}return je[E]}E.getIndentString=getIndentString;function getIndentSize(){return je[1].length}E.getIndentSize=getIndentSize;function createTextWriter(N){var R;var j;var $;var q;var G;var ie=false;function updateLineCountAndPosFor(N){var j=E.computeLineStarts(N);if(j.length>1){q=q+j.length-1;G=R.length-N.length+E.last(j);$=G-R.length===0}else{$=false}}function writeText(E){if(E&&E.length){if($){E=getIndentString(j)+E;$=false}R+=E;updateLineCountAndPosFor(E)}}function write(E){if(E)ie=false;writeText(E)}function writeComment(E){if(E)ie=true;writeText(E)}function reset(){R="";j=0;$=true;q=0;G=0;ie=false}function rawWrite(E){if(E!==undefined){R+=E;updateLineCountAndPosFor(E);ie=false}}function writeLiteral(E){if(E&&E.length){write(E)}}function writeLine(E){if(!$||E){R+=N;q++;G=R.length;$=true;ie=false}}function getTextPosWithWriteLine(){return $?R.length:R.length+N.length}reset();return{write:write,rawWrite:rawWrite,writeLiteral:writeLiteral,writeLine:writeLine,increaseIndent:function(){j++},decreaseIndent:function(){j--},getIndent:function(){return j},getTextPos:function(){return R.length},getLine:function(){return q},getColumn:function(){return $?j*getIndentSize():R.length-G},getText:function(){return R},isAtStartOfLine:function(){return $},hasTrailingComment:function(){return ie},hasTrailingWhitespace:function(){return!!R.length&&E.isWhiteSpaceLike(R.charCodeAt(R.length-1))},clear:reset,reportInaccessibleThisError:E.noop,reportPrivateInBaseOfClassExpression:E.noop,reportInaccessibleUniqueSymbolError:E.noop,trackSymbol:function(){return false},writeKeyword:write,writeOperator:write,writeParameter:write,writeProperty:write,writePunctuation:write,writeSpace:write,writeStringLiteral:write,writeSymbol:function(E,N){return write(E)},writeTrailingSemicolon:write,writeComment:writeComment,getTextPosWithWriteLine:getTextPosWithWriteLine}}E.createTextWriter=createTextWriter;function getTrailingSemicolonDeferringWriter(E){var N=false;function commitPendingTrailingSemicolon(){if(N){E.writeTrailingSemicolon(";");N=false}}return $($({},E),{writeTrailingSemicolon:function(){N=true},writeLiteral:function(N){commitPendingTrailingSemicolon();E.writeLiteral(N)},writeStringLiteral:function(N){commitPendingTrailingSemicolon();E.writeStringLiteral(N)},writeSymbol:function(N,R){commitPendingTrailingSemicolon();E.writeSymbol(N,R)},writePunctuation:function(N){commitPendingTrailingSemicolon();E.writePunctuation(N)},writeKeyword:function(N){commitPendingTrailingSemicolon();E.writeKeyword(N)},writeOperator:function(N){commitPendingTrailingSemicolon();E.writeOperator(N)},writeParameter:function(N){commitPendingTrailingSemicolon();E.writeParameter(N)},writeSpace:function(N){commitPendingTrailingSemicolon();E.writeSpace(N)},writeProperty:function(N){commitPendingTrailingSemicolon();E.writeProperty(N)},writeComment:function(N){commitPendingTrailingSemicolon();E.writeComment(N)},writeLine:function(){commitPendingTrailingSemicolon();E.writeLine()},increaseIndent:function(){commitPendingTrailingSemicolon();E.increaseIndent()},decreaseIndent:function(){commitPendingTrailingSemicolon();E.decreaseIndent()}})}E.getTrailingSemicolonDeferringWriter=getTrailingSemicolonDeferringWriter;function hostUsesCaseSensitiveFileNames(E){return E.useCaseSensitiveFileNames?E.useCaseSensitiveFileNames():false}E.hostUsesCaseSensitiveFileNames=hostUsesCaseSensitiveFileNames;function hostGetCanonicalFileName(N){return E.createGetCanonicalFileName(hostUsesCaseSensitiveFileNames(N))}E.hostGetCanonicalFileName=hostGetCanonicalFileName;function getResolvedExternalModuleName(E,N,R){return N.moduleName||getExternalModuleNameFromPath(E,N.fileName,R&&R.fileName)}E.getResolvedExternalModuleName=getResolvedExternalModuleName;function getCanonicalAbsolutePath(N,R){return N.getCanonicalFileName(E.getNormalizedAbsolutePath(R,N.getCurrentDirectory()))}function getExternalModuleNameFromDeclaration(N,R,j){var $=R.getExternalModuleFileFromDeclaration(j);if(!$||$.isDeclarationFile){return undefined}var q=getExternalModuleName(j);if(q&&E.isStringLiteralLike(q)&&!E.pathIsRelative(q.text)&&getCanonicalAbsolutePath(N,$.path).indexOf(getCanonicalAbsolutePath(N,E.ensureTrailingDirectorySeparator(N.getCommonSourceDirectory())))===-1){return undefined}return getResolvedExternalModuleName(N,$)}E.getExternalModuleNameFromDeclaration=getExternalModuleNameFromDeclaration;function getExternalModuleNameFromPath(N,R,j){var getCanonicalFileName=function(E){return N.getCanonicalFileName(E)};var $=E.toPath(j?E.getDirectoryPath(j):N.getCommonSourceDirectory(),N.getCurrentDirectory(),getCanonicalFileName);var q=E.getNormalizedAbsolutePath(R,N.getCurrentDirectory());var G=E.getRelativePathToDirectoryOrUrl($,q,$,getCanonicalFileName,false);var ie=removeFileExtension(G);return j?E.ensurePathIsNonModuleName(ie):ie}E.getExternalModuleNameFromPath=getExternalModuleNameFromPath;function getOwnEmitOutputFilePath(E,N,R){var j=N.getCompilerOptions();var $;if(j.outDir){$=removeFileExtension(getSourceFilePathInNewDir(E,N,j.outDir))}else{$=removeFileExtension(E)}return $+R}E.getOwnEmitOutputFilePath=getOwnEmitOutputFilePath;function getDeclarationEmitOutputFilePath(E,N){return getDeclarationEmitOutputFilePathWorker(E,N.getCompilerOptions(),N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getDeclarationEmitOutputFilePath=getDeclarationEmitOutputFilePath;function getDeclarationEmitOutputFilePathWorker(E,N,R,j,$){var q=N.declarationDir||N.outDir;var G=q?getSourceFilePathInNewDirWorker(E,q,R,j,$):E;return removeFileExtension(G)+".d.ts"}E.getDeclarationEmitOutputFilePathWorker=getDeclarationEmitOutputFilePathWorker;function outFile(E){return E.outFile||E.out}E.outFile=outFile;function getPathsBasePath(N,R){var j,$;if(!N.paths)return undefined;return(j=N.baseUrl)!==null&&j!==void 0?j:E.Debug.checkDefined(N.pathsBasePath||(($=R.getCurrentDirectory)===null||$===void 0?void 0:$.call(R)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}E.getPathsBasePath=getPathsBasePath;function getSourceFilesToEmit(N,R,j){var $=N.getCompilerOptions();if(outFile($)){var q=getEmitModuleKind($);var G=$.emitDeclarationOnly||q===E.ModuleKind.AMD||q===E.ModuleKind.System;return E.filter(N.getSourceFiles(),(function(R){return(G||!E.isExternalModule(R))&&sourceFileMayBeEmitted(R,N,j)}))}else{var ie=R===undefined?N.getSourceFiles():[R];return E.filter(ie,(function(E){return sourceFileMayBeEmitted(E,N,j)}))}}E.getSourceFilesToEmit=getSourceFilesToEmit;function sourceFileMayBeEmitted(E,N,R){var j=N.getCompilerOptions();return!(j.noEmitForJsFiles&&isSourceFileJS(E))&&!E.isDeclarationFile&&!N.isSourceFileFromExternalLibrary(E)&&(R||!(isJsonSourceFile(E)&&N.getResolvedProjectReferenceToRedirect(E.fileName))&&!N.isSourceOfProjectReferenceRedirect(E.fileName))}E.sourceFileMayBeEmitted=sourceFileMayBeEmitted;function getSourceFilePathInNewDir(E,N,R){return getSourceFilePathInNewDirWorker(E,R,N.getCurrentDirectory(),N.getCommonSourceDirectory(),(function(E){return N.getCanonicalFileName(E)}))}E.getSourceFilePathInNewDir=getSourceFilePathInNewDir;function getSourceFilePathInNewDirWorker(N,R,j,$,q){var G=E.getNormalizedAbsolutePath(N,j);var ie=q(G).indexOf(q($))===0;G=ie?G.substring($.length):G;return E.combinePaths(R,G)}E.getSourceFilePathInNewDirWorker=getSourceFilePathInNewDirWorker;function writeFile(N,R,j,$,q,G){N.writeFile(j,$,q,(function(N){R.add(createCompilerDiagnostic(E.Diagnostics.Could_not_write_file_0_Colon_1,j,N))}),G)}E.writeFile=writeFile;function ensureDirectoriesExist(N,R,j){if(N.length>E.getRootLength(N)&&!j(N)){var $=E.getDirectoryPath(N);ensureDirectoriesExist($,R,j);R(N)}}function writeFileEnsuringDirectories(N,R,j,$,q,G){try{$(N,R,j)}catch(ie){ensureDirectoriesExist(E.getDirectoryPath(E.normalizePath(N)),q,G);$(N,R,j)}}E.writeFileEnsuringDirectories=writeFileEnsuringDirectories;function getLineOfLocalPosition(N,R){var j=E.getLineStarts(N);return E.computeLineOfPosition(j,R)}E.getLineOfLocalPosition=getLineOfLocalPosition;function getLineOfLocalPositionFromLineMap(N,R){return E.computeLineOfPosition(N,R)}E.getLineOfLocalPositionFromLineMap=getLineOfLocalPositionFromLineMap;function getFirstConstructorWithBody(N){return E.find(N.members,(function(N){return E.isConstructorDeclaration(N)&&nodeIsPresent(N.body)}))}E.getFirstConstructorWithBody=getFirstConstructorWithBody;function getSetAccessorValueParameter(E){if(E&&E.parameters.length>0){var N=E.parameters.length===2&¶meterIsThisKeyword(E.parameters[0]);return E.parameters[N?1:0]}}E.getSetAccessorValueParameter=getSetAccessorValueParameter;function getSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&N.type}E.getSetAccessorTypeAnnotationNode=getSetAccessorTypeAnnotationNode;function getThisParameter(N){if(N.parameters.length&&!E.isJSDocSignature(N)){var R=N.parameters[0];if(parameterIsThisKeyword(R)){return R}}}E.getThisParameter=getThisParameter;function parameterIsThisKeyword(E){return isThisIdentifier(E.name)}E.parameterIsThisKeyword=parameterIsThisKeyword;function isThisIdentifier(E){return!!E&&E.kind===79&&identifierIsThisKeyword(E)}E.isThisIdentifier=isThisIdentifier;function isThisInTypeQuery(N){if(!isThisIdentifier(N)){return false}while(E.isQualifiedName(N.parent)&&N.parent.left===N){N=N.parent}return N.parent.kind===179}E.isThisInTypeQuery=isThisInTypeQuery;function identifierIsThisKeyword(E){return E.originalKeywordKind===108}E.identifierIsThisKeyword=identifierIsThisKeyword;function getAllAccessorDeclarations(N,R){var j;var $;var q;var G;if(hasDynamicName(R)){j=R;if(R.kind===170){q=R}else if(R.kind===171){G=R}else{E.Debug.fail("Accessor has wrong kind")}}else{E.forEach(N,(function(N){if(E.isAccessor(N)&&isStatic(N)===isStatic(R)){var ie=getPropertyNameForPropertyNameNode(N.name);var ae=getPropertyNameForPropertyNameNode(R.name);if(ie===ae){if(!j){j=N}else if(!$){$=N}if(N.kind===170&&!q){q=N}if(N.kind===171&&!G){G=N}}}}))}return{firstAccessor:j,secondAccessor:$,getAccessor:q,setAccessor:G}}E.getAllAccessorDeclarations=getAllAccessorDeclarations;function getEffectiveTypeAnnotationNode(N){if(!isInJSFile(N)&&E.isFunctionDeclaration(N))return undefined;var R=N.type;if(R||!isInJSFile(N))return R;return E.isJSDocPropertyLikeTag(N)?N.typeExpression&&N.typeExpression.type:E.getJSDocType(N)}E.getEffectiveTypeAnnotationNode=getEffectiveTypeAnnotationNode;function getTypeAnnotationNode(E){return E.type}E.getTypeAnnotationNode=getTypeAnnotationNode;function getEffectiveReturnTypeNode(N){return E.isJSDocSignature(N)?N.type&&N.type.typeExpression&&N.type.typeExpression.type:N.type||(isInJSFile(N)?E.getJSDocReturnType(N):undefined)}E.getEffectiveReturnTypeNode=getEffectiveReturnTypeNode;function getJSDocTypeParameterDeclarations(N){return E.flatMap(E.getJSDocTags(N),(function(E){return isNonTypeAliasTemplate(E)?E.typeParameters:undefined}))}E.getJSDocTypeParameterDeclarations=getJSDocTypeParameterDeclarations;function isNonTypeAliasTemplate(N){return E.isJSDocTemplateTag(N)&&!(N.parent.kind===315&&N.parent.tags.some(isJSDocTypeAlias))}function getEffectiveSetAccessorTypeAnnotationNode(E){var N=getSetAccessorValueParameter(E);return N&&getEffectiveTypeAnnotationNode(N)}E.getEffectiveSetAccessorTypeAnnotationNode=getEffectiveSetAccessorTypeAnnotationNode;function emitNewLineBeforeLeadingComments(E,N,R,j){emitNewLineBeforeLeadingCommentsOfPosition(E,N,R.pos,j)}E.emitNewLineBeforeLeadingComments=emitNewLineBeforeLeadingComments;function emitNewLineBeforeLeadingCommentsOfPosition(E,N,R,j){if(j&&j.length&&R!==j[0].pos&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j[0].pos)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentsOfPosition=emitNewLineBeforeLeadingCommentsOfPosition;function emitNewLineBeforeLeadingCommentOfPosition(E,N,R,j){if(R!==j&&getLineOfLocalPositionFromLineMap(E,R)!==getLineOfLocalPositionFromLineMap(E,j)){N.writeLine()}}E.emitNewLineBeforeLeadingCommentOfPosition=emitNewLineBeforeLeadingCommentOfPosition;function emitComments(E,N,R,j,$,q,G,ie){if(j&&j.length>0){if($){R.writeSpace(" ")}var ae=false;for(var ce=0,le=j;ce=Ie+2){break}}le.push(we);_e=we}if(le.length){var Ie=getLineOfLocalPositionFromLineMap(R,E.last(le).end);var Me=getLineOfLocalPositionFromLineMap(R,E.skipTrivia(N,q.pos));if(Me>=Ie+2){emitNewLineBeforeLeadingComments(R,j,q,ae);emitComments(N,R,j,le,false,true,G,$);ce={nodePos:q.pos,detachedCommentEndPos:E.last(le).end}}}}return ce;function isPinnedCommentLocal(E){return isPinnedComment(N,E.pos)}}E.emitDetachedComments=emitDetachedComments;function writeCommentRange(N,R,j,$,q,G){if(N.charCodeAt($+1)===42){var ie=E.computeLineAndCharacterOfPosition(R,$);var ae=R.length;var ce=void 0;for(var le=$,_e=ie.line;le0){var Ie=we%getIndentSize();var Ne=getIndentString((we-Ie)/getIndentSize());j.rawWrite(Ne);while(Ie){j.rawWrite(" ");Ie--}}else{j.rawWrite("")}}writeTrimmedCurrentLine(N,q,j,G,le,Ee);le=Ee}}else{j.writeComment(N.substring($,q))}}E.writeCommentRange=writeCommentRange;function writeTrimmedCurrentLine(N,R,j,$,q,G){var ie=Math.min(R,G-1);var ae=E.trimString(N.substring(q,ie));if(ae){j.writeComment(ae);if(ie!==R){j.writeLine()}}else{j.rawWrite($)}}function calculateIndent(N,R,j){var $=0;for(;R=0&&E.kind<=158){return 0}if(!(E.modifierFlagsCache&536870912)){E.modifierFlagsCache=getSyntacticModifierFlagsNoCache(E)|536870912}if(N&&!(E.modifierFlagsCache&4096)&&(R||isInJSFile(E))&&E.parent){E.modifierFlagsCache|=getJSDocModifierFlagsNoCache(E)|4096}return E.modifierFlagsCache&~(536870912|4096)}function getEffectiveModifierFlags(E){return getModifierFlagsWorker(E,true)}E.getEffectiveModifierFlags=getEffectiveModifierFlags;function getEffectiveModifierFlagsAlwaysIncludeJSDoc(E){return getModifierFlagsWorker(E,true,true)}E.getEffectiveModifierFlagsAlwaysIncludeJSDoc=getEffectiveModifierFlagsAlwaysIncludeJSDoc;function getSyntacticModifierFlags(E){return getModifierFlagsWorker(E,false)}E.getSyntacticModifierFlags=getSyntacticModifierFlags;function getJSDocModifierFlagsNoCache(N){var R=0;if(!!N.parent&&!E.isParameter(N)){if(isInJSFile(N)){if(E.getJSDocPublicTagNoCache(N))R|=4;if(E.getJSDocPrivateTagNoCache(N))R|=8;if(E.getJSDocProtectedTagNoCache(N))R|=16;if(E.getJSDocReadonlyTagNoCache(N))R|=64;if(E.getJSDocOverrideTagNoCache(N))R|=16384}if(E.getJSDocDeprecatedTagNoCache(N))R|=8192}return R}function getEffectiveModifierFlagsNoCache(E){return getSyntacticModifierFlagsNoCache(E)|getJSDocModifierFlagsNoCache(E)}E.getEffectiveModifierFlagsNoCache=getEffectiveModifierFlagsNoCache;function getSyntacticModifierFlagsNoCache(E){var N=modifiersToFlags(E.modifiers);if(E.flags&4||E.kind===79&&E.isInJSDocNamespace){N|=1}return N}E.getSyntacticModifierFlagsNoCache=getSyntacticModifierFlagsNoCache;function modifiersToFlags(E){var N=0;if(E){for(var R=0,j=E;R=63&&E<=78}E.isAssignmentOperator=isAssignmentOperator;function tryGetClassExtendingExpressionWithTypeArguments(E){var N=tryGetClassImplementingOrExtendingExpressionWithTypeArguments(E);return N&&!N.isImplements?N.class:undefined}E.tryGetClassExtendingExpressionWithTypeArguments=tryGetClassExtendingExpressionWithTypeArguments;function tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N){return E.isExpressionWithTypeArguments(N)&&E.isHeritageClause(N.parent)&&E.isClassLike(N.parent.parent)?{class:N.parent.parent,isImplements:N.parent.token===117}:undefined}E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=tryGetClassImplementingOrExtendingExpressionWithTypeArguments;function isAssignmentExpression(N,R){return E.isBinaryExpression(N)&&(R?N.operatorToken.kind===63:isAssignmentOperator(N.operatorToken.kind))&&E.isLeftHandSideExpression(N.left)}E.isAssignmentExpression=isAssignmentExpression;function isLeftHandSideOfAssignment(E){return isAssignmentExpression(E.parent)&&E.parent.left===E}E.isLeftHandSideOfAssignment=isLeftHandSideOfAssignment;function isDestructuringAssignment(E){if(isAssignmentExpression(E,true)){var N=E.left.kind;return N===203||N===202}return false}E.isDestructuringAssignment=isDestructuringAssignment;function isExpressionWithTypeArgumentsInClassExtendsClause(E){return tryGetClassExtendingExpressionWithTypeArguments(E)!==undefined}E.isExpressionWithTypeArgumentsInClassExtendsClause=isExpressionWithTypeArgumentsInClassExtendsClause;function isEntityNameExpression(E){return E.kind===79||isPropertyAccessEntityNameExpression(E)}E.isEntityNameExpression=isEntityNameExpression;function getFirstIdentifier(E){switch(E.kind){case 79:return E;case 159:do{E=E.left}while(E.kind!==79);return E;case 204:do{E=E.expression}while(E.kind!==79);return E}}E.getFirstIdentifier=getFirstIdentifier;function isDottedName(E){return E.kind===79||E.kind===108||E.kind===106||E.kind===229||E.kind===204&&isDottedName(E.expression)||E.kind===210&&isDottedName(E.expression)}E.isDottedName=isDottedName;function isPropertyAccessEntityNameExpression(N){return E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)&&isEntityNameExpression(N.expression)}E.isPropertyAccessEntityNameExpression=isPropertyAccessEntityNameExpression;function tryGetPropertyAccessOrIdentifierToString(N){if(E.isPropertyAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined){return R+"."+entityNameToString(N.name)}}else if(E.isElementAccessExpression(N)){var R=tryGetPropertyAccessOrIdentifierToString(N.expression);if(R!==undefined&&E.isPropertyName(N.argumentExpression)){return R+"."+getPropertyNameForPropertyNameNode(N.argumentExpression)}}else if(E.isIdentifier(N)){return E.unescapeLeadingUnderscores(N.escapedText)}return undefined}E.tryGetPropertyAccessOrIdentifierToString=tryGetPropertyAccessOrIdentifierToString;function isPrototypeAccess(E){return isBindableStaticAccessExpression(E)&&getElementOrPropertyAccessName(E)==="prototype"}E.isPrototypeAccess=isPrototypeAccess;function isRightSideOfQualifiedNameOrPropertyAccess(E){return E.parent.kind===159&&E.parent.right===E||E.parent.kind===204&&E.parent.name===E}E.isRightSideOfQualifiedNameOrPropertyAccess=isRightSideOfQualifiedNameOrPropertyAccess;function isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N||E.isJSDocMemberName(N.parent)&&N.parent.right===N}E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName=isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName;function isEmptyObjectLiteral(E){return E.kind===203&&E.properties.length===0}E.isEmptyObjectLiteral=isEmptyObjectLiteral;function isEmptyArrayLiteral(E){return E.kind===202&&E.elements.length===0}E.isEmptyArrayLiteral=isEmptyArrayLiteral;function getLocalSymbolForExportDefault(E){if(!isExportDefaultSymbol(E)||!E.declarations)return undefined;for(var N=0,R=E.declarations;N0&&hasSyntacticModifier(N.declarations[0],512)}function tryExtractTSExtension(N){return E.find(E.supportedTSExtensionsForExtractExtension,(function(R){return E.fileExtensionIs(N,R)}))}E.tryExtractTSExtension=tryExtractTSExtension;function getExpandedCharCodes(N){var R=[];var j=N.length;for(var $=0;$>6|192);R.push(q&63|128)}else if(q<65536){R.push(q>>12|224);R.push(q>>6&63|128);R.push(q&63|128)}else if(q<131072){R.push(q>>18|240);R.push(q>>12&63|128);R.push(q>>6&63|128);R.push(q&63|128)}else{E.Debug.assert(false,"Unexpected code point")}}return R}var Ue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function convertToBase64(E){var N="";var R=getExpandedCharCodes(E);var j=0;var $=R.length;var q,G,ie,ae;while(j<$){q=R[j]>>2;G=(R[j]&3)<<4|R[j+1]>>4;ie=(R[j+1]&15)<<2|R[j+2]>>6;ae=R[j+2]&63;if(j+1>=$){ie=ae=64}else if(j+2>=$){ae=64}N+=Ue.charAt(q)+Ue.charAt(G)+Ue.charAt(ie)+Ue.charAt(ae);j+=3}return N}E.convertToBase64=convertToBase64;function getStringFromExpandedCharCodes(E){var N="";var R=0;var j=E.length;while(R>4&3;var le=(G&15)<<4|ie>>2&15;var _e=(ie&3)<<6|ae&63;if(le===0&&ie!==0){j.push(ce)}else if(_e===0&&ae!==0){j.push(ce,le)}else{j.push(ce,le,_e)}$+=4}return getStringFromExpandedCharCodes(j)}E.base64decode=base64decode;function readJson(N,R){try{var j=R.readFile(N);if(!j)return{};var $=E.parseConfigFileTextToJson(N,j);if($.error){return{}}return $.config}catch(E){return{}}}E.readJson=readJson;function directoryProbablyExists(E,N){return!N.directoryExists||N.directoryExists(E)}E.directoryProbablyExists=directoryProbablyExists;var ze="\r\n";var We="\n";function getNewLineCharacter(N,R){switch(N.newLine){case 0:return ze;case 1:return We}return R?R():E.sys?E.sys.newLine:ze}E.getNewLineCharacter=getNewLineCharacter;function createRange(N,R){if(R===void 0){R=N}E.Debug.assert(R>=N||R===-1);return{pos:N,end:R}}E.createRange=createRange;function moveRangeEnd(E,N){return createRange(E.pos,N)}E.moveRangeEnd=moveRangeEnd;function moveRangePos(E,N){return createRange(N,E.end)}E.moveRangePos=moveRangePos;function moveRangePastDecorators(E){return E.decorators&&E.decorators.length>0?moveRangePos(E,E.decorators.end):E}E.moveRangePastDecorators=moveRangePastDecorators;function moveRangePastModifiers(E){return E.modifiers&&E.modifiers.length>0?moveRangePos(E,E.modifiers.end):moveRangePastDecorators(E)}E.moveRangePastModifiers=moveRangePastModifiers;function isCollapsedRange(E){return E.pos===E.end}E.isCollapsedRange=isCollapsedRange;function createTokenRange(N,R){return createRange(N,N+E.tokenToString(R).length)}E.createTokenRange=createTokenRange;function rangeIsOnSingleLine(E,N){return rangeStartIsOnSameLineAsRangeEnd(E,E,N)}E.rangeIsOnSingleLine=rangeIsOnSingleLine;function rangeStartPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),getStartPositionOfRange(N,R,false),R)}E.rangeStartPositionsAreOnSameLine=rangeStartPositionsAreOnSameLine;function rangeEndPositionsAreOnSameLine(E,N,R){return positionsAreOnSameLine(E.end,N.end,R)}E.rangeEndPositionsAreOnSameLine=rangeEndPositionsAreOnSameLine;function rangeStartIsOnSameLineAsRangeEnd(E,N,R){return positionsAreOnSameLine(getStartPositionOfRange(E,R,false),N.end,R)}E.rangeStartIsOnSameLineAsRangeEnd=rangeStartIsOnSameLineAsRangeEnd;function rangeEndIsOnSameLineAsRangeStart(E,N,R){return positionsAreOnSameLine(E.end,getStartPositionOfRange(N,R,false),R)}E.rangeEndIsOnSameLineAsRangeStart=rangeEndIsOnSameLineAsRangeStart;function getLinesBetweenRangeEndAndRangeStart(N,R,j,$){var q=getStartPositionOfRange(R,j,$);return E.getLinesBetweenPositions(j,N.end,q)}E.getLinesBetweenRangeEndAndRangeStart=getLinesBetweenRangeEndAndRangeStart;function getLinesBetweenRangeEndPositions(N,R,j){return E.getLinesBetweenPositions(j,N.end,R.end)}E.getLinesBetweenRangeEndPositions=getLinesBetweenRangeEndPositions;function isNodeArrayMultiLine(E,N){return!positionsAreOnSameLine(E.pos,E.end,N)}E.isNodeArrayMultiLine=isNodeArrayMultiLine;function positionsAreOnSameLine(N,R,j){return E.getLinesBetweenPositions(j,N,R)===0}E.positionsAreOnSameLine=positionsAreOnSameLine;function getStartPositionOfRange(N,R,j){return positionIsSynthesized(N.pos)?-1:E.skipTrivia(R.text,N.pos,false,j)}E.getStartPositionOfRange=getStartPositionOfRange;function getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);var G=getPreviousNonWhitespacePosition(q,R,j);return E.getLinesBetweenPositions(j,G!==null&&G!==void 0?G:R,q)}E.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter;function getLinesBetweenPositionAndNextNonWhitespaceCharacter(N,R,j,$){var q=E.skipTrivia(j.text,N,false,$);return E.getLinesBetweenPositions(j,N,Math.min(R,q))}E.getLinesBetweenPositionAndNextNonWhitespaceCharacter=getLinesBetweenPositionAndNextNonWhitespaceCharacter;function getPreviousNonWhitespacePosition(N,R,j){if(R===void 0){R=0}while(N-- >R){if(!E.isWhiteSpaceLike(j.text.charCodeAt(N))){return N}}}function isDeclarationNameOfEnumOrNamespace(N){var R=E.getParseTreeNode(N);if(R){switch(R.parent.kind){case 258:case 259:return R===R.parent.name}}return false}E.isDeclarationNameOfEnumOrNamespace=isDeclarationNameOfEnumOrNamespace;function getInitializedVariables(N){return E.filter(N.declarations,isInitializedVariable)}E.getInitializedVariables=getInitializedVariables;function isInitializedVariable(E){return E.initializer!==undefined}function isWatchSet(E){return E.watch&&E.hasOwnProperty("watch")}E.isWatchSet=isWatchSet;function closeFileWatcher(E){E.close()}E.closeFileWatcher=closeFileWatcher;function getCheckFlags(E){return E.flags&33554432?E.checkFlags:0}E.getCheckFlags=getCheckFlags;function getDeclarationModifierFlagsFromSymbol(N,R){if(R===void 0){R=false}if(N.valueDeclaration){var j=R&&N.declarations&&E.find(N.declarations,(function(E){return E.kind===171}))||N.valueDeclaration;var $=E.getCombinedModifierFlags(j);return N.parent&&N.parent.flags&32?$:$&~28}if(getCheckFlags(N)&6){var q=N.checkFlags;var G=q&1024?8:q&256?4:16;var ie=q&2048?32:0;return G|ie}if(N.flags&4194304){return 4|32}return 0}E.getDeclarationModifierFlagsFromSymbol=getDeclarationModifierFlagsFromSymbol;function skipAlias(E,N){return E.flags&2097152?N.getAliasedSymbol(E):E}E.skipAlias=skipAlias;function getCombinedLocalAndExportSymbolFlags(E){return E.exportSymbol?E.exportSymbol.flags|E.flags:E.flags}E.getCombinedLocalAndExportSymbolFlags=getCombinedLocalAndExportSymbolFlags;function isWriteOnlyAccess(E){return accessKind(E)===1}E.isWriteOnlyAccess=isWriteOnlyAccess;function isWriteAccess(E){return accessKind(E)!==0}E.isWriteAccess=isWriteAccess;var Je;(function(E){E[E["Read"]=0]="Read";E[E["Write"]=1]="Write";E[E["ReadWrite"]=2]="ReadWrite"})(Je||(Je={}));function accessKind(E){var N=E.parent;if(!N)return 0;switch(N.kind){case 210:return accessKind(N);case 218:case 217:var R=N.operator;return R===45||R===46?writeOrReadWrite():0;case 219:var j=N,$=j.left,q=j.operatorToken;return $===E&&isAssignmentOperator(q.kind)?q.kind===63?1:writeOrReadWrite():0;case 204:return N.name!==E?0:accessKind(N);case 291:{var G=accessKind(N.parent);return E===N.name?reverseAccessKind(G):G}case 292:return E===N.objectAssignmentInitializer?0:accessKind(N.parent);case 202:return accessKind(N);default:return 0}function writeOrReadWrite(){return N.parent&&walkUpParenthesizedExpressions(N.parent).kind===236?1:2}}function reverseAccessKind(N){switch(N){case 0:return 1;case 1:return 0;case 2:return 2;default:return E.Debug.assertNever(N)}}function compareDataObjects(E,N){if(!E||!N||Object.keys(E).length!==Object.keys(N).length){return false}for(var R in E){if(typeof E[R]==="object"){if(!compareDataObjects(E[R],N[R])){return false}}else if(typeof E[R]!=="function"){if(E[R]!==N[R]){return false}}}return true}E.compareDataObjects=compareDataObjects;function clearMap(E,N){E.forEach(N);E.clear()}E.clearMap=clearMap;function mutateMapSkippingNewValues(E,N,R){var j=R.onDeleteValue,$=R.onExistingValue;E.forEach((function(R,q){var G=N.get(q);if(G===undefined){E.delete(q);j(R,q)}else if($){$(R,G,q)}}))}E.mutateMapSkippingNewValues=mutateMapSkippingNewValues;function mutateMap(E,N,R){mutateMapSkippingNewValues(E,N,R);var j=R.createNewValue;N.forEach((function(N,R){if(!E.has(R)){E.set(R,j(R,N))}}))}E.mutateMap=mutateMap;function isAbstractConstructorSymbol(E){if(E.flags&32){var N=getClassLikeDeclarationOfSymbol(E);return!!N&&hasSyntacticModifier(N,128)}return false}E.isAbstractConstructorSymbol=isAbstractConstructorSymbol;function getClassLikeDeclarationOfSymbol(N){var R;return(R=N.declarations)===null||R===void 0?void 0:R.find(E.isClassLike)}E.getClassLikeDeclarationOfSymbol=getClassLikeDeclarationOfSymbol;function getObjectFlags(E){return E.flags&3899393?E.objectFlags:0}E.getObjectFlags=getObjectFlags;function typeHasCallOrConstructSignatures(E,N){return N.getSignaturesOfType(E,0).length!==0||N.getSignaturesOfType(E,1).length!==0}E.typeHasCallOrConstructSignatures=typeHasCallOrConstructSignatures;function forSomeAncestorDirectory(N,R){return!!E.forEachAncestorDirectory(N,(function(E){return R(E)?true:undefined}))}E.forSomeAncestorDirectory=forSomeAncestorDirectory;function isUMDExportSymbol(N){return!!N&&!!N.declarations&&!!N.declarations[0]&&E.isNamespaceExportDeclaration(N.declarations[0])}E.isUMDExportSymbol=isUMDExportSymbol;function showModuleSpecifier(N){var R=N.moduleSpecifier;return E.isStringLiteral(R)?R.text:getTextOfNode(R)}E.showModuleSpecifier=showModuleSpecifier;function getLastChild(N){var R;E.forEachChild(N,(function(E){if(nodeIsPresent(E))R=E}),(function(E){for(var N=E.length-1;N>=0;N--){if(nodeIsPresent(E[N])){R=E[N];break}}}));return R}E.getLastChild=getLastChild;function addToSeen(E,N,R){if(R===void 0){R=true}if(E.has(N)){return false}E.set(N,R);return true}E.addToSeen=addToSeen;function isObjectTypeDeclaration(N){return E.isClassLike(N)||E.isInterfaceDeclaration(N)||E.isTypeLiteralNode(N)}E.isObjectTypeDeclaration=isObjectTypeDeclaration;function isTypeNodeKind(E){return E>=175&&E<=198||E===129||E===153||E===145||E===156||E===146||E===132||E===148||E===149||E===114||E===151||E===142||E===226||E===307||E===308||E===309||E===310||E===311||E===312||E===313}E.isTypeNodeKind=isTypeNodeKind;function isAccessExpression(E){return E.kind===204||E.kind===205}E.isAccessExpression=isAccessExpression;function getNameOfAccessExpression(N){if(N.kind===204){return N.name}E.Debug.assert(N.kind===205);return N.argumentExpression}E.getNameOfAccessExpression=getNameOfAccessExpression;function isBundleFileTextLike(E){switch(E.kind){case"text":case"internal":return true;default:return false}}E.isBundleFileTextLike=isBundleFileTextLike;function isNamedImportsOrExports(E){return E.kind===267||E.kind===271}E.isNamedImportsOrExports=isNamedImportsOrExports;function getLeftmostAccessExpression(E){while(isAccessExpression(E)){E=E.expression}return E}E.getLeftmostAccessExpression=getLeftmostAccessExpression;function getLeftmostExpression(E,N){while(true){switch(E.kind){case 218:E=E.operand;continue;case 219:E=E.left;continue;case 220:E=E.condition;continue;case 208:E=E.tag;continue;case 206:if(N){return E}case 227:case 205:case 204:case 228:case 345:E=E.expression;continue}return E}}E.getLeftmostExpression=getLeftmostExpression;function Symbol(E,N){this.flags=E;this.escapedName=N;this.declarations=undefined;this.valueDeclaration=undefined;this.id=undefined;this.mergeId=undefined;this.parent=undefined}function Type(N,R){this.flags=R;if(E.Debug.isDebugging||E.tracing){this.checker=N}}function Signature(N,R){this.flags=R;if(E.Debug.isDebugging){this.checker=N}}function Node(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.original=undefined}function Token(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined}function Identifier(E,N,R){this.pos=N;this.end=R;this.kind=E;this.id=0;this.flags=0;this.transformFlags=0;this.parent=undefined;this.original=undefined;this.flowNode=undefined}function SourceMapSource(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R||function(E){return E}}E.objectAllocator={getNodeConstructor:function(){return Node},getTokenConstructor:function(){return Token},getIdentifierConstructor:function(){return Identifier},getPrivateIdentifierConstructor:function(){return Node},getSourceFileConstructor:function(){return Node},getSymbolConstructor:function(){return Symbol},getTypeConstructor:function(){return Type},getSignatureConstructor:function(){return Signature},getSourceMapSourceConstructor:function(){return SourceMapSource}};function setObjectAllocator(N){E.objectAllocator=N}E.setObjectAllocator=setObjectAllocator;function formatStringFromArgs(N,R,j){if(j===void 0){j=0}return N.replace(/{(\d+)}/g,(function(N,$){return""+E.Debug.checkDefined(R[+$+j])}))}E.formatStringFromArgs=formatStringFromArgs;function setLocalizedDiagnosticMessages(N){E.localizedDiagnosticMessages=N}E.setLocalizedDiagnosticMessages=setLocalizedDiagnosticMessages;function getLocaleSpecificMessage(N){return E.localizedDiagnosticMessages&&E.localizedDiagnosticMessages[N.key]||N.message}E.getLocaleSpecificMessage=getLocaleSpecificMessage;function createDetachedDiagnostic(E,N,R,j){assertDiagnosticLocation(undefined,N,R);var $=getLocaleSpecificMessage(j);if(arguments.length>4){$=formatStringFromArgs($,arguments,4)}return{file:undefined,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,fileName:E}}E.createDetachedDiagnostic=createDetachedDiagnostic;function isDiagnosticWithDetachedLocation(E){return E.file===undefined&&E.start!==undefined&&E.length!==undefined&&typeof E.fileName==="string"}function attachFileToDiagnostic(N,R){var j=R.fileName||"";var $=R.text.length;E.Debug.assertEqual(N.fileName,j);E.Debug.assertLessThanOrEqual(N.start,$);E.Debug.assertLessThanOrEqual(N.start+N.length,$);var q={file:R,start:N.start,length:N.length,messageText:N.messageText,category:N.category,code:N.code,reportsUnnecessary:N.reportsUnnecessary};if(N.relatedInformation){q.relatedInformation=[];for(var G=0,ie=N.relatedInformation;G4){$=formatStringFromArgs($,arguments,4)}return{file:E,start:N,length:R,messageText:$,category:j.category,code:j.code,reportsUnnecessary:j.reportsUnnecessary,reportsDeprecated:j.reportsDeprecated}}E.createFileDiagnostic=createFileDiagnostic;function formatMessage(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return R}E.formatMessage=formatMessage;function createCompilerDiagnostic(E){var N=getLocaleSpecificMessage(E);if(arguments.length>1){N=formatStringFromArgs(N,arguments,1)}return{file:undefined,start:undefined,length:undefined,messageText:N,category:E.category,code:E.code,reportsUnnecessary:E.reportsUnnecessary,reportsDeprecated:E.reportsDeprecated}}E.createCompilerDiagnostic=createCompilerDiagnostic;function createCompilerDiagnosticFromMessageChain(E,N){return{file:undefined,start:undefined,length:undefined,code:E.code,category:E.category,messageText:E.next?E:E.messageText,relatedInformation:N}}E.createCompilerDiagnosticFromMessageChain=createCompilerDiagnosticFromMessageChain;function chainDiagnosticMessages(E,N){var R=getLocaleSpecificMessage(N);if(arguments.length>2){R=formatStringFromArgs(R,arguments,2)}return{messageText:R,category:N.category,code:N.code,next:E===undefined||Array.isArray(E)?E:[E]}}E.chainDiagnosticMessages=chainDiagnosticMessages;function concatenateDiagnosticMessageChains(E,N){var R=E;while(R.next){R=R.next[0]}R.next=[N]}E.concatenateDiagnosticMessageChains=concatenateDiagnosticMessageChains;function getDiagnosticFilePath(E){return E.file?E.file.path:undefined}function compareDiagnostics(E,N){return compareDiagnosticsSkipRelatedInformation(E,N)||compareRelatedInformation(E,N)||0}E.compareDiagnostics=compareDiagnostics;function compareDiagnosticsSkipRelatedInformation(N,R){return E.compareStringsCaseSensitive(getDiagnosticFilePath(N),getDiagnosticFilePath(R))||E.compareValues(N.start,R.start)||E.compareValues(N.length,R.length)||E.compareValues(N.code,R.code)||compareMessageText(N.messageText,R.messageText)||0}E.compareDiagnosticsSkipRelatedInformation=compareDiagnosticsSkipRelatedInformation;function compareRelatedInformation(N,R){if(!N.relatedInformation&&!R.relatedInformation){return 0}if(N.relatedInformation&&R.relatedInformation){return E.compareValues(N.relatedInformation.length,R.relatedInformation.length)||E.forEach(N.relatedInformation,(function(E,N){var j=R.relatedInformation[N];return compareDiagnostics(E,j)}))||0}return N.relatedInformation?-1:1}function compareMessageText(N,R){if(typeof N==="string"&&typeof R==="string"){return E.compareStringsCaseSensitive(N,R)}else if(typeof N==="string"){return-1}else if(typeof R==="string"){return 1}var j=E.compareStringsCaseSensitive(N.messageText,R.messageText);if(j){return j}if(!N.next&&!R.next){return 0}if(!N.next){return-1}if(!R.next){return 1}var $=Math.min(N.next.length,R.next.length);for(var q=0;q<$;q++){j=compareMessageText(N.next[q],R.next[q]);if(j){return j}}if(N.next.lengthR.next.length){return 1}return 0}function getLanguageVariant(E){return E===4||E===2||E===1||E===6?1:0}E.getLanguageVariant=getLanguageVariant;function getEmitScriptTarget(E){return E.target||0}E.getEmitScriptTarget=getEmitScriptTarget;function getEmitModuleKind(N){return typeof N.module==="number"?N.module:getEmitScriptTarget(N)>=2?E.ModuleKind.ES2015:E.ModuleKind.CommonJS}E.getEmitModuleKind=getEmitModuleKind;function getEmitModuleResolutionKind(N){var R=N.moduleResolution;if(R===undefined){R=getEmitModuleKind(N)===E.ModuleKind.CommonJS?E.ModuleResolutionKind.NodeJs:E.ModuleResolutionKind.Classic}return R}E.getEmitModuleResolutionKind=getEmitModuleResolutionKind;function hasJsonModuleEmitEnabled(N){switch(getEmitModuleKind(N)){case E.ModuleKind.CommonJS:case E.ModuleKind.AMD:case E.ModuleKind.ES2015:case E.ModuleKind.ES2020:case E.ModuleKind.ESNext:return true;default:return false}}E.hasJsonModuleEmitEnabled=hasJsonModuleEmitEnabled;function unreachableCodeIsError(E){return E.allowUnreachableCode===false}E.unreachableCodeIsError=unreachableCodeIsError;function unusedLabelIsError(E){return E.allowUnusedLabels===false}E.unusedLabelIsError=unusedLabelIsError;function getAreDeclarationMapsEnabled(E){return!!(getEmitDeclarations(E)&&E.declarationMap)}E.getAreDeclarationMapsEnabled=getAreDeclarationMapsEnabled;function getAllowSyntheticDefaultImports(N){var R=getEmitModuleKind(N);return N.allowSyntheticDefaultImports!==undefined?N.allowSyntheticDefaultImports:N.esModuleInterop||R===E.ModuleKind.System}E.getAllowSyntheticDefaultImports=getAllowSyntheticDefaultImports;function getEmitDeclarations(E){return!!(E.declaration||E.composite)}E.getEmitDeclarations=getEmitDeclarations;function shouldPreserveConstEnums(E){return!!(E.preserveConstEnums||E.isolatedModules)}E.shouldPreserveConstEnums=shouldPreserveConstEnums;function isIncrementalCompilation(E){return!!(E.incremental||E.composite)}E.isIncrementalCompilation=isIncrementalCompilation;function getStrictOptionValue(E,N){return E[N]===undefined?!!E.strict:!!E[N]}E.getStrictOptionValue=getStrictOptionValue;function getAllowJSCompilerOption(E){return E.allowJs===undefined?!!E.checkJs:E.allowJs}E.getAllowJSCompilerOption=getAllowJSCompilerOption;function getUseDefineForClassFields(E){return E.useDefineForClassFields===undefined?E.target===99:E.useDefineForClassFields}E.getUseDefineForClassFields=getUseDefineForClassFields;function compilerOptionsAffectSemanticDiagnostics(N,R){return optionsHaveChanges(R,N,E.semanticDiagnosticsOptionDeclarations)}E.compilerOptionsAffectSemanticDiagnostics=compilerOptionsAffectSemanticDiagnostics;function compilerOptionsAffectEmit(N,R){return optionsHaveChanges(R,N,E.affectsEmitOptionDeclarations)}E.compilerOptionsAffectEmit=compilerOptionsAffectEmit;function getCompilerOptionValue(E,N){return N.strictFlag?getStrictOptionValue(E,N.name):E[N.name]}E.getCompilerOptionValue=getCompilerOptionValue;function getJSXTransformEnabled(E){var N=E.jsx;return N===2||N===4||N===5}E.getJSXTransformEnabled=getJSXTransformEnabled;function getJSXImplicitImportBase(N,R){var j=R===null||R===void 0?void 0:R.pragmas.get("jsximportsource");var $=E.isArray(j)?j[j.length-1]:j;return N.jsx===4||N.jsx===5||N.jsxImportSource||$?($===null||$===void 0?void 0:$.arguments.factory)||N.jsxImportSource||"react":undefined}E.getJSXImplicitImportBase=getJSXImplicitImportBase;function getJSXRuntimeImport(E,N){return E?E+"/"+(N.jsx===5?"jsx-dev-runtime":"jsx-runtime"):undefined}E.getJSXRuntimeImport=getJSXRuntimeImport;function hasZeroOrOneAsteriskCharacter(E){var N=false;for(var R=0;R0){ae+=")?";Ee--}return ae}function replaceWildcardCharacter(E,N){return E==="*"?N:E==="?"?"[^/]":"\\"+E}function getFileMatcherPatterns(N,R,j,$,q){N=E.normalizePath(N);q=E.normalizePath(q);var G=E.combinePaths(q,N);return{includeFilePatterns:E.map(getRegularExpressionsForWildcards(j,G,"files"),(function(E){return"^"+E+"$"})),includeFilePattern:getRegularExpressionForWildcard(j,G,"files"),includeDirectoryPattern:getRegularExpressionForWildcard(j,G,"directories"),excludePattern:getRegularExpressionForWildcard(R,G,"exclude"),basePaths:getBasePaths(N,j,$)}}E.getFileMatcherPatterns=getFileMatcherPatterns;function getRegexFromPattern(E,N){return new RegExp(E,N?"":"i")}E.getRegexFromPattern=getRegexFromPattern;function matchFiles(N,R,j,$,q,G,ie,ae,ce,le){N=E.normalizePath(N);G=E.normalizePath(G);var _e=getFileMatcherPatterns(N,j,$,q,G);var Ee=_e.includeFilePatterns&&_e.includeFilePatterns.map((function(E){return getRegexFromPattern(E,q)}));var Te=_e.includeDirectoryPattern&&getRegexFromPattern(_e.includeDirectoryPattern,q);var we=_e.excludePattern&&getRegexFromPattern(_e.excludePattern,q);var Ie=Ee?Ee.map((function(){return[]})):[[]];var Ne=new E.Map;var Me=E.createGetCanonicalFileName(q);for(var Le=0,Be=_e.basePaths;Le=0;j--){if(E.fileExtensionIs(N,R[j])){return adjustExtensionPriority(j,R)}}return 0}E.getExtensionPriority=getExtensionPriority;function adjustExtensionPriority(E,N){if(E<2){return 0}else if(E=0)}E.positionIsSynthesized=positionIsSynthesized;function extensionIsTS(E){return E===".ts"||E===".tsx"||E===".d.ts"}E.extensionIsTS=extensionIsTS;function resolutionExtensionIsTSOrJson(E){return extensionIsTS(E)||E===".json"}E.resolutionExtensionIsTSOrJson=resolutionExtensionIsTSOrJson;function extensionFromPath(N){var R=tryGetExtensionFromPath(N);return R!==undefined?R:E.Debug.fail("File "+N+" has unknown extension.")}E.extensionFromPath=extensionFromPath;function isAnySupportedFileExtension(E){return tryGetExtensionFromPath(E)!==undefined}E.isAnySupportedFileExtension=isAnySupportedFileExtension;function tryGetExtensionFromPath(N){return E.find(tt,(function(R){return E.fileExtensionIs(N,R)}))}E.tryGetExtensionFromPath=tryGetExtensionFromPath;function isCheckJsEnabledForFile(E,N){return E.checkJsDirective?E.checkJsDirective.enabled:N.checkJs}E.isCheckJsEnabledForFile=isCheckJsEnabledForFile;E.emptyFileSystemEntries={files:E.emptyArray,directories:E.emptyArray};function matchPatternOrExact(N,R){var j=[];for(var $=0,q=N;$$){$=G}}return{min:j,max:$}}E.minAndMax=minAndMax;function rangeOfNode(E){return{pos:getTokenPosOfNode(E),end:E.end}}E.rangeOfNode=rangeOfNode;function rangeOfTypeParameters(N,R){var j=R.pos-1;var $=E.skipTrivia(N.text,R.end)+1;return{pos:j,end:$}}E.rangeOfTypeParameters=rangeOfTypeParameters;function skipTypeChecking(E,N,R){return N.skipLibCheck&&E.isDeclarationFile||N.skipDefaultLibCheck&&E.hasNoDefaultLib||R.isSourceOfProjectReferenceRedirect(E.fileName)}E.skipTypeChecking=skipTypeChecking;function isJsonEqual(N,R){return N===R||typeof N==="object"&&N!==null&&typeof R==="object"&&R!==null&&E.equalOwnProperties(N,R,isJsonEqual)}E.isJsonEqual=isJsonEqual;function parsePseudoBigInt(E){var N;switch(E.charCodeAt(1)){case 98:case 66:N=1;break;case 111:case 79:N=3;break;case 120:case 88:N=4;break;default:var R=E.length-1;var j=0;while(E.charCodeAt(j)===48){j++}return E.slice(j,R)||"0"}var $=2,q=E.length-1;var G=(q-$)*N;var ie=new Uint16Array((G>>>4)+(G&15?1:0));for(var ae=q-1,ce=0;ae>=$;ae--,ce+=N){var le=ce>>>4;var _e=E.charCodeAt(ae);var Ee=_e<=57?_e-48:10+_e-(_e<=70?65:97);var Te=Ee<<(ce&15);ie[le]|=Te;var we=Te>>>16;if(we)ie[le+1]|=we}var Ie="";var Ne=ie.length-1;var Me=true;while(Me){var Le=0;Me=false;for(var le=Ne;le>=0;le--){var Be=Le<<16|ie[le];var je=Be/10|0;ie[le]=je;Le=Be-je*10;if(je&&!Me){Ne=le;Me=true}}Ie=Le+Ie}return Ie}E.parsePseudoBigInt=parsePseudoBigInt;function pseudoBigIntToString(E){var N=E.negative,R=E.base10Value;return(N&&R!=="0"?"-":"")+R}E.pseudoBigIntToString=pseudoBigIntToString;function isValidTypeOnlyAliasUseSite(E){return!!(E.flags&8388608)||isPartOfTypeQuery(E)||isIdentifierInNonEmittingHeritageClause(E)||isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E)||!(isExpressionNode(E)||isShorthandPropertyNameUseSite(E))}E.isValidTypeOnlyAliasUseSite=isValidTypeOnlyAliasUseSite;function typeOnlyDeclarationIsExport(E){return E.kind===273}E.typeOnlyDeclarationIsExport=typeOnlyDeclarationIsExport;function isShorthandPropertyNameUseSite(N){return E.isIdentifier(N)&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N}function isPartOfPossiblyValidTypeOrAbstractComputedPropertyName(E){while(E.kind===79||E.kind===204){E=E.parent}if(E.kind!==160){return false}if(hasSyntacticModifier(E.parent,128)){return true}var N=E.parent.parent.kind;return N===256||N===180}function isIdentifierInNonEmittingHeritageClause(N){if(N.kind!==79)return false;var R=E.findAncestor(N.parent,(function(E){switch(E.kind){case 289:return true;case 204:case 226:return false;default:return"quit"}}));return(R===null||R===void 0?void 0:R.token)===117||(R===null||R===void 0?void 0:R.parent.kind)===256}function isIdentifierTypeReference(N){return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)}E.isIdentifierTypeReference=isIdentifierTypeReference;function arrayIsHomogeneous(N,R){if(R===void 0){R=E.equateValues}if(N.length<2)return true;var j=N[0];for(var $=1,q=N.length;$3){return true}var ae=E.getExpressionPrecedence(ie);switch(E.compareValues(ae,q)){case-1:if(!j&&G===1&&R.kind===222){return false}return true;case 1:return false;case 0:if(j){return G===1}else{if(E.isBinaryExpression(ie)&&ie.operatorToken.kind===N){if(operatorHasAssociativeProperty(N)){return false}if(N===39){var ce=$?getLiteralKindOfBinaryPlusOperand($):0;if(E.isLiteralKind(ce)&&ce===getLiteralKindOfBinaryPlusOperand(ie)){return false}}}var le=E.getExpressionAssociativity(ie);return le===0}}}function operatorHasAssociativeProperty(E){return E===41||E===51||E===50||E===52}function getLiteralKindOfBinaryPlusOperand(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isLiteralKind(N.kind)){return N.kind}if(N.kind===219&&N.operatorToken.kind===39){if(N.cachedLiteralKind!==undefined){return N.cachedLiteralKind}var R=getLiteralKindOfBinaryPlusOperand(N.left);var j=E.isLiteralKind(R)&&R===getLiteralKindOfBinaryPlusOperand(N.right)?R:0;N.cachedLiteralKind=j;return j}return 0}function parenthesizeBinaryOperand(R,j,$,q){var G=E.skipPartiallyEmittedExpressions(j);if(G.kind===210){return j}return binaryOperandNeedsParentheses(R,j,$,q)?N.createParenthesizedExpression(j):j}function parenthesizeLeftSideOfBinary(E,N){return parenthesizeBinaryOperand(E,N,true)}function parenthesizeRightSideOfBinary(E,N,R){return parenthesizeBinaryOperand(E,R,false,N)}function parenthesizeExpressionOfComputedPropertyName(R){return E.isCommaSequence(R)?N.createParenthesizedExpression(R):R}function parenthesizeConditionOfConditionalExpression(R){var j=E.getOperatorPrecedence(220,57);var $=E.skipPartiallyEmittedExpressions(R);var q=E.getExpressionPrecedence($);if(E.compareValues(q,j)!==1){return N.createParenthesizedExpression(R)}return R}function parenthesizeBranchOfConditionalExpression(R){var j=E.skipPartiallyEmittedExpressions(R);return E.isCommaSequence(j)?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfExportDefault(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.isCommaSequence(j);if(!$){switch(E.getLeftmostExpression(j,false).kind){case 224:case 211:$=true}}return $?N.createParenthesizedExpression(R):R}function parenthesizeExpressionOfNew(R){var j=E.getLeftmostExpression(R,true);switch(j.kind){case 206:return N.createParenthesizedExpression(R);case 207:return!j.arguments?N.createParenthesizedExpression(R):R}return parenthesizeLeftSideOfAccess(R)}function parenthesizeLeftSideOfAccess(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isLeftHandSideExpression(j)&&(j.kind!==207||j.arguments)){return R}return E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPostfixUnary(R){return E.isLeftHandSideExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeOperandOfPrefixUnary(R){return E.isUnaryExpression(R)?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionsOfCommaDelimitedList(R){var j=E.sameMap(R,parenthesizeExpressionForDisallowedComma);return E.setTextRange(N.createNodeArray(j,R.hasTrailingComma),R)}function parenthesizeExpressionForDisallowedComma(R){var j=E.skipPartiallyEmittedExpressions(R);var $=E.getExpressionPrecedence(j);var q=E.getOperatorPrecedence(219,27);return $>q?R:E.setTextRange(N.createParenthesizedExpression(R),R)}function parenthesizeExpressionOfExpressionStatement(R){var j=E.skipPartiallyEmittedExpressions(R);if(E.isCallExpression(j)){var $=j.expression;var q=E.skipPartiallyEmittedExpressions($).kind;if(q===211||q===212){var G=N.updateCallExpression(j,E.setTextRange(N.createParenthesizedExpression($),$),j.typeArguments,j.arguments);return N.restoreOuterExpressions(R,G,8)}}var ie=E.getLeftmostExpression(j,false).kind;if(ie===203||ie===211){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeConciseBodyOfArrowFunction(R){if(!E.isBlock(R)&&(E.isCommaSequence(R)||E.getLeftmostExpression(R,false).kind===203)){return E.setTextRange(N.createParenthesizedExpression(R),R)}return R}function parenthesizeMemberOfConditionalType(E){return E.kind===187?N.createParenthesizedType(E):E}function parenthesizeMemberOfElementType(E){switch(E.kind){case 185:case 186:case 177:case 178:return N.createParenthesizedType(E)}return parenthesizeMemberOfConditionalType(E)}function parenthesizeElementTypeOfArrayType(E){switch(E.kind){case 179:case 191:case 188:return N.createParenthesizedType(E)}return parenthesizeMemberOfElementType(E)}function parenthesizeConstituentTypesOfUnionOrIntersectionType(R){return N.createNodeArray(E.sameMap(R,parenthesizeMemberOfElementType))}function parenthesizeOrdinalTypeArgument(R,j){return j===0&&E.isFunctionOrConstructorTypeNode(R)&&R.typeParameters?N.createParenthesizedType(R):R}function parenthesizeTypeArguments(R){if(E.some(R)){return N.createNodeArray(E.sameMap(R,parenthesizeOrdinalTypeArgument))}}}E.createParenthesizerRules=createParenthesizerRules;E.nullParenthesizerRules={getParenthesizeLeftSideOfBinaryForOperator:function(N){return E.identity},getParenthesizeRightSideOfBinaryForOperator:function(N){return E.identity},parenthesizeLeftSideOfBinary:function(E,N){return N},parenthesizeRightSideOfBinary:function(E,N,R){return R},parenthesizeExpressionOfComputedPropertyName:E.identity,parenthesizeConditionOfConditionalExpression:E.identity,parenthesizeBranchOfConditionalExpression:E.identity,parenthesizeExpressionOfExportDefault:E.identity,parenthesizeExpressionOfNew:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeLeftSideOfAccess:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPostfixUnary:function(N){return E.cast(N,E.isLeftHandSideExpression)},parenthesizeOperandOfPrefixUnary:function(N){return E.cast(N,E.isUnaryExpression)},parenthesizeExpressionsOfCommaDelimitedList:function(N){return E.cast(N,E.isNodeArray)},parenthesizeExpressionForDisallowedComma:E.identity,parenthesizeExpressionOfExpressionStatement:E.identity,parenthesizeConciseBodyOfArrowFunction:E.identity,parenthesizeMemberOfConditionalType:E.identity,parenthesizeMemberOfElementType:E.identity,parenthesizeElementTypeOfArrayType:E.identity,parenthesizeConstituentTypesOfUnionOrIntersectionType:function(N){return E.cast(N,E.isNodeArray)},parenthesizeTypeArguments:function(N){return N&&E.cast(N,E.isNodeArray)}}})(ce||(ce={}));var ce;(function(E){function createNodeConverters(N){return{convertToFunctionBlock:convertToFunctionBlock,convertToFunctionExpression:convertToFunctionExpression,convertToArrayAssignmentElement:convertToArrayAssignmentElement,convertToObjectAssignmentElement:convertToObjectAssignmentElement,convertToAssignmentPattern:convertToAssignmentPattern,convertToObjectAssignmentPattern:convertToObjectAssignmentPattern,convertToArrayAssignmentPattern:convertToArrayAssignmentPattern,convertToAssignmentElementTarget:convertToAssignmentElementTarget};function convertToFunctionBlock(R,j){if(E.isBlock(R))return R;var $=N.createReturnStatement(R);E.setTextRange($,R);var q=N.createBlock([$],j);E.setTextRange(q,R);return q}function convertToFunctionExpression(R){if(!R.body)return E.Debug.fail("Cannot convert a FunctionDeclaration without a body");var j=N.createFunctionExpression(R.modifiers,R.asteriskToken,R.name,R.typeParameters,R.parameters,R.type,R.body);E.setOriginalNode(j,R);E.setTextRange(j,R);if(E.getStartsOnNewLine(R)){E.setStartsOnNewLine(j,true)}return j}function convertToArrayAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadElement(R.name),R),R)}var j=convertToAssignmentElementTarget(R.name);return R.initializer?E.setOriginalNode(E.setTextRange(N.createAssignment(j,R.initializer),R),R):j}return E.cast(R,E.isExpression)}function convertToObjectAssignmentElement(R){if(E.isBindingElement(R)){if(R.dotDotDotToken){E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createSpreadAssignment(R.name),R),R)}if(R.propertyName){var j=convertToAssignmentElementTarget(R.name);return E.setOriginalNode(E.setTextRange(N.createPropertyAssignment(R.propertyName,R.initializer?N.createAssignment(j,R.initializer):j),R),R)}E.Debug.assertNode(R.name,E.isIdentifier);return E.setOriginalNode(E.setTextRange(N.createShorthandPropertyAssignment(R.name,R.initializer),R),R)}return E.cast(R,E.isObjectLiteralElementLike)}function convertToAssignmentPattern(E){switch(E.kind){case 200:case 202:return convertToArrayAssignmentPattern(E);case 199:case 203:return convertToObjectAssignmentPattern(E)}}function convertToObjectAssignmentPattern(R){if(E.isObjectBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createObjectLiteralExpression(E.map(R.elements,convertToObjectAssignmentElement)),R),R)}return E.cast(R,E.isObjectLiteralExpression)}function convertToArrayAssignmentPattern(R){if(E.isArrayBindingPattern(R)){return E.setOriginalNode(E.setTextRange(N.createArrayLiteralExpression(E.map(R.elements,convertToArrayAssignmentElement)),R),R)}return E.cast(R,E.isArrayLiteralExpression)}function convertToAssignmentElementTarget(N){if(E.isBindingPattern(N)){return convertToAssignmentPattern(N)}return E.cast(N,E.isExpression)}}E.createNodeConverters=createNodeConverters;E.nullNodeConverters={convertToFunctionBlock:E.notImplemented,convertToFunctionExpression:E.notImplemented,convertToArrayAssignmentElement:E.notImplemented,convertToObjectAssignmentElement:E.notImplemented,convertToAssignmentPattern:E.notImplemented,convertToObjectAssignmentPattern:E.notImplemented,convertToArrayAssignmentPattern:E.notImplemented,convertToAssignmentElementTarget:E.notImplemented}})(ce||(ce={}));var ce;(function(E){var N=0;var R;(function(E){E[E["None"]=0]="None";E[E["NoParenthesizerRules"]=1]="NoParenthesizerRules";E[E["NoNodeConverters"]=2]="NoNodeConverters";E[E["NoIndentationOnFreshPropertyAccess"]=4]="NoIndentationOnFreshPropertyAccess";E[E["NoOriginalNode"]=8]="NoOriginalNode"})(R=E.NodeFactoryFlags||(E.NodeFactoryFlags={}));function createNodeFactory(R,$){var q=R&8?updateWithoutOriginal:updateWithOriginal;var G=E.memoize((function(){return R&1?E.nullParenthesizerRules:E.createParenthesizerRules(Le)}));var ie=E.memoize((function(){return R&2?E.nullNodeConverters:E.createNodeConverters(Le)}));var ae=E.memoizeOne((function(E){return function(N,R){return createBinaryExpression(N,E,R)}}));var ce=E.memoizeOne((function(E){return function(N){return createPrefixUnaryExpression(E,N)}}));var le=E.memoizeOne((function(E){return function(N){return createPostfixUnaryExpression(N,E)}}));var _e=E.memoizeOne((function(E){return function(){return createJSDocPrimaryTypeWorker(E)}}));var Ee=E.memoizeOne((function(E){return function(N){return createJSDocUnaryTypeWorker(E,N)}}));var Te=E.memoizeOne((function(E){return function(N,R){return updateJSDocUnaryTypeWorker(E,N,R)}}));var we=E.memoizeOne((function(E){return function(N,R){return createJSDocSimpleTagWorker(E,N,R)}}));var Ie=E.memoizeOne((function(E){return function(N,R,j){return updateJSDocSimpleTagWorker(E,N,R,j)}}));var Ne=E.memoizeOne((function(E){return function(N,R,j){return createJSDocTypeLikeTagWorker(E,N,R,j)}}));var Me=E.memoizeOne((function(E){return function(N,R,j,$){return updateJSDocTypeLikeTagWorker(E,N,R,j,$)}}));var Le={get parenthesizer(){return G()},get converters(){return ie()},createNodeArray:createNodeArray,createNumericLiteral:createNumericLiteral,createBigIntLiteral:createBigIntLiteral,createStringLiteral:createStringLiteral,createStringLiteralFromNode:createStringLiteralFromNode,createRegularExpressionLiteral:createRegularExpressionLiteral,createLiteralLikeNode:createLiteralLikeNode,createIdentifier:createIdentifier,updateIdentifier:updateIdentifier,createTempVariable:createTempVariable,createLoopVariable:createLoopVariable,createUniqueName:createUniqueName,getGeneratedNameForNode:getGeneratedNameForNode,createPrivateIdentifier:createPrivateIdentifier,createToken:createToken,createSuper:createSuper,createThis:createThis,createNull:createNull,createTrue:createTrue,createFalse:createFalse,createModifier:createModifier,createModifiersFromModifierFlags:createModifiersFromModifierFlags,createQualifiedName:createQualifiedName,updateQualifiedName:updateQualifiedName,createComputedPropertyName:createComputedPropertyName,updateComputedPropertyName:updateComputedPropertyName,createTypeParameterDeclaration:createTypeParameterDeclaration,updateTypeParameterDeclaration:updateTypeParameterDeclaration,createParameterDeclaration:createParameterDeclaration,updateParameterDeclaration:updateParameterDeclaration,createDecorator:createDecorator,updateDecorator:updateDecorator,createPropertySignature:createPropertySignature,updatePropertySignature:updatePropertySignature,createPropertyDeclaration:createPropertyDeclaration,updatePropertyDeclaration:updatePropertyDeclaration,createMethodSignature:createMethodSignature,updateMethodSignature:updateMethodSignature,createMethodDeclaration:createMethodDeclaration,updateMethodDeclaration:updateMethodDeclaration,createConstructorDeclaration:createConstructorDeclaration,updateConstructorDeclaration:updateConstructorDeclaration,createGetAccessorDeclaration:createGetAccessorDeclaration,updateGetAccessorDeclaration:updateGetAccessorDeclaration,createSetAccessorDeclaration:createSetAccessorDeclaration,updateSetAccessorDeclaration:updateSetAccessorDeclaration,createCallSignature:createCallSignature,updateCallSignature:updateCallSignature,createConstructSignature:createConstructSignature,updateConstructSignature:updateConstructSignature,createIndexSignature:createIndexSignature,updateIndexSignature:updateIndexSignature,createClassStaticBlockDeclaration:createClassStaticBlockDeclaration,updateClassStaticBlockDeclaration:updateClassStaticBlockDeclaration,createTemplateLiteralTypeSpan:createTemplateLiteralTypeSpan,updateTemplateLiteralTypeSpan:updateTemplateLiteralTypeSpan,createKeywordTypeNode:createKeywordTypeNode,createTypePredicateNode:createTypePredicateNode,updateTypePredicateNode:updateTypePredicateNode,createTypeReferenceNode:createTypeReferenceNode,updateTypeReferenceNode:updateTypeReferenceNode,createFunctionTypeNode:createFunctionTypeNode,updateFunctionTypeNode:updateFunctionTypeNode,createConstructorTypeNode:createConstructorTypeNode,updateConstructorTypeNode:updateConstructorTypeNode,createTypeQueryNode:createTypeQueryNode,updateTypeQueryNode:updateTypeQueryNode,createTypeLiteralNode:createTypeLiteralNode,updateTypeLiteralNode:updateTypeLiteralNode,createArrayTypeNode:createArrayTypeNode,updateArrayTypeNode:updateArrayTypeNode,createTupleTypeNode:createTupleTypeNode,updateTupleTypeNode:updateTupleTypeNode,createNamedTupleMember:createNamedTupleMember,updateNamedTupleMember:updateNamedTupleMember,createOptionalTypeNode:createOptionalTypeNode,updateOptionalTypeNode:updateOptionalTypeNode,createRestTypeNode:createRestTypeNode,updateRestTypeNode:updateRestTypeNode,createUnionTypeNode:createUnionTypeNode,updateUnionTypeNode:updateUnionTypeNode,createIntersectionTypeNode:createIntersectionTypeNode,updateIntersectionTypeNode:updateIntersectionTypeNode,createConditionalTypeNode:createConditionalTypeNode,updateConditionalTypeNode:updateConditionalTypeNode,createInferTypeNode:createInferTypeNode,updateInferTypeNode:updateInferTypeNode,createImportTypeNode:createImportTypeNode,updateImportTypeNode:updateImportTypeNode,createParenthesizedType:createParenthesizedType,updateParenthesizedType:updateParenthesizedType,createThisTypeNode:createThisTypeNode,createTypeOperatorNode:createTypeOperatorNode,updateTypeOperatorNode:updateTypeOperatorNode,createIndexedAccessTypeNode:createIndexedAccessTypeNode,updateIndexedAccessTypeNode:updateIndexedAccessTypeNode,createMappedTypeNode:createMappedTypeNode,updateMappedTypeNode:updateMappedTypeNode,createLiteralTypeNode:createLiteralTypeNode,updateLiteralTypeNode:updateLiteralTypeNode,createTemplateLiteralType:createTemplateLiteralType,updateTemplateLiteralType:updateTemplateLiteralType,createObjectBindingPattern:createObjectBindingPattern,updateObjectBindingPattern:updateObjectBindingPattern,createArrayBindingPattern:createArrayBindingPattern,updateArrayBindingPattern:updateArrayBindingPattern,createBindingElement:createBindingElement,updateBindingElement:updateBindingElement,createArrayLiteralExpression:createArrayLiteralExpression,updateArrayLiteralExpression:updateArrayLiteralExpression,createObjectLiteralExpression:createObjectLiteralExpression,updateObjectLiteralExpression:updateObjectLiteralExpression,createPropertyAccessExpression:R&4?function(N,R){return E.setEmitFlags(createPropertyAccessExpression(N,R),131072)}:createPropertyAccessExpression,updatePropertyAccessExpression:updatePropertyAccessExpression,createPropertyAccessChain:R&4?function(N,R,j){return E.setEmitFlags(createPropertyAccessChain(N,R,j),131072)}:createPropertyAccessChain,updatePropertyAccessChain:updatePropertyAccessChain,createElementAccessExpression:createElementAccessExpression,updateElementAccessExpression:updateElementAccessExpression,createElementAccessChain:createElementAccessChain,updateElementAccessChain:updateElementAccessChain,createCallExpression:createCallExpression,updateCallExpression:updateCallExpression,createCallChain:createCallChain,updateCallChain:updateCallChain,createNewExpression:createNewExpression,updateNewExpression:updateNewExpression,createTaggedTemplateExpression:createTaggedTemplateExpression,updateTaggedTemplateExpression:updateTaggedTemplateExpression,createTypeAssertion:createTypeAssertion,updateTypeAssertion:updateTypeAssertion,createParenthesizedExpression:createParenthesizedExpression,updateParenthesizedExpression:updateParenthesizedExpression,createFunctionExpression:createFunctionExpression,updateFunctionExpression:updateFunctionExpression,createArrowFunction:createArrowFunction,updateArrowFunction:updateArrowFunction,createDeleteExpression:createDeleteExpression,updateDeleteExpression:updateDeleteExpression,createTypeOfExpression:createTypeOfExpression,updateTypeOfExpression:updateTypeOfExpression,createVoidExpression:createVoidExpression,updateVoidExpression:updateVoidExpression,createAwaitExpression:createAwaitExpression,updateAwaitExpression:updateAwaitExpression,createPrefixUnaryExpression:createPrefixUnaryExpression,updatePrefixUnaryExpression:updatePrefixUnaryExpression,createPostfixUnaryExpression:createPostfixUnaryExpression,updatePostfixUnaryExpression:updatePostfixUnaryExpression,createBinaryExpression:createBinaryExpression,updateBinaryExpression:updateBinaryExpression,createConditionalExpression:createConditionalExpression,updateConditionalExpression:updateConditionalExpression,createTemplateExpression:createTemplateExpression,updateTemplateExpression:updateTemplateExpression,createTemplateHead:createTemplateHead,createTemplateMiddle:createTemplateMiddle,createTemplateTail:createTemplateTail,createNoSubstitutionTemplateLiteral:createNoSubstitutionTemplateLiteral,createTemplateLiteralLikeNode:createTemplateLiteralLikeNode,createYieldExpression:createYieldExpression,updateYieldExpression:updateYieldExpression,createSpreadElement:createSpreadElement,updateSpreadElement:updateSpreadElement,createClassExpression:createClassExpression,updateClassExpression:updateClassExpression,createOmittedExpression:createOmittedExpression,createExpressionWithTypeArguments:createExpressionWithTypeArguments,updateExpressionWithTypeArguments:updateExpressionWithTypeArguments,createAsExpression:createAsExpression,updateAsExpression:updateAsExpression,createNonNullExpression:createNonNullExpression,updateNonNullExpression:updateNonNullExpression,createNonNullChain:createNonNullChain,updateNonNullChain:updateNonNullChain,createMetaProperty:createMetaProperty,updateMetaProperty:updateMetaProperty,createTemplateSpan:createTemplateSpan,updateTemplateSpan:updateTemplateSpan,createSemicolonClassElement:createSemicolonClassElement,createBlock:createBlock,updateBlock:updateBlock,createVariableStatement:createVariableStatement,updateVariableStatement:updateVariableStatement,createEmptyStatement:createEmptyStatement,createExpressionStatement:createExpressionStatement,updateExpressionStatement:updateExpressionStatement,createIfStatement:createIfStatement,updateIfStatement:updateIfStatement,createDoStatement:createDoStatement,updateDoStatement:updateDoStatement,createWhileStatement:createWhileStatement,updateWhileStatement:updateWhileStatement,createForStatement:createForStatement,updateForStatement:updateForStatement,createForInStatement:createForInStatement,updateForInStatement:updateForInStatement,createForOfStatement:createForOfStatement,updateForOfStatement:updateForOfStatement,createContinueStatement:createContinueStatement,updateContinueStatement:updateContinueStatement,createBreakStatement:createBreakStatement,updateBreakStatement:updateBreakStatement,createReturnStatement:createReturnStatement,updateReturnStatement:updateReturnStatement,createWithStatement:createWithStatement,updateWithStatement:updateWithStatement,createSwitchStatement:createSwitchStatement,updateSwitchStatement:updateSwitchStatement,createLabeledStatement:createLabeledStatement,updateLabeledStatement:updateLabeledStatement,createThrowStatement:createThrowStatement,updateThrowStatement:updateThrowStatement,createTryStatement:createTryStatement,updateTryStatement:updateTryStatement,createDebuggerStatement:createDebuggerStatement,createVariableDeclaration:createVariableDeclaration,updateVariableDeclaration:updateVariableDeclaration,createVariableDeclarationList:createVariableDeclarationList,updateVariableDeclarationList:updateVariableDeclarationList,createFunctionDeclaration:createFunctionDeclaration,updateFunctionDeclaration:updateFunctionDeclaration,createClassDeclaration:createClassDeclaration,updateClassDeclaration:updateClassDeclaration,createInterfaceDeclaration:createInterfaceDeclaration,updateInterfaceDeclaration:updateInterfaceDeclaration,createTypeAliasDeclaration:createTypeAliasDeclaration,updateTypeAliasDeclaration:updateTypeAliasDeclaration,createEnumDeclaration:createEnumDeclaration,updateEnumDeclaration:updateEnumDeclaration,createModuleDeclaration:createModuleDeclaration,updateModuleDeclaration:updateModuleDeclaration,createModuleBlock:createModuleBlock,updateModuleBlock:updateModuleBlock,createCaseBlock:createCaseBlock,updateCaseBlock:updateCaseBlock,createNamespaceExportDeclaration:createNamespaceExportDeclaration,updateNamespaceExportDeclaration:updateNamespaceExportDeclaration,createImportEqualsDeclaration:createImportEqualsDeclaration,updateImportEqualsDeclaration:updateImportEqualsDeclaration,createImportDeclaration:createImportDeclaration,updateImportDeclaration:updateImportDeclaration,createImportClause:createImportClause,updateImportClause:updateImportClause,createNamespaceImport:createNamespaceImport,updateNamespaceImport:updateNamespaceImport,createNamespaceExport:createNamespaceExport,updateNamespaceExport:updateNamespaceExport,createNamedImports:createNamedImports,updateNamedImports:updateNamedImports,createImportSpecifier:createImportSpecifier,updateImportSpecifier:updateImportSpecifier,createExportAssignment:createExportAssignment,updateExportAssignment:updateExportAssignment,createExportDeclaration:createExportDeclaration,updateExportDeclaration:updateExportDeclaration,createNamedExports:createNamedExports,updateNamedExports:updateNamedExports,createExportSpecifier:createExportSpecifier,updateExportSpecifier:updateExportSpecifier,createMissingDeclaration:createMissingDeclaration,createExternalModuleReference:createExternalModuleReference,updateExternalModuleReference:updateExternalModuleReference,get createJSDocAllType(){return _e(307)},get createJSDocUnknownType(){return _e(308)},get createJSDocNonNullableType(){return Ee(310)},get updateJSDocNonNullableType(){return Te(310)},get createJSDocNullableType(){return Ee(309)},get updateJSDocNullableType(){return Te(309)},get createJSDocOptionalType(){return Ee(311)},get updateJSDocOptionalType(){return Te(311)},get createJSDocVariadicType(){return Ee(313)},get updateJSDocVariadicType(){return Te(313)},get createJSDocNamepathType(){return Ee(314)},get updateJSDocNamepathType(){return Te(314)},createJSDocFunctionType:createJSDocFunctionType,updateJSDocFunctionType:updateJSDocFunctionType,createJSDocTypeLiteral:createJSDocTypeLiteral,updateJSDocTypeLiteral:updateJSDocTypeLiteral,createJSDocTypeExpression:createJSDocTypeExpression,updateJSDocTypeExpression:updateJSDocTypeExpression,createJSDocSignature:createJSDocSignature,updateJSDocSignature:updateJSDocSignature,createJSDocTemplateTag:createJSDocTemplateTag,updateJSDocTemplateTag:updateJSDocTemplateTag,createJSDocTypedefTag:createJSDocTypedefTag,updateJSDocTypedefTag:updateJSDocTypedefTag,createJSDocParameterTag:createJSDocParameterTag,updateJSDocParameterTag:updateJSDocParameterTag,createJSDocPropertyTag:createJSDocPropertyTag,updateJSDocPropertyTag:updateJSDocPropertyTag,createJSDocCallbackTag:createJSDocCallbackTag,updateJSDocCallbackTag:updateJSDocCallbackTag,createJSDocAugmentsTag:createJSDocAugmentsTag,updateJSDocAugmentsTag:updateJSDocAugmentsTag,createJSDocImplementsTag:createJSDocImplementsTag,updateJSDocImplementsTag:updateJSDocImplementsTag,createJSDocSeeTag:createJSDocSeeTag,updateJSDocSeeTag:updateJSDocSeeTag,createJSDocNameReference:createJSDocNameReference,updateJSDocNameReference:updateJSDocNameReference,createJSDocMemberName:createJSDocMemberName,updateJSDocMemberName:updateJSDocMemberName,createJSDocLink:createJSDocLink,updateJSDocLink:updateJSDocLink,createJSDocLinkCode:createJSDocLinkCode,updateJSDocLinkCode:updateJSDocLinkCode,createJSDocLinkPlain:createJSDocLinkPlain,updateJSDocLinkPlain:updateJSDocLinkPlain,get createJSDocTypeTag(){return Ne(338)},get updateJSDocTypeTag(){return Me(338)},get createJSDocReturnTag(){return Ne(336)},get updateJSDocReturnTag(){return Me(336)},get createJSDocThisTag(){return Ne(337)},get updateJSDocThisTag(){return Me(337)},get createJSDocEnumTag(){return Ne(334)},get updateJSDocEnumTag(){return Me(334)},get createJSDocAuthorTag(){return we(325)},get updateJSDocAuthorTag(){return Ie(325)},get createJSDocClassTag(){return we(327)},get updateJSDocClassTag(){return Ie(327)},get createJSDocPublicTag(){return we(328)},get updateJSDocPublicTag(){return Ie(328)},get createJSDocPrivateTag(){return we(329)},get updateJSDocPrivateTag(){return Ie(329)},get createJSDocProtectedTag(){return we(330)},get updateJSDocProtectedTag(){return Ie(330)},get createJSDocReadonlyTag(){return we(331)},get updateJSDocReadonlyTag(){return Ie(331)},get createJSDocOverrideTag(){return we(332)},get updateJSDocOverrideTag(){return Ie(332)},get createJSDocDeprecatedTag(){return we(326)},get updateJSDocDeprecatedTag(){return Ie(326)},createJSDocUnknownTag:createJSDocUnknownTag,updateJSDocUnknownTag:updateJSDocUnknownTag,createJSDocText:createJSDocText,updateJSDocText:updateJSDocText,createJSDocComment:createJSDocComment,updateJSDocComment:updateJSDocComment,createJsxElement:createJsxElement,updateJsxElement:updateJsxElement,createJsxSelfClosingElement:createJsxSelfClosingElement,updateJsxSelfClosingElement:updateJsxSelfClosingElement,createJsxOpeningElement:createJsxOpeningElement,updateJsxOpeningElement:updateJsxOpeningElement,createJsxClosingElement:createJsxClosingElement,updateJsxClosingElement:updateJsxClosingElement,createJsxFragment:createJsxFragment,createJsxText:createJsxText,updateJsxText:updateJsxText,createJsxOpeningFragment:createJsxOpeningFragment,createJsxJsxClosingFragment:createJsxJsxClosingFragment,updateJsxFragment:updateJsxFragment,createJsxAttribute:createJsxAttribute,updateJsxAttribute:updateJsxAttribute,createJsxAttributes:createJsxAttributes,updateJsxAttributes:updateJsxAttributes,createJsxSpreadAttribute:createJsxSpreadAttribute,updateJsxSpreadAttribute:updateJsxSpreadAttribute,createJsxExpression:createJsxExpression,updateJsxExpression:updateJsxExpression,createCaseClause:createCaseClause,updateCaseClause:updateCaseClause,createDefaultClause:createDefaultClause,updateDefaultClause:updateDefaultClause,createHeritageClause:createHeritageClause,updateHeritageClause:updateHeritageClause,createCatchClause:createCatchClause,updateCatchClause:updateCatchClause,createPropertyAssignment:createPropertyAssignment,updatePropertyAssignment:updatePropertyAssignment,createShorthandPropertyAssignment:createShorthandPropertyAssignment,updateShorthandPropertyAssignment:updateShorthandPropertyAssignment,createSpreadAssignment:createSpreadAssignment,updateSpreadAssignment:updateSpreadAssignment,createEnumMember:createEnumMember,updateEnumMember:updateEnumMember,createSourceFile:createSourceFile,updateSourceFile:updateSourceFile,createBundle:createBundle,updateBundle:updateBundle,createUnparsedSource:createUnparsedSource,createUnparsedPrologue:createUnparsedPrologue,createUnparsedPrepend:createUnparsedPrepend,createUnparsedTextLike:createUnparsedTextLike,createUnparsedSyntheticReference:createUnparsedSyntheticReference,createInputFiles:createInputFiles,createSyntheticExpression:createSyntheticExpression,createSyntaxList:createSyntaxList,createNotEmittedStatement:createNotEmittedStatement,createPartiallyEmittedExpression:createPartiallyEmittedExpression,updatePartiallyEmittedExpression:updatePartiallyEmittedExpression,createCommaListExpression:createCommaListExpression,updateCommaListExpression:updateCommaListExpression,createEndOfDeclarationMarker:createEndOfDeclarationMarker,createMergeDeclarationMarker:createMergeDeclarationMarker,createSyntheticReferenceExpression:createSyntheticReferenceExpression,updateSyntheticReferenceExpression:updateSyntheticReferenceExpression,cloneNode:cloneNode,get createComma(){return ae(27)},get createAssignment(){return ae(63)},get createLogicalOr(){return ae(56)},get createLogicalAnd(){return ae(55)},get createBitwiseOr(){return ae(51)},get createBitwiseXor(){return ae(52)},get createBitwiseAnd(){return ae(50)},get createStrictEquality(){return ae(36)},get createStrictInequality(){return ae(37)},get createEquality(){return ae(34)},get createInequality(){return ae(35)},get createLessThan(){return ae(29)},get createLessThanEquals(){return ae(32)},get createGreaterThan(){return ae(31)},get createGreaterThanEquals(){return ae(33)},get createLeftShift(){return ae(47)},get createRightShift(){return ae(48)},get createUnsignedRightShift(){return ae(49)},get createAdd(){return ae(39)},get createSubtract(){return ae(40)},get createMultiply(){return ae(41)},get createDivide(){return ae(43)},get createModulo(){return ae(44)},get createExponent(){return ae(42)},get createPrefixPlus(){return ce(39)},get createPrefixMinus(){return ce(40)},get createPrefixIncrement(){return ce(45)},get createPrefixDecrement(){return ce(46)},get createBitwiseNot(){return ce(54)},get createLogicalNot(){return ce(53)},get createPostfixIncrement(){return le(45)},get createPostfixDecrement(){return le(46)},createImmediatelyInvokedFunctionExpression:createImmediatelyInvokedFunctionExpression,createImmediatelyInvokedArrowFunction:createImmediatelyInvokedArrowFunction,createVoidZero:createVoidZero,createExportDefault:createExportDefault,createExternalModuleExport:createExternalModuleExport,createTypeCheck:createTypeCheck,createMethodCall:createMethodCall,createGlobalMethodCall:createGlobalMethodCall,createFunctionBindCall:createFunctionBindCall,createFunctionCallCall:createFunctionCallCall,createFunctionApplyCall:createFunctionApplyCall,createArraySliceCall:createArraySliceCall,createArrayConcatCall:createArrayConcatCall,createObjectDefinePropertyCall:createObjectDefinePropertyCall,createReflectGetCall:createReflectGetCall,createReflectSetCall:createReflectSetCall,createPropertyDescriptor:createPropertyDescriptor,createCallBinding:createCallBinding,createAssignmentTargetWrapper:createAssignmentTargetWrapper,inlineExpressions:inlineExpressions,getInternalName:getInternalName,getLocalName:getLocalName,getExportName:getExportName,getDeclarationName:getDeclarationName,getNamespaceMemberName:getNamespaceMemberName,getExternalModuleOrNamespaceExportName:getExternalModuleOrNamespaceExportName,restoreOuterExpressions:restoreOuterExpressions,restoreEnclosingLabel:restoreEnclosingLabel,createUseStrictPrologue:createUseStrictPrologue,copyPrologue:copyPrologue,copyStandardPrologue:copyStandardPrologue,copyCustomPrologue:copyCustomPrologue,ensureUseStrict:ensureUseStrict,liftToBlock:liftToBlock,mergeLexicalEnvironment:mergeLexicalEnvironment,updateModifiers:updateModifiers};return Le;function createNodeArray(N,R){if(N===undefined||N===E.emptyArray){N=[]}else if(E.isNodeArray(N)){if(R===undefined||N.hasTrailingComma===R){if(N.transformFlags===undefined){aggregateChildrenFlags(N)}E.Debug.attachNodeArrayDebugInfo(N);return N}var j=N.slice();j.pos=N.pos;j.end=N.end;j.hasTrailingComma=R;j.transformFlags=N.transformFlags;E.Debug.attachNodeArrayDebugInfo(j);return j}var $=N.length;var q=$>=1&&$<=4?N.slice():N;E.setTextRangePosEnd(q,-1,-1);q.hasTrailingComma=!!R;aggregateChildrenFlags(q);E.Debug.attachNodeArrayDebugInfo(q);return q}function createBaseNode(E){return $.createBaseNode(E)}function createBaseDeclaration(E,N,R){var j=createBaseNode(E);j.decorators=asNodeArray(N);j.modifiers=asNodeArray(R);j.transformFlags|=propagateChildrenFlags(j.decorators)|propagateChildrenFlags(j.modifiers);j.symbol=undefined;j.localSymbol=undefined;j.locals=undefined;j.nextContainer=undefined;return j}function createBaseNamedDeclaration(N,R,j,$){var q=createBaseDeclaration(N,R,j);$=asName($);q.name=$;if($){switch(q.kind){case 167:case 170:case 171:case 165:case 291:if(E.isIdentifier($)){q.transformFlags|=propagateIdentifierNameFlags($);break}default:q.transformFlags|=propagateChildFlags($);break}}return q}function createBaseGenericNamedDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.typeParameters=asNodeArray($);q.transformFlags|=propagateChildrenFlags(q.typeParameters);if($)q.transformFlags|=1;return q}function createBaseSignatureDeclaration(E,N,R,j,$,q,G){var ie=createBaseGenericNamedDeclaration(E,N,R,j,$);ie.parameters=createNodeArray(q);ie.type=G;ie.transformFlags|=propagateChildrenFlags(ie.parameters)|propagateChildFlags(ie.type);if(G)ie.transformFlags|=1;return ie}function updateBaseSignatureDeclaration(E,N){if(N.typeArguments)E.typeArguments=N.typeArguments;return q(E,N)}function createBaseFunctionLikeDeclaration(E,N,R,j,$,q,G,ie){var ae=createBaseSignatureDeclaration(E,N,R,j,$,q,G);ae.body=ie;ae.transformFlags|=propagateChildFlags(ae.body)&~16777216;if(!ie)ae.transformFlags|=1;return ae}function updateBaseFunctionLikeDeclaration(E,N){if(N.exclamationToken)E.exclamationToken=N.exclamationToken;if(N.typeArguments)E.typeArguments=N.typeArguments;return updateBaseSignatureDeclaration(E,N)}function createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q){var G=createBaseGenericNamedDeclaration(E,N,R,j,$);G.heritageClauses=asNodeArray(q);G.transformFlags|=propagateChildrenFlags(G.heritageClauses);return G}function createBaseClassLikeDeclaration(E,N,R,j,$,q,G){var ie=createBaseInterfaceOrClassLikeDeclaration(E,N,R,j,$,q);ie.members=createNodeArray(G);ie.transformFlags|=propagateChildrenFlags(ie.members);return ie}function createBaseBindingLikeDeclaration(E,N,R,j,$){var q=createBaseNamedDeclaration(E,N,R,j);q.initializer=$;q.transformFlags|=propagateChildFlags(q.initializer);return q}function createBaseVariableLikeDeclaration(E,N,R,j,$,q){var G=createBaseBindingLikeDeclaration(E,N,R,j,q);G.type=$;G.transformFlags|=propagateChildFlags($);if($)G.transformFlags|=1;return G}function createBaseLiteral(E,N){var R=createBaseToken(E);R.text=N;return R}function createNumericLiteral(E,N){if(N===void 0){N=0}var R=createBaseLiteral(8,typeof E==="number"?E+"":E);R.numericLiteralFlags=N;if(N&384)R.transformFlags|=512;return R}function createBigIntLiteral(N){var R=createBaseLiteral(9,typeof N==="string"?N:E.pseudoBigIntToString(N)+"n");R.transformFlags|=4;return R}function createBaseStringLiteral(E,N){var R=createBaseLiteral(10,E);R.singleQuote=N;return R}function createStringLiteral(E,N,R){var j=createBaseStringLiteral(E,N);j.hasExtendedUnicodeEscape=R;if(R)j.transformFlags|=512;return j}function createStringLiteralFromNode(N){var R=createBaseStringLiteral(E.getTextOfIdentifierOrLiteral(N),undefined);R.textSourceNode=N;return R}function createRegularExpressionLiteral(E){var N=createBaseLiteral(13,E);return N}function createLiteralLikeNode(E,N){switch(E){case 8:return createNumericLiteral(N,0);case 9:return createBigIntLiteral(N);case 10:return createStringLiteral(N,undefined);case 11:return createJsxText(N,false);case 12:return createJsxText(N,true);case 13:return createRegularExpressionLiteral(N);case 14:return createTemplateLiteralLikeNode(E,N,undefined,0)}}function createBaseIdentifier(N,R){if(R===undefined&&N){R=E.stringToToken(N)}if(R===79){R=undefined}var j=$.createBaseIdentifierNode(79);j.originalKeywordKind=R;j.escapedText=E.escapeLeadingUnderscores(N);return j}function createBaseGeneratedIdentifier(E,R){var j=createBaseIdentifier(E,undefined);j.autoGenerateFlags=R;j.autoGenerateId=N;N++;return j}function createIdentifier(E,N,R){var j=createBaseIdentifier(E,R);if(N){j.typeArguments=createNodeArray(N)}if(j.originalKeywordKind===131){j.transformFlags|=16777216}return j}function updateIdentifier(N,R){return N.typeArguments!==R?q(createIdentifier(E.idText(N),R),N):N}function createTempVariable(E,N){var R=1;if(N)R|=8;var j=createBaseGeneratedIdentifier("",R);if(E){E(j)}return j}function createLoopVariable(E){var N=2;if(E)N|=8;return createBaseGeneratedIdentifier("",N)}function createUniqueName(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");E.Debug.assert((R&(16|32))!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic");return createBaseGeneratedIdentifier(N,3|R)}function getGeneratedNameForNode(N,R){if(R===void 0){R=0}E.Debug.assert(!(R&7),"Argument out of range: flags");var j=createBaseGeneratedIdentifier(N&&E.isIdentifier(N)?E.idText(N):"",4|R);j.original=N;return j}function createPrivateIdentifier(N){if(!E.startsWith(N,"#"))E.Debug.fail("First character of private identifier must be #: "+N);var R=$.createBasePrivateIdentifierNode(80);R.escapedText=E.escapeLeadingUnderscores(N);R.transformFlags|=8388608;return R}function createBaseToken(E){return $.createBaseTokenNode(E)}function createToken(N){E.Debug.assert(N>=0&&N<=158,"Invalid token");E.Debug.assert(N<=14||N>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals.");E.Debug.assert(N<=8||N>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals.");E.Debug.assert(N!==79,"Invalid token. Use 'createIdentifier' to create identifiers");var R=createBaseToken(N);var j=0;switch(N){case 130:j=128|64;break;case 123:case 121:case 122:case 143:case 126:case 134:case 85:case 129:case 145:case 156:case 142:case 146:case 157:case 148:case 132:case 149:case 114:case 153:case 151:j=1;break;case 106:j=512|33554432;break;case 124:j=512;break;case 108:j=8192;break}if(j){R.transformFlags|=j}return R}function createSuper(){return createToken(106)}function createThis(){return createToken(108)}function createNull(){return createToken(104)}function createTrue(){return createToken(110)}function createFalse(){return createToken(95)}function createModifier(E){return createToken(E)}function createModifiersFromModifierFlags(E){var N=[];if(E&1){N.push(createModifier(93))}if(E&2){N.push(createModifier(134))}if(E&512){N.push(createModifier(88))}if(E&2048){N.push(createModifier(85))}if(E&4){N.push(createModifier(123))}if(E&8){N.push(createModifier(121))}if(E&16){N.push(createModifier(122))}if(E&128){N.push(createModifier(126))}if(E&32){N.push(createModifier(124))}if(E&16384){N.push(createModifier(157))}if(E&64){N.push(createModifier(143))}if(E&256){N.push(createModifier(130))}return N}function createQualifiedName(E,N){var R=createBaseNode(159);R.left=E;R.right=asName(N);R.transformFlags|=propagateChildFlags(R.left)|propagateIdentifierNameFlags(R.right);return R}function updateQualifiedName(E,N,R){return E.left!==N||E.right!==R?q(createQualifiedName(N,R),E):E}function createComputedPropertyName(E){var N=createBaseNode(160);N.expression=G().parenthesizeExpressionOfComputedPropertyName(E);N.transformFlags|=propagateChildFlags(N.expression)|512|65536;return N}function updateComputedPropertyName(E,N){return E.expression!==N?q(createComputedPropertyName(N),E):E}function createTypeParameterDeclaration(E,N,R){var j=createBaseNamedDeclaration(161,undefined,undefined,E);j.constraint=N;j.default=R;j.transformFlags=1;return j}function updateTypeParameterDeclaration(E,N,R,j){return E.name!==N||E.constraint!==R||E.default!==j?q(createTypeParameterDeclaration(N,R,j),E):E}function createParameterDeclaration(N,R,j,$,q,ie,ae){var ce=createBaseVariableLikeDeclaration(162,N,R,$,ie,ae&&G().parenthesizeExpressionForDisallowedComma(ae));ce.dotDotDotToken=j;ce.questionToken=q;if(E.isThisIdentifier(ce.name)){ce.transformFlags=1}else{ce.transformFlags|=propagateChildFlags(ce.dotDotDotToken)|propagateChildFlags(ce.questionToken);if(q)ce.transformFlags|=1;if(E.modifiersToFlags(ce.modifiers)&16476)ce.transformFlags|=4096;if(ae||j)ce.transformFlags|=512}return ce}function updateParameterDeclaration(E,N,R,j,$,G,ie,ae){return E.decorators!==N||E.modifiers!==R||E.dotDotDotToken!==j||E.name!==$||E.questionToken!==G||E.type!==ie||E.initializer!==ae?q(createParameterDeclaration(N,R,j,$,G,ie,ae),E):E}function createDecorator(E){var N=createBaseNode(163);N.expression=G().parenthesizeLeftSideOfAccess(E);N.transformFlags|=propagateChildFlags(N.expression)|1|4096;return N}function updateDecorator(E,N){return E.expression!==N?q(createDecorator(N),E):E}function createPropertySignature(E,N,R,j){var $=createBaseNamedDeclaration(164,undefined,E,N);$.type=j;$.questionToken=R;$.transformFlags=1;return $}function updatePropertySignature(E,N,R,j,$){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.type!==$?q(createPropertySignature(N,R,j,$),E):E}function createPropertyDeclaration(N,R,j,$,q,G){var ie=createBaseVariableLikeDeclaration(165,N,R,j,q,G);ie.questionToken=$&&E.isQuestionToken($)?$:undefined;ie.exclamationToken=$&&E.isExclamationToken($)?$:undefined;ie.transformFlags|=propagateChildFlags(ie.questionToken)|propagateChildFlags(ie.exclamationToken)|8388608;if(E.isComputedPropertyName(ie.name)||E.hasStaticModifier(ie)&&ie.initializer){ie.transformFlags|=4096}if($||E.modifiersToFlags(ie.modifiers)&2){ie.transformFlags|=1}return ie}function updatePropertyDeclaration(N,R,j,$,G,ie,ae){return N.decorators!==R||N.modifiers!==j||N.name!==$||N.questionToken!==(G!==undefined&&E.isQuestionToken(G)?G:undefined)||N.exclamationToken!==(G!==undefined&&E.isExclamationToken(G)?G:undefined)||N.type!==ie||N.initializer!==ae?q(createPropertyDeclaration(R,j,$,G,ie,ae),N):N}function createMethodSignature(E,N,R,j,$,q){var G=createBaseSignatureDeclaration(166,undefined,E,N,j,$,q);G.questionToken=R;G.transformFlags=1;return G}function updateMethodSignature(E,N,R,j,$,q,G){return E.modifiers!==N||E.name!==R||E.questionToken!==j||E.typeParameters!==$||E.parameters!==q||E.type!==G?updateBaseSignatureDeclaration(createMethodSignature(N,R,j,$,q,G),E):E}function createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce){var le=createBaseFunctionLikeDeclaration(167,N,R,$,G,ie,ae,ce);le.asteriskToken=j;le.questionToken=q;le.transformFlags|=propagateChildFlags(le.asteriskToken)|propagateChildFlags(le.questionToken)|512;if(q){le.transformFlags|=1}if(E.modifiersToFlags(le.modifiers)&256){if(j){le.transformFlags|=64}else{le.transformFlags|=128}}else if(j){le.transformFlags|=1024}return le}function updateMethodDeclaration(E,N,R,j,$,q,G,ie,ae,ce){return E.decorators!==N||E.modifiers!==R||E.asteriskToken!==j||E.name!==$||E.questionToken!==q||E.typeParameters!==G||E.parameters!==ie||E.type!==ae||E.body!==ce?updateBaseFunctionLikeDeclaration(createMethodDeclaration(N,R,j,$,q,G,ie,ae,ce),E):E}function createClassStaticBlockDeclaration(E,N,R){var j=createBaseGenericNamedDeclaration(168,E,N,undefined,undefined);j.body=R;j.transformFlags=propagateChildFlags(R)|8388608;return j}function updateClassStaticBlockDeclaration(E,N,R,j){return E.decorators!==N||E.modifier!==R||E.body!==j?q(createClassStaticBlockDeclaration(N,R,j),E):E}function createConstructorDeclaration(E,N,R,j){var $=createBaseFunctionLikeDeclaration(169,E,N,undefined,undefined,R,undefined,j);$.transformFlags|=512;return $}function updateConstructorDeclaration(E,N,R,j,$){return E.decorators!==N||E.modifiers!==R||E.parameters!==j||E.body!==$?updateBaseFunctionLikeDeclaration(createConstructorDeclaration(N,R,j,$),E):E}function createGetAccessorDeclaration(E,N,R,j,$,q){return createBaseFunctionLikeDeclaration(170,E,N,R,undefined,j,$,q)}function updateGetAccessorDeclaration(E,N,R,j,$,q,G){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.type!==q||E.body!==G?updateBaseFunctionLikeDeclaration(createGetAccessorDeclaration(N,R,j,$,q,G),E):E}function createSetAccessorDeclaration(E,N,R,j,$){return createBaseFunctionLikeDeclaration(171,E,N,R,undefined,j,undefined,$)}function updateSetAccessorDeclaration(E,N,R,j,$,q){return E.decorators!==N||E.modifiers!==R||E.name!==j||E.parameters!==$||E.body!==q?updateBaseFunctionLikeDeclaration(createSetAccessorDeclaration(N,R,j,$,q),E):E}function createCallSignature(E,N,R){var j=createBaseSignatureDeclaration(172,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateCallSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createCallSignature(N,R,j),E):E}function createConstructSignature(E,N,R){var j=createBaseSignatureDeclaration(173,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateConstructSignature(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createConstructSignature(N,R,j),E):E}function createIndexSignature(E,N,R,j){var $=createBaseSignatureDeclaration(174,E,N,undefined,undefined,R,j);$.transformFlags=1;return $}function updateIndexSignature(E,N,R,j,$){return E.parameters!==j||E.type!==$||E.decorators!==N||E.modifiers!==R?updateBaseSignatureDeclaration(createIndexSignature(N,R,j,$),E):E}function createTemplateLiteralTypeSpan(E,N){var R=createBaseNode(197);R.type=E;R.literal=N;R.transformFlags=1;return R}function updateTemplateLiteralTypeSpan(E,N,R){return E.type!==N||E.literal!==R?q(createTemplateLiteralTypeSpan(N,R),E):E}function createKeywordTypeNode(E){return createToken(E)}function createTypePredicateNode(E,N,R){var j=createBaseNode(175);j.assertsModifier=E;j.parameterName=asName(N);j.type=R;j.transformFlags=1;return j}function updateTypePredicateNode(E,N,R,j){return E.assertsModifier!==N||E.parameterName!==R||E.type!==j?q(createTypePredicateNode(N,R,j),E):E}function createTypeReferenceNode(E,N){var R=createBaseNode(176);R.typeName=asName(E);R.typeArguments=N&&G().parenthesizeTypeArguments(createNodeArray(N));R.transformFlags=1;return R}function updateTypeReferenceNode(E,N,R){return E.typeName!==N||E.typeArguments!==R?q(createTypeReferenceNode(N,R),E):E}function createFunctionTypeNode(E,N,R){var j=createBaseSignatureDeclaration(177,undefined,undefined,undefined,E,N,R);j.transformFlags=1;return j}function updateFunctionTypeNode(E,N,R,j){return E.typeParameters!==N||E.parameters!==R||E.type!==j?updateBaseSignatureDeclaration(createFunctionTypeNode(N,R,j),E):E}function createConstructorTypeNode(){var N=[];for(var R=0;R0;default:return true}}function createCallBinding(N,R,j,$){if($===void 0){$=false}var q=E.skipOuterExpressions(N,15);var ie;var ae;if(E.isSuperProperty(q)){ie=createThis();ae=q}else if(E.isSuperKeyword(q)){ie=createThis();ae=j!==undefined&&j<2?E.setTextRange(createIdentifier("_super"),q):q}else if(E.getEmitFlags(q)&4096){ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(q)}else if(E.isPropertyAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createPropertyAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.name);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else if(E.isElementAccessExpression(q)){if(shouldBeCapturedInTempVariable(q.expression,$)){ie=createTempVariable(R);ae=createElementAccessExpression(E.setTextRange(Le.createAssignment(ie,q.expression),q.expression),q.argumentExpression);E.setTextRange(ae,q)}else{ie=q.expression;ae=q}}else{ie=createVoidZero();ae=G().parenthesizeLeftSideOfAccess(N)}return{target:ae,thisArg:ie}}function createAssignmentTargetWrapper(E,N){return createPropertyAccessExpression(createParenthesizedExpression(createObjectLiteralExpression([createSetAccessorDeclaration(undefined,undefined,"value",[createParameterDeclaration(undefined,undefined,undefined,E,undefined,undefined,undefined)],createBlock([createExpressionStatement(N)]))])),"value")}function inlineExpressions(N){return N.length>10?createCommaListExpression(N):E.reduceLeft(N,Le.createComma)}function getName(N,R,j,$){if($===void 0){$=0}var q=E.getNameOfDeclaration(N);if(q&&E.isIdentifier(q)&&!E.isGeneratedIdentifier(q)){var G=E.setParent(E.setTextRange(cloneNode(q),q),q.parent);$|=E.getEmitFlags(q);if(!j)$|=48;if(!R)$|=1536;if($)E.setEmitFlags(G,$);return G}return getGeneratedNameForNode(N)}function getInternalName(E,N,R){return getName(E,N,R,16384|32768)}function getLocalName(E,N,R){return getName(E,N,R,16384)}function getExportName(E,N,R){return getName(E,N,R,8192)}function getDeclarationName(E,N,R){return getName(E,N,R)}function getNamespaceMemberName(N,R,j,$){var q=createPropertyAccessExpression(N,E.nodeIsSynthesized(R)?R:cloneNode(R));E.setTextRange(q,R);var G=0;if(!$)G|=48;if(!j)G|=1536;if(G)E.setEmitFlags(q,G);return q}function getExternalModuleOrNamespaceExportName(N,R,j,$){if(N&&E.hasSyntacticModifier(R,1)){return getNamespaceMemberName(N,getName(R),j,$)}return getExportName(R,j,$)}function copyPrologue(E,N,R,j){var $=copyStandardPrologue(E,N,R);return copyCustomPrologue(E,N,$,j)}function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function createUseStrictPrologue(){return E.startOnNewLine(createExpressionStatement(createStringLiteral("use strict")))}function copyStandardPrologue(N,R,j){E.Debug.assert(R.length===0,"Prologue directives should be at the first statement in the target statements array");var $=false;var q=0;var G=N.length;while(qce){_e.splice.apply(_e,j([G,0],R.slice(ce,le),false))}if(ce>ae){_e.splice.apply(_e,j([q,0],R.slice(ae,ce),false))}if(ae>ie){_e.splice.apply(_e,j([$,0],R.slice(ie,ae),false))}if(ie>0){if($===0){_e.splice.apply(_e,j([0,0],R.slice(0,ie),false))}else{var Ee=new E.Map;for(var Te=0;Te<$;Te++){var we=N[Te];Ee.set(we.expression.text,true)}for(var Te=ie-1;Te>=0;Te--){var Ie=R[Te];if(!Ee.has(Ie.expression.text)){_e.unshift(Ie)}}}}if(E.isNodeArray(N)){return E.setTextRange(createNodeArray(_e,N.hasTrailingComma),N)}return N}function updateModifiers(N,R){var j;if(typeof R==="number"){R=createModifiersFromModifierFlags(R)}return E.isParameter(N)?updateParameterDeclaration(N,N.decorators,R,N.dotDotDotToken,N.name,N.questionToken,N.type,N.initializer):E.isPropertySignature(N)?updatePropertySignature(N,R,N.name,N.questionToken,N.type):E.isPropertyDeclaration(N)?updatePropertyDeclaration(N,N.decorators,R,N.name,(j=N.questionToken)!==null&&j!==void 0?j:N.exclamationToken,N.type,N.initializer):E.isMethodSignature(N)?updateMethodSignature(N,R,N.name,N.questionToken,N.typeParameters,N.parameters,N.type):E.isMethodDeclaration(N)?updateMethodDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.questionToken,N.typeParameters,N.parameters,N.type,N.body):E.isConstructorDeclaration(N)?updateConstructorDeclaration(N,N.decorators,R,N.parameters,N.body):E.isGetAccessorDeclaration(N)?updateGetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.type,N.body):E.isSetAccessorDeclaration(N)?updateSetAccessorDeclaration(N,N.decorators,R,N.name,N.parameters,N.body):E.isIndexSignatureDeclaration(N)?updateIndexSignature(N,N.decorators,R,N.parameters,N.type):E.isFunctionExpression(N)?updateFunctionExpression(N,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isArrowFunction(N)?updateArrowFunction(N,R,N.typeParameters,N.parameters,N.type,N.equalsGreaterThanToken,N.body):E.isClassExpression(N)?updateClassExpression(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isVariableStatement(N)?updateVariableStatement(N,R,N.declarationList):E.isFunctionDeclaration(N)?updateFunctionDeclaration(N,N.decorators,R,N.asteriskToken,N.name,N.typeParameters,N.parameters,N.type,N.body):E.isClassDeclaration(N)?updateClassDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isInterfaceDeclaration(N)?updateInterfaceDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.heritageClauses,N.members):E.isTypeAliasDeclaration(N)?updateTypeAliasDeclaration(N,N.decorators,R,N.name,N.typeParameters,N.type):E.isEnumDeclaration(N)?updateEnumDeclaration(N,N.decorators,R,N.name,N.members):E.isModuleDeclaration(N)?updateModuleDeclaration(N,N.decorators,R,N.name,N.body):E.isImportEqualsDeclaration(N)?updateImportEqualsDeclaration(N,N.decorators,R,N.isTypeOnly,N.name,N.moduleReference):E.isImportDeclaration(N)?updateImportDeclaration(N,N.decorators,R,N.importClause,N.moduleSpecifier):E.isExportAssignment(N)?updateExportAssignment(N,N.decorators,R,N.expression):E.isExportDeclaration(N)?updateExportDeclaration(N,N.decorators,R,N.isTypeOnly,N.exportClause,N.moduleSpecifier):E.Debug.assertNever(N)}function asNodeArray(E){return E?createNodeArray(E):undefined}function asName(E){return typeof E==="string"?createIdentifier(E):E}function asExpression(E){return typeof E==="string"?createStringLiteral(E):typeof E==="number"?createNumericLiteral(E):typeof E==="boolean"?E?createTrue():createFalse():E}function asToken(E){return typeof E==="number"?createToken(E):E}function asEmbeddedStatement(N){return N&&E.isNotEmittedStatement(N)?E.setTextRange(setOriginalNode(createEmptyStatement(),N),N):N}}E.createNodeFactory=createNodeFactory;function updateWithoutOriginal(N,R){if(N!==R){E.setTextRange(N,R)}return N}function updateWithOriginal(N,R){if(N!==R){setOriginalNode(N,R);E.setTextRange(N,R)}return N}function getDefaultTagNameForKind(N){switch(N){case 338:return"type";case 336:return"returns";case 337:return"this";case 334:return"enum";case 325:return"author";case 327:return"class";case 328:return"public";case 329:return"private";case 330:return"protected";case 331:return"readonly";case 332:return"override";case 339:return"template";case 340:return"typedef";case 335:return"param";case 342:return"prop";case 333:return"callback";case 323:return"augments";case 324:return"implements";default:return E.Debug.fail("Unsupported kind: "+E.Debug.formatSyntaxKind(N))}}var $;var q={};function getCookedText(N,R){if(!$){$=E.createScanner(99,false,0)}switch(N){case 14:$.setText("`"+R+"`");break;case 15:$.setText("`"+R+"${");break;case 16:$.setText("}"+R+"${");break;case 17:$.setText("}"+R+"`");break}var j=$.scan();if(j===19){j=$.reScanTemplateToken(false)}if($.isUnterminated()){$.setText(undefined);return q}var G;switch(j){case 14:case 15:case 16:case 17:G=$.getTokenValue();break}if(G===undefined||$.scan()!==1){$.setText(undefined);return q}$.setText(undefined);return G}function propagateIdentifierNameFlags(E){return propagateChildFlags(E)&~16777216}function propagatePropertyNameFlagsOfChild(E,N){return N|E.transformFlags&33562624}function propagateChildFlags(N){if(!N)return 0;var R=N.transformFlags&~getTransformFlagsSubtreeExclusions(N.kind);return E.isNamedDeclaration(N)&&E.isPropertyName(N.name)?propagatePropertyNameFlagsOfChild(N.name,R):R}function propagateChildrenFlags(E){return E?E.transformFlags:0}function aggregateChildrenFlags(E){var N=0;for(var R=0,j=E;R=175&&E<=198){return-2}switch(E){case 206:case 207:case 202:return 536887296;case 259:return 589443072;case 162:return 536870912;case 212:return 557748224;case 211:case 254:return 591310848;case 253:return 537165824;case 255:case 224:return 536940544;case 169:return 591306752;case 165:return 570433536;case 167:case 170:case 171:return 574529536;case 129:case 145:case 156:case 142:case 148:case 146:case 132:case 149:case 114:case 161:case 164:case 166:case 172:case 173:case 174:case 256:case 257:return-2;case 203:return 536973312;case 290:return 536903680;case 199:case 200:return 536887296;case 209:case 227:case 345:case 210:case 106:return 536870912;case 204:case 205:return 536870912;default:return 536870912}}E.getTransformFlagsSubtreeExclusions=getTransformFlagsSubtreeExclusions;var G=E.createBaseNodeFactory();function makeSynthetic(E){E.flags|=8;return E}var ie={createBaseSourceFileNode:function(E){return makeSynthetic(G.createBaseSourceFileNode(E))},createBaseIdentifierNode:function(E){return makeSynthetic(G.createBaseIdentifierNode(E))},createBasePrivateIdentifierNode:function(E){return makeSynthetic(G.createBasePrivateIdentifierNode(E))},createBaseTokenNode:function(E){return makeSynthetic(G.createBaseTokenNode(E))},createBaseNode:function(E){return makeSynthetic(G.createBaseNode(E))}};E.factory=createNodeFactory(4,ie);function createUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;if(!E.isString(N)){E.Debug.assert(R==="js"||R==="dts");G=(R==="js"?N.javascriptPath:N.declarationPath)||"";ce=R==="js"?N.javascriptMapPath:N.declarationMapPath;_e=function(){return R==="js"?N.javascriptText:N.declarationText};Ee=function(){return R==="js"?N.javascriptMapText:N.declarationMapText};ae=function(){return _e().length};if(N.buildInfo&&N.buildInfo.bundle){E.Debug.assert(j===undefined||typeof j==="boolean");$=j;q=R==="js"?N.buildInfo.bundle.js:N.buildInfo.bundle.dts;Te=N.oldFileOfCurrentEmit}}else{G="";ie=N;ae=N.length;ce=R;le=j}var we=Te?parseOldFileOfCurrentEmit(E.Debug.assertDefined(q)):parseUnparsedSourceFile(q,$,ae);we.fileName=G;we.sourceMapPath=ce;we.oldFileOfCurrentEmit=Te;if(_e&&Ee){Object.defineProperty(we,"text",{get:_e});Object.defineProperty(we,"sourceMapText",{get:Ee})}else{E.Debug.assert(!Te);we.text=ie!==null&&ie!==void 0?ie:"";we.sourceMapText=le}return we}E.createUnparsedSourceFile=createUnparsedSourceFile;function parseUnparsedSourceFile(N,R,j){var $;var q;var G;var ie;var ae;var ce;var le;var _e;for(var Ee=0,Te=N?N.sections:E.emptyArray;Ee0){q[ae-ie]=ce}}if(ie>0){q.length-=ie}}E.moveEmitHelpers=moveEmitHelpers;function ignoreSourceNewlines(E){getOrCreateEmitNode(E).flags|=134217728;return E}E.ignoreSourceNewlines=ignoreSourceNewlines})(ce||(ce={}));var ce;(function(E){function createEmitHelperFactory(N){var R=N.factory;var $=E.memoize((function(){return E.setEmitFlags(R.createTrue(),268435456)}));var q=E.memoize((function(){return E.setEmitFlags(R.createFalse(),268435456)}));return{getUnscopedHelperName:getUnscopedHelperName,createDecorateHelper:createDecorateHelper,createMetadataHelper:createMetadataHelper,createParamHelper:createParamHelper,createAssignHelper:createAssignHelper,createAwaitHelper:createAwaitHelper,createAsyncGeneratorHelper:createAsyncGeneratorHelper,createAsyncDelegatorHelper:createAsyncDelegatorHelper,createAsyncValuesHelper:createAsyncValuesHelper,createRestHelper:createRestHelper,createAwaiterHelper:createAwaiterHelper,createExtendsHelper:createExtendsHelper,createTemplateObjectHelper:createTemplateObjectHelper,createSpreadArrayHelper:createSpreadArrayHelper,createValuesHelper:createValuesHelper,createReadHelper:createReadHelper,createGeneratorHelper:createGeneratorHelper,createCreateBindingHelper:createCreateBindingHelper,createImportStarHelper:createImportStarHelper,createImportStarCallbackHelper:createImportStarCallbackHelper,createImportDefaultHelper:createImportDefaultHelper,createExportStarHelper:createExportStarHelper,createClassPrivateFieldGetHelper:createClassPrivateFieldGetHelper,createClassPrivateFieldSetHelper:createClassPrivateFieldSetHelper};function getUnscopedHelperName(N){return E.setEmitFlags(R.createIdentifier(N),4096|2)}function createDecorateHelper(j,$,q,G){N.requestEmitHelper(E.decorateHelper);var ie=[];ie.push(R.createArrayLiteralExpression(j,true));ie.push($);if(q){ie.push(q);if(G){ie.push(G)}}return R.createCallExpression(getUnscopedHelperName("__decorate"),undefined,ie)}function createMetadataHelper(j,$){N.requestEmitHelper(E.metadataHelper);return R.createCallExpression(getUnscopedHelperName("__metadata"),undefined,[R.createStringLiteral(j),$])}function createParamHelper(j,$,q){N.requestEmitHelper(E.paramHelper);return E.setTextRange(R.createCallExpression(getUnscopedHelperName("__param"),undefined,[R.createNumericLiteral($+""),j]),q)}function createAssignHelper(j){if(N.getCompilerOptions().target>=2){return R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"assign"),undefined,j)}N.requestEmitHelper(E.assignHelper);return R.createCallExpression(getUnscopedHelperName("__assign"),undefined,j)}function createAwaitHelper(j){N.requestEmitHelper(E.awaitHelper);return R.createCallExpression(getUnscopedHelperName("__await"),undefined,[j])}function createAsyncGeneratorHelper(j,$){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncGeneratorHelper);(j.emitNode||(j.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__asyncGenerator"),undefined,[$?R.createThis():R.createVoidZero(),R.createIdentifier("arguments"),j])}function createAsyncDelegatorHelper(j){N.requestEmitHelper(E.awaitHelper);N.requestEmitHelper(E.asyncDelegator);return R.createCallExpression(getUnscopedHelperName("__asyncDelegator"),undefined,[j])}function createAsyncValuesHelper(j){N.requestEmitHelper(E.asyncValues);return R.createCallExpression(getUnscopedHelperName("__asyncValues"),undefined,[j])}function createRestHelper(j,$,q,G){N.requestEmitHelper(E.restHelper);var ie=[];var ae=0;for(var ce=0;ce<$.length-1;ce++){var le=E.getPropertyNameOfBindingOrAssignmentElement($[ce]);if(le){if(E.isComputedPropertyName(le)){E.Debug.assertIsDefined(q,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var _e=q[ae];ae++;ie.push(R.createConditionalExpression(R.createTypeCheck(_e,"symbol"),undefined,_e,undefined,R.createAdd(_e,R.createStringLiteral(""))))}else{ie.push(R.createStringLiteralFromNode(le))}}}return R.createCallExpression(getUnscopedHelperName("__rest"),undefined,[j,E.setTextRange(R.createArrayLiteralExpression(ie),G)])}function createAwaiterHelper(j,$,q,G){N.requestEmitHelper(E.awaiterHelper);var ie=R.createFunctionExpression(undefined,R.createToken(41),undefined,undefined,[],undefined,G);(ie.emitNode||(ie.emitNode={})).flags|=262144|524288;return R.createCallExpression(getUnscopedHelperName("__awaiter"),undefined,[j?R.createThis():R.createVoidZero(),$?R.createIdentifier("arguments"):R.createVoidZero(),q?E.createExpressionFromEntityName(R,q):R.createVoidZero(),ie])}function createExtendsHelper(j){N.requestEmitHelper(E.extendsHelper);return R.createCallExpression(getUnscopedHelperName("__extends"),undefined,[j,R.createUniqueName("_super",16|32)])}function createTemplateObjectHelper(j,$){N.requestEmitHelper(E.templateObjectHelper);return R.createCallExpression(getUnscopedHelperName("__makeTemplateObject"),undefined,[j,$])}function createSpreadArrayHelper(j,G,ie){N.requestEmitHelper(E.spreadArrayHelper);return R.createCallExpression(getUnscopedHelperName("__spreadArray"),undefined,[j,G,ie?$():q()])}function createValuesHelper(j){N.requestEmitHelper(E.valuesHelper);return R.createCallExpression(getUnscopedHelperName("__values"),undefined,[j])}function createReadHelper(j,$){N.requestEmitHelper(E.readHelper);return R.createCallExpression(getUnscopedHelperName("__read"),undefined,$!==undefined?[j,R.createNumericLiteral($+"")]:[j])}function createGeneratorHelper(j){N.requestEmitHelper(E.generatorHelper);return R.createCallExpression(getUnscopedHelperName("__generator"),undefined,[R.createThis(),j])}function createCreateBindingHelper($,q,G){N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__createBinding"),undefined,j([R.createIdentifier("exports"),$,q],G?[G]:[],true))}function createImportStarHelper(j){N.requestEmitHelper(E.importStarHelper);return R.createCallExpression(getUnscopedHelperName("__importStar"),undefined,[j])}function createImportStarCallbackHelper(){N.requestEmitHelper(E.importStarHelper);return getUnscopedHelperName("__importStar")}function createImportDefaultHelper(j){N.requestEmitHelper(E.importDefaultHelper);return R.createCallExpression(getUnscopedHelperName("__importDefault"),undefined,[j])}function createExportStarHelper(j,$){if($===void 0){$=R.createIdentifier("exports")}N.requestEmitHelper(E.exportStarHelper);N.requestEmitHelper(E.createBindingHelper);return R.createCallExpression(getUnscopedHelperName("__exportStar"),undefined,[j,$])}function createClassPrivateFieldGetHelper(j,$,q,G){N.requestEmitHelper(E.classPrivateFieldGetHelper);var ie;if(!G){ie=[j,$,R.createStringLiteral(q)]}else{ie=[j,$,R.createStringLiteral(q),G]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldGet"),undefined,ie)}function createClassPrivateFieldSetHelper(j,$,q,G,ie){N.requestEmitHelper(E.classPrivateFieldSetHelper);var ae;if(!ie){ae=[j,$,q,R.createStringLiteral(G)]}else{ae=[j,$,q,R.createStringLiteral(G),ie]}return R.createCallExpression(getUnscopedHelperName("__classPrivateFieldSet"),undefined,ae)}}E.createEmitHelperFactory=createEmitHelperFactory;function compareEmitHelpers(N,R){if(N===R)return 0;if(N.priority===R.priority)return 0;if(N.priority===undefined)return 1;if(R.priority===undefined)return-1;return E.compareValues(N.priority,R.priority)}E.compareEmitHelpers=compareEmitHelpers;function helperString(E){var N=[];for(var R=1;R= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'};E.metadataHelper={name:"typescript:metadata",importName:"__metadata",scoped:false,priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'};E.paramHelper={name:"typescript:param",importName:"__param",scoped:false,priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"};E.assignHelper={name:"typescript:assign",importName:"__assign",scoped:false,priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"};E.awaitHelper={name:"typescript:await",importName:"__await",scoped:false,text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"};E.asyncGeneratorHelper={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'};E.asyncDelegator={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:false,dependencies:[E.awaitHelper],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n 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; }\n };'};E.asyncValues={name:"typescript:asyncValues",importName:"__asyncValues",scoped:false,text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n 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);\n 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); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'};E.restHelper={name:"typescript:rest",importName:"__rest",scoped:false,text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'};E.awaiterHelper={name:"typescript:awaiter",importName:"__awaiter",scoped:false,priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'};E.extendsHelper={name:"typescript:extends",importName:"__extends",scoped:false,priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'};E.templateObjectHelper={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:false,priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'};E.readHelper={name:"typescript:read",importName:"__read",scoped:false,text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'};E.spreadArrayHelper={name:"typescript:spreadArray",importName:"__spreadArray",scoped:false,text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"};E.valuesHelper={name:"typescript:values",importName:"__values",scoped:false,text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'};E.generatorHelper={name:"typescript:generator",importName:"__generator",scoped:false,priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (_) try {\n 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;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'};E.createBindingHelper={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:false,priority:1,text:"\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));"};E.setModuleDefaultHelper={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:false,priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'};E.importStarHelper={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:false,dependencies:[E.createBindingHelper,E.setModuleDefaultHelper],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'};E.importDefaultHelper={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:false,text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'};E.exportStarHelper={name:"typescript:export-star",importName:"__exportStar",scoped:false,dependencies:[E.createBindingHelper],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'};E.classPrivateFieldGetHelper={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:false,text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n 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");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'};E.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:false,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n 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");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'};var N;function getAllUnscopedEmitHelpers(){return N||(N=E.arrayToMap([E.decorateHelper,E.metadataHelper,E.paramHelper,E.assignHelper,E.awaitHelper,E.asyncGeneratorHelper,E.asyncDelegator,E.asyncValues,E.restHelper,E.awaiterHelper,E.extendsHelper,E.templateObjectHelper,E.spreadArrayHelper,E.valuesHelper,E.readHelper,E.generatorHelper,E.importStarHelper,E.importDefaultHelper,E.exportStarHelper,E.classPrivateFieldGetHelper,E.classPrivateFieldSetHelper,E.createBindingHelper,E.setModuleDefaultHelper],(function(E){return E.name})))}E.getAllUnscopedEmitHelpers=getAllUnscopedEmitHelpers;E.asyncSuperHelper={name:"typescript:async-super",scoped:true,text:helperString(q(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")};E.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:true,text:helperString(q(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")};function isCallToHelper(N,R){return E.isCallExpression(N)&&E.isIdentifier(N.expression)&&(E.getEmitFlags(N.expression)&4096)!==0&&N.expression.escapedText===R}E.isCallToHelper=isCallToHelper})(ce||(ce={}));var ce;(function(E){function isNumericLiteral(E){return E.kind===8}E.isNumericLiteral=isNumericLiteral;function isBigIntLiteral(E){return E.kind===9}E.isBigIntLiteral=isBigIntLiteral;function isStringLiteral(E){return E.kind===10}E.isStringLiteral=isStringLiteral;function isJsxText(E){return E.kind===11}E.isJsxText=isJsxText;function isRegularExpressionLiteral(E){return E.kind===13}E.isRegularExpressionLiteral=isRegularExpressionLiteral;function isNoSubstitutionTemplateLiteral(E){return E.kind===14}E.isNoSubstitutionTemplateLiteral=isNoSubstitutionTemplateLiteral;function isTemplateHead(E){return E.kind===15}E.isTemplateHead=isTemplateHead;function isTemplateMiddle(E){return E.kind===16}E.isTemplateMiddle=isTemplateMiddle;function isTemplateTail(E){return E.kind===17}E.isTemplateTail=isTemplateTail;function isDotDotDotToken(E){return E.kind===25}E.isDotDotDotToken=isDotDotDotToken;function isCommaToken(E){return E.kind===27}E.isCommaToken=isCommaToken;function isPlusToken(E){return E.kind===39}E.isPlusToken=isPlusToken;function isMinusToken(E){return E.kind===40}E.isMinusToken=isMinusToken;function isAsteriskToken(E){return E.kind===41}E.isAsteriskToken=isAsteriskToken;function isExclamationToken(E){return E.kind===53}E.isExclamationToken=isExclamationToken;function isQuestionToken(E){return E.kind===57}E.isQuestionToken=isQuestionToken;function isColonToken(E){return E.kind===58}E.isColonToken=isColonToken;function isQuestionDotToken(E){return E.kind===28}E.isQuestionDotToken=isQuestionDotToken;function isEqualsGreaterThanToken(E){return E.kind===38}E.isEqualsGreaterThanToken=isEqualsGreaterThanToken;function isIdentifier(E){return E.kind===79}E.isIdentifier=isIdentifier;function isPrivateIdentifier(E){return E.kind===80}E.isPrivateIdentifier=isPrivateIdentifier;function isExportModifier(E){return E.kind===93}E.isExportModifier=isExportModifier;function isAsyncModifier(E){return E.kind===130}E.isAsyncModifier=isAsyncModifier;function isAssertsKeyword(E){return E.kind===128}E.isAssertsKeyword=isAssertsKeyword;function isAwaitKeyword(E){return E.kind===131}E.isAwaitKeyword=isAwaitKeyword;function isReadonlyKeyword(E){return E.kind===143}E.isReadonlyKeyword=isReadonlyKeyword;function isStaticModifier(E){return E.kind===124}E.isStaticModifier=isStaticModifier;function isAbstractModifier(E){return E.kind===126}E.isAbstractModifier=isAbstractModifier;function isSuperKeyword(E){return E.kind===106}E.isSuperKeyword=isSuperKeyword;function isImportKeyword(E){return E.kind===100}E.isImportKeyword=isImportKeyword;function isQualifiedName(E){return E.kind===159}E.isQualifiedName=isQualifiedName;function isComputedPropertyName(E){return E.kind===160}E.isComputedPropertyName=isComputedPropertyName;function isTypeParameterDeclaration(E){return E.kind===161}E.isTypeParameterDeclaration=isTypeParameterDeclaration;function isParameter(E){return E.kind===162}E.isParameter=isParameter;function isDecorator(E){return E.kind===163}E.isDecorator=isDecorator;function isPropertySignature(E){return E.kind===164}E.isPropertySignature=isPropertySignature;function isPropertyDeclaration(E){return E.kind===165}E.isPropertyDeclaration=isPropertyDeclaration;function isMethodSignature(E){return E.kind===166}E.isMethodSignature=isMethodSignature;function isMethodDeclaration(E){return E.kind===167}E.isMethodDeclaration=isMethodDeclaration;function isClassStaticBlockDeclaration(E){return E.kind===168}E.isClassStaticBlockDeclaration=isClassStaticBlockDeclaration;function isConstructorDeclaration(E){return E.kind===169}E.isConstructorDeclaration=isConstructorDeclaration;function isGetAccessorDeclaration(E){return E.kind===170}E.isGetAccessorDeclaration=isGetAccessorDeclaration;function isSetAccessorDeclaration(E){return E.kind===171}E.isSetAccessorDeclaration=isSetAccessorDeclaration;function isCallSignatureDeclaration(E){return E.kind===172}E.isCallSignatureDeclaration=isCallSignatureDeclaration;function isConstructSignatureDeclaration(E){return E.kind===173}E.isConstructSignatureDeclaration=isConstructSignatureDeclaration;function isIndexSignatureDeclaration(E){return E.kind===174}E.isIndexSignatureDeclaration=isIndexSignatureDeclaration;function isTypePredicateNode(E){return E.kind===175}E.isTypePredicateNode=isTypePredicateNode;function isTypeReferenceNode(E){return E.kind===176}E.isTypeReferenceNode=isTypeReferenceNode;function isFunctionTypeNode(E){return E.kind===177}E.isFunctionTypeNode=isFunctionTypeNode;function isConstructorTypeNode(E){return E.kind===178}E.isConstructorTypeNode=isConstructorTypeNode;function isTypeQueryNode(E){return E.kind===179}E.isTypeQueryNode=isTypeQueryNode;function isTypeLiteralNode(E){return E.kind===180}E.isTypeLiteralNode=isTypeLiteralNode;function isArrayTypeNode(E){return E.kind===181}E.isArrayTypeNode=isArrayTypeNode;function isTupleTypeNode(E){return E.kind===182}E.isTupleTypeNode=isTupleTypeNode;function isNamedTupleMember(E){return E.kind===195}E.isNamedTupleMember=isNamedTupleMember;function isOptionalTypeNode(E){return E.kind===183}E.isOptionalTypeNode=isOptionalTypeNode;function isRestTypeNode(E){return E.kind===184}E.isRestTypeNode=isRestTypeNode;function isUnionTypeNode(E){return E.kind===185}E.isUnionTypeNode=isUnionTypeNode;function isIntersectionTypeNode(E){return E.kind===186}E.isIntersectionTypeNode=isIntersectionTypeNode;function isConditionalTypeNode(E){return E.kind===187}E.isConditionalTypeNode=isConditionalTypeNode;function isInferTypeNode(E){return E.kind===188}E.isInferTypeNode=isInferTypeNode;function isParenthesizedTypeNode(E){return E.kind===189}E.isParenthesizedTypeNode=isParenthesizedTypeNode;function isThisTypeNode(E){return E.kind===190}E.isThisTypeNode=isThisTypeNode;function isTypeOperatorNode(E){return E.kind===191}E.isTypeOperatorNode=isTypeOperatorNode;function isIndexedAccessTypeNode(E){return E.kind===192}E.isIndexedAccessTypeNode=isIndexedAccessTypeNode;function isMappedTypeNode(E){return E.kind===193}E.isMappedTypeNode=isMappedTypeNode;function isLiteralTypeNode(E){return E.kind===194}E.isLiteralTypeNode=isLiteralTypeNode;function isImportTypeNode(E){return E.kind===198}E.isImportTypeNode=isImportTypeNode;function isTemplateLiteralTypeSpan(E){return E.kind===197}E.isTemplateLiteralTypeSpan=isTemplateLiteralTypeSpan;function isTemplateLiteralTypeNode(E){return E.kind===196}E.isTemplateLiteralTypeNode=isTemplateLiteralTypeNode;function isObjectBindingPattern(E){return E.kind===199}E.isObjectBindingPattern=isObjectBindingPattern;function isArrayBindingPattern(E){return E.kind===200}E.isArrayBindingPattern=isArrayBindingPattern;function isBindingElement(E){return E.kind===201}E.isBindingElement=isBindingElement;function isArrayLiteralExpression(E){return E.kind===202}E.isArrayLiteralExpression=isArrayLiteralExpression;function isObjectLiteralExpression(E){return E.kind===203}E.isObjectLiteralExpression=isObjectLiteralExpression;function isPropertyAccessExpression(E){return E.kind===204}E.isPropertyAccessExpression=isPropertyAccessExpression;function isElementAccessExpression(E){return E.kind===205}E.isElementAccessExpression=isElementAccessExpression;function isCallExpression(E){return E.kind===206}E.isCallExpression=isCallExpression;function isNewExpression(E){return E.kind===207}E.isNewExpression=isNewExpression;function isTaggedTemplateExpression(E){return E.kind===208}E.isTaggedTemplateExpression=isTaggedTemplateExpression;function isTypeAssertionExpression(E){return E.kind===209}E.isTypeAssertionExpression=isTypeAssertionExpression;function isParenthesizedExpression(E){return E.kind===210}E.isParenthesizedExpression=isParenthesizedExpression;function isFunctionExpression(E){return E.kind===211}E.isFunctionExpression=isFunctionExpression;function isArrowFunction(E){return E.kind===212}E.isArrowFunction=isArrowFunction;function isDeleteExpression(E){return E.kind===213}E.isDeleteExpression=isDeleteExpression;function isTypeOfExpression(E){return E.kind===214}E.isTypeOfExpression=isTypeOfExpression;function isVoidExpression(E){return E.kind===215}E.isVoidExpression=isVoidExpression;function isAwaitExpression(E){return E.kind===216}E.isAwaitExpression=isAwaitExpression;function isPrefixUnaryExpression(E){return E.kind===217}E.isPrefixUnaryExpression=isPrefixUnaryExpression;function isPostfixUnaryExpression(E){return E.kind===218}E.isPostfixUnaryExpression=isPostfixUnaryExpression;function isBinaryExpression(E){return E.kind===219}E.isBinaryExpression=isBinaryExpression;function isConditionalExpression(E){return E.kind===220}E.isConditionalExpression=isConditionalExpression;function isTemplateExpression(E){return E.kind===221}E.isTemplateExpression=isTemplateExpression;function isYieldExpression(E){return E.kind===222}E.isYieldExpression=isYieldExpression;function isSpreadElement(E){return E.kind===223}E.isSpreadElement=isSpreadElement;function isClassExpression(E){return E.kind===224}E.isClassExpression=isClassExpression;function isOmittedExpression(E){return E.kind===225}E.isOmittedExpression=isOmittedExpression;function isExpressionWithTypeArguments(E){return E.kind===226}E.isExpressionWithTypeArguments=isExpressionWithTypeArguments;function isAsExpression(E){return E.kind===227}E.isAsExpression=isAsExpression;function isNonNullExpression(E){return E.kind===228}E.isNonNullExpression=isNonNullExpression;function isMetaProperty(E){return E.kind===229}E.isMetaProperty=isMetaProperty;function isSyntheticExpression(E){return E.kind===230}E.isSyntheticExpression=isSyntheticExpression;function isPartiallyEmittedExpression(E){return E.kind===345}E.isPartiallyEmittedExpression=isPartiallyEmittedExpression;function isCommaListExpression(E){return E.kind===346}E.isCommaListExpression=isCommaListExpression;function isTemplateSpan(E){return E.kind===231}E.isTemplateSpan=isTemplateSpan;function isSemicolonClassElement(E){return E.kind===232}E.isSemicolonClassElement=isSemicolonClassElement;function isBlock(E){return E.kind===233}E.isBlock=isBlock;function isVariableStatement(E){return E.kind===235}E.isVariableStatement=isVariableStatement;function isEmptyStatement(E){return E.kind===234}E.isEmptyStatement=isEmptyStatement;function isExpressionStatement(E){return E.kind===236}E.isExpressionStatement=isExpressionStatement;function isIfStatement(E){return E.kind===237}E.isIfStatement=isIfStatement;function isDoStatement(E){return E.kind===238}E.isDoStatement=isDoStatement;function isWhileStatement(E){return E.kind===239}E.isWhileStatement=isWhileStatement;function isForStatement(E){return E.kind===240}E.isForStatement=isForStatement;function isForInStatement(E){return E.kind===241}E.isForInStatement=isForInStatement;function isForOfStatement(E){return E.kind===242}E.isForOfStatement=isForOfStatement;function isContinueStatement(E){return E.kind===243}E.isContinueStatement=isContinueStatement;function isBreakStatement(E){return E.kind===244}E.isBreakStatement=isBreakStatement;function isReturnStatement(E){return E.kind===245}E.isReturnStatement=isReturnStatement;function isWithStatement(E){return E.kind===246}E.isWithStatement=isWithStatement;function isSwitchStatement(E){return E.kind===247}E.isSwitchStatement=isSwitchStatement;function isLabeledStatement(E){return E.kind===248}E.isLabeledStatement=isLabeledStatement;function isThrowStatement(E){return E.kind===249}E.isThrowStatement=isThrowStatement;function isTryStatement(E){return E.kind===250}E.isTryStatement=isTryStatement;function isDebuggerStatement(E){return E.kind===251}E.isDebuggerStatement=isDebuggerStatement;function isVariableDeclaration(E){return E.kind===252}E.isVariableDeclaration=isVariableDeclaration;function isVariableDeclarationList(E){return E.kind===253}E.isVariableDeclarationList=isVariableDeclarationList;function isFunctionDeclaration(E){return E.kind===254}E.isFunctionDeclaration=isFunctionDeclaration;function isClassDeclaration(E){return E.kind===255}E.isClassDeclaration=isClassDeclaration;function isInterfaceDeclaration(E){return E.kind===256}E.isInterfaceDeclaration=isInterfaceDeclaration;function isTypeAliasDeclaration(E){return E.kind===257}E.isTypeAliasDeclaration=isTypeAliasDeclaration;function isEnumDeclaration(E){return E.kind===258}E.isEnumDeclaration=isEnumDeclaration;function isModuleDeclaration(E){return E.kind===259}E.isModuleDeclaration=isModuleDeclaration;function isModuleBlock(E){return E.kind===260}E.isModuleBlock=isModuleBlock;function isCaseBlock(E){return E.kind===261}E.isCaseBlock=isCaseBlock;function isNamespaceExportDeclaration(E){return E.kind===262}E.isNamespaceExportDeclaration=isNamespaceExportDeclaration;function isImportEqualsDeclaration(E){return E.kind===263}E.isImportEqualsDeclaration=isImportEqualsDeclaration;function isImportDeclaration(E){return E.kind===264}E.isImportDeclaration=isImportDeclaration;function isImportClause(E){return E.kind===265}E.isImportClause=isImportClause;function isNamespaceImport(E){return E.kind===266}E.isNamespaceImport=isNamespaceImport;function isNamespaceExport(E){return E.kind===272}E.isNamespaceExport=isNamespaceExport;function isNamedImports(E){return E.kind===267}E.isNamedImports=isNamedImports;function isImportSpecifier(E){return E.kind===268}E.isImportSpecifier=isImportSpecifier;function isExportAssignment(E){return E.kind===269}E.isExportAssignment=isExportAssignment;function isExportDeclaration(E){return E.kind===270}E.isExportDeclaration=isExportDeclaration;function isNamedExports(E){return E.kind===271}E.isNamedExports=isNamedExports;function isExportSpecifier(E){return E.kind===273}E.isExportSpecifier=isExportSpecifier;function isMissingDeclaration(E){return E.kind===274}E.isMissingDeclaration=isMissingDeclaration;function isNotEmittedStatement(E){return E.kind===344}E.isNotEmittedStatement=isNotEmittedStatement;function isSyntheticReference(E){return E.kind===349}E.isSyntheticReference=isSyntheticReference;function isMergeDeclarationMarker(E){return E.kind===347}E.isMergeDeclarationMarker=isMergeDeclarationMarker;function isEndOfDeclarationMarker(E){return E.kind===348}E.isEndOfDeclarationMarker=isEndOfDeclarationMarker;function isExternalModuleReference(E){return E.kind===275}E.isExternalModuleReference=isExternalModuleReference;function isJsxElement(E){return E.kind===276}E.isJsxElement=isJsxElement;function isJsxSelfClosingElement(E){return E.kind===277}E.isJsxSelfClosingElement=isJsxSelfClosingElement;function isJsxOpeningElement(E){return E.kind===278}E.isJsxOpeningElement=isJsxOpeningElement;function isJsxClosingElement(E){return E.kind===279}E.isJsxClosingElement=isJsxClosingElement;function isJsxFragment(E){return E.kind===280}E.isJsxFragment=isJsxFragment;function isJsxOpeningFragment(E){return E.kind===281}E.isJsxOpeningFragment=isJsxOpeningFragment;function isJsxClosingFragment(E){return E.kind===282}E.isJsxClosingFragment=isJsxClosingFragment;function isJsxAttribute(E){return E.kind===283}E.isJsxAttribute=isJsxAttribute;function isJsxAttributes(E){return E.kind===284}E.isJsxAttributes=isJsxAttributes;function isJsxSpreadAttribute(E){return E.kind===285}E.isJsxSpreadAttribute=isJsxSpreadAttribute;function isJsxExpression(E){return E.kind===286}E.isJsxExpression=isJsxExpression;function isCaseClause(E){return E.kind===287}E.isCaseClause=isCaseClause;function isDefaultClause(E){return E.kind===288}E.isDefaultClause=isDefaultClause;function isHeritageClause(E){return E.kind===289}E.isHeritageClause=isHeritageClause;function isCatchClause(E){return E.kind===290}E.isCatchClause=isCatchClause;function isPropertyAssignment(E){return E.kind===291}E.isPropertyAssignment=isPropertyAssignment;function isShorthandPropertyAssignment(E){return E.kind===292}E.isShorthandPropertyAssignment=isShorthandPropertyAssignment;function isSpreadAssignment(E){return E.kind===293}E.isSpreadAssignment=isSpreadAssignment;function isEnumMember(E){return E.kind===294}E.isEnumMember=isEnumMember;function isUnparsedPrepend(E){return E.kind===296}E.isUnparsedPrepend=isUnparsedPrepend;function isSourceFile(E){return E.kind===300}E.isSourceFile=isSourceFile;function isBundle(E){return E.kind===301}E.isBundle=isBundle;function isUnparsedSource(E){return E.kind===302}E.isUnparsedSource=isUnparsedSource;function isJSDocTypeExpression(E){return E.kind===304}E.isJSDocTypeExpression=isJSDocTypeExpression;function isJSDocNameReference(E){return E.kind===305}E.isJSDocNameReference=isJSDocNameReference;function isJSDocMemberName(E){return E.kind===306}E.isJSDocMemberName=isJSDocMemberName;function isJSDocLink(E){return E.kind===319}E.isJSDocLink=isJSDocLink;function isJSDocLinkCode(E){return E.kind===320}E.isJSDocLinkCode=isJSDocLinkCode;function isJSDocLinkPlain(E){return E.kind===321}E.isJSDocLinkPlain=isJSDocLinkPlain;function isJSDocAllType(E){return E.kind===307}E.isJSDocAllType=isJSDocAllType;function isJSDocUnknownType(E){return E.kind===308}E.isJSDocUnknownType=isJSDocUnknownType;function isJSDocNullableType(E){return E.kind===309}E.isJSDocNullableType=isJSDocNullableType;function isJSDocNonNullableType(E){return E.kind===310}E.isJSDocNonNullableType=isJSDocNonNullableType;function isJSDocOptionalType(E){return E.kind===311}E.isJSDocOptionalType=isJSDocOptionalType;function isJSDocFunctionType(E){return E.kind===312}E.isJSDocFunctionType=isJSDocFunctionType;function isJSDocVariadicType(E){return E.kind===313}E.isJSDocVariadicType=isJSDocVariadicType;function isJSDocNamepathType(E){return E.kind===314}E.isJSDocNamepathType=isJSDocNamepathType;function isJSDoc(E){return E.kind===315}E.isJSDoc=isJSDoc;function isJSDocTypeLiteral(E){return E.kind===317}E.isJSDocTypeLiteral=isJSDocTypeLiteral;function isJSDocSignature(E){return E.kind===318}E.isJSDocSignature=isJSDocSignature;function isJSDocAugmentsTag(E){return E.kind===323}E.isJSDocAugmentsTag=isJSDocAugmentsTag;function isJSDocAuthorTag(E){return E.kind===325}E.isJSDocAuthorTag=isJSDocAuthorTag;function isJSDocClassTag(E){return E.kind===327}E.isJSDocClassTag=isJSDocClassTag;function isJSDocCallbackTag(E){return E.kind===333}E.isJSDocCallbackTag=isJSDocCallbackTag;function isJSDocPublicTag(E){return E.kind===328}E.isJSDocPublicTag=isJSDocPublicTag;function isJSDocPrivateTag(E){return E.kind===329}E.isJSDocPrivateTag=isJSDocPrivateTag;function isJSDocProtectedTag(E){return E.kind===330}E.isJSDocProtectedTag=isJSDocProtectedTag;function isJSDocReadonlyTag(E){return E.kind===331}E.isJSDocReadonlyTag=isJSDocReadonlyTag;function isJSDocOverrideTag(E){return E.kind===332}E.isJSDocOverrideTag=isJSDocOverrideTag;function isJSDocDeprecatedTag(E){return E.kind===326}E.isJSDocDeprecatedTag=isJSDocDeprecatedTag;function isJSDocSeeTag(E){return E.kind===341}E.isJSDocSeeTag=isJSDocSeeTag;function isJSDocEnumTag(E){return E.kind===334}E.isJSDocEnumTag=isJSDocEnumTag;function isJSDocParameterTag(E){return E.kind===335}E.isJSDocParameterTag=isJSDocParameterTag;function isJSDocReturnTag(E){return E.kind===336}E.isJSDocReturnTag=isJSDocReturnTag;function isJSDocThisTag(E){return E.kind===337}E.isJSDocThisTag=isJSDocThisTag;function isJSDocTypeTag(E){return E.kind===338}E.isJSDocTypeTag=isJSDocTypeTag;function isJSDocTemplateTag(E){return E.kind===339}E.isJSDocTemplateTag=isJSDocTemplateTag;function isJSDocTypedefTag(E){return E.kind===340}E.isJSDocTypedefTag=isJSDocTypedefTag;function isJSDocUnknownTag(E){return E.kind===322}E.isJSDocUnknownTag=isJSDocUnknownTag;function isJSDocPropertyTag(E){return E.kind===342}E.isJSDocPropertyTag=isJSDocPropertyTag;function isJSDocImplementsTag(E){return E.kind===324}E.isJSDocImplementsTag=isJSDocImplementsTag;function isSyntaxList(E){return E.kind===343}E.isSyntaxList=isSyntaxList})(ce||(ce={}));var ce;(function(E){function createEmptyExports(E){return E.createExportDeclaration(undefined,undefined,false,E.createNamedExports([]),undefined)}E.createEmptyExports=createEmptyExports;function createMemberAccessForPropertyName(N,R,j,$){if(E.isComputedPropertyName(j)){return E.setTextRange(N.createElementAccessExpression(R,j.expression),$)}else{var q=E.setTextRange(E.isMemberName(j)?N.createPropertyAccessExpression(R,j):N.createElementAccessExpression(R,j),j);E.getOrCreateEmitNode(q).flags|=64;return q}}E.createMemberAccessForPropertyName=createMemberAccessForPropertyName;function createReactNamespace(N,R){var j=E.parseNodeFactory.createIdentifier(N||"React");E.setParent(j,E.getParseTreeNode(R));return j}function createJsxFactoryExpressionFromEntityName(N,R,j){if(E.isQualifiedName(R)){var $=createJsxFactoryExpressionFromEntityName(N,R.left,j);var q=N.createIdentifier(E.idText(R.right));q.escapedText=R.right.escapedText;return N.createPropertyAccessExpression($,q)}else{return createReactNamespace(E.idText(R),j)}}function createJsxFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"createElement")}E.createJsxFactoryExpression=createJsxFactoryExpression;function createJsxFragmentFactoryExpression(E,N,R,j){return N?createJsxFactoryExpressionFromEntityName(E,N,j):E.createPropertyAccessExpression(createReactNamespace(R,j),"Fragment")}function createExpressionForJsxElement(N,R,j,$,q,G){var ie=[j];if($){ie.push($)}if(q&&q.length>0){if(!$){ie.push(N.createNull())}if(q.length>1){for(var ae=0,ce=q;ae0){if(q.length>1){for(var le=0,_e=q;le<_e.length;le++){var Ee=_e[le];startOnNewLine(Ee);ce.push(Ee)}}else{ce.push(q[0])}}return E.setTextRange(N.createCallExpression(createJsxFactoryExpression(N,R,$,G),undefined,ce),ie)}E.createExpressionForJsxFragment=createExpressionForJsxFragment;function createForOfBindingStatement(N,R,j){if(E.isVariableDeclarationList(R)){var $=E.first(R.declarations);var q=N.updateVariableDeclaration($,$.name,undefined,undefined,j);return E.setTextRange(N.createVariableStatement(undefined,N.updateVariableDeclarationList(R,[q])),R)}else{var G=E.setTextRange(N.createAssignment(R,j),R);return E.setTextRange(N.createExpressionStatement(G),R)}}E.createForOfBindingStatement=createForOfBindingStatement;function insertLeadingStatement(N,R,$){if(E.isBlock(R)){return N.updateBlock(R,E.setTextRange(N.createNodeArray(j([$],R.statements,true)),R.statements))}else{return N.createBlock(N.createNodeArray([R,$]),true)}}E.insertLeadingStatement=insertLeadingStatement;function createExpressionFromEntityName(N,R){if(E.isQualifiedName(R)){var j=createExpressionFromEntityName(N,R.left);var $=E.setParent(E.setTextRange(N.cloneNode(R.right),R.right),R.right.parent);return E.setTextRange(N.createPropertyAccessExpression(j,$),R)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionFromEntityName=createExpressionFromEntityName;function createExpressionForPropertyName(N,R){if(E.isIdentifier(R)){return N.createStringLiteralFromNode(R)}else if(E.isComputedPropertyName(R)){return E.setParent(E.setTextRange(N.cloneNode(R.expression),R.expression),R.expression.parent)}else{return E.setParent(E.setTextRange(N.cloneNode(R),R),R.parent)}}E.createExpressionForPropertyName=createExpressionForPropertyName;function createExpressionForAccessorDeclaration(N,R,j,$,q){var G=E.getAllAccessorDeclarations(R,j),ie=G.firstAccessor,ae=G.getAccessor,ce=G.setAccessor;if(j===ie){return E.setTextRange(N.createObjectDefinePropertyCall($,createExpressionForPropertyName(N,j.name),N.createPropertyDescriptor({enumerable:N.createFalse(),configurable:true,get:ae&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ae.modifiers,undefined,undefined,undefined,ae.parameters,undefined,ae.body),ae),ae),set:ce&&E.setTextRange(E.setOriginalNode(N.createFunctionExpression(ce.modifiers,undefined,undefined,undefined,ce.parameters,undefined,ce.body),ce),ce)},!q)),ie)}return undefined}function createExpressionForPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),R.initializer),R),R)}function createExpressionForShorthandPropertyAssignment(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),N.cloneNode(R.name)),R),R)}function createExpressionForMethodDeclaration(N,R,j){return E.setOriginalNode(E.setTextRange(N.createAssignment(createMemberAccessForPropertyName(N,j,R.name,R.name),E.setOriginalNode(E.setTextRange(N.createFunctionExpression(R.modifiers,R.asteriskToken,undefined,undefined,R.parameters,undefined,R.body),R),R)),R),R)}function createExpressionForObjectLiteralElementLike(N,R,j,$){if(j.name&&E.isPrivateIdentifier(j.name)){E.Debug.failBadSyntaxKind(j.name,"Private identifiers are not allowed in object literals.")}switch(j.kind){case 170:case 171:return createExpressionForAccessorDeclaration(N,R.properties,j,$,!!R.multiLine);case 291:return createExpressionForPropertyAssignment(N,j,$);case 292:return createExpressionForShorthandPropertyAssignment(N,j,$);case 167:return createExpressionForMethodDeclaration(N,j,$)}}E.createExpressionForObjectLiteralElementLike=createExpressionForObjectLiteralElementLike;function expandPreOrPostfixIncrementOrDecrementExpression(N,R,j,$,q){var G=R.operator;E.Debug.assert(G===45||G===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");var ie=N.createTempVariable($);j=N.createAssignment(ie,j);E.setTextRange(j,R.operand);var ae=E.isPrefixUnaryExpression(R)?N.createPrefixUnaryExpression(G,ie):N.createPostfixUnaryExpression(ie,G);E.setTextRange(ae,R);if(q){ae=N.createAssignment(q,ae);E.setTextRange(ae,R)}j=N.createComma(j,ae);E.setTextRange(j,R);if(E.isPostfixUnaryExpression(R)){j=N.createComma(j,ie);E.setTextRange(j,R)}return j}E.expandPreOrPostfixIncrementOrDecrementExpression=expandPreOrPostfixIncrementOrDecrementExpression;function isInternalName(N){return(E.getEmitFlags(N)&32768)!==0}E.isInternalName=isInternalName;function isLocalName(N){return(E.getEmitFlags(N)&16384)!==0}E.isLocalName=isLocalName;function isExportName(N){return(E.getEmitFlags(N)&8192)!==0}E.isExportName=isExportName;function isUseStrictPrologue(N){return E.isStringLiteral(N.expression)&&N.expression.text==="use strict"}function findUseStrictPrologue(N){for(var R=0,j=N;R=E.ModuleKind.ES2015&&ce<=E.ModuleKind.ESNext){var le=E.getEmitHelpers(j);if(le){var _e=[];for(var Ee=0,Te=le;Ee0?q[R-1]:undefined;E.Debug.assertEqual(j[R],enter);q[R]=N.onEnter($[R],ae,ie);j[R]=nextState(N,enter);return R}N.enter=enter;function left(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],left);E.Debug.assertIsDefined(N.onLeft);j[R]=nextState(N,left);var ae=N.onLeft($[R].left,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.left=left;function operator(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],operator);E.Debug.assertIsDefined(N.onOperator);j[R]=nextState(N,operator);N.onOperator($[R].operatorToken,q[R],$[R]);return R}N.operator=operator;function right(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],right);E.Debug.assertIsDefined(N.onRight);j[R]=nextState(N,right);var ae=N.onRight($[R].right,q[R],$[R]);if(ae){checkCircularity(R,$,ae);return pushStack(R,j,$,q,ae)}return R}N.right=right;function exit(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],exit);j[R]=nextState(N,exit);var ae=N.onExit($[R],q[R]);if(R>0){R--;if(N.foldState){var ce=j[R]===exit?"right":"left";q[R]=N.foldState(q[R],ae,ce)}}else{G.value=ae}return R}N.exit=exit;function done(N,R,j,$,q,G,ie){E.Debug.assertEqual(j[R],done);return R}N.done=done;function nextState(N,R){switch(R){case enter:if(N.onLeft)return left;case left:if(N.onOperator)return operator;case operator:if(N.onRight)return right;case right:return exit;case exit:return done;case done:return done;default:E.Debug.fail("Invalid state")}}N.nextState=nextState;function pushStack(E,N,R,j,$){E++;N[E]=enter;R[E]=$;j[E]=undefined;return E}function checkCircularity(N,R,j){if(E.Debug.shouldAssert(2)){while(N>=0){E.Debug.assert(R[N]!==j,"Circular traversal detected.");N--}}}})(N||(N={}));var R=function(){function BinaryExpressionStateMachine(E,N,R,j,$,q){this.onEnter=E;this.onLeft=N;this.onOperator=R;this.onRight=j;this.onExit=$;this.foldState=q}return BinaryExpressionStateMachine}();function createBinaryExpressionTrampoline(j,$,q,G,ie,ae){var ce=new R(j,$,q,G,ie,ae);return trampoline;function trampoline(R,j){var $={value:undefined};var q=[N.enter];var G=[R];var ie=[undefined];var ae=0;while(q[ae]!==N.done){ae=q[ae](ce,ae,q,G,ie,$,j)}E.Debug.assertEqual(ae,0);return $.value}}E.createBinaryExpressionTrampoline=createBinaryExpressionTrampoline})(ce||(ce={}));var ce;(function(E){function setTextRange(N,R){return R?E.setTextRangePosEnd(N,R.pos,R.end):N}E.setTextRange=setTextRange})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["None"]=0]="None";E[E["Yield"]=1]="Yield";E[E["Await"]=2]="Await";E[E["Type"]=4]="Type";E[E["IgnoreMissingOpenBrace"]=16]="IgnoreMissingOpenBrace";E[E["JSDoc"]=32]="JSDoc"})(N||(N={}));var R;(function(E){E[E["TryParse"]=0]="TryParse";E[E["Lookahead"]=1]="Lookahead";E[E["Reparse"]=2]="Reparse"})(R||(R={}));var $;var q;var G;var ie;var ae;E.parseBaseNodeFactory={createBaseSourceFileNode:function(N){return new(ae||(ae=E.objectAllocator.getSourceFileConstructor()))(N,-1,-1)},createBaseIdentifierNode:function(N){return new(G||(G=E.objectAllocator.getIdentifierConstructor()))(N,-1,-1)},createBasePrivateIdentifierNode:function(N){return new(ie||(ie=E.objectAllocator.getPrivateIdentifierConstructor()))(N,-1,-1)},createBaseTokenNode:function(N){return new(q||(q=E.objectAllocator.getTokenConstructor()))(N,-1,-1)},createBaseNode:function(N){return new($||($=E.objectAllocator.getNodeConstructor()))(N,-1,-1)}};E.parseNodeFactory=E.createNodeFactory(1,E.parseBaseNodeFactory);function visitNode(E,N){return N&&E(N)}function visitNodes(E,N,R){if(R){if(N){return N(R)}for(var j=0,$=R;j<$.length;j++){var q=$[j];var G=E(q);if(G){return G}}}}function isJSDocLikeText(E,N){return E.charCodeAt(N+1)===42&&E.charCodeAt(N+2)===42&&E.charCodeAt(N+3)!==47}E.isJSDocLikeText=isJSDocLikeText;function forEachChild(N,R,j){if(!N||N.kind<=158){return}switch(N.kind){case 159:return visitNode(R,N.left)||visitNode(R,N.right);case 161:return visitNode(R,N.name)||visitNode(R,N.constraint)||visitNode(R,N.default)||visitNode(R,N.expression);case 292:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.equalsToken)||visitNode(R,N.objectAssignmentInitializer);case 293:return visitNode(R,N.expression);case 162:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 165:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 164:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 291:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.initializer);case 252:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.exclamationToken)||visitNode(R,N.type)||visitNode(R,N.initializer);case 201:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.dotDotDotToken)||visitNode(R,N.propertyName)||visitNode(R,N.name)||visitNode(R,N.initializer);case 177:case 178:case 172:case 173:case 174:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 167:case 166:case 169:case 170:case 171:case 211:case 254:case 212:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.asteriskToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.exclamationToken)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.parameters)||visitNode(R,N.type)||visitNode(R,N.equalsGreaterThanToken)||visitNode(R,N.body);case 168:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.body);case 176:return visitNode(R,N.typeName)||visitNodes(R,j,N.typeArguments);case 175:return visitNode(R,N.assertsModifier)||visitNode(R,N.parameterName)||visitNode(R,N.type);case 179:return visitNode(R,N.exprName);case 180:return visitNodes(R,j,N.members);case 181:return visitNode(R,N.elementType);case 182:return visitNodes(R,j,N.elements);case 185:case 186:return visitNodes(R,j,N.types);case 187:return visitNode(R,N.checkType)||visitNode(R,N.extendsType)||visitNode(R,N.trueType)||visitNode(R,N.falseType);case 188:return visitNode(R,N.typeParameter);case 198:return visitNode(R,N.argument)||visitNode(R,N.qualifier)||visitNodes(R,j,N.typeArguments);case 189:case 191:return visitNode(R,N.type);case 192:return visitNode(R,N.objectType)||visitNode(R,N.indexType);case 193:return visitNode(R,N.readonlyToken)||visitNode(R,N.typeParameter)||visitNode(R,N.nameType)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 194:return visitNode(R,N.literal);case 195:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.name)||visitNode(R,N.questionToken)||visitNode(R,N.type);case 199:case 200:return visitNodes(R,j,N.elements);case 202:return visitNodes(R,j,N.elements);case 203:return visitNodes(R,j,N.properties);case 204:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.name);case 205:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNode(R,N.argumentExpression);case 206:case 207:return visitNode(R,N.expression)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNodes(R,j,N.arguments);case 208:return visitNode(R,N.tag)||visitNode(R,N.questionDotToken)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.template);case 209:return visitNode(R,N.type)||visitNode(R,N.expression);case 210:return visitNode(R,N.expression);case 213:return visitNode(R,N.expression);case 214:return visitNode(R,N.expression);case 215:return visitNode(R,N.expression);case 217:return visitNode(R,N.operand);case 222:return visitNode(R,N.asteriskToken)||visitNode(R,N.expression);case 216:return visitNode(R,N.expression);case 218:return visitNode(R,N.operand);case 219:return visitNode(R,N.left)||visitNode(R,N.operatorToken)||visitNode(R,N.right);case 227:return visitNode(R,N.expression)||visitNode(R,N.type);case 228:return visitNode(R,N.expression);case 229:return visitNode(R,N.name);case 220:return visitNode(R,N.condition)||visitNode(R,N.questionToken)||visitNode(R,N.whenTrue)||visitNode(R,N.colonToken)||visitNode(R,N.whenFalse);case 223:return visitNode(R,N.expression);case 233:case 260:return visitNodes(R,j,N.statements);case 300:return visitNodes(R,j,N.statements)||visitNode(R,N.endOfFileToken);case 235:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.declarationList);case 253:return visitNodes(R,j,N.declarations);case 236:return visitNode(R,N.expression);case 237:return visitNode(R,N.expression)||visitNode(R,N.thenStatement)||visitNode(R,N.elseStatement);case 238:return visitNode(R,N.statement)||visitNode(R,N.expression);case 239:return visitNode(R,N.expression)||visitNode(R,N.statement);case 240:return visitNode(R,N.initializer)||visitNode(R,N.condition)||visitNode(R,N.incrementor)||visitNode(R,N.statement);case 241:return visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 242:return visitNode(R,N.awaitModifier)||visitNode(R,N.initializer)||visitNode(R,N.expression)||visitNode(R,N.statement);case 243:case 244:return visitNode(R,N.label);case 245:return visitNode(R,N.expression);case 246:return visitNode(R,N.expression)||visitNode(R,N.statement);case 247:return visitNode(R,N.expression)||visitNode(R,N.caseBlock);case 261:return visitNodes(R,j,N.clauses);case 287:return visitNode(R,N.expression)||visitNodes(R,j,N.statements);case 288:return visitNodes(R,j,N.statements);case 248:return visitNode(R,N.label)||visitNode(R,N.statement);case 249:return visitNode(R,N.expression);case 250:return visitNode(R,N.tryBlock)||visitNode(R,N.catchClause)||visitNode(R,N.finallyBlock);case 290:return visitNode(R,N.variableDeclaration)||visitNode(R,N.block);case 163:return visitNode(R,N.expression);case 255:case 224:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 256:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNodes(R,j,N.heritageClauses)||visitNodes(R,j,N.members);case 257:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.typeParameters)||visitNode(R,N.type);case 258:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNodes(R,j,N.members);case 294:return visitNode(R,N.name)||visitNode(R,N.initializer);case 259:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.body);case 263:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.name)||visitNode(R,N.moduleReference);case 264:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.importClause)||visitNode(R,N.moduleSpecifier);case 265:return visitNode(R,N.name)||visitNode(R,N.namedBindings);case 262:return visitNode(R,N.name);case 266:return visitNode(R,N.name);case 272:return visitNode(R,N.name);case 267:case 271:return visitNodes(R,j,N.elements);case 270:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.exportClause)||visitNode(R,N.moduleSpecifier);case 268:case 273:return visitNode(R,N.propertyName)||visitNode(R,N.name);case 269:return visitNodes(R,j,N.decorators)||visitNodes(R,j,N.modifiers)||visitNode(R,N.expression);case 221:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 231:return visitNode(R,N.expression)||visitNode(R,N.literal);case 196:return visitNode(R,N.head)||visitNodes(R,j,N.templateSpans);case 197:return visitNode(R,N.type)||visitNode(R,N.literal);case 160:return visitNode(R,N.expression);case 289:return visitNodes(R,j,N.types);case 226:return visitNode(R,N.expression)||visitNodes(R,j,N.typeArguments);case 275:return visitNode(R,N.expression);case 274:return visitNodes(R,j,N.decorators);case 346:return visitNodes(R,j,N.elements);case 276:return visitNode(R,N.openingElement)||visitNodes(R,j,N.children)||visitNode(R,N.closingElement);case 280:return visitNode(R,N.openingFragment)||visitNodes(R,j,N.children)||visitNode(R,N.closingFragment);case 277:case 278:return visitNode(R,N.tagName)||visitNodes(R,j,N.typeArguments)||visitNode(R,N.attributes);case 284:return visitNodes(R,j,N.properties);case 283:return visitNode(R,N.name)||visitNode(R,N.initializer);case 285:return visitNode(R,N.expression);case 286:return visitNode(R,N.dotDotDotToken)||visitNode(R,N.expression);case 279:return visitNode(R,N.tagName);case 183:case 184:case 304:case 310:case 309:case 311:case 313:return visitNode(R,N.type);case 312:return visitNodes(R,j,N.parameters)||visitNode(R,N.type);case 315:return(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment))||visitNodes(R,j,N.tags);case 341:return visitNode(R,N.tagName)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 305:return visitNode(R,N.name);case 306:return visitNode(R,N.left)||visitNode(R,N.right);case 335:case 342:return visitNode(R,N.tagName)||(N.isNameFirst?visitNode(R,N.name)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.typeExpression)||visitNode(R,N.name)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 325:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 324:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 323:return visitNode(R,N.tagName)||visitNode(R,N.class)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 339:return visitNode(R,N.tagName)||visitNode(R,N.constraint)||visitNodes(R,j,N.typeParameters)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 340:return visitNode(R,N.tagName)||(N.typeExpression&&N.typeExpression.kind===304?visitNode(R,N.typeExpression)||visitNode(R,N.fullName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)):visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment)));case 333:return visitNode(R,N.tagName)||visitNode(R,N.fullName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 336:case 338:case 337:case 334:return visitNode(R,N.tagName)||visitNode(R,N.typeExpression)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 318:return E.forEach(N.typeParameters,R)||E.forEach(N.parameters,R)||visitNode(R,N.type);case 319:case 320:case 321:return visitNode(R,N.name);case 317:return E.forEach(N.jsDocPropertyTags,R);case 322:case 327:case 328:case 329:case 330:case 331:case 326:return visitNode(R,N.tagName)||(typeof N.comment==="string"?undefined:visitNodes(R,j,N.comment));case 345:return visitNode(R,N.expression)}}E.forEachChild=forEachChild;function forEachChildRecursively(N,R,j){var $=gatherPossibleChildren(N);var q=[];while(q.length<$.length){q.push(N)}while($.length!==0){var G=$.pop();var ie=q.pop();if(E.isArray(G)){if(j){var ae=j(G,ie);if(ae){if(ae==="skip")continue;return ae}}for(var ce=G.length-1;ce>=0;--ce){$.push(G[ce]);q.push(ie)}}else{var ae=R(G,ie);if(ae){if(ae==="skip")continue;return ae}if(G.kind>=159){for(var le=0,_e=gatherPossibleChildren(G);le<_e.length;le++){var Ee=_e[le];$.push(Ee);q.push(G)}}}}}E.forEachChildRecursively=forEachChildRecursively;function gatherPossibleChildren(E){var N=[];forEachChild(E,addWorkItem,addWorkItem);return N;function addWorkItem(E){N.unshift(E)}}function createSourceFile(N,R,j,$,q){if($===void 0){$=false}E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("parse","createSourceFile",{path:N},true);E.performance.mark("beforeParse");var G;E.perfLogger.logStartParseSourceFile(N);if(j===100){G=ce.parseSourceFile(N,R,j,undefined,$,6)}else{G=ce.parseSourceFile(N,R,j,undefined,$,q)}E.perfLogger.logStopParseSourceFile();E.performance.mark("afterParse");E.performance.measure("Parse","beforeParse","afterParse");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}E.createSourceFile=createSourceFile;function parseIsolatedEntityName(E,N){return ce.parseIsolatedEntityName(E,N)}E.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(E,N){return ce.parseJsonText(E,N)}E.parseJsonText=parseJsonText;function isExternalModule(E){return E.externalModuleIndicator!==undefined}E.isExternalModule=isExternalModule;function updateSourceFile(E,N,R,j){if(j===void 0){j=false}var $=le.updateSourceFile(E,N,R,j);$.flags|=E.flags&3145728;return $}E.updateSourceFile=updateSourceFile;function parseIsolatedJSDocComment(E,N,R){var j=ce.JSDocParser.parseIsolatedJSDocComment(E,N,R);if(j&&j.jsDoc){ce.fixupParentReferences(j.jsDoc)}return j}E.parseIsolatedJSDocComment=parseIsolatedJSDocComment;function parseJSDocTypeExpressionForTests(E,N,R){return ce.JSDocParser.parseJSDocTypeExpressionForTests(E,N,R)}E.parseJSDocTypeExpressionForTests=parseJSDocTypeExpressionForTests;var ce;(function(N){var R=E.createScanner(99,true);var $=4096|16384;var q;var G;var ie;var ae;var ce;function countNode(E){We++;return E}var _e={createBaseSourceFileNode:function(E){return countNode(new ce(E,0,0))},createBaseIdentifierNode:function(E){return countNode(new ie(E,0,0))},createBasePrivateIdentifierNode:function(E){return countNode(new ae(E,0,0))},createBaseTokenNode:function(E){return countNode(new G(E,0,0))},createBaseNode:function(E){return countNode(new q(E,0,0))}};var Ee=E.createNodeFactory(1|2|8,_e);var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve;var qe;var He;var Ge;var Ke;var Qe=true;var Xe=false;function parseSourceFile(N,R,j,$,q,G){var ie;if(q===void 0){q=false}G=E.ensureScriptKind(N,G);if(G===6){var ae=parseJsonText(N,R,j,$,q);E.convertToObjectWorker(ae,(ie=ae.statements[0])===null||ie===void 0?void 0:ie.expression,ae.parseDiagnostics,false,undefined,undefined);ae.referencedFiles=E.emptyArray;ae.typeReferenceDirectives=E.emptyArray;ae.libReferenceDirectives=E.emptyArray;ae.amdDependencies=E.emptyArray;ae.hasNoDefaultLib=false;ae.pragmas=E.emptyMap;return ae}initializeState(N,R,j,$,G);var ce=parseSourceFileWorker(j,q,G);clearState();return ce}N.parseSourceFile=parseSourceFile;function parseIsolatedEntityName(E,N){initializeState("",E,N,undefined,1);nextToken();var R=parseEntityName(true);var j=token()===1&&!Be.length;clearState();return j?R:undefined}N.parseIsolatedEntityName=parseIsolatedEntityName;function parseJsonText(N,R,j,$,q){if(j===void 0){j=2}if(q===void 0){q=false}initializeState(N,R,j,$,6);we=Ke;nextToken();var G=getNodePos();var ie,ae;if(token()===1){ie=createNodeArray([],G,G);ae=parseTokenNode()}else{var ce=void 0;while(token()!==1){var le=void 0;switch(token()){case 22:le=parseArrayLiteralExpression();break;case 110:case 95:case 104:le=parseTokenNode();break;case 40:if(lookAhead((function(){return nextToken()===8&&nextToken()!==58}))){le=parsePrefixUnaryExpression()}else{le=parseObjectLiteralExpression()}break;case 8:case 10:if(lookAhead((function(){return nextToken()!==58}))){le=parseLiteralNode();break}default:le=parseObjectLiteralExpression();break}if(ce&&E.isArray(ce)){ce.push(le)}else if(ce){ce=[ce,le]}else{ce=le;if(token()!==1){parseErrorAtCurrentToken(E.Diagnostics.Unexpected_token)}}}var _e=E.isArray(ce)?finishNode(Ee.createArrayLiteralExpression(ce),G):E.Debug.checkDefined(ce);var Te=Ee.createExpressionStatement(_e);finishNode(Te,G);ie=createNodeArray([Te],G);ae=parseExpectedToken(1,E.Diagnostics.Unexpected_token)}var Ie=createSourceFile(N,2,6,false,ie,ae,we);if(q){fixupParentReferences(Ie)}Ie.nodeCount=We;Ie.identifierCount=qe;Ie.identifiers=Je;Ie.parseDiagnostics=E.attachFileToDiagnostics(Be,Ie);if(je){Ie.jsDocDiagnostics=E.attachFileToDiagnostics(je,Ie)}var Ne=Ie;clearState();return Ne}N.parseJsonText=parseJsonText;function initializeState(N,j,$,le,_e){q=E.objectAllocator.getNodeConstructor();G=E.objectAllocator.getTokenConstructor();ie=E.objectAllocator.getIdentifierConstructor();ae=E.objectAllocator.getPrivateIdentifierConstructor();ce=E.objectAllocator.getSourceFileConstructor();Te=E.normalizePath(N);Ie=j;Ne=$;Ue=le;Me=_e;Le=E.getLanguageVariant(_e);Be=[];He=0;Je=new E.Map;Ve=new E.Map;qe=0;We=0;we=0;Qe=true;switch(Me){case 1:case 2:Ke=131072;break;case 6:Ke=131072|33554432;break;default:Ke=0;break}Xe=false;R.setText(Ie);R.setOnError(scanError);R.setScriptTarget(Ne);R.setLanguageVariant(Le)}function clearState(){R.clearCommentDirectives();R.setText("");R.setOnError(undefined);Ie=undefined;Ne=undefined;Ue=undefined;Me=undefined;Le=undefined;we=0;Be=undefined;je=undefined;He=0;Je=undefined;Ge=undefined;Qe=true}function parseSourceFileWorker(N,j,$){var q=isDeclarationFileName(Te);if(q){Ke|=8388608}we=Ke;nextToken();var G=parseList(0,parseStatement);E.Debug.assert(token()===1);var ie=addJSDocComment(parseTokenNode());var ae=createSourceFile(Te,N,$,q,G,ie,we);processCommentPragmas(ae,Ie);processPragmasIntoFields(ae,reportPragmaDiagnostic);ae.commentDirectives=R.getCommentDirectives();ae.nodeCount=We;ae.identifierCount=qe;ae.identifiers=Je;ae.parseDiagnostics=E.attachFileToDiagnostics(Be,ae);if(je){ae.jsDocDiagnostics=E.attachFileToDiagnostics(je,ae)}if(j){fixupParentReferences(ae)}return ae;function reportPragmaDiagnostic(N,R,j){Be.push(E.createDetachedDiagnostic(Te,N,R,j))}}function withJSDoc(E,N){return N?addJSDocComment(E):E}var Ye=false;function addJSDocComment(N){E.Debug.assert(!N.jsDoc);var R=E.mapDefined(E.getJSDocCommentRanges(N,Ie),(function(E){return rt.parseJSDocComment(N,E.pos,E.end-E.pos)}));if(R.length)N.jsDoc=R;if(Ye){Ye=false;N.flags|=134217728}return N}function reparseTopLevelAwait(N){var j=Ue;var $=le.createSyntaxCursor(N);Ue={currentNode:currentNode};var q=[];var G=Be;Be=[];var ie=0;var ae=findNextStatementWithAwait(N.statements,0);var _loop_3=function(){var j=N.statements[ie];var $=N.statements[ae];E.addRange(q,N.statements,ie,ae);ie=findNextStatementWithoutAwait(N.statements,ae);var ce=E.findIndex(G,(function(E){return E.start>=j.pos}));var le=ce>=0?E.findIndex(G,(function(E){return E.start>=$.pos}),ce):-1;if(ce>=0){E.addRange(Be,G,ce,le>=0?le:undefined)}speculationHelper((function(){var E=Ke;Ke|=32768;R.setTextPos($.pos);nextToken();while(token()!==1){var j=R.getStartPos();var G=parseListElement(0,parseStatement);q.push(G);if(j===R.getStartPos()){nextToken()}if(ie>=0){var ae=N.statements[ie];if(G.end===ae.pos){break}if(G.end>ae.pos){ie=findNextStatementWithoutAwait(N.statements,ie+1)}}}Ke=E}),2);ae=ie>=0?findNextStatementWithAwait(N.statements,ie):-1};while(ae!==-1){_loop_3()}if(ie>=0){var ce=N.statements[ie];E.addRange(q,N.statements,ie);var _e=E.findIndex(G,(function(E){return E.start>=ce.pos}));if(_e>=0){E.addRange(Be,G,_e)}}Ue=j;return Ee.updateSourceFile(N,E.setTextRange(Ee.createNodeArray(q),N.statements));function containsPossibleTopLevelAwait(E){return!(E.flags&32768)&&!!(E.transformFlags&16777216)}function findNextStatementWithAwait(E,N){for(var R=N;R116}function isIdentifier(){if(token()===79){return true}if(token()===125&&inYieldContext()){return false}if(token()===131&&inAwaitContext()){return false}return token()>116}function parseExpected(N,R,j){if(j===void 0){j=true}if(token()===N){if(j){nextToken()}return true}if(R){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N))}return false}var Ze=Object.keys(E.textToKeywordObj).filter((function(E){return E.length>2}));function parseErrorForMissingSemicolonAfter(N){var j;if(E.isTaggedTemplateExpression(N)){parseErrorAt(E.skipTrivia(Ie,N.template.pos),N.template.end,E.Diagnostics.Module_declaration_names_may_only_use_or_quoted_strings);return}var $=E.isIdentifier(N)?E.idText(N):undefined;if(!$||!E.isIdentifierText($,Ne)){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26));return}var q=E.skipTrivia(Ie,N.pos);switch($){case"const":case"let":case"var":parseErrorAt(q,N.end,E.Diagnostics.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":parseErrorForInvalidName(E.Diagnostics.Interface_name_cannot_be_0,E.Diagnostics.Interface_must_be_given_a_name,18);return;case"is":parseErrorAt(q,R.getTextPos(),E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":parseErrorForInvalidName(E.Diagnostics.Namespace_name_cannot_be_0,E.Diagnostics.Namespace_must_be_given_a_name,18);return;case"type":parseErrorForInvalidName(E.Diagnostics.Type_alias_name_cannot_be_0,E.Diagnostics.Type_alias_must_be_given_a_name,63);return}var G=(j=E.getSpellingSuggestion($,Ze,(function(E){return E})))!==null&&j!==void 0?j:getSpaceSuggestion($);if(G){parseErrorAt(q,N.end,E.Diagnostics.Unknown_keyword_or_identifier_Did_you_mean_0,G);return}if(token()===0){return}parseErrorAt(q,N.end,E.Diagnostics.Unexpected_keyword_or_identifier)}function parseErrorForInvalidName(N,R,j){if(token()===j){parseErrorAtCurrentToken(R)}else{parseErrorAtCurrentToken(N,E.tokenToString(token()))}}function getSpaceSuggestion(N){for(var R=0,j=Ze;R$.length+2&&E.startsWith(N,$)){return $+" "+N.slice($.length)}}return undefined}function parseSemicolonAfterPropertyName(N,j,$){if(token()===59&&!R.hasPrecedingLineBreak()){parseErrorAtCurrentToken(E.Diagnostics.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(token()===20){parseErrorAtCurrentToken(E.Diagnostics.Cannot_start_a_function_call_in_a_type_annotation);nextToken();return}if(j&&!canParseSemicolon()){if($){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}else{parseErrorAtCurrentToken(E.Diagnostics.Expected_for_property_initializer)}return}if(tryParseSemicolon()){return}if($){if(token()===18){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(26))}return}parseErrorForMissingSemicolonAfter(N)}function parseExpectedJSDoc(N){if(token()===N){nextTokenJSDoc();return true}parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(N));return false}function parseOptional(E){if(token()===E){nextToken();return true}return false}function parseOptionalToken(E){if(token()===E){return parseTokenNode()}return undefined}function parseOptionalTokenJSDoc(E){if(token()===E){return parseTokenNodeJSDoc()}return undefined}function parseExpectedToken(N,R,j){return parseOptionalToken(N)||createMissingNode(N,false,R||E.Diagnostics._0_expected,j||E.tokenToString(N))}function parseExpectedTokenJSDoc(N){return parseOptionalTokenJSDoc(N)||createMissingNode(N,false,E.Diagnostics._0_expected,E.tokenToString(N))}function parseTokenNode(){var E=getNodePos();var N=token();nextToken();return finishNode(Ee.createToken(N),E)}function parseTokenNodeJSDoc(){var E=getNodePos();var N=token();nextTokenJSDoc();return finishNode(Ee.createToken(N),E)}function canParseSemicolon(){if(token()===26){return true}return token()===19||token()===1||R.hasPrecedingLineBreak()}function tryParseSemicolon(){if(!canParseSemicolon()){return false}if(token()===26){nextToken()}return true}function parseSemicolon(){return tryParseSemicolon()||parseExpected(26)}function createNodeArray(N,j,$,q){var G=Ee.createNodeArray(N,q);E.setTextRangePosEnd(G,j,$!==null&&$!==void 0?$:R.getStartPos());return G}function finishNode(N,j,$){E.setTextRangePosEnd(N,j,$!==null&&$!==void 0?$:R.getStartPos());if(Ke){N.flags|=Ke}if(Xe){Xe=false;N.flags|=65536}return N}function createMissingNode(N,j,$,q){if(j){parseErrorAtPosition(R.getStartPos(),0,$,q)}else if($){parseErrorAtCurrentToken($,q)}var G=getNodePos();var ie=N===79?Ee.createIdentifier("",undefined,undefined):E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,"","",undefined):N===8?Ee.createNumericLiteral("",undefined):N===10?Ee.createStringLiteral("",undefined):N===274?Ee.createMissingDeclaration():Ee.createToken(N);return finishNode(ie,G)}function internIdentifier(E){var N=Je.get(E);if(N===undefined){Je.set(E,N=E)}return N}function createIdentifier(N,j,$){if(N){qe++;var q=getNodePos();var G=token();var ie=internIdentifier(R.getTokenValue());nextTokenWithoutCheck();return finishNode(Ee.createIdentifier(ie,undefined,G),q)}if(token()===80){parseErrorAtCurrentToken($||E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return createIdentifier(true)}if(token()===0&&R.tryScan((function(){return R.reScanInvalidIdentifier()===79}))){return createIdentifier(true)}qe++;var ae=token()===1;var ce=R.isReservedWord();var le=R.getTokenText();var _e=ce?E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:E.Diagnostics.Identifier_expected;return createMissingNode(79,ae,j||_e,le)}function parseBindingIdentifier(E){return createIdentifier(isBindingIdentifier(),undefined,E)}function parseIdentifier(E,N){return createIdentifier(isIdentifier(),E,N)}function parseIdentifierName(N){return createIdentifier(E.tokenIsIdentifierOrKeyword(token()),N)}function isLiteralPropertyName(){return E.tokenIsIdentifierOrKeyword(token())||token()===10||token()===8}function parsePropertyNameWorker(E){if(token()===10||token()===8){var N=parseLiteralNode();N.text=internIdentifier(N.text);return N}if(E&&token()===22){return parseComputedPropertyName()}if(token()===80){return parsePrivateIdentifier()}return parseIdentifierName()}function parsePropertyName(){return parsePropertyNameWorker(true)}function parseComputedPropertyName(){var E=getNodePos();parseExpected(22);var N=allowInAnd(parseExpression);parseExpected(23);return finishNode(Ee.createComputedPropertyName(N),E)}function internPrivateIdentifier(E){var N=Ve.get(E);if(N===undefined){Ve.set(E,N=E)}return N}function parsePrivateIdentifier(){var E=getNodePos();var N=Ee.createPrivateIdentifier(internPrivateIdentifier(R.getTokenText()));nextToken();return finishNode(N,E)}function parseContextualModifier(E){return token()===E&&tryParse(nextTokenCanFollowModifier)}function nextTokenIsOnSameLineAndCanFollowModifier(){nextToken();if(R.hasPrecedingLineBreak()){return false}return canFollowModifier()}function nextTokenCanFollowModifier(){switch(token()){case 85:return nextToken()===92;case 93:nextToken();if(token()===88){return lookAhead(nextTokenCanFollowDefaultKeyword)}if(token()===150){return lookAhead(nextTokenCanFollowExportModifier)}return canFollowExportModifier();case 88:return nextTokenCanFollowDefaultKeyword();case 124:return nextTokenIsOnSameLineAndCanFollowModifier();case 135:case 147:nextToken();return canFollowModifier();default:return nextTokenIsOnSameLineAndCanFollowModifier()}}function canFollowExportModifier(){return token()!==41&&token()!==127&&token()!==18&&canFollowModifier()}function nextTokenCanFollowExportModifier(){nextToken();return canFollowExportModifier()}function parseAnyContextualModifier(){return E.isModifierKind(token())&&tryParse(nextTokenCanFollowModifier)}function canFollowModifier(){return token()===22||token()===18||token()===41||token()===25||isLiteralPropertyName()}function nextTokenCanFollowDefaultKeyword(){nextToken();return token()===84||token()===98||token()===118||token()===126&&lookAhead(nextTokenIsClassKeywordOnSameLine)||token()===130&&lookAhead(nextTokenIsFunctionKeywordOnSameLine)}function isListElement(N,R){var j=currentNode(N);if(j){return true}switch(N){case 0:case 1:case 3:return!(token()===26&&R)&&isStartOfStatement();case 2:return token()===82||token()===88;case 4:return lookAhead(isTypeMemberStart);case 5:return lookAhead(isClassMemberStart)||token()===26&&!R;case 6:return token()===22||isLiteralPropertyName();case 12:switch(token()){case 22:case 41:case 25:case 24:return true;default:return isLiteralPropertyName()}case 18:return isLiteralPropertyName();case 9:return token()===22||token()===25||isLiteralPropertyName();case 7:if(token()===18){return lookAhead(isValidHeritageClauseObjectLiteral)}if(!R){return isStartOfLeftHandSideExpression()&&!isHeritageClauseExtendsOrImplementsKeyword()}else{return isIdentifier()&&!isHeritageClauseExtendsOrImplementsKeyword()}case 8:return isBindingIdentifierOrPrivateIdentifierOrPattern();case 10:return token()===27||token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern();case 19:return isIdentifier();case 15:switch(token()){case 27:case 24:return true}case 11:return token()===25||isStartOfExpression();case 16:return isStartOfParameter(false);case 17:return isStartOfParameter(true);case 20:case 21:return token()===27||isStartOfType();case 22:return isHeritageClause();case 23:return E.tokenIsIdentifierOrKeyword(token());case 13:return E.tokenIsIdentifierOrKeyword(token())||token()===18;case 14:return true}return E.Debug.fail("Non-exhaustive case in 'isListElement'.")}function isValidHeritageClauseObjectLiteral(){E.Debug.assert(token()===18);if(nextToken()===19){var N=nextToken();return N===27||N===18||N===94||N===117}return true}function nextTokenIsIdentifier(){nextToken();return isIdentifier()}function nextTokenIsIdentifierOrKeyword(){nextToken();return E.tokenIsIdentifierOrKeyword(token())}function nextTokenIsIdentifierOrKeywordOrGreaterThan(){nextToken();return E.tokenIsIdentifierOrKeywordOrGreaterThan(token())}function isHeritageClauseExtendsOrImplementsKeyword(){if(token()===117||token()===94){return lookAhead(nextTokenIsStartOfExpression)}return false}function nextTokenIsStartOfExpression(){nextToken();return isStartOfExpression()}function nextTokenIsStartOfType(){nextToken();return isStartOfType()}function isListTerminator(E){if(token()===1){return true}switch(E){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return token()===19;case 3:return token()===19||token()===82||token()===88;case 7:return token()===18||token()===94||token()===117;case 8:return isVariableDeclaratorListTerminator();case 19:return token()===31||token()===20||token()===18||token()===94||token()===117;case 11:return token()===21||token()===26;case 15:case 21:case 10:return token()===23;case 17:case 16:case 18:return token()===21||token()===23;case 20:return token()!==27;case 22:return token()===18||token()===19;case 13:return token()===31||token()===43;case 14:return token()===29&&lookAhead(nextTokenIsSlash);default:return false}}function isVariableDeclaratorListTerminator(){if(canParseSemicolon()){return true}if(isInOrOfKeyword(token())){return true}if(token()===38){return true}return false}function isInSomeParsingContext(){for(var E=0;E<24;E++){if(He&1<=0)}function getExpectedCommaDiagnostic(N){return N===6?E.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:undefined}function createMissingList(){var E=createNodeArray([],getNodePos());E.isMissingList=true;return E}function isMissingList(E){return!!E.isMissingList}function parseBracketedList(E,N,R,j){if(parseExpected(R)){var $=parseDelimitedList(E,N);parseExpected(j);return $}return createMissingList()}function parseEntityName(E,N){var R=getNodePos();var j=E?parseIdentifierName(N):parseIdentifier(N);var $=getNodePos();while(parseOptional(24)){if(token()===29){j.jsdocDotPos=$;break}$=getNodePos();j=finishNode(Ee.createQualifiedName(j,parseRightSideOfDot(E,false)),R)}return j}function createQualifiedName(E,N){return finishNode(Ee.createQualifiedName(E,N),E.pos)}function parseRightSideOfDot(N,j){if(R.hasPrecedingLineBreak()&&E.tokenIsIdentifierOrKeyword(token())){var $=lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);if($){return createMissingNode(79,true,E.Diagnostics.Identifier_expected)}}if(token()===80){var q=parsePrivateIdentifier();return j?q:createMissingNode(79,true,E.Diagnostics.Identifier_expected)}return N?parseIdentifierName():parseIdentifier()}function parseTemplateSpans(E){var N=getNodePos();var R=[];var j;do{j=parseTemplateSpan(E);R.push(j)}while(j.literal.kind===16);return createNodeArray(R,N)}function parseTemplateExpression(E){var N=getNodePos();return finishNode(Ee.createTemplateExpression(parseTemplateHead(E),parseTemplateSpans(E)),N)}function parseTemplateType(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralType(parseTemplateHead(false),parseTemplateTypeSpans()),E)}function parseTemplateTypeSpans(){var E=getNodePos();var N=[];var R;do{R=parseTemplateTypeSpan();N.push(R)}while(R.literal.kind===16);return createNodeArray(N,E)}function parseTemplateTypeSpan(){var E=getNodePos();return finishNode(Ee.createTemplateLiteralTypeSpan(parseType(),parseLiteralOfTemplateSpan(false)),E)}function parseLiteralOfTemplateSpan(N){if(token()===19){reScanTemplateToken(N);return parseTemplateMiddleOrTemplateTail()}else{return parseExpectedToken(17,E.Diagnostics._0_expected,E.tokenToString(19))}}function parseTemplateSpan(E){var N=getNodePos();return finishNode(Ee.createTemplateSpan(allowInAnd(parseExpression),parseLiteralOfTemplateSpan(E)),N)}function parseLiteralNode(){return parseLiteralLikeNode(token())}function parseTemplateHead(N){if(N){reScanTemplateHeadOrNoSubstitutionTemplate()}var R=parseLiteralLikeNode(token());E.Debug.assert(R.kind===15,"Template head has wrong token kind");return R}function parseTemplateMiddleOrTemplateTail(){var N=parseLiteralLikeNode(token());E.Debug.assert(N.kind===16||N.kind===17,"Template fragment has wrong token kind");return N}function getTemplateLiteralRawText(E){var N=E===14||E===17;var j=R.getTokenText();return j.substring(1,j.length-(R.isUnterminated()?0:N?1:2))}function parseLiteralLikeNode(N){var j=getNodePos();var $=E.isTemplateLiteralKind(N)?Ee.createTemplateLiteralLikeNode(N,R.getTokenValue(),getTemplateLiteralRawText(N),R.getTokenFlags()&2048):N===8?Ee.createNumericLiteral(R.getTokenValue(),R.getNumericLiteralFlags()):N===10?Ee.createStringLiteral(R.getTokenValue(),undefined,R.hasExtendedUnicodeEscape()):E.isLiteralKind(N)?Ee.createLiteralLikeNode(N,R.getTokenValue()):E.Debug.fail();if(R.hasExtendedUnicodeEscape()){$.hasExtendedUnicodeEscape=true}if(R.isUnterminated()){$.isUnterminated=true}nextToken();return finishNode($,j)}function parseEntityNameOfTypeReference(){return parseEntityName(true,E.Diagnostics.Type_expected)}function parseTypeArgumentsOfTypeReference(){if(!R.hasPrecedingLineBreak()&&reScanLessThanToken()===29){return parseBracketedList(20,parseType,29,31)}}function parseTypeReference(){var E=getNodePos();return finishNode(Ee.createTypeReferenceNode(parseEntityNameOfTypeReference(),parseTypeArgumentsOfTypeReference()),E)}function typeHasArrowFunctionBlockingParseError(N){switch(N.kind){case 176:return E.nodeIsMissing(N.typeName);case 177:case 178:{var R=N,j=R.parameters,$=R.type;return isMissingList(j)||typeHasArrowFunctionBlockingParseError($)}case 189:return typeHasArrowFunctionBlockingParseError(N.type);default:return false}}function parseThisTypePredicate(E){nextToken();return finishNode(Ee.createTypePredicateNode(undefined,E,parseType()),E.pos)}function parseThisTypeNode(){var E=getNodePos();nextToken();return finishNode(Ee.createThisTypeNode(),E)}function parseJSDocAllType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocAllType(),E)}function parseJSDocNonNullableType(){var E=getNodePos();nextToken();return finishNode(Ee.createJSDocNonNullableType(parseNonArrayType()),E)}function parseJSDocUnknownOrNullableType(){var E=getNodePos();nextToken();if(token()===27||token()===19||token()===21||token()===31||token()===63||token()===51){return finishNode(Ee.createJSDocUnknownType(),E)}else{return finishNode(Ee.createJSDocNullableType(parseType()),E)}}function parseJSDocFunctionType(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(lookAhead(nextTokenIsOpenParen)){nextToken();var R=parseParameters(4|32);var j=parseReturnType(58,false);return withJSDoc(finishNode(Ee.createJSDocFunctionType(R,j),E),N)}return finishNode(Ee.createTypeReferenceNode(parseIdentifierName(),undefined),E)}function parseJSDocParameter(){var E=getNodePos();var N;if(token()===108||token()===103){N=parseIdentifierName();parseExpected(58)}return finishNode(Ee.createParameterDeclaration(undefined,undefined,undefined,N,undefined,parseJSDocType(),undefined),E)}function parseJSDocType(){R.setInJSDocType(true);var E=getNodePos();if(parseOptional(140)){var N=Ee.createJSDocNamepathType(undefined);e:while(true){switch(token()){case 19:case 1:case 27:case 5:break e;default:nextTokenJSDoc()}}R.setInJSDocType(false);return finishNode(N,E)}var j=parseOptional(25);var $=parseTypeOrTypePredicate();R.setInJSDocType(false);if(j){$=finishNode(Ee.createJSDocVariadicType($),E)}if(token()===63){nextToken();return finishNode(Ee.createJSDocOptionalType($),E)}return $}function parseTypeQuery(){var E=getNodePos();parseExpected(112);return finishNode(Ee.createTypeQueryNode(parseEntityName(true)),E)}function parseTypeParameter(){var E=getNodePos();var N=parseIdentifier();var R;var j;if(parseOptional(94)){if(isStartOfType()||!isStartOfExpression()){R=parseType()}else{j=parseUnaryExpressionOrHigher()}}var $=parseOptional(63)?parseType():undefined;var q=Ee.createTypeParameterDeclaration(N,R,$);q.expression=j;return finishNode(q,E)}function parseTypeParameters(){if(token()===29){return parseBracketedList(19,parseTypeParameter,29,31)}}function isStartOfParameter(N){return token()===25||isBindingIdentifierOrPrivateIdentifierOrPattern()||E.isModifierKind(token())||token()===59||isStartOfType(!N)}function parseNameOfParameter(N){var R=parseIdentifierOrPattern(E.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);if(E.getFullWidth(R)===0&&!E.some(N)&&E.isModifierKind(token())){nextToken()}return R}function parseParameterInOuterAwaitContext(){return parseParameterWorker(true)}function parseParameter(){return parseParameterWorker(false)}function parseParameterWorker(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=N?doInAwaitContext(parseDecorators):parseDecorators();if(token()===108){var q=Ee.createParameterDeclaration($,undefined,undefined,createIdentifier(true),undefined,parseTypeAnnotation(),undefined);if($){parseErrorAtRange($[0],E.Diagnostics.Decorators_may_not_be_applied_to_this_parameters)}return withJSDoc(finishNode(q,R),j)}var G=Qe;Qe=false;var ie=parseModifiers();var ae=withJSDoc(finishNode(Ee.createParameterDeclaration($,ie,parseOptionalToken(25),parseNameOfParameter(ie),parseOptionalToken(57),parseTypeAnnotation(),parseInitializer()),R),j);Qe=G;return ae}function parseReturnType(E,N){if(shouldParseReturnType(E,N)){return parseTypeOrTypePredicate()}}function shouldParseReturnType(N,R){if(N===38){parseExpected(N);return true}else if(parseOptional(58)){return true}else if(R&&token()===38){parseErrorAtCurrentToken(E.Diagnostics._0_expected,E.tokenToString(58));nextToken();return true}return false}function parseParametersWorker(E){var N=inYieldContext();var R=inAwaitContext();setYieldContext(!!(E&1));setAwaitContext(!!(E&2));var j=E&32?parseDelimitedList(17,parseJSDocParameter):parseDelimitedList(16,R?parseParameterInOuterAwaitContext:parseParameter);setYieldContext(N);setAwaitContext(R);return j}function parseParameters(E){if(!parseExpected(20)){return createMissingList()}var N=parseParametersWorker(E);parseExpected(21);return N}function parseTypeMemberSemicolon(){if(parseOptional(27)){return}parseSemicolon()}function parseSignatureMember(E){var N=getNodePos();var R=hasPrecedingJSDocComment();if(E===173){parseExpected(103)}var j=parseTypeParameters();var $=parseParameters(4);var q=parseReturnType(58,true);parseTypeMemberSemicolon();var G=E===172?Ee.createCallSignature(j,$,q):Ee.createConstructSignature(j,$,q);return withJSDoc(finishNode(G,N),R)}function isIndexSignature(){return token()===22&&lookAhead(isUnambiguouslyIndexSignature)}function isUnambiguouslyIndexSignature(){nextToken();if(token()===25||token()===23){return true}if(E.isModifierKind(token())){nextToken();if(isIdentifier()){return true}}else if(!isIdentifier()){return false}else{nextToken()}if(token()===58||token()===27){return true}if(token()!==57){return false}nextToken();return token()===58||token()===27||token()===23}function parseIndexSignatureDeclaration(E,N,R,j){var $=parseBracketedList(16,parseParameter,22,23);var q=parseTypeAnnotation();parseTypeMemberSemicolon();var G=Ee.createIndexSignature(R,j,$,q);return withJSDoc(finishNode(G,E),N)}function parsePropertyOrMethodSignature(E,N,R){var j=parsePropertyName();var $=parseOptionalToken(57);var q;if(token()===20||token()===29){var G=parseTypeParameters();var ie=parseParameters(4);var ae=parseReturnType(58,true);q=Ee.createMethodSignature(R,j,$,G,ie,ae)}else{var ae=parseTypeAnnotation();q=Ee.createPropertySignature(R,j,$,ae);if(token()===63)q.initializer=parseInitializer()}parseTypeMemberSemicolon();return withJSDoc(finishNode(q,E),N)}function isTypeMemberStart(){if(token()===20||token()===29||token()===135||token()===147){return true}var N=false;while(E.isModifierKind(token())){N=true;nextToken()}if(token()===22){return true}if(isLiteralPropertyName()){N=true;nextToken()}if(N){return token()===20||token()===29||token()===57||token()===58||token()===27||canParseSemicolon()}return false}function parseTypeMember(){if(token()===20||token()===29){return parseSignatureMember(172)}if(token()===103&&lookAhead(nextTokenIsOpenParenOrLessThan)){return parseSignatureMember(173)}var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,undefined,R,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,undefined,R,171)}if(isIndexSignature()){return parseIndexSignatureDeclaration(E,N,undefined,R)}return parsePropertyOrMethodSignature(E,N,R)}function nextTokenIsOpenParenOrLessThan(){nextToken();return token()===20||token()===29}function nextTokenIsDot(){return nextToken()===24}function nextTokenIsOpenParenOrLessThanOrDot(){switch(nextToken()){case 20:case 29:case 24:return true}return false}function parseTypeLiteral(){var E=getNodePos();return finishNode(Ee.createTypeLiteralNode(parseObjectTypeMembers()),E)}function parseObjectTypeMembers(){var E;if(parseExpected(18)){E=parseList(4,parseTypeMember);parseExpected(19)}else{E=createMissingList()}return E}function isStartOfMappedType(){nextToken();if(token()===39||token()===40){return nextToken()===143}if(token()===143){nextToken()}return token()===22&&nextTokenIsIdentifier()&&nextToken()===101}function parseMappedTypeParameter(){var E=getNodePos();var N=parseIdentifierName();parseExpected(101);var R=parseType();return finishNode(Ee.createTypeParameterDeclaration(N,R,undefined),E)}function parseMappedType(){var E=getNodePos();parseExpected(18);var N;if(token()===143||token()===39||token()===40){N=parseTokenNode();if(N.kind!==143){parseExpected(143)}}parseExpected(22);var R=parseMappedTypeParameter();var j=parseOptional(127)?parseType():undefined;parseExpected(23);var $;if(token()===57||token()===39||token()===40){$=parseTokenNode();if($.kind!==57){parseExpected(57)}}var q=parseTypeAnnotation();parseSemicolon();parseExpected(19);return finishNode(Ee.createMappedTypeNode(N,R,j,$,q),E)}function parseTupleElementType(){var N=getNodePos();if(parseOptional(25)){return finishNode(Ee.createRestTypeNode(parseType()),N)}var R=parseType();if(E.isJSDocNullableType(R)&&R.pos===R.type.pos){var j=Ee.createOptionalTypeNode(R.type);E.setTextRange(j,R);j.flags=R.flags;return j}return R}function isNextTokenColonOrQuestionColon(){return nextToken()===58||token()===57&&nextToken()===58}function isTupleElementName(){if(token()===25){return E.tokenIsIdentifierOrKeyword(nextToken())&&isNextTokenColonOrQuestionColon()}return E.tokenIsIdentifierOrKeyword(token())&&isNextTokenColonOrQuestionColon()}function parseTupleElementNameOrTupleElementType(){if(lookAhead(isTupleElementName)){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseOptionalToken(25);var j=parseIdentifierName();var $=parseOptionalToken(57);parseExpected(58);var q=parseTupleElementType();var G=Ee.createNamedTupleMember(R,j,$,q);return withJSDoc(finishNode(G,E),N)}return parseTupleElementType()}function parseTupleType(){var E=getNodePos();return finishNode(Ee.createTupleTypeNode(parseBracketedList(21,parseTupleElementNameOrTupleElementType,22,23)),E)}function parseParenthesizedType(){var E=getNodePos();parseExpected(20);var N=parseType();parseExpected(21);return finishNode(Ee.createParenthesizedType(N),E)}function parseModifiersForConstructorType(){var E;if(token()===126){var N=getNodePos();nextToken();var R=finishNode(Ee.createToken(126),N);E=createNodeArray([R],N)}return E}function parseFunctionOrConstructorType(){var E=getNodePos();var N=hasPrecedingJSDocComment();var R=parseModifiersForConstructorType();var j=parseOptional(103);var $=parseTypeParameters();var q=parseParameters(4);var G=parseReturnType(38,false);var ie=j?Ee.createConstructorTypeNode(R,$,q,G):Ee.createFunctionTypeNode($,q,G);if(!j)ie.modifiers=R;return withJSDoc(finishNode(ie,E),N)}function parseKeywordAndNoDot(){var E=parseTokenNode();return token()===24?undefined:E}function parseLiteralTypeNode(E){var N=getNodePos();if(E){nextToken()}var R=token()===110||token()===95||token()===104?parseTokenNode():parseLiteralLikeNode(token());if(E){R=finishNode(Ee.createPrefixUnaryExpression(40,R),N)}return finishNode(Ee.createLiteralTypeNode(R),N)}function isStartOfTypeOfImportType(){nextToken();return token()===100}function parseImportType(){we|=1048576;var E=getNodePos();var N=parseOptional(112);parseExpected(100);parseExpected(20);var R=parseType();parseExpected(21);var j=parseOptional(24)?parseEntityNameOfTypeReference():undefined;var $=parseTypeArgumentsOfTypeReference();return finishNode(Ee.createImportTypeNode(R,j,$,N),E)}function nextTokenIsNumericOrBigIntLiteral(){nextToken();return token()===8||token()===9}function parseNonArrayType(){switch(token()){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return tryParse(parseKeywordAndNoDot)||parseTypeReference();case 66:R.reScanAsteriskEqualsToken();case 41:return parseJSDocAllType();case 60:R.reScanQuestionToken();case 57:return parseJSDocUnknownOrNullableType();case 98:return parseJSDocFunctionType();case 53:return parseJSDocNonNullableType();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return parseLiteralTypeNode();case 40:return lookAhead(nextTokenIsNumericOrBigIntLiteral)?parseLiteralTypeNode(true):parseTypeReference();case 114:return parseTokenNode();case 108:{var E=parseThisTypeNode();if(token()===138&&!R.hasPrecedingLineBreak()){return parseThisTypePredicate(E)}else{return E}}case 112:return lookAhead(isStartOfTypeOfImportType)?parseImportType():parseTypeQuery();case 18:return lookAhead(isStartOfMappedType)?parseMappedType():parseTypeLiteral();case 22:return parseTupleType();case 20:return parseParenthesizedType();case 100:return parseImportType();case 128:return lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine)?parseAssertsTypePredicate():parseTypeReference();case 15:return parseTemplateType();default:return parseTypeReference()}}function isStartOfType(E){switch(token()){case 129:case 153:case 148:case 145:case 156:case 132:case 143:case 149:case 152:case 114:case 151:case 104:case 108:case 112:case 142:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 146:case 41:case 57:case 53:case 25:case 136:case 100:case 128:case 14:case 15:return true;case 98:return!E;case 40:return!E&&lookAhead(nextTokenIsNumericOrBigIntLiteral);case 20:return!E&&lookAhead(isStartOfParenthesizedOrFunctionType);default:return isIdentifier()}}function isStartOfParenthesizedOrFunctionType(){nextToken();return token()===21||isStartOfParameter(false)||isStartOfType()}function parsePostfixTypeOrHigher(){var E=getNodePos();var N=parseNonArrayType();while(!R.hasPrecedingLineBreak()){switch(token()){case 53:nextToken();N=finishNode(Ee.createJSDocNonNullableType(N),E);break;case 57:if(lookAhead(nextTokenIsStartOfType)){return N}nextToken();N=finishNode(Ee.createJSDocNullableType(N),E);break;case 22:parseExpected(22);if(isStartOfType()){var j=parseType();parseExpected(23);N=finishNode(Ee.createIndexedAccessTypeNode(N,j),E)}else{parseExpected(23);N=finishNode(Ee.createArrayTypeNode(N),E)}break;default:return N}}return N}function parseTypeOperator(E){var N=getNodePos();parseExpected(E);return finishNode(Ee.createTypeOperatorNode(E,parseTypeOperatorOrHigher()),N)}function parseTypeParameterOfInferType(){var E=getNodePos();return finishNode(Ee.createTypeParameterDeclaration(parseIdentifier(),undefined,undefined),E)}function parseInferType(){var E=getNodePos();parseExpected(136);return finishNode(Ee.createInferTypeNode(parseTypeParameterOfInferType()),E)}function parseTypeOperatorOrHigher(){var E=token();switch(E){case 139:case 152:case 143:return parseTypeOperator(E);case 136:return parseInferType()}return parsePostfixTypeOrHigher()}function parseFunctionOrConstructorTypeToError(N){if(isStartOfFunctionTypeOrConstructorType()){var R=parseFunctionOrConstructorType();var j=void 0;if(E.isFunctionTypeNode(R)){j=N?E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}else{j=N?E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:E.Diagnostics.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type}parseErrorAtRange(R,j);return R}return undefined}function parseUnionOrIntersectionType(E,N,R){var j=getNodePos();var $=E===51;var q=parseOptional(E);var G=q&&parseFunctionOrConstructorTypeToError($)||N();if(token()===E||q){var ie=[G];while(parseOptional(E)){ie.push(parseFunctionOrConstructorTypeToError($)||N())}G=finishNode(R(createNodeArray(ie,j)),j)}return G}function parseIntersectionTypeOrHigher(){return parseUnionOrIntersectionType(50,parseTypeOperatorOrHigher,Ee.createIntersectionTypeNode)}function parseUnionTypeOrHigher(){return parseUnionOrIntersectionType(51,parseIntersectionTypeOrHigher,Ee.createUnionTypeNode)}function nextTokenIsNewKeyword(){nextToken();return token()===103}function isStartOfFunctionTypeOrConstructorType(){if(token()===29){return true}if(token()===20&&lookAhead(isUnambiguouslyStartOfFunctionType)){return true}return token()===103||token()===126&&lookAhead(nextTokenIsNewKeyword)}function skipParameterStart(){if(E.isModifierKind(token())){parseModifiers()}if(isIdentifier()||token()===108){nextToken();return true}if(token()===22||token()===18){var N=Be.length;parseIdentifierOrPattern();return N===Be.length}return false}function isUnambiguouslyStartOfFunctionType(){nextToken();if(token()===21||token()===25){return true}if(skipParameterStart()){if(token()===58||token()===27||token()===57||token()===63){return true}if(token()===21){nextToken();if(token()===38){return true}}}return false}function parseTypeOrTypePredicate(){var E=getNodePos();var N=isIdentifier()&&tryParse(parseTypePredicatePrefix);var R=parseType();if(N){return finishNode(Ee.createTypePredicateNode(undefined,N,R),E)}else{return R}}function parseTypePredicatePrefix(){var E=parseIdentifier();if(token()===138&&!R.hasPrecedingLineBreak()){nextToken();return E}}function parseAssertsTypePredicate(){var E=getNodePos();var N=parseExpectedToken(128);var R=token()===108?parseThisTypeNode():parseIdentifier();var j=parseOptional(138)?parseType():undefined;return finishNode(Ee.createTypePredicateNode(N,R,j),E)}function parseType(){return doOutsideOfContext(40960,parseTypeWorker)}function parseTypeWorker(E){if(isStartOfFunctionTypeOrConstructorType()){return parseFunctionOrConstructorType()}var N=getNodePos();var j=parseUnionTypeOrHigher();if(!E&&!R.hasPrecedingLineBreak()&&parseOptional(94)){var $=parseTypeWorker(true);parseExpected(57);var q=parseTypeWorker();parseExpected(58);var G=parseTypeWorker();return finishNode(Ee.createConditionalTypeNode(j,$,q,G),N)}return j}function parseTypeAnnotation(){return parseOptional(58)?parseType():undefined}function isStartOfLeftHandSideExpression(){switch(token()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return true;case 100:return lookAhead(nextTokenIsOpenParenOrLessThanOrDot);default:return isIdentifier()}}function isStartOfExpression(){if(isStartOfLeftHandSideExpression()){return true}switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 131:case 125:case 80:return true;default:if(isBinaryOperator()){return true}return isIdentifier()}}function isStartOfExpressionStatement(){return token()!==18&&token()!==98&&token()!==84&&token()!==59&&isStartOfExpression()}function parseExpression(){var E=inDecoratorContext();if(E){setDecoratorContext(false)}var N=getNodePos();var R=parseAssignmentExpressionOrHigher();var j;while(j=parseOptionalToken(27)){R=makeBinaryExpression(R,j,parseAssignmentExpressionOrHigher(),N)}if(E){setDecoratorContext(true)}return R}function parseInitializer(){return parseOptional(63)?parseAssignmentExpressionOrHigher():undefined}function parseAssignmentExpressionOrHigher(){if(isYieldExpression()){return parseYieldExpression()}var N=tryParseParenthesizedArrowFunctionExpression()||tryParseAsyncSimpleArrowFunctionExpression();if(N){return N}var R=getNodePos();var j=parseBinaryExpressionOrHigher(0);if(j.kind===79&&token()===38){return parseSimpleArrowFunctionExpression(R,j,undefined)}if(E.isLeftHandSideExpression(j)&&E.isAssignmentOperator(reScanGreaterToken())){return makeBinaryExpression(j,parseTokenNode(),parseAssignmentExpressionOrHigher(),R)}return parseConditionalExpressionRest(j,R)}function isYieldExpression(){if(token()===125){if(inYieldContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function nextTokenIsIdentifierOnSameLine(){nextToken();return!R.hasPrecedingLineBreak()&&isIdentifier()}function parseYieldExpression(){var E=getNodePos();nextToken();if(!R.hasPrecedingLineBreak()&&(token()===41||isStartOfExpression())){return finishNode(Ee.createYieldExpression(parseOptionalToken(41),parseAssignmentExpressionOrHigher()),E)}else{return finishNode(Ee.createYieldExpression(undefined,undefined),E)}}function parseSimpleArrowFunctionExpression(N,R,j){E.Debug.assert(token()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var $=Ee.createParameterDeclaration(undefined,undefined,undefined,R,undefined,undefined,undefined);finishNode($,R.pos);var q=createNodeArray([$],$.pos,$.end);var G=parseExpectedToken(38);var ie=parseArrowFunctionExpressionBody(!!j);var ae=Ee.createArrowFunction(j,undefined,q,undefined,G,ie);return addJSDocComment(finishNode(ae,N))}function tryParseParenthesizedArrowFunctionExpression(){var E=isParenthesizedArrowFunctionExpression();if(E===0){return undefined}return E===1?parseParenthesizedArrowFunctionExpression(true):tryParse(parsePossibleParenthesizedArrowFunctionExpression)}function isParenthesizedArrowFunctionExpression(){if(token()===20||token()===29||token()===130){return lookAhead(isParenthesizedArrowFunctionExpressionWorker)}if(token()===38){return 1}return 0}function isParenthesizedArrowFunctionExpressionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()){return 0}if(token()!==20&&token()!==29){return 0}}var N=token();var j=nextToken();if(N===20){if(j===21){var $=nextToken();switch($){case 38:case 58:case 18:return 1;default:return 0}}if(j===22||j===18){return 2}if(j===25){return 1}if(E.isModifierKind(j)&&j!==130&&lookAhead(nextTokenIsIdentifier)){return 1}if(!isIdentifier()&&j!==108){return 0}switch(nextToken()){case 58:return 1;case 57:nextToken();if(token()===58||token()===27||token()===63||token()===21){return 1}return 0;case 27:case 63:case 21:return 2}return 0}else{E.Debug.assert(N===29);if(!isIdentifier()){return 0}if(Le===1){var q=lookAhead((function(){var E=nextToken();if(E===94){var N=nextToken();switch(N){case 63:case 31:return false;default:return true}}else if(E===27){return true}return false}));if(q){return 1}return 0}return 2}}function parsePossibleParenthesizedArrowFunctionExpression(){var N=R.getTokenPos();if(Ge===null||Ge===void 0?void 0:Ge.has(N)){return undefined}var j=parseParenthesizedArrowFunctionExpression(false);if(!j){(Ge||(Ge=new E.Set)).add(N)}return j}function tryParseAsyncSimpleArrowFunctionExpression(){if(token()===130){if(lookAhead(isUnParenthesizedAsyncArrowFunctionWorker)===1){var E=getNodePos();var N=parseModifiersForArrowFunction();var R=parseBinaryExpressionOrHigher(0);return parseSimpleArrowFunctionExpression(E,R,N)}}return undefined}function isUnParenthesizedAsyncArrowFunctionWorker(){if(token()===130){nextToken();if(R.hasPrecedingLineBreak()||token()===38){return 0}var E=parseBinaryExpressionOrHigher(0);if(!R.hasPrecedingLineBreak()&&E.kind===79&&token()===38){return 1}}return 0}function parseParenthesizedArrowFunctionExpression(N){var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiersForArrowFunction();var q=E.some($,E.isAsyncModifier)?2:0;var G=parseTypeParameters();var ie;if(!parseExpected(20)){if(!N){return undefined}ie=createMissingList()}else{ie=parseParametersWorker(q);if(!parseExpected(21)&&!N){return undefined}}var ae=parseReturnType(58,false);if(ae&&!N&&typeHasArrowFunctionBlockingParseError(ae)){return undefined}var ce=ae&&E.isJSDocFunctionType(ae);if(!N&&token()!==38&&(ce||token()!==18)){return undefined}var le=token();var _e=parseExpectedToken(38);var Te=le===38||le===18?parseArrowFunctionExpressionBody(E.some($,E.isAsyncModifier)):parseIdentifier();var we=Ee.createArrowFunction($,G,ie,ae,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseArrowFunctionExpressionBody(E){if(token()===18){return parseFunctionBlock(E?2:0)}if(token()!==26&&token()!==98&&token()!==84&&isStartOfStatement()&&!isStartOfExpressionStatement()){return parseFunctionBlock(16|(E?2:0))}var N=Qe;Qe=false;var R=E?doInAwaitContext(parseAssignmentExpressionOrHigher):doOutsideOfAwaitContext(parseAssignmentExpressionOrHigher);Qe=N;return R}function parseConditionalExpressionRest(N,R){var j=parseOptionalToken(57);if(!j){return N}var q;return finishNode(Ee.createConditionalExpression(N,j,doOutsideOfContext($,parseAssignmentExpressionOrHigher),q=parseExpectedToken(58),E.nodeIsPresent(q)?parseAssignmentExpressionOrHigher():createMissingNode(79,false,E.Diagnostics._0_expected,E.tokenToString(58))),R)}function parseBinaryExpressionOrHigher(E){var N=getNodePos();var R=parseUnaryExpressionOrHigher();return parseBinaryExpressionRest(E,R,N)}function isInOrOfKeyword(E){return E===101||E===158}function parseBinaryExpressionRest(N,j,$){while(true){reScanGreaterToken();var q=E.getBinaryOperatorPrecedence(token());var G=token()===42?q>=N:q>N;if(!G){break}if(token()===101&&inDisallowInContext()){break}if(token()===127){if(R.hasPrecedingLineBreak()){break}else{nextToken();j=makeAsExpression(j,parseType())}}else{j=makeBinaryExpression(j,parseTokenNode(),parseBinaryExpressionOrHigher(q),$)}}return j}function isBinaryOperator(){if(inDisallowInContext()&&token()===101){return false}return E.getBinaryOperatorPrecedence(token())>0}function makeBinaryExpression(E,N,R,j){return finishNode(Ee.createBinaryExpression(E,N,R),j)}function makeAsExpression(E,N){return finishNode(Ee.createAsExpression(E,N),E.pos)}function parsePrefixUnaryExpression(){var E=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseDeleteExpression(){var E=getNodePos();return finishNode(Ee.createDeleteExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseTypeOfExpression(){var E=getNodePos();return finishNode(Ee.createTypeOfExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseVoidExpression(){var E=getNodePos();return finishNode(Ee.createVoidExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function isAwaitExpression(){if(token()===131){if(inAwaitContext()){return true}return lookAhead(nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine)}return false}function parseAwaitExpression(){var E=getNodePos();return finishNode(Ee.createAwaitExpression(nextTokenAnd(parseSimpleUnaryExpression)),E)}function parseUnaryExpressionOrHigher(){if(isUpdateExpression()){var N=getNodePos();var R=parseUpdateExpression();return token()===42?parseBinaryExpressionRest(E.getBinaryOperatorPrecedence(token()),R,N):R}var j=token();var $=parseSimpleUnaryExpression();if(token()===42){var N=E.skipTrivia(Ie,$.pos);var q=$.end;if($.kind===209){parseErrorAt(N,q,E.Diagnostics.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses)}else{parseErrorAt(N,q,E.Diagnostics.An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses,E.tokenToString(j))}}return $}function parseSimpleUnaryExpression(){switch(token()){case 39:case 40:case 54:case 53:return parsePrefixUnaryExpression();case 89:return parseDeleteExpression();case 112:return parseTypeOfExpression();case 114:return parseVoidExpression();case 29:return parseTypeAssertion();case 131:if(isAwaitExpression()){return parseAwaitExpression()}default:return parseUpdateExpression()}}function isUpdateExpression(){switch(token()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return false;case 29:if(Le!==1){return false}default:return true}}function parseUpdateExpression(){if(token()===45||token()===46){var N=getNodePos();return finishNode(Ee.createPrefixUnaryExpression(token(),nextTokenAnd(parseLeftHandSideExpressionOrHigher)),N)}else if(Le===1&&token()===29&&lookAhead(nextTokenIsIdentifierOrKeywordOrGreaterThan)){return parseJsxElementOrSelfClosingElementOrFragment(true)}var j=parseLeftHandSideExpressionOrHigher();E.Debug.assert(E.isLeftHandSideExpression(j));if((token()===45||token()===46)&&!R.hasPrecedingLineBreak()){var $=token();nextToken();return finishNode(Ee.createPostfixUnaryExpression(j,$),j.pos)}return j}function parseLeftHandSideExpressionOrHigher(){var E=getNodePos();var N;if(token()===100){if(lookAhead(nextTokenIsOpenParenOrLessThan)){we|=1048576;N=parseTokenNode()}else if(lookAhead(nextTokenIsDot)){nextToken();nextToken();N=finishNode(Ee.createMetaProperty(100,parseIdentifierName()),E);we|=2097152}else{N=parseMemberExpressionOrHigher()}}else{N=token()===106?parseSuperExpression():parseMemberExpressionOrHigher()}return parseCallExpressionRest(E,N)}function parseMemberExpressionOrHigher(){var E=getNodePos();var N=parsePrimaryExpression();return parseMemberExpressionRest(E,N,true)}function parseSuperExpression(){var N=getNodePos();var R=parseTokenNode();if(token()===29){var j=getNodePos();var $=tryParse(parseTypeArgumentsInExpression);if($!==undefined){parseErrorAt(j,getNodePos(),E.Diagnostics.super_may_not_use_type_arguments)}}if(token()===20||token()===24||token()===22){return R}parseExpectedToken(24,E.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access);return finishNode(Ee.createPropertyAccessExpression(R,parseRightSideOfDot(true,true)),N)}function parseJsxElementOrSelfClosingElementOrFragment(N,R,$){var q=getNodePos();var G=parseJsxOpeningOrSelfClosingElementOrOpeningFragment(N);var ie;if(G.kind===278){var ae=parseJsxChildren(G);var ce=void 0;var le=ae[ae.length-1];if((le===null||le===void 0?void 0:le.kind)===276&&!tagNamesAreEquivalent(le.openingElement.tagName,le.closingElement.tagName)&&tagNamesAreEquivalent(G.tagName,le.closingElement.tagName)){var _e=le.openingElement.end;var Te=finishNode(Ee.createJsxElement(le.openingElement,createNodeArray([],_e,_e),finishNode(Ee.createJsxClosingElement(finishNode(Ee.createIdentifier(""),_e,_e)),_e,_e)),le.openingElement.pos,_e);ae=createNodeArray(j(j([],ae.slice(0,ae.length-1),true),[Te],false),ae.pos,_e);ce=le.closingElement}else{ce=parseJsxClosingElement(G,N);if(!tagNamesAreEquivalent(G.tagName,ce.tagName)){if($&&E.isJsxOpeningElement($)&&tagNamesAreEquivalent(ce.tagName,$.tagName)){parseErrorAtRange(G.tagName,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,G.tagName))}else{parseErrorAtRange(ce.tagName,E.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,E.getTextOfNodeFromSourceText(Ie,G.tagName))}}}ie=finishNode(Ee.createJsxElement(G,ae,ce),q)}else if(G.kind===281){ie=finishNode(Ee.createJsxFragment(G,parseJsxChildren(G),parseJsxClosingFragment(N)),q)}else{E.Debug.assert(G.kind===277);ie=G}if(N&&token()===29){var we=typeof R==="undefined"?ie.pos:R;var Ne=tryParse((function(){return parseJsxElementOrSelfClosingElementOrFragment(true,we)}));if(Ne){var Me=createMissingNode(27,false);E.setTextRangePosWidth(Me,Ne.pos,0);parseErrorAt(E.skipTrivia(Ie,we),Ne.end,E.Diagnostics.JSX_expressions_must_have_one_parent_element);return finishNode(Ee.createBinaryExpression(ie,Me,Ne),q)}}return ie}function parseJsxText(){var E=getNodePos();var N=Ee.createJsxText(R.getTokenValue(),ze===12);ze=R.scanJsxToken();return finishNode(N,E)}function parseJsxChild(N,R){switch(R){case 1:if(E.isJsxOpeningFragment(N)){parseErrorAtRange(N,E.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag)}else{var j=N.tagName;var $=E.skipTrivia(Ie,j.pos);parseErrorAt($,j.end,E.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,E.getTextOfNodeFromSourceText(Ie,N.tagName))}return undefined;case 30:case 7:return undefined;case 11:case 12:return parseJsxText();case 18:return parseJsxExpression(false);case 29:return parseJsxElementOrSelfClosingElementOrFragment(false,undefined,N);default:return E.Debug.assertNever(R)}}function parseJsxChildren(N){var j=[];var $=getNodePos();var q=He;He|=1<<14;while(true){var G=parseJsxChild(N,ze=R.reScanJsxToken());if(!G)break;j.push(G);if(E.isJsxOpeningElement(N)&&(G===null||G===void 0?void 0:G.kind)===276&&!tagNamesAreEquivalent(G.openingElement.tagName,G.closingElement.tagName)&&tagNamesAreEquivalent(N.tagName,G.closingElement.tagName)){break}}He=q;return createNodeArray(j,$)}function parseJsxAttributes(){var E=getNodePos();return finishNode(Ee.createJsxAttributes(parseList(13,parseJsxAttribute)),E)}function parseJsxOpeningOrSelfClosingElementOrOpeningFragment(E){var N=getNodePos();parseExpected(29);if(token()===31){scanJsxText();return finishNode(Ee.createJsxOpeningFragment(),N)}var R=parseJsxElementName();var j=(Ke&131072)===0?tryParseTypeArguments():undefined;var $=parseJsxAttributes();var q;if(token()===31){scanJsxText();q=Ee.createJsxOpeningElement(R,j,$)}else{parseExpected(43);if(parseExpected(31,undefined,false)){if(E){nextToken()}else{scanJsxText()}}q=Ee.createJsxSelfClosingElement(R,j,$)}return finishNode(q,N)}function parseJsxElementName(){var E=getNodePos();scanJsxIdentifier();var N=token()===108?parseTokenNode():parseIdentifierName();while(parseOptional(24)){N=finishNode(Ee.createPropertyAccessExpression(N,parseRightSideOfDot(true,false)),E)}return N}function parseJsxExpression(E){var N=getNodePos();if(!parseExpected(18)){return undefined}var R;var j;if(token()!==19){R=parseOptionalToken(25);j=parseExpression()}if(E){parseExpected(19)}else{if(parseExpected(19,undefined,false)){scanJsxText()}}return finishNode(Ee.createJsxExpression(R,j),N)}function parseJsxAttribute(){if(token()===18){return parseJsxSpreadAttribute()}scanJsxIdentifier();var E=getNodePos();return finishNode(Ee.createJsxAttribute(parseIdentifierName(),token()!==63?undefined:scanJsxAttributeValue()===10?parseLiteralNode():parseJsxExpression(true)),E)}function parseJsxSpreadAttribute(){var E=getNodePos();parseExpected(18);parseExpected(25);var N=parseExpression();parseExpected(19);return finishNode(Ee.createJsxSpreadAttribute(N),E)}function parseJsxClosingElement(E,N){var R=getNodePos();parseExpected(30);var j=parseJsxElementName();if(parseExpected(31,undefined,false)){if(N||!tagNamesAreEquivalent(E.tagName,j)){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxClosingElement(j),R)}function parseJsxClosingFragment(N){var R=getNodePos();parseExpected(30);if(E.tokenIsIdentifierOrKeyword(token())){parseErrorAtRange(parseJsxElementName(),E.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment)}if(parseExpected(31,undefined,false)){if(N){nextToken()}else{scanJsxText()}}return finishNode(Ee.createJsxJsxClosingFragment(),R)}function parseTypeAssertion(){var E=getNodePos();parseExpected(29);var N=parseType();parseExpected(31);var R=parseSimpleUnaryExpression();return finishNode(Ee.createTypeAssertion(N,R),E)}function nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate(){nextToken();return E.tokenIsIdentifierOrKeyword(token())||token()===22||isTemplateStartOfTaggedTemplate()}function isStartOfOptionalPropertyOrElementAccessChain(){return token()===28&&lookAhead(nextTokenIsIdentifierOrKeywordOrOpenBracketOrTemplate)}function tryReparseOptionalChain(N){if(N.flags&32){return true}if(E.isNonNullExpression(N)){var R=N.expression;while(E.isNonNullExpression(R)&&!(R.flags&32)){R=R.expression}if(R.flags&32){while(E.isNonNullExpression(N)){N.flags|=32;N=N.expression}return true}}return false}function parsePropertyAccessExpressionRest(N,R,j){var $=parseRightSideOfDot(true,true);var q=j||tryReparseOptionalChain(R);var G=q?Ee.createPropertyAccessChain(R,j,$):Ee.createPropertyAccessExpression(R,$);if(q&&E.isPrivateIdentifier(G.name)){parseErrorAtRange(G.name,E.Diagnostics.An_optional_chain_cannot_contain_private_identifiers)}return finishNode(G,N)}function parseElementAccessExpressionRest(N,R,j){var $;if(token()===23){$=createMissingNode(79,true,E.Diagnostics.An_element_access_expression_should_take_an_argument)}else{var q=allowInAnd(parseExpression);if(E.isStringOrNumericLiteralLike(q)){q.text=internIdentifier(q.text)}$=q}parseExpected(23);var G=j||tryReparseOptionalChain(R)?Ee.createElementAccessChain(R,j,$):Ee.createElementAccessExpression(R,$);return finishNode(G,N)}function parseMemberExpressionRest(N,j,$){while(true){var q=void 0;var G=false;if($&&isStartOfOptionalPropertyOrElementAccessChain()){q=parseExpectedToken(28);G=E.tokenIsIdentifierOrKeyword(token())}else{G=parseOptional(24)}if(G){j=parsePropertyAccessExpressionRest(N,j,q);continue}if(!q&&token()===53&&!R.hasPrecedingLineBreak()){nextToken();j=finishNode(Ee.createNonNullExpression(j),N);continue}if((q||!inDecoratorContext())&&parseOptional(22)){j=parseElementAccessExpressionRest(N,j,q);continue}if(isTemplateStartOfTaggedTemplate()){j=parseTaggedTemplateRest(N,j,q,undefined);continue}return j}}function isTemplateStartOfTaggedTemplate(){return token()===14||token()===15}function parseTaggedTemplateRest(E,N,R,j){var $=Ee.createTaggedTemplateExpression(N,j,token()===14?(reScanTemplateHeadOrNoSubstitutionTemplate(),parseLiteralNode()):parseTemplateExpression(true));if(R||N.flags&32){$.flags|=32}$.questionDotToken=R;return finishNode($,E)}function parseCallExpressionRest(N,R){while(true){R=parseMemberExpressionRest(N,R,true);var j=parseOptionalToken(28);if((Ke&131072)===0&&(token()===29||token()===47)){var $=tryParse(parseTypeArgumentsInExpression);if($){if(isTemplateStartOfTaggedTemplate()){R=parseTaggedTemplateRest(N,R,j,$);continue}var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,$,q):Ee.createCallExpression(R,$,q);R=finishNode(G,N);continue}}else if(token()===20){var q=parseArgumentList();var G=j||tryReparseOptionalChain(R)?Ee.createCallChain(R,j,undefined,q):Ee.createCallExpression(R,undefined,q);R=finishNode(G,N);continue}if(j){var ie=createMissingNode(79,false,E.Diagnostics.Identifier_expected);R=finishNode(Ee.createPropertyAccessChain(R,j,ie),N)}break}return R}function parseArgumentList(){parseExpected(20);var E=parseDelimitedList(11,parseArgumentExpression);parseExpected(21);return E}function parseTypeArgumentsInExpression(){if((Ke&131072)!==0){return undefined}if(reScanLessThanToken()!==29){return undefined}nextToken();var E=parseDelimitedList(20,parseType);if(!parseExpected(31)){return undefined}return E&&canFollowTypeArgumentsInExpression()?E:undefined}function canFollowTypeArgumentsInExpression(){switch(token()){case 20:case 14:case 15:case 24:case 21:case 23:case 58:case 26:case 57:case 34:case 36:case 35:case 37:case 55:case 56:case 60:case 52:case 50:case 51:case 19:case 1:return true;case 27:case 18:default:return false}}function parsePrimaryExpression(){switch(token()){case 8:case 9:case 10:case 14:return parseLiteralNode();case 108:case 106:case 104:case 110:case 95:return parseTokenNode();case 20:return parseParenthesizedExpression();case 22:return parseArrayLiteralExpression();case 18:return parseObjectLiteralExpression();case 130:if(!lookAhead(nextTokenIsFunctionKeywordOnSameLine)){break}return parseFunctionExpression();case 84:return parseClassExpression();case 98:return parseFunctionExpression();case 103:return parseNewExpressionOrNewDotTarget();case 43:case 68:if(reScanSlashToken()===13){return parseLiteralNode()}break;case 15:return parseTemplateExpression(false)}return parseIdentifier(E.Diagnostics.Expression_expected)}function parseParenthesizedExpression(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);return withJSDoc(finishNode(Ee.createParenthesizedExpression(R),E),N)}function parseSpreadElement(){var E=getNodePos();parseExpected(25);var N=parseAssignmentExpressionOrHigher();return finishNode(Ee.createSpreadElement(N),E)}function parseArgumentOrArrayLiteralElement(){return token()===25?parseSpreadElement():token()===27?finishNode(Ee.createOmittedExpression(),getNodePos()):parseAssignmentExpressionOrHigher()}function parseArgumentExpression(){return doOutsideOfContext($,parseArgumentOrArrayLiteralElement)}function parseArrayLiteralExpression(){var E=getNodePos();parseExpected(22);var N=R.hasPrecedingLineBreak();var j=parseDelimitedList(15,parseArgumentOrArrayLiteralElement);parseExpected(23);return finishNode(Ee.createArrayLiteralExpression(j,N),E)}function parseObjectLiteralElement(){var E=getNodePos();var N=hasPrecedingJSDocComment();if(parseOptionalToken(25)){var R=parseAssignmentExpressionOrHigher();return withJSDoc(finishNode(Ee.createSpreadAssignment(R),E),N)}var j=parseDecorators();var $=parseModifiers();if(parseContextualModifier(135)){return parseAccessorDeclaration(E,N,j,$,170)}if(parseContextualModifier(147)){return parseAccessorDeclaration(E,N,j,$,171)}var q=parseOptionalToken(41);var G=isIdentifier();var ie=parsePropertyName();var ae=parseOptionalToken(57);var ce=parseOptionalToken(53);if(q||token()===20||token()===29){return parseMethodDeclaration(E,N,j,$,q,ie,ae,ce)}var le;var _e=G&&token()!==58;if(_e){var Te=parseOptionalToken(63);var we=Te?allowInAnd(parseAssignmentExpressionOrHigher):undefined;le=Ee.createShorthandPropertyAssignment(ie,we);le.equalsToken=Te}else{parseExpected(58);var Ie=allowInAnd(parseAssignmentExpressionOrHigher);le=Ee.createPropertyAssignment(ie,Ie)}le.decorators=j;le.modifiers=$;le.questionToken=ae;le.exclamationToken=ce;return withJSDoc(finishNode(le,E),N)}function parseObjectLiteralExpression(){var N=getNodePos();var j=R.getTokenPos();parseExpected(18);var $=R.hasPrecedingLineBreak();var q=parseDelimitedList(12,parseObjectLiteralElement,true);if(!parseExpected(19)){var G=E.lastOrUndefined(Be);if(G&&G.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(G,E.createDetachedDiagnostic(Te,j,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}return finishNode(Ee.createObjectLiteralExpression(q,$),N)}function parseFunctionExpression(){var N=inDecoratorContext();setDecoratorContext(false);var R=getNodePos();var j=hasPrecedingJSDocComment();var $=parseModifiers();parseExpected(98);var q=parseOptionalToken(41);var G=q?1:0;var ie=E.some($,E.isAsyncModifier)?2:0;var ae=G&&ie?doInYieldAndAwaitContext(parseOptionalBindingIdentifier):G?doInYieldContext(parseOptionalBindingIdentifier):ie?doInAwaitContext(parseOptionalBindingIdentifier):parseOptionalBindingIdentifier();var ce=parseTypeParameters();var le=parseParameters(G|ie);var _e=parseReturnType(58,false);var Te=parseFunctionBlock(G|ie);setDecoratorContext(N);var we=Ee.createFunctionExpression($,q,ae,ce,le,_e,Te);return withJSDoc(finishNode(we,R),j)}function parseOptionalBindingIdentifier(){return isBindingIdentifier()?parseBindingIdentifier():undefined}function parseNewExpressionOrNewDotTarget(){var N=getNodePos();parseExpected(103);if(parseOptional(24)){var j=parseIdentifierName();return finishNode(Ee.createMetaProperty(103,j),N)}var $=getNodePos();var q=parsePrimaryExpression();var G;while(true){q=parseMemberExpressionRest($,q,false);G=tryParse(parseTypeArgumentsInExpression);if(isTemplateStartOfTaggedTemplate()){E.Debug.assert(!!G,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'");q=parseTaggedTemplateRest($,q,undefined,G);G=undefined}break}var ie;if(token()===20){ie=parseArgumentList()}else if(G){parseErrorAt(N,R.getStartPos(),E.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list)}return finishNode(Ee.createNewExpression(q,G,ie),N)}function parseBlock(N,j){var $=getNodePos();var q=hasPrecedingJSDocComment();var G=R.getTokenPos();if(parseExpected(18,j)||N){var ie=R.hasPrecedingLineBreak();var ae=parseList(1,parseStatement);if(!parseExpected(19)){var ce=E.lastOrUndefined(Be);if(ce&&ce.code===E.Diagnostics._0_expected.code){E.addRelatedInfo(ce,E.createDetachedDiagnostic(Te,G,1,E.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}}var le=withJSDoc(finishNode(Ee.createBlock(ae,ie),$),q);if(token()===63){parseErrorAtCurrentToken(E.Diagnostics.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_the_whole_assignment_in_parentheses);nextToken()}return le}else{var ae=createMissingList();return withJSDoc(finishNode(Ee.createBlock(ae,undefined),$),q)}}function parseFunctionBlock(E,N){var R=inYieldContext();setYieldContext(!!(E&1));var j=inAwaitContext();setAwaitContext(!!(E&2));var $=Qe;Qe=false;var q=inDecoratorContext();if(q){setDecoratorContext(false)}var G=parseBlock(!!(E&16),N);if(q){setDecoratorContext(true)}Qe=$;setYieldContext(R);setAwaitContext(j);return G}function parseEmptyStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(26);return withJSDoc(finishNode(Ee.createEmptyStatement(),E),N)}function parseIfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(99);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();var $=parseOptional(91)?parseStatement():undefined;return withJSDoc(finishNode(Ee.createIfStatement(R,j,$),E),N)}function parseDoStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(90);var R=parseStatement();parseExpected(115);parseExpected(20);var j=allowInAnd(parseExpression);parseExpected(21);parseOptional(26);return withJSDoc(finishNode(Ee.createDoStatement(R,j),E),N)}function parseWhileStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(115);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseStatement();return withJSDoc(finishNode(Ee.createWhileStatement(R,j),E),N)}function parseForOrForInOrForOfStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(97);var R=parseOptionalToken(131);parseExpected(20);var j;if(token()!==26){if(token()===113||token()===119||token()===85){j=parseVariableDeclarationList(true)}else{j=disallowInAnd(parseExpression)}}var $;if(R?parseExpected(158):parseOptional(158)){var q=allowInAnd(parseAssignmentExpressionOrHigher);parseExpected(21);$=Ee.createForOfStatement(R,j,q,parseStatement())}else if(parseOptional(101)){var q=allowInAnd(parseExpression);parseExpected(21);$=Ee.createForInStatement(j,q,parseStatement())}else{parseExpected(26);var G=token()!==26&&token()!==21?allowInAnd(parseExpression):undefined;parseExpected(26);var ie=token()!==21?allowInAnd(parseExpression):undefined;parseExpected(21);$=Ee.createForStatement(j,G,ie,parseStatement())}return withJSDoc(finishNode($,E),N)}function parseBreakOrContinueStatement(E){var N=getNodePos();var R=hasPrecedingJSDocComment();parseExpected(E===244?81:86);var j=canParseSemicolon()?undefined:parseIdentifier();parseSemicolon();var $=E===244?Ee.createBreakStatement(j):Ee.createContinueStatement(j);return withJSDoc(finishNode($,N),R)}function parseReturnStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(105);var R=canParseSemicolon()?undefined:allowInAnd(parseExpression);parseSemicolon();return withJSDoc(finishNode(Ee.createReturnStatement(R),E),N)}function parseWithStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(116);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=doInsideOfContext(16777216,parseStatement);return withJSDoc(finishNode(Ee.createWithStatement(R,j),E),N)}function parseCaseClause(){var E=getNodePos();parseExpected(82);var N=allowInAnd(parseExpression);parseExpected(58);var R=parseList(3,parseStatement);return finishNode(Ee.createCaseClause(N,R),E)}function parseDefaultClause(){var E=getNodePos();parseExpected(88);parseExpected(58);var N=parseList(3,parseStatement);return finishNode(Ee.createDefaultClause(N),E)}function parseCaseOrDefaultClause(){return token()===82?parseCaseClause():parseDefaultClause()}function parseCaseBlock(){var E=getNodePos();parseExpected(18);var N=parseList(2,parseCaseOrDefaultClause);parseExpected(19);return finishNode(Ee.createCaseBlock(N),E)}function parseSwitchStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(107);parseExpected(20);var R=allowInAnd(parseExpression);parseExpected(21);var j=parseCaseBlock();return withJSDoc(finishNode(Ee.createSwitchStatement(R,j),E),N)}function parseThrowStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(109);var j=R.hasPrecedingLineBreak()?undefined:allowInAnd(parseExpression);if(j===undefined){qe++;j=finishNode(Ee.createIdentifier(""),getNodePos())}if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(j)}return withJSDoc(finishNode(Ee.createThrowStatement(j),E),N)}function parseTryStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(111);var R=parseBlock(false);var j=token()===83?parseCatchClause():undefined;var $;if(!j||token()===96){parseExpected(96);$=parseBlock(false)}return withJSDoc(finishNode(Ee.createTryStatement(R,j,$),E),N)}function parseCatchClause(){var E=getNodePos();parseExpected(83);var N;if(parseOptional(20)){N=parseVariableDeclaration();parseExpected(21)}else{N=undefined}var R=parseBlock(false);return finishNode(Ee.createCatchClause(N,R),E)}function parseDebuggerStatement(){var E=getNodePos();var N=hasPrecedingJSDocComment();parseExpected(87);parseSemicolon();return withJSDoc(finishNode(Ee.createDebuggerStatement(),E),N)}function parseExpressionOrLabeledStatement(){var N=getNodePos();var R=hasPrecedingJSDocComment();var j;var $=token()===20;var q=allowInAnd(parseExpression);if(E.isIdentifier(q)&&parseOptional(58)){j=Ee.createLabeledStatement(q,parseStatement())}else{if(!tryParseSemicolon()){parseErrorForMissingSemicolonAfter(q)}j=Ee.createExpressionStatement(q);if($){R=false}}return withJSDoc(finishNode(j,N),R)}function nextTokenIsIdentifierOrKeywordOnSameLine(){nextToken();return E.tokenIsIdentifierOrKeyword(token())&&!R.hasPrecedingLineBreak()}function nextTokenIsClassKeywordOnSameLine(){nextToken();return token()===84&&!R.hasPrecedingLineBreak()}function nextTokenIsFunctionKeywordOnSameLine(){nextToken();return token()===98&&!R.hasPrecedingLineBreak()}function nextTokenIsIdentifierOrKeywordOrLiteralOnSameLine(){nextToken();return(E.tokenIsIdentifierOrKeyword(token())||token()===8||token()===9||token()===10)&&!R.hasPrecedingLineBreak()}function isDeclaration(){while(true){switch(token()){case 113:case 119:case 85:case 98:case 84:case 92:return true;case 118:case 150:return nextTokenIsIdentifierOnSameLine();case 140:case 141:return nextTokenIsIdentifierOrStringLiteralOnSameLine();case 126:case 130:case 134:case 121:case 122:case 123:case 143:nextToken();if(R.hasPrecedingLineBreak()){return false}continue;case 155:nextToken();return token()===18||token()===79||token()===93;case 100:nextToken();return token()===10||token()===41||token()===18||E.tokenIsIdentifierOrKeyword(token());case 93:var N=nextToken();if(N===150){N=lookAhead(nextToken)}if(N===63||N===41||N===18||N===88||N===127){return true}continue;case 124:nextToken();continue;default:return false}}}function isStartOfDeclaration(){return lookAhead(isDeclaration)}function isStartOfStatement(){switch(token()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return true;case 100:return isStartOfDeclaration()||lookAhead(nextTokenIsOpenParenOrLessThanOrDot);case 85:case 93:return isStartOfDeclaration();case 130:case 134:case 118:case 140:case 141:case 150:case 155:return true;case 123:case 121:case 122:case 124:case 143:return isStartOfDeclaration()||!lookAhead(nextTokenIsIdentifierOrKeywordOnSameLine);default:return isStartOfExpression()}}function nextTokenIsBindingIdentifierOrStartOfDestructuring(){nextToken();return isBindingIdentifier()||token()===18||token()===22}function isLetDeclaration(){return lookAhead(nextTokenIsBindingIdentifierOrStartOfDestructuring)}function parseStatement(){switch(token()){case 26:return parseEmptyStatement();case 18:return parseBlock(false);case 113:return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 119:if(isLetDeclaration()){return parseVariableStatement(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined)}break;case 98:return parseFunctionDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 84:return parseClassDeclaration(getNodePos(),hasPrecedingJSDocComment(),undefined,undefined);case 99:return parseIfStatement();case 90:return parseDoStatement();case 115:return parseWhileStatement();case 97:return parseForOrForInOrForOfStatement();case 86:return parseBreakOrContinueStatement(243);case 81:return parseBreakOrContinueStatement(244);case 105:return parseReturnStatement();case 116:return parseWithStatement();case 107:return parseSwitchStatement();case 109:return parseThrowStatement();case 111:case 83:case 96:return parseTryStatement();case 87:return parseDebuggerStatement();case 59:return parseDeclaration();case 130:case 118:case 150:case 140:case 141:case 134:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 143:case 155:if(isStartOfDeclaration()){return parseDeclaration()}break}return parseExpressionOrLabeledStatement()}function isDeclareModifier(E){return E.kind===134}function parseDeclaration(){var N=E.some(lookAhead((function(){return parseDecorators(),parseModifiers()})),isDeclareModifier);if(N){var R=tryReuseAmbientDeclaration();if(R){return R}}var j=getNodePos();var $=hasPrecedingJSDocComment();var q=parseDecorators();var G=parseModifiers();if(N){for(var ie=0,ae=G;ie=0);E.Debug.assert(N<=q);E.Debug.assert(q<=$.length);if(!isJSDocLikeText($,N)){return undefined}var G;var ie;var ae;var ce;var le;var _e=[];var we=[];return R.scanRange(N+3,j-5,(function(){var j=1;var Te;var Ie=N-($.lastIndexOf("\n",N)+1)+4;function pushComment(E){if(!Te){Te=Ie}_e.push(E);Ie+=E.length}nextTokenJSDoc();while(parseOptionalJsdoc(5));if(parseOptionalJsdoc(4)){j=0;Ie=0}e:while(true){switch(token()){case 59:if(j===0||j===1){removeTrailingWhitespace(_e);if(!le)le=getNodePos();addTag(parseTag(Ie));j=0;Te=undefined}else{pushComment(R.getTokenText())}break;case 4:_e.push(R.getTokenText());j=0;Ie=0;break;case 41:var Ne=R.getTokenText();if(j===1||j===2){j=2;pushComment(Ne)}else{j=1;Ie+=Ne.length}break;case 5:var Me=R.getTokenText();if(j===2){_e.push(Me)}else if(Te!==undefined&&Ie+Me.length>Te){_e.push(Me.slice(Te-Ie))}Ie+=Me.length;break;case 1:break e;case 18:j=2;var Le=R.getStartPos();var Be=R.getTextPos()-1;var je=parseJSDocLink(Be);if(je){if(!ce){removeLeadingNewlines(_e)}we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,Le));we.push(je);_e=[];ce=R.getTextPos();break}default:j=2;pushComment(R.getTokenText());break}nextTokenJSDoc()}removeTrailingWhitespace(_e);if(we.length&&_e.length){we.push(finishNode(Ee.createJSDocText(_e.join("")),ce!==null&&ce!==void 0?ce:N,le))}if(we.length&&G)E.Debug.assertIsDefined(le,"having parsed tags implies that the end of the comment span should be set");var Ue=G&&createNodeArray(G,ie,ae);return finishNode(Ee.createJSDocComment(we.length?createNodeArray(we,N,le):_e.length?_e.join(""):undefined,Ue),N,q)}));function removeLeadingNewlines(E){while(E.length&&(E[0]==="\n"||E[0]==="\r")){E.shift()}}function removeTrailingWhitespace(E){while(E.length&&E[E.length-1].trim()===""){E.pop()}}function isNextNonwhitespaceTokenEndOfFile(){while(true){nextTokenJSDoc();if(token()===1){return true}if(!(token()===5||token()===4)){return false}}}function skipWhitespace(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return}}while(token()===5||token()===4){nextTokenJSDoc()}}function skipWhitespaceOrAsterisk(){if(token()===5||token()===4){if(lookAhead(isNextNonwhitespaceTokenEndOfFile)){return""}}var E=R.hasPrecedingLineBreak();var N=false;var j="";while(E&&token()===41||token()===5||token()===4){j+=R.getTokenText();if(token()===4){E=true;N=true;j=""}else if(token()===41){E=false}nextTokenJSDoc()}return N?j:""}function parseTag(N){E.Debug.assert(token()===59);var j=R.getTokenPos();nextTokenJSDoc();var $=parseJSDocIdentifierName(undefined);var q=skipWhitespaceOrAsterisk();var G;switch($.escapedText){case"author":G=parseAuthorTag(j,$,N,q);break;case"implements":G=parseImplementsTag(j,$,N,q);break;case"augments":case"extends":G=parseAugmentsTag(j,$,N,q);break;case"class":case"constructor":G=parseSimpleTag(j,Ee.createJSDocClassTag,$,N,q);break;case"public":G=parseSimpleTag(j,Ee.createJSDocPublicTag,$,N,q);break;case"private":G=parseSimpleTag(j,Ee.createJSDocPrivateTag,$,N,q);break;case"protected":G=parseSimpleTag(j,Ee.createJSDocProtectedTag,$,N,q);break;case"readonly":G=parseSimpleTag(j,Ee.createJSDocReadonlyTag,$,N,q);break;case"override":G=parseSimpleTag(j,Ee.createJSDocOverrideTag,$,N,q);break;case"deprecated":Ye=true;G=parseSimpleTag(j,Ee.createJSDocDeprecatedTag,$,N,q);break;case"this":G=parseThisTag(j,$,N,q);break;case"enum":G=parseEnumTag(j,$,N,q);break;case"arg":case"argument":case"param":return parseParameterOrPropertyTag(j,$,2,N);case"return":case"returns":G=parseReturnTag(j,$,N,q);break;case"template":G=parseTemplateTag(j,$,N,q);break;case"type":G=parseTypeTag(j,$,N,q);break;case"typedef":G=parseTypedefTag(j,$,N,q);break;case"callback":G=parseCallbackTag(j,$,N,q);break;case"see":G=parseSeeTag(j,$,N,q);break;default:G=parseUnknownTag(j,$,N,q);break}return G}function parseTrailingTagComments(E,N,R,j){if(!j){R+=N-E}return parseTagComments(R,j.slice(R))}function parseTagComments(E,N){var j=getNodePos();var $=[];var q=[];var G;var ie=0;var ae=true;var ce;function pushComment(N){if(!ce){ce=E}$.push(N);E+=N.length}if(N!==undefined){if(N!==""){pushComment(N)}ie=1}var le=token();e:while(true){switch(le){case 4:ie=0;$.push(R.getTokenText());E=0;break;case 59:if(ie===3||ie===2&&(!ae||lookAhead(isNextJSDocTokenWhitespace))){$.push(R.getTokenText());break}R.setTextPos(R.getTextPos()-1);case 1:break e;case 5:if(ie===2||ie===3){pushComment(R.getTokenText())}else{var _e=R.getTokenText();if(ce!==undefined&&E+_e.length>ce){$.push(_e.slice(ce-E))}E+=_e.length}break;case 18:ie=2;var Te=R.getStartPos();var we=R.getTextPos()-1;var Ie=parseJSDocLink(we);if(Ie){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j,Te));q.push(Ie);$=[];G=R.getTextPos()}else{pushComment(R.getTokenText())}break;case 61:if(ie===3){ie=2}else{ie=3}pushComment(R.getTokenText());break;case 41:if(ie===0){ie=1;E+=1;break}default:if(ie!==3){ie=2}pushComment(R.getTokenText());break}ae=token()===5;le=nextTokenJSDoc()}removeLeadingNewlines($);removeTrailingWhitespace($);if(q.length){if($.length){q.push(finishNode(Ee.createJSDocText($.join("")),G!==null&&G!==void 0?G:j))}return createNodeArray(q,j,R.getTextPos())}else if($.length){return $.join("")}}function isNextJSDocTokenWhitespace(){var E=nextTokenJSDoc();return E===5||E===4}function parseJSDocLink(N){var j=tryParse(parseJSDocLinkPrefix);if(!j){return undefined}nextTokenJSDoc();skipWhitespace();var $=getNodePos();var q=E.tokenIsIdentifierOrKeyword(token())?parseEntityName(true):undefined;if(q){while(token()===80){reScanHashToken();nextTokenJSDoc();q=finishNode(Ee.createJSDocMemberName(q,parseIdentifier()),$)}}var G=[];while(token()!==19&&token()!==4&&token()!==1){G.push(R.getTokenText());nextTokenJSDoc()}var ie=j==="link"?Ee.createJSDocLink:j==="linkcode"?Ee.createJSDocLinkCode:Ee.createJSDocLinkPlain;return finishNode(ie(q,G.join("")),N,R.getTextPos())}function parseJSDocLinkPrefix(){skipWhitespaceOrAsterisk();if(token()===18&&nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())){var N=R.getTokenValue();if(N==="link"||N==="linkcode"||N==="linkplain"){return N}}}function parseUnknownTag(E,N,R,j){return finishNode(Ee.createJSDocUnknownTag(N,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function addTag(E){if(!E){return}if(!G){G=[E];ie=E.pos}else{G.push(E)}ae=E.end}function tryParseTypeExpression(){skipWhitespaceOrAsterisk();return token()===18?parseJSDocTypeExpression():undefined}function parseBracketNameInPropertyAndParamTag(){var E=parseOptionalJsdoc(22);if(E){skipWhitespace()}var N=parseOptionalJsdoc(61);var R=parseJSDocEntityName();if(N){parseExpectedTokenJSDoc(61)}if(E){skipWhitespace();if(parseOptionalToken(63)){parseExpression()}parseExpected(23)}return{name:R,isBracketed:E}}function isObjectOrObjectArrayTypeReference(N){switch(N.kind){case 146:return true;case 181:return isObjectOrObjectArrayTypeReference(N.elementType);default:return E.isTypeReferenceNode(N)&&E.isIdentifier(N.typeName)&&N.typeName.escapedText==="Object"&&!N.typeArguments}}function parseParameterOrPropertyTag(E,N,R,j){var $=tryParseTypeExpression();var q=!$;skipWhitespaceOrAsterisk();var G=parseBracketNameInPropertyAndParamTag(),ie=G.name,ae=G.isBracketed;var ce=skipWhitespaceOrAsterisk();if(q&&!lookAhead(parseJSDocLinkPrefix)){$=tryParseTypeExpression()}var le=parseTrailingTagComments(E,getNodePos(),j,ce);var _e=R!==4&&parseNestedTypeLiteral($,ie,R,j);if(_e){$=_e;q=true}var Te=R===1?Ee.createJSDocPropertyTag(N,ie,ae,$,q,le):Ee.createJSDocParameterTag(N,ie,ae,$,q,le);return finishNode(Te,E)}function parseNestedTypeLiteral(N,R,j,$){if(N&&isObjectOrObjectArrayTypeReference(N.type)){var q=getNodePos();var G=void 0;var ie=void 0;while(G=tryParse((function(){return parseChildParameterOrPropertyTag(j,$,R)}))){if(G.kind===335||G.kind===342){ie=E.append(ie,G)}}if(ie){var ae=finishNode(Ee.createJSDocTypeLiteral(ie,N.type.kind===181),q);return finishNode(Ee.createJSDocTypeExpression(ae),q)}}}function parseReturnTag(N,j,$,q){if(E.some(G,E.isJSDocReturnTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=tryParseTypeExpression();return finishNode(Ee.createJSDocReturnTag(j,ie,parseTrailingTagComments(N,getNodePos(),$,q)),N)}function parseTypeTag(N,j,$,q){if(E.some(G,E.isJSDocTypeTag)){parseErrorAt(j.pos,R.getTokenPos(),E.Diagnostics._0_tag_already_specified,j.escapedText)}var ie=parseJSDocTypeExpression(true);var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocTypeTag(j,ie,ae),N)}function parseSeeTag(N,j,$,q){var G=lookAhead((function(){return nextTokenJSDoc()===59&&E.tokenIsIdentifierOrKeyword(nextTokenJSDoc())&&R.getTokenValue()==="link"}));var ie=G?undefined:parseJSDocNameReference();var ae=$!==undefined&&q!==undefined?parseTrailingTagComments(N,getNodePos(),$,q):undefined;return finishNode(Ee.createJSDocSeeTag(j,ie,ae),N)}function parseAuthorTag(N,j,$,q){var G=getNodePos();var ie=parseAuthorNameAndEmail();var ae=R.getStartPos();var ce=parseTrailingTagComments(N,ae,$,q);if(!ce){ae=R.getStartPos()}var le=typeof ce!=="string"?createNodeArray(E.concatenate([finishNode(ie,G,ae)],ce),G):ie.text+ce;return finishNode(Ee.createJSDocAuthorTag(j,le),N)}function parseAuthorNameAndEmail(){var E=[];var N=false;var j=R.getToken();while(j!==1&&j!==4){if(j===29){N=true}else if(j===59&&!N){break}else if(j===31&&N){E.push(R.getTokenText());R.setTextPos(R.getTokenPos()+1);break}E.push(R.getTokenText());j=nextTokenJSDoc()}return Ee.createJSDocText(E.join(""))}function parseImplementsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocImplementsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseAugmentsTag(E,N,R,j){var $=parseExpressionWithTypeArgumentsForAugments();return finishNode(Ee.createJSDocAugmentsTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseExpressionWithTypeArgumentsForAugments(){var E=parseOptional(18);var N=getNodePos();var R=parsePropertyAccessEntityNameExpression();var j=tryParseTypeArguments();var $=Ee.createExpressionWithTypeArguments(R,j);var q=finishNode($,N);if(E){parseExpected(19)}return q}function parsePropertyAccessEntityNameExpression(){var E=getNodePos();var N=parseJSDocIdentifierName();while(parseOptional(24)){var R=parseJSDocIdentifierName();N=finishNode(Ee.createPropertyAccessExpression(N,R),E)}return N}function parseSimpleTag(E,N,R,j,$){return finishNode(N(R,parseTrailingTagComments(E,getNodePos(),j,$)),E)}function parseThisTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocThisTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseEnumTag(E,N,R,j){var $=parseJSDocTypeExpression(true);skipWhitespace();return finishNode(Ee.createJSDocEnumTag(N,$,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseTypedefTag(N,R,j,$){var q;var G=tryParseTypeExpression();skipWhitespaceOrAsterisk();var ie=parseJSDocTypeNameWithNamespace();skipWhitespace();var ae=parseTagComments(j);var ce;if(!G||isObjectOrObjectArrayTypeReference(G.type)){var le=void 0;var _e=void 0;var we=void 0;var Ie=false;while(le=tryParse((function(){return parseChildPropertyTag(j)}))){Ie=true;if(le.kind===338){if(_e){parseErrorAtCurrentToken(E.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var Ne=E.lastOrUndefined(Be);if(Ne){E.addRelatedInfo(Ne,E.createDetachedDiagnostic(Te,0,0,E.Diagnostics.The_tag_was_first_specified_here))}break}else{_e=le}}else{we=E.append(we,le)}}if(Ie){var Me=G&&G.type.kind===181;var Le=Ee.createJSDocTypeLiteral(we,Me);G=_e&&_e.typeExpression&&!isObjectOrObjectArrayTypeReference(_e.typeExpression.type)?_e.typeExpression:finishNode(Le,N);ce=G.end}}ce=ce||ae!==undefined?getNodePos():((q=ie!==null&&ie!==void 0?ie:G)!==null&&q!==void 0?q:R).end;if(!ae){ae=parseTrailingTagComments(N,ce,j,$)}var je=Ee.createJSDocTypedefTag(R,G,ie,ae);return finishNode(je,N,ce)}function parseJSDocTypeNameWithNamespace(N){var j=R.getTokenPos();if(!E.tokenIsIdentifierOrKeyword(token())){return undefined}var $=parseJSDocIdentifierName();if(parseOptional(24)){var q=parseJSDocTypeNameWithNamespace(true);var G=Ee.createModuleDeclaration(undefined,undefined,$,q,N?4:undefined);return finishNode(G,j)}if(N){$.isInJSDocNamespace=true}return $}function parseCallbackTagParameters(N){var R=getNodePos();var j;var $;while(j=tryParse((function(){return parseChildParameterOrPropertyTag(4,N)}))){$=E.append($,j)}return createNodeArray($||[],R)}function parseCallbackTag(E,N,R,j){var $=parseJSDocTypeNameWithNamespace();skipWhitespace();var q=parseTagComments(R);var G=parseCallbackTagParameters(R);var ie=tryParse((function(){if(parseOptionalJsdoc(59)){var E=parseTag(R);if(E&&E.kind===336){return E}}}));var ae=finishNode(Ee.createJSDocSignature(undefined,G,ie),E);if(!q){q=parseTrailingTagComments(E,getNodePos(),R,j)}return finishNode(Ee.createJSDocCallbackTag(N,ae,$,q),E)}function escapedTextsEqual(N,R){while(!E.isIdentifier(N)||!E.isIdentifier(R)){if(!E.isIdentifier(N)&&!E.isIdentifier(R)&&N.right.escapedText===R.right.escapedText){N=N.left;R=R.left}else{return false}}return N.escapedText===R.escapedText}function parseChildPropertyTag(E){return parseChildParameterOrPropertyTag(1,E)}function parseChildParameterOrPropertyTag(N,R,j){var $=true;var q=false;while(true){switch(nextTokenJSDoc()){case 59:if($){var G=tryParseChildTag(N,R);if(G&&(G.kind===335||G.kind===342)&&N!==4&&j&&(E.isIdentifier(G.name)||!escapedTextsEqual(j,G.name.left))){return false}return G}q=false;break;case 4:$=true;q=false;break;case 41:if(q){$=false}q=true;break;case 79:$=false;break;case 1:return false}}}function tryParseChildTag(N,j){E.Debug.assert(token()===59);var $=R.getStartPos();nextTokenJSDoc();var q=parseJSDocIdentifierName();skipWhitespace();var G;switch(q.escapedText){case"type":return N===1&&parseTypeTag($,q);case"prop":case"property":G=1;break;case"arg":case"argument":case"param":G=2|4;break;default:return false}if(!(N&G)){return false}return parseParameterOrPropertyTag($,q,N,j)}function parseTemplateTagTypeParameter(){var N=getNodePos();var R=parseJSDocIdentifierName(E.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);if(E.nodeIsMissing(R)){return undefined}return finishNode(Ee.createTypeParameterDeclaration(R,undefined,undefined),N)}function parseTemplateTagTypeParameters(){var E=getNodePos();var N=[];do{skipWhitespace();var R=parseTemplateTagTypeParameter();if(R!==undefined){N.push(R)}skipWhitespaceOrAsterisk()}while(parseOptionalJsdoc(27));return createNodeArray(N,E)}function parseTemplateTag(E,N,R,j){var $=token()===18?parseJSDocTypeExpression():undefined;var q=parseTemplateTagTypeParameters();return finishNode(Ee.createJSDocTemplateTag(N,$,q,parseTrailingTagComments(E,getNodePos(),R,j)),E)}function parseOptionalJsdoc(E){if(token()===E){nextTokenJSDoc();return true}return false}function parseJSDocEntityName(){var E=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}while(parseOptional(24)){var N=parseJSDocIdentifierName();if(parseOptional(22)){parseExpected(23)}E=createQualifiedName(E,N)}return E}function parseJSDocIdentifierName(N){if(!E.tokenIsIdentifierOrKeyword(token())){return createMissingNode(79,!N,N||E.Diagnostics.Identifier_expected)}qe++;var j=R.getTokenPos();var $=R.getTextPos();var q=token();var G=internIdentifier(R.getTokenValue());var ie=finishNode(Ee.createIdentifier(G,undefined,q),j,$);nextTokenJSDoc();return ie}}})(rt=N.JSDocParser||(N.JSDocParser={}))})(ce||(ce={}));var le;(function(N){function updateSourceFile(N,R,j,$){$=$||E.Debug.shouldAssert(2);checkChangeRange(N,R,j,$);if(E.textChangeRangeIsUnchanged(j)){return N}if(N.statements.length===0){return ce.parseSourceFile(N.fileName,R,N.languageVersion,undefined,true,N.scriptKind)}var q=N;E.Debug.assert(!q.hasBeenIncrementallyParsed);q.hasBeenIncrementallyParsed=true;ce.fixupParentReferences(q);var G=N.text;var ie=createSyntaxCursor(N);var ae=extendToAffectedRange(N,j);checkChangeRange(N,R,ae,$);E.Debug.assert(ae.span.start<=j.span.start);E.Debug.assert(E.textSpanEnd(ae.span)===E.textSpanEnd(j.span));E.Debug.assert(E.textSpanEnd(E.textChangeRangeNewSpan(ae))===E.textSpanEnd(E.textChangeRangeNewSpan(j)));var le=E.textChangeRangeNewSpan(ae).length-ae.span.length;updateTokenPositionsAndMarkElements(q,ae.span.start,E.textSpanEnd(ae.span),E.textSpanEnd(E.textChangeRangeNewSpan(ae)),le,G,R,$);var _e=ce.parseSourceFile(N.fileName,R,N.languageVersion,ie,true,N.scriptKind);_e.commentDirectives=getNewCommentDirectives(N.commentDirectives,_e.commentDirectives,ae.span.start,E.textSpanEnd(ae.span),le,G,R,$);return _e}N.updateSourceFile=updateSourceFile;function getNewCommentDirectives(N,R,j,$,q,G,ie,ae){if(!N)return R;var ce;var le=false;for(var _e=0,Ee=N;_e$){addNewlyScannedDirectives();var Ne={range:{pos:we.pos+q,end:we.end+q},type:Ie};ce=E.append(ce,Ne);if(ae){E.Debug.assert(G.substring(we.pos,we.end)===ie.substring(Ne.range.pos,Ne.range.end))}}}addNewlyScannedDirectives();return ce;function addNewlyScannedDirectives(){if(le)return;le=true;if(!ce){ce=R}else if(R){ce.push.apply(ce,R)}}}function moveElementEntirelyPastChangeRange(N,R,j,$,q,G){if(R){visitArray(N)}else{visitNode(N)}return;function visitNode(N){var R="";if(G&&shouldCheckNode(N)){R=$.substring(N.pos,N.end)}if(N._children){N._children=undefined}E.setTextRangePosEnd(N,N.pos+j,N.end+j);if(G&&shouldCheckNode(N)){E.Debug.assert(R===q.substring(N.pos,N.end))}forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var ie=0,ae=N.jsDoc;ie=R,"Adjusting an element that was entirely before the change range");E.Debug.assert(N.pos<=j,"Adjusting an element that was entirely after the change range");E.Debug.assert(N.pos<=N.end);var G=Math.min(N.pos,$);var ie=N.end>=j?N.end+q:Math.min(N.end,$);E.Debug.assert(G<=ie);if(N.parent){E.Debug.assertGreaterThanOrEqual(G,N.parent.pos);E.Debug.assertLessThanOrEqual(ie,N.parent.end)}E.setTextRangePosEnd(N,G,ie)}function checkNodePositions(N,R){if(R){var j=N.pos;var visitNode_1=function(N){E.Debug.assert(N.pos>=j);j=N.end};if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$j){moveElementEntirelyPastChangeRange(N,false,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);forEachChild(N,visitNode,visitArray);if(E.hasJSDocNodes(N)){for(var le=0,_e=N.jsDoc;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}}checkNodePositions(N,ae);return}E.Debug.assert(cej){moveElementEntirelyPastChangeRange(N,true,q,G,ie,ae);return}var ce=N.end;if(ce>=R){N.intersectsChange=true;N._children=undefined;adjustIntersectingElement(N,R,j,$,q);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];visitNode(Ee)}return}E.Debug.assert(ce0&&q<=j;q++){var G=findNearestNodeStartingBeforeOrAtPosition(N,$);E.Debug.assert(G.pos<=$);var ie=G.pos;$=Math.max(0,ie-1)}var ae=E.createTextSpanFromBounds($,E.textSpanEnd(R.span));var ce=R.newLength+(R.span.start-$);return E.createTextChangeRange(ae,ce)}function findNearestNodeStartingBeforeOrAtPosition(N,R){var j=N;var $;forEachChild(N,visit);if($){var q=getLastDescendant($);if(q.pos>j.pos){j=q}}return j;function getLastDescendant(N){while(true){var R=E.getLastChild(N);if(R){N=R}else{return N}}}function visit(N){if(E.nodeIsMissing(N)){return}if(N.pos<=R){if(N.pos>=j.pos){j=N}if(RR);return true}}}function checkChangeRange(N,R,j,$){var q=N.text;if(j){E.Debug.assert(q.length-j.span.length+j.newLength===R.length);if($||E.Debug.shouldAssert(3)){var G=q.substr(0,j.span.start);var ie=R.substr(0,j.span.start);E.Debug.assert(G===ie);var ae=q.substring(E.textSpanEnd(j.span),q.length);var ce=R.substring(E.textSpanEnd(E.textChangeRangeNewSpan(j)),R.length);E.Debug.assert(ae===ce)}}}function createSyntaxCursor(N){var R=N.statements;var j=0;E.Debug.assert(j=N.pos&&E=N.pos&&EN.checkJsDirective.pos){N.checkJsDirective={enabled:$==="ts-check",end:E.range.end,pos:E.range.pos}}}));break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:E.Debug.fail("Unhandled pragma kind")}}))}E.processPragmasIntoFields=processPragmasIntoFields;var _e=new E.Map;function getNamedArgRegEx(E){if(_e.has(E)){return _e.get(E)}var N=new RegExp("(\\s"+E+"\\s*=\\s*)(?:(?:'([^']*)')|(?:\"([^\"]*)\"))","im");_e.set(E,N);return N}var Ee=/^\/\/\/\s*<(\S+)\s.*?\/>/im;var Te=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function extractPragmas(N,R,j){var $=R.kind===2&&Ee.exec(j);if($){var q=$[1].toLowerCase();var G=E.commentPragmas[q];if(!G||!(G.kind&1)){return}if(G.args){var ie={};for(var ae=0,ce=G.args;ae=R.length)break;var G=q;if(R.charCodeAt(G)===34){q++;while(q32)q++;$.push(R.substring(G,q))}}parseStrings($)}}E.parseCommandLineWorker=parseCommandLineWorker;function parseOptionValue(N,R,j,$,q,G){if($.isTSConfigOnly){var ie=N[R];if(ie==="null"){q[$.name]=undefined;R++}else if($.type==="boolean"){if(ie==="false"){q[$.name]=validateJsonOptionValue($,false,G);R++}else{if(ie==="true")R++;G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,$.name))}}else{G.push(E.createCompilerDiagnostic(E.Diagnostics.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,$.name));if(ie&&!E.startsWith(ie,"-"))R++}}else{if(!N[R]&&$.type!=="boolean"){G.push(E.createCompilerDiagnostic(j.optionTypeMismatchDiagnostic,$.name,getCompilerOptionValueTypeString($)))}if(N[R]!=="null"){switch($.type){case"number":q[$.name]=validateJsonOptionValue($,parseInt(N[R]),G);R++;break;case"boolean":var ie=N[R];q[$.name]=validateJsonOptionValue($,ie!=="false",G);if(ie==="false"||ie==="true"){R++}break;case"string":q[$.name]=validateJsonOptionValue($,N[R]||"",G);R++;break;case"list":var ae=parseListTypeOption($,N[R],G);q[$.name]=ae||[];if(ae){R++}break;default:q[$.name]=parseCustomTypeOption($,N[R],G);R++;break}}else{q[$.name]=undefined;R++}}return R}E.compilerOptionsDidYouMeanDiagnostics={alternateMode:ie,getOptionsNameMap:getOptionsNameMap,optionDeclarations:E.optionDeclarations,unknownOptionDiagnostic:E.Diagnostics.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Compiler_option_0_expects_an_argument};function parseCommandLine(N,R){return parseCommandLineWorker(E.compilerOptionsDidYouMeanDiagnostics,N,R)}E.parseCommandLine=parseCommandLine;function getOptionFromName(E,N){return getOptionDeclarationFromName(getOptionsNameMap,E,N)}E.getOptionFromName=getOptionFromName;function getOptionDeclarationFromName(E,N,R){if(R===void 0){R=false}N=N.toLowerCase();var j=E(),$=j.optionsNameMap,q=j.shortOptionNames;if(R){var G=q.get(N);if(G!==undefined){N=G}}return $.get(N)}var ae;function getBuildOptionsNameMap(){return ae||(ae=createOptionNameMap(E.buildOpts))}var ce={diagnostic:E.Diagnostics.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:getOptionsNameMap};var le={alternateMode:ce,getOptionsNameMap:getBuildOptionsNameMap,optionDeclarations:E.buildOpts,unknownOptionDiagnostic:E.Diagnostics.Unknown_build_option_0,unknownDidYouMeanDiagnostic:E.Diagnostics.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:E.Diagnostics.Build_option_0_requires_a_value_of_type_1};function parseBuildCommand(N){var R=parseCommandLineWorker(le,N),j=R.options,$=R.watchOptions,q=R.fileNames,G=R.errors;var ie=j;if(q.length===0){q.push(".")}if(ie.clean&&ie.force){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","force"))}if(ie.clean&&ie.verbose){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","verbose"))}if(ie.clean&&ie.watch){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"clean","watch"))}if(ie.watch&&ie.dry){G.push(E.createCompilerDiagnostic(E.Diagnostics.Options_0_and_1_cannot_be_combined,"watch","dry"))}return{buildOptions:ie,watchOptions:$,projects:q,errors:G}}E.parseBuildCommand=parseBuildCommand;function getDiagnosticText(N){var R=[];for(var j=1;j=0){ae.push(E.createCompilerDiagnostic(E.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,j(j([],ie,true),[_e],false).join(" -> ")));return{raw:N||convertToObject(R,ae)}}var Ee=N?parseOwnConfigOfJson(N,$,q,G,ae):parseOwnConfigOfJsonSourceFile(R,$,q,G,ae);if((le=Ee.options)===null||le===void 0?void 0:le.paths){Ee.options.pathsBasePath=q}if(Ee.extendedConfigPath){ie=ie.concat([_e]);var Te=getExtendedConfig(R,Ee.extendedConfigPath,$,ie,ae,ce);if(Te&&isSuccessfulParsedTsconfig(Te)){var we=Te.raw;var Ie=Ee.raw;var Ne;var setPropertyInRawIfNotUndefined=function(N){if(!Ie[N]&&we[N]){Ie[N]=E.map(we[N],(function(N){return E.isRootedDiskPath(N)?N:E.combinePaths(Ne||(Ne=E.convertToRelativePath(E.getDirectoryPath(Ee.extendedConfigPath),q,E.createGetCanonicalFileName($.useCaseSensitiveFileNames))),N)}))}};setPropertyInRawIfNotUndefined("include");setPropertyInRawIfNotUndefined("exclude");setPropertyInRawIfNotUndefined("files");if(Ie.compileOnSave===undefined){Ie.compileOnSave=we.compileOnSave}Ee.options=E.assign({},Te.options,Ee.options);Ee.watchOptions=Ee.watchOptions&&Te.watchOptions?E.assign({},Te.watchOptions,Ee.watchOptions):Ee.watchOptions||Te.watchOptions}}return Ee}function parseOwnConfigOfJson(N,R,j,$,q){if(E.hasProperty(N,"excludes")){q.push(E.createCompilerDiagnostic(E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}var G=convertCompilerOptionsFromJsonWorker(N.compilerOptions,j,q,$);var ie=convertTypeAcquisitionFromJsonWorker(N.typeAcquisition||N.typingOptions,j,q,$);var ae=convertWatchOptionsFromJsonWorker(N.watchOptions,j,q);N.compileOnSave=convertCompileOnSaveOptionFromJson(N,j,q);var ce;if(N.extends){if(!E.isString(N.extends)){q.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,"extends","string"))}else{var le=$?directoryOfCombinedPath($,j):j;ce=getExtendsConfigPath(N.extends,R,le,q,E.createCompilerDiagnostic)}}return{raw:N,options:G,watchOptions:ae,typeAcquisition:ie,extendedConfigPath:ce}}function parseOwnConfigOfJsonSourceFile(N,R,j,$,q){var G=getDefaultCompilerOptions($);var ie,ae;var ce;var le;var _e={onSetValidOptionKeyValueInParent:function(N,R,q){var le;switch(N){case"compilerOptions":le=G;break;case"watchOptions":le=ce||(ce={});break;case"typeAcquisition":le=ie||(ie=getDefaultTypeAcquisition($));break;case"typingOptions":le=ae||(ae=getDefaultTypeAcquisition($));break;default:E.Debug.fail("Unknown option")}le[R.name]=normalizeOptionValue(R,j,q)},onSetValidOptionKeyValueInRoot:function(G,ie,ae,ce){switch(G){case"extends":var _e=$?directoryOfCombinedPath($,j):j;le=getExtendsConfigPath(ae,R,_e,q,(function(R,j){return E.createDiagnosticForNodeInSourceFile(N,ce,R,j)}));return}},onSetUnknownOptionKeyValueInRoot:function(R,j,$,G){if(R==="excludes"){q.push(E.createDiagnosticForNodeInSourceFile(N,j,E.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}}};var Ee=convertConfigFileToObject(N,q,true,_e);if(!ie){if(ae){ie=ae.enableAutoDiscovery!==undefined?{enable:ae.enableAutoDiscovery,include:ae.include,exclude:ae.exclude}:ae}else{ie=getDefaultTypeAcquisition($)}}return{raw:Ee,options:G,watchOptions:ce,typeAcquisition:ie,extendedConfigPath:le}}function getExtendsConfigPath(N,R,j,$,q){N=E.normalizeSlashes(N);if(E.isRootedDiskPath(N)||E.startsWith(N,"./")||E.startsWith(N,"../")){var G=E.getNormalizedAbsolutePath(N,j);if(!R.fileExists(G)&&!E.endsWith(G,".json")){G=G+".json";if(!R.fileExists(G)){$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}}return G}var ie=E.nodeModuleNameResolver(N,E.combinePaths(j,"tsconfig.json"),{moduleResolution:E.ModuleResolutionKind.NodeJs},R,undefined,undefined,true);if(ie.resolvedModule){return ie.resolvedModule.resolvedFileName}$.push(q(E.Diagnostics.File_0_not_found,N));return undefined}function getExtendedConfig(N,R,j,$,q,G){var ie;var ae=j.useCaseSensitiveFileNames?R:E.toFileNameLowerCase(R);var ce;var le;var _e;if(G&&(ce=G.get(ae))){le=ce.extendedResult,_e=ce.extendedConfig}else{le=readJsonConfigFile(R,(function(E){return j.readFile(E)}));if(!le.parseDiagnostics.length){_e=parseConfig(undefined,le,j,E.getDirectoryPath(R),E.getBaseFileName(R),$,q,G)}if(G){G.set(ae,{extendedResult:le,extendedConfig:_e})}}if(N){N.extendedSourceFiles=[le.fileName];if(le.extendedSourceFiles){(ie=N.extendedSourceFiles).push.apply(ie,le.extendedSourceFiles)}}if(le.parseDiagnostics.length){q.push.apply(q,le.parseDiagnostics);return undefined}return _e}function convertCompileOnSaveOptionFromJson(N,R,j){if(!E.hasProperty(N,E.compileOnSaveCommandLineOption.name)){return false}var $=convertJsonOption(E.compileOnSaveCommandLineOption,N.compileOnSave,R,j);return typeof $==="boolean"&&$}function convertCompilerOptionsFromJson(E,N,R){var j=[];var $=convertCompilerOptionsFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertCompilerOptionsFromJson=convertCompilerOptionsFromJson;function convertTypeAcquisitionFromJson(E,N,R){var j=[];var $=convertTypeAcquisitionFromJsonWorker(E,N,j,R);return{options:$,errors:j}}E.convertTypeAcquisitionFromJson=convertTypeAcquisitionFromJson;function getDefaultCompilerOptions(N){var R=N&&E.getBaseFileName(N)==="jsconfig.json"?{allowJs:true,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:true,skipLibCheck:true,noEmit:true}:{};return R}function convertCompilerOptionsFromJsonWorker(N,R,j,$){var q=getDefaultCompilerOptions($);convertOptionsFromJson(getCommandLineCompilerOptionsMap(),N,R,q,E.compilerOptionsDidYouMeanDiagnostics,j);if($){q.configFilePath=E.normalizeSlashes($)}return q}function getDefaultTypeAcquisition(N){return{enable:!!N&&E.getBaseFileName(N)==="jsconfig.json",include:[],exclude:[]}}function convertTypeAcquisitionFromJsonWorker(E,N,R,j){var $=getDefaultTypeAcquisition(j);var q=convertEnableAutoDiscoveryToEnable(E);convertOptionsFromJson(getCommandLineTypeAcquisitionMap(),q,N,$,_e,R);return $}function convertWatchOptionsFromJsonWorker(E,N,R){return convertOptionsFromJson(getCommandLineWatchOptionsMap(),E,N,undefined,Te,R)}function convertOptionsFromJson(N,R,j,$,q,G){if(!R){return}for(var ie in R){var ae=N.get(ie);if(ae){($||($={}))[ae.name]=convertJsonOption(ae,R[ie],j,G)}else{G.push(createUnknownOptionError(ie,q,E.createCompilerDiagnostic))}}return $}function convertJsonOption(N,R,j,$){if(isCompilerOptionsValue(N,R)){var q=N.type;if(q==="list"&&E.isArray(R)){return convertJsonOptionOfListType(N,R,j,$)}else if(!E.isString(q)){return convertJsonOptionOfCustomType(N,R,$)}var G=validateJsonOptionValue(N,R,$);return isNullOrUndefined(G)?G:normalizeNonListOptionValue(N,j,G)}else{$.push(E.createCompilerDiagnostic(E.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,N.name,getCompilerOptionValueTypeString(N)))}}E.convertJsonOption=convertJsonOption;function normalizeOptionValue(N,R,j){if(isNullOrUndefined(j))return undefined;if(N.type==="list"){var $=N;if($.element.isFilePath||!E.isString($.element.type)){return E.filter(E.map(j,(function(E){return normalizeOptionValue($.element,R,E)})),(function(E){return!!E}))}return j}else if(!E.isString(N.type)){return N.type.get(E.isString(j)?j.toLowerCase():j)}return normalizeNonListOptionValue(N,R,j)}function normalizeNonListOptionValue(N,R,j){if(N.isFilePath){j=E.getNormalizedAbsolutePath(j,R);if(j===""){j="."}}return j}function validateJsonOptionValue(N,R,j){var $;if(isNullOrUndefined(R))return undefined;var q=($=N.extraValidation)===null||$===void 0?void 0:$.call(N,R);if(!q)return R;j.push(E.createCompilerDiagnostic.apply(void 0,q));return undefined}function convertJsonOptionOfCustomType(E,N,R){if(isNullOrUndefined(N))return undefined;var j=N.toLowerCase();var $=E.type.get(j);if($!==undefined){return validateJsonOptionValue(E,$,R)}else{R.push(createCompilerDiagnosticForInvalidCustomType(E))}}function convertJsonOptionOfListType(N,R,j,$){return E.filter(E.map(R,(function(E){return convertJsonOption(N.element,E,j,$)})),(function(E){return!!E}))}var Le=/(^|\/)\*\*\/?$/;var Be=/^[^*?]*(?=\/[^/]*[*?])/;function getFileNamesFromConfigSpecs(N,R,j,$,q){if(q===void 0){q=E.emptyArray}R=E.normalizePath(R);var G=E.createGetCanonicalFileName($.useCaseSensitiveFileNames);var ie=new E.Map;var ae=new E.Map;var ce=new E.Map;var le=N.validatedFilesSpec,_e=N.validatedIncludeSpecs,Ee=N.validatedExcludeSpecs;var Te=E.getSupportedExtensions(j,q);var we=E.getSuppoertedExtensionsWithJsonIfResolveJsonModule(j,Te);if(le){for(var Ie=0,Ne=le;Ie0){var _loop_6=function(N){if(E.fileExtensionIs(N,".json")){if(!Be){var j=_e.filter((function(N){return E.endsWith(N,".json")}));var q=E.map(E.getRegularExpressionsForWildcards(j,R,"files"),(function(E){return"^"+E+"$"}));Be=q?q.map((function(N){return E.getRegexFromPattern(N,$.useCaseSensitiveFileNames)})):E.emptyArray}var le=E.findIndex(Be,(function(E){return E.test(N)}));if(le!==-1){var Ee=G(N);if(!ie.has(Ee)&&!ce.has(Ee)){ce.set(Ee,N)}}return"continue"}if(hasFileWithHigherPriorityExtension(N,ie,ae,Te,G)){return"continue"}removeWildcardFilesWithLowerPriorityExtension(N,ae,Te,G);var we=G(N);if(!ie.has(we)&&!ae.has(we)){ae.set(we,N)}};for(var je=0,Ue=$.readDirectory(R,we,Ee,_e,undefined);jeR}function matchesExclude(N,R,j,$){return matchesExcludeWorker(N,E.filter(R,(function(E){return!invalidDotDotAfterRecursiveWildcard(E)})),j,$)}E.matchesExclude=matchesExclude;function matchesExcludeWorker(N,R,j,$,q){var G=E.getRegularExpressionForWildcard(R,E.combinePaths(E.normalizePath($),q),"exclude");var ie=G&&E.getRegexFromPattern(G,j);if(!ie)return false;if(ie.test(N))return true;return!E.hasExtension(N)&&ie.test(E.ensureTrailingDirectorySeparator(N))}function validateSpecs(N,R,j,$,q){return N.filter((function(N){if(!E.isString(N))return false;var $=specToDiagnostic(N,j);if($!==undefined){R.push(createDiagnostic.apply(void 0,$))}return $===undefined}));function createDiagnostic(N,R){var j=E.getTsConfigPropArrayElementValue($,q,R);return j?E.createDiagnosticForNodeInSourceFile($,j,N,R):E.createCompilerDiagnostic(N,R)}}function specToDiagnostic(N,R){if(R&&Le.test(N)){return[E.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}else if(invalidDotDotAfterRecursiveWildcard(N)){return[E.Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,N]}}function getWildcardDirectories(N,R,j){var $=N.validatedIncludeSpecs,q=N.validatedExcludeSpecs;var G=E.getRegularExpressionForWildcard(q,R,"exclude");var ie=G&&new RegExp(G,j?"":"i");var ae={};if($!==undefined){var ce=[];for(var le=0,_e=$;le<_e.length;le++){var Ee=_e[le];var Te=E.normalizePath(E.combinePaths(R,Ee));if(ie&&ie.test(Te)){continue}var we=getWildcardDirectoryFromSpec(Te,j);if(we){var Ie=we.key,Ne=we.flags;var Me=ae[Ie];if(Me===undefined||Me0);var $={sourceFile:N.configFile,commandLine:{options:N}};R.setOwnMap(R.getOrCreateMapOfCacheRedirects($));j===null||j===void 0?void 0:j.setOwnMap(j.getOrCreateMapOfCacheRedirects($))}R.setOwnOptions(N);j===null||j===void 0?void 0:j.setOwnOptions(N)}function createPerDirectoryResolutionCache(N,R,j){return{getOrCreateCacheForDirectory:getOrCreateCacheForDirectory,clear:clear,update:update};function clear(){j.clear()}function update(E){updateRedirectsMap(E,j)}function getOrCreateCacheForDirectory($,q){var G=E.toPath($,N,R);return getOrCreateCache(j,q,G,(function(){return new E.Map}))}}function createModuleResolutionCache(N,R,j,q,G){var ie=createPerDirectoryResolutionCache(N,R,q||(q=createCacheWithRedirects(j)));G||(G=createCacheWithRedirects(j));var ae=createPackageJsonInfoCache(N,R);return $($($({},ae),ie),{getOrCreateCacheForModuleName:getOrCreateCacheForModuleName,clear:clear,update:update,getPackageJsonInfoCache:function(){return ae}});function clear(){ie.clear();G.clear();ae.clear()}function update(E){updateRedirectsMap(E,q,G)}function getOrCreateCacheForModuleName(N,R){E.Debug.assert(!E.isExternalModuleNameRelative(N));return getOrCreateCache(G,R,N,createPerModuleNameCache)}function createPerModuleNameCache(){var j=new E.Map;return{get:get,set:set};function get($){return j.get(E.toPath($,N,R))}function set($,q){var G=E.toPath($,N,R);if(j.has(G)){return}j.set(G,q);var ie=q.resolvedModule&&(q.resolvedModule.originalPath||q.resolvedModule.resolvedFileName);var ae=ie&&getCommonPrefix(G,ie);var ce=G;while(ce!==ae){var le=E.getDirectoryPath(ce);if(le===ce||j.has(le)){break}j.set(le,q);ce=le}}function getCommonPrefix(j,$){var q=E.toPath(E.getDirectoryPath($),N,R);var G=0;var ie=Math.min(j.length,q.length);while(G$){$=ae}if($===1){return $}}return $}break;case 260:{var ce=0;E.forEachChild(N,(function(N){var j=getModuleInstanceStateCached(N,R);switch(j){case 0:return;case 2:ce=2;return;case 1:ce=1;return true;default:E.Debug.assertNever(j)}}));return ce}case 259:return getModuleInstanceState(N,R);case 79:if(N.isInJSDocNamespace){return 0}}return 1}function getModuleInstanceStateForAliasTarget(N,R){var j=N.propertyName||N.name;var $=N.parent;while($){if(E.isBlock($)||E.isModuleBlock($)||E.isSourceFile($)){var q=$.statements;var G=void 0;for(var ie=0,ae=q;ieG){G=le}if(G===1){return G}}}if(G!==undefined){return G}}$=$.parent}return 1}var R;(function(E){E[E["None"]=0]="None";E[E["IsContainer"]=1]="IsContainer";E[E["IsBlockScopedContainer"]=2]="IsBlockScopedContainer";E[E["IsControlFlowContainer"]=4]="IsControlFlowContainer";E[E["IsFunctionLike"]=8]="IsFunctionLike";E[E["IsFunctionExpression"]=16]="IsFunctionExpression";E[E["HasLocals"]=32]="HasLocals";E[E["IsInterface"]=64]="IsInterface";E[E["IsObjectLiteralOrClassExpressionMethod"]=128]="IsObjectLiteralOrClassExpressionMethod"})(R||(R={}));function initFlowNode(N){E.Debug.attachFlowNodeDebugInfo(N);return N}var q=createBinder();function bindSourceFile(N,R){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("bind","bindSourceFile",{path:N.path},true);E.performance.mark("beforeBind");E.perfLogger.logStartBindFile(""+N.fileName);q(N,R);E.perfLogger.logStopBindFile();E.performance.mark("afterBind");E.performance.measure("Bind","beforeBind","afterBind");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}E.bindSourceFile=bindSourceFile;function createBinder(){var N;var R;var q;var G;var ie;var ae;var ce;var le;var _e;var Ee;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We;var Je;var Ve=false;var qe=0;var He;var Ge;var Ke={flags:1};var Qe={flags:1};var Xe=createBindBinaryExpressionFlow();function createDiagnosticForNode(R,j,$,q,G){return E.createDiagnosticForNodeInSourceFile(E.getSourceFileOfNode(R)||N,R,j,$,q,G)}function bindSourceFile(j,$){N=j;R=$;q=E.getEmitScriptTarget(R);Je=bindInStrictMode(N,$);Ge=new E.Set;qe=0;He=E.objectAllocator.getSymbolConstructor();E.Debug.attachFlowNodeDebugInfo(Ke);E.Debug.attachFlowNodeDebugInfo(Qe);if(!N.locals){bind(N);N.symbolCount=qe;N.classifiableNames=Ge;delayedBindJSDocTypedefTag()}N=undefined;R=undefined;q=undefined;G=undefined;ie=undefined;ae=undefined;ce=undefined;le=undefined;_e=undefined;Ee=false;Te=undefined;we=undefined;Ie=undefined;Ne=undefined;Me=undefined;Le=undefined;Be=undefined;Ue=undefined;ze=false;Ve=false;We=0}return bindSourceFile;function bindInStrictMode(N,R){if(E.getStrictOptionValue(R,"alwaysStrict")&&!N.isDeclarationFile){return true}else{return!!N.externalModuleIndicator}}function createSymbol(E,N){qe++;return new He(E,N)}function addDeclarationToSymbol(N,R,j){N.flags|=j;R.symbol=N;N.declarations=E.appendIfUnique(N.declarations,R);if(j&(32|384|1536|3)&&!N.exports){N.exports=E.createSymbolTable()}if(j&(32|64|2048|4096)&&!N.members){N.members=E.createSymbolTable()}if(N.constEnumOnlyModule&&N.flags&(16|32|256)){N.constEnumOnlyModule=false}if(j&111551){E.setValueDeclaration(N,R)}}function getDeclarationName(N){if(N.kind===269){return N.isExportEquals?"export=":"default"}var R=E.getNameOfDeclaration(N);if(R){if(E.isAmbientModule(N)){var j=E.getTextOfIdentifierOrLiteral(R);return E.isGlobalScopeAugmentation(N)?"__global":'"'+j+'"'}if(R.kind===160){var $=R.expression;if(E.isStringOrNumericLiteralLike($)){return E.escapeLeadingUnderscores($.text)}if(E.isSignedNumericLiteral($)){return E.tokenToString($.operator)+$.operand.text}else{E.Debug.fail("Only computed properties with literal names have declaration names")}}if(E.isPrivateIdentifier(R)){var q=E.getContainingClass(N);if(!q){return undefined}var G=q.symbol;return E.getSymbolNameForPrivateIdentifier(G,R.escapedText)}return E.isPropertyNameLiteral(R)?E.getEscapedTextOfIdentifierOrLiteral(R):undefined}switch(N.kind){case 169:return"__constructor";case 177:case 172:case 318:return"__call";case 178:case 173:return"__new";case 174:return"__index";case 270:return"__export";case 300:return"export=";case 219:if(E.getAssignmentDeclarationKind(N)===2){return"export="}E.Debug.fail("Unknown binary declaration kind");break;case 312:return E.isJSDocConstructSignature(N)?"__new":"__call";case 162:E.Debug.assert(N.parent.kind===312,"Impossible parameter parent kind",(function(){return"parent is: "+(E.SyntaxKind?E.SyntaxKind[N.parent.kind]:N.parent.kind)+", expected JSDocFunctionType"}));var ie=N.parent;var ae=ie.parameters.indexOf(N);return"arg"+ae}}function getDisplayName(N){return E.isNamedDeclaration(N)?E.declarationNameToString(N.name):E.unescapeLeadingUnderscores(E.Debug.checkDefined(getDeclarationName(N)))}function declareSymbol(R,$,q,G,ie,ae,ce){E.Debug.assert(ce||!E.hasDynamicName(q));var le=E.hasSyntacticModifier(q,512)||E.isExportSpecifier(q)&&q.name.escapedText==="default";var _e=ce?"__computed":le&&$?"default":getDeclarationName(q);var Ee;if(_e===undefined){Ee=createSymbol(0,"__missing")}else{Ee=R.get(_e);if(G&2885600){Ge.add(_e)}if(!Ee){R.set(_e,Ee=createSymbol(0,_e));if(ae)Ee.isReplaceableByMethod=true}else if(ae&&!Ee.isReplaceableByMethod){return Ee}else if(Ee.flags&ie){if(Ee.isReplaceableByMethod){R.set(_e,Ee=createSymbol(0,_e))}else if(!(G&3&&Ee.flags&67108864)){if(E.isNamedDeclaration(q)){E.setParent(q.name,q)}var Te=Ee.flags&2?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var we=true;if(Ee.flags&384||G&384){Te=E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations;we=false}var Ie=false;if(E.length(Ee.declarations)){if(le){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}else{if(Ee.declarations&&Ee.declarations.length&&(q.kind===269&&!q.isExportEquals)){Te=E.Diagnostics.A_module_cannot_have_multiple_default_exports;we=false;Ie=true}}}var Ne=[];if(E.isTypeAliasDeclaration(q)&&E.nodeIsMissing(q.type)&&E.hasSyntacticModifier(q,1)&&Ee.flags&(2097152|788968|1920)){Ne.push(createDiagnosticForNode(q,E.Diagnostics.Did_you_mean_0,"export type { "+E.unescapeLeadingUnderscores(q.name.escapedText)+" }"))}var Me=E.getNameOfDeclaration(q)||q;E.forEach(Ee.declarations,(function(R,j){var $=E.getNameOfDeclaration(R)||R;var q=createDiagnosticForNode($,Te,we?getDisplayName(R):undefined);N.bindDiagnostics.push(Ie?E.addRelatedInfo(q,createDiagnosticForNode(Me,j===0?E.Diagnostics.Another_export_default_is_here:E.Diagnostics.and_here)):q);if(Ie){Ne.push(createDiagnosticForNode($,E.Diagnostics.The_first_export_default_is_here))}}));var Le=createDiagnosticForNode(Me,Te,we?getDisplayName(q):undefined);N.bindDiagnostics.push(E.addRelatedInfo.apply(void 0,j([Le],Ne,false)));Ee=createSymbol(0,_e)}}}addDeclarationToSymbol(Ee,q,G);if(Ee.parent){E.Debug.assert(Ee.parent===$,"Existing symbol parent should match new one")}else{Ee.parent=$}return Ee}function declareModuleMember(N,R,j){var $=!!(E.getCombinedModifierFlags(N)&1)||jsdocTreatAsExported(N);if(R&2097152){if(N.kind===273||N.kind===263&&$){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}else{return declareSymbol(ie.locals,undefined,N,R,j)}}else{if(E.isJSDocTypeAlias(N))E.Debug.assert(E.isInJSFile(N));if(!E.isAmbientModule(N)&&($||ie.flags&64)){if(!ie.locals||E.hasSyntacticModifier(N,512)&&!getDeclarationName(N)){return declareSymbol(ie.symbol.exports,ie.symbol,N,R,j)}var q=R&111551?1048576:0;var G=declareSymbol(ie.locals,undefined,N,q,j);G.exportSymbol=declareSymbol(ie.symbol.exports,ie.symbol,N,R,j);N.localSymbol=G;return G}else{return declareSymbol(ie.locals,undefined,N,R,j)}}}function jsdocTreatAsExported(N){if(N.parent&&E.isModuleDeclaration(N)){N=N.parent}if(!E.isJSDocTypeAlias(N))return false;if(!E.isJSDocEnumTag(N)&&!!N.fullName)return true;var R=E.getNameOfDeclaration(N);if(!R)return false;if(E.isPropertyAccessEntityNameExpression(R.parent)&&isTopLevelNamespaceAssignment(R.parent))return true;if(E.isDeclaration(R.parent)&&E.getCombinedModifierFlags(R.parent)&1)return true;return false}function bindContainer(N,R){var j=ie;var $=ae;var q=ce;if(R&1){if(N.kind!==212){ae=ie}ie=ce=N;if(R&32){ie.locals=E.createSymbolTable()}addToContainerChain(ie)}else if(R&2){ce=N;ce.locals=undefined}if(R&4){var G=Te;var le=we;var _e=Ie;var Me=Ne;var Le=Be;var je=Ue;var Je=ze;var Ve=R&16&&!E.hasSyntacticModifier(N,256)&&!N.asteriskToken&&!!E.getImmediatelyInvokedFunctionExpression(N);if(!Ve){Te=initFlowNode({flags:2});if(R&(16|128)){Te.node=N}}Ne=Ve||N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)?createBranchLabel():undefined;Be=undefined;we=undefined;Ie=undefined;Ue=undefined;ze=false;bindChildren(N);N.flags&=~2816;if(!(Te.flags&1)&&R&8&&E.nodeIsPresent(N.body)){N.flags|=256;if(ze)N.flags|=512;N.endFlowNode=Te}if(N.kind===300){N.flags|=We;N.endFlowNode=Te}if(Ne){addAntecedent(Ne,Te);Te=finishFlowLabel(Ne);if(N.kind===169||N.kind===168||E.isInJSFile(N)&&(N.kind===254||N.kind===211)){N.returnFlowNode=Te}}if(!Ve){Te=G}we=le;Ie=_e;Ne=Me;Be=Le;Ue=je;ze=Je}else if(R&64){Ee=false;bindChildren(N);N.flags=Ee?N.flags|128:N.flags&~128}else{bindChildren(N)}ie=j;ae=$;ce=q}function bindEachFunctionsFirst(E){bindEach(E,(function(E){return E.kind===254?bind(E):undefined}));bindEach(E,(function(E){return E.kind!==254?bind(E):undefined}))}function bindEach(N,R){if(R===void 0){R=bind}if(N===undefined){return}E.forEach(N,R)}function bindEachChild(N){E.forEachChild(N,bind,bindEach)}function bindChildren(N){var j=Ve;Ve=false;if(checkUnreachable(N)){bindEachChild(N);bindJSDoc(N);Ve=j;return}if(N.kind>=235&&N.kind<=251&&!R.allowUnreachableCode){N.flowNode=Te}switch(N.kind){case 239:bindWhileStatement(N);break;case 238:bindDoStatement(N);break;case 240:bindForStatement(N);break;case 241:case 242:bindForInOrForOfStatement(N);break;case 237:bindIfStatement(N);break;case 245:case 249:bindReturnOrThrow(N);break;case 244:case 243:bindBreakOrContinueStatement(N);break;case 250:bindTryStatement(N);break;case 247:bindSwitchStatement(N);break;case 261:bindCaseBlock(N);break;case 287:bindCaseClause(N);break;case 236:bindExpressionStatement(N);break;case 248:bindLabeledStatement(N);break;case 217:bindPrefixUnaryExpressionFlow(N);break;case 218:bindPostfixUnaryExpressionFlow(N);break;case 219:if(E.isDestructuringAssignment(N)){Ve=j;bindDestructuringAssignmentFlow(N);return}Xe(N);break;case 213:bindDeleteExpressionFlow(N);break;case 220:bindConditionalExpressionFlow(N);break;case 252:bindVariableDeclarationFlow(N);break;case 204:case 205:bindAccessExpressionFlow(N);break;case 206:bindCallExpressionFlow(N);break;case 228:bindNonNullExpressionFlow(N);break;case 340:case 333:case 334:bindJSDocTypeAlias(N);break;case 300:{bindEachFunctionsFirst(N.statements);bind(N.endOfFileToken);break}case 233:case 260:bindEachFunctionsFirst(N.statements);break;case 201:bindBindingElementFlow(N);break;case 203:case 202:case 291:case 223:Ve=j;default:bindEachChild(N);break}bindJSDoc(N);Ve=j}function isNarrowingExpression(E){switch(E.kind){case 79:case 80:case 108:case 204:case 205:return containsNarrowableReference(E);case 206:return hasNarrowableArgument(E);case 210:case 228:return isNarrowingExpression(E.expression);case 219:return isNarrowingBinaryExpression(E);case 217:return E.operator===53&&isNarrowingExpression(E.operand);case 214:return isNarrowingExpression(E.expression)}return false}function isNarrowableReference(N){return E.isDottedName(N)||(E.isPropertyAccessExpression(N)||E.isNonNullExpression(N)||E.isParenthesizedExpression(N))&&isNarrowableReference(N.expression)||E.isBinaryExpression(N)&&N.operatorToken.kind===27&&isNarrowableReference(N.right)||E.isElementAccessExpression(N)&&E.isStringOrNumericLiteralLike(N.argumentExpression)&&isNarrowableReference(N.expression)||E.isAssignmentExpression(N)&&isNarrowableReference(N.left)}function containsNarrowableReference(N){return isNarrowableReference(N)||E.isOptionalChain(N)&&containsNarrowableReference(N.expression)}function hasNarrowableArgument(E){if(E.arguments){for(var N=0,R=E.arguments;N=117&&R.originalKeywordKind<=125){N.bindDiagnostics.push(createDiagnosticForNode(R,getStrictModeIdentifierMessage(R),E.declarationNameToString(R)))}else if(R.originalKeywordKind===131){if(E.isExternalModule(N)&&E.isInTopLevelContext(R)){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,E.declarationNameToString(R)))}else if(R.flags&32768){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}else if(R.originalKeywordKind===125&&R.flags&8192){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,E.declarationNameToString(R)))}}}function getStrictModeIdentifierMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function checkPrivateIdentifier(R){if(R.escapedText==="#constructor"){if(!N.parseDiagnostics.length){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.constructor_is_a_reserved_word,E.declarationNameToString(R)))}}}function checkStrictModeBinaryExpression(N){if(Je&&E.isLeftHandSideExpression(N.left)&&E.isAssignmentOperator(N.operatorToken.kind)){checkStrictModeEvalOrArguments(N,N.left)}}function checkStrictModeCatchClause(E){if(Je&&E.variableDeclaration){checkStrictModeEvalOrArguments(E,E.variableDeclaration.name)}}function checkStrictModeDeleteExpression(R){if(Je&&R.expression.kind===79){var j=E.getErrorSpanForNode(N,R.expression);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,E.Diagnostics.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function isEvalOrArgumentsIdentifier(N){return E.isIdentifier(N)&&(N.escapedText==="eval"||N.escapedText==="arguments")}function checkStrictModeEvalOrArguments(R,j){if(j&&j.kind===79){var $=j;if(isEvalOrArgumentsIdentifier($)){var q=E.getErrorSpanForNode(N,j);N.bindDiagnostics.push(E.createFileDiagnostic(N,q.start,q.length,getStrictModeEvalOrArgumentsMessage(R),E.idText($)))}}}function getStrictModeEvalOrArgumentsMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Invalid_use_of_0_in_strict_mode}function checkStrictModeFunctionName(E){if(Je){checkStrictModeEvalOrArguments(E,E.name)}}function getStrictModeBlockScopeFunctionDeclarationMessage(R){if(E.getContainingClass(R)){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode}if(N.externalModuleIndicator){return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode}return E.Diagnostics.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function checkStrictModeFunctionDeclaration(R){if(q<2){if(ce.kind!==300&&ce.kind!==259&&!E.isFunctionLikeOrClassStaticBlockDeclaration(ce)){var j=E.getErrorSpanForNode(N,R);N.bindDiagnostics.push(E.createFileDiagnostic(N,j.start,j.length,getStrictModeBlockScopeFunctionDeclarationMessage(R)))}}}function checkStrictModeNumericLiteral(R){if(Je&&R.numericLiteralFlags&32){N.bindDiagnostics.push(createDiagnosticForNode(R,E.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}}function checkStrictModePostfixUnaryExpression(E){if(Je){checkStrictModeEvalOrArguments(E,E.operand)}}function checkStrictModePrefixUnaryExpression(E){if(Je){if(E.operator===45||E.operator===46){checkStrictModeEvalOrArguments(E,E.operand)}}}function checkStrictModeWithStatement(N){if(Je){errorOnFirstToken(N,E.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}}function checkStrictModeLabeledStatement(N){if(Je&&R.target>=2){if(E.isDeclarationStatement(N.statement)||E.isVariableStatement(N.statement)){errorOnFirstToken(N.label,E.Diagnostics.A_label_is_not_allowed_here)}}}function errorOnFirstToken(R,j,$,q,G){var ie=E.getSpanOfTokenAtPosition(N,R.pos);N.bindDiagnostics.push(E.createFileDiagnostic(N,ie.start,ie.length,j,$,q,G))}function errorOrSuggestionOnNode(E,N,R){errorOrSuggestionOnRange(E,N,N,R)}function errorOrSuggestionOnRange(R,j,$,q){addErrorOrSuggestionDiagnostic(R,{pos:E.getTokenPosOfNode(j,N),end:$.end},q)}function addErrorOrSuggestionDiagnostic(R,j,q){var G=E.createFileDiagnostic(N,j.pos,j.end-j.pos,q);if(R){N.bindDiagnostics.push(G)}else{N.bindSuggestionDiagnostics=E.append(N.bindSuggestionDiagnostics,$($({},G),{category:E.DiagnosticCategory.Suggestion}))}}function bind(N){if(!N){return}E.setParent(N,G);var R=Je;bindWorker(N);if(N.kind>158){var j=G;G=N;var $=getContainerFlags(N);if($===0){bindChildren(N)}else{bindContainer(N,$)}G=j}else{var j=G;if(N.kind===1)G=N;bindJSDoc(N);G=j}Je=R}function bindJSDoc(N){if(E.hasJSDocNodes(N)){if(E.isInJSFile(N)){for(var R=0,j=N.jsDoc;R>",0,zt);var Lr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Br=createSignature(undefined,undefined,undefined,E.emptyArray,Jt,undefined,0,0);var jr=createSignature(undefined,undefined,undefined,E.emptyArray,zt,undefined,0,0);var Ur=createSignature(undefined,undefined,undefined,E.emptyArray,pr,undefined,0,0);var zr=createIndexInfo(tr,er,true);var Wr=new E.Map;var $r={get yieldType(){return E.Debug.fail("Not supported")},get returnType(){return E.Debug.fail("Not supported")},get nextType(){return E.Debug.fail("Not supported")}};var Jr=createIterationTypes(zt,zt,zt);var Vr=createIterationTypes(zt,zt,Ht);var qr=createIterationTypes(dr,zt,Gt);var Hr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:getGlobalAsyncIteratorType,getGlobalIterableType:getGlobalAsyncIterableType,getGlobalIterableIteratorType:getGlobalAsyncIterableIteratorType,getGlobalGeneratorType:getGlobalAsyncGeneratorType,resolveIterationType:getAwaitedType,mustHaveANextMethodDiagnostic:E.Diagnostics.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property};var Gr={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:getGlobalIteratorType,getGlobalIterableType:getGlobalIterableType,getGlobalIterableIteratorType:getGlobalIterableIteratorType,getGlobalGeneratorType:getGlobalGeneratorType,resolveIterationType:function(E,N){return E},mustHaveANextMethodDiagnostic:E.Diagnostics.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:E.Diagnostics.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:E.Diagnostics.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property};var Kr;var Qr=new E.Map;var Xr=false;var Yr;var Zr;var en;var tn;var rn;var nn;var an;var on;var sn;var cn;var ln;var un;var dn;var pn;var mn;var gn;var hn;var _n;var yn;var vn;var bn;var xn;var Sn;var En;var Tn;var kn;var Cn;var Dn;var An;var wn;var Pn;var Fn;var In;var Nn;var On;var Mn;var Rn;var Ln;var Bn;var jn;var Un;var zn;var Wn=new E.Map;var $n=0;var Jn=0;var Vn=0;var qn=false;var Hn=0;var Gn;var Kn;var Qn;var Xn=getStringLiteralType("");var Yn=getNumberLiteralType(0);var Zn=getBigIntLiteralType({negative:false,base10Value:"0"});var ei=[];var ti=[];var ri=[];var ni=0;var ii=10;var ai=[];var oi=[];var si=[];var ci=[];var li=[];var ui=[];var di=[];var pi=[];var fi=[];var mi=[];var gi=[];var hi=[];var _i=[];var yi=[];var vi=[];var bi=[];var xi=E.createDiagnosticCollection();var Si=E.createDiagnosticCollection();var Ei=new E.Map(E.getEntries({string:er,number:tr,bigint:rr,boolean:cr,symbol:lr,undefined:Gt}));var Ti=createTypeofType();var ki;var Ci;var Di;var Ai=new E.Map;var wi=new E.Map;var Pi=new E.Map;var Fi=new E.Map;var Ii=new E.Map;var Ni=new E.Map;var Oi=E.createSymbolTable();Oi.set(vt.escapedName,vt);initializeTypeChecker();return Tt;function getJsxNamespace(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(E.isJsxOpeningFragment(N)){if(R.localJsxFragmentNamespace){return R.localJsxFragmentNamespace}var j=R.pragmas.get("jsxfrag");if(j){var $=E.isArray(j)?j[0]:j;R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFragmentFactory,markAsSynthetic);if(R.localJsxFragmentFactory){return R.localJsxFragmentNamespace=E.getFirstIdentifier(R.localJsxFragmentFactory).escapedText}}var q=getJsxFragmentFactoryEntity(N);if(q){R.localJsxFragmentFactory=q;return R.localJsxFragmentNamespace=E.getFirstIdentifier(q).escapedText}}else{if(R.localJsxNamespace){return R.localJsxNamespace}var G=R.pragmas.get("jsx");if(G){var $=E.isArray(G)?G[0]:G;R.localJsxFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);E.visitNode(R.localJsxFactory,markAsSynthetic);if(R.localJsxFactory){return R.localJsxNamespace=E.getFirstIdentifier(R.localJsxFactory).escapedText}}}}}if(!ki){ki="React";if(Xe.jsxFactory){Ci=E.parseIsolatedEntityName(Xe.jsxFactory,Ye);E.visitNode(Ci,markAsSynthetic);if(Ci){ki=E.getFirstIdentifier(Ci).escapedText}}else if(Xe.reactNamespace){ki=E.escapeLeadingUnderscores(Xe.reactNamespace)}}if(!Ci){Ci=E.factory.createQualifiedName(E.factory.createIdentifier(E.unescapeLeadingUnderscores(ki)),"createElement")}return ki;function markAsSynthetic(N){E.setTextRangePosEnd(N,-1,-1);return E.visitEachChild(N,markAsSynthetic,E.nullTransformationContext)}}function getEmitResolver(E,N){getDiagnostics(E,N);return ht}function lookupOrIssueError(N,R,j,$,q,G){var ie=N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G);var ae=xi.lookup(ie);if(ae){return ae}else{xi.add(ie);return ie}}function errorSkippedOn(E,N,R,j,$,q,G){var ie=error(N,R,j,$,q,G);ie.skippedOn=E;return ie}function createError(N,R,j,$,q,G){return N?E.createDiagnosticForNode(N,R,j,$,q,G):E.createCompilerDiagnostic(R,j,$,q,G)}function error(E,N,R,j,$,q){var G=createError(E,N,R,j,$,q);xi.add(G);return G}function addErrorOrSuggestion(N,R){if(N){xi.add(R)}else{Si.add($($({},R),{category:E.DiagnosticCategory.Suggestion}))}}function errorOrSuggestion(N,R,j,$,q,G,ie){if(R.pos<0||R.end<0){if(!N){return}var ae=E.getSourceFileOfNode(R);addErrorOrSuggestion(N,"message"in j?E.createFileDiagnostic(ae,0,0,j,$,q,G,ie):E.createDiagnosticForFileFromMessageChain(ae,j));return}addErrorOrSuggestion(N,"message"in j?E.createDiagnosticForNode(R,j,$,q,G,ie):E.createDiagnosticForNodeFromMessageChain(R,j))}function errorAndMaybeSuggestAwait(N,R,j,$,q,G,ie){var ae=error(N,j,$,q,G,ie);if(R){var ce=E.createDiagnosticForNode(N,E.Diagnostics.Did_you_forget_to_use_await);E.addRelatedInfo(ae,ce)}return ae}function addDeprecatedSuggestionWorker(N,R){var j=Array.isArray(N)?E.forEach(N,E.getJSDocDeprecatedTag):E.getJSDocDeprecatedTag(N);if(j){E.addRelatedInfo(R,E.createDiagnosticForNode(j,E.Diagnostics.The_declaration_was_marked_as_deprecated_here))}Si.add(R);return R}function addDeprecatedSuggestion(N,R,j){var $=E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,j);return addDeprecatedSuggestionWorker(R,$)}function addDeprecatedSuggestionWithSignature(N,R,j,$){var q=j?E.createDiagnosticForNode(N,E.Diagnostics.The_signature_0_of_1_is_deprecated,$,j):E.createDiagnosticForNode(N,E.Diagnostics._0_is_deprecated,$);return addDeprecatedSuggestionWorker(R,q)}function createSymbol(E,N,R){je++;var j=new Ne(E|33554432,N);j.checkFlags=R||0;return j}function getExcludedSymbolFlags(E){var N=0;if(E&2)N|=111551;if(E&1)N|=111550;if(E&4)N|=0;if(E&8)N|=900095;if(E&16)N|=110991;if(E&32)N|=899503;if(E&64)N|=788872;if(E&256)N|=899327;if(E&128)N|=899967;if(E&512)N|=110735;if(E&8192)N|=103359;if(E&32768)N|=46015;if(E&65536)N|=78783;if(E&262144)N|=526824;if(E&524288)N|=788968;if(E&2097152)N|=2097152;return N}function recordMergedSymbol(E,N){if(!N.mergeId){N.mergeId=ae;ae++}ai[N.mergeId]=E}function cloneSymbol(N){var R=createSymbol(N.flags,N.escapedName);R.declarations=N.declarations?N.declarations.slice():[];R.parent=N.parent;if(N.valueDeclaration)R.valueDeclaration=N.valueDeclaration;if(N.constEnumOnlyModule)R.constEnumOnlyModule=true;if(N.members)R.members=new E.Map(N.members);if(N.exports)R.exports=new E.Map(N.exports);recordMergedSymbol(R,N);return R}function mergeSymbol(N,R,j){if(j===void 0){j=false}if(!(N.flags&getExcludedSymbolFlags(R.flags))||(R.flags|N.flags)&67108864){if(R===N){return N}if(!(N.flags&33554432)){var $=resolveSymbol(N);if($===jt){return R}N=cloneSymbol($)}if(R.flags&512&&N.flags&512&&N.constEnumOnlyModule&&!R.constEnumOnlyModule){N.constEnumOnlyModule=false}N.flags|=R.flags;if(R.valueDeclaration){E.setValueDeclaration(N,R.valueDeclaration)}E.addRange(N.declarations,R.declarations);if(R.members){if(!N.members)N.members=E.createSymbolTable();mergeSymbolTable(N.members,R.members,j)}if(R.exports){if(!N.exports)N.exports=E.createSymbolTable();mergeSymbolTable(N.exports,R.exports,j)}if(!j){recordMergedSymbol(N,R)}}else if(N.flags&1024){if(N!==bt){error(R.declarations&&E.getNameOfDeclaration(R.declarations[0]),E.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,symbolToString(N))}}else{var q=!!(N.flags&384||R.flags&384);var G=!!(N.flags&2||R.flags&2);var ie=q?E.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:G?E.Diagnostics.Cannot_redeclare_block_scoped_variable_0:E.Diagnostics.Duplicate_identifier_0;var ae=R.declarations&&E.getSourceFileOfNode(R.declarations[0]);var ce=N.declarations&&E.getSourceFileOfNode(N.declarations[0]);var le=symbolToString(R);if(ae&&ce&&Kr&&!q&&ae!==ce){var _e=E.comparePaths(ae.path,ce.path)===-1?ae:ce;var Ee=_e===ae?ce:ae;var Te=E.getOrUpdate(Kr,_e.path+"|"+Ee.path,(function(){return{firstFile:_e,secondFile:Ee,conflictingSymbols:new E.Map}}));var we=E.getOrUpdate(Te.conflictingSymbols,le,(function(){return{isBlockScoped:G,firstFileLocations:[],secondFileLocations:[]}}));addDuplicateLocations(we.firstFileLocations,R);addDuplicateLocations(we.secondFileLocations,N)}else{addDuplicateDeclarationErrorsForSymbols(R,ie,le,N);addDuplicateDeclarationErrorsForSymbols(N,ie,le,R)}}return N;function addDuplicateLocations(N,R){if(R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];E.pushIfUnique(N,q)}}}}function addDuplicateDeclarationErrorsForSymbols(N,R,j,$){E.forEach(N.declarations,(function(E){addDuplicateDeclarationError(E,R,j,$.declarations)}))}function addDuplicateDeclarationError(N,R,j,$){var q=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;var G=lookupOrIssueError(q,R,j);var _loop_7=function(N){var R=(E.getExpandoInitializer(N,false)?E.getNameOfExpando(N):E.getNameOfDeclaration(N))||N;if(R===q)return"continue";G.relatedInformation=G.relatedInformation||[];var $=E.createDiagnosticForNode(R,E.Diagnostics._0_was_also_declared_here,j);var ie=E.createDiagnosticForNode(R,E.Diagnostics.and_here);if(E.length(G.relatedInformation)>=5||E.some(G.relatedInformation,(function(N){return E.compareDiagnostics(N,ie)===0||E.compareDiagnostics(N,$)===0})))return"continue";E.addRelatedInfo(G,!E.length(G.relatedInformation)?$:ie)};for(var ie=0,ae=$||E.emptyArray;ie1);return}if(E.isGlobalScopeAugmentation(q)){mergeSymbolTable(yt,q.symbol.exports)}else{var G=!(N.parent.parent.flags&8388608)?E.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found:undefined;var ie=resolveExternalModuleNameWorker(N,N,G,true);if(!ie){return}ie=resolveExternalModuleSymbol(ie);if(ie.flags&1920){if(E.some(Zr,(function(E){return ie===E.symbol}))){var ae=mergeSymbol(q.symbol,ie,true);if(!en){en=new E.Map}en.set(N.text,ae)}else{if(((j=ie.exports)===null||j===void 0?void 0:j.get("__export"))&&(($=q.symbol.exports)===null||$===void 0?void 0:$.size)){var ce=getResolvedMembersOrExportsOfSymbol(ie,"resolvedExports");for(var le=0,_e=E.arrayFrom(q.symbol.exports.entries());le<_e.length;le++){var Ee=_e[le],Te=Ee[0],we=Ee[1];if(ce.has(Te)&&!ie.exports.has(Te)){mergeSymbol(ce.get(Te),we)}}}mergeSymbol(ie,q.symbol)}}else{error(N,E.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,N.text)}}}function addToSymbolTable(N,R,j){R.forEach((function(R,$){var q=N.get($);if(q){E.forEach(q.declarations,addDeclarationDiagnostic(E.unescapeLeadingUnderscores($),j))}else{N.set($,R)}}));function addDeclarationDiagnostic(N,R){return function(j){return xi.add(E.createDiagnosticForNode(j,R,N))}}}function getSymbolLinks(E){if(E.flags&33554432)return E;var N=getSymbolId(E);return oi[N]||(oi[N]=new SymbolLinks)}function getNodeLinks(E){var N=getNodeId(E);return si[N]||(si[N]=new NodeLinks)}function isGlobalSourceFile(N){return N.kind===300&&!E.isExternalOrCommonJsModule(N)}function getSymbol(N,R,j){if(j){var $=getMergedSymbol(N.get(R));if($){E.Debug.assert((E.getCheckFlags($)&1)===0,"Should never get an instantiated symbol here.");if($.flags&j){return $}if($.flags&2097152){var q=resolveAlias($);if(q===jt||q.flags&j){return $}}}}}function getSymbolsOfParameterPropertyDeclaration(N,R){var j=N.parent;var $=N.parent.parent;var q=getSymbol(j.locals,R,111551);var G=getSymbol(getMembersOfSymbol($.symbol),R,111551);if(q&&G){return[q,G]}return E.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function isBlockScopedNameDeclaredBeforeUse(N,R){var j=E.getSourceFileOfNode(N);var $=E.getSourceFileOfNode(R);var G=E.getEnclosingBlockScopeContainer(N);if(j!==$){if(Ze&&(j.externalModuleIndicator||$.externalModuleIndicator)||!E.outFile(Xe)||isInTypeQuery(R)||N.flags&8388608){return true}if(isUsedInFunctionOrInstanceProperty(R,N)){return true}var ie=q.getSourceFiles();return ie.indexOf(j)<=ie.indexOf($)}if(N.pos<=R.pos&&!(E.isPropertyDeclaration(N)&&E.isThisProperty(R.parent)&&!N.initializer&&!N.exclamationToken)){if(N.kind===201){var ae=E.getAncestor(R,201);if(ae){return E.findAncestor(ae,E.isBindingElement)!==E.findAncestor(N,E.isBindingElement)||N.posN.end){return false}var $=E.findAncestor(R,(function(R){if(R===N){return"quit"}switch(R.kind){case 212:return true;case 165:return j&&(E.isPropertyDeclaration(N)&&R.parent===N.parent||E.isParameterPropertyDeclaration(N,N.parent)&&R.parent===N.parent.parent)?"quit":true;case 233:switch(R.parent.kind){case 170:case 167:case 171:return true;default:return false}default:return false}}));return $===undefined}}function useOuterVariableScopeInParameter(N,R,j){var $=E.getEmitScriptTarget(Xe);var q=R;if(E.isParameter(j)&&q.body&&N.valueDeclaration&&N.valueDeclaration.pos>=q.body.pos&&N.valueDeclaration.end<=q.body.end){if($>=2){var G=getNodeLinks(q);if(G.declarationRequiresScopeChange===undefined){G.declarationRequiresScopeChange=E.forEach(q.parameters,requiresScopeChange)||false}return!G.declarationRequiresScopeChange}}return false;function requiresScopeChange(E){return requiresScopeChangeWorker(E.name)||!!E.initializer&&requiresScopeChangeWorker(E.initializer)}function requiresScopeChangeWorker(N){switch(N.kind){case 212:case 211:case 254:case 169:return false;case 167:case 170:case 171:case 291:return requiresScopeChangeWorker(N.name);case 165:if(E.hasStaticModifier(N)){return $<99||!et}return requiresScopeChangeWorker(N.name);default:if(E.isNullishCoalesce(N)||E.isOptionalChain(N)){return $<7}if(E.isBindingElement(N)&&N.dotDotDotToken&&E.isObjectBindingPattern(N.parent)){return $<4}if(E.isTypeNode(N))return false;return E.forEachChild(N,requiresScopeChangeWorker)||false}}}function resolveName(E,N,R,j,$,q,G,ie){if(G===void 0){G=false}return resolveNameHelper(E,N,R,j,$,q,G,getSymbol,ie)}function resolveNameHelper(N,R,j,$,q,G,ie,ae,ce){var le;var _e=N;var Ee;var Te;var we;var Ie;var Ne;var Me=false;var Le=N;var Be;var je=false;e:while(N){if(N.locals&&!isGlobalSourceFile(N)){if(Ee=ae(N.locals,R,j)){var Ue=true;if(E.isFunctionLike(N)&&Te&&Te!==N.body){if(j&Ee.flags&788968&&Te.kind!==315){Ue=Ee.flags&262144?Te===N.type||Te.kind===162||Te.kind===161:false}if(j&Ee.flags&3){if(useOuterVariableScopeInParameter(Ee,N,Te)){Ue=false}else if(Ee.flags&1){Ue=Te.kind===162||Te===N.type&&!!E.findAncestor(Ee.valueDeclaration,E.isParameter)}}}else if(N.kind===187){Ue=Te===N.trueType}if(Ue){break e}else{Ee=undefined}}}Me=Me||getIsDeferredContext(N,Te);switch(N.kind){case 300:if(!E.isExternalOrCommonJsModule(N))break;je=true;case 259:var ze=getSymbolOfNode(N).exports||He;if(N.kind===300||E.isModuleDeclaration(N)&&N.flags&8388608&&!E.isGlobalScopeAugmentation(N)){if(Ee=ze.get("default")){var We=E.getLocalSymbolForExportDefault(Ee);if(We&&Ee.flags&j&&We.escapedName===R){break e}Ee=undefined}var Je=ze.get(R);if(Je&&Je.flags===2097152&&(E.getDeclarationOfKind(Je,273)||E.getDeclarationOfKind(Je,272))){break}}if(R!=="default"&&(Ee=ae(ze,R,j&2623475))){if(E.isSourceFile(N)&&N.commonJsModuleIndicator&&!((le=Ee.declarations)===null||le===void 0?void 0:le.some(E.isJSDocTypeAlias))){Ee=undefined}else{break e}}break;case 258:if(Ee=ae(getSymbolOfNode(N).exports,R,j&8)){break e}break;case 165:if(!E.isStatic(N)){var Ve=findConstructorDeclaration(N.parent);if(Ve&&Ve.locals){if(ae(Ve.locals,R,j&111551)){Ie=N}}}break;case 255:case 224:case 256:if(Ee=ae(getSymbolOfNode(N).members||He,R,j&788968)){if(!isTypeParameterSymbolDeclaredInContainer(Ee,N)){Ee=undefined;break}if(Te&&E.isStatic(Te)){error(Le,E.Diagnostics.Static_members_cannot_reference_class_type_parameters);return undefined}break e}if(N.kind===224&&j&32){var qe=N.name;if(qe&&R===qe.escapedText){Ee=N.symbol;break e}}break;case 226:if(Te===N.expression&&N.parent.token===94){var Ge=N.parent.parent;if(E.isClassLike(Ge)&&(Ee=ae(getSymbolOfNode(Ge).members,R,j&788968))){if($){error(Le,E.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters)}return undefined}}break;case 160:Be=N.parent.parent;if(E.isClassLike(Be)||Be.kind===256){if(Ee=ae(getSymbolOfNode(Be).members,R,j&788968)){error(Le,E.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return undefined}}break;case 212:if(Xe.target>=2){break}case 167:case 169:case 170:case 171:case 254:if(j&3&&R==="arguments"){Ee=xt;break e}break;case 211:if(j&3&&R==="arguments"){Ee=xt;break e}if(j&16){var Ke=N.name;if(Ke&&R===Ke.escapedText){Ee=N.symbol;break e}}break;case 163:if(N.parent&&N.parent.kind===162){N=N.parent}if(N.parent&&(E.isClassElement(N.parent)||N.parent.kind===255)){N=N.parent}break;case 340:case 333:case 334:var Qe=E.getJSDocRoot(N);if(Qe){N=Qe.parent}break;case 162:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(!Ne){Ne=N}}break;case 201:if(Te&&(Te===N.initializer||Te===N.name&&E.isBindingPattern(Te))){if(E.isParameterDeclaration(N)&&!Ne){Ne=N}}break;case 188:if(j&262144){var Ye=N.typeParameter.name;if(Ye&&R===Ye.escapedText){Ee=N.typeParameter.symbol;break e}}break}if(isSelfReferenceLocation(N)){we=N}Te=N;N=N.parent}if(G&&Ee&&(!we||Ee!==we.symbol)){Ee.isReferenced|=j}if(!Ee){if(Te){E.Debug.assert(Te.kind===300);if(Te.commonJsModuleIndicator&&R==="exports"&&j&Te.symbol.flags){return Te.symbol}}if(!ie){Ee=ae(yt,R,j)}}if(!Ee){if(_e&&E.isInJSFile(_e)&&_e.parent){if(E.isRequireCall(_e.parent,false)){return St}}}if(!Ee){if($){if(!Le||!checkAndReportErrorForMissingPrefix(Le,R,q)&&!checkAndReportErrorForExtendingInterface(Le)&&!checkAndReportErrorForUsingTypeAsNamespace(Le,R,j)&&!checkAndReportErrorForExportingPrimitiveType(Le,R)&&!checkAndReportErrorForUsingTypeAsValue(Le,R,j)&&!checkAndReportErrorForUsingNamespaceModuleAsValue(Le,R,j)&&!checkAndReportErrorForUsingValueAsType(Le,R,j)){var Ze=void 0;if(ce&&niNe.pos&&Qe.parent.locals&&ae(Qe.parent.locals,pt.escapedName,j)===pt){error(Le,E.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,E.declarationNameToString(Ne.name),E.declarationNameToString(Le))}}if(Ee&&Le&&j&111551&&Ee.flags&2097152){checkSymbolUsageInExpressionContext(Ee,R,Le)}}return Ee}function checkSymbolUsageInExpressionContext(N,R,j){if(!E.isValidTypeOnlyAliasUseSite(j)){var $=getTypeOnlyAliasDeclaration(N);if($){var q=E.typeOnlyDeclarationIsExport($);var G=q?E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:E.Diagnostics._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type;var ie=q?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ae=E.unescapeLeadingUnderscores(R);E.addRelatedInfo(error(j,G,ae),E.createDiagnosticForNode($,ie,ae))}}}function getIsDeferredContext(N,R){if(N.kind!==212&&N.kind!==211){return E.isTypeQueryNode(N)||(E.isFunctionLikeDeclaration(N)||N.kind===165&&!E.isStatic(N))&&(!R||R!==N.name)}if(R&&R===N.name){return false}if(N.asteriskToken||E.hasSyntacticModifier(N,256)){return true}return!E.getImmediatelyInvokedFunctionExpression(N)}function isSelfReferenceLocation(E){switch(E.kind){case 254:case 255:case 256:case 258:case 257:case 259:return true;default:return false}}function diagnosticName(N){return E.isString(N)?E.unescapeLeadingUnderscores(N):E.declarationNameToString(N)}function isTypeParameterSymbolDeclaredInContainer(N,R){if(N.declarations){for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===161){var G=E.isJSDocTemplateTag(q.parent)?E.getJSDocHost(q.parent):q.parent;if(G===R){return!(E.isJSDocTemplateTag(q.parent)&&E.find(q.parent.parent.tags,E.isJSDocTypeAlias))}}}}return false}function checkAndReportErrorForMissingPrefix(N,R,j){if(!E.isIdentifier(N)||N.escapedText!==R||isTypeReferenceIdentifier(N)||isInTypeQuery(N)){return false}var $=E.getThisContainer(N,false);var q=$;while(q){if(E.isClassLike(q.parent)){var G=getSymbolOfNode(q.parent);if(!G){break}var ie=getTypeOfSymbol(G);if(getPropertyOfType(ie,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,diagnosticName(j),symbolToString(G));return true}if(q===$&&!E.isStatic(q)){var ae=getDeclaredTypeOfSymbol(G).thisType;if(getPropertyOfType(ae,R)){error(N,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,diagnosticName(j));return true}}}q=q.parent}return false}function checkAndReportErrorForExtendingInterface(N){var R=getEntityNameForExtendingInterface(N);if(R&&resolveEntityName(R,64,true)){error(N,E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,E.getTextOfNode(R));return true}return false}function getEntityNameForExtendingInterface(N){switch(N.kind){case 79:case 204:return N.parent?getEntityNameForExtendingInterface(N.parent):undefined;case 226:if(E.isEntityNameExpression(N.expression)){return N.expression}default:return undefined}}function checkAndReportErrorForUsingTypeAsNamespace(N,R,j){var $=1920|(E.isInJSFile(N)?111551:0);if(j===$){var q=resolveSymbol(resolveName(N,R,788968&~$,undefined,undefined,false));var G=N.parent;if(q){if(E.isQualifiedName(G)){E.Debug.assert(G.left===N,"Should only be resolving left side of qualified name as a namespace");var ie=G.right.escapedText;var ae=getPropertyOfType(getDeclaredTypeOfSymbol(q),ie);if(ae){error(G,E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,E.unescapeLeadingUnderscores(R),E.unescapeLeadingUnderscores(ie));return true}}error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,E.unescapeLeadingUnderscores(R));return true}}return false}function checkAndReportErrorForUsingValueAsType(N,R,j){if(j&(788968&~1920)){var $=resolveSymbol(resolveName(N,R,~788968&111551,undefined,undefined,false));if($&&!($.flags&1920)){error(N,E.Diagnostics._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,E.unescapeLeadingUnderscores(R));return true}}return false}function isPrimitiveTypeName(E){return E==="any"||E==="string"||E==="number"||E==="boolean"||E==="never"||E==="unknown"}function checkAndReportErrorForExportingPrimitiveType(N,R){if(isPrimitiveTypeName(R)&&N.parent.kind===273){error(N,E.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,R);return true}return false}function checkAndReportErrorForUsingTypeAsValue(N,R,j){if(j&(111551&~1024)){if(isPrimitiveTypeName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,E.unescapeLeadingUnderscores(R));return true}var $=resolveSymbol(resolveName(N,R,788968&~111551,undefined,undefined,false));if($&&!($.flags&1024)){var q=E.unescapeLeadingUnderscores(R);if(isES2015OrLaterConstructorName(R)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,q)}else if(maybeMappedType(N,$)){error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,q,q==="K"?"P":"K")}else{error(N,E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,q)}return true}}return false}function maybeMappedType(N,R){var j=E.findAncestor(N.parent,(function(N){return E.isComputedPropertyName(N)||E.isPropertySignature(N)?false:E.isTypeLiteralNode(N)||"quit"}));if(j&&j.members.length===1){var $=getDeclaredTypeOfSymbol(R);return!!($.flags&1048576)&&allTypesAssignableToKind($,384,true)}return false}function isES2015OrLaterConstructorName(E){switch(E){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return true}return false}function checkAndReportErrorForUsingNamespaceModuleAsValue(N,R,j){if(j&(111551&~1024&~788968)){var $=resolveSymbol(resolveName(N,R,1024&~111551,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_value,E.unescapeLeadingUnderscores(R));return true}}else if(j&(788968&~1024&~111551)){var $=resolveSymbol(resolveName(N,R,(512|1024)&~788968,undefined,undefined,false));if($){error(N,E.Diagnostics.Cannot_use_namespace_0_as_a_type,E.unescapeLeadingUnderscores(R));return true}}return false}function checkResolvedBlockScopedVariable(N,R){var j;E.Debug.assert(!!(N.flags&2||N.flags&32||N.flags&384));if(N.flags&(16|1|67108864)&&N.flags&32){return}var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isBlockOrCatchScoped(N)||E.isClassLike(N)||N.kind===258}));if($===undefined)return E.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,R)){var q=void 0;var G=E.declarationNameToString(E.getNameOfDeclaration($));if(N.flags&2){q=error(R,E.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,G)}else if(N.flags&32){q=error(R,E.Diagnostics.Class_0_used_before_its_declaration,G)}else if(N.flags&256){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}else{E.Debug.assert(!!(N.flags&128));if(E.shouldPreserveConstEnums(Xe)){q=error(R,E.Diagnostics.Enum_0_used_before_its_declaration,G)}}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}}function isSameScopeDescendentOf(N,R,j){return!!R&&!!E.findAncestor(N,(function(N){return N===j||E.isFunctionLike(N)?"quit":N===R}))}function getAnyImportSyntax(E){switch(E.kind){case 263:return E;case 265:return E.parent;case 266:return E.parent.parent;case 268:return E.parent.parent.parent;default:return undefined}}function getDeclarationOfAliasSymbol(N){return N.declarations&&E.findLast(N.declarations,isAliasSymbolDeclaration)}function isAliasSymbolDeclaration(N){return N.kind===263||N.kind===262||N.kind===265&&!!N.name||N.kind===266||N.kind===272||N.kind===268||N.kind===273||N.kind===269&&E.exportAssignmentIsAlias(N)||E.isBinaryExpression(N)&&E.getAssignmentDeclarationKind(N)===2&&E.exportAssignmentIsAlias(N)||E.isAccessExpression(N)&&E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63&&isAliasableOrJsExpression(N.parent.right)||N.kind===292||N.kind===291&&isAliasableOrJsExpression(N.initializer)||E.isRequireVariableDeclaration(N)}function isAliasableOrJsExpression(N){return E.isAliasableExpression(N)||E.isFunctionExpression(N)&&isJSConstructor(N)}function getTargetOfImportEqualsDeclaration(N,R){var j=getCommonJSPropertyAccess(N);if(j){var $=E.getLeftmostAccessExpression(j.expression).arguments[0];return E.isIdentifier(j.name)?resolveSymbol(getPropertyOfType(resolveExternalModuleTypeByLiteral($),j.name.escapedText)):undefined}if(E.isVariableDeclaration(N)||N.moduleReference.kind===275){var q=resolveExternalModuleName(N,E.getExternalModuleRequireArgument(N)||E.getExternalModuleImportEqualsDeclarationExpression(N));var G=resolveExternalModuleSymbol(q);markSymbolOfAliasDeclarationIfTypeOnly(N,q,G,false);return G}var ie=getSymbolOfPartOfRightHandSideOfImportEquals(N.moduleReference,R);checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,ie);return ie}function checkAndReportErrorForResolvingImportAliasToTypeOnlySymbol(N,R){if(markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,R,false)&&!N.isTypeOnly){var j=getTypeOnlyAliasDeclaration(getSymbolOfNode(N));var $=E.typeOnlyDeclarationIsExport(j);var q=$?E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:E.Diagnostics.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type;var G=$?E.Diagnostics._0_was_exported_here:E.Diagnostics._0_was_imported_here;var ie=E.unescapeLeadingUnderscores(j.name.escapedText);E.addRelatedInfo(error(N.moduleReference,q),E.createDiagnosticForNode(j,G,ie))}}function resolveExportByName(E,N,R,j){var $=E.exports.get("export=");var q=$?getPropertyOfType(getTypeOfSymbol($),N):E.exports.get(N);var G=resolveSymbol(q,j);markSymbolOfAliasDeclarationIfTypeOnly(R,q,G,false);return G}function isSyntacticDefault(N){return E.isExportAssignment(N)&&!N.isExportEquals||E.hasSyntacticModifier(N,512)||E.isExportSpecifier(N)}function canHaveSyntheticDefault(N,R,j){if(!tt){return false}if(!N||N.isDeclarationFile){var $=resolveExportByName(R,"default",undefined,true);if($&&E.some($.declarations,isSyntacticDefault)){return false}if(resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)){return false}return true}if(!E.isSourceFileJS(N)){return hasExportAssignmentSymbol(R)}return!N.externalModuleIndicator&&!resolveExportByName(R,E.escapeLeadingUnderscores("__esModule"),undefined,j)}function getTargetOfImportClause(N,R){var j;var $=resolveExternalModuleName(N,N.parent.moduleSpecifier);if($){var q=void 0;if(E.isShorthandAmbientModuleSymbol($)){q=$}else{q=resolveExportByName($,"default",N,R)}var G=(j=$.declarations)===null||j===void 0?void 0:j.find(E.isSourceFile);var ie=canHaveSyntheticDefault(G,$,R);if(!q&&!ie){if(hasExportAssignmentSymbol($)){var ae=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";var ce=$.exports.get("export=");var le=ce.valueDeclaration;var _e=error(N.name,E.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,symbolToString($),ae);if(le){E.addRelatedInfo(_e,E.createDiagnosticForNode(le,E.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,ae))}}else{reportNonDefaultExport($,N)}}else if(ie){var Ee=resolveExternalModuleSymbol($,R)||resolveSymbol($,R);markSymbolOfAliasDeclarationIfTypeOnly(N,$,Ee,false);return Ee}markSymbolOfAliasDeclarationIfTypeOnly(N,q,undefined,false);return q}}function reportNonDefaultExport(N,R){var j,$,q;if((j=N.exports)===null||j===void 0?void 0:j.has(R.symbol.escapedName)){error(R.name,E.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,symbolToString(N),symbolToString(R.symbol))}else{var G=error(R.name,E.Diagnostics.Module_0_has_no_default_export,symbolToString(N));var ie=($=N.exports)===null||$===void 0?void 0:$.get("__export");if(ie){var ae=(q=ie.declarations)===null||q===void 0?void 0:q.find((function(N){var R,j;return!!(E.isExportDeclaration(N)&&N.moduleSpecifier&&((j=(R=resolveExternalModuleName(N,N.moduleSpecifier))===null||R===void 0?void 0:R.exports)===null||j===void 0?void 0:j.has("default")))}));if(ae){E.addRelatedInfo(G,E.createDiagnosticForNode(ae,E.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}}function getTargetOfNamespaceImport(E,N){var R=E.parent.parent.moduleSpecifier;var j=resolveExternalModuleName(E,R);var $=resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function getTargetOfNamespaceExport(E,N){var R=E.parent.moduleSpecifier;var j=R&&resolveExternalModuleName(E,R);var $=R&&resolveESModuleSymbol(j,R,N,false);markSymbolOfAliasDeclarationIfTypeOnly(E,j,$,false);return $}function combineValueAndTypeSymbols(N,R){if(N===jt&&R===jt){return jt}if(N.flags&(788968|1920)){return N}var j=createSymbol(N.flags|R.flags,N.escapedName);j.declarations=E.deduplicate(E.concatenate(N.declarations,R.declarations),E.equateValues);j.parent=N.parent||R.parent;if(N.valueDeclaration)j.valueDeclaration=N.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(N.exports)j.exports=new E.Map(N.exports);return j}function getExportOfModule(E,N,R,j){if(E.flags&1536){var $=getExportsOfSymbol(E).get(N.escapedText);var q=resolveSymbol($,j);markSymbolOfAliasDeclarationIfTypeOnly(R,$,q,false);return q}}function getPropertyOfVariable(E,N){if(E.flags&3){var R=E.valueDeclaration.type;if(R){return resolveSymbol(getPropertyOfType(getTypeFromTypeNode(R),N))}}}function getExternalModuleMember(N,R,j){var $,q;if(j===void 0){j=false}var G=E.getExternalModuleRequireArgument(N)||N.moduleSpecifier;var ie=resolveExternalModuleName(N,G);var ae=!E.isPropertyAccessExpression(R)&&R.propertyName||R.name;if(!E.isIdentifier(ae)){return undefined}var ce=ae.escapedText==="default"&&!!(Xe.allowSyntheticDefaultImports||Xe.esModuleInterop);var le=resolveESModuleSymbol(ie,G,false,ce);if(le){if(ae.escapedText){if(E.isShorthandAmbientModuleSymbol(ie)){return ie}var _e=void 0;if(ie&&ie.exports&&ie.exports.get("export=")){_e=getPropertyOfType(getTypeOfSymbol(le),ae.escapedText,true)}else{_e=getPropertyOfVariable(le,ae.escapedText)}_e=resolveSymbol(_e,j);var Ee=getExportOfModule(le,ae,R,j);if(Ee===undefined&&ae.escapedText==="default"){var Te=($=ie.declarations)===null||$===void 0?void 0:$.find(E.isSourceFile);if(canHaveSyntheticDefault(Te,ie,j)){Ee=resolveExternalModuleSymbol(ie,j)||resolveSymbol(ie,j)}}var we=Ee&&_e&&Ee!==_e?combineValueAndTypeSymbols(_e,Ee):Ee||_e;if(!we){var Ie=getFullyQualifiedName(ie,N);var Ne=E.declarationNameToString(ae);var Me=getSuggestedSymbolForNonexistentModule(ae,le);if(Me!==undefined){var Le=symbolToString(Me);var Be=error(ae,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ie,Ne,Le);if(Me.valueDeclaration){E.addRelatedInfo(Be,E.createDiagnosticForNode(Me.valueDeclaration,E.Diagnostics._0_is_declared_here,Le))}}else{if((q=ie.exports)===null||q===void 0?void 0:q.has("default")){error(ae,E.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,Ie,Ne)}else{reportNonExportedMember(N,ae,Ne,ie,Ie)}}}return we}}}function reportNonExportedMember(N,R,$,q,G){var ie,ae;var ce=(ae=(ie=q.valueDeclaration)===null||ie===void 0?void 0:ie.locals)===null||ae===void 0?void 0:ae.get(R.escapedText);var le=q.exports;if(ce){var _e=le===null||le===void 0?void 0:le.get("export=");if(_e){getSymbolIfSameReference(_e,ce)?reportInvalidImportEqualsExportMember(N,R,$,G):error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}else{var Ee=le?E.find(symbolsToArray(le),(function(E){return!!getSymbolIfSameReference(E,ce)})):undefined;var Te=Ee?error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,G,$,symbolToString(Ee)):error(R,E.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,G,$);if(ce.declarations){E.addRelatedInfo.apply(void 0,j([Te],E.map(ce.declarations,(function(N,R){return E.createDiagnosticForNode(N,R===0?E.Diagnostics._0_is_declared_here:E.Diagnostics.and_here,$)})),false))}}}else{error(R,E.Diagnostics.Module_0_has_no_exported_member_1,G,$)}}function reportInvalidImportEqualsExportMember(N,R,j,$){if(Ze>=E.ModuleKind.ES2015){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{if(E.isInJSFile(N)){var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j)}else{var q=Xe.esModuleInterop?E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:E.Diagnostics._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;error(R,q,j,j,$)}}}function getTargetOfImportSpecifier(N,R){var j=E.isBindingElement(N)?E.getRootDeclaration(N):N.parent.parent.parent;var $=getCommonJSPropertyAccess(j);var q=getExternalModuleMember(j,$||N,R);var G=N.propertyName||N.name;if($&&q&&E.isIdentifier(G)){return resolveSymbol(getPropertyOfType(getTypeOfSymbol(q),G.escapedText),R)}markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,q,false);return q}function getCommonJSPropertyAccess(N){if(E.isVariableDeclaration(N)&&N.initializer&&E.isPropertyAccessExpression(N.initializer)){return N.initializer}}function getTargetOfNamespaceExportDeclaration(E,N){var R=resolveExternalModuleSymbol(E.parent.symbol,N);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,R,false);return R}function getTargetOfExportSpecifier(E,N,R){var j=E.parent.parent.moduleSpecifier?getExternalModuleMember(E.parent.parent,E,R):resolveEntityName(E.propertyName||E.name,N,false,R);markSymbolOfAliasDeclarationIfTypeOnly(E,undefined,j,false);return j}function getTargetOfExportAssignment(N,R){var j=E.isExportAssignment(N)?N.expression:N.right;var $=getTargetOfAliasLikeExpression(j,R);markSymbolOfAliasDeclarationIfTypeOnly(N,undefined,$,false);return $}function getTargetOfAliasLikeExpression(N,R){if(E.isClassExpression(N)){return checkExpressionCached(N).symbol}if(!E.isEntityName(N)&&!E.isEntityNameExpression(N)){return undefined}var j=resolveEntityName(N,111551|788968|1920,true,R);if(j){return j}checkExpressionCached(N);return getNodeLinks(N).resolvedSymbol}function getTargetOfPropertyAssignment(E,N){var R=E.initializer;return getTargetOfAliasLikeExpression(R,N)}function getTargetOfAccessExpression(N,R){if(!(E.isBinaryExpression(N.parent)&&N.parent.left===N&&N.parent.operatorToken.kind===63)){return undefined}return getTargetOfAliasLikeExpression(N.parent.right,R)}function getTargetOfAliasDeclaration(N,R){if(R===void 0){R=false}switch(N.kind){case 263:case 252:return getTargetOfImportEqualsDeclaration(N,R);case 265:return getTargetOfImportClause(N,R);case 266:return getTargetOfNamespaceImport(N,R);case 272:return getTargetOfNamespaceExport(N,R);case 268:case 201:return getTargetOfImportSpecifier(N,R);case 273:return getTargetOfExportSpecifier(N,111551|788968|1920,R);case 269:case 219:return getTargetOfExportAssignment(N,R);case 262:return getTargetOfNamespaceExportDeclaration(N,R);case 292:return resolveEntityName(N.name,111551|788968|1920,true,R);case 291:return getTargetOfPropertyAssignment(N,R);case 205:case 204:return getTargetOfAccessExpression(N,R);default:return E.Debug.fail()}}function isNonLocalAlias(E,N){if(N===void 0){N=111551|788968|1920}if(!E)return false;return(E.flags&(2097152|N))===2097152||!!(E.flags&2097152&&E.flags&67108864)}function resolveSymbol(E,N){return!N&&isNonLocalAlias(E)?resolveAlias(E):E}function resolveAlias(N){E.Debug.assert((N.flags&2097152)!==0,"Should only get Alias here.");var R=getSymbolLinks(N);if(!R.target){R.target=Ut;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();var $=getTargetOfAliasDeclaration(j);if(R.target===Ut){R.target=$||jt}else{error(j,E.Diagnostics.Circular_definition_of_import_alias_0,symbolToString(N))}}else if(R.target===Ut){R.target=jt}return R.target}function tryResolveAlias(E){var N=getSymbolLinks(E);if(N.target!==Ut){return resolveAlias(E)}return undefined}function markSymbolOfAliasDeclarationIfTypeOnly(N,R,j,$){if(!N||E.isPropertyAccessExpression(N))return false;var q=getSymbolOfNode(N);if(E.isTypeOnlyImportOrExportDeclaration(N)){var G=getSymbolLinks(q);G.typeOnlyDeclaration=N;return true}var ie=getSymbolLinks(q);return markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,R,$)||markSymbolOfAliasDeclarationIfTypeOnlyWorker(ie,j,$)}function markSymbolOfAliasDeclarationIfTypeOnlyWorker(N,R,j){var $,q,G;if(R&&(N.typeOnlyDeclaration===undefined||j&&N.typeOnlyDeclaration===false)){var ie=(q=($=R.exports)===null||$===void 0?void 0:$.get("export="))!==null&&q!==void 0?q:R;var ae=ie.declarations&&E.find(ie.declarations,E.isTypeOnlyImportOrExportDeclaration);N.typeOnlyDeclaration=(G=ae!==null&&ae!==void 0?ae:getSymbolLinks(ie).typeOnlyDeclaration)!==null&&G!==void 0?G:false}return!!N.typeOnlyDeclaration}function getTypeOnlyAliasDeclaration(E){if(!(E.flags&2097152)){return undefined}var N=getSymbolLinks(E);return N.typeOnlyDeclaration||undefined}function markExportAsReferenced(E){var N=getSymbolOfNode(E);var R=resolveAlias(N);if(R){var j=R===jt||R.flags&111551&&!isConstEnumOrConstEnumOnlyModule(R)&&!getTypeOnlyAliasDeclaration(N);if(j){markAliasSymbolAsReferenced(N)}}}function markAliasSymbolAsReferenced(N){var R=getSymbolLinks(N);if(!R.referenced){R.referenced=true;var j=getDeclarationOfAliasSymbol(N);if(!j)return E.Debug.fail();if(E.isInternalModuleImportEqualsDeclaration(j)){var $=resolveSymbol(N);if($===jt||$.flags&111551){checkExpressionCached(j.moduleReference)}}}}function markConstEnumAliasAsReferenced(E){var N=getSymbolLinks(E);if(!N.constEnumReferenced){N.constEnumReferenced=true}}function getSymbolOfPartOfRightHandSideOfImportEquals(N,R){if(N.kind===79&&E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}if(N.kind===79||N.parent.kind===159){return resolveEntityName(N,1920,false,R)}else{E.Debug.assert(N.parent.kind===263);return resolveEntityName(N,111551|788968|1920,false,R)}}function getFullyQualifiedName(E,N){return E.parent?getFullyQualifiedName(E.parent,N)+"."+symbolToString(E):symbolToString(E,N,undefined,16|4)}function resolveEntityName(N,R,j,$,q){if(E.nodeIsMissing(N)){return undefined}var G=1920|(E.isInJSFile(N)?R&111551:0);var ie;if(N.kind===79){var ae=R===G||E.nodeIsSynthesized(N)?E.Diagnostics.Cannot_find_namespace_0:getCannotFindNameDiagnosticForName(E.getFirstIdentifier(N));var ce=E.isInJSFile(N)&&!E.nodeIsSynthesized(N)?resolveEntityNameFromAssignmentDeclaration(N,R):undefined;ie=getMergedSymbol(resolveName(q||N,N.escapedText,R,j||ce?undefined:ae,N,true));if(!ie){return getMergedSymbol(ce)}}else if(N.kind===159||N.kind===204){var le=N.kind===159?N.left:N.expression;var _e=N.kind===159?N.right:N.name;var Ee=resolveEntityName(le,G,j,false,q);if(!Ee||E.nodeIsMissing(_e)){return undefined}else if(Ee===jt){return Ee}if(Ee.valueDeclaration&&E.isInJSFile(Ee.valueDeclaration)&&E.isVariableDeclaration(Ee.valueDeclaration)&&Ee.valueDeclaration.initializer&&isCommonJsRequire(Ee.valueDeclaration.initializer)){var Te=Ee.valueDeclaration.initializer.arguments[0];var we=resolveExternalModuleName(Te,Te);if(we){var Ie=resolveExternalModuleSymbol(we);if(Ie){Ee=Ie}}}ie=getMergedSymbol(getSymbol(getExportsOfSymbol(Ee),_e.escapedText,R));if(!ie){if(!j){var Ne=getFullyQualifiedName(Ee);var Me=E.declarationNameToString(_e);var Le=getSuggestedSymbolForNonexistentModule(_e,Ee);Le?error(_e,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,Ne,Me,symbolToString(Le)):error(_e,E.Diagnostics.Namespace_0_has_no_exported_member_1,Ne,Me)}return undefined}}else{throw E.Debug.assertNever(N,"Unknown entity name kind.")}E.Debug.assert((E.getCheckFlags(ie)&1)===0,"Should never get an instantiated symbol here.");if(!E.nodeIsSynthesized(N)&&E.isEntityName(N)&&(ie.flags&2097152||N.parent.kind===269)){markSymbolOfAliasDeclarationIfTypeOnly(E.getAliasDeclarationFromName(N),ie,undefined,true)}return ie.flags&R||$?ie:resolveAlias(ie)}function resolveEntityNameFromAssignmentDeclaration(E,N){if(isJSDocTypeReference(E.parent)){var R=getAssignmentDeclarationLocation(E.parent);if(R){return resolveName(R,E.escapedText,N,undefined,E,true)}}}function getAssignmentDeclarationLocation(N){var R=E.findAncestor(N,(function(N){return!(E.isJSDocNode(N)||N.flags&4194304)?"quit":E.isJSDocTypeAlias(N)}));if(R){return}var j=E.getJSDocHost(N);if(j&&E.isExpressionStatement(j)&&E.isBinaryExpression(j.expression)&&E.getAssignmentDeclarationKind(j.expression)===3){var $=getSymbolOfNode(j.expression.left);if($){return getDeclarationOfJSPrototypeContainer($)}}if(j&&(E.isObjectLiteralMethod(j)||E.isPropertyAssignment(j))&&E.isBinaryExpression(j.parent.parent)&&E.getAssignmentDeclarationKind(j.parent.parent)===6){var $=getSymbolOfNode(j.parent.parent.left);if($){return getDeclarationOfJSPrototypeContainer($)}}var q=E.getEffectiveJSDocHost(N);if(q&&E.isFunctionLike(q)){var $=getSymbolOfNode(q);return $&&$.valueDeclaration}}function getDeclarationOfJSPrototypeContainer(N){var R=N.parent.valueDeclaration;if(!R){return undefined}var j=E.isAssignmentDeclaration(R)?E.getAssignedExpandoInitializer(R):E.hasOnlyExpressionInitializer(R)?E.getDeclaredExpandoInitializer(R):undefined;return j||R}function getExpandoSymbol(N){var R=N.valueDeclaration;if(!R||!E.isInJSFile(R)||N.flags&524288||E.getExpandoInitializer(R,false)){return undefined}var j=E.isVariableDeclaration(R)?E.getDeclaredExpandoInitializer(R):E.getAssignedExpandoInitializer(R);if(j){var $=getSymbolOfNode(j);if($){return mergeJSSymbols($,N)}}}function resolveExternalModuleName(N,R,j){var $=E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.Classic;var q=$?E.Diagnostics.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_node_or_to_add_aliases_to_the_paths_option:E.Diagnostics.Cannot_find_module_0_or_its_corresponding_type_declarations;return resolveExternalModuleNameWorker(N,R,j?undefined:q)}function resolveExternalModuleNameWorker(N,R,j,$){if($===void 0){$=false}return E.isStringLiteralLike(R)?resolveExternalModule(N,R.text,j,R,$):undefined}function resolveExternalModule(N,R,j,$,G){if(G===void 0){G=false}if(E.startsWith(R,"@types/")){var ie=E.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1;var ae=E.removePrefix(R,"@types/");error($,ie,ae,R)}var ce=tryFindAmbientModule(R,true);if(ce){return ce}var le=E.getSourceFileOfNode(N);var _e=E.getResolvedModule(le,R);var Ee=_e&&E.getResolutionDiagnostic(Xe,_e);var Te=_e&&!Ee&&q.getSourceFile(_e.resolvedFileName);if(Te){if(Te.symbol){if(_e.isExternalLibraryImport&&!E.resolutionExtensionIsTSOrJson(_e.extension)){errorOnImplicitAnyModule(false,$,_e,R)}return getMergedSymbol(Te.symbol)}if(j){error($,E.Diagnostics.File_0_is_not_a_module,Te.fileName)}return undefined}if(Zr){var we=E.findBestPatternMatch(Zr,(function(E){return E.pattern}),R);if(we){var Ie=en&&en.get(R);if(Ie){return getMergedSymbol(Ie)}return getMergedSymbol(we.symbol)}}if(_e&&!E.resolutionExtensionIsTSOrJson(_e.extension)&&Ee===undefined||Ee===E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(G){var ie=E.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;error($,ie,R,_e.resolvedFileName)}else{errorOnImplicitAnyModule(st&&!!j,$,_e,R)}return undefined}if(j){if(_e){var Ne=q.getProjectReferenceRedirect(_e.resolvedFileName);if(Ne){error($,E.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,Ne,_e.resolvedFileName);return undefined}}if(Ee){error($,Ee,R,_e.resolvedFileName)}else{var Me=E.tryExtractTSExtension(R);if(Me){var ie=E.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead;var Le=E.removeExtension(R,Me);var Be=Le;var je=E.getEmitModuleKind(Xe);if(je>=E.ModuleKind.ES2015){Be+=".js"}error($,ie,Me,Be)}else if(!Xe.resolveJsonModule&&E.fileExtensionIs(R,".json")&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&E.hasJsonModuleEmitEnabled(Xe)){error($,E.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,R)}else{error($,j,R)}}}return undefined}function errorOnImplicitAnyModule(N,R,j,$){var q=j.packageId,G=j.resolvedFileName;var ie=!E.isExternalModuleNameRelative($)&&q?typesPackageExists(q.name)?E.chainDiagnosticMessages(undefined,E.Diagnostics.If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1,q.name,E.mangleScopedPackageName(q.name)):E.chainDiagnosticMessages(undefined,E.Diagnostics.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,$,E.mangleScopedPackageName(q.name)):undefined;errorOrSuggestion(N,R,E.chainDiagnosticMessages(ie,E.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,$,G))}function typesPackageExists(N){return le().has(E.getTypesPackageName(N))}function resolveExternalModuleSymbol(E,N){if(E===null||E===void 0?void 0:E.exports){var R=resolveSymbol(E.exports.get("export="),N);var j=getCommonJsExportEquals(getMergedSymbol(R),getMergedSymbol(E));return getMergedSymbol(j)||E}return undefined}function getCommonJsExportEquals(N,R){if(!N||N===jt||N===R||R.exports.size===1||N.flags&2097152){return N}var j=getSymbolLinks(N);if(j.cjsExportMerged){return j.cjsExportMerged}var $=N.flags&33554432?N:cloneSymbol(N);$.flags=$.flags|512;if($.exports===undefined){$.exports=E.createSymbolTable()}R.exports.forEach((function(E,N){if(N==="export=")return;$.exports.set(N,$.exports.has(N)?mergeSymbol($.exports.get(N),E):E)}));getSymbolLinks($).cjsExportMerged=$;return j.cjsExportMerged=$}function resolveESModuleSymbol(N,R,j,$){var q=resolveExternalModuleSymbol(N,j);if(!j&&q){if(!$&&!(q.flags&(1536|3))&&!E.getDeclarationOfKind(q,300)){var G=Ze>=E.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";error(R,E.Diagnostics.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,G);return q}if(Xe.esModuleInterop){var ie=R.parent;if(E.isImportDeclaration(ie)&&E.getNamespaceDeclarationNode(ie)||E.isImportCall(ie)){var ae=getTypeOfSymbol(q);var ce=getSignaturesOfStructuredType(ae,0);if(!ce||!ce.length){ce=getSignaturesOfStructuredType(ae,1)}if(ce&&ce.length){var le=getTypeWithSyntheticDefaultImportType(ae,q,N);var _e=createSymbol(q.flags,q.escapedName);_e.declarations=q.declarations?q.declarations.slice():[];_e.parent=q.parent;_e.target=q;_e.originatingImport=ie;if(q.valueDeclaration)_e.valueDeclaration=q.valueDeclaration;if(q.constEnumOnlyModule)_e.constEnumOnlyModule=true;if(q.members)_e.members=new E.Map(q.members);if(q.exports)_e.exports=new E.Map(q.exports);var Ee=resolveStructuredTypeMembers(le);_e.type=createAnonymousType(_e,Ee.members,E.emptyArray,E.emptyArray,Ee.indexInfos);return _e}}}}return q}function hasExportAssignmentSymbol(E){return E.exports.get("export=")!==undefined}function getExportsOfModuleAsArray(E){return symbolsToArray(getExportsOfModule(E))}function getExportsAndPropertiesOfModule(N){var R=getExportsOfModuleAsArray(N);var j=resolveExternalModuleSymbol(N);if(j!==N){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){E.addRange(R,getPropertiesOfType($))}}return R}function forEachExportAndPropertyOfModule(E,N){var R=getExportsOfModule(E);R.forEach((function(E,R){if(!isReservedMemberName(R)){N(E,R)}}));var j=resolveExternalModuleSymbol(E);if(j!==E){var $=getTypeOfSymbol(j);if(shouldTreatPropertiesOfExternalModuleAsExports($)){getPropertiesOfType($).forEach((function(E){N(E,E.escapedName)}))}}}function tryGetMemberInModuleExports(E,N){var R=getExportsOfModule(N);if(R){return R.get(E)}}function tryGetMemberInModuleExportsAndProperties(E,N){var R=tryGetMemberInModuleExports(E,N);if(R){return R}var j=resolveExternalModuleSymbol(N);if(j===N){return undefined}var $=getTypeOfSymbol(j);return shouldTreatPropertiesOfExternalModuleAsExports($)?getPropertyOfType($,E):undefined}function shouldTreatPropertiesOfExternalModuleAsExports(N){return!(N.flags&131068||E.getObjectFlags(N)&1||isArrayType(N)||isTupleType(N))}function getExportsOfSymbol(E){return E.flags&6256?getResolvedMembersOrExportsOfSymbol(E,"resolvedExports"):E.flags&1536?getExportsOfModule(E):E.exports||He}function getExportsOfModule(E){var N=getSymbolLinks(E);return N.resolvedExports||(N.resolvedExports=getExportsOfModuleWorker(E))}function extendExportSymbols(N,R,j,$){if(!R)return;R.forEach((function(R,q){if(q==="default")return;var G=N.get(q);if(!G){N.set(q,R);if(j&&$){j.set(q,{specifierText:E.getTextOfNode($.moduleSpecifier)})}}else if(j&&$&&G&&resolveSymbol(G)!==resolveSymbol(R)){var ie=j.get(q);if(!ie.exportsWithDuplicate){ie.exportsWithDuplicate=[$]}else{ie.exportsWithDuplicate.push($)}}}))}function getExportsOfModuleWorker(N){var R=[];N=resolveExternalModuleSymbol(N);return visit(N)||He;function visit(N){if(!(N&&N.exports&&E.pushIfUnique(R,N))){return}var j=new E.Map(N.exports);var $=N.exports.get("__export");if($){var q=E.createSymbolTable();var G=new E.Map;if($.declarations){for(var ie=0,ae=$.declarations;ie=_e){return le.substr(0,_e-"...".length)+"..."}return le}function getTypeNamesForErrorDisplay(E,N){var R=symbolValueDeclarationIsContextSensitive(E.symbol)?typeToString(E,E.symbol.valueDeclaration):typeToString(E);var j=symbolValueDeclarationIsContextSensitive(N.symbol)?typeToString(N,N.symbol.valueDeclaration):typeToString(N);if(R===j){R=getTypeNameForErrorDisplay(E);j=getTypeNameForErrorDisplay(N)}return[R,j]}function getTypeNameForErrorDisplay(E){return typeToString(E,undefined,64)}function symbolValueDeclarationIsContextSensitive(N){return N&&!!N.valueDeclaration&&E.isExpression(N.valueDeclaration)&&!isContextSensitive(N.valueDeclaration)}function toNodeBuilderFlags(E){if(E===void 0){E=0}return E&814775659}function isClassInstanceSide(N){return!!N.symbol&&!!(N.symbol.flags&32)&&(N===getDeclaredTypeOfClassOrInterface(N.symbol)||!!(N.flags&524288)&&!!(E.getObjectFlags(N)&16777216))}function createNodeBuilder(){return{typeToTypeNode:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeToTypeNodeHelper(E,N)}))},indexInfoToIndexSignatureDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return indexInfoToIndexSignatureDeclarationHelper(E,N,undefined)}))},signatureToSignatureDeclaration:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return signatureToSignatureDeclarationHelper(E,N,R)}))},symbolToEntityName:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToName(E,R,N,false)}))},symbolToExpression:function(E,N,R,j,$){return withContext(R,j,$,(function(R){return symbolToExpression(E,R,N)}))},symbolToTypeParameterDeclarations:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParametersToTypeParameterDeclarations(E,N)}))},symbolToParameterDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return symbolToParameterDeclaration(E,N)}))},typeParameterToDeclaration:function(E,N,R,j){return withContext(N,R,j,(function(N){return typeParameterToDeclaration(E,N)}))},symbolTableToDeclarationStatements:function(E,N,R,j,$){return withContext(N,R,j,(function(N){return symbolTableToDeclarationStatements(E,N,$)}))}};function withContext(N,R,j,$){var G,ie;E.Debug.assert(N===undefined||(N.flags&8)===0);var ae={enclosingDeclaration:N,flags:R||0,tracker:j&&j.trackSymbol?j:{trackSymbol:function(){return false},moduleResolverHost:R&134217728?{getCommonSourceDirectory:!!q.getCommonSourceDirectory?function(){return q.getCommonSourceDirectory()}:function(){return""},getCurrentDirectory:function(){return q.getCurrentDirectory()},getSymlinkCache:E.maybeBind(q,q.getSymlinkCache),useCaseSensitiveFileNames:E.maybeBind(q,q.useCaseSensitiveFileNames),redirectTargetsMap:q.redirectTargetsMap,getProjectReferenceRedirect:function(E){return q.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return q.isSourceOfProjectReferenceRedirect(E)},fileExists:function(E){return q.fileExists(E)},getFileIncludeReasons:function(){return q.getFileIncludeReasons()}}:undefined},encounteredError:false,reportedDiagnostic:false,visitedTypes:undefined,symbolDepth:undefined,inferTypeParameters:undefined,approximateLength:0};ae.tracker=wrapSymbolTrackerToReportForContext(ae,ae.tracker);var ce=$(ae);if(ae.truncating&&ae.flags&1){(ie=(G=ae.tracker)===null||G===void 0?void 0:G.reportTruncationError)===null||ie===void 0?void 0:ie.call(G)}return ae.encounteredError?undefined:ce}function wrapSymbolTrackerToReportForContext(E,N){var R=N.trackSymbol;return $($({},N),{reportCyclicStructureError:wrapReportedDiagnostic(N.reportCyclicStructureError),reportInaccessibleThisError:wrapReportedDiagnostic(N.reportInaccessibleThisError),reportInaccessibleUniqueSymbolError:wrapReportedDiagnostic(N.reportInaccessibleUniqueSymbolError),reportLikelyUnsafeImportRequiredError:wrapReportedDiagnostic(N.reportLikelyUnsafeImportRequiredError),reportNonlocalAugmentation:wrapReportedDiagnostic(N.reportNonlocalAugmentation),reportPrivateInBaseOfClassExpression:wrapReportedDiagnostic(N.reportPrivateInBaseOfClassExpression),reportNonSerializableProperty:wrapReportedDiagnostic(N.reportNonSerializableProperty),trackSymbol:R&&function(){var N=[];for(var j=0;j(N.flags&1?E.noTruncationMaximumTruncationLength:E.defaultMaximumTruncationLength)}function typeToTypeNodeHelper(N,R){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var j=R.flags&8388608;R.flags&=~8388608;if(!N){if(!(R.flags&262144)){R.encounteredError=true;return undefined}R.approximateLength+=3;return E.factory.createKeywordTypeNode(129)}if(!(R.flags&536870912)){N=getReducedType(N)}if(N.flags&1){R.approximateLength+=3;return E.factory.createKeywordTypeNode(N===qt?137:129)}if(N.flags&2){return E.factory.createKeywordTypeNode(153)}if(N.flags&4){R.approximateLength+=6;return E.factory.createKeywordTypeNode(148)}if(N.flags&8){R.approximateLength+=6;return E.factory.createKeywordTypeNode(145)}if(N.flags&64){R.approximateLength+=6;return E.factory.createKeywordTypeNode(156)}if(N.flags&16&&!N.aliasSymbol){R.approximateLength+=7;return E.factory.createKeywordTypeNode(132)}if(N.flags&1024&&!(N.flags&1048576)){var $=getParentOfSymbol(N.symbol);var q=symbolToTypeNode($,R,788968);if(getDeclaredTypeOfSymbol($)===N){return q}var G=E.symbolName(N.symbol);if(E.isIdentifierText(G,0)){return appendReferenceToType(q,E.factory.createTypeReferenceNode(G,undefined))}if(E.isImportTypeNode(q)){q.isTypeOf=true;return E.factory.createIndexedAccessTypeNode(q,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else if(E.isTypeReferenceNode(q)){return E.factory.createIndexedAccessTypeNode(E.factory.createTypeQueryNode(q.typeName),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(G)))}else{return E.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}}if(N.flags&1056){return symbolToTypeNode(N.symbol,R,788968)}if(N.flags&128){R.approximateLength+=N.value.length+2;return E.factory.createLiteralTypeNode(E.setEmitFlags(E.factory.createStringLiteral(N.value,!!(R.flags&268435456)),16777216))}if(N.flags&256){var ie=N.value;R.approximateLength+=(""+ie).length;return E.factory.createLiteralTypeNode(ie<0?E.factory.createPrefixUnaryExpression(40,E.factory.createNumericLiteral(-ie)):E.factory.createNumericLiteral(ie))}if(N.flags&2048){R.approximateLength+=E.pseudoBigIntToString(N.value).length+1;return E.factory.createLiteralTypeNode(E.factory.createBigIntLiteral(N.value))}if(N.flags&512){R.approximateLength+=N.intrinsicName.length;return E.factory.createLiteralTypeNode(N.intrinsicName==="true"?E.factory.createTrue():E.factory.createFalse())}if(N.flags&8192){if(!(R.flags&1048576)){if(isValueSymbolAccessible(N.symbol,R.enclosingDeclaration)){R.approximateLength+=6;return symbolToTypeNode(N.symbol,R,111551)}if(R.tracker.reportInaccessibleUniqueSymbolError){R.tracker.reportInaccessibleUniqueSymbolError()}}R.approximateLength+=13;return E.factory.createTypeOperatorNode(152,E.factory.createKeywordTypeNode(149))}if(N.flags&16384){R.approximateLength+=4;return E.factory.createKeywordTypeNode(114)}if(N.flags&32768){R.approximateLength+=9;return E.factory.createKeywordTypeNode(151)}if(N.flags&65536){R.approximateLength+=4;return E.factory.createLiteralTypeNode(E.factory.createNull())}if(N.flags&131072){R.approximateLength+=5;return E.factory.createKeywordTypeNode(142)}if(N.flags&4096){R.approximateLength+=6;return E.factory.createKeywordTypeNode(149)}if(N.flags&67108864){R.approximateLength+=6;return E.factory.createKeywordTypeNode(146)}if(isThisTypeParameter(N)){if(R.flags&4194304){if(!R.encounteredError&&!(R.flags&32768)){R.encounteredError=true}if(R.tracker.reportInaccessibleThisError){R.tracker.reportInaccessibleThisError()}}R.approximateLength+=4;return E.factory.createThisTypeNode()}if(!j&&N.aliasSymbol&&(R.flags&16384||isTypeSymbolAccessible(N.aliasSymbol,R.enclosingDeclaration))){var ae=mapToTypeNodes(N.aliasTypeArguments,R);if(isReservedMemberName(N.aliasSymbol.escapedName)&&!(N.aliasSymbol.flags&32))return E.factory.createTypeReferenceNode(E.factory.createIdentifier(""),ae);return symbolToTypeNode(N.aliasSymbol,R,788968,ae)}var ce=E.getObjectFlags(N);if(ce&4){E.Debug.assert(!!(N.flags&524288));return N.node?visitAndTransformType(N,typeReferenceToTypeNode):typeReferenceToTypeNode(N)}if(N.flags&262144||ce&3){if(N.flags&262144&&E.contains(R.inferTypeParameters,N)){R.approximateLength+=E.symbolName(N.symbol).length+6;return E.factory.createInferTypeNode(typeParameterToDeclarationWithConstraint(N,R,undefined))}if(R.flags&4&&N.flags&262144&&!isTypeSymbolAccessible(N.symbol,R.enclosingDeclaration)){var le=typeParameterToName(N,R);R.approximateLength+=E.idText(le).length;return E.factory.createTypeReferenceNode(E.factory.createIdentifier(E.idText(le)),undefined)}return N.symbol?symbolToTypeNode(N.symbol,R,788968):E.factory.createTypeReferenceNode(E.factory.createIdentifier("?"),undefined)}if(N.flags&1048576&&N.origin){N=N.origin}if(N.flags&(1048576|2097152)){var Ee=N.flags&1048576?formatUnionTypes(N.types):N.types;if(E.length(Ee)===1){return typeToTypeNodeHelper(Ee[0],R)}var Te=mapToTypeNodes(Ee,R,true);if(Te&&Te.length>0){return N.flags&1048576?E.factory.createUnionTypeNode(Te):E.factory.createIntersectionTypeNode(Te)}else{if(!R.encounteredError&&!(R.flags&262144)){R.encounteredError=true}return undefined}}if(ce&(16|32)){E.Debug.assert(!!(N.flags&524288));return createAnonymousTypeNode(N)}if(N.flags&4194304){var we=N.type;R.approximateLength+=6;var Ie=typeToTypeNodeHelper(we,R);return E.factory.createTypeOperatorNode(139,Ie)}if(N.flags&134217728){var Ne=N.texts;var Me=N.types;var Le=E.factory.createTemplateHead(Ne[0]);var Be=E.factory.createNodeArray(E.map(Me,(function(N,j){return E.factory.createTemplateLiteralTypeSpan(typeToTypeNodeHelper(N,R),(j10){return createElidedInformationPlaceholder(R)}R.symbolDepth.set(ae,Ee+1)}R.visitedTypes.add(G);var Te=R.approximateLength;var we=j(N);var Ie=R.approximateLength-Te;if(!R.reportedDiagnostic&&!R.encounteredError){if(R.truncating){we.truncating=true}we.addedLength=Ie;(q=ce===null||ce===void 0?void 0:ce.serializedTypes)===null||q===void 0?void 0:q.set(le,we)}R.visitedTypes.delete(G);if(ae){R.symbolDepth.set(ae,Ee)}return we;function deepCloneOrReuseNode(N){if(!E.nodeIsSynthesized(N)&&E.getParseTreeNode(N)===N){return N}return E.setTextRange(E.factory.cloneNode(E.visitEachChild(N,deepCloneOrReuseNode,E.nullTransformationContext)),N)}}function createTypeNodeFromObjectType(N){if(isGenericMappedType(N)||N.containsError){return createMappedTypeNodeFromType(N)}var j=resolveStructuredTypeMembers(N);if(!j.properties.length&&!j.indexInfos.length){if(!j.callSignatures.length&&!j.constructSignatures.length){R.approximateLength+=2;return E.setEmitFlags(E.factory.createTypeLiteralNode(undefined),1)}if(j.callSignatures.length===1&&!j.constructSignatures.length){var $=j.callSignatures[0];var q=signatureToSignatureDeclarationHelper($,177,R);return q}if(j.constructSignatures.length===1&&!j.callSignatures.length){var $=j.constructSignatures[0];var q=signatureToSignatureDeclarationHelper($,178,R);return q}}var G=E.filter(j.constructSignatures,(function(E){return!!(E.flags&4)}));if(E.some(G)){var ie=E.map(G,getOrCreateTypeFromSignature);var ae=j.callSignatures.length+(j.constructSignatures.length-G.length)+j.indexInfos.length+(R.flags&2048?E.countWhere(j.properties,(function(E){return!(E.flags&4194304)})):E.length(j.properties));if(ae){ie.push(getResolvedTypeWithoutAbstractConstructSignatures(j))}return typeToTypeNodeHelper(getIntersectionType(ie),R)}var ce=R.flags;R.flags|=4194304;var le=createTypeNodesFromResolvedType(j);R.flags=ce;var _e=E.factory.createTypeLiteralNode(le);R.approximateLength+=2;E.setEmitFlags(_e,R.flags&1024?0:1);return _e}function typeReferenceToTypeNode(N){var j=getTypeArguments(N);if(N.target===on||N.target===sn){if(R.flags&2){var $=typeToTypeNodeHelper(j[0],R);return E.factory.createTypeReferenceNode(N.target===on?"Array":"ReadonlyArray",[$])}var q=typeToTypeNodeHelper(j[0],R);var G=E.factory.createArrayTypeNode(q);return N.target===on?G:E.factory.createTypeOperatorNode(143,G)}else if(N.target.objectFlags&8){j=E.sameMap(j,(function(E,R){return removeMissingType(E,!!(N.target.elementFlags[R]&2))}));if(j.length>0){var ie=getTypeReferenceArity(N);var ae=mapToTypeNodes(j.slice(0,ie),R);if(ae){if(N.target.labeledElementDeclarations){for(var ce=0;ce0){var Ue=(N.target.typeParameters||E.emptyArray).length;je=mapToTypeNodes(j.slice(ce,Ue),R)}var le=R.flags;R.flags|=16;var ze=symbolToTypeNode(N.symbol,R,788968,je);R.flags=le;return!Te?ze:appendReferenceToType(Te,ze)}}function appendReferenceToType(N,R){if(E.isImportTypeNode(N)){var j=N.typeArguments;var $=N.qualifier;if($){if(E.isIdentifier($)){$=E.factory.updateIdentifier($,j)}else{$=E.factory.updateQualifiedName($,$.left,E.factory.updateIdentifier($.right,j))}}j=R.typeArguments;var q=getAccessStack(R);for(var G=0,ie=q;G2){return[typeToTypeNodeHelper(N[0],R),E.factory.createTypeReferenceNode("... "+(N.length-2)+" more ...",undefined),typeToTypeNodeHelper(N[N.length-1],R)]}}var $=!(R.flags&64);var q=$?E.createUnderscoreEscapedMultiMap():undefined;var G=[];var ie=0;for(var ae=0,ce=N;ae0)}else{q=[N]}return q;function getSymbolChain(N,j,q){var G=getAccessibleSymbolChain(N,R.enclosingDeclaration,j,!!(R.flags&128));var ie;if(!G||needsQualification(G[0],R.enclosingDeclaration,G.length===1?j:getQualifiedLeftMeaning(j))){var ae=getContainersOfSymbol(G?G[0]:N,R.enclosingDeclaration,j);if(E.length(ae)){ie=ae.map((function(N){return E.some(N.declarations,hasNonGlobalAugmentationExternalModuleSymbol)?getSpecifierForModuleSymbol(N,R):undefined}));var ce=ae.map((function(E,N){return N}));ce.sort(sortByBestName);var le=ce.map((function(E){return ae[E]}));for(var _e=0,Ee=le;_e1?createAccessFromSymbolChain(q,q.length-1,1):undefined;var ae=$||lookupTypeParameterNodes(q,0,R);var ce=getSpecifierForModuleSymbol(q[0],R);if(!(R.flags&67108864)&&E.getEmitModuleResolutionKind(Xe)===E.ModuleResolutionKind.NodeJs&&ce.indexOf("/node_modules/")>=0){R.encounteredError=true;if(R.tracker.reportLikelyUnsafeImportRequiredError){R.tracker.reportLikelyUnsafeImportRequiredError(ce)}}var le=E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce));if(R.tracker.trackExternalModuleSymbolOfImportTypeNode)R.tracker.trackExternalModuleSymbolOfImportTypeNode(q[0]);R.approximateLength+=ce.length+10;if(!ie||E.isEntityName(ie)){if(ie){var _e=E.isIdentifier(ie)?ie:ie.right;_e.typeArguments=undefined}return E.factory.createImportTypeNode(le,ie,ae,G)}else{var Ee=getTopmostIndexedAccessType(ie);var Te=Ee.objectType.typeName;return E.factory.createIndexedAccessTypeNode(E.factory.createImportTypeNode(le,Te,ae,G),Ee.indexType)}}var we=createAccessFromSymbolChain(q,q.length-1,0);if(E.isIndexedAccessTypeNode(we)){return we}if(G){return E.factory.createTypeQueryNode(we)}else{var _e=E.isIdentifier(we)?we:we.right;var Ie=_e.typeArguments;_e.typeArguments=undefined;return E.factory.createTypeReferenceNode(we,Ie)}function createAccessFromSymbolChain(N,j,q){var G=j===N.length-1?$:lookupTypeParameterNodes(N,j,R);var ie=N[j];var ae=N[j-1];var ce;if(j===0){R.flags|=16777216;ce=getNameOfSymbolAsWritten(ie,R);R.approximateLength+=(ce?ce.length:0)+1;R.flags^=16777216}else{if(ae&&getExportsOfSymbol(ae)){var le=getExportsOfSymbol(ae);E.forEachEntry(le,(function(N,R){if(getSymbolIfSameReference(N,ie)&&!isLateBoundName(R)&&R!=="export="){ce=E.unescapeLeadingUnderscores(R);return true}}))}}if(!ce){ce=getNameOfSymbolAsWritten(ie,R)}R.approximateLength+=ce.length+1;if(!(R.flags&16)&&ae&&getMembersOfSymbol(ae)&&getMembersOfSymbol(ae).get(ie.escapedName)&&getSymbolIfSameReference(getMembersOfSymbol(ae).get(ie.escapedName),ie)){var _e=createAccessFromSymbolChain(N,j-1,q);if(E.isIndexedAccessTypeNode(_e)){return E.factory.createIndexedAccessTypeNode(_e,E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}else{return E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(_e,G),E.factory.createLiteralTypeNode(E.factory.createStringLiteral(ce)))}}var Ee=E.setEmitFlags(E.factory.createIdentifier(ce,G),16777216);Ee.symbol=ie;if(j>q){var _e=createAccessFromSymbolChain(N,j-1,q);if(!E.isEntityName(_e)){return E.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return E.factory.createQualifiedName(_e,Ee)}return Ee}}function typeParameterShadowsNameInScope(E,N,R){var j=resolveName(N.enclosingDeclaration,E,788968,undefined,E,false);if(j){if(j.flags&262144&&j===R.symbol){return false}return true}return false}function typeParameterToName(N,R){var j,$;if(R.flags&4&&R.typeParameterNames){var q=R.typeParameterNames.get(getTypeId(N));if(q){return q}}var G=symbolToName(N.symbol,R,788968,true);if(!(G.kind&79)){return E.factory.createIdentifier("(Missing type parameter)")}if(R.flags&4){var ie=G.escapedText;var ae=((j=R.typeParameterNamesByTextNextNameCount)===null||j===void 0?void 0:j.get(ie))||0;var ce=ie;while((($=R.typeParameterNamesByText)===null||$===void 0?void 0:$.has(ce))||typeParameterShadowsNameInScope(ce,R,N)){ae++;ce=ie+"_"+ae}if(ce!==ie){G=E.factory.createIdentifier(ce,G.typeArguments)}(R.typeParameterNamesByTextNextNameCount||(R.typeParameterNamesByTextNextNameCount=new E.Map)).set(ie,ae);(R.typeParameterNames||(R.typeParameterNames=new E.Map)).set(getTypeId(N),G);(R.typeParameterNamesByText||(R.typeParameterNamesByText=new E.Set)).add(ie)}return G}function symbolToName(N,R,j,$){var q=lookupSymbolChain(N,R,j);if($&&q.length!==1&&!R.encounteredError&&!(R.flags&65536)){R.encounteredError=true}return createEntityNameFromSymbolChain(q,q.length-1);function createEntityNameFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ie.symbol=q;return j>0?E.factory.createQualifiedName(createEntityNameFromSymbolChain(N,j-1),ie):ie}}function symbolToExpression(N,R,j){var $=lookupSymbolChain(N,R,j);return createExpressionFromSymbolChain($,$.length-1);function createExpressionFromSymbolChain(N,j){var $=lookupTypeParameterNodes(N,j,R);var q=N[j];if(j===0){R.flags|=16777216}var G=getNameOfSymbolAsWritten(q,R);if(j===0){R.flags^=16777216}var ie=G.charCodeAt(0);if(E.isSingleOrDoubleQuote(ie)&&E.some(q.declarations,hasNonGlobalAugmentationExternalModuleSymbol)){return E.factory.createStringLiteral(getSpecifierForModuleSymbol(q,R))}var ae=ie===35?G.length>1&&E.isIdentifierStart(G.charCodeAt(1),Ye):E.isIdentifierStart(ie,Ye);if(j===0||ae){var ce=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);ce.symbol=q;return j>0?E.factory.createPropertyAccessExpression(createExpressionFromSymbolChain(N,j-1),ce):ce}else{if(ie===91){G=G.substring(1,G.length-1);ie=G.charCodeAt(0)}var le=void 0;if(E.isSingleOrDoubleQuote(ie)){le=E.factory.createStringLiteral(G.substring(1,G.length-1).replace(/\\./g,(function(E){return E.substring(1)})),ie===39)}else if(""+ +G===G){le=E.factory.createNumericLiteral(+G)}if(!le){le=E.setEmitFlags(E.factory.createIdentifier(G,$),16777216);le.symbol=q}return E.factory.createElementAccessExpression(createExpressionFromSymbolChain(N,j-1),le)}}}function isStringNamed(N){var R=E.getNameOfDeclaration(N);return!!R&&E.isStringLiteral(R)}function isSingleQuotedStringNamed(N){var R=E.getNameOfDeclaration(N);return!!(R&&E.isStringLiteral(R)&&(R.singleQuote||!E.nodeIsSynthesized(R)&&E.startsWith(E.getTextOfNode(R,false),"'")))}function getPropertyNameNodeForSymbol(N,R){var j=!!E.length(N.declarations)&&E.every(N.declarations,isSingleQuotedStringNamed);var $=getPropertyNameNodeForSymbolFromNameType(N,R,j);if($){return $}var q=E.unescapeLeadingUnderscores(N.escapedName);var G=!!E.length(N.declarations)&&E.every(N.declarations,isStringNamed);return createPropertyNameNodeForIdentifierOrLiteral(q,G,j)}function getPropertyNameNodeForSymbolFromNameType(N,R,j){var $=getSymbolLinks(N).nameType;if($){if($.flags&384){var q=""+$.value;if(!E.isIdentifierText(q,Xe.target)&&!isNumericLiteralName(q)){return E.factory.createStringLiteral(q,!!j)}if(isNumericLiteralName(q)&&E.startsWith(q,"-")){return E.factory.createComputedPropertyName(E.factory.createNumericLiteral(+q))}return createPropertyNameNodeForIdentifierOrLiteral(q)}if($.flags&8192){return E.factory.createComputedPropertyName(symbolToExpression($.symbol,R,111551))}}}function createPropertyNameNodeForIdentifierOrLiteral(N,R,j){return E.isIdentifierText(N,Xe.target)?E.factory.createIdentifier(N):!R&&isNumericLiteralName(N)&&+N>=0?E.factory.createNumericLiteral(+N):E.factory.createStringLiteral(N,!!j)}function cloneNodeBuilderContext(N){var R=$({},N);if(R.typeParameterNames){R.typeParameterNames=new E.Map(R.typeParameterNames)}if(R.typeParameterNamesByText){R.typeParameterNamesByText=new E.Set(R.typeParameterNamesByText)}if(R.typeParameterSymbolList){R.typeParameterSymbolList=new E.Set(R.typeParameterSymbolList)}R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);return R}function getDeclarationWithTypeAnnotation(N,R){return N.declarations&&E.find(N.declarations,(function(N){return!!E.getEffectiveTypeAnnotationNode(N)&&(!R||!!E.findAncestor(N,(function(E){return E===R})))}))}function existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(N,R){return!(E.getObjectFlags(R)&4)||!E.isTypeReferenceNode(N)||E.length(N.typeArguments)>=getMinTypeArgumentCount(R.target.typeParameters)}function serializeTypeForDeclaration(N,R,j,$,q,G){if(R!==Jt&&$){var ie=getDeclarationWithTypeAnnotation(j,$);if(ie&&!E.isFunctionLikeDeclaration(ie)&&!E.isGetAccessorDeclaration(ie)){var ae=E.getEffectiveTypeAnnotationNode(ie);if(getTypeFromTypeNode(ae)===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(ae,R)){var ce=serializeExistingTypeNode(N,ae,q,G);if(ce){return ce}}}}var le=N.flags;if(R.flags&8192&&R.symbol===j&&(!N.enclosingDeclaration||E.some(j.declarations,(function(R){return E.getSourceFileOfNode(R)===E.getSourceFileOfNode(N.enclosingDeclaration)})))){N.flags|=1048576}var _e=typeToTypeNodeHelper(R,N);N.flags=le;return _e}function serializeReturnTypeForSignature(N,R,j,$,q){if(R!==Jt&&N.enclosingDeclaration){var G=j.declaration&&E.getEffectiveReturnTypeNode(j.declaration);if(!!E.findAncestor(G,(function(E){return E===N.enclosingDeclaration}))&&G){var ie=getTypeFromTypeNode(G);var ae=ie.flags&262144&&ie.isThisType?instantiateType(ie,j.mapper):ie;if(ae===R&&existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(G,R)){var ce=serializeExistingTypeNode(N,G,$,q);if(ce){return ce}}}}return typeToTypeNodeHelper(R,N)}function trackExistingEntityName(N,R,j){var $,q;var G=false;var ie=E.getFirstIdentifier(N);if(E.isInJSFile(N)&&(E.isExportsIdentifier(ie)||E.isModuleExportsAccessExpression(ie.parent)||E.isQualifiedName(ie.parent)&&E.isModuleIdentifier(ie.parent.left)&&E.isExportsIdentifier(ie.parent.right))){G=true;return{introducesError:G,node:N}}var ae=resolveEntityName(ie,67108863,true,true);if(ae){if(isSymbolAccessible(ae,R.enclosingDeclaration,67108863,false).accessibility!==0){G=true}else{(q=($=R.tracker)===null||$===void 0?void 0:$.trackSymbol)===null||q===void 0?void 0:q.call($,ae,R.enclosingDeclaration,67108863);j===null||j===void 0?void 0:j(ae)}if(E.isIdentifier(N)){var ce=ae.flags&262144?typeParameterToName(getDeclaredTypeOfSymbol(ae),R):E.factory.cloneNode(N);ce.symbol=ae;return{introducesError:G,node:E.setEmitFlags(E.setOriginalNode(ce,N),16777216)}}}return{introducesError:G,node:N}}function serializeExistingTypeNode(N,R,j,$){if(_e&&_e.throwIfCancellationRequested){_e.throwIfCancellationRequested()}var G=false;var ie=E.getSourceFileOfNode(R);var ae=E.visitNode(R,visitExistingNodeTreeSymbols);if(G){return undefined}return ae===R?E.setTextRange(E.factory.cloneNode(R),R):ae;function visitExistingNodeTreeSymbols(R){if(E.isJSDocAllType(R)||R.kind===314){return E.factory.createKeywordTypeNode(129)}if(E.isJSDocUnknownType(R)){return E.factory.createKeywordTypeNode(153)}if(E.isJSDocNullableType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createLiteralTypeNode(E.factory.createNull())])}if(E.isJSDocOptionalType(R)){return E.factory.createUnionTypeNode([E.visitNode(R.type,visitExistingNodeTreeSymbols),E.factory.createKeywordTypeNode(151)])}if(E.isJSDocNonNullableType(R)){return E.visitNode(R.type,visitExistingNodeTreeSymbols)}if(E.isJSDocVariadicType(R)){return E.factory.createArrayTypeNode(E.visitNode(R.type,visitExistingNodeTreeSymbols))}if(E.isJSDocTypeLiteral(R)){return E.factory.createTypeLiteralNode(E.map(R.jsDocPropertyTags,(function(j){var $=E.isIdentifier(j.name)?j.name:j.name.right;var q=getTypeOfPropertyOfType(getTypeFromTypeNode(R),$.escapedText);var G=q&&j.typeExpression&&getTypeFromTypeNode(j.typeExpression.type)!==q?typeToTypeNodeHelper(q,N):undefined;return E.factory.createPropertySignature(undefined,$,j.isBracketed||j.typeExpression&&E.isJSDocOptionalType(j.typeExpression.type)?E.factory.createToken(57):undefined,G||j.typeExpression&&E.visitNode(j.typeExpression.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))})))}if(E.isTypeReferenceNode(R)&&E.isIdentifier(R.typeName)&&R.typeName.escapedText===""){return E.setOriginalNode(E.factory.createKeywordTypeNode(129),R)}if((E.isExpressionWithTypeArguments(R)||E.isTypeReferenceNode(R))&&E.isJSDocIndexSignature(R)){return E.factory.createTypeLiteralNode([E.factory.createIndexSignature(undefined,undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"x",undefined,E.visitNode(R.typeArguments[0],visitExistingNodeTreeSymbols))],E.visitNode(R.typeArguments[1],visitExistingNodeTreeSymbols))])}if(E.isJSDocFunctionType(R)){if(E.isJSDocConstructSignature(R)){var ae;return E.factory.createConstructorTypeNode(R.modifiers,E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.mapDefined(R.parameters,(function(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="new"?(ae=N.type,undefined):E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(ae||R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}else{return E.factory.createFunctionTypeNode(E.visitNodes(R.typeParameters,visitExistingNodeTreeSymbols),E.map(R.parameters,(function(N,R){return E.factory.createParameterDeclaration(undefined,undefined,getEffectiveDotDotDotForParameter(N),getNameForJSDocFunctionParameter(N,R),N.questionToken,E.visitNode(N.type,visitExistingNodeTreeSymbols),undefined)})),E.visitNode(R.type,visitExistingNodeTreeSymbols)||E.factory.createKeywordTypeNode(129))}}if(E.isTypeReferenceNode(R)&&E.isInJSDoc(R)&&(!existingTypeNodeIsNotReferenceOrIsReferenceWithCompatibleTypeArgumentCount(R,getTypeFromTypeNode(R))||getIntendedTypeFromJSDocTypeReference(R)||jt===resolveTypeReferenceName(getTypeReferenceName(R),788968,true))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}if(E.isLiteralImportTypeNode(R)){var ce=getNodeLinks(R).resolvedSymbol;if(E.isInJSDoc(R)&&ce&&(!R.isTypeOf&&!(ce.flags&788968)||!(E.length(R.typeArguments)>=getMinTypeArgumentCount(getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ce))))){return E.setOriginalNode(typeToTypeNodeHelper(getTypeFromTypeNode(R),N),R)}return E.factory.updateImportTypeNode(R,E.factory.updateLiteralTypeNode(R.argument,rewriteModuleSpecifier(R,R.argument.literal)),R.qualifier,E.visitNodes(R.typeArguments,visitExistingNodeTreeSymbols,E.isTypeNode),R.isTypeOf)}if(E.isEntityName(R)||E.isEntityNameExpression(R)){var le=trackExistingEntityName(R,N,j),_e=le.introducesError,Ee=le.node;G=G||_e;if(Ee!==R){return Ee}}if(ie&&E.isTupleTypeNode(R)&&E.getLineAndCharacterOfPosition(ie,R.pos).line===E.getLineAndCharacterOfPosition(ie,R.end).line){E.setEmitFlags(R,1)}return E.visitEachChild(R,visitExistingNodeTreeSymbols,E.nullTransformationContext);function getEffectiveDotDotDotForParameter(N){return N.dotDotDotToken||(N.type&&E.isJSDocVariadicType(N.type)?E.factory.createToken(25):undefined)}function getNameForJSDocFunctionParameter(N,R){return N.name&&E.isIdentifier(N.name)&&N.name.escapedText==="this"?"this":getEffectiveDotDotDotForParameter(N)?"args":"arg"+R}function rewriteModuleSpecifier(R,j){if($){if(N.tracker&&N.tracker.moduleResolverHost){var G=getExternalModuleFileFromDeclaration(R);if(G){var ie=E.createGetCanonicalFileName(!!q.useCaseSensitiveFileNames);var ae={getCanonicalFileName:ie,getCurrentDirectory:function(){return N.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return N.tracker.moduleResolverHost.getCommonSourceDirectory()}};var ce=E.getResolvedExternalModuleName(ae,G);return E.factory.createStringLiteral(ce)}}}else{if(N.tracker&&N.tracker.trackExternalModuleSymbolOfImportTypeNode){var le=resolveExternalModuleNameWorker(j,j,undefined);if(le){N.tracker.trackExternalModuleSymbolOfImportTypeNode(le)}}}return j}}}function symbolTableToDeclarationStatements(N,R,q){var G=makeSerializePropertySymbol(E.factory.createPropertyDeclaration,167,true);var ie=makeSerializePropertySymbol((function(N,R,j,$,q){return E.factory.createPropertySignature(R,j,$,q)}),166,false);var ae=R.enclosingDeclaration;var ce=[];var le=new E.Set;var _e=[];var Ee=R;R=$($({},Ee),{usedSymbolNames:new E.Set(Ee.usedSymbolNames),remappedSymbolNames:new E.Map,tracker:$($({},Ee.tracker),{trackSymbol:function(E,N,j){var $=isSymbolAccessible(E,N,j,false);if($.accessibility===0){var q=lookupSymbolChainWorker(E,R,j);if(!(E.flags&4)){includePrivateSymbol(q[0])}}else if(Ee.tracker&&Ee.tracker.trackSymbol){return Ee.tracker.trackSymbol(E,N,j)}return false}})});R.tracker=wrapSymbolTrackerToReportForContext(R,R.tracker);E.forEachEntry(N,(function(N,R){var j=E.unescapeLeadingUnderscores(R);void getInternalSymbolName(N,j)}));var Te=!q;var we=N.get("export=");if(we&&N.size>1&&we.flags&2097152){N=E.createSymbolTable();N.set("export=",we)}visitSymbolTable(N);return mergeRedundantStatements(ce);function isIdentifierAndNotUndefined(E){return!!E&&E.kind===79}function getNamesOfDeclaration(N){if(E.isVariableStatement(N)){return E.filter(E.map(N.declarationList.declarations,E.getNameOfDeclaration),isIdentifierAndNotUndefined)}return E.filter([E.getNameOfDeclaration(N)],isIdentifierAndNotUndefined)}function flattenExportAssignedNamespace(N){var R=E.find(N,E.isExportAssignment);var $=E.findIndex(N,E.isModuleDeclaration);var q=$!==-1?N[$]:undefined;if(q&&R&&R.isExportEquals&&E.isIdentifier(R.expression)&&E.isIdentifier(q.name)&&E.idText(q.name)===E.idText(R.expression)&&q.body&&E.isModuleBlock(q.body)){var G=E.filter(N,(function(N){return!!(E.getEffectiveModifierFlags(N)&1)}));var ie=q.name;var ae=q.body;if(E.length(G)){q=E.factory.updateModuleDeclaration(q,q.decorators,q.modifiers,q.name,ae=E.factory.updateModuleBlock(ae,E.factory.createNodeArray(j(j([],q.body.statements,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.map(E.flatMap(G,(function(E){return getNamesOfDeclaration(E)})),(function(N){return E.factory.createExportSpecifier(undefined,N)}))),undefined)],false))));N=j(j(j([],N.slice(0,$),true),[q],false),N.slice($+1),true)}if(!E.find(N,(function(N){return N!==q&&E.nodeHasName(N,ie)}))){ce=[];var le=!E.some(ae.statements,(function(N){return E.hasSyntacticModifier(N,1)||E.isExportAssignment(N)||E.isExportDeclaration(N)}));E.forEach(ae.statements,(function(E){addResult(E,le?1:0)}));N=j(j([],E.filter(N,(function(E){return E!==q&&E!==R})),true),ce,true)}}return N}function mergeExportDeclarations(N){var R=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(R)>1){var $=E.filter(N,(function(N){return!E.isExportDeclaration(N)||!!N.moduleSpecifier||!N.exportClause}));N=j(j([],$,true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),undefined)],false)}var q=E.filter(N,(function(N){return E.isExportDeclaration(N)&&!!N.moduleSpecifier&&!!N.exportClause&&E.isNamedExports(N.exportClause)}));if(E.length(q)>1){var G=E.group(q,(function(N){return E.isStringLiteral(N.moduleSpecifier)?">"+N.moduleSpecifier.text:">"}));if(G.length!==q.length){var _loop_9=function(R){if(R.length>1){N=j(j([],E.filter(N,(function(E){return R.indexOf(E)===-1})),true),[E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports(E.flatMap(R,(function(N){return E.cast(N.exportClause,E.isNamedExports).elements}))),R[0].moduleSpecifier)],false)}};for(var ie=0,ae=G;ie=0){var j=N[R];var $=E.mapDefined(j.exportClause.elements,(function(R){if(!R.propertyName){var j=E.indicesOf(N);var $=E.filter(j,(function(j){return E.nodeHasName(N[j],R.name)}));if(E.length($)&&E.every($,(function(E){return canHaveExportModifier(N[E])}))){for(var q=0,G=$;q0&&E.isSingleOrDoubleQuote(q.charCodeAt(0))?E.stripQuotes(q):q}if(j==="default"){j="_default"}else if(j==="export="){j="_exports"}j=E.isIdentifierText(j,Ye)&&!E.isStringANonContextualKeyword(j)?j:"_"+j.replace(/[^a-zA-Z0-9]/g,"_");return j}function getInternalSymbolName(E,N){var j=getSymbolId(E);if(R.remappedSymbolNames.has(j)){return R.remappedSymbolNames.get(j)}N=getNameCandidateWorker(E,N);R.remappedSymbolNames.set(j,N);return N}}}function typePredicateToString(N,R,j,$){if(j===void 0){j=16384}return $?typePredicateToStringWorker($).getText():E.usingSingleLineStringWriter(typePredicateToStringWorker);function typePredicateToStringWorker($){var q=E.factory.createTypePredicateNode(N.kind===2||N.kind===3?E.factory.createToken(128):undefined,N.kind===1||N.kind===3?E.factory.createIdentifier(N.parameterName):E.factory.createThisTypeNode(),N.type&&_t.typeToTypeNode(N.type,R,toNodeBuilderFlags(j)|70221824|512));var G=E.createPrinter({removeComments:true});var ie=R&&E.getSourceFileOfNode(R);G.writeNode(4,q,ie,$);return $}}function formatUnionTypes(E){var N=[];var R=0;for(var j=0;j=0){var j=ei.length;for(var $=R;$=0;R--){if(hasType(ei[R],ri[R])){return-1}if(ei[R]===E&&ri[R]===N){return R}}return-1}function hasType(N,R){switch(R){case 0:return!!getSymbolLinks(N).type;case 5:return!!getNodeLinks(N).resolvedEnumType;case 2:return!!getSymbolLinks(N).declaredType;case 1:return!!N.resolvedBaseConstructorType;case 3:return!!N.resolvedReturnType;case 4:return!!N.immediateBaseConstraint;case 6:return!!N.resolvedTypeArguments;case 7:return!!N.baseTypesResolved}return E.Debug.assertNever(R)}function popTypeResolution(){ei.pop();ri.pop();return ti.pop()}function getDeclarationContainer(N){return E.findAncestor(E.getRootDeclaration(N),(function(E){switch(E.kind){case 252:case 253:case 268:case 267:case 266:case 265:return false;default:return true}})).parent}function getTypeOfPrototypeProperty(N){var R=getDeclaredTypeOfSymbol(getParentOfSymbol(N));return R.typeParameters?createTypeReference(R,E.map(R.typeParameters,(function(E){return zt}))):R}function getTypeOfPropertyOfType(E,N){var R=getPropertyOfType(E,N);return R?getTypeOfSymbol(R):undefined}function getTypeOfPropertyOrIndexSignature(E,N){var R;return getTypeOfPropertyOfType(E,N)||((R=getApplicableIndexInfoForName(E,N))===null||R===void 0?void 0:R.type)||Ht}function isTypeAny(E){return E&&(E.flags&1)!==0}function getTypeForBindingElementParent(E){var N=getSymbolOfNode(E);return N&&getSymbolLinks(N).type||getTypeForVariableLikeDeclaration(E,false)}function getRestType(N,R,j){N=filterType(N,(function(E){return!(E.flags&98304)}));if(N.flags&131072){return Tr}if(N.flags&1048576){return mapType(N,(function(E){return getRestType(E,R,j)}))}var $=getUnionType(E.map(R,getLiteralTypeFromPropertyName));if(isGenericObjectType(N)||isGenericIndexType($)){if($.flags&131072){return N}var q=getGlobalOmitSymbol();if(!q){return Jt}return getTypeAliasInstantiation(q,[N,$])}var G=E.createSymbolTable();for(var ie=0,ae=getPropertiesOfType(N);ie=2?createIterableType(zt):mn}var ie=E.map($,(function(N){return E.isOmittedExpression(N)?zt:getTypeFromBindingElement(N,R,j)}));var ae=E.findLastIndex($,(function(N){return!(N===G||E.isOmittedExpression(N)||hasDefaultValue(N))}),$.length-1)+1;var ce=E.map($,(function(E,N){return E===G?4:N>=ae?2:1}));var le=createTupleType(ie,ce);if(R){le=cloneTypeReference(le);le.pattern=N;le.objectFlags|=262144}return le}function getTypeFromBindingPattern(E,N,R){if(N===void 0){N=false}if(R===void 0){R=false}return E.kind===199?getTypeFromObjectBindingPattern(E,N,R):getTypeFromArrayBindingPattern(E,N,R)}function getWidenedTypeForVariableLikeDeclaration(E,N){return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(E,true),E,N)}function isGlobalSymbolConstructor(E){var N=getSymbolOfNode(E);var R=getGlobalESSymbolConstructorTypeSymbol(false);return R&&N&&N===R}function widenTypeForVariableLikeDeclaration(N,R,j){if(N){if(N.flags&4096&&isGlobalSymbolConstructor(R.parent)){N=getESSymbolLikeTypeForNode(R)}if(j){reportErrorsFromWidening(R,N)}if(N.flags&8192&&(E.isBindingElement(R)||!R.type)&&N.symbol!==getSymbolOfNode(R)){N=lr}return getWidenedType(N)}N=E.isParameter(R)&&R.dotDotDotToken?mn:zt;if(j){if(!declarationBelongsToPrivateAmbientMember(R)){reportImplicitAny(R,N)}}return N}function declarationBelongsToPrivateAmbientMember(N){var R=E.getRootDeclaration(N);var j=R.kind===162?R.parent:R;return isPrivateWithinAmbient(j)}function tryGetTypeFromEffectiveTypeNode(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}}function getTypeOfVariableOrParameterOrProperty(E){var N=getSymbolLinks(E);if(!N.type){var R=getTypeOfVariableOrParameterOrPropertyWorker(E);if(!N.type){N.type=R}}return N.type}function getTypeOfVariableOrParameterOrPropertyWorker(N){if(N.flags&4194304){return getTypeOfPrototypeProperty(N)}if(N===St){return zt}if(N.flags&134217728&&N.valueDeclaration){var R=getSymbolOfNode(E.getSourceFileOfNode(N.valueDeclaration));var j=createSymbol(R.flags,"exports");j.declarations=R.declarations?R.declarations.slice():[];j.parent=N;j.target=R;if(R.valueDeclaration)j.valueDeclaration=R.valueDeclaration;if(R.members)j.members=new E.Map(R.members);if(R.exports)j.exports=new E.Map(R.exports);var $=E.createSymbolTable();$.set("exports",j);return createAnonymousType(N,$,E.emptyArray,E.emptyArray,E.emptyArray)}E.Debug.assertIsDefined(N.valueDeclaration);var q=N.valueDeclaration;if(E.isCatchClauseVariableDeclarationOrBindingElement(q)){var G=E.getEffectiveTypeAnnotationNode(q);if(G===undefined){return ut?Ht:zt}var ie=getTypeOfNode(G);return isTypeAny(ie)||ie===Ht?ie:Jt}if(E.isSourceFile(q)&&E.isJsonSourceFile(q)){if(!q.statements.length){return Tr}return getWidenedType(getWidenedLiteralType(checkExpression(q.statements[0].expression)))}if(!pushTypeResolution(N,0)){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}var ae;if(q.kind===269){ae=widenTypeForVariableLikeDeclaration(checkExpressionCached(q.expression),q)}else if(E.isBinaryExpression(q)||E.isInJSFile(q)&&(E.isCallExpression(q)||(E.isPropertyAccessExpression(q)||E.isBindableStaticElementAccessExpression(q))&&E.isBinaryExpression(q.parent))){ae=getWidenedTypeForAssignmentDeclaration(N)}else if(E.isPropertyAccessExpression(q)||E.isElementAccessExpression(q)||E.isIdentifier(q)||E.isStringLiteralLike(q)||E.isNumericLiteral(q)||E.isClassDeclaration(q)||E.isFunctionDeclaration(q)||E.isMethodDeclaration(q)&&!E.isObjectLiteralMethod(q)||E.isMethodSignature(q)||E.isSourceFile(q)){if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}ae=E.isBinaryExpression(q.parent)?getWidenedTypeForAssignmentDeclaration(N):tryGetTypeFromEffectiveTypeNode(q)||zt}else if(E.isPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkPropertyAssignment(q)}else if(E.isJsxAttribute(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkJsxAttribute(q)}else if(E.isShorthandPropertyAssignment(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkExpressionForMutableLocation(q.name,0)}else if(E.isObjectLiteralMethod(q)){ae=tryGetTypeFromEffectiveTypeNode(q)||checkObjectLiteralMethod(q,0)}else if(E.isParameter(q)||E.isPropertyDeclaration(q)||E.isPropertySignature(q)||E.isVariableDeclaration(q)||E.isBindingElement(q)||E.isJSDocPropertyLikeTag(q)){ae=getWidenedTypeForVariableLikeDeclaration(q,true)}else if(E.isEnumDeclaration(q)){ae=getTypeOfFuncClassEnumModule(N)}else if(E.isEnumMember(q)){ae=getTypeOfEnumMember(N)}else if(E.isAccessor(q)){ae=resolveTypeOfAccessors(N)||E.Debug.fail("Non-write accessor resolution must always produce a type")}else{return E.Debug.fail("Unhandled declaration kind! "+E.Debug.formatSyntaxKind(q.kind)+" for "+E.Debug.formatSymbol(N))}if(!popTypeResolution()){if(N.flags&512&&!(N.flags&67108864)){return getTypeOfFuncClassEnumModule(N)}return reportCircularityError(N)}return ae}function getAnnotatedAccessorTypeNode(N){if(N){if(N.kind===170){var R=E.getEffectiveReturnTypeNode(N);return R}else{var j=E.getEffectiveSetAccessorTypeAnnotationNode(N);return j}}return undefined}function getAnnotatedAccessorType(E){var N=getAnnotatedAccessorTypeNode(E);return N&&getTypeFromTypeNode(N)}function getAnnotatedAccessorThisParameter(E){var N=getAccessorThisParameter(E);return N&&N.symbol}function getThisTypeOfDeclaration(E){return getThisTypeOfSignature(getSignatureFromDeclaration(E))}function getTypeOfAccessors(N){var R=getSymbolLinks(N);return R.type||(R.type=getTypeOfAccessorsWorker(N)||E.Debug.fail("Read type of accessor must always produce a type"))}function getTypeOfSetAccessor(E){var N=getSymbolLinks(E);return N.writeType||(N.writeType=getTypeOfAccessorsWorker(E,true))}function getTypeOfAccessorsWorker(N,R){if(R===void 0){R=false}if(!pushTypeResolution(N,0)){return Jt}var j=resolveTypeOfAccessors(N,R);if(!popTypeResolution()){j=zt;if(st){var $=E.getDeclarationOfKind(N,170);error($,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,symbolToString(N))}}return j}function resolveTypeOfAccessors(N,R){if(R===void 0){R=false}var j=E.getDeclarationOfKind(N,170);var $=E.getDeclarationOfKind(N,171);var q=getAnnotatedAccessorType($);if(R&&q){return instantiateTypeIfNeeded(q,N)}if(j&&E.isInJSFile(j)){var G=getTypeForDeclarationFromJSDocComment(j);if(G){return instantiateTypeIfNeeded(G,N)}}var ie=getAnnotatedAccessorType(j);if(ie){return instantiateTypeIfNeeded(ie,N)}if(q){return q}if(j&&j.body){var ae=getReturnTypeFromBody(j);return instantiateTypeIfNeeded(ae,N)}if($){if(!isPrivateWithinAmbient($)){errorOrSuggestion(st,$,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,symbolToString(N))}return zt}else if(j){E.Debug.assert(!!j,"there must exist a getter as we are current checking either setter or getter in this function");if(!isPrivateWithinAmbient(j)){errorOrSuggestion(st,j,E.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,symbolToString(N))}return zt}return undefined;function instantiateTypeIfNeeded(N,R){if(E.getCheckFlags(R)&1){var j=getSymbolLinks(R);return instantiateType(N,j.mapper)}return N}}function getBaseTypeVariableOfClass(N){var R=getBaseConstructorTypeOfClass(getDeclaredTypeOfClassOrInterface(N));return R.flags&8650752?R:R.flags&2097152?E.find(R.types,(function(E){return!!(E.flags&8650752)})):undefined}function getTypeOfFuncClassEnumModule(E){var N=getSymbolLinks(E);var R=N;if(!N.type){var j=E.valueDeclaration&&getSymbolOfExpando(E.valueDeclaration,false);if(j){var $=mergeJSSymbols(E,j);if($){E=N=$}}R.type=N.type=getTypeOfFuncClassEnumModuleWorker(E)}return N.type}function getTypeOfFuncClassEnumModuleWorker(N){var R=N.valueDeclaration;if(N.flags&1536&&E.isShorthandAmbientModuleSymbol(N)){return zt}else if(R&&(R.kind===219||E.isAccessExpression(R)&&R.parent.kind===219)){return getWidenedTypeForAssignmentDeclaration(N)}else if(N.flags&512&&R&&E.isSourceFile(R)&&R.commonJsModuleIndicator){var j=resolveExternalModuleSymbol(N);if(j!==N){if(!pushTypeResolution(N,0)){return Jt}var $=getMergedSymbol(N.exports.get("export="));var q=getWidenedTypeForAssignmentDeclaration($,$===j?undefined:j);if(!popTypeResolution()){return reportCircularityError(N)}return q}}var G=createObjectType(16,N);if(N.flags&32){var ie=getBaseTypeVariableOfClass(N);return ie?getIntersectionType([G,ie]):G}else{return rt&&N.flags&16777216?getOptionalType(G):G}}function getTypeOfEnumMember(E){var N=getSymbolLinks(E);return N.type||(N.type=getDeclaredTypeOfEnumMember(E))}function getTypeOfAlias(E){var N=getSymbolLinks(E);if(!N.type){var R=resolveAlias(E);var j=E.declarations&&getTargetOfAliasDeclaration(getDeclarationOfAliasSymbol(E),true);N.type=(j===null||j===void 0?void 0:j.declarations)&&isDuplicatedCommonJSExport(j.declarations)&&E.declarations.length?getFlowTypeFromCommonJSExport(j):isDuplicatedCommonJSExport(E.declarations)?Wt:R.flags&111551?getTypeOfSymbol(R):Jt}return N.type}function getTypeOfInstantiatedSymbol(E){var N=getSymbolLinks(E);if(!N.type){if(!pushTypeResolution(E,0)){return N.type=Jt}var R=instantiateType(getTypeOfSymbol(N.target),N.mapper);if(!popTypeResolution()){R=reportCircularityError(E)}N.type=R}return N.type}function reportCircularityError(N){var R=N.valueDeclaration;if(E.getEffectiveTypeAnnotationNode(R)){error(N.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,symbolToString(N));return Jt}if(st&&(R.kind!==162||R.initializer)){error(N.valueDeclaration,E.Diagnostics._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,symbolToString(N))}return zt}function getTypeOfSymbolWithDeferredType(N){var R=getSymbolLinks(N);if(!R.type){E.Debug.assertIsDefined(R.deferralParent);E.Debug.assertIsDefined(R.deferralConstituents);R.type=R.deferralParent.flags&1048576?getUnionType(R.deferralConstituents):getIntersectionType(R.deferralConstituents)}return R.type}function getSetAccessorTypeOfSymbol(E){if(E.flags&98304){var N=getTypeOfSetAccessor(E);if(N){return N}}return getTypeOfSymbol(E)}function getTypeOfSymbol(N){var R=E.getCheckFlags(N);if(R&65536){return getTypeOfSymbolWithDeferredType(N)}if(R&1){return getTypeOfInstantiatedSymbol(N)}if(R&262144){return getTypeOfMappedSymbol(N)}if(R&8192){return getTypeOfReverseMappedSymbol(N)}if(N.flags&(3|4)){return getTypeOfVariableOrParameterOrProperty(N)}if(N.flags&(16|8192|32|384|512)){return getTypeOfFuncClassEnumModule(N)}if(N.flags&8){return getTypeOfEnumMember(N)}if(N.flags&98304){return getTypeOfAccessors(N)}if(N.flags&2097152){return getTypeOfAlias(N)}return Jt}function getNonMissingTypeOfSymbol(E){return removeMissingType(getTypeOfSymbol(E),!!(E.flags&16777216))}function isReferenceToType(N,R){return N!==undefined&&R!==undefined&&(E.getObjectFlags(N)&4)!==0&&N.target===R}function getTargetType(N){return E.getObjectFlags(N)&4?N.target:N}function hasBaseType(N,R){return check(N);function check(N){if(E.getObjectFlags(N)&(3|4)){var j=getTargetType(N);return j===R||E.some(getBaseTypes(j),check)}else if(N.flags&2097152){return E.some(N.types,check)}return false}}function appendTypeParameters(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=E.appendIfUnique(N,getDeclaredTypeOfTypeParameter(getSymbolOfNode(q)))}return N}function getOuterTypeParameters(N,R){while(true){N=N.parent;if(N&&E.isBinaryExpression(N)){var j=E.getAssignmentDeclarationKind(N);if(j===6||j===3){var $=getSymbolOfNode(N.left);if($&&$.parent&&!E.findAncestor($.parent.valueDeclaration,(function(E){return N===E}))){N=$.parent.valueDeclaration}}}if(!N){return undefined}switch(N.kind){case 255:case 224:case 256:case 172:case 173:case 166:case 177:case 178:case 312:case 254:case 167:case 211:case 212:case 257:case 339:case 340:case 334:case 333:case 193:case 187:{var q=getOuterTypeParameters(N,R);if(N.kind===193){return E.append(q,getDeclaredTypeOfTypeParameter(getSymbolOfNode(N.typeParameter)))}else if(N.kind===187){return E.concatenate(q,getInferTypeParameters(N))}var G=appendTypeParameters(q,E.getEffectiveTypeParameterDeclarations(N));var ie=R&&(N.kind===255||N.kind===224||N.kind===256||isJSConstructor(N))&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(N)).thisType;return ie?E.append(G,ie):G}case 335:var ae=E.getParameterSymbolFromJSDoc(N);if(ae){N=ae.valueDeclaration}break;case 315:{var q=getOuterTypeParameters(N,R);return N.tags?appendTypeParameters(q,E.flatMap(N.tags,(function(N){return E.isJSDocTemplateTag(N)?N.typeParameters:undefined}))):q}}}}function getOuterTypeParametersOfClassOrInterface(N){var R=N.flags&32?N.valueDeclaration:E.getDeclarationOfKind(N,256);E.Debug.assert(!!R,"Class was missing valueDeclaration -OR- non-class had no interface declarations");return getOuterTypeParameters(R)}function getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N){if(!N.declarations){return}var R;for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];if(q.kind===256||q.kind===255||q.kind===224||isJSConstructor(q)||E.isTypeAlias(q)){var G=q;R=appendTypeParameters(R,E.getEffectiveTypeParameterDeclarations(G))}}return R}function getTypeParametersOfClassOrInterface(N){return E.concatenate(getOuterTypeParametersOfClassOrInterface(N),getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(N))}function isMixinConstructorType(E){var N=getSignaturesOfType(E,1);if(N.length===1){var R=N[0];if(!R.typeParameters&&R.parameters.length===1&&signatureHasRestParameter(R)){var j=getTypeOfParameter(R.parameters[0]);return isTypeAny(j)||getElementTypeOfArrayType(j)===zt}}return false}function isConstructorType(E){if(getSignaturesOfType(E,1).length>0){return true}if(E.flags&8650752){var N=getBaseConstraintOfType(E);return!!N&&isMixinConstructorType(N)}return false}function getBaseTypeNodeOfClass(N){return E.getEffectiveBaseTypeNode(N.symbol.valueDeclaration)}function getConstructorsForTypeArguments(N,R,j){var $=E.length(R);var q=E.isInJSFile(j);return E.filter(getSignaturesOfType(N,1),(function(N){return(q||$>=getMinTypeArgumentCount(N.typeParameters))&&$<=E.length(N.typeParameters)}))}function getInstantiatedConstructorsForTypeArguments(N,R,j){var $=getConstructorsForTypeArguments(N,R,j);var q=E.map(R,getTypeFromTypeNode);return E.sameMap($,(function(N){return E.some(N.typeParameters)?getSignatureInstantiation(N,q,E.isInJSFile(j)):N}))}function getBaseConstructorTypeOfClass(N){if(!N.resolvedBaseConstructorType){var R=N.symbol.valueDeclaration;var j=E.getEffectiveBaseTypeNode(R);var $=getBaseTypeNodeOfClass(N);if(!$){return N.resolvedBaseConstructorType=Gt}if(!pushTypeResolution(N,1)){return Jt}var q=checkExpression($.expression);if(j&&$!==j){E.Debug.assert(!j.typeArguments);checkExpression(j.expression)}if(q.flags&(524288|2097152)){resolveStructuredTypeMembers(q)}if(!popTypeResolution()){error(N.symbol.valueDeclaration,E.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,symbolToString(N.symbol));return N.resolvedBaseConstructorType=Jt}if(!(q.flags&1)&&q!==Zt&&!isConstructorType(q)){var G=error($.expression,E.Diagnostics.Type_0_is_not_a_constructor_function_type,typeToString(q));if(q.flags&262144){var ie=getConstraintFromTypeParameter(q);var ae=Ht;if(ie){var ce=getSignaturesOfType(ie,1);if(ce[0]){ae=getReturnTypeOfSignature(ce[0])}}if(q.symbol.declarations){E.addRelatedInfo(G,E.createDiagnosticForNode(q.symbol.declarations[0],E.Diagnostics.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,symbolToString(q.symbol),typeToString(ae)))}}return N.resolvedBaseConstructorType=Jt}N.resolvedBaseConstructorType=q}return N.resolvedBaseConstructorType}function getImplementsTypes(N){var R=E.emptyArray;if(N.symbol.declarations){for(var j=0,$=N.symbol.declarations;j<$.length;j++){var q=$[j];var G=E.getEffectiveImplementsTypeNodes(q);if(!G)continue;for(var ie=0,ae=G;ie=we&&ce<=Ie){var Ne=Ie?createSignatureInstantiation(Te,fillMissingTypeArguments(ae,Te.typeParameters,we,ie)):cloneSignature(Te);Ne.typeParameters=N.localTypeParameters;Ne.resolvedReturnType=N;Ne.flags=q?Ne.flags|4:Ne.flags&~4;le.push(Ne)}}return le}function findMatchingSignature(E,N,R,j,$){for(var q=0,G=E;q0){return undefined}for(var $=1;$1){j=j===undefined?$:-1}for(var q=0,G=N[$];q1){var le=ie.thisParameter;var _e=E.forEach(ae,(function(E){return E.thisParameter}));if(_e){var Ee=getIntersectionType(E.mapDefined(ae,(function(E){return E.thisParameter&&getTypeOfSymbol(E.thisParameter)})));le=createSymbolWithType(_e,Ee)}ce=createUnionSignature(ie,ae);ce.thisParameter=le}(R||(R=[])).push(ce)}}}}if(!E.length(R)&&j!==-1){var Te=N[j!==undefined?j:0];var we=Te.slice();var _loop_10=function(N){if(N!==Te){var R=N[0];E.Debug.assert(!!R,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass");we=!!R.typeParameters&&E.some(we,(function(E){return!!E.typeParameters&&!compareTypeParametersIdentical(R.typeParameters,E.typeParameters)}))?undefined:E.map(we,(function(E){return combineSignaturesOfUnionMembers(E,R)}));if(!we){return"break"}}};for(var Ie=0,Ne=N;Ie=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfUnionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineUnionParameters(N,R,$);var ie=combineUnionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=1048576;ce.compositeSignatures=E.concatenate(N.compositeKind!==2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind!==2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getUnionIndexInfos(N){var R=getIndexInfosOfType(N[0]);if(R){var j=[];var _loop_11=function(R){var $=R.keyType;if(E.every(N,(function(E){return!!getIndexInfoOfType(E,$)}))){j.push(createIndexInfo($,getUnionType(E.map(N,(function(E){return getIndexTypeOfType(E,$)}))),E.some(N,(function(E){return getIndexInfoOfType(E,$).isReadonly}))))}};for(var $=0,q=R;$0}));var j=E.map(N,isMixinConstructorType);if(R>0&&R===E.countWhere(j,(function(E){return E}))){var $=j.indexOf(true);j[$]=false}return j}function includeMixinType(E,N,R,j){var $=[];for(var q=0;q0){le=E.map(le,(function(E){var N=cloneSignature(E);N.resolvedReturnType=includeMixinType(getReturnTypeOfSignature(E),q,G,ae);return N}))}j=appendSignatures(j,le)}R=appendSignatures(R,getSignaturesOfType(ce,0));$=E.reduceLeft(getIndexInfosOfType(ce),(function(E,N){return appendIndexInfo(E,N,false)}),$)};for(var ae=0;ae=7):R.flags&528?un:R.flags&12288?getGlobalESSymbolType(Ye>=2):R.flags&67108864?Tr:R.flags&4194304?vr:R.flags&2&&!rt?Tr:R}function getReducedApparentType(E){return getReducedType(getApparentType(getReducedType(E)))}function createUnionOrIntersectionProperty(N,R,j){var $,q;var G;var ie;var ae;var ce=N.flags&1048576;var le=ce?0:16777216;var _e=4;var Ee=0;var Te=false;for(var we=0,Ie=N.types;we2){Ze.checkFlags|=65536;Ze.deferralParent=N;Ze.deferralConstituents=Ge}else{Ze.type=ce?getUnionType(Ge):getIntersectionType(Ge)}return Ze}function getUnionOrIntersectionProperty(N,R,j){var $,q;var G=(($=N.propertyCacheWithoutObjectFunctionPropertyAugment)===null||$===void 0?void 0:$.get(R))||!j?(q=N.propertyCache)===null||q===void 0?void 0:q.get(R):undefined;if(!G){G=createUnionOrIntersectionProperty(N,R,j);if(G){var ie=j?N.propertyCacheWithoutObjectFunctionPropertyAugment||(N.propertyCacheWithoutObjectFunctionPropertyAugment=E.createSymbolTable()):N.propertyCache||(N.propertyCache=E.createSymbolTable());ie.set(R,G)}}return G}function getPropertyOfUnionOrIntersectionType(N,R,j){var $=getUnionOrIntersectionProperty(N,R,j);return $&&!(E.getCheckFlags($)&16)?$:undefined}function getReducedType(N){if(N.flags&1048576&&N.objectFlags&33554432){return N.resolvedReducedType||(N.resolvedReducedType=getReducedUnionType(N))}else if(N.flags&2097152){if(!(N.objectFlags&33554432)){N.objectFlags|=33554432|(E.some(getPropertiesOfUnionOrIntersectionType(N),isNeverReducedProperty)?67108864:0)}return N.objectFlags&67108864?dr:N}return N}function getReducedUnionType(N){var R=E.sameMap(N.types,getReducedType);if(R===N.types){return N}var j=getUnionType(R);if(j.flags&1048576){j.resolvedReducedType=j}return j}function isNeverReducedProperty(E){return isDiscriminantWithNeverType(E)||isConflictingPrivateProperty(E)}function isDiscriminantWithNeverType(N){return!(N.flags&16777216)&&(E.getCheckFlags(N)&(192|131072))===192&&!!(getTypeOfSymbol(N).flags&131072)}function isConflictingPrivateProperty(N){return!N.valueDeclaration&&!!(E.getCheckFlags(N)&1024)}function elaborateNeverIntersection(N,R){if(R.flags&2097152&&E.getObjectFlags(R)&67108864){var j=E.find(getPropertiesOfUnionOrIntersectionType(R),isDiscriminantWithNeverType);if(j){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,typeToString(R,undefined,536870912),symbolToString(j))}var $=E.find(getPropertiesOfUnionOrIntersectionType(R),isConflictingPrivateProperty);if($){return E.chainDiagnosticMessages(N,E.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,typeToString(R,undefined,536870912),symbolToString($))}}return N}function getPropertyOfType(E,N,R){E=getReducedApparentType(E);if(E.flags&524288){var j=resolveStructuredTypeMembers(E);var $=j.members.get(N);if($&&symbolIsValue($)){return $}if(R)return undefined;var q=j===wr?rn:j.callSignatures.length?nn:j.constructSignatures.length?an:undefined;if(q){var G=getPropertyOfObjectType(q,N);if(G){return G}}return getPropertyOfObjectType(tn,N)}if(E.flags&3145728){return getPropertyOfUnionOrIntersectionType(E,N,R)}return undefined}function getSignaturesOfStructuredType(N,R){if(N.flags&3670016){var j=resolveStructuredTypeMembers(N);return R===0?j.callSignatures:j.constructSignatures}return E.emptyArray}function getSignaturesOfType(E,N){return getSignaturesOfStructuredType(getReducedApparentType(E),N)}function findIndexInfo(N,R){return E.find(N,(function(E){return E.keyType===R}))}function findApplicableIndexInfo(N,R){var j;var $;var q;for(var G=0,ie=N;G=0);return j>=getMinArgumentCount(R,1|2)}var $=E.getImmediatelyInvokedFunctionExpression(N.parent);if($){return!N.type&&!N.dotDotDotToken&&N.parent.parameters.indexOf(N)>=$.arguments.length}return false}function isOptionalPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&N.questionToken}function isOptionalJSDocPropertyLikeTag(N){if(!E.isJSDocPropertyLikeTag(N)){return false}var R=N.isBracketed,j=N.typeExpression;return R||!!j&&j.type.kind===311}function createTypePredicate(E,N,R,j){return{kind:E,parameterName:N,parameterIndex:R,type:j}}function getMinTypeArgumentCount(E){var N=0;if(E){for(var R=0;R=j&&G<=q){var ie=N?N.slice():[];for(var ae=G;aeae.arguments.length&&!we||isJSDocOptionalParameter(Ee);if(!Ne){q=j.length}}if((N.kind===170||N.kind===171)&&hasBindableName(N)&&(!ie||!G)){var Me=N.kind===170?171:170;var Le=E.getDeclarationOfKind(getSymbolOfNode(N),Me);if(Le){G=getAnnotatedAccessorThisParameter(Le)}}var Be=N.kind===169?getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol)):undefined;var je=Be?Be.localTypeParameters:getTypeParametersFromDeclaration(N);if(E.hasRestParameter(N)||E.isInJSFile(N)&&maybeAddJsSyntheticRestParameter(N,j)){$|=1}if(E.isConstructorTypeNode(N)&&E.hasSyntacticModifier(N,128)||E.isConstructorDeclaration(N)&&E.hasSyntacticModifier(N.parent,128)){$|=4}R.resolvedSignature=createSignature(N,je,G,j,undefined,undefined,q,$)}return R.resolvedSignature}function maybeAddJsSyntheticRestParameter(N,R){if(E.isJSDocSignature(N)||!containsArgumentsReference(N)){return false}var j=E.lastOrUndefined(N.parameters);var $=j?E.getJSDocParameterTags(j):E.getJSDocTags(N).filter(E.isJSDocParameterTag);var q=E.firstDefined($,(function(N){return N.typeExpression&&E.isJSDocVariadicType(N.typeExpression.type)?N.typeExpression.type:undefined}));var G=createSymbol(3,"args",32768);G.type=q?createArrayType(getTypeFromTypeNode(q.type)):mn;if(q){R.pop()}R.push(G);return true}function getSignatureOfTypeTag(N){if(!(E.isInJSFile(N)&&E.isFunctionLikeDeclaration(N)))return undefined;var R=E.getJSDocTypeTag(N);return(R===null||R===void 0?void 0:R.typeExpression)&&getSingleCallSignature(getTypeFromTypeNode(R.typeExpression))}function getReturnTypeOfTypeTag(E){var N=getSignatureOfTypeTag(E);return N&&getReturnTypeOfSignature(N)}function containsArgumentsReference(N){var R=getNodeLinks(N);if(R.containsArgumentsReference===undefined){if(R.flags&8192){R.containsArgumentsReference=true}else{R.containsArgumentsReference=traverse(N.body)}}return R.containsArgumentsReference;function traverse(N){if(!N)return false;switch(N.kind){case 79:return N.escapedText===xt.escapedName&&getResolvedSymbol(N)===xt;case 165:case 167:case 170:case 171:return N.name.kind===160&&traverse(N.name);case 204:case 205:return traverse(N.expression);default:return!E.nodeStartsNewLexicalEnvironment(N)&&!E.isPartOfTypeNode(N)&&!!E.forEachChild(N,traverse)}}}function getSignaturesOfSymbol(N){if(!N||!N.declarations)return E.emptyArray;var R=[];for(var j=0;j0&&$.body){var q=N.declarations[j-1];if($.parent===q.parent&&$.kind===q.kind&&$.pos===q.end){continue}}R.push(getSignatureFromDeclaration($))}return R}function resolveExternalModuleTypeByLiteral(E){var N=resolveExternalModuleName(E,E);if(N){var R=resolveExternalModuleSymbol(N);if(R){return getTypeOfSymbol(R)}}return zt}function getThisTypeOfSignature(E){if(E.thisParameter){return getTypeOfSymbol(E.thisParameter)}}function getTypePredicateOfSignature(N){if(!N.resolvedTypePredicate){if(N.target){var R=getTypePredicateOfSignature(N.target);N.resolvedTypePredicate=R?instantiateTypePredicate(R,N.mapper):Rr}else if(N.compositeSignatures){N.resolvedTypePredicate=getUnionOrIntersectionTypePredicate(N.compositeSignatures,N.compositeKind)||Rr}else{var j=N.declaration&&E.getEffectiveReturnTypeNode(N.declaration);var $=void 0;if(!j&&E.isInJSFile(N.declaration)){var q=getSignatureOfTypeTag(N.declaration);if(q&&N!==q){$=getTypePredicateOfSignature(q)}}N.resolvedTypePredicate=j&&E.isTypePredicateNode(j)?createTypePredicateFromTypePredicateNode(j,N):$||Rr}E.Debug.assert(!!N.resolvedTypePredicate)}return N.resolvedTypePredicate===Rr?undefined:N.resolvedTypePredicate}function createTypePredicateFromTypePredicateNode(N,R){var j=N.parameterName;var $=N.type&&getTypeFromTypeNode(N.type);return j.kind===190?createTypePredicate(N.assertsModifier?2:0,undefined,undefined,$):createTypePredicate(N.assertsModifier?3:1,j.escapedText,E.findIndex(R.parameters,(function(E){return E.escapedName===j.escapedText})),$)}function getUnionOrIntersectionType(E,N,R){return N!==2097152?getUnionType(E,R):getIntersectionType(E)}function getReturnTypeOfSignature(N){if(!N.resolvedReturnType){if(!pushTypeResolution(N,3)){return Jt}var R=N.target?instantiateType(getReturnTypeOfSignature(N.target),N.mapper):N.compositeSignatures?instantiateType(getUnionOrIntersectionType(E.map(N.compositeSignatures,getReturnTypeOfSignature),N.compositeKind,2),N.mapper):getReturnTypeFromAnnotation(N.declaration)||(E.nodeIsMissing(N.declaration.body)?zt:getReturnTypeFromBody(N.declaration));if(N.flags&8){R=addOptionalTypeMarker(R)}else if(N.flags&16){R=getOptionalType(R)}if(!popTypeResolution()){if(N.declaration){var j=E.getEffectiveReturnTypeNode(N.declaration);if(j){error(j,E.Diagnostics.Return_type_annotation_circularly_references_itself)}else if(st){var $=N.declaration;var q=E.getNameOfDeclaration($);if(q){error(q,E.Diagnostics._0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions,E.declarationNameToString(q))}else{error($,E.Diagnostics.Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions)}}}R=zt}N.resolvedReturnType=R}return N.resolvedReturnType}function getReturnTypeFromAnnotation(N){if(N.kind===169){return getDeclaredTypeOfClassOrInterface(getMergedSymbol(N.parent.symbol))}if(E.isJSDocConstructSignature(N)){return getTypeFromTypeNode(N.parameters[0].type)}var R=E.getEffectiveReturnTypeNode(N);if(R){return getTypeFromTypeNode(R)}if(N.kind===170&&hasBindableName(N)){var j=E.isInJSFile(N)&&getTypeForDeclarationFromJSDocComment(N);if(j){return j}var $=E.getDeclarationOfKind(getSymbolOfNode(N),171);var q=getAnnotatedAccessorType($);if(q){return q}}return getReturnTypeOfTypeTag(N)}function isResolvingReturnTypeOfSignature(E){return!E.resolvedReturnType&&findResolutionCycleStartIndex(E,3)>=0}function getRestTypeOfSignature(E){return tryGetRestTypeOfSignature(E)||zt}function tryGetRestTypeOfSignature(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);var R=isTupleType(N)?getRestTypeOfTupleType(N):N;return R&&getIndexTypeOfType(R,tr)}return undefined}function getSignatureInstantiation(E,N,R,j){var $=getSignatureInstantiationWithoutFillingInTypeArguments(E,fillMissingTypeArguments(N,E.typeParameters,getMinTypeArgumentCount(E.typeParameters),R));if(j){var q=getSingleCallOrConstructSignature(getReturnTypeOfSignature($));if(q){var G=cloneSignature(q);G.typeParameters=j;var ie=cloneSignature($);ie.resolvedReturnType=getOrCreateTypeFromSignature(G);return ie}}return $}function getSignatureInstantiationWithoutFillingInTypeArguments(N,R){var j=N.instantiations||(N.instantiations=new E.Map);var $=getTypeListId(R);var q=j.get($);if(!q){j.set($,q=createSignatureInstantiation(N,R))}return q}function createSignatureInstantiation(E,N){return instantiateSignature(E,createSignatureTypeMapper(E,N),true)}function createSignatureTypeMapper(E,N){return createTypeMapper(E.typeParameters,N)}function getErasedSignature(E){return E.typeParameters?E.erasedSignatureCache||(E.erasedSignatureCache=createErasedSignature(E)):E}function createErasedSignature(E){return instantiateSignature(E,createTypeEraser(E.typeParameters),true)}function getCanonicalSignature(E){return E.typeParameters?E.canonicalSignatureCache||(E.canonicalSignatureCache=createCanonicalSignature(E)):E}function createCanonicalSignature(N){return getSignatureInstantiation(N,E.map(N.typeParameters,(function(E){return E.target&&!getConstraintOfTypeParameter(E.target)?E.target:E})),E.isInJSFile(N.declaration))}function getBaseSignature(N){var R=N.typeParameters;if(R){if(N.baseSignatureCache){return N.baseSignatureCache}var j=createTypeEraser(R);var $=createTypeMapper(R,E.map(R,(function(E){return getConstraintOfTypeParameter(E)||Ht})));var q=E.map(R,(function(E){return instantiateType(E,$)||Ht}));for(var G=0;G1){N+=":"+q}j+=q}}return N}function getAliasId(E,N){return E?"@"+getSymbolId(E)+(N?":"+getTypeListId(N):""):""}function getPropagatingFlagsOfTypes(N,R){var j=0;for(var $=0,q=N;$$.length)){var ce=ie&&E.isExpressionWithTypeArguments(N)&&!E.isJSDocAugmentsTag(N.parent);var le=G===$.length?ce?E.Diagnostics.Expected_0_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_1_type_argument_s:ce?E.Diagnostics.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments;var _e=typeToString(j,undefined,2);error(N,le,_e,G,$.length);if(!ie){return Jt}}if(N.kind===176&&isDeferredTypeReferenceNode(N,E.length(N.typeArguments)!==$.length)){return createDeferredTypeReference(j,N,undefined)}var Ee=E.concatenate(j.outerTypeParameters,fillMissingTypeArguments(typeArgumentsFromTypeReferenceNode(N),$,G,ie));return createTypeReference(j,Ee)}return checkNoTypeArguments(N,R)?j:Jt}function getTypeAliasInstantiation(N,R,j,$){var q=getDeclaredTypeOfSymbol(N);if(q===qt&&Ke.has(N.escapedName)&&R&&R.length===1){return getStringMappingType(N,R[0])}var G=getSymbolLinks(N);var ie=G.typeParameters;var ae=getTypeListId(R)+getAliasId(j,$);var ce=G.instantiations.get(ae);if(!ce){G.instantiations.set(ae,ce=instantiateTypeWithAlias(q,createTypeMapper(ie,fillMissingTypeArguments(R,ie,getMinTypeArgumentCount(ie),E.isInJSFile(N.valueDeclaration))),j,$))}return ce}function getTypeFromTypeAliasReference(N,R){var j=getDeclaredTypeOfSymbol(R);var $=getSymbolLinks(R).typeParameters;if($){var q=E.length(N.typeArguments);var G=getMinTypeArgumentCount($);if(q$.length){error(N,G===$.length?E.Diagnostics.Generic_type_0_requires_1_type_argument_s:E.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,symbolToString(R),G,$.length);return Jt}var ie=getAliasSymbolForTypeNode(N);var ae=ie&&(isLocalTypeAlias(R)||!isLocalTypeAlias(ie))?ie:undefined;return getTypeAliasInstantiation(R,typeArgumentsFromTypeReferenceNode(N),ae,getTypeArgumentsForAliasSymbol(ae))}return checkNoTypeArguments(N,R)?j:Jt}function isLocalTypeAlias(N){var R;var j=(R=N.declarations)===null||R===void 0?void 0:R.find(E.isTypeAlias);return!!(j&&E.getContainingFunction(j))}function getTypeReferenceName(N){switch(N.kind){case 176:return N.typeName;case 226:var R=N.expression;if(E.isEntityNameExpression(R)){return R}}return undefined}function resolveTypeReferenceName(E,N,R){if(!E){return jt}return resolveEntityName(E,N,R)||jt}function getTypeReferenceType(E,N){if(N===jt){return Jt}N=getExpandoSymbol(N)||N;if(N.flags&(32|64)){return getTypeFromClassOrInterfaceReference(E,N)}if(N.flags&524288){return getTypeFromTypeAliasReference(E,N)}var R=tryGetDeclaredTypeOfSymbol(N);if(R){return checkNoTypeArguments(E,N)?getRegularTypeOfLiteralType(R):Jt}if(N.flags&111551&&isJSDocTypeReference(E)){var j=getTypeFromJSDocValueReference(E,N);if(j){return j}else{resolveTypeReferenceName(getTypeReferenceName(E),788968);return getTypeOfSymbol(N)}}return Jt}function getTypeFromJSDocValueReference(E,N){var R=getNodeLinks(E);if(!R.resolvedJSDocType){var j=getTypeOfSymbol(N);var $=j;if(N.valueDeclaration){var q=E.kind===198&&E.qualifier;if(j.symbol&&j.symbol!==N&&q){$=getTypeReferenceType(E,j.symbol)}}R.resolvedJSDocType=$}return R.resolvedJSDocType}function getSubstitutionType(E,N){if(N.flags&3||N===E){return E}var R=getTypeId(E)+">"+getTypeId(N);var j=Mt.get(R);if(j){return j}var $=createType(33554432);$.baseType=E;$.substitute=N;Mt.set(R,$);return $}function isUnaryTupleTypeNode(E){return E.kind===182&&E.elements.length===1}function getImpliedConstraint(E,N,R){return isUnaryTupleTypeNode(N)&&isUnaryTupleTypeNode(R)?getImpliedConstraint(E,N.elements[0],R.elements[0]):getActualTypeVariable(getTypeFromTypeNode(N))===E?getTypeFromTypeNode(R):undefined}function getConditionalFlowTypeOfType(N,R){var j;var $=true;while(R&&!E.isStatement(R)&&R.kind!==315){var q=R.parent;if(q.kind===162){$=!$}if(($||N.flags&8650752)&&q.kind===187&&R===q.trueType){var G=getImpliedConstraint(N,q.checkType,q.extendsType);if(G){j=E.append(j,G)}}R=q}return j?getSubstitutionType(N,getIntersectionType(E.append(j,N))):N}function isJSDocTypeReference(E){return!!(E.flags&4194304)&&(E.kind===176||E.kind===198)}function checkNoTypeArguments(N,j){if(N.typeArguments){error(N,E.Diagnostics.Type_0_is_not_generic,j?symbolToString(j):N.typeName?E.declarationNameToString(N.typeName):R);return false}return true}function getIntendedTypeFromJSDocTypeReference(N){if(E.isIdentifier(N.typeName)){var R=N.typeArguments;switch(N.typeName.escapedText){case"String":checkNoTypeArguments(N);return er;case"Number":checkNoTypeArguments(N);return tr;case"Boolean":checkNoTypeArguments(N);return cr;case"Void":checkNoTypeArguments(N);return ur;case"Undefined":checkNoTypeArguments(N);return Gt;case"Null":checkNoTypeArguments(N);return Yt;case"Function":case"function":checkNoTypeArguments(N);return rn;case"array":return(!R||!R.length)&&!st?mn:undefined;case"promise":return(!R||!R.length)&&!st?createPromiseType(zt):undefined;case"Object":if(R&&R.length===2){if(E.isJSDocIndexSignature(N)){var j=getTypeFromTypeNode(R[0]);var $=getTypeFromTypeNode(R[1]);var q=j===er||j===tr?[createIndexInfo(j,$,false)]:E.emptyArray;return createAnonymousType(undefined,He,E.emptyArray,E.emptyArray,q)}return zt}checkNoTypeArguments(N);return!st?zt:undefined}}}function getTypeFromJSDocNullableTypeNode(E){var N=getTypeFromTypeNode(E.type);return rt?getNullableType(N,65536):N}function getTypeFromTypeReference(N){var R=getNodeLinks(N);if(!R.resolvedType){if(E.isConstTypeReference(N)&&E.isAssertionExpression(N.parent)){R.resolvedSymbol=jt;return R.resolvedType=checkExpressionCached(N.parent.expression)}var j=void 0;var $=void 0;var q=788968;if(isJSDocTypeReference(N)){$=getIntendedTypeFromJSDocTypeReference(N);if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q,true);if(j===jt){j=resolveTypeReferenceName(getTypeReferenceName(N),q|111551)}else{resolveTypeReferenceName(getTypeReferenceName(N),q)}$=getTypeReferenceType(N,j)}}if(!$){j=resolveTypeReferenceName(getTypeReferenceName(N),q);$=getTypeReferenceType(N,j)}R.resolvedSymbol=j;R.resolvedType=$}return R.resolvedType}function typeArgumentsFromTypeReferenceNode(N){return E.map(N.typeArguments,getTypeFromTypeNode)}function getTypeFromTypeQueryNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=E.isThisIdentifier(N.exprName)?checkThisExpression(N.exprName):checkExpression(N.exprName);R.resolvedType=getRegularTypeOfLiteralType(getWidenedType(j))}return R.resolvedType}function getTypeOfGlobalSymbol(N,R){function getTypeDeclaration(E){var N=E.declarations;if(N){for(var R=0,j=N;R=0){return checkCrossProductUnion(E.map(R,(function(E,R){return N.elementFlags[R]&8?E:Ht})))?mapType(R[G],(function(j){return createNormalizedTupleType(N,E.replaceElement(R,G,j))})):Jt}}var ie=[];var ae=[];var ce=[];var le=-1;var _e=-1;var Ee=-1;var _loop_15=function(G){var ae=R[G];var ce=N.elementFlags[G];if(ce&8){if(ae.flags&58982400||isGenericMappedType(ae)){addElement(ae,8,(j=N.labeledElementDeclarations)===null||j===void 0?void 0:j[G])}else if(isTupleType(ae)){var le=getTypeArguments(ae);if(le.length+ie.length>=1e4){error(qe,E.isPartOfTypeNode(qe)?E.Diagnostics.Type_produces_a_tuple_type_that_is_too_large_to_represent:E.Diagnostics.Expression_produces_a_tuple_type_that_is_too_large_to_represent);return{value:Jt}}E.forEach(le,(function(E,N){var R;return addElement(E,ae.target.elementFlags[N],(R=ae.target.labeledElementDeclarations)===null||R===void 0?void 0:R[N])}))}else{addElement(isArrayLikeType(ae)&&getIndexTypeOfType(ae,tr)||Jt,4,($=N.labeledElementDeclarations)===null||$===void 0?void 0:$[G])}}else{addElement(ae,ce,(q=N.labeledElementDeclarations)===null||q===void 0?void 0:q[G])}};for(var Te=0;Te=0&&_e$.fixedLength?getRestArrayTypeOfTupleType(N)||createTupleType(E.emptyArray):createTupleType(getTypeArguments(N).slice(R,q),$.elementFlags.slice(R,q),false,$.labeledElementDeclarations&&$.labeledElementDeclarations.slice(R,q))}function getKnownKeysOfTupleType(N){return getUnionType(E.append(E.arrayOf(N.target.fixedLength,(function(E){return getStringLiteralType(""+E)})),getIndexType(N.target.readonly?sn:on)))}function getStartElementCount(N,R){var j=E.findIndex(N.elementFlags,(function(E){return!(E&R)}));return j>=0?j:N.elementFlags.length}function getEndElementCount(N,R){return N.elementFlags.length-E.findLastIndex(N.elementFlags,(function(E){return!(E&R)}))-1}function getTypeFromOptionalTypeNode(E){return addOptionality(getTypeFromTypeNode(E.type),true)}function getTypeId(E){return E.id}function containsType(N,R){return E.binarySearch(N,R,getTypeId,E.compareValues)>=0}function insertType(N,R){var j=E.binarySearch(N,R,getTypeId,E.compareValues);if(j<0){N.splice(~j,0,R);return true}return false}function addTypeToUnion(N,R,j){var $=j.flags;if($&1048576){return addTypesToUnion(N,R|(isNamedUnionType(j)?1048576:0),j.types)}if(!($&131072)){R|=$&205258751;if($&469499904)R|=262144;if(j===$t)R|=8388608;if(!rt&&$&98304){if(!(E.getObjectFlags(j)&131072))R|=4194304}else{var q=N.length;var G=q&&j.id>N[q-1].id?~q:E.binarySearch(N,j,getTypeId,E.compareValues);if(G<0){N.splice(~G,0,j)}}}return R}function addTypesToUnion(E,N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];N=addTypeToUnion(E,N,q)}return N}function removeSubtypes(N,R){var j=getTypeListId(N);var $=Rt.get(j);if($){return $}var q=R&&E.some(N,(function(E){return!!(E.flags&524288)&&!isGenericMappedType(E)&&isEmptyResolvedType(resolveStructuredTypeMembers(E))}));var G=N.length;var ie=G;var ae=0;while(ie>0){ie--;var ce=N[ie];if(q||ce.flags&469499904){var le=ce.flags&(524288|2097152|58982400)?E.find(getPropertiesOfType(ce),(function(E){return isUnitType(getTypeOfSymbol(E))})):undefined;var _e=le&&getRegularTypeOfLiteralType(getTypeOfSymbol(le));for(var Ee=0,Te=N;Ee1e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:N.map((function(E){return E.id}))});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return undefined}}ae++;if(le&&we.flags&(524288|2097152|58982400)){var Ne=getTypeOfPropertyOfType(we,le.escapedName);if(Ne&&isUnitType(Ne)&&getRegularTypeOfLiteralType(Ne)!==_e){continue}}if(isTypeRelatedTo(ce,we,wi)&&(!(E.getObjectFlags(getTargetType(ce))&1)||!(E.getObjectFlags(getTargetType(we))&1)||isTypeDerivedFrom(ce,we))){E.orderedRemoveItemAt(N,ie);break}}}}}Rt.set(j,N);return N}function removeRedundantLiteralTypes(N,R,j){var $=N.length;while($>0){$--;var q=N[$];var G=q.flags;var ie=G&(128|134217728|268435456)&&R&4||G&256&&R&8||G&2048&&R&64||G&8192&&R&4096||j&&G&32768&&R&16384||isFreshLiteralType(q)&&containsType(N,q.regularType);if(ie){E.orderedRemoveItemAt(N,$)}}}function removeStringLiteralsMatchedByTemplateLiterals(N){var R=E.filter(N,isPatternLiteralType);if(R.length){var j=N.length;var _loop_16=function(){j--;var $=N[j];if($.flags&128&&E.some(R,(function(E){return isTypeSubtypeOf($,E)}))){E.orderedRemoveItemAt(N,j)}};while(j>0){_loop_16()}}}function isNamedUnionType(E){return!!(E.flags&1048576&&(E.aliasSymbol||E.origin))}function addNamedUnions(N,R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if(q.flags&1048576){var G=q.origin;if(q.aliasSymbol||G&&!(G.flags&1048576)){E.pushIfUnique(N,q)}else if(G&&G.flags&1048576){addNamedUnions(N,G.types)}}}}function createOriginUnionOrIntersectionType(E,N){var R=createOriginType(E);R.types=N;return R}function getUnionType(N,R,j,$,q){if(R===void 0){R=1}if(N.length===0){return dr}if(N.length===1){return N[0]}var G=[];var ie=addTypesToUnion(G,0,N);if(R!==0){if(ie&3){return ie&1?ie&8388608?$t:zt:Ht}if(ft&&ie&32768){var ae=E.binarySearch(G,Xt,getTypeId,E.compareValues);if(ae>=0&&containsType(G,Gt)){E.orderedRemoveItemAt(G,ae)}}if(ie&(2944|8192|134217728|268435456)||ie&16384&&ie&32768){removeRedundantLiteralTypes(G,ie,!!(R&2))}if(ie&128&&ie&134217728){removeStringLiteralsMatchedByTemplateLiterals(G)}if(R===2){G=removeSubtypes(G,!!(ie&524288));if(!G){return Jt}}if(G.length===0){return ie&65536?ie&4194304?Yt:Zt:ie&32768?ie&4194304?Gt:Kt:dr}}if(!q&&ie&1048576){var ce=[];addNamedUnions(ce,N);var le=[];var _loop_17=function(N){if(!E.some(ce,(function(E){return containsType(E.types,N)}))){le.push(N)}};for(var _e=0,Ee=G;_e0){j--;var $=N[j];var q=$.flags&4&&R&128||$.flags&8&&R&256||$.flags&64&&R&2048||$.flags&4096&&R&8192;if(q){E.orderedRemoveItemAt(N,j)}}}function eachUnionContains(E,N){for(var R=0,j=E;R0){R--;var $=N[R];if(!($.flags&134217728))continue;for(var q=0,G=j;q=1e5){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","checkCrossProductUnion_DepthLimit",{typeIds:N.map((function(E){return E.id})),size:R});error(qe,E.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent);return false}return true}function getCrossProductIntersections(E){var N=getCrossProductUnionSize(E);var R=[];for(var j=0;j=0;G--){if(E[G].flags&1048576){var ie=E[G].types;var ae=ie.length;$[G]=ie[q%ae];q=Math.floor(q/ae)}}var ce=getIntersectionType($);if(!(ce.flags&131072))R.push(ce)}return R}function getTypeFromIntersectionTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){var j=getAliasSymbolForTypeNode(N);R.resolvedType=getIntersectionType(E.map(N.types,getTypeFromTypeNode),j,getTypeArgumentsForAliasSymbol(j))}return R.resolvedType}function createIndexType(E,N){var R=createType(4194304);R.type=E;R.stringsOnly=N;return R}function createOriginIndexType(E){var N=createOriginType(4194304);N.type=E;return N}function getIndexTypeForGenericType(E,N){return N?E.resolvedStringIndexType||(E.resolvedStringIndexType=createIndexType(E,true)):E.resolvedIndexType||(E.resolvedIndexType=createIndexType(E,false))}function instantiateTypeAsMappedNameType(E,N,R){return instantiateType(E,appendTypeMapping(N.mapper,getTypeParameterFromMappedType(N),R))}function getIndexTypeForMappedType(N,R){var j=filterType(getConstraintTypeFromMappedType(N),(function(E){return!(R&&E.flags&(1|4))}));var $=N.declaration.nameType&&getTypeFromTypeNode(N.declaration.nameType);var q=$&&everyType(j,(function(E){return!!(E.flags&(4|8|131072))}))&&getPropertiesOfType(getApparentType(getModifiersTypeFromMappedType(N)));return $?getUnionType([mapType(j,(function(E){return instantiateTypeAsMappedNameType($,N,E)})),mapType(getUnionType(E.map(q||E.emptyArray,(function(E){return getLiteralTypeFromProperty(E,8576)}))),(function(E){return instantiateTypeAsMappedNameType($,N,E)}))]):j}function hasDistributiveNameType(N){var R=getTypeParameterFromMappedType(N);return isDistributive(getNameTypeFromMappedType(N)||R);function isDistributive(N){return N.flags&(3|131068|131072|262144|524288|67108864)?true:N.flags&16777216?N.root.isDistributive&&N.checkType===R:N.flags&(3145728|134217728)?E.every(N.types,isDistributive):N.flags&8388608?isDistributive(N.objectType)&&isDistributive(N.indexType):N.flags&33554432?isDistributive(N.substitute):N.flags&268435456?isDistributive(N.type):false}}function getLiteralTypeFromPropertyName(N){if(E.isPrivateIdentifier(N)){return dr}return E.isIdentifier(N)?getStringLiteralType(E.unescapeLeadingUnderscores(N.escapedText)):getRegularTypeOfLiteralType(E.isComputedPropertyName(N)?checkComputedPropertyName(N):checkExpression(N))}function getLiteralTypeFromProperty(N,R,j){if(j||!(E.getDeclarationModifierFlagsFromSymbol(N)&24)){var $=getSymbolLinks(getLateBoundSymbol(N)).nameType;if(!$){var q=E.getNameOfDeclaration(N.valueDeclaration);$=N.escapedName==="default"?getStringLiteralType("default"):q&&getLiteralTypeFromPropertyName(q)||(!E.isKnownSymbol(N)?getStringLiteralType(E.symbolName(N)):undefined)}if($&&$.flags&R){return $}}return dr}function getLiteralTypeFromProperties(N,R,j){var $=j&&(E.getObjectFlags(N)&(3|4)||N.aliasSymbol)?createOriginIndexType(N):undefined;var q=E.map(getPropertiesOfType(N),(function(E){return getLiteralTypeFromProperty(E,R)}));var G=E.map(getIndexInfosOfType(N),(function(E){return E!==zr&&E.keyType.flags&R?E.keyType===er&&R&8?_r:E.keyType:dr}));return getUnionType(E.concatenate(q,G),1,undefined,undefined,$)}function getIndexType(N,R,j){if(R===void 0){R=dt}N=getReducedType(N);return N.flags&1048576?getIntersectionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&2097152?getUnionType(E.map(N.types,(function(E){return getIndexType(E,R,j)}))):N.flags&58982400||isGenericTupleType(N)||isGenericMappedType(N)&&!hasDistributiveNameType(N)?getIndexTypeForGenericType(N,R):E.getObjectFlags(N)&32?getIndexTypeForMappedType(N,j):N===$t?$t:N.flags&2?dr:N.flags&(1|131072)?vr:getLiteralTypeFromProperties(N,(j?128:402653316)|(R?0:296|12288),R===dt&&!j)}function getExtractStringType(E){if(dt){return E}var N=getGlobalExtractSymbol();return N?getTypeAliasInstantiation(N,[E,er]):er}function getIndexTypeOrString(E){var N=getExtractStringType(getIndexType(E));return N.flags&131072?er:N}function getTypeFromTypeOperatorNode(N){var R=getNodeLinks(N);if(!R.resolvedType){switch(N.operator){case 139:R.resolvedType=getIndexType(getTypeFromTypeNode(N.type));break;case 152:R.resolvedType=N.type.kind===149?getESSymbolLikeTypeForNode(E.walkUpParenthesizedTypes(N.parent)):Jt;break;case 143:R.resolvedType=getTypeFromTypeNode(N.type);break;default:throw E.Debug.assertNever(N.operator)}}return R.resolvedType}function getTypeFromTemplateTypeNode(N){var R=getNodeLinks(N);if(!R.resolvedType){R.resolvedType=getTemplateLiteralType(j([N.head.text],E.map(N.templateSpans,(function(E){return E.literal.text})),true),E.map(N.templateSpans,(function(E){return getTypeFromTypeNode(E.type)})))}return R.resolvedType}function getTemplateLiteralType(N,R){var j=E.findIndex(R,(function(E){return!!(E.flags&(131072|1048576))}));if(j>=0){return checkCrossProductUnion(R)?mapType(R[j],(function($){return getTemplateLiteralType(N,E.replaceElement(R,j,$))})):Jt}if(E.contains(R,$t)){return $t}var $=[];var q=[];var G=N[0];if(!addSpans(N,R)){return er}if($.length===0){return getStringLiteralType(G)}q.push(G);if(E.every(q,(function(E){return E===""}))&&E.every($,(function(E){return!!(E.flags&4)}))){return er}var ie=getTypeListId($)+"|"+E.map(q,(function(E){return E.length})).join(",")+"|"+q.join("");var ae=Nt.get(ie);if(!ae){Nt.set(ie,ae=createTemplateLiteralType(q,$))}return ae;function addSpans(E,N){for(var R=0;R=0){if(q&&everyType(R,(function(E){return!E.target.hasRestElement}))&&!(G&16)){var Te=getIndexNodeForAccessExpression(q);if(isTupleType(R)){error(Te,E.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,typeToString(R),getTypeReferenceArity(R),E.unescapeLeadingUnderscores(ce))}else{error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}}errorIfWritingToReadonlyIndex(getIndexInfoOfType(R,tr));return mapType(R,(function(E){var N=getRestTypeOfTupleType(E)||Gt;return G&1?getUnionType([N,Gt]):N}))}}if(!(j.flags&98304)&&isTypeAssignableToKind(j,402653316|296|12288)){if(R.flags&(1|131072)){return R}var we=getApplicableIndexInfo(R,j)||getIndexInfoOfType(R,er);if(we){if(G&2&&we.keyType!==tr){if(ae){error(ae,E.Diagnostics.Type_0_cannot_be_used_to_index_type_1,typeToString(j),typeToString(N))}return undefined}if(q&&we.keyType===er&&!isTypeAssignableToKind(j,4|8)){var Te=getIndexNodeForAccessExpression(q);error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j));return G&1?getUnionType([we.type,Gt]):we.type}errorIfWritingToReadonlyIndex(we);return G&1?getUnionType([we.type,Gt]):we.type}if(j.flags&131072){return dr}if(isJSLiteralType(R)){return zt}if(ae&&!isConstEnumObjectType(R)){if(isObjectLiteralType(R)){if(st&&j.flags&(128|256)){xi.add(E.createDiagnosticForNode(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R)));return Gt}else if(j.flags&(8|4)){var Ie=E.map(R.properties,(function(E){return getTypeOfSymbol(E)}));return getUnionType(E.append(Ie,Gt))}}if(R.symbol===bt&&ce!==undefined&&bt.exports.has(ce)&&bt.exports.get(ce).flags&418){error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores(ce),typeToString(R))}else if(st&&!Xe.suppressImplicitAnyIndexErrors&&!(G&128)){if(ce!==undefined&&typeHasStaticProperty(ce,R)){var Ne=typeToString(R);error(ae,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,ce,Ne,Ne+"["+E.getTextOfNode(ae.argumentExpression)+"]")}else if(getIndexTypeOfType(R,tr)){error(ae.argumentExpression,E.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number)}else{var Me=void 0;if(ce!==undefined&&(Me=getSuggestionForNonexistentProperty(ce,R))){if(Me!==undefined){error(ae.argumentExpression,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,ce,typeToString(R),Me)}}else{var Le=getSuggestionForNonexistentIndexSignature(R,ae,j);if(Le!==undefined){error(ae,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,typeToString(R),Le)}else{var Be=void 0;if(j.flags&1024){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+typeToString(j)+"]",typeToString(R))}else if(j.flags&8192){var je=getFullyQualifiedName(j.symbol,ae);Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,"["+je+"]",typeToString(R))}else if(j.flags&128){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&256){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.Property_0_does_not_exist_on_type_1,j.value,typeToString(R))}else if(j.flags&(8|4)){Be=E.chainDiagnosticMessages(undefined,E.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,typeToString(j),typeToString(R))}Be=E.chainDiagnosticMessages(Be,E.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,typeToString($),typeToString(R));xi.add(E.createDiagnosticForNodeFromMessageChain(ae,Be))}}}}return undefined}}if(isJSLiteralType(R)){return zt}if(q){var Te=getIndexNodeForAccessExpression(q);if(j.flags&(128|256)){error(Te,E.Diagnostics.Property_0_does_not_exist_on_type_1,""+j.value,typeToString(R))}else if(j.flags&(4|8)){error(Te,E.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,typeToString(R),typeToString(j))}else{error(Te,E.Diagnostics.Type_0_cannot_be_used_as_an_index_type,typeToString(j))}}if(isTypeAny(j)){return j}return undefined;function errorIfWritingToReadonlyIndex(N){if(N&&N.isReadonly&&ae&&(E.isAssignmentTarget(ae)||E.isDeleteTarget(ae))){error(ae,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(R))}}}function getIndexNodeForAccessExpression(E){return E.kind===205?E.argumentExpression:E.kind===192?E.indexType:E.kind===160?E.expression:E}function isPatternLiteralPlaceholderType(E){return!!(E.flags&(1|4|8|64))}function isPatternLiteralType(N){return!!(N.flags&134217728)&&E.every(N.types,isPatternLiteralPlaceholderType)}function isGenericType(E){return!!getGenericObjectFlags(E)}function isGenericObjectType(E){return!!(getGenericObjectFlags(E)&8388608)}function isGenericIndexType(E){return!!(getGenericObjectFlags(E)&16777216)}function getGenericObjectFlags(N){if(N.flags&3145728){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|E.reduceLeft(N.types,(function(E,N){return E|getGenericObjectFlags(N)}),0)}return N.objectFlags&25165824}if(N.flags&33554432){if(!(N.objectFlags&4194304)){N.objectFlags|=4194304|getGenericObjectFlags(N.substitute)|getGenericObjectFlags(N.baseType)}return N.objectFlags&25165824}return(N.flags&58982400||isGenericMappedType(N)||isGenericTupleType(N)?8388608:0)|(N.flags&(58982400|4194304|134217728|268435456)&&!isPatternLiteralType(N)?16777216:0)}function isThisTypeParameter(E){return!!(E.flags&262144&&E.isThisType)}function getSimplifiedType(E,N){return E.flags&8388608?getSimplifiedIndexedAccessType(E,N):E.flags&16777216?getSimplifiedConditionalType(E,N):E}function distributeIndexOverObjectType(N,R,j){if(N.flags&3145728){var $=E.map(N.types,(function(E){return getSimplifiedType(getIndexedAccessType(E,R),j)}));return N.flags&2097152||j?getIntersectionType($):getUnionType($)}}function distributeObjectOverIndexType(N,R,j){if(R.flags&1048576){var $=E.map(R.types,(function(E){return getSimplifiedType(getIndexedAccessType(N,E),j)}));return j?getIntersectionType($):getUnionType($)}}function getSimplifiedIndexedAccessType(E,N){var R=N?"simplifiedForWriting":"simplifiedForReading";if(E[R]){return E[R]===Fr?E:E[R]}E[R]=Fr;var j=getSimplifiedType(E.objectType,N);var $=getSimplifiedType(E.indexType,N);var q=distributeObjectOverIndexType(j,$,N);if(q){return E[R]=q}if(!($.flags&465829888)){var G=distributeIndexOverObjectType(j,$,N);if(G){return E[R]=G}}if(isGenericTupleType(j)&&$.flags&296){var ie=getElementTypeOfSliceOfTupleType(j,$.flags&8?0:j.target.fixedLength,0,N);if(ie){return E[R]=ie}}if(isGenericMappedType(j)){return E[R]=mapType(substituteIndexedMappedType(j,E.indexType),(function(E){return getSimplifiedType(E,N)}))}return E[R]=E}function isConditionalTypeAlwaysTrueDisregardingInferTypes(N){var R=N.root.inferTypeParameters&&createTypeMapper(N.root.inferTypeParameters,E.map(N.root.inferTypeParameters,(function(){return $t})));var j=N.checkType;var $=N.extendsType;return isTypeAssignableTo(getRestrictiveInstantiation(j),getRestrictiveInstantiation(instantiateType($,R)))}function getSimplifiedConditionalType(E,N){var R=E.checkType;var j=E.extendsType;var $=getTrueTypeFromConditionalType(E);var q=getFalseTypeFromConditionalType(E);if(q.flags&131072&&getActualTypeVariable($)===getActualTypeVariable(R)){if(R.flags&1||isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return getSimplifiedType($,N)}else if(isIntersectionEmpty(R,j)){return dr}}else if($.flags&131072&&getActualTypeVariable(q)===getActualTypeVariable(R)){if(!(R.flags&1)&&isTypeAssignableTo(getRestrictiveInstantiation(R),getRestrictiveInstantiation(j))){return dr}else if(R.flags&1||isIntersectionEmpty(R,j)){return getSimplifiedType(q,N)}}return E}function isIntersectionEmpty(E,N){return!!(getUnionType([intersectTypes(E,N),dr]).flags&131072)}function substituteIndexedMappedType(E,N){var R=createTypeMapper([getTypeParameterFromMappedType(E)],[N]);var j=combineTypeMappers(E.mapper,R);return instantiateType(getTemplateTypeFromMappedType(E),j)}function getIndexedAccessType(E,N,R,j,$,q){if(R===void 0){R=0}return getIndexedAccessTypeOrUndefined(E,N,R,j,$,q)||(j?Jt:Ht)}function indexTypeLessThan(E,N){return everyType(E,(function(E){if(E.flags&384){var R=getPropertyNameFromType(E);if(isNumericLiteralName(R)){var j=+R;return j>=0&&j=R?Ht:j}))}function combineTypeMappers(E,N){return E?makeCompositeTypeMapper(3,E,N):N}function mergeTypeMappers(E,N){return E?makeCompositeTypeMapper(4,E,N):N}function prependTypeMapping(E,N,R){return!R?makeUnaryTypeMapper(E,N):makeCompositeTypeMapper(4,makeUnaryTypeMapper(E,N),R)}function appendTypeMapping(E,N,R){return!E?makeUnaryTypeMapper(N,R):makeCompositeTypeMapper(4,E,makeUnaryTypeMapper(N,R))}function getRestrictiveTypeParameter(E){return E.constraint===Ht?E:E.restrictiveInstantiation||(E.restrictiveInstantiation=createTypeParameter(E.symbol),E.restrictiveInstantiation.constraint=Ht,E.restrictiveInstantiation)}function cloneTypeParameter(E){var N=createTypeParameter(E.symbol);N.target=E;return N}function instantiateTypePredicate(E,N){return createTypePredicate(E.kind,E.parameterName,E.parameterIndex,instantiateType(E.type,N))}function instantiateSignature(N,R,j){var $;if(N.typeParameters&&!j){$=E.map(N.typeParameters,cloneTypeParameter);R=combineTypeMappers(createTypeMapper(N.typeParameters,$),R);for(var q=0,G=$;q=5e6){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:N.id,instantiationDepth:Ve,instantiationCount:We});error(qe,E.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite);return Jt}ze++;We++;Ve++;var q=instantiateTypeWorker(N,R,j,$);Ve--;return q}function instantiateTypeWorker(E,N,R,j){var $=E.flags;if($&262144){return getMappedType(E,N)}if($&524288){var q=E.objectFlags;if(q&(4|16|32)){if(q&4&&!E.node){var G=E.resolvedTypeArguments;var ie=instantiateTypes(G,N);return ie!==G?createNormalizedTypeReference(E.target,ie):E}if(q&1024){return instantiateReverseMappedType(E,N)}return getObjectTypeInstantiation(E,N,R,j)}return E}if($&3145728){var ae=E.flags&1048576?E.origin:undefined;var ce=ae&&ae.flags&3145728?ae.types:E.types;var le=instantiateTypes(ce,N);if(le===ce&&R===E.aliasSymbol){return E}var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return $&2097152||ae&&ae.flags&2097152?getIntersectionType(le,_e,Ee):getUnionType(le,1,_e,Ee)}if($&4194304){return getIndexType(instantiateType(E.type,N))}if($&134217728){return getTemplateLiteralType(E.texts,instantiateTypes(E.types,N))}if($&268435456){return getStringMappingType(E.symbol,instantiateType(E.type,N))}if($&8388608){var _e=R||E.aliasSymbol;var Ee=R?j:instantiateTypes(E.aliasTypeArguments,N);return getIndexedAccessType(instantiateType(E.objectType,N),instantiateType(E.indexType,N),E.accessFlags,undefined,_e,Ee)}if($&16777216){return getConditionalTypeInstantiation(E,combineTypeMappers(E.mapper,N),R,j)}if($&33554432){var Te=instantiateType(E.baseType,N);if(Te.flags&8650752){return getSubstitutionType(Te,instantiateType(E.substitute,N))}else{var we=instantiateType(E.substitute,N);if(we.flags&3||isTypeAssignableTo(getRestrictiveInstantiation(Te),getRestrictiveInstantiation(we))){return Te}return we}}return E}function instantiateReverseMappedType(N,R){var j=instantiateType(N.mappedType,R);if(!(E.getObjectFlags(j)&32)){return N}var $=instantiateType(N.constraintType,R);if(!($.flags&4194304)){return N}var q=inferTypeForHomomorphicMappedType(instantiateType(N.source,R),j,$);if(q){return q}return N}function getPermissiveInstantiation(E){return E.flags&(131068|3|131072)?E:E.permissiveInstantiation||(E.permissiveInstantiation=instantiateType(E,Er))}function getRestrictiveInstantiation(E){if(E.flags&(131068|3|131072)){return E}if(E.restrictiveInstantiation){return E.restrictiveInstantiation}E.restrictiveInstantiation=instantiateType(E,Sr);E.restrictiveInstantiation.restrictiveInstantiation=E.restrictiveInstantiation;return E.restrictiveInstantiation}function instantiateIndexInfo(E,N){return createIndexInfo(E.keyType,instantiateType(E.type,N),E.isReadonly,E.declaration)}function isContextSensitive(N){E.Debug.assert(N.kind!==167||E.isObjectLiteralMethod(N));switch(N.kind){case 211:case 212:case 167:case 254:return isContextSensitiveFunctionLikeDeclaration(N);case 203:return E.some(N.properties,isContextSensitive);case 202:return E.some(N.elements,isContextSensitive);case 220:return isContextSensitive(N.whenTrue)||isContextSensitive(N.whenFalse);case 219:return(N.operatorToken.kind===56||N.operatorToken.kind===60)&&(isContextSensitive(N.left)||isContextSensitive(N.right));case 291:return isContextSensitive(N.initializer);case 210:return isContextSensitive(N.expression);case 284:return E.some(N.properties,isContextSensitive)||E.isJsxOpeningElement(N.parent)&&E.some(N.parent.parent.children,isContextSensitive);case 283:{var R=N.initializer;return!!R&&isContextSensitive(R)}case 286:{var j=N.expression;return!!j&&isContextSensitive(j)}}return false}function isContextSensitiveFunctionLikeDeclaration(N){return(!E.isFunctionDeclaration(N)||E.isInJSFile(N)&&!!getTypeForDeclarationFromJSDocComment(N))&&(E.hasContextSensitiveParameters(N)||hasContextSensitiveReturnExpression(N))}function hasContextSensitiveReturnExpression(N){return!N.typeParameters&&!E.getEffectiveReturnTypeNode(N)&&!!N.body&&N.body.kind!==233&&isContextSensitive(N.body)}function isContextSensitiveFunctionOrObjectLiteralMethod(N){return(E.isInJSFile(N)&&E.isFunctionDeclaration(N)||isFunctionExpressionOrArrowFunction(N)||E.isObjectLiteralMethod(N))&&isContextSensitiveFunctionLikeDeclaration(N)}function getTypeWithoutSignatures(N){if(N.flags&524288){var R=resolveStructuredTypeMembers(N);if(R.constructSignatures.length||R.callSignatures.length){var j=createObjectType(16,N.symbol);j.members=R.members;j.properties=R.properties;j.callSignatures=E.emptyArray;j.constructSignatures=E.emptyArray;j.indexInfos=E.emptyArray;return j}}else if(N.flags&2097152){return getIntersectionType(E.map(N.types,getTypeWithoutSignatures))}return N}function isTypeIdenticalTo(E,N){return isTypeRelatedTo(E,N,Ii)}function compareTypesIdentical(E,N){return isTypeRelatedTo(E,N,Ii)?-1:0}function compareTypesAssignable(E,N){return isTypeRelatedTo(E,N,Pi)?-1:0}function compareTypesSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)?-1:0}function isTypeSubtypeOf(E,N){return isTypeRelatedTo(E,N,Ai)}function isTypeAssignableTo(E,N){return isTypeRelatedTo(E,N,Pi)}function isTypeDerivedFrom(N,R){return N.flags&1048576?E.every(N.types,(function(E){return isTypeDerivedFrom(E,R)})):R.flags&1048576?E.some(R.types,(function(E){return isTypeDerivedFrom(N,E)})):N.flags&58982400?isTypeDerivedFrom(getBaseConstraintOfType(N)||Ht,R):R===tn?!!(N.flags&(524288|67108864)):R===rn?!!(N.flags&524288)&&isFunctionObjectType(N):hasBaseType(N,getTargetType(R))||isArrayType(R)&&!isReadonlyArrayType(R)&&isTypeDerivedFrom(N,sn)}function isTypeComparableTo(E,N){return isTypeRelatedTo(E,N,Fi)}function areTypesComparable(E,N){return isTypeComparableTo(E,N)||isTypeComparableTo(N,E)}function checkTypeAssignableTo(E,N,R,j,$,q){return checkTypeRelatedTo(E,N,Pi,R,j,$,q)}function checkTypeAssignableToAndOptionallyElaborate(E,N,R,j,$,q){return checkTypeRelatedToAndOptionallyElaborate(E,N,Pi,R,j,$,q,undefined)}function checkTypeRelatedToAndOptionallyElaborate(E,N,R,j,$,q,G,ie){if(isTypeRelatedTo(E,N,R))return true;if(!j||!elaborateError($,E,N,R,q,G,ie)){return checkTypeRelatedTo(E,N,R,j,q,G,ie)}return false}function isOrHasGenericConditional(N){return!!(N.flags&16777216||N.flags&2097152&&E.some(N.types,isOrHasGenericConditional))}function elaborateError(E,N,R,j,$,q,G){if(!E||isOrHasGenericConditional(R))return false;if(!checkTypeRelatedTo(N,R,j,undefined)&&elaborateDidYouMeanToCallOrConstruct(E,N,R,j,$,q,G)){return true}switch(E.kind){case 286:case 210:return elaborateError(E.expression,N,R,j,$,q,G);case 219:switch(E.operatorToken.kind){case 63:case 27:return elaborateError(E.right,N,R,j,$,q,G)}break;case 203:return elaborateObjectLiteral(E,N,R,j,q,G);case 202:return elaborateArrayLiteral(E,N,R,j,q,G);case 284:return elaborateJsxComponents(E,N,R,j,q,G);case 212:return elaborateArrowFunction(E,N,R,j,q,G)}return false}function elaborateDidYouMeanToCallOrConstruct(N,R,j,$,q,G,ie){var ae=getSignaturesOfType(R,0);var ce=getSignaturesOfType(R,1);for(var le=0,_e=[ce,ae];le<_e.length;le++){var Ee=_e[le];if(E.some(Ee,(function(E){var N=getReturnTypeOfSignature(E);return!(N.flags&(1|131072))&&checkTypeRelatedTo(N,j,$,undefined)}))){var Te=ie||{};checkTypeAssignableTo(R,j,N,q,G,Te);var we=Te.errors[Te.errors.length-1];E.addRelatedInfo(we,E.createDiagnosticForNode(N,Ee===ce?E.Diagnostics.Did_you_mean_to_use_new_with_this_expression:E.Diagnostics.Did_you_mean_to_call_this_expression));return true}}return false}function elaborateArrowFunction(N,R,j,$,q,G){if(E.isBlock(N.body)){return false}if(E.some(N.parameters,E.hasType)){return false}var ie=getSingleCallSignature(R);if(!ie){return false}var ae=getSignaturesOfType(j,0);if(!E.length(ae)){return false}var ce=N.body;var le=getReturnTypeOfSignature(ie);var _e=getUnionType(E.map(ae,getReturnTypeOfSignature));if(!checkTypeRelatedTo(le,_e,$,undefined)){var Ee=ce&&elaborateError(ce,le,_e,$,undefined,q,G);if(Ee){return Ee}var Te=G||{};checkTypeRelatedTo(le,_e,$,ce,undefined,q,Te);if(Te.errors){if(j.symbol&&E.length(j.symbol.declarations)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(j.symbol.declarations[0],E.Diagnostics.The_expected_type_comes_from_the_return_type_of_this_signature))}if((E.getFunctionFlags(N)&2)===0&&!getTypeOfPropertyOfType(le,"then")&&checkTypeRelatedTo(createPromiseType(le),_e,$,undefined)){E.addRelatedInfo(Te.errors[Te.errors.length-1],E.createDiagnosticForNode(N,E.Diagnostics.Did_you_mean_to_mark_this_function_as_async))}return true}}return false}function getBestMatchIndexedAccessTypeOrUndefined(E,N,R){var j=getIndexedAccessTypeOrUndefined(N,R);if(j){return j}if(N.flags&1048576){var $=getBestMatchingType(E,N);if($){return getIndexedAccessTypeOrUndefined($,R)}}}function checkExpressionForMutableLocationWithContextualType(E,N){E.contextualType=N;try{return checkExpressionForMutableLocation(E,1,N)}finally{E.contextualType=undefined}}function elaborateElementwise(N,R,j,$,q,G){var ie=false;for(var ae=N.next();!ae.done;ae=N.next()){var ce=ae.value,le=ce.errorNode,_e=ce.innerExpression,Ee=ce.nameType,Te=ce.errorMessage;var we=getBestMatchIndexedAccessTypeOrUndefined(R,j,Ee);if(!we||we.flags&8388608)continue;var Ie=getIndexedAccessTypeOrUndefined(R,Ee);if(!Ie)continue;var Ne=getPropertyNameFromIndex(Ee,undefined);var Me=!!(Ne&&(getPropertyOfType(j,Ne)||jt).flags&16777216);var Le=!!(Ne&&(getPropertyOfType(R,Ne)||jt).flags&16777216);we=removeMissingType(we,Me);Ie=removeMissingType(Ie,Me&&Le);if(!checkTypeRelatedTo(Ie,we,$,undefined)){var Be=_e&&elaborateError(_e,Ie,we,$,undefined,q,G);if(Be){ie=true}else{var je=G||{};var Ue=_e?checkExpressionForMutableLocationWithContextualType(_e,Ie):Ie;var ze=checkTypeRelatedTo(Ue,we,$,le,Te,q,je);if(ze&&Ue!==Ie){checkTypeRelatedTo(Ie,we,$,le,Te,q,je)}if(je.errors){var We=je.errors[je.errors.length-1];var Je=isTypeUsableAsPropertyName(Ee)?getPropertyNameFromType(Ee):undefined;var Ve=Je!==undefined?getPropertyOfType(j,Je):undefined;var qe=false;if(!Ve){var He=getApplicableIndexInfo(j,Ee);if(He&&He.declaration&&!E.getSourceFileOfNode(He.declaration).hasNoDefaultLib){qe=true;E.addRelatedInfo(We,E.createDiagnosticForNode(He.declaration,E.Diagnostics.The_expected_type_comes_from_this_index_signature))}}if(!qe&&(Ve&&E.length(Ve.declarations)||j.symbol&&E.length(j.symbol.declarations))){var Ge=Ve&&E.length(Ve.declarations)?Ve.declarations[0]:j.symbol.declarations[0];if(!E.getSourceFileOfNode(Ge).hasNoDefaultLib){E.addRelatedInfo(We,E.createDiagnosticForNode(Ge,E.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Je&&!(Ee.flags&8192)?E.unescapeLeadingUnderscores(Je):typeToString(Ee),typeToString(j)))}}}ie=true}}}return ie}function generateJsxAttributes(N){var R,j,$;return G(this,(function(q){switch(q.label){case 0:if(!E.length(N.properties))return[2];R=0,j=N.properties;q.label=1;case 1:if(!(R1;var Le=filterType(Ie,isArrayOrTupleLikeType);var Be=filterType(Ie,(function(E){return!isArrayOrTupleLikeType(E)}));if(Me){if(Le!==dr){var je=createTupleType(checkJsxChildren(_e,0));var Ue=generateJsxChildren(_e,getInvalidTextualChildDiagnostic);ce=elaborateElementwise(Ue,je,Le,q,ie,ae)||ce}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}else{if(Be!==dr){var We=Ne[0];var Je=getElaborationElementForJsxChild(We,we,getInvalidTextualChildDiagnostic);if(Je){ce=elaborateElementwise(function(){return G(this,(function(E){switch(E.label){case 0:return[4,Je];case 1:E.sent();return[2]}}))}(),R,j,q,ie,ae)||ce}}else if(!isTypeRelatedTo(getIndexedAccessType(R,we),Ie,q)){ce=true;var ze=error(_e.openingElement.tagName,E.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,Te,typeToString(Ie));if(ae&&ae.skipLogging){(ae.errors||(ae.errors=[])).push(ze)}}}}return ce;function getInvalidTextualChildDiagnostic(){if(!le){var R=E.getTextOfNode(N.parent.tagName);var q=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));var G=q===undefined?"children":E.unescapeLeadingUnderscores(q);var ie=getIndexedAccessType(j,getStringLiteralType(G));var ae=E.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;le=$($({},ae),{key:"!!ALREADY FORMATTED!!",message:E.formatMessage(undefined,ae,R,G,typeToString(ie))})}return le}}function generateLimitedTupleElements(N,R){var j,$,q,ie;return G(this,(function(G){switch(G.label){case 0:j=E.length(N.elements);if(!j)return[2];$=0;G.label=1;case 1:if(!($ce:getMinArgumentCount(N)>ce);if(le){return 0}if(N.typeParameters&&N.typeParameters!==R.typeParameters){R=getCanonicalSignature(R);N=instantiateSignatureInContextOf(N,R,undefined,ie)}var _e=getParameterCount(N);var Ee=getNonArrayRestType(N);var Te=getNonArrayRestType(R);if(Ee||Te){void instantiateType(Ee||Te,ae)}if(Ee&&Te&&_e!==ce){return 0}var we=R.declaration?R.declaration.kind:0;var Ie=!(j&3)&&nt&&we!==167&&we!==166&&we!==169;var Ne=-1;var Me=getThisTypeOfSignature(N);if(Me&&Me!==ur){var Le=getThisTypeOfSignature(R);if(Le){var Be=!Ie&&ie(Me,Le,false)||ie(Le,Me,$);if(!Be){if($){q(E.Diagnostics.The_this_types_of_each_signature_are_incompatible)}return 0}Ne&=Be}}var je=Ee||Te?Math.min(_e,ce):Math.max(_e,ce);var Ue=Ee||Te?je-1:-1;for(var ze=0;ze=getMinArgumentCount(N)&&ze0||typeHasCallOrConstructSignatures(ae));if(we&&!hasCommonProperties(ae,ce,Ee)){if(j){var Ie=typeToString(N.aliasSymbol?N:ae);var Ne=typeToString(R.aliasSymbol?R:ce);var Me=getSignaturesOfType(ae,0);var Le=getSignaturesOfType(ae,1);if(Me.length>0&&isRelatedTo(getReturnTypeOfSignature(Me[0]),ce,false)||Le.length>0&&isRelatedTo(getReturnTypeOfSignature(Le[0]),ce,false)){reportError(E.Diagnostics.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Ie,Ne)}else{reportError(E.Diagnostics.Type_0_has_no_properties_in_common_with_type_1,Ie,Ne)}}return 0}traceUnionsOrIntersectionsTooLarge(ae,ce);var Ue=0;var We=captureErrorCalculationState();if(ae.flags&3145728||ce.flags&3145728){Ue=getConstituentCount(ae)*getConstituentCount(ce)>=4?recursiveTypeRelatedTo(ae,ce,j,ie|8):structuredTypeRelatedTo(ae,ce,j,ie|8)}if(!Ue&&!(ae.flags&1048576)&&(ae.flags&469499904||ce.flags&469499904)){if(Ue=recursiveTypeRelatedTo(ae,ce,j,ie)){resetErrorInfo(We)}}if(!Ue&&ae.flags&(2097152|262144)){var Je=getEffectiveConstraintOfIntersection(ae.flags&2097152?ae.types:[ae],!!(ce.flags&1048576));if(Je&&(ae.flags&2097152||ce.flags&1048576)){if(everyType(Je,(function(E){return E!==ae}))){if(Ue=isRelatedTo(Je,ce,false,undefined,ie)){resetErrorInfo(We)}}}}if(Ue&&!ze&&(ce.flags&2097152&&(Te||we)||isNonGenericObjectType(ce)&&!isArrayType(ce)&&!isTupleType(ce)&&ae.flags&2097152&&getApparentType(ae).flags&3670016&&!E.some(ae.types,(function(N){return!!(E.getObjectFlags(N)&524288)})))){ze=true;Ue&=recursiveTypeRelatedTo(ae,ce,j,4);ze=false}reportErrorResults(ae,ce,Ue,Ee);return Ue;function reportErrorResults(q,ie,ae,ce){if(!ae&&j){var _e=!!getSingleBaseForNonAugmentingSubtype(N);var Ee=!!getSingleBaseForNonAugmentingSubtype(R);q=N.aliasSymbol||_e?N:q;ie=R.aliasSymbol||Ee?R:ie;var Te=Be>0;if(Te){Be--}if(q.flags&524288&&ie.flags&524288){var we=le;tryElaborateArrayLikeErrors(q,ie,j);if(le!==we){Te=!!le}}if(q.flags&524288&&ie.flags&131068){tryElaborateErrorsForPrimitivesAndObjects(q,ie)}else if(q.symbol&&q.flags&524288&&tn===q){reportError(E.Diagnostics.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead)}else if(ce&&ie.flags&2097152){var Ie=ie.types;var Ne=getJsxType(Qe.IntrinsicAttributes,G);var Me=getJsxType(Qe.IntrinsicClassAttributes,G);if(Ne!==Jt&&Me!==Jt&&(E.contains(Ie,Ne)||E.contains(Ie,Me))){return ae}}else{le=elaborateNeverIntersection(le,R)}if(!$&&Te){je=[q,ie];return ae}reportRelationError($,q,ie)}}}function traceUnionsOrIntersectionsTooLarge(N,R){if(!E.tracing){return}if(N.flags&3145728&&R.flags&3145728){var j=N;var $=R;if(j.objectFlags&$.objectFlags&65536){return}var q=j.types.length;var ie=$.types.length;if(q*ie>1e6){E.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:N.id,sourceSize:q,targetId:R.id,targetSize:ie,pos:G===null||G===void 0?void 0:G.pos,end:G===null||G===void 0?void 0:G.end})}}}function isIdenticalTo(E,N){if(E.flags!==N.flags)return 0;if(E.flags&67358815)return-1;traceUnionsOrIntersectionsTooLarge(E,N);if(E.flags&3145728){var R=eachTypeRelatedToSomeType(E,N);if(R){R&=eachTypeRelatedToSomeType(N,E)}return R}return recursiveTypeRelatedTo(E,N,false,0)}function getTypeOfPropertyInTypes(N,R){var appendPropType=function(N,j){var $;j=getApparentType(j);var q=j.flags&3145728?getPropertyOfUnionOrIntersectionType(j,R):getPropertyOfObjectType(j,R);var G=q&&getTypeOfSymbol(q)||(($=getApplicableIndexInfoForName(j,R))===null||$===void 0?void 0:$.type)||Gt;return E.append(N,G)};return getUnionType(E.reduceLeft(N,appendPropType,undefined)||E.emptyArray)}function hasExcessProperties(N,R,j){var $;if(!isExcessPropertyCheckTarget(R)||!st&&E.getObjectFlags(R)&8192){return false}var ie=!!(E.getObjectFlags(N)&2048);if((q===Pi||q===Fi)&&(isTypeSubsetOf(tn,R)||!ie&&isEmptyObjectType(R))){return false}var ae=R;var ce;if(R.flags&1048576){ae=findMatchingDiscriminantType(N,R,isRelatedTo)||filterPrimitivesIfContainsNonPrimitive(R);ce=ae.flags&1048576?ae.types:[ae]}var _loop_18=function(R){if(shouldCheckAsExcessProperty(R,N.symbol)&&!isIgnoredJsxProperty(N,R)){if(!isKnownProperty(ae,R.escapedName,ie)){if(j){var q=filterType(ae,isExcessPropertyCheckTarget);if(!G)return{value:E.Debug.fail()};if(E.isJsxAttributes(G)||E.isJsxOpeningLikeElement(G)||E.isJsxOpeningLikeElement(G.parent)){if(R.valueDeclaration&&E.isJsxAttribute(R.valueDeclaration)&&E.getSourceFileOfNode(G)===E.getSourceFileOfNode(R.valueDeclaration.name)){G=R.valueDeclaration.name}var le=symbolToString(R);var _e=getSuggestedSymbolForNonexistentJSXAttribute(le,q);var Ee=_e?symbolToString(_e):undefined;if(Ee){reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,le,typeToString(q),Ee)}else{reportError(E.Diagnostics.Property_0_does_not_exist_on_type_1,le,typeToString(q))}}else{var Te=(($=N.symbol)===null||$===void 0?void 0:$.declarations)&&E.firstOrUndefined(N.symbol.declarations);var Ee=void 0;if(R.valueDeclaration&&E.findAncestor(R.valueDeclaration,(function(E){return E===Te}))&&E.getSourceFileOfNode(Te)===E.getSourceFileOfNode(G)){var we=R.valueDeclaration;E.Debug.assertNode(we,E.isObjectLiteralElementLike);G=we;var Ie=we.name;if(E.isIdentifier(Ie)){Ee=getSuggestionForNonexistentProperty(Ie,q)}}if(Ee!==undefined){reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,symbolToString(R),typeToString(q),Ee)}else{reportError(E.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,symbolToString(R),typeToString(q))}}}return{value:true}}if(ce&&!isRelatedTo(getTypeOfSymbol(R),getTypeOfPropertyInTypes(ce,R.escapedName),j)){if(j){reportIncompatibleError(E.Diagnostics.Types_of_property_0_are_incompatible,symbolToString(R))}return{value:true}}}};for(var le=0,_e=getPropertiesOfType(N);le<_e.length;le++){var Ee=_e[le];var Te=_loop_18(Ee);if(typeof Te==="object")return Te.value}return false}function shouldCheckAsExcessProperty(E,N){return E.valueDeclaration&&N.valueDeclaration&&E.valueDeclaration.parent===N.valueDeclaration}function eachTypeRelatedToSomeType(E,N){var R=-1;var j=E.types;for(var $=0,q=j;$=G.types.length&&q.length%G.types.length===0){var ce=isRelatedTo(ae,G.types[ie%G.types.length],false,undefined,j);if(ce){$&=ce;continue}}var le=isRelatedTo(ae,N,R,undefined,j);if(!le){return 0}$&=le}return $}function typeArgumentsRelatedTo(N,R,j,$,G){if(N===void 0){N=E.emptyArray}if(R===void 0){R=E.emptyArray}if(j===void 0){j=E.emptyArray}if(N.length!==R.length&&q===Ii){return 0}var ie=N.length<=R.length?N.length:R.length;var ae=-1;for(var ce=0;ce25){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:N.id,targetId:R.id,numCombinations:G});return 0}}var le=new Array($.length);var _e=new E.Set;for(var Ee=0;Ee<$.length;Ee++){var ce=$[Ee];var Te=getNonMissingTypeOfSymbol(ce);le[Ee]=Te.flags&1048576?Te.types:[Te];_e.add(ce.escapedName)}var we=E.cartesianProduct(le);var Ie=[];var _loop_19=function(j){var G=false;e:for(var ie=0,ae=R.types;ie5){reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,typeToString(N),typeToString($),E.map(we.slice(0,4),(function(E){return symbolToString(E)})).join(", "),we.length-4)}else{reportError(E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,typeToString(N),typeToString($),E.map(we,(function(E){return symbolToString(E)})).join(", "))}if(ae&&le){Be++}}}function propertiesRelatedTo(N,R,j,$,G){if(q===Ii){return propertiesIdenticalTo(N,R,$)}var ie=-1;if(isTupleType(R)){if(isArrayType(N)||isTupleType(N)){if(!R.target.readonly&&(isReadonlyArrayType(N)||isTupleType(N)&&N.target.readonly)){return 0}var ae=getTypeReferenceArity(N);var ce=getTypeReferenceArity(R);var le=isTupleType(N)?N.target.combinedFlags&4:4;var _e=R.target.combinedFlags&4;var Ee=isTupleType(N)?N.target.minLength:0;var Te=R.target.minLength;if(!le&&ae=ce-Me)?N.target.elementFlags[je]:4;var ze=R.target.elementFlags[Be];if(ze&8&&!(Ue&8)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,Be)}return 0}if(Ue&8&&!(ze&12)){if(j){reportError(E.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,je,Be)}return 0}if(ze&1&&!(Ue&1)){if(j){reportError(E.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,Be)}return 0}if(Le){if(Ue&12||ze&12){Le=false}if(Le&&($===null||$===void 0?void 0:$.has(""+Be))){continue}}var We=!isTupleType(N)?we[0]:Be=ce-Me?removeMissingType(we[je],!!(Ue&ze&2)):getElementTypeOfSliceOfTupleType(N,Ne,Me)||dr;var Je=Ie[Be];var Ve=Ue&8&&ze&4?createArrayType(Je):removeMissingType(Je,!!(ze&2));var qe=isRelatedTo(We,Ve,j,undefined,G);if(!qe){if(j&&(ce>1||ae>1)){if(Be=ce-Me||ae-Ne-Me===1){reportIncompatibleError(E.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,je,Be)}else{reportIncompatibleError(E.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Ne,ae-Me-1,Be)}}return 0}ie&=qe}return ie}if(R.target.combinedFlags&12){return 0}}var He=(q===Ai||q===wi)&&!isObjectLiteralType(N)&&!isEmptyArrayLiteralType(N)&&!isTupleType(N);var Ge=getUnmatchedProperty(N,R,He,false);if(Ge){if(j){reportUnmatchedProperty(N,R,Ge,He)}return 0}if(isObjectLiteralType(R)){for(var Ke=0,Qe=excludeProperties(getPropertiesOfType(N),$);Ke0&&E.every(R.properties,(function(E){return!!(E.flags&16777216)}))}if(N.flags&2097152){return E.every(N.types,isWeakType)}return false}function hasCommonProperties(E,N,R){for(var j=0,$=getPropertiesOfType(E);j<$.length;j++){var q=$[j];if(isKnownProperty(N,q.escapedName,R)){return true}}return false}function getMarkerTypeReference(N,R,j){var $=createTypeReference(N,E.map(N.typeParameters,(function(E){return E===R?j:E})));$.objectFlags|=4096;return $}function getAliasVariances(E){var N=getSymbolLinks(E);return getVariancesWorker(N.typeParameters,N,(function(R,j,$){var q=getTypeAliasInstantiation(E,instantiateTypes(N.typeParameters,makeUnaryTypeMapper(j,$)));q.aliasTypeArgumentsContainsMarker=true;return q}))}function getVariancesWorker(N,R,j){var $,q,G;if(N===void 0){N=E.emptyArray}var ie=R.variances;if(!ie){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("checkTypes","getVariancesWorker",{arity:N.length,id:(G=($=R.id)!==null&&$!==void 0?$:(q=R.declaredType)===null||q===void 0?void 0:q.id)!==null&&G!==void 0?G:-1});R.variances=E.emptyArray;ie=[];var _loop_21=function(E){var N=false;var $=false;var q=Di;Di=function(E){return E?$=true:N=true};var G=j(R,E,Nr);var ae=j(R,E,Or);var ce=(isTypeAssignableTo(ae,G)?1:0)|(isTypeAssignableTo(G,ae)?2:0);if(ce===3&&isTypeAssignableTo(j(R,E,Mr),G)){ce=4}Di=q;if(N||$){if(N){ce|=8}if($){ce|=16}}ie.push(ce)};for(var ae=0,ce=N;ae"}else{j+="-"+G.id}}return j}function getRelationKey(E,N,R,j){if(j===Ii&&E.id>N.id){var $=E;E=N;N=$}var q=R?":"+R:"";if(isTypeReferenceWithGenericArguments(E)&&isTypeReferenceWithGenericArguments(N)){var G=[];return getTypeReferenceId(E,G)+","+getTypeReferenceId(N,G)+q}return E.id+","+N.id+q}function forEachProperty(N,R){if(E.getCheckFlags(N)&6){for(var j=0,$=N.containingType.types;j<$.length;j++){var q=$[j];var G=getPropertyOfType(q,N.escapedName);var ie=G&&forEachProperty(G,R);if(ie){return ie}}return undefined}return R(N)}function getDeclaringClass(E){return E.parent&&E.parent.flags&32?getDeclaredTypeOfSymbol(getParentOfSymbol(E)):undefined}function getTypeOfPropertyInBaseClass(E){var N=getDeclaringClass(E);var R=N&&getBaseTypes(N)[0];return R&&getTypeOfPropertyOfType(R,E.escapedName)}function isPropertyInClassDerivedFrom(E,N){return forEachProperty(E,(function(E){var R=getDeclaringClass(E);return R?hasBaseType(R,N):false}))}function isValidOverrideOf(N,R){return!forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R)&16?!isPropertyInClassDerivedFrom(N,getDeclaringClass(R)):false}))}function isClassDerivedFromDeclaringClasses(N,R,j){return forEachProperty(R,(function(R){return E.getDeclarationModifierFlagsFromSymbol(R,j)&16?!hasBaseType(N,getDeclaringClass(R)):false}))?undefined:N}function isDeeplyNestedType(E,N,R){if(R>=5){var j=getRecursionIdentity(E);var $=0;for(var q=0;q=5){return true}}}}return false}function getRecursionIdentity(N){if(N.flags&524288&&!isObjectOrArrayLiteralType(N)){if(E.getObjectFlags(N)&&4&&N.node){return N.node}if(N.symbol&&!(E.getObjectFlags(N)&16&&N.symbol.flags&32)){return N.symbol}if(isTupleType(N)){return N.target}}if(N.flags&262144){return N.symbol}if(N.flags&8388608){do{N=N.objectType}while(N.flags&8388608);return N}if(N.flags&16777216){return N.root}return N}function isPropertyIdenticalTo(E,N){return compareProperties(E,N,compareTypesIdentical)!==0}function compareProperties(N,R,j){if(N===R){return-1}var $=E.getDeclarationModifierFlagsFromSymbol(N)&24;var q=E.getDeclarationModifierFlagsFromSymbol(R)&24;if($!==q){return 0}if($){if(getTargetSymbol(N)!==getTargetSymbol(R)){return 0}}else{if((N.flags&16777216)!==(R.flags&16777216)){return 0}}if(isReadonlySymbol(N)!==isReadonlySymbol(R)){return 0}return j(getTypeOfSymbol(N),getTypeOfSymbol(R))}function isMatchingSignature(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getMinArgumentCount(E);var G=getMinArgumentCount(N);var ie=hasEffectiveRestParameter(E);var ae=hasEffectiveRestParameter(N);if(j===$&&q===G&&ie===ae){return true}if(R&&q<=G){return true}return false}function compareSignaturesIdentical(N,R,j,$,q,G){if(N===R){return-1}if(!isMatchingSignature(N,R,j)){return 0}if(E.length(N.typeParameters)!==E.length(R.typeParameters)){return 0}if(R.typeParameters){var ie=createTypeMapper(N.typeParameters,R.typeParameters);for(var ae=0;aeE.length(R.typeParameters)){q=getTypeWithThisArgument(q,E.last(getTypeArguments(N)))}N.objectFlags|=67108864;return N.cachedEquivalentBaseType=q}function isEmptyLiteralType(E){return rt?E===mr:E===Kt}function isEmptyArrayLiteralType(E){var N=getElementTypeOfArrayType(E);return!!N&&isEmptyLiteralType(N)}function isTupleLikeType(E){return isTupleType(E)||!!getPropertyOfType(E,"0")}function isArrayOrTupleLikeType(E){return isArrayLikeType(E)||isTupleLikeType(E)}function getTupleElementType(E,N){var R=getTypeOfPropertyOfType(E,""+N);if(R){return R}if(everyType(E,isTupleType)){return mapType(E,(function(E){return getRestTypeOfTupleType(E)||Gt}))}return undefined}function isNeitherUnitTypeNorNever(E){return!(E.flags&(109440|131072))}function isUnitType(E){return!!(E.flags&109440)}function isUnitLikeType(N){return N.flags&2097152?E.some(N.types,isUnitType):!!(N.flags&109440)}function extractUnitType(N){return N.flags&2097152?E.find(N.types,isUnitType)||N:N}function isLiteralType(N){return N.flags&16?true:N.flags&1048576?N.flags&1024?true:E.every(N.types,isUnitType):isUnitType(N)}function getBaseTypeOfLiteralType(E){return E.flags&1024?getBaseTypeOfEnumLiteralType(E):E.flags&128?er:E.flags&256?tr:E.flags&2048?rr:E.flags&512?cr:E.flags&1048576?mapType(E,getBaseTypeOfLiteralType):E}function getWidenedLiteralType(E){return E.flags&1024&&isFreshLiteralType(E)?getBaseTypeOfEnumLiteralType(E):E.flags&128&&isFreshLiteralType(E)?er:E.flags&256&&isFreshLiteralType(E)?tr:E.flags&2048&&isFreshLiteralType(E)?rr:E.flags&512&&isFreshLiteralType(E)?cr:E.flags&1048576?mapType(E,getWidenedLiteralType):E}function getWidenedUniqueESSymbolType(E){return E.flags&8192?lr:E.flags&1048576?mapType(E,getWidenedUniqueESSymbolType):E}function getWidenedLiteralLikeTypeForContextualType(E,N){if(!isLiteralOfContextualType(E,N)){E=getWidenedUniqueESSymbolType(getWidenedLiteralType(E))}return E}function getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(E,N,R){if(E&&isUnitType(E)){var j=!N?undefined:R?getPromisedTypeOfPromise(N):N;E=getWidenedLiteralLikeTypeForContextualType(E,j)}return E}function getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(E,N,R,j){if(E&&isUnitType(E)){var $=!N?undefined:getIterationTypeOfGeneratorFunctionReturnType(R,N,j);E=getWidenedLiteralLikeTypeForContextualType(E,$)}return E}function isTupleType(N){return!!(E.getObjectFlags(N)&4&&N.target.objectFlags&8)}function isGenericTupleType(E){return isTupleType(E)&&!!(E.target.combinedFlags&8)}function isSingleElementGenericTupleType(E){return isGenericTupleType(E)&&E.target.elementFlags.length===1}function getRestTypeOfTupleType(E){return getElementTypeOfSliceOfTupleType(E,E.target.fixedLength)}function getRestArrayTypeOfTupleType(E){var N=getRestTypeOfTupleType(E);return N&&createArrayType(N)}function getElementTypeOfSliceOfTupleType(E,N,R,j){if(R===void 0){R=0}if(j===void 0){j=false}var $=getTypeReferenceArity(E)-R;if(N<$){var q=getTypeArguments(E);var G=[];for(var ie=N;ie<$;ie++){var ae=q[ie];G.push(E.target.elementFlags[ie]&8?getIndexedAccessType(ae,tr):ae)}return j?getIntersectionType(G):getUnionType(G)}return undefined}function isTupleTypeStructureMatching(N,R){return getTypeReferenceArity(N)===getTypeReferenceArity(R)&&E.every(N.target.elementFlags,(function(E,N){return(E&12)===(R.target.elementFlags[N]&12)}))}function isZeroBigInt(E){var N=E.value;return N.base10Value==="0"}function getFalsyFlagsOfTypes(E){var N=0;for(var R=0,j=E;R-1&&(resolveName(G,G.name.escapedText,788968,undefined,G.name.escapedText,true)||G.name.originalKeywordKind&&E.isTypeNodeKind(G.name.originalKeywordKind))){var ie="arg"+G.parent.parameters.indexOf(G);errorOrSuggestion(st,N,E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,ie,E.declarationNameToString(G.name));return}q=N.dotDotDotToken?st?E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type:E.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:st?E.Diagnostics.Parameter_0_implicitly_has_an_1_type:E.Diagnostics.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 201:q=E.Diagnostics.Binding_element_0_implicitly_has_an_1_type;if(!st){return}break;case 312:error(N,E.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$);return;case 254:case 167:case 166:case 170:case 171:case 211:case 212:if(st&&!N.name){if(j===3){error(N,E.Diagnostics.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,$)}else{error(N,E.Diagnostics.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,$)}return}q=!st?E.Diagnostics._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:j===3?E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:E.Diagnostics._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type;break;case 193:if(st){error(N,E.Diagnostics.Mapped_object_type_implicitly_has_an_any_template_type)}return;default:q=st?E.Diagnostics.Variable_0_implicitly_has_an_1_type:E.Diagnostics.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}errorOrSuggestion(st,N,q,E.declarationNameToString(E.getNameOfDeclaration(N)),$)}function reportErrorsFromWidening(N,R,j){if(ie&&st&&E.getObjectFlags(R)&131072&&(!j||!getContextualSignatureForFunctionLikeDeclaration(N))){if(!reportWideningErrorsInType(R)){reportImplicitAny(N,R,j)}}}function applyToParameterTypes(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=getEffectiveRestType(E);var G=getEffectiveRestType(N);var ie=G?$-1:$;var ae=q?ie:Math.min(j,ie);var ce=getThisTypeOfSignature(E);if(ce){var le=getThisTypeOfSignature(N);if(le){R(ce,le)}}for(var _e=0;_eE.target.minLength||!N.target.hasRestElement&&(E.target.hasRestElement||N.target.fixedLength0){var Me=Te;var Le=we;while(true){Le=getSourceText(Me).indexOf(Ne,Le);if(Le>=0)break;Me++;if(Me===E.length)return undefined;Le=0}addMatch(Me,Le);we+=Ne.length}else if(we0){for(var je=0,Ue=R;je1){var R=E.filter(N,isObjectOrArrayLiteralType);if(R.length){var j=getUnionType(R,2);return E.concatenate(E.filter(N,(function(E){return!isObjectOrArrayLiteralType(E)})),[j])}}return N}function getContravariantInference(E){return E.priority&416?getIntersectionType(E.contraCandidates):getCommonSubtype(E.contraCandidates)}function getCovariantInference(N,R){var j=unionObjectAndArrayLiteralCandidates(N.candidates);var $=hasPrimitiveConstraint(N.typeParameter);var q=!$&&N.topLevel&&(N.isFixed||!isTypeParameterAtTopLevel(getReturnTypeOfSignature(R),N.typeParameter));var G=$?E.sameMap(j,getRegularTypeOfLiteralType):q?E.sameMap(j,getWidenedLiteralType):j;var ie=N.priority&416?getUnionType(G,2):getCommonSupertype(G);return getWidenedType(ie)}function getInferredType(E,N){var R=E.inferences[N];if(!R.inferredType){var j=void 0;var $=E.signature;if($){var q=R.candidates?getCovariantInference(R,$):undefined;if(R.contraCandidates){var G=getContravariantInference(R);j=q&&!(q.flags&131072)&&isTypeSubtypeOf(q,G)?q:G}else if(q){j=q}else if(E.flags&1){j=pr}else{var ie=getDefaultFromTypeParameter(R.typeParameter);if(ie){j=instantiateType(ie,mergeTypeMappers(createBackreferenceMapper(E,N),E.nonFixingMapper))}}}else{j=getTypeFromInference(R)}R.inferredType=j||getDefaultTypeArgumentType(!!(E.flags&2));var ae=getConstraintOfTypeParameter(R.typeParameter);if(ae){var ce=instantiateType(ae,E.nonFixingMapper);if(!j||!E.compareTypes(j,getTypeWithThisArgument(ce,j))){R.inferredType=j=ce}}}return R.inferredType}function getDefaultTypeArgumentType(E){return E?zt:Ht}function getInferredTypes(E){var N=[];for(var R=0;R=10&&$*2>=N.length?j:undefined}function getKeyPropertyName(N){var R=N.types;if(R.length<10||E.getObjectFlags(N)&65536){return undefined}if(N.keyPropertyName===undefined){var j=E.forEach(R,(function(N){return N.flags&(524288|58982400)?E.forEach(getPropertiesOfType(N),(function(E){return isUnitType(getTypeOfSymbol(E))?E.escapedName:undefined})):undefined}));var $=j&&mapTypesByKeyProperty(R,j);N.keyPropertyName=$?j:"";N.constituentMap=$}return N.keyPropertyName.length?N.keyPropertyName:undefined}function getConstituentTypeForKeyType(E,N){var R;var j=(R=E.constituentMap)===null||R===void 0?void 0:R.get(getTypeId(getRegularTypeOfLiteralType(N)));return j!==Ht?j:undefined}function getMatchingUnionConstituentForType(E,N){var R=getKeyPropertyName(E);var j=R&&getTypeOfPropertyOfType(N,R);return j&&getConstituentTypeForKeyType(E,j)}function getMatchingUnionConstituentForObjectLiteral(N,R){var j=getKeyPropertyName(N);var $=j&&E.find(R.properties,(function(E){return E.symbol&&E.kind===291&&E.symbol.escapedName===j&&isPossiblyDiscriminantValue(E.initializer)}));var q=$&&getTypeOfExpression($.initializer);return q&&getConstituentTypeForKeyType(N,q)}function isOrContainsMatchingReference(E,N){return isMatchingReference(E,N)||containsMatchingReference(E,N)}function hasMatchingArgument(E,N){if(E.arguments){for(var R=0,j=E.arguments;R=0&&R.parameterIndex=j&&G<$;var ae;var ce;if(G>-1){var le=q.filter((function(E){return E!==undefined}));var _e=G=2||(R.flags&(2|32))===0||!R.valueDeclaration||E.isSourceFile(R.valueDeclaration)||R.valueDeclaration.parent.kind===290){return}var j=E.getEnclosingBlockScopeContainer(R.valueDeclaration);var $=isInsideFunctionOrInstancePropertyInitializer(N,j);var q=getEnclosingIterationStatement(j);if(q){if($){var G=true;if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j){var ae=getPartOfForStatementContainingNode(N.parent,j);if(ae){var ce=getNodeLinks(ae);ce.flags|=131072;var le=ce.capturedBlockScopeBindings||(ce.capturedBlockScopeBindings=[]);E.pushIfUnique(le,R);if(ae===j.initializer){G=false}}}}if(G){getNodeLinks(q).flags|=65536}}if(E.isForStatement(j)){var ie=E.getAncestor(R.valueDeclaration,253);if(ie&&ie.parent===j&&isAssignedInBodyOfForStatement(N,j)){getNodeLinks(R.valueDeclaration).flags|=4194304}}getNodeLinks(R.valueDeclaration).flags|=524288}if($){getNodeLinks(R.valueDeclaration).flags|=262144}}function isBindingCapturedByNode(N,R){var j=getNodeLinks(N);return!!j&&E.contains(j.capturedBlockScopeBindings,getSymbolOfNode(R))}function isAssignedInBodyOfForStatement(N,R){var j=N;while(j.parent.kind===210){j=j.parent}var $=false;if(E.isAssignmentTarget(j)){$=true}else if(j.parent.kind===217||j.parent.kind===218){var q=j.parent;$=q.operator===45||q.operator===46}if(!$){return false}return!!E.findAncestor(j,(function(E){return E===R?"quit":E===R.statement}))}function captureLexicalThis(E,N){getNodeLinks(E).flags|=2;if(N.kind===165||N.kind===169){var R=N.parent;getNodeLinks(R).flags|=4}else{getNodeLinks(N).flags|=4}}function findFirstSuperCall(N){return E.isSuperCall(N)?N:E.isFunctionLike(N)?undefined:E.forEachChild(N,findFirstSuperCall)}function classDeclarationExtendsNull(E){var N=getSymbolOfNode(E);var R=getDeclaredTypeOfSymbol(N);var j=getBaseConstructorTypeOfClass(R);return j===Zt}function checkThisBeforeSuper(N,R,j){var $=R.parent;var q=E.getClassExtendsHeritageElement($);if(q&&!classDeclarationExtendsNull($)){if(N.flowNode&&!isPostSuperFlowNode(N.flowNode,false)){error(N,j)}}}function checkThisInStaticClassFieldInitializerInDecoratedClass(N,R){if(E.isPropertyDeclaration(R)&&E.hasStaticModifier(R)&&R.initializer&&E.textRangeContainsPositionInclusive(R.initializer,N.pos)&&E.length(R.parent.decorators)){error(N,E.Diagnostics.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}}function checkThisExpression(N){var R=isInTypeQuery(N);var j=E.getThisContainer(N,true);var $=false;if(j.kind===169){checkThisBeforeSuper(N,j,E.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class)}if(j.kind===212){j=E.getThisContainer(j,false);$=true}checkThisInStaticClassFieldInitializerInDecoratedClass(N,j);switch(j.kind){case 259:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:error(N,E.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 169:if(isInConstructorArgumentInitializer(N,j)){error(N,E.Diagnostics.this_cannot_be_referenced_in_constructor_arguments)}break;case 160:error(N,E.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name);break}if(!R&&$&&Ye<2){captureLexicalThis(N,j)}var q=tryGetThisTypeAt(N,true,j);if(ct){var G=getTypeOfSymbol(bt);if(q===G&&$){error(N,E.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this)}else if(!q){var ie=error(N,E.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!E.isSourceFile(j)){var ae=tryGetThisTypeAt(j);if(ae&&ae!==G){E.addRelatedInfo(ie,E.createDiagnosticForNode(j,E.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}}return q||zt}function tryGetThisTypeAt(N,R,j){if(R===void 0){R=true}if(j===void 0){j=E.getThisContainer(N,false)}var $=E.isInJSFile(N);if(E.isFunctionLike(j)&&(!isInParameterInitializerBeforeContainingFunction(N)||E.getThisParameter(j))){var q=getThisTypeOfDeclaration(j)||$&&getTypeForThisExpressionFromJSDoc(j);if(!q){var G=getClassNameFromPrototypeMethod(j);if($&&G){var ie=checkExpression(G).symbol;if(ie&&ie.members&&ie.flags&16){q=getDeclaredTypeOfSymbol(ie).thisType}}else if(isJSConstructor(j)){q=getDeclaredTypeOfSymbol(getMergedSymbol(j.symbol)).thisType}q||(q=getContextualThisParameterType(j))}if(q){return getFlowTypeOfReference(N,q)}}if(E.isClassLike(j.parent)){var ae=getSymbolOfNode(j.parent);var ce=E.isStatic(j)?getTypeOfSymbol(ae):getDeclaredTypeOfSymbol(ae).thisType;return getFlowTypeOfReference(N,ce)}if(E.isSourceFile(j)){if(j.commonJsModuleIndicator){var le=getSymbolOfNode(j);return le&&getTypeOfSymbol(le)}else if(j.externalModuleIndicator){return Gt}else if(R){return getTypeOfSymbol(bt)}}}function getExplicitThisType(N){var R=E.getThisContainer(N,false);if(E.isFunctionLike(R)){var j=getSignatureFromDeclaration(R);if(j.thisParameter){return getExplicitTypeOfSymbol(j.thisParameter)}}if(E.isClassLike(R.parent)){var $=getSymbolOfNode(R.parent);return E.isStatic(R)?getTypeOfSymbol($):getDeclaredTypeOfSymbol($).thisType}}function getClassNameFromPrototypeMethod(N){if(N.kind===211&&E.isBinaryExpression(N.parent)&&E.getAssignmentDeclarationKind(N.parent)===3){return N.parent.left.expression.expression}else if(N.kind===167&&N.parent.kind===203&&E.isBinaryExpression(N.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent)===6){return N.parent.parent.left.expression}else if(N.kind===211&&N.parent.kind===291&&N.parent.parent.kind===203&&E.isBinaryExpression(N.parent.parent.parent)&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===6){return N.parent.parent.parent.left.expression}else if(N.kind===211&&E.isPropertyAssignment(N.parent)&&E.isIdentifier(N.parent.name)&&(N.parent.name.escapedText==="value"||N.parent.name.escapedText==="get"||N.parent.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent.parent)&&E.isCallExpression(N.parent.parent.parent)&&N.parent.parent.parent.arguments[2]===N.parent.parent&&E.getAssignmentDeclarationKind(N.parent.parent.parent)===9){return N.parent.parent.parent.arguments[0].expression}else if(E.isMethodDeclaration(N)&&E.isIdentifier(N.name)&&(N.name.escapedText==="value"||N.name.escapedText==="get"||N.name.escapedText==="set")&&E.isObjectLiteralExpression(N.parent)&&E.isCallExpression(N.parent.parent)&&N.parent.parent.arguments[2]===N.parent&&E.getAssignmentDeclarationKind(N.parent.parent)===9){return N.parent.parent.arguments[0].expression}}function getTypeForThisExpressionFromJSDoc(N){var R=E.getJSDocType(N);if(R&&R.kind===312){var j=R;if(j.parameters.length>0&&j.parameters[0].name&&j.parameters[0].name.escapedText==="this"){return getTypeFromTypeNode(j.parameters[0].type)}}var $=E.getJSDocThisTag(N);if($&&$.typeExpression){return getTypeFromTypeNode($.typeExpression)}}function isInConstructorArgumentInitializer(N,R){return!!E.findAncestor(N,(function(N){return E.isFunctionLikeDeclaration(N)?"quit":N.kind===162&&N.parent===R}))}function checkSuperExpression(N){var R=N.parent.kind===206&&N.parent.expression===N;var j=E.getSuperContainer(N,true);var $=j;var q=false;if(!R){while($&&$.kind===212){$=E.getSuperContainer($,true);q=Ye<2}}var G=isLegalUsageOfSuperExpression($);var ie=0;if(!G){var ae=E.findAncestor(N,(function(E){return E===$?"quit":E.kind===160}));if(ae&&ae.kind===160){error(N,E.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name)}else if(R){error(N,E.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors)}else if(!$||!$.parent||!(E.isClassLike($.parent)||$.parent.kind===203)){error(N,E.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions)}else{error(N,E.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class)}return Jt}if(!R&&j.kind===169){checkThisBeforeSuper(N,$,E.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class)}if(E.isStatic($)||R){ie=512;if(!R&&Ye>=2&&Ye<=8&&(E.isPropertyDeclaration($)||E.isClassStaticBlockDeclaration($))){E.forEachEnclosingBlockScopeContainer(N.parent,(function(N){if(!E.isSourceFile(N)||E.isExternalOrCommonJsModule(N)){getNodeLinks(N).flags|=134217728}}))}}else{ie=256}getNodeLinks(N).flags|=ie;if($.kind===167&&E.hasSyntacticModifier($,256)){if(E.isSuperProperty(N.parent)&&E.isAssignmentTarget(N.parent)){getNodeLinks($).flags|=4096}else{getNodeLinks($).flags|=2048}}if(q){captureLexicalThis(N.parent,$)}if($.parent.kind===203){if(Ye<2){error(N,E.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher);return Jt}else{return zt}}var ce=$.parent;if(!E.getClassExtendsHeritageElement(ce)){error(N,E.Diagnostics.super_can_only_be_referenced_in_a_derived_class);return Jt}var le=getDeclaredTypeOfSymbol(getSymbolOfNode(ce));var _e=le&&getBaseTypes(le)[0];if(!_e){return Jt}if($.kind===169&&isInConstructorArgumentInitializer(N,$)){error(N,E.Diagnostics.super_cannot_be_referenced_in_constructor_arguments);return Jt}return ie===512?getBaseConstructorTypeOfClass(le):getTypeWithThisArgument(_e,le.thisType);function isLegalUsageOfSuperExpression(N){if(!N){return false}if(R){return N.kind===169}else{if(E.isClassLike(N.parent)||N.parent.kind===203){if(E.isStatic(N)){return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===168}else{return N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===165||N.kind===164||N.kind===169}}}return false}}function getContainingObjectLiteral(E){return(E.kind===167||E.kind===170||E.kind===171)&&E.parent.kind===203?E.parent:E.kind===211&&E.parent.kind===291?E.parent.parent:undefined}function getThisTypeArgument(N){return E.getObjectFlags(N)&4&&N.target===pn?getTypeArguments(N)[0]:undefined}function getThisTypeFromContextualType(N){return mapType(N,(function(N){return N.flags&2097152?E.forEach(N.types,getThisTypeArgument):getThisTypeArgument(N)}))}function getContextualThisParameterType(N){if(N.kind===212){return undefined}if(isContextSensitiveFunctionOrObjectLiteralMethod(N)){var R=getContextualSignature(N);if(R){var j=R.thisParameter;if(j){return getTypeOfSymbol(j)}}}var $=E.isInJSFile(N);if(ct||$){var q=getContainingObjectLiteral(N);if(q){var G=getApparentTypeOfContextualType(q);var ie=q;var ae=G;while(ae){var ce=getThisTypeFromContextualType(ae);if(ce){return instantiateType(ce,getMapperFromContext(getInferenceContext(q)))}if(ie.parent.kind!==291){break}ie=ie.parent.parent;ae=getApparentTypeOfContextualType(ie)}return getWidenedType(G?getNonNullableType(G):checkExpressionCached(q))}var le=E.walkUpParenthesizedExpressions(N.parent);if(le.kind===219&&le.operatorToken.kind===63){var _e=le.left;if(E.isAccessExpression(_e)){var Ee=_e.expression;if($&&E.isIdentifier(Ee)){var Te=E.getSourceFileOfNode(le);if(Te.commonJsModuleIndicator&&getResolvedSymbol(Ee)===Te.symbol){return undefined}}return getWidenedType(checkExpressionCached(Ee))}}}return undefined}function getContextuallyTypedParameterType(N){var R=N.parent;if(!isContextSensitiveFunctionOrObjectLiteralMethod(R)){return undefined}var j=E.getImmediatelyInvokedFunctionExpression(R);if(j&&j.arguments){var $=getEffectiveCallArguments(j);var q=R.parameters.indexOf(N);if(N.dotDotDotToken){return getSpreadArgumentType($,q,$.length,zt,undefined,0)}var G=getNodeLinks(j);var ie=G.resolvedSignature;G.resolvedSignature=Lr;var ae=q<$.length?getWidenedLiteralType(checkExpression($[q])):N.initializer?undefined:Kt;G.resolvedSignature=ie;return ae}var ce=getContextualSignature(R);if(ce){var le=R.parameters.indexOf(N)-(E.getThisParameter(R)?1:0);return N.dotDotDotToken&&E.lastOrUndefined(R.parameters)===N?getRestTypeAtPosition(ce,le):tryGetTypeAtPosition(ce,le)}}function getContextualTypeForVariableLikeDeclaration(N){var R=E.getEffectiveTypeAnnotationNode(N);if(R){return getTypeFromTypeNode(R)}switch(N.kind){case 162:return getContextuallyTypedParameterType(N);case 201:return getContextualTypeForBindingElement(N);case 165:if(E.isStatic(N)){return getContextualTypeForStaticPropertyDeclaration(N)}}}function getContextualTypeForBindingElement(N){var R=N.parent.parent;var j=N.propertyName||N.name;var $=getContextualTypeForVariableLikeDeclaration(R)||R.kind!==201&&R.initializer&&checkDeclarationInitializer(R);if(!$||E.isBindingPattern(j)||E.isComputedNonLiteralName(j))return undefined;if(R.name.kind===200){var q=E.indexOfNode(N.parent.elements,N);if(q<0)return undefined;return getContextualTypeForElementExpression($,q)}var G=getLiteralTypeFromPropertyName(j);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);return getTypeOfPropertyOfType($,ie)}}function getContextualTypeForStaticPropertyDeclaration(N){var R=E.isExpression(N.parent)&&getContextualType(N.parent);if(!R)return undefined;return getTypeOfPropertyOfContextualType(R,getSymbolOfNode(N).escapedName)}function getContextualTypeForInitializerExpression(N,R){var j=N.parent;if(E.hasInitializer(j)&&N===j.initializer){var $=getContextualTypeForVariableLikeDeclaration(j);if($){return $}if(!(R&8)&&E.isBindingPattern(j.name)){return getTypeFromBindingPattern(j.name,true,false)}}return undefined}function getContextualTypeForReturnExpression(N){var R=E.getContainingFunction(N);if(R){var j=getContextualReturnType(R);if(j){var $=E.getFunctionFlags(R);if($&1){var q=$&2?2:1;var G=getIterationTypesOfIterable(j,q,undefined);if(!G){return undefined}j=G.returnType}if($&2){var ie=mapType(j,getAwaitedType);return ie&&getUnionType([ie,createPromiseLikeType(ie)])}return j}}return undefined}function getContextualTypeForAwaitOperand(E,N){var R=getContextualType(E,N);if(R){var j=getAwaitedType(R);return j&&getUnionType([j,createPromiseLikeType(j)])}return undefined}function getContextualTypeForYieldOperand(N){var R=E.getContainingFunction(N);if(R){var j=E.getFunctionFlags(R);var $=getContextualReturnType(R);if($){return N.asteriskToken?$:getIterationTypeOfGeneratorFunctionReturnType(0,$,(j&2)!==0)}}return undefined}function isInParameterInitializerBeforeContainingFunction(N){var R=false;while(N.parent&&!E.isFunctionLike(N.parent)){if(E.isParameter(N.parent)&&(R||N.parent.initializer===N)){return true}if(E.isBindingElement(N.parent)&&N.parent.initializer===N){R=true}N=N.parent}return false}function getContextualIterationType(N,R){var j=!!(E.getFunctionFlags(R)&2);var $=getContextualReturnType(R);if($){return getIterationTypeOfGeneratorFunctionReturnType(N,$,j)||undefined}return undefined}function getContextualReturnType(E){var N=getReturnTypeFromAnnotation(E);if(N){return N}var R=getContextualSignatureForFunctionLikeDeclaration(E);if(R&&!isResolvingReturnTypeOfSignature(R)){return getReturnTypeOfSignature(R)}return undefined}function getContextualTypeForArgument(E,N){var R=getEffectiveCallArguments(E);var j=R.indexOf(N);return j===-1?undefined:getContextualTypeForArgumentAtIndex(E,j)}function getContextualTypeForArgumentAtIndex(N,R){var j=getNodeLinks(N).resolvedSignature===jr?jr:getResolvedSignature(N);if(E.isJsxOpeningLikeElement(N)&&R===0){return getEffectiveFirstArgumentForJsxSignature(j,N)}var $=j.parameters.length-1;return signatureHasRestParameter(j)&&R>=$?getIndexedAccessType(getTypeOfSymbol(j.parameters[$]),getNumberLiteralType(R-$),256):getTypeAtPosition(j,R)}function getContextualTypeForSubstitutionExpression(E,N){if(E.parent.kind===208){return getContextualTypeForArgument(E.parent,N)}return undefined}function getContextualTypeForBinaryOperand(N,R){var j=N.parent;var $=j.left,q=j.operatorToken,G=j.right;switch(q.kind){case 63:case 76:case 75:case 77:return N===G?getContextualTypeForAssignmentDeclaration(j):undefined;case 56:case 60:var ie=getContextualType(j,R);return N===G&&(ie&&ie.pattern||!ie&&!E.isDefaultedExpandoInitializer(j))?getTypeOfExpression($):ie;case 55:case 27:return N===G?getContextualType(j,R):undefined;default:return undefined}}function getSymbolForExpression(N){if(N.symbol){return N.symbol}if(E.isIdentifier(N)){return getResolvedSymbol(N)}if(E.isPropertyAccessExpression(N)){var R=getTypeOfExpression(N.expression);return E.isPrivateIdentifier(N.name)?tryGetPrivateIdentifierPropertyOfType(R,N.name):getPropertyOfType(R,N.name.escapedText)}return undefined;function tryGetPrivateIdentifierPropertyOfType(E,N){var R=lookupSymbolForPrivateIdentifierDeclaration(N.escapedText,N);return R&&getPrivateIdentifierPropertyOfType(E,R)}}function getContextualTypeForAssignmentDeclaration(N){var R,j;var $=E.getAssignmentDeclarationKind(N);switch($){case 0:case 4:var q=getSymbolForExpression(N.left);var G=q&&q.valueDeclaration;if(G&&(E.isPropertyDeclaration(G)||E.isPropertySignature(G))){var ie=E.getEffectiveTypeAnnotationNode(G);return ie&&instantiateType(getTypeFromTypeNode(ie),getSymbolLinks(q).mapper)||G.initializer&&getTypeOfExpression(N.left)}if($===0){return getTypeOfExpression(N.left)}return getContextualTypeForThisPropertyAssignment(N);case 5:if(isPossiblyAliasedThisProperty(N,$)){return getContextualTypeForThisPropertyAssignment(N)}else if(!N.left.symbol){return getTypeOfExpression(N.left)}else{var ae=N.left.symbol.valueDeclaration;if(!ae){return undefined}var ce=E.cast(N.left,E.isAccessExpression);var ie=E.getEffectiveTypeAnnotationNode(ae);if(ie){return getTypeFromTypeNode(ie)}else if(E.isIdentifier(ce.expression)){var le=ce.expression;var _e=resolveName(le,le.escapedText,111551,undefined,le.escapedText,true);if(_e){var Ee=_e.valueDeclaration&&E.getEffectiveTypeAnnotationNode(_e.valueDeclaration);if(Ee){var Te=E.getElementOrPropertyAccessName(ce);if(Te!==undefined){return getTypeOfPropertyOfContextualType(getTypeFromTypeNode(Ee),Te)}}return undefined}}return E.isInJSFile(ae)?undefined:getTypeOfExpression(N.left)}case 1:case 6:case 3:var we=(R=N.left.symbol)===null||R===void 0?void 0:R.valueDeclaration;case 2:we||(we=(j=N.symbol)===null||j===void 0?void 0:j.valueDeclaration);var Ie=we&&E.getEffectiveTypeAnnotationNode(we);return Ie?getTypeFromTypeNode(Ie):undefined;case 7:case 8:case 9:return E.Debug.fail("Does not apply");default:return E.Debug.assertNever($)}}function isPossiblyAliasedThisProperty(N,R){if(R===void 0){R=E.getAssignmentDeclarationKind(N)}if(R===4){return true}if(!E.isInJSFile(N)||R!==5||!E.isIdentifier(N.left.expression)){return false}var j=N.left.expression.escapedText;var $=resolveName(N.left,j,111551,undefined,undefined,true,true);return E.isThisInitializedDeclaration($===null||$===void 0?void 0:$.valueDeclaration)}function getContextualTypeForThisPropertyAssignment(N){if(!N.symbol)return getTypeOfExpression(N.left);if(N.symbol.valueDeclaration){var R=E.getEffectiveTypeAnnotationNode(N.symbol.valueDeclaration);if(R){var j=getTypeFromTypeNode(R);if(j){return j}}}var $=E.cast(N.left,E.isAccessExpression);if(!E.isObjectLiteralMethod(E.getThisContainer($.expression,false))){return undefined}var q=checkThisExpression($.expression);var G=E.getElementOrPropertyAccessName($);return G!==undefined&&getTypeOfPropertyOfContextualType(q,G)||undefined}function isCircularMappedProperty(N){return!!(E.getCheckFlags(N)&262144&&!N.type&&findResolutionCycleStartIndex(N,0)>=0)}function getTypeOfPropertyOfContextualType(N,R){return mapType(N,(function(N){var j;if(isGenericMappedType(N)){var $=getConstraintTypeFromMappedType(N);var q=getBaseConstraintOfType($)||$;var G=getStringLiteralType(E.unescapeLeadingUnderscores(R));if(isTypeAssignableTo(G,q)){return substituteIndexedMappedType(N,G)}}else if(N.flags&3670016){var ie=getPropertyOfType(N,R);if(ie){return isCircularMappedProperty(ie)?undefined:getTypeOfSymbol(ie)}if(isTupleType(N)){var ae=getRestTypeOfTupleType(N);if(ae&&isNumericLiteralName(R)&&+R>=0){return ae}}return(j=findApplicableIndexInfo(getIndexInfosOfStructuredType(N),getStringLiteralType(E.unescapeLeadingUnderscores(R))))===null||j===void 0?void 0:j.type}return undefined}),true)}function getContextualTypeForObjectLiteralMethod(N,R){E.Debug.assert(E.isObjectLiteralMethod(N));if(N.flags&16777216){return undefined}return getContextualTypeForObjectLiteralElement(N,R)}function getContextualTypeForObjectLiteralElement(N,R){var j=N.parent;var $=E.isPropertyAssignment(N)&&getContextualTypeForVariableLikeDeclaration(N);if($){return $}var q=getApparentTypeOfContextualType(j,R);if(q){if(hasBindableName(N)){return getTypeOfPropertyOfContextualType(q,getSymbolOfNode(N).escapedName)}if(N.name){var G=getLiteralTypeFromPropertyName(N.name);return mapType(q,(function(E){var N;return(N=findApplicableIndexInfo(getIndexInfosOfStructuredType(E),G))===null||N===void 0?void 0:N.type}),true)}}return undefined}function getContextualTypeForElementExpression(E,N){return E&&(getTypeOfPropertyOfContextualType(E,""+N)||mapType(E,(function(E){return getIteratedTypeOrElementType(1,E,Gt,undefined,false)}),true))}function getContextualTypeForConditionalOperand(E,N){var R=E.parent;return E===R.whenTrue||E===R.whenFalse?getContextualType(R,N):undefined}function getContextualTypeForChildJsxExpression(N,R){var j=getApparentTypeOfContextualType(N.openingElement.tagName);var $=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));if(!(j&&!isTypeAny(j)&&$&&$!=="")){return undefined}var q=E.getSemanticJsxChildren(N.children);var G=q.indexOf(R);var ie=getTypeOfPropertyOfContextualType(j,$);return ie&&(q.length===1?ie:mapType(ie,(function(E){if(isArrayLikeType(E)){return getIndexedAccessType(E,getNumberLiteralType(G))}else{return E}}),true))}function getContextualTypeForJsxExpression(N){var R=N.parent;return E.isJsxAttributeLike(R)?getContextualType(N):E.isJsxElement(R)?getContextualTypeForChildJsxExpression(R,N):undefined}function getContextualTypeForJsxAttribute(N){if(E.isJsxAttribute(N)){var R=getApparentTypeOfContextualType(N.parent);if(!R||isTypeAny(R)){return undefined}return getTypeOfPropertyOfContextualType(R,N.name.escapedText)}else{return getContextualType(N.parent)}}function isPossiblyDiscriminantValue(E){switch(E.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 151:return true;case 204:case 210:return isPossiblyDiscriminantValue(E.expression);case 286:return!E.expression||isPossiblyDiscriminantValue(E.expression)}return false}function discriminateContextualTypeByObjectMembers(N,R){return getMatchingUnionConstituentForObjectLiteral(R,N)||discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===291&&isPossiblyDiscriminantValue(E.initializer)&&isDiscriminantProperty(R,E.symbol.escapedName)})),(function(E){return[function(){return getContextFreeTypeOfExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function discriminateContextualTypeByJSXAttributes(N,R){return discriminateTypeByDiscriminableItems(R,E.concatenate(E.map(E.filter(N.properties,(function(E){return!!E.symbol&&E.kind===283&&isDiscriminantProperty(R,E.symbol.escapedName)&&(!E.initializer||isPossiblyDiscriminantValue(E.initializer))})),(function(E){return[!E.initializer?function(){return ar}:function(){return checkExpression(E.initializer)},E.symbol.escapedName]})),E.map(E.filter(getPropertiesOfType(R),(function(E){var j;return!!(E.flags&16777216)&&!!((j=N===null||N===void 0?void 0:N.symbol)===null||j===void 0?void 0:j.members)&&!N.symbol.members.has(E.escapedName)&&isDiscriminantProperty(R,E.escapedName)})),(function(E){return[function(){return Gt},E.escapedName]}))),isTypeAssignableTo,R)}function getApparentTypeOfContextualType(N,R){var j=E.isObjectLiteralMethod(N)?getContextualTypeForObjectLiteralMethod(N,R):getContextualType(N,R);var $=instantiateContextualType(j,N,R);if($&&!(R&&R&2&&$.flags&8650752)){var q=mapType($,getApparentType,true);return q.flags&1048576&&E.isObjectLiteralExpression(N)?discriminateContextualTypeByObjectMembers(N,q):q.flags&1048576&&E.isJsxAttributes(N)?discriminateContextualTypeByJSXAttributes(N,q):q}}function instantiateContextualType(N,R,j){if(N&&maybeTypeOfKind(N,465829888)){var $=getInferenceContext(R);if($&&E.some($.inferences,hasInferenceCandidates)){if(j&&j&1){return instantiateInstantiableTypes(N,$.nonFixingMapper)}if($.returnMapper){return instantiateInstantiableTypes(N,$.returnMapper)}}}return N}function instantiateInstantiableTypes(N,R){if(N.flags&465829888){return instantiateType(N,R)}if(N.flags&1048576){return getUnionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})),0)}if(N.flags&2097152){return getIntersectionType(E.map(N.types,(function(E){return instantiateInstantiableTypes(E,R)})))}return N}function getContextualType(N,R){if(N.flags&16777216){return undefined}if(N.contextualType){return N.contextualType}var j=N.parent;switch(j.kind){case 252:case 162:case 165:case 164:case 201:return getContextualTypeForInitializerExpression(N,R);case 212:case 245:return getContextualTypeForReturnExpression(N);case 222:return getContextualTypeForYieldOperand(j);case 216:return getContextualTypeForAwaitOperand(j,R);case 206:if(j.expression.kind===100){return er}case 207:return getContextualTypeForArgument(j,N);case 209:case 227:return E.isConstTypeReference(j.type)?tryFindWhenConstTypeReference(j):getTypeFromTypeNode(j.type);case 219:return getContextualTypeForBinaryOperand(N,R);case 291:case 292:return getContextualTypeForObjectLiteralElement(j,R);case 293:return getContextualType(j.parent,R);case 202:{var $=j;var q=getApparentTypeOfContextualType($,R);return getContextualTypeForElementExpression(q,E.indexOfNode($.elements,N))}case 220:return getContextualTypeForConditionalOperand(N,R);case 231:E.Debug.assert(j.parent.kind===221);return getContextualTypeForSubstitutionExpression(j.parent,N);case 210:{var G=E.isInJSFile(j)?E.getJSDocTypeTag(j):undefined;return G?getTypeFromTypeNode(G.typeExpression.type):getContextualType(j,R)}case 228:return getContextualType(j,R);case 286:return getContextualTypeForJsxExpression(j);case 283:case 285:return getContextualTypeForJsxAttribute(j);case 278:case 277:return getContextualJsxElementAttributesType(j,R)}return undefined;function tryFindWhenConstTypeReference(E){return getContextualType(E)}}function getInferenceContext(N){var R=E.findAncestor(N,(function(E){return!!E.inferenceContext}));return R&&R.inferenceContext}function getContextualJsxElementAttributesType(N,R){if(E.isJsxOpeningElement(N)&&N.parent.contextualType&&R!==4){return N.parent.contextualType}return getContextualTypeForArgumentAtIndex(N,0)}function getEffectiveFirstArgumentForJsxSignature(E,N){return getJsxReferenceKind(N)!==0?getJsxPropsTypeFromCallSignature(E,N):getJsxPropsTypeFromClassType(E,N)}function getJsxPropsTypeFromCallSignature(E,N){var R=getTypeOfFirstParameterOfSignatureWithFallback(E,Ht);R=getJsxManagedAttributesFromLocatedAttributes(N,getJsxNamespaceAt(N),R);var j=getJsxType(Qe.IntrinsicAttributes,N);if(j!==Jt){R=intersectTypes(j,R)}return R}function getJsxPropsTypeForSignatureFromMember(E,N){if(E.compositeSignatures){var R=[];for(var j=0,$=E.compositeSignatures;j<$.length;j++){var q=$[j];var G=getReturnTypeOfSignature(q);if(isTypeAny(G)){return G}var ie=getTypeOfPropertyOfType(G,N);if(!ie){return}R.push(ie)}return getIntersectionType(R)}var ae=getReturnTypeOfSignature(E);return isTypeAny(ae)?ae:getTypeOfPropertyOfType(ae,N)}function getStaticTypeOfReferencedJsxConstructor(E){if(isJsxIntrinsicIdentifier(E.tagName)){var N=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(E);var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}var j=checkExpressionCached(E.tagName);if(j.flags&128){var N=getIntrinsicAttributesTypeFromStringLiteralType(j,E);if(!N){return Jt}var R=createSignatureForJSXIntrinsic(E,N);return getOrCreateTypeFromSignature(R)}return j}function getJsxManagedAttributesFromLocatedAttributes(N,R,j){var $=getJsxLibraryManagedAttributes(R);if($){var q=getDeclaredTypeOfSymbol($);var G=getStaticTypeOfReferencedJsxConstructor(N);if($.flags&524288){var ie=getSymbolLinks($).typeParameters;if(E.length(ie)>=2){var ae=fillMissingTypeArguments([G,j],ie,2,E.isInJSFile(N));return getTypeAliasInstantiation($,ae)}}if(E.length(q.typeParameters)>=2){var ae=fillMissingTypeArguments([G,j],q.typeParameters,2,E.isInJSFile(N));return createTypeReference(q,ae)}}return j}function getJsxPropsTypeFromClassType(N,R){var j=getJsxNamespaceAt(R);var $=getJsxElementPropertiesName(j);var q=$===undefined?getTypeOfFirstParameterOfSignatureWithFallback(N,Ht):$===""?getReturnTypeOfSignature(N):getJsxPropsTypeForSignatureFromMember(N,$);if(!q){if(!!$&&!!E.length(R.attributes.properties)){error(R,E.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,E.unescapeLeadingUnderscores($))}return Ht}q=getJsxManagedAttributesFromLocatedAttributes(R,j,q);if(isTypeAny(q)){return q}else{var G=q;var ie=getJsxType(Qe.IntrinsicClassAttributes,R);if(ie!==Jt){var ae=getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(ie.symbol);var ce=getReturnTypeOfSignature(N);G=intersectTypes(ae?createTypeReference(ie,fillMissingTypeArguments([ce],ae,getMinTypeArgumentCount(ae),E.isInJSFile(R))):ie,G)}var le=getJsxType(Qe.IntrinsicAttributes,R);if(le!==Jt){G=intersectTypes(le,G)}return G}}function getIntersectedSignatures(N){return E.getStrictOptionValue(Xe,"noImplicitAny")?E.reduceLeft(N,(function(E,N){return E===N||!E?E:compareTypeParametersIdentical(E.typeParameters,N.typeParameters)?combineSignaturesOfIntersectionMembers(E,N):undefined})):undefined}function combineIntersectionThisParam(E,N,R){if(!E||!N){return E||N}var j=getUnionType([getTypeOfSymbol(E),instantiateType(getTypeOfSymbol(N),R)]);return createSymbolWithType(E,j)}function combineIntersectionParameters(E,N,R){var j=getParameterCount(E);var $=getParameterCount(N);var q=j>=$?E:N;var G=q===E?N:E;var ie=q===E?j:$;var ae=hasEffectiveRestParameter(E)||hasEffectiveRestParameter(N);var ce=ae&&!hasEffectiveRestParameter(q);var le=new Array(ie+(ce?1:0));for(var _e=0;_e=getMinArgumentCount(q)&&_e>=getMinArgumentCount(G);var Me=_e>=j?undefined:getParameterNameAtPosition(E,_e);var Le=_e>=$?undefined:getParameterNameAtPosition(N,_e);var Be=Me===Le?Me:!Me?Le:!Le?Me:undefined;var je=createSymbol(1|(Ne&&!Ie?16777216:0),Be||"arg"+_e);je.type=Ie?createArrayType(we):we;le[_e]=je}if(ce){var Ue=createSymbol(1,"args");Ue.type=createArrayType(getTypeAtPosition(G,ie));if(G===N){Ue.type=instantiateType(Ue.type,R)}le[ie]=Ue}return le}function combineSignaturesOfIntersectionMembers(N,R){var j=N.typeParameters||R.typeParameters;var $;if(N.typeParameters&&R.typeParameters){$=createTypeMapper(R.typeParameters,N.typeParameters)}var q=N.declaration;var G=combineIntersectionParameters(N,R,$);var ie=combineIntersectionThisParam(N.thisParameter,R.thisParameter,$);var ae=Math.max(N.minArgumentCount,R.minArgumentCount);var ce=createSignature(q,j,ie,G,undefined,undefined,ae,(N.flags|R.flags)&39);ce.compositeKind=2097152;ce.compositeSignatures=E.concatenate(N.compositeKind===2097152&&N.compositeSignatures||[N],[R]);if($){ce.mapper=N.compositeKind===2097152&&N.mapper&&N.compositeSignatures?combineTypeMappers(N.mapper,$):$}return ce}function getContextualCallSignature(N,R){var j=getSignaturesOfType(N,0);var $=E.filter(j,(function(E){return!isAritySmaller(E,R)}));return $.length===1?$[0]:getIntersectedSignatures($)}function isAritySmaller(N,R){var j=0;for(;j0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false;Be=false}var Ke=getReducedType(checkExpression(qe.expression));if(isValidSpreadType(Ke)){var it=tryMergeUnionOfObjectTypeAndEmptyObject(Ke,le);if($){checkSpreadPropOverrides(it,$,qe)}We=G.length;if(ie===Jt){continue}ie=getSpreadType(ie,it,N.symbol,Ie,le)}else{error(qe,E.Diagnostics.Spread_types_may_only_be_created_from_object_types);ie=Jt}continue}else{E.Debug.assert(qe.kind===170||qe.kind===171);checkNodeDeferred(qe)}if(Ge&&!(Ge.flags&8576)){if(isTypeAssignableTo(Ge,yr)){if(isTypeAssignableTo(Ge,tr)){Le=true}else if(isTypeAssignableTo(Ge,lr)){Be=true}else{Me=true}if(j){Ne=true}}}else{q.set(He.escapedName,He)}G.push(He)}if(ce&&N.parent.kind!==293){for(var ot=0,st=getPropertiesOfType(ae);ot0){ie=getSpreadType(ie,createObjectLiteralType(),N.symbol,Ie,le);G=[];q=E.createSymbolTable();Me=false;Le=false}return mapType(ie,(function(E){return E===Tr?createObjectLiteralType():E}))}return createObjectLiteralType();function createObjectLiteralType(){var R=[];if(Me)R.push(getObjectLiteralIndexInfo(N,We,G,er));if(Le)R.push(getObjectLiteralIndexInfo(N,We,G,tr));if(Be)R.push(getObjectLiteralIndexInfo(N,We,G,lr));var $=createAnonymousType(N.symbol,q,E.emptyArray,E.emptyArray,R);$.objectFlags|=Ie|128|262144;if(we){$.objectFlags|=8192}if(Ne){$.objectFlags|=512}if(j){$.pattern=N}return $}}function isValidSpreadType(N){if(N.flags&465829888){var R=getBaseConstraintOfType(N);if(R!==undefined){return isValidSpreadType(R)}}return!!(N.flags&(1|67108864|524288|58982400)||getFalsyFlags(N)&117632&&isValidSpreadType(removeDefinitelyFalsyTypes(N))||N.flags&3145728&&E.every(N.types,isValidSpreadType))}function checkJsxSelfClosingElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E)}function checkJsxSelfClosingElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxElementDeferred(E){checkJsxOpeningLikeElementOrOpeningFragment(E.openingElement);if(isJsxIntrinsicIdentifier(E.closingElement.tagName)){getIntrinsicTagSymbol(E.closingElement)}else{checkExpression(E.closingElement.tagName)}checkJsxChildren(E)}function checkJsxElement(E,N){checkNodeDeferred(E);return getJsxElementTypeAt(E)||zt}function checkJsxFragment(N){checkJsxOpeningLikeElementOrOpeningFragment(N.openingFragment);var R=E.getSourceFileOfNode(N);if(E.getJSXTransformEnabled(Xe)&&(Xe.jsxFactory||R.pragmas.has("jsx"))&&!Xe.jsxFragmentFactory&&!R.pragmas.has("jsxfrag")){error(N,Xe.jsxFactory?E.Diagnostics.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:E.Diagnostics.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments)}checkJsxChildren(N);return getJsxElementTypeAt(N)||zt}function isHyphenatedJsxName(N){return E.stringContains(N,"-")}function isJsxIntrinsicIdentifier(N){return N.kind===79&&E.isIntrinsicJsxName(N.escapedText)}function checkJsxAttribute(E,N){return E.initializer?checkExpressionForMutableLocation(E.initializer,N):ar}function createJsxAttributesTypeFromAttributesProperty(N,R){var j=N.attributes;var $=rt?E.createSymbolTable():undefined;var q=E.createSymbolTable();var G=kr;var ie=false;var ae;var ce=false;var le=2048;var _e=getJsxElementChildrenPropertyName(getJsxNamespaceAt(N));for(var Ee=0,Te=j.properties;Ee0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false);q=E.createSymbolTable()}var Ne=getReducedType(checkExpressionCached(we.expression,R));if(isTypeAny(Ne)){ie=true}if(isValidSpreadType(Ne)){G=getSpreadType(G,Ne,j.symbol,le,false);if($){checkSpreadPropOverrides(Ne,$,we)}}else{ae=ae?getIntersectionType([ae,Ne]):Ne}}}if(!ie){if(q.size>0){G=getSpreadType(G,createJsxAttributesType(),j.symbol,le,false)}}var Le=N.parent.kind===276?N.parent:undefined;if(Le&&Le.openingElement===N&&Le.children.length>0){var Be=checkJsxChildren(Le,R);if(!ie&&_e&&_e!==""){if(ce){error(j,E.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,E.unescapeLeadingUnderscores(_e))}var je=getApparentTypeOfContextualType(N.attributes);var Ue=je&&getTypeOfPropertyOfContextualType(je,_e);var ze=createSymbol(4,_e);ze.type=Be.length===1?Be[0]:Ue&&someType(Ue,isTupleLikeType)?createTupleType(Be):createArrayType(getUnionType(Be));ze.valueDeclaration=E.factory.createPropertySignature(undefined,E.unescapeLeadingUnderscores(_e),undefined,undefined);E.setParent(ze.valueDeclaration,j);ze.valueDeclaration.symbol=ze;var We=E.createSymbolTable();We.set(_e,ze);G=getSpreadType(G,createAnonymousType(j.symbol,We,E.emptyArray,E.emptyArray,E.emptyArray),j.symbol,le,false)}}if(ie){return zt}if(ae&&G!==kr){return getIntersectionType([ae,G])}return ae||(G===kr?createJsxAttributesType():G);function createJsxAttributesType(){le|=pt;var N=createAnonymousType(j.symbol,q,E.emptyArray,E.emptyArray,E.emptyArray);N.objectFlags|=le|128|262144;return N}}function checkJsxChildren(E,N){var R=[];for(var j=0,$=E.children;j<$.length;j++){var q=$[j];if(q.kind===11){if(!q.containsOnlyTriviaWhiteSpaces){R.push(er)}}else if(q.kind===286&&!q.expression){continue}else{R.push(checkExpressionForMutableLocation(q,N))}}return R}function checkSpreadPropOverrides(N,R,j){for(var $=0,q=getPropertiesOfType(N);$1&&j.declarations){error(j.declarations[0],E.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,E.unescapeLeadingUnderscores(N))}}return undefined}function getJsxLibraryManagedAttributes(E){return E&&getSymbol(E.exports,Qe.LibraryManagedAttributes,788968)}function getJsxElementPropertiesName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementAttributesPropertyNameContainer,E)}function getJsxElementChildrenPropertyName(E){return getNameFromJsxElementAttributesContainer(Qe.ElementChildrenAttributeNameContainer,E)}function getUninstantiatedJsxSignaturesOfType(N,R){if(N.flags&4){return[Lr]}else if(N.flags&128){var j=getIntrinsicAttributesTypeFromStringLiteralType(N,R);if(!j){error(R,E.Diagnostics.Property_0_does_not_exist_on_type_1,N.value,"JSX."+Qe.IntrinsicElements);return E.emptyArray}else{var $=createSignatureForJSXIntrinsic(R,j);return[$]}}var q=getApparentType(N);var G=getSignaturesOfType(q,1);if(G.length===0){G=getSignaturesOfType(q,0)}if(G.length===0&&q.flags&1048576){G=getUnionSignatures(E.map(q.types,(function(E){return getUninstantiatedJsxSignaturesOfType(E,R)})))}return G}function getIntrinsicAttributesTypeFromStringLiteralType(N,R){var j=getJsxType(Qe.IntrinsicElements,R);if(j!==Jt){var $=N.value;var q=getPropertyOfType(j,E.escapeLeadingUnderscores($));if(q){return getTypeOfSymbol(q)}var G=getIndexTypeOfType(j,er);if(G){return G}return undefined}return zt}function checkJsxReturnAssignableToAppropriateBound(N,R,j){if(N===1){var $=getJsxStatelessElementTypeAt(j);if($){checkTypeRelatedTo(R,$,Pi,j.tagName,E.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else if(N===0){var q=getJsxElementClassTypeAt(j);if(q){checkTypeRelatedTo(R,q,Pi,j.tagName,E.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}}else{var $=getJsxStatelessElementTypeAt(j);var q=getJsxElementClassTypeAt(j);if(!$||!q){return}var G=getUnionType([$,q]);checkTypeRelatedTo(R,G,Pi,j.tagName,E.Diagnostics.Its_element_type_0_is_not_a_valid_JSX_element,generateInitialErrorChain)}function generateInitialErrorChain(){var N=E.getTextOfNode(j.tagName);return E.chainDiagnosticMessages(undefined,E.Diagnostics._0_cannot_be_used_as_a_JSX_component,N)}}function getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N){E.Debug.assert(isJsxIntrinsicIdentifier(N.tagName));var R=getNodeLinks(N);if(!R.resolvedJsxElementAttributesType){var j=getIntrinsicTagSymbol(N);if(R.jsxFlags&1){return R.resolvedJsxElementAttributesType=getTypeOfSymbol(j)||Jt}else if(R.jsxFlags&2){return R.resolvedJsxElementAttributesType=getIndexTypeOfType(getJsxType(Qe.IntrinsicElements,N),er)||Jt}else{return R.resolvedJsxElementAttributesType=Jt}}return R.resolvedJsxElementAttributesType}function getJsxElementClassTypeAt(E){var N=getJsxType(Qe.ElementClass,E);if(N===Jt)return undefined;return N}function getJsxElementTypeAt(E){return getJsxType(Qe.Element,E)}function getJsxStatelessElementTypeAt(E){var N=getJsxElementTypeAt(E);if(N){return getUnionType([N,Yt])}}function getJsxIntrinsicTagNamesAt(N){var R=getJsxType(Qe.IntrinsicElements,N);return R?getPropertiesOfType(R):E.emptyArray}function checkJsxPreconditions(N){if((Xe.jsx||0)===0){error(N,E.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided)}if(getJsxElementTypeAt(N)===undefined){if(st){error(N,E.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}}}function checkJsxOpeningLikeElementOrOpeningFragment(N){var R=E.isJsxOpeningLikeElement(N);if(R){checkGrammarJsxElement(N)}checkJsxPreconditions(N);if(!getJsxNamespaceContainerForImplicitImport(N)){var j=xi&&Xe.jsx===2?E.Diagnostics.Cannot_find_name_0:undefined;var $=getJsxNamespace(N);var q=R?N.tagName:N;var G=void 0;if(!(E.isJsxOpeningFragment(N)&&$==="null")){G=resolveName(q,$,111551,j,$,true)}if(G){G.isReferenced=67108863;if(G.flags&2097152&&!getTypeOnlyAliasDeclaration(G)){markAliasSymbolAsReferenced(G)}}}if(R){var ie=N;var ae=getResolvedSignature(ie);checkDeprecatedSignature(ae,N);checkJsxReturnAssignableToAppropriateBound(getJsxReferenceKind(ie),getReturnTypeOfSignature(ae),ie)}}function isKnownProperty(E,N,R){if(E.flags&524288){if(getPropertyOfObjectType(E,N)||getApplicableIndexInfoForName(E,N)||isLateBoundName(N)&&getIndexInfoOfType(E,er)||R&&isHyphenatedJsxName(N)){return true}}else if(E.flags&3145728&&isExcessPropertyCheckTarget(E)){for(var j=0,$=E.types;j<$.length;j++){var q=$[j];if(isKnownProperty(q,N,R)){return true}}}return false}function isExcessPropertyCheckTarget(N){return!!(N.flags&524288&&!(E.getObjectFlags(N)&512)||N.flags&67108864||N.flags&1048576&&E.some(N.types,isExcessPropertyCheckTarget)||N.flags&2097152&&E.every(N.types,isExcessPropertyCheckTarget))}function checkJsxExpression(N,R){checkGrammarJsxExpression(N);if(N.expression){var j=checkExpression(N.expression,R);if(N.dotDotDotToken&&j!==zt&&!isArrayType(j)){error(N,E.Diagnostics.JSX_spread_child_must_be_an_array_type)}return j}else{return Jt}}function getDeclarationNodeFlagsFromSymbol(N){return N.valueDeclaration?E.getCombinedNodeFlags(N.valueDeclaration):0}function isPrototypeProperty(N){if(N.flags&8192||E.getCheckFlags(N)&4){return true}if(E.isInJSFile(N.valueDeclaration)){var R=N.valueDeclaration.parent;return R&&E.isBinaryExpression(R)&&E.getAssignmentDeclarationKind(R)===3}}function checkPropertyAccessibility(N,R,j,$,q,G){if(G===void 0){G=true}var ie=E.getDeclarationModifierFlagsFromSymbol(q,j);var ae=N.kind===159?N.right:N.kind===198?N:N.kind===201&&N.propertyName?N.propertyName:N.name;if(R){if(Ye<2){if(symbolHasNonMethodDeclaration(q)){if(G){error(ae,E.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword)}return false}}if(ie&128){if(G){error(ae,E.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}}if(ie&128&&symbolHasNonMethodDeclaration(q)&&(E.isThisProperty(N)||E.isThisInitializedObjectBindingExpression(N)||E.isObjectBindingPattern(N.parent)&&E.isThisInitializedDeclaration(N.parent.parent))){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(ce&&isNodeUsedDuringClassInitialization(N)){if(G){error(ae,E.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,symbolToString(q),E.getTextOfIdentifierOrLiteral(ce.name))}return false}}if(!(ie&24)){return true}if(ie&8){var ce=E.getClassLikeDeclarationOfSymbol(getParentOfSymbol(q));if(!isNodeWithinClass(N,ce)){if(G){error(ae,E.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,symbolToString(q),typeToString(getDeclaringClass(q)))}return false}return true}if(R){return true}var le=forEachEnclosingClass(N,(function(E){var N=getDeclaredTypeOfSymbol(getSymbolOfNode(E));return isClassDerivedFromDeclaringClasses(N,q,j)?N:undefined}));if(!le){var _e=void 0;if(ie&32||!(_e=getThisParameterFromNodeContext(N))||!_e.type){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,symbolToString(q),typeToString(getDeclaringClass(q)||$))}return false}var Ee=getTypeFromTypeNode(_e.type);le=(Ee.flags&262144?getConstraintOfTypeParameter(Ee):Ee).target}if(ie&32){return true}if($.flags&262144){$=$.isThisType?getConstraintOfTypeParameter($):getBaseConstraintOfType($)}if(!$||!hasBaseType($,le)){if(G){error(ae,E.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,symbolToString(q),typeToString(le),typeToString($))}return false}return true}function getThisParameterFromNodeContext(N){var R=E.getThisContainer(N,false);return R&&E.isFunctionLike(R)?E.getThisParameter(R):undefined}function symbolHasNonMethodDeclaration(E){return!!forEachProperty(E,(function(E){return!(E.flags&8192)}))}function checkNonNullExpression(E){return checkNonNullType(checkExpression(E),E)}function isNullableType(E){return!!((rt?getFalsyFlags(E):E.flags)&98304)}function getNonNullableTypeIfNeeded(E){return isNullableType(E)?getNonNullableType(E):E}function reportObjectPossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Object_is_possibly_null_or_undefined:E.Diagnostics.Object_is_possibly_undefined:E.Diagnostics.Object_is_possibly_null)}function reportCannotInvokePossiblyNullOrUndefinedError(N,R){error(N,R&32768?R&65536?E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_undefined:E.Diagnostics.Cannot_invoke_an_object_which_is_possibly_null)}function checkNonNullTypeWithReporter(N,R,j){if(rt&&N.flags&2){error(R,E.Diagnostics.Object_is_of_type_unknown);return Jt}var $=(rt?getFalsyFlags(N):N.flags)&98304;if($){j(R,$);var q=getNonNullableType(N);return q.flags&(98304|131072)?Jt:q}return N}function checkNonNullType(E,N){return checkNonNullTypeWithReporter(E,N,reportObjectPossiblyNullOrUndefinedError)}function checkNonNullNonVoidType(N,R){var j=checkNonNullType(N,R);if(j!==Jt&&j.flags&16384){error(R,E.Diagnostics.Object_is_possibly_undefined)}return j}function checkPropertyAccessExpression(E,N){return E.flags&32?checkPropertyAccessChain(E,N):checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullExpression(E.expression),E.name,N)}function checkPropertyAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkPropertyAccessExpressionOrQualifiedName(E,E.expression,checkNonNullType(j,E.expression),E.name,N),E,j!==R)}function checkQualifiedName(N,R){var j=E.isPartOfTypeQuery(N)&&E.isThisIdentifier(N.left)?checkNonNullType(checkThisExpression(N.left),N.left):checkNonNullExpression(N.left);return checkPropertyAccessExpressionOrQualifiedName(N,N.left,j,N.right,R)}function isMethodAccessForCall(N){while(N.parent.kind===210){N=N.parent}return E.isCallOrNewExpression(N.parent)&&N.parent.expression===N}function lookupSymbolForPrivateIdentifierDeclaration(N,R){for(var j=E.getContainingClass(R);!!j;j=E.getContainingClass(j)){var $=j.symbol;var q=E.getSymbolNameForPrivateIdentifier($,N);var G=$.members&&$.members.get(q)||$.exports&&$.exports.get(q);if(G){return G}}}function getPrivateIdentifierPropertyOfType(E,N){return getPropertyOfType(E,N.escapedName)}function checkPrivateIdentifierPropertyAccess(N,j,$){var q;var G=getPropertiesOfType(N);if(G){E.forEach(G,(function(N){var R=N.valueDeclaration;if(R&&E.isNamedDeclaration(R)&&E.isPrivateIdentifier(R.name)&&R.name.escapedText===j.escapedText){q=N;return true}}))}var ie=diagnosticName(j);if(q){var ae=E.Debug.checkDefined(q.valueDeclaration);var ce=E.Debug.checkDefined(E.getContainingClass(ae));if($===null||$===void 0?void 0:$.valueDeclaration){var le=$.valueDeclaration;var _e=E.getContainingClass(le);E.Debug.assert(!!_e);if(E.findAncestor(_e,(function(E){return ce===E}))){var Ee=error(j,E.Diagnostics.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,ie,typeToString(N));E.addRelatedInfo(Ee,E.createDiagnosticForNode(le,E.Diagnostics.The_shadowing_declaration_of_0_is_defined_here,ie),E.createDiagnosticForNode(ae,E.Diagnostics.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,ie));return true}}error(j,E.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,ie,diagnosticName(ce.name||R));return true}return false}function isThisPropertyAccessInConstructor(N,R){return(isConstructorDeclaredProperty(R)||E.isThisProperty(N)&&isAutoTypedProperty(R))&&E.getThisContainer(N,true)===getDeclaringConstructor(R)}function checkPropertyAccessExpressionOrQualifiedName(N,R,j,$,q){var G=getNodeLinks(R).resolvedSymbol;var ie=E.getAssignmentTargetKind(N);var ae=getApparentType(ie!==0||isMethodAccessForCall(N)?getWidenedType(j):j);var ce=isTypeAny(ae)||ae===pr;var le;if(E.isPrivateIdentifier($)){if(Ye<99){if(ie!==0){checkExternalEmitHelpers(N,1048576)}if(ie!==1){checkExternalEmitHelpers(N,524288)}}var _e=lookupSymbolForPrivateIdentifierDeclaration($.escapedText,$);if(ie&&_e&&_e.valueDeclaration&&E.isMethodDeclaration(_e.valueDeclaration)){grammarErrorOnNode($,E.Diagnostics.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,E.idText($))}if((_e===null||_e===void 0?void 0:_e.valueDeclaration)&&(Xe.target===99&&!et)){var Ee=E.getContainingClass(_e.valueDeclaration);var Te=E.findAncestor(N,(function(N){if(N===Ee)return"quit";if(E.isPropertyDeclaration(N.parent)&&E.hasStaticModifier(N.parent)&&N.parent.initializer===N&&N.parent.parent===Ee){return true}return false}));if(Te){var we=getSymbolOfNode(Te.parent);E.Debug.assert(we,"Initializer without declaration symbol");var Ie=error(N,E.Diagnostics.Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnext_and_useDefineForClassFields_is_false,E.symbolName(_e));E.addRelatedInfo(Ie,E.createDiagnosticForNode(Te.parent,E.Diagnostics.Initializer_for_property_0,E.symbolName(we)))}}if(ce){if(_e){return ae}if(!E.getContainingClass($)){grammarErrorOnNode($,E.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);return zt}}le=_e?getPrivateIdentifierPropertyOfType(j,_e):undefined;if(!le&&checkPrivateIdentifierPropertyAccess(j,$,_e)){return Jt}else{var Ne=le&&le.flags&65536&&!(le.flags&32768);if(Ne&&ie!==1){error(N,E.Diagnostics.Private_accessor_was_defined_without_a_getter)}}}else{if(ce){if(E.isIdentifier(R)&&G){markAliasReferenced(G,N)}return ae}le=getPropertyOfType(ae,$.escapedText)}if(E.isIdentifier(R)&&G&&(Xe.isolatedModules||!(le&&isConstEnumOrConstEnumOnlyModule(le))||E.shouldPreserveConstEnums(Xe)&&isExportOrExportExpression(N))){markAliasReferenced(G,N)}var Me;if(!le){var Le=!E.isPrivateIdentifier($)&&(ie===0||!isGenericObjectType(j)||isThisTypeParameter(j))?getApplicableIndexInfoForName(ae,$.escapedText):undefined;if(!(Le&&Le.type)){var Be=isUncheckedJSSuggestion(N,j.symbol,true);if(!Be&&isJSLiteralType(j)){return zt}if(j.symbol===bt){if(bt.exports.has($.escapedText)&&bt.exports.get($.escapedText).flags&418){error($,E.Diagnostics.Property_0_does_not_exist_on_type_1,E.unescapeLeadingUnderscores($.escapedText),typeToString(j))}else if(st){error($,E.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,typeToString(j))}return zt}if($.escapedText&&!checkAndReportErrorForExtendingInterface(N)){reportNonexistentProperty($,isThisTypeParameter(j)?ae:j,Be)}return Jt}if(Le.isReadonly&&(E.isAssignmentTarget(N)||E.isDeleteTarget(N))){error(N,E.Diagnostics.Index_signature_in_type_0_only_permits_reading,typeToString(ae))}Me=Xe.noUncheckedIndexedAccess&&!E.isAssignmentTarget(N)?getUnionType([Le.type,Gt]):Le.type;if(Xe.noPropertyAccessFromIndexSignature&&E.isPropertyAccessExpression(N)){error($,E.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,E.unescapeLeadingUnderscores($.escapedText))}}else{if(le.declarations&&getDeclarationNodeFlagsFromSymbol(le)&134217728&&isUncalledFunctionReference(N,le)){addDeprecatedSuggestion($,le.declarations,$.escapedText)}checkPropertyNotUsedBeforeDeclaration(le,N,$);markPropertyAsReferenced(le,N,isSelfTypeAccess(R,G));getNodeLinks(N).resolvedSymbol=le;var je=E.isWriteAccess(N);checkPropertyAccessibility(N,R.kind===106,je,ae,le);if(isAssignmentToReadonlyEntity(N,le,ie)){error($,E.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,E.idText($));return Jt}Me=isThisPropertyAccessInConstructor(N,le)?Wt:je?getSetAccessorTypeOfSymbol(le):getTypeOfSymbol(le)}return getFlowTypeOfAccessExpression(N,le,Me,$,q)}function isUncheckedJSSuggestion(N,R,j){var $=E.getSourceFileOfNode(N);if($){if(Xe.checkJs===undefined&&$.checkJsDirective===undefined&&($.scriptKind===1||$.scriptKind===2)){var q=E.forEach(R===null||R===void 0?void 0:R.declarations,E.getSourceFileOfNode);return!($!==q&&!!q&&isGlobalSourceFile(q))&&!(j&&R&&R.flags&32)&&!(!!N&&j&&E.isPropertyAccessExpression(N)&&N.expression.kind===108)}}return false}function getFlowTypeOfAccessExpression(N,R,j,$,q){var G=E.getAssignmentTargetKind(N);if(G===1){return removeMissingType(j,!!(R&&R.flags&16777216))}if(R&&!(R.flags&(3|4|98304))&&!(R.flags&8192&&j.flags&1048576)&&!isDuplicatedCommonJSExport(R.declarations)){return j}if(j===Wt){return getFlowTypeOfProperty(N,R)}j=getNarrowableTypeForReference(j,N,q);var ie=false;if(rt&&ot&&E.isAccessExpression(N)&&N.expression.kind===108){var ae=R&&R.valueDeclaration;if(ae&&isPropertyWithoutInitializer(ae)){if(!E.isStatic(ae)){var ce=getControlFlowContainer(N);if(ce.kind===169&&ce.parent===ae.parent&&!(ae.flags&8388608)){ie=true}}}}else if(rt&&R&&R.valueDeclaration&&E.isPropertyAccessExpression(R.valueDeclaration)&&E.getAssignmentDeclarationPropertyAccessKind(R.valueDeclaration)&&getControlFlowContainer(N)===getControlFlowContainer(R.valueDeclaration)){ie=true}var le=getFlowTypeOfReference(N,j,ie?getOptionalType(j):j);if(ie&&!(getFalsyFlags(j)&32768)&&getFalsyFlags(le)&32768){error($,E.Diagnostics.Property_0_is_used_before_being_assigned,symbolToString(R));return j}return G?getBaseTypeOfLiteralType(le):le}function checkPropertyNotUsedBeforeDeclaration(N,R,j){var $=N.valueDeclaration;if(!$||E.getSourceFileOfNode(R).isDeclarationFile){return}var q;var G=E.idText(j);if(isInPropertyInitializerOrClassStaticBlock(R)&&!isOptionalPropertyDeclaration($)&&!(E.isAccessExpression(R)&&E.isAccessExpression(R.expression))&&!isBlockScopedNameDeclaredBeforeUse($,j)&&(Xe.useDefineForClassFields||!isPropertyDeclaredInAncestorClass(N))){q=error(j,E.Diagnostics.Property_0_is_used_before_its_initialization,G)}else if($.kind===255&&R.parent.kind!==176&&!($.flags&8388608)&&!isBlockScopedNameDeclaredBeforeUse($,j)){q=error(j,E.Diagnostics.Class_0_used_before_its_declaration,G)}if(q){E.addRelatedInfo(q,E.createDiagnosticForNode($,E.Diagnostics._0_is_declared_here,G))}}function isInPropertyInitializerOrClassStaticBlock(N){return!!E.findAncestor(N,(function(N){switch(N.kind){case 165:return true;case 291:case 167:case 170:case 171:case 293:case 160:case 231:case 286:case 283:case 284:case 285:case 278:case 226:case 289:return false;case 212:case 236:return E.isBlock(N.parent)&&E.isClassStaticBlockDeclaration(N.parent.parent)?true:"quit";default:return E.isExpressionNode(N)?false:"quit"}}))}function isPropertyDeclaredInAncestorClass(E){if(!(E.parent.flags&32)){return false}var N=getTypeOfSymbol(E.parent);while(true){N=N.symbol&&getSuperClass(N);if(!N){return false}var R=getPropertyOfType(N,E.escapedName);if(R&&R.valueDeclaration){return true}}}function getSuperClass(E){var N=getBaseTypes(E);if(N.length===0){return undefined}return getIntersectionType(N)}function reportNonexistentProperty(N,R,j){var $;var q;if(!E.isPrivateIdentifier(N)&&R.flags&1048576&&!(R.flags&131068)){for(var G=0,ie=R.types;G=1&&isTypeAssignableTo(j,getTypeAtPosition($,0))}return false}var $=E.isAssignmentTarget(R)?"set":"get";if(!hasProp($)){return undefined}var q=E.tryGetPropertyAccessOrIdentifierToString(R.expression);if(q===undefined){q=$}else{q+="."+$}return q}function getSpellingSuggestionForName(N,R,j){return E.getSpellingSuggestion(N,R,getCandidateName);function getCandidateName(N){var R=E.symbolName(N);if(E.startsWith(R,'"')){return undefined}if(N.flags&j){return R}if(N.flags&2097152){var $=tryResolveAlias(N);if($&&$.flags&j){return R}}return undefined}}function markPropertyAsReferenced(N,R,j){var $=N&&N.flags&106500&&N.valueDeclaration;if(!$){return}var q=E.hasEffectiveModifier($,8);var G=N.valueDeclaration&&E.isNamedDeclaration(N.valueDeclaration)&&E.isPrivateIdentifier(N.valueDeclaration.name);if(!q&&!G){return}if(R&&E.isWriteOnlyAccess(R)&&!(N.flags&65536)){return}if(j){var ie=E.findAncestor(R,E.isFunctionLikeDeclaration);if(ie&&ie.symbol===N){return}}(E.getCheckFlags(N)&1?getSymbolLinks(N).target:N).isReferenced=67108863}function isSelfTypeAccess(N,R){return N.kind===108||!!R&&E.isEntityNameExpression(N)&&R===getResolvedSymbol(E.getFirstIdentifier(N))}function isValidPropertyAccess(E,N){switch(E.kind){case 204:return isValidPropertyAccessWithType(E,E.expression.kind===106,N,getWidenedType(checkExpression(E.expression)));case 159:return isValidPropertyAccessWithType(E,false,N,getWidenedType(checkExpression(E.left)));case 198:return isValidPropertyAccessWithType(E,false,N,getTypeFromTypeNode(E))}}function isValidPropertyAccessForCompletions(E,N,R){return isValidPropertyAccessWithType(E,E.kind===204&&E.expression.kind===106,R.escapedName,N)}function isValidPropertyAccessWithType(N,R,j,$){if($===Jt||isTypeAny($)){return true}var q=getPropertyOfType($,j);if(q){if(q.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(q.valueDeclaration)){var G=E.getContainingClass(q.valueDeclaration);return!E.isOptionalChain(N)&&!!E.findAncestor(N,(function(E){return E===G}))}return checkPropertyAccessibility(N,R,false,$,q,false)}return E.isInJSFile(N)&&($.flags&1048576)!==0&&$.types.some((function(E){return isValidPropertyAccessWithType(N,R,j,E)}))}function getForInVariableSymbol(N){var R=N.initializer;if(R.kind===253){var j=R.declarations[0];if(j&&!E.isBindingPattern(j.name)){return getSymbolOfNode(j)}}else if(R.kind===79){return getResolvedSymbol(R)}return undefined}function hasNumericPropertyNames(E){return getIndexInfosOfType(E).length===1&&!!getIndexInfoOfType(E,tr)}function isForInVariableForNumericPropertyNames(N){var R=E.skipParentheses(N);if(R.kind===79){var j=getResolvedSymbol(R);if(j.flags&3){var $=N;var q=N.parent;while(q){if(q.kind===241&&$===q.statement&&getForInVariableSymbol(q)===j&&hasNumericPropertyNames(getTypeOfExpression(q.expression))){return true}$=q;q=q.parent}}}return false}function checkIndexedAccess(E,N){return E.flags&32?checkElementAccessChain(E,N):checkElementAccessExpression(E,checkNonNullExpression(E.expression),N)}function checkElementAccessChain(E,N){var R=checkExpression(E.expression);var j=getOptionalExpressionType(R,E.expression);return propagateOptionalTypeMarker(checkElementAccessExpression(E,checkNonNullType(j,E.expression),N),E,j!==R)}function checkElementAccessExpression(N,R,j){var $=E.getAssignmentTargetKind(N)!==0||isMethodAccessForCall(N)?getWidenedType(R):R;var q=N.argumentExpression;var G=checkExpression(q);if($===Jt||$===pr){return $}if(isConstEnumObjectType($)&&!E.isStringLiteralLike(q)){error(q,E.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal);return Jt}var ie=isForInVariableForNumericPropertyNames(q)?tr:G;var ae=E.isAssignmentTarget(N)?4|(isGenericObjectType($)&&!isThisTypeParameter($)?2:0):32;var ce=getIndexedAccessTypeOrUndefined($,ie,ae,N)||Jt;return checkIndexedAccessIndexType(getFlowTypeOfAccessExpression(N,getNodeLinks(N).resolvedSymbol,ce,q,j),N)}function callLikeExpressionMayHaveTypeArguments(N){return E.isCallOrNewExpression(N)||E.isTaggedTemplateExpression(N)||E.isJsxOpeningLikeElement(N)}function resolveUntypedCall(N){if(callLikeExpressionMayHaveTypeArguments(N)){E.forEach(N.typeArguments,checkSourceElement)}if(N.kind===208){checkExpression(N.template)}else if(E.isJsxOpeningLikeElement(N)){checkExpression(N.attributes)}else if(N.kind!==163){E.forEach(N.arguments,(function(E){checkExpression(E)}))}return Lr}function resolveErrorCall(E){resolveUntypedCall(E);return Br}function reorderCandidates(N,R,j){var $;var q;var G=0;var ie;var ae=-1;var ce;E.Debug.assert(!R.length);for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.declaration&&getSymbolOfNode(Ee.declaration);var we=Ee.declaration&&Ee.declaration.parent;if(!q||Te===q){if($&&we===$){ie=ie+1}else{$=we;ie=G}}else{ie=G=R.length;$=we}q=Te;if(signatureHasLiteralTypes(Ee)){ae++;ce=ae;G++}else{ce=ie}R.splice(ce,0,j?getOptionalCallSignature(Ee,j):Ee)}}function isSpreadArgument(E){return!!E&&(E.kind===223||E.kind===230&&E.isSpread)}function getSpreadArgumentIndex(N){return E.findIndex(N,isSpreadArgument)}function acceptsVoid(E){return!!(E.flags&16384)}function acceptsVoidUndefinedUnknownOrAny(E){return!!(E.flags&(16384|32768|2|1))}function hasCorrectArity(N,R,j,$){if($===void 0){$=false}var q;var G=false;var ie=getParameterCount(j);var ae=getMinArgumentCount(j);if(N.kind===208){q=R.length;if(N.template.kind===221){var ce=E.last(N.template.templateSpans);G=E.nodeIsMissing(ce.literal)||!!ce.literal.isUnterminated}else{var le=N.template;E.Debug.assert(le.kind===14);G=!!le.isUnterminated}}else if(N.kind===163){q=getDecoratorArgumentCount(N,j)}else if(E.isJsxOpeningLikeElement(N)){G=N.attributes.end===N.end;if(G){return true}q=ae===0?R.length:1;ie=R.length===0?ie:1;ae=Math.min(ae,1)}else if(!N.arguments){E.Debug.assert(N.kind===207);return getMinArgumentCount(j)===0}else{q=$?R.length+1:R.length;G=N.arguments.end===N.end;var _e=getSpreadArgumentIndex(R);if(_e>=0){return _e>=getMinArgumentCount(j)&&(hasEffectiveRestParameter(j)||_eie){return false}if(G||q>=ae){return true}for(var Ee=q;Ee=$&&R.length<=j}function getSingleCallSignature(E){return getSingleSignature(E,0,false)}function getSingleCallOrConstructSignature(E){return getSingleSignature(E,0,false)||getSingleSignature(E,1,false)}function getSingleSignature(E,N,R){if(E.flags&524288){var j=resolveStructuredTypeMembers(E);if(R||j.properties.length===0&&j.indexInfos.length===0){if(N===0&&j.callSignatures.length===1&&j.constructSignatures.length===0){return j.callSignatures[0]}if(N===1&&j.constructSignatures.length===1&&j.callSignatures.length===0){return j.constructSignatures[0]}}}return undefined}function instantiateSignatureInContextOf(N,R,j,$){var q=createInferenceContext(N.typeParameters,N,0,$);var G=getEffectiveRestType(R);var ie=j&&(G&&G.flags&262144?j.nonFixingMapper:j.mapper);var ae=ie?instantiateSignature(R,ie):R;applyToParameterTypes(ae,N,(function(E,N){inferTypes(q.inferences,E,N)}));if(!j){applyToReturnTypes(R,N,(function(E,N){inferTypes(q.inferences,E,N,128)}))}return getSignatureInstantiation(N,getInferredTypes(q),E.isInJSFile(R.declaration))}function inferJsxTypeArguments(E,N,R,j){var $=getEffectiveFirstArgumentForJsxSignature(N,E);var q=checkExpressionWithContextualType(E.attributes,$,j,R);inferTypes(j.inferences,q,$);return getInferredTypes(j)}function getThisArgumentType(N){if(!N){return ur}var R=checkExpression(N);return E.isOptionalChainRoot(N.parent)?getNonNullableType(R):E.isOptionalChain(N.parent)?removeOptionalTypeMarker(R):R}function inferTypeArguments(N,R,j,$,q){if(E.isJsxOpeningLikeElement(N)){return inferJsxTypeArguments(N,R,$,q)}if(N.kind!==163){var G=getContextualType(N,E.every(R.typeParameters,(function(E){return!!getDefaultFromTypeParameter(E)}))?8:0);if(G){var ie=getInferenceContext(N);var ae=getMapperFromContext(cloneInferenceContext(ie,1));var ce=instantiateType(G,ae);var le=getSingleCallSignature(ce);var _e=le&&le.typeParameters?getOrCreateTypeFromSignature(getSignatureInstantiationWithoutFillingInTypeArguments(le,le.typeParameters)):ce;var Ee=getReturnTypeOfSignature(R);inferTypes(q.inferences,_e,Ee,128);var Te=createInferenceContext(R.typeParameters,R,q.flags);var we=instantiateType(G,ie&&ie.returnMapper);inferTypes(Te.inferences,we,Ee);q.returnMapper=E.some(Te.inferences,hasInferenceCandidates)?getMapperFromContext(cloneInferredPartOfContext(Te)):undefined}}var Ie=getNonArrayRestType(R);var Ne=Ie?Math.min(getParameterCount(R)-1,j.length):j.length;if(Ie&&Ie.flags&262144){var Me=E.find(q.inferences,(function(E){return E.typeParameter===Ie}));if(Me){Me.impliedArity=E.findIndex(j,isSpreadArgument,Ne)<0?j.length-Ne:undefined}}var Le=getThisTypeOfSignature(R);if(Le){var Be=getThisArgumentOfCall(N);inferTypes(q.inferences,getThisArgumentType(Be),Le)}for(var je=0;je=j-1){var ie=N[j-1];if(isSpreadArgument(ie)){return getMutableArrayOrTupleType(ie.kind===230?ie.type:checkExpressionWithContextualType(ie.expression,$,q,G))}}var ae=[];var ce=[];var le=[];for(var _e=R;_eEe){Ee=Ue}}}if(!_e){return true}var ze=Infinity;for(var We=0,Je=$;We0||E.isJsxOpeningElement(N)&&N.parent.children.length>0?[N.attributes]:E.emptyArray}var $=N.arguments||E.emptyArray;var q=getSpreadArgumentIndex($);if(q>=0){var G=$.slice(0,q);var _loop_23=function(N){var R=$[N];var j=R.kind===223&&(Jn?checkExpression(R.expression):checkExpressionCached(R.expression));if(j&&isTupleType(j)){E.forEach(getTypeArguments(j),(function(E,N){var $;var q=j.target.elementFlags[N];var ie=createSyntheticExpression(R,q&4?createArrayType(E):E,!!(q&12),($=j.target.labeledElementDeclarations)===null||$===void 0?void 0:$[N]);G.push(ie)}))}else{G.push(R)}};for(var ie=q;ie<$.length;ie++){_loop_23(ie)}return G}return $}function getEffectiveDecoratorArguments(N){var R=N.parent;var j=N.expression;switch(R.kind){case 255:case 224:return[createSyntheticExpression(j,getTypeOfSymbol(getSymbolOfNode(R)))];case 162:var $=R.parent;return[createSyntheticExpression(j,R.parent.kind===169?getTypeOfSymbol(getSymbolOfNode($)):Jt),createSyntheticExpression(j,zt),createSyntheticExpression(j,tr)];case 165:case 167:case 170:case 171:var q=R.kind!==165&&Ye!==0;return[createSyntheticExpression(j,getParentTypeOfClassElement(R)),createSyntheticExpression(j,getClassElementPropertyKeyType(R)),createSyntheticExpression(j,q?createTypedPropertyDescriptorType(getTypeOfNode(R)):zt)]}return E.Debug.fail()}function getDecoratorArgumentCount(N,R){switch(N.parent.kind){case 255:case 224:return 1;case 165:return 2;case 167:case 170:case 171:return Ye===0||R.parameters.length<=2?2:3;case 162:return 3;default:return E.Debug.fail()}}function getDiagnosticSpanForCallNode(N,R){var j;var $;var q=E.getSourceFileOfNode(N);if(E.isPropertyAccessExpression(N.expression)){var G=E.getErrorSpanForNode(q,N.expression.name);j=G.start;$=R?G.length:N.end-j}else{var ie=E.getErrorSpanForNode(q,N.expression);j=ie.start;$=R?ie.length:N.end-j}return{start:j,length:$,sourceFile:q}}function getDiagnosticForCallNode(N,R,j,$,q,G){if(E.isCallExpression(N)){var ie=getDiagnosticSpanForCallNode(N),ae=ie.sourceFile,ce=ie.start,le=ie.length;return E.createFileDiagnostic(ae,ce,le,R,j,$,q,G)}else{return E.createDiagnosticForNode(N,R,j,$,q,G)}}function isPromiseResolveArityError(N){if(!E.isCallExpression(N)||!E.isIdentifier(N.expression))return false;var R=resolveName(N.expression,N.expression.escapedText,111551,undefined,undefined,false);var j=R===null||R===void 0?void 0:R.valueDeclaration;if(!j||!E.isParameter(j)||!isFunctionExpressionOrArrowFunction(j.parent)||!E.isNewExpression(j.parent.parent)||!E.isIdentifier(j.parent.parent.expression)){return false}var $=getGlobalPromiseConstructorSymbol(false);if(!$)return false;var q=getSymbolAtLocation(j.parent.parent.expression,true);return q===$}function getArgumentArityError(N,R,j){var $;var q=getSpreadArgumentIndex(j);if(q>-1){return E.createDiagnosticForNode(j[q],E.Diagnostics.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter)}var G=Number.POSITIVE_INFINITY;var ie=Number.NEGATIVE_INFINITY;var ae=Number.NEGATIVE_INFINITY;var ce=Number.POSITIVE_INFINITY;var le;for(var _e=0,Ee=R;_eae)ae=we;if(j.length$){ce=Math.min(ce,Ee)}else if(ie<$){ae=Math.max(ae,ie)}}if(ae!==-Infinity&&ce!==Infinity){return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,$,ae,ce)}return E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),j,E.Diagnostics.Expected_0_type_arguments_but_got_1,ae===-Infinity?ce:ae,$)}function resolveCall(N,R,$,q,G,ae){var ce=N.kind===208;var le=N.kind===163;var _e=E.isJsxOpeningLikeElement(N);var Ee=!$&&ie;var Te;if(!le){Te=N.typeArguments;if(ce||_e||N.expression.kind!==106){E.forEach(Te,checkSourceElement)}}var we=$||[];reorderCandidates(R,we,G);if(!we.length){if(Ee){xi.add(getDiagnosticForCallNode(N,E.Diagnostics.Call_target_does_not_contain_any_signatures))}return resolveErrorCall(N)}var Ie=getEffectiveCallArguments(N);var Ne=we.length===1&&!we[0].typeParameters;var Me=!le&&!Ne&&E.some(Ie,isContextSensitive)?4:0;var Le;var Be;var je;var Ue;var ze=!!(q&16)&&N.kind===206&&N.arguments.hasTrailingComma;if(we.length>1){Ue=chooseOverload(we,Ai,Ne,ze)}if(!Ue){Ue=chooseOverload(we,Pi,Ne,ze)}if(Ue){return Ue}if(Ee){if(Le){if(Le.length===1||Le.length>3){var We=Le[Le.length-1];var Je;if(Le.length>3){Je=E.chainDiagnosticMessages(Je,E.Diagnostics.The_last_overload_gave_the_following_error);Je=E.chainDiagnosticMessages(Je,E.Diagnostics.No_overload_matches_this_call)}var Ve=getSignatureApplicabilityError(N,Ie,We,Pi,0,true,(function(){return Je}));if(Ve){for(var qe=0,He=Ve;qe3){E.addRelatedInfo(Ge,E.createDiagnosticForNode(We.declaration,E.Diagnostics.The_last_overload_is_declared_here))}addImplementationSuccessElaboration(We,Ge);xi.add(Ge)}}else{E.Debug.fail("No error for last overload signature")}}else{var Ke=[];var Qe=0;var Xe=Number.MAX_VALUE;var Ye=0;var Ze=0;var _loop_24=function(R){var chain_2=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.Overload_0_of_1_2_gave_the_following_error,Ze+1,we.length,signatureToString(R))};var j=getSignatureApplicabilityError(N,Ie,R,Pi,0,true,chain_2);if(j){if(j.length<=Xe){Xe=j.length;Ye=Ze}Qe=Math.max(Qe,j.length);Ke.push(j)}else{E.Debug.fail("No error for 3 or fewer overload signatures")}Ze++};for(var et=0,tt=Le;et1?Ke[Ye]:E.flatten(Ke);E.Debug.assert(nt.length>0,"No errors reported for 3 or fewer overload signatures");var it=E.chainDiagnosticMessages(E.map(nt,(function(E){return typeof E.messageText==="string"?E:E.messageText})),E.Diagnostics.No_overload_matches_this_call);var ot=j([],E.flatMap(nt,(function(E){return E.relatedInformation})),true);var st=void 0;if(E.every(nt,(function(E){return E.start===nt[0].start&&E.length===nt[0].length&&E.file===nt[0].file}))){var ct=nt[0],ut=ct.file,dt=ct.start,pt=ct.length;st={file:ut,start:dt,length:pt,code:it.code,category:it.category,messageText:it,relatedInformation:ot}}else{st=E.createDiagnosticForNodeFromMessageChain(N,it,ot)}addImplementationSuccessElaboration(Le[0],st);xi.add(st)}}else if(Be){xi.add(getArgumentArityError(N,[Be],Ie))}else if(je){checkTypeArguments(je,N.typeArguments,true,ae)}else{var ft=E.filter(R,(function(E){return hasCorrectTypeArgumentArity(E,Te)}));if(ft.length===0){xi.add(getTypeArgumentArityError(N,R,Te))}else if(!le){xi.add(getArgumentArityError(N,ft,Ie))}else if(ae){xi.add(getDiagnosticForCallNode(N,ae))}}}return getCandidateForOverloadFailure(N,we,Ie,!!$);function addImplementationSuccessElaboration(N,R){var j,$;var q=Le;var G=Be;var ie=je;var ae=(($=(j=N.declaration)===null||j===void 0?void 0:j.symbol)===null||$===void 0?void 0:$.declarations)||E.emptyArray;var ce=ae.length>1;var le=ce?E.find(ae,(function(N){return E.isFunctionLikeDeclaration(N)&&E.nodeIsPresent(N.body)})):undefined;if(le){var _e=getSignatureFromDeclaration(le);var Ee=!_e.typeParameters;if(chooseOverload([_e],Pi,Ee)){E.addRelatedInfo(R,E.createDiagnosticForNode(le,E.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}}Le=q;Be=G;je=ie}function chooseOverload(R,j,$,q){if(q===void 0){q=false}Le=undefined;Be=undefined;je=undefined;if($){var G=R[0];if(E.some(Te)||!hasCorrectArity(N,Ie,G,q)){return undefined}if(getSignatureApplicabilityError(N,Ie,G,j,0,false,undefined)){Le=[G];return undefined}return G}for(var ie=0;ie0);checkNodeDeferred(N);return $||R.length===1||R.some((function(E){return!!E.typeParameters}))?pickLongestCandidateSignature(N,R,j):createUnionOfSignaturesForOverloadFailure(R)}function createUnionOfSignaturesForOverloadFailure(N){var R=E.mapDefined(N,(function(E){return E.thisParameter}));var j;if(R.length){j=createCombinedSymbolFromTypes(R,R.map(getTypeOfParameter))}var $=E.minAndMax(N,getNumNonRestParameters),q=$.min,G=$.max;var ie=[];var _loop_25=function(R){var j=E.mapDefined(N,(function(N){return signatureHasRestParameter(N)?RN.length){j.pop()}while(j.length=N){return $}if(G>j){j=G;R=$}}return R}function resolveCallExpression(N,R,j){if(N.expression.kind===106){var $=checkSuperExpression(N.expression);if(isTypeAny($)){for(var q=0,G=N.arguments;q=0){error(N.arguments[$],E.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}}var q=checkNonNullExpression(N.expression);if(q===pr){return Ur}q=getApparentType(q);if(q===Jt){return resolveErrorCall(N)}if(isTypeAny(q)){if(N.typeArguments){error(N,E.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments)}return resolveUntypedCall(N)}var G=getSignaturesOfType(q,1);if(G.length){if(!isConstructorAccessible(N,G[0])){return resolveErrorCall(N)}if(G.some((function(E){return E.flags&4}))){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}var ie=q.symbol&&E.getClassLikeDeclarationOfSymbol(q.symbol);if(ie&&E.hasSyntacticModifier(ie,128)){error(N,E.Diagnostics.Cannot_create_an_instance_of_an_abstract_class);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}var ae=getSignaturesOfType(q,0);if(ae.length){var ce=resolveCall(N,ae,R,j,0);if(!st){if(ce.declaration&&!isJSConstructor(ce.declaration)&&getReturnTypeOfSignature(ce)!==ur){error(N,E.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword)}if(getThisTypeOfSignature(ce)===ur){error(N,E.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)}}return ce}invocationError(N.expression,q,1);return resolveErrorCall(N)}function typeHasProtectedAccessibleBase(N,R){var j=getBaseTypes(R);if(!E.length(j)){return false}var $=j[0];if($.flags&2097152){var q=$.types;var G=findMixins(q);var ie=0;for(var ae=0,ce=$.types;ae0;if(R.flags&1048576){var ae=R.types;var ce=false;for(var le=0,_e=ae;le<_e.length;le++){var Ee=_e[le];var Te=getSignaturesOfType(Ee,j);if(Te.length!==0){ce=true;if($){break}}else{if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(Ee));$=E.chainDiagnosticMessages($,q?E.Diagnostics.Not_all_constituents_of_type_0_are_callable:E.Diagnostics.Not_all_constituents_of_type_0_are_constructable,typeToString(R))}if(ce){break}}}if(!ce){$=E.chainDiagnosticMessages(undefined,q?E.Diagnostics.No_constituent_of_type_0_is_callable:E.Diagnostics.No_constituent_of_type_0_is_constructable,typeToString(R))}if(!$){$=E.chainDiagnosticMessages($,q?E.Diagnostics.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:E.Diagnostics.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,typeToString(R))}}else{$=E.chainDiagnosticMessages($,q?E.Diagnostics.Type_0_has_no_call_signatures:E.Diagnostics.Type_0_has_no_construct_signatures,typeToString(R))}var we=q?E.Diagnostics.This_expression_is_not_callable:E.Diagnostics.This_expression_is_not_constructable;if(E.isCallExpression(N.parent)&&N.parent.arguments.length===0){var Ie=getNodeLinks(N).resolvedSymbol;if(Ie&&Ie.flags&32768){we=E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without}}return{messageChain:E.chainDiagnosticMessages($,we),relatedMessage:ie?E.Diagnostics.Did_you_forget_to_use_await:undefined}}function invocationError(N,R,j,$){var q=invocationErrorDetails(N,R,j),G=q.messageChain,ie=q.relatedMessage;var ae=E.createDiagnosticForNodeFromMessageChain(N,G);if(ie){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,ie))}if(E.isCallExpression(N.parent)){var ce=getDiagnosticSpanForCallNode(N.parent,true),le=ce.start,_e=ce.length;ae.start=le;ae.length=_e}xi.add(ae);invocationErrorRecovery(R,j,$?E.addRelatedInfo(ae,$):ae)}function invocationErrorRecovery(N,R,j){if(!N.symbol){return}var $=getSymbolLinks(N.symbol).originatingImport;if($&&!E.isImportCall($)){var q=getSignaturesOfType(getTypeOfSymbol(getSymbolLinks(N.symbol).target),R);if(!q||!q.length)return;E.addRelatedInfo(j,E.createDiagnosticForNode($,E.Diagnostics.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))}}function resolveTaggedTemplateExpression(N,R,j){var $=checkExpression(N.tag);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(!G.length){if(E.isArrayLiteralExpression(N.parent)){var ae=E.createDiagnosticForNode(N.tag,E.Diagnostics.It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked);xi.add(ae);return resolveErrorCall(N)}invocationError(N.tag,q,0);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0)}function getDiagnosticHeadMessageForDecoratorResolution(N){switch(N.parent.kind){case 255:case 224:return E.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 162:return E.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 165:return E.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 167:case 170:case 171:return E.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return E.Debug.fail()}}function resolveDecorator(N,R,j){var $=checkExpression(N.expression);var q=getApparentType($);if(q===Jt){return resolveErrorCall(N)}var G=getSignaturesOfType(q,0);var ie=getSignaturesOfType(q,1).length;if(isUntypedFunctionCall($,q,G.length,ie)){return resolveUntypedCall(N)}if(isPotentiallyUncalledDecorator(N,G)){var ae=E.getTextOfNode(N.expression,false);error(N,E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,ae);return resolveErrorCall(N)}var ce=getDiagnosticHeadMessageForDecoratorResolution(N);if(!G.length){var le=invocationErrorDetails(N.expression,q,0);var _e=E.chainDiagnosticMessages(le.messageChain,ce);var Ee=E.createDiagnosticForNodeFromMessageChain(N.expression,_e);if(le.relatedMessage){E.addRelatedInfo(Ee,E.createDiagnosticForNode(N.expression,le.relatedMessage))}xi.add(Ee);invocationErrorRecovery(q,0,Ee);return resolveErrorCall(N)}return resolveCall(N,G,R,j,0,ce)}function createSignatureForJSXIntrinsic(N,R){var j=getJsxNamespaceAt(N);var $=j&&getExportsOfSymbol(j);var q=$&&getSymbol($,Qe.Element,788968);var G=q&&_t.symbolToEntityName(q,788968,N);var ie=E.factory.createFunctionTypeNode(undefined,[E.factory.createParameterDeclaration(undefined,undefined,undefined,"props",undefined,_t.typeToTypeNode(R,N))],G?E.factory.createTypeReferenceNode(G,undefined):E.factory.createKeywordTypeNode(129));var ae=createSymbol(1,"props");ae.type=R;return createSignature(ie,undefined,undefined,[ae],q?getDeclaredTypeOfSymbol(q):Jt,undefined,1,0)}function resolveJsxOpeningLikeElement(N,R,j){if(isJsxIntrinsicIdentifier(N.tagName)){var $=getIntrinsicAttributesTypeFromJsxOpeningLikeElement(N);var q=createSignatureForJSXIntrinsic(N,$);checkTypeAssignableToAndOptionallyElaborate(checkExpressionWithContextualType(N.attributes,getEffectiveFirstArgumentForJsxSignature(q,N),undefined,0),$,N.tagName,N.attributes);if(E.length(N.typeArguments)){E.forEach(N.typeArguments,checkSourceElement);xi.add(E.createDiagnosticForNodeArray(E.getSourceFileOfNode(N),N.typeArguments,E.Diagnostics.Expected_0_type_arguments_but_got_1,0,E.length(N.typeArguments)))}return q}var G=checkExpression(N.tagName);var ie=getApparentType(G);if(ie===Jt){return resolveErrorCall(N)}var ae=getUninstantiatedJsxSignaturesOfType(G,N);if(isUntypedFunctionCall(G,ie,ae.length,0)){return resolveUntypedCall(N)}if(ae.length===0){error(N.tagName,E.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,E.getTextOfNode(N.tagName));return resolveErrorCall(N)}return resolveCall(N,ae,R,j,0)}function isPotentiallyUncalledDecorator(N,R){return R.length&&E.every(R,(function(E){return E.minArgumentCount===0&&!signatureHasRestParameter(E)&&E.parameters.length=j-1){return R===j-1?q:createArrayType(getIndexedAccessType(q,tr))}var G=[];var ie=[];var ae=[];for(var ce=R;ce0){q=N.parameters.length-1+ae}}}if(q===undefined){if(!j&&N.flags&32){return 0}q=N.minArgumentCount}if($){return q}for(var ce=q-1;ce>=0;ce--){var le=getTypeAtPosition(N,ce);if(filterType(le,acceptsVoid).flags&131072){break}q=ce}N.resolvedMinArgumentCount=q}return N.resolvedMinArgumentCount}function hasEffectiveRestParameter(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);return!isTupleType(N)||N.target.hasRestElement}return false}function getEffectiveRestType(E){if(signatureHasRestParameter(E)){var N=getTypeOfSymbol(E.parameters[E.parameters.length-1]);if(!isTupleType(N)){return N}if(N.target.hasRestElement){return sliceTupleType(N,N.target.fixedLength)}}return undefined}function getNonArrayRestType(E){var N=getEffectiveRestType(E);return N&&!isArrayType(N)&&!isTypeAny(N)&&(getReducedType(N).flags&131072)===0?N:undefined}function getTypeOfFirstParameterOfSignature(E){return getTypeOfFirstParameterOfSignatureWithFallback(E,dr)}function getTypeOfFirstParameterOfSignatureWithFallback(E,N){return E.parameters.length>0?getTypeAtPosition(E,0):N}function inferFromAnnotatedParameters(N,R,j){var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var G=N.parameters[q].valueDeclaration;if(G.type){var ie=E.getEffectiveTypeAnnotationNode(G);if(ie){inferTypes(j.inferences,getTypeFromTypeNode(ie),getTypeAtPosition(R,q))}}}var ae=getEffectiveRestType(R);if(ae&&ae.flags&262144){var ce=instantiateSignature(R,j.nonFixingMapper);assignContextualParameterTypes(N,ce);var le=getParameterCount(R)-1;inferTypes(j.inferences,getRestTypeAtPosition(N,le),ae)}}function assignContextualParameterTypes(N,R){if(R.typeParameters){if(!N.typeParameters){N.typeParameters=R.typeParameters}else{return}}if(R.thisParameter){var j=N.thisParameter;if(!j||j.valueDeclaration&&!j.valueDeclaration.type){if(!j){N.thisParameter=createSymbolWithType(R.thisParameter,undefined)}assignParameterType(N.thisParameter,getTypeOfSymbol(R.thisParameter))}}var $=N.parameters.length-(signatureHasRestParameter(N)?1:0);for(var q=0;q<$;q++){var j=N.parameters[q];if(!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=tryGetTypeAtPosition(R,q);assignParameterType(j,G)}}if(signatureHasRestParameter(N)){var j=E.last(N.parameters);if(E.isTransientSymbol(j)||!E.getEffectiveTypeAnnotationNode(j.valueDeclaration)){var G=getRestTypeAtPosition(R,$);assignParameterType(j,G)}}}function assignNonContextualParameterTypes(E){if(E.thisParameter){assignParameterType(E.thisParameter)}for(var N=0,R=E.parameters;N0){G=getUnionType(le,2)}var _e=checkAndAggregateYieldOperandTypes(N,R),Ee=_e.yieldTypes,Te=_e.nextTypes;ie=E.some(Ee)?getUnionType(Ee,2):undefined;ae=E.some(Te)?getIntersectionType(Te):undefined}else{var we=checkAndAggregateReturnExpressionTypes(N,R);if(!we){return j&2?createPromiseReturnType(N,dr):dr}if(we.length===0){return j&2?createPromiseReturnType(N,ur):ur}G=getUnionType(we,2)}if(G||ie||ae){if(ie)reportErrorsFromWidening(N,ie,3);if(G)reportErrorsFromWidening(N,G,1);if(ae)reportErrorsFromWidening(N,ae,2);if(G&&isUnitType(G)||ie&&isUnitType(ie)||ae&&isUnitType(ae)){var Ie=getContextualSignatureForFunctionLikeDeclaration(N);var Ne=!Ie?undefined:Ie===getSignatureFromDeclaration(N)?q?undefined:G:instantiateContextualType(getReturnTypeOfSignature(Ie),N);if(q){ie=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ie,Ne,0,$);G=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(G,Ne,1,$);ae=getWidenedLiteralLikeTypeForContextualIterationTypeIfNeeded(ae,Ne,2,$)}else{G=getWidenedLiteralLikeTypeForContextualReturnTypeIfNeeded(G,Ne,$)}}if(ie)ie=getWidenedType(ie);if(G)G=getWidenedType(G);if(ae)ae=getWidenedType(ae)}if(q){return createGeneratorReturnType(ie||dr,G||ce,ae||getContextualIterationType(2,N)||Ht,$)}else{return $?createPromiseType(G||ce):G||ce}}function createGeneratorReturnType(E,N,R,j){var $=j?Hr:Gr;var q=$.getGlobalGeneratorType(false);E=$.resolveIterationType(E,undefined)||Ht;N=$.resolveIterationType(N,undefined)||Ht;R=$.resolveIterationType(R,undefined)||Ht;if(q===Ar){var G=$.getGlobalIterableIteratorType(false);var ie=G!==Ar?getIterationTypesOfGlobalIterableType(G,$):undefined;var ae=ie?ie.returnType:zt;var ce=ie?ie.nextType:Gt;if(isTypeAssignableTo(N,ae)&&isTypeAssignableTo(ce,R)){if(G!==Ar){return createTypeFromGenericGlobalType(G,[E])}$.getGlobalIterableIteratorType(true);return Tr}$.getGlobalGeneratorType(true);return Tr}return createTypeFromGenericGlobalType(q,[E,N,R])}function checkAndAggregateYieldOperandTypes(N,R){var j=[];var $=[];var q=(E.getFunctionFlags(N)&2)!==0;E.forEachYieldExpression(N.body,(function(N){var G=N.expression?checkExpression(N.expression,R):Kt;E.pushIfUnique(j,getYieldedTypeOfYieldExpression(N,G,zt,q));var ie;if(N.asteriskToken){var ae=getIterationTypesOfIterable(G,q?19:17,N.expression);ie=ae&&ae.nextType}else{ie=getContextualType(N)}if(ie)E.pushIfUnique($,ie)}));return{yieldTypes:j,nextTypes:$}}function getYieldedTypeOfYieldExpression(N,R,j,$){var q=N.expression||N;var G=N.asteriskToken?checkIteratedTypeOrElementType($?19:17,R,j,q):R;return!$?G:getAwaitedType(G,q,N.asteriskToken?E.Diagnostics.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:E.Diagnostics.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function getFactsFromTypeofSwitch(E,N,R,j){var $=0;if(j){for(var q=N;q1&&N.charCodeAt(R-1)>=48&&N.charCodeAt(R-1)<=57)R--;var j=N.slice(0,R);for(var $=1;true;$++){var q=j+$;if(!hasTypeParameterByName(E,q)){return q}}}function getReturnTypeOfSingleNonGenericCallSignature(E){var N=getSingleCallSignature(E);if(N&&!N.typeParameters){return getReturnTypeOfSignature(N)}}function getReturnTypeOfSingleNonGenericSignatureOfCallChain(E){var N=checkExpression(E.expression);var R=getOptionalExpressionType(N,E.expression);var j=getReturnTypeOfSingleNonGenericCallSignature(N);return j&&propagateOptionalTypeMarker(j,E,R!==N)}function getTypeOfExpression(N){var R=getQuickTypeOfExpression(N);if(R){return R}if(N.flags&67108864&&Qn){var j=Qn[getNodeId(N)];if(j){return j}}var $=Hn;var q=checkExpression(N);if(Hn!==$){var G=Qn||(Qn=[]);G[getNodeId(N)]=q;E.setNodeFlags(N,N.flags|67108864)}return q}function getQuickTypeOfExpression(N){var R=E.skipParentheses(N);if(E.isCallExpression(R)&&R.expression.kind!==106&&!E.isRequireCall(R,true)&&!isSymbolOrSymbolForCall(R)){var j=E.isCallChain(R)?getReturnTypeOfSingleNonGenericSignatureOfCallChain(R):getReturnTypeOfSingleNonGenericCallSignature(checkNonNullExpression(R.expression));if(j){return j}}else if(E.isAssertionExpression(R)&&!E.isConstTypeReference(R.type)){return getTypeFromTypeNode(R.type)}else if(N.kind===8||N.kind===10||N.kind===110||N.kind===95){return checkExpression(N)}return undefined}function getContextFreeTypeOfExpression(E){var N=getNodeLinks(E);if(N.contextFreeType){return N.contextFreeType}var R=E.contextualType;E.contextualType=zt;try{var j=N.contextFreeType=checkExpression(E,4);return j}finally{E.contextualType=R}}function checkExpression(N,R,j){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkExpression",{kind:N.kind,pos:N.pos,end:N.end});var $=qe;qe=N;We=0;var q=checkExpressionWorker(N,R,j);var G=instantiateTypeWithSingleGenericCallSignature(N,q,R);if(isConstEnumObjectType(G)){checkConstEnumAccess(N,G)}qe=$;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return G}function checkConstEnumAccess(N,R){var j=N.parent.kind===204&&N.parent.expression===N||N.parent.kind===205&&N.parent.expression===N||((N.kind===79||N.kind===159)&&isInRightSideOfImportOrExportAssignment(N)||N.parent.kind===179&&N.parent.exprName===N)||N.parent.kind===273;if(!j){error(N,E.Diagnostics.const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query)}if(Xe.isolatedModules){E.Debug.assert(!!(R.symbol.flags&128));var $=R.symbol.valueDeclaration;if($.flags&8388608){error(N,E.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}}function checkParenthesizedExpression(N,R){var j=E.isInJSFile(N)?E.getJSDocTypeTag(N):undefined;if(j){return checkAssertionWorker(j.typeExpression.type,j.typeExpression.type,N.expression,R)}return checkExpression(N.expression,R)}function checkExpressionWorker(N,R,j){var $=N.kind;if(_e){switch($){case 224:case 211:case 212:_e.throwIfCancellationRequested()}}switch($){case 79:return checkIdentifier(N,R);case 108:return checkThisExpression(N);case 106:return checkSuperExpression(N);case 104:return Zt;case 14:case 10:return getFreshTypeOfLiteralType(getStringLiteralType(N.text));case 8:checkGrammarNumericLiteral(N);return getFreshTypeOfLiteralType(getNumberLiteralType(+N.text));case 9:checkGrammarBigIntLiteral(N);return getFreshTypeOfLiteralType(getBigIntLiteralType({negative:false,base10Value:E.parsePseudoBigInt(N.text)}));case 110:return ar;case 95:return nr;case 221:return checkTemplateExpression(N);case 13:return dn;case 202:return checkArrayLiteral(N,R,j);case 203:return checkObjectLiteral(N,R);case 204:return checkPropertyAccessExpression(N,R);case 159:return checkQualifiedName(N,R);case 205:return checkIndexedAccess(N,R);case 206:if(N.expression.kind===100){return checkImportCallExpression(N)}case 207:return checkCallExpression(N,R);case 208:return checkTaggedTemplateExpression(N);case 210:return checkParenthesizedExpression(N,R);case 224:return checkClassExpression(N);case 211:case 212:return checkFunctionExpressionOrObjectLiteralMethod(N,R);case 214:return checkTypeOfExpression(N);case 209:case 227:return checkAssertion(N);case 228:return checkNonNullAssertion(N);case 229:return checkMetaProperty(N);case 213:return checkDeleteExpression(N);case 215:return checkVoidExpression(N);case 216:return checkAwaitExpression(N);case 217:return checkPrefixUnaryExpression(N);case 218:return checkPostfixUnaryExpression(N);case 219:return mt(N,R);case 220:return checkConditionalExpression(N,R);case 223:return checkSpreadExpression(N,R);case 225:return Kt;case 222:return checkYieldExpression(N);case 230:return checkSyntheticExpression(N);case 286:return checkJsxExpression(N,R);case 276:return checkJsxElement(N,R);case 277:return checkJsxSelfClosingElement(N,R);case 280:return checkJsxFragment(N);case 284:return checkJsxAttributes(N,R);case 278:E.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return Jt}function checkTypeParameter(N){if(N.expression){grammarErrorOnFirstToken(N.expression,E.Diagnostics.Type_expected)}checkSourceElement(N.constraint);checkSourceElement(N.default);var R=getDeclaredTypeOfTypeParameter(getSymbolOfNode(N));getBaseConstraintOfType(R);if(!hasNonCircularTypeParameterDefault(R)){error(N.default,E.Diagnostics.Type_parameter_0_has_a_circular_default,typeToString(R))}var j=getConstraintOfTypeParameter(R);var $=getDefaultFromTypeParameter(R);if(j&&$){checkTypeAssignableTo($,getTypeWithThisArgument(instantiateType(j,makeUnaryTypeMapper(R,$)),$),N.default,E.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Type_parameter_name_cannot_be_0)}}function checkParameter(N){checkGrammarDecoratorsAndModifiers(N);checkVariableLikeDeclaration(N);var R=E.getContainingFunction(N);if(E.hasSyntacticModifier(N,16476)){if(!(R.kind===169&&E.nodeIsPresent(R.body))){error(N,E.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation)}if(R.kind===169&&E.isIdentifier(N.name)&&N.name.escapedText==="constructor"){error(N.name,E.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)}}if(N.questionToken&&E.isBindingPattern(N.name)&&R.body){error(N,E.Diagnostics.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature)}if(N.name&&E.isIdentifier(N.name)&&(N.name.escapedText==="this"||N.name.escapedText==="new")){if(R.parameters.indexOf(N)!==0){error(N,E.Diagnostics.A_0_parameter_must_be_the_first_parameter,N.name.escapedText)}if(R.kind===169||R.kind===173||R.kind===178){error(N,E.Diagnostics.A_constructor_cannot_have_a_this_parameter)}if(R.kind===212){error(N,E.Diagnostics.An_arrow_function_cannot_have_a_this_parameter)}if(R.kind===170||R.kind===171){error(N,E.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)}}if(N.dotDotDotToken&&!E.isBindingPattern(N.name)&&!isTypeAssignableTo(getReducedType(getTypeOfSymbol(N.symbol)),hn)){error(N,E.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}}function checkTypePredicate(N){var R=getTypePredicateParent(N);if(!R){error(N,E.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}var j=getSignatureFromDeclaration(R);var $=getTypePredicateOfSignature(j);if(!$){return}checkSourceElement(N.type);var q=N.parameterName;if($.kind===0||$.kind===2){getTypeFromThisTypeNode(q)}else{if($.parameterIndex>=0){if(signatureHasRestParameter(j)&&$.parameterIndex===j.parameters.length-1){error(q,E.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter)}else{if($.type){var leadingError=function(){return E.chainDiagnosticMessages(undefined,E.Diagnostics.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type)};checkTypeAssignableTo($.type,getTypeOfSymbol(j.parameters[$.parameterIndex]),N.type,undefined,leadingError)}}}else if(q){var G=false;for(var ie=0,ae=R.parameters;ie0&&R.declarations[0]!==N){return}}var j=getIndexSymbol(getSymbolOfNode(N));if(j===null||j===void 0?void 0:j.declarations){var $=new E.Map;var _loop_26=function(E){if(E.parameters.length===1&&E.parameters[0].type){forEachType(getTypeFromTypeNode(E.parameters[0].type),(function(N){var R=$.get(getTypeId(N));if(R){R.declarations.push(E)}else{$.set(getTypeId(N),{type:N,declarations:[E]})}}))}};for(var q=0,G=j.declarations;q1){for(var R=0,j=N.declarations;R0}function getAwaitedType(E,N,R,j){if(isTypeAny(E)){return E}var $=E;if($.awaitedTypeOfType){return $.awaitedTypeOfType}return $.awaitedTypeOfType=mapType(E,N?function(E){return getAwaitedTypeWorker(E,N,R,j)}:getAwaitedTypeWorker)}function getAwaitedTypeWorker(N,R,j,$){var q=N;if(q.awaitedTypeOfType){return q.awaitedTypeOfType}var G=getPromisedTypeOfPromise(N);if(G){if(N.id===G.id||bi.lastIndexOf(G.id)>=0){if(R){error(R,E.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method)}return undefined}bi.push(N.id);var ie=getAwaitedType(G,R,j,$);bi.pop();if(!ie){return undefined}return q.awaitedTypeOfType=ie}if(isThenableType(N)){if(R){if(!j)return E.Debug.fail();error(R,j,$)}return undefined}return q.awaitedTypeOfType=N}function checkAsyncFunctionReturnType(N,R){var j=getTypeFromTypeNode(R);if(Ye>=2){if(j===Jt){return}var $=getGlobalPromiseType(true);if($!==Ar&&!isReferenceToType(j,$)){error(R,E.Diagnostics.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,typeToString(getAwaitedType(j)||ur));return}}else{markTypeNodeAsReferenced(R);if(j===Jt){return}var q=E.getEntityNameFromTypeNode(R);if(q===undefined){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,typeToString(j));return}var G=resolveEntityName(q,111551,true);var ie=G?getTypeOfSymbol(G):Jt;if(ie===Jt){if(q.kind===79&&q.escapedText==="Promise"&&getTargetType(j)===getGlobalPromiseType(false)){error(R,E.Diagnostics.An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option)}else{error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q))}return}var ae=getGlobalPromiseConstructorLikeType(true);if(ae===Tr){error(R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,E.entityNameToString(q));return}if(!checkTypeAssignableTo(ie,ae,R,E.Diagnostics.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value)){return}var ce=q&&E.getFirstIdentifier(q);var le=getSymbol(N.locals,ce.escapedText,111551);if(le){error(le.valueDeclaration,E.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,E.idText(ce),E.entityNameToString(q));return}}checkAwaitedType(j,N,E.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function checkDecorator(N){var R=getResolvedSignature(N);checkDeprecatedSignature(R,N);var j=getReturnTypeOfSignature(R);if(j.flags&1){return}var $;var q=getDiagnosticHeadMessageForDecoratorResolution(N);var G;switch(N.parent.kind){case 255:var ie=getSymbolOfNode(N.parent);var ae=getTypeOfSymbol(ie);$=getUnionType([ae,ur]);break;case 162:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 165:$=ur;G=E.chainDiagnosticMessages(undefined,E.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 167:case 170:case 171:var ce=getTypeOfNode(N.parent);var le=createTypedPropertyDescriptorType(ce);$=getUnionType([le,ur]);break;default:return E.Debug.fail()}checkTypeAssignableTo(j,$,N,q,(function(){return G}))}function markTypeNodeAsReferenced(N){markEntityNameOrEntityExpressionAsReference(N&&E.getEntityNameFromTypeNode(N))}function markEntityNameOrEntityExpressionAsReference(N){if(!N)return;var R=E.getFirstIdentifier(N);var j=(N.kind===79?788968:1920)|2097152;var $=resolveName(R,R.escapedText,j,undefined,undefined,true);if($&&$.flags&2097152&&symbolIsValue($)&&!isConstEnumOrConstEnumOnlyModule(resolveAlias($))&&!getTypeOnlyAliasDeclaration($)){markAliasSymbolAsReferenced($)}}function markDecoratorMedataDataTypeNodeAsReferenced(N){var R=getEntityNameForDecoratorMetadata(N);if(R&&E.isEntityName(R)){markEntityNameOrEntityExpressionAsReference(R)}}function getEntityNameForDecoratorMetadata(E){if(E){switch(E.kind){case 186:case 185:return getEntityNameForDecoratorMetadataFromTypeList(E.types);case 187:return getEntityNameForDecoratorMetadataFromTypeList([E.trueType,E.falseType]);case 189:case 195:return getEntityNameForDecoratorMetadata(E.type);case 176:return E.typeName}}}function getEntityNameForDecoratorMetadataFromTypeList(N){var R;for(var j=0,$=N;j<$.length;j++){var q=$[j];while(q.kind===189||q.kind===195){q=q.type}if(q.kind===142){continue}if(!rt&&(q.kind===194&&q.literal.kind===104||q.kind===151)){continue}var G=getEntityNameForDecoratorMetadata(q);if(!G){return undefined}if(R){if(!E.isIdentifier(R)||!E.isIdentifier(G)||R.escapedText!==G.escapedText){return undefined}}else{R=G}}return R}function getParameterTypeNodeForDecoratorCheck(N){var R=E.getEffectiveTypeAnnotationNode(N);return E.isRestParameter(N)?E.getRestParameterElementType(R):R}function checkDecorators(N){if(!N.decorators){return}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){return}if(!Xe.experimentalDecorators){error(N,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning)}var R=N.decorators[0];checkExternalEmitHelpers(R,8);if(N.kind===162){checkExternalEmitHelpers(R,32)}if(Xe.emitDecoratorMetadata){checkExternalEmitHelpers(R,16);switch(N.kind){case 255:var j=E.getFirstConstructorWithBody(N);if(j){for(var $=0,q=j.parameters;$-1&&j0);if(j.length>1){error(j[1],E.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag)}var $=getIdentifierFromEntityNameExpression(N.class.expression);var q=E.getClassExtendsHeritageElement(R);if(q){var G=getIdentifierFromEntityNameExpression(q.expression);if(G&&$.escapedText!==G.escapedText){error($,E.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,E.idText(N.tagName),E.idText($),E.idText(G))}}}function getIdentifierFromEntityNameExpression(E){switch(E.kind){case 79:return E;case 204:return E.name;default:return undefined}}function checkFunctionOrMethodDeclaration(N){var R;checkDecorators(N);checkSignatureDeclaration(N);var j=E.getFunctionFlags(N);if(N.name&&N.name.kind===160){checkComputedPropertyName(N.name)}if(hasBindableName(N)){var $=getSymbolOfNode(N);var q=N.localSymbol||$;var G=(R=q.declarations)===null||R===void 0?void 0:R.find((function(E){return E.kind===N.kind&&!(E.flags&131072)}));if(N===G){checkFunctionOrConstructorSymbol(q)}if($.parent){checkFunctionOrConstructorSymbol($)}}var ae=N.kind===166?undefined:N.body;checkSourceElement(ae);checkAllCodePathsInNonVoidFunctionReturnOrThrow(N,getReturnTypeFromAnnotation(N));if(ie&&!E.getEffectiveReturnTypeNode(N)){if(E.nodeIsMissing(ae)&&!isPrivateWithinAmbient(N)){reportImplicitAny(N,zt)}if(j&1&&E.nodeIsPresent(ae)){getReturnTypeOfSignature(getSignatureFromDeclaration(N))}}if(E.isInJSFile(N)){var ce=E.getJSDocTypeTag(N);if(ce&&ce.typeExpression&&!getContextualCallSignature(getTypeFromTypeNode(ce.typeExpression),N)){error(ce.typeExpression.type,E.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}}function registerForUnusedIdentifiersCheck(N){if(ie){var R=E.getSourceFileOfNode(N);var j=Wn.get(R.path);if(!j){j=[];Wn.set(R.path,j)}j.push(N)}}function checkUnusedIdentifiers(N,R){for(var j=0,$=N;j<$.length;j++){var q=$[j];switch(q.kind){case 255:case 224:checkUnusedClassMembers(q,R);checkUnusedTypeParameters(q,R);break;case 300:case 259:case 233:case 261:case 240:case 241:case 242:checkUnusedLocalsAndParameters(q,R);break;case 169:case 211:case 254:case 212:case 167:case 170:case 171:if(q.body){checkUnusedLocalsAndParameters(q,R)}checkUnusedTypeParameters(q,R);break;case 166:case 172:case 173:case 177:case 178:case 257:case 256:checkUnusedTypeParameters(q,R);break;case 188:checkUnusedInferTypeParameter(q,R);break;default:E.Debug.assertNever(q,"Node should not have been registered for unused identifiers check")}}}function errorUnusedLocal(N,R,j){var $=E.getNameOfDeclaration(N)||N;var q=isTypeDeclaration(N)?E.Diagnostics._0_is_declared_but_never_used:E.Diagnostics._0_is_declared_but_its_value_is_never_read;j(N,0,E.createDiagnosticForNode($,q,R))}function isIdentifierThatStartsWithUnderscore(N){return E.isIdentifier(N)&&E.idText(N).charCodeAt(0)===95}function checkUnusedClassMembers(N,R){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];switch(q.kind){case 167:case 165:case 170:case 171:if(q.kind===171&&q.symbol.flags&32768){break}var G=getSymbolOfNode(q);if(!G.isReferenced&&(E.hasEffectiveModifier(q,8)||E.isNamedDeclaration(q)&&E.isPrivateIdentifier(q.name))&&!(q.flags&8388608)){R(q,0,E.createDiagnosticForNode(q.name,E.Diagnostics._0_is_declared_but_its_value_is_never_read,symbolToString(G)))}break;case 169:for(var ie=0,ae=q.parameters;ie=2||!E.hasRestParameter(N)||N.flags&8388608||E.nodeIsMissing(N.body)){return}E.forEach(N.parameters,(function(N){if(N.name&&!E.isBindingPattern(N.name)&&N.name.escapedText===xt.escapedName){errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)}}))}function needCollisionCheckForIdentifier(N,R,j){if((R===null||R===void 0?void 0:R.escapedText)!==j){return false}if(N.kind===165||N.kind===164||N.kind===167||N.kind===166||N.kind===170||N.kind===171||N.kind===291){return false}if(N.flags&8388608){return false}if(E.isImportClause(N)||E.isImportEqualsDeclaration(N)||E.isImportSpecifier(N)){if(E.isTypeOnlyImportOrExportDeclaration(N)){return false}}var $=E.getRootDeclaration(N);if(E.isParameter($)&&E.nodeIsMissing($.parent.body)){return false}return true}function checkIfThisIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&4){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference)}return true}return false}))}function checkIfNewTargetIsCapturedInEnclosingScope(N){E.findAncestor(N,(function(R){if(getNodeCheckFlags(R)&8){var j=N.kind!==79;if(j){error(E.getNameOfDeclaration(N),E.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference)}else{error(N,E.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference)}return true}return false}))}function checkCollisionWithRequireExportsInGeneratedCode(N,R){if(Ze>=E.ModuleKind.ES2015){return}if(!R||!needCollisionCheckForIdentifier(N,R,"require")&&!needCollisionCheckForIdentifier(N,R,"exports")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,E.declarationNameToString(R),E.declarationNameToString(R))}}function checkCollisionWithGlobalPromiseInGeneratedCode(N,R){if(!R||Ye>=4||!needCollisionCheckForIdentifier(N,R,"Promise")){return}if(E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)!==1){return}var j=getDeclarationContainer(N);if(j.kind===300&&E.isExternalOrCommonJsModule(j)&&j.flags&2048){errorSkippedOn("noEmit",R,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,E.declarationNameToString(R),E.declarationNameToString(R))}}function recordPotentialCollisionWithWeakMapSetInGeneratedCode(E,N){if(Ye<=8&&(needCollisionCheckForIdentifier(E,N,"WeakMap")||needCollisionCheckForIdentifier(E,N,"WeakSet"))){yi.push(E)}}function checkWeakMapSetCollision(N){var R=E.getEnclosingBlockScopeContainer(N);if(getNodeCheckFlags(R)&67108864){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name)&&typeof N.name.escapedText==="string","The target of a WeakMap/WeakSet collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,N.name.escapedText)}}function recordPotentialCollisionWithReflectInGeneratedCode(E,N){if(N&&Ye>=2&&Ye<=8&&needCollisionCheckForIdentifier(E,N,"Reflect")){vi.push(E)}}function checkReflectCollision(N){var R=false;if(E.isClassExpression(N)){for(var j=0,$=N.members;j<$.length;j++){var q=$[j];if(getNodeCheckFlags(q)&134217728){R=true;break}}}else if(E.isFunctionExpression(N)){if(getNodeCheckFlags(N)&134217728){R=true}}else{var G=E.getEnclosingBlockScopeContainer(N);if(G&&getNodeCheckFlags(G)&134217728){R=true}}if(R){E.Debug.assert(E.isNamedDeclaration(N)&&E.isIdentifier(N.name),"The target of a Reflect collision check should be an identifier");errorSkippedOn("noEmit",N,E.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,E.declarationNameToString(N.name),"Reflect")}}function checkCollisionsForDeclarationName(N,R){if(!R)return;checkCollisionWithRequireExportsInGeneratedCode(N,R);checkCollisionWithGlobalPromiseInGeneratedCode(N,R);recordPotentialCollisionWithWeakMapSetInGeneratedCode(N,R);recordPotentialCollisionWithReflectInGeneratedCode(N,R);if(E.isClassLike(N)){checkTypeNameIsReserved(R,E.Diagnostics.Class_name_cannot_be_0);if(!(N.flags&8388608)){checkClassNameCollisionWithObject(R)}}else if(E.isEnumDeclaration(N)){checkTypeNameIsReserved(R,E.Diagnostics.Enum_name_cannot_be_0)}}function checkVarDeclaredNamesNotShadowed(N){if((E.getCombinedNodeFlags(N)&3)!==0||E.isParameterDeclaration(N)){return}if(N.kind===252&&!N.initializer){return}var R=getSymbolOfNode(N);if(R.flags&1){if(!E.isIdentifier(N.name))return E.Debug.fail();var j=resolveName(N,N.name.escapedText,3,undefined,undefined,false);if(j&&j!==R&&j.flags&2){if(getDeclarationNodeFlagsFromSymbol(j)&3){var $=E.getAncestor(j.valueDeclaration,253);var q=$.parent.kind===235&&$.parent.parent?$.parent.parent:undefined;var G=q&&(q.kind===233&&E.isFunctionLike(q.parent)||q.kind===260||q.kind===259||q.kind===300);if(!G){var ie=symbolToString(j);error(N,E.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,ie,ie)}}}}}function convertAutoToAny(E){return E===Wt?zt:E===gn?mn:E}function checkVariableLikeDeclaration(N){var R;checkDecorators(N);if(!E.isBindingElement(N)){checkSourceElement(N.type)}if(!N.name){return}if(N.name.kind===160){checkComputedPropertyName(N.name);if(N.initializer){checkExpressionCached(N.initializer)}}if(E.isBindingElement(N)){if(E.isObjectBindingPattern(N.parent)&&N.dotDotDotToken&&Ye<5){checkExternalEmitHelpers(N,4)}if(N.propertyName&&N.propertyName.kind===160){checkComputedPropertyName(N.propertyName)}var j=N.parent.parent;var $=getTypeForBindingElementParent(j);var q=N.propertyName||N.name;if($&&!E.isBindingPattern(q)){var G=getLiteralTypeFromPropertyName(q);if(isTypeUsableAsPropertyName(G)){var ie=getPropertyNameFromType(G);var ae=getPropertyOfType($,ie);if(ae){markPropertyAsReferenced(ae,undefined,false);checkPropertyAccessibility(N,!!j.initializer&&j.initializer.kind===106,false,$,ae)}}}}if(E.isBindingPattern(N.name)){if(N.name.kind===200&&Ye<2&&Xe.downlevelIteration){checkExternalEmitHelpers(N,512)}E.forEach(N.name.elements,checkSourceElement)}if(N.initializer&&E.isParameterDeclaration(N)&&E.nodeIsMissing(E.getContainingFunction(N).body)){error(N,E.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(E.isBindingPattern(N.name)){var ce=N.initializer&&N.parent.parent.kind!==241;var le=N.name.elements.length===0;if(ce||le){var _e=getWidenedTypeForVariableLikeDeclaration(N);if(ce){var Ee=checkExpressionCached(N.initializer);if(rt&&le){checkNonNullNonVoidType(Ee,N)}else{checkTypeAssignableToAndOptionallyElaborate(Ee,getWidenedTypeForVariableLikeDeclaration(N),N,N.initializer)}}if(le){if(E.isArrayBindingPattern(N.name)){checkIteratedTypeOrElementType(65,_e,Gt,N)}else if(rt){checkNonNullNonVoidType(_e,N)}}}return}var Te=getSymbolOfNode(N);if(Te.flags&2097152&&E.isRequireVariableDeclaration(N)){checkAliasSymbol(N);return}var we=convertAutoToAny(getTypeOfSymbol(Te));if(N===Te.valueDeclaration){var Ie=E.getEffectiveInitializer(N);if(Ie){var Ne=E.isInJSFile(N)&&E.isObjectLiteralExpression(Ie)&&(Ie.properties.length===0||E.isPrototypeAccess(N.name))&&!!((R=Te.exports)===null||R===void 0?void 0:R.size);if(!Ne&&N.parent.parent.kind!==241){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(Ie),we,N,Ie,undefined)}}if(Te.declarations&&Te.declarations.length>1){if(E.some(Te.declarations,(function(R){return R!==N&&E.isVariableLike(R)&&!areDeclarationFlagsIdentical(R,N)}))){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}}else{var Me=convertAutoToAny(getWidenedTypeForVariableLikeDeclaration(N));if(we!==Jt&&Me!==Jt&&!isTypeIdenticalTo(we,Me)&&!(Te.flags&67108864)){errorNextVariableOrPropertyDeclarationMustHaveSameType(Te.valueDeclaration,we,N,Me)}if(N.initializer){checkTypeAssignableToAndOptionallyElaborate(checkExpressionCached(N.initializer),Me,N,N.initializer,undefined)}if(Te.valueDeclaration&&!areDeclarationFlagsIdentical(N,Te.valueDeclaration)){error(N.name,E.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,E.declarationNameToString(N.name))}}if(N.kind!==165&&N.kind!==164){checkExportsOnMergedDeclarations(N);if(N.kind===252||N.kind===201){checkVarDeclaredNamesNotShadowed(N)}checkCollisionsForDeclarationName(N,N.name)}}function errorNextVariableOrPropertyDeclarationMustHaveSameType(N,R,j,$){var q=E.getNameOfDeclaration(j);var G=j.kind===165||j.kind===164?E.Diagnostics.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:E.Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2;var ie=E.declarationNameToString(q);var ae=error(q,G,ie,typeToString(R),typeToString($));if(N){E.addRelatedInfo(ae,E.createDiagnosticForNode(N,E.Diagnostics._0_was_also_declared_here,ie))}}function areDeclarationFlagsIdentical(N,R){if(N.kind===162&&R.kind===252||N.kind===252&&R.kind===162){return true}if(E.hasQuestionToken(N)!==E.hasQuestionToken(R)){return false}var j=8|16|256|128|64|32;return E.getSelectedEffectiveModifierFlags(N,j)===E.getSelectedEffectiveModifierFlags(R,j)}function checkVariableDeclaration(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkVariableDeclaration",{kind:N.kind,pos:N.pos,end:N.end});checkGrammarVariableDeclaration(N);checkVariableLikeDeclaration(N);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkBindingElement(E){checkGrammarBindingElement(E);return checkVariableLikeDeclaration(E)}function checkVariableStatement(N){if(!checkGrammarDecoratorsAndModifiers(N)&&!checkGrammarVariableDeclarationList(N.declarationList))checkGrammarForDisallowedLetOrConstStatement(N);E.forEach(N.declarationList.declarations,checkSourceElement)}function checkExpressionStatement(E){checkGrammarStatementInAmbientContext(E);checkExpression(E.expression)}function checkIfStatement(N){checkGrammarStatementInAmbientContext(N);var R=checkTruthinessExpression(N.expression);checkTestingKnownTruthyCallableOrAwaitableType(N.expression,R,N.thenStatement);checkSourceElement(N.thenStatement);if(N.thenStatement.kind===234){error(N.thenStatement,E.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement)}checkSourceElement(N.elseStatement)}function checkTestingKnownTruthyCallableOrAwaitableType(N,R,j){if(!rt)return;if(getFalsyFlags(R))return;var $=E.isBinaryExpression(N)?N.right:N;if(E.isPropertyAccessExpression($)&&E.isAssertionExpression(E.skipParentheses($.expression))){return}var q=E.isIdentifier($)?$:E.isPropertyAccessExpression($)?$.name:E.isBinaryExpression($)&&E.isIdentifier($.right)?$.right:undefined;var G=getSignaturesOfType(R,0);var ie=!!getAwaitedTypeOfPromise(R);if(G.length===0&&!ie){return}var ae=q&&getSymbolAtLocation(q);if(!ae&&!ie){return}var ce=ae&&E.isBinaryExpression(N.parent)&&isSymbolUsedInBinaryExpressionChain(N.parent,ae)||ae&&j&&isSymbolUsedInConditionBody(N,j,q,ae);if(!ce){if(ie){errorAndMaybeSuggestAwait($,true,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined,getTypeNameForErrorDisplay(R))}else{error($,E.Diagnostics.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}function isSymbolUsedInConditionBody(N,R,j,$){return!!E.forEachChild(R,(function check(R){if(E.isIdentifier(R)){var q=getSymbolAtLocation(R);if(q&&q===$){if(E.isIdentifier(N)){return true}var G=j.parent;var ie=R.parent;while(G&&ie){if(E.isIdentifier(G)&&E.isIdentifier(ie)||G.kind===108&&ie.kind===108){return getSymbolAtLocation(G)===getSymbolAtLocation(ie)}else if(E.isPropertyAccessExpression(G)&&E.isPropertyAccessExpression(ie)){if(getSymbolAtLocation(G.name)!==getSymbolAtLocation(ie.name)){return false}ie=ie.expression;G=G.expression}else if(E.isCallExpression(G)&&E.isCallExpression(ie)){ie=ie.expression;G=G.expression}else{return false}}}}return E.forEachChild(R,check)}))}function isSymbolUsedInBinaryExpressionChain(N,R){while(E.isBinaryExpression(N)&&N.operatorToken.kind===55){var j=E.forEachChild(N.right,(function visit(N){if(E.isIdentifier(N)){var j=getSymbolAtLocation(N);if(j&&j===R){return true}}return E.forEachChild(N,visit)}));if(j){return true}N=N.parent}return false}function checkDoStatement(E){checkGrammarStatementInAmbientContext(E);checkSourceElement(E.statement);checkTruthinessExpression(E.expression)}function checkWhileStatement(E){checkGrammarStatementInAmbientContext(E);checkTruthinessExpression(E.expression);checkSourceElement(E.statement)}function checkTruthinessOfType(N,R){if(N.flags&16384){error(R,E.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness)}return N}function checkTruthinessExpression(E,N){return checkTruthinessOfType(checkExpression(E,N),E)}function checkForStatement(N){if(!checkGrammarStatementInAmbientContext(N)){if(N.initializer&&N.initializer.kind===253){checkGrammarVariableDeclarationList(N.initializer)}}if(N.initializer){if(N.initializer.kind===253){E.forEach(N.initializer.declarations,checkVariableDeclaration)}else{checkExpression(N.initializer)}}if(N.condition)checkTruthinessExpression(N.condition);if(N.incrementor)checkExpression(N.incrementor);checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForOfStatement(N){checkGrammarForInOrForOfStatement(N);var R=E.getContainingFunctionOrClassStaticBlock(N);if(N.awaitModifier){if(R&&E.isClassStaticBlockDeclaration(R)){grammarErrorOnNode(N.awaitModifier,E.Diagnostics.For_await_loops_cannot_be_used_inside_a_class_static_block)}else{var j=E.getFunctionFlags(R);if((j&(4|2))===2&&Ye<99){checkExternalEmitHelpers(N,16384)}}}else if(Xe.downlevelIteration&&Ye<2){checkExternalEmitHelpers(N,256)}if(N.initializer.kind===253){checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkRightHandSideOfForOf(N);if($.kind===202||$.kind===203){checkDestructuringAssignment($,q||Jt)}else{var G=checkExpression($);checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access);if(q){checkTypeAssignableToAndOptionallyElaborate(q,G,$,N.expression)}}}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInStatement(N){checkGrammarForInOrForOfStatement(N);var R=getNonNullableTypeIfNeeded(checkExpression(N.expression));if(N.initializer.kind===253){var j=N.initializer.declarations[0];if(j&&E.isBindingPattern(j.name)){error(j.name,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}checkForInOrForOfVariableDeclaration(N)}else{var $=N.initializer;var q=checkExpression($);if($.kind===202||$.kind===203){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern)}else if(!isTypeAssignableTo(getIndexTypeOrString(R),q)){error($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}else{checkReferenceExpression($,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,E.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access)}}if(R===dr||!isTypeAssignableToKind(R,67108864|58982400)){error(N.expression,E.Diagnostics.The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0,typeToString(R))}checkSourceElement(N.statement);if(N.locals){registerForUnusedIdentifiersCheck(N)}}function checkForInOrForOfVariableDeclaration(E){var N=E.initializer;if(N.declarations.length>=1){var R=N.declarations[0];checkVariableDeclaration(R)}}function checkRightHandSideOfForOf(E){var N=E.awaitModifier?15:13;return checkIteratedTypeOrElementType(N,checkNonNullExpression(E.expression),Gt,E.expression)}function checkIteratedTypeOrElementType(E,N,R,j){if(isTypeAny(N)){return N}return getIteratedTypeOrElementType(E,N,R,j,true)||zt}function getIteratedTypeOrElementType(N,R,j,$,q){var G=(N&2)!==0;if(R===dr){reportTypeNotIterableError($,R,G);return undefined}var ie=Ye>=2;var ae=!ie&&Xe.downlevelIteration;var ce=Xe.noUncheckedIndexedAccess&&!!(N&128);if(ie||ae||G){var le=getIterationTypesOfIterable(R,N,ie?$:undefined);if(q){if(le){var _e=N&8?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:N&32?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:N&64?E.Diagnostics.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:N&16?E.Diagnostics.Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:undefined;if(_e){checkTypeAssignableTo(j,le.nextType,$,_e)}}}if(le||ie){return ce?includeUndefinedInIndexSignature(le&&le.yieldType):le&&le.yieldType}}var Ee=R;var Te=false;var we=false;if(N&4){if(Ee.flags&1048576){var Ie=R.types;var Ne=E.filter(Ie,(function(E){return!(E.flags&402653316)}));if(Ne!==Ie){Ee=getUnionType(Ne,2)}}else if(Ee.flags&402653316){Ee=dr}we=Ee!==R;if(we){if(Ye<1){if($){error($,E.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher);Te=true}}if(Ee.flags&131072){return ce?includeUndefinedInIndexSignature(er):er}}}if(!isArrayLikeType(Ee)){if($&&!Te){var Me=!!(N&4)&&!we;var Le=getIterationDiagnosticDetails(Me,ae),Be=Le[0],je=Le[1];errorAndMaybeSuggestAwait($,je&&!!getAwaitedTypeOfPromise(Ee),Be,typeToString(Ee))}return we?ce?includeUndefinedInIndexSignature(er):er:undefined}var Ue=getIndexTypeOfType(Ee,tr);if(we&&Ue){if(Ue.flags&402653316&&!Xe.noUncheckedIndexedAccess){return er}return getUnionType(ce?[Ue,er,Gt]:[Ue,er],2)}return N&128?includeUndefinedInIndexSignature(Ue):Ue;function getIterationDiagnosticDetails(j,$){var q;if($){return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]:[E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,true]}var G=getIterationTypeOfIterable(N,0,R,undefined);if(G){return[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,false]}if(isES2015OrLaterIterable((q=R.symbol)===null||q===void 0?void 0:q.escapedName)){return[E.Diagnostics.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,true]}return j?[E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,true]:[E.Diagnostics.Type_0_is_not_an_array_type,true]}}function isES2015OrLaterIterable(E){switch(E){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return true}return false}function getIterationTypeOfIterable(E,N,R,j){if(isTypeAny(R)){return undefined}var $=getIterationTypesOfIterable(R,E,j);return $&&$[getIterationTypesKeyFromIterationTypeKind(N)]}function createIterationTypes(E,N,R){if(E===void 0){E=dr}if(N===void 0){N=dr}if(R===void 0){R=Ht}if(E.flags&67359327&&N.flags&(1|131072|2|16384|32768)&&R.flags&(1|131072|2|16384|32768)){var j=getTypeListId([E,N,R]);var $=Wr.get(j);if(!$){$={yieldType:E,returnType:N,nextType:R};Wr.set(j,$)}return $}return{yieldType:E,returnType:N,nextType:R}}function combineIterationTypes(N){var R;var j;var $;for(var q=0,G=N;q1){for(var Ee=0,Te=j;Eej){return false}for(var le=0;le=$&&ae.pos<=q){var ce=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent(ce.expression,ce);E.setParent(ce,ae);ce.flowNode=ae.returnFlowNode;var le=getFlowTypeOfReference(ce,R,getOptionalType(R));if(!(getFalsyFlags(le)&32768)){return true}}}return false}function isPropertyInitializedInConstructor(N,R,j){var $=E.factory.createPropertyAccessExpression(E.factory.createThis(),N);E.setParent($.expression,$);E.setParent($,j);$.flowNode=j.returnFlowNode;var q=getFlowTypeOfReference($,R,getOptionalType(R));return!(getFalsyFlags(q)&32768)}function checkInterfaceDeclaration(N){if(!checkGrammarDecoratorsAndModifiers(N))checkGrammarInterfaceDeclaration(N);checkTypeParameters(N.typeParameters);if(ie){checkTypeNameIsReserved(N.name,E.Diagnostics.Interface_name_cannot_be_0);checkExportsOnMergedDeclarations(N);var R=getSymbolOfNode(N);checkTypeParameterListsIdentical(R);var j=E.getDeclarationOfKind(R,256);if(N===j){var $=getDeclaredTypeOfSymbol(R);var q=getTypeWithThisArgument($);if(checkInheritedPropertiesAreIdentical($,N.name)){for(var G=0,ae=getBaseTypes($);G>q;case 49:return $>>>q;case 47:return $<1){var $=E.isEnumConst(N);E.forEach(R.declarations,(function(N){if(E.isEnumDeclaration(N)&&E.isEnumConst(N)!==$){error(E.getNameOfDeclaration(N),E.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}}))}var q=false;E.forEach(R.declarations,(function(N){if(N.kind!==258){return false}var R=N;if(!R.members.length){return false}var j=R.members[0];if(!j.initializer){if(q){error(j.name,E.Diagnostics.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element)}else{q=true}}}))}}function checkEnumMember(N){if(E.isPrivateIdentifier(N.name)){error(N,E.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}}function getFirstNonAmbientClassOrFunctionDeclaration(N){var R=N.declarations;if(R){for(var j=0,$=R;j<$.length;j++){var q=$[j];if((q.kind===255||q.kind===254&&E.nodeIsPresent(q.body))&&!(q.flags&8388608)){return q}}}return undefined}function inSameLexicalScope(N,R){var j=E.getEnclosingBlockScopeContainer(N);var $=E.getEnclosingBlockScopeContainer(R);if(isGlobalSourceFile(j)){return isGlobalSourceFile($)}else if(isGlobalSourceFile($)){return false}else{return j===$}}function checkModuleDeclaration(N){if(ie){var R=E.isGlobalScopeAugmentation(N);var j=N.flags&8388608;if(R&&!j){error(N.name,E.Diagnostics.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context)}var $=E.isAmbientModule(N);var q=$?E.Diagnostics.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:E.Diagnostics.A_namespace_declaration_is_only_allowed_in_a_namespace_or_module;if(checkGrammarModuleElementContext(N,q)){return}if(!checkGrammarDecoratorsAndModifiers(N)){if(!j&&N.name.kind===10){grammarErrorOnNode(N.name,E.Diagnostics.Only_ambient_modules_can_use_quoted_names)}}if(E.isIdentifier(N.name)){checkCollisionsForDeclarationName(N,N.name)}checkExportsOnMergedDeclarations(N);var G=getSymbolOfNode(N);if(G.flags&512&&!j&&G.declarations&&G.declarations.length>1&&isInstantiatedModule(N,E.shouldPreserveConstEnums(Xe))){var ae=getFirstNonAmbientClassOrFunctionDeclaration(G);if(ae){if(E.getSourceFileOfNode(N)!==E.getSourceFileOfNode(ae)){error(N.name,E.Diagnostics.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged)}else if(N.pos=E.ModuleKind.ES2015&&!N.isTypeOnly&&!(N.flags&8388608)){grammarErrorOnNode(N,E.Diagnostics.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}}}}function checkExportDeclaration(N){if(checkGrammarModuleElementContext(N,E.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)){return}if(!checkGrammarDecoratorsAndModifiers(N)&&E.hasEffectiveModifiers(N)){grammarErrorOnFirstToken(N,E.Diagnostics.An_export_declaration_cannot_have_modifiers)}if(N.moduleSpecifier&&N.exportClause&&E.isNamedExports(N.exportClause)&&E.length(N.exportClause.elements)&&Ye===0){checkExternalEmitHelpers(N,2097152)}checkGrammarExportDeclaration(N);if(!N.moduleSpecifier||checkExternalImportOrExportDeclaration(N)){if(N.exportClause&&!E.isNamespaceExport(N.exportClause)){E.forEach(N.exportClause.elements,checkExportSpecifier);var R=N.parent.kind===260&&E.isAmbientModule(N.parent.parent);var j=!R&&N.parent.kind===260&&!N.moduleSpecifier&&N.flags&8388608;if(N.parent.kind!==300&&!R&&!j){error(N,E.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}}else{var $=resolveExternalModuleName(N,N.moduleSpecifier);if($&&hasExportAssignmentSymbol($)){error(N.moduleSpecifier,E.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,symbolToString($))}else if(N.exportClause){checkAliasSymbol(N.exportClause)}if(Ze!==E.ModuleKind.System&&Ze=E.ModuleKind.ES2015){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead)}else if(Ze===E.ModuleKind.System){grammarErrorOnNode(N,E.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system)}}}function hasExportedMembers(N){return E.forEachEntry(N.exports,(function(E,N){return N!=="export="}))}function checkExternalModuleExports(N){var R=getSymbolOfNode(N);var j=getSymbolLinks(R);if(!j.exportsChecked){var $=R.exports.get("export=");if($&&hasExportedMembers(R)){var q=getDeclarationOfAliasSymbol($)||$.valueDeclaration;if(q&&!isTopLevelInExternalModuleAugmentation(q)&&!E.isInJSFile(q)){error(q,E.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}}var G=getExportsOfModule(R);if(G){G.forEach((function(N,R){var j=N.declarations,$=N.flags;if(R==="__export"){return}if($&(1920|64|384)){return}var q=E.countWhere(j,Je);if($&524288&&q<=2){return}if(q>1){if(!isDuplicatedCommonJSExport(j)){for(var G=0,ie=j;G1&&N.every((function(N){return E.isInJSFile(N)&&E.isAccessExpression(N)&&(E.isExportsIdentifier(N.expression)||E.isModuleExportsAccessExpression(N.expression))}))}function checkSourceElement(E){if(E){var N=qe;qe=E;We=0;checkSourceElementWorker(E);qe=N}}function checkSourceElementWorker(N){if(E.isInJSFile(N)){E.forEach(N.jsDoc,(function(N){var R=N.tags;return E.forEach(R,checkSourceElement)}))}var R=N.kind;if(_e){switch(R){case 259:case 255:case 256:case 254:_e.throwIfCancellationRequested()}}if(R>=235&&R<=251&&N.flowNode&&!isReachableFlowNode(N.flowNode)){errorOrSuggestion(Xe.allowUnreachableCode===false,N,E.Diagnostics.Unreachable_code_detected)}switch(R){case 161:return checkTypeParameter(N);case 162:return checkParameter(N);case 165:return checkPropertyDeclaration(N);case 164:return checkPropertySignature(N);case 178:case 177:case 172:case 173:case 174:return checkSignatureDeclaration(N);case 167:case 166:return checkMethodDeclaration(N);case 168:return checkClassStaticBlockDeclaration(N);case 169:return checkConstructorDeclaration(N);case 170:case 171:return checkAccessorDeclaration(N);case 176:return checkTypeReferenceNode(N);case 175:return checkTypePredicate(N);case 179:return checkTypeQuery(N);case 180:return checkTypeLiteral(N);case 181:return checkArrayType(N);case 182:return checkTupleType(N);case 185:case 186:return checkUnionOrIntersectionType(N);case 189:case 183:case 184:return checkSourceElement(N.type);case 190:return checkThisType(N);case 191:return checkTypeOperator(N);case 187:return checkConditionalType(N);case 188:return checkInferType(N);case 196:return checkTemplateLiteralType(N);case 198:return checkImportType(N);case 195:return checkNamedTupleMember(N);case 323:return checkJSDocAugmentsTag(N);case 324:return checkJSDocImplementsTag(N);case 340:case 333:case 334:return checkJSDocTypeAliasTag(N);case 339:return checkJSDocTemplateTag(N);case 338:return checkJSDocTypeTag(N);case 335:return checkJSDocParameterTag(N);case 342:return checkJSDocPropertyTag(N);case 312:checkJSDocFunctionType(N);case 310:case 309:case 307:case 308:case 317:checkJSDocTypeIsInJsFile(N);E.forEachChild(N,checkSourceElement);return;case 313:checkJSDocVariadicType(N);return;case 304:return checkSourceElement(N.type);case 192:return checkIndexedAccessType(N);case 193:return checkMappedType(N);case 254:return checkFunctionDeclaration(N);case 233:case 260:return checkBlock(N);case 235:return checkVariableStatement(N);case 236:return checkExpressionStatement(N);case 237:return checkIfStatement(N);case 238:return checkDoStatement(N);case 239:return checkWhileStatement(N);case 240:return checkForStatement(N);case 241:return checkForInStatement(N);case 242:return checkForOfStatement(N);case 243:case 244:return checkBreakOrContinueStatement(N);case 245:return checkReturnStatement(N);case 246:return checkWithStatement(N);case 247:return checkSwitchStatement(N);case 248:return checkLabeledStatement(N);case 249:return checkThrowStatement(N);case 250:return checkTryStatement(N);case 252:return checkVariableDeclaration(N);case 201:return checkBindingElement(N);case 255:return checkClassDeclaration(N);case 256:return checkInterfaceDeclaration(N);case 257:return checkTypeAliasDeclaration(N);case 258:return checkEnumDeclaration(N);case 259:return checkModuleDeclaration(N);case 264:return checkImportDeclaration(N);case 263:return checkImportEqualsDeclaration(N);case 270:return checkExportDeclaration(N);case 269:return checkExportAssignment(N);case 234:case 251:checkGrammarStatementInAmbientContext(N);return;case 274:return checkMissingDeclaration(N)}}function checkJSDocTypeIsInJsFile(N){if(!E.isInJSFile(N)){grammarErrorOnNode(N,E.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}}function checkJSDocVariadicType(N){checkJSDocTypeIsInJsFile(N);checkSourceElement(N.type);var R=N.parent;if(E.isParameter(R)&&E.isJSDocFunctionType(R.parent)){if(E.last(R.parent.parameters)!==R){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}return}if(!E.isJSDocTypeExpression(R)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature)}var j=N.parent.parent;if(!E.isJSDocParameterTag(j)){error(N,E.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}var $=E.getParameterSymbolFromJSDoc(j);if(!$){return}var q=E.getHostSignatureFromJSDoc(j);if(!q||E.last(q.parameters).symbol!==$){error(N,E.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}}function getTypeFromJSDocVariadicType(N){var R=getTypeFromTypeNode(N.type);var j=N.parent;var $=N.parent.parent;if(E.isJSDocTypeExpression(N.parent)&&E.isJSDocParameterTag($)){var q=E.getHostSignatureFromJSDoc($);var G=E.isJSDocCallbackTag($.parent.parent);if(q||G){var ie=G?E.lastOrUndefined($.parent.parent.typeExpression.parameters):E.lastOrUndefined(q.parameters);var ae=E.getParameterSymbolFromJSDoc($);if(!ie||ae&&ie.symbol===ae&&E.isRestParameter(ie)){return createArrayType(R)}}}if(E.isParameter(j)&&E.isJSDocFunctionType(j.parent)){return createArrayType(R)}return addOptionality(R)}function checkNodeDeferred(N){var R=E.getSourceFileOfNode(N);var j=getNodeLinks(R);if(!(j.flags&1)){j.deferredNodes=j.deferredNodes||new E.Map;var $=getNodeId(N);j.deferredNodes.set($,N)}}function checkDeferredNodes(E){var N=getNodeLinks(E);if(N.deferredNodes){N.deferredNodes.forEach(checkDeferredNode)}}function checkDeferredNode(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkDeferredNode",{kind:N.kind,pos:N.pos,end:N.end});var R=qe;qe=N;We=0;switch(N.kind){case 206:case 207:case 208:case 163:case 278:resolveUntypedCall(N);break;case 211:case 212:case 167:case 166:checkFunctionExpressionOrObjectLiteralMethodDeferred(N);break;case 170:case 171:checkAccessorDeclaration(N);break;case 224:checkClassExpressionDeferred(N);break;case 277:checkJsxSelfClosingElementDeferred(N);break;case 276:checkJsxElementDeferred(N);break}qe=R;E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function checkSourceFile(N){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("check","checkSourceFile",{path:N.path},true);E.performance.mark("beforeCheck");checkSourceFileWorker(N);E.performance.mark("afterCheck");E.performance.measure("Check","beforeCheck","afterCheck");E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop()}function unusedIsError(N,R){if(R){return false}switch(N){case 0:return!!Xe.noUnusedLocals;case 1:return!!Xe.noUnusedParameters;default:return E.Debug.assertNever(N)}}function getPotentiallyUnusedIdentifiers(N){return Wn.get(N.path)||E.emptyArray}function checkSourceFileWorker(N){var R=getNodeLinks(N);if(!(R.flags&1)){if(E.skipTypeChecking(N,Xe,q)){return}checkGrammarSourceFile(N);E.clear(hi);E.clear(_i);E.clear(yi);E.clear(vi);E.forEach(N.statements,checkSourceElement);checkSourceElement(N.endOfFileToken);checkDeferredNodes(N);if(E.isExternalOrCommonJsModule(N)){registerForUnusedIdentifiersCheck(N)}if(!N.isDeclarationFile&&(Xe.noUnusedLocals||Xe.noUnusedParameters)){checkUnusedIdentifiers(getPotentiallyUnusedIdentifiers(N),(function(N,R,j){if(!E.containsParseError(N)&&unusedIsError(R,!!(N.flags&8388608))){xi.add(j)}}))}if(Xe.importsNotUsedAsValues===2&&!N.isDeclarationFile&&E.isExternalModule(N)){checkImportsForTypeOnlyConversion(N)}if(E.isExternalOrCommonJsModule(N)){checkExternalModuleExports(N)}if(hi.length){E.forEach(hi,checkIfThisIsCapturedInEnclosingScope);E.clear(hi)}if(_i.length){E.forEach(_i,checkIfNewTargetIsCapturedInEnclosingScope);E.clear(_i)}if(yi.length){E.forEach(yi,checkWeakMapSetCollision);E.clear(yi)}if(vi.length){E.forEach(vi,checkReflectCollision);E.clear(vi)}R.flags|=1}}function getDiagnostics(E,N){try{_e=N;return getDiagnosticsWorker(E)}finally{_e=undefined}}function getDiagnosticsWorker(N){throwIfNonDiagnosticsProducing();if(N){var R=xi.getGlobalDiagnostics();var j=R.length;checkSourceFile(N);var $=xi.getDiagnostics(N.fileName);var G=xi.getGlobalDiagnostics();if(G!==R){var ie=E.relativeComplement(R,G,E.compareDiagnostics);return E.concatenate(ie,$)}else if(j===0&&G.length>0){return E.concatenate(G,$)}return $}E.forEach(q.getSourceFiles(),checkSourceFile);return xi.getDiagnostics()}function getGlobalDiagnostics(){throwIfNonDiagnosticsProducing();return xi.getGlobalDiagnostics()}function throwIfNonDiagnosticsProducing(){if(!ie){throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}}function getSymbolsInScope(N,R){if(N.flags&16777216){return[]}var j=E.createSymbolTable();var $=false;populateSymbols();j.delete("this");return symbolsToArray(j);function populateSymbols(){while(N){if(N.locals&&!isGlobalSourceFile(N)){copySymbols(N.locals,R)}switch(N.kind){case 300:if(!E.isExternalModule(N))break;case 259:copyLocallyVisibleExportSymbols(getSymbolOfNode(N).exports,R&2623475);break;case 258:copySymbols(getSymbolOfNode(N).exports,R&8);break;case 224:var j=N.name;if(j){copySymbol(N.symbol,R)}case 255:case 256:if(!$){copySymbols(getMembersOfSymbol(getSymbolOfNode(N)),R&788968)}break;case 211:var q=N.name;if(q){copySymbol(N.symbol,R)}break}if(E.introducesArgumentsExoticObject(N)){copySymbol(xt,R)}$=E.isStatic(N);N=N.parent}copySymbols(yt,R)}function copySymbol(N,R){if(E.getCombinedLocalAndExportSymbolFlags(N)&R){var $=N.escapedName;if(!j.has($)){j.set($,N)}}}function copySymbols(E,N){if(N){E.forEach((function(E){copySymbol(E,N)}))}}function copyLocallyVisibleExportSymbols(N,R){if(R){N.forEach((function(N){if(!E.getDeclarationOfKind(N,273)&&!E.getDeclarationOfKind(N,272)){copySymbol(N,R)}}))}}}function isTypeDeclarationName(N){return N.kind===79&&isTypeDeclaration(N.parent)&&E.getNameOfDeclaration(N.parent)===N}function isTypeDeclaration(E){switch(E.kind){case 161:case 255:case 256:case 257:case 258:case 340:case 333:case 334:return true;case 265:return E.isTypeOnly;case 268:case 273:return E.parent.parent.isTypeOnly;default:return false}}function isTypeReferenceIdentifier(E){while(E.parent.kind===159){E=E.parent}return E.parent.kind===176}function isHeritageClauseElementIdentifier(E){while(E.parent.kind===204){E=E.parent}return E.parent.kind===226}function forEachEnclosingClass(N,R){var j;while(true){N=E.getContainingClass(N);if(!N)break;if(j=R(N))break}return j}function isNodeUsedDuringClassInitialization(N){return!!E.findAncestor(N,(function(N){if(E.isConstructorDeclaration(N)&&E.nodeIsPresent(N.body)||E.isPropertyDeclaration(N)){return true}else if(E.isClassLike(N)||E.isFunctionLikeDeclaration(N)){return"quit"}return false}))}function isNodeWithinClass(E,N){return!!forEachEnclosingClass(E,(function(E){return E===N}))}function getLeftSideOfImportEqualsOrExportAssignment(E){while(E.parent.kind===159){E=E.parent}if(E.parent.kind===263){return E.parent.moduleReference===E?E.parent:undefined}if(E.parent.kind===269){return E.parent.expression===E?E.parent:undefined}return undefined}function isInRightSideOfImportOrExportAssignment(E){return getLeftSideOfImportEqualsOrExportAssignment(E)!==undefined}function getSpecialPropertyAssignmentSymbolFromEntityName(N){var R=E.getAssignmentDeclarationKind(N.parent.parent);switch(R){case 1:case 3:return getSymbolOfNode(N.parent);case 4:case 2:case 5:return getSymbolOfNode(N.parent.parent)}}function isImportTypeQualifierPart(N){var R=N.parent;while(E.isQualifiedName(R)){N=R;R=R.parent}if(R&&R.kind===198&&R.qualifier===N){return R}return undefined}function getSymbolOfNameOrPropertyAccessExpression(N){if(E.isDeclarationName(N)){return getSymbolOfNode(N.parent)}if(E.isInJSFile(N)&&N.parent.kind===204&&N.parent===N.parent.parent.left){if(!E.isPrivateIdentifier(N)&&!E.isJSDocMemberName(N)){var R=getSpecialPropertyAssignmentSymbolFromEntityName(N);if(R){return R}}}if(N.parent.kind===269&&E.isEntityNameExpression(N)){var j=resolveEntityName(N,111551|788968|1920|2097152,true);if(j&&j!==jt){return j}}else if(E.isEntityName(N)&&isInRightSideOfImportOrExportAssignment(N)){var $=E.getAncestor(N,263);E.Debug.assert($!==undefined);return getSymbolOfPartOfRightHandSideOfImportEquals(N,true)}if(E.isEntityName(N)){var q=isImportTypeQualifierPart(N);if(q){getTypeFromTypeNode(q);var G=getNodeLinks(N).resolvedSymbol;return G===jt?undefined:G}}while(E.isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName(N)){N=N.parent}if(isHeritageClauseElementIdentifier(N)){var ie=0;if(N.parent.kind===226){ie=788968;if(E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)){ie|=111551}}else{ie=1920}ie|=2097152;var ae=E.isEntityNameExpression(N)?resolveEntityName(N,ie):undefined;if(ae){return ae}}if(N.parent.kind===335){return E.getParameterSymbolFromJSDoc(N.parent)}if(N.parent.kind===161&&N.parent.parent.kind===339){E.Debug.assert(!E.isInJSFile(N));var ce=E.getTypeParameterFromJsDoc(N.parent);return ce&&ce.symbol}if(E.isExpressionNode(N)){if(E.nodeIsMissing(N)){return undefined}var le=E.findAncestor(N,E.or(E.isJSDocLinkLike,E.isJSDocNameReference,E.isJSDocMemberName));var ie=le?788968|1920|111551:111551;if(N.kind===79){if(E.isJSXTagName(N)&&isJsxIntrinsicIdentifier(N)){var _e=getIntrinsicTagSymbol(N.parent);return _e===jt?undefined:_e}var Ee=resolveEntityName(N,ie,false,!le,E.getHostSignatureFromJSDoc(N));if(!Ee&&le){var Te=E.findAncestor(N,E.or(E.isClassLike,E.isInterfaceDeclaration));if(Te){return resolveJSDocMemberName(N,getSymbolOfNode(Te))}}return Ee}else if(N.kind===204||N.kind===159){var we=getNodeLinks(N);if(we.resolvedSymbol){return we.resolvedSymbol}if(N.kind===204){checkPropertyAccessExpression(N,0)}else{checkQualifiedName(N,0)}if(!we.resolvedSymbol&&le&&E.isQualifiedName(N)){return resolveJSDocMemberName(N)}return we.resolvedSymbol}else if(E.isJSDocMemberName(N)){return resolveJSDocMemberName(N)}}else if(isTypeReferenceIdentifier(N)){var ie=N.parent.kind===176?788968:1920;return resolveEntityName(N,ie,false,true)}if(N.parent.kind===175){return resolveEntityName(N,1)}return undefined}function resolveJSDocMemberName(N,R){if(E.isEntityName(N)){var j=788968|1920|111551;var $=resolveEntityName(N,j,false,true,E.getHostSignatureFromJSDoc(N));if(!$&&E.isIdentifier(N)&&R){$=getMergedSymbol(getSymbol(getExportsOfSymbol(R),N.escapedText,j))}if($){return $}}var q=E.isIdentifier(N)?R:resolveJSDocMemberName(N.left);var G=E.isIdentifier(N)?N.escapedText:N.right.escapedText;if(q){var ie=q.flags&111551&&getPropertyOfType(getTypeOfSymbol(q),"prototype");var ae=ie?getTypeOfSymbol(ie):getDeclaredTypeOfSymbol(q);return getPropertyOfType(ae,G)}}function getSymbolAtLocation(N,R){if(N.kind===300){return E.isExternalModule(N)?getMergedSymbol(N.symbol):undefined}var j=N.parent;var $=j.parent;if(N.flags&16777216){return undefined}if(isDeclarationNameOrImportPropertyName(N)){var q=getSymbolOfNode(j);return E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N?getImmediateAliasedSymbol(q):q}else if(E.isLiteralComputedPropertyDeclarationName(N)){return getSymbolOfNode(j.parent)}if(N.kind===79){if(isInRightSideOfImportOrExportAssignment(N)){return getSymbolOfNameOrPropertyAccessExpression(N)}else if(j.kind===201&&$.kind===199&&N===j.propertyName){var G=getTypeOfNode($);var ie=getPropertyOfType(G,N.escapedText);if(ie){return ie}}else if(E.isMetaProperty(j)){var ae=getTypeOfNode(j);var ie=getPropertyOfType(ae,N.escapedText);if(ie){return ie}if(j.keywordToken===103){return checkNewTargetMetaProperty(j).symbol}}}switch(N.kind){case 79:case 80:case 204:case 159:return getSymbolOfNameOrPropertyAccessExpression(N);case 108:var ce=E.getThisContainer(N,false);if(E.isFunctionLike(ce)){var le=getSignatureFromDeclaration(ce);if(le.thisParameter){return le.thisParameter}}if(E.isInExpressionContext(N)){return checkExpression(N).symbol}case 190:return getTypeFromThisTypeNode(N).symbol;case 106:return checkExpression(N).symbol;case 133:var _e=N.parent;if(_e&&_e.kind===169){return _e.parent.symbol}return undefined;case 10:case 14:if(E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N||(N.parent.kind===264||N.parent.kind===270)&&N.parent.moduleSpecifier===N||(E.isInJSFile(N)&&E.isRequireCall(N.parent,false)||E.isImportCall(N.parent))||E.isLiteralTypeNode(N.parent)&&E.isLiteralImportTypeNode(N.parent.parent)&&N.parent.parent.argument===N.parent){return resolveExternalModuleName(N,N,R)}if(E.isCallExpression(j)&&E.isBindableObjectDefinePropertyCall(j)&&j.arguments[1]===N){return getSymbolOfNode(j)}case 8:var Ee=E.isElementAccessExpression(j)?j.argumentExpression===N?getTypeOfExpression(j.expression):undefined:E.isLiteralTypeNode(j)&&E.isIndexedAccessTypeNode($)?getTypeFromTypeNode($.objectType):undefined;return Ee&&getPropertyOfType(Ee,E.escapeLeadingUnderscores(N.text));case 88:case 98:case 38:case 84:return getSymbolOfNode(N.parent);case 198:return E.isLiteralImportTypeNode(N)?getSymbolAtLocation(N.argument.literal,R):undefined;case 93:return E.isExportAssignment(N.parent)?E.Debug.checkDefined(N.parent.symbol):undefined;case 100:case 103:return E.isMetaProperty(N.parent)?checkMetaPropertyKeyword(N.parent).symbol:undefined;case 229:return checkExpression(N).symbol;default:return undefined}}function getIndexInfosAtLocation(N){if(E.isIdentifier(N)&&E.isPropertyAccessExpression(N.parent)&&N.parent.name===N){var R=getLiteralTypeFromPropertyName(N);var j=getTypeOfExpression(N.parent.expression);var $=j.flags&1048576?j.types:[j];return E.flatMap($,(function(N){return E.filter(getIndexInfosOfType(N),(function(E){return isApplicableIndexType(R,E.keyType)}))}))}return undefined}function getShorthandAssignmentValueSymbol(E){if(E&&E.kind===292){return resolveEntityName(E.name,111551|2097152)}return undefined}function getExportSpecifierLocalTargetSymbol(N){if(E.isExportSpecifier(N)){return N.parent.parent.moduleSpecifier?getExternalModuleMember(N.parent.parent,N):resolveEntityName(N.propertyName||N.name,111551|788968|1920|2097152)}else{return resolveEntityName(N,111551|788968|1920|2097152)}}function getTypeOfNode(N){if(E.isSourceFile(N)&&!E.isExternalModule(N)){return Jt}if(N.flags&16777216){return Jt}var R=E.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(N);var j=R&&getDeclaredTypeOfClassOrInterface(getSymbolOfNode(R.class));if(E.isPartOfTypeNode(N)){var $=getTypeFromTypeNode(N);return j?getTypeWithThisArgument($,j.thisType):$}if(E.isExpressionNode(N)){return getRegularTypeOfExpression(N)}if(j&&!R.isImplements){var q=E.firstOrUndefined(getBaseTypes(j));return q?getTypeWithThisArgument(q,j.thisType):Jt}if(isTypeDeclaration(N)){var G=getSymbolOfNode(N);return getDeclaredTypeOfSymbol(G)}if(isTypeDeclarationName(N)){var G=getSymbolAtLocation(N);return G?getDeclaredTypeOfSymbol(G):Jt}if(E.isDeclaration(N)){var G=getSymbolOfNode(N);return getTypeOfSymbol(G)}if(isDeclarationNameOrImportPropertyName(N)){var G=getSymbolAtLocation(N);if(G){return getTypeOfSymbol(G)}return Jt}if(E.isBindingPattern(N)){return getTypeForVariableLikeDeclaration(N.parent,true)||Jt}if(isInRightSideOfImportOrExportAssignment(N)){var G=getSymbolAtLocation(N);if(G){var ie=getDeclaredTypeOfSymbol(G);return ie!==Jt?ie:getTypeOfSymbol(G)}}if(E.isMetaProperty(N.parent)&&N.parent.keywordToken===N.kind){return checkMetaPropertyKeyword(N.parent)}return Jt}function getTypeOfAssignmentPattern(N){E.Debug.assert(N.kind===203||N.kind===202);if(N.parent.kind===242){var R=checkRightHandSideOfForOf(N.parent);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===219){var R=getTypeOfExpression(N.parent.right);return checkDestructuringAssignment(N,R||Jt)}if(N.parent.kind===291){var j=E.cast(N.parent.parent,E.isObjectLiteralExpression);var $=getTypeOfAssignmentPattern(j)||Jt;var q=E.indexOfNode(j.properties,N.parent);return checkObjectLiteralDestructuringPropertyAssignment(j,$,q)}var G=E.cast(N.parent,E.isArrayLiteralExpression);var ie=getTypeOfAssignmentPattern(G)||Jt;var ae=checkIteratedTypeOrElementType(65,ie,Gt,N.parent)||Jt;return checkArrayLiteralDestructuringElementAssignment(G,ie,G.elements.indexOf(N),ae)}function getPropertySymbolOfDestructuringAssignment(N){var R=getTypeOfAssignmentPattern(E.cast(N.parent.parent,E.isAssignmentPattern));return R&&getPropertyOfType(R,N.escapedText)}function getRegularTypeOfExpression(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return getRegularTypeOfLiteralType(getTypeOfExpression(N))}function getParentTypeOfClassElement(N){var R=getSymbolOfNode(N.parent);return E.isStatic(N)?getTypeOfSymbol(R):getDeclaredTypeOfSymbol(R)}function getClassElementPropertyKeyType(N){var R=N.name;switch(R.kind){case 79:return getStringLiteralType(E.idText(R));case 8:case 10:return getStringLiteralType(R.text);case 160:var j=checkComputedPropertyName(R);return isTypeAssignableToKind(j,12288)?j:er;default:return E.Debug.fail("Unsupported property name.")}}function getAugmentedPropertiesOfType(N){N=getApparentType(N);var R=E.createSymbolTable(getPropertiesOfType(N));var j=getSignaturesOfType(N,0).length?nn:getSignaturesOfType(N,1).length?an:undefined;if(j){E.forEach(getPropertiesOfType(j),(function(E){if(!R.has(E.escapedName)){R.set(E.escapedName,E)}}))}return getNamedMembers(R)}function typeHasCallOrConstructSignatures(N){return E.typeHasCallOrConstructSignatures(N,Tt)}function getRootSymbols(N){var R=getImmediateRootSymbols(N);return R?E.flatMap(R,getRootSymbols):[N]}function getImmediateRootSymbols(N){if(E.getCheckFlags(N)&6){return E.mapDefined(getSymbolLinks(N).containingType.types,(function(E){return getPropertyOfType(E,N.escapedName)}))}else if(N.flags&33554432){var R=N,j=R.leftSpread,$=R.rightSpread,q=R.syntheticOrigin;return j?[j,$]:q?[q]:E.singleElementArray(tryGetAliasTarget(N))}return undefined}function tryGetAliasTarget(E){var N;var R=E;while(R=getSymbolLinks(R).target){N=R}return N}function isArgumentsLocalBinding(N){if(E.isGeneratedIdentifier(N))return false;var R=E.getParseTreeNode(N,E.isIdentifier);if(!R)return false;var j=R.parent;if(!j)return false;var $=(E.isPropertyAccessExpression(j)||E.isPropertyAssignment(j))&&j.name===R;return!$&&getReferencedValueSymbol(R)===xt}function moduleExportsSomeValue(N){var R=resolveExternalModuleName(N.parent,N);if(!R||E.isShorthandAmbientModuleSymbol(R)){return true}var j=hasExportAssignmentSymbol(R);R=resolveExternalModuleSymbol(R);var $=getSymbolLinks(R);if($.exportsSomeValue===undefined){$.exportsSomeValue=j?!!(R.flags&111551):E.forEachEntry(getExportsOfModule(R),isValue)}return $.exportsSomeValue;function isValue(E){E=resolveSymbol(E);return E&&!!(E.flags&111551)}}function isNameOfModuleOrEnumDeclaration(N){return E.isModuleOrEnumDeclaration(N.parent)&&N===N.parent.name}function getReferencedExportContainer(N,R){var j;var $=E.getParseTreeNode(N,E.isIdentifier);if($){var q=getReferencedValueSymbol($,isNameOfModuleOrEnumDeclaration($));if(q){if(q.flags&1048576){var G=getMergedSymbol(q.exportSymbol);if(!R&&G.flags&944&&!(G.flags&3)){return undefined}q=G}var ie=getParentOfSymbol(q);if(ie){if(ie.flags&512&&((j=ie.valueDeclaration)===null||j===void 0?void 0:j.kind)===300){var ae=ie.valueDeclaration;var ce=E.getSourceFileOfNode($);var le=ae!==ce;return le?undefined:ae}return E.findAncestor($.parent,(function(N){return E.isModuleOrEnumDeclaration(N)&&getSymbolOfNode(N)===ie}))}}}}function getReferencedImportDeclaration(N){if(N.generatedImportReference){return N.generatedImportReference}var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(isNonLocalAlias(j,111551)&&!getTypeOnlyAliasDeclaration(j)){return getDeclarationOfAliasSymbol(j)}}return undefined}function isSymbolOfDestructuredElementOfCatchBinding(N){return N.valueDeclaration&&E.isBindingElement(N.valueDeclaration)&&E.walkUpBindingElementsAndPatterns(N.valueDeclaration).parent.kind===290}function isSymbolOfDeclarationWithCollidingName(N){if(N.flags&418&&N.valueDeclaration&&!E.isSourceFile(N.valueDeclaration)){var R=getSymbolLinks(N);if(R.isDeclarationWithCollidingName===undefined){var j=E.getEnclosingBlockScopeContainer(N.valueDeclaration);if(E.isStatementWithLocals(j)||isSymbolOfDestructuredElementOfCatchBinding(N)){var $=getNodeLinks(N.valueDeclaration);if(resolveName(j.parent,N.escapedName,111551,undefined,undefined,false)){R.isDeclarationWithCollidingName=true}else if($.flags&262144){var q=$.flags&524288;var G=E.isIterationStatement(j,false);var ie=j.kind===233&&E.isIterationStatement(j.parent,false);R.isDeclarationWithCollidingName=!E.isBlockScopedContainerTopLevel(j)&&(!q||!G&&!ie)}else{R.isDeclarationWithCollidingName=false}}}return R.isDeclarationWithCollidingName}return false}function getReferencedDeclarationWithCollidingName(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j&&isSymbolOfDeclarationWithCollidingName(j)){return j.valueDeclaration}}}return undefined}function isDeclarationWithCollidingName(N){var R=E.getParseTreeNode(N,E.isDeclaration);if(R){var j=getSymbolOfNode(R);if(j){return isSymbolOfDeclarationWithCollidingName(j)}}return false}function isValueAliasDeclaration(N){switch(N.kind){case 263:return isAliasResolvedToValue(getSymbolOfNode(N)||jt);case 265:case 266:case 268:case 273:var R=getSymbolOfNode(N)||jt;return isAliasResolvedToValue(R)&&!getTypeOnlyAliasDeclaration(R);case 270:var j=N.exportClause;return!!j&&(E.isNamespaceExport(j)||E.some(j.elements,isValueAliasDeclaration));case 269:return N.expression&&N.expression.kind===79?isAliasResolvedToValue(getSymbolOfNode(N)||jt):true}return false}function isTopLevelValueImportEqualsWithEntityName(N){var R=E.getParseTreeNode(N,E.isImportEqualsDeclaration);if(R===undefined||R.parent.kind!==300||!E.isInternalModuleImportEqualsDeclaration(R)){return false}var j=isAliasResolvedToValue(getSymbolOfNode(R));return j&&R.moduleReference&&!E.nodeIsMissing(R.moduleReference)}function isAliasResolvedToValue(N){var R=resolveAlias(N);if(R===jt){return true}return!!(R.flags&111551)&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(R))}function isConstEnumOrConstEnumOnlyModule(E){return isConstEnumSymbol(E)||!!E.constEnumOnlyModule}function isReferencedAliasDeclaration(N,R){if(isAliasSymbolDeclaration(N)){var j=getSymbolOfNode(N);var $=j&&getSymbolLinks(j);if($===null||$===void 0?void 0:$.referenced){return true}var q=getSymbolLinks(j).target;if(q&&E.getEffectiveModifierFlags(N)&1&&q.flags&111551&&(E.shouldPreserveConstEnums(Xe)||!isConstEnumOrConstEnumOnlyModule(q))){return true}}if(R){return!!E.forEachChild(N,(function(E){return isReferencedAliasDeclaration(E,R)}))}return false}function isImplementationOfOverload(N){if(E.nodeIsPresent(N.body)){if(E.isGetAccessor(N)||E.isSetAccessor(N))return false;var R=getSymbolOfNode(N);var j=getSignaturesOfSymbol(R);return j.length>1||j.length===1&&j[0].declaration!==N}return false}function isRequiredInitializedParameter(N){return!!rt&&!isOptionalParameter(N)&&!E.isJSDocParameterTag(N)&&!!N.initializer&&!E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameterProperty(N){return rt&&isOptionalParameter(N)&&!N.initializer&&E.hasSyntacticModifier(N,16476)}function isOptionalUninitializedParameter(E){return!!rt&&isOptionalParameter(E)&&!E.initializer}function isExpandoFunctionDeclaration(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return false}var j=getSymbolOfNode(R);if(!j||!(j.flags&16)){return false}return!!E.forEachEntry(getExportsOfSymbol(j),(function(N){return N.flags&111551&&N.valueDeclaration&&E.isPropertyAccessExpression(N.valueDeclaration)}))}function getPropertiesOfContainerFunction(N){var R=E.getParseTreeNode(N,E.isFunctionDeclaration);if(!R){return E.emptyArray}var j=getSymbolOfNode(R);return j&&getPropertiesOfType(getTypeOfSymbol(j))||E.emptyArray}function getNodeCheckFlags(E){var N;var R=E.id||0;if(R<0||R>=si.length)return 0;return((N=si[R])===null||N===void 0?void 0:N.flags)||0}function getEnumMemberValue(E){computeEnumMemberValues(E.parent);return getNodeLinks(E).enumMemberValue}function canHaveConstantValue(E){switch(E.kind){case 294:case 204:case 205:return true}return false}function getConstantValue(N){if(N.kind===294){return getEnumMemberValue(N)}var R=getNodeLinks(N).resolvedSymbol;if(R&&R.flags&8){var j=R.valueDeclaration;if(E.isEnumConst(j.parent)){return getEnumMemberValue(j)}}return undefined}function isFunctionType(E){return!!(E.flags&524288)&&getSignaturesOfType(E,0).length>0}function getTypeReferenceSerializationKind(N,R){var j,$;var q=E.getParseTreeNode(N,E.isEntityName);if(!q)return E.TypeReferenceSerializationKind.Unknown;if(R){R=E.getParseTreeNode(R);if(!R)return E.TypeReferenceSerializationKind.Unknown}var G=false;if(E.isQualifiedName(q)){var ie=resolveEntityName(E.getFirstIdentifier(q),111551,true,true,R);G=!!((j=ie===null||ie===void 0?void 0:ie.declarations)===null||j===void 0?void 0:j.every(E.isTypeOnlyImportOrExportDeclaration))}var ae=resolveEntityName(q,111551,true,true,R);var ce=ae&&ae.flags&2097152?resolveAlias(ae):ae;G||(G=!!(($=ae===null||ae===void 0?void 0:ae.declarations)===null||$===void 0?void 0:$.every(E.isTypeOnlyImportOrExportDeclaration)));var le=resolveEntityName(q,788968,true,false,R);if(ce&&ce===le){var _e=getGlobalPromiseConstructorSymbol(false);if(_e&&ce===_e){return E.TypeReferenceSerializationKind.Promise}var Ee=getTypeOfSymbol(ce);if(Ee&&isConstructorType(Ee)){return G?E.TypeReferenceSerializationKind.TypeWithCallSignature:E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}}if(!le){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}var Te=getDeclaredTypeOfSymbol(le);if(Te===Jt){return G?E.TypeReferenceSerializationKind.ObjectType:E.TypeReferenceSerializationKind.Unknown}else if(Te.flags&3){return E.TypeReferenceSerializationKind.ObjectType}else if(isTypeAssignableToKind(Te,16384|98304|131072)){return E.TypeReferenceSerializationKind.VoidNullableOrNeverType}else if(isTypeAssignableToKind(Te,528)){return E.TypeReferenceSerializationKind.BooleanType}else if(isTypeAssignableToKind(Te,296)){return E.TypeReferenceSerializationKind.NumberLikeType}else if(isTypeAssignableToKind(Te,2112)){return E.TypeReferenceSerializationKind.BigIntLikeType}else if(isTypeAssignableToKind(Te,402653316)){return E.TypeReferenceSerializationKind.StringLikeType}else if(isTupleType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else if(isTypeAssignableToKind(Te,12288)){return E.TypeReferenceSerializationKind.ESSymbolType}else if(isFunctionType(Te)){return E.TypeReferenceSerializationKind.TypeWithCallSignature}else if(isArrayType(Te)){return E.TypeReferenceSerializationKind.ArrayLikeType}else{return E.TypeReferenceSerializationKind.ObjectType}}function createTypeOfDeclaration(N,R,j,$,q){var G=E.getParseTreeNode(N,E.isVariableLikeOrAccessor);if(!G){return E.factory.createToken(129)}var ie=getSymbolOfNode(G);var ae=ie&&!(ie.flags&(2048|131072))?getWidenedLiteralType(getTypeOfSymbol(ie)):Jt;if(ae.flags&8192&&ae.symbol===ie){j|=1048576}if(q){ae=getOptionalType(ae)}return _t.typeToTypeNode(ae,R,j|1024,$)}function createReturnTypeOfSignatureDeclaration(N,R,j,$){var q=E.getParseTreeNode(N,E.isFunctionLike);if(!q){return E.factory.createToken(129)}var G=getSignatureFromDeclaration(q);return _t.typeToTypeNode(getReturnTypeOfSignature(G),R,j|1024,$)}function createTypeOfExpression(N,R,j,$){var q=E.getParseTreeNode(N,E.isExpression);if(!q){return E.factory.createToken(129)}var G=getWidenedType(getRegularTypeOfExpression(q));return _t.typeToTypeNode(G,R,j|1024,$)}function hasGlobalName(N){return yt.has(E.escapeLeadingUnderscores(N))}function getReferencedValueSymbol(N,R){var j=getNodeLinks(N).resolvedSymbol;if(j){return j}var $=N;if(R){var q=N.parent;if(E.isDeclaration(q)&&N===q.name){$=getDeclarationContainer(q)}}return resolveName($,N.escapedText,111551|1048576|2097152,undefined,undefined,true)}function getReferencedValueDeclaration(N){if(!E.isGeneratedIdentifier(N)){var R=E.getParseTreeNode(N,E.isIdentifier);if(R){var j=getReferencedValueSymbol(R);if(j){return getExportSymbolOfValueSymbolIfExported(j).valueDeclaration}}}return undefined}function isLiteralConstDeclaration(N){if(E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N)){return isFreshLiteralType(getTypeOfSymbol(getSymbolOfNode(N)))}return false}function literalTypeToNode(N,R,j){var $=N.flags&1024?_t.symbolToExpression(N.symbol,111551,R,undefined,j):N===ar?E.factory.createTrue():N===nr&&E.factory.createFalse();if($)return $;var q=N.value;return typeof q==="object"?E.factory.createBigIntLiteral(q):typeof q==="number"?E.factory.createNumericLiteral(q):E.factory.createStringLiteral(q)}function createLiteralConstValue(E,N){var R=getTypeOfSymbol(getSymbolOfNode(E));return literalTypeToNode(R,E,N)}function getJsxFactoryEntity(N){return N?(getJsxNamespace(N),E.getSourceFileOfNode(N).localJsxFactory||Ci):Ci}function getJsxFragmentFactoryEntity(N){if(N){var R=E.getSourceFileOfNode(N);if(R){if(R.localJsxFragmentFactory){return R.localJsxFragmentFactory}var j=R.pragmas.get("jsxfrag");var $=E.isArray(j)?j[0]:j;if($){R.localJsxFragmentFactory=E.parseIsolatedEntityName($.arguments.factory,Ye);return R.localJsxFragmentFactory}}}if(Xe.jsxFragmentFactory){return E.parseIsolatedEntityName(Xe.jsxFragmentFactory,Ye)}}function createResolver(){var N=q.getResolvedTypeReferenceDirectives();var R;if(N){R=new E.Map;N.forEach((function(E,N){if(!E||!E.resolvedFileName){return}var R=q.getSourceFile(E.resolvedFileName);if(R){addReferencedFilesToTypeDirective(R,N)}}))}return{getReferencedExportContainer:getReferencedExportContainer,getReferencedImportDeclaration:getReferencedImportDeclaration,getReferencedDeclarationWithCollidingName:getReferencedDeclarationWithCollidingName,isDeclarationWithCollidingName:isDeclarationWithCollidingName,isValueAliasDeclaration:function(N){var R=E.getParseTreeNode(N);return R?isValueAliasDeclaration(R):true},hasGlobalName:hasGlobalName,isReferencedAliasDeclaration:function(N,R){var j=E.getParseTreeNode(N);return j?isReferencedAliasDeclaration(j,R):true},getNodeCheckFlags:function(N){var R=E.getParseTreeNode(N);return R?getNodeCheckFlags(R):0},isTopLevelValueImportEqualsWithEntityName:isTopLevelValueImportEqualsWithEntityName,isDeclarationVisible:isDeclarationVisible,isImplementationOfOverload:isImplementationOfOverload,isRequiredInitializedParameter:isRequiredInitializedParameter,isOptionalUninitializedParameterProperty:isOptionalUninitializedParameterProperty,isExpandoFunctionDeclaration:isExpandoFunctionDeclaration,getPropertiesOfContainerFunction:getPropertiesOfContainerFunction,createTypeOfDeclaration:createTypeOfDeclaration,createReturnTypeOfSignatureDeclaration:createReturnTypeOfSignatureDeclaration,createTypeOfExpression:createTypeOfExpression,createLiteralConstValue:createLiteralConstValue,isSymbolAccessible:isSymbolAccessible,isEntityNameVisible:isEntityNameVisible,getConstantValue:function(N){var R=E.getParseTreeNode(N,canHaveConstantValue);return R?getConstantValue(R):undefined},collectLinkedAliases:collectLinkedAliases,getReferencedValueDeclaration:getReferencedValueDeclaration,getTypeReferenceSerializationKind:getTypeReferenceSerializationKind,isOptionalParameter:isOptionalParameter,moduleExportsSomeValue:moduleExportsSomeValue,isArgumentsLocalBinding:isArgumentsLocalBinding,getExternalModuleFileFromDeclaration:function(N){var R=E.getParseTreeNode(N,E.hasPossibleExternalModuleReference);return R&&getExternalModuleFileFromDeclaration(R)},getTypeReferenceDirectivesForEntityName:getTypeReferenceDirectivesForEntityName,getTypeReferenceDirectivesForSymbol:getTypeReferenceDirectivesForSymbol,isLiteralConstDeclaration:isLiteralConstDeclaration,isLateBound:function(N){var R=E.getParseTreeNode(N,E.isDeclaration);var j=R&&getSymbolOfNode(R);return!!(j&&E.getCheckFlags(j)&4096)},getJsxFactoryEntity:getJsxFactoryEntity,getJsxFragmentFactoryEntity:getJsxFragmentFactoryEntity,getAllAccessorDeclarations:function(N){N=E.getParseTreeNode(N,E.isGetOrSetAccessorDeclaration);var R=N.kind===171?170:171;var j=E.getDeclarationOfKind(getSymbolOfNode(N),R);var $=j&&j.pos3}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,4)}}else if(G&1048576){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>4}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,5)}}else if(G&1024){if(!E.some(getSignaturesOfSymbol(ae),(function(E){return getParameterCount(E)>2}))){error(N,E.Diagnostics.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,E.externalHelpersModuleNameText,ie,3)}}}}}Ee|=R}}}function getHelperName(N){switch(N){case 1:return"__extends";case 2:return"__assign";case 4:return"__rest";case 8:return"__decorate";case 16:return"__metadata";case 32:return"__param";case 64:return"__awaiter";case 128:return"__generator";case 256:return"__values";case 512:return"__read";case 1024:return"__spreadArray";case 2048:return"__await";case 4096:return"__asyncGenerator";case 8192:return"__asyncDelegator";case 16384:return"__asyncValues";case 32768:return"__exportStar";case 65536:return"__importStar";case 131072:return"__importDefault";case 262144:return"__makeTemplateObject";case 524288:return"__classPrivateFieldGet";case 1048576:return"__classPrivateFieldSet";case 2097152:return"__createBinding";default:return E.Debug.fail("Unrecognized helper")}}function resolveHelpersModule(N,R){if(!Te){Te=resolveExternalModule(N,E.externalHelpersModuleNameText,E.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,R)||jt}return Te}function checkGrammarDecoratorsAndModifiers(E){return checkGrammarDecorators(E)||checkGrammarModifiers(E)}function checkGrammarDecorators(N){if(!N.decorators){return false}if(!E.nodeCanBeDecorated(N,N.parent,N.parent.parent)){if(N.kind===167&&!E.nodeIsPresent(N.body)){return grammarErrorOnFirstToken(N,E.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload)}else{return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_are_not_valid_here)}}else if(N.kind===170||N.kind===171){var R=E.getAllAccessorDeclarations(N.parent.members,N);if(R.firstAccessor.decorators&&N===R.secondAccessor){return grammarErrorOnFirstToken(N,E.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}return false}function checkGrammarModifiers(N){var R=reportObviousModifierErrors(N);if(R!==undefined){return R}var j,$,q,G,ie;var ae=0;for(var ce=0,le=N.modifiers;ce1||E.modifiers[0].kind!==N}function checkGrammarAsyncModifier(N,R){switch(N.kind){case 167:case 254:case 211:case 212:return false}return grammarErrorOnNode(R,E.Diagnostics._0_modifier_cannot_be_used_here,"async")}function checkGrammarForDisallowedTrailingComma(N,R){if(R===void 0){R=E.Diagnostics.Trailing_comma_not_allowed}if(N&&N.hasTrailingComma){return grammarErrorAtPos(N[0],N.end-",".length,",".length,R)}return false}function checkGrammarTypeParameterList(N,R){if(N&&N.length===0){var j=N.pos-"<".length;var $=E.skipTrivia(R.text,N.end)+">".length;return grammarErrorAtPos(R,j,$-j,E.Diagnostics.Type_parameter_list_cannot_be_empty)}return false}function checkGrammarParameterList(N){var R=false;var j=N.length;for(var $=0;$=3){var R=N.body&&E.isBlock(N.body)&&E.findUseStrictPrologue(N.body.statements);if(R){var $=getNonSimpleParameters(N.parameters);if(E.length($)){E.forEach($,(function(N){E.addRelatedInfo(error(N,E.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),E.createDiagnosticForNode(R,E.Diagnostics.use_strict_directive_used_here))}));var q=$.map((function(N,R){return R===0?E.createDiagnosticForNode(N,E.Diagnostics.Non_simple_parameter_declared_here):E.createDiagnosticForNode(N,E.Diagnostics.and_here)}));E.addRelatedInfo.apply(void 0,j([error(R,E.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],q,false));return true}}}return false}function checkGrammarFunctionLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarDecoratorsAndModifiers(N)||checkGrammarTypeParameterList(N.typeParameters,R)||checkGrammarParameterList(N.parameters)||checkGrammarArrowFunction(N,R)||E.isFunctionLikeDeclaration(N)&&checkGrammarForUseStrictSimpleParameterList(N)}function checkGrammarClassLikeDeclaration(N){var R=E.getSourceFileOfNode(N);return checkGrammarClassDeclarationHeritageClauses(N)||checkGrammarTypeParameterList(N.typeParameters,R)}function checkGrammarArrowFunction(N,R){if(!E.isArrowFunction(N)){return false}var j=N.equalsGreaterThanToken;var $=E.getLineAndCharacterOfPosition(R,j.pos).line;var q=E.getLineAndCharacterOfPosition(R,j.end).line;return $!==q&&grammarErrorOnNode(j,E.Diagnostics.Line_terminator_not_permitted_before_arrow)}function checkGrammarIndexSignatureParameters(N){var R=N.parameters[0];if(N.parameters.length!==1){if(R){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}else{return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_exactly_one_parameter)}}checkGrammarForDisallowedTrailingComma(N.parameters,E.Diagnostics.An_index_signature_cannot_have_a_trailing_comma);if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.An_index_signature_cannot_have_a_rest_parameter)}if(E.hasEffectiveModifiers(R)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark)}if(R.initializer){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer)}if(!R.type){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation)}var j=getTypeFromTypeNode(R.type);if(someType(j,(function(E){return!!(E.flags&8576)}))||isGenericType(j)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead)}if(!everyType(j,isValidIndexKeyType)){return grammarErrorOnNode(R.name,E.Diagnostics.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}if(!N.type){return grammarErrorOnNode(N,E.Diagnostics.An_index_signature_must_have_a_type_annotation)}return false}function checkGrammarIndexSignature(E){return checkGrammarDecoratorsAndModifiers(E)||checkGrammarIndexSignatureParameters(E)}function checkGrammarForAtLeastOneTypeArgument(N,R){if(R&&R.length===0){var j=E.getSourceFileOfNode(N);var $=R.pos-"<".length;var q=E.skipTrivia(j.text,R.end)+">".length;return grammarErrorAtPos(j,$,q-$,E.Diagnostics.Type_argument_list_cannot_be_empty)}return false}function checkGrammarTypeArguments(E,N){return checkGrammarForDisallowedTrailingComma(N)||checkGrammarForAtLeastOneTypeArgument(E,N)}function checkGrammarTaggedTemplateChain(N){if(N.questionDotToken||N.flags&32){return grammarErrorOnNode(N.template,E.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain)}return false}function checkGrammarForOmittedArgument(N){if(N){for(var R=0,j=N;R1){return grammarErrorOnFirstToken(G.types[1],E.Diagnostics.Classes_can_only_extend_a_single_class)}R=true}else{E.Debug.assert(G.token===117);if(j){return grammarErrorOnFirstToken(G,E.Diagnostics.implements_clause_already_seen)}j=true}checkGrammarHeritageClause(G)}}}function checkGrammarInterfaceDeclaration(N){var R=false;if(N.heritageClauses){for(var j=0,$=N.heritageClauses;j<$.length;j++){var q=$[j];if(q.token===94){if(R){return grammarErrorOnFirstToken(q,E.Diagnostics.extends_clause_already_seen)}R=true}else{E.Debug.assert(q.token===117);return grammarErrorOnFirstToken(q,E.Diagnostics.Interface_declaration_cannot_have_implements_clause)}checkGrammarHeritageClause(q)}}return false}function checkGrammarComputedPropertyName(N){if(N.kind!==160){return false}var R=N;if(R.expression.kind===219&&R.expression.operatorToken.kind===27){return grammarErrorOnNode(R.expression,E.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}return false}function checkGrammarForGenerator(N){if(N.asteriskToken){E.Debug.assert(N.kind===254||N.kind===211||N.kind===167);if(N.flags&8388608){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.Generators_are_not_allowed_in_an_ambient_context)}if(!N.body){return grammarErrorOnNode(N.asteriskToken,E.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}}function checkGrammarForInvalidQuestionMark(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarForInvalidExclamationToken(E,N){return!!E&&grammarErrorOnNode(E,N)}function checkGrammarObjectLiteralExpression(N,R){var j=new E.Map;for(var $=0,q=N.properties;$1){var j=N.kind===241?E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:E.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return grammarErrorOnFirstToken(G.declarations[1],j)}var ae=ie[0];if(ae.initializer){var j=N.kind===241?E.Diagnostics.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:E.Diagnostics.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return grammarErrorOnNode(ae.name,j)}if(ae.type){var j=N.kind===241?E.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:E.Diagnostics.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return grammarErrorOnNode(ae,j)}}}return false}function checkGrammarAccessor(N){if(!(N.flags&8388608)&&N.parent.kind!==180&&N.parent.kind!==256){if(Ye<1){return grammarErrorOnNode(N.name,E.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher)}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.body===undefined&&!E.hasSyntacticModifier(N,128)){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(N.body){if(E.hasSyntacticModifier(N,128)){return grammarErrorOnNode(N,E.Diagnostics.An_abstract_accessor_cannot_have_an_implementation)}if(N.parent.kind===180||N.parent.kind===256){return grammarErrorOnNode(N.body,E.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts)}}if(N.typeParameters){return grammarErrorOnNode(N.name,E.Diagnostics.An_accessor_cannot_have_type_parameters)}if(!doesAccessorHaveCorrectParameterCount(N)){return grammarErrorOnNode(N.name,N.kind===170?E.Diagnostics.A_get_accessor_cannot_have_parameters:E.Diagnostics.A_set_accessor_must_have_exactly_one_parameter)}if(N.kind===171){if(N.type){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_cannot_have_a_return_type_annotation)}var R=E.Debug.checkDefined(E.getSetAccessorValueParameter(N),"Return value does not match parameter count assertion.");if(R.dotDotDotToken){return grammarErrorOnNode(R.dotDotDotToken,E.Diagnostics.A_set_accessor_cannot_have_rest_parameter)}if(R.questionToken){return grammarErrorOnNode(R.questionToken,E.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter)}if(R.initializer){return grammarErrorOnNode(N.name,E.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}}return false}function doesAccessorHaveCorrectParameterCount(E){return getAccessorThisParameter(E)||E.parameters.length===(E.kind===170?0:1)}function getAccessorThisParameter(N){if(N.parameters.length===(N.kind===170?1:2)){return E.getThisParameter(N)}}function checkGrammarTypeOperatorNode(N){if(N.operator===152){if(N.type.kind!==149){return grammarErrorOnNode(N.type,E.Diagnostics._0_expected,E.tokenToString(149))}var R=E.walkUpParenthesizedTypes(N.parent);if(E.isInJSFile(R)&&E.isJSDocTypeExpression(R)){R=R.parent;if(E.isJSDocTypeTag(R)){R=R.parent.parent}}switch(R.kind){case 252:var j=R;if(j.name.kind!==79){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name)}if(!E.isVariableDeclarationInVariableStatement(j)){return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement)}if(!(j.parent.flags&2)){return grammarErrorOnNode(R.name,E.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const)}break;case 165:if(!E.isStatic(R)||!E.hasEffectiveReadonlyModifier(R)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly)}break;case 164:if(!E.hasSyntacticModifier(R,64)){return grammarErrorOnNode(R.name,E.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly)}break;default:return grammarErrorOnNode(N,E.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(N.operator===143){if(N.type.kind!==181&&N.type.kind!==182){return grammarErrorOnFirstToken(N,E.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,E.tokenToString(149))}}}function checkGrammarForInvalidDynamicName(E,N){if(isNonBindableDynamicName(E)){return grammarErrorOnNode(E,N)}}function checkGrammarMethod(N){if(checkGrammarFunctionLikeDeclaration(N)){return true}if(N.kind===167){if(N.parent.kind===203){if(N.modifiers&&!(N.modifiers.length===1&&E.first(N.modifiers).kind===130)){return grammarErrorOnFirstToken(N,E.Diagnostics.Modifiers_cannot_appear_here)}else if(checkGrammarForInvalidQuestionMark(N.questionToken,E.Diagnostics.An_object_member_cannot_be_declared_optional)){return true}else if(checkGrammarForInvalidExclamationToken(N.exclamationToken,E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context)){return true}else if(N.body===undefined){return grammarErrorAtPos(N,N.end-1,";".length,E.Diagnostics._0_expected,"{")}}if(checkGrammarForGenerator(N)){return true}}if(E.isClassLike(N.parent)){if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}if(N.flags&8388608){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.kind===167&&!N.body){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}else if(N.parent.kind===256){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}else if(N.parent.kind===180){return checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)}}function checkGrammarBreakOrContinueStatement(N){var R=N;while(R){if(E.isFunctionLikeOrClassStaticBlockDeclaration(R)){return grammarErrorOnNode(N,E.Diagnostics.Jump_target_cannot_cross_function_boundary)}switch(R.kind){case 248:if(N.label&&R.label.escapedText===N.label.escapedText){var j=N.kind===243&&!E.isIterationStatement(R.statement,true);if(j){return grammarErrorOnNode(N,E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement)}return false}break;case 247:if(N.kind===244&&!N.label){return false}break;default:if(E.isIterationStatement(R,false)&&!N.label){return false}break}R=R.parent}if(N.label){var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:E.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}else{var $=N.kind===244?E.Diagnostics.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:E.Diagnostics.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return grammarErrorOnNode(N,$)}}function checkGrammarBindingElement(N){if(N.dotDotDotToken){var R=N.parent.elements;if(N!==E.last(R)){return grammarErrorOnNode(N,E.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}checkGrammarForDisallowedTrailingComma(R,E.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);if(N.propertyName){return grammarErrorOnNode(N.name,E.Diagnostics.A_rest_element_cannot_have_a_property_name)}}if(N.dotDotDotToken&&N.initializer){return grammarErrorAtPos(N,N.initializer.pos-1,1,E.Diagnostics.A_rest_element_cannot_have_an_initializer)}}function isStringOrNumberLiteralExpression(N){return E.isStringOrNumericLiteralLike(N)||N.kind===217&&N.operator===40&&N.operand.kind===8}function isBigIntLiteralExpression(E){return E.kind===9||E.kind===217&&E.operator===40&&E.operand.kind===9}function isSimpleLiteralEnumReference(N){if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)&&isStringOrNumberLiteralExpression(N.argumentExpression))&&E.isEntityNameExpression(N.expression)){return!!(checkExpressionCached(N).flags&1024)}}function checkAmbientInitializer(N){var R=N.initializer;if(R){var j=!(isStringOrNumberLiteralExpression(R)||isSimpleLiteralEnumReference(R)||R.kind===110||R.kind===95||isBigIntLiteralExpression(R));var $=E.isDeclarationReadonly(N)||E.isVariableDeclaration(N)&&E.isVarConst(N);if($&&!N.type){if(j){return grammarErrorOnNode(R,E.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}}else{return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}if(!$||j){return grammarErrorOnNode(R,E.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}}function checkGrammarVariableDeclaration(N){if(N.parent.parent.kind!==241&&N.parent.parent.kind!==242){if(N.flags&8388608){checkAmbientInitializer(N)}else if(!N.initializer){if(E.isBindingPattern(N.name)&&!E.isBindingPattern(N.parent)){return grammarErrorOnNode(N,E.Diagnostics.A_destructuring_declaration_must_have_an_initializer)}if(E.isVarConst(N)){return grammarErrorOnNode(N,E.Diagnostics.const_declarations_must_be_initialized)}}}if(N.exclamationToken&&(N.parent.parent.kind!==235||!N.type||N.initializer||N.flags&8388608)){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}var j=E.getEmitModuleKind(Xe);if(j0}function grammarErrorOnFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,ie.start,ie.length,R,j,$,q));return true}return false}function grammarErrorAtPos(N,R,j,$,q,G,ie){var ae=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(ae)){xi.add(E.createFileDiagnostic(ae,R,j,$,q,G,ie));return true}return false}function grammarErrorOnNodeSkippedOn(N,R,j,$,q,G){var ie=E.getSourceFileOfNode(R);if(!hasParseDiagnostics(ie)){errorSkippedOn(N,R,j,$,q,G);return true}return false}function grammarErrorOnNode(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){xi.add(E.createDiagnosticForNode(N,R,j,$,q));return true}return false}function checkGrammarConstructorTypeParameters(N){var R=E.isInJSFile(N)?E.getJSDocTypeParameterDeclarations(N):undefined;var j=N.typeParameters||R&&E.firstOrUndefined(R);if(j){var $=j.pos===j.end?j.pos:E.skipTrivia(E.getSourceFileOfNode(N).text,j.pos);return grammarErrorAtPos(N,$,j.end-$,E.Diagnostics.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function checkGrammarConstructorTypeAnnotation(N){var R=E.getEffectiveReturnTypeNode(N);if(R){return grammarErrorOnNode(R,E.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}}function checkGrammarProperty(N){if(E.isClassLike(N.parent)){if(E.isStringLiteral(N.name)&&N.name.text==="constructor"){return grammarErrorOnNode(N.name,E.Diagnostics.Classes_may_not_have_a_field_named_constructor)}if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type)){return true}if(Ye<2&&E.isPrivateIdentifier(N.name)){return grammarErrorOnNode(N.name,E.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}}else if(N.parent.kind===256){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.An_interface_property_cannot_have_an_initializer)}}else if(N.parent.kind===180){if(checkGrammarForInvalidDynamicName(N.name,E.Diagnostics.A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type)){return true}if(N.initializer){return grammarErrorOnNode(N.initializer,E.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}}if(N.flags&8388608){checkAmbientInitializer(N)}if(E.isPropertyDeclaration(N)&&N.exclamationToken&&(!E.isClassLike(N.parent)||!N.type||N.initializer||N.flags&8388608||E.isStatic(N)||E.hasAbstractModifier(N))){var R=N.initializer?E.Diagnostics.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:!N.type?E.Diagnostics.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:E.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context;return grammarErrorOnNode(N.exclamationToken,R)}}function checkGrammarTopLevelElementForRequiredDeclareModifier(N){if(N.kind===256||N.kind===257||N.kind===264||N.kind===263||N.kind===270||N.kind===269||N.kind===262||E.hasSyntacticModifier(N,2|1|512)){return false}return grammarErrorOnFirstToken(N,E.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function checkGrammarTopLevelElementsForRequiredDeclareModifier(N){for(var R=0,j=N.statements;R=1){R=E.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,194)){R=E.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0}else if(E.isChildOfNodeWithKind(N,294)){R=E.Diagnostics.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0}if(R){var j=E.isPrefixUnaryExpression(N.parent)&&N.parent.operator===40;var $=(j?"-":"")+"0o"+N.text;return grammarErrorOnNode(j?N.parent:N,R,$)}}checkNumericLiteralValueSize(N);return false}function checkNumericLiteralValueSize(N){if(N.numericLiteralFlags&16||N.text.length<=15||N.text.indexOf(".")!==-1){return}var R=+E.getTextOfNode(N);if(R<=Math.pow(2,53)-1&&R+1>R){return}addErrorOrSuggestion(false,E.createDiagnosticForNode(N,E.Diagnostics.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function checkGrammarBigIntLiteral(N){var R=E.isLiteralTypeNode(N.parent)||E.isPrefixUnaryExpression(N.parent)&&E.isLiteralTypeNode(N.parent.parent);if(!R){if(Ye<7){if(grammarErrorOnNode(N,E.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020)){return true}}}return false}function grammarErrorAfterFirstToken(N,R,j,$,q){var G=E.getSourceFileOfNode(N);if(!hasParseDiagnostics(G)){var ie=E.getSpanOfTokenAtPosition(G,N.pos);xi.add(E.createFileDiagnostic(G,E.textSpanEnd(ie),0,R,j,$,q));return true}return false}function getAmbientModules(){if(!Yr){Yr=[];yt.forEach((function(E,R){if(N.test(R)){Yr.push(E)}}))}return Yr}function checkGrammarImportClause(N){if(N.isTypeOnly&&N.name&&N.namedBindings){return grammarErrorOnNode(N,E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both)}return false}function checkGrammarImportCallExpression(N){if(Ze===E.ModuleKind.ES2015){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd)}if(N.typeArguments){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_cannot_have_type_arguments)}var R=N.arguments;if(R.length!==1){return grammarErrorOnNode(N,E.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument)}checkGrammarForDisallowedTrailingComma(R);if(E.isSpreadElement(R[0])){return grammarErrorOnNode(R[0],E.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}return false}function findMatchingTypeReferenceOrTypeAliasReference(N,R){var j=E.getObjectFlags(N);if(j&(4|16)&&R.flags&1048576){return E.find(R.types,(function(R){if(R.flags&524288){var $=j&E.getObjectFlags(R);if($&4){return N.target===R.target}if($&16){return!!N.aliasSymbol&&N.aliasSymbol===R.aliasSymbol}}return false}))}}function findBestTypeForObjectLiteral(N,R){if(E.getObjectFlags(N)&128&&someType(R,isArrayLikeType)){return E.find(R.types,(function(E){return!isArrayLikeType(E)}))}}function findBestTypeForInvokable(N,R){var j=0;var $=getSignaturesOfType(N,j).length>0||(j=1,getSignaturesOfType(N,j).length>0);if($){return E.find(R.types,(function(E){return getSignaturesOfType(E,j).length>0}))}}function findMostOverlappyType(N,R){var j;var $=0;for(var q=0,G=R.types;q=$){j=ie;$=ce}}else if(isUnitType(ae)&&1>=$){j=ie;$=1}}return j}function filterPrimitivesIfContainsNonPrimitive(E){if(maybeTypeOfKind(E,67108864)){var N=filterType(E,(function(E){return!(E.flags&131068)}));if(!(N.flags&131072)){return N}}return E}function findMatchingDiscriminantType(N,R,j,$){if(R.flags&1048576&&N.flags&(2097152|524288)){var q=getMatchingUnionConstituentForType(R,N);if(q){return q}var G=getPropertiesOfType(N);if(G){var ie=findDiscriminantProperties(G,R);if(ie){return discriminateTypeByDiscriminableItems(R,E.map(ie,(function(E){return[function(){return getTypeOfSymbol(E)},E.escapedName]})),j,undefined,$)}}}return undefined}}E.createTypeChecker=createTypeChecker;function isNotAccessor(N){return!E.isAccessor(N)}function isNotOverload(E){return E.kind!==254&&E.kind!==167||!!E.body}function isDeclarationNameOrImportPropertyName(N){switch(N.parent.kind){case 268:case 273:return E.isIdentifier(N);default:return E.isDeclarationName(N)}}var Qe;(function(E){E.JSX="JSX";E.IntrinsicElements="IntrinsicElements";E.ElementClass="ElementClass";E.ElementAttributesPropertyNameContainer="ElementAttributesProperty";E.ElementChildrenAttributeNameContainer="ElementChildrenAttribute";E.Element="Element";E.IntrinsicAttributes="IntrinsicAttributes";E.IntrinsicClassAttributes="IntrinsicClassAttributes";E.LibraryManagedAttributes="LibraryManagedAttributes"})(Qe||(Qe={}));function getIterationTypesKeyFromIterationTypeKind(E){switch(E){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function signatureHasRestParameter(E){return!!(E.flags&1)}E.signatureHasRestParameter=signatureHasRestParameter;function signatureHasLiteralTypes(E){return!!(E.flags&2)}E.signatureHasLiteralTypes=signatureHasLiteralTypes})(ce||(ce={}));var ce;(function(E){function visitNode(N,R,j,$){if(N===undefined||R===undefined){return N}var q=R(N);if(q===N){return N}var G;if(q===undefined){return undefined}else if(E.isArray(q)){G=($||extractSingleNode)(q)}else{G=q}E.Debug.assertNode(G,j);return G}E.visitNode=visitNode;function visitNodes(N,R,j,$,q){if(N===undefined||R===undefined){return N}var G;var ie=N.length;if($===undefined||$<0){$=0}if(q===undefined||q>ie-$){q=ie-$}var ae;var ce=-1;var le=-1;if($>0||q=2){q=addDefaultValueAssignmentsIfNeeded(q,j)}j.setLexicalEnvironmentFlags(1,false)}j.suspendLexicalEnvironment();return q}E.visitParameterList=visitParameterList;function addDefaultValueAssignmentsIfNeeded(N,R){var j;for(var $=0;$0&&ie<=158||ie===190){return N}var ae=j.factory;switch(ie){case 79:E.Debug.type(N);return ae.updateIdentifier(N,$(N.typeArguments,R,E.isTypeNodeOrTypeParameterDeclaration));case 159:E.Debug.type(N);return ae.updateQualifiedName(N,G(N.left,R,E.isEntityName),G(N.right,R,E.isIdentifier));case 160:E.Debug.type(N);return ae.updateComputedPropertyName(N,G(N.expression,R,E.isExpression));case 161:E.Debug.type(N);return ae.updateTypeParameterDeclaration(N,G(N.name,R,E.isIdentifier),G(N.constraint,R,E.isTypeNode),G(N.default,R,E.isTypeNode));case 162:E.Debug.type(N);return ae.updateParameterDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.name,R,E.isBindingName),G(N.questionToken,q,E.isQuestionToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 163:E.Debug.type(N);return ae.updateDecorator(N,G(N.expression,R,E.isExpression));case 164:E.Debug.type(N);return ae.updatePropertySignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isToken),G(N.type,R,E.isTypeNode));case 165:E.Debug.type(N);return ae.updatePropertyDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken||N.exclamationToken,q,E.isQuestionOrExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 166:E.Debug.type(N);return ae.updateMethodSignature(N,$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 167:E.Debug.type(N);return ae.updateMethodDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isPropertyName),G(N.questionToken,q,E.isQuestionToken),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 169:E.Debug.type(N);return ae.updateConstructorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 170:E.Debug.type(N);return ae.updateGetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 171:E.Debug.type(N);return ae.updateSetAccessorDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isPropertyName),visitParameterList(N.parameters,R,j,$),visitFunctionBody(N.body,R,j,G));case 168:E.Debug.type(N);j.startLexicalEnvironment();j.suspendLexicalEnvironment();return ae.updateClassStaticBlockDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),visitFunctionBody(N.body,R,j,G));case 172:E.Debug.type(N);return ae.updateCallSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 173:E.Debug.type(N);return ae.updateConstructSignature(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 174:E.Debug.type(N);return ae.updateIndexSignature(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 175:E.Debug.type(N);return ae.updateTypePredicateNode(N,G(N.assertsModifier,R,E.isAssertsKeyword),G(N.parameterName,R,E.isIdentifierOrThisTypeNode),G(N.type,R,E.isTypeNode));case 176:E.Debug.type(N);return ae.updateTypeReferenceNode(N,G(N.typeName,R,E.isEntityName),$(N.typeArguments,R,E.isTypeNode));case 177:E.Debug.type(N);return ae.updateFunctionTypeNode(N,$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 178:E.Debug.type(N);return ae.updateConstructorTypeNode(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.parameters,R,E.isParameterDeclaration),G(N.type,R,E.isTypeNode));case 179:E.Debug.type(N);return ae.updateTypeQueryNode(N,G(N.exprName,R,E.isEntityName));case 180:E.Debug.type(N);return ae.updateTypeLiteralNode(N,$(N.members,R,E.isTypeElement));case 181:E.Debug.type(N);return ae.updateArrayTypeNode(N,G(N.elementType,R,E.isTypeNode));case 182:E.Debug.type(N);return ae.updateTupleTypeNode(N,$(N.elements,R,E.isTypeNode));case 183:E.Debug.type(N);return ae.updateOptionalTypeNode(N,G(N.type,R,E.isTypeNode));case 184:E.Debug.type(N);return ae.updateRestTypeNode(N,G(N.type,R,E.isTypeNode));case 185:E.Debug.type(N);return ae.updateUnionTypeNode(N,$(N.types,R,E.isTypeNode));case 186:E.Debug.type(N);return ae.updateIntersectionTypeNode(N,$(N.types,R,E.isTypeNode));case 187:E.Debug.type(N);return ae.updateConditionalTypeNode(N,G(N.checkType,R,E.isTypeNode),G(N.extendsType,R,E.isTypeNode),G(N.trueType,R,E.isTypeNode),G(N.falseType,R,E.isTypeNode));case 188:E.Debug.type(N);return ae.updateInferTypeNode(N,G(N.typeParameter,R,E.isTypeParameterDeclaration));case 198:E.Debug.type(N);return ae.updateImportTypeNode(N,G(N.argument,R,E.isTypeNode),G(N.qualifier,R,E.isEntityName),visitNodes(N.typeArguments,R,E.isTypeNode),N.isTypeOf);case 195:E.Debug.type(N);return ae.updateNamedTupleMember(N,visitNode(N.dotDotDotToken,R,E.isDotDotDotToken),visitNode(N.name,R,E.isIdentifier),visitNode(N.questionToken,R,E.isQuestionToken),visitNode(N.type,R,E.isTypeNode));case 189:E.Debug.type(N);return ae.updateParenthesizedType(N,G(N.type,R,E.isTypeNode));case 191:E.Debug.type(N);return ae.updateTypeOperatorNode(N,G(N.type,R,E.isTypeNode));case 192:E.Debug.type(N);return ae.updateIndexedAccessTypeNode(N,G(N.objectType,R,E.isTypeNode),G(N.indexType,R,E.isTypeNode));case 193:E.Debug.type(N);return ae.updateMappedTypeNode(N,G(N.readonlyToken,q,E.isReadonlyKeywordOrPlusOrMinusToken),G(N.typeParameter,R,E.isTypeParameterDeclaration),G(N.nameType,R,E.isTypeNode),G(N.questionToken,q,E.isQuestionOrPlusOrMinusToken),G(N.type,R,E.isTypeNode));case 194:E.Debug.type(N);return ae.updateLiteralTypeNode(N,G(N.literal,R,E.isExpression));case 196:E.Debug.type(N);return ae.updateTemplateLiteralType(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateLiteralTypeSpan));case 197:E.Debug.type(N);return ae.updateTemplateLiteralTypeSpan(N,G(N.type,R,E.isTypeNode),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 199:E.Debug.type(N);return ae.updateObjectBindingPattern(N,$(N.elements,R,E.isBindingElement));case 200:E.Debug.type(N);return ae.updateArrayBindingPattern(N,$(N.elements,R,E.isArrayBindingElement));case 201:E.Debug.type(N);return ae.updateBindingElement(N,G(N.dotDotDotToken,q,E.isDotDotDotToken),G(N.propertyName,R,E.isPropertyName),G(N.name,R,E.isBindingName),G(N.initializer,R,E.isExpression));case 202:E.Debug.type(N);return ae.updateArrayLiteralExpression(N,$(N.elements,R,E.isExpression));case 203:E.Debug.type(N);return ae.updateObjectLiteralExpression(N,$(N.properties,R,E.isObjectLiteralElementLike));case 204:if(N.flags&32){E.Debug.type(N);return ae.updatePropertyAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.name,R,E.isMemberName))}E.Debug.type(N);return ae.updatePropertyAccessExpression(N,G(N.expression,R,E.isExpression),G(N.name,R,E.isMemberName));case 205:if(N.flags&32){E.Debug.type(N);return ae.updateElementAccessChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),G(N.argumentExpression,R,E.isExpression))}E.Debug.type(N);return ae.updateElementAccessExpression(N,G(N.expression,R,E.isExpression),G(N.argumentExpression,R,E.isExpression));case 206:if(N.flags&32){E.Debug.type(N);return ae.updateCallChain(N,G(N.expression,R,E.isExpression),G(N.questionDotToken,q,E.isQuestionDotToken),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression))}E.Debug.type(N);return ae.updateCallExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 207:E.Debug.type(N);return ae.updateNewExpression(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode),$(N.arguments,R,E.isExpression));case 208:E.Debug.type(N);return ae.updateTaggedTemplateExpression(N,G(N.tag,R,E.isExpression),visitNodes(N.typeArguments,R,E.isTypeNode),G(N.template,R,E.isTemplateLiteral));case 209:E.Debug.type(N);return ae.updateTypeAssertion(N,G(N.type,R,E.isTypeNode),G(N.expression,R,E.isExpression));case 210:E.Debug.type(N);return ae.updateParenthesizedExpression(N,G(N.expression,R,E.isExpression));case 211:E.Debug.type(N);return ae.updateFunctionExpression(N,$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 212:E.Debug.type(N);return ae.updateArrowFunction(N,$(N.modifiers,R,E.isModifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),G(N.equalsGreaterThanToken,q,E.isEqualsGreaterThanToken),visitFunctionBody(N.body,R,j,G));case 213:E.Debug.type(N);return ae.updateDeleteExpression(N,G(N.expression,R,E.isExpression));case 214:E.Debug.type(N);return ae.updateTypeOfExpression(N,G(N.expression,R,E.isExpression));case 215:E.Debug.type(N);return ae.updateVoidExpression(N,G(N.expression,R,E.isExpression));case 216:E.Debug.type(N);return ae.updateAwaitExpression(N,G(N.expression,R,E.isExpression));case 217:E.Debug.type(N);return ae.updatePrefixUnaryExpression(N,G(N.operand,R,E.isExpression));case 218:E.Debug.type(N);return ae.updatePostfixUnaryExpression(N,G(N.operand,R,E.isExpression));case 219:E.Debug.type(N);return ae.updateBinaryExpression(N,G(N.left,R,E.isExpression),G(N.operatorToken,q,E.isBinaryOperatorToken),G(N.right,R,E.isExpression));case 220:E.Debug.type(N);return ae.updateConditionalExpression(N,G(N.condition,R,E.isExpression),G(N.questionToken,q,E.isQuestionToken),G(N.whenTrue,R,E.isExpression),G(N.colonToken,q,E.isColonToken),G(N.whenFalse,R,E.isExpression));case 221:E.Debug.type(N);return ae.updateTemplateExpression(N,G(N.head,R,E.isTemplateHead),$(N.templateSpans,R,E.isTemplateSpan));case 222:E.Debug.type(N);return ae.updateYieldExpression(N,G(N.asteriskToken,q,E.isAsteriskToken),G(N.expression,R,E.isExpression));case 223:E.Debug.type(N);return ae.updateSpreadElement(N,G(N.expression,R,E.isExpression));case 224:E.Debug.type(N);return ae.updateClassExpression(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 226:E.Debug.type(N);return ae.updateExpressionWithTypeArguments(N,G(N.expression,R,E.isExpression),$(N.typeArguments,R,E.isTypeNode));case 227:E.Debug.type(N);return ae.updateAsExpression(N,G(N.expression,R,E.isExpression),G(N.type,R,E.isTypeNode));case 228:if(N.flags&32){E.Debug.type(N);return ae.updateNonNullChain(N,G(N.expression,R,E.isExpression))}E.Debug.type(N);return ae.updateNonNullExpression(N,G(N.expression,R,E.isExpression));case 229:E.Debug.type(N);return ae.updateMetaProperty(N,G(N.name,R,E.isIdentifier));case 231:E.Debug.type(N);return ae.updateTemplateSpan(N,G(N.expression,R,E.isExpression),G(N.literal,R,E.isTemplateMiddleOrTemplateTail));case 233:E.Debug.type(N);return ae.updateBlock(N,$(N.statements,R,E.isStatement));case 235:E.Debug.type(N);return ae.updateVariableStatement(N,$(N.modifiers,R,E.isModifier),G(N.declarationList,R,E.isVariableDeclarationList));case 236:E.Debug.type(N);return ae.updateExpressionStatement(N,G(N.expression,R,E.isExpression));case 237:E.Debug.type(N);return ae.updateIfStatement(N,G(N.expression,R,E.isExpression),G(N.thenStatement,R,E.isStatement,ae.liftToBlock),G(N.elseStatement,R,E.isStatement,ae.liftToBlock));case 238:E.Debug.type(N);return ae.updateDoStatement(N,visitIterationBody(N.statement,R,j),G(N.expression,R,E.isExpression));case 239:E.Debug.type(N);return ae.updateWhileStatement(N,G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 240:E.Debug.type(N);return ae.updateForStatement(N,G(N.initializer,R,E.isForInitializer),G(N.condition,R,E.isExpression),G(N.incrementor,R,E.isExpression),visitIterationBody(N.statement,R,j));case 241:E.Debug.type(N);return ae.updateForInStatement(N,G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 242:E.Debug.type(N);return ae.updateForOfStatement(N,G(N.awaitModifier,q,E.isAwaitKeyword),G(N.initializer,R,E.isForInitializer),G(N.expression,R,E.isExpression),visitIterationBody(N.statement,R,j));case 243:E.Debug.type(N);return ae.updateContinueStatement(N,G(N.label,R,E.isIdentifier));case 244:E.Debug.type(N);return ae.updateBreakStatement(N,G(N.label,R,E.isIdentifier));case 245:E.Debug.type(N);return ae.updateReturnStatement(N,G(N.expression,R,E.isExpression));case 246:E.Debug.type(N);return ae.updateWithStatement(N,G(N.expression,R,E.isExpression),G(N.statement,R,E.isStatement,ae.liftToBlock));case 247:E.Debug.type(N);return ae.updateSwitchStatement(N,G(N.expression,R,E.isExpression),G(N.caseBlock,R,E.isCaseBlock));case 248:E.Debug.type(N);return ae.updateLabeledStatement(N,G(N.label,R,E.isIdentifier),G(N.statement,R,E.isStatement,ae.liftToBlock));case 249:E.Debug.type(N);return ae.updateThrowStatement(N,G(N.expression,R,E.isExpression));case 250:E.Debug.type(N);return ae.updateTryStatement(N,G(N.tryBlock,R,E.isBlock),G(N.catchClause,R,E.isCatchClause),G(N.finallyBlock,R,E.isBlock));case 252:E.Debug.type(N);return ae.updateVariableDeclaration(N,G(N.name,R,E.isBindingName),G(N.exclamationToken,q,E.isExclamationToken),G(N.type,R,E.isTypeNode),G(N.initializer,R,E.isExpression));case 253:E.Debug.type(N);return ae.updateVariableDeclarationList(N,$(N.declarations,R,E.isVariableDeclaration));case 254:E.Debug.type(N);return ae.updateFunctionDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.asteriskToken,q,E.isAsteriskToken),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),visitParameterList(N.parameters,R,j,$),G(N.type,R,E.isTypeNode),visitFunctionBody(N.body,R,j,G));case 255:E.Debug.type(N);return ae.updateClassDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isClassElement));case 256:E.Debug.type(N);return ae.updateInterfaceDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),$(N.heritageClauses,R,E.isHeritageClause),$(N.members,R,E.isTypeElement));case 257:E.Debug.type(N);return ae.updateTypeAliasDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.typeParameters,R,E.isTypeParameterDeclaration),G(N.type,R,E.isTypeNode));case 258:E.Debug.type(N);return ae.updateEnumDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isIdentifier),$(N.members,R,E.isEnumMember));case 259:E.Debug.type(N);return ae.updateModuleDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.name,R,E.isModuleName),G(N.body,R,E.isModuleBody));case 260:E.Debug.type(N);return ae.updateModuleBlock(N,$(N.statements,R,E.isStatement));case 261:E.Debug.type(N);return ae.updateCaseBlock(N,$(N.clauses,R,E.isCaseOrDefaultClause));case 262:E.Debug.type(N);return ae.updateNamespaceExportDeclaration(N,G(N.name,R,E.isIdentifier));case 263:E.Debug.type(N);return ae.updateImportEqualsDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.moduleReference,R,E.isModuleReference));case 264:E.Debug.type(N);return ae.updateImportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.importClause,R,E.isImportClause),G(N.moduleSpecifier,R,E.isExpression));case 265:E.Debug.type(N);return ae.updateImportClause(N,N.isTypeOnly,G(N.name,R,E.isIdentifier),G(N.namedBindings,R,E.isNamedImportBindings));case 266:E.Debug.type(N);return ae.updateNamespaceImport(N,G(N.name,R,E.isIdentifier));case 272:E.Debug.type(N);return ae.updateNamespaceExport(N,G(N.name,R,E.isIdentifier));case 267:E.Debug.type(N);return ae.updateNamedImports(N,$(N.elements,R,E.isImportSpecifier));case 268:E.Debug.type(N);return ae.updateImportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 269:E.Debug.type(N);return ae.updateExportAssignment(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),G(N.expression,R,E.isExpression));case 270:E.Debug.type(N);return ae.updateExportDeclaration(N,$(N.decorators,R,E.isDecorator),$(N.modifiers,R,E.isModifier),N.isTypeOnly,G(N.exportClause,R,E.isNamedExportBindings),G(N.moduleSpecifier,R,E.isExpression));case 271:E.Debug.type(N);return ae.updateNamedExports(N,$(N.elements,R,E.isExportSpecifier));case 273:E.Debug.type(N);return ae.updateExportSpecifier(N,G(N.propertyName,R,E.isIdentifier),G(N.name,R,E.isIdentifier));case 275:E.Debug.type(N);return ae.updateExternalModuleReference(N,G(N.expression,R,E.isExpression));case 276:E.Debug.type(N);return ae.updateJsxElement(N,G(N.openingElement,R,E.isJsxOpeningElement),$(N.children,R,E.isJsxChild),G(N.closingElement,R,E.isJsxClosingElement));case 277:E.Debug.type(N);return ae.updateJsxSelfClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 278:E.Debug.type(N);return ae.updateJsxOpeningElement(N,G(N.tagName,R,E.isJsxTagNameExpression),$(N.typeArguments,R,E.isTypeNode),G(N.attributes,R,E.isJsxAttributes));case 279:E.Debug.type(N);return ae.updateJsxClosingElement(N,G(N.tagName,R,E.isJsxTagNameExpression));case 280:E.Debug.type(N);return ae.updateJsxFragment(N,G(N.openingFragment,R,E.isJsxOpeningFragment),$(N.children,R,E.isJsxChild),G(N.closingFragment,R,E.isJsxClosingFragment));case 283:E.Debug.type(N);return ae.updateJsxAttribute(N,G(N.name,R,E.isIdentifier),G(N.initializer,R,E.isStringLiteralOrJsxExpression));case 284:E.Debug.type(N);return ae.updateJsxAttributes(N,$(N.properties,R,E.isJsxAttributeLike));case 285:E.Debug.type(N);return ae.updateJsxSpreadAttribute(N,G(N.expression,R,E.isExpression));case 286:E.Debug.type(N);return ae.updateJsxExpression(N,G(N.expression,R,E.isExpression));case 287:E.Debug.type(N);return ae.updateCaseClause(N,G(N.expression,R,E.isExpression),$(N.statements,R,E.isStatement));case 288:E.Debug.type(N);return ae.updateDefaultClause(N,$(N.statements,R,E.isStatement));case 289:E.Debug.type(N);return ae.updateHeritageClause(N,$(N.types,R,E.isExpressionWithTypeArguments));case 290:E.Debug.type(N);return ae.updateCatchClause(N,G(N.variableDeclaration,R,E.isVariableDeclaration),G(N.block,R,E.isBlock));case 291:E.Debug.type(N);return ae.updatePropertyAssignment(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 292:E.Debug.type(N);return ae.updateShorthandPropertyAssignment(N,G(N.name,R,E.isIdentifier),G(N.objectAssignmentInitializer,R,E.isExpression));case 293:E.Debug.type(N);return ae.updateSpreadAssignment(N,G(N.expression,R,E.isExpression));case 294:E.Debug.type(N);return ae.updateEnumMember(N,G(N.name,R,E.isPropertyName),G(N.initializer,R,E.isExpression));case 300:E.Debug.type(N);return ae.updateSourceFile(N,visitLexicalEnvironment(N.statements,R,j));case 345:E.Debug.type(N);return ae.updatePartiallyEmittedExpression(N,G(N.expression,R,E.isExpression));case 346:E.Debug.type(N);return ae.updateCommaListExpression(N,$(N.elements,R,E.isExpression));default:return N}}E.visitEachChild=visitEachChild;function extractSingleNode(N){E.Debug.assert(N.length<=1,"Too many nodes written to output.");return E.singleOrUndefined(N)}})(ce||(ce={}));var ce;(function(E){function createSourceMapGenerator(N,R,j,$,q){var G=q.extendedDiagnostics?E.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):E.performance.nullTimer,ie=G.enter,ae=G.exit;var ce=[];var le=[];var _e=new E.Map;var Ee;var Te=[];var we;var Ie=[];var Ne="";var Me=0;var Le=0;var Be=0;var je=0;var Ue=0;var ze=0;var We=false;var Je=0;var Ve=0;var qe=0;var He=0;var Ge=0;var Ke=0;var Qe=false;var Xe=false;var Ye=false;return{getSources:function(){return ce},addSource:addSource,setSourceContent:setSourceContent,addName:addName,addMapping:addMapping,appendSourceMap:appendSourceMap,toJSON:toJSON,toString:function(){return JSON.stringify(toJSON())}};function addSource(R){ie();var j=E.getRelativePathToDirectoryOrUrl($,R,N.getCurrentDirectory(),N.getCanonicalFileName,true);var q=_e.get(j);if(q===undefined){q=le.length;le.push(j);ce.push(R);_e.set(j,q)}ae();return q}function setSourceContent(E,N){ie();if(N!==null){if(!Ee)Ee=[];while(Ee.lengthN||He===N&&Ge>R)}function addMapping(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");E.Debug.assert(j===undefined||j>=0,"sourceIndex cannot be negative");E.Debug.assert($===undefined||$>=0,"sourceLine cannot be negative");E.Debug.assert(q===undefined||q>=0,"sourceCharacter cannot be negative");ie();if(isNewGeneratedPosition(N,R)||isBacktrackingSourcePosition(j,$,q)){commitPendingMapping();Je=N;Ve=R;Xe=false;Ye=false;Qe=true}if(j!==undefined&&$!==undefined&&q!==undefined){qe=j;He=$;Ge=q;Xe=true;if(G!==undefined){Ke=G;Ye=true}}ae()}function appendSourceMap(N,R,j,$,q,G){E.Debug.assert(N>=Je,"generatedLine cannot backtrack");E.Debug.assert(R>=0,"generatedCharacter cannot be negative");ie();var ce=[];var le;var _e=decodeMappings(j.mappings);for(var Ee=_e.next();!Ee.done;Ee=_e.next()){var Te=Ee.value;if(G&&(Te.generatedLine>G.line||Te.generatedLine===G.line&&Te.generatedCharacter>G.character)){break}if(q&&(Te.generatedLine=1024){flushMappingBuffer()}}function commitPendingMapping(){if(!Qe||!shouldCommitMapping()){return}ie();if(Me0){Ne+=String.fromCharCode.apply(undefined,Ie);Ie.length=0}}function toJSON(){commitPendingMapping();flushMappingBuffer();return{version:3,file:R,sourceRoot:j,sources:le,names:Te,mappings:Ne,sourcesContent:Ee}}function appendBase64VLQ(E){if(E<0){E=(-E<<1)+1}else{E=E<<1}do{var N=E&31;E=E>>5;if(E>0){N=N|32}appendMappingCharCode(base64FormatEncode(N))}while(E>0)}}E.createSourceMapGenerator=createSourceMapGenerator;var N=/^\/\/[@#] source[M]appingURL=(.+)$/;var R=/^\s*(\/\/[@#] .*)?$/;function getLineInfo(E,N){return{getLineCount:function(){return N.length},getLineText:function(R){return E.substring(N[R],N[R+1])}}}E.getLineInfo=getLineInfo;function tryGetSourceMappingURL(j){for(var $=j.getLineCount()-1;$>=0;$--){var q=j.getLineText($);var G=N.exec(q);if(G){return E.trimStringEnd(G[1])}else if(!q.match(R)){break}}}E.tryGetSourceMappingURL=tryGetSourceMappingURL;function isStringOrNull(E){return typeof E==="string"||E===null}function isRawSourceMap(N){return N!==null&&typeof N==="object"&&N.version===3&&typeof N.file==="string"&&typeof N.mappings==="string"&&E.isArray(N.sources)&&E.every(N.sources,E.isString)&&(N.sourceRoot===undefined||N.sourceRoot===null||typeof N.sourceRoot==="string")&&(N.sourcesContent===undefined||N.sourcesContent===null||E.isArray(N.sourcesContent)&&E.every(N.sourcesContent,isStringOrNull))&&(N.names===undefined||N.names===null||E.isArray(N.names)&&E.every(N.names,E.isString))}E.isRawSourceMap=isRawSourceMap;function tryParseRawSourceMap(E){try{var N=JSON.parse(E);if(isRawSourceMap(N)){return N}}catch(E){}return undefined}E.tryParseRawSourceMap=tryParseRawSourceMap;function decodeMappings(E){var N=false;var R=0;var j=0;var $=0;var q=0;var G=0;var ie=0;var ae=0;var ce;return{get pos(){return R},get error(){return ce},get state(){return captureMapping(true,true)},next:function(){while(!N&&R=E.length)return setError("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var q=base64FormatDecode(E.charCodeAt(R));if(q===-1)return setError("Invalid character in VLQ"),-1;N=(q&32)!==0;$=$|(q&31)<>1}else{$=$>>1;$=-$}return $}}E.decodeMappings=decodeMappings;function sameMapping(E,N){return E===N||E.generatedLine===N.generatedLine&&E.generatedCharacter===N.generatedCharacter&&E.sourceIndex===N.sourceIndex&&E.sourceLine===N.sourceLine&&E.sourceCharacter===N.sourceCharacter&&E.nameIndex===N.nameIndex}E.sameMapping=sameMapping;function isSourceMapping(E){return E.sourceIndex!==undefined&&E.sourceLine!==undefined&&E.sourceCharacter!==undefined}E.isSourceMapping=isSourceMapping;function base64FormatEncode(N){return N>=0&&N<26?65+N:N>=26&&N<52?97+N-26:N>=52&&N<62?48+N-52:N===62?43:N===63?47:E.Debug.fail(N+": not a base64 value")}function base64FormatDecode(E){return E>=65&&E<=90?E-65:E>=97&&E<=122?E-97+26:E>=48&&E<=57?E-48+52:E===43?62:E===47?63:-1}function isSourceMappedPosition(E){return E.sourceIndex!==undefined&&E.sourcePosition!==undefined}function sameMappedPosition(E,N){return E.generatedPosition===N.generatedPosition&&E.sourceIndex===N.sourceIndex&&E.sourcePosition===N.sourcePosition}function compareSourcePositions(N,R){E.Debug.assert(N.sourceIndex===R.sourceIndex);return E.compareValues(N.sourcePosition,R.sourcePosition)}function compareGeneratedPositions(N,R){return E.compareValues(N.generatedPosition,R.generatedPosition)}function getSourcePositionOfMapping(E){return E.sourcePosition}function getGeneratedPositionOfMapping(E){return E.generatedPosition}function createDocumentPositionMapper(N,R,j){var $=E.getDirectoryPath(j);var q=R.sourceRoot?E.getNormalizedAbsolutePath(R.sourceRoot,$):$;var G=E.getNormalizedAbsolutePath(R.file,$);var ie=N.getSourceFileLike(G);var ae=R.sources.map((function(N){return E.getNormalizedAbsolutePath(N,q)}));var ce=new E.Map(ae.map((function(E,R){return[N.getCanonicalFileName(E),R]})));var le;var _e;var Ee;return{getSourcePosition:getSourcePosition,getGeneratedPosition:getGeneratedPosition};function processMapping(j){var $=ie!==undefined?E.getPositionOfLineAndCharacter(ie,j.generatedLine,j.generatedCharacter,true):-1;var q;var G;if(isSourceMapping(j)){var ce=N.getSourceFileLike(ae[j.sourceIndex]);q=R.sources[j.sourceIndex];G=ce!==undefined?E.getPositionOfLineAndCharacter(ce,j.sourceLine,j.sourceCharacter,true):-1}return{generatedPosition:$,source:q,sourceIndex:j.sourceIndex,sourcePosition:G,nameIndex:j.nameIndex}}function getDecodedMappings(){if(le===undefined){var j=decodeMappings(R.mappings);var $=E.arrayFrom(j,processMapping);if(j.error!==undefined){if(N.log){N.log("Encountered error while decoding sourcemap: "+j.error)}le=E.emptyArray}else{le=$}}return le}function getSourceMappings(N){if(Ee===undefined){var R=[];for(var j=0,$=getDecodedMappings();j<$.length;j++){var q=$[j];if(!isSourceMappedPosition(q))continue;var G=R[q.sourceIndex];if(!G)R[q.sourceIndex]=G=[];G.push(q)}Ee=R.map((function(N){return E.sortAndDeduplicate(N,compareSourcePositions,sameMappedPosition)}))}return Ee[N]}function getGeneratedMappings(){if(_e===undefined){var N=[];for(var R=0,j=getDecodedMappings();R0&&j!==R.elements.length||!!(R.elements.length-j)&&E.isDefaultImport(N)}E.getImportNeedsImportStarHelper=getImportNeedsImportStarHelper;function getImportNeedsImportDefaultHelper(N){return!getImportNeedsImportStarHelper(N)&&(E.isDefaultImport(N)||!!N.importClause&&E.isNamedImports(N.importClause.namedBindings)&&containsDefaultReference(N.importClause.namedBindings))}E.getImportNeedsImportDefaultHelper=getImportNeedsImportDefaultHelper;function collectExternalModuleInfo(N,R,j,$){var q=[];var G=E.createMultiMap();var ie=[];var ae=new E.Map;var ce;var le=false;var _e;var Ee=false;var Te=false;var we=false;for(var Ie=0,Ne=R.statements;Ie=64&&E<=78}E.isCompoundAssignment=isCompoundAssignment;function getNonAssignmentOperatorForCompoundAssignment(E){switch(E){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}E.getNonAssignmentOperatorForCompoundAssignment=getNonAssignmentOperatorForCompoundAssignment;function addPrologueDirectivesAndInitialSuperCall(N,R,j,$){if(R.body){var q=R.body.statements;var G=N.copyPrologue(q,j,false,$);if(G===q.length){return G}var ie=E.findIndex(q,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}),G);if(ie>-1){for(var ae=G;ae<=ie;ae++){j.push(E.visitNode(q[ae],$,E.isStatement))}return ie+1}return G}return 0}E.addPrologueDirectivesAndInitialSuperCall=addPrologueDirectivesAndInitialSuperCall;function getProperties(N,R,j){return E.filter(N.members,(function(E){return isInitializedOrStaticProperty(E,R,j)}))}E.getProperties=getProperties;function isStaticPropertyDeclarationOrClassStaticBlockDeclaration(N){return isStaticPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)}function getStaticPropertiesAndClassStaticBlock(N){return E.filter(N.members,isStaticPropertyDeclarationOrClassStaticBlockDeclaration)}E.getStaticPropertiesAndClassStaticBlock=getStaticPropertiesAndClassStaticBlock;function isInitializedOrStaticProperty(N,R,j){return E.isPropertyDeclaration(N)&&(!!N.initializer||!R)&&E.hasStaticModifier(N)===j}function isStaticPropertyDeclaration(N){return E.isPropertyDeclaration(N)&&E.hasStaticModifier(N)}function isInitializedProperty(E){return E.kind===165&&E.initializer!==undefined}E.isInitializedProperty=isInitializedProperty;function isNonStaticMethodOrAccessorWithPrivateName(N){return!E.isStatic(N)&&E.isMethodOrAccessor(N)&&E.isPrivateIdentifier(N.name)}E.isNonStaticMethodOrAccessorWithPrivateName=isNonStaticMethodOrAccessorWithPrivateName})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["All"]=0]="All";E[E["ObjectRest"]=1]="ObjectRest"})(N=E.FlattenLevel||(E.FlattenLevel={}));function flattenDestructuringAssignment(N,R,j,$,q,G){var ie=N;var ae;if(E.isDestructuringAssignment(N)){ae=N.right;while(E.isEmptyArrayLiteral(N.left)||E.isEmptyObjectLiteral(N.left)){if(E.isDestructuringAssignment(ae)){ie=N=ae;ae=N.right}else{return E.visitNode(ae,R,E.isExpression)}}}var ce;var le={context:j,level:$,downlevelIteration:!!j.getCompilerOptions().downlevelIteration,hoistTempVariables:true,emitExpression:emitExpression,emitBindingOrAssignment:emitBindingOrAssignment,createArrayBindingOrAssignmentPattern:function(E){return makeArrayAssignmentPattern(j.factory,E)},createObjectBindingOrAssignmentPattern:function(E){return makeObjectAssignmentPattern(j.factory,E)},createArrayBindingOrAssignmentElement:makeAssignmentElement,visitor:R};if(ae){ae=E.visitNode(ae,R,E.isExpression);if(E.isIdentifier(ae)&&bindingOrAssignmentElementAssignsToName(N,ae.escapedText)||bindingOrAssignmentElementContainsNonLiteralComputedName(N)){ae=ensureIdentifier(le,ae,false,ie)}else if(q){ae=ensureIdentifier(le,ae,true,ie)}else if(E.nodeIsSynthesized(N)){ie=ae}}flattenBindingOrAssignmentElement(le,N,ae,ie,E.isDestructuringAssignment(N));if(ae&&q){if(!E.some(ce)){return ae}ce.push(ae)}return j.factory.inlineExpressions(ce)||j.factory.createOmittedExpression();function emitExpression(N){ce=E.append(ce,N)}function emitBindingOrAssignment(N,$,q,ie){E.Debug.assertNode(N,G?E.isIdentifier:E.isExpression);var ae=G?G(N,$,q):E.setTextRange(j.factory.createAssignment(E.visitNode(N,R,E.isExpression),$),q);ae.original=ie;emitExpression(ae)}}E.flattenDestructuringAssignment=flattenDestructuringAssignment;function bindingOrAssignmentElementAssignsToName(N,R){var j=E.getTargetOfBindingOrAssignmentElement(N);if(E.isBindingOrAssignmentPattern(j)){return bindingOrAssignmentPatternAssignsToName(j,R)}else if(E.isIdentifier(j)){return j.escapedText===R}return false}function bindingOrAssignmentPatternAssignsToName(N,R){var j=E.getElementsOfBindingOrAssignmentPattern(N);for(var $=0,q=j;$=1&&!(Ee.transformFlags&(16384|32768))&&!(E.getTargetOfBindingOrAssignmentElement(Ee).transformFlags&(16384|32768))&&!E.isComputedPropertyName(Te)){ce=E.append(ce,E.visitNode(Ee,N.visitor))}else{if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=createDestructuringPropertyAccess(N,$,Te);if(E.isComputedPropertyName(Te)){le=E.append(le,we.argumentExpression)}flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}else if(_e===ie-1){if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j);ce=undefined}var we=N.context.getEmitHelperFactory().createRestHelper($,G,le,j);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createObjectBindingOrAssignmentPattern(ce),$,q,j)}}function flattenArrayBindingOrAssignmentPattern(N,R,j,$,q){var G=E.getElementsOfBindingOrAssignmentPattern(j);var ie=G.length;if(N.level<1&&N.downlevelIteration){$=ensureIdentifier(N,E.setTextRange(N.context.getEmitHelperFactory().createReadHelper($,ie>0&&E.getRestIndicatorOfBindingOrAssignmentElement(G[ie-1])?undefined:ie),q),false,q)}else if(ie!==1&&(N.level<1||ie===0)||E.every(G,E.isOmittedExpression)){var ae=!E.isDeclarationBindingElement(R)||ie!==0;$=ensureIdentifier(N,$,ae,q)}var ce;var le;for(var _e=0;_e=1){if(Ee.transformFlags&32768||N.hasTransformedPriorElement&&!isSimpleBindingOrAssignmentElement(Ee)){N.hasTransformedPriorElement=true;var Te=N.context.factory.createTempVariable(undefined);if(N.hoistTempVariables){N.context.hoistVariableDeclaration(Te)}le=E.append(le,[Te,Ee]);ce=E.append(ce,N.createArrayBindingOrAssignmentElement(Te))}else{ce=E.append(ce,Ee)}}else if(E.isOmittedExpression(Ee)){continue}else if(!E.getRestIndicatorOfBindingOrAssignmentElement(Ee)){var we=N.context.factory.createElementAccessExpression($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}else if(_e===ie-1){var we=N.context.factory.createArraySliceCall($,_e);flattenBindingOrAssignmentElement(N,Ee,we,Ee)}}if(ce){N.emitBindingOrAssignment(N.createArrayBindingOrAssignmentPattern(ce),$,q,j)}if(le){for(var Ie=0,Ne=le;Ie=E.ModuleKind.ES2015)&&!E.isJsonSourceFile(N);return j.updateSourceFile(N,E.visitLexicalEnvironment(N.statements,sourceElementVisitor,R,0,$))}function getClassFacts(N,R){var j=0;if(E.some(R))j|=1;var $=E.getEffectiveBaseTypeNode(N);if($&&E.skipOuterExpressions($.expression).kind!==104)j|=64;if(E.classOrConstructorParameterIsDecorated(N))j|=2;if(E.childIsDecorated(N))j|=4;if(isExportOfNamespace(N))j|=8;else if(isDefaultExternalModuleExport(N))j|=32;else if(isNamedExternalModuleExport(N))j|=16;if(Ee<=1&&j&7)j|=128;return j}function hasTypeScriptClassSyntax(E){return!!(E.transformFlags&4096)}function isClassLikeDeclarationWithTypeScriptSyntax(N){return E.some(N.decorators)||E.some(N.typeParameters)||E.some(N.heritageClauses,hasTypeScriptClassSyntax)||E.some(N.members,hasTypeScriptClassSyntax)}function visitClassDeclaration(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)&&!(Me&&E.hasSyntacticModifier(N,1))){return E.visitEachChild(N,visitor,R)}var $=E.getProperties(N,true,true);var q=getClassFacts(N,$);if(q&128){R.startLexicalEnvironment()}var G=N.name||(q&5?j.getGeneratedNameForNode(N):undefined);var ie=q&2?createClassDeclarationHeadWithDecorators(N,G):createClassDeclarationHeadWithoutDecorators(N,G,q);var ae=[ie];addClassElementDecorationStatements(ae,N,false);addClassElementDecorationStatements(ae,N,true);addConstructorDecorationStatement(ae,N);if(q&128){var ce=E.createTokenRange(E.skipTrivia(Ne.text,N.members.end),19);var le=j.getInternalName(N);var _e=j.createPartiallyEmittedExpression(le);E.setTextRangeEnd(_e,ce.end);E.setEmitFlags(_e,1536);var Ee=j.createReturnStatement(_e);E.setTextRangePos(Ee,ce.pos);E.setEmitFlags(Ee,1536|384);ae.push(Ee);E.insertStatementsAfterStandardPrologue(ae,R.endLexicalEnvironment());var Te=j.createImmediatelyInvokedArrowFunction(ae);E.setEmitFlags(Te,33554432);var we=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(j.getLocalName(N,false,false),undefined,undefined,Te)]));E.setOriginalNode(we,N);E.setCommentRange(we,N);E.setSourceMapRange(we,E.moveRangePastDecorators(N));E.startOnNewLine(we);ae=[we]}if(q&8){addExportMemberAssignment(ae,N)}else if(q&128||q&2){if(q&32){ae.push(j.createExportDefault(j.getLocalName(N,false,true)))}else if(q&16){ae.push(j.createExternalModuleExport(j.getLocalName(N,false,true)))}}if(ae.length>1){ae.push(j.createEndOfDeclarationMarker(N));E.setEmitFlags(ie,E.getEmitFlags(ie)|4194304)}return E.singleOrMany(ae)}function createClassDeclarationHeadWithoutDecorators(N,R,$){var q=!($&128)?E.visitNodes(N.modifiers,modifierVisitor,E.isModifier):undefined;var G=j.createClassDeclaration(undefined,q,R,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));var ie=E.getEmitFlags(N);if($&1){ie|=32}E.setTextRange(G,N);E.setOriginalNode(G,N);E.setEmitFlags(G,ie);return G}function createClassDeclarationHeadWithDecorators(N,R){var $=E.moveRangePastDecorators(N);var q=getClassAliasIfNeeded(N);var G=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ie=E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause);var ae=transformClassMembers(N);var ce=j.createClassExpression(undefined,undefined,R,undefined,ie,ae);E.setOriginalNode(ce,N);E.setTextRange(ce,$);var le=j.createVariableStatement(undefined,j.createVariableDeclarationList([j.createVariableDeclaration(G,undefined,undefined,q?j.createAssignment(q,ce):ce)],1));E.setOriginalNode(le,N);E.setTextRange(le,$);E.setCommentRange(le,N);return le}function visitClassExpression(N){if(!isClassLikeDeclarationWithTypeScriptSyntax(N)){return E.visitEachChild(N,visitor,R)}var $=j.createClassExpression(undefined,undefined,N.name,undefined,E.visitNodes(N.heritageClauses,visitor,E.isHeritageClause),transformClassMembers(N));E.setOriginalNode($,N);E.setTextRange($,N);return $}function transformClassMembers(N){var R=[];var $=E.getFirstConstructorWithBody(N);var q=$&&E.filter($.parameters,(function(N){return E.isParameterPropertyDeclaration(N,$)}));if(q){for(var G=0,ie=q;G0&&E.parameterIsThisKeyword(j[0]);var q=$?1:0;var G=$?j.length-1:j.length;for(var ie=0;ie0?R.kind===165?j.createVoidZero():j.createNull():undefined;var le=$().createDecorateHelper(G,ie,ae,ce);E.setTextRange(le,E.moveRangePastDecorators(R));E.setEmitFlags(le,1536);return le}function addConstructorDecorationStatement(N,R){var $=generateConstructorDecorationExpression(R);if($){N.push(E.setOriginalNode(j.createExpressionStatement($),R))}}function generateConstructorDecorationExpression(N){var R=getAllDecoratorsOfConstructor(N);var q=transformAllDecoratorsOfDeclaration(N,N,R);if(!q){return undefined}var G=Je&&Je[E.getOriginalNodeId(N)];var ie=Ee<=2?j.getInternalName(N,false,true):j.getLocalName(N,false,true);var ae=$().createDecorateHelper(q,ie);var ce=j.createAssignment(ie,G?j.createAssignment(G,ae):ae);E.setEmitFlags(ce,1536);E.setSourceMapRange(ce,E.moveRangePastDecorators(N));return ce}function transformDecorator(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformDecoratorsOfParameter(N,R){var j;if(N){j=[];for(var q=0,G=N;q=2;var Ie=_e<=8||!Ee;var Ne=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Me=N.onEmitNode;N.onEmitNode=onEmitNode;var Le;var Be;var je;var Ue;var ze=[];var We=new E.Map;var Je;var Ve;var qe;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){var j=N.getCompilerOptions();if(R.isDeclarationFile||Ee&&j.target===99){return R}var $=E.visitEachChild(R,visitor,N);E.addEmitHelpers($,N.readEmitHelpers());return $}function visitorWorker(R,j){if(R.transformFlags&8388608){switch(R.kind){case 224:case 255:return visitClassLike(R);case 165:return visitPropertyDeclaration(R);case 235:return visitVariableStatement(R);case 80:return visitPrivateIdentifier(R);case 168:return visitClassStaticBlockDeclaration(R)}}if(R.transformFlags&8388608||R.transformFlags&33554432&&we&&qe&&Je){switch(R.kind){case 217:case 218:return visitPreOrPostfixUnaryExpression(R,j);case 219:return visitBinaryExpression(R,j);case 206:return visitCallExpression(R);case 208:return visitTaggedTemplateExpression(R);case 204:return visitPropertyAccessExpression(R);case 205:return visitElementAccessExpression(R);case 236:return visitExpressionStatement(R);case 240:return visitForStatement(R);case 254:case 211:case 169:case 167:case 170:case 171:{var $=qe;qe=undefined;var q=E.visitEachChild(R,visitor,N);qe=$;return q}}}return E.visitEachChild(R,visitor,N)}function discardedValueVisitor(E){return visitorWorker(E,true)}function visitor(E){return visitorWorker(E,false)}function heritageClauseVisitor(R){switch(R.kind){case 289:return E.visitEachChild(R,heritageClauseVisitor,N);case 226:return visitExpressionWithTypeArguments(R)}return visitor(R)}function visitorDestructuringTarget(E){switch(E.kind){case 203:case 202:return visitAssignmentPattern(E);default:return visitor(E)}}function visitPrivateIdentifier(N){if(!Te){return N}return E.setOriginalNode(R.createIdentifier(""),N)}function classElementVisitor(E){switch(E.kind){case 169:return undefined;case 170:case 171:case 167:return visitMethodOrAccessorDeclaration(E);case 165:return visitPropertyDeclaration(E);case 160:return visitComputedPropertyName(E);case 232:return E;default:return visitor(E)}}function visitVariableStatement(R){var $=Ue;Ue=[];var q=E.visitEachChild(R,visitor,N);var G=E.some(Ue)?j([q],Ue,true):q;Ue=$;return G}function visitComputedPropertyName(j){var $=E.visitEachChild(j,visitor,N);if(E.some(je)){var q=je;q.push($.expression);je=[];$=R.updateComputedPropertyName($,R.inlineExpressions(q))}return $}function visitMethodOrAccessorDeclaration(j){E.Debug.assert(!E.some(j.decorators));if(!Te||!E.isPrivateIdentifier(j.name)){return E.visitEachChild(j,classElementVisitor,N)}var $=accessPrivateIdentifier(j.name);E.Debug.assert($,"Undeclared private name for property declaration.");if(!$.isValid){return j}var q=getHoistedFunctionName(j);if(q){getPendingExpressions().push(R.createAssignment(q,R.createFunctionExpression(E.filter(j.modifiers,(function(N){return!E.isStaticModifier(N)})),j.asteriskToken,q,undefined,E.visitParameterList(j.parameters,classElementVisitor,N),undefined,E.visitFunctionBody(j.body,classElementVisitor,N))))}return undefined}function getHoistedFunctionName(N){E.Debug.assert(E.isPrivateIdentifier(N.name));var R=accessPrivateIdentifier(N.name);E.Debug.assert(R,"Undeclared private name for property declaration.");if(R.kind==="m"){return R.methodName}if(R.kind==="a"){if(E.isGetAccessor(N)){return R.getterName}if(E.isSetAccessor(N)){return R.setterName}}}function visitPropertyDeclaration(N){E.Debug.assert(!E.some(N.decorators));if(E.isPrivateIdentifier(N.name)){if(!Te){return R.updatePropertyDeclaration(N,undefined,E.visitNodes(N.modifiers,visitor,E.isModifier),N.name,undefined,undefined,undefined)}var j=accessPrivateIdentifier(N.name);E.Debug.assert(j,"Undeclared private name for property declaration.");if(!j.isValid){return N}}var $=getPropertyNameExpressionIfNeeded(N.name,!!N.initializer||Ee);if($&&!E.isSimpleInlineableExpression($)){getPendingExpressions().push($)}return undefined}function createPrivateIdentifierAccess(N,R){return createPrivateIdentifierAccessHelper(N,E.visitNode(R,visitor,E.isExpression))}function createPrivateIdentifierAccessHelper(R,j){E.setCommentRange(j,E.moveRangePos(j,-1));switch(R.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.getterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.methodName);case"f":return N.getEmitHelperFactory().createClassPrivateFieldGetHelper(j,R.brandCheckIdentifier,R.kind,R.variableName);default:E.Debug.assertNever(R,"Unknown private element type")}}function visitPropertyAccessExpression(j){if(Te&&E.isPrivateIdentifier(j.name)){var $=accessPrivateIdentifier(j.name);if($){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAccess($,j.expression),j),j)}}if(we&&E.isSuperProperty(j)&&E.isIdentifier(j.name)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){return visitInvalidSuperProperty(j)}if(q&&G){var ae=R.createReflectGetCall(G,R.createStringLiteralFromNode(j.name),q);E.setOriginalNode(ae,j.expression);E.setTextRange(ae,j.expression);return ae}}return E.visitEachChild(j,visitor,N)}function visitElementAccessExpression(j){if(we&&E.isSuperProperty(j)&&qe&&Je){var $=Je.classConstructor,q=Je.superClassReference,G=Je.facts;if(G&1){return visitInvalidSuperProperty(j)}if($&&q){var ie=R.createReflectGetCall(q,E.visitNode(j.argumentExpression,visitor,E.isExpression),$);E.setOriginalNode(ie,j.expression);E.setTextRange(ie,j.expression);return ie}}return E.visitEachChild(j,visitor,N)}function visitPreOrPostfixUnaryExpression(j,q){if(j.operator===45||j.operator===46){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.operand)){var G=void 0;if(G=accessPrivateIdentifier(j.operand.name)){var ie=E.visitNode(j.operand.expression,visitor,E.isExpression);var ae=createCopiableReceiverExpr(ie),ce=ae.readExpression,le=ae.initializeExpression;var _e=createPrivateIdentifierAccess(G,ce);var Ee=E.isPrefixUnaryExpression(j)||q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=createPrivateIdentifierAssignment(G,le||ce,_e,63);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}else if(we&&E.isSuperProperty(j.operand)&&qe&&Je){var Ie=Je.classConstructor,Ne=Je.superClassReference,Me=Je.facts;if(Me&1){var Le=visitInvalidSuperProperty(j.operand);return E.isPrefixUnaryExpression(j)?R.updatePrefixUnaryExpression(j,Le):R.updatePostfixUnaryExpression(j,Le)}if(Ie&&Ne){var Be=void 0;var je=void 0;if(E.isPropertyAccessExpression(j.operand)){if(E.isIdentifier(j.operand.name)){je=Be=R.createStringLiteralFromNode(j.operand.name)}}else{if(E.isSimpleInlineableExpression(j.operand.argumentExpression)){je=Be=j.operand.argumentExpression}else{je=R.createTempVariable($);Be=R.createAssignment(je,E.visitNode(j.operand.argumentExpression,visitor,E.isExpression))}}if(Be&&je){var _e=R.createReflectGetCall(Ne,je,Ie);E.setTextRange(_e,j.operand);var Ee=q?undefined:R.createTempVariable($);_e=E.expandPreOrPostfixIncrementOrDecrementExpression(R,j,_e,$,Ee);_e=R.createReflectSetCall(Ne,Be,_e,Ie);E.setOriginalNode(_e,j);E.setTextRange(_e,j);if(Ee){_e=R.createComma(_e,Ee);E.setTextRange(_e,j)}return _e}}}}return E.visitEachChild(j,visitor,N)}function visitForStatement(j){return R.updateForStatement(j,E.visitNode(j.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}function visitExpressionStatement(N){return R.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function createCopiableReceiverExpr(N){var j=E.nodeIsSynthesized(N)?N:R.cloneNode(N);if(E.isSimpleInlineableExpression(N)){return{readExpression:j,initializeExpression:undefined}}var q=R.createTempVariable($);var G=R.createAssignment(q,j);return{readExpression:q,initializeExpression:G}}function visitCallExpression(q){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.expression)){var G=R.createCallBinding(q.expression,$,_e),ie=G.thisArg,ae=G.target;if(E.isCallChain(q)){return R.updateCallChain(q,R.createPropertyAccessChain(E.visitNode(ae,visitor),q.questionDotToken,"call"),undefined,undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}return R.updateCallExpression(q,R.createPropertyAccessExpression(E.visitNode(ae,visitor),"call"),undefined,j([E.visitNode(ie,visitor,E.isExpression)],E.visitNodes(q.arguments,visitor,E.isExpression),true))}if(we&&E.isSuperProperty(q.expression)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ce=R.createFunctionCallCall(E.visitNode(q.expression,visitor,E.isExpression),Je.classConstructor,E.visitNodes(q.arguments,visitor,E.isExpression));E.setOriginalNode(ce,q);E.setTextRange(ce,q);return ce}return E.visitEachChild(q,visitor,N)}function visitTaggedTemplateExpression(j){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(j.tag)){var q=R.createCallBinding(j.tag,$,_e),G=q.thisArg,ie=q.target;return R.updateTaggedTemplateExpression(j,R.createCallExpression(R.createPropertyAccessExpression(E.visitNode(ie,visitor),"bind"),undefined,[E.visitNode(G,visitor,E.isExpression)]),undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}if(we&&E.isSuperProperty(j.tag)&&qe&&(Je===null||Je===void 0?void 0:Je.classConstructor)){var ae=R.createFunctionBindCall(E.visitNode(j.tag,visitor,E.isExpression),Je.classConstructor,[]);E.setOriginalNode(ae,j);E.setTextRange(ae,j);return R.updateTaggedTemplateExpression(j,ae,undefined,E.visitNode(j.template,visitor,E.isTemplateLiteral))}return E.visitEachChild(j,visitor,N)}function transformClassStaticBlockDeclaration(N){if(Te){if(Je){We.set(E.getOriginalNodeId(N),Je)}G();var j=qe;qe=N;var $=E.visitNodes(N.body.statements,visitor,E.isStatement);$=R.mergeLexicalEnvironment($,q());qe=j;var ie=R.createImmediatelyInvokedArrowFunction($);E.setOriginalNode(ie,N);E.setTextRange(ie,N);E.addEmitFlags(ie,2);return ie}}function visitBinaryExpression(q,G){if(E.isDestructuringAssignment(q)){var ie=je;je=undefined;q=R.updateBinaryExpression(q,E.visitNode(q.left,visitorDestructuringTarget),q.operatorToken,E.visitNode(q.right,visitor));var ae=E.some(je)?R.inlineExpressions(E.compact(j(j([],je,true),[q],false))):q;je=ie;return ae}if(E.isAssignmentExpression(q)){if(Te&&E.isPrivateIdentifierPropertyAccessExpression(q.left)){var ce=accessPrivateIdentifier(q.left.name);if(ce){return E.setTextRange(E.setOriginalNode(createPrivateIdentifierAssignment(ce,q.left.expression,q.right,q.operatorToken.kind),q),q)}}else if(we&&E.isSuperProperty(q.left)&&qe&&Je){var le=Je.classConstructor,_e=Je.superClassReference,Ee=Je.facts;if(Ee&1){return R.updateBinaryExpression(q,visitInvalidSuperProperty(q.left),q.operatorToken,E.visitNode(q.right,visitor,E.isExpression))}if(le&&_e){var Ie=E.isElementAccessExpression(q.left)?E.visitNode(q.left.argumentExpression,visitor,E.isExpression):E.isIdentifier(q.left.name)?R.createStringLiteralFromNode(q.left.name):undefined;if(Ie){var Ne=E.visitNode(q.right,visitor,E.isExpression);if(E.isCompoundAssignment(q.operatorToken.kind)){var Me=Ie;if(!E.isSimpleInlineableExpression(Ie)){Me=R.createTempVariable($);Ie=R.createAssignment(Me,Ie)}var Le=R.createReflectGetCall(_e,Me,le);E.setOriginalNode(Le,q.left);E.setTextRange(Le,q.left);Ne=R.createBinaryExpression(Le,E.getNonAssignmentOperatorForCompoundAssignment(q.operatorToken.kind),Ne);E.setTextRange(Ne,q)}var Be=G?undefined:R.createTempVariable($);if(Be){Ne=R.createAssignment(Be,Ne);E.setTextRange(Be,q)}Ne=R.createReflectSetCall(_e,Ie,Ne,le);E.setOriginalNode(Ne,q);E.setTextRange(Ne,q);if(Be){Ne=R.createComma(Ne,Be);E.setTextRange(Ne,q)}return Ne}}}}return E.visitEachChild(q,visitor,N)}function createPrivateIdentifierAssignment(j,$,q,G){$=E.visitNode($,visitor,E.isExpression);q=E.visitNode(q,visitor,E.isExpression);if(E.isCompoundAssignment(G)){var ie=createCopiableReceiverExpr($),ae=ie.readExpression,ce=ie.initializeExpression;$=ce||ae;q=R.createBinaryExpression(createPrivateIdentifierAccessHelper(j,ae),E.getNonAssignmentOperatorForCompoundAssignment(G),q)}E.setCommentRange($,E.moveRangePos($,-1));switch(j.kind){case"a":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.setterName);case"m":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,undefined);case"f":return N.getEmitHelperFactory().createClassPrivateFieldSetHelper($,j.brandCheckIdentifier,q,j.kind,j.variableName);default:E.Debug.assertNever(j,"Unknown private element type")}}function visitClassLike(R){if(!E.forEach(R.members,doesClassElementNeedTransform)){return E.visitEachChild(R,visitor,N)}var j=je;je=undefined;startClassLexicalEnvironment();if(Te){var $=E.getNameOfDeclaration(R);if($&&E.isIdentifier($)){getPrivateIdentifierEnvironment().className=E.idText($)}var q=getPrivateInstanceMethodsAndAccessors(R);if(E.some(q)){getPrivateIdentifierEnvironment().weakSetName=createHoistedVariableForClass("instances",q[0].name)}}var G=E.isClassDeclaration(R)?visitClassDeclaration(R):visitClassExpression(R);endClassLexicalEnvironment();je=j;return G}function doesClassElementNeedTransform(N){return E.isPropertyDeclaration(N)||E.isClassStaticBlockDeclaration(N)||Te&&N.name&&E.isPrivateIdentifier(N.name)}function getPrivateInstanceMethodsAndAccessors(N){return E.filter(N.members,E.isNonStaticMethodOrAccessorWithPrivateName)}function getClassFacts(N){var R=0;var j=E.getOriginalNode(N);if(E.isClassDeclaration(j)&&E.classOrConstructorParameterIsDecorated(j)){R|=1}for(var $=0,q=N.members;$_e){if(!Ee){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e,we-_e))}_e=we}}var Ie=R.createThis();addMethodStatements(Te,ce,Ie);addPropertyOrClassStaticBlockStatements(Te,ae,Ie);if($){E.addRange(Te,E.visitNodes($.body.statements,visitor,E.isStatement,_e))}Te=R.mergeLexicalEnvironment(Te,q());return E.setTextRange(R.createBlock(E.setTextRange(R.createNodeArray(Te),$?$.body.statements:j.members),true),$?$.body:undefined)}function addPropertyOrClassStaticBlockStatements(N,j,$){for(var q=0,G=j;q=0;--j){var $=ze[j];if(!$){continue}var R=(N=$.privateIdentifierEnvironment)===null||N===void 0?void 0:N.identifiers.get(E.escapedText);if(R){return R}}return undefined}function wrapPrivateIdentifierForDestructuringTarget(j){var q=R.getGeneratedNameForNode(j);var G=accessPrivateIdentifier(j.name);if(!G){return E.visitEachChild(j,visitor,N)}var ie=j.expression;if(E.isThisProperty(j)||E.isSuperProperty(j)||!E.isSimpleCopiableExpression(j.expression)){ie=R.createTempVariable($,true);getPendingExpressions().push(R.createBinaryExpression(ie,63,E.visitNode(j.expression,visitor,E.isExpression)))}return R.createAssignmentTargetWrapper(q,createPrivateIdentifierAssignment(G,ie,q,63))}function visitArrayAssignmentTarget(N){var j=E.getTargetOfBindingOrAssignmentElement(N);if(j){var $=void 0;if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}if($){if(E.isAssignmentExpression(N)){return R.updateBinaryExpression(N,$,N.operatorToken,E.visitNode(N.right,visitor,E.isExpression))}else if(E.isSpreadElement(N)){return R.updateSpreadElement(N,$)}else{return $}}}return E.visitNode(N,visitorDestructuringTarget)}function visitObjectAssignmentTarget(N){if(E.isObjectBindingOrAssignmentElement(N)&&!E.isShorthandPropertyAssignment(N)){var j=E.getTargetOfBindingOrAssignmentElement(N);var $=void 0;if(j){if(E.isPrivateIdentifierPropertyAccessExpression(j)){$=wrapPrivateIdentifierForDestructuringTarget(j)}else if(we&&E.isSuperProperty(j)&&qe&&Je){var q=Je.classConstructor,G=Je.superClassReference,ie=Je.facts;if(ie&1){$=visitInvalidSuperProperty(j)}else if(q&&G){var ae=E.isElementAccessExpression(j)?E.visitNode(j.argumentExpression,visitor,E.isExpression):E.isIdentifier(j.name)?R.createStringLiteralFromNode(j.name):undefined;if(ae){var ce=R.createTempVariable(undefined);$=R.createAssignmentTargetWrapper(ce,R.createReflectSetCall(G,ae,ce,q))}}}}if(E.isPropertyAssignment(N)){var le=E.getInitializerOfBindingOrAssignmentElement(N);return R.updatePropertyAssignment(N,E.visitNode(N.name,visitor,E.isPropertyName),$?le?R.createAssignment($,E.visitNode(le,visitor)):$:E.visitNode(N.initializer,visitorDestructuringTarget,E.isExpression))}if(E.isSpreadAssignment(N)){return R.updateSpreadAssignment(N,$||E.visitNode(N.expression,visitorDestructuringTarget,E.isExpression))}E.Debug.assert($===undefined,"Should not have generated a wrapped target")}return E.visitNode(N,visitor)}function visitAssignmentPattern(N){if(E.isArrayLiteralExpression(N)){return R.updateArrayLiteralExpression(N,E.visitNodes(N.elements,visitArrayAssignmentTarget,E.isExpression))}else{return R.updateObjectLiteralExpression(N,E.visitNodes(N.properties,visitObjectAssignmentTarget,E.isObjectLiteralElementLike))}}}E.transformClassFields=transformClassFields;function createPrivateStaticFieldInitializer(N,R){return E.factory.createAssignment(N,E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment("value",R||E.factory.createVoidZero())]))}function createPrivateInstanceFieldInitializer(N,R,j){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(j,"set"),undefined,[N,R||E.factory.createVoidZero()])}function createPrivateInstanceMethodInitializer(N,R){return E.factory.createCallExpression(E.factory.createPropertyAccessExpression(R,"add"),undefined,[N])}function isReservedPrivateName(E){return E.escapedText==="#constructor"}})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["NonTopLevel"]=1]="NonTopLevel";E[E["HasLexicalThis"]=2]="HasLexicalThis"})(R||(R={}));function transformES2017(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e;var Ee=0;var Te;var we;var Ie;var Ne=[];var Me=0;var Le=N.onEmitNode;var Be=N.onSubstituteNode;N.onEmitNode=onEmitNode;N.onSubstituteNode=onSubstituteNode;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile){return R}setContextFlag(1,false);setContextFlag(2,!E.isEffectiveStrictModeSourceFile(R,ce));var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function setContextFlag(E,N){Me=N?Me|E:Me&~E}function inContext(E){return(Me&E)!==0}function inTopLevelContext(){return!inContext(1)}function inHasLexicalThisContext(){return inContext(2)}function doWithContext(E,N,R){var j=E&~Me;if(j){setContextFlag(j,true);var $=N(R);setContextFlag(j,false);return $}return N(R)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitor(R){if((R.transformFlags&128)===0){return R}switch(R.kind){case 130:return undefined;case 216:return visitAwaitExpression(R);case 167:return doWithContext(1|2,visitMethodDeclaration,R);case 254:return doWithContext(1|2,visitFunctionDeclaration,R);case 211:return doWithContext(1|2,visitFunctionExpression,R);case 212:return doWithContext(1,visitArrowFunction,R);case 204:if(we&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){we.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(we&&R.expression.kind===106){Ie=true}return E.visitEachChild(R,visitor,N);case 170:case 171:case 169:case 255:case 224:return doWithContext(1|2,visitDefault,R);default:return E.visitEachChild(R,visitor,N)}}function asyncBodyVisitor(R){if(E.isNodeWithPossibleHoistedDeclaration(R)){switch(R.kind){case 235:return visitVariableStatementInAsyncBody(R);case 240:return visitForStatementInAsyncBody(R);case 241:return visitForInStatementInAsyncBody(R);case 242:return visitForOfStatementInAsyncBody(R);case 290:return visitCatchClauseInAsyncBody(R);case 233:case 247:case 261:case 287:case 288:case 250:case 238:case 239:case 237:case 246:case 248:return E.visitEachChild(R,asyncBodyVisitor,N);default:return E.Debug.assertNever(R,"Unhandled node.")}}return visitor(R)}function visitCatchClauseInAsyncBody(R){var j=new E.Set;recordDeclarationName(R.variableDeclaration,j);var $;j.forEach((function(N,R){if(Te.has(R)){if(!$){$=new E.Set(Te)}$.delete(R)}}));if($){var q=Te;Te=$;var G=E.visitEachChild(R,asyncBodyVisitor,N);Te=q;return G}else{return E.visitEachChild(R,asyncBodyVisitor,N)}}function visitVariableStatementInAsyncBody(j){if(isVariableDeclarationListWithCollidingName(j.declarationList)){var $=visitVariableDeclarationListWithCollidingNames(j.declarationList,false);return $?R.createExpressionStatement($):undefined}return E.visitEachChild(j,visitor,N)}function visitForInStatementInAsyncBody(j){return R.updateForInStatement(j,isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForOfStatementInAsyncBody(j){return R.updateForOfStatement(j,E.visitNode(j.awaitModifier,visitor,E.isToken),isVariableDeclarationListWithCollidingName(j.initializer)?visitVariableDeclarationListWithCollidingNames(j.initializer,true):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.expression,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitForStatementInAsyncBody(j){var $=j.initializer;return R.updateForStatement(j,isVariableDeclarationListWithCollidingName($)?visitVariableDeclarationListWithCollidingNames($,false):E.visitNode(j.initializer,visitor,E.isForInitializer),E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,asyncBodyVisitor,N))}function visitAwaitExpression(j){if(inTopLevelContext()){return E.visitEachChild(j,visitor,N)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,E.visitNode(j.expression,visitor,E.isExpression)),j),j)}function visitMethodDeclaration(j){return R.updateMethodDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionDeclaration(j){return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitFunctionExpression(j){return R.updateFunctionExpression(j,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function visitArrowFunction(j){return R.updateArrowFunction(j,E.visitNodes(j.modifiers,visitor,E.isModifier),undefined,E.visitParameterList(j.parameters,visitor,N),undefined,j.equalsGreaterThanToken,E.getFunctionFlags(j)&2?transformAsyncFunctionBody(j):E.visitFunctionBody(j.body,visitor,N))}function recordDeclarationName(N,R){var j=N.name;if(E.isIdentifier(j)){R.add(j.escapedText)}else{for(var $=0,q=j.elements;$=2&&ae.getNodeCheckFlags(N)&(4096|2048);if(qe){enableSubstitutionForAsyncMethodsWithSuper();if(we.size){var He=createSuperAccessVariableStatement(R,ae,N,we);Ne[E.getNodeId(He)]=true;E.insertStatementsAfterStandardPrologue(Je,[He])}}var Ge=R.createBlock(Je,true);E.setTextRange(Ge,N.body);if(qe&&Ie){if(ae.getNodeCheckFlags(N)&4096){E.addEmitHelper(Ge,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(N)&2048){E.addEmitHelper(Ge,E.asyncSuperHelper)}}We=Ge}else{var Ke=$().createAwaiterHelper(inHasLexicalThisContext(),Ee,ce,transformAsyncFunctionBodyWorker(N.body));var Qe=G();if(E.some(Qe)){var Ge=R.converters.convertToFunctionBlock(Ke);We=R.updateBlock(Ge,E.setTextRange(R.createNodeArray(E.concatenate(Qe,Ge.statements)),Ge.statements))}else{We=Ke}}Te=Me;if(!_e){we=Ue;Ie=ze}return We}function transformAsyncFunctionBodyWorker(N,j){if(E.isBlock(N)){return R.updateBlock(N,E.visitNodes(N.statements,asyncBodyVisitor,E.isStatement,j))}else{return R.converters.convertToFunctionBlock(E.visitNode(N,asyncBodyVisitor,E.isConciseBody))}}function getPromiseConstructor(N){var R=N&&E.getEntityNameFromTypeNode(N);if(R&&E.isEntityName(R)){var j=ae.getTypeReferenceSerializationKind(R);if(j===E.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue||j===E.TypeReferenceSerializationKind.Unknown){return R}}return undefined}function enableSubstitutionForAsyncMethodsWithSuper(){if((_e&1)===0){_e|=1;N.enableSubstitution(206);N.enableSubstitution(204);N.enableSubstitution(205);N.enableEmitNotification(255);N.enableEmitNotification(167);N.enableEmitNotification(170);N.enableEmitNotification(171);N.enableEmitNotification(169);N.enableEmitNotification(235)}}function onEmitNode(N,R,j){if(_e&1&&isSuperContainer(R)){var $=ae.getNodeCheckFlags(R)&(2048|4096);if($!==Ee){var q=Ee;Ee=$;Le(N,R,j);Ee=q;return}}else if(_e&&Ne[E.getNodeId(R)]){var q=Ee;Ee=0;Le(N,R,j);Ee=q;return}Le(N,R,j)}function onSubstituteNode(E,N){N=Be(E,N);if(E===1&&Ee){return substituteExpression(N)}return N}function substituteExpression(E){switch(E.kind){case 204:return substitutePropertyAccessExpression(E);case 205:return substituteElementAccessExpression(E);case 206:return substituteCallExpression(E)}return E}function substitutePropertyAccessExpression(N){if(N.expression.kind===106){return E.setTextRange(R.createPropertyAccessExpression(R.createUniqueName("_super",16|32),N.name),N)}return N}function substituteElementAccessExpression(E){if(E.expression.kind===106){return createSuperElementAccessInAsyncMethod(E.argumentExpression,E)}return E}function substituteCallExpression(N){var $=N.expression;if(E.isSuperProperty($)){var q=E.isPropertyAccessExpression($)?substitutePropertyAccessExpression($):substituteElementAccessExpression($);return R.createCallExpression(R.createPropertyAccessExpression(q,"call"),undefined,j([R.createThis()],N.arguments,true))}return N}function isSuperContainer(E){var N=E.kind;return N===255||N===169||N===167||N===170||N===171}function createSuperElementAccessInAsyncMethod(N,j){if(Ee&4096){return E.setTextRange(R.createPropertyAccessExpression(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),"value"),j)}else{return E.setTextRange(R.createCallExpression(R.createUniqueName("_superIndex",16|32),undefined,[N]),j)}}}E.transformES2017=transformES2017;function createSuperAccessVariableStatement(N,R,j,$){var q=(R.getNodeCheckFlags(j)&4096)!==0;var G=[];$.forEach((function(R,j){var $=E.unescapeLeadingUnderscores(j);var ie=[];ie.push(N.createPropertyAssignment("get",N.createArrowFunction(undefined,undefined,[],undefined,undefined,E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4))));if(q){ie.push(N.createPropertyAssignment("set",N.createArrowFunction(undefined,undefined,[N.createParameterDeclaration(undefined,undefined,undefined,"v",undefined,undefined,undefined)],undefined,undefined,N.createAssignment(E.setEmitFlags(N.createPropertyAccessExpression(E.setEmitFlags(N.createSuper(),4),$),4),N.createIdentifier("v")))))}G.push(N.createPropertyAssignment($,N.createObjectLiteralExpression(ie)))}));return N.createVariableStatement(undefined,N.createVariableDeclarationList([N.createVariableDeclaration(N.createUniqueName("_super",16|32),undefined,undefined,N.createCallExpression(N.createPropertyAccessExpression(N.createIdentifier("Object"),"create"),undefined,[N.createNull(),N.createObjectLiteralExpression(G,true)]))],2))}E.createSuperAccessVariableStatement=createSuperAccessVariableStatement})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["AsyncMethodsWithSuper"]=1]="AsyncMethodsWithSuper"})(N||(N={}));var R;(function(E){E[E["None"]=0]="None";E[E["HasLexicalThis"]=1]="HasLexicalThis";E[E["IterationContainer"]=2]="IterationContainer";E[E["AncestorFactsMask"]=3]="AncestorFactsMask";E[E["SourceFileIncludes"]=1]="SourceFileIncludes";E[E["SourceFileExcludes"]=2]="SourceFileExcludes";E[E["StrictModeSourceFileIncludes"]=0]="StrictModeSourceFileIncludes";E[E["ClassOrFunctionIncludes"]=1]="ClassOrFunctionIncludes";E[E["ClassOrFunctionExcludes"]=2]="ClassOrFunctionExcludes";E[E["ArrowFunctionIncludes"]=0]="ArrowFunctionIncludes";E[E["ArrowFunctionExcludes"]=2]="ArrowFunctionExcludes";E[E["IterationStatementIncludes"]=2]="IterationStatementIncludes";E[E["IterationStatementExcludes"]=0]="IterationStatementExcludes"})(R||(R={}));function transformES2018(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistVariableDeclaration;var ae=N.getEmitResolver();var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.onEmitNode;N.onEmitNode=onEmitNode;var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te=false;var we;var Ie;var Ne=0;var Me=0;var Le;var Be;var je;var Ue;var ze=[];return E.chainBundle(N,transformSourceFile);function affectsSubtree(E,N){return Me!==(Me&~E|N)}function enterSubtree(E,N){var R=Me;Me=(Me&~E|N)&3;return R}function exitSubtree(E){Me=E}function recordTaggedTemplateString(N){Be=E.append(Be,R.createVariableDeclaration(N))}function transformSourceFile(R){if(R.isDeclarationFile){return R}Le=R;var j=visitSourceFile(R);E.addEmitHelpers(j,N.readEmitHelpers());Le=undefined;Be=undefined;return j}function visitor(E){return visitorWorker(E,false)}function visitorWithUnusedExpressionResult(E){return visitorWorker(E,true)}function visitorNoAsyncModifier(E){if(E.kind===130){return undefined}return E}function doWithHierarchyFacts(E,N,R,j){if(affectsSubtree(R,j)){var $=enterSubtree(R,j);var q=E(N);exitSubtree($);return q}return E(N)}function visitDefault(R){return E.visitEachChild(R,visitor,N)}function visitorWorker(R,j){if((R.transformFlags&64)===0){return R}switch(R.kind){case 216:return visitAwaitExpression(R);case 222:return visitYieldExpression(R);case 245:return visitReturnStatement(R);case 248:return visitLabeledStatement(R);case 203:return visitObjectLiteralExpression(R);case 219:return visitBinaryExpression(R,j);case 346:return visitCommaListExpression(R,j);case 290:return visitCatchClause(R);case 235:return visitVariableStatement(R);case 252:return visitVariableDeclaration(R);case 238:case 239:case 241:return doWithHierarchyFacts(visitDefault,R,0,2);case 242:return visitForOfStatement(R,undefined);case 240:return doWithHierarchyFacts(visitForStatement,R,0,2);case 215:return visitVoidExpression(R);case 169:return doWithHierarchyFacts(visitConstructorDeclaration,R,2,1);case 167:return doWithHierarchyFacts(visitMethodDeclaration,R,2,1);case 170:return doWithHierarchyFacts(visitGetAccessorDeclaration,R,2,1);case 171:return doWithHierarchyFacts(visitSetAccessorDeclaration,R,2,1);case 254:return doWithHierarchyFacts(visitFunctionDeclaration,R,2,1);case 211:return doWithHierarchyFacts(visitFunctionExpression,R,2,1);case 212:return doWithHierarchyFacts(visitArrowFunction,R,2,0);case 162:return visitParameter(R);case 236:return visitExpressionStatement(R);case 210:return visitParenthesizedExpression(R,j);case 208:return visitTaggedTemplateExpression(R);case 204:if(je&&E.isPropertyAccessExpression(R)&&R.expression.kind===106){je.add(R.name.escapedText)}return E.visitEachChild(R,visitor,N);case 205:if(je&&R.expression.kind===106){Ue=true}return E.visitEachChild(R,visitor,N);case 255:case 224:return doWithHierarchyFacts(visitDefault,R,2,1);default:return E.visitEachChild(R,visitor,N)}}function visitAwaitExpression(j){if(Ie&2&&Ie&1){return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(E.visitNode(j.expression,visitor,E.isExpression))),j),j)}return E.visitEachChild(j,visitor,N)}function visitYieldExpression(j){if(Ie&2&&Ie&1){if(j.asteriskToken){var q=E.visitNode(E.Debug.assertDefined(j.expression),visitor,E.isExpression);return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,$().createAwaitHelper(R.updateYieldExpression(j,j.asteriskToken,E.setTextRange($().createAsyncDelegatorHelper(E.setTextRange($().createAsyncValuesHelper(q),q)),q)))),j),j)}return E.setOriginalNode(E.setTextRange(R.createYieldExpression(undefined,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero())),j),j)}return E.visitEachChild(j,visitor,N)}function visitReturnStatement(j){if(Ie&2&&Ie&1){return R.updateReturnStatement(j,createDownlevelAwait(j.expression?E.visitNode(j.expression,visitor,E.isExpression):R.createVoidZero()))}return E.visitEachChild(j,visitor,N)}function visitLabeledStatement(j){if(Ie&2){var $=E.unwrapInnermostStatementOfLabel(j);if($.kind===242&&$.awaitModifier){return visitForOfStatement($,j)}return R.restoreEnclosingLabel(E.visitNode($,visitor,E.isStatement,R.liftToBlock),j)}return E.visitEachChild(j,visitor,N)}function chunkObjectLiteralElements(N){var j;var $=[];for(var q=0,G=N;q1){for(var ie=1;ie=2&&ae.getNodeCheckFlags(j)&(4096|2048);if(we){enableSubstitutionForAsyncMethodsWithSuper();var Ie=E.createSuperAccessVariableStatement(R,ae,j,je);ze[E.getNodeId(Ie)]=true;E.insertStatementsAfterStandardPrologue(ie,[Ie])}ie.push(Te);E.insertStatementsAfterStandardPrologue(ie,G());var Ne=R.updateBlock(j.body,ie);if(we&&Ue){if(ae.getNodeCheckFlags(j)&4096){E.addEmitHelper(Ne,E.advancedAsyncSuperHelper)}else if(ae.getNodeCheckFlags(j)&2048){E.addEmitHelper(Ne,E.asyncSuperHelper)}}je=_e;Ue=Ee;return Ne}function transformFunctionBody(N){var j;q();var $=0;var ie=[];var ae=(j=E.visitNode(N.body,visitor,E.isConciseBody))!==null&&j!==void 0?j:R.createBlock([]);if(E.isBlock(ae)){$=R.copyPrologue(ae.statements,ie,false,visitor)}E.addRange(ie,appendObjectRestAssignmentsIfNeeded(undefined,N));var ce=G();if($>0||E.some(ie)||E.some(ce)){var le=R.converters.convertToFunctionBlock(ae,true);E.insertStatementsAfterStandardPrologue(ie,ce);E.addRange(ie,le.statements.slice($));return R.updateBlock(le,E.setTextRange(R.createNodeArray(ie),le.statements))}return ae}function appendObjectRestAssignmentsIfNeeded(j,$){for(var q=0,G=$.parameters;q1?"jsxs":"jsx"}function getJsxFactoryCallee(E){var N=getJsxFactoryCalleePrimitive(E);return getImplicitImportForName(N)}function getImplicitJsxFragmentReference(){return getImplicitImportForName("Fragment")}function getImplicitImportForName(N){var R,$;var G=N==="createElement"?ie.importSpecifier:E.getJSXRuntimeImport(ie.importSpecifier,q);var ae=($=(R=ie.utilizedImplicitRuntimeImports)===null||R===void 0?void 0:R.get(G))===null||$===void 0?void 0:$.get(N);if(ae){return ae.name}if(!ie.utilizedImplicitRuntimeImports){ie.utilizedImplicitRuntimeImports=E.createMap()}var ce=ie.utilizedImplicitRuntimeImports.get(G);if(!ce){ce=E.createMap();ie.utilizedImplicitRuntimeImports.set(G,ce)}var le=j.createUniqueName("_"+N,16|32|64);var _e=j.createImportSpecifier(j.createIdentifier(N),le);le.generatedImportReference=_e;ce.set(N,_e);return le}function transformSourceFile(N){if(N.isDeclarationFile){return N}G=N;ie={};ie.importSpecifier=E.getJSXImplicitImportBase(q,N);var $=E.visitEachChild(N,visitor,R);E.addEmitHelpers($,R.readEmitHelpers());var ae=$.statements;if(ie.filenameDeclaration){ae=E.insertStatementAfterCustomPrologue(ae.slice(),j.createVariableStatement(undefined,j.createVariableDeclarationList([ie.filenameDeclaration],2)))}if(ie.utilizedImplicitRuntimeImports){for(var ce=0,le=E.arrayFrom(ie.utilizedImplicitRuntimeImports.entries());ce1?j.createTrue():j.createFalse());var Ee=E.getLineAndCharacterOfPosition(_e,ce.pos);le.push(j.createObjectLiteralExpression([j.createPropertyAssignment("fileName",getCurrentFileNameExpression()),j.createPropertyAssignment("lineNumber",j.createNumericLiteral(Ee.line+1)),j.createPropertyAssignment("columnNumber",j.createNumericLiteral(Ee.character+1))]));le.push(j.createThis())}}var Te=E.setTextRange(j.createCallExpression(getJsxFactoryCallee(ie),undefined,le),ce);if(ae){E.startOnNewLine(Te)}return Te}function visitJsxOpeningLikeElementCreateElement(N,ae,ce,le){var _e=getTagName(N);var Ee;var Te=N.attributes.properties;if(Te.length===0){Ee=j.createNull()}else{var we=q.target;if(we&&we>=5){Ee=j.createObjectLiteralExpression(E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToSpreadAssignment):E.map(N,transformJsxAttributeToObjectLiteralElement)}))))}else{var Ie=E.flatten(E.spanMap(Te,E.isJsxSpreadAttribute,(function(N,R){return R?E.map(N,transformJsxSpreadAttributeToExpression):j.createObjectLiteralExpression(E.map(N,transformJsxAttributeToObjectLiteralElement))})));if(E.isJsxSpreadAttribute(Te[0])){Ie.unshift(j.createObjectLiteralExpression())}Ee=E.singleOrUndefined(Ie);if(!Ee){Ee=$().createAssignHelper(Ie)}}}var Ne=ie.importSpecifier===undefined?E.createJsxFactoryExpression(j,R.getEmitResolver().getJsxFactoryEntity(G),q.reactNamespace,N):getImplicitImportForName("createElement");var Me=E.createExpressionForJsxElement(j,Ne,_e,Ee,E.mapDefined(ae,transformJsxChildToExpression),le);if(ce){E.startOnNewLine(Me)}return Me}function visitJsxOpeningFragmentJSX(N,R,$,q){var G;if(R&&R.length){var ie=convertJsxChildrenToChildrenPropObject(R);if(ie){G=ie}}return visitJsxOpeningLikeElementOrFragmentJSX(getImplicitJsxFragmentReference(),G||j.createObjectLiteralExpression([]),undefined,E.length(E.getSemanticJsxChildren(R)),$,q)}function visitJsxOpeningFragmentCreateElement(N,$,ie,ae){var ce=E.createExpressionForJsxFragment(j,R.getEmitResolver().getJsxFactoryEntity(G),R.getEmitResolver().getJsxFragmentFactoryEntity(G),q.reactNamespace,E.mapDefined($,transformJsxChildToExpression),N,ae);if(ie){E.startOnNewLine(ce)}return ce}function transformJsxSpreadAttributeToSpreadAssignment(N){return j.createSpreadAssignment(E.visitNode(N.expression,visitor,E.isExpression))}function transformJsxSpreadAttributeToExpression(N){return E.visitNode(N.expression,visitor,E.isExpression)}function transformJsxAttributeToObjectLiteralElement(E){var N=getAttributeName(E);var R=transformJsxAttributeInitializer(E.initializer);return j.createPropertyAssignment(N,R)}function transformJsxAttributeInitializer(N){if(N===undefined){return j.createTrue()}else if(N.kind===10){var R=N.singleQuote!==undefined?N.singleQuote:!E.isStringDoubleQuoted(N,G);var $=j.createStringLiteral(tryDecodeEntities(N.text)||N.text,R);return E.setTextRange($,N)}else if(N.kind===286){if(N.expression===undefined){return j.createTrue()}return E.visitNode(N.expression,visitor,E.isExpression)}else{return E.Debug.failBadSyntaxKind(N)}}function visitJsxText(E){var N=fixupWhitespaceAndDecodeEntities(E.text);return N===undefined?undefined:j.createStringLiteral(N)}function fixupWhitespaceAndDecodeEntities(N){var R;var j=0;var $=-1;for(var q=0;q0){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding($,visitor,N,0,R.getGeneratedNameForNode($)))),1048576));return true}else if(G){E.insertStatementAfterCustomPrologue(j,E.setEmitFlags(R.createExpressionStatement(R.createAssignment(R.getGeneratedNameForNode($),E.visitNode(G,visitor,E.isExpression))),1048576));return true}return false}function insertDefaultValueAssignmentForInitializer(N,j,$,q){q=E.visitNode(q,visitor,E.isExpression);var G=R.createIfStatement(R.createTypeCheck(R.cloneNode($),"undefined"),E.setEmitFlags(E.setTextRange(R.createBlock([R.createExpressionStatement(E.setEmitFlags(E.setTextRange(R.createAssignment(E.setEmitFlags(E.setParent(E.setTextRange(R.cloneNode($),$),$.parent),48),E.setEmitFlags(q,48|E.getEmitFlags(q)|1536)),j),1536))]),j),1|32|384|1536));E.startOnNewLine(G);E.setTextRange(G,j);E.setEmitFlags(G,384|32|1048576|1536);E.insertStatementAfterCustomPrologue(N,G)}function shouldAddRestParameter(E,N){return!!(E&&E.dotDotDotToken&&!N)}function addRestParameterIfNeeded(j,$,q){var G=[];var ie=E.lastOrUndefined($.parameters);if(!shouldAddRestParameter(ie,q)){return false}var ae=ie.name.kind===79?E.setParent(E.setTextRange(R.cloneNode(ie.name),ie.name),ie.name.parent):R.createTempVariable(undefined);E.setEmitFlags(ae,48);var ce=ie.name.kind===79?R.cloneNode(ie.name):ae;var le=$.parameters.length-1;var _e=R.createLoopVariable();G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(ae,undefined,undefined,R.createArrayLiteralExpression([]))])),ie),1048576));var Ee=R.createForStatement(E.setTextRange(R.createVariableDeclarationList([R.createVariableDeclaration(_e,undefined,undefined,R.createNumericLiteral(le))]),ie),E.setTextRange(R.createLessThan(_e,R.createPropertyAccessExpression(R.createIdentifier("arguments"),"length")),ie),E.setTextRange(R.createPostfixIncrement(_e),ie),R.createBlock([E.startOnNewLine(E.setTextRange(R.createExpressionStatement(R.createAssignment(R.createElementAccessExpression(ce,le===0?_e:R.createSubtract(_e,R.createNumericLiteral(le))),R.createElementAccessExpression(R.createIdentifier("arguments"),_e))),ie))]));E.setEmitFlags(Ee,1048576);E.startOnNewLine(Ee);G.push(Ee);if(ie.name.kind!==79){G.push(E.setEmitFlags(E.setTextRange(R.createVariableStatement(undefined,R.createVariableDeclarationList(E.flattenDestructuringBinding(ie,visitor,N,0,ce))),ie),1048576))}E.insertStatementsAfterCustomPrologue(j,G);return true}function insertCaptureThisForNodeIfNeeded(E,N){if(Ie&65536&&N.kind!==212){insertCaptureThisForNode(E,N,R.createThis());return true}return false}function insertCaptureThisForNode(N,j,$){enableSubstitutionsForCapturedThis();var q=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_this",16|32),undefined,undefined,$)]));E.setEmitFlags(q,1536|1048576);E.setSourceMapRange(q,j);E.insertStatementAfterCustomPrologue(N,q)}function insertCaptureNewTargetIfNeeded(N,j,$){if(Ie&32768){var q=void 0;switch(j.kind){case 212:return N;case 167:case 170:case 171:q=R.createVoidZero();break;case 169:q=R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor");break;case 254:case 211:q=R.createConditionalExpression(R.createLogicalAnd(E.setEmitFlags(R.createThis(),4),R.createBinaryExpression(E.setEmitFlags(R.createThis(),4),102,R.getLocalName(j))),undefined,R.createPropertyAccessExpression(E.setEmitFlags(R.createThis(),4),"constructor"),undefined,R.createVoidZero());break;default:return E.Debug.failBadSyntaxKind(j)}var G=R.createVariableStatement(undefined,R.createVariableDeclarationList([R.createVariableDeclaration(R.createUniqueName("_newTarget",16|32),undefined,undefined,q)]));E.setEmitFlags(G,1536|1048576);if($){N=N.slice()}E.insertStatementAfterCustomPrologue(N,G)}return N}function addClassMembers(N,R){for(var j=0,$=R.members;j<$.length;j++){var q=$[j];switch(q.kind){case 232:N.push(transformSemicolonClassElementToStatement(q));break;case 167:N.push(transformClassMethodDeclarationToStatement(getClassMemberPrefix(R,q),q,R));break;case 170:case 171:var G=E.getAllAccessorDeclarations(R.members,q);if(q===G.firstAccessor){N.push(transformAccessorsToStatement(getClassMemberPrefix(R,q),G,R))}break;case 169:case 168:break;default:E.Debug.failBadSyntaxKind(q,Te&&Te.fileName);break}}}function transformSemicolonClassElementToStatement(N){return E.setTextRange(R.createEmptyStatement(),N)}function transformClassMethodDeclarationToStatement(j,$,q){var G=E.getCommentRange($);var ie=E.getSourceMapRange($);var ae=transformFunctionLikeToExpression($,$,undefined,q);var ce=E.visitNode($.name,visitor,E.isPropertyName);var le;if(!E.isPrivateIdentifier(ce)&&E.getUseDefineForClassFields(N.getCompilerOptions())){var _e=E.isComputedPropertyName(ce)?ce.expression:E.isIdentifier(ce)?R.createStringLiteral(E.unescapeLeadingUnderscores(ce.escapedText)):ce;le=R.createObjectDefinePropertyCall(j,_e,R.createPropertyDescriptor({value:ae,enumerable:false,writable:true,configurable:true}))}else{var Ee=E.createMemberAccessForPropertyName(R,j,ce,$.name);le=R.createAssignment(Ee,ae)}E.setEmitFlags(ae,1536);E.setSourceMapRange(ae,ie);var Te=E.setTextRange(R.createExpressionStatement(le),$);E.setOriginalNode(Te,$);E.setCommentRange(Te,G);E.setEmitFlags(Te,48);return Te}function transformAccessorsToStatement(N,j,$){var q=R.createExpressionStatement(transformAccessorsToExpression(N,j,$,false));E.setEmitFlags(q,1536);E.setSourceMapRange(q,E.getSourceMapRange(j.firstAccessor));return q}function transformAccessorsToExpression(N,j,$,q){var G=j.firstAccessor,ie=j.getAccessor,ae=j.setAccessor;var ce=E.setParent(E.setTextRange(R.cloneNode(N),N),N.parent);E.setEmitFlags(ce,1536|32);E.setSourceMapRange(ce,G.name);var le=E.visitNode(G.name,visitor,E.isPropertyName);if(E.isPrivateIdentifier(le)){return E.Debug.failBadSyntaxKind(le,"Encountered unhandled private identifier while transforming ES2015.")}var _e=E.createExpressionForPropertyName(R,le);E.setEmitFlags(_e,1536|16);E.setSourceMapRange(_e,G.name);var Ee=[];if(ie){var Te=transformFunctionLikeToExpression(ie,undefined,undefined,$);E.setSourceMapRange(Te,E.getSourceMapRange(ie));E.setEmitFlags(Te,512);var we=R.createPropertyAssignment("get",Te);E.setCommentRange(we,E.getCommentRange(ie));Ee.push(we)}if(ae){var Ie=transformFunctionLikeToExpression(ae,undefined,undefined,$);E.setSourceMapRange(Ie,E.getSourceMapRange(ae));E.setEmitFlags(Ie,512);var Ne=R.createPropertyAssignment("set",Ie);E.setCommentRange(Ne,E.getCommentRange(ae));Ee.push(Ne)}Ee.push(R.createPropertyAssignment("enumerable",ie||ae?R.createFalse():R.createTrue()),R.createPropertyAssignment("configurable",R.createTrue()));var Me=R.createCallExpression(R.createPropertyAccessExpression(R.createIdentifier("Object"),"defineProperty"),undefined,[ce,_e,R.createObjectLiteralExpression(Ee,true)]);if(q){E.startOnNewLine(Me)}return Me}function visitArrowFunction(j){if(j.transformFlags&8192&&!(Ie&16384)){Ie|=65536}var $=Me;Me=undefined;var q=enterSubtree(15232,66);var G=R.createFunctionExpression(undefined,undefined,undefined,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformFunctionBody(j));E.setTextRange(G,j);E.setOriginalNode(G,j);E.setEmitFlags(G,8);exitSubtree(q,0,0);Me=$;return G}function visitFunctionExpression(j){var $=E.getEmitFlags(j)&262144?enterSubtree(32662,69):enterSubtree(32670,65);var q=Me;Me=undefined;var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree($,98304,0);Me=q;return R.updateFunctionExpression(j,undefined,j.asteriskToken,ae,undefined,G,undefined,ie)}function visitFunctionDeclaration(j){var $=Me;Me=undefined;var q=enterSubtree(32670,65);var G=E.visitParameterList(j.parameters,visitor,N);var ie=transformFunctionBody(j);var ae=Ie&32768?R.getLocalName(j):j.name;exitSubtree(q,98304,0);Me=$;return R.updateFunctionDeclaration(j,undefined,E.visitNodes(j.modifiers,visitor,E.isModifier),j.asteriskToken,ae,undefined,G,undefined,ie)}function transformFunctionLikeToExpression(j,$,q,G){var ie=Me;Me=undefined;var ae=G&&E.isClassLike(G)&&!E.isStatic(j)?enterSubtree(32670,65|8):enterSubtree(32670,65);var ce=E.visitParameterList(j.parameters,visitor,N);var le=transformFunctionBody(j);if(Ie&32768&&!q&&(j.kind===254||j.kind===211)){q=R.getGeneratedNameForNode(j)}exitSubtree(ae,98304,0);Me=ie;return E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,j.asteriskToken,q,undefined,ce,undefined,le),$),j)}function transformFunctionBody(N){var j=false;var $=false;var q;var ae;var ce=[];var le=[];var _e=N.body;var Ee;G();if(E.isBlock(_e)){Ee=R.copyStandardPrologue(_e.statements,ce,false);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedFunction);Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor,E.isHoistedVariableStatement)}j=addDefaultValueAssignmentsIfNeeded(le,N)||j;j=addRestParameterIfNeeded(le,N,false)||j;if(E.isBlock(_e)){Ee=R.copyCustomPrologue(_e.statements,le,Ee,visitor);q=_e.statements;E.addRange(le,E.visitNodes(_e.statements,visitor,E.isStatement,Ee));if(!j&&_e.multiLine){j=true}}else{E.Debug.assert(N.kind===212);q=E.moveRangeEnd(_e,-1);var we=N.equalsGreaterThanToken;if(!E.nodeIsSynthesized(we)&&!E.nodeIsSynthesized(_e)){if(E.rangeEndIsOnSameLineAsRangeStart(we,_e,Te)){$=true}else{j=true}}var Ie=E.visitNode(_e,visitor,E.isExpression);var Ne=R.createReturnStatement(Ie);E.setTextRange(Ne,_e);E.moveSyntheticComments(Ne,_e);E.setEmitFlags(Ne,384|32|1024);le.push(Ne);ae=_e}R.mergeLexicalEnvironment(ce,ie());insertCaptureNewTargetIfNeeded(ce,N,false);insertCaptureThisForNodeIfNeeded(ce,N);if(E.some(ce)){j=true}le.unshift.apply(le,ce);if(E.isBlock(_e)&&E.arrayIsEqualTo(le,_e.statements)){return _e}var Me=R.createBlock(E.setTextRange(R.createNodeArray(le),q),j);E.setTextRange(Me,N.body);if(!j&&$){E.setEmitFlags(Me,1)}if(ae){E.setTokenSourceMapRange(Me,19,ae)}E.setOriginalNode(Me,N.body);return Me}function visitBlock(R,j){if(j){return E.visitEachChild(R,visitor,N)}var $=Ie&256?enterSubtree(7104,512):enterSubtree(6976,128);var q=E.visitEachChild(R,visitor,N);exitSubtree($,0,0);return q}function visitExpressionStatement(R){return E.visitEachChild(R,visitorWithUnusedExpressionResult,N)}function visitParenthesizedExpression(R,j){return E.visitEachChild(R,j?visitorWithUnusedExpressionResult:visitor,N)}function visitBinaryExpression(j,$){if(E.isDestructuringAssignment(j)){return E.flattenDestructuringAssignment(j,visitor,N,0,!$)}if(j.operatorToken.kind===27){return R.updateBinaryExpression(j,E.visitNode(j.left,visitorWithUnusedExpressionResult,E.isExpression),j.operatorToken,E.visitNode(j.right,$?visitorWithUnusedExpressionResult:visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaListExpression(j,$){if($){return E.visitEachChild(j,visitorWithUnusedExpressionResult,N)}var q;for(var G=0;G=N.end){return false}var $=E.getEnclosingBlockScopeContainer(N);while(j){if(j===$||j===N){return false}if(E.isClassElement(j)&&j.parent===N){return true}j=j.parent}return false}function substituteThisKeyword(N){if(Le&1&&Ie&16){return E.setTextRange(R.createUniqueName("_this",16|32),N)}return N}function getClassMemberPrefix(N,j){return E.isStatic(j)?R.getInternalName(N):R.createPropertyAccessExpression(R.getInternalName(N),"prototype")}function hasSynthesizedDefaultSuperCall(N,R){if(!N||!R){return false}if(E.some(N.parameters)){return false}var j=E.firstOrUndefined(N.body.statements);if(!j||!E.nodeIsSynthesized(j)||j.kind!==236){return false}var $=j.expression;if(!E.nodeIsSynthesized($)||$.kind!==206){return false}var q=$.expression;if(!E.nodeIsSynthesized(q)||q.kind!==106){return false}var G=E.singleOrUndefined($.arguments);if(!G||!E.nodeIsSynthesized(G)||G.kind!==223){return false}var ie=G.expression;return E.isIdentifier(ie)&&ie.escapedText==="arguments"}}E.transformES2015=transformES2015})(ce||(ce={}));var ce;(function(E){function transformES5(N){var R=N.factory;var j=N.getCompilerOptions();var $;var q;if(j.jsx===1||j.jsx===3){$=N.onEmitNode;N.onEmitNode=onEmitNode;N.enableEmitNotification(278);N.enableEmitNotification(279);N.enableEmitNotification(277);q=[]}var G=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;N.enableSubstitution(204);N.enableSubstitution(291);return E.chainBundle(N,transformSourceFile);function transformSourceFile(E){return E}function onEmitNode(N,R,j){switch(R.kind){case 278:case 279:case 277:var G=R.tagName;q[E.getOriginalNodeId(G)]=true;break}$(N,R,j)}function onSubstituteNode(N,R){if(R.id&&q&&q[R.id]){return G(N,R)}R=G(N,R);if(E.isPropertyAccessExpression(R)){return substitutePropertyAccessExpression(R)}else if(E.isPropertyAssignment(R)){return substitutePropertyAssignment(R)}return R}function substitutePropertyAccessExpression(N){if(E.isPrivateIdentifier(N.name)){return N}var j=trySubstituteReservedName(N.name);if(j){return E.setTextRange(R.createElementAccessExpression(N.expression,j),N)}return N}function substitutePropertyAssignment(N){var j=E.isIdentifier(N.name)&&trySubstituteReservedName(N.name);if(j){return R.updatePropertyAssignment(N,j,N.initializer)}return N}function trySubstituteReservedName(N){var j=N.originalKeywordKind||(E.nodeIsSynthesized(N)?E.stringToToken(E.idText(N)):undefined);if(j!==undefined&&j>=81&&j<=116){return E.setTextRange(R.createStringLiteralFromNode(N),N)}return undefined}}E.transformES5=transformES5})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["Nop"]=0]="Nop";E[E["Statement"]=1]="Statement";E[E["Assign"]=2]="Assign";E[E["Break"]=3]="Break";E[E["BreakWhenTrue"]=4]="BreakWhenTrue";E[E["BreakWhenFalse"]=5]="BreakWhenFalse";E[E["Yield"]=6]="Yield";E[E["YieldStar"]=7]="YieldStar";E[E["Return"]=8]="Return";E[E["Throw"]=9]="Throw";E[E["Endfinally"]=10]="Endfinally"})(N||(N={}));var R;(function(E){E[E["Open"]=0]="Open";E[E["Close"]=1]="Close"})(R||(R={}));var $;(function(E){E[E["Exception"]=0]="Exception";E[E["With"]=1]="With";E[E["Switch"]=2]="Switch";E[E["Loop"]=3]="Loop";E[E["Labeled"]=4]="Labeled"})($||($={}));var q;(function(E){E[E["Try"]=0]="Try";E[E["Catch"]=1]="Catch";E[E["Finally"]=2]="Finally";E[E["Done"]=3]="Done"})(q||(q={}));var G;(function(E){E[E["Next"]=0]="Next";E[E["Throw"]=1]="Throw";E[E["Return"]=2]="Return";E[E["Break"]=3]="Break";E[E["Yield"]=4]="Yield";E[E["YieldStar"]=5]="YieldStar";E[E["Catch"]=6]="Catch";E[E["Endfinally"]=7]="Endfinally"})(G||(G={}));function getInstructionName(E){switch(E){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return undefined}}function transformGenerators(N){var R=N.factory,$=N.getEmitHelperFactory,q=N.resumeLexicalEnvironment,G=N.endLexicalEnvironment,ie=N.hoistFunctionDeclaration,ae=N.hoistVariableDeclaration;var ce=N.getCompilerOptions();var le=E.getEmitScriptTarget(ce);var _e=N.getEmitResolver();var Ee=N.onSubstituteNode;N.onSubstituteNode=onSubstituteNode;var Te;var we;var Ie;var Ne;var Me;var Le;var Be;var je;var Ue;var ze;var We=1;var Je;var Ve;var qe;var He;var Ge=0;var Ke=0;var Qe;var Xe;var Ye;var Ze;var et;var tt;var rt;var nt;return E.chainBundle(N,transformSourceFile);function transformSourceFile(R){if(R.isDeclarationFile||(R.transformFlags&1024)===0){return R}var j=E.visitEachChild(R,visitor,N);E.addEmitHelpers(j,N.readEmitHelpers());return j}function visitor(R){var j=R.transformFlags;if(Ne){return visitJavaScriptInStatementContainingYield(R)}else if(Ie){return visitJavaScriptInGeneratorFunctionBody(R)}else if(E.isFunctionLikeDeclaration(R)&&R.asteriskToken){return visitGenerator(R)}else if(j&1024){return E.visitEachChild(R,visitor,N)}else{return R}}function visitJavaScriptInStatementContainingYield(E){switch(E.kind){case 238:return visitDoStatement(E);case 239:return visitWhileStatement(E);case 247:return visitSwitchStatement(E);case 248:return visitLabeledStatement(E);default:return visitJavaScriptInGeneratorFunctionBody(E)}}function visitJavaScriptInGeneratorFunctionBody(R){switch(R.kind){case 254:return visitFunctionDeclaration(R);case 211:return visitFunctionExpression(R);case 170:case 171:return visitAccessorDeclaration(R);case 235:return visitVariableStatement(R);case 240:return visitForStatement(R);case 241:return visitForInStatement(R);case 244:return visitBreakStatement(R);case 243:return visitContinueStatement(R);case 245:return visitReturnStatement(R);default:if(R.transformFlags&524288){return visitJavaScriptContainingYield(R)}else if(R.transformFlags&(1024|2097152)){return E.visitEachChild(R,visitor,N)}else{return R}}}function visitJavaScriptContainingYield(R){switch(R.kind){case 219:return visitBinaryExpression(R);case 346:return visitCommaListExpression(R);case 220:return visitConditionalExpression(R);case 222:return visitYieldExpression(R);case 202:return visitArrayLiteralExpression(R);case 203:return visitObjectLiteralExpression(R);case 205:return visitElementAccessExpression(R);case 206:return visitCallExpression(R);case 207:return visitNewExpression(R);default:return E.visitEachChild(R,visitor,N)}}function visitGenerator(N){switch(N.kind){case 254:return visitFunctionDeclaration(N);case 211:return visitFunctionExpression(N);default:return E.Debug.failBadSyntaxKind(N)}}function visitFunctionDeclaration(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionDeclaration(undefined,j.modifiers,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}if(Ie){ie(j);return undefined}else{return j}}function visitFunctionExpression(j){if(j.asteriskToken){j=E.setOriginalNode(E.setTextRange(R.createFunctionExpression(undefined,undefined,j.name,undefined,E.visitParameterList(j.parameters,visitor,N),undefined,transformGeneratorFunctionBody(j.body)),j),j)}else{var $=Ie;var q=Ne;Ie=false;Ne=false;j=E.visitEachChild(j,visitor,N);Ie=$;Ne=q}return j}function visitAccessorDeclaration(R){var j=Ie;var $=Ne;Ie=false;Ne=false;R=E.visitEachChild(R,visitor,N);Ie=j;Ne=$;return R}function transformGeneratorFunctionBody(N){var j=[];var $=Ie;var ie=Ne;var ae=Me;var ce=Le;var le=Be;var _e=je;var Ee=Ue;var Te=ze;var we=We;var Ge=Je;var Ke=Ve;var Qe=qe;var Xe=He;Ie=true;Ne=false;Me=undefined;Le=undefined;Be=undefined;je=undefined;Ue=undefined;ze=undefined;We=1;Je=undefined;Ve=undefined;qe=undefined;He=R.createTempVariable(undefined);q();var Ye=R.copyPrologue(N.statements,j,false,visitor);transformAndEmitStatements(N.statements,Ye);var Ze=build();E.insertStatementsAfterStandardPrologue(j,G());j.push(R.createReturnStatement(Ze));Ie=$;Ne=ie;Me=ae;Le=ce;Be=le;je=_e;Ue=Ee;ze=Te;We=we;Je=Ge;Ve=Ke;qe=Qe;He=Xe;return E.setTextRange(R.createBlock(j,N.multiLine),N)}function visitVariableStatement(N){if(N.transformFlags&524288){transformAndEmitVariableDeclarationList(N.declarationList);return undefined}else{if(E.getEmitFlags(N)&1048576){return N}for(var j=0,$=N.declarationList.declarations;j<$.length;j++){var q=$[j];ae(q.name)}var G=E.getInitializedVariables(N.declarationList);if(G.length===0){return undefined}return E.setSourceMapRange(R.createExpressionStatement(R.inlineExpressions(E.map(G,transformInitializedVariable))),N)}}function visitBinaryExpression(N){var R=E.getExpressionAssociativity(N);switch(R){case 0:return visitLeftAssociativeBinaryExpression(N);case 1:return visitRightAssociativeBinaryExpression(N);default:return E.Debug.assertNever(R)}}function visitRightAssociativeBinaryExpression(j){var $=j.left,q=j.right;if(containsYield(q)){var G=void 0;switch($.kind){case 204:G=R.updatePropertyAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),$.name);break;case 205:G=R.updateElementAccessExpression($,cacheExpression(E.visitNode($.expression,visitor,E.isLeftHandSideExpression)),cacheExpression(E.visitNode($.argumentExpression,visitor,E.isExpression)));break;default:G=E.visitNode($,visitor,E.isExpression);break}var ie=j.operatorToken.kind;if(E.isCompoundAssignment(ie)){return E.setTextRange(R.createAssignment(G,E.setTextRange(R.createBinaryExpression(cacheExpression(G),E.getNonAssignmentOperatorForCompoundAssignment(ie),E.visitNode(q,visitor,E.isExpression)),j)),j)}else{return R.updateBinaryExpression(j,G,j.operatorToken,E.visitNode(q,visitor,E.isExpression))}}return E.visitEachChild(j,visitor,N)}function visitLeftAssociativeBinaryExpression(j){if(containsYield(j.right)){if(E.isLogicalOperator(j.operatorToken.kind)){return visitLogicalBinaryExpression(j)}else if(j.operatorToken.kind===27){return visitCommaExpression(j)}return R.updateBinaryExpression(j,cacheExpression(E.visitNode(j.left,visitor,E.isExpression)),j.operatorToken,E.visitNode(j.right,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCommaExpression(N){var j=[];visit(N.left);visit(N.right);return R.inlineExpressions(j);function visit(N){if(E.isBinaryExpression(N)&&N.operatorToken.kind===27){visit(N.left);visit(N.right)}else{if(containsYield(N)&&j.length>0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(N,visitor,E.isExpression))}}}function visitCommaListExpression(N){var j=[];for(var $=0,q=N.elements;$0){emitWorker(1,[R.createExpressionStatement(R.inlineExpressions(j))]);j=[]}j.push(E.visitNode(G,visitor,E.isExpression))}}return R.inlineExpressions(j)}function visitLogicalBinaryExpression(N){var R=defineLabel();var j=declareLocal();emitAssignment(j,E.visitNode(N.left,visitor,E.isExpression),N.left);if(N.operatorToken.kind===55){emitBreakWhenFalse(R,j,N.left)}else{emitBreakWhenTrue(R,j,N.left)}emitAssignment(j,E.visitNode(N.right,visitor,E.isExpression),N.right);markLabel(R);return j}function visitConditionalExpression(R){if(containsYield(R.whenTrue)||containsYield(R.whenFalse)){var j=defineLabel();var $=defineLabel();var q=declareLocal();emitBreakWhenFalse(j,E.visitNode(R.condition,visitor,E.isExpression),R.condition);emitAssignment(q,E.visitNode(R.whenTrue,visitor,E.isExpression),R.whenTrue);emitBreak($);markLabel(j);emitAssignment(q,E.visitNode(R.whenFalse,visitor,E.isExpression),R.whenFalse);markLabel($);return q}return E.visitEachChild(R,visitor,N)}function visitYieldExpression(N){var R=defineLabel();var j=E.visitNode(N.expression,visitor,E.isExpression);if(N.asteriskToken){var q=(E.getEmitFlags(N.expression)&8388608)===0?E.setTextRange($().createValuesHelper(j),N):j;emitYieldStar(q,N)}else{emitYield(j,N)}markLabel(R);return createGeneratorResume(N)}function visitArrayLiteralExpression(E){return visitElements(E.elements,undefined,undefined,E.multiLine)}function visitElements(N,$,q,G){var ie=countInitialNodesWithoutYield(N);var ae;if(ie>0){ae=declareLocal();var ce=E.visitNodes(N,visitor,E.isExpression,0,ie);emitAssignment(ae,R.createArrayLiteralExpression($?j([$],ce,true):ce));$=undefined}var le=E.reduceLeft(N,reduceElement,[],ie);return ae?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(le,G)]):E.setTextRange(R.createArrayLiteralExpression($?j([$],le,true):le,G),q);function reduceElement(N,q){if(containsYield(q)&&N.length>0){var ie=ae!==undefined;if(!ae){ae=declareLocal()}emitAssignment(ae,ie?R.createArrayConcatCall(ae,[R.createArrayLiteralExpression(N,G)]):R.createArrayLiteralExpression($?j([$],N,true):N,G));$=undefined;N=[]}N.push(E.visitNode(q,visitor,E.isExpression));return N}}function visitObjectLiteralExpression(N){var j=N.properties;var $=N.multiLine;var q=countInitialNodesWithoutYield(j);var G=declareLocal();emitAssignment(G,R.createObjectLiteralExpression(E.visitNodes(j,visitor,E.isObjectLiteralElementLike,0,q),$));var ie=E.reduceLeft(j,reduceProperty,[],q);ie.push($?E.startOnNewLine(E.setParent(E.setTextRange(R.cloneNode(G),G),G.parent)):G);return R.inlineExpressions(ie);function reduceProperty(j,q){if(containsYield(q)&&j.length>0){emitStatement(R.createExpressionStatement(R.inlineExpressions(j)));j=[]}var ie=E.createExpressionForObjectLiteralElementLike(R,N,q,G);var ae=E.visitNode(ie,visitor,E.isExpression);if(ae){if($){E.startOnNewLine(ae)}j.push(ae)}return j}}function visitElementAccessExpression(j){if(containsYield(j.argumentExpression)){return R.updateElementAccessExpression(j,cacheExpression(E.visitNode(j.expression,visitor,E.isLeftHandSideExpression)),E.visitNode(j.argumentExpression,visitor,E.isExpression))}return E.visitEachChild(j,visitor,N)}function visitCallExpression(j){if(!E.isImportCall(j)&&E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(j.expression,ae,le,true),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isLeftHandSideExpression)),G,visitElements(j.arguments)),j),j)}return E.visitEachChild(j,visitor,N)}function visitNewExpression(j){if(E.forEach(j.arguments,containsYield)){var $=R.createCallBinding(R.createPropertyAccessExpression(j.expression,"bind"),ae),q=$.target,G=$.thisArg;return E.setOriginalNode(E.setTextRange(R.createNewExpression(R.createFunctionApplyCall(cacheExpression(E.visitNode(q,visitor,E.isExpression)),G,visitElements(j.arguments,R.createVoidZero())),undefined,[]),j),j)}return E.visitEachChild(j,visitor,N)}function transformAndEmitStatements(E,N){if(N===void 0){N=0}var R=E.length;for(var j=N;j0){break}_e.push(transformInitializedVariable(q))}if(_e.length){emitStatement(R.createExpressionStatement(R.inlineExpressions(_e)));le+=_e.length;_e=[]}}return undefined}function transformInitializedVariable(N){return E.setSourceMapRange(R.createAssignment(E.setSourceMapRange(R.cloneNode(N.name),N.name),E.visitNode(N.initializer,visitor,E.isExpression)),N)}function transformAndEmitIfStatement(N){if(containsYield(N)){if(containsYield(N.thenStatement)||containsYield(N.elseStatement)){var R=defineLabel();var j=N.elseStatement?defineLabel():undefined;emitBreakWhenFalse(N.elseStatement?j:R,E.visitNode(N.expression,visitor,E.isExpression),N.expression);transformAndEmitEmbeddedStatement(N.thenStatement);if(N.elseStatement){emitBreak(R);markLabel(j);transformAndEmitEmbeddedStatement(N.elseStatement)}markLabel(R)}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitDoStatement(N){if(containsYield(N)){var R=defineLabel();var j=defineLabel();beginLoopBlock(R);markLabel(j);transformAndEmitEmbeddedStatement(N.statement);markLabel(R);emitBreakWhenTrue(j,E.visitNode(N.expression,visitor,E.isExpression));endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitDoStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitWhileStatement(N){if(containsYield(N)){var R=defineLabel();var j=beginLoopBlock(R);markLabel(R);emitBreakWhenFalse(j,E.visitNode(N.expression,visitor,E.isExpression));transformAndEmitEmbeddedStatement(N.statement);emitBreak(R);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitWhileStatement(R){if(Ne){beginScriptLoopBlock();R=E.visitEachChild(R,visitor,N);endLoopBlock();return R}else{return E.visitEachChild(R,visitor,N)}}function transformAndEmitForStatement(N){if(containsYield(N)){var j=defineLabel();var $=defineLabel();var q=beginLoopBlock($);if(N.initializer){var G=N.initializer;if(E.isVariableDeclarationList(G)){transformAndEmitVariableDeclarationList(G)}else{emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(G,visitor,E.isExpression)),G))}}markLabel(j);if(N.condition){emitBreakWhenFalse(q,E.visitNode(N.condition,visitor,E.isExpression))}transformAndEmitEmbeddedStatement(N.statement);markLabel($);if(N.incrementor){emitStatement(E.setTextRange(R.createExpressionStatement(E.visitNode(N.incrementor,visitor,E.isExpression)),N.incrementor))}emitBreak(j);endLoopBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitForStatement(j){if(Ne){beginScriptLoopBlock()}var $=j.initializer;if($&&E.isVariableDeclarationList($)){for(var q=0,G=$.declarations;q0?R.inlineExpressions(E.map(ce,transformInitializedVariable)):undefined,E.visitNode(j.condition,visitor,E.isExpression),E.visitNode(j.incrementor,visitor,E.isExpression),E.visitIterationBody(j.statement,visitor,N))}else{j=E.visitEachChild(j,visitor,N)}if(Ne){endLoopBlock()}return j}function transformAndEmitForInStatement(N){if(containsYield(N)){var j=declareLocal();var $=declareLocal();var q=R.createLoopVariable();var G=N.initializer;ae(q);emitAssignment(j,R.createArrayLiteralExpression());emitStatement(R.createForInStatement($,E.visitNode(N.expression,visitor,E.isExpression),R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(j,"push"),undefined,[$]))));emitAssignment(q,R.createNumericLiteral(0));var ie=defineLabel();var ce=defineLabel();var le=beginLoopBlock(ce);markLabel(ie);emitBreakWhenFalse(le,R.createLessThan(q,R.createPropertyAccessExpression(j,"length")));var _e=void 0;if(E.isVariableDeclarationList(G)){for(var Ee=0,Te=G.declarations;Ee0){emitBreak(R,N)}else{emitStatement(N)}}function visitContinueStatement(R){if(Ne){var j=findContinueTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitBreakStatement(N){var R=findBreakTarget(N.label?E.idText(N.label):undefined);if(R>0){emitBreak(R,N)}else{emitStatement(N)}}function visitBreakStatement(R){if(Ne){var j=findBreakTarget(R.label&&E.idText(R.label));if(j>0){return createInlineBreak(j,R)}}return E.visitEachChild(R,visitor,N)}function transformAndEmitReturnStatement(N){emitReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function visitReturnStatement(N){return createInlineReturn(E.visitNode(N.expression,visitor,E.isExpression),N)}function transformAndEmitWithStatement(N){if(containsYield(N)){beginWithBlock(cacheExpression(E.visitNode(N.expression,visitor,E.isExpression)));transformAndEmitEmbeddedStatement(N.statement);endWithBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function transformAndEmitSwitchStatement(N){if(containsYield(N.caseBlock)){var j=N.caseBlock;var $=j.clauses.length;var q=beginSwitchBlock();var G=cacheExpression(E.visitNode(N.expression,visitor,E.isExpression));var ie=[];var ae=-1;for(var ce=0;ce<$;ce++){var le=j.clauses[ce];ie.push(defineLabel());if(le.kind===288&&ae===-1){ae=ce}}var _e=0;var Ee=[];while(_e<$){var Te=0;for(var ce=_e;ce<$;ce++){var le=j.clauses[ce];if(le.kind===287){if(containsYield(le.expression)&&Ee.length>0){break}Ee.push(R.createCaseClause(E.visitNode(le.expression,visitor,E.isExpression),[createInlineBreak(ie[ce],le.expression)]))}else{Te++}}if(Ee.length){emitStatement(R.createSwitchStatement(G,R.createCaseBlock(Ee)));_e+=Ee.length;Ee=[]}if(Te>0){_e+=Te;Te=0}}if(ae>=0){emitBreak(ie[ae])}else{emitBreak(q)}for(var ce=0;ce<$;ce++){markLabel(ie[ce]);transformAndEmitStatements(j.clauses[ce].statements)}endSwitchBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitSwitchStatement(R){if(Ne){beginScriptSwitchBlock()}R=E.visitEachChild(R,visitor,N);if(Ne){endSwitchBlock()}return R}function transformAndEmitLabeledStatement(N){if(containsYield(N)){beginLabeledBlock(E.idText(N.label));transformAndEmitEmbeddedStatement(N.statement);endLabeledBlock()}else{emitStatement(E.visitNode(N,visitor,E.isStatement))}}function visitLabeledStatement(R){if(Ne){beginScriptLabeledBlock(E.idText(R.label))}R=E.visitEachChild(R,visitor,N);if(Ne){endLabeledBlock()}return R}function transformAndEmitThrowStatement(N){var j;emitThrow(E.visitNode((j=N.expression)!==null&&j!==void 0?j:R.createVoidZero(),visitor,E.isExpression),N)}function transformAndEmitTryStatement(R){if(containsYield(R)){beginExceptionBlock();transformAndEmitEmbeddedStatement(R.tryBlock);if(R.catchClause){beginCatchBlock(R.catchClause.variableDeclaration);transformAndEmitEmbeddedStatement(R.catchClause.block)}if(R.finallyBlock){beginFinallyBlock();transformAndEmitEmbeddedStatement(R.finallyBlock)}endExceptionBlock()}else{emitStatement(E.visitEachChild(R,visitor,N))}}function containsYield(E){return!!E&&(E.transformFlags&524288)!==0}function countInitialNodesWithoutYield(E){var N=E.length;for(var R=0;R=0;R--){var j=je[R];if(supportsLabeledBreakOrContinue(j)){if(j.labelText===E){return true}}else{break}}return false}function findBreakTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsLabeledBreakOrContinue(R)&&R.labelText===E){return R.breakLabel}else if(supportsUnlabeledBreak(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.breakLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledBreak(R)){return R.breakLabel}}}}return 0}function findContinueTarget(E){if(je){if(E){for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)&&hasImmediateContainingLabeledBlock(E,N-1)){return R.continueLabel}}}else{for(var N=je.length-1;N>=0;N--){var R=je[N];if(supportsUnlabeledContinue(R)){return R.continueLabel}}}}return 0}function createLabel(E){if(E!==undefined&&E>0){if(ze===undefined){ze=[]}var N=R.createNumericLiteral(-1);if(ze[E]===undefined){ze[E]=[N]}else{ze[E].push(N)}return N}return R.createOmittedExpression()}function createInstruction(N){var j=R.createNumericLiteral(N);E.addSyntheticTrailingComment(j,3,getInstructionName(N));return j}function createInlineBreak(N,j){E.Debug.assertLessThan(0,N,"Invalid label");return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression([createInstruction(3),createLabel(N)])),j)}function createInlineReturn(N,j){return E.setTextRange(R.createReturnStatement(R.createArrayLiteralExpression(N?[createInstruction(2),N]:[createInstruction(2)])),j)}function createGeneratorResume(N){return E.setTextRange(R.createCallExpression(R.createPropertyAccessExpression(He,"sent"),undefined,[]),N)}function emitNop(){emitWorker(0)}function emitStatement(E){if(E){emitWorker(1,[E])}else{emitNop()}}function emitAssignment(E,N,R){emitWorker(2,[E,N],R)}function emitBreak(E,N){emitWorker(3,[E],N)}function emitBreakWhenTrue(E,N,R){emitWorker(4,[E,N],R)}function emitBreakWhenFalse(E,N,R){emitWorker(5,[E,N],R)}function emitYieldStar(E,N){emitWorker(7,[E],N)}function emitYield(E,N){emitWorker(6,[E],N)}function emitReturn(E,N){emitWorker(8,[E],N)}function emitThrow(E,N){emitWorker(9,[E],N)}function emitEndfinally(){emitWorker(10)}function emitWorker(E,N,R){if(Je===undefined){Je=[];Ve=[];qe=[]}if(Ue===undefined){markLabel(defineLabel())}var j=Je.length;Je[j]=E;Ve[j]=N;qe[j]=R}function build(){Ge=0;Ke=0;Qe=undefined;Xe=false;Ye=false;Ze=undefined;et=undefined;tt=undefined;rt=undefined;nt=undefined;var N=buildStatements();return $().createGeneratorHelper(E.setEmitFlags(R.createFunctionExpression(undefined,undefined,undefined,undefined,[R.createParameterDeclaration(undefined,undefined,undefined,He)],undefined,R.createBlock(N,N.length>0)),524288))}function buildStatements(){if(Je){for(var N=0;N=0;N--){var j=nt[N];et=[R.createWithStatement(j.expression,R.createBlock(et))]}}if(rt){var $=rt.startLabel,q=rt.catchLabel,G=rt.finallyLabel,ie=rt.endLabel;et.unshift(R.createExpressionStatement(R.createCallExpression(R.createPropertyAccessExpression(R.createPropertyAccessExpression(He,"trys"),"push"),undefined,[R.createArrayLiteralExpression([createLabel($),createLabel(q),createLabel(G),createLabel(ie)])])));rt=undefined}if(E){et.push(R.createExpressionStatement(R.createAssignment(R.createPropertyAccessExpression(He,"label"),R.createNumericLiteral(Ke+1))))}}Ze.push(R.createCaseClause(R.createNumericLiteral(Ke),et||[]));et=undefined}function tryEnterLabel(E){if(!Ue){return}for(var N=0;N(E.isExportName(N)?1:0)}return false}function visitDestructuringAssignment(N,j){if(destructuringNeedsFlattening(N.left)){return E.flattenDestructuringAssignment(N,visitor,R,0,!j,createAllExportExpressions)}return E.visitEachChild(N,visitor,R)}function visitForStatement(N){return $.updateForStatement(N,E.visitNode(N.initializer,discardedValueVisitor,E.isForInitializer),E.visitNode(N.condition,visitor,E.isExpression),E.visitNode(N.incrementor,discardedValueVisitor,E.isExpression),E.visitIterationBody(N.statement,visitor,R))}function visitExpressionStatement(N){return $.updateExpressionStatement(N,E.visitNode(N.expression,discardedValueVisitor,E.isExpression))}function visitParenthesizedExpression(N,R){return $.updateParenthesizedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPartiallyEmittedExpression(N,R){return $.updatePartiallyEmittedExpression(N,E.visitNode(N.expression,R?discardedValueVisitor:visitor,E.isExpression))}function visitPreOrPostfixUnaryExpression(N,j){if((N.operator===45||N.operator===46)&&E.isIdentifier(N.operand)&&!E.isGeneratedIdentifier(N.operand)&&!E.isLocalName(N.operand)&&!E.isDeclarationNameOfEnumOrNamespace(N.operand)){var q=getExports(N.operand);if(q){var G=void 0;var ie=E.visitNode(N.operand,visitor,E.isExpression);if(E.isPrefixUnaryExpression(N)){ie=$.updatePrefixUnaryExpression(N,ie)}else{ie=$.updatePostfixUnaryExpression(N,ie);if(!j){G=$.createTempVariable(ae);ie=$.createAssignment(G,ie);E.setTextRange(ie,N)}ie=$.createComma(ie,$.cloneNode(N.operand));E.setTextRange(ie,N)}for(var ce=0,le=q;ce=2){le=$.createArrowFunction(undefined,undefined,ie,undefined,undefined,ae)}else{le=$.createFunctionExpression(undefined,undefined,undefined,undefined,ie,undefined,ae);if(R){E.setEmitFlags(le,8)}}var _e=$.createNewExpression($.createIdentifier("Promise"),undefined,[le]);if(ce.esModuleInterop){return $.createCallExpression($.createPropertyAccessExpression(_e,$.createIdentifier("then")),undefined,[q().createImportStarCallbackHelper()])}return _e}function createImportCallExpressionCommonJS(N,R){var j=$.createCallExpression($.createPropertyAccessExpression($.createIdentifier("Promise"),"resolve"),undefined,[]);var G=$.createCallExpression($.createIdentifier("require"),undefined,N?[N]:[]);if(ce.esModuleInterop){G=q().createImportStarHelper(G)}var ie;if(Ee>=2){ie=$.createArrowFunction(undefined,undefined,[],undefined,undefined,G)}else{ie=$.createFunctionExpression(undefined,undefined,undefined,undefined,[],undefined,$.createBlock([$.createReturnStatement(G)]));if(R){E.setEmitFlags(ie,8)}}return $.createCallExpression($.createPropertyAccessExpression(j,"then"),undefined,[ie])}function getHelperExpressionForExport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getExportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}return R}function getHelperExpressionForImport(N,R){if(!ce.esModuleInterop||E.getEmitFlags(N)&67108864){return R}if(E.getImportNeedsImportStarHelper(N)){return q().createImportStarHelper(R)}if(E.getImportNeedsImportDefaultHelper(N)){return q().createImportDefaultHelper(R)}return R}function visitImportDeclaration(N){var R;var j=E.getNamespaceDeclarationNode(N);if(Te!==E.ModuleKind.AMD){if(!N.importClause){return E.setOriginalNode(E.setTextRange($.createExpressionStatement(createRequireCall(N)),N),N)}else{var q=[];if(j&&!E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))))}else{q.push($.createVariableDeclaration($.getGeneratedNameForNode(N),undefined,undefined,getHelperExpressionForImport(N,createRequireCall(N))));if(j&&E.isDefaultImport(N)){q.push($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)))}}R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList(q,Ee>=2?2:0)),N),N))}}else if(j&&E.isDefaultImport(N)){R=E.append(R,$.createVariableStatement(undefined,$.createVariableDeclarationList([E.setOriginalNode(E.setTextRange($.createVariableDeclaration($.cloneNode(j.name),undefined,undefined,$.getGeneratedNameForNode(N)),N),N)],Ee>=2?2:0)))}if(hasAssociatedEndOfDeclarationMarker(N)){var G=E.getOriginalNodeId(N);Me[G]=appendExportsOfImportDeclaration(Me[G],N)}else{R=appendExportsOfImportDeclaration(R,N)}return E.singleOrMany(R)}function createRequireCall(N){var R=E.getExternalModuleNameLiteral($,N,Le,_e,le,ce);var j=[];if(R){j.push(R)}return $.createCallExpression($.createIdentifier("require"),undefined,j)}function visitImportEqualsDeclaration(N){E.Debug.assert(E.isExternalModuleImportEqualsDeclaration(N),"import= for internal module references should be handled in an earlier transformer.");var R;if(Te!==E.ModuleKind.AMD){if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression(N.name,createRequireCall(N))),N),N))}else{R=E.append(R,E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration($.cloneNode(N.name),undefined,undefined,createRequireCall(N))],Ee>=2?2:0)),N),N))}}else{if(E.hasSyntacticModifier(N,1)){R=E.append(R,E.setOriginalNode(E.setTextRange($.createExpressionStatement(createExportExpression($.getExportName(N),$.getLocalName(N))),N),N))}}if(hasAssociatedEndOfDeclarationMarker(N)){var j=E.getOriginalNodeId(N);Me[j]=appendExportsOfImportEqualsDeclaration(Me[j],N)}else{R=appendExportsOfImportEqualsDeclaration(R,N)}return E.singleOrMany(R)}function visitExportDeclaration(N){if(!N.moduleSpecifier){return undefined}var R=$.getGeneratedNameForNode(N);if(N.exportClause&&E.isNamedExports(N.exportClause)){var j=[];if(Te!==E.ModuleKind.AMD){j.push(E.setOriginalNode(E.setTextRange($.createVariableStatement(undefined,$.createVariableDeclarationList([$.createVariableDeclaration(R,undefined,undefined,createRequireCall(N))])),N),N))}for(var G=0,ie=N.exportClause.elements;GE.ModuleKind.ES2015){return N}if(!N.exportClause||!E.isNamespaceExport(N.exportClause)||!N.moduleSpecifier){return N}var j=N.exportClause.name;var $=R.getGeneratedNameForNode(j);var G=R.createImportDeclaration(undefined,undefined,R.createImportClause(false,undefined,R.createNamespaceImport($)),N.moduleSpecifier);E.setOriginalNode(G,N.exportClause);var ie=E.isExportNamespaceAsDefaultDeclaration(N)?R.createExportDefault($):R.createExportDeclaration(undefined,undefined,false,R.createNamedExports([R.createExportSpecifier($,j)]));E.setOriginalNode(ie,N);return[G,ie]}function onEmitNode(N,R,j){if(E.isSourceFile(R)){if((E.isExternalModule(R)||q.isolatedModules)&&q.importHelpers){ae=new E.Map}G(N,R,j);ae=undefined}else{G(N,R,j)}}function onSubstituteNode(N,R){R=ie(N,R);if(ae&&E.isIdentifier(R)&&E.getEmitFlags(R)&4096){return substituteHelperName(R)}return R}function substituteHelperName(N){var j=E.idText(N);var $=ae.get(j);if(!$){ae.set(j,$=R.createUniqueName(j,16|32))}return $}}E.transformECMAScriptModule=transformECMAScriptModule})(ce||(ce={}));var ce;(function(E){function canProduceDiagnostics(N){return E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isBindingElement(N)||E.isSetAccessor(N)||E.isGetAccessor(N)||E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isParameter(N)||E.isTypeParameterDeclaration(N)||E.isExpressionWithTypeArguments(N)||E.isImportEqualsDeclaration(N)||E.isTypeAliasDeclaration(N)||E.isConstructorDeclaration(N)||E.isIndexSignatureDeclaration(N)||E.isPropertyAccessExpression(N)||E.isJSDocTypeAlias(N)}E.canProduceDiagnostics=canProduceDiagnostics;function createGetSymbolAccessibilityDiagnosticForNodeName(N){if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorNameVisibilityError}else if(E.isMethodSignature(N)||E.isMethodDeclaration(N)){return getMethodNameVisibilityError}else{return createGetSymbolAccessibilityDiagnosticForNode(N)}function getAccessorNameVisibilityError(E){var R=getAccessorNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}function getMethodNameVisibilityError(E){var R=getMethodNameVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getMethodNameVisibilityDiagnosticMessage(R){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_method_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Method_0_of_exported_interface_has_or_is_using_private_name_1}}}E.createGetSymbolAccessibilityDiagnosticForNodeName=createGetSymbolAccessibilityDiagnosticForNodeName;function createGetSymbolAccessibilityDiagnosticForNode(N){if(E.isVariableDeclaration(N)||E.isPropertyDeclaration(N)||E.isPropertySignature(N)||E.isPropertyAccessExpression(N)||E.isBindingElement(N)||E.isConstructorDeclaration(N)){return getVariableDeclarationTypeVisibilityError}else if(E.isSetAccessor(N)||E.isGetAccessor(N)){return getAccessorDeclarationTypeVisibilityError}else if(E.isConstructSignatureDeclaration(N)||E.isCallSignatureDeclaration(N)||E.isMethodDeclaration(N)||E.isMethodSignature(N)||E.isFunctionDeclaration(N)||E.isIndexSignatureDeclaration(N)){return getReturnTypeVisibilityError}else if(E.isParameter(N)){if(E.isParameterPropertyDeclaration(N,N.parent)&&E.hasSyntacticModifier(N.parent,8)){return getVariableDeclarationTypeVisibilityError}return getParameterDeclarationTypeVisibilityError}else if(E.isTypeParameterDeclaration(N)){return getTypeParameterConstraintVisibilityError}else if(E.isExpressionWithTypeArguments(N)){return getHeritageClauseVisibilityError}else if(E.isImportEqualsDeclaration(N)){return getImportEntityNameVisibilityError}else if(E.isTypeAliasDeclaration(N)||E.isJSDocTypeAlias(N)){return getTypeAliasDeclarationVisibilityError}else{return E.Debug.assertNever(N,"Attempted to set a declaration diagnostic context for unhandled node kind: "+E.SyntaxKind[N.kind])}function getVariableDeclarationTypeVisibilityDiagnosticMessage(R){if(N.kind===252||N.kind===201){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Exported_variable_0_has_or_is_using_private_name_1}else if(N.kind===165||N.kind===204||N.kind===164||N.kind===162&&E.hasSyntacticModifier(N.parent,8)){if(E.isStatic(N)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1}else if(N.parent.kind===255||N.kind===162){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Public_property_0_of_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Property_0_of_exported_interface_has_or_is_using_private_name_1}}}function getVariableDeclarationTypeVisibilityError(E){var R=getVariableDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getAccessorDeclarationTypeVisibilityError(R){var j;if(N.kind===171){if(E.isStatic(N)){j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1}}else{if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1}else{j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1}}return{diagnosticMessage:j,errorNode:N.name,typeName:N.name}}function getReturnTypeVisibilityError(R){var j;switch(N.kind){case 173:j=R.errorModuleName?E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 172:j=R.errorModuleName?E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:j=R.errorModuleName?E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 167:case 166:if(E.isStatic(N)){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0}else if(N.parent.kind===255){j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0}else{j=R.errorModuleName?E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0}break;case 254:j=R.errorModuleName?R.accessibility===2?E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:E.Diagnostics.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return E.Debug.fail("This is unknown kind for signature: "+N.kind)}return{diagnosticMessage:j,errorNode:N.name||N}}function getParameterDeclarationTypeVisibilityError(E){var R=getParameterDeclarationTypeVisibilityDiagnosticMessage(E);return R!==undefined?{diagnosticMessage:R,errorNode:N,typeName:N.name}:undefined}function getParameterDeclarationTypeVisibilityDiagnosticMessage(R){switch(N.parent.kind){case 169:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 173:case 178:return R.errorModuleName?E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 172:return R.errorModuleName?E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:return R.errorModuleName?E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 167:case 166:if(E.isStatic(N.parent)){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{return R.errorModuleName?E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}case 254:case 177:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 171:case 170:return R.errorModuleName?R.accessibility===2?E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:E.Diagnostics.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return E.Debug.fail("Unknown parent for parameter: "+E.SyntaxKind[N.parent.kind])}}function getTypeParameterConstraintVisibilityError(){var R;switch(N.parent.kind){case 255:R=E.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:R=E.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 193:R=E.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 178:case 173:R=E.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 172:R=E.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 167:case 166:if(E.isStatic(N.parent)){R=E.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1}else if(N.parent.parent.kind===255){R=E.Diagnostics.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1}else{R=E.Diagnostics.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1}break;case 177:case 254:R=E.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257:R=E.Diagnostics.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return E.Debug.fail("This is unknown parent for type parameter: "+N.parent.kind)}return{diagnosticMessage:R,errorNode:N,typeName:N.name}}function getHeritageClauseVisibilityError(){var R;if(E.isClassDeclaration(N.parent.parent)){R=E.isHeritageClause(N.parent)&&N.parent.token===117?E.Diagnostics.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:N.parent.parent.name?E.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:E.Diagnostics.extends_clause_of_exported_class_has_or_is_using_private_name_0}else{R=E.Diagnostics.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1}return{diagnosticMessage:R,errorNode:N,typeName:E.getNameOfDeclaration(N.parent.parent)}}function getImportEntityNameVisibilityError(){return{diagnosticMessage:E.Diagnostics.Import_declaration_0_is_using_private_name_1,errorNode:N,typeName:N.name}}function getTypeAliasDeclarationVisibilityError(R){return{diagnosticMessage:R.errorModuleName?E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:E.Diagnostics.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:E.isJSDocTypeAlias(N)?E.Debug.checkDefined(N.typeExpression):N.type,typeName:E.isJSDocTypeAlias(N)?E.getNameOfDeclaration(N):N.name}}}E.createGetSymbolAccessibilityDiagnosticForNode=createGetSymbolAccessibilityDiagnosticForNode})(ce||(ce={}));var ce;(function(E){function getDeclarationDiagnostics(N,R,j){var $=N.getCompilerOptions();var q=E.transformNodes(R,N,E.factory,$,j?[j]:E.filter(N.getSourceFiles(),E.isSourceFileNotJson),[transformDeclarations],false);return q.diagnostics}E.getDeclarationDiagnostics=getDeclarationDiagnostics;function hasInternalAnnotation(N,R){var j=R.text.substring(N.pos,N.end);return E.stringContains(j,"@internal")}function isInternalDeclaration(N,R){var j=E.getParseTreeNode(N);if(j&&j.kind===162){var $=j.parent.parameters.indexOf(j);var q=$>0?j.parent.parameters[$-1]:undefined;var G=R.text;var ie=q?E.concatenate(E.getTrailingCommentRanges(G,E.skipTrivia(G,q.end+1,false,true)),E.getLeadingCommentRanges(G,N.pos)):E.getTrailingCommentRanges(G,E.skipTrivia(G,N.pos,false,true));return ie&&ie.length&&hasInternalAnnotation(E.last(ie),R)}var ae=j&&E.getLeadingCommentRangesOfNode(j,R);return!!E.forEach(ae,(function(E){return hasInternalAnnotation(E,R)}))}E.isInternalDeclaration=isInternalDeclaration;var N=1024|2048|4096|8|524288|4|1;function transformDeclarations(R){var throwDiagnostic=function(){return E.Debug.fail("Diagnostic emitted without context")};var $=throwDiagnostic;var q=true;var G=false;var ie=false;var ae=false;var ce=false;var le;var _e;var Ee;var Te;var we;var Ie;var Ne=R.factory;var Me=R.getEmitHost();var Le={trackSymbol:trackSymbol,reportInaccessibleThisError:reportInaccessibleThisError,reportInaccessibleUniqueSymbolError:reportInaccessibleUniqueSymbolError,reportCyclicStructureError:reportCyclicStructureError,reportPrivateInBaseOfClassExpression:reportPrivateInBaseOfClassExpression,reportLikelyUnsafeImportRequiredError:reportLikelyUnsafeImportRequiredError,reportTruncationError:reportTruncationError,moduleResolverHost:Me,trackReferencedAmbientModule:trackReferencedAmbientModule,trackExternalModuleSymbolOfImportTypeNode:trackExternalModuleSymbolOfImportTypeNode,reportNonlocalAugmentation:reportNonlocalAugmentation,reportNonSerializableProperty:reportNonSerializableProperty};var Be;var je;var Ue;var ze;var We;var Je;var Ve=R.getEmitResolver();var qe=R.getCompilerOptions();var He=qe.noResolve,Ge=qe.stripInternal;return transformRoot;function recordTypeReferenceDirectivesIfNecessary(N){if(!N){return}_e=_e||new E.Set;for(var R=0,j=N;R0?E.parameters[0].type:undefined}}function canHaveLiteralInitializer(N){switch(N.kind){case 165:case 164:return!E.hasEffectiveModifier(N,8);case 162:case 252:return true}return false}function isPreservedDeclarationStatement(E){switch(E.kind){case 254:case 259:case 263:case 256:case 255:case 257:case 258:case 235:case 264:case 270:case 269:return true}return false}function isProcessedComponent(E){switch(E.kind){case 173:case 169:case 167:case 170:case 171:case 165:case 164:case 166:case 172:case 174:case 252:case 161:case 226:case 176:case 187:case 177:case 178:case 198:return true}return false}})(ce||(ce={}));var ce;(function(E){function getModuleTransformer(N){switch(N){case E.ModuleKind.ESNext:case E.ModuleKind.ES2020:case E.ModuleKind.ES2015:return E.transformECMAScriptModule;case E.ModuleKind.System:return E.transformSystemModule;default:return E.transformModule}}var N;(function(E){E[E["Uninitialized"]=0]="Uninitialized";E[E["Initialized"]=1]="Initialized";E[E["Completed"]=2]="Completed";E[E["Disposed"]=3]="Disposed"})(N||(N={}));var R;(function(E){E[E["Substitution"]=1]="Substitution";E[E["EmitNotifications"]=2]="EmitNotifications"})(R||(R={}));E.noTransformers={scriptTransformers:E.emptyArray,declarationTransformers:E.emptyArray};function getTransformers(E,N,R){return{scriptTransformers:getScriptTransformers(E,N,R),declarationTransformers:getDeclarationTransformers(N)}}E.getTransformers=getTransformers;function getScriptTransformers(N,R,j){if(j)return E.emptyArray;var $=E.getEmitScriptTarget(N);var q=E.getEmitModuleKind(N);var G=[];E.addRange(G,R&&E.map(R.before,wrapScriptTransformerFactory));G.push(E.transformTypeScript);G.push(E.transformClassFields);if(E.getJSXTransformEnabled(N)){G.push(E.transformJsx)}if($<99){G.push(E.transformESNext)}if($<8){G.push(E.transformES2021)}if($<7){G.push(E.transformES2020)}if($<6){G.push(E.transformES2019)}if($<5){G.push(E.transformES2018)}if($<4){G.push(E.transformES2017)}if($<3){G.push(E.transformES2016)}if($<2){G.push(E.transformES2015);G.push(E.transformGenerators)}G.push(getModuleTransformer(q));if($<1){G.push(E.transformES5)}E.addRange(G,R&&E.map(R.after,wrapScriptTransformerFactory));return G}function getDeclarationTransformers(N){var R=[];R.push(E.transformDeclarations);E.addRange(R,N&&E.map(N.afterDeclarations,wrapDeclarationTransformerFactory));return R}function wrapCustomTransformer(N){return function(R){return E.isBundle(R)?N.transformBundle(R):N.transformSourceFile(R)}}function wrapCustomTransformerFactory(E,N){return function(R){var j=E(R);return typeof j==="function"?N(R,j):wrapCustomTransformer(j)}}function wrapScriptTransformerFactory(N){return wrapCustomTransformerFactory(N,E.chainBundle)}function wrapDeclarationTransformerFactory(E){return wrapCustomTransformerFactory(E,(function(E,N){return N}))}function noEmitSubstitution(E,N){return N}E.noEmitSubstitution=noEmitSubstitution;function noEmitNotification(E,N,R){R(E,N)}E.noEmitNotification=noEmitNotification;function transformNodes(N,R,$,q,G,ie,ae){var ce=new Array(350);var le;var _e;var Ee;var Te=0;var we=[];var Ie=[];var Ne=[];var Me=[];var Le=0;var Be=false;var je=[];var Ue=0;var ze;var We;var Je=noEmitSubstitution;var Ve=noEmitNotification;var qe=0;var He=[];var Ge={factory:$,getCompilerOptions:function(){return q},getEmitResolver:function(){return N},getEmitHost:function(){return R},getEmitHelperFactory:E.memoize((function(){return E.createEmitHelperFactory(Ge)})),startLexicalEnvironment:startLexicalEnvironment,suspendLexicalEnvironment:suspendLexicalEnvironment,resumeLexicalEnvironment:resumeLexicalEnvironment,endLexicalEnvironment:endLexicalEnvironment,setLexicalEnvironmentFlags:setLexicalEnvironmentFlags,getLexicalEnvironmentFlags:getLexicalEnvironmentFlags,hoistVariableDeclaration:hoistVariableDeclaration,hoistFunctionDeclaration:hoistFunctionDeclaration,addInitializationStatement:addInitializationStatement,startBlockScope:startBlockScope,endBlockScope:endBlockScope,addBlockScopedVariable:addBlockScopedVariable,requestEmitHelper:requestEmitHelper,readEmitHelpers:readEmitHelpers,enableSubstitution:enableSubstitution,enableEmitNotification:enableEmitNotification,isSubstitutionEnabled:isSubstitutionEnabled,isEmitNotificationEnabled:isEmitNotificationEnabled,get onSubstituteNode(){return Je},set onSubstituteNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Je=N},get onEmitNode(){return Ve},set onEmitNode(N){E.Debug.assert(qe<1,"Cannot modify transformation hooks after initialization has completed.");E.Debug.assert(N!==undefined,"Value must not be 'undefined'");Ve=N},addDiagnostic:function(E){He.push(E)}};for(var Ke=0,Qe=G;Ke0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");var R=E.setEmitFlags($.createVariableDeclaration(N),64);if(!le){le=[R]}else{le.push(R)}if(Te&1){Te|=2}}function hoistFunctionDeclaration(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!_e){_e=[N]}else{_e.push(N)}}function addInitializationStatement(N){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.setEmitFlags(N,1048576);if(!Ee){Ee=[N]}else{Ee.push(N)}}function startLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");we[Le]=le;Ie[Le]=_e;Ne[Le]=Ee;Me[Le]=Te;Le++;le=undefined;_e=undefined;Ee=undefined;Te=0}function suspendLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is already suspended.");Be=true}function resumeLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(Be,"Lexical environment is not suspended.");Be=false}function endLexicalEnvironment(){E.Debug.assert(qe>0,"Cannot modify the lexical environment during initialization.");E.Debug.assert(qe<2,"Cannot modify the lexical environment after transformation has completed.");E.Debug.assert(!Be,"Lexical environment is suspended.");var N;if(le||_e||Ee){if(_e){N=j([],_e,true)}if(le){var R=$.createVariableStatement(undefined,$.createVariableDeclarationList(le));E.setEmitFlags(R,1048576);if(!N){N=[R]}else{N.push(R)}}if(Ee){if(!N){N=j([],Ee,true)}else{N=j(j([],N,true),Ee,true)}}}Le--;le=we[Le];_e=Ie[Le];Ee=Ne[Le];Te=Me[Le];if(Le===0){we=[];Ie=[];Ne=[];Me=[]}return N}function setLexicalEnvironmentFlags(E,N){Te=N?Te|E:Te&~E}function getLexicalEnvironmentFlags(){return Te}function startBlockScope(){E.Debug.assert(qe>0,"Cannot start a block scope during initialization.");E.Debug.assert(qe<2,"Cannot start a block scope after transformation has completed.");je[Ue]=ze;Ue++;ze=undefined}function endBlockScope(){E.Debug.assert(qe>0,"Cannot end a block scope during initialization.");E.Debug.assert(qe<2,"Cannot end a block scope after transformation has completed.");var N=E.some(ze)?[$.createVariableStatement(undefined,$.createVariableDeclarationList(ze.map((function(E){return $.createVariableDeclaration(E)})),1))]:undefined;Ue--;ze=je[Ue];if(Ue===0){je=[]}return N}function addBlockScopedVariable(N){E.Debug.assert(Ue>0,"Cannot add a block scoped variable outside of an iteration body.");(ze||(ze=[])).push(N)}function requestEmitHelper(N){E.Debug.assert(qe>0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");E.Debug.assert(!N.scoped,"Cannot request a scoped emit helper.");if(N.dependencies){for(var R=0,j=N.dependencies;R0,"Cannot modify the transformation context during initialization.");E.Debug.assert(qe<2,"Cannot modify the transformation context after transformation has completed.");var N=We;We=undefined;return N}function dispose(){if(qe<3){for(var N=0,R=G;N");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitJSDocFunctionType(E){writeKeyword("function");emitParameters(E,E.parameters);writePunctuation(":");emit(E.type)}function emitJSDocNullableType(E){writePunctuation("?");emit(E.type)}function emitJSDocNonNullableType(E){writePunctuation("!");emit(E.type)}function emitJSDocOptionalType(E){emit(E.type);writePunctuation("=")}function emitConstructorType(E){pushNameGenerationScope(E);emitModifiers(E,E.modifiers);writeKeyword("new");writeSpace();emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);writeSpace();writePunctuation("=>");writeSpace();emit(E.type);popNameGenerationScope(E)}function emitTypeQuery(E){writeKeyword("typeof");writeSpace();emit(E.exprName)}function emitTypeLiteral(N){writePunctuation("{");var R=E.getEmitFlags(N)&1?768:32897;emitList(N,N.members,R|524288);writePunctuation("}")}function emitArrayType(E){emit(E.elementType,kt.parenthesizeElementTypeOfArrayType);writePunctuation("[");writePunctuation("]")}function emitRestOrJSDocVariadicType(E){writePunctuation("...");emit(E.type)}function emitTupleType(N){emitTokenWithComment(22,N.pos,writePunctuation,N);var R=E.getEmitFlags(N)&1?528:657;emitList(N,N.elements,R|524288);emitTokenWithComment(23,N.elements.end,writePunctuation,N)}function emitNamedTupleMember(E){emit(E.dotDotDotToken);emit(E.name);emit(E.questionToken);emitTokenWithComment(58,E.name.end,writePunctuation,E);writeSpace();emit(E.type)}function emitOptionalType(E){emit(E.type,kt.parenthesizeElementTypeOfArrayType);writePunctuation("?")}function emitUnionType(E){emitList(E,E.types,516,kt.parenthesizeMemberOfElementType)}function emitIntersectionType(E){emitList(E,E.types,520,kt.parenthesizeMemberOfElementType)}function emitConditionalType(E){emit(E.checkType,kt.parenthesizeMemberOfConditionalType);writeSpace();writeKeyword("extends");writeSpace();emit(E.extendsType,kt.parenthesizeMemberOfConditionalType);writeSpace();writePunctuation("?");writeSpace();emit(E.trueType);writeSpace();writePunctuation(":");writeSpace();emit(E.falseType)}function emitInferType(E){writeKeyword("infer");writeSpace();emit(E.typeParameter)}function emitParenthesizedType(E){writePunctuation("(");emit(E.type);writePunctuation(")")}function emitThisType(){writeKeyword("this")}function emitTypeOperator(E){writeTokenText(E.operator,writeKeyword);writeSpace();emit(E.type,kt.parenthesizeMemberOfElementType)}function emitIndexedAccessType(E){emit(E.objectType,kt.parenthesizeMemberOfElementType);writePunctuation("[");emit(E.indexType);writePunctuation("]")}function emitMappedType(N){var R=E.getEmitFlags(N);writePunctuation("{");if(R&1){writeSpace()}else{writeLine();increaseIndent()}if(N.readonlyToken){emit(N.readonlyToken);if(N.readonlyToken.kind!==143){writeKeyword("readonly")}writeSpace()}writePunctuation("[");pipelineEmit(3,N.typeParameter);if(N.nameType){writeSpace();writeKeyword("as");writeSpace();emit(N.nameType)}writePunctuation("]");if(N.questionToken){emit(N.questionToken);if(N.questionToken.kind!==57){writePunctuation("?")}}writePunctuation(":");writeSpace();emit(N.type);writeTrailingSemicolon();if(R&1){writeSpace()}else{writeLine();decreaseIndent()}writePunctuation("}")}function emitLiteralType(E){emitExpression(E.literal)}function emitTemplateType(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitImportTypeNode(E){if(E.isTypeOf){writeKeyword("typeof");writeSpace()}writeKeyword("import");writePunctuation("(");emit(E.argument);writePunctuation(")");if(E.qualifier){writePunctuation(".");emit(E.qualifier)}emitTypeArguments(E,E.typeArguments)}function emitObjectBindingPattern(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitArrayBindingPattern(E){writePunctuation("[");emitList(E,E.elements,524880);writePunctuation("]")}function emitBindingElement(E){emit(E.dotDotDotToken);if(E.propertyName){emit(E.propertyName);writePunctuation(":");writeSpace()}emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitArrayLiteralExpression(E){var N=E.elements;var R=E.multiLine?65536:0;emitExpressionList(E,N,8914|R,kt.parenthesizeExpressionForDisallowedComma)}function emitObjectLiteralExpression(N){E.forEach(N.properties,generateMemberNames);var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}var j=N.multiLine?65536:0;var $=Be.languageVersion>=1&&!E.isJsonSourceFile(Be)?64:0;emitList(N,N.properties,526226|$|j);if(R){decreaseIndent()}}function emitPropertyAccessExpression(N){emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);var R=N.questionDotToken||E.setTextRangePosEnd(E.factory.createToken(24),N.expression.end,N.name.pos);var j=getLinesBetweenNodes(N,N.expression,R);var $=getLinesBetweenNodes(N,R,N.name);writeLinesAndIndent(j,false);var q=R.kind!==28&&mayNeedDotDotForPropertyAccess(N.expression)&&!Ke.hasTrailingComment()&&!Ke.hasTrailingWhitespace();if(q){writePunctuation(".")}if(N.questionDotToken){emit(R)}else{emitTokenWithComment(R.kind,N.expression.end,writePunctuation,N)}writeLinesAndIndent($,false);emit(N.name);decreaseIndentIf(j,$)}function mayNeedDotDotForPropertyAccess(N){N=E.skipPartiallyEmittedExpressions(N);if(E.isNumericLiteral(N)){var R=getLiteralTextOfNode(N,true,false);return!N.numericLiteralFlags&&!E.stringContains(R,E.tokenToString(24))}else if(E.isAccessExpression(N)){var j=E.getConstantValue(N);return typeof j==="number"&&isFinite(j)&&Math.floor(j)===j}}function emitElementAccessExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emit(E.questionDotToken);emitTokenWithComment(22,E.expression.end,writePunctuation,E);emitExpression(E.argumentExpression);emitTokenWithComment(23,E.argumentExpression.end,writePunctuation,E)}function emitCallExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.expression,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emit(N.questionDotToken);emitTypeArguments(N,N.typeArguments);emitExpressionList(N,N.arguments,2576,kt.parenthesizeExpressionForDisallowedComma)}function emitNewExpression(E){emitTokenWithComment(103,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionOfNew);emitTypeArguments(E,E.typeArguments);emitExpressionList(E,E.arguments,18960,kt.parenthesizeExpressionForDisallowedComma)}function emitTaggedTemplateExpression(N){var R=E.getEmitFlags(N)&536870912;if(R){writePunctuation("(");writeLiteral("0");writePunctuation(",");writeSpace()}emitExpression(N.tag,kt.parenthesizeLeftSideOfAccess);if(R){writePunctuation(")")}emitTypeArguments(N,N.typeArguments);writeSpace();emitExpression(N.template)}function emitTypeAssertionExpression(E){writePunctuation("<");emit(E.type);writePunctuation(">");emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitParenthesizedExpression(E){var N=emitTokenWithComment(20,E.pos,writePunctuation,E);var R=writeLineSeparatorsAndIndentBefore(E.expression,E);emitExpression(E.expression,undefined);writeLineSeparatorsAfter(E.expression,E);decreaseIndentIf(R);emitTokenWithComment(21,E.expression?E.expression.end:N,writePunctuation,E)}function emitFunctionExpression(E){generateNameIfNeeded(E.name);emitFunctionDeclarationOrExpression(E)}function emitArrowFunction(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);emitSignatureAndBody(E,emitArrowFunctionHead)}function emitArrowFunctionHead(E){emitTypeParameters(E,E.typeParameters);emitParametersForArrow(E,E.parameters);emitTypeAnnotation(E.type);writeSpace();emit(E.equalsGreaterThanToken)}function emitDeleteExpression(E){emitTokenWithComment(89,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitTypeOfExpression(E){emitTokenWithComment(112,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitVoidExpression(E){emitTokenWithComment(114,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitAwaitExpression(E){emitTokenWithComment(131,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeOperandOfPrefixUnary)}function emitPrefixUnaryExpression(E){writeTokenText(E.operator,writeOperator);if(shouldEmitWhitespaceBeforeOperand(E)){writeSpace()}emitExpression(E.operand,kt.parenthesizeOperandOfPrefixUnary)}function shouldEmitWhitespaceBeforeOperand(E){var N=E.operand;return N.kind===217&&(E.operator===39&&(N.operator===39||N.operator===45)||E.operator===40&&(N.operator===40||N.operator===46))}function emitPostfixUnaryExpression(E){emitExpression(E.operand,kt.parenthesizeOperandOfPostfixUnary);writeTokenText(E.operator,writeOperator)}function createEmitBinaryExpression(){return E.createBinaryExpressionTrampoline(onEnter,onLeft,onOperator,onRight,onExit,undefined);function onEnter(E,N){if(N){N.stackIndex++;N.preserveSourceNewlinesStack[N.stackIndex]=He;N.containerPosStack[N.stackIndex]=pt;N.containerEndStack[N.stackIndex]=ft;N.declarationListContainerEndStack[N.stackIndex]=mt;var R=N.shouldEmitCommentsStack[N.stackIndex]=shouldEmitComments(E);var j=N.shouldEmitSourceMapsStack[N.stackIndex]=shouldEmitSourceMaps(E);ce===null||ce===void 0?void 0:ce(E);if(R)emitCommentsBeforeNode(E);if(j)emitSourceMapsBeforeNode(E);beforeEmitNode(E)}else{N={stackIndex:0,preserveSourceNewlinesStack:[undefined],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[false],shouldEmitSourceMapsStack:[false]}}return N}function onLeft(E,N,R){return maybeEmitExpression(E,R,"left")}function onOperator(E,N,R){var j=E.kind!==27;var $=getLinesBetweenNodes(R,R.left,E);var q=getLinesBetweenNodes(R,E,R.right);writeLinesAndIndent($,j);emitLeadingCommentsOfPosition(E.pos);writeTokenNode(E,E.kind===101?writeKeyword:writeOperator);emitTrailingCommentsOfPosition(E.end,true);writeLinesAndIndent(q,true)}function onRight(E,N,R){return maybeEmitExpression(E,R,"right")}function onExit(E,N){var R=getLinesBetweenNodes(E,E.left,E.operatorToken);var j=getLinesBetweenNodes(E,E.operatorToken,E.right);decreaseIndentIf(R,j);if(N.stackIndex>0){var $=N.preserveSourceNewlinesStack[N.stackIndex];var q=N.containerPosStack[N.stackIndex];var G=N.containerEndStack[N.stackIndex];var ie=N.declarationListContainerEndStack[N.stackIndex];var ae=N.shouldEmitCommentsStack[N.stackIndex];var ce=N.shouldEmitSourceMapsStack[N.stackIndex];afterEmitNode($);if(ce)emitSourceMapsAfterNode(E);if(ae)emitCommentsAfterNode(E,q,G,ie);le===null||le===void 0?void 0:le(E);N.stackIndex--}}function maybeEmitExpression(N,R,j){var $=j==="left"?kt.getParenthesizeLeftSideOfBinaryForOperator(R.operatorToken.kind):kt.getParenthesizeRightSideOfBinaryForOperator(R.operatorToken.kind);var q=getPipelinePhase(0,1,N);if(q===pipelineEmitWithSubstitution){E.Debug.assertIsDefined(bt);N=$(E.cast(bt,E.isExpression));q=getNextPipelinePhase(1,1,N);bt=undefined}if(q===pipelineEmitWithComments||q===pipelineEmitWithSourceMaps||q===pipelineEmitWithHint){if(E.isBinaryExpression(N)){return N}}xt=$;q(1,N)}}function emitConditionalExpression(E){var N=getLinesBetweenNodes(E,E.condition,E.questionToken);var R=getLinesBetweenNodes(E,E.questionToken,E.whenTrue);var j=getLinesBetweenNodes(E,E.whenTrue,E.colonToken);var $=getLinesBetweenNodes(E,E.colonToken,E.whenFalse);emitExpression(E.condition,kt.parenthesizeConditionOfConditionalExpression);writeLinesAndIndent(N,true);emit(E.questionToken);writeLinesAndIndent(R,true);emitExpression(E.whenTrue,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(N,R);writeLinesAndIndent(j,true);emit(E.colonToken);writeLinesAndIndent($,true);emitExpression(E.whenFalse,kt.parenthesizeBranchOfConditionalExpression);decreaseIndentIf(j,$)}function emitTemplateExpression(E){emit(E.head);emitList(E,E.templateSpans,262144)}function emitYieldExpression(E){emitTokenWithComment(125,E.pos,writeKeyword,E);emit(E.asteriskToken);emitExpressionWithLeadingSpace(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitSpreadElement(E){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}function emitClassExpression(E){generateNameIfNeeded(E.name);emitClassDeclarationOrExpression(E)}function emitExpressionWithTypeArguments(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);emitTypeArguments(E,E.typeArguments)}function emitAsExpression(E){emitExpression(E.expression,undefined);if(E.type){writeSpace();writeKeyword("as");writeSpace();emit(E.type)}}function emitNonNullExpression(E){emitExpression(E.expression,kt.parenthesizeLeftSideOfAccess);writeOperator("!")}function emitMetaProperty(E){writeToken(E.keywordToken,E.pos,writePunctuation);writePunctuation(".");emit(E.name)}function emitTemplateSpan(E){emitExpression(E.expression);emit(E.literal)}function emitBlock(E){emitBlockStatements(E,!E.multiLine&&isEmptyBlock(E))}function emitBlockStatements(N,R){emitTokenWithComment(18,N.pos,writePunctuation,N);var j=R||E.getEmitFlags(N)&1?768:129;emitList(N,N.statements,j);emitTokenWithComment(19,N.statements.end,writePunctuation,N,!!(j&1))}function emitVariableStatement(E){emitModifiers(E,E.modifiers);emit(E.declarationList);writeTrailingSemicolon()}function emitEmptyStatement(E){if(E){writePunctuation(";")}else{writeTrailingSemicolon()}}function emitExpressionStatement(N){emitExpression(N.expression,kt.parenthesizeExpressionOfExpressionStatement);if(!E.isJsonSourceFile(Be)||E.nodeIsSynthesized(N.expression)){writeTrailingSemicolon()}}function emitIfStatement(E){var N=emitTokenWithComment(99,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.thenStatement);if(E.elseStatement){writeLineOrSpace(E,E.thenStatement,E.elseStatement);emitTokenWithComment(91,E.thenStatement.end,writeKeyword,E);if(E.elseStatement.kind===237){writeSpace();emit(E.elseStatement)}else{emitEmbeddedStatement(E,E.elseStatement)}}}function emitWhileClause(E,N){var R=emitTokenWithComment(115,N,writeKeyword,E);writeSpace();emitTokenWithComment(20,R,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E)}function emitDoStatement(N){emitTokenWithComment(90,N.pos,writeKeyword,N);emitEmbeddedStatement(N,N.statement);if(E.isBlock(N.statement)&&!He){writeSpace()}else{writeLineOrSpace(N,N.statement,N.expression)}emitWhileClause(N,N.statement.end);writeTrailingSemicolon()}function emitWhileStatement(E){emitWhileClause(E,E.pos);emitEmbeddedStatement(E,E.statement)}function emitForStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();var R=emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);R=emitTokenWithComment(26,E.initializer?E.initializer.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.condition);R=emitTokenWithComment(26,E.condition?E.condition.end:R,writePunctuation,E);emitExpressionWithLeadingSpace(E.incrementor);emitTokenWithComment(21,E.incrementor?E.incrementor.end:R,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForInStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(101,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForOfStatement(E){var N=emitTokenWithComment(97,E.pos,writeKeyword,E);writeSpace();emitWithTrailingSpace(E.awaitModifier);emitTokenWithComment(20,N,writePunctuation,E);emitForBinding(E.initializer);writeSpace();emitTokenWithComment(158,E.initializer.end,writeKeyword,E);writeSpace();emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitForBinding(E){if(E!==undefined){if(E.kind===253){emit(E)}else{emitExpression(E)}}}function emitContinueStatement(E){emitTokenWithComment(86,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitBreakStatement(E){emitTokenWithComment(81,E.pos,writeKeyword,E);emitWithLeadingSpace(E.label);writeTrailingSemicolon()}function emitTokenWithComment(N,R,j,$,q){var G=E.getParseTreeNode($);var ie=G&&G.kind===$.kind;var ae=R;if(ie&&Be){R=E.skipTrivia(Be.text,R)}if(ie&&$.pos!==ae){var ce=q&&Be&&!E.positionsAreOnSameLine(ae,R,Be);if(ce){increaseIndent()}emitLeadingCommentsOfPosition(ae);if(ce){decreaseIndent()}}R=writeTokenText(N,j,R);if(ie&&$.end!==R){var le=$.kind===286;emitTrailingCommentsOfPosition(R,!le,le)}return R}function emitReturnStatement(E){emitTokenWithComment(105,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitWithStatement(E){var N=emitTokenWithComment(116,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);emitEmbeddedStatement(E,E.statement)}function emitSwitchStatement(E){var N=emitTokenWithComment(107,E.pos,writeKeyword,E);writeSpace();emitTokenWithComment(20,N,writePunctuation,E);emitExpression(E.expression);emitTokenWithComment(21,E.expression.end,writePunctuation,E);writeSpace();emit(E.caseBlock)}function emitLabeledStatement(E){emit(E.label);emitTokenWithComment(58,E.label.end,writePunctuation,E);writeSpace();emit(E.statement)}function emitThrowStatement(E){emitTokenWithComment(109,E.pos,writeKeyword,E);emitExpressionWithLeadingSpace(E.expression);writeTrailingSemicolon()}function emitTryStatement(E){emitTokenWithComment(111,E.pos,writeKeyword,E);writeSpace();emit(E.tryBlock);if(E.catchClause){writeLineOrSpace(E,E.tryBlock,E.catchClause);emit(E.catchClause)}if(E.finallyBlock){writeLineOrSpace(E,E.catchClause||E.tryBlock,E.finallyBlock);emitTokenWithComment(96,(E.catchClause||E.tryBlock).end,writeKeyword,E);writeSpace();emit(E.finallyBlock)}}function emitDebuggerStatement(E){writeToken(87,E.pos,writeKeyword);writeTrailingSemicolon()}function emitVariableDeclaration(E){emit(E.name);emit(E.exclamationToken);emitTypeAnnotation(E.type);emitInitializer(E.initializer,E.type?E.type.end:E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitVariableDeclarationList(N){writeKeyword(E.isLet(N)?"let":E.isVarConst(N)?"const":"var");writeSpace();emitList(N,N.declarations,528)}function emitFunctionDeclaration(E){emitFunctionDeclarationOrExpression(E)}function emitFunctionDeclarationOrExpression(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("function");emit(E.asteriskToken);writeSpace();emitIdentifierName(E.name);emitSignatureAndBody(E,emitSignatureHead)}function emitSignatureAndBody(N,R){var j=N.body;if(j){if(E.isBlock(j)){var $=E.getEmitFlags(N)&65536;if($){increaseIndent()}pushNameGenerationScope(N);E.forEach(N.parameters,generateNames);generateNames(N.body);R(N);emitBlockFunctionBody(j);popNameGenerationScope(N);if($){decreaseIndent()}}else{R(N);writeSpace();emitExpression(j,kt.parenthesizeConciseBodyOfArrowFunction)}}else{R(N);writeTrailingSemicolon()}}function emitSignatureHead(E){emitTypeParameters(E,E.typeParameters);emitParameters(E,E.parameters);emitTypeAnnotation(E.type)}function shouldEmitBlockFunctionBodyOnSingleLine(N){if(E.getEmitFlags(N)&1){return true}if(N.multiLine){return false}if(!E.nodeIsSynthesized(N)&&!E.rangeIsOnSingleLine(N,Be)){return false}if(getLeadingLineTerminatorCount(N,N.statements,2)||getClosingLineTerminatorCount(N,N.statements,2)){return false}var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(getSeparatingLineTerminatorCount(R,q,2)>0){return false}R=q}return true}function emitBlockFunctionBody(E){ce===null||ce===void 0?void 0:ce(E);writeSpace();writePunctuation("{");increaseIndent();var N=shouldEmitBlockFunctionBodyOnSingleLine(E)?emitBlockFunctionBodyOnSingleLine:emitBlockFunctionBodyWorker;if(emitBodyWithDetachedComments){emitBodyWithDetachedComments(E,E.statements,N)}else{N(E)}decreaseIndent();writeToken(19,E.statements.end,writePunctuation,E);le===null||le===void 0?void 0:le(E)}function emitBlockFunctionBodyOnSingleLine(E){emitBlockFunctionBodyWorker(E,true)}function emitBlockFunctionBodyWorker(E,N){var R=emitPrologueDirectives(E.statements);var j=Ke.getTextPos();emitHelpers(E);if(R===0&&j===Ke.getTextPos()&&N){decreaseIndent();emitList(E,E.statements,768);increaseIndent()}else{emitList(E,E.statements,1,undefined,R)}}function emitClassDeclaration(E){emitClassDeclarationOrExpression(E)}function emitClassDeclarationOrExpression(N){E.forEach(N.members,generateMemberNames);emitDecorators(N,N.decorators);emitModifiers(N,N.modifiers);writeKeyword("class");if(N.name){writeSpace();emitIdentifierName(N.name)}var R=E.getEmitFlags(N)&65536;if(R){increaseIndent()}emitTypeParameters(N,N.typeParameters);emitList(N,N.heritageClauses,0);writeSpace();writePunctuation("{");emitList(N,N.members,129);writePunctuation("}");if(R){decreaseIndent()}}function emitInterfaceDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("interface");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);emitList(E,E.heritageClauses,512);writeSpace();writePunctuation("{");emitList(E,E.members,129);writePunctuation("}")}function emitTypeAliasDeclaration(E){emitDecorators(E,E.decorators);emitModifiers(E,E.modifiers);writeKeyword("type");writeSpace();emit(E.name);emitTypeParameters(E,E.typeParameters);writeSpace();writePunctuation("=");writeSpace();emit(E.type);writeTrailingSemicolon()}function emitEnumDeclaration(E){emitModifiers(E,E.modifiers);writeKeyword("enum");writeSpace();emit(E.name);writeSpace();writePunctuation("{");emitList(E,E.members,145);writePunctuation("}")}function emitModuleDeclaration(N){emitModifiers(N,N.modifiers);if(~N.flags&1024){writeKeyword(N.flags&16?"namespace":"module");writeSpace()}emit(N.name);var R=N.body;if(!R)return writeTrailingSemicolon();while(R&&E.isModuleDeclaration(R)){writePunctuation(".");emit(R.name);R=R.body}writeSpace();emit(R)}function emitModuleBlock(N){pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitBlockStatements(N,isEmptyBlock(N));popNameGenerationScope(N)}function emitCaseBlock(E){emitTokenWithComment(18,E.pos,writePunctuation,E);emitList(E,E.clauses,129);emitTokenWithComment(19,E.clauses.end,writePunctuation,E,true)}function emitImportEqualsDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);writeSpace();emitTokenWithComment(63,E.name.end,writePunctuation,E);writeSpace();emitModuleReference(E.moduleReference);writeTrailingSemicolon()}function emitModuleReference(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitImportDeclaration(E){emitModifiers(E,E.modifiers);emitTokenWithComment(100,E.modifiers?E.modifiers.end:E.pos,writeKeyword,E);writeSpace();if(E.importClause){emit(E.importClause);writeSpace();emitTokenWithComment(154,E.importClause.end,writeKeyword,E);writeSpace()}emitExpression(E.moduleSpecifier);writeTrailingSemicolon()}function emitImportClause(E){if(E.isTypeOnly){emitTokenWithComment(150,E.pos,writeKeyword,E);writeSpace()}emit(E.name);if(E.name&&E.namedBindings){emitTokenWithComment(27,E.name.end,writePunctuation,E);writeSpace()}emit(E.namedBindings)}function emitNamespaceImport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedImports(E){emitNamedImportsOrExports(E)}function emitImportSpecifier(E){emitImportOrExportSpecifier(E)}function emitExportAssignment(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isExportEquals){emitTokenWithComment(63,N,writeOperator,E)}else{emitTokenWithComment(88,N,writeKeyword,E)}writeSpace();emitExpression(E.expression,E.isExportEquals?kt.getParenthesizeRightSideOfBinaryForOperator(63):kt.parenthesizeExpressionOfExportDefault);writeTrailingSemicolon()}function emitExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();if(E.isTypeOnly){N=emitTokenWithComment(150,N,writeKeyword,E);writeSpace()}if(E.exportClause){emit(E.exportClause)}else{N=emitTokenWithComment(41,N,writePunctuation,E)}if(E.moduleSpecifier){writeSpace();var R=E.exportClause?E.exportClause.end:N;emitTokenWithComment(154,R,writeKeyword,E);writeSpace();emitExpression(E.moduleSpecifier)}writeTrailingSemicolon()}function emitNamespaceExportDeclaration(E){var N=emitTokenWithComment(93,E.pos,writeKeyword,E);writeSpace();N=emitTokenWithComment(127,N,writeKeyword,E);writeSpace();N=emitTokenWithComment(141,N,writeKeyword,E);writeSpace();emit(E.name);writeTrailingSemicolon()}function emitNamespaceExport(E){var N=emitTokenWithComment(41,E.pos,writePunctuation,E);writeSpace();emitTokenWithComment(127,N,writeKeyword,E);writeSpace();emit(E.name)}function emitNamedExports(E){emitNamedImportsOrExports(E)}function emitExportSpecifier(E){emitImportOrExportSpecifier(E)}function emitNamedImportsOrExports(E){writePunctuation("{");emitList(E,E.elements,525136);writePunctuation("}")}function emitImportOrExportSpecifier(E){if(E.propertyName){emit(E.propertyName);writeSpace();emitTokenWithComment(127,E.propertyName.end,writeKeyword,E);writeSpace()}emit(E.name)}function emitExternalModuleReference(E){writeKeyword("require");writePunctuation("(");emitExpression(E.expression);writePunctuation(")")}function emitJsxElement(E){emit(E.openingElement);emitList(E,E.children,262144);emit(E.closingElement)}function emitJsxSelfClosingElement(E){writePunctuation("<");emitJsxTagName(E.tagName);emitTypeArguments(E,E.typeArguments);writeSpace();emit(E.attributes);writePunctuation("/>")}function emitJsxFragment(E){emit(E.openingFragment);emitList(E,E.children,262144);emit(E.closingFragment)}function emitJsxOpeningElementOrFragment(N){writePunctuation("<");if(E.isJsxOpeningElement(N)){var R=writeLineSeparatorsAndIndentBefore(N.tagName,N);emitJsxTagName(N.tagName);emitTypeArguments(N,N.typeArguments);if(N.attributes.properties&&N.attributes.properties.length>0){writeSpace()}emit(N.attributes);writeLineSeparatorsAfter(N.attributes,N);decreaseIndentIf(R)}writePunctuation(">")}function emitJsxText(E){Ke.writeLiteral(E.text)}function emitJsxClosingElementOrFragment(N){writePunctuation("")}function emitJsxAttributes(E){emitList(E,E.properties,262656)}function emitJsxAttribute(E){emit(E.name);emitNodeWithPrefix("=",writePunctuation,E.initializer,emitJsxAttributeValue)}function emitJsxSpreadAttribute(E){writePunctuation("{...");emitExpression(E.expression);writePunctuation("}")}function hasTrailingCommentsAtPosition(N){var R=false;E.forEachTrailingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasLeadingCommentsAtPosition(N){var R=false;E.forEachLeadingCommentRange((Be===null||Be===void 0?void 0:Be.text)||"",N+1,(function(){return R=true}));return R}function hasCommentsAtPosition(E){return hasTrailingCommentsAtPosition(E)||hasLeadingCommentsAtPosition(E)}function emitJsxExpression(N){var R;if(N.expression||!vt&&!E.nodeIsSynthesized(N)&&hasCommentsAtPosition(N.pos)){var j=Be&&!E.nodeIsSynthesized(N)&&E.getLineAndCharacterOfPosition(Be,N.pos).line!==E.getLineAndCharacterOfPosition(Be,N.end).line;if(j){Ke.increaseIndent()}var $=emitTokenWithComment(18,N.pos,writePunctuation,N);emit(N.dotDotDotToken);emitExpression(N.expression);emitTokenWithComment(19,((R=N.expression)===null||R===void 0?void 0:R.end)||$,writePunctuation,N);if(j){Ke.decreaseIndent()}}}function emitJsxTagName(E){if(E.kind===79){emitExpression(E)}else{emit(E)}}function emitCaseClause(E){emitTokenWithComment(82,E.pos,writeKeyword,E);writeSpace();emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma);emitCaseOrDefaultClauseRest(E,E.statements,E.expression.end)}function emitDefaultClause(E){var N=emitTokenWithComment(88,E.pos,writeKeyword,E);emitCaseOrDefaultClauseRest(E,E.statements,N)}function emitCaseOrDefaultClauseRest(N,R,j){var $=R.length===1&&(E.nodeIsSynthesized(N)||E.nodeIsSynthesized(R[0])||E.rangeStartPositionsAreOnSameLine(N,R[0],Be));var q=163969;if($){writeToken(58,j,writePunctuation,N);writeSpace();q&=~(1|128)}else{emitTokenWithComment(58,j,writePunctuation,N)}emitList(N,R,q)}function emitHeritageClause(E){writeSpace();writeTokenText(E.token,writeKeyword);writeSpace();emitList(E,E.types,528)}function emitCatchClause(E){var N=emitTokenWithComment(83,E.pos,writeKeyword,E);writeSpace();if(E.variableDeclaration){emitTokenWithComment(20,N,writePunctuation,E);emit(E.variableDeclaration);emitTokenWithComment(21,E.variableDeclaration.end,writePunctuation,E);writeSpace()}emit(E.block)}function emitPropertyAssignment(N){emit(N.name);writePunctuation(":");writeSpace();var R=N.initializer;if((E.getEmitFlags(R)&512)===0){var j=E.getCommentRange(R);emitTrailingCommentsOfPosition(j.pos)}emitExpression(R,kt.parenthesizeExpressionForDisallowedComma)}function emitShorthandPropertyAssignment(E){emit(E.name);if(E.objectAssignmentInitializer){writeSpace();writePunctuation("=");writeSpace();emitExpression(E.objectAssignmentInitializer,kt.parenthesizeExpressionForDisallowedComma)}}function emitSpreadAssignment(E){if(E.expression){emitTokenWithComment(25,E.pos,writePunctuation,E);emitExpression(E.expression,kt.parenthesizeExpressionForDisallowedComma)}}function emitEnumMember(E){emit(E.name);emitInitializer(E.initializer,E.name.end,E,kt.parenthesizeExpressionForDisallowedComma)}function emitJSDoc(N){Xe("/**");if(N.comment){var R=E.getTextOfJSDocComment(N.comment);if(R){var j=R.split(/\r\n?|\n/g);for(var $=0,q=j;$');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"no-default-lib"});writeLine()}if(Be&&Be.moduleName){writeComment('/// ');writeLine()}if(Be&&Be.amdDependencies){for(var q=0,G=Be.amdDependencies;q')}else{writeComment('/// ')}writeLine()}}for(var ae=0,ce=N;ae');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"reference",data:le.fileName});writeLine()}for(var _e=0,Ee=R;_e');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"type",data:le.fileName});writeLine()}for(var Te=0,we=j;Te');if(Ze)Ze.sections.push({pos:$,end:Ke.getTextPos(),kind:"lib",data:le.fileName});writeLine()}}function emitSourceFileWorker(N){var R=N.statements;pushNameGenerationScope(N);E.forEach(N.statements,generateNames);emitHelpers(N);var j=E.findIndex(R,(function(N){return!E.isPrologueDirective(N)}));emitTripleSlashDirectivesIfNeeded(N);emitList(N,R,1,undefined,j===-1?R.length:j);popNameGenerationScope(N)}function emitPartiallyEmittedExpression(E){emitExpression(E.expression)}function emitCommaList(E){emitExpressionList(E,E.elements,528,undefined)}function emitPrologueDirectives(N,R,j,$){var q=!!R;for(var G=0;G=j.length||ie===0;if(ce&&$&32768){if(_e){_e(j)}if(Ee){Ee(j)}return}if($&15360){writePunctuation(getOpeningBracket($));if(ce&&j){emitTrailingCommentsOfPosition(j.pos,true)}}if(_e){_e(j)}if(ce){if($&1&&!(He&&(!R||E.rangeIsOnSingleLine(R,Be)))){writeLine()}else if($&256&&!($&524288)){writeSpace()}}else{E.Debug.type(j);var le=($&262144)===0;var Te=le;var we=getLeadingLineTerminatorCount(R,j,$);if(we){writeLine(we);Te=false}else if($&256){writeSpace()}if($&128){increaseIndent()}var Ie=void 0;var Ne=void 0;var Me=false;for(var Le=0;Le0){if(($&(3|128))===0){increaseIndent();Me=true}writeLine(Ue);Te=false}else if(Ie&&$&512){writeSpace()}}Ne=recordBundleFileInternalSectionStart(je);if(Te){if(emitTrailingCommentsOfPosition){var ze=E.getCommentRange(je);emitTrailingCommentsOfPosition(ze.pos)}}else{Te=le}Ge=je.pos;if(N.length===1){N(je)}else{N(je,q)}if(Me){decreaseIndent();Me=false}Ie=je}var We=Ie?E.getEmitFlags(Ie):0;var Je=vt||!!(We&1024);var Ve=(j===null||j===void 0?void 0:j.hasTrailingComma)&&$&64&&$&16;if(Ve){if(Ie&&!Je){emitTokenWithComment(27,Ie.end,writePunctuation,Ie)}else{writePunctuation(",")}}if(Ie&&(R?R.end:-1)!==Ie.end&&$&60&&!Je){emitLeadingCommentsOfPosition(Ve&&(j===null||j===void 0?void 0:j.end)?j.end:Ie.end)}if($&128){decreaseIndent()}recordBundleFileInternalSectionEnd(Ne);var qe=getClosingLineTerminatorCount(R,j,$);if(qe){writeLine(qe)}else if($&(2097152|256)){writeSpace()}}if(Ee){Ee(j)}if($&15360){if(ce&&j){emitLeadingCommentsOfPosition(j.end)}writePunctuation(getClosingBracket($))}}function writeLiteral(E){Ke.writeLiteral(E)}function writeStringLiteral(E){Ke.writeStringLiteral(E)}function writeBase(E){Ke.write(E)}function writeSymbol(E,N){Ke.writeSymbol(E,N)}function writePunctuation(E){Ke.writePunctuation(E)}function writeTrailingSemicolon(){Ke.writeTrailingSemicolon(";")}function writeKeyword(E){Ke.writeKeyword(E)}function writeOperator(E){Ke.writeOperator(E)}function writeParameter(E){Ke.writeParameter(E)}function writeComment(E){Ke.writeComment(E)}function writeSpace(){Ke.writeSpace(" ")}function writeProperty(E){Ke.writeProperty(E)}function writeLine(E){if(E===void 0){E=1}for(var N=0;N0)}}function increaseIndent(){Ke.increaseIndent()}function decreaseIndent(){Ke.decreaseIndent()}function writeToken(E,N,R,j){return!it?emitTokenWithSourceMap(j,E,R,N,writeTokenText):writeTokenText(E,R,N)}function writeTokenNode(N,R){if(Te){Te(N)}R(E.tokenToString(N.kind));if(we){we(N)}}function writeTokenText(N,R,j){var $=E.tokenToString(N);R($);return j<0?j:j+$.length}function writeLineOrSpace(N,R,j){if(E.getEmitFlags(N)&1){writeSpace()}else if(He){var $=getLinesBetweenNodes(N,R,j);if($){writeLine($)}else{writeSpace()}}else{writeLine()}}function writeLines(N){var R=N.split(/\r\n?|\n/g);var j=E.guessIndentation(R);for(var $=0,q=R;$0||$>0)&&j!==$){if(!q){emitLeadingComments(j,N.kind!==344)}if(!q||j>=0&&(R&512)!==0){pt=j}if(!G||$>=0&&(R&1024)!==0){ft=$;if(N.kind===253){mt=$}}}E.forEach(E.getSyntheticLeadingComments(N),emitLeadingSynthesizedComment);Tt()}function emitTrailingCommentsOfNode(N,R,j,$,q,G,ie){Et();var ae=$<0||(R&1024)!==0||N.kind===11;E.forEach(E.getSyntheticTrailingComments(N),emitTrailingSynthesizedComment);if((j>0||$>0)&&j!==$){pt=q;ft=G;mt=ie;if(!ae&&N.kind!==344){emitTrailingComments($)}}Tt()}function emitLeadingSynthesizedComment(E){if(E.hasLeadingNewline||E.kind===2){Ke.writeLine()}writeSynthesizedComment(E);if(E.hasTrailingNewLine||E.kind===2){Ke.writeLine()}else{Ke.writeSpace(" ")}}function emitTrailingSynthesizedComment(E){if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}writeSynthesizedComment(E);if(E.hasTrailingNewLine){Ke.writeLine()}}function writeSynthesizedComment(N){var R=formatSynthesizedComment(N);var j=N.kind===3?E.computeLineStarts(R):undefined;E.writeCommentRange(R,j,Ke,0,R.length,Ne)}function formatSynthesizedComment(E){return E.kind===3?"/*"+E.text+"*/":"//"+E.text}function emitBodyWithDetachedComments(N,R,j){Et();var $=R.pos,q=R.end;var G=E.getEmitFlags(N);var ie=$<0||(G&512)!==0;var ae=vt||q<0||(G&1024)!==0;if(!ie){emitDetachedCommentsAndUpdateCommentsInfo(R)}Tt();if(G&2048&&!vt){vt=true;j(N);vt=false}else{j(N)}Et();if(!ae){emitLeadingComments(R.end,true);if(yt&&!Ke.isAtStartOfLine()){Ke.writeLine()}}Tt()}function originalNodesHaveSameParent(N,R){N=E.getOriginalNode(N);return N.parent&&N.parent===E.getOriginalNode(R).parent}function siblingNodePositionsAreComparable(N,R){if(R.pos-1&&$.indexOf(R)===q+1}function emitLeadingComments(E,N){yt=false;if(N){if(E===0&&(Be===null||Be===void 0?void 0:Be.isDeclarationFile)){forEachLeadingCommentToEmit(E,emitNonTripleSlashLeadingComment)}else{forEachLeadingCommentToEmit(E,emitLeadingComment)}}else if(E===0){forEachLeadingCommentToEmit(E,emitTripleSlashLeadingComment)}}function emitTripleSlashLeadingComment(E,N,R,j,$){if(isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function emitNonTripleSlashLeadingComment(E,N,R,j,$){if(!isTripleSlashComment(E,N)){emitLeadingComment(E,N,R,j,$)}}function shouldWriteComment(R,j){if(N.onlyPrintJsDocStyle){return E.isJSDocLikeText(R,j)||E.isPinnedComment(R,j)}return true}function emitLeadingComment(N,R,j,$,q){if(!shouldWriteComment(Be.text,N))return;if(!yt){E.emitNewLineBeforeLeadingCommentOfPosition(getCurrentLineMap(),Ke,q,N);yt=true}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else if(j===3){Ke.writeSpace(" ")}}function emitLeadingCommentsOfPosition(E){if(vt||E===-1){return}emitLeadingComments(E,true)}function emitTrailingComments(E){forEachTrailingCommentToEmit(E,emitTrailingComment)}function emitTrailingComment(N,R,j,$){if(!shouldWriteComment(Be.text,N))return;if(!Ke.isAtStartOfLine()){Ke.writeSpace(" ")}emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}}function emitTrailingCommentsOfPosition(E,N,R){if(vt){return}Et();forEachTrailingCommentToEmit(E,N?emitTrailingComment:R?emitTrailingCommentOfPositionNoNewline:emitTrailingCommentOfPosition);Tt()}function emitTrailingCommentOfPositionNoNewline(N,R,j){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if(j===2){Ke.writeLine()}}function emitTrailingCommentOfPosition(N,R,j,$){emitPos(N);E.writeCommentRange(Be.text,getCurrentLineMap(),Ke,N,R,Ne);emitPos(R);if($){Ke.writeLine()}else{Ke.writeSpace(" ")}}function forEachLeadingCommentToEmit(N,R){if(Be&&(pt===-1||N!==pt)){if(hasDetachedComments(N)){forEachLeadingCommentWithoutDetachedComments(R)}else{E.forEachLeadingCommentRange(Be.text,N,R,N)}}}function forEachTrailingCommentToEmit(N,R){if(Be&&(ft===-1||N!==ft&&N!==mt)){E.forEachTrailingCommentRange(Be.text,N,R)}}function hasDetachedComments(N){return _t!==undefined&&E.last(_t).nodePos===N}function forEachLeadingCommentWithoutDetachedComments(N){var R=E.last(_t).detachedCommentEndPos;if(_t.length-1){_t.pop()}else{_t=undefined}E.forEachLeadingCommentRange(Be.text,R,N,R)}function emitDetachedCommentsAndUpdateCommentsInfo(N){var R=E.emitDetachedComments(Be.text,getCurrentLineMap(),Ke,emitComment,N,Ne,vt);if(R){if(_t){_t.push(R)}else{_t=[R]}}}function emitComment(N,R,j,$,q,G){if(!shouldWriteComment(Be.text,$))return;emitPos($);E.writeCommentRange(N,R,j,$,q,G);emitPos(q)}function isTripleSlashComment(N,R){return E.isRecognizedTripleSlashComment(Be.text,N,R)}function getParsedSourceMap(N){if(N.parsedSourceMap===undefined&&N.sourceMapText!==undefined){N.parsedSourceMap=E.tryParseRawSourceMap(N.sourceMapText)||false}return N.parsedSourceMap||undefined}function pipelineEmitWithSourceMaps(E,N){var R=getNextPipelinePhase(3,E,N);emitSourceMapsBeforeNode(N);R(E,N);emitSourceMapsAfterNode(N)}function emitSourceMapsBeforeNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(E.isUnparsedNode(N)){E.Debug.assertIsDefined(N.parent,"UnparsedNodes must have parent pointers");var $=getParsedSourceMap(N.parent);if($&&ot){ot.appendSourceMap(Ke.getLine(),Ke.getColumn(),$,N.parent.sourceMapPath,N.parent.getLineAndCharacterOfPosition(N.pos),N.parent.getLineAndCharacterOfPosition(N.end))}}else{var q=j.source||st;if(N.kind!==344&&(R&16)===0&&j.pos>=0){emitSourcePos(j.source||st,skipSourceTrivia(q,j.pos))}if(R&64){it=true}}}function emitSourceMapsAfterNode(N){var R=E.getEmitFlags(N);var j=E.getSourceMapRange(N);if(!E.isUnparsedNode(N)){if(R&64){it=false}if(N.kind!==344&&(R&32)===0&&j.end>=0){emitSourcePos(j.source||st,j.end)}}}function skipSourceTrivia(N,R){return N.skipTrivia?N.skipTrivia(R):E.skipTrivia(N.text,R)}function emitPos(N){if(it||E.positionIsSynthesized(N)||isJsonSourceMapSource(st)){return}var R=E.getLineAndCharacterOfPosition(st,N),j=R.line,$=R.character;ot.addMapping(Ke.getLine(),Ke.getColumn(),ct,j,$,undefined)}function emitSourcePos(E,N){if(E!==st){var R=st;var j=ct;setSourceMapSource(E);emitPos(N);resetSourceMapSource(R,j)}else{emitPos(N)}}function emitTokenWithSourceMap(N,R,j,$,q){if(it||N&&E.isInJsonFile(N)){return q(R,j,$)}var G=N&&N.emitNode;var ie=G&&G.flags||0;var ae=G&&G.tokenSourceMapRanges&&G.tokenSourceMapRanges[R];var ce=ae&&ae.source||st;$=skipSourceTrivia(ce,ae?ae.pos:$);if((ie&128)===0&&$>=0){emitSourcePos(ce,$)}$=q(R,j,$);if(ae)$=ae.end;if((ie&256)===0&&$>=0){emitSourcePos(ce,$)}return $}function setSourceMapSource(E){if(it){return}st=E;if(E===ut){ct=dt;return}if(isJsonSourceMapSource(E)){return}ct=ot.addSource(E.fileName);if(N.inlineSources){ot.setSourceContent(ct,E.text)}ut=E;dt=ct}function resetSourceMapSource(E,N){st=E;ct=N}function isJsonSourceMapSource(N){return E.fileExtensionIs(N.fileName,".json")}}E.createPrinter=createPrinter;function createBracketsMap(){var E=[];E[1024]=["{","}"];E[2048]=["(",")"];E[4096]=["<",">"];E[8192]=["[","]"];return E}function getOpeningBracket(E){return N[E&15360][0]}function getClosingBracket(E){return N[E&15360][1]}var $;(function(E){E[E["Auto"]=0]="Auto";E[E["CountMask"]=268435455]="CountMask";E[E["_i"]=268435456]="_i"})($||($={}))})(ce||(ce={}));var ce;(function(E){function createCachedDirectoryStructureHost(N,R,j){if(!N.getDirectories||!N.readDirectory){return undefined}var $=new E.Map;var q=E.createGetCanonicalFileName(j);return{useCaseSensitiveFileNames:j,fileExists:fileExists,readFile:function(E,R){return N.readFile(E,R)},directoryExists:N.directoryExists&&directoryExists,getDirectories:getDirectories,readDirectory:readDirectory,createDirectory:N.createDirectory&&createDirectory,writeFile:N.writeFile&&writeFile,addOrDeleteFileOrDirectory:addOrDeleteFileOrDirectory,addOrDeleteFile:addOrDeleteFile,clearCache:clearCache,realpath:N.realpath&&realpath};function toPath(N){return E.toPath(N,R,q)}function getCachedFileSystemEntries(N){return $.get(E.ensureTrailingDirectorySeparator(N))}function getCachedFileSystemEntriesForBaseDir(N){return getCachedFileSystemEntries(E.getDirectoryPath(N))}function getBaseNameOfFileName(N){return E.getBaseFileName(E.normalizePath(N))}function createCachedFileSystemEntries(R,j){var q;if(!N.realpath||E.ensureTrailingDirectorySeparator(toPath(N.realpath(R)))===j){var G={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||[],directories:N.getDirectories(R)||[]};$.set(E.ensureTrailingDirectorySeparator(j),G);return G}if((q=N.directoryExists)===null||q===void 0?void 0:q.call(N,R)){$.set(j,false);return false}return undefined}function tryReadDirectory(N,R){R=E.ensureTrailingDirectorySeparator(R);var j=getCachedFileSystemEntries(R);if(j){return j}try{return createCachedFileSystemEntries(N,R)}catch(N){E.Debug.assert(!$.has(E.ensureTrailingDirectorySeparator(R)));return undefined}}function fileNameEqual(E,N){return q(E)===q(N)}function hasEntry(N,R){return E.some(N,(function(E){return fileNameEqual(E,R)}))}function updateFileSystemEntry(N,R,j){if(hasEntry(N,R)){if(!j){return E.filterMutate(N,(function(E){return!fileNameEqual(E,R)}))}}else if(j){return N.push(R)}}function writeFile(E,R,j){var $=toPath(E);var q=getCachedFileSystemEntriesForBaseDir($);if(q){updateFilesOfFileSystemEntry(q,getBaseNameOfFileName(E),true)}return N.writeFile(E,R,j)}function fileExists(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);return j&&hasEntry(j.files,getBaseNameOfFileName(E))||N.fileExists(E)}function directoryExists(R){var j=toPath(R);return $.has(E.ensureTrailingDirectorySeparator(j))||N.directoryExists(R)}function createDirectory(E){var R=toPath(E);var j=getCachedFileSystemEntriesForBaseDir(R);var $=getBaseNameOfFileName(E);if(j){updateFileSystemEntry(j.directories,$,true)}N.createDirectory(E)}function getDirectories(E){var R=toPath(E);var j=tryReadDirectory(E,R);if(j){return j.directories.slice()}return N.getDirectories(E)}function readDirectory($,q,G,ie,ae){var ce=toPath($);var le=tryReadDirectory($,ce);var _e;if(le!==undefined){return E.matchFiles($,q,G,ie,j,R,ae,getFileSystemEntries,realpath,directoryExists)}return N.readDirectory($,q,G,ie,ae);function getFileSystemEntries(N){var R=toPath(N);if(R===ce){return le||getFileSystemEntriesFromHost(N,R)}var j=tryReadDirectory(N,R);return j!==undefined?j||getFileSystemEntriesFromHost(N,R):E.emptyFileSystemEntries}function getFileSystemEntriesFromHost(R,j){if(_e&&j===ce)return _e;var $={files:E.map(N.readDirectory(R,undefined,undefined,["*.*"]),getBaseNameOfFileName)||E.emptyArray,directories:N.getDirectories(R)||E.emptyArray};if(j===ce)_e=$;return $}}function realpath(E){return N.realpath?N.realpath(E):E}function addOrDeleteFileOrDirectory(E,R){var j=getCachedFileSystemEntries(R);if(j!==undefined){clearCache();return undefined}var $=getCachedFileSystemEntriesForBaseDir(R);if(!$){return undefined}if(!N.directoryExists){clearCache();return undefined}var q=getBaseNameOfFileName(E);var G={fileExists:N.fileExists(R),directoryExists:N.directoryExists(R)};if(G.directoryExists||hasEntry($.directories,q)){clearCache()}else{updateFilesOfFileSystemEntry($,q,G.fileExists)}return G}function addOrDeleteFile(N,R,j){if(j===E.FileWatcherEventKind.Changed){return}var $=getCachedFileSystemEntriesForBaseDir(R);if($){updateFilesOfFileSystemEntry($,getBaseNameOfFileName(N),j===E.FileWatcherEventKind.Created)}}function updateFilesOfFileSystemEntry(E,N,R){updateFileSystemEntry(E.files,N,R)}function clearCache(){$.clear()}}E.createCachedDirectoryStructureHost=createCachedDirectoryStructureHost;var N;(function(E){E[E["None"]=0]="None";E[E["Partial"]=1]="Partial";E[E["Full"]=2]="Full"})(N=E.ConfigFileProgramReloadLevel||(E.ConfigFileProgramReloadLevel={}));function updateSharedExtendedConfigFileWatcher(N,R,j,$,q){var G;var ie=E.arrayToMap(((G=R===null||R===void 0?void 0:R.configFile)===null||G===void 0?void 0:G.extendedSourceFiles)||E.emptyArray,q);j.forEach((function(E,R){if(!ie.has(R)){E.projects.delete(N);E.close()}}));ie.forEach((function(R,q){var G=j.get(q);if(G){G.projects.add(N)}else{j.set(q,{projects:new E.Set([N]),watcher:$(R,q),close:function(){var E=j.get(q);if(!E||E.projects.size!==0)return;E.watcher.close();j.delete(q)}})}}))}E.updateSharedExtendedConfigFileWatcher=updateSharedExtendedConfigFileWatcher;function clearSharedExtendedConfigFileWatcher(E,N){N.forEach((function(N){if(N.projects.delete(E))N.close()}))}E.clearSharedExtendedConfigFileWatcher=clearSharedExtendedConfigFileWatcher;function cleanExtendedConfigCache(E,N,R){if(!E.delete(N))return;E.forEach((function(j,$){var q;var G=j.extendedResult;if((q=G.extendedSourceFiles)===null||q===void 0?void 0:q.some((function(E){return R(E)===N}))){cleanExtendedConfigCache(E,$,R)}}))}E.cleanExtendedConfigCache=cleanExtendedConfigCache;function updatePackageJsonWatch(N,R,j){var $=new E.Map(N);E.mutateMap(R,$,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updatePackageJsonWatch=updatePackageJsonWatch;function updateMissingFilePathsWatch(N,R,j){var $=N.getMissingFilePaths();var q=E.arrayToMap($,E.identity,E.returnTrue);E.mutateMap(R,q,{createNewValue:j,onDeleteValue:E.closeFileWatcher})}E.updateMissingFilePathsWatch=updateMissingFilePathsWatch;function updateWatchingWildcardDirectories(N,R,j){E.mutateMap(N,R,{createNewValue:createWildcardDirectoryWatcher,onDeleteValue:closeFileWatcherOf,onExistingValue:updateWildcardDirectoryWatcher});function createWildcardDirectoryWatcher(E,N){return{watcher:j(E,N),flags:N}}function updateWildcardDirectoryWatcher(E,R,j){if(E.flags===R){return}E.watcher.close();N.set(j,createWildcardDirectoryWatcher(j,R))}}E.updateWatchingWildcardDirectories=updateWatchingWildcardDirectories;function isIgnoredFileFromWildCardWatching(N){var R=N.watchedDirPath,j=N.fileOrDirectory,$=N.fileOrDirectoryPath,q=N.configFileName,G=N.options,ie=N.program,ae=N.extraFileExtensions,ce=N.currentDirectory,le=N.useCaseSensitiveFileNames,_e=N.writeLog,Ee=N.toPath;var Te=E.removeIgnoredPath($);if(!Te){_e("Project: "+q+" Detected ignored path: "+j);return true}$=Te;if($===R)return false;if(E.hasExtension($)&&!E.isSupportedSourceFileName(j,G,ae)){_e("Project: "+q+" Detected file add/remove of non supported extension: "+j);return true}if(E.isExcludedFile(j,G.configFile.configFileSpecs,E.getNormalizedAbsolutePath(E.getDirectoryPath(q),ce),le,ce)){_e("Project: "+q+" Detected excluded file: "+j);return true}if(!ie)return false;if(E.outFile(G)||G.outDir)return false;if(E.fileExtensionIs($,".d.ts")){if(G.declarationDir)return false}else if(!E.fileExtensionIsOneOf($,E.supportedJSExtensions)){return false}var we=E.removeFileExtension($);var Ie=E.isArray(ie)?undefined:isBuilderProgram(ie)?ie.getProgramOrUndefined():ie;var Ne=!Ie&&!E.isArray(ie)?ie:undefined;if(hasSourceFile(we+".ts")||hasSourceFile(we+".tsx")){_e("Project: "+q+" Detected output file: "+j);return true}return false;function hasSourceFile(N){return Ie?!!Ie.getSourceFileByPath(N):Ne?Ne.getState().fileInfos.has(N):!!E.find(ie,(function(E){return Ee(E)===N}))}}E.isIgnoredFileFromWildCardWatching=isIgnoredFileFromWildCardWatching;function isBuilderProgram(E){return!!E.getState}function isEmittedFileOfProgram(E,N){if(!E){return false}return E.isEmittedFile(N)}E.isEmittedFileOfProgram=isEmittedFileOfProgram;var R;(function(E){E[E["None"]=0]="None";E[E["TriggerOnly"]=1]="TriggerOnly";E[E["Verbose"]=2]="Verbose"})(R=E.WatchLogLevel||(E.WatchLogLevel={}));function getWatchFactory(N,$,q,G){E.setSysLog($===R.Verbose?q:E.noop);var ie={watchFile:function(E,R,j,$){return N.watchFile(E,R,j,$)},watchDirectory:function(E,R,j,$){return N.watchDirectory(E,R,(j&1)!==0,$)}};var ae=$!==R.None?{watchFile:createTriggerLoggingAddWatch("watchFile"),watchDirectory:createTriggerLoggingAddWatch("watchDirectory")}:undefined;var ce=$===R.Verbose?{watchFile:createFileWatcherWithLogging,watchDirectory:createDirectoryWatcherWithLogging}:ae||ie;var le=$===R.Verbose?createExcludeWatcherWithLogging:E.returnNoopFileWatcher;return{watchFile:createExcludeHandlingAddWatch("watchFile"),watchDirectory:createExcludeHandlingAddWatch("watchDirectory")};function createExcludeHandlingAddWatch(R){return function(j,$,q,G,ie,ae){var _e;return!E.matchesExclude(j,R==="watchFile"?G===null||G===void 0?void 0:G.excludeFiles:G===null||G===void 0?void 0:G.excludeDirectories,useCaseSensitiveFileNames(),((_e=N.getCurrentDirectory)===null||_e===void 0?void 0:_e.call(N))||"")?ce[R].call(undefined,j,$,q,G,ie,ae):le(j,q,G,ie,ae)}}function useCaseSensitiveFileNames(){return typeof N.useCaseSensitiveFileNames==="boolean"?N.useCaseSensitiveFileNames:N.useCaseSensitiveFileNames()}function createExcludeWatcherWithLogging(E,N,R,j,$){q("ExcludeWatcher:: Added:: "+getWatchInfo(E,N,R,j,$,G));return{close:function(){return q("ExcludeWatcher:: Close:: "+getWatchInfo(E,N,R,j,$,G))}}}function createFileWatcherWithLogging(E,N,R,j,$,ie){q("FileWatcher:: Added:: "+getWatchInfo(E,R,j,$,ie,G));var ce=ae.watchFile(E,N,R,j,$,ie);return{close:function(){q("FileWatcher:: Close:: "+getWatchInfo(E,R,j,$,ie,G));ce.close()}}}function createDirectoryWatcherWithLogging(N,R,j,$,ie,ce){var le="DirectoryWatcher:: Added:: "+getWatchInfo(N,j,$,ie,ce,G);q(le);var _e=E.timestamp();var Ee=ae.watchDirectory(N,R,j,$,ie,ce);var Te=E.timestamp()-_e;q("Elapsed:: "+Te+"ms "+le);return{close:function(){var R="DirectoryWatcher:: Close:: "+getWatchInfo(N,j,$,ie,ce,G);q(R);var ae=E.timestamp();Ee.close();var le=E.timestamp()-ae;q("Elapsed:: "+le+"ms "+R)}}}function createTriggerLoggingAddWatch(N){return function(R,$,ae,ce,le,_e){return ie[N].call(undefined,R,(function(){var ie=[];for(var Ee=0;Ee=4;var Be=(Ie+1+"").length;if(Le){Be=Math.max(G.length,Be)}var je="";for(var Ue=Ee;Ue<=Ie;Ue++){je+=le.getNewLine();if(Le&&Ee+1=0){if(R.markUsed(G)){return G}var ie=j.text.slice(q[G],q[G+1]).trim();if(ie!==""&&!/^(\s*)\/\/(.*)$/.test(ie)){return-1}G--}return-1}function getJSSyntacticDiagnosticsForFile(N){return runWithCancellationToken((function(){var R=[];walk(N,N);E.forEachChildRecursively(N,walk,walkArray);return R;function walk(N,j){switch(j.kind){case 162:case 165:case 167:if(j.questionToken===N){R.push(createDiagnosticForNode(N,E.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?"));return"skip"}case 166:case 169:case 170:case 171:case 211:case 254:case 212:case 252:if(j.type===N){R.push(createDiagnosticForNode(N,E.Diagnostics.Type_annotations_can_only_be_used_in_TypeScript_files));return"skip"}}switch(N.kind){case 265:if(N.isTypeOnly){R.push(createDiagnosticForNode(j,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type"));return"skip"}break;case 270:if(N.isTypeOnly){R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type"));return"skip"}break;case 263:R.push(createDiagnosticForNode(N,E.Diagnostics.import_can_only_be_used_in_TypeScript_files));return"skip";case 269:if(N.isExportEquals){R.push(createDiagnosticForNode(N,E.Diagnostics.export_can_only_be_used_in_TypeScript_files));return"skip"}break;case 289:var $=N;if($.token===117){R.push(createDiagnosticForNode(N,E.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files));return"skip"}break;case 256:var q=E.tokenToString(118);E.Debug.assertIsDefined(q);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,q));return"skip";case 259:var G=N.flags&16?E.tokenToString(141):E.tokenToString(140);E.Debug.assertIsDefined(G);R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,G));return"skip";case 257:R.push(createDiagnosticForNode(N,E.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files));return"skip";case 258:var ie=E.Debug.checkDefined(E.tokenToString(92));R.push(createDiagnosticForNode(N,E.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,ie));return"skip";case 228:R.push(createDiagnosticForNode(N,E.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files));return"skip";case 227:R.push(createDiagnosticForNode(N.type,E.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files));return"skip";case 209:E.Debug.fail()}}function walkArray(N,j){if(j.decorators===N&&!Ee.experimentalDecorators){R.push(createDiagnosticForNode(j,E.Diagnostics.Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_the_experimentalDecorators_option_in_your_tsconfig_or_jsconfig_to_remove_this_warning))}switch(j.kind){case 255:case 224:case 167:case 169:case 170:case 171:case 211:case 254:case 212:if(N===j.typeParameters){R.push(createDiagnosticForNodeArray(N,E.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files));return"skip"}case 235:if(N===j.modifiers){checkModifiers(j.modifiers,j.kind===235);return"skip"}break;case 165:if(N===j.modifiers){for(var $=0,q=N;$0);Object.defineProperties(G,{id:{get:function(){return this.redirectInfo.redirectTarget.id},set:function(E){this.redirectInfo.redirectTarget.id=E}},symbol:{get:function(){return this.redirectInfo.redirectTarget.symbol},set:function(E){this.redirectInfo.redirectTarget.symbol=E}}});return G}function findSourceFile(N,R,j,$,q,G){E.tracing===null||E.tracing===void 0?void 0:E.tracing.push("program","findSourceFile",{fileName:N,isDefaultLib:j||undefined,fileIncludeKind:E.FileIncludeKind[q.kind]});var ie=findSourceFileWorker(N,R,j,$,q,G);E.tracing===null||E.tracing===void 0?void 0:E.tracing.pop();return ie}function findSourceFileWorker(N,R,j,$,q,G){if(Pt){var ie=getSourceOfProjectReferenceRedirect(N);if(!ie&&et.realpath&&Ee.preserveSymlinks&&E.isDeclarationFileName(N)&&E.stringContains(N,E.nodeModulesPathPart)){var ae=et.realpath(N);if(ae!==N)ie=getSourceOfProjectReferenceRedirect(ae)}if(ie){var ce=E.isString(ie)?findSourceFile(ie,toPath(ie),j,$,q,G):undefined;if(ce)addFileToFilesByName(ce,R,undefined);return ce}}var le=N;if(Et.has(R)){var _e=Et.get(R);addFileIncludeReason(_e||undefined,q);if(_e&&Ee.forceConsistentCasingInFileNames){var Te=_e.fileName;var we=toPath(Te)!==toPath(N);if(we){N=getProjectReferenceRedirect(N)||N}var Ie=E.getNormalizedAbsolutePathWithoutRoot(Te,st);var Le=E.getNormalizedAbsolutePathWithoutRoot(N,st);if(Ie!==Le){reportFileNamesDifferOnlyInCasingError(N,_e,q)}}if(_e&&Ze.get(_e.path)&&Xe===0){Ze.set(_e.path,false);if(!Ee.noResolve){processReferencedFiles(_e,j);processTypeReferenceDirectives(_e)}if(!Ee.noLib){processLibReferenceDirectives(_e)}Ye.set(_e.path,false);processImportedModules(_e)}else if(_e&&Ye.get(_e.path)){if(Xe0);ze.fileName=N;ze.path=R;ze.resolvedPath=toPath(N);ze.originalFileName=le;addFileIncludeReason(ze,q);if(et.useCaseSensitiveFileNames()){var qe=E.toFileNameLowerCase(R);var He=kt.get(qe);if(He){reportFileNamesDifferOnlyInCasingError(N,He,q)}else{kt.set(qe,ze)}}rt=rt||ze.hasNoDefaultLib&&!$;if(!Ee.noResolve){processReferencedFiles(ze,j);processTypeReferenceDirectives(ze)}if(!Ee.noLib){processLibReferenceDirectives(ze)}processImportedModules(ze);if(j){Ne.push(ze)}else{Me.push(ze)}}return ze}function addFileIncludeReason(E,N){if(E)Ve.add(E.path,N)}function addFileToFilesByName(E,N,R){if(R){Et.set(R,E);Et.set(N,E||false)}else{Et.set(N,E)}}function getProjectReferenceRedirect(E){var N=getProjectReferenceRedirectProject(E);return N&&getProjectReferenceOutputName(N,E)}function getProjectReferenceRedirectProject(N){if(!Ct||!Ct.length||E.fileExtensionIs(N,".d.ts")||E.fileExtensionIs(N,".json")){return undefined}return getResolvedProjectReferenceToRedirect(N)}function getProjectReferenceOutputName(N,R){var j=E.outFile(N.commandLine.options);return j?E.changeExtension(j,".d.ts"):E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames())}function getResolvedProjectReferenceToRedirect(N){if(At===undefined){At=new E.Map;forEachResolvedProjectReference((function(E){if(toPath(Ee.configFilePath)!==E.sourceFile.path){E.commandLine.fileNames.forEach((function(N){return At.set(toPath(N),E.sourceFile.path)}))}}))}var R=At.get(toPath(N));return R&&getResolvedProjectReferenceByPath(R)}function forEachResolvedProjectReference(N){return E.forEachResolvedProjectReference(Ct,N)}function getSourceOfProjectReferenceRedirect(N){if(!E.isDeclarationFileName(N))return undefined;if(wt===undefined){wt=new E.Map;forEachResolvedProjectReference((function(N){var R=E.outFile(N.commandLine.options);if(R){var j=E.changeExtension(R,".d.ts");wt.set(toPath(j),true)}else{var $=E.memoize((function(){return E.getCommonSourceDirectoryOfConfig(N.commandLine,!et.useCaseSensitiveFileNames())}));E.forEach(N.commandLine.fileNames,(function(R){if(!E.fileExtensionIs(R,".d.ts")&&!E.fileExtensionIs(R,".json")){var j=E.getOutputDeclarationFileName(R,N.commandLine,!et.useCaseSensitiveFileNames(),$);wt.set(toPath(j),R)}}))}}))}return wt.get(toPath(N))}function isSourceOfProjectReferenceRedirect(E){return Pt&&!!getResolvedProjectReferenceToRedirect(E)}function getResolvedProjectReferenceByPath(E){if(!Dt){return undefined}return Dt.get(E)||undefined}function processReferencedFiles(N,R){E.forEach(N.referencedFiles,(function(j,$){processSourceFile(resolveTripleslashReference(j.fileName,N.fileName),R,false,undefined,{kind:E.FileIncludeKind.ReferenceFile,file:N.path,index:$})}))}function processTypeReferenceDirectives(N){var R=E.map(N.typeReferenceDirectives,(function(N){return E.toFileNameLowerCase(N.fileName)}));if(!R){return}var j=resolveTypeReferenceDirectiveNamesWorker(R,N);for(var $=0;$Qe;var we=_e&&!getResolutionDiagnostic(q,ie)&&!q.noResolve&&G1}))){createDiagnosticForOptionName(E.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}}if(Ee.useDefineForClassFields&&Te===0){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields")}if(Ee.checkJs&&!E.getAllowJSCompilerOption(Ee)){ot.add(E.createCompilerDiagnostic(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"))}if(Ee.emitDeclarationOnly){if(!E.getEmitDeclarations(Ee)){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite")}if(Ee.noEmit){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")}}if(Ee.emitDecoratorMetadata&&!Ee.experimentalDecorators){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators")}if(Ee.jsxFactory){if(Ee.reactNamespace){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFactory,Te)){createOptionValueDiagnostic("jsxFactory",E.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFactory)}}else if(Ee.reactNamespace&&!E.isIdentifierText(Ee.reactNamespace,Te)){createOptionValueDiagnostic("reactNamespace",E.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,Ee.reactNamespace)}if(Ee.jsxFragmentFactory){if(!Ee.jsxFactory){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory")}if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",E.inverseJsxOptionMap.get(""+Ee.jsx))}if(!E.parseIsolatedEntityName(Ee.jsxFragmentFactory,Te)){createOptionValueDiagnostic("jsxFragmentFactory",E.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,Ee.jsxFragmentFactory)}}if(Ee.reactNamespace){if(Ee.jsx===4||Ee.jsx===5){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(Ee.jsxImportSource){if(Ee.jsx===2){createDiagnosticForOptionName(E.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",E.inverseJsxOptionMap.get(""+Ee.jsx))}}if(!Ee.noEmit&&!Ee.suppressOutputPathCheck){var Be=getEmitHost();var je=new E.Set;E.forEachEmittedFile(Be,(function(E){if(!Ee.emitDeclarationOnly){verifyEmitFilePath(E.jsFilePath,je)}verifyEmitFilePath(E.declarationFilePath,je)}))}function verifyEmitFilePath(N,R){if(N){var j=toPath(N);if(Et.has(j)){var $=void 0;if(!Ee.configFilePath){$=E.chainDiagnosticMessages(undefined,E.Diagnostics.Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig)}$=E.chainDiagnosticMessages($,E.Diagnostics.Cannot_write_file_0_because_it_would_overwrite_input_file,N);blockEmittingOfFile(N,E.createCompilerDiagnosticFromMessageChain($))}var q=!et.useCaseSensitiveFileNames()?E.toFileNameLowerCase(j):j;if(R.has(q)){blockEmittingOfFile(N,E.createCompilerDiagnostic(E.Diagnostics.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,N))}else{R.add(q)}}}}function createDiagnosticExplainingFile(N,R,$,q){var G;var ie;var ae;var ce=isReferencedFile(R)?R:undefined;if(N)(G=Ve.get(N.path))===null||G===void 0?void 0:G.forEach(processReason);if(R)processReason(R);if(ce&&(ie===null||ie===void 0?void 0:ie.length)===1)ie=undefined;var le=ce&&getReferencedFileLocation(getSourceFileByPath,ce);var _e=ie&&E.chainDiagnosticMessages(ie,E.Diagnostics.The_file_is_in_the_program_because_Colon);var Ee=N&&E.explainIfFileIsRedirect(N);var Te=E.chainDiagnosticMessages.apply(void 0,j([Ee?_e?j([_e],Ee,true):Ee:_e,$],q||E.emptyArray,false));return le&&isReferenceFileLocation(le)?E.createFileDiagnosticFromMessageChain(le.file,le.pos,le.end-le.pos,Te,ae):E.createCompilerDiagnosticFromMessageChain(Te,ae);function processReason(N){(ie||(ie=[])).push(E.fileIncludeReasonToDiagnostics(Gt,N));if(!ce&&isReferencedFile(N)){ce=N}else if(ce!==N){ae=E.append(ae,fileIncludeReasonToRelatedInformation(N))}if(N===R)R=undefined}}function addFilePreprocessingFileExplainingDiagnostic(E,N,R,j){(Ke||(Ke=[])).push({kind:1,file:E&&E.path,fileProcessingReason:N,diagnostic:R,args:j})}function addProgramDiagnosticExplainingFile(E,N,R){ot.add(createDiagnosticExplainingFile(E,undefined,N,R))}function fileIncludeReasonToRelatedInformation(N){if(isReferencedFile(N)){var R=getReferencedFileLocation(getSourceFileByPath,N);var j;switch(N.kind){case E.FileIncludeKind.Import:j=E.Diagnostics.File_is_included_via_import_here;break;case E.FileIncludeKind.ReferenceFile:j=E.Diagnostics.File_is_included_via_reference_here;break;case E.FileIncludeKind.TypeReferenceDirective:j=E.Diagnostics.File_is_included_via_type_library_reference_here;break;case E.FileIncludeKind.LibReferenceDirective:j=E.Diagnostics.File_is_included_via_library_reference_here;break;default:E.Debug.assertNever(N)}return isReferenceFileLocation(R)?E.createFileDiagnostic(R.file,R.pos,R.end-R.pos,j):undefined}if(!Ee.configFile)return undefined;var $;var q;switch(N.kind){case E.FileIncludeKind.RootFile:if(!Ee.configFile.configFileSpecs)return undefined;var G=E.getNormalizedAbsolutePath(_e[N.index],st);var ie=E.getMatchedFileSpec(Gt,G);if(ie){$=E.getTsConfigPropArrayElementValue(Ee.configFile,"files",ie);q=E.Diagnostics.File_is_matched_by_files_list_specified_here;break}var ae=E.getMatchedIncludeSpec(Gt,G);if(!ae)return undefined;$=E.getTsConfigPropArrayElementValue(Ee.configFile,"include",ae);q=E.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case E.FileIncludeKind.SourceFromProjectReference:case E.FileIncludeKind.OutputFromProjectReference:var ce=E.Debug.checkDefined(Ct===null||Ct===void 0?void 0:Ct[N.index]);var le=forEachProjectReference(we,Ct,(function(E,N,R){return E===ce?{sourceFile:(N===null||N===void 0?void 0:N.sourceFile)||Ee.configFile,index:R}:undefined}));if(!le)return undefined;var Te=le.sourceFile,Ie=le.index;var Ne=E.firstDefined(E.getTsConfigPropArray(Te,"references"),(function(N){return E.isArrayLiteralExpression(N.initializer)?N.initializer:undefined}));return Ne&&Ne.elements.length>Ie?E.createDiagnosticForNodeInSourceFile(Te,Ne.elements[Ie],N.kind===E.FileIncludeKind.OutputFromProjectReference?E.Diagnostics.File_is_output_from_referenced_project_specified_here:E.Diagnostics.File_is_source_from_referenced_project_specified_here):undefined;case E.FileIncludeKind.AutomaticTypeDirectiveFile:if(!Ee.types)return undefined;$=getOptionsSyntaxByArrayElementValue("types",N.typeReference);q=E.Diagnostics.File_is_entry_point_of_type_library_specified_here;break;case E.FileIncludeKind.LibFile:if(N.index!==undefined){$=getOptionsSyntaxByArrayElementValue("lib",Ee.lib[N.index]);q=E.Diagnostics.File_is_library_specified_here;break}var Me=E.forEachEntry(E.targetOptionDeclaration.type,(function(E,N){return E===Ee.target?N:undefined}));$=Me?getOptionsSyntaxByValue("target",Me):undefined;q=E.Diagnostics.File_is_default_library_for_target_specified_here;break;default:E.Debug.assertNever(N)}return $&&E.createDiagnosticForNodeInSourceFile(Ee.configFile,$,q)}function verifyProjectReferences(){var N=!Ee.suppressOutputPathCheck?E.getTsBuildInfoEmitOutputFilePath(Ee):undefined;forEachProjectReference(we,Ct,(function(R,j,$){var q=(j?j.commandLine.projectReferences:we)[$];var G=j&&j.sourceFile;if(!R){createDiagnosticForReference(G,$,E.Diagnostics.File_0_not_found,q.path);return}var ie=R.commandLine.options;if(!ie.composite||ie.noEmit){var ae=j?j.commandLine.fileNames:_e;if(ae.length){if(!ie.composite)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,q.path);if(ie.noEmit)createDiagnosticForReference(G,$,E.Diagnostics.Referenced_project_0_may_not_disable_emit,q.path)}}if(q.prepend){var ce=E.outFile(ie);if(ce){if(!et.fileExists(ce)){createDiagnosticForReference(G,$,E.Diagnostics.Output_file_0_from_project_1_does_not_exist,ce,q.path)}}else{createDiagnosticForReference(G,$,E.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,q.path)}}if(!j&&N&&N===E.getTsBuildInfoEmitOutputFilePath(ie)){createDiagnosticForReference(G,$,E.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,N,q.path);dt.set(toPath(N),true)}}))}function createDiagnosticForOptionPathKeyValue(N,R,j,$,q,G){var ie=true;var ae=getOptionPathsSyntax();for(var ce=0,le=ae;ceR){ot.add(E.createDiagnosticForNodeInSourceFile(Ee.configFile,Ne.elements[R],j,$,q,G));ie=false}}}}if(ie){ot.add(E.createCompilerDiagnostic(j,$,q,G))}}function createDiagnosticForOptionPaths(N,R,j,$){var q=true;var G=getOptionPathsSyntax();for(var ie=0,ae=G;ieR){ot.add(E.createDiagnosticForNodeInSourceFile(N||Ee.configFile,G.elements[R],j,$,q))}else{ot.add(E.createCompilerDiagnostic(j,$,q))}}function createDiagnosticForOption(N,R,j,$,q,G,ie){var ae=getCompilerOptionsObjectLiteralSyntax();var ce=!ae||!createOptionDiagnosticInObjectLiteralSyntax(ae,N,R,j,$,q,G,ie);if(ce){ot.add(E.createCompilerDiagnostic($,q,G,ie))}}function getCompilerOptionsObjectLiteralSyntax(){if(pt===undefined){pt=false;var N=E.getTsConfigObjectLiteralExpression(Ee.configFile);if(N){for(var R=0,j=E.getPropertyAssignment(N,"compilerOptions");R0){var q=N.getTypeChecker();for(var G=0,ie=R.imports;G0){for(var _e=0,Ee=R.referencedFiles;_e1){addReferenceFromAmbientModule(Ue)}}return $;function addReferenceFromAmbientModule(N){if(!N.declarations){return}for(var j=0,$=N.declarations;j<$.length;j++){var q=$[j];var G=E.getSourceFileOfNode(q);if(G&&G!==R){addReferencedFile(G.resolvedPath)}}}function addReferencedFile(N){($||($=new E.Set)).add(N)}}function canReuseOldState(E,N){return N&&!N.referencedMap===!E}N.canReuseOldState=canReuseOldState;function create(N,R,j,$){var q=new E.Map;var G=N.getCompilerOptions().module!==E.ModuleKind.None?createManyToManyPathMap():undefined;var ie=G?createManyToManyPathMap():undefined;var ae=new E.Set;var ce=canReuseOldState(G,j);N.getTypeChecker();for(var le=0,_e=N.getSourceFiles();le<_e.length;le++){var Ee=_e[le];var Te=E.Debug.checkDefined(Ee.version,"Program intended to be used with Builder should have source files with versions set");var we=ce?j.fileInfos.get(Ee.resolvedPath):undefined;if(G){var Ie=getReferencedFiles(N,Ee,R);if(Ie){G.set(Ee.resolvedPath,Ie)}if(ce){var Ne=j.exportedModulesMap.getValues(Ee.resolvedPath);if(Ne){ie.set(Ee.resolvedPath,Ne)}}}q.set(Ee.resolvedPath,{version:Te,signature:we&&we.signature,affectsGlobalScope:isFileAffectingGlobalScope(Ee)||undefined})}return{fileInfos:q,referencedMap:G,exportedModulesMap:ie,hasCalledUpdateShapeSignature:ae,useFileVersionAsSignature:!$&&!ce}}N.create=create;function releaseCache(E){E.allFilesExcludingDefaultLibraryFile=undefined;E.allFileNames=undefined}N.releaseCache=releaseCache;function clone(N){var R,j;return{fileInfos:new E.Map(N.fileInfos),referencedMap:(R=N.referencedMap)===null||R===void 0?void 0:R.clone(),exportedModulesMap:(j=N.exportedModulesMap)===null||j===void 0?void 0:j.clone(),hasCalledUpdateShapeSignature:new E.Set(N.hasCalledUpdateShapeSignature),useFileVersionAsSignature:N.useFileVersionAsSignature}}N.clone=clone;function getFilesAffectedBy(N,R,j,$,q,G,ie){var ae=G||new E.Map;var ce=R.getSourceFileByPath(j);if(!ce){return E.emptyArray}if(!updateShapeSignature(N,R,ce,ae,$,q,ie)){return[ce]}var le=(N.referencedMap?getFilesAffectedByUpdatedShapeWhenModuleEmit:getFilesAffectedByUpdatedShapeWhenNonModuleEmit)(N,R,ce,ae,$,q,ie);if(!G){updateSignaturesFromCache(N,ae)}return le}N.getFilesAffectedBy=getFilesAffectedBy;function updateSignaturesFromCache(E,N){N.forEach((function(N,R){return updateSignatureOfFile(E,N,R)}))}N.updateSignaturesFromCache=updateSignaturesFromCache;function updateSignatureOfFile(E,N,R){E.fileInfos.get(R).signature=N;E.hasCalledUpdateShapeSignature.add(R)}N.updateSignatureOfFile=updateSignatureOfFile;function updateShapeSignature(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=N.useFileVersionAsSignature}E.Debug.assert(!!j);E.Debug.assert(!ie||!!N.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state");if(N.hasCalledUpdateShapeSignature.has(j.resolvedPath)||$.has(j.resolvedPath)){return false}var ce=N.fileInfos.get(j.resolvedPath);if(!ce)return E.Debug.fail();var le=ce.signature;var _e;if(!j.isDeclarationFile&&!ae){var Ee=getFileEmitOutput(R,j,true,q,undefined,true);var Te=E.firstOrUndefined(Ee.outputFiles);if(Te){E.Debug.assert(E.fileExtensionIs(Te.name,".d.ts"),"File extension for signature expected to be dts",(function(){return"Found: "+E.getAnyExtensionFromPath(Te.name)+" for "+Te.name+":: All output files: "+JSON.stringify(Ee.outputFiles.map((function(E){return E.name})))}));_e=(G||E.generateDjb2Hash)(Te.text);if(ie&&_e!==le){updateExportedModules(j,Ee.exportedModulesFromDeclarationEmit,ie)}}}if(_e===undefined){_e=j.version;if(ie&&_e!==le){var we=N.referencedMap?N.referencedMap.getValues(j.resolvedPath):undefined;if(we){ie.set(j.resolvedPath,we)}else{ie.deleteKey(j.resolvedPath)}}}$.set(j.resolvedPath,_e);return _e!==le}N.updateShapeSignature=updateShapeSignature;function updateExportedModules(N,R,j){if(!R){j.deleteKey(N.resolvedPath);return}var $;R.forEach((function(E){return addExportedModule(getReferencedFilesFromImportedModuleSymbol(E))}));if($){j.set(N.resolvedPath,$)}else{j.deleteKey(N.resolvedPath)}function addExportedModule(N){if(N===null||N===void 0?void 0:N.length){if(!$){$=new E.Set}N.forEach((function(E){return $.add(E)}))}}}function updateExportedFilesMapFromCache(N,R){var j;if(R){E.Debug.assert(!!N.exportedModulesMap);var $=R.id;var q=R.version();if(N.previousCache){if(N.previousCache.id===$&&N.previousCache.version===q){return}N.previousCache.id=$;N.previousCache.version=q}else{N.previousCache={id:$,version:q}}(j=R.deletedKeys())===null||j===void 0?void 0:j.forEach((function(E){return N.exportedModulesMap.deleteKey(E)}));R.forEach((function(E,R){return N.exportedModulesMap.set(R,E)}))}}N.updateExportedFilesMapFromCache=updateExportedFilesMapFromCache;function getAllDependencies(N,R,j){var $=R.getCompilerOptions();if(E.outFile($)){return getAllFileNames(N,R)}if(!N.referencedMap||isFileAffectingGlobalScope(j)){return getAllFileNames(N,R)}var q=new E.Set;var G=[j.resolvedPath];while(G.length){var ie=G.pop();if(!q.has(ie)){q.add(ie);var ae=N.referencedMap.getValues(ie);if(ae){var ce=ae.keys();for(var le=ce.next();!le.done;le=ce.next()){G.push(le.value)}}}}return E.arrayFrom(E.mapDefinedIterator(q.keys(),(function(E){var N,j;return(j=(N=R.getSourceFileByPath(E))===null||N===void 0?void 0:N.fileName)!==null&&j!==void 0?j:E})))}N.getAllDependencies=getAllDependencies;function getAllFileNames(N,R){if(!N.allFileNames){var j=R.getSourceFiles();N.allFileNames=j===E.emptyArray?E.emptyArray:j.map((function(E){return E.fileName}))}return N.allFileNames}function getReferencedByPaths(N,R){var j=N.referencedMap.getKeys(R);return j?E.arrayFrom(j.keys()):[]}N.getReferencedByPaths=getReferencedByPaths;function containsOnlyAmbientModules(N){for(var R=0,j=N.statements;R0){var _e=le.pop();if(!ce.has(_e)){var Ee=R.getSourceFileByPath(_e);ce.set(_e,Ee);if(Ee&&updateShapeSignature(N,R,Ee,$,q,G,ie)){le.push.apply(le,getReferencedByPaths(N,Ee.resolvedPath))}}}return E.arrayFrom(E.mapDefinedIterator(ce.values(),(function(E){return E})))}})(N=E.BuilderState||(E.BuilderState={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["DtsOnly"]=0]="DtsOnly";E[E["Full"]=1]="Full"})(N=E.BuilderFileEmit||(E.BuilderFileEmit={}));function hasSameKeys(N,R){return N===R||N!==undefined&&R!==undefined&&N.size===R.size&&!E.forEachKey(N,(function(E){return!R.has(E)}))}function createBuilderProgramState(N,R,j,$){var q=E.BuilderState.create(N,R,j,$);q.program=N;var G=N.getCompilerOptions();q.compilerOptions=G;if(!E.outFile(G)){q.semanticDiagnosticsPerFile=new E.Map}q.changedFilesSet=new E.Set;var ie=E.BuilderState.canReuseOldState(q.referencedMap,j);var ae=ie?j.compilerOptions:undefined;var ce=ie&&j.semanticDiagnosticsPerFile&&!!q.semanticDiagnosticsPerFile&&!E.compilerOptionsAffectSemanticDiagnostics(G,ae);if(ie){if(!j.currentChangedFilePath){var le=j.currentAffectedFilesSignatures;E.Debug.assert(!j.affectedFiles&&(!le||!le.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var _e=j.changedFilesSet;if(ce){E.Debug.assert(!_e||!E.forEachKey(_e,(function(E){return j.semanticDiagnosticsPerFile.has(E)})),"Semantic diagnostics shouldnt be available for changed files")}_e===null||_e===void 0?void 0:_e.forEach((function(E){return q.changedFilesSet.add(E)}));if(!E.outFile(G)&&j.affectedFilesPendingEmit){q.affectedFilesPendingEmit=j.affectedFilesPendingEmit.slice();q.affectedFilesPendingEmitKind=j.affectedFilesPendingEmitKind&&new E.Map(j.affectedFilesPendingEmitKind);q.affectedFilesPendingEmitIndex=j.affectedFilesPendingEmitIndex;q.seenAffectedFiles=new E.Set}}var Ee=q.referencedMap;var Te=ie?j.referencedMap:undefined;var we=ce&&!G.skipLibCheck===!ae.skipLibCheck;var Ie=we&&!G.skipDefaultLibCheck===!ae.skipDefaultLibCheck;q.fileInfos.forEach((function($,G){var ae;var le;if(!ie||!(ae=j.fileInfos.get(G))||ae.version!==$.version||!hasSameKeys(le=Ee&&Ee.getValues(G),Te&&Te.getValues(G))||le&&E.forEachKey(le,(function(E){return!q.fileInfos.has(E)&&j.fileInfos.has(E)}))){q.changedFilesSet.add(G)}else if(ce){var _e=N.getSourceFileByPath(G);if(_e.isDeclarationFile&&!we){return}if(_e.hasNoDefaultLib&&!Ie){return}var Ne=j.semanticDiagnosticsPerFile.get(G);if(Ne){q.semanticDiagnosticsPerFile.set(G,j.hasReusableDiagnostic?convertToDiagnostics(Ne,N,R):Ne);if(!q.semanticDiagnosticsFromOldState){q.semanticDiagnosticsFromOldState=new E.Set}q.semanticDiagnosticsFromOldState.add(G)}}}));if(ie&&E.forEachEntry(j.fileInfos,(function(E,N){return E.affectsGlobalScope&&!q.fileInfos.has(N)}))){E.BuilderState.getAllFilesExcludingDefaultLibraryFile(q,N,undefined).forEach((function(E){return q.changedFilesSet.add(E.resolvedPath)}))}else if(ae&&!E.outFile(G)&&E.compilerOptionsAffectEmit(G,ae)){N.getSourceFiles().forEach((function(E){return addToAffectedFilesPendingEmit(q,E.resolvedPath,1)}));E.Debug.assert(!q.seenAffectedFiles||!q.seenAffectedFiles.size);q.seenAffectedFiles=q.seenAffectedFiles||new E.Set}q.buildInfoEmitPending=!!q.changedFilesSet.size;return q}function convertToDiagnostics(N,R,j){if(!N.length)return E.emptyArray;var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(R.getCompilerOptions()),R.getCurrentDirectory()));return N.map((function(E){var N=convertToDiagnosticRelatedInformation(E,R,toPath);N.reportsUnnecessary=E.reportsUnnecessary;N.reportsDeprecated=E.reportDeprecated;N.source=E.source;N.skippedOn=E.skippedOn;var j=E.relatedInformation;N.relatedInformation=j?j.length?j.map((function(E){return convertToDiagnosticRelatedInformation(E,R,toPath)})):[]:undefined;return N}));function toPath(N){return E.toPath(N,$,j)}}function convertToDiagnosticRelatedInformation(E,N,R){var j=E.file;return $($({},E),{file:j?N.getSourceFileByPath(R(j)):undefined})}function releaseCache(N){E.BuilderState.releaseCache(N);N.program=undefined}function cloneBuilderProgramState(N){var R;var j=E.BuilderState.clone(N);j.semanticDiagnosticsPerFile=N.semanticDiagnosticsPerFile&&new E.Map(N.semanticDiagnosticsPerFile);j.changedFilesSet=new E.Set(N.changedFilesSet);j.affectedFiles=N.affectedFiles;j.affectedFilesIndex=N.affectedFilesIndex;j.currentChangedFilePath=N.currentChangedFilePath;j.currentAffectedFilesSignatures=N.currentAffectedFilesSignatures&&new E.Map(N.currentAffectedFilesSignatures);j.currentAffectedFilesExportedModulesMap=(R=N.currentAffectedFilesExportedModulesMap)===null||R===void 0?void 0:R.clone();j.seenAffectedFiles=N.seenAffectedFiles&&new E.Set(N.seenAffectedFiles);j.cleanedDiagnosticsOfLibFiles=N.cleanedDiagnosticsOfLibFiles;j.semanticDiagnosticsFromOldState=N.semanticDiagnosticsFromOldState&&new E.Set(N.semanticDiagnosticsFromOldState);j.program=N.program;j.compilerOptions=N.compilerOptions;j.affectedFilesPendingEmit=N.affectedFilesPendingEmit&&N.affectedFilesPendingEmit.slice();j.affectedFilesPendingEmitKind=N.affectedFilesPendingEmitKind&&new E.Map(N.affectedFilesPendingEmitKind);j.affectedFilesPendingEmitIndex=N.affectedFilesPendingEmitIndex;j.seenEmittedFiles=N.seenEmittedFiles&&new E.Map(N.seenEmittedFiles);j.programEmitComplete=N.programEmitComplete;return j}function assertSourceFileOkWithoutNextAffectedCall(N,R){E.Debug.assert(!R||!N.affectedFiles||N.affectedFiles[N.affectedFilesIndex-1]!==R||!N.semanticDiagnosticsPerFile.has(R.resolvedPath))}function getNextAffectedFile(N,R,j){while(true){var $=N.affectedFiles;if($){var q=N.seenAffectedFiles;var G=N.affectedFilesIndex;while(G<$.length){var ie=$[G];if(!q.has(ie.resolvedPath)){N.affectedFilesIndex=G;handleDtsMayChangeOfAffectedFile(N,ie,R,j);return ie}G++}N.changedFilesSet.delete(N.currentChangedFilePath);N.currentChangedFilePath=undefined;E.BuilderState.updateSignaturesFromCache(N,N.currentAffectedFilesSignatures);N.currentAffectedFilesSignatures.clear();E.BuilderState.updateExportedFilesMapFromCache(N,N.currentAffectedFilesExportedModulesMap);N.affectedFiles=undefined}var ae=N.changedFilesSet.keys().next();if(ae.done){return undefined}var ce=E.Debug.checkDefined(N.program);var le=ce.getCompilerOptions();if(E.outFile(le)){E.Debug.assert(!N.semanticDiagnosticsPerFile);return ce}if(!N.currentAffectedFilesSignatures)N.currentAffectedFilesSignatures=new E.Map;if(N.exportedModulesMap){N.currentAffectedFilesExportedModulesMap||(N.currentAffectedFilesExportedModulesMap=E.BuilderState.createManyToManyPathMap())}N.affectedFiles=E.BuilderState.getFilesAffectedBy(N,ce,ae.value,R,j,N.currentAffectedFilesSignatures,N.currentAffectedFilesExportedModulesMap);N.currentChangedFilePath=ae.value;N.affectedFilesIndex=0;if(!N.seenAffectedFiles)N.seenAffectedFiles=new E.Set}}function getNextAffectedFilePendingEmit(N){var R=N.affectedFilesPendingEmit;if(R){var j=N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map);for(var $=N.affectedFilesPendingEmitIndex;$0){var ae=ie.pop();if(!G.has(ae)){G.set(ae,true);j(N,ae);if(isChangedSignature(N,ae)){var ce=E.Debug.checkDefined(N.program).getSourceFileByPath(ae);ie.push.apply(ie,E.BuilderState.getReferencedByPaths(N,ce.resolvedPath))}}}}E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);var le=new E.Set;($=N.currentAffectedFilesExportedModulesMap.getKeys(R.resolvedPath))===null||$===void 0?void 0:$.forEach((function(E){return forEachFilesReferencingPath(N,E,le,j)}));(q=N.exportedModulesMap.getKeys(R.resolvedPath))===null||q===void 0?void 0:q.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFilesReferencingPath(N,E,le,j)}))}function forEachFilesReferencingPath(E,N,R,j){var $;($=E.referencedMap.getKeys(N))===null||$===void 0?void 0:$.forEach((function(N){return forEachFileAndExportsOfFile(E,N,R,j)}))}function forEachFileAndExportsOfFile(N,R,j,$){var q,G,ie;if(!E.tryAddToSet(j,R)){return}$(N,R);E.Debug.assert(!!N.currentAffectedFilesExportedModulesMap);(q=N.currentAffectedFilesExportedModulesMap.getKeys(R))===null||q===void 0?void 0:q.forEach((function(E){return forEachFileAndExportsOfFile(N,E,j,$)}));(G=N.exportedModulesMap.getKeys(R))===null||G===void 0?void 0:G.forEach((function(E){var R;return!N.currentAffectedFilesExportedModulesMap.hasKey(E)&&!((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E))&&forEachFileAndExportsOfFile(N,E,j,$)}));(ie=N.referencedMap.getKeys(R))===null||ie===void 0?void 0:ie.forEach((function(E){return!j.has(E)&&$(N,E)}))}function doneWithAffectedFile(N,R,j,$,q){if(q){N.buildInfoEmitPending=false}else if(R===N.program){N.changedFilesSet.clear();N.programEmitComplete=true}else{N.seenAffectedFiles.add(R.resolvedPath);if(j!==undefined){(N.seenEmittedFiles||(N.seenEmittedFiles=new E.Map)).set(R.resolvedPath,j)}if($){N.affectedFilesPendingEmitIndex++;N.buildInfoEmitPending=true}else{N.affectedFilesIndex++}}}function toAffectedFileResult(E,N,R){doneWithAffectedFile(E,R);return{result:N,affected:R}}function toAffectedFileEmitResult(E,N,R,j,$,q){doneWithAffectedFile(E,R,j,$,q);return{result:N,affected:R}}function getSemanticDiagnosticsOfFile(N,R,j){return E.concatenate(getBinderAndCheckerDiagnosticsOfFile(N,R,j),E.Debug.checkDefined(N.program).getProgramDiagnostics(R))}function getBinderAndCheckerDiagnosticsOfFile(N,R,j){var $=R.resolvedPath;if(N.semanticDiagnosticsPerFile){var q=N.semanticDiagnosticsPerFile.get($);if(q){return E.filterSemanticDiagnostics(q,N.compilerOptions)}}var G=E.Debug.checkDefined(N.program).getBindAndCheckDiagnostics(R,j);if(N.semanticDiagnosticsPerFile){N.semanticDiagnosticsPerFile.set($,G)}return E.filterSemanticDiagnostics(G,N.compilerOptions)}function getProgramBuildInfo(N,R){if(E.outFile(N.compilerOptions))return undefined;var j=E.Debug.checkDefined(N.program).getCurrentDirectory();var $=E.getDirectoryPath(E.getNormalizedAbsolutePath(E.getTsBuildInfoEmitOutputFilePath(N.compilerOptions),j));var q=[];var G=new E.Map;var ie;var ae;var ce=E.arrayFrom(N.fileInfos.entries(),(function(R){var j=R[0],$=R[1];var G=toFileId(j);E.Debug.assert(q[G-1]===relativeToBuildInfo(j));var ie=N.currentAffectedFilesSignatures&&N.currentAffectedFilesSignatures.get(j);var ae=ie!==null&&ie!==void 0?ie:$.signature;return $.version===ae?$.affectsGlobalScope?{version:$.version,signature:undefined,affectsGlobalScope:true}:$.version:ae!==undefined?ie===undefined?$:{version:$.version,signature:ie,affectsGlobalScope:$.affectsGlobalScope}:{version:$.version,signature:false,affectsGlobalScope:$.affectsGlobalScope}}));var le;if(N.referencedMap){le=E.arrayFrom(N.referencedMap.keys()).sort(E.compareStringsCaseSensitive).map((function(E){return[toFileId(E),toFileIdListId(N.referencedMap.getValues(E))]}))}var _e;if(N.exportedModulesMap){_e=E.mapDefined(E.arrayFrom(N.exportedModulesMap.keys()).sort(E.compareStringsCaseSensitive),(function(E){var R;if(N.currentAffectedFilesExportedModulesMap){if((R=N.currentAffectedFilesExportedModulesMap.deletedKeys())===null||R===void 0?void 0:R.has(E)){return undefined}var j=N.currentAffectedFilesExportedModulesMap.getValues(E);if(j){return[toFileId(E),toFileIdListId(j)]}}return[toFileId(E),toFileIdListId(N.exportedModulesMap.getValues(E))]}))}var Ee;if(N.semanticDiagnosticsPerFile){for(var Te=0,we=E.arrayFrom(N.semanticDiagnosticsPerFile.keys()).sort(E.compareStringsCaseSensitive);Te1||N.charCodeAt(0)!==47;if(q&&N.search(/[a-zA-Z]:/)!==0&&$.search(/[a-zA-z]\$\//)===0){j=N.indexOf(E.directorySeparator,j+1);if(j===-1){return false}$=N.substring(R+$.length,j+1)}if(q&&$.search(/users\//i)!==0){return true}for(var G=j+1,ie=2;ie>0;ie--){G=N.indexOf(E.directorySeparator,G)+1;if(G===0){return false}}return true}E.canWatchDirectory=canWatchDirectory;function createResolutionCache(N,R,j){var $;var q;var G;var ie=E.createMultiMap();var ae=[];var ce=E.createMultiMap();var le=false;var _e;var Ee;var Te;var we=E.memoize((function(){return N.getCurrentDirectory()}));var Ie=N.getCachedDirectoryStructureHost();var Ne=new E.Map;var Me=E.createCacheWithRedirects();var Le=E.createCacheWithRedirects();var Be=E.createModuleResolutionCache(we(),N.getCanonicalFileName,undefined,Me,Le);var je=new E.Map;var Ue=E.createCacheWithRedirects();var ze=E.createTypeReferenceDirectiveResolutionCache(we(),N.getCanonicalFileName,undefined,Be.getPackageJsonInfoCache(),Ue);var We=[".ts",".tsx",".js",".jsx",".json"];var Je=new E.Map;var Ve=new E.Map;var qe=R&&E.removeTrailingDirectorySeparator(E.getNormalizedAbsolutePath(R,we()));var He=qe&&N.toPath(qe);var Ge=He!==undefined?He.split(E.directorySeparator).length:0;var Ke=new E.Map;return{getModuleResolutionCache:function(){return Be},startRecordingFilesWithChangedResolutions:startRecordingFilesWithChangedResolutions,finishRecordingFilesWithChangedResolutions:finishRecordingFilesWithChangedResolutions,startCachingPerDirectoryResolution:clearPerDirectoryResolutions,finishCachingPerDirectoryResolution:finishCachingPerDirectoryResolution,resolveModuleNames:resolveModuleNames,getResolvedModuleWithFailedLookupLocationsFromCache:getResolvedModuleWithFailedLookupLocationsFromCache,resolveTypeReferenceDirectives:resolveTypeReferenceDirectives,removeResolutionsFromProjectReferenceRedirects:removeResolutionsFromProjectReferenceRedirects,removeResolutionsOfFile:removeResolutionsOfFile,hasChangedAutomaticTypeDirectiveNames:function(){return le},invalidateResolutionOfFile:invalidateResolutionOfFile,invalidateResolutionsOfFailedLookupLocations:invalidateResolutionsOfFailedLookupLocations,setFilesWithInvalidatedNonRelativeUnresolvedImports:setFilesWithInvalidatedNonRelativeUnresolvedImports,createHasInvalidatedResolution:createHasInvalidatedResolution,isFileWithInvalidatedNonRelativeUnresolvedImports:isFileWithInvalidatedNonRelativeUnresolvedImports,updateTypeRootsWatch:updateTypeRootsWatch,closeTypeRootsWatch:closeTypeRootsWatch,clear:clear};function getResolvedModule(E){return E.resolvedModule}function getResolvedTypeReferenceDirective(E){return E.resolvedTypeReferenceDirective}function isInDirectoryPath(N,R){if(N===undefined||R.length<=N.length){return false}return E.startsWith(R,N)&&R[N.length]===E.directorySeparator}function clear(){E.clearMap(Ve,E.closeFileWatcherOf);Je.clear();ie.clear();closeTypeRootsWatch();Ne.clear();je.clear();ce.clear();ae.length=0;_e=undefined;Ee=undefined;Te=undefined;clearPerDirectoryResolutions();le=false}function startRecordingFilesWithChangedResolutions(){$=[]}function finishRecordingFilesWithChangedResolutions(){var E=$;$=undefined;return E}function isFileWithInvalidatedNonRelativeUnresolvedImports(E){if(!G){return false}var N=G.get(E);return!!N&&!!N.length}function createHasInvalidatedResolution(N){invalidateResolutionsOfFailedLookupLocations();if(N){q=undefined;return E.returnTrue}var R=q;q=undefined;return function(E){return!!R&&R.has(E)||isFileWithInvalidatedNonRelativeUnresolvedImports(E)}}function clearPerDirectoryResolutions(){Be.clear();ze.clear();ie.forEach(watchFailedLookupLocationOfNonRelativeModuleResolutions);ie.clear()}function finishCachingPerDirectoryResolution(){G=undefined;clearPerDirectoryResolutions();Ve.forEach((function(E,N){if(E.refCount===0){Ve.delete(N);E.watcher.close()}}));le=false}function resolveModuleName(R,j,$,q,G){var ie;var ae=E.resolveModuleName(R,j,$,q,Be,G);if(!N.getGlobalCache){return ae}var ce=N.getGlobalCache();if(ce!==undefined&&!E.isExternalModuleNameRelative(R)&&!(ae.resolvedModule&&E.extensionIsTS(ae.resolvedModule.extension))){var le=E.loadModuleFromGlobalCache(E.Debug.checkDefined(N.globalCacheResolutionModuleName)(R),N.projectName,$,q,ce,Be),_e=le.resolvedModule,Ee=le.failedLookupLocations;if(_e){ae.resolvedModule=_e;(ie=ae.failedLookupLocations).push.apply(ie,Ee);return ae}}return ae}function resolveTypeReferenceDirective(N,R,j,$,q){return E.resolveTypeReferenceDirective(N,R,j,$,q,ze)}function resolveNamesWithLocalCache(R){var j,q,G;var ie=R.names,ae=R.containingFile,ce=R.redirectedReference,le=R.cache,_e=R.perDirectoryCacheWithRedirects,Ee=R.loader,Te=R.getResolutionWithResolvedFileName,we=R.shouldRetryResolution,Ie=R.reusedNames,Ne=R.logChanges;var Me=N.toPath(ae);var Le=le.get(Me)||le.set(Me,new E.Map).get(Me);var Be=E.getDirectoryPath(Me);var je=_e.getOrCreateMapOfCacheRedirects(ce);var Ue=je.get(Be);if(!Ue){Ue=new E.Map;je.set(Be,Ue)}var ze=[];var We=N.getCompilationSettings();var Je=Ne&&isFileWithInvalidatedNonRelativeUnresolvedImports(Me);var Ve=N.getCurrentProgram();var qe=Ve&&Ve.getResolvedProjectReferenceToRedirect(ae);var He=qe?!ce||ce.sourceFile.path!==qe.sourceFile.path:!!ce;var Ge=new E.Map;for(var Ke=0,Qe=ie;KeGe+1){return{dir:$.slice(0,Ge+1).join(E.directorySeparator),dirPath:j.slice(0,Ge+1).join(E.directorySeparator)}}else{return{dir:qe,dirPath:He,nonRecursive:false}}}return getDirectoryToWatchFromFailedLookupLocationDirectory(E.getDirectoryPath(E.getNormalizedAbsolutePath(N,we())),E.getDirectoryPath(R))}function getDirectoryToWatchFromFailedLookupLocationDirectory(N,R){while(E.pathContainsNodeModules(R)){N=E.getDirectoryPath(N);R=E.getDirectoryPath(R)}if(E.isNodeModulesDirectory(R)){return canWatchDirectory(E.getDirectoryPath(R))?{dir:N,dirPath:R}:undefined}var j=true;var $,q;if(He!==undefined){while(!isInDirectoryPath(R,He)){var G=E.getDirectoryPath(R);if(G===R){break}j=false;$=R;q=N;R=G;N=E.getDirectoryPath(N)}}return canWatchDirectory(R)?{dir:q||N,dirPath:$||R,nonRecursive:j}:undefined}function isPathWithDefaultFailedLookupExtension(N){return E.fileExtensionIsOneOf(N,We)}function watchFailedLookupLocationsOfExternalModuleResolutions(R,j,$,q){if(j.refCount){j.refCount++;E.Debug.assertDefined(j.files)}else{j.refCount=1;E.Debug.assert(E.length(j.files)===0);if(E.isExternalModuleNameRelative(R)){watchFailedLookupLocationOfResolution(j)}else{ie.add(R,j)}var G=q(j);if(G&&G.resolvedFileName){ce.add(N.toPath(G.resolvedFileName),j)}}(j.files||(j.files=[])).push($)}function watchFailedLookupLocationOfResolution(R){E.Debug.assert(!!R.refCount);var j=R.failedLookupLocations;if(!j.length)return;ae.push(R);var $=false;for(var q=0,G=j;q1);Je.set(Te,Ne-1)}}if(Ie===He){ie=true}else{removeDirectoryWatcher(Ie)}}}if(ie){removeDirectoryWatcher(He)}}function removeDirectoryWatcher(E){var N=Ve.get(E);N.refCount--}function createDirectoryWatcher(E,R,j){return N.watchDirectoryOfFailedLookupLocation(E,(function(E){var j=N.toPath(E);if(Ie){Ie.addOrDeleteFileOrDirectory(E,j)}scheduleInvalidateResolutionOfFailedLookupLocation(j,R===j)}),j?0:1)}function removeResolutionsOfFileFromCache(E,N,R){var j=E.get(N);if(j){j.forEach((function(E){return stopWatchFailedLookupLocationOfResolution(E,N,R)}));E.delete(N)}}function removeResolutionsFromProjectReferenceRedirects(R){if(!E.fileExtensionIs(R,".json")){return}var j=N.getCurrentProgram();if(!j){return}var $=j.getResolvedProjectReferenceByPath(R);if(!$){return}$.commandLine.fileNames.forEach((function(E){return removeResolutionsOfFile(N.toPath(E))}))}function removeResolutionsOfFile(E){removeResolutionsOfFileFromCache(Ne,E,getResolvedModule);removeResolutionsOfFileFromCache(je,E,getResolvedTypeReferenceDirective)}function invalidateResolutions(N,R){if(!N)return false;var j=false;for(var $=0,G=N;$1){j.sort(comparePathsByRedirectAndNumberOfDirectorySeparators)}ie.push.apply(ie,j)}var $=E.getDirectoryPath(N);if($===N)return ae=N,"break";N=$;ae=N};var ae;for(var ce=E.getDirectoryPath(N);q.size!==0;){var le=_loop_31(ce);ce=ae;if(le==="break")break}if(q.size){var _e=E.arrayFrom(q.values());if(_e.length>1)_e.sort(comparePathsByRedirectAndNumberOfDirectorySeparators);ie.push.apply(ie,_e)}return ie}function tryGetModuleNameFromAmbientModule(N,R){var j;var $=(j=N.declarations)===null||j===void 0?void 0:j.find((function(N){return E.isNonGlobalAmbientModule(N)&&(!E.isExternalModuleAugmentation(N)||!E.isExternalModuleNameRelative(E.getTextOfIdentifierOrLiteral(N.name)))}));if($){return $.name.text}var q=E.mapDefined(N.declarations,(function(N){var j,$,q,G;if(!E.isModuleDeclaration(N))return;var ie=getTopNamespace(N);if(!(((j=ie===null||ie===void 0?void 0:ie.parent)===null||j===void 0?void 0:j.parent)&&E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent)&&E.isSourceFile(ie.parent.parent.parent)))return;var ae=(G=(q=($=ie.parent.parent.symbol.exports)===null||$===void 0?void 0:$.get("export="))===null||q===void 0?void 0:q.valueDeclaration)===null||G===void 0?void 0:G.expression;if(!ae)return;var ce=R.getSymbolAtLocation(ae);if(!ce)return;var le=(ce===null||ce===void 0?void 0:ce.flags)&2097152?R.getAliasedSymbol(ce):ce;if(le===N.symbol)return ie.parent.parent;function getTopNamespace(E){while(E.flags&4){E=E.parent}return E}}));var G=q[0];if(G){return G.name.text}}function tryGetModuleNameFromPaths(N,R,j){for(var $ in j){for(var q=0,G=j[$];q=le.length+_e.length&&E.startsWith(R,le)&&E.endsWith(R,_e)||!_e&&R===E.removeTrailingDirectorySeparator(le)){var Ee=R.substr(le.length,R.length-_e.length-le.length);return $.replace("*",Ee)}}else if(ae===R||ae===N){return $}}}}function tryGetModuleNameFromRootDirs(N,R,j,$,q,G){var ie=getPathRelativeToRootDirs(R,N,$);if(ie===undefined){return undefined}var ae=getPathRelativeToRootDirs(j,N,$);var ce=ae!==undefined?E.ensurePathIsNonModuleName(E.getRelativePathFromDirectory(ae,ie,$)):ie;return E.getEmitModuleResolutionKind(G)===E.ModuleResolutionKind.NodeJs?removeExtensionAndIndexPostFix(ce,q,G):E.removeFileExtension(ce)}function tryGetModuleNameAsNodeModule(N,R,j,$,q){var G=N.path,ie=N.isRedirect;var ae=R.getCanonicalFileName,ce=R.sourceDirectory;if(!j.fileExists||!j.readFile){return undefined}var le=getNodeModulePathParts(G);if(!le){return undefined}var _e=G;var Ee=false;if(!q){var Te=le.packageRootIndex;var we=void 0;while(true){var Ie=tryDirectoryWithPackageJson(Te),Ne=Ie.moduleFileToTry,Me=Ie.packageRootPath;if(Me){_e=Me;Ee=true;break}if(!we)we=Ne;Te=G.indexOf(E.directorySeparator,Te+1);if(Te===-1){_e=getExtensionlessFileName(we);break}}}if(ie&&!Ee){return undefined}var Le=j.getGlobalTypingsCacheLocation&&j.getGlobalTypingsCacheLocation();var Be=ae(_e.substring(0,le.topLevelNodeModulesIndex));if(!(E.startsWith(ce,Be)||Le&&E.startsWith(ae(Le),Be))){return undefined}var je=_e.substring(le.topLevelPackageNameIndex+1);var Ue=E.getPackageNameFromTypesPackageName(je);return E.getEmitModuleResolutionKind($)!==E.ModuleResolutionKind.NodeJs&&Ue===je?undefined:Ue;function tryDirectoryWithPackageJson(N){var R=G.substring(0,N);var q=E.combinePaths(R,"package.json");var ie=G;if(j.fileExists(q)){var ce=JSON.parse(j.readFile(q));var le=ce.typesVersions?E.getPackageJsonTypesVersionsPaths(ce.typesVersions):undefined;if(le){var _e=G.slice(R.length+1);var Ee=tryGetModuleNameFromPaths(E.removeFileExtension(_e),removeExtensionAndIndexPostFix(_e,0,$),le.paths);if(Ee!==undefined){ie=E.combinePaths(R,Ee)}}var Te=ce.typings||ce.types||ce.main;if(E.isString(Te)){var we=E.toPath(Te,R,ae);if(E.removeFileExtension(we)===E.removeFileExtension(ae(ie))){return{packageRootPath:R,moduleFileToTry:ie}}}}return{moduleFileToTry:ie}}function getExtensionlessFileName(N){var R=E.removeFileExtension(N);if(ae(R.substring(le.fileNameIndex))==="/index"&&!tryGetAnyFileFromPath(j,R.substring(0,le.fileNameIndex))){return R.substring(0,le.fileNameIndex)}return R}}function tryGetAnyFileFromPath(N,R){if(!N.fileExists)return;var j=E.getSupportedExtensions({allowJs:true},[{extension:"node",isMixedContent:false},{extension:"json",isMixedContent:false,scriptKind:6}]);for(var $=0,q=j;$=0){ie=ae;ae=N.indexOf("/",ie+1);switch(ce){case 0:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){R=ie;j=ae;ce=1}break;case 1:case 2:if(ce===1&&N.charAt(ie+1)==="@"){ce=2}else{$=ae;ce=3}break;case 3:if(N.indexOf(E.nodeModulesPathPart,ie)===ie){ce=1}else{ce=3}break}}q=ie;return ce>1?{topLevelNodeModulesIndex:R,topLevelPackageNameIndex:j,packageRootIndex:$,fileNameIndex:q}:undefined}function getPathRelativeToRootDirs(N,R,j){return E.firstDefined(R,(function(E){var R=getRelativePathIfInDirectory(N,E,j);return isPathRelativeToParent(R)?undefined:R}))}function removeExtensionAndIndexPostFix(N,R,j){if(E.fileExtensionIs(N,".json"))return N;var $=E.removeFileExtension(N);switch(R){case 0:return E.removeSuffix($,"/index");case 1:return $;case 2:return $+getJSExtensionForFile(N,j);default:return E.Debug.assertNever(R)}}function getJSExtensionForFile(N,R){var j;return(j=tryGetJSExtensionForFile(N,R))!==null&&j!==void 0?j:E.Debug.fail("Extension "+E.extensionFromPath(N)+" is unsupported:: FileName:: "+N)}function tryGetJSExtensionForFile(N,R){var j=E.tryGetExtensionFromPath(N);switch(j){case".ts":case".d.ts":return".js";case".tsx":return R.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return j;default:return undefined}}N.tryGetJSExtensionForFile=tryGetJSExtensionForFile;function getRelativePathIfInDirectory(N,R,j){var $=E.getRelativePathToDirectoryOrUrl(R,N,R,j,false);return E.isRootedDiskPath($)?undefined:$}function isPathRelativeToParent(N){return E.startsWith(N,"..")}})(N=E.moduleSpecifiers||(E.moduleSpecifiers={}))})(ce||(ce={}));var ce;(function(E){var N=E.sys?{getCurrentDirectory:function(){return E.sys.getCurrentDirectory()},getNewLine:function(){return E.sys.newLine},getCanonicalFileName:E.createGetCanonicalFileName(E.sys.useCaseSensitiveFileNames)}:undefined;function createDiagnosticReporter(R,j){var $=R===E.sys&&N?N:{getCurrentDirectory:function(){return R.getCurrentDirectory()},getNewLine:function(){return R.newLine},getCanonicalFileName:E.createGetCanonicalFileName(R.useCaseSensitiveFileNames)};if(!j){return function(N){return R.write(E.formatDiagnostic(N,$))}}var q=new Array(1);return function(N){q[0]=N;R.write(E.formatDiagnosticsWithColorAndContext(q,$)+$.getNewLine());q[0]=undefined}}E.createDiagnosticReporter=createDiagnosticReporter;function clearScreenIfNotWatchingForFileChanges(N,R,j){if(N.clearScreen&&!j.preserveWatchOutput&&!j.extendedDiagnostics&&!j.diagnostics&&E.contains(E.screenStartingMessageCodes,R.code)){N.clearScreen();return true}return false}E.screenStartingMessageCodes=[E.Diagnostics.Starting_compilation_in_watch_mode.code,E.Diagnostics.File_change_detected_Starting_incremental_compilation.code];function getPlainDiagnosticFollowingNewLines(N,R){return E.contains(E.screenStartingMessageCodes,N.code)?R+R:R}function getLocaleTimeString(E){return!E.now?(new Date).toLocaleTimeString():E.now().toLocaleTimeString("en-US",{timeZone:"UTC"})}E.getLocaleTimeString=getLocaleTimeString;function createWatchStatusReporter(N,R){return R?function(R,j,$){clearScreenIfNotWatchingForFileChanges(N,R,$);var q="["+E.formatColorAndReset(getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+(j+j);N.write(q)}:function(R,j,$){var q="";if(!clearScreenIfNotWatchingForFileChanges(N,R,$)){q+=j}q+=getLocaleTimeString(N)+" - ";q+=""+E.flattenDiagnosticMessageText(R.messageText,N.newLine)+getPlainDiagnosticFollowingNewLines(R,j);N.write(q)}}E.createWatchStatusReporter=createWatchStatusReporter;function parseConfigFileWithSystem(N,R,j,$,q,G){var ie=q;ie.onUnRecoverableConfigFileDiagnostic=function(E){return reportUnrecoverableDiagnostic(q,G,E)};var ae=E.getParsedCommandLineOfConfigFile(N,R,ie,j,$);ie.onUnRecoverableConfigFileDiagnostic=undefined;return ae}E.parseConfigFileWithSystem=parseConfigFileWithSystem;function getErrorCountForSummary(N){return E.countWhere(N,(function(N){return N.category===E.DiagnosticCategory.Error}))}E.getErrorCountForSummary=getErrorCountForSummary;function getWatchErrorSummaryDiagnosticMessage(N){return N===1?E.Diagnostics.Found_1_error_Watching_for_file_changes:E.Diagnostics.Found_0_errors_Watching_for_file_changes}E.getWatchErrorSummaryDiagnosticMessage=getWatchErrorSummaryDiagnosticMessage;function getErrorSummaryText(N,R){if(N===0)return"";var j=E.createCompilerDiagnostic(N===1?E.Diagnostics.Found_1_error:E.Diagnostics.Found_0_errors,N);return""+R+E.flattenDiagnosticMessageText(j.messageText,R)+R+R}E.getErrorSummaryText=getErrorSummaryText;function isBuilderProgram(E){return!!E.getState}E.isBuilderProgram=isBuilderProgram;function listFiles(N,R){var j=N.getCompilerOptions();if(j.explainFiles){explainFiles(isBuilderProgram(N)?N.getProgram():N,R)}else if(j.listFiles||j.listFilesOnly){E.forEach(N.getSourceFiles(),(function(E){R(E.fileName)}))}}E.listFiles=listFiles;function explainFiles(N,R){var j,$;var q=N.getFileIncludeReasons();var G=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var relativeFileName=function(R){return E.convertToRelativePath(R,N.getCurrentDirectory(),G)};for(var ie=0,ae=N.getSourceFiles();ie0){return E.ExitStatus.DiagnosticsPresent_OutputsSkipped}else if(_e.length>0){return E.ExitStatus.DiagnosticsPresent_OutputsGenerated}return E.ExitStatus.Success}E.emitFilesAndReportErrorsAndGetExitStatus=emitFilesAndReportErrorsAndGetExitStatus;E.noopFileWatcher={close:E.noop};E.returnNoopFileWatcher=function(){return E.noopFileWatcher};function createWatchHost(N,R){if(N===void 0){N=E.sys}var j=R||createWatchStatusReporter(N);return{onWatchStatusChange:j,watchFile:E.maybeBind(N,N.watchFile)||E.returnNoopFileWatcher,watchDirectory:E.maybeBind(N,N.watchDirectory)||E.returnNoopFileWatcher,setTimeout:E.maybeBind(N,N.setTimeout)||E.noop,clearTimeout:E.maybeBind(N,N.clearTimeout)||E.noop}}E.createWatchHost=createWatchHost;E.WatchType={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file"};function createWatchFactory(N,R){var j=N.trace?R.extendedDiagnostics?E.WatchLogLevel.Verbose:R.diagnostics?E.WatchLogLevel.TriggerOnly:E.WatchLogLevel.None:E.WatchLogLevel.None;var $=j!==E.WatchLogLevel.None?function(E){return N.trace(E)}:E.noop;var q=E.getWatchFactory(N,j,$);q.writeLog=$;return q}E.createWatchFactory=createWatchFactory;function createCompilerHostFromProgramHost(N,R,j){if(j===void 0){j=N}var $=N.useCaseSensitiveFileNames();var q=E.memoize((function(){return N.getNewLine()}));return{getSourceFile:function(j,$,q){var G;try{E.performance.mark("beforeIORead");G=N.readFile(j,R().charset);E.performance.mark("afterIORead");E.performance.measure("I/O Read","beforeIORead","afterIORead")}catch(E){if(q){q(E.message)}G=""}return G!==undefined?E.createSourceFile(j,G,$):undefined},getDefaultLibLocation:E.maybeBind(N,N.getDefaultLibLocation),getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:writeFile,getCurrentDirectory:E.memoize((function(){return N.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return $},getCanonicalFileName:E.createGetCanonicalFileName($),getNewLine:function(){return E.getNewLineCharacter(R(),q)},fileExists:function(E){return N.fileExists(E)},readFile:function(E){return N.readFile(E)},trace:E.maybeBind(N,N.trace),directoryExists:E.maybeBind(j,j.directoryExists),getDirectories:E.maybeBind(j,j.getDirectories),realpath:E.maybeBind(N,N.realpath),getEnvironmentVariable:E.maybeBind(N,N.getEnvironmentVariable)||function(){return""},createHash:E.maybeBind(N,N.createHash),readDirectory:E.maybeBind(N,N.readDirectory),disableUseFileVersionAsSignature:N.disableUseFileVersionAsSignature};function writeFile(R,j,$,q){try{E.performance.mark("beforeIOWrite");E.writeFileEnsuringDirectories(R,j,$,(function(E,R,j){return N.writeFile(E,R,j)}),(function(E){return N.createDirectory(E)}),(function(E){return N.directoryExists(E)}));E.performance.mark("afterIOWrite");E.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(E){if(q){q(E.message)}}}}E.createCompilerHostFromProgramHost=createCompilerHostFromProgramHost;function setGetSourceFileAsHashVersioned(N,R){var $=N.getSourceFile;var q=E.maybeBind(R,R.createHash)||E.generateDjb2Hash;N.getSourceFile=function(){var E=[];for(var R=0;RE?N:E}function isDeclarationFile(N){return E.fileExtensionIs(N,".d.ts")}function isCircularBuildOrder(E){return!!E&&!!E.buildOrder}E.isCircularBuildOrder=isCircularBuildOrder;function getBuildOrderFromAnyBuildOrder(E){return isCircularBuildOrder(E)?E.buildOrder:E}E.getBuildOrderFromAnyBuildOrder=getBuildOrderFromAnyBuildOrder;function createBuilderStatusReporter(N,R){return function(j){var $=R?"["+E.formatColorAndReset(E.getLocaleTimeString(N),E.ForegroundColorEscapeSequences.Grey)+"] ":E.getLocaleTimeString(N)+" - ";$+=""+E.flattenDiagnosticMessageText(j.messageText,N.newLine)+(N.newLine+N.newLine);N.write($)}}E.createBuilderStatusReporter=createBuilderStatusReporter;function createSolutionBuilderHostBase(N,R,j,$){var q=E.createProgramHost(N,R);q.getModifiedTime=N.getModifiedTime?function(E){return N.getModifiedTime(E)}:E.returnUndefined;q.setModifiedTime=N.setModifiedTime?function(E,R){return N.setModifiedTime(E,R)}:E.noop;q.deleteFile=N.deleteFile?function(E){return N.deleteFile(E)}:E.noop;q.reportDiagnostic=j||E.createDiagnosticReporter(N);q.reportSolutionBuilderStatus=$||createBuilderStatusReporter(N);q.now=E.maybeBind(N,N.now);return q}function createSolutionBuilderHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);G.reportErrorSummary=q;return G}E.createSolutionBuilderHost=createSolutionBuilderHost;function createSolutionBuilderWithWatchHost(N,R,j,$,q){if(N===void 0){N=E.sys}var G=createSolutionBuilderHostBase(N,R,j,$);var ie=E.createWatchHost(N,q);E.copyProperties(G,ie);return G}E.createSolutionBuilderWithWatchHost=createSolutionBuilderWithWatchHost;function getCompilerOptionsOfBuildOptions(N){var R={};E.commonOptionsWithBuild.forEach((function(j){if(E.hasProperty(N,j.name))R[j.name]=N[j.name]}));return R}function createSolutionBuilder(E,N,R){return createSolutionBuilderWorker(false,E,N,R)}E.createSolutionBuilder=createSolutionBuilder;function createSolutionBuilderWithWatch(E,N,R,j){return createSolutionBuilderWorker(true,E,N,R,j)}E.createSolutionBuilderWithWatch=createSolutionBuilderWithWatch;function createSolutionBuilderState(N,R,j,$,q){var G=R;var ie=R;var ae=G.getCurrentDirectory();var ce=E.createGetCanonicalFileName(G.useCaseSensitiveFileNames());var le=getCompilerOptionsOfBuildOptions($);var _e=E.createCompilerHostFromProgramHost(G,(function(){return Le.projectCompilerOptions}));E.setGetSourceFileAsHashVersioned(_e,G);_e.getParsedCommandLine=function(E){return parseConfigFile(Le,E,toResolvedConfigFilePath(Le,E))};_e.resolveModuleNames=E.maybeBind(G,G.resolveModuleNames);_e.resolveTypeReferenceDirectives=E.maybeBind(G,G.resolveTypeReferenceDirectives);var Ee=!_e.resolveModuleNames?E.createModuleResolutionCache(ae,ce):undefined;var Te=!_e.resolveTypeReferenceDirectives?E.createTypeReferenceDirectiveResolutionCache(ae,ce,undefined,Ee===null||Ee===void 0?void 0:Ee.getPackageJsonInfoCache()):undefined;if(!_e.resolveModuleNames){var loader_3=function(N,R,j){return E.resolveModuleName(N,R,Le.projectCompilerOptions,_e,Ee,j).resolvedModule};_e.resolveModuleNames=function(N,R,j,$){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,$,loader_3)}}if(!_e.resolveTypeReferenceDirectives){var loader_4=function(N,R,j){return E.resolveTypeReferenceDirective(N,R,Le.projectCompilerOptions,_e,j,Le.typeReferenceDirectiveResolutionCache).resolvedTypeReferenceDirective};_e.resolveTypeReferenceDirectives=function(N,R,j){return E.loadWithLocalCache(E.Debug.checkEachDefined(N),R,j,loader_4)}}var we=E.createWatchFactory(ie,$),Ie=we.watchFile,Ne=we.watchDirectory,Me=we.writeLog;var Le={host:G,hostWithWatch:ie,currentDirectory:ae,getCanonicalFileName:ce,parseConfigFileHost:E.parseConfigHostFromCompilerHostLike(G),write:E.maybeBind(G,G.trace),options:$,baseCompilerOptions:le,rootNames:j,baseWatchOptions:q,resolvedConfigFilePaths:new E.Map,configFileCache:new E.Map,projectStatus:new E.Map,buildInfoChecked:new E.Map,extendedConfigCache:new E.Map,builderPrograms:new E.Map,diagnostics:new E.Map,projectPendingBuild:new E.Map,projectErrorsReported:new E.Map,compilerHost:_e,moduleResolutionCache:Ee,typeReferenceDirectiveResolutionCache:Te,buildOrder:undefined,readFileWithCache:function(E){return G.readFile(E)},projectCompilerOptions:le,cache:undefined,allProjectBuildPending:true,needsSummary:true,watchAllProjectsPending:N,currentInvalidatedProject:undefined,watch:N,allWatchedWildcardDirectories:new E.Map,allWatchedInputFiles:new E.Map,allWatchedConfigFiles:new E.Map,allWatchedExtendedConfigFiles:new E.Map,allWatchedPackageJsonFiles:new E.Map,lastCachedPackageJsonLookups:new E.Map,timerToBuildInvalidatedProject:undefined,reportFileChangeDetected:false,watchFile:Ie,watchDirectory:Ne,writeLog:Me};return Le}function toPath(N,R){return E.toPath(R,N.currentDirectory,N.getCanonicalFileName)}function toResolvedConfigFilePath(E,N){var R=E.resolvedConfigFilePaths;var j=R.get(N);if(j!==undefined)return j;var $=toPath(E,N);R.set(N,$);return $}function isParsedCommandLine(E){return!!E.options}function getCachedParsedConfigFile(E,N){var R=E.configFileCache.get(N);return R&&isParsedCommandLine(R)?R:undefined}function parseConfigFile(N,R,j){var $=N.configFileCache;var q=$.get(j);if(q){return isParsedCommandLine(q)?q:undefined}var G;var ie=N.parseConfigFileHost,ae=N.baseCompilerOptions,ce=N.baseWatchOptions,le=N.extendedConfigCache,_e=N.host;var Ee;if(_e.getParsedCommandLine){Ee=_e.getParsedCommandLine(R);if(!Ee)G=E.createCompilerDiagnostic(E.Diagnostics.File_0_not_found,R)}else{ie.onUnRecoverableConfigFileDiagnostic=function(E){return G=E};Ee=E.getParsedCommandLineOfConfigFile(R,ae,ie,le,ce);ie.onUnRecoverableConfigFileDiagnostic=E.noop}$.set(j,Ee||G);return Ee}function resolveProjectName(N,R){return E.resolveConfigFileProjectName(E.resolvePath(N.currentDirectory,R))}function createBuildOrder(N,R){var j=new E.Map;var $=new E.Map;var q=[];var G;var ie;for(var ae=0,ce=R;aeq)}}}function needsBuild(N,R,j){var $=N.options;if(R.type!==E.UpToDateStatusType.OutOfDateWithPrepend||$.force)return true;return j.fileNames.length===0||!!E.getConfigFileParsingDiagnostics(j).length||!E.isIncrementalCompilation(j.options)}function getNextInvalidatedProject(N,R,j){if(!N.projectPendingBuild.size)return undefined;if(isCircularBuildOrder(R))return undefined;if(N.currentInvalidatedProject){return E.arrayIsEqualTo(N.currentInvalidatedProject.buildOrder,R)?N.currentInvalidatedProject:undefined}var $=N.options,G=N.projectPendingBuild;for(var ie=0;ieae){ie=Ee;ae=Te}}}if(!$.fileNames.length&&!E.canJsonReportNoInputFiles($.raw)){return{type:E.UpToDateStatusType.ContainerOnly}}var we=E.getAllProjectOutputs($,!ce.useCaseSensitiveFileNames());var Ie="(none)";var Ne=R;var Me="(none)";var Le=N;var Be;var je=N;var Ue=false;if(!G){for(var ze=0,We=we;zeLe){Le=Ve;Me=Je}if(isDeclarationFile(Je)){var qe=E.getModifiedTime(ce,Je);je=newer(je,qe)}}}var He=false;var Ge=false;var Ke;if($.projectReferences){j.projectStatus.set(q,{type:E.UpToDateStatusType.ComputingUpstream});for(var Qe=0,Xe=$.projectReferences;Qe=0}N.hasArgument=hasArgument;function findArgument(N){var R=E.sys.args.indexOf(N);return R>=0&&Rq){return 2}if(E.charCodeAt(0)===46){return 3}if(E.charCodeAt(0)===95){return 4}if(N){var R=/^@([^/]+)\/([^/]+)$/.exec(E);if(R){var j=validatePackageNameWorker(R[1],false);if(j!==0){return{name:R[1],isScopeName:true,result:j}}var $=validatePackageNameWorker(R[2],false);if($!==0){return{name:R[2],isScopeName:false,result:$}}return 0}}if(encodeURIComponent(E)!==E){return 5}return 0}function renderPackageNameValidationFailure(E,N){return typeof E==="object"?renderPackageNameValidationFailureWorker(N,E.result,E.name,E.isScopeName):renderPackageNameValidationFailureWorker(N,E,N,false)}N.renderPackageNameValidationFailure=renderPackageNameValidationFailure;function renderPackageNameValidationFailureWorker(N,R,j,$){var G=$?"Scope":"Package";switch(R){case 1:return"'"+N+"':: "+G+" name '"+j+"' cannot be empty";case 2:return"'"+N+"':: "+G+" name '"+j+"' should be less than "+q+" characters";case 3:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '.'";case 4:return"'"+N+"':: "+G+" name '"+j+"' cannot start with '_'";case 5:return"'"+N+"':: "+G+" name '"+j+"' contains non URI safe characters";case 0:return E.Debug.fail();default:throw E.Debug.assertNever(R)}}})(N=E.JsTyping||(E.JsTyping={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){var N=function(){function StringScriptSnapshot(E){this.text=E}StringScriptSnapshot.prototype.getText=function(E,N){return E===0&&N===this.text.length?this.text:this.text.substring(E,N)};StringScriptSnapshot.prototype.getLength=function(){return this.text.length};StringScriptSnapshot.prototype.getChangeRange=function(){return undefined};return StringScriptSnapshot}();function fromString(E){return new N(E)}E.fromString=fromString})(N=E.ScriptSnapshot||(E.ScriptSnapshot={}));var R;(function(E){E[E["Dependencies"]=1]="Dependencies";E[E["DevDependencies"]=2]="DevDependencies";E[E["PeerDependencies"]=4]="PeerDependencies";E[E["OptionalDependencies"]=8]="OptionalDependencies";E[E["All"]=15]="All"})(R=E.PackageJsonDependencyGroup||(E.PackageJsonDependencyGroup={}));var j;(function(E){E[E["Off"]=0]="Off";E[E["On"]=1]="On";E[E["Auto"]=2]="Auto"})(j=E.PackageJsonAutoImportPreference||(E.PackageJsonAutoImportPreference={}));var $;(function(E){E[E["Semantic"]=0]="Semantic";E[E["PartialSemantic"]=1]="PartialSemantic";E[E["Syntactic"]=2]="Syntactic"})($=E.LanguageServiceMode||(E.LanguageServiceMode={}));E.emptyOptions={};var q;(function(E){E["Original"]="original";E["TwentyTwenty"]="2020"})(q=E.SemanticClassificationFormat||(E.SemanticClassificationFormat={}));var G;(function(E){E[E["Invoked"]=1]="Invoked";E[E["TriggerCharacter"]=2]="TriggerCharacter";E[E["TriggerForIncompleteCompletions"]=3]="TriggerForIncompleteCompletions"})(G=E.CompletionTriggerKind||(E.CompletionTriggerKind={}));var ie;(function(E){E["Type"]="Type";E["Parameter"]="Parameter";E["Enum"]="Enum"})(ie=E.InlayHintKind||(E.InlayHintKind={}));var ae;(function(E){E["none"]="none";E["definition"]="definition";E["reference"]="reference";E["writtenReference"]="writtenReference"})(ae=E.HighlightSpanKind||(E.HighlightSpanKind={}));var ce;(function(E){E[E["None"]=0]="None";E[E["Block"]=1]="Block";E[E["Smart"]=2]="Smart"})(ce=E.IndentStyle||(E.IndentStyle={}));var le;(function(E){E["Ignore"]="ignore";E["Insert"]="insert";E["Remove"]="remove"})(le=E.SemicolonPreference||(E.SemicolonPreference={}));function getDefaultFormatCodeSettings(E){return{indentSize:4,tabSize:4,newLineCharacter:E||"\n",convertTabsToSpaces:true,indentStyle:ce.Smart,insertSpaceAfterConstructor:false,insertSpaceAfterCommaDelimiter:true,insertSpaceAfterSemicolonInForStatements:true,insertSpaceBeforeAndAfterBinaryOperators:true,insertSpaceAfterKeywordsInControlFlowStatements:true,insertSpaceAfterFunctionKeywordForAnonymousFunctions:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:false,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:true,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:false,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:false,insertSpaceBeforeFunctionParenthesis:false,placeOpenBraceOnNewLineForFunctions:false,placeOpenBraceOnNewLineForControlBlocks:false,semicolons:le.Ignore,trimTrailingWhitespace:true}}E.getDefaultFormatCodeSettings=getDefaultFormatCodeSettings;E.testFormatSettings=getDefaultFormatCodeSettings("\n");var _e;(function(E){E[E["aliasName"]=0]="aliasName";E[E["className"]=1]="className";E[E["enumName"]=2]="enumName";E[E["fieldName"]=3]="fieldName";E[E["interfaceName"]=4]="interfaceName";E[E["keyword"]=5]="keyword";E[E["lineBreak"]=6]="lineBreak";E[E["numericLiteral"]=7]="numericLiteral";E[E["stringLiteral"]=8]="stringLiteral";E[E["localName"]=9]="localName";E[E["methodName"]=10]="methodName";E[E["moduleName"]=11]="moduleName";E[E["operator"]=12]="operator";E[E["parameterName"]=13]="parameterName";E[E["propertyName"]=14]="propertyName";E[E["punctuation"]=15]="punctuation";E[E["space"]=16]="space";E[E["text"]=17]="text";E[E["typeParameterName"]=18]="typeParameterName";E[E["enumMemberName"]=19]="enumMemberName";E[E["functionName"]=20]="functionName";E[E["regularExpressionLiteral"]=21]="regularExpressionLiteral";E[E["link"]=22]="link";E[E["linkName"]=23]="linkName";E[E["linkText"]=24]="linkText"})(_e=E.SymbolDisplayPartKind||(E.SymbolDisplayPartKind={}));var Ee;(function(E){E["Comment"]="comment";E["Region"]="region";E["Code"]="code";E["Imports"]="imports"})(Ee=E.OutliningSpanKind||(E.OutliningSpanKind={}));var Te;(function(E){E[E["JavaScript"]=0]="JavaScript";E[E["SourceMap"]=1]="SourceMap";E[E["Declaration"]=2]="Declaration"})(Te=E.OutputFileType||(E.OutputFileType={}));var we;(function(E){E[E["None"]=0]="None";E[E["InMultiLineCommentTrivia"]=1]="InMultiLineCommentTrivia";E[E["InSingleQuoteStringLiteral"]=2]="InSingleQuoteStringLiteral";E[E["InDoubleQuoteStringLiteral"]=3]="InDoubleQuoteStringLiteral";E[E["InTemplateHeadOrNoSubstitutionTemplate"]=4]="InTemplateHeadOrNoSubstitutionTemplate";E[E["InTemplateMiddleOrTail"]=5]="InTemplateMiddleOrTail";E[E["InTemplateSubstitutionPosition"]=6]="InTemplateSubstitutionPosition"})(we=E.EndOfLineState||(E.EndOfLineState={}));var Ie;(function(E){E[E["Punctuation"]=0]="Punctuation";E[E["Keyword"]=1]="Keyword";E[E["Operator"]=2]="Operator";E[E["Comment"]=3]="Comment";E[E["Whitespace"]=4]="Whitespace";E[E["Identifier"]=5]="Identifier";E[E["NumberLiteral"]=6]="NumberLiteral";E[E["BigIntLiteral"]=7]="BigIntLiteral";E[E["StringLiteral"]=8]="StringLiteral";E[E["RegExpLiteral"]=9]="RegExpLiteral"})(Ie=E.TokenClass||(E.TokenClass={}));var Ne;(function(E){E["unknown"]="";E["warning"]="warning";E["keyword"]="keyword";E["scriptElement"]="script";E["moduleElement"]="module";E["classElement"]="class";E["localClassElement"]="local class";E["interfaceElement"]="interface";E["typeElement"]="type";E["enumElement"]="enum";E["enumMemberElement"]="enum member";E["variableElement"]="var";E["localVariableElement"]="local var";E["functionElement"]="function";E["localFunctionElement"]="local function";E["memberFunctionElement"]="method";E["memberGetAccessorElement"]="getter";E["memberSetAccessorElement"]="setter";E["memberVariableElement"]="property";E["constructorImplementationElement"]="constructor";E["callSignatureElement"]="call";E["indexSignatureElement"]="index";E["constructSignatureElement"]="construct";E["parameterElement"]="parameter";E["typeParameterElement"]="type parameter";E["primitiveType"]="primitive type";E["label"]="label";E["alias"]="alias";E["constElement"]="const";E["letElement"]="let";E["directory"]="directory";E["externalModuleName"]="external module name";E["jsxAttribute"]="JSX attribute";E["string"]="string";E["link"]="link";E["linkName"]="link name";E["linkText"]="link text"})(Ne=E.ScriptElementKind||(E.ScriptElementKind={}));var Me;(function(E){E["none"]="";E["publicMemberModifier"]="public";E["privateMemberModifier"]="private";E["protectedMemberModifier"]="protected";E["exportedModifier"]="export";E["ambientModifier"]="declare";E["staticModifier"]="static";E["abstractModifier"]="abstract";E["optionalModifier"]="optional";E["deprecatedModifier"]="deprecated";E["dtsModifier"]=".d.ts";E["tsModifier"]=".ts";E["tsxModifier"]=".tsx";E["jsModifier"]=".js";E["jsxModifier"]=".jsx";E["jsonModifier"]=".json"})(Me=E.ScriptElementKindModifier||(E.ScriptElementKindModifier={}));var Le;(function(E){E["comment"]="comment";E["identifier"]="identifier";E["keyword"]="keyword";E["numericLiteral"]="number";E["bigintLiteral"]="bigint";E["operator"]="operator";E["stringLiteral"]="string";E["whiteSpace"]="whitespace";E["text"]="text";E["punctuation"]="punctuation";E["className"]="class name";E["enumName"]="enum name";E["interfaceName"]="interface name";E["moduleName"]="module name";E["typeParameterName"]="type parameter name";E["typeAliasName"]="type alias name";E["parameterName"]="parameter name";E["docCommentTagName"]="doc comment tag name";E["jsxOpenTagName"]="jsx open tag name";E["jsxCloseTagName"]="jsx close tag name";E["jsxSelfClosingTagName"]="jsx self closing tag name";E["jsxAttribute"]="jsx attribute";E["jsxText"]="jsx text";E["jsxAttributeStringLiteralValue"]="jsx attribute string literal value"})(Le=E.ClassificationTypeNames||(E.ClassificationTypeNames={}));var Be;(function(E){E[E["comment"]=1]="comment";E[E["identifier"]=2]="identifier";E[E["keyword"]=3]="keyword";E[E["numericLiteral"]=4]="numericLiteral";E[E["operator"]=5]="operator";E[E["stringLiteral"]=6]="stringLiteral";E[E["regularExpressionLiteral"]=7]="regularExpressionLiteral";E[E["whiteSpace"]=8]="whiteSpace";E[E["text"]=9]="text";E[E["punctuation"]=10]="punctuation";E[E["className"]=11]="className";E[E["enumName"]=12]="enumName";E[E["interfaceName"]=13]="interfaceName";E[E["moduleName"]=14]="moduleName";E[E["typeParameterName"]=15]="typeParameterName";E[E["typeAliasName"]=16]="typeAliasName";E[E["parameterName"]=17]="parameterName";E[E["docCommentTagName"]=18]="docCommentTagName";E[E["jsxOpenTagName"]=19]="jsxOpenTagName";E[E["jsxCloseTagName"]=20]="jsxCloseTagName";E[E["jsxSelfClosingTagName"]=21]="jsxSelfClosingTagName";E[E["jsxAttribute"]=22]="jsxAttribute";E[E["jsxText"]=23]="jsxText";E[E["jsxAttributeStringLiteralValue"]=24]="jsxAttributeStringLiteralValue";E[E["bigintLiteral"]=25]="bigintLiteral"})(Be=E.ClassificationType||(E.ClassificationType={}))})(ce||(ce={}));var ce;(function(E){E.scanner=E.createScanner(99,true);var N;(function(E){E[E["None"]=0]="None";E[E["Value"]=1]="Value";E[E["Type"]=2]="Type";E[E["Namespace"]=4]="Namespace";E[E["All"]=7]="All"})(N=E.SemanticMeaning||(E.SemanticMeaning={}));function getMeaningFromDeclaration(N){switch(N.kind){case 252:return E.isInJSFile(N)&&E.getJSDocEnumTag(N)?7:1;case 162:case 201:case 165:case 164:case 291:case 292:case 167:case 166:case 169:case 170:case 171:case 254:case 211:case 212:case 290:case 283:return 1;case 161:case 256:case 257:case 180:return 2;case 340:return N.name===undefined?1|2:2;case 294:case 255:return 1|2;case 259:if(E.isAmbientModule(N)){return 4|1}else if(E.getModuleInstanceState(N)===1){return 4|1}else{return 4}case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 4|1}return 7}E.getMeaningFromDeclaration=getMeaningFromDeclaration;function getMeaningFromLocation(N){N=getAdjustedReferenceLocation(N);var R=N.parent;if(N.kind===300){return 1}else if(E.isExportAssignment(R)||E.isExportSpecifier(R)||E.isExternalModuleReference(R)||E.isImportSpecifier(R)||E.isImportClause(R)||E.isImportEqualsDeclaration(R)&&N===R.name){var j=R;while(j){if(E.isImportEqualsDeclaration(j)||E.isImportClause(j)||E.isExportDeclaration(j)){return j.isTypeOnly?2:7}j=j.parent}return 7}else if(isInRightSideOfInternalImportEqualsDeclaration(N)){return getMeaningFromRightHandSideOfImportEquals(N)}else if(E.isDeclarationName(N)){return getMeaningFromDeclaration(R)}else if(E.isEntityName(N)&&E.findAncestor(N,E.or(E.isJSDocNameReference,E.isJSDocLinkLike,E.isJSDocMemberName))){return 7}else if(isTypeReference(N)){return 2}else if(isNamespaceReference(N)){return 4}else if(E.isTypeParameterDeclaration(R)){E.Debug.assert(E.isJSDocTemplateTag(R.parent));return 2}else if(E.isLiteralTypeNode(R)){return 2|1}else{return 1}}E.getMeaningFromLocation=getMeaningFromLocation;function getMeaningFromRightHandSideOfImportEquals(N){var R=N.kind===159?N:E.isQualifiedName(N.parent)&&N.parent.right===N?N.parent:undefined;return R&&R.parent.kind===263?7:4}function isInRightSideOfInternalImportEqualsDeclaration(N){while(N.parent.kind===159){N=N.parent}return E.isInternalModuleImportEqualsDeclaration(N.parent)&&N.parent.moduleReference===N}E.isInRightSideOfInternalImportEqualsDeclaration=isInRightSideOfInternalImportEqualsDeclaration;function isNamespaceReference(E){return isQualifiedNameNamespaceReference(E)||isPropertyAccessNamespaceReference(E)}function isQualifiedNameNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===159){while(N.parent&&N.parent.kind===159){N=N.parent}R=N.right===E}return N.parent.kind===176&&!R}function isPropertyAccessNamespaceReference(E){var N=E;var R=true;if(N.parent.kind===204){while(N.parent&&N.parent.kind===204){N=N.parent}R=N.name===E}if(!R&&N.parent.kind===226&&N.parent.parent.kind===289){var j=N.parent.parent.parent;return j.kind===255&&N.parent.parent.token===117||j.kind===256&&N.parent.parent.token===94}return false}function isTypeReference(N){if(E.isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}switch(N.kind){case 108:return!E.isExpressionNode(N);case 190:return true}switch(N.parent.kind){case 176:return true;case 198:return!N.parent.isTypeOf;case 226:return!E.isExpressionWithTypeArgumentsInClassExtendsClause(N.parent)}return false}function isCallExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallExpressionTarget=isCallExpressionTarget;function isNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isNewExpressionTarget=isNewExpressionTarget;function isCallOrNewExpressionTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isCallOrNewExpression,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isCallOrNewExpressionTarget=isCallOrNewExpressionTarget;function isTaggedTemplateTag(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isTaggedTemplateExpression,selectTagOfTaggedTemplateExpression,R,j)}E.isTaggedTemplateTag=isTaggedTemplateTag;function isDecoratorTarget(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isDecorator,selectExpressionOfCallOrNewExpressionOrDecorator,R,j)}E.isDecoratorTarget=isDecoratorTarget;function isJsxOpeningLikeElementTagName(N,R,j){if(R===void 0){R=false}if(j===void 0){j=false}return isCalleeWorker(N,E.isJsxOpeningLikeElement,selectTagNameOfJsxOpeningLikeElement,R,j)}E.isJsxOpeningLikeElementTagName=isJsxOpeningLikeElementTagName;function selectExpressionOfCallOrNewExpressionOrDecorator(E){return E.expression}function selectTagOfTaggedTemplateExpression(E){return E.tag}function selectTagNameOfJsxOpeningLikeElement(E){return E.tagName}function isCalleeWorker(N,R,j,$,q){var G=$?climbPastPropertyOrElementAccess(N):climbPastPropertyAccess(N);if(q){G=E.skipOuterExpressions(G)}return!!G&&!!G.parent&&R(G.parent)&&j(G.parent)===G}function climbPastPropertyAccess(E){return isRightSideOfPropertyAccess(E)?E.parent:E}E.climbPastPropertyAccess=climbPastPropertyAccess;function climbPastPropertyOrElementAccess(E){return isRightSideOfPropertyAccess(E)||isArgumentExpressionOfElementAccess(E)?E.parent:E}E.climbPastPropertyOrElementAccess=climbPastPropertyOrElementAccess;function getTargetLabel(E,N){while(E){if(E.kind===248&&E.label.escapedText===N){return E.label}E=E.parent}return undefined}E.getTargetLabel=getTargetLabel;function hasPropertyAccessExpressionWithName(N,R){if(!E.isPropertyAccessExpression(N.expression)){return false}return N.expression.name.text===R}E.hasPropertyAccessExpressionWithName=hasPropertyAccessExpressionWithName;function isJumpStatementTarget(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isBreakOrContinueStatement))===null||R===void 0?void 0:R.label)===N}E.isJumpStatementTarget=isJumpStatementTarget;function isLabelOfLabeledStatement(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isLabeledStatement))===null||R===void 0?void 0:R.label)===N}E.isLabelOfLabeledStatement=isLabelOfLabeledStatement;function isLabelName(E){return isLabelOfLabeledStatement(E)||isJumpStatementTarget(E)}E.isLabelName=isLabelName;function isTagName(N){var R;return((R=E.tryCast(N.parent,E.isJSDocTag))===null||R===void 0?void 0:R.tagName)===N}E.isTagName=isTagName;function isRightSideOfQualifiedName(N){var R;return((R=E.tryCast(N.parent,E.isQualifiedName))===null||R===void 0?void 0:R.right)===N}E.isRightSideOfQualifiedName=isRightSideOfQualifiedName;function isRightSideOfPropertyAccess(N){var R;return((R=E.tryCast(N.parent,E.isPropertyAccessExpression))===null||R===void 0?void 0:R.name)===N}E.isRightSideOfPropertyAccess=isRightSideOfPropertyAccess;function isArgumentExpressionOfElementAccess(N){var R;return((R=E.tryCast(N.parent,E.isElementAccessExpression))===null||R===void 0?void 0:R.argumentExpression)===N}E.isArgumentExpressionOfElementAccess=isArgumentExpressionOfElementAccess;function isNameOfModuleDeclaration(N){var R;return((R=E.tryCast(N.parent,E.isModuleDeclaration))===null||R===void 0?void 0:R.name)===N}E.isNameOfModuleDeclaration=isNameOfModuleDeclaration;function isNameOfFunctionDeclaration(N){var R;return E.isIdentifier(N)&&((R=E.tryCast(N.parent,E.isFunctionLike))===null||R===void 0?void 0:R.name)===N}E.isNameOfFunctionDeclaration=isNameOfFunctionDeclaration;function isLiteralNameOfPropertyDeclarationOrIndexAccess(N){switch(N.parent.kind){case 165:case 164:case 291:case 294:case 167:case 166:case 170:case 171:case 259:return E.getNameOfDeclaration(N.parent)===N;case 205:return N.parent.argumentExpression===N;case 160:return true;case 194:return N.parent.parent.kind===192;default:return false}}E.isLiteralNameOfPropertyDeclarationOrIndexAccess=isLiteralNameOfPropertyDeclarationOrIndexAccess;function isExpressionOfExternalModuleImportEqualsDeclaration(N){return E.isExternalModuleImportEqualsDeclaration(N.parent.parent)&&E.getExternalModuleImportEqualsDeclarationExpression(N.parent.parent)===N}E.isExpressionOfExternalModuleImportEqualsDeclaration=isExpressionOfExternalModuleImportEqualsDeclaration;function getContainerNode(N){if(E.isJSDocTypeAlias(N)){N=N.parent.parent}while(true){N=N.parent;if(!N){return undefined}switch(N.kind){case 300:case 167:case 166:case 254:case 211:case 170:case 171:case 255:case 256:case 258:case 259:return N}}}E.getContainerNode=getContainerNode;function getNodeKind(N){switch(N.kind){case 300:return E.isExternalModule(N)?"module":"script";case 259:return"module";case 255:case 224:return"class";case 256:return"interface";case 257:case 333:case 340:return"type";case 258:return"enum";case 252:return getKindOfVariableDeclaration(N);case 201:return getKindOfVariableDeclaration(E.getRootDeclaration(N));case 212:case 254:case 211:return"function";case 170:return"getter";case 171:return"setter";case 167:case 166:return"method";case 291:var R=N.initializer;return E.isFunctionLike(R)?"method":"property";case 165:case 164:case 292:case 293:return"property";case 174:return"index";case 173:return"construct";case 172:return"call";case 169:case 168:return"constructor";case 161:return"type parameter";case 294:return"enum member";case 162:return E.hasSyntacticModifier(N,16476)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 219:var j=E.getAssignmentDeclarationKind(N);var $=N.right;switch(j){case 7:case 8:case 9:case 0:return"";case 1:case 2:var q=getNodeKind($);return q===""?"const":q;case 3:return E.isFunctionExpression($)?"method":"property";case 4:return"property";case 5:return E.isFunctionExpression($)?"method":"property";case 6:return"local class";default:{E.assertType(j);return""}}case 79:return E.isImportClause(N.parent)?"alias":"";case 269:var G=getNodeKind(N.expression);return G===""?"const":G;default:return""}function getKindOfVariableDeclaration(N){return E.isVarConst(N)?"const":E.isLet(N)?"let":"var"}}E.getNodeKind=getNodeKind;function isThis(N){switch(N.kind){case 108:return true;case 79:return E.identifierIsThisKeyword(N)&&N.parent.kind===162;default:return false}}E.isThis=isThis;var R=/^\/\/\/\s*=R.end}E.startEndContainsRange=startEndContainsRange;function rangeContainsStartEnd(E,N,R){return E.pos<=N&&E.end>=R}E.rangeContainsStartEnd=rangeContainsStartEnd;function rangeOverlapsWithStartEnd(E,N,R){return startEndOverlapsWithStartEnd(E.pos,E.end,N,R)}E.rangeOverlapsWithStartEnd=rangeOverlapsWithStartEnd;function nodeOverlapsWithStartEnd(E,N,R,j){return startEndOverlapsWithStartEnd(E.getStart(N),E.end,R,j)}E.nodeOverlapsWithStartEnd=nodeOverlapsWithStartEnd;function startEndOverlapsWithStartEnd(E,N,R,j){var $=Math.max(E,R);var q=Math.min(N,j);return $N){break}var le=ae.getEnd();if(Nj.getStart(N)&&RN.end||E.pos===N.end;return R&&nodeHasTokens(E,j)?find(E):undefined}))}}E.findNextToken=findNextToken;function findPrecedingToken(N,R,j,$){var q=find(j||R);E.Debug.assert(!(q&&isWhiteSpaceOnlyJsxText(q)));return q;function find(q){if(isNonWhitespaceToken(q)&&q.kind!==1){return q}var G=q.getChildren(R);var ie=E.binarySearchKey(G,N,(function(E,N){return N}),(function(E,R){if(N=G[E-1].end){return 0}return 1}return-1}));if(ie>=0&&G[ie]){var ae=G[ie];if(N=N||!nodeHasTokens(ae,R)||isWhiteSpaceOnlyJsxText(ae);if(le){var _e=findRightmostChildNodeWithTokens(G,ie,R);return _e&&findRightmostToken(_e,R)}else{return find(ae)}}}E.Debug.assert(j!==undefined||q.kind===300||q.kind===1||E.isJSDocCommentContainingNode(q));var Ee=findRightmostChildNodeWithTokens(G,G.length,R);return Ee&&findRightmostToken(Ee,R)}}E.findPrecedingToken=findPrecedingToken;function isNonWhitespaceToken(N){return E.isToken(N)&&!isWhiteSpaceOnlyJsxText(N)}function findRightmostToken(E,N){if(isNonWhitespaceToken(E)){return E}var R=E.getChildren(N);if(R.length===0){return E}var j=findRightmostChildNodeWithTokens(R,R.length,N);return j&&findRightmostToken(j,N)}function findRightmostChildNodeWithTokens(N,R,j){for(var $=R-1;$>=0;$--){var q=N[$];if(isWhiteSpaceOnlyJsxText(q)){E.Debug.assert($>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`")}else if(nodeHasTokens(N[$],j)){return N[$]}}}function isInString(N,R,j){if(j===void 0){j=findPrecedingToken(R,N)}if(j&&E.isStringTextContainingNode(j)){var $=j.getStart(N);var q=j.getEnd();if($j.getStart(N)}E.isInTemplateString=isInTemplateString;function isInJSXText(N,R){var j=getTokenAtPosition(N,R);if(E.isJsxText(j)){return true}if(j.kind===18&&E.isJsxExpression(j.parent)&&E.isJsxElement(j.parent.parent)){return true}if(j.kind===29&&E.isJsxOpeningLikeElement(j.parent)&&E.isJsxElement(j.parent.parent)){return true}return false}E.isInJSXText=isInJSXText;function isInsideJsxElement(E,N){function isInsideJsxElementTraversal(R){while(R){if(R.kind>=277&&R.kind<=286||R.kind===11||R.kind===29||R.kind===31||R.kind===79||R.kind===19||R.kind===18||R.kind===43){R=R.parent}else if(R.kind===276){if(N>R.getStart(E))return true;R=R.parent}else{return false}}return false}return isInsideJsxElementTraversal(getTokenAtPosition(E,N))}E.isInsideJsxElement=isInsideJsxElement;function findPrecedingMatchingToken(N,R,j){var $=E.tokenToString(N.kind);var q=E.tokenToString(R);var G=N.getFullStart();var ie=j.text.lastIndexOf(q,G);if(ie===-1){return undefined}if(j.text.lastIndexOf($,G-1)=R}))}E.getPossibleGenericSignatures=getPossibleGenericSignatures;function getPossibleTypeArgumentsInfo(N,R){if(R.text.lastIndexOf("<",N?N.pos:R.text.length)===-1){return undefined}var j=N;var $=0;var q=0;while(j){switch(j.kind){case 29:j=findPrecedingToken(j.getFullStart(),R);if(j&&j.kind===28){j=findPrecedingToken(j.getFullStart(),R)}if(!j||!E.isIdentifier(j))return undefined;if(!$){return E.isDeclarationName(j)?undefined:{called:j,nTypeArguments:q}}$--;break;case 49:$=+3;break;case 48:$=+2;break;case 31:$++;break;case 19:j=findPrecedingMatchingToken(j,18,R);if(!j)return undefined;break;case 21:j=findPrecedingMatchingToken(j,20,R);if(!j)return undefined;break;case 23:j=findPrecedingMatchingToken(j,22,R);if(!j)return undefined;break;case 27:q++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 139:case 24:case 51:case 57:case 58:break;default:if(E.isTypeNode(j)){break}return undefined}j=findPrecedingToken(j.getFullStart(),R)}return undefined}E.getPossibleTypeArgumentsInfo=getPossibleTypeArgumentsInfo;function isInComment(N,R,j){return E.formatting.getRangeOfEnclosingComment(N,R,undefined,j)}E.isInComment=isInComment;function hasDocComment(N,R){var j=getTokenAtPosition(N,R);return!!E.findAncestor(j,E.isJSDoc)}E.hasDocComment=hasDocComment;function nodeHasTokens(E,N){return E.kind===1?!!E.jsDoc:E.getWidth(N)!==0}function getNodeModifiers(N,R){if(R===void 0){R=0}var j=[];var $=E.isDeclaration(N)?E.getCombinedNodeFlagsAlwaysIncludeJSDoc(N)&~R:0;if($&8)j.push("private");if($&16)j.push("protected");if($&4)j.push("public");if($&32||E.isClassStaticBlockDeclaration(N))j.push("static");if($&128)j.push("abstract");if($&1)j.push("export");if($&8192)j.push("deprecated");if(N.flags&8388608)j.push("declare");if(N.kind===269)j.push("export");return j.length>0?j.join(","):""}E.getNodeModifiers=getNodeModifiers;function getTypeArgumentOrTypeParameterList(N){if(N.kind===176||N.kind===206){return N.typeArguments}if(E.isFunctionLike(N)||N.kind===255||N.kind===256){return N.typeParameters}return undefined}E.getTypeArgumentOrTypeParameterList=getTypeArgumentOrTypeParameterList;function isComment(E){return E===2||E===3}E.isComment=isComment;function isStringOrRegularExpressionOrTemplateLiteral(N){if(N===10||N===13||E.isTemplateLiteralKind(N)){return true}return false}E.isStringOrRegularExpressionOrTemplateLiteral=isStringOrRegularExpressionOrTemplateLiteral;function isPunctuation(E){return 18<=E&&E<=78}E.isPunctuation=isPunctuation;function isInsideTemplateLiteral(N,R,j){return E.isTemplateLiteralKind(N.kind)&&(N.getStart(j)=2||!!E.noEmit}E.compilerOptionsIndicateEs6Modules=compilerOptionsIndicateEs6Modules;function createModuleSpecifierResolutionHost(N,R){return{fileExists:function(E){return N.fileExists(E)},getCurrentDirectory:function(){return R.getCurrentDirectory()},readFile:E.maybeBind(R,R.readFile),useCaseSensitiveFileNames:E.maybeBind(R,R.useCaseSensitiveFileNames),getSymlinkCache:E.maybeBind(R,R.getSymlinkCache)||N.getSymlinkCache,getModuleSpecifierCache:E.maybeBind(R,R.getModuleSpecifierCache),getGlobalTypingsCacheLocation:E.maybeBind(R,R.getGlobalTypingsCacheLocation),redirectTargetsMap:N.redirectTargetsMap,getProjectReferenceRedirect:function(E){return N.getProjectReferenceRedirect(E)},isSourceOfProjectReferenceRedirect:function(E){return N.isSourceOfProjectReferenceRedirect(E)},getNearestAncestorDirectoryWithPackageJson:E.maybeBind(R,R.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:function(){return N.getFileIncludeReasons()}}}E.createModuleSpecifierResolutionHost=createModuleSpecifierResolutionHost;function getModuleSpecifierResolverHost(E,N){return $($({},createModuleSpecifierResolutionHost(E,N)),{getCommonSourceDirectory:function(){return E.getCommonSourceDirectory()}})}E.getModuleSpecifierResolverHost=getModuleSpecifierResolverHost;function makeImportIfNecessary(E,N,R,j){return E||N&&N.length?makeImport(E,N,R,j):undefined}E.makeImportIfNecessary=makeImportIfNecessary;function makeImport(N,R,j,$,q){return E.factory.createImportDeclaration(undefined,undefined,N||R?E.factory.createImportClause(!!q,N,R&&R.length?E.factory.createNamedImports(R):undefined):undefined,typeof j==="string"?makeStringLiteral(j,$):j)}E.makeImport=makeImport;function makeStringLiteral(N,R){return E.factory.createStringLiteral(N,R===0)}E.makeStringLiteral=makeStringLiteral;var j;(function(E){E[E["Single"]=0]="Single";E[E["Double"]=1]="Double"})(j=E.QuotePreference||(E.QuotePreference={}));function quotePreferenceFromString(N,R){return E.isStringDoubleQuoted(N,R)?1:0}E.quotePreferenceFromString=quotePreferenceFromString;function getQuotePreference(N,R){if(R.quotePreference&&R.quotePreference!=="auto"){return R.quotePreference==="single"?0:1}else{var j=N.imports&&E.find(N.imports,(function(N){return E.isStringLiteral(N)&&!E.nodeIsSynthesized(N.parent)}));return j?quotePreferenceFromString(j,N):1}}E.getQuotePreference=getQuotePreference;function getQuoteFromPreference(N){switch(N){case 0:return"'";case 1:return'"';default:return E.Debug.assertNever(N)}}E.getQuoteFromPreference=getQuoteFromPreference;function symbolNameNoDefault(N){var R=symbolEscapedNameNoDefault(N);return R===undefined?undefined:E.unescapeLeadingUnderscores(R)}E.symbolNameNoDefault=symbolNameNoDefault;function symbolEscapedNameNoDefault(N){if(N.escapedName!=="default"){return N.escapedName}return E.firstDefined(N.declarations,(function(N){var R=E.getNameOfDeclaration(N);return R&&R.kind===79?R.escapedText:undefined}))}E.symbolEscapedNameNoDefault=symbolEscapedNameNoDefault;function isModuleSpecifierLike(N){return E.isStringLiteralLike(N)&&(E.isExternalModuleReference(N.parent)||E.isImportDeclaration(N.parent)||E.isRequireCall(N.parent,false)&&N.parent.arguments[0]===N||E.isImportCall(N.parent)&&N.parent.arguments[0]===N)}E.isModuleSpecifierLike=isModuleSpecifierLike;function isObjectBindingElementWithoutPropertyName(N){return E.isBindingElement(N)&&E.isObjectBindingPattern(N.parent)&&E.isIdentifier(N.name)&&!N.propertyName}E.isObjectBindingElementWithoutPropertyName=isObjectBindingElementWithoutPropertyName;function getPropertySymbolFromBindingElement(E,N){var R=E.getTypeAtLocation(N.parent);return R&&E.getPropertyOfType(R,N.name.text)}E.getPropertySymbolFromBindingElement=getPropertySymbolFromBindingElement;function getParentNodeInSpan(N,R,j){if(!N)return undefined;while(N.parent){if(E.isSourceFile(N.parent)||!spanContainsNode(j,N.parent,R)){return N}N=N.parent}}E.getParentNodeInSpan=getParentNodeInSpan;function spanContainsNode(N,R,j){return E.textSpanContainsPosition(N,R.getStart(j))&&R.getEnd()<=E.textSpanEnd(N)}function findModifier(N,R){return N.modifiers&&E.find(N.modifiers,(function(E){return E.kind===R}))}E.findModifier=findModifier;function insertImports(N,R,j,$){var q=E.isArray(j)?j[0]:j;var G=q.kind===235?E.isRequireVariableStatement:E.isAnyImportSyntax;var ie=E.filter(R.statements,G);var ae=E.isArray(j)?E.stableSort(j,E.OrganizeImports.compareImportsOrRequireStatements):[j];if(!ie.length){N.insertNodesAtTopOfFile(R,ae,$)}else if(ie&&E.OrganizeImports.importsAreSorted(ie)){for(var ce=0,le=ae;ce0&&E.declarations[0].kind===162}E.isFirstDeclarationOfSymbolParameter=isFirstDeclarationOfSymbolParameter;var q=getDisplayPartWriter();function getDisplayPartWriter(){var N=E.defaultMaximumTruncationLength*10;var R;var j;var $;var q;resetWriter();var unknownWrite=function(N){return writeKind(N,E.SymbolDisplayPartKind.text)};return{displayParts:function(){var j=R.length&&R[R.length-1].text;if(q>N&&j&&j!=="..."){if(!E.isWhiteSpaceLike(j.charCodeAt(j.length-1))){R.push(displayPart(" ",E.SymbolDisplayPartKind.space))}R.push(displayPart("...",E.SymbolDisplayPartKind.punctuation))}return R},writeKeyword:function(N){return writeKind(N,E.SymbolDisplayPartKind.keyword)},writeOperator:function(N){return writeKind(N,E.SymbolDisplayPartKind.operator)},writePunctuation:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeTrailingSemicolon:function(N){return writeKind(N,E.SymbolDisplayPartKind.punctuation)},writeSpace:function(N){return writeKind(N,E.SymbolDisplayPartKind.space)},writeStringLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeParameter:function(N){return writeKind(N,E.SymbolDisplayPartKind.parameterName)},writeProperty:function(N){return writeKind(N,E.SymbolDisplayPartKind.propertyName)},writeLiteral:function(N){return writeKind(N,E.SymbolDisplayPartKind.stringLiteral)},writeSymbol:writeSymbol,writeLine:writeLine,write:unknownWrite,writeComment:unknownWrite,getText:function(){return""},getTextPos:function(){return 0},getColumn:function(){return 0},getLine:function(){return 0},isAtStartOfLine:function(){return false},hasTrailingWhitespace:function(){return false},hasTrailingComment:function(){return false},rawWrite:E.notImplemented,getIndent:function(){return $},increaseIndent:function(){$++},decreaseIndent:function(){$--},clear:resetWriter,trackSymbol:function(){return false},reportInaccessibleThisError:E.noop,reportInaccessibleUniqueSymbolError:E.noop,reportPrivateInBaseOfClassExpression:E.noop};function writeIndent(){if(q>N)return;if(j){var G=E.getIndentString($);if(G){q+=G.length;R.push(displayPart(G,E.SymbolDisplayPartKind.space))}j=false}}function writeKind(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(displayPart(E,j))}function writeSymbol(E,j){if(q>N)return;writeIndent();q+=E.length;R.push(symbolPart(E,j))}function writeLine(){if(q>N)return;q+=1;R.push(lineBreakPart());j=true}function resetWriter(){R=[];j=true;$=0;q=0}}function symbolPart(N,R){return displayPart(N,displayPartKind(R));function displayPartKind(N){var R=N.flags;if(R&3){return isFirstDeclarationOfSymbolParameter(N)?E.SymbolDisplayPartKind.parameterName:E.SymbolDisplayPartKind.localName}else if(R&4){return E.SymbolDisplayPartKind.propertyName}else if(R&32768){return E.SymbolDisplayPartKind.propertyName}else if(R&65536){return E.SymbolDisplayPartKind.propertyName}else if(R&8){return E.SymbolDisplayPartKind.enumMemberName}else if(R&16){return E.SymbolDisplayPartKind.functionName}else if(R&32){return E.SymbolDisplayPartKind.className}else if(R&64){return E.SymbolDisplayPartKind.interfaceName}else if(R&384){return E.SymbolDisplayPartKind.enumName}else if(R&1536){return E.SymbolDisplayPartKind.moduleName}else if(R&8192){return E.SymbolDisplayPartKind.methodName}else if(R&262144){return E.SymbolDisplayPartKind.typeParameterName}else if(R&524288){return E.SymbolDisplayPartKind.aliasName}else if(R&2097152){return E.SymbolDisplayPartKind.aliasName}return E.SymbolDisplayPartKind.text}}E.symbolPart=symbolPart;function displayPart(N,R){return{text:N,kind:E.SymbolDisplayPartKind[R]}}E.displayPart=displayPart;function spacePart(){return displayPart(" ",E.SymbolDisplayPartKind.space)}E.spacePart=spacePart;function keywordPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.keyword)}E.keywordPart=keywordPart;function punctuationPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.punctuation)}E.punctuationPart=punctuationPart;function operatorPart(N){return displayPart(E.tokenToString(N),E.SymbolDisplayPartKind.operator)}E.operatorPart=operatorPart;function parameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.parameterName)}E.parameterNamePart=parameterNamePart;function propertyNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.propertyName)}E.propertyNamePart=propertyNamePart;function textOrKeywordPart(N){var R=E.stringToToken(N);return R===undefined?textPart(N):keywordPart(R)}E.textOrKeywordPart=textOrKeywordPart;function textPart(N){return displayPart(N,E.SymbolDisplayPartKind.text)}E.textPart=textPart;function typeAliasNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.aliasName)}E.typeAliasNamePart=typeAliasNamePart;function typeParameterNamePart(N){return displayPart(N,E.SymbolDisplayPartKind.typeParameterName)}E.typeParameterNamePart=typeParameterNamePart;function linkTextPart(N){return displayPart(N,E.SymbolDisplayPartKind.linkText)}E.linkTextPart=linkTextPart;function linkNamePart(N,R){return{text:E.getTextOfNode(N),kind:E.SymbolDisplayPartKind[E.SymbolDisplayPartKind.linkName],target:{fileName:E.getSourceFileOfNode(R).fileName,textSpan:createTextSpanFromNode(R)}}}E.linkNamePart=linkNamePart;function linkPart(N){return displayPart(N,E.SymbolDisplayPartKind.link)}E.linkPart=linkPart;function buildLinkParts(N,R){var j;var $=E.isJSDocLink(N)?"link":E.isJSDocLinkCode(N)?"linkcode":"linkplain";var q=[linkPart("{@"+$+" ")];if(!N.name){if(N.text){q.push(linkTextPart(N.text))}}else{var G=R===null||R===void 0?void 0:R.getSymbolAtLocation(N.name);var ie=(G===null||G===void 0?void 0:G.valueDeclaration)||((j=G===null||G===void 0?void 0:G.declarations)===null||j===void 0?void 0:j[0]);if(ie){q.push(linkNamePart(N.name,ie));if(N.text){q.push(linkTextPart(N.text))}}else{q.push(linkTextPart(E.getTextOfNode(N.name)+" "+N.text))}}q.push(linkPart("}"));return q}E.buildLinkParts=buildLinkParts;var G="\r\n";function getNewLineOrDefaultFromHost(E,N){var R;return(N===null||N===void 0?void 0:N.newLineCharacter)||((R=E.getNewLine)===null||R===void 0?void 0:R.call(E))||G}E.getNewLineOrDefaultFromHost=getNewLineOrDefaultFromHost;function lineBreakPart(){return displayPart("\n",E.SymbolDisplayPartKind.lineBreak)}E.lineBreakPart=lineBreakPart;function mapToDisplayParts(E){try{E(q);return q.displayParts()}finally{q.clear()}}E.mapToDisplayParts=mapToDisplayParts;function typeToDisplayParts(E,N,R,j){if(j===void 0){j=0}return mapToDisplayParts((function($){E.writeType(N,R,j|1024|16384,$)}))}E.typeToDisplayParts=typeToDisplayParts;function symbolToDisplayParts(E,N,R,j,$){if($===void 0){$=0}return mapToDisplayParts((function(q){E.writeSymbol(N,R,j,$|8,q)}))}E.symbolToDisplayParts=symbolToDisplayParts;function signatureToDisplayParts(E,N,R,j){if(j===void 0){j=0}j|=16384|1024|32|8192;return mapToDisplayParts((function($){E.writeSignature(N,R,j,undefined,$)}))}E.signatureToDisplayParts=signatureToDisplayParts;function isImportOrExportSpecifierName(N){return!!N.parent&&E.isImportOrExportSpecifier(N.parent)&&N.parent.propertyName===N}E.isImportOrExportSpecifierName=isImportOrExportSpecifierName;function getScriptKind(N,R){return E.ensureScriptKind(N,R.getScriptKind&&R.getScriptKind(N))}E.getScriptKind=getScriptKind;function getSymbolTarget(N,R){var j=N;while(isAliasSymbol(j)||isTransientSymbol(j)&&j.target){if(isTransientSymbol(j)&&j.target){j=j.target}else{j=E.skipAlias(j,R)}}return j}E.getSymbolTarget=getSymbolTarget;function isTransientSymbol(E){return(E.flags&33554432)!==0}function isAliasSymbol(E){return(E.flags&2097152)!==0}function getUniqueSymbolId(N,R){return E.getSymbolId(E.skipAlias(N,R))}E.getUniqueSymbolId=getUniqueSymbolId;function getFirstNonSpaceCharacterPosition(N,R){while(E.isWhiteSpaceLike(N.charCodeAt(R))){R+=1}return R}E.getFirstNonSpaceCharacterPosition=getFirstNonSpaceCharacterPosition;function getPrecedingNonSpaceCharacterPosition(N,R){while(R>-1&&E.isWhiteSpaceSingleLine(N.charCodeAt(R))){R-=1}return R+1}E.getPrecedingNonSpaceCharacterPosition=getPrecedingNonSpaceCharacterPosition;function getSynthesizedDeepClone(E,N){if(N===void 0){N=true}var R=E&&getSynthesizedDeepCloneWorker(E);if(R&&!N)suppressLeadingAndTrailingTrivia(R);return R}E.getSynthesizedDeepClone=getSynthesizedDeepClone;function getSynthesizedDeepCloneWithReplacements(N,R,j){var $=j(N);if($){E.setOriginalNode($,N)}else{$=getSynthesizedDeepCloneWorker(N,j)}if($&&!R)suppressLeadingAndTrailingTrivia($);return $}E.getSynthesizedDeepCloneWithReplacements=getSynthesizedDeepCloneWithReplacements;function getSynthesizedDeepCloneWorker(N,R){var j=R?function(E){return getSynthesizedDeepCloneWithReplacements(E,true,R)}:getSynthesizedDeepClone;var $=R?function(E){return E&&getSynthesizedDeepClonesWithReplacements(E,true,R)}:function(E){return E&&getSynthesizedDeepClones(E)};var q=E.visitEachChild(N,j,E.nullTransformationContext,$,j);if(q===N){var G=E.isStringLiteral(N)?E.setOriginalNode(E.factory.createStringLiteralFromNode(N),N):E.isNumericLiteral(N)?E.setOriginalNode(E.factory.createNumericLiteral(N.text,N.numericLiteralFlags),N):E.factory.cloneNode(N);return E.setTextRange(G,N)}q.parent=undefined;return q}function getSynthesizedDeepClones(N,R){if(R===void 0){R=true}return N&&E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepClone(E,R)})),N.hasTrailingComma)}E.getSynthesizedDeepClones=getSynthesizedDeepClones;function getSynthesizedDeepClonesWithReplacements(N,R,j){return E.factory.createNodeArray(N.map((function(E){return getSynthesizedDeepCloneWithReplacements(E,R,j)})),N.hasTrailingComma)}E.getSynthesizedDeepClonesWithReplacements=getSynthesizedDeepClonesWithReplacements;function suppressLeadingAndTrailingTrivia(E){suppressLeadingTrivia(E);suppressTrailingTrivia(E)}E.suppressLeadingAndTrailingTrivia=suppressLeadingAndTrailingTrivia;function suppressLeadingTrivia(E){addEmitFlagsRecursively(E,512,getFirstChild)}E.suppressLeadingTrivia=suppressLeadingTrivia;function suppressTrailingTrivia(N){addEmitFlagsRecursively(N,1024,E.getLastChild)}E.suppressTrailingTrivia=suppressTrailingTrivia;function copyComments(E,N){var R=E.getSourceFile();var j=R.text;if(hasLeadingLineBreak(E,j)){copyLeadingComments(E,N,R)}else{copyTrailingAsLeadingComments(E,N,R)}copyTrailingComments(E,N,R)}E.copyComments=copyComments;function hasLeadingLineBreak(E,N){var R=E.getFullStart();var j=E.getStart();for(var $=R;$=0);return G}E.getRenameLocation=getRenameLocation;function copyLeadingComments(N,R,j,$,q){E.forEachLeadingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyLeadingComments=copyLeadingComments;function copyTrailingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.end,getAddCommentsFunction(R,j,$,q,E.addSyntheticTrailingComment))}E.copyTrailingComments=copyTrailingComments;function copyTrailingAsLeadingComments(N,R,j,$,q){E.forEachTrailingCommentRange(j.text,N.pos,getAddCommentsFunction(R,j,$,q,E.addSyntheticLeadingComment))}E.copyTrailingAsLeadingComments=copyTrailingAsLeadingComments;function getAddCommentsFunction(E,N,R,j,$){return function(q,G,ie,ae){if(ie===3){q+=2;G-=2}else{q+=2}$(E,R||ie,N.text.slice(q,G),j!==undefined?j:ae)}}function indexInTextChange(N,R){if(E.startsWith(N,R))return 0;var j=N.indexOf(" "+R);if(j===-1)j=N.indexOf("."+R);if(j===-1)j=N.indexOf('"'+R);return j===-1?-1:j+1}function needsParentheses(N){return E.isBinaryExpression(N)&&N.operatorToken.kind===27||E.isObjectLiteralExpression(N)||E.isAsExpression(N)&&E.isObjectLiteralExpression(N.expression)}E.needsParentheses=needsParentheses;function getContextualTypeFromParent(E,N){var R=E.parent;switch(R.kind){case 207:return N.getContextualType(R);case 219:{var j=R,$=j.left,q=j.operatorToken,G=j.right;return isEqualityOperatorKind(q.kind)?N.getTypeAtLocation(E===G?$:G):N.getContextualType(E)}case 287:return R.expression===E?getSwitchedType(R,N):undefined;default:return N.getContextualType(E)}}E.getContextualTypeFromParent=getContextualTypeFromParent;function quote(N,R,j){var $=getQuotePreference(N,R);var q=JSON.stringify(j);return $===0?"'"+E.stripQuotes(q).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":q}E.quote=quote;function isEqualityOperatorKind(E){switch(E){case 36:case 34:case 37:case 35:return true;default:return false}}E.isEqualityOperatorKind=isEqualityOperatorKind;function isStringLiteralOrTemplate(E){switch(E.kind){case 10:case 14:case 221:case 208:return true;default:return false}}E.isStringLiteralOrTemplate=isStringLiteralOrTemplate;function hasIndexSignature(E){return!!E.getStringIndexType()||!!E.getNumberIndexType()}E.hasIndexSignature=hasIndexSignature;function getSwitchedType(E,N){return N.getTypeAtLocation(E.parent.parent.expression)}E.getSwitchedType=getSwitchedType;E.ANONYMOUS="anonymous function";function getTypeNodeIfAccessible(E,N,R,j){var $=R.getTypeChecker();var q=true;var notAccessible=function(){q=false};var G=$.typeToTypeNode(E,N,1,{trackSymbol:function(E,N,R){q=q&&$.isSymbolAccessible(E,N,R,false).accessibility===0;return!q},reportInaccessibleThisError:notAccessible,reportPrivateInBaseOfClassExpression:notAccessible,reportInaccessibleUniqueSymbolError:notAccessible,moduleResolverHost:getModuleSpecifierResolverHost(R,j)});return q?G:undefined}E.getTypeNodeIfAccessible=getTypeNodeIfAccessible;function syntaxRequiresTrailingCommaOrSemicolonOrASI(E){return E===172||E===173||E===174||E===164||E===166}E.syntaxRequiresTrailingCommaOrSemicolonOrASI=syntaxRequiresTrailingCommaOrSemicolonOrASI;function syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(E){return E===254||E===169||E===167||E===170||E===171}E.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI;function syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(E){return E===259}E.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=syntaxRequiresTrailingModuleBlockOrSemicolonOrASI;function syntaxRequiresTrailingSemicolonOrASI(E){return E===235||E===236||E===238||E===243||E===244||E===245||E===249||E===251||E===165||E===257||E===264||E===263||E===270||E===262||E===269}E.syntaxRequiresTrailingSemicolonOrASI=syntaxRequiresTrailingSemicolonOrASI;E.syntaxMayBeASICandidate=E.or(syntaxRequiresTrailingCommaOrSemicolonOrASI,syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI,syntaxRequiresTrailingModuleBlockOrSemicolonOrASI,syntaxRequiresTrailingSemicolonOrASI);function nodeIsASICandidate(N,R){var j=N.getLastToken(R);if(j&&j.kind===26){return false}if(syntaxRequiresTrailingCommaOrSemicolonOrASI(N.kind)){if(j&&j.kind===27){return false}}else if(syntaxRequiresTrailingModuleBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isModuleBlock($)){return false}}else if(syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI(N.kind)){var $=E.last(N.getChildren(R));if($&&E.isFunctionBlock($)){return false}}else if(!syntaxRequiresTrailingSemicolonOrASI(N.kind)){return false}if(N.kind===238){return true}var q=E.findAncestor(N,(function(E){return!E.parent}));var G=findNextToken(N,q,R);if(!G||G.kind===19){return true}var ie=R.getLineAndCharacterOfPosition(N.getEnd()).line;var ae=R.getLineAndCharacterOfPosition(G.getStart(R)).line;return ie!==ae}function positionIsASICandidate(N,R,j){var $=E.findAncestor(R,(function(R){if(R.end!==N){return"quit"}return E.syntaxMayBeASICandidate(R.kind)}));return!!$&&nodeIsASICandidate($,j)}E.positionIsASICandidate=positionIsASICandidate;function probablyUsesSemicolons(N){var R=0;var j=0;var $=5;E.forEachChild(N,(function visit(q){if(syntaxRequiresTrailingSemicolonOrASI(q.kind)){var G=q.getLastToken(N);if(G&&G.kind===26){R++}else{j++}}if(R+j>=$){return true}return E.forEachChild(q,visit)}));if(R===0&&j<=1){return true}return R/j>1/$}E.probablyUsesSemicolons=probablyUsesSemicolons;function tryGetDirectories(E,N){return tryIOAndConsumeErrors(E,E.getDirectories,N)||[]}E.tryGetDirectories=tryGetDirectories;function tryReadDirectory(N,R,j,$,q){return tryIOAndConsumeErrors(N,N.readDirectory,R,j,$,q)||E.emptyArray}E.tryReadDirectory=tryReadDirectory;function tryFileExists(E,N){return tryIOAndConsumeErrors(E,E.fileExists,N)}E.tryFileExists=tryFileExists;function tryDirectoryExists(N,R){return tryAndIgnoreErrors((function(){return E.directoryProbablyExists(R,N)}))||false}E.tryDirectoryExists=tryDirectoryExists;function tryAndIgnoreErrors(E){try{return E()}catch(E){return undefined}}E.tryAndIgnoreErrors=tryAndIgnoreErrors;function tryIOAndConsumeErrors(E,N){var R=[];for(var j=2;j=0){var q=R[$];E.Debug.assertEqual(q.file,N.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile");return E.cast(q,isDiagnosticWithLocation)}}E.findDiagnosticForNode=findDiagnosticForNode;function getDiagnosticsWithinSpan(N,R){var j;var $=E.binarySearchKey(R,N.start,(function(E){return E.start}),E.compareValues);if($<0){$=~$}while(((j=R[$-1])===null||j===void 0?void 0:j.start)===N.start){$--}var q=[];var G=E.textSpanEnd(N);while(true){var ie=E.tryCast(R[$],isDiagnosticWithLocation);if(!ie||ie.start>G){break}if(E.textSpanContainsTextSpan(N,ie)){q.push(ie)}$++}return q}E.getDiagnosticsWithinSpan=getDiagnosticsWithinSpan;function getRefactorContextSpan(N){var R=N.startPosition,j=N.endPosition;return E.createTextSpanFromBounds(R,j===undefined?R:j)}E.getRefactorContextSpan=getRefactorContextSpan;function mapOneOrMany(N,R,j){if(j===void 0){j=E.identity}return N?E.isArray(N)?j(E.map(N,R)):R(N,0):undefined}E.mapOneOrMany=mapOneOrMany;function firstOrOnly(N){return E.isArray(N)?E.first(N):N}E.firstOrOnly=firstOrOnly;function getNameForExportedSymbol(N,R){if(!(N.flags&33554432)&&(N.escapedName==="export="||N.escapedName==="default")){return E.firstDefined(N.declarations,(function(N){var R;return E.isExportAssignment(N)?(R=E.tryCast(E.skipOuterExpressions(N.expression),E.isIdentifier))===null||R===void 0?void 0:R.text:undefined}))||E.codefix.moduleSymbolToValidIdentifier(getSymbolParentOrFail(N),R)}return N.name}E.getNameForExportedSymbol=getNameForExportedSymbol;function getSymbolParentOrFail(N){var R;return E.Debug.checkDefined(N.parent,"Symbol parent was undefined. Flags: "+E.Debug.formatSymbolFlags(N.flags)+". "+("Declarations: "+((R=N.declarations)===null||R===void 0?void 0:R.map((function(N){var R=E.Debug.formatSyntaxKind(N.kind);var j=E.isInJSFile(N);var $=N.expression;return(j?"[JS]":"")+R+($?" (expression: "+E.Debug.formatSyntaxKind($.kind)+")":"")})).join(", "))+"."))}function stringContainsAt(E,N,R){var j=N.length;if(j+R>E.length){return false}for(var $=0;$=j.length){var Me=getNewEndOfLineState(R,G,E.lastOrUndefined(ae));if(Me!==undefined){Te=Me}}}while(G!==1);function handleToken(){switch(G){case 43:case 68:if(!N[ie]&&R.reScanSlashToken()===13){G=13}break;case 29:if(ie===79){Ie++}break;case 31:if(Ie>0){Ie--}break;case 129:case 148:case 145:case 132:case 149:if(Ie>0&&!q){G=79}break;case 15:ae.push(G);break;case 18:if(ae.length>0){ae.push(G)}break;case 19:if(ae.length>0){var j=E.lastOrUndefined(ae);if(j===15){G=R.reScanTemplateToken(false);if(G===17){ae.pop()}else{E.Debug.assertEqual(G,16,"Should have been a template middle.")}}else{E.Debug.assertEqual(j,18,"Should have been an open brace");ae.pop()}}break;default:if(!E.isKeyword(G)){break}if(ie===24){G=79}else if(E.isKeyword(ie)&&E.isKeyword(G)&&!canFollow(ie,G)){G=79}}}return{endOfLineState:Te,spans:we}}return{getClassificationsForLine:getClassificationsForLine,getEncodedLexicalClassifications:getEncodedLexicalClassifications}}E.createClassifier=createClassifier;var N=E.arrayToNumericMap([79,10,8,9,13,108,45,46,21,23,19,110,95],(function(E){return E}),(function(){return true}));function getNewEndOfLineState(N,R,j){switch(R){case 10:{if(!N.isUnterminated())return undefined;var $=N.getTokenText();var q=$.length-1;var G=0;while($.charCodeAt(q-G)===92){G++}if((G&1)===0)return undefined;return $.charCodeAt(0)===34?3:2}case 3:return N.isUnterminated()?1:undefined;default:if(E.isTemplateLiteralKind(R)){if(!N.isUnterminated()){return undefined}switch(R){case 17:return 5;case 14:return 4;default:return E.Debug.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+R)}}return j===15?6:undefined}}function pushEncodedClassification(E,N,R,j,$){if(j===8){return}if(E===0&&R>0){E+=R}var q=N-E;if(q>0){$.push(E-R,q,j)}}function convertClassificationsToResult(N,R){var j=[];var $=N.spans;var q=0;for(var G=0;G<$.length;G+=3){var ie=$[G];var ae=$[G+1];var ce=$[G+2];if(q>=0){var le=ie-q;if(le>0){j.push({length:le,classification:E.TokenClass.Whitespace})}}j.push({length:ae,classification:convertClassification(ce)});q=ie+ae}var _e=R.length-q;if(_e>0){j.push({length:_e,classification:E.TokenClass.Whitespace})}return{entries:j,finalLexState:N.endOfLineState}}function convertClassification(N){switch(N){case 1:return E.TokenClass.Comment;case 3:return E.TokenClass.Keyword;case 4:return E.TokenClass.NumberLiteral;case 25:return E.TokenClass.BigIntLiteral;case 5:return E.TokenClass.Operator;case 6:return E.TokenClass.StringLiteral;case 8:return E.TokenClass.Whitespace;case 10:return E.TokenClass.Punctuation;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return E.TokenClass.Identifier;default:return undefined}}function canFollow(N,R){if(!E.isAccessibilityModifier(N)){return true}switch(R){case 135:case 147:case 133:case 124:return true;default:return false}}function getPrefixFromLexState(N){switch(N){case 3:return{prefix:'"\\\n'};case 2:return{prefix:"'\\\n"};case 1:return{prefix:"/*\n"};case 4:return{prefix:"`\n"};case 5:return{prefix:"}\n",pushTemplate:true};case 6:return{prefix:"",pushTemplate:true};case 0:return{prefix:""};default:return E.Debug.assertNever(N)}}function isBinaryExpressionOperatorToken(E){switch(E){case 41:case 43:case 44:case 39:case 40:case 47:case 48:case 49:case 29:case 31:case 32:case 33:case 102:case 101:case 127:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return true;default:return false}}function isPrefixUnaryExpressionOperatorToken(E){switch(E){case 39:case 40:case 54:case 53:case 45:case 46:return true;default:return false}}function classFromKind(N){if(E.isKeyword(N)){return 3}else if(isBinaryExpressionOperatorToken(N)||isPrefixUnaryExpressionOperatorToken(N)){return 5}else if(N>=18&&N<=78){return 10}switch(N){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:if(E.isTemplateLiteralKind(N)){return 6}return 2}}function getSemanticClassifications(E,N,R,j,$){return convertClassificationsToSpans(getEncodedSemanticClassifications(E,N,R,j,$))}E.getSemanticClassifications=getSemanticClassifications;function checkForClassificationCancellation(E,N){switch(N){case 259:case 255:case 256:case 254:case 224:case 211:case 212:E.throwIfCancellationRequested()}}function getEncodedSemanticClassifications(N,R,j,$,q){var G=[];j.forEachChild((function cb(G){if(!G||!E.textSpanIntersectsWith(q,G.pos,G.getFullWidth())){return}checkForClassificationCancellation(R,G.kind);if(E.isIdentifier(G)&&!E.nodeIsMissing(G)&&$.has(G.escapedText)){var ie=N.getSymbolAtLocation(G);var ae=ie&&classifySymbol(ie,E.getMeaningFromLocation(G),N);if(ae){pushClassification(G.getStart(j),G.getEnd(),ae)}}G.forEachChild(cb)}));return{spans:G,endOfLineState:0};function pushClassification(N,R,j){var $=R-N;E.Debug.assert($>0,"Classification had non-positive length of "+$);G.push(N);G.push($);G.push(j)}}E.getEncodedSemanticClassifications=getEncodedSemanticClassifications;function classifySymbol(E,N,R){var j=E.getFlags();if((j&2885600)===0){return undefined}else if(j&32){return 11}else if(j&384){return 12}else if(j&524288){return 16}else if(j&1536){return N&4||N&1&&hasValueSideModule(E)?14:undefined}else if(j&2097152){return classifySymbol(R.getAliasedSymbol(E),N,R)}else if(N&2){return j&64?13:j&262144?15:undefined}else{return undefined}}function hasValueSideModule(N){return E.some(N.declarations,(function(N){return E.isModuleDeclaration(N)&&E.getModuleInstanceState(N)===1}))}function getClassificationTypeName(E){switch(E){case 1:return"comment";case 2:return"identifier";case 3:return"keyword";case 4:return"number";case 25:return"bigint";case 5:return"operator";case 6:return"string";case 8:return"whitespace";case 9:return"text";case 10:return"punctuation";case 11:return"class name";case 12:return"enum name";case 13:return"interface name";case 14:return"module name";case 15:return"type parameter name";case 16:return"type alias name";case 17:return"parameter name";case 18:return"doc comment tag name";case 19:return"jsx open tag name";case 20:return"jsx close tag name";case 21:return"jsx self closing tag name";case 22:return"jsx attribute";case 23:return"jsx text";case 24:return"jsx attribute string literal value";default:return undefined}}function convertClassificationsToSpans(N){E.Debug.assert(N.spans.length%3===0);var R=N.spans;var j=[];for(var $=0;$])*)(\/>)?)?/im;var q=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim;var G=R.text.substr(N,j);var ie=$.exec(G);if(!ie){return false}if(!ie[3]||!(ie[3]in E.commentPragmas)){return false}var ae=N;pushCommentRange(ae,ie[1].length);ae+=ie[1].length;pushClassification(ae,ie[2].length,10);ae+=ie[2].length;pushClassification(ae,ie[3].length,21);ae+=ie[3].length;var ce=ie[4];var le=ae;while(true){var _e=q.exec(ce);if(!_e){break}var Ee=ae+_e.index+_e[1].length;if(Ee>le){pushCommentRange(le,Ee-le);le=Ee}pushClassification(le,_e[2].length,22);le+=_e[2].length;if(_e[3].length){pushCommentRange(le,_e[3].length);le+=_e[3].length}pushClassification(le,_e[4].length,5);le+=_e[4].length;if(_e[5].length){pushCommentRange(le,_e[5].length);le+=_e[5].length}pushClassification(le,_e[6].length,24);le+=_e[6].length}ae+=ie[4].length;if(ae>le){pushCommentRange(le,ae-le)}if(ie[5]){pushClassification(ae,ie[5].length,10);ae+=ie[5].length}var Te=N+j;if(ae=0);if($>0){var q=R||classifyTokenType(N.kind,N);if(q){pushClassification(j,$,q)}}return true}function tryClassifyJsxElementName(E){switch(E.parent&&E.parent.kind){case 278:if(E.parent.tagName===E){return 19}break;case 279:if(E.parent.tagName===E){return 20}break;case 277:if(E.parent.tagName===E){return 21}break;case 283:if(E.parent.name===E){return 22}break}return undefined}function classifyTokenType(N,R){if(E.isKeyword(N)){return 3}if(N===29||N===31){if(R&&E.getTypeArgumentOrTypeParameterList(R.parent)){return 10}}if(E.isPunctuation(N)){if(R){var j=R.parent;if(N===63){if(j.kind===252||j.kind===165||j.kind===162||j.kind===283){return 5}}if(j.kind===219||j.kind===217||j.kind===218||j.kind===220){return 5}}return 10}else if(N===8){return 4}else if(N===9){return 25}else if(N===10){return R&&R.parent.kind===283?24:6}else if(N===13){return 6}else if(E.isTemplateLiteralKind(N)){return 6}else if(N===11){return 23}else if(N===79){if(R){switch(R.parent.kind){case 255:if(R.parent.name===R){return 11}return;case 161:if(R.parent.name===R){return 15}return;case 256:if(R.parent.name===R){return 13}return;case 258:if(R.parent.name===R){return 12}return;case 259:if(R.parent.name===R){return 14}return;case 162:if(R.parent.name===R){return E.isThisIdentifier(R)?3:17}return}}return 2}}function processElement(j){if(!j){return}if(E.decodedTextSpanIntersectsWith($,q,j.pos,j.getFullWidth())){checkForClassificationCancellation(N,j.kind);for(var G=0,ie=j.getChildren(R);G0}))){return 0}if(test((function(E){return E.getCallSignatures().length>0}))&&!test((function(E){return E.getProperties().length>0}))||isExpressionInCallExpression(N)){return R===9?11:10}}}return R}function isLocalDeclaration(N,R){if(E.isBindingElement(N)){N=getDeclarationForBindingElement(N)}if(E.isVariableDeclaration(N)){return(!E.isSourceFile(N.parent.parent.parent)||E.isCatchClause(N.parent))&&N.getSourceFile()===R}else if(E.isFunctionDeclaration(N)){return!E.isSourceFile(N.parent)&&N.getSourceFile()===R}return false}function getDeclarationForBindingElement(N){while(true){if(E.isBindingElement(N.parent.parent)){N=N.parent.parent}else{return N.parent.parent}}}function inImportClause(N){var R=N.parent;return R&&(E.isImportClause(R)||E.isImportSpecifier(R)||E.isNamespaceImport(R))}function isExpressionInCallExpression(N){while(isRightSideOfQualifiedNameOrPropertyAccess(N)){N=N.parent}return E.isCallExpression(N.parent)&&N.parent.expression===N}function isRightSideOfQualifiedNameOrPropertyAccess(N){return E.isQualifiedName(N.parent)&&N.parent.right===N||E.isPropertyAccessExpression(N.parent)&&N.parent.name===N}var q=new E.Map([[252,7],[162,6],[165,9],[259,3],[258,1],[294,8],[255,0],[167,11],[254,10],[211,10],[166,11],[170,9],[171,9],[164,9],[256,2],[257,5],[161,4],[291,9],[292,9]])})(R=N.v2020||(N.v2020={}))})(N=E.classifier||(E.classifier={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){function getStringLiteralCompletions(N,R,j,$,q,G,ie,ae){if(E.isInReferenceComment(N,R)){var ce=getTripleSlashReferenceCompletion(N,R,q,G);return ce&&convertPathCompletions(ce)}if(E.isInString(N,R,j)){if(!j||!E.isStringLiteralLike(j))return undefined;var ce=getStringLiteralCompletionEntries(N,j,R,$,q,G,ae);return convertStringLiteralCompletions(ce,j,N,$,ie,q,ae)}}R.getStringLiteralCompletions=getStringLiteralCompletions;function convertStringLiteralCompletions(R,j,$,q,G,ie,ae){if(R===undefined){return undefined}var ce=E.createTextSpanFromStringLiteralLikeContent(j);switch(R.kind){case 0:return convertPathCompletions(R.paths);case 1:{var le=[];N.getCompletionEntriesFromSymbols(R.symbols,le,j,$,$,q,99,G,4,ae,ie);return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:R.hasIndexSignature,optionalReplacementSpan:ce,entries:le}}case 2:{var le=R.types.map((function(R){return{name:R.value,kindModifiers:"",kind:"string",sortText:N.SortText.LocationPriority,replacementSpan:E.getReplacementSpanForContextToken(j)}}));return{isGlobalCompletion:false,isMemberCompletion:false,isNewIdentifierLocation:R.isNewIdentifier,optionalReplacementSpan:ce,entries:le}}default:return E.Debug.assertNever(R)}}function getStringLiteralCompletionDetails(N,R,j,$,q,G,ie,ae,ce){if(!$||!E.isStringLiteralLike($))return undefined;var le=getStringLiteralCompletionEntries(R,$,j,q,G,ie,ce);return le&&stringLiteralCompletionDetails(N,$,le,R,q,ae)}R.getStringLiteralCompletionDetails=getStringLiteralCompletionDetails;function stringLiteralCompletionDetails(R,j,$,q,G,ie){switch($.kind){case 0:{var ae=E.find($.paths,(function(E){return E.name===R}));return ae&&N.createCompletionDetails(R,kindModifiersFromExtension(ae.extension),ae.kind,[E.textPart(R)])}case 1:{var ae=E.find($.symbols,(function(E){return E.name===R}));return ae&&N.createCompletionDetailsForSymbol(ae,G,q,j,ie)}case 2:return E.find($.types,(function(E){return E.value===R}))?N.createCompletionDetails(R,"","type",[E.textPart(R)]):undefined;default:return E.Debug.assertNever($)}}function convertPathCompletions(E){var R=false;var j=true;var $=E.map((function(E){var R=E.name,j=E.kind,$=E.span,q=E.extension;return{name:R,kind:j,kindModifiers:kindModifiersFromExtension(q),sortText:N.SortText.LocationPriority,replacementSpan:$}}));return{isGlobalCompletion:R,isMemberCompletion:false,isNewIdentifierLocation:j,entries:$}}function kindModifiersFromExtension(N){switch(N){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".tsbuildinfo":return E.Debug.fail("Extension "+".tsbuildinfo"+" is unsupported.");case undefined:return"";default:return E.Debug.assertNever(N)}}var $;(function(E){E[E["Paths"]=0]="Paths";E[E["Properties"]=1]="Properties";E[E["Types"]=2]="Types"})($||($={}));function getStringLiteralCompletionEntries(N,R,j,$,q,G,ie){var ae=walkUpParentheses(R.parent);switch(ae.kind){case 194:{var ce=walkUpParentheses(ae.parent);switch(ce.kind){case 176:{var le=ce;var _e=E.findAncestor(ae,(function(E){return E.parent===le}));if(_e){return{kind:2,types:getStringLiteralTypes($.getTypeArgumentConstraint(_e)),isNewIdentifier:false}}return undefined}case 192:var Ee=ce,Te=Ee.indexType,we=Ee.objectType;if(!E.rangeContainsPosition(Te,j)){return undefined}return stringLiteralCompletionsFromProperties($.getTypeFromTypeNode(we));case 198:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};case 185:{if(!E.isTypeReferenceNode(ce.parent)){return undefined}var Ie=getAlreadyUsedTypesInStringLiteralUnion(ce,ae);var Ne=getStringLiteralTypes($.getTypeArgumentConstraint(ce)).filter((function(N){return!E.contains(Ie,N.value)}));return{kind:2,types:Ne,isNewIdentifier:false}}default:return undefined}}case 291:if(E.isObjectLiteralExpression(ae.parent)&&ae.name===R){return stringLiteralCompletionsForObjectLiteral($,ae.parent)}return fromContextualType();case 205:{var Me=ae,Le=Me.expression,Be=Me.argumentExpression;if(R===E.skipParentheses(Be)){return stringLiteralCompletionsFromProperties($.getTypeAtLocation(Le))}return undefined}case 206:case 207:if(!isRequireCallArgument(R)&&!E.isImportCall(ae)){var je=E.SignatureHelp.getArgumentInfoForCompletions(R,j,N);return je?getStringLiteralCompletionsFromSignature(je,$):fromContextualType()}case 264:case 270:case 275:return{kind:0,paths:getStringLiteralCompletionsFromModuleNames(N,R,q,G,$,ie)};default:return fromContextualType()}function fromContextualType(){return{kind:2,types:getStringLiteralTypes(E.getContextualTypeFromParent(R,$)),isNewIdentifier:false}}}function walkUpParentheses(N){switch(N.kind){case 189:return E.walkUpParenthesizedTypes(N);case 210:return E.walkUpParenthesizedExpressions(N);default:return N}}function getAlreadyUsedTypesInStringLiteralUnion(N,R){return E.mapDefined(N.types,(function(N){return N!==R&&E.isLiteralTypeNode(N)&&E.isStringLiteral(N.literal)?N.literal.text:undefined}))}function getStringLiteralCompletionsFromSignature(N,R){var j=false;var $=new E.Map;var q=[];R.getResolvedSignature(N.invocation,q,N.argumentCount);var G=E.flatMap(q,(function(q){if(!E.signatureHasRestParameter(q)&&N.argumentCount>q.parameters.length)return;var G=R.getParameterType(q,N.argumentIndex);j=j||!!(G.flags&4);return getStringLiteralTypes(G,$)}));return{kind:2,types:G,isNewIdentifier:j}}function stringLiteralCompletionsFromProperties(N){return N&&{kind:1,symbols:E.filter(N.getApparentProperties(),(function(N){return!(N.valueDeclaration&&E.isPrivateIdentifierClassElementDeclaration(N.valueDeclaration))})),hasIndexSignature:E.hasIndexSignature(N)}}function stringLiteralCompletionsForObjectLiteral(R,j){var $=R.getContextualType(j);if(!$)return undefined;var q=R.getContextualType(j,4);var G=N.getPropertiesForObjectExpression($,q,j,R);return{kind:1,symbols:G,hasIndexSignature:E.hasIndexSignature($)}}function getStringLiteralTypes(N,R){if(R===void 0){R=new E.Map}if(!N)return E.emptyArray;N=E.skipConstraint(N);return N.isUnion()?E.flatMap(N.types,(function(E){return getStringLiteralTypes(E,R)})):N.isStringLiteral()&&!(N.flags&1024)&&E.addToSeen(R,N.value)?[N]:E.emptyArray}function nameAndKind(E,N,R){return{name:E,kind:N,extension:R}}function directoryResult(E){return nameAndKind(E,"directory",undefined)}function addReplacementSpans(N,R,j){var $=getDirectoryFragmentTextSpan(N,R);var q=N.length===0?undefined:E.createTextSpan(R,N.length);return j.map((function(N){var R=N.name,j=N.kind,G=N.extension;return Math.max(R.indexOf(E.directorySeparator),R.indexOf(E.altDirectorySeparator))!==-1?{name:R,kind:j,extension:G,span:q}:{name:R,kind:j,extension:G,span:$}}))}function getStringLiteralCompletionsFromModuleNames(E,N,R,j,$,q){return addReplacementSpans(N.text,N.getStart(E)+1,getStringLiteralCompletionsFromModuleNamesWorker(E,N,R,j,$,q))}function getStringLiteralCompletionsFromModuleNamesWorker(N,R,j,$,q,G){var ie=E.normalizeSlashes(R.text);var ae=N.path;var ce=E.getDirectoryPath(ae);return isPathRelativeToScript(ie)||!j.baseUrl&&(E.isRootedDiskPath(ie)||E.isUrl(ie))?getCompletionEntriesForRelativeModules(ie,ce,j,$,ae,G):getCompletionEntriesForNonRelativeModules(ie,ce,j,$,q)}function getExtensionOptions(E,N){if(N===void 0){N=0}return{extensions:getSupportedExtensionsForModuleResolution(E),includeExtensionsOption:N}}function getCompletionEntriesForRelativeModules(E,N,R,j,$,q){var G=q.importModuleSpecifierEnding==="js"?2:0;var ie=getExtensionOptions(R,G);if(R.rootDirs){return getCompletionEntriesForDirectoryFragmentWithRootDirs(R.rootDirs,E,N,ie,R,j,$)}else{return getCompletionEntriesForDirectoryFragment(E,N,ie,j,$)}}function getSupportedExtensionsForModuleResolution(N){var R=E.getSupportedExtensions(N);return N.resolveJsonModule&&E.getEmitModuleResolutionKind(N)===E.ModuleResolutionKind.NodeJs?R.concat(".json"):R}function getBaseDirectoriesFromRootDirs(N,R,$,q){N=N.map((function(N){return E.normalizePath(E.isRootedDiskPath(N)?N:E.combinePaths(R,N))}));var G=E.firstDefined(N,(function(N){return E.containsPath(N,$,R,q)?$.substr(N.length):undefined}));return E.deduplicate(j(j([],N.map((function(N){return E.combinePaths(N,G)})),true),[$],false),E.equateStringsCaseSensitive,E.compareStringsCaseSensitive)}function getCompletionEntriesForDirectoryFragmentWithRootDirs(N,R,j,$,q,G,ie){var ae=q.project||G.getCurrentDirectory();var ce=!(G.useCaseSensitiveFileNames&&G.useCaseSensitiveFileNames());var le=getBaseDirectoriesFromRootDirs(N,ae,j,ce);return E.flatMap(le,(function(E){return getCompletionEntriesForDirectoryFragment(R,E,$,G,ie)}))}var q;(function(E){E[E["Exclude"]=0]="Exclude";E[E["Include"]=1]="Include";E[E["ModuleSpecifierCompletion"]=2]="ModuleSpecifierCompletion"})(q||(q={}));function getCompletionEntriesForDirectoryFragment(N,R,j,$,q,G){var ie=j.extensions,ae=j.includeExtensionsOption;if(G===void 0){G=[]}if(N===undefined){N=""}N=E.normalizeSlashes(N);if(!E.hasTrailingDirectorySeparator(N)){N=E.getDirectoryPath(N)}if(N===""){N="."+E.directorySeparator}N=E.ensureTrailingDirectorySeparator(N);var ce=E.resolvePath(R,N);var le=E.hasTrailingDirectorySeparator(ce)?ce:E.getDirectoryPath(ce);var _e=!($.useCaseSensitiveFileNames&&$.useCaseSensitiveFileNames());if(!E.tryDirectoryExists($,le))return G;var Ee=E.tryReadDirectory($,le,ie,undefined,["./*"]);if(Ee){var Te=new E.Map;for(var we=0,Ie=Ee;we=E.pos&&R<=E.end}));if(!ae){return undefined}var ce=N.text.slice(ae.pos,R);var le=G.exec(ce);if(!le){return undefined}var _e=le[1],Ee=le[2],Te=le[3];var we=E.getDirectoryPath(N.path);var Ie=Ee==="path"?getCompletionEntriesForDirectoryFragment(Te,we,getExtensionOptions(j,1),$,N.path):Ee==="types"?getCompletionEntriesFromTypings($,j,we,getFragmentDirectory(Te),getExtensionOptions(j)):E.Debug.fail();return addReplacementSpans(Te,ae.pos+_e.length,Ie)}function getCompletionEntriesFromTypings(N,R,j,$,q,G){if(G===void 0){G=[]}var ie=new E.Map;var ae=E.tryAndIgnoreErrors((function(){return E.getEffectiveTypeRoots(R,N)}))||E.emptyArray;for(var ce=0,le=ae;ce=2&&E.charCodeAt(0)===46){var N=E.length>=3&&E.charCodeAt(1)===46?2:1;var R=E.charCodeAt(N);return R===47||R===92}return false}var G=/^(\/\/\/\s*");var ce=E.createTextSpanFromNode($.tagName);var le={name:ae,kind:"class",kindModifiers:undefined,sortText:R.LocationPriority};return{isGlobalCompletion:false,isMemberCompletion:true,isNewIdentifierLocation:false,optionalReplacementSpan:ce,entries:[le]}}return}function getJSCompletionEntries(N,j,$,q,G){E.getNameTable(N).forEach((function(N,ie){if(N===j){return}var ae=E.unescapeLeadingUnderscores(ie);if(!$.has(ae)&&E.isIdentifierText(ae,q)){$.add(ae);G.push({name:ae,kind:"warning",kindModifiers:"",sortText:R.JavascriptIdentifiers,isFromUncheckedFile:true})}}))}function completionNameForLiteral(N,R,j){return typeof j==="object"?E.pseudoBigIntToString(j)+"n":E.isString(j)?E.quote(N,R,j):JSON.stringify(j)}function createCompletionEntryForLiteral(E,N,j){return{name:completionNameForLiteral(E,N,j),kind:"string",kindModifiers:"",sortText:R.LocationPriority}}function createCompletionEntry(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne){var Me;var Le;var Be=E.getReplacementSpanForContextToken(j);var je;var Ue;var ze;var We;var Je=ce&&originIsNullableMember(ce);var Ve=ce&&originIsSymbolMember(ce)||ae;if(ce&&originIsThisType(ce)){Le=ae?"this"+(Je?"?.":"")+"["+quotePropertyName(q,Ne,ie)+"]":"this"+(Je?"?.":".")+ie}else if((Ve||Je)&&_e){Le=Ve?ae?"["+quotePropertyName(q,Ne,ie)+"]":"["+ie+"]":ie;if(Je||_e.questionDotToken){Le="?."+Le}var qe=E.findChildOfKind(_e,24,q)||E.findChildOfKind(_e,28,q);if(!qe){return undefined}var He=E.startsWith(ie,_e.name.text)?_e.name.end:qe.end;Be=E.createTextSpanFromBounds(qe.getStart(q),He)}if(Ee){if(Le===undefined)Le=ie;Le="{"+Le+"}";if(typeof Ee!=="boolean"){Be=E.createTextSpanFromNode(Ee,q)}}if(ce&&originIsPromise(ce)&&_e){if(Le===undefined)Le=ie;var Ge=E.findPrecedingToken(_e.pos,q);var Ke="";if(Ge&&E.positionIsASICandidate(Ge.end,Ge.parent,q)){Ke=";"}Ke+="(await "+_e.expression.getText()+")";Le=ae?""+Ke+Le:""+Ke+(Je?"?.":".")+Le;Be=E.createTextSpanFromBounds(_e.getStart(q),_e.end)}if(originIsResolvedExport(ce)){ze=[E.textPart(ce.moduleSpecifier)];if(Te){Me=getInsertTextAndReplacementSpanForImportCompletion(ie,Te,ce,we,Ie,Ne),Le=Me.insertText,Be=Me.replacementSpan;Ue=Ne.includeCompletionsWithSnippetText?true:undefined}}if(Le!==undefined&&!Ne.includeCompletionsWithInsertText){return undefined}if(originIsExport(ce)||originIsResolvedExport(ce)){je=originToCompletionEntryData(ce);We=!Te}return{name:ie,kind:E.SymbolDisplay.getSymbolKind(G,N,$),kindModifiers:E.SymbolDisplay.getSymbolModifiers(G,N),sortText:R,source:getSourceFromOrigin(ce),hasAction:We?true:undefined,isRecommended:isRecommendedCompletionMatch(N,le,G)||undefined,insertText:Le,replacementSpan:Be,sourceDisplay:ze,isSnippet:Ue,isPackageJsonImport:originIsPackageJsonImport(ce)||undefined,isImportStatementCompletion:!!Te||undefined,data:je}}function originToCompletionEntryData(N){return{exportName:N.exportName,fileName:N.fileName,ambientModuleName:N.fileName?undefined:E.stripQuotes(N.moduleSymbol.name),isPackageJsonImport:N.isFromPackageJson?true:undefined,moduleSpecifier:originIsResolvedExport(N)?N.moduleSpecifier:undefined}}function getInsertTextAndReplacementSpanForImportCompletion(N,R,j,$,q,G){var ie=R.getSourceFile();var ae=E.createTextSpanFromNode(R,ie);var ce=E.quote(ie,G,j.moduleSpecifier);var le=j.isDefaultExport?1:j.exportName==="export="?2:0;var _e=G.includeCompletionsWithSnippetText?"$1":"";var Ee=E.codefix.getImportKind(ie,le,q,true);var Te=$?";":"";switch(Ee){case 3:return{replacementSpan:ae,insertText:"import "+N+_e+" = require("+ce+")"+Te};case 1:return{replacementSpan:ae,insertText:"import "+N+_e+" from "+ce+Te};case 2:return{replacementSpan:ae,insertText:"import * as "+N+" from "+ce+Te};case 0:return{replacementSpan:ae,insertText:"import { "+N+_e+" } from "+ce+Te}}}function quotePropertyName(N,R,j){if(/^\d+$/.test(j)){return j}return E.quote(N,R,j)}function isRecommendedCompletionMatch(E,N,R){return E===N||!!(E.flags&1048576)&&R.getExportSymbolOfSymbol(E)===N}function getSourceFromOrigin(N){if(originIsExport(N)){return E.stripQuotes(N.moduleSymbol.name)}if(originIsResolvedExport(N)){return N.moduleSpecifier}if((N===null||N===void 0?void 0:N.kind)===1){return q.ThisProperty}}function getCompletionEntriesFromSymbols(N,R,j,$,q,G,ie,ae,ce,le,_e,Ee,Te,we,Ie,Ne,Me,Le,Be){var je;var Ue=E.timestamp();var ze=getVariableDeclaration($);var We=E.probablyUsesSemicolons(q);var Je=new E.Map;for(var Ve=0;Ve-1?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:return E.Debug.assertNever(Me)}}case"symbol":{var Le=Ne.symbol,Be=Ne.location,je=Ne.origin,Ue=Ne.previousToken;var ze=getCompletionEntryCodeActionsAndSourceDisplay(je,Le,R,ie,Te,$,q,Ue,ae,ce,G.data),We=ze.codeActions,Je=ze.sourceDisplay;return createCompletionDetailsForSymbol(Le,_e,$,Be,le,We,Je)}case"literal":{var Ve=Ne.literal;return createSimpleDetails(completionNameForLiteral($,ce,Ve),"string",typeof Ve==="string"?E.SymbolDisplayPartKind.stringLiteral:E.SymbolDisplayPartKind.numericLiteral)}case"none":return Ee().some((function(E){return E.name===we}))?createSimpleDetails(we,"keyword",E.SymbolDisplayPartKind.keyword):undefined;default:E.Debug.assertNever(Ne)}}N.getCompletionEntryDetails=getCompletionEntryDetails;function createSimpleDetails(N,R,j){return createCompletionDetails(N,"",R,[E.displayPart(N,j)])}function createCompletionDetailsForSymbol(N,R,j,$,q,G,ie){var ae=R.runWithCancellationToken(q,(function(R){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(R,N,j,$,$,7)})),ce=ae.displayParts,le=ae.documentation,_e=ae.symbolKind,Ee=ae.tags;return createCompletionDetails(N.name,E.SymbolDisplay.getSymbolModifiers(R,N),_e,ce,le,Ee,G,ie)}N.createCompletionDetailsForSymbol=createCompletionDetailsForSymbol;function createCompletionDetails(E,N,R,j,$,q,G,ie){return{name:E,kindModifiers:N,kind:R,displayParts:j,documentation:$,tags:q,codeActions:G,source:ie,sourceDisplay:ie}}N.createCompletionDetails=createCompletionDetails;function getCompletionEntryCodeActionsAndSourceDisplay(N,R,j,$,q,G,ie,ae,ce,le,_e){if(_e===null||_e===void 0?void 0:_e.moduleSpecifier){var Ee=getRelevantTokens(ie,G),Te=Ee.contextToken,we=Ee.previousToken;if(we&&getImportCompletionNode(Te||we)){return{codeActions:undefined,sourceDisplay:[E.textPart(_e.moduleSpecifier)]}}}if(!N||!(originIsExport(N)||originIsResolvedExport(N))){return{codeActions:undefined,sourceDisplay:undefined}}var Ie=N.isFromPackageJson?$.getPackageJsonAutoImportProvider().getTypeChecker():j.getTypeChecker();var Ne=N.moduleSymbol;var Me=Ie.getMergedSymbol(E.skipAlias(R.exportSymbol||R,Ie));var Le=E.codefix.getImportCompletionAction(Me,Ne,G,E.getNameForExportedSymbol(R,q.target),$,j,ce,ae&&E.isIdentifier(ae)?ae.getStart(G):ie,le),Be=Le.moduleSpecifier,je=Le.codeAction;E.Debug.assert(!(_e===null||_e===void 0?void 0:_e.moduleSpecifier)||Be===_e.moduleSpecifier);return{sourceDisplay:[E.textPart(Be)],codeActions:[je]}}function getCompletionEntrySymbol(E,N,R,j,$,q,G){var ie=getSymbolCompletionFromEntryId(E,N,R,j,$,q,G);return ie.type==="symbol"?ie.symbol:undefined}N.getCompletionEntrySymbol=getCompletionEntrySymbol;var ce;(function(E){E[E["Data"]=0]="Data";E[E["JsDocTagName"]=1]="JsDocTagName";E[E["JsDocTag"]=2]="JsDocTag";E[E["JsDocParameterName"]=3]="JsDocParameterName";E[E["Keywords"]=4]="Keywords"})(ce||(ce={}));var le;(function(E){E[E["ObjectPropertyDeclaration"]=0]="ObjectPropertyDeclaration";E[E["Global"]=1]="Global";E[E["PropertyAccess"]=2]="PropertyAccess";E[E["MemberLike"]=3]="MemberLike";E[E["String"]=4]="String";E[E["None"]=5]="None"})(le=N.CompletionKind||(N.CompletionKind={}));function getRecommendedCompletion(N,R,j){return E.firstDefined(R&&(R.isUnion()?R.types:[R]),(function(R){var $=R&&R.symbol;return $&&($.flags&(8|384|32)&&!E.isAbstractConstructorSymbol($))?getFirstSymbolInChain($,N,j):undefined}))}function getContextualType(N,R,j,$){var q=N.parent;switch(N.kind){case 79:return E.getContextualTypeFromParent(N,$);case 63:switch(q.kind){case 252:return $.getContextualType(q.initializer);case 219:return $.getTypeAtLocation(q.left);case 283:return $.getContextualTypeForJsxAttribute(q);default:return undefined}case 103:return $.getContextualType(q);case 82:return E.getSwitchedType(E.cast(q,E.isCaseClause),$);case 18:return E.isJsxExpression(q)&&q.parent.kind!==276?$.getContextualTypeForJsxAttribute(q.parent):undefined;default:var G=E.SignatureHelp.getArgumentInfoForCompletions(N,R,j);return G?$.getContextualTypeForArgumentAtIndex(G.invocation,G.argumentIndex+(N.kind===27?1:0)):E.isEqualityOperatorKind(N.kind)&&E.isBinaryExpression(q)&&E.isEqualityOperatorKind(q.operatorToken.kind)?$.getTypeAtLocation(q.left):$.getContextualType(N)}}function getFirstSymbolInChain(N,R,j){var $=j.getAccessibleSymbolChain(N,R,67108863,false);if($)return E.first($);return N.parent&&(isModuleSymbol(N.parent)?N:getFirstSymbolInChain(N.parent,R,j))}function isModuleSymbol(E){var N;return!!((N=E.declarations)===null||N===void 0?void 0:N.some((function(E){return E.kind===300})))}function getCompletionData(N,R,j,$,q,G,ie,ae,ce){var le=N.getTypeChecker();var _e=E.timestamp();var Ee=E.getTokenAtPosition(j,q);R("getCompletionData: Get current token: "+(E.timestamp()-_e));_e=E.timestamp();var Te=E.isInComment(j,q,Ee);R("getCompletionData: Is inside comment: "+(E.timestamp()-_e));var we=false;var Ie=false;if(Te){if(E.hasDocComment(j,q)){if(j.text.charCodeAt(q-1)===64){return{kind:1}}else{var Ne=E.getLineStartPositionForPosition(q,j);if(!/[^\*|\s(/)]/.test(j.text.substring(Ne,q))){return{kind:2}}}}var Me=getJsDocTagAtPosition(Ee,q);if(Me){if(Me.tagName.pos<=q&&q<=Me.tagName.end){return{kind:1}}if(isTagWithTypeExpression(Me)&&Me.typeExpression&&Me.typeExpression.kind===304){Ee=E.getTokenAtPosition(j,q);if(!Ee||!E.isDeclarationName(Ee)&&(Ee.parent.kind!==342||Ee.parent.name!==Ee)){we=isCurrentlyEditingNode(Me.typeExpression)}}if(!we&&E.isJSDocParameterTag(Me)&&(E.nodeIsMissing(Me.name)||Me.name.pos<=q&&q<=Me.name.end)){return{kind:3,tag:Me}}}if(!we){R("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return undefined}}_e=E.timestamp();var Le=getRelevantTokens(q,j);var Be=Le.previousToken;var je=Le.contextToken;R("getCompletionData: Get previous token: "+(E.timestamp()-_e));var Ue=Ee;var ze;var We=false;var Je=false;var Ve=false;var qe=false;var He=false;var Ge=false;var Ke;var Qe=E.getTouchingPropertyName(j,q);if(je){var Xe=getImportCompletionNode(je);if(Xe===154){return{kind:4,keywords:[154]}}if(Xe&&G.includeCompletionsForImportStatements&&G.includeCompletionsWithInsertText){Ke=Xe}if(!Ke&&isCompletionListBlocker(je)){R("Returning an empty list because completion was requested in an invalid position.");return undefined}var Ye=je.parent;if(je.kind===24||je.kind===28){We=je.kind===24;Je=je.kind===28;switch(Ye.kind){case 204:ze=Ye;Ue=ze.expression;if((E.isCallExpression(Ue)||E.isFunctionLike(Ue))&&Ue.end===je.pos&&Ue.getChildCount(j)&&E.last(Ue.getChildren(j)).kind!==21){return undefined}break;case 159:Ue=Ye.left;break;case 259:Ue=Ye.name;break;case 198:Ue=Ye;break;case 229:Ue=Ye.getFirstToken(j);E.Debug.assert(Ue.kind===100||Ue.kind===103);break;default:return undefined}}else if(!Ke&&j.languageVariant===1){if(Ye&&Ye.kind===204){je=Ye;Ye=Ye.parent}if(Ee.parent===Qe){switch(Ee.kind){case 31:if(Ee.parent.kind===276||Ee.parent.kind===278){Qe=Ee}break;case 43:if(Ee.parent.kind===277){Qe=Ee}break}}switch(Ye.kind){case 279:if(je.kind===43){qe=true;Qe=je}break;case 219:if(!binaryExpressionMayBeOpenTag(Ye)){break}case 277:case 276:case 278:Ge=true;if(je.kind===29){Ve=true;Qe=je}break;case 286:case 285:if(Be.kind===19&&Ee.kind===31){Ge=true}break;case 283:if(Ye.initializer===Be&&Be.end0){ot=E.concatenate(ot,filterObjectMembersList(R,E.Debug.checkDefined(j)))}setSortTextToOptionalMember();return 1}function tryGetImportOrExportClauseCompletionSymbols(){var N=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedImportsOrExports):undefined;if(!N)return 0;var R=(N.kind===267?N.parent.parent:N.parent).moduleSpecifier;if(!R)return N.kind===267?2:0;var j=le.getSymbolAtLocation(R);if(!j)return 2;et=3;tt=false;var $=le.getExportsAndPropertiesOfModule(j);var q=new E.Set(N.elements.filter((function(E){return!isCurrentlyEditingNode(E)})).map((function(E){return(E.propertyName||E.name).escapedText})));ot=E.concatenate(ot,$.filter((function(E){return E.escapedName!=="default"&&!q.has(E.escapedName)})));return 1}function tryGetLocalNamedExportCompletionSymbols(){var N;var R=je&&(je.kind===18||je.kind===27)?E.tryCast(je.parent,E.isNamedExports):undefined;if(!R){return 0}var j=E.findAncestor(R,E.or(E.isSourceFile,E.isModuleDeclaration));et=5;tt=false;(N=j.locals)===null||N===void 0?void 0:N.forEach((function(N,R){var $,q;ot.push(N);if((q=($=j.symbol)===null||$===void 0?void 0:$.exports)===null||q===void 0?void 0:q.has(R)){ct[E.getSymbolId(N)]=12}}));return 1}function tryGetClassLikeCompletionSymbols(){var N=tryGetObjectTypeDeclarationCompletionContainer(j,je,Qe,q);if(!N)return 0;et=3;tt=true;it=je.kind===41?0:E.isClassLike(N)?2:3;if(!E.isClassLike(N))return 1;var R=je.kind===26?je.parent.parent:je.parent;var $=E.isClassElement(R)?E.getEffectiveModifierFlags(R):0;if(je.kind===79&&!isCurrentlyEditingNode(je)){switch(je.getText()){case"private":$=$|8;break;case"static":$=$|32;break;case"override":$=$|16384;break}}if(E.isClassStaticBlockDeclaration(R)){$|=32}if(!($&8)){var G=E.isClassLike(N)&&$&16384?E.singleElementArray(E.getEffectiveBaseTypeNode(N)):E.getAllSuperTypeNodes(N);var ie=E.flatMap(G,(function(E){var R=le.getTypeAtLocation(E);return $&32?(R===null||R===void 0?void 0:R.symbol)&&le.getPropertiesOfType(le.getTypeOfSymbolAtLocation(R.symbol,N)):R&&le.getPropertiesOfType(R)}));ot=E.concatenate(ot,filterClassMembersList(ie,N.members,$))}return 1}function tryGetObjectLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 18:case 27:if(E.isObjectLiteralExpression(R)||E.isObjectBindingPattern(R)){return R}break;case 41:return E.isMethodDeclaration(R)?E.tryCast(R.parent,E.isObjectLiteralExpression):undefined;case 79:return N.text==="async"&&E.isShorthandPropertyAssignment(N.parent)?N.parent.parent:undefined}}return undefined}function isConstructorParameterCompletion(N){return!!N.parent&&E.isParameter(N.parent)&&E.isConstructorDeclaration(N.parent.parent)&&(E.isParameterPropertyModifier(N.kind)||E.isDeclarationName(N))}function tryGetConstructorLikeCompletionContainer(N){if(N){var R=N.parent;switch(N.kind){case 20:case 27:return E.isConstructorDeclaration(N.parent)?N.parent:undefined;default:if(isConstructorParameterCompletion(N)){return R.parent}}}return undefined}function tryGetFunctionLikeBodyCompletionContainer(N){if(N){var R;var j=E.findAncestor(N.parent,(function(N){if(E.isClassLike(N)){return"quit"}if(E.isFunctionLikeDeclaration(N)&&R===N.body){return true}R=N;return false}));return j&&j}}function tryGetContainingJsxElement(N){if(N){var R=N.parent;switch(N.kind){case 31:case 30:case 43:case 79:case 204:case 284:case 283:case 285:if(R&&(R.kind===277||R.kind===278)){if(N.kind===31){var $=E.findPrecedingToken(N.pos,j,undefined);if(!R.typeArguments||$&&$.kind===43)break}return R}else if(R.kind===283){return R.parent.parent}break;case 10:if(R&&(R.kind===283||R.kind===285)){return R.parent.parent}break;case 19:if(R&&R.kind===286&&R.parent&&R.parent.kind===283){return R.parent.parent.parent}if(R&&R.kind===285){return R.parent.parent}break}}return undefined}function isSolelyIdentifierDefinitionLocation(N){var R=N.parent;var j=R.kind;switch(N.kind){case 27:return j===252||isVariableDeclarationListButNotTypeArgument(N)||j===235||j===258||isFunctionLikeButNotConstructor(j)||j===256||j===200||j===257||E.isClassLike(R)&&!!R.typeParameters&&R.typeParameters.end>=N.pos;case 24:return j===200;case 58:return j===201;case 22:return j===200;case 20:return j===290||isFunctionLikeButNotConstructor(j);case 18:return j===258;case 29:return j===255||j===224||j===256||j===257||E.isFunctionLikeKind(j);case 124:return j===165&&!E.isClassLike(R.parent);case 25:return j===162||!!R.parent&&R.parent.kind===200;case 123:case 121:case 122:return j===162&&!E.isConstructorDeclaration(R.parent);case 127:return j===268||j===273||j===266;case 135:case 147:return!isFromObjectTypeDeclaration(N);case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 136:case 150:return true;case 41:return E.isFunctionLike(N.parent)&&!E.isMethodDeclaration(N.parent)}if(isClassMemberCompletionKeyword(keywordForNode(N))&&isFromObjectTypeDeclaration(N)){return false}if(isConstructorParameterCompletion(N)){if(!E.isIdentifier(N)||E.isParameterPropertyModifier(keywordForNode(N))||isCurrentlyEditingNode(N)){return false}}switch(keywordForNode(N)){case 126:case 84:case 85:case 134:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return true;case 130:return E.isPropertyDeclaration(N.parent)}var $=E.findAncestor(N.parent,E.isClassLike);if($&&N===Be&&isPreviousPropertyDeclarationTerminated(N,q)){return false}var G=E.getAncestor(N.parent,165);if(G&&N!==Be&&E.isClassLike(Be.parent.parent)&&q<=Be.end){if(isPreviousPropertyDeclarationTerminated(N,Be.end)){return false}else if(N.kind!==63&&(E.isInitializedProperty(G)||E.hasType(G))){return true}}return E.isDeclarationName(N)&&!E.isShorthandPropertyAssignment(N.parent)&&!E.isJsxAttribute(N.parent)&&!(E.isClassLike(N.parent)&&(N!==Be||q>Be.end))}function isPreviousPropertyDeclarationTerminated(N,R){return N.kind!==63&&(N.kind===26||!E.positionsAreOnSameLine(N.end,R,j))}function isFunctionLikeButNotConstructor(N){return E.isFunctionLikeKind(N)&&N!==169}function isDotOfNumericLiteral(E){if(E.kind===8){var N=E.getFullText();return N.charAt(N.length-1)==="."}return false}function isVariableDeclarationListButNotTypeArgument(N){return N.parent.kind===253&&!E.isPossiblyTypeArgumentPosition(N,j,le)}function filterObjectMembersList(N,R){if(R.length===0){return N}var j=new E.Set;var $=new E.Set;for(var q=0,G=R;q=0;$--){if(pushKeywordIf(R,j[$],115)){break}}}}E.forEach(aggregateAllBreakAndContinueStatements(N.statement),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81,86)}}));return R}function getBreakOrContinueStatementOccurrences(E){var N=getBreakOrContinueOwner(E);if(N){switch(N.kind){case 240:case 241:case 242:case 238:case 239:return getLoopBreakContinueOccurrences(N);case 247:return getSwitchCaseDefaultOccurrences(N)}}return undefined}function getSwitchCaseDefaultOccurrences(N){var R=[];pushKeywordIf(R,N.getFirstToken(),107);E.forEach(N.caseBlock.clauses,(function(j){pushKeywordIf(R,j.getFirstToken(),82,88);E.forEach(aggregateAllBreakAndContinueStatements(j),(function(E){if(ownsBreakOrContinueStatement(N,E)){pushKeywordIf(R,E.getFirstToken(),81)}}))}));return R}function getTryCatchFinallyOccurrences(N,R){var j=[];pushKeywordIf(j,N.getFirstToken(),111);if(N.catchClause){pushKeywordIf(j,N.catchClause.getFirstToken(),83)}if(N.finallyBlock){var $=E.findChildOfKind(N,96,R);pushKeywordIf(j,$,96)}return j}function getThrowOccurrences(N,R){var j=getThrowStatementOwner(N);if(!j){return undefined}var $=[];E.forEach(aggregateOwnedThrowStatements(j),(function(N){$.push(E.findChildOfKind(N,109,R))}));if(E.isFunctionBlock(j)){E.forEachReturnStatement(j,(function(N){$.push(E.findChildOfKind(N,105,R))}))}return $}function getReturnOccurrences(N,R){var j=E.getContainingFunction(N);if(!j){return undefined}var $=[];E.forEachReturnStatement(E.cast(j.body,E.isBlock),(function(N){$.push(E.findChildOfKind(N,105,R))}));E.forEach(aggregateOwnedThrowStatements(j.body),(function(N){$.push(E.findChildOfKind(N,109,R))}));return $}function getAsyncAndAwaitOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];if(R.modifiers){R.modifiers.forEach((function(E){pushKeywordIf(j,E,130)}))}E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isAwaitExpression(N)){pushKeywordIf(j,N.getFirstToken(),131)}}))}));return j}function getYieldOccurrences(N){var R=E.getContainingFunction(N);if(!R){return undefined}var j=[];E.forEachChild(R,(function(N){traverseWithoutCrossingFunction(N,(function(N){if(E.isYieldExpression(N)){pushKeywordIf(j,N.getFirstToken(),125)}}))}));return j}function traverseWithoutCrossingFunction(N,R){R(N);if(!E.isFunctionLike(N)&&!E.isClassLike(N)&&!E.isInterfaceDeclaration(N)&&!E.isModuleDeclaration(N)&&!E.isTypeAliasDeclaration(N)&&!E.isTypeNode(N)){E.forEachChild(N,(function(E){return traverseWithoutCrossingFunction(E,R)}))}}function getIfElseOccurrences(N,R){var j=getIfElseKeywords(N,R);var $=[];for(var q=0;q=G.end;ce--){if(!E.isWhiteSpaceSingleLine(R.text.charCodeAt(ce))){ae=false;break}}if(ae){$.push({fileName:R.fileName,textSpan:E.createTextSpanFromBounds(G.getStart(),ie.end),kind:"reference"});q++;continue}}$.push(getHighlightSpanForNode(j[q],R))}return $}function getIfElseKeywords(N,R){var j=[];while(E.isIfStatement(N.parent)&&N.parent.elseStatement===N){N=N.parent}while(true){var $=N.getChildren(R);pushKeywordIf(j,$[0],99);for(var q=$.length-1;q>=0;q--){if(pushKeywordIf(j,$[q],91)){break}}if(!N.elseStatement||!E.isIfStatement(N.elseStatement)){break}N=N.elseStatement}return j}function isLabeledBy(N,R){return!!E.findAncestor(N.parent,(function(N){return!E.isLabeledStatement(N)?"quit":N.label.escapedText===R}))}})(N=E.DocumentHighlights||(E.DocumentHighlights={}))})(ce||(ce={}));var ce;(function(E){function isDocumentRegistryEntry(E){return!!E.sourceFile}function createDocumentRegistry(E,N){return createDocumentRegistryInternal(E,N)}E.createDocumentRegistry=createDocumentRegistry;function createDocumentRegistryInternal(N,R,j){if(R===void 0){R=""}var $=new E.Map;var q=E.createGetCanonicalFileName(!!N);function reportStats(){var N=E.arrayFrom($.keys()).filter((function(E){return E&&E.charAt(0)==="_"})).map((function(E){var N=$.get(E);var R=[];N.forEach((function(E,N){if(isDocumentRegistryEntry(E)){R.push({name:N,scriptKind:E.sourceFile.scriptKind,refCount:E.languageServiceRefCount})}else{E.forEach((function(E,j){return R.push({name:N,scriptKind:j,refCount:E.languageServiceRefCount})}))}}));R.sort((function(E,N){return N.refCount-E.refCount}));return{bucket:E,sourceFiles:R}}));return JSON.stringify(N,undefined,2)}function acquireDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return acquireDocumentWithKey(N,ae,j,ce,$,G,ie)}function acquireDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,true,G)}function updateDocument(N,j,$,G,ie){var ae=E.toPath(N,R,q);var ce=getKeyForCompilationSettings(j);return updateDocumentWithKey(N,ae,j,ce,$,G,ie)}function updateDocumentWithKey(E,N,R,j,$,q,G){return acquireOrUpdateDocument(E,N,R,j,$,q,false,G)}function getDocumentRegistryEntry(N,R){var j=isDocumentRegistryEntry(N)?N:N.get(E.Debug.checkDefined(R,"If there are more than one scriptKind's for same document the scriptKind should be provided"));E.Debug.assert(R===undefined||!j||j.sourceFile.scriptKind===R,"Script kind should match provided ScriptKind:"+R+" and sourceFile.scriptKind: "+(j===null||j===void 0?void 0:j.sourceFile.scriptKind)+", !entry: "+!j);return j}function acquireOrUpdateDocument(N,R,q,G,ie,ae,ce,le){le=E.ensureScriptKind(N,le);var _e=le===6?100:q.target||1;var Ee=E.getOrUpdate($,G,(function(){return new E.Map}));var Te=Ee.get(R);var we=Te&&getDocumentRegistryEntry(Te,le);if(!we&&j){var Ie=j.getDocument(G,R);if(Ie){E.Debug.assert(ce);we={sourceFile:Ie,languageServiceRefCount:0};setBucketEntry()}}if(!we){var Ie=E.createLanguageServiceSourceFile(N,ie,_e,ae,false,le);if(j){j.setDocument(G,R,Ie)}we={sourceFile:Ie,languageServiceRefCount:1};setBucketEntry()}else{if(we.sourceFile.version!==ae){we.sourceFile=E.updateLanguageServiceSourceFile(we.sourceFile,ie,ae,ie.getChangeRange(we.sourceFile.scriptSnapshot));if(j){j.setDocument(G,R,we.sourceFile)}}if(ce){we.languageServiceRefCount++}}E.Debug.assert(we.languageServiceRefCount!==0);return we.sourceFile;function setBucketEntry(){if(!Te){Ee.set(R,we)}else if(isDocumentRegistryEntry(Te)){var N=new E.Map;N.set(Te.sourceFile.scriptKind,Te);N.set(le,we);Ee.set(R,N)}else{Te.set(le,we)}}}function releaseDocument(N,j,$){var G=E.toPath(N,R,q);var ie=getKeyForCompilationSettings(j);return releaseDocumentWithKey(G,ie,$)}function releaseDocumentWithKey(N,R,j){var q=E.Debug.checkDefined($.get(R));var G=q.get(N);var ie=getDocumentRegistryEntry(G,j);ie.languageServiceRefCount--;E.Debug.assert(ie.languageServiceRefCount>=0);if(ie.languageServiceRefCount===0){if(isDocumentRegistryEntry(G)){q.delete(N)}else{G.delete(j);if(G.size===1){q.set(N,E.firstDefinedIterator(G.values(),E.identity))}}}}function getLanguageServiceRefCounts(N,R){return E.arrayFrom($.entries(),(function(E){var j=E[0],$=E[1];var q=$.get(N);var G=q&&getDocumentRegistryEntry(q,R);return[j,G&&G.languageServiceRefCount]}))}return{acquireDocument:acquireDocument,acquireDocumentWithKey:acquireDocumentWithKey,updateDocument:updateDocument,updateDocumentWithKey:updateDocumentWithKey,releaseDocument:releaseDocument,releaseDocumentWithKey:releaseDocumentWithKey,getLanguageServiceRefCounts:getLanguageServiceRefCounts,reportStats:reportStats,getKeyForCompilationSettings:getKeyForCompilationSettings}}E.createDocumentRegistryInternal=createDocumentRegistryInternal;function getKeyForCompilationSettings(N){return E.sourceFileAffectingCompilerOptions.map((function(R){return E.getCompilerOptionValue(N,R)})).join("|")}})(ce||(ce={}));var ce;(function(E){var N;(function(N){function createImportTracker(E,N,R,j){var q=getDirectImportsMap(E,R,j);return function(G,ie,ae){var ce=getImportersForExport(E,N,q,ie,R,j),le=ce.directImports,_e=ce.indirectUsers;return $({indirectUsers:_e},getSearchesFromDirectImports(le,G,ie.exportKind,R,ae))}}N.createImportTracker=createImportTracker;var R;(function(E){E[E["Named"]=0]="Named";E[E["Default"]=1]="Default";E[E["ExportEquals"]=2]="ExportEquals"})(R=N.ExportKind||(N.ExportKind={}));var j;(function(E){E[E["Import"]=0]="Import";E[E["Export"]=1]="Export"})(j=N.ImportExport||(N.ImportExport={}));function getImportersForExport(N,R,j,$,q,G){var ie=$.exportingModuleSymbol,ae=$.exportKind;var ce=E.nodeSeenTracker();var le=E.nodeSeenTracker();var _e=[];var Ee=!!ie.globalExports;var Te=Ee?undefined:[];handleDirectImports(ie);return{directImports:_e,indirectUsers:getIndirectUsers()};function getIndirectUsers(){if(Ee){return N}if(ie.declarations){for(var j=0,$=ie.declarations;j<$.length;j++){var q=$[j];if(E.isExternalModuleAugmentation(q)&&R.has(q.getSourceFile().fileName)){addIndirectUser(q)}}}return Te.map(E.getSourceFileOfNode)}function handleDirectImports(N){var R=getDirectImports(N);if(R){for(var j=0,$=R;j<$.length;j++){var ie=$[j];if(!ce(ie)){continue}if(G)G.throwIfCancellationRequested();switch(ie.kind){case 206:if(E.isImportCall(ie)){handleImportCall(ie);break}if(!Ee){var le=ie.parent;if(ae===2&&le.kind===252){var Te=le.name;if(Te.kind===79){_e.push(Te);break}}}break;case 79:break;case 263:handleNamespaceImport(ie,ie.name,E.hasSyntacticModifier(ie,1),false);break;case 264:_e.push(ie);var we=ie.importClause&&ie.importClause.namedBindings;if(we&&we.kind===266){handleNamespaceImport(ie,we.name,false,true)}else if(!Ee&&E.isDefaultImport(ie)){addIndirectUser(getSourceFileLikeForImportDeclaration(ie))}break;case 270:if(!ie.exportClause){handleDirectImports(getContainingModuleSymbol(ie,q))}else if(ie.exportClause.kind===272){addIndirectUser(getSourceFileLikeForImportDeclaration(ie),true)}else{_e.push(ie)}break;case 198:if(ie.isTypeOf&&!ie.qualifier&&isExported(ie)){addIndirectUser(ie.getSourceFile(),true)}_e.push(ie);break;default:E.Debug.failBadSyntaxKind(ie,"Unexpected import kind.")}}}}function handleImportCall(N){var R=E.findAncestor(N,isAmbientModuleDeclaration)||N.getSourceFile();addIndirectUser(R,!!isExported(N,true))}function isExported(N,R){if(R===void 0){R=false}return E.findAncestor(N,(function(N){if(R&&isAmbientModuleDeclaration(N))return"quit";return E.some(N.modifiers,(function(E){return E.kind===93}))}))}function handleNamespaceImport(N,R,j,$){if(ae===2){if(!$)_e.push(N)}else if(!Ee){var G=getSourceFileLikeForImportDeclaration(N);E.Debug.assert(G.kind===300||G.kind===259);if(j||findNamespaceReExports(G,R,q)){addIndirectUser(G,true)}else{addIndirectUser(G)}}}function addIndirectUser(N,R){if(R===void 0){R=false}E.Debug.assert(!Ee);var j=le(N);if(!j)return;Te.push(N);if(!R)return;var $=q.getMergedSymbol(N.symbol);if(!$)return;E.Debug.assert(!!($.flags&1536));var G=getDirectImports($);if(G){for(var ie=0,ae=G;ie=0){if(ae>j.end)break;var ce=ae+ie;if((ae===0||!E.isIdentifierPart(q.charCodeAt(ae-1),99))&&(ce===G||!E.isIdentifierPart(q.charCodeAt(ce),99))){$.push(ae)}ae=q.indexOf(R,ae+ie+1)}return $}function getLabelReferencesInNode(N,R){var j=N.getSourceFile();var $=R.text;var q=E.mapDefined(getPossibleSymbolReferenceNodes(j,$,N),(function(N){return N===R||E.isJumpStatementTarget(N)&&E.getTargetLabel(N,$)===R?nodeEntry(N):undefined}));return[{definition:{type:1,node:R},references:q}]}function isValidReferencePosition(N,R){switch(N.kind){case 80:if(E.isJSDocMemberName(N.parent)){return true}case 79:return N.text.length===R.length;case 14:case 10:{var j=N;return(E.isLiteralNameOfPropertyDeclarationOrIndexAccess(j)||E.isNameOfModuleDeclaration(N)||E.isExpressionOfExternalModuleImportEqualsDeclaration(N)||E.isCallExpression(N.parent)&&E.isBindableObjectDefinePropertyCall(N.parent)&&N.parent.arguments[1]===N)&&j.text.length===R.length}case 8:return E.isLiteralNameOfPropertyDeclarationOrIndexAccess(N)&&N.text.length===R.length;case 88:return"default".length===R.length;default:return false}}function getAllReferencesForKeyword(N,R,j,$){var q=E.flatMap(N,(function(N){j.throwIfCancellationRequested();return E.mapDefined(getPossibleSymbolReferenceNodes(N,E.tokenToString(R),N),(function(E){if(E.kind===R&&(!$||$(E))){return nodeEntry(E)}}))}));return q.length?[{definition:{type:2,node:q[0].node},references:q}]:undefined}function getReferencesInSourceFile(E,N,R,j){if(j===void 0){j=true}R.cancellationToken.throwIfCancellationRequested();return getReferencesInContainer(E,E,N,R,j)}function getReferencesInContainer(E,N,R,j,$){if(!j.markSearchedSymbols(N,R.allSearchSymbols)){return}for(var q=0,G=getPossibleSymbolReferencePositions(N,R.text,E);q0;G--){var $=j[G];startNode(N,$)}return[j.length-1,j[0]]}function startNode(E,N){var R=emptyNavigationBarNode(E,N);pushChild(ce,R);ae.push(ce);le.push(_e);_e=undefined;ce=R}function endNode(){if(ce.children){mergeChildren(ce.children,ce);sortChildren(ce.children)}ce=ae.pop();_e=le.pop()}function addNodeWithRecursiveChild(E,N,R){startNode(E,R);addChildrenRecursively(N);endNode()}function addNodeWithRecursiveInitializer(N){if(N.initializer&&isFunctionOrClassExpression(N.initializer)){startNode(N);E.forEachChild(N.initializer,addChildrenRecursively);endNode()}else{addNodeWithRecursiveChild(N,N.initializer)}}function hasNavigationBarName(N){return!E.hasDynamicName(N)||N.kind!==219&&E.isPropertyAccessExpression(N.name.expression)&&E.isIdentifier(N.name.expression.expression)&&E.idText(N.name.expression.expression)==="Symbol"}function addChildrenRecursively(N){var R;G.throwIfCancellationRequested();if(!N||E.isToken(N)){return}switch(N.kind){case 169:var j=N;addNodeWithRecursiveChild(j,j.body);for(var $=0,q=j.parameters;$0){startNode(Je,Ge);E.forEachChild(Je.right,addChildrenRecursively);endNode()}}}else if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ge)}else{startNode(Je,Ge);addNodeWithRecursiveChild(N,Je.right,Ve.name);endNode()}endNestedNodes(He);return}case 7:case 9:{var Ke=N;var Ge=We===7?Ke.arguments[0]:Ke.arguments[0].expression;var Qe=Ke.arguments[1];var Xe=startNestedNodes(N,Ge),He=Xe[0],Ye=Xe[1];startNode(N,Ye);startNode(N,E.setTextRange(E.factory.createIdentifier(Qe.text),Qe));addChildrenRecursively(N.arguments[2]);endNode();endNode();endNestedNodes(He);return}case 5:{var Je=N;var Ve=Je.left;var Ze=Ve.expression;if(E.isIdentifier(Ze)&&E.getElementOrPropertyAccessName(Ve)!=="prototype"&&_e&&_e.has(Ze.text)){if(E.isFunctionExpression(Je.right)||E.isArrowFunction(Je.right)){addNodeWithRecursiveChild(N,Je.right,Ze)}else if(E.isBindableStaticAccessExpression(Ve)){startNode(Je,Ze);addNodeWithRecursiveChild(Je.left,Je.right,E.getNameOrArgument(Ve));endNode()}return}break}case 4:case 0:case 8:break;default:E.Debug.assertNever(We)}}default:if(E.hasJSDocNodes(N)){E.forEach(N.jsDoc,(function(N){E.forEach(N.tags,(function(N){if(E.isJSDocTypeAlias(N)){addLeafNode(N)}}))}))}E.forEachChild(N,addChildrenRecursively)}}function mergeChildren(N,R){var j=new E.Map;E.filterMutate(N,(function(N,$){var q=N.name||E.getNameOfDeclaration(N.node);var G=q&&nodeText(q);if(!G){return true}var ie=j.get(G);if(!ie){j.set(G,N);return true}if(ie instanceof Array){for(var ae=0,ce=ie;ae0){return cleanText(j)}}switch(N.kind){case 300:var $=N;return E.isExternalModule($)?'"'+E.escapeString(E.getBaseFileName(E.removeFileExtension(E.normalizePath($.fileName))))+'"':"";case 269:return E.isExportAssignment(N)&&N.isExportEquals?"export=":"default";case 212:case 254:case 211:case 255:case 224:if(E.getSyntacticModifierFlags(N)&512){return"default"}return getFunctionOrClassName(N);case 169:return"constructor";case 173:return"new()";case 172:return"()";case 174:return"[]";default:return""}}function primaryNavBarMenuItems(E){var N=[];function recur(E){if(shouldAppearInPrimaryNavBarMenu(E)){N.push(E);if(E.children){for(var R=0,j=E.children;R0){return cleanText(E.declarationNameToString(N.name))}else if(E.isVariableDeclaration(R)){return cleanText(E.declarationNameToString(R.name))}else if(E.isBinaryExpression(R)&&R.operatorToken.kind===63){return nodeText(R.left).replace(j,"")}else if(E.isPropertyAssignment(R)){return nodeText(R.name)}else if(E.getSyntacticModifierFlags(N)&512){return"default"}else if(E.isClassLike(N)){return""}else if(E.isCallExpression(R)){var $=getCalledExpressionName(R.expression);if($!==undefined){$=cleanText($);if($.length>q){return $+" callback"}var G=cleanText(E.mapDefined(R.arguments,(function(N){return E.isStringLiteralLike(N)?N.getText(ie):undefined})).join(", "));return $+"("+G+") callback"}}return""}function getCalledExpressionName(N){if(E.isIdentifier(N)){return N.text}else if(E.isPropertyAccessExpression(N)){var R=getCalledExpressionName(N.expression);var j=N.name.text;return R===undefined?j:R+"."+j}else{return undefined}}function isFunctionOrClassExpression(E){switch(E.kind){case 212:case 211:case 224:return true;default:return false}}function cleanText(E){E=E.length>q?E.substring(0,q)+"...":E;return E.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}})(N=E.NavigationBar||(E.NavigationBar={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){function organizeImports(N,R,j,$,q,G){var ie=E.textChanges.ChangeTracker.fromContext({host:j,formatContext:R,preferences:q});var coalesceAndOrganizeImports=function(R){return E.stableSort(coalesceImports(removeUnusedImports(R,N,$,G)),(function(E,N){return compareImportsOrRequireStatements(E,N)}))};var ae=N.statements.filter(E.isImportDeclaration);organizeImportsWorker(ae,coalesceAndOrganizeImports);var ce=N.statements.filter(E.isExportDeclaration);organizeImportsWorker(ce,coalesceExports);for(var le=0,_e=N.statements.filter(E.isAmbientModule);le<_e.length;le++){var Ee=_e[le];if(!Ee.body){continue}var Te=Ee.body.statements.filter(E.isImportDeclaration);organizeImportsWorker(Te,coalesceAndOrganizeImports);var we=Ee.body.statements.filter(E.isExportDeclaration);organizeImportsWorker(we,coalesceExports)}return ie.getChanges();function organizeImportsWorker($,q){if(E.length($)===0){return}E.suppressLeadingTrivia($[0]);var G=E.group($,(function(E){return getExternalModuleName(E.moduleSpecifier)}));var ae=E.stableSort(G,(function(E,N){return compareModuleSpecifiers(E[0].moduleSpecifier,N[0].moduleSpecifier)}));var ce=E.flatMap(ae,(function(E){return getExternalModuleName(E[0].moduleSpecifier)?q(E):E}));if(ce.length===0){ie.deleteNodes(N,$,{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},true)}else{var le={leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include,suffix:E.getNewLineOrDefaultFromHost(j,R.options)};ie.replaceNodeWithNodes(N,$[0],ce,le);var _e=ie.nodeHasTrailingComment(N,$[0],le);ie.deleteNodes(N,$.slice(1),{trailingTriviaOption:E.textChanges.TrailingTriviaOption.Include},_e)}}}N.organizeImports=organizeImports;function removeUnusedImports(N,R,j,$){if($){return N}var q=j.getTypeChecker();var G=q.getJsxNamespace(R);var ie=q.getJsxFragmentFactory(R);var ae=!!(R.transformFlags&2);var ce=[];for(var le=0,_e=N;le<_e.length;le++){var Ee=_e[le];var Te=Ee.importClause,we=Ee.moduleSpecifier;if(!Te){ce.push(Ee);continue}var Ie=Te.name,Ne=Te.namedBindings;if(Ie&&!isDeclarationUsed(Ie)){Ie=undefined}if(Ne){if(E.isNamespaceImport(Ne)){if(!isDeclarationUsed(Ne.name)){Ne=undefined}}else{var Me=Ne.elements.filter((function(E){return isDeclarationUsed(E.name)}));if(Me.length0?Ee[0]:we[0];var qe=Je.length===0?je?undefined:E.factory.createNamedImports(E.emptyArray):we.length===0?E.factory.createNamedImports(Je):E.factory.updateNamedImports(we[0].importClause.namedBindings,Je);if(_e&&je&&qe){ie.push(updateImportDeclarationAndClause(Ve,je,undefined));ie.push(updateImportDeclarationAndClause((R=we[0])!==null&&R!==void 0?R:Ve,undefined,qe))}else{ie.push(updateImportDeclarationAndClause(Ve,je,qe))}}return ie}N.coalesceImports=coalesceImports;function getCategorizedImports(N){var R;var j={defaultImports:[],namespaceImports:[],namedImports:[]};var $={defaultImports:[],namespaceImports:[],namedImports:[]};for(var q=0,G=N;q1){$.push(createOutliningSpanFromBounds(G,ie,"comment"))}}}function addOutliningForLeadingCommentsForNode(N,R,j,$){if(E.isJsxText(N))return;addOutliningForLeadingCommentsForPos(N.pos,R,j,$)}function createOutliningSpanFromBounds(N,R,j){return createOutliningSpan(E.createTextSpanFromBounds(N,R),j)}function getOutliningSpanForNode(N,R){switch(N.kind){case 233:if(E.isFunctionLike(N.parent)){return functionSpan(N.parent,N,R)}switch(N.parent.kind){case 238:case 241:case 242:case 240:case 237:case 239:case 246:case 290:return spanForNode(N.parent);case 250:var j=N.parent;if(j.tryBlock===N){return spanForNode(N.parent)}else if(j.finallyBlock===N){var $=E.findChildOfKind(j,96,R);if($)return spanForNode($)}default:return createOutliningSpan(E.createTextSpanFromNode(N,R),"code")}case 260:return spanForNode(N.parent);case 255:case 224:case 256:case 258:case 261:case 180:case 199:return spanForNode(N);case 182:return spanForNode(N,false,!E.isTupleTypeNode(N.parent),22);case 287:case 288:return spanForNodeArray(N.statements);case 203:return spanForObjectOrArrayLiteral(N);case 202:return spanForObjectOrArrayLiteral(N,22);case 276:return spanForJSXElement(N);case 280:return spanForJSXFragment(N);case 277:case 278:return spanForJSXAttributes(N.attributes);case 221:case 14:return spanForTemplateLiteral(N);case 200:return spanForNode(N,false,!E.isBindingElement(N.parent),22);case 212:return spanForArrowFunction(N);case 206:return spanForCallExpression(N)}function spanForCallExpression(N){if(!N.arguments.length){return undefined}var j=E.findChildOfKind(N,20,R);var $=E.findChildOfKind(N,21,R);if(!j||!$||E.positionsAreOnSameLine(j.pos,$.pos,R)){return undefined}return spanBetweenTokens(j,$,N,R,false,true)}function spanForArrowFunction(N){if(E.isBlock(N.body)||E.positionsAreOnSameLine(N.body.getFullStart(),N.body.getEnd(),R)){return undefined}var j=E.createTextSpanFromBounds(N.body.getFullStart(),N.body.getEnd());return createOutliningSpan(j,"code",E.createTextSpanFromNode(N))}function spanForJSXElement(N){var j=E.createTextSpanFromBounds(N.openingElement.getStart(R),N.closingElement.getEnd());var $=N.openingElement.tagName.getText(R);var q="<"+$+">...";return createOutliningSpan(j,"code",j,false,q)}function spanForJSXFragment(N){var j=E.createTextSpanFromBounds(N.openingFragment.getStart(R),N.closingFragment.getEnd());var $="<>...";return createOutliningSpan(j,"code",j,false,$)}function spanForJSXAttributes(E){if(E.properties.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForTemplateLiteral(E){if(E.kind===14&&E.text.length===0){return undefined}return createOutliningSpanFromBounds(E.getStart(R),E.getEnd(),"code")}function spanForObjectOrArrayLiteral(N,R){if(R===void 0){R=18}return spanForNode(N,false,!E.isArrayLiteralExpression(N.parent)&&!E.isCallExpression(N.parent),R)}function spanForNode(j,$,q,G,ie){if($===void 0){$=false}if(q===void 0){q=true}if(G===void 0){G=18}if(ie===void 0){ie=G===18?19:23}var ae=E.findChildOfKind(N,G,R);var ce=E.findChildOfKind(N,ie,R);return ae&&ce&&spanBetweenTokens(ae,ce,j,R,$,q)}function spanForNodeArray(N){return N.length?createOutliningSpan(E.createTextSpanFromRange(N),"code"):undefined}}function functionSpan(N,R,j){var $=tryGetFunctionOpenToken(N,R,j);var q=E.findChildOfKind(R,19,j);return $&&q&&spanBetweenTokens($,q,N,j,N.kind!==212)}function spanBetweenTokens(N,R,j,$,q,G){if(q===void 0){q=false}if(G===void 0){G=true}var ie=E.createTextSpanFromBounds(G?N.getFullStart():N.getStart($),R.getEnd());return createOutliningSpan(ie,"code",E.createTextSpanFromNode(j,$),q)}function createOutliningSpan(E,N,R,j,$){if(R===void 0){R=E}if(j===void 0){j=false}if($===void 0){$="..."}return{textSpan:E,kind:N,hintSpan:R,bannerText:$,autoCollapse:j}}function tryGetFunctionOpenToken(N,R,j){if(E.isNodeArrayMultiLine(N.parameters,j)){var $=E.findChildOfKind(N,20,j);if($){return $}}return E.findChildOfKind(R,18,j)}})(N=E.OutliningElementsCollector||(E.OutliningElementsCollector={}))})(ce||(ce={}));var ce;(function(E){var N;(function(E){E[E["exact"]=0]="exact";E[E["prefix"]=1]="prefix";E[E["substring"]=2]="substring";E[E["camelCase"]=3]="camelCase"})(N=E.PatternMatchKind||(E.PatternMatchKind={}));function createPatternMatch(E,N){return{kind:E,isCaseSensitive:N}}function createPatternMatcher(N){var R=new E.Map;var j=N.trim().split(".").map((function(E){return createSegment(E.trim())}));if(j.some((function(E){return!E.subWordTextChunks.length})))return undefined;return{getFullMatch:function(E,N){return getFullMatch(E,N,j,R)},getMatchForLastSegmentOfPattern:function(N){return matchSegment(N,E.last(j),R)},patternContainsDots:j.length>1}}E.createPatternMatcher=createPatternMatcher;function getFullMatch(N,R,j,$){var q=matchSegment(R,E.last(j),$);if(!q){return undefined}if(j.length-1>N.length){return undefined}var G;for(var ie=j.length-2,ae=N.length-1;ie>=0;ie-=1,ae-=1){G=betterMatch(G,matchSegment(N[ae],j[ie],$))}return G}function getWordSpans(E,N){var R=N.get(E);if(!R){N.set(E,R=breakIntoWordSpans(E))}return R}function matchTextChunk(R,j,$){var q=indexOfIgnoringCase(R,j.textLowerCase);if(q===0){return createPatternMatch(j.text.length===R.length?N.exact:N.prefix,E.startsWith(R,j.text))}if(j.isLowerCase){if(q===-1)return undefined;var G=getWordSpans(R,$);for(var ie=0,ae=G;ie0){return createPatternMatch(N.substring,true)}if(j.characterSpans.length>0){var le=getWordSpans(R,$);var _e=tryCamelCaseMatch(R,le,j,false)?true:tryCamelCaseMatch(R,le,j,true)?false:undefined;if(_e!==undefined){return createPatternMatch(N.camelCase,_e)}}}}function matchSegment(E,N,R){if(every(N.totalTextChunk.text,(function(E){return E!==32&&E!==42}))){var j=matchTextChunk(E,N.totalTextChunk,R);if(j)return j}var $=N.subWordTextChunks;var q;for(var G=0,ie=$;G=65&&N<=90){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toUpperCase()}function isLowerCaseLetter(N){if(N>=97&&N<=122){return true}if(N<127||!E.isUnicodeIdentifierStart(N,99)){return false}var R=String.fromCharCode(N);return R===R.toLowerCase()}function indexOfIgnoringCase(E,N){var R=E.length-N.length;var _loop_7=function(R){if(every(N,(function(N,j){return toLowerCase(E.charCodeAt(j+R))===N}))){return{value:R}}};for(var j=0;j<=R;j++){var $=_loop_7(j);if(typeof $==="object")return $.value}return-1}function toLowerCase(E){if(E>=65&&E<=90){return 97+(E-65)}if(E<127){return E}return String.fromCharCode(E).toLowerCase().charCodeAt(0)}function isDigit(E){return E>=48&&E<=57}function isWordChar(E){return isUpperCaseLetter(E)||isLowerCaseLetter(E)||isDigit(E)||E===95||E===36}function breakPatternIntoTextChunks(E){var N=[];var R=0;var j=0;for(var $=0;$0){N.push(createTextChunk(E.substr(R,j)));j=0}}}if(j>0){N.push(createTextChunk(E.substr(R,j)))}return N}function createTextChunk(E){var N=E.toLowerCase();return{text:E,textLowerCase:N,isLowerCase:E===N,characterSpans:breakIntoCharacterSpans(E)}}function breakIntoCharacterSpans(E){return breakIntoSpans(E,false)}E.breakIntoCharacterSpans=breakIntoCharacterSpans;function breakIntoWordSpans(E){return breakIntoSpans(E,true)}E.breakIntoWordSpans=breakIntoWordSpans;function breakIntoSpans(N,R){var j=[];var $=0;for(var q=1;qN){break e}var Ee=E.singleOrUndefined(E.getTrailingCommentRanges(R.text,le.end));if(Ee&&Ee.kind===2){pushSelectionCommentRange(Ee.pos,Ee.end)}if(positionShouldSnapToNode(R,N,le)){if(E.isBlock(le)||E.isTemplateSpan(le)||E.isTemplateHead(le)||E.isTemplateTail(le)||ce&&E.isTemplateHead(ce)||E.isVariableDeclarationList(le)&&E.isVariableStatement(G)||E.isSyntaxList(le)&&E.isVariableDeclarationList(G)||E.isVariableDeclaration(le)&&E.isSyntaxList(G)&&ie.length===1||E.isJSDocTypeExpression(le)||E.isJSDocSignature(le)||E.isJSDocTypeLiteral(le)){G=le;break}if(E.isTemplateSpan(G)&&_e&&E.isTemplateMiddleOrTemplateTail(_e)){var Te=le.getFullStart()-"${".length;var we=_e.getStart()+"}".length;pushSelectionRange(Te,we)}var Ie=E.isSyntaxList(le)&&isListOpener(ce)&&isListCloser(_e)&&!E.positionsAreOnSameLine(ce.getStart(),_e.getStart(),R);var Ne=Ie?ce.getEnd():le.getStart();var Me=Ie?_e.getStart():getEndPos(R,le);if(E.hasJSDocNodes(le)&&((j=le.jsDoc)===null||j===void 0?void 0:j.length)){pushSelectionRange(E.first(le.jsDoc).getStart(),Me)}pushSelectionRange(Ne,Me);if(E.isStringLiteral(le)||E.isTemplateLiteral(le)){pushSelectionRange(Ne+1,Me-1)}G=le;break}if(ae===ie.length-1){break e}}}return q;function pushSelectionRange(R,j){if(R!==j){var G=E.createTextSpanFromBounds(R,j);if(!q||!E.textSpansEqual(G,q.textSpan)&&E.textSpanIntersectsWithPosition(G,N)){q=$({textSpan:G},q&&{parent:q})}}}function pushSelectionCommentRange(E,N){pushSelectionRange(E,N);var j=E;while(R.text.charCodeAt(j)===47){j++}pushSelectionRange(j,N)}}N.getSmartSelectionRange=getSmartSelectionRange;function positionShouldSnapToNode(N,R,j){E.Debug.assert(j.pos<=R);if(R0&&E.last(R).kind===27){j++}return j}function getArgumentIndexForTemplatePiece(N,R,j,$){E.Debug.assert(j>=R.getStart(),"Assumed 'position' could not occur before node.");if(E.isTemplateLiteralToken(R)){if(E.isInsideTemplateLiteral(R,j,$)){return 0}return N+2}return N+1}function getArgumentListInfoForTemplate(N,R,j){var $=E.isNoSubstitutionTemplateLiteral(N.template)?1:N.template.templateSpans.length+1;if(R!==0){E.Debug.assertLessThan(R,$)}return{isTypeParameterList:false,invocation:{kind:0,node:N},argumentsSpan:getApplicableSpanForTaggedTemplate(N,j),argumentIndex:R,argumentCount:$}}function getApplicableSpanForArguments(N,R){var j=N.getFullStart();var $=E.skipTrivia(R.text,N.getEnd(),false);return E.createTextSpan(j,$-j)}function getApplicableSpanForTaggedTemplate(N,R){var j=N.template;var $=j.getStart();var q=j.getEnd();if(j.kind===221){var G=E.last(j.templateSpans);if(G.literal.getFullWidth()===0){q=E.skipTrivia(R.text,q,false)}}return E.createTextSpan($,q-$)}function getContainingArgumentInfo(N,R,j,$,q){var _loop_8=function(N){E.Debug.assert(E.rangeContainsRange(N.parent,N),"Not a subspan",(function(){return"Child: "+E.Debug.formatSyntaxKind(N.kind)+", parent: "+E.Debug.formatSyntaxKind(N.parent.kind)}));var q=getImmediatelyContainingArgumentOrContextualParameterInfo(N,R,j,$);if(q){return{value:q}}};for(var G=N;!E.isSourceFile(G)&&(q||!E.isBlock(G));G=G.parent){var ie=_loop_8(G);if(typeof ie==="object")return ie.value}return undefined}function getChildListThatStartsWithOpenerToken(N,R,j){var $=N.getChildren(j);var q=$.indexOf(R);E.Debug.assert(q>=0&&$.length>q+1);return $[q+1]}function getExpressionFromInvocation(N){return N.kind===0?E.getInvokedExpression(N.node):N.called}function getEnclosingDeclarationFromInvocation(E){return E.kind===0?E.node:E.kind===1?E.called:E.node}var q=8192|70221824|16384;function createSignatureHelpItems(N,R,j,$,q,G){var ie;var ae=j.isTypeParameterList,ce=j.argumentCount,le=j.argumentsSpan,_e=j.invocation,Ee=j.argumentIndex;var Te=getEnclosingDeclarationFromInvocation(_e);var we=_e.kind===2?_e.symbol:q.getSymbolAtLocation(getExpressionFromInvocation(_e))||G&&((ie=R.declaration)===null||ie===void 0?void 0:ie.symbol);var Ie=we?E.symbolToDisplayParts(q,we,G?$:undefined,undefined):E.emptyArray;var Ne=E.map(N,(function(E){return getSignatureHelpItem(E,Ie,ae,q,Te,$)}));if(Ee!==0){E.Debug.assertLessThan(Ee,ce)}var Me=0;var Le=0;for(var Be=0;Be1){var Ue=0;for(var ze=0,We=je;ze=ce){Me=Le+Ue;break}Ue++}}}Le+=je.length}E.Debug.assert(Me!==-1);var Ve={items:E.flatMapToMutable(Ne,E.identity),applicableSpan:le,selectedItemIndex:Me,argumentIndex:Ee,argumentCount:ce};var qe=Ve.items[Me];if(qe.isVariadic){var He=E.findIndex(qe.parameters,(function(E){return!!E.isRest}));if(-1N){return E.substr(0,N-"...".length)+"..."}return E}function printTypeInSingleLine(N){var R=70221824|1048576|16384;var $={removeComments:true};var q=E.createPrinter($);return E.usingSingleLineStringWriter((function($){var G=le.typeToTypeNode(N,undefined,R,$);E.Debug.assertIsDefined(G,"should always get typenode");q.writeNode(4,G,j,$)}))}function isUndefined(E){return E==="undefined"}}N.provideInlayHints=provideInlayHints})(N=E.InlayHints||(E.InlayHints={}))})(ce||(ce={}));var ce;(function(E){var N=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;function getSourceMapper(N){var R=E.createGetCanonicalFileName(N.useCaseSensitiveFileNames());var j=N.getCurrentDirectory();var $=new E.Map;var q=new E.Map;return{tryGetSourcePosition:tryGetSourcePosition,tryGetGeneratedPosition:tryGetGeneratedPosition,toLineColumnOffset:toLineColumnOffset,clearCache:clearCache};function toPath(N){return E.toPath(N,j,R)}function getDocumentPositionMapper(j,$){var G=toPath(j);var ie=q.get(G);if(ie)return ie;var ae;if(N.getDocumentPositionMapper){ae=N.getDocumentPositionMapper(j,$)}else if(N.readFile){var ce=getSourceFileLike(j);ae=ce&&E.getDocumentPositionMapper({getSourceFileLike:getSourceFileLike,getCanonicalFileName:R,log:function(E){return N.log(E)}},j,E.getLineInfo(ce.text,E.getLineStarts(ce)),(function(E){return!N.fileExists||N.fileExists(E)?N.readFile(E):undefined}))}q.set(G,ae||E.identitySourceMapConsumer);return ae||E.identitySourceMapConsumer}function tryGetSourcePosition(N){if(!E.isDeclarationFileName(N.fileName))return undefined;var R=getSourceFile(N.fileName);if(!R)return undefined;var j=getDocumentPositionMapper(N.fileName).getSourcePosition(N);return!j||j===N?undefined:tryGetSourcePosition(j)||j}function tryGetGeneratedPosition($){if(E.isDeclarationFileName($.fileName))return undefined;var q=getSourceFile($.fileName);if(!q)return undefined;var G=N.getProgram();if(G.isSourceOfProjectReferenceRedirect(q.fileName)){return undefined}var ie=G.getCompilerOptions();var ae=E.outFile(ie);var ce=ae?E.removeFileExtension(ae)+".d.ts":E.getDeclarationEmitOutputFilePathWorker($.fileName,G.getCompilerOptions(),j,G.getCommonSourceDirectory(),R);if(ce===undefined)return undefined;var le=getDocumentPositionMapper(ce,$.fileName).getGeneratedPosition($);return le===$?undefined:le}function getSourceFile(E){var R=N.getProgram();if(!R)return undefined;var j=toPath(E);var $=R.getSourceFileByPath(j);return $&&$.resolvedPath===j?$:undefined}function getOrCreateSourceFileLike(E){var R=toPath(E);var j=$.get(R);if(j!==undefined)return j?j:undefined;if(!N.readFile||N.fileExists&&!N.fileExists(R)){$.set(R,false);return undefined}var q=N.readFile(R);var G=q?createSourceFileLike(q):false;$.set(R,G);return G?G:undefined}function getSourceFileLike(E){return!N.getSourceFileLike?getSourceFile(E)||getOrCreateSourceFileLike(E):N.getSourceFileLike(E)}function toLineColumnOffset(E,N){var R=getSourceFileLike(E);return R.getLineAndCharacterOfPosition(N)}function clearCache(){$.clear();q.clear()}}E.getSourceMapper=getSourceMapper;function getDocumentPositionMapper(R,j,$,q){var G=E.tryGetSourceMappingURL($);if(G){var ie=N.exec(G);if(ie){if(ie[1]){var ae=ie[1];return convertDocumentToSourceMapper(R,E.base64decode(E.sys,ae),j)}G=undefined}}var ce=[];if(G){ce.push(G)}ce.push(j+".map");var le=G&&E.getNormalizedAbsolutePath(G,E.getDirectoryPath(j));for(var _e=0,Ee=ce;_e2)return false;if(N.arguments.length<2)return true;return E.some(N.arguments,(function(N){return N.kind===104||E.isIdentifier(N)&&N.text==="undefined"}))}function isFixablePromiseArgument(R,j){switch(R.kind){case 254:case 211:var $=E.getFunctionFlags(R);if($&1){return false}case 212:N.set(getKeyFromNode(R),true);case 104:return true;case 79:case 204:{var q=j.getSymbolAtLocation(R);if(!q){return false}return j.isUndefinedSymbol(q)||E.some(E.skipAlias(q,j).declarations,(function(N){return E.isFunctionLike(N)||E.hasInitializer(N)&&!!N.initializer&&E.isFunctionLike(N.initializer)}))}default:return false}}function getKeyFromNode(E){return E.pos.toString()+":"+E.end.toString()}function canBeConvertedToClass(N,R){var j,$,q,G;if(N.kind===211){if(E.isVariableDeclaration(N.parent)&&((j=N.symbol.members)===null||j===void 0?void 0:j.size)){return true}var ie=R.getSymbolOfExpando(N,false);return!!(ie&&((($=ie.exports)===null||$===void 0?void 0:$.size)||((q=ie.members)===null||q===void 0?void 0:q.size)))}if(N.kind===254){return!!((G=N.symbol.members)===null||G===void 0?void 0:G.size)}return false}function canBeConvertedToAsync(E){switch(E.kind){case 254:case 167:case 211:case 212:return true;default:return false}}E.canBeConvertedToAsync=canBeConvertedToAsync})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=8192|70221824|16384;function getSymbolKind(N,R,j){var $=getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j);if($!==""){return $}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&32){return E.getDeclarationOfKind(R,224)?"local class":"class"}if(q&384)return"enum";if(q&524288)return"type";if(q&64)return"interface";if(q&262144)return"type parameter";if(q&8)return"enum member";if(q&2097152)return"alias";if(q&1536)return"module";return $}N.getSymbolKind=getSymbolKind;function getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,R,j){var $=N.getRootSymbols(R);if($.length===1&&E.first($).flags&8192&&N.getTypeOfSymbolAtLocation(R,j).getNonNullableType().getCallSignatures().length!==0){return"method"}if(N.isUndefinedSymbol(R)){return"var"}if(N.isArgumentsSymbol(R)){return"local var"}if(j.kind===108&&E.isExpression(j)){return"parameter"}var q=E.getCombinedLocalAndExportSymbolFlags(R);if(q&3){if(E.isFirstDeclarationOfSymbolParameter(R)){return"parameter"}else if(R.valueDeclaration&&E.isVarConst(R.valueDeclaration)){return"const"}else if(E.forEach(R.declarations,E.isLet)){return"let"}return isLocalVariableOrFunction(R)?"local var":"var"}if(q&16)return isLocalVariableOrFunction(R)?"local function":"function";if(q&32768)return"getter";if(q&65536)return"setter";if(q&8192)return"method";if(q&16384)return"constructor";if(q&4){if(q&33554432&&R.checkFlags&6){var G=E.forEach(N.getRootSymbols(R),(function(E){var N=E.getFlags();if(N&(98308|3)){return"property"}}));if(!G){var ie=N.getTypeOfSymbolAtLocation(R,j);if(ie.getCallSignatures().length){return"method"}return"property"}return G}switch(j.parent&&j.parent.kind){case 278:case 276:case 277:return j.kind===79?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function getNormalizedSymbolModifiers(N){if(N.declarations&&N.declarations.length){var R=N.declarations,j=R[0],$=R.slice(1);var q=E.length($)&&E.isDeprecatedDeclaration(j)&&E.some($,(function(N){return!E.isDeprecatedDeclaration(N)}))?8192:0;var G=E.getNodeModifiers(j,q);if(G){return G.split(",")}}return[]}function getSymbolModifiers(N,R){if(!R){return""}var j=new E.Set(getNormalizedSymbolModifiers(R));if(R.flags&2097152){var $=N.getAliasedSymbol(R);if($!==R){E.forEach(getNormalizedSymbolModifiers($),(function(E){j.add(E)}))}}if(R.flags&16777216){j.add("optional")}return j.size>0?E.arrayFrom(j.values()).join(","):""}N.getSymbolModifiers=getSymbolModifiers;function getSymbolDisplayPartsDocumentationAndSymbolKind(N,j,$,q,G,ie,ae){var ce;if(ie===void 0){ie=E.getMeaningFromLocation(G)}var le=[];var _e=[];var Ee=[];var Te=E.getCombinedLocalAndExportSymbolFlags(j);var we=ie&1?getSymbolKindOfConstructorPropertyMethodAccessorFunctionOrVar(N,j,G):"";var Ie=false;var Ne=G.kind===108&&E.isInExpressionContext(G);var Me;var Le;var Be;var je;var Ue=false;if(G.kind===108&&!Ne){return{displayParts:[E.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:undefined}}if(we!==""||Te&32||Te&2097152){if(we==="getter"||we==="setter"){we="property"}var ze=void 0;Me=Ne?N.getTypeAtLocation(G):N.getTypeOfSymbolAtLocation(j,G);if(G.parent&&G.parent.kind===204){var We=G.parent.name;if(We===G||We&&We.getFullWidth()===0){G=G.parent}}var Je=void 0;if(E.isCallOrNewExpression(G)){Je=G}else if(E.isCallExpressionTarget(G)||E.isNewExpressionTarget(G)){Je=G.parent}else if(G.parent&&(E.isJsxOpeningLikeElement(G.parent)||E.isTaggedTemplateExpression(G.parent))&&E.isFunctionLike(j.valueDeclaration)){Je=G.parent}if(Je){ze=N.getResolvedSignature(Je);var Ve=Je.kind===207||E.isCallExpression(Je)&&Je.expression.kind===106;var qe=Ve?Me.getConstructSignatures():Me.getCallSignatures();if(ze&&!E.contains(qe,ze.target)&&!E.contains(qe,ze)){ze=qe.length?qe[0]:undefined}if(ze){if(Ve&&Te&32){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else if(Te&2097152){we="alias";pushSymbolKind(we);le.push(E.spacePart());if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addFullSymbolName(j)}else{addPrefixForAnyFunctionOrVar(j,we)}switch(we){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":le.push(E.punctuationPart(58));le.push(E.spacePart());if(!(E.getObjectFlags(Me)&16)&&Me.symbol){E.addRange(le,E.symbolToDisplayParts(N,Me.symbol,q,undefined,4|1));le.push(E.lineBreakPart())}if(Ve){if(ze.flags&4){le.push(E.keywordPart(126));le.push(E.spacePart())}le.push(E.keywordPart(103));le.push(E.spacePart())}addSignatureDisplayParts(ze,qe,262144);break;default:addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}else if(E.isNameOfFunctionDeclaration(G)&&!(Te&98304)||G.kind===133&&G.parent.kind===169){var He=G.parent;var Ge=j.declarations&&E.find(j.declarations,(function(E){return E===(G.kind===133?He.parent:He)}));if(Ge){var qe=He.kind===169?Me.getNonNullableType().getConstructSignatures():Me.getNonNullableType().getCallSignatures();if(!N.isImplementationOfOverload(He)){ze=N.getSignatureFromDeclaration(He)}else{ze=qe[0]}if(He.kind===169){we="constructor";addPrefixForAnyFunctionOrVar(Me.symbol,we)}else{addPrefixForAnyFunctionOrVar(He.kind===172&&!(Me.symbol.flags&2048||Me.symbol.flags&4096)?Me.symbol:j,we)}if(ze){addSignatureDisplayParts(ze,qe)}Ie=true;Ue=qe.length>1}}}if(Te&32&&!Ie&&!Ne){addAliasPrefixIfNecessary();if(E.getDeclarationOfKind(j,224)){pushSymbolKind("local class")}else{le.push(E.keywordPart(84))}le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&64&&ie&2){prefixNextMeaning();le.push(E.keywordPart(118));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$)}if(Te&524288&&ie&2){prefixNextMeaning();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(j);writeTypeParametersOfSymbol(j,$);le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());E.addRange(le,E.typeToDisplayParts(N,N.getDeclaredTypeOfSymbol(j),q,8388608))}if(Te&384){prefixNextMeaning();if(E.some(j.declarations,(function(N){return E.isEnumDeclaration(N)&&E.isEnumConst(N)}))){le.push(E.keywordPart(85));le.push(E.spacePart())}le.push(E.keywordPart(92));le.push(E.spacePart());addFullSymbolName(j)}if(Te&1536&&!Ne){prefixNextMeaning();var Ke=E.getDeclarationOfKind(j,259);var Qe=Ke&&Ke.name&&Ke.name.kind===79;le.push(E.keywordPart(Qe?141:140));le.push(E.spacePart());addFullSymbolName(j)}if(Te&262144&&ie&2){prefixNextMeaning();le.push(E.punctuationPart(20));le.push(E.textPart("type parameter"));le.push(E.punctuationPart(21));le.push(E.spacePart());addFullSymbolName(j);if(j.parent){addInPrefix();addFullSymbolName(j.parent,q);writeTypeParametersOfSymbol(j.parent,q)}else{var Xe=E.getDeclarationOfKind(j,161);if(Xe===undefined)return E.Debug.fail();var Ke=Xe.parent;if(Ke){if(E.isFunctionLikeKind(Ke.kind)){addInPrefix();var ze=N.getSignatureFromDeclaration(Ke);if(Ke.kind===173){le.push(E.keywordPart(103));le.push(E.spacePart())}else if(Ke.kind!==172&&Ke.name){addFullSymbolName(Ke.symbol)}E.addRange(le,E.signatureToDisplayParts(N,ze,$,32))}else if(Ke.kind===257){addInPrefix();le.push(E.keywordPart(150));le.push(E.spacePart());addFullSymbolName(Ke.symbol);writeTypeParametersOfSymbol(Ke.symbol,$)}}}}if(Te&8){we="enum member";addPrefixForAnyFunctionOrVar(j,"enum member");var Ke=(ce=j.declarations)===null||ce===void 0?void 0:ce[0];if((Ke===null||Ke===void 0?void 0:Ke.kind)===294){var Ye=N.getConstantValue(Ke);if(Ye!==undefined){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.displayPart(E.getTextOfConstantValue(Ye),typeof Ye==="number"?E.SymbolDisplayPartKind.numericLiteral:E.SymbolDisplayPartKind.stringLiteral))}}}if(j.flags&2097152){prefixNextMeaning();if(!Ie){var Ze=N.getAliasedSymbol(j);if(Ze!==j&&Ze.declarations&&Ze.declarations.length>0){var et=Ze.declarations[0];var tt=E.getNameOfDeclaration(et);if(tt){var rt=E.isModuleWithStringLiteralName(et)&&E.hasSyntacticModifier(et,2);var nt=j.name!=="default"&&!rt;var it=getSymbolDisplayPartsDocumentationAndSymbolKind(N,Ze,E.getSourceFileOfNode(et),et,tt,ie,nt?j:Ze);le.push.apply(le,it.displayParts);le.push(E.lineBreakPart());Be=it.documentation;je=it.tags}else{Be=Ze.getContextualDocumentationComment(et,N);je=Ze.getJsDocTags(N)}}}if(j.declarations){switch(j.declarations[0].kind){case 262:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(141));break;case 269:le.push(E.keywordPart(93));le.push(E.spacePart());le.push(E.keywordPart(j.declarations[0].isExportEquals?63:88));break;case 273:le.push(E.keywordPart(93));break;default:le.push(E.keywordPart(100))}}le.push(E.spacePart());addFullSymbolName(j);E.forEach(j.declarations,(function(R){if(R.kind===263){var j=R;if(E.isExternalModuleImportEqualsDeclaration(j)){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());le.push(E.keywordPart(144));le.push(E.punctuationPart(20));le.push(E.displayPart(E.getTextOfNode(E.getExternalModuleImportEqualsDeclarationExpression(j)),E.SymbolDisplayPartKind.stringLiteral));le.push(E.punctuationPart(21))}else{var $=N.getSymbolAtLocation(j.moduleReference);if($){le.push(E.spacePart());le.push(E.operatorPart(63));le.push(E.spacePart());addFullSymbolName($,q)}}return true}}))}if(!Ie){if(we!==""){if(Me){if(Ne){prefixNextMeaning();le.push(E.keywordPart(108))}else{addPrefixForAnyFunctionOrVar(j,we)}if(we==="property"||we==="JSX attribute"||Te&3||we==="local var"||Ne){le.push(E.punctuationPart(58));le.push(E.spacePart());if(Me.symbol&&Me.symbol.flags&262144){var ot=E.mapToDisplayParts((function(j){var $=N.typeParameterToDeclaration(Me,q,R);getPrinter().writeNode(4,$,E.getSourceFileOfNode(E.getParseTreeNode(q)),j)}));E.addRange(le,ot)}else{E.addRange(le,E.typeToDisplayParts(N,Me,q))}if(j.target&&j.target.tupleLabelDeclaration){var st=j.target.tupleLabelDeclaration;E.Debug.assertNode(st.name,E.isIdentifier);le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.textPart(E.idText(st.name)));le.push(E.punctuationPart(21))}}else if(Te&16||Te&8192||Te&16384||Te&131072||Te&98304||we==="method"){var qe=Me.getNonNullableType().getCallSignatures();if(qe.length){addSignatureDisplayParts(qe[0],qe);Ue=qe.length>1}}}}else{we=getSymbolKind(N,j,G)}}if(_e.length===0&&!Ue){_e=j.getContextualDocumentationComment(q,N)}if(_e.length===0&&Te&4){if(j.parent&&j.declarations&&E.forEach(j.parent.declarations,(function(E){return E.kind===300}))){for(var ct=0,ut=j.declarations;ct0){break}}}}if(Ee.length===0&&!Ue){Ee=j.getJsDocTags(N)}if(_e.length===0&&Be){_e=Be}if(Ee.length===0&&je){Ee=je}return{displayParts:le,documentation:_e,symbolKind:we,tags:Ee.length===0?undefined:Ee};function getPrinter(){if(!Le){Le=E.createPrinter({removeComments:true})}return Le}function prefixNextMeaning(){if(le.length){le.push(E.lineBreakPart())}addAliasPrefixIfNecessary()}function addAliasPrefixIfNecessary(){if(ae){pushSymbolKind("alias");le.push(E.spacePart())}}function addInPrefix(){le.push(E.spacePart());le.push(E.keywordPart(101));le.push(E.spacePart())}function addFullSymbolName(R,q){if(ae&&R===j){R=ae}var G=E.symbolToDisplayParts(N,R,q||$,undefined,1|2|4);E.addRange(le,G);if(j.flags&16777216){le.push(E.punctuationPart(57))}}function addPrefixForAnyFunctionOrVar(N,R){prefixNextMeaning();if(R){pushSymbolKind(R);if(N&&!E.some(N.declarations,(function(N){return E.isArrowFunction(N)||(E.isFunctionExpression(N)||E.isClassExpression(N))&&!N.name}))){le.push(E.spacePart());addFullSymbolName(N)}}}function pushSymbolKind(N){switch(N){case"var":case"function":case"let":case"const":case"constructor":le.push(E.textOrKeywordPart(N));return;default:le.push(E.punctuationPart(20));le.push(E.textOrKeywordPart(N));le.push(E.punctuationPart(21));return}}function addSignatureDisplayParts(R,j,$){if($===void 0){$=0}E.addRange(le,E.signatureToDisplayParts(N,R,q,$|32));if(j.length>1){le.push(E.spacePart());le.push(E.punctuationPart(20));le.push(E.operatorPart(39));le.push(E.displayPart((j.length-1).toString(),E.SymbolDisplayPartKind.numericLiteral));le.push(E.spacePart());le.push(E.textPart(j.length===2?"overload":"overloads"));le.push(E.punctuationPart(21))}_e=R.getDocumentationComment(N);Ee=R.getJsDocTags();if(j.length>1&&_e.length===0&&Ee.length===0){_e=j[0].getDocumentationComment(N);Ee=j[0].getJsDocTags()}}function writeTypeParametersOfSymbol(j,$){var q=E.mapToDisplayParts((function(q){var G=N.symbolToTypeParameterDeclarations(j,$,R);getPrinter().writeList(53776,G,E.getSourceFileOfNode(E.getParseTreeNode($)),q)}));E.addRange(le,q)}}N.getSymbolDisplayPartsDocumentationAndSymbolKind=getSymbolDisplayPartsDocumentationAndSymbolKind;function isLocalVariableOrFunction(N){if(N.parent){return false}return E.forEach(N.declarations,(function(N){if(N.kind===211){return true}if(N.kind!==252&&N.kind!==254){return false}for(var R=N.parent;!E.isFunctionBlock(R);R=R.parent){if(R.kind===300||R.kind===260){return false}}return true}))}})(N=E.SymbolDisplay||(E.SymbolDisplay={}))})(ce||(ce={}));var ce;(function(E){function transpileModule(N,R){var j=[];var $=R.compilerOptions?fixupCompilerOptions(R.compilerOptions,j):{};var q=E.getDefaultCompilerOptions();for(var G in q){if(E.hasProperty(q,G)&&$[G]===undefined){$[G]=q[G]}}for(var ie=0,ae=E.transpileOptionValueCompilerOptions;ie>=j}return R}function increaseInsertionIndex(N,R){var j=(N>>R&$)+1;E.Debug.assert((j&$)===j,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules.");return N&~($<=j.length){return false}var R=j[$];if(N.end<=R.start){return false}if(E.startEndOverlapsWithStartEnd(N.pos,N.end,R.start,R.start+R.length)){return true}$++}};function rangeHasNoErrors(){return false}}function getScanStartPosition(N,R,j){var $=N.getStart(j);if($===R.pos&&N.end===R.end){return $}var q=E.findPrecedingToken(R.pos,j);if(!q){return N.pos}if(q.end>=R.pos){return N.pos}return q.end}function getOwnOrInheritedDelta(E,R,j){var $=-1;var q;while(E){var G=j.getLineAndCharacterOfPosition(E.getStart(j)).line;if($!==-1&&G!==$){break}if(N.SmartIndenter.shouldIndentChildNode(R,E,q,j)){return R.indentSize}$=G;q=E;E=E.parent}return 0}function formatNodeGivenIndentation(E,R,j,$,q,G){var ie={pos:0,end:R.text.length};return N.getFormattingScanner(R.text,j,ie.pos,ie.end,(function(N){return formatSpanWorker(ie,E,$,q,N,G,1,(function(E){return false}),R)}))}N.formatNodeGivenIndentation=formatNodeGivenIndentation;function formatNodeLines(N,R,j,$){if(!N){return[]}var q={pos:E.getLineStartPositionForPosition(N.getStart(R),R),end:N.end};return formatSpan(q,R,j,$)}function formatSpan(E,R,j,$){var q=findEnclosingNode(E,R);return N.getFormattingScanner(R.text,R.languageVariant,getScanStartPosition(q,E,R),E.end,(function(G){return formatSpanWorker(E,q,N.SmartIndenter.getIndentationForNode(q,E,R,j.options),getOwnOrInheritedDelta(q,j.options,R),G,j,$,prepareRangeContainsErrorFunction(R.parseDiagnostics,E),R)}))}function formatSpanWorker(R,j,$,q,G,ie,ae,ce,le){var _e=ie.options,Ee=ie.getRules,Te=ie.host;var we=new N.FormattingContext(le,ae,_e);var Ie;var Ne;var Me;var Le;var Be=-1;var je=[];G.advance();if(G.isOnToken()){var Ue=le.getLineAndCharacterOfPosition(j.getStart(le)).line;var ze=Ue;if(j.decorators){ze=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(j,le)).line}processNode(j,j,Ue,ze,$,q)}if(!G.isOnToken()){var We=N.SmartIndenter.nodeWillIndentChild(_e,j,undefined,le,false)?$+_e.indentSize:$;var Je=G.getCurrentLeadingTrivia();if(Je){indentTriviaItems(Je,We,false,(function(E){return processRange(E,le.getLineAndCharacterOfPosition(E.pos),j,j,undefined)}))}}if(_e.trimTrailingWhitespace!==false){trimTrailingWhitespacesForRemainingRange()}return je;function tryComputeIndentationForListItem(R,j,$,q,G){if(E.rangeOverlapsWithStartEnd(q,R,j)||E.rangeContainsStartEnd(q,R,j)){if(G!==-1){return G}}else{var ie=le.getLineAndCharacterOfPosition(R).line;var ae=E.getLineStartPositionForPosition(R,le);var ce=N.SmartIndenter.findFirstNonWhitespaceColumn(ae,R,le,_e);if(ie!==$||R===ce){var Ee=N.SmartIndenter.getBaseIndentation(_e);return Ee>ce?Ee:ce}}return-1}function computeIndentation(E,R,j,$,q,G){var ie=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0;if(G===R){return{indentation:R===Le?Be:q.getIndentation(),delta:Math.min(_e.indentSize,q.getDelta(E)+ie)}}else if(j===-1){if(E.kind===20&&R===Le){return{indentation:Be,delta:q.getDelta(E)}}else if(N.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement($,E,R,le)||N.SmartIndenter.childIsUnindentedBranchOfConditionalExpression($,E,R,le)||N.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument($,E,R,le)){return{indentation:q.getIndentation(),delta:ie}}else{return{indentation:q.getIndentation()+q.getDelta(E),delta:ie}}}else{return{indentation:j,delta:ie}}}function getFirstNonDecoratorTokenOfNode(N){if(N.modifiers&&N.modifiers.length){return N.modifiers[0].kind}switch(N.kind){case 255:return 84;case 256:return 118;case 254:return 98;case 258:return 258;case 170:return 135;case 171:return 147;case 167:if(N.asteriskToken){return 41}case 165:case 162:var R=E.getNameOfDeclaration(N);if(R){return R.kind}}}function getDynamicIndentation(E,R,j,$){return{getIndentationForComment:function(E,N,R){switch(E){case 19:case 23:case 21:return j+getDelta(R)}return N!==-1?N:j},getIndentationForToken:function(E,N,R,$){return!$&&shouldAddDelta(E,N,R)?j+getDelta(R):j},getIndentation:function(){return j},getDelta:getDelta,recomputeIndentation:function(R,q){if(N.SmartIndenter.shouldIndentChildNode(_e,q,E,le)){j+=R?_e.indentSize:-_e.indentSize;$=N.SmartIndenter.shouldIndentChildNode(_e,E)?_e.indentSize:0}}};function shouldAddDelta(N,j,$){switch(j){case 18:case 19:case 21:case 91:case 115:case 59:return false;case 43:case 31:switch($.kind){case 278:case 279:case 277:case 226:return false}break;case 22:case 23:if($.kind!==193){return false}break}return R!==N&&!(E.decorators&&j===getFirstNonDecoratorTokenOfNode(E))}function getDelta(R){return N.SmartIndenter.nodeWillIndentChild(_e,E,R,le,true)?$:0}}function processNode(j,$,q,ie,ae,Ee){if(!E.rangeOverlapsWithStartEnd(R,j.getStart(le),j.getEnd())){return}var Te=getDynamicIndentation(j,q,ae,Ee);var we=$;E.forEachChild(j,(function(E){processChildNode(E,-1,j,Te,q,ie,false)}),(function(E){processChildNodes(E,j,q,Te)}));while(G.isOnToken()){var je=G.readTokenInfo(j);if(je.token.end>j.end){break}consumeTokenAndAdvanceScanner(je,j,Te,j)}if(!j.parent&&G.isOnEOF()){var Ue=G.readEOFTokenRange();if(Ue.end<=j.end&&Ie){processPair(Ue,le.getLineAndCharacterOfPosition(Ue.pos).line,j,Ie,Me,Ne,$,Te)}}function processChildNode(N,$,q,ie,ae,ce,_e,Ee){var Te=N.getStart(le);var Ie=le.getLineAndCharacterOfPosition(Te).line;var Ne=Ie;if(N.decorators){Ne=le.getLineAndCharacterOfPosition(E.getNonDecoratorTokenPosOfNode(N,le)).line}var Me=-1;if(_e&&E.rangeContainsRange(R,q)){Me=tryComputeIndentationForListItem(Te,N.end,ae,R,$);if(Me!==-1){$=Me}}if(!E.rangeOverlapsWithStartEnd(R,N.pos,N.end)){if(N.endTe){if(Le.token.pos>Te){G.skipToStartOf(N)}break}consumeTokenAndAdvanceScanner(Le,j,ie,j)}if(!G.isOnToken()){return $}if(E.isToken(N)){var Le=G.readTokenInfo(N);if(N.kind!==11){E.Debug.assert(Le.token.end===N.end,"Token end is child end");consumeTokenAndAdvanceScanner(Le,j,ie,N);return $}}var Be=N.kind===163?Ie:ce;var je=computeIndentation(N,Ie,Me,j,ie,Be);processNode(N,we,Ie,Ne,je.indentation,je.delta);we=j;if(Ee&&q.kind===202&&$===-1){$=je.indentation}return $}function processChildNodes(R,$,q,ie){E.Debug.assert(E.isNodeArray(R));var ae=getOpenTokenForList($,R);var ce=ie;var Ee=q;if(ae!==0){while(G.isOnToken()){var Te=G.readTokenInfo($);if(Te.token.end>R.pos){break}else if(Te.token.kind===ae){Ee=le.getLineAndCharacterOfPosition(Te.token.pos).line;consumeTokenAndAdvanceScanner(Te,$,ie,$);var we=void 0;if(Be!==-1){we=Be}else{var Ie=E.getLineStartPositionForPosition(Te.token.pos,le);we=N.SmartIndenter.findFirstNonWhitespaceColumn(Ie,Te.token.pos,le,_e)}ce=getDynamicIndentation($,q,we,_e.indentSize)}else{consumeTokenAndAdvanceScanner(Te,$,ie,$)}}}var Ne=-1;for(var Me=0;Me0){var ze=getIndentationString(Ue,_e);recordReplace(Be,je.character,ze)}else{recordDelete(Be,je.character)}}}function trimTrailingWhitespacesForLines(N,R,j){for(var $=N;$G){continue}var ie=getTrailingWhitespaceStartPosition(q,G);if(ie!==-1){E.Debug.assert(ie===q||!E.isWhiteSpaceSingleLine(le.text.charCodeAt(ie-1)));recordDelete(ie,G+1-ie)}}}function getTrailingWhitespaceStartPosition(N,R){var j=R;while(j>=N&&E.isWhiteSpaceSingleLine(le.text.charCodeAt(j))){j--}if(j!==R){return j+1}return-1}function trimTrailingWhitespacesForRemainingRange(){var E=Ie?Ie.end:R.pos;var N=le.getLineAndCharacterOfPosition(E).line;var j=le.getLineAndCharacterOfPosition(R.end).line;trimTrailingWhitespacesForLines(N,j+1,Ie)}function recordDelete(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,R,""))}}function recordReplace(N,R,j){if(R||j){je.push(E.createTextChangeFromStartLength(N,R,j))}}function recordInsert(N,R){if(R){je.push(E.createTextChangeFromStartLength(N,0,R))}}function applyRuleEdits(N,R,j,$,q){var G=q!==j;switch(N.action){case 1:return 0;case 16:if(R.end!==$.pos){recordDelete(R.end,$.pos-R.end);return G?2:0}break;case 32:recordDelete(R.pos,R.end-R.pos);break;case 8:if(N.flags!==1&&j!==q){return 0}var ie=q-j;if(ie!==1){recordReplace(R.end,$.pos-R.end,E.getNewLineOrDefaultFromHost(Te,_e));return G?0:1}break;case 4:if(N.flags!==1&&j!==q){return 0}var ae=$.pos-R.end;if(ae!==1||le.text.charCodeAt(R.end)!==32){recordReplace(R.end,$.pos-R.end," ");return G?2:0}break;case 64:recordInsert(R.end,";")}return 0}}var j;(function(E){E[E["None"]=0]="None";E[E["LineAdded"]=1]="LineAdded";E[E["LineRemoved"]=2]="LineRemoved"})(j||(j={}));function getRangeOfEnclosingComment(N,R,j,$){if($===void 0){$=E.getTokenAtPosition(N,R)}var q=E.findAncestor($,E.isJSDoc);if(q)$=q.parent;var G=$.getStart(N);if(G<=R&&R<$.getEnd()){return undefined}j=j===null?undefined:j===undefined?E.findPrecedingToken(R,N):j;var ie=j&&E.getTrailingCommentRanges(N.text,j.end);var ae=E.getLeadingCommentRangesOfNode($,N);var ce=E.concatenate(ie,ae);return ce&&E.find(ce,(function(j){return E.rangeContainsPositionExclusive(j,R)||R===j.end&&(j.kind===2||R===N.getFullWidth())}))}N.getRangeOfEnclosingComment=getRangeOfEnclosingComment;function getOpenTokenForList(E,N){switch(E.kind){case 169:case 254:case 211:case 167:case 166:case 212:if(E.typeParameters===N){return 29}else if(E.parameters===N){return 20}break;case 206:case 207:if(E.typeArguments===N){return 29}else if(E.arguments===N){return 20}break;case 176:if(E.typeArguments===N){return 29}break;case 180:return 18}return 0}function getCloseTokenForOpenToken(E){switch(E){case 20:return 21;case 29:return 31;case 18:return 19}return 0}var $;var q;var G;function getIndentationString(N,R){var j=!$||($.tabSize!==R.tabSize||$.indentSize!==R.indentSize);if(j){$={tabSize:R.tabSize,indentSize:R.indentSize};q=G=undefined}if(!R.convertTabsToSpaces){var ie=Math.floor(N/R.tabSize);var ae=N-ie*R.tabSize;var ce=void 0;if(!q){q=[]}if(q[ie]===undefined){q[ie]=ce=E.repeatString("\t",ie)}else{ce=q[ie]}return ae?ce+E.repeatString(" ",ae):ce}else{var le=void 0;var _e=Math.floor(N/R.indentSize);var Ee=N%R.indentSize;if(!G){G=[]}if(G[_e]===undefined){le=E.repeatString(" ",R.indentSize*_e);G[_e]=le}else{le=G[_e]}return Ee?le+E.repeatString(" ",Ee):le}}N.getIndentationString=getIndentationString})(N=E.formatting||(E.formatting={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j;(function(E){E[E["Unknown"]=-1]="Unknown"})(j||(j={}));function getIndentation(R,j,$,q){if(q===void 0){q=false}if(R>j.text.length){return getBaseIndentation($)}if($.indentStyle===E.IndentStyle.None){return 0}var G=E.findPrecedingToken(R,j,undefined,true);var ie=N.getRangeOfEnclosingComment(j,R,G||null);if(ie&&ie.kind===3){return getCommentIndent(j,R,$,ie)}if(!G){return getBaseIndentation($)}var ae=E.isStringOrRegularExpressionOrTemplateLiteral(G.kind);if(ae&&G.getStart(j)<=R&&R=0);if(q<=G){return findFirstNonWhitespaceColumn(E.getStartPositionOfLine(G,N),R,N,j)}var ie=E.getStartPositionOfLine(q,N);var ae=findFirstNonWhitespaceCharacterAndColumn(ie,R,N,j),ce=ae.column,le=ae.character;if(ce===0){return ce}var _e=N.text.charCodeAt(ie+le);return _e===42?ce-1:ce}function getBlockIndent(N,R,j){var $=R;while($>0){var q=N.text.charCodeAt($);if(!E.isWhiteSpaceLike(q)){break}$--}var G=E.getLineStartPositionForPosition($,N);return findFirstNonWhitespaceColumn(G,$,N,j)}function getSmartIndent(N,R,j,$,q,G){var ie;var ae=j;while(ae){if(E.positionBelongsToNode(ae,R,N)&&shouldIndentChildNode(G,ae,ie,N,true)){var ce=getStartLineAndCharacterForNode(ae,N);var le=nextTokenIsCurlyBraceOnSameLineAsCursor(j,ae,$,N);var _e=le!==0?q&&le===2?G.indentSize:0:$!==ce.line?G.indentSize:0;return getIndentationForNodeWorker(ae,ce,undefined,_e,N,true,G)}var Ee=getActualIndentationForListItem(ae,N,G,true);if(Ee!==-1){return Ee}ie=ae;ae=ae.parent}return getBaseIndentation(G)}function getIndentationForNode(E,N,R,j){var $=R.getLineAndCharacterOfPosition(E.getStart(R));return getIndentationForNodeWorker(E,$,N,0,R,false,j)}R.getIndentationForNode=getIndentationForNode;function getBaseIndentation(E){return E.baseIndentSize||0}R.getBaseIndentation=getBaseIndentation;function getIndentationForNodeWorker(E,N,R,j,$,q,G){var ie;var ae=E.parent;while(ae){var ce=true;if(R){var le=E.getStart($);ce=leR.end}var _e=getContainingListOrParentStart(ae,E,$);var Ee=_e.line===N.line||childStartsOnTheSameLineWithElseInIfStatement(ae,E,N.line,$);if(ce){var Te=(ie=getContainingList(E,$))===null||ie===void 0?void 0:ie[0];var we=!!Te&&getStartLineAndCharacterForNode(Te,$).line>_e.line;var Ie=getActualIndentationForListItem(E,$,G,we);if(Ie!==-1){return Ie+j}Ie=getActualIndentationForNode(E,ae,N,Ee,$,G);if(Ie!==-1){return Ie+j}}if(shouldIndentChildNode(G,ae,E,$,q)&&!Ee){j+=G.indentSize}var Ne=isArgumentAndStartLineOverlapsExpressionBeingCalled(ae,E,N.line,$);E=ae;ae=E.parent;N=Ne?$.getLineAndCharacterOfPosition(E.getStart($)):_e}return j+getBaseIndentation(G)}function getContainingListOrParentStart(E,N,R){var j=getContainingList(N,R);var $=j?j.pos:E.getStart(R);return R.getLineAndCharacterOfPosition($)}function getActualIndentationForListItemBeforeComma(N,R,j){var $=E.findListItemInfo(N);if($&&$.listItemIndex>0){return deriveActualIndentationFromList($.list.getChildren(),$.listItemIndex-1,R,j)}else{return-1}}function getActualIndentationForNode(N,R,j,$,q,G){var ie=(E.isDeclaration(N)||E.isStatementButNotDeclaration(N))&&(R.kind===300||!$);if(!ie){return-1}return findColumnForFirstNonWhitespaceCharacterInLine(j,q,G)}var $;(function(E){E[E["Unknown"]=0]="Unknown";E[E["OpenBrace"]=1]="OpenBrace";E[E["CloseBrace"]=2]="CloseBrace"})($||($={}));function nextTokenIsCurlyBraceOnSameLineAsCursor(N,R,j,$){var q=E.findNextToken(N,R,$);if(!q){return 0}if(q.kind===18){return 1}else if(q.kind===19){var G=getStartLineAndCharacterForNode(q,$).line;return j===G?2:0}return 0}function getStartLineAndCharacterForNode(E,N){return N.getLineAndCharacterOfPosition(E.getStart(N))}function isArgumentAndStartLineOverlapsExpressionBeingCalled(N,R,j,$){if(!(E.isCallExpression(N)&&E.contains(N.arguments,R))){return false}var q=N.expression.getEnd();var G=E.getLineAndCharacterOfPosition($,q).line;return G===j}R.isArgumentAndStartLineOverlapsExpressionBeingCalled=isArgumentAndStartLineOverlapsExpressionBeingCalled;function childStartsOnTheSameLineWithElseInIfStatement(N,R,j,$){if(N.kind===237&&N.elseStatement===R){var q=E.findChildOfKind(N,91,$);E.Debug.assert(q!==undefined);var G=getStartLineAndCharacterForNode(q,$).line;return G===j}return false}R.childStartsOnTheSameLineWithElseInIfStatement=childStartsOnTheSameLineWithElseInIfStatement;function childIsUnindentedBranchOfConditionalExpression(N,R,j,$){if(E.isConditionalExpression(N)&&(R===N.whenTrue||R===N.whenFalse)){var q=E.getLineAndCharacterOfPosition($,N.condition.end).line;if(R===N.whenTrue){return j===q}else{var G=getStartLineAndCharacterForNode(N.whenTrue,$).line;var ie=E.getLineAndCharacterOfPosition($,N.whenTrue.end).line;return q===G&&ie===j}}return false}R.childIsUnindentedBranchOfConditionalExpression=childIsUnindentedBranchOfConditionalExpression;function argumentStartsOnSameLineAsPreviousArgument(N,R,j,$){if(E.isCallOrNewExpression(N)){if(!N.arguments)return false;var q=E.find(N.arguments,(function(E){return E.pos===R.pos}));if(!q)return false;var G=N.arguments.indexOf(q);if(G===0)return false;var ie=N.arguments[G-1];var ae=E.getLineAndCharacterOfPosition($,ie.getEnd()).line;if(j===ae){return true}}return false}R.argumentStartsOnSameLineAsPreviousArgument=argumentStartsOnSameLineAsPreviousArgument;function getContainingList(E,N){return E.parent&&getListByRange(E.getStart(N),E.getEnd(),E.parent,N)}R.getContainingList=getContainingList;function getListByPosition(E,N,R){return N&&getListByRange(E,E,N,R)}function getListByRange(N,R,j,$){switch(j.kind){case 176:return getList(j.typeArguments);case 203:return getList(j.properties);case 202:return getList(j.elements);case 180:return getList(j.members);case 254:case 211:case 212:case 167:case 166:case 172:case 169:case 178:case 173:return getList(j.typeParameters)||getList(j.parameters);case 255:case 224:case 256:case 257:case 339:return getList(j.typeParameters);case 207:case 206:return getList(j.typeArguments)||getList(j.arguments);case 253:return getList(j.declarations);case 267:case 271:return getList(j.elements);case 199:case 200:return getList(j.elements)}function getList(q){return q&&E.rangeContainsStartEnd(getVisualListRange(j,q,$),N,R)?q:undefined}}function getVisualListRange(E,N,R){var j=E.getChildren(R);for(var $=1;$=0&&R=0;ie--){if(N[ie].kind===27){continue}var ae=j.getLineAndCharacterOfPosition(N[ie].end).line;if(ae!==G.line){return findColumnForFirstNonWhitespaceCharacterInLine(G,j,$)}G=getStartLineAndCharacterForNode(N[ie],j)}return-1}function findColumnForFirstNonWhitespaceCharacterInLine(E,N,R){var j=N.getPositionOfLineAndCharacter(E.line,0);return findFirstNonWhitespaceColumn(j,j+E.character,N,R)}function findFirstNonWhitespaceCharacterAndColumn(N,R,j,$){var q=0;var G=0;for(var ie=N;ie0?1:0;var Le=E.getStartPositionOfLine(E.getLineOfLocalPosition(N,we)+Me,N);Le=skipWhitespacesAndLineBreaks(N.text,Le);return E.getStartPositionOfLine(E.getLineOfLocalPosition(N,Le),N)}function getEndPositionOfMultilineTrailingComment(N,R,j){var $=R.end;var G=j.trailingTriviaOption;if(G===q.Include){var ie=E.getTrailingCommentRanges(N.text,$);if(ie){var ae=E.getLineOfLocalPosition(N,R.end);for(var ce=0,le=ie;ceae){break}var Ee=E.getLineOfLocalPosition(N,_e.end);if(Ee>ae){return E.skipTrivia(N.text,_e.end,true,true)}}}}return undefined}function getAdjustedEndPosition(N,R,j){var $;var G=R.end;var ie=j.trailingTriviaOption;if(ie===q.Exclude){return G}if(ie===q.ExcludeWhitespace){var ae=E.concatenate(E.getTrailingCommentRanges(N.text,G),E.getLeadingCommentRanges(N.text,G));var ce=($=ae===null||ae===void 0?void 0:ae[ae.length-1])===null||$===void 0?void 0:$.end;if(ce){return ce}return G}var le=getEndPositionOfMultilineTrailingComment(N,R,j);if(le){return le}var _e=E.skipTrivia(N.text,G,true);return _e!==G&&(ie===q.Include||E.isLineBreak(N.text.charCodeAt(_e-1)))?_e:G}function isSeparator(E,N){return!!N&&!!E.parent&&(N.kind===27||N.kind===26&&E.parent.kind===203)}function isThisTypeAnnotatable(N){return E.isFunctionExpression(N)||E.isFunctionDeclaration(N)}N.isThisTypeAnnotatable=isThisTypeAnnotatable;var ae=function(){function ChangeTracker(N,R){this.newLineCharacter=N;this.formatContext=R;this.changes=[];this.newFiles=[];this.classesWithNodesInsertedAtStart=new E.Map;this.deletedNodes=[]}ChangeTracker.fromContext=function(N){return new ChangeTracker(E.getNewLineOrDefaultFromHost(N.host,N.formatContext.options),N.formatContext)};ChangeTracker.with=function(E,N){var R=ChangeTracker.fromContext(E);N(R);return R.getChanges()};ChangeTracker.prototype.pushRaw=function(N,R){E.Debug.assertEqual(N.fileName,R.fileName);for(var j=0,$=R.textChanges;j<$.length;j++){var q=$[j];this.changes.push({kind:ie.Text,sourceFile:N,text:q.newText,range:E.createTextRangeFromSpan(q.span)})}};ChangeTracker.prototype.deleteRange=function(E,N){this.changes.push({kind:ie.Remove,sourceFile:E,range:N})};ChangeTracker.prototype.delete=function(E,N){this.deletedNodes.push({sourceFile:E,node:N})};ChangeTracker.prototype.deleteNode=function(E,N,j){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}this.deleteRange(E,getAdjustedRange(E,N,N,j))};ChangeTracker.prototype.deleteNodes=function(E,N,j,$){if(j===void 0){j={leadingTriviaOption:R.IncludeAll}}for(var q=0,G=N;q",joiner:", "})};ChangeTracker.prototype.getOptionsForInsertNodeBefore=function(N,R,j){if(E.isStatement(N)||E.isClassElement(N)){return{suffix:j?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}}else if(E.isVariableDeclaration(N)){return{suffix:", "}}else if(E.isParameter(N)){return E.isParameter(R)?{suffix:", "}:{}}else if(E.isStringLiteral(N)&&E.isImportDeclaration(N.parent)||E.isNamedImports(N)){return{suffix:", "}}else if(E.isImportSpecifier(N)){return{suffix:","+(j?this.newLineCharacter:" ")}}return E.Debug.failBadSyntaxKind(N)};ChangeTracker.prototype.insertNodeAtConstructorStart=function(N,R,$){var q=E.firstOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j([$],R.body.statements,true))}else{this.insertNodeBefore(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorStartAfterSuperCall=function(N,R,$){var q=E.find(R.body.statements,(function(N){return E.isExpressionStatement(N)&&E.isSuperCall(N.expression)}));if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.insertNodeAtConstructorEnd=function(N,R,$){var q=E.lastOrUndefined(R.body.statements);if(!q||!R.body.multiLine){this.replaceConstructorBody(N,R,j(j([],R.body.statements,true),[$],false))}else{this.insertNodeAfter(N,q,$)}};ChangeTracker.prototype.replaceConstructorBody=function(N,R,j){this.replaceNode(N,R.body,E.factory.createBlock(j,true))};ChangeTracker.prototype.insertNodeAtEndOfScope=function(N,R,j){var $=getAdjustedStartPosition(N,R.getLastToken(),{});this.insertNodeAt(N,$,j,{prefix:E.isLineBreak(N.text.charCodeAt(R.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})};ChangeTracker.prototype.insertNodeAtClassStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtObjectStart=function(E,N,R){this.insertNodeAtStartWorker(E,N,R)};ChangeTracker.prototype.insertNodeAtStartWorker=function(E,N,R){var j;var $=(j=this.guessIndentationFromExistingMembers(E,N))!==null&&j!==void 0?j:this.computeIndentationForNewMember(E,N);this.insertNodeAt(E,getMembersOrProperties(N).pos,R,this.getInsertNodeAtStartInsertOptions(E,N,$))};ChangeTracker.prototype.guessIndentationFromExistingMembers=function(N,R){var j;var $=R;for(var q=0,G=getMembersOrProperties(R);q0?{fileName:q.fileName,textChanges:ae}:undefined}))}N.getTextChangesFromChanges=getTextChangesFromChanges;function newFileChanges(N,R,j,$,q){var G=newFileChangesWorker(N,E.getScriptKindFromFileName(R),j,$,q);return{fileName:R,textChanges:[E.createTextChange(E.createTextSpan(0,0),G)],isNewFile:true}}N.newFileChanges=newFileChanges;function newFileChangesWorker(N,R,j,$,q){var G=j.map((function(E){return E===4?"":getNonformattedText(E,N,$).text})).join($);var ie=E.createSourceFile("any file name",G,99,true,R);var ae=E.formatting.formatDocument(ie,q);return applyChanges(G,ae)+$}N.newFileChangesWorker=newFileChangesWorker;function computeNewText(N,R,j,$,q){var G;if(N.kind===ie.Remove){return""}if(N.kind===ie.Text){return N.text}var ae=N.options,ce=ae===void 0?{}:ae,le=N.range.pos;var format=function(E){return getFormattedTextOfNode(E,R,le,ce,j,$,q)};var _e=N.kind===ie.ReplaceWithMultipleNodes?N.nodes.map((function(N){return E.removeSuffix(format(N),j)})).join(((G=N.options)===null||G===void 0?void 0:G.joiner)||j):format(N.node);var Ee=ce.preserveLeadingWhitespace||ce.indentation!==undefined||E.getLineStartPositionForPosition(le,R)===le?_e:_e.replace(/^\s+/,"");return(ce.prefix||"")+Ee+(!ce.suffix||E.endsWith(Ee,ce.suffix)?"":ce.suffix)}function getFormatCodeSettingsForWriting(N,R){var j=N.options;var q=!j.semicolons||j.semicolons===E.SemicolonPreference.Ignore;var G=j.semicolons===E.SemicolonPreference.Remove||q&&!E.probablyUsesSemicolons(R);return $($({},j),{semicolons:G?E.SemicolonPreference.Remove:E.SemicolonPreference.Ignore})}function getFormattedTextOfNode(N,R,j,q,G,ie,ae){var ce=q.indentation,le=q.prefix,_e=q.delta;var Ee=getNonformattedText(N,R,G),Te=Ee.node,we=Ee.text;if(ae)ae(Te,we);var Ie=getFormatCodeSettingsForWriting(ie,R);var Ne=ce!==undefined?ce:E.formatting.SmartIndenter.getIndentation(j,R,Ie,le===G||E.getLineStartPositionForPosition(j,R)===j);if(_e===undefined){_e=E.formatting.SmartIndenter.shouldIndentChildNode(Ie,N)?Ie.indentSize||0:0}var Me={text:we,getLineAndCharacterOfPosition:function(N){return E.getLineAndCharacterOfPosition(this,N)}};var Le=E.formatting.formatNodeGivenIndentation(Te,Me,R.languageVariant,Ne,_e,$($({},ie),{options:Ie}));return applyChanges(we,Le)}function getNonformattedText(N,R,j){var $=createWriter(j);var q=j==="\n"?1:0;E.createPrinter({newLine:q,neverAsciiEscape:true,preserveSourceNewlines:true,terminateUnterminatedLiterals:true},$).writeNode(4,N,R,$);return{text:$.getText(),node:assignPositionsToNode(N)}}N.getNonformattedText=getNonformattedText})(ce||(ce={}));function applyChanges(N,R){for(var j=R.length-1;j>=0;j--){var $=R[j],q=$.span,G=$.newText;N=""+N.substring(0,q.start)+G+N.substring(E.textSpanEnd(q))}return N}N.applyChanges=applyChanges;function isTrivia(N){return E.skipTrivia(N,0)===N.length}function assignPositionsToNode(N){var R=E.visitEachChild(N,assignPositionsToNode,E.nullTransformationContext,assignPositionsToNodeArray,assignPositionsToNode);var j=E.nodeIsSynthesized(R)?R:Object.create(R);E.setTextRangePosEnd(j,getPos(N),getEnd(N));return j}function assignPositionsToNodeArray(N,R,j,$,q){var G=E.visitNodes(N,R,j,$,q);if(!G){return G}var ie=G===N?E.factory.createNodeArray(G.slice(0)):G;E.setTextRangePosEnd(ie,getPos(N),getEnd(N));return ie}function createWriter(N){var R=0;var j=E.createTextWriter(N);var onBeforeEmitNode=function(E){if(E){setPos(E,R)}};var onAfterEmitNode=function(E){if(E){setEnd(E,R)}};var onBeforeEmitNodeArray=function(E){if(E){setPos(E,R)}};var onAfterEmitNodeArray=function(E){if(E){setEnd(E,R)}};var onBeforeEmitToken=function(E){if(E){setPos(E,R)}};var onAfterEmitToken=function(E){if(E){setEnd(E,R)}};function setLastNonTriviaPosition(N,$){if($||!isTrivia(N)){R=j.getTextPos();var q=0;while(E.isWhiteSpaceLike(N.charCodeAt(N.length-q-1))){q++}R-=q}}function write(E){j.write(E);setLastNonTriviaPosition(E,false)}function writeComment(E){j.writeComment(E)}function writeKeyword(E){j.writeKeyword(E);setLastNonTriviaPosition(E,false)}function writeOperator(E){j.writeOperator(E);setLastNonTriviaPosition(E,false)}function writePunctuation(E){j.writePunctuation(E);setLastNonTriviaPosition(E,false)}function writeTrailingSemicolon(E){j.writeTrailingSemicolon(E);setLastNonTriviaPosition(E,false)}function writeParameter(E){j.writeParameter(E);setLastNonTriviaPosition(E,false)}function writeProperty(E){j.writeProperty(E);setLastNonTriviaPosition(E,false)}function writeSpace(E){j.writeSpace(E);setLastNonTriviaPosition(E,false)}function writeStringLiteral(E){j.writeStringLiteral(E);setLastNonTriviaPosition(E,false)}function writeSymbol(E,N){j.writeSymbol(E,N);setLastNonTriviaPosition(E,false)}function writeLine(E){j.writeLine(E)}function increaseIndent(){j.increaseIndent()}function decreaseIndent(){j.decreaseIndent()}function getText(){return j.getText()}function rawWrite(E){j.rawWrite(E);setLastNonTriviaPosition(E,false)}function writeLiteral(E){j.writeLiteral(E);setLastNonTriviaPosition(E,true)}function getTextPos(){return j.getTextPos()}function getLine(){return j.getLine()}function getColumn(){return j.getColumn()}function getIndent(){return j.getIndent()}function isAtStartOfLine(){return j.isAtStartOfLine()}function clear(){j.clear();R=0}return{onBeforeEmitNode:onBeforeEmitNode,onAfterEmitNode:onAfterEmitNode,onBeforeEmitNodeArray:onBeforeEmitNodeArray,onAfterEmitNodeArray:onAfterEmitNodeArray,onBeforeEmitToken:onBeforeEmitToken,onAfterEmitToken:onAfterEmitToken,write:write,writeComment:writeComment,writeKeyword:writeKeyword,writeOperator:writeOperator,writePunctuation:writePunctuation,writeTrailingSemicolon:writeTrailingSemicolon,writeParameter:writeParameter,writeProperty:writeProperty,writeSpace:writeSpace,writeStringLiteral:writeStringLiteral,writeSymbol:writeSymbol,writeLine:writeLine,increaseIndent:increaseIndent,decreaseIndent:decreaseIndent,getText:getText,rawWrite:rawWrite,writeLiteral:writeLiteral,getTextPos:getTextPos,getLine:getLine,getColumn:getColumn,getIndent:getIndent,isAtStartOfLine:isAtStartOfLine,hasTrailingComment:function(){return j.hasTrailingComment()},hasTrailingWhitespace:function(){return j.hasTrailingWhitespace()},clear:clear}}function getInsertionPositionAtSourceFileTop(N){var R;for(var j=0,$=N.statements;j<$.length;j++){var q=$[j];if(E.isPrologueDirective(q)){R=q}else{break}}var G=0;var ie=N.text;if(R){G=R.end;advancePastLineBreak();return G}var ae=E.getShebang(ie);if(ae!==undefined){G=ae.length;advancePastLineBreak()}var ce=E.getLeadingCommentRanges(ie,G);if(!ce)return G;var le;var _e;for(var Ee=0,Te=ce;Ee=Ne+2)break}if(N.statements.length){if(_e===undefined)_e=N.getLineAndCharacterOfPosition(N.statements[0].getStart()).line;var Me=N.getLineAndCharacterOfPosition(we.end).line;if(_e1)break}var le=q<2;return function(E){var N=E.fixId,R=E.fixAllDescription,j=ie(E,["fixId","fixAllDescription"]);return le?j:$($({},j),{fixId:N,fixAllDescription:R})}}function getFixes(N){var j=getDiagnostics(N);var $=R.get(String(N.errorCode));return E.flatMap($,(function(R){return E.map(R.getCodeActions(N),removeFixIdIfFixAllUnavailable(R,j))}))}N.getFixes=getFixes;function getAllFixes(N){return q.get(E.cast(N.fixId,E.isString)).getAllCodeActions(N)}N.getAllFixes=getAllFixes;function createCombinedCodeActions(E,N){return{changes:E,commands:N}}N.createCombinedCodeActions=createCombinedCodeActions;function createFileTextChanges(E,N){return{fileName:E,textChanges:N}}N.createFileTextChanges=createFileTextChanges;function codeFixAll(N,R,j){var $=[];var q=E.textChanges.ChangeTracker.with(N,(function(E){return eachDiagnostic(N,R,(function(N){return j(E,N,$)}))}));return createCombinedCodeActions(q,$.length===0?undefined:$)}N.codeFixAll=codeFixAll;function eachDiagnostic(N,R,j){for(var $=0,q=getDiagnostics(N);$E.textSpanEnd(R)){return"quit"}return(E.isArrowFunction(j)||E.isMethodDeclaration(j)||E.isFunctionExpression(j)||E.isFunctionDeclaration(j))&&E.textSpansEqual(R,E.createTextSpanFromNode(j,N))}));return $}function getIsMatchingAsyncError(N,R){return function(j){var $=j.start,q=j.length,G=j.relatedInformation,ie=j.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},N)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code}))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingAwait";var $=E.Diagnostics.Property_0_does_not_exist_on_type_1.code;var q=[E.Diagnostics.This_expression_is_not_callable.code,E.Diagnostics.This_expression_is_not_constructable.code];var G=j([E.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,E.Diagnostics.Operator_0_cannot_be_applied_to_type_1.code,E.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2.code,E.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap.code,E.Diagnostics.This_condition_will_always_return_true_since_this_0_is_always_defined.code,E.Diagnostics.Type_0_is_not_an_array_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators.code,E.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,E.Diagnostics.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,$],q,true);N.registerCodeFix({fixIds:[R],errorCodes:G,getCodeActions:function(N){var R=N.sourceFile,j=N.errorCode,$=N.span,q=N.cancellationToken,G=N.program;var ie=getFixableErrorSpanExpression(R,j,$,q,G);if(!ie){return}var ae=N.program.getTypeChecker();var trackChanges=function(R){return E.textChanges.ChangeTracker.with(N,R)};return E.compact([getDeclarationSiteFix(N,ie,j,ae,trackChanges),getUseSiteFix(N,ie,j,ae,trackChanges)])},getAllCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.cancellationToken;var ie=R.program.getTypeChecker();var ae=new E.Set;return N.codeFixAll(R,G,(function(E,N){var G=getFixableErrorSpanExpression(j,N.code,N,q,$);if(!G){return}var trackChanges=function(N){return N(E),[]};return getDeclarationSiteFix(R,G,N.code,ie,trackChanges,ae)||getUseSiteFix(R,G,N.code,ie,trackChanges,ae)}))}});function getDeclarationSiteFix(R,j,$,q,G,ie){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=findAwaitableInitializers(j,ae,le,ce,q);if(_e){var Ee=G((function(N){E.forEach(_e.initializers,(function(E){var R=E.expression;return makeChange(N,$,ae,q,R,ie)}));if(ie&&_e.needsSecondPassForFixAll){makeChange(N,$,ae,q,j,ie)}}));return N.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",Ee,_e.initializers.length===1?[E.Diagnostics.Add_await_to_initializer_for_0,_e.initializers[0].declarationSymbol.name]:E.Diagnostics.Add_await_to_initializers)}}function getUseSiteFix(j,$,q,G,ie,ae){var ce=ie((function(E){return makeChange(E,q,j.sourceFile,G,$,ae)}));return N.createCodeFixAction(R,ce,E.Diagnostics.Add_await,R,E.Diagnostics.Fix_all_expressions_possibly_missing_await)}function isMissingAwaitError(N,R,j,$,q){var G=q.getDiagnosticsProducingTypeChecker();var ie=G.getDiagnostics(N,$);return E.some(ie,(function(N){var $=N.start,q=N.length,G=N.relatedInformation,ie=N.code;return E.isNumber($)&&E.isNumber(q)&&E.textSpansEqual({start:$,length:q},j)&&ie===R&&!!G&&E.some(G,(function(N){return N.code===E.Diagnostics.Did_you_forget_to_use_await.code}))}))}function getFixableErrorSpanExpression(N,R,j,$,q){var G=E.getTokenAtPosition(N,j.start);var ie=E.findAncestor(G,(function(R){if(R.getStart(N)E.textSpanEnd(j)){return"quit"}return E.isExpression(R)&&E.textSpansEqual(j,E.createTextSpanFromNode(R,N))}));return ie&&isMissingAwaitError(N,R,j,$,q)&&isInsideAwaitableBody(ie)?ie:undefined}function findAwaitableInitializers(N,R,j,$,q){var G=getIdentifiersFromErrorSpanExpression(N,q);if(!G){return}var ie=G.isCompleteFix;var ae;var _loop_12=function(N){var G=q.getSymbolAtLocation(N);if(!G){return"continue"}var ce=E.tryCast(G.valueDeclaration,E.isVariableDeclaration);var le=ce&&E.tryCast(ce.name,E.isIdentifier);var _e=E.getAncestor(ce,235);if(!ce||!_e||ce.type||!ce.initializer||_e.getSourceFile()!==R||E.hasSyntacticModifier(_e,1)||!le||!isInsideAwaitableBody(ce.initializer)){ie=false;return"continue"}var Ee=$.getSemanticDiagnostics(R,j);var Te=E.FindAllReferences.Core.eachSymbolReferenceInFile(le,q,R,(function(E){return N!==E&&!symbolReferenceIsAlsoMissingAwait(E,Ee,R,q)}));if(Te){ie=false;return"continue"}(ae||(ae=[])).push({expression:ce.initializer,declarationSymbol:G})};for(var ce=0,le=G.identifiers;ce0){return[N.createCodeFixAction(R,$,E.Diagnostics.Add_const_to_unresolved_variable,R,E.Diagnostics.Add_const_to_all_unresolved_variables)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,R.program,$)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,(function(N){return E.isForInOrOfStatement(N.parent)?N.parent.initializer===N:isPossiblyPartOfDestructuring(N)?false:"quit"}));if(ie)return applyChange(N,ie,R,q);var ae=G.parent;if(E.isBinaryExpression(ae)&&ae.operatorToken.kind===63&&E.isExpressionStatement(ae.parent)){return applyChange(N,G,R,q)}if(E.isArrayLiteralExpression(ae)){var ce=$.getTypeChecker();if(!E.every(ae.elements,(function(E){return arrayElementCouldBeVariableDeclaration(E,ce)}))){return}return applyChange(N,ae,R,q)}var le=E.findAncestor(G,(function(N){return E.isExpressionStatement(N.parent)?true:isPossiblyPartOfCommaSeperatedInitializer(N)?false:"quit"}));if(le){var _e=$.getTypeChecker();if(!expressionCouldBeVariableDeclaration(le,_e)){return}return applyChange(N,le,R,q)}}function applyChange(N,R,j,$){if(!$||E.tryAddToSet($,R)){N.insertModifierBefore(j,85,R)}}function isPossiblyPartOfDestructuring(E){switch(E.kind){case 79:case 202:case 203:case 291:case 292:return true;default:return false}}function arrayElementCouldBeVariableDeclaration(N,R){var j=E.isIdentifier(N)?N:E.isAssignmentExpression(N,true)&&E.isIdentifier(N.left)?N.left:undefined;return!!j&&!R.getSymbolAtLocation(j)}function isPossiblyPartOfCommaSeperatedInitializer(E){switch(E.kind){case 79:case 219:case 27:return true;default:return false}}function expressionCouldBeVariableDeclaration(N,R){if(!E.isBinaryExpression(N)){return false}if(N.operatorToken.kind===27){return E.every([N.left,N.right],(function(E){return expressionCouldBeVariableDeclaration(E,R)}))}return N.operatorToken.kind===63&&E.isIdentifier(N.left)&&!R.getSymbolAtLocation(N.left)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingDeclareProperty";var j=[E.Diagnostics.Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Prefix_with_declare,R,E.Diagnostics.Prefix_all_incorrect_property_declarations_with_declare)]}},fixIds:[R],getAllCodeActions:function(R){var $=new E.Set;return N.codeFixAll(R,j,(function(E,N){return makeChange(E,N.file,N.start,$)}))}});function makeChange(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!E.isIdentifier(q)){return}var G=q.parent;if(G.kind===165&&(!$||E.tryAddToSet($,G))){N.insertModifierBefore(R,134,G)}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addMissingInvocationForDecorator";var j=[E.Diagnostics._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Call_decorator_expression,R,E.Diagnostics.Add_to_all_uncalled_decorators)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);var q=E.findAncestor($,E.isDecorator);E.Debug.assert(!!q,"Expected position to be owned by a decorator.");var G=E.factory.createCallExpression(q.expression,undefined,undefined);N.replaceNode(R,q.expression,G)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addNameToNamelessParameter";var j=[E.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span.start)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Add_parameter_name,R,E.Diagnostics.Add_names_to_all_parameters_without_names)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N.start)}))}});function makeChange(N,R,j){var $=E.getTokenAtPosition(R,j);if(!E.isIdentifier($)){return E.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+E.Debug.formatSyntaxKind($.kind))}var q=$.parent;if(!E.isParameter(q)){return E.Debug.fail("Tried to add a parameter name to a non-parameter: "+E.Debug.formatSyntaxKind($.kind))}var G=q.parent.parameters.indexOf(q);E.Debug.assert(!q.type,"Tried to add a parameter name to a parameter that already had one.");E.Debug.assert(G>-1,"Parameter not found in parent parameter list.");var ie=E.factory.createParameterDeclaration(undefined,q.modifiers,q.dotDotDotToken,"arg"+G,q.questionToken,E.factory.createTypeReferenceNode($,undefined),q.initializer);N.replaceNode(R,$,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="annotateWithTypeFromJSDoc";var j=[E.Diagnostics.JSDoc_types_may_be_moved_to_TypeScript_types.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getDeclaration(j.sourceFile,j.span.start);if(!$)return;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));return[N.createCodeFixAction(R,q,E.Diagnostics.Annotate_with_type_from_JSDoc,R,E.Diagnostics.Annotate_everything_with_types_from_JSDoc)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getDeclaration(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getDeclaration(N,R){var j=E.getTokenAtPosition(N,R);return E.tryCast(E.isParameter(j.parent)?j.parent.parent:j.parent,parameterShouldGetTypeFromJSDoc)}function parameterShouldGetTypeFromJSDoc(E){return isDeclarationWithType(E)&&hasUsableJSDoc(E)}N.parameterShouldGetTypeFromJSDoc=parameterShouldGetTypeFromJSDoc;function hasUsableJSDoc(N){return E.isFunctionLikeDeclaration(N)?N.parameters.some(hasUsableJSDoc)||!N.type&&!!E.getJSDocReturnType(N):!N.type&&!!E.getJSDocType(N)}function doChange(N,R,j){if(E.isFunctionLikeDeclaration(j)&&(E.getJSDocReturnType(j)||j.parameters.some((function(N){return!!E.getJSDocType(N)})))){if(!j.typeParameters){var $=E.getJSDocTypeParameterDeclarations(j);if($.length)N.insertTypeParameters(R,j,$)}var q=E.isArrowFunction(j)&&!E.findChildOfKind(j,20,R);if(q)N.insertNodeBefore(R,E.first(j.parameters),E.factory.createToken(20));for(var G=0,ie=j.parameters;G1){N.delete(R,ae);N.insertNodeAfter(R,le,ce)}else{N.replaceNode(R,le,ce)}}function createClassElementsFromSymbol(j){var $=[];if(j.members){j.members.forEach((function(E,j){if(j==="constructor"&&E.valueDeclaration){N.delete(R,E.valueDeclaration.parent);return}var q=createClassElement(E,undefined);if(q){$.push.apply($,q)}}))}if(j.exports){j.exports.forEach((function(N){if(N.name==="prototype"&&N.declarations){var R=N.declarations[0];if(N.declarations.length===1&&E.isPropertyAccessExpression(R)&&E.isBinaryExpression(R.parent)&&R.parent.operatorToken.kind===63&&E.isObjectLiteralExpression(R.parent.right)){var j=R.parent.right;var q=createClassElement(j.symbol,undefined);if(q){$.push.apply($,q)}}}else{var q=createClassElement(N,[E.factory.createToken(124)]);if(q){$.push.apply($,q)}}}))}return $;function shouldConvertDeclaration(N,R){if(E.isAccessExpression(N)){if(E.isPropertyAccessExpression(N)&&isConstructorAssignment(N))return true;return E.isFunctionLike(R)}else{return E.every(N.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N))return true;if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)&&!!N.name)return true;if(isConstructorAssignment(N))return true;return false}))}}function createClassElement(j,$){var ie=[];if(!(j.flags&8192)&&!(j.flags&4096)){return ie}var ae=j.valueDeclaration;var ce=ae.parent;var le=ce.right;if(!shouldConvertDeclaration(ae,le)){return ie}var _e=ce.parent&&ce.parent.kind===236?ce.parent:ce;N.delete(R,_e);if(!le){ie.push(E.factory.createPropertyDeclaration([],$,j.name,undefined,undefined,undefined));return ie}if(E.isAccessExpression(ae)&&(E.isFunctionExpression(le)||E.isArrowFunction(le))){var Ee=E.getQuotePreference(R,q);var Te=tryGetPropertyName(ae,G,Ee);if(Te){return createFunctionLikeExpressionMember(ie,le,Te)}return ie}else if(E.isObjectLiteralExpression(le)){return E.flatMap(le.properties,(function(N){if(E.isMethodDeclaration(N)||E.isGetOrSetAccessorDeclaration(N)){return ie.concat(N)}if(E.isPropertyAssignment(N)&&E.isFunctionExpression(N.initializer)){return createFunctionLikeExpressionMember(ie,N.initializer,N.name)}if(isConstructorAssignment(N))return ie;return[]}))}else{if(E.isSourceFileJS(R))return ie;if(!E.isPropertyAccessExpression(ae))return ie;var we=E.factory.createPropertyDeclaration(undefined,$,ae.name,undefined,undefined,le);E.copyLeadingComments(ce.parent,we,R);ie.push(we);return ie}function createFunctionLikeExpressionMember(N,R,j){if(E.isFunctionExpression(R))return createFunctionExpressionMember(N,R,j);else return createArrowFunctionExpressionMember(N,R,j)}function createFunctionExpressionMember(N,j,q){var G=E.concatenate($,getModifierKindFromSource(j,130));var ie=E.factory.createMethodDeclaration(undefined,G,undefined,q,undefined,undefined,j.parameters,undefined,j.body);E.copyLeadingComments(ce,ie,R);return N.concat(ie)}function createArrowFunctionExpressionMember(N,j,q){var G=j.body;var ie;if(G.kind===233){ie=G}else{ie=E.factory.createBlock([E.factory.createReturnStatement(G)])}var ae=E.concatenate($,getModifierKindFromSource(j,130));var le=E.factory.createMethodDeclaration(undefined,ae,undefined,q,undefined,undefined,j.parameters,undefined,ie);E.copyLeadingComments(ce,le,R);return N.concat(le)}}}function createClassFromVariableDeclaration(N){var R=N.initializer;if(!R||!E.isFunctionExpression(R)||!E.isIdentifier(N.name)){return undefined}var j=createClassElementsFromSymbol(N.symbol);if(R.body){j.unshift(E.factory.createConstructorDeclaration(undefined,undefined,R.parameters,R.body))}var $=getModifierKindFromSource(N.parent.parent,93);var q=E.factory.createClassDeclaration(undefined,$,N.name,undefined,undefined,j);return q}function createClassFromFunctionDeclaration(N){var R=createClassElementsFromSymbol(ie);if(N.body){R.unshift(E.factory.createConstructorDeclaration(undefined,undefined,N.parameters,N.body))}var j=getModifierKindFromSource(N,93);var $=E.factory.createClassDeclaration(undefined,j,N.name,undefined,undefined,R);return $}}function getModifierKindFromSource(N,R){return E.filter(N.modifiers,(function(E){return E.kind===R}))}function isConstructorAssignment(N){if(!N.name)return false;if(E.isIdentifier(N.name)&&N.name.text==="constructor")return true;return false}function tryGetPropertyName(N,R,j){if(E.isPropertyAccessExpression(N)){return N.name}var $=N.argumentExpression;if(E.isNumericLiteral($)){return $}if(E.isStringLiteralLike($)){return E.isIdentifierText($.text,R.target)?E.factory.createIdentifier($.text):E.isNoSubstitutionTemplateLiteral($)?E.factory.createStringLiteral($.text,j===0):$}return undefined}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertToAsyncFunction";var $=[E.Diagnostics.This_may_be_converted_to_an_async_function.code];var q=true;N.registerCodeFix({errorCodes:$,getCodeActions:function(j){q=true;var $=E.textChanges.ChangeTracker.with(j,(function(E){return convertToAsyncFunction(E,j.sourceFile,j.span.start,j.program.getTypeChecker())}));return q?[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_async_function,R,E.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return convertToAsyncFunction(N,R.file,R.start,E.program.getTypeChecker())}))}});var G;(function(E){E[E["Identifier"]=0]="Identifier";E[E["BindingPattern"]=1]="BindingPattern"})(G||(G={}));function convertToAsyncFunction(N,R,j,$){var q=E.getTokenAtPosition(R,j);var G;if(E.isIdentifier(q)&&E.isVariableDeclaration(q.parent)&&q.parent.initializer&&E.isFunctionLikeDeclaration(q.parent.initializer)){G=q.parent.initializer}else{G=E.tryCast(E.getContainingFunction(E.getTokenAtPosition(R,j)),E.canBeConvertedToAsync)}if(!G){return}var ie=new E.Map;var ae=E.isInJSFile(G);var ce=getAllPromiseExpressionsToReturn(G,$);var le=renameCollidingVarNames(G,$,ie);if(!E.returnsPromise(le,$)){return}var _e=le.body&&E.isBlock(le.body)?getReturnStatementsWithPromiseHandlers(le.body,$):E.emptyArray;var Ee={checker:$,synthNamesMap:ie,setOfExpressionsToReturn:ce,isInJSFile:ae};if(!_e.length){return}var Te=G.modifiers?G.modifiers.end:G.decorators?E.skipTrivia(R.text,G.decorators.end):G.getStart(R);var we=G.modifiers?{prefix:" "}:{suffix:" "};N.insertModifierAt(R,Te,130,we);var _loop_13=function(j){E.forEachChild(j,(function visit($){if(E.isCallExpression($)){var q=transformExpression($,Ee);N.replaceNodeWithNodes(R,j,q)}else if(!E.isFunctionLike($)){E.forEachChild($,visit)}}))};for(var Ie=0,Ne=_e;Ie0){return Ve}if(Me){var We=getPossiblyAwaitedRightHandSide(q.checker,Me,Ne);if(!shouldReturn($,q)){var qe=createVariableOrAssignmentOrExpressionStatement(R,We,undefined);if(R){R.types.push(Me)}return qe}else{return maybeAnnotateAndReturn(We,(le=$.typeArguments)===null||le===void 0?void 0:le[0])}}else{return silentFail()}}}default:return silentFail()}return E.emptyArray}function getPossiblyAwaitedRightHandSide(N,R,j){var $=E.getSynthesizedDeepClone(j);return!!N.getPromisedTypeOfPromise(R)?E.factory.createAwaitExpression($):$}function getLastCallSignature(N,R){var j=R.getSignaturesOfType(N,0);return E.lastOrUndefined(j)}function removeReturns(N,R,j,$){var q=[];for(var G=0,ie=N;G0){return}}else if(!E.isFunctionLike(R)){E.forEachChild(R,visit)}}))}return $}function getArgBindingName(N,R){var j=[];var $;if(E.isFunctionLikeDeclaration(N)){if(N.parameters.length>0){var q=N.parameters[0].name;$=getMappedBindingNameOrDefault(q)}}else if(E.isIdentifier(N)){$=getMapEntryOrDefault(N)}else if(E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)){$=getMapEntryOrDefault(N.name)}if(!$||"identifier"in $&&$.identifier.text==="undefined"){return undefined}return $;function getMappedBindingNameOrDefault(N){if(E.isIdentifier(N))return getMapEntryOrDefault(N);var R=E.flatMap(N.elements,(function(N){if(E.isOmittedExpression(N))return[];return[getMappedBindingNameOrDefault(N.name)]}));return createSynthBindingPattern(N,R)}function getMapEntryOrDefault(N){var $=getOriginalNode(N);var q=getSymbol($);if(!q){return createSynthIdentifier(N,j)}var G=R.synthNamesMap.get(E.getSymbolId(q).toString());return G||createSynthIdentifier(N,j)}function getSymbol(E){return E.symbol?E.symbol:R.checker.getSymbolAtLocation(E)}function getOriginalNode(E){return E.original?E.original:E}}function isEmptyBindingName(N){if(!N){return true}if(isSynthIdentifier(N)){return!N.identifier.text}return E.every(N.elements,isEmptyBindingName)}function getNode(E){return isSynthIdentifier(E)?E.identifier:E.bindingPattern}function createSynthIdentifier(E,N){if(N===void 0){N=[]}return{kind:0,identifier:E,types:N,hasBeenDeclared:false}}function createSynthBindingPattern(N,R,j){if(R===void 0){R=E.emptyArray}if(j===void 0){j=[]}return{kind:1,bindingPattern:N,elements:R,types:j}}function isSynthIdentifier(E){return E.kind===0}function isSynthBindingPattern(E){return E.kind===1}function shouldReturn(N,R){return!!N.original&&R.setOfExpressionsToReturn.has(E.getNodeId(N.original))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){N.registerCodeFix({errorCodes:[E.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(R){var j=R.sourceFile,$=R.program,q=R.preferences;var G=E.textChanges.ChangeTracker.with(R,(function(N){var R=convertFileToEs6Module(j,$.getTypeChecker(),N,$.getCompilerOptions().target,E.getQuotePreference(j,q));if(R){for(var G=0,ie=$.getSourceFiles();G1?[[reExportStar(j),reExportDefault(j)],true]:[[reExportDefault(j)],true]}function reExportStar(E){return makeExportDeclaration(undefined,E)}function reExportDefault(N){return makeExportDeclaration([E.factory.createExportSpecifier(undefined,"default")],N)}function convertExportsPropertyAssignment(N,R,j){var $=N.left,q=N.right,G=N.parent;var ie=$.name.text;if((E.isFunctionExpression(q)||E.isArrowFunction(q)||E.isClassExpression(q))&&(!q.name||q.name.text===ie)){j.replaceRange(R,{pos:$.getStart(R),end:q.getStart(R)},E.factory.createToken(93),{suffix:" "});if(!q.name)j.insertName(R,q,ie);var ae=E.findChildOfKind(G,26,R);if(ae)j.delete(R,ae)}else{j.replaceNodeRangeWithNodes(R,$.expression,E.findChildOfKind($,24,R),[E.factory.createToken(93),E.factory.createToken(85)],{joiner:" ",suffix:" "})}}function convertExportsDotXEquals_replaceNode(N,R,j){var $=[E.factory.createToken(93)];switch(R.kind){case 211:{var q=R.name;if(q&&q.text!==N){return exportConst()}}case 212:return functionExpressionToDeclaration(N,$,R,j);case 224:return classExpressionToDeclaration(N,$,R,j);default:return exportConst()}function exportConst(){return makeConst($,E.factory.createIdentifier(N),replaceImportUseSites(R,j))}}function replaceImportUseSites(N,R){if(!R||!E.some(E.arrayFrom(R.keys()),(function(R){return E.rangeContainsRange(N,R)}))){return N}return E.isArray(N)?E.getSynthesizedDeepClonesWithReplacements(N,true,replaceNode):E.getSynthesizedDeepCloneWithReplacements(N,true,replaceNode);function replaceNode(E){if(E.kind===204){var N=R.get(E);R.delete(E);return N}}}function convertSingleImport(R,j,$,q,G,ie){switch(R.kind){case 199:{var ae=E.mapAllOrFail(R.elements,(function(N){return N.dotDotDotToken||N.initializer||N.propertyName&&!E.isIdentifier(N.propertyName)||!E.isIdentifier(N.name)?undefined:makeImportSpecifier(N.propertyName&&N.propertyName.text,N.name.text)}));if(ae){return convertedImports([E.makeImport(undefined,ae,j,ie)])}}case 200:{var ce=makeUniqueName(N.moduleSpecifierToValidIdentifier(j.text,G),q);return convertedImports([E.makeImport(E.factory.createIdentifier(ce),undefined,j,ie),makeConst(undefined,E.getSynthesizedDeepClone(R),E.factory.createIdentifier(ce))])}case 79:return convertSingleIdentifierImport(R,j,$,q,ie);default:return E.Debug.assertNever(R,"Convert to ES6 module got invalid name kind "+R.kind)}}function convertSingleIdentifierImport(N,R,j,$,q){var G=j.getSymbolAtLocation(N);var ie=new E.Map;var ae=false;var ce;for(var le=0,_e=$.original.get(N.text);le<_e.length;le++){var Ee=_e[le];if(j.getSymbolAtLocation(Ee)!==G||Ee===N){continue}var Te=Ee.parent;if(E.isPropertyAccessExpression(Te)){var we=Te.name.text;if(we==="default"){ae=true;var Ie=Ee.getText();(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ie))}else{E.Debug.assert(Te.expression===Ee,"Didn't expect expression === use");var Ne=ie.get(we);if(Ne===undefined){Ne=makeUniqueName(we,$);ie.set(we,Ne)}(ce!==null&&ce!==void 0?ce:ce=new E.Map).set(Te,E.factory.createIdentifier(Ne))}}else{ae=true}}var Me=ie.size===0?undefined:E.arrayFrom(E.mapIterator(ie.entries(),(function(N){var R=N[0],j=N[1];return E.factory.createImportSpecifier(R===j?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(j))})));if(!Me){ae=true}return convertedImports([E.makeImport(ae?E.getSynthesizedDeepClone(N):undefined,Me,R,q)],ce)}function makeUniqueName(E,N){while(N.original.has(E)||N.additional.has(E)){E="_"+E}N.additional.add(E);return E}function collectFreeIdentifiers(N){var R=E.createMultiMap();forEachFreeIdentifier(N,(function(E){return R.add(E.text,E)}));return R}function forEachFreeIdentifier(N,R){if(E.isIdentifier(N)&&isFreeIdentifier(N))R(N);N.forEachChild((function(E){return forEachFreeIdentifier(E,R)}))}function isFreeIdentifier(E){var N=E.parent;switch(N.kind){case 204:return N.name!==E;case 201:return N.propertyName!==E;case 268:return N.propertyName!==E;default:return true}}function functionExpressionToDeclaration(N,R,j,$){return E.factory.createFunctionDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),E.getSynthesizedDeepClone(j.asteriskToken),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.parameters),E.getSynthesizedDeepClone(j.type),E.factory.converters.convertToFunctionBlock(replaceImportUseSites(j.body,$)))}function classExpressionToDeclaration(N,R,j,$){return E.factory.createClassDeclaration(E.getSynthesizedDeepClones(j.decorators),E.concatenate(R,E.getSynthesizedDeepClones(j.modifiers)),N,E.getSynthesizedDeepClones(j.typeParameters),E.getSynthesizedDeepClones(j.heritageClauses),replaceImportUseSites(j.members,$))}function makeSingleImport(N,R,j,$){return R==="default"?E.makeImport(E.factory.createIdentifier(N),undefined,j,$):E.makeImport(undefined,[makeImportSpecifier(R,N)],j,$)}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N!==undefined&&N!==R?E.factory.createIdentifier(N):undefined,E.factory.createIdentifier(R))}function makeConst(N,R,j){return E.factory.createVariableStatement(N,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(R,undefined,undefined,j)],2))}function makeExportDeclaration(N,R){return E.factory.createExportDeclaration(undefined,undefined,false,N&&E.factory.createNamedExports(N),R===undefined?undefined:E.factory.createStringLiteral(R))}function convertedImports(E,N){return{newImports:E,useSitesToUnqualify:N}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="correctQualifiedNameToIndexedAccessType";var j=[E.Diagnostics.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=getQualifiedName(j.sourceFile,j.span.start);if(!$)return undefined;var q=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,$)}));var G=$.left.text+'["'+$.right.text+'"]';return[N.createCodeFixAction(R,q,[E.Diagnostics.Rewrite_as_the_indexed_access_type_0,G],R,E.Diagnostics.Rewrite_all_as_indexed_access_types)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getQualifiedName(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getQualifiedName(N,R){var j=E.findAncestor(E.getTokenAtPosition(N,R),E.isQualifiedName);E.Debug.assert(!!j,"Expected position to be owned by a qualified name.");return E.isIdentifier(j.left)?j:undefined}function doChange(N,R,j){var $=j.right.text;var q=E.factory.createIndexedAccessTypeNode(E.factory.createTypeReferenceNode(j.left,undefined),E.factory.createLiteralTypeNode(E.factory.createStringLiteral($)));N.replaceNode(R,j,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type.code];var j="convertToTypeOnlyExport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return fixSingleExportDeclaration(E,getExportSpecifierForDiagnosticSpan(R.span,R.sourceFile),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_export,j,E.Diagnostics.Convert_all_re_exported_types_to_type_only_exports)]}},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getExportSpecifierForDiagnosticSpan(R,j.sourceFile);if(q&&E.addToSeen($,E.getNodeId(q.parent.parent))){fixSingleExportDeclaration(N,q,j)}}))}});function getExportSpecifierForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isExportSpecifier)}function fixSingleExportDeclaration(N,R,j){if(!R){return}var $=R.parent;var q=$.parent;var G=getTypeExportSpecifiers(R,j);if(G.length===$.elements.length){N.insertModifierBefore(j.sourceFile,150,$)}else{var ie=E.factory.updateExportDeclaration(q,q.decorators,q.modifiers,false,E.factory.updateNamedExports($,E.filter($.elements,(function(N){return!E.contains(G,N)}))),q.moduleSpecifier);var ae=E.factory.createExportDeclaration(undefined,undefined,true,E.factory.createNamedExports(G),q.moduleSpecifier);N.replaceNode(j.sourceFile,q,ie,{leadingTriviaOption:E.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude});N.insertNodeAfter(j.sourceFile,q,ae)}}function getTypeExportSpecifiers(N,j){var $=N.parent;if($.elements.length===1){return $.elements}var q=E.getDiagnosticsWithinSpan(E.createTextSpanFromNode($),j.program.getSemanticDiagnostics(j.sourceFile,j.cancellationToken));return E.filter($.elements,(function(j){var $;return j===N||(($=E.findDiagnosticForNode(j,q))===null||$===void 0?void 0:$.code)===R[0]}))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code];var j="convertToTypeOnlyImport";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){var N=getImportDeclarationForDiagnosticSpan(R.span,R.sourceFile);fixSingleImportDeclaration(E,N,R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Convert_to_type_only_import,j,E.Diagnostics.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){var j=getImportDeclarationForDiagnosticSpan(R,E.sourceFile);fixSingleImportDeclaration(N,j,E)}))}});function getImportDeclarationForDiagnosticSpan(N,R){return E.tryCast(E.getTokenAtPosition(R,N.start).parent,E.isImportDeclaration)}function fixSingleImportDeclaration(N,R,j){if(!(R===null||R===void 0?void 0:R.importClause)){return}var $=R.importClause;N.insertText(j.sourceFile,R.getStart()+"import".length," type");if($.name&&$.namedBindings){N.deleteNodeRangeExcludingEnd(j.sourceFile,$.name,R.importClause.namedBindings);N.insertNodeBefore(j.sourceFile,R,E.factory.updateImportDeclaration(R,undefined,undefined,E.factory.createImportClause(true,$.name,undefined),R.moduleSpecifier))}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="convertLiteralTypeToMappedType";var j=[E.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getInfo($,q.start);if(!G){return undefined}var ie=G.name,ae=G.constraint;var ce=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Convert_0_to_1_in_0,ae,ie],R,E.Diagnostics.Convert_all_type_literals_to_mapped_type)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getInfo(N.file,N.start);if(R){doChange(E,N.file,R)}}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);if(E.isIdentifier(j)){var $=E.cast(j.parent.parent,E.isPropertySignature);var q=j.getText(N);return{container:E.cast($.parent,E.isTypeLiteralNode),typeNode:$.type,constraint:q,name:q==="K"?"P":"K"}}return undefined}function doChange(N,R,j){var $=j.container,q=j.typeNode,G=j.constraint,ie=j.name;N.replaceNode(R,$,E.factory.createMappedTypeNode(undefined,E.factory.createTypeParameterDeclaration(ie,E.factory.createTypeReferenceNode(G)),undefined,undefined,q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.Class_0_incorrectly_implements_interface_1.code,E.Diagnostics.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code];var j="fixClassIncorrectlyImplementsInterface";N.registerCodeFix({errorCodes:R,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getClass($,q.start);return E.mapDefined(E.getEffectiveImplementsTypeNodes(G),(function(q){var ie=E.textChanges.ChangeTracker.with(R,(function(E){return addMissingDeclarations(R,q,$,G,E,R.preferences)}));return ie.length===0?undefined:N.createCodeFixAction(j,ie,[E.Diagnostics.Implement_interface_0,q.getText($)],j,E.Diagnostics.Implement_all_unimplemented_interfaces)}))},fixIds:[j],getAllCodeActions:function(j){var $=new E.Map;return N.codeFixAll(j,R,(function(N,R){var q=getClass(R.file,R.start);if(E.addToSeen($,E.getNodeId(q))){for(var G=0,ie=E.getEffectiveImplementsTypeNodes(q);G=E.ModuleKind.ES2015){return $?1:2}if(q){return E.isExternalModule(N)||j?$?1:2:3}for(var G=0,ie=N.statements;G");return[E.Diagnostics.Convert_function_expression_0_to_arrow_function,ae?ae.text:E.ANONYMOUS]}else{N.replaceNode(R,ie,E.factory.createToken(85));N.insertText(R,ae.end," = ");N.insertText(R,ce.pos," =>");return[E.Diagnostics.Convert_function_declaration_0_to_arrow_function,ae.text]}}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixIncorrectNamedTupleSyntax";var j=[E.Diagnostics.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,E.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getNamedTupleMember($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels,R,E.Diagnostics.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[R]});function getNamedTupleMember(N,R){var j=E.getTokenAtPosition(N,R);return E.findAncestor(j,(function(E){return E.kind===195}))}function doChange(N,R,j){if(!j){return}var $=j.type;var q=false;var G=false;while($.kind===183||$.kind===184||$.kind===189){if($.kind===183){q=true}else if($.kind===184){G=true}$=$.type}var ie=E.factory.updateNamedTupleMember(j,j.dotDotDotToken||(G?E.factory.createToken(25):undefined),j.name,j.questionToken||(q?E.factory.createToken(57):undefined),$);if(ie===j){return}N.replaceNode(R,j,ie)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixSpelling";var j=[E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_1.code,E.Diagnostics.Could_not_find_name_0_Did_you_mean_1.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,E.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,E.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2.code,E.Diagnostics.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,E.Diagnostics.No_overload_matches_this_call.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.errorCode;var G=getInfo($,j.span.start,j,q);if(!G)return undefined;var ie=G.node,ae=G.suggestedSymbol;var ce=j.host.getCompilationSettings().target;var le=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie,ae,ce)}));return[N.createCodeFixAction("spelling",le,[E.Diagnostics.Change_spelling_to_0,E.symbolName(ae)],R,E.Diagnostics.Fix_all_detected_spelling_errors)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=getInfo(R.file,R.start,E,R.code);var $=E.host.getCompilationSettings().target;if(j)doChange(N,E.sourceFile,j.node,j.suggestedSymbol,$)}))}});function getInfo(N,R,j,$){var q=E.getTokenAtPosition(N,R);var G=q.parent;if(($===E.Diagnostics.No_overload_matches_this_call.code||$===E.Diagnostics.Type_0_is_not_assignable_to_type_1.code)&&!E.isJsxAttribute(G))return undefined;var ie=j.program.getTypeChecker();var ae;if(E.isPropertyAccessExpression(G)&&G.name===q){E.Debug.assert(E.isMemberName(q),"Expected an identifier for spelling (property access)");var ce=ie.getTypeAtLocation(G.expression);if(G.flags&32){ce=ie.getNonNullableType(ce)}ae=ie.getSuggestedSymbolForNonexistentProperty(q,ce)}else if(E.isQualifiedName(G)&&G.right===q){var le=ie.getSymbolAtLocation(G.left);if(le&&le.flags&1536){ae=ie.getSuggestedSymbolForNonexistentModule(G.right,le)}}else if(E.isImportSpecifier(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for spelling (import)");var _e=E.findAncestor(q,E.isImportDeclaration);var Ee=getResolvedSourceFileFromImportDeclaration(N,j,_e);if(Ee&&Ee.symbol){ae=ie.getSuggestedSymbolForNonexistentModule(q,Ee.symbol)}}else if(E.isJsxAttribute(G)&&G.name===q){E.Debug.assertNode(q,E.isIdentifier,"Expected an identifier for JSX attribute");var Te=E.findAncestor(q,E.isJsxOpeningLikeElement);var we=ie.getContextualTypeForArgumentAtIndex(Te,0);ae=ie.getSuggestedSymbolForNonexistentJSXAttribute(q,we)}else if(E.hasSyntacticModifier(G,16384)&&E.isClassElement(G)&&G.name===q){var Ie=E.findAncestor(q,E.isClassLike);var Ne=Ie?E.getEffectiveBaseTypeNode(Ie):undefined;var Me=Ne?ie.getTypeAtLocation(Ne):undefined;if(Me){ae=ie.getSuggestedSymbolForNonexistentClassMember(E.getTextOfNode(q),Me)}}else{var Le=E.getMeaningFromLocation(q);var Be=E.getTextOfNode(q);E.Debug.assert(Be!==undefined,"name should be defined");ae=ie.getSuggestedSymbolForNonexistentSymbol(q,Be,convertSemanticMeaningToSymbolFlags(Le))}return ae===undefined?undefined:{node:q,suggestedSymbol:ae}}function doChange(N,R,j,$,q){var G=E.symbolName($);if(!E.isIdentifierText(G,q)&&E.isPropertyAccessExpression(j.parent)){var ie=$.valueDeclaration;if(ie&&E.isNamedDeclaration(ie)&&E.isPrivateIdentifier(ie.name)){N.replaceNode(R,j,E.factory.createIdentifier(G))}else{N.replaceNode(R,j.parent,E.factory.createElementAccessExpression(j.parent.expression,E.factory.createStringLiteral(G)))}}else{N.replaceNode(R,j,E.factory.createIdentifier(G))}}function convertSemanticMeaningToSymbolFlags(E){var N=0;if(E&4){N|=1920}if(E&2){N|=788968}if(E&1){N|=111551}return N}function getResolvedSourceFileFromImportDeclaration(N,R,j){if(!j||!E.isStringLiteralLike(j.moduleSpecifier))return undefined;var $=E.getResolvedModule(N,j.moduleSpecifier.text);if(!$)return undefined;return R.program.getSourceFile($.resolvedFileName)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="returnValueCorrect";var j="fixAddReturnStatement";var $="fixRemoveBracesFromArrowFunctionBody";var q="fixWrapTheBlockWithParen";var G=[E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,E.Diagnostics.Type_0_is_not_assignable_to_type_1.code,E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code];var ie;(function(E){E[E["MissingReturnStatement"]=0]="MissingReturnStatement";E[E["MissingParentheses"]=1]="MissingParentheses"})(ie||(ie={}));N.registerCodeFix({errorCodes:G,fixIds:[j,$,q],getCodeActions:function(N){var R=N.program,j=N.sourceFile,$=N.span.start,q=N.errorCode;var G=getInfo(R.getTypeChecker(),j,$,q);if(!G)return undefined;if(G.kind===ie.MissingReturnStatement){return E.append([getActionForfixAddReturnStatement(N,G.expression,G.statement)],E.isArrowFunction(G.declaration)?getActionForFixRemoveBracesFromArrowFunctionBody(N,G.declaration,G.expression,G.commentSource):undefined)}else{return[getActionForfixWrapTheBlockWithParen(N,G.declaration,G.expression)]}},getAllCodeActions:function(R){return N.codeFixAll(R,G,(function(N,G){var ie=getInfo(R.program.getTypeChecker(),G.file,G.start,G.code);if(!ie)return undefined;switch(R.fixId){case j:addReturnStatement(N,G.file,ie.expression,ie.statement);break;case $:if(!E.isArrowFunction(ie.declaration))return undefined;removeBlockBodyBrace(N,G.file,ie.declaration,ie.expression,ie.commentSource,false);break;case q:if(!E.isArrowFunction(ie.declaration))return undefined;wrapBlockWithParen(N,G.file,ie.declaration,ie.expression);break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function createObjectTypeFromLabeledExpression(N,R,j){var $=N.createSymbol(4,R.escapedText);$.type=N.getTypeAtLocation(j);var q=E.createSymbolTable([$]);return N.createAnonymousType(undefined,q,[],[],[])}function getFixInfo(N,R,j,$){if(!R.body||!E.isBlock(R.body)||E.length(R.body.statements)!==1)return undefined;var q=E.first(R.body.statements);if(E.isExpressionStatement(q)&&checkFixedAssignableTo(N,R,N.getTypeAtLocation(q.expression),j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:q.expression,statement:q,commentSource:q.expression}}else if(E.isLabeledStatement(q)&&E.isExpressionStatement(q.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(q.label,q.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,q.label,q.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return E.isArrowFunction(R)?{declaration:R,kind:ie.MissingParentheses,expression:G,statement:q,commentSource:q.statement.expression}:{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:q.statement.expression}}}else if(E.isBlock(q)&&E.length(q.statements)===1){var ce=E.first(q.statements);if(E.isLabeledStatement(ce)&&E.isExpressionStatement(ce.statement)){var G=E.factory.createObjectLiteralExpression([E.factory.createPropertyAssignment(ce.label,ce.statement.expression)]);var ae=createObjectTypeFromLabeledExpression(N,ce.label,ce.statement.expression);if(checkFixedAssignableTo(N,R,ae,j,$)){return{declaration:R,kind:ie.MissingReturnStatement,expression:G,statement:q,commentSource:ce}}}}return undefined}function checkFixedAssignableTo(N,R,j,$,q){if(q){var G=N.getSignatureFromDeclaration(R);if(G){if(E.hasSyntacticModifier(R,256)){j=N.createPromiseType(j)}var ie=N.createSignature(R,G.typeParameters,G.thisParameter,G.parameters,j,undefined,G.minArgumentCount,G.flags);j=N.createAnonymousType(undefined,E.createSymbolTable(),[ie],[],[])}else{j=N.getAnyType()}}return N.isTypeAssignableTo(j,$)}function getInfo(N,R,j,$){var q=E.getTokenAtPosition(R,j);if(!q.parent)return undefined;var G=E.findAncestor(q.parent,E.isFunctionLikeDeclaration);switch($){case E.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:if(!G||!G.body||!G.type||!E.rangeContainsRange(G.type,q))return undefined;return getFixInfo(N,G,N.getTypeFromTypeNode(G.type),false);case E.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!G||!E.isCallExpression(G.parent)||!G.body)return undefined;var ie=G.parent.arguments.indexOf(G);var ae=N.getContextualTypeForArgumentAtIndex(G.parent,ie);if(!ae)return undefined;return getFixInfo(N,G,ae,true);case E.Diagnostics.Type_0_is_not_assignable_to_type_1.code:if(!E.isDeclarationName(q)||!E.isVariableLike(q.parent)&&!E.isJsxAttribute(q.parent))return undefined;var ce=getVariableLikeInitializer(q.parent);if(!ce||!E.isFunctionLikeDeclaration(ce)||!ce.body)return undefined;return getFixInfo(N,ce,N.getTypeAtLocation(q.parent),true)}return undefined}function getVariableLikeInitializer(N){switch(N.kind){case 252:case 162:case 201:case 165:case 291:return N.initializer;case 283:return N.initializer&&(E.isJsxExpression(N.initializer)?N.initializer.expression:undefined);case 292:case 164:case 294:case 342:case 335:return undefined}}function addReturnStatement(N,R,j,$){E.suppressLeadingAndTrailingTrivia(j);var q=E.probablyUsesSemicolons(R);N.replaceNode(R,$,E.factory.createReturnStatement(j),{leadingTriviaOption:E.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:E.textChanges.TrailingTriviaOption.Exclude,suffix:q?";":undefined})}function removeBlockBodyBrace(N,R,j,$,q,G){var ie=G||E.needsParentheses($)?E.factory.createParenthesizedExpression($):$;E.suppressLeadingAndTrailingTrivia(q);E.copyComments(q,ie);N.replaceNode(R,j.body,ie)}function wrapBlockWithParen(N,R,j,$){N.replaceNode(R,j.body,E.factory.createParenthesizedExpression($))}function getActionForfixAddReturnStatement($,q,G){var ie=E.textChanges.ChangeTracker.with($,(function(E){return addReturnStatement(E,$.sourceFile,q,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Add_a_return_statement,j,E.Diagnostics.Add_all_missing_return_statement)}function getActionForFixRemoveBracesFromArrowFunctionBody(j,q,G,ie){var ae=E.textChanges.ChangeTracker.with(j,(function(E){return removeBlockBodyBrace(E,j.sourceFile,q,G,ie,false)}));return N.createCodeFixAction(R,ae,E.Diagnostics.Remove_braces_from_arrow_function_body,$,E.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function getActionForfixWrapTheBlockWithParen(j,$,G){var ie=E.textChanges.ChangeTracker.with(j,(function(E){return wrapBlockWithParen(E,j.sourceFile,$,G)}));return N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,q,E.Diagnostics.Wrap_all_object_literal_with_parentheses)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixMissingMember";var $="fixMissingProperties";var q="fixMissingAttributes";var G="fixMissingFunctionDeclaration";var ie=[E.Diagnostics.Property_0_does_not_exist_on_type_1.code,E.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,E.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,E.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,E.Diagnostics.Cannot_find_name_0.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function(j){var ie=j.program.getTypeChecker();var ae=getInfo(j.sourceFile,j.span.start,ie,j.program);if(!ae){return undefined}if(ae.kind===3){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addObjectLiteralProperties(E,j,ae)}));return[N.createCodeFixAction($,ce,E.Diagnostics.Add_missing_properties,$,E.Diagnostics.Add_all_missing_properties)]}if(ae.kind===4){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addJsxAttributes(E,j,ae)}));return[N.createCodeFixAction(q,ce,E.Diagnostics.Add_missing_attributes,q,E.Diagnostics.Add_all_missing_attributes)]}if(ae.kind===2){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addFunctionDeclaration(E,j,ae)}));return[N.createCodeFixAction(G,ce,[E.Diagnostics.Add_missing_function_declaration_0,ae.token.text],G,E.Diagnostics.Add_all_missing_function_declarations)]}if(ae.kind===0){var ce=E.textChanges.ChangeTracker.with(j,(function(E){return addEnumMemberDeclaration(E,j.program.getTypeChecker(),ae)}));return[N.createCodeFixAction(R,ce,[E.Diagnostics.Add_missing_enum_member_0,ae.token.text],R,E.Diagnostics.Add_all_missing_members)]}return E.concatenate(getActionsForMissingMethodDeclaration(j,ae),getActionsForMissingMemberDeclaration(j,ae))},fixIds:[R,G,$,q],getAllCodeActions:function(R){var j=R.program,ae=R.fixId;var ce=j.getTypeChecker();var le=new E.Map;var _e=new E.Map;return N.createCombinedCodeActions(E.textChanges.ChangeTracker.with(R,(function(Ee){N.eachDiagnostic(R,ie,(function(N){var j=getInfo(N.file,N.start,ce,R.program);if(!j||!E.addToSeen(le,E.getNodeId(j.parentDeclaration)+"#"+j.token.text)){return}if(ae===G&&j.kind===2){addFunctionDeclaration(Ee,R,j)}else if(ae===$&&j.kind===3){addObjectLiteralProperties(Ee,R,j)}else if(ae===q&&j.kind===4){addJsxAttributes(Ee,R,j)}else{if(j.kind===0){addEnumMemberDeclaration(Ee,ce,j)}if(j.kind===1){var ie=j.parentDeclaration,Te=j.token;var we=E.getOrUpdate(_e,ie,(function(){return[]}));if(!we.some((function(E){return E.token.text===Te.text}))){we.push(j)}}}}));_e.forEach((function($,q){var G=N.getAllSupers(q,ce);var _loop_14=function(N){if(G.some((function(E){var R=_e.get(E);return!!R&&R.some((function(E){var R=E.token;return R.text===N.token.text}))})))return"continue";var $=N.parentDeclaration,q=N.declSourceFile,ie=N.modifierFlags,ae=N.token,ce=N.call,le=N.isJSFile;if(ce&&!E.isPrivateIdentifier(ae)){addMethodDeclaration(R,Ee,ce,ae,ie&32,$,q)}else{if(le&&!E.isInterfaceDeclaration($)){addMissingMemberInJs(Ee,q,$,ae,!!(ie&32))}else{var Te=getTypeNode(j.getTypeChecker(),$,ae);addPropertyDeclaration(Ee,q,$,ae.text,Te,ie&32)}}};for(var ie=0,ae=$;ie=E.ModuleKind.ES2015&&G99;if(le){var ae=E.textChanges.ChangeTracker.with(R,(function(R){var j=E.getTsConfigObjectLiteralExpression($);if(!j)return;var q=[["target",E.factory.createStringLiteral("es2017")]];if(G===E.ModuleKind.CommonJS){q.push(["module",E.factory.createStringLiteral("commonjs")])}N.setJsonCompilerOptionValues(R,$,q)}));q.push(N.createCodeFixActionWithoutFixAll("fixTargetOption",ae,[E.Diagnostics.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return q.length?q:undefined}})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixPropertyAssignment";var j=[E.Diagnostics.Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern.code];N.registerCodeFix({errorCodes:j,fixIds:[R],getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=getProperty($,q.start);var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,G)}));return[N.createCodeFixAction(R,ie,[E.Diagnostics.Change_0_to_1,"=",":"],R,[E.Diagnostics.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,getProperty(N.file,N.start))}))}});function doChange(N,R,j){N.replaceNode(R,j,E.factory.createPropertyAssignment(j.name,j.objectAssignmentInitializer))}function getProperty(N,R){return E.cast(E.getTokenAtPosition(N,R).parent,E.isShorthandPropertyAssignment)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="extendsInterfaceBecomesImplements";var j=[E.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile;var q=getNodes($,j.span.start);if(!q)return undefined;var G=q.extendsToken,ie=q.heritageClauses;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChanges(E,$,G,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Change_extends_to_implements,R,E.Diagnostics.Change_all_extended_interfaces_to_implements)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){var R=getNodes(N.file,N.start);if(R)doChanges(E,N.file,R.extendsToken,R.heritageClauses)}))}});function getNodes(N,R){var j=E.getTokenAtPosition(N,R);var $=E.getContainingClass(j).heritageClauses;var q=$[0].getFirstToken();return q.kind===94?{extendsToken:q,heritageClauses:$}:undefined}function doChanges(N,R,j,$){N.replaceNode(R,j,E.factory.createToken(117));if($.length===2&&$[0].token===94&&$[1].token===117){var q=$[1].getFirstToken();var G=q.getFullStart();N.replaceRange(R,{pos:G,end:G},E.factory.createToken(27));var ie=R.text;var ae=q.end;while(ae":">","}":"}"};function isValidCharacter(N){return E.hasProperty(q,N)}function doChange(N,R,j,$,G){var ie=j.getText()[$];if(!isValidCharacter(ie)){return}var ae=G?q[ie]:"{"+E.quote(j,R,ie)+"}";N.replaceRangeWithText(j,{pos:$,end:$+1},ae)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="unusedIdentifier";var j="unusedIdentifier_prefix";var $="unusedIdentifier_delete";var q="unusedIdentifier_deleteImports";var G="unusedIdentifier_infer";var ie=[E.Diagnostics._0_is_declared_but_its_value_is_never_read.code,E.Diagnostics._0_is_declared_but_never_used.code,E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code,E.Diagnostics.All_imports_in_import_declaration_are_unused.code,E.Diagnostics.All_destructured_elements_are_unused.code,E.Diagnostics.All_variables_are_unused.code,E.Diagnostics.All_type_parameters_are_unused.code];N.registerCodeFix({errorCodes:ie,getCodeActions:function($){var ie=$.errorCode,ae=$.sourceFile,ce=$.program,le=$.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();var Te=E.getTokenAtPosition(ae,$.span.start);if(E.isJSDocTemplateTag(Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te)})),E.Diagnostics.Remove_template_tag)]}if(Te.kind===29){var we=E.textChanges.ChangeTracker.with($,(function(E){return deleteTypeParameters(E,ae,Te)}));return[createDeleteFix(we,E.Diagnostics.Remove_type_parameters)]}var Ie=tryGetFullImport(Te);if(Ie){var we=E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Ie)}));return[N.createCodeFixAction(R,we,[E.Diagnostics.Remove_import_from_0,E.showModuleSpecifier(Ie)],q,E.Diagnostics.Delete_all_unused_imports)]}else if(isImport(Te)){var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){return[N.createCodeFixAction(R,Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,Te.getText(ae)],q,E.Diagnostics.Delete_all_unused_imports)]}}if(E.isObjectBindingPattern(Te.parent)||E.isArrayBindingPattern(Te.parent)){if(E.isParameter(Te.parent.parent)){var Me=Te.parent.elements;var Le=[Me.length>1?E.Diagnostics.Remove_unused_declarations_for_Colon_0:E.Diagnostics.Remove_unused_declaration_for_Colon_0,E.map(Me,(function(E){return E.getText(ae)})).join(", ")];return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteDestructuringElements(E,ae,Te.parent)})),Le)]}return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return E.delete(ae,Te.parent.parent)})),E.Diagnostics.Remove_unused_destructuring_declaration)]}if(canDeleteEntireVariableStatement(ae,Te)){return[createDeleteFix(E.textChanges.ChangeTracker.with($,(function(E){return deleteEntireVariableStatement(E,ae,Te.parent)})),E.Diagnostics.Remove_variable_statement)]}var Be=[];if(Te.kind===136){var we=E.textChanges.ChangeTracker.with($,(function(E){return changeInferToUnknown(E,ae,Te)}));var je=E.cast(Te.parent,E.isInferTypeNode).typeParameter.name.text;Be.push(N.createCodeFixAction(R,we,[E.Diagnostics.Replace_infer_0_with_unknown,je],G,E.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var Ne=E.textChanges.ChangeTracker.with($,(function(E){return tryDeleteDeclaration(ae,Te,E,_e,Ee,ce,le,false)}));if(Ne.length){var je=E.isComputedPropertyName(Te.parent)?Te.parent:Te;Be.push(createDeleteFix(Ne,[E.Diagnostics.Remove_unused_declaration_for_Colon_0,je.getText(ae)]))}}var Ue=E.textChanges.ChangeTracker.with($,(function(E){return tryPrefixDeclaration(E,ie,ae,Te)}));if(Ue.length){Be.push(N.createCodeFixAction(R,Ue,[E.Diagnostics.Prefix_0_with_an_underscore,Te.getText(ae)],j,E.Diagnostics.Prefix_all_unused_declarations_with_where_possible))}return Be},fixIds:[j,$,q,G],getAllCodeActions:function(R){var ae=R.sourceFile,ce=R.program,le=R.cancellationToken;var _e=ce.getTypeChecker();var Ee=ce.getSourceFiles();return N.codeFixAll(R,ie,(function(N,ie){var Te=E.getTokenAtPosition(ae,ie.start);switch(R.fixId){case j:tryPrefixDeclaration(N,ie.code,ae,Te);break;case q:{var we=tryGetFullImport(Te);if(we){N.delete(ae,we)}else if(isImport(Te)){tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case $:{if(Te.kind===136||isImport(Te)){break}else if(E.isJSDocTemplateTag(Te)){N.delete(ae,Te)}else if(Te.kind===29){deleteTypeParameters(N,ae,Te)}else if(E.isObjectBindingPattern(Te.parent)){if(Te.parent.parent.initializer){break}else if(!E.isParameter(Te.parent.parent)||isNotProvidedArguments(Te.parent.parent,_e,Ee)){N.delete(ae,Te.parent.parent)}}else if(E.isArrayBindingPattern(Te.parent.parent)&&Te.parent.parent.parent.initializer){break}else if(canDeleteEntireVariableStatement(ae,Te)){deleteEntireVariableStatement(N,ae,Te.parent)}else{tryDeleteDeclaration(ae,Te,N,_e,Ee,ce,le,true)}break}case G:if(Te.kind===136){changeInferToUnknown(N,ae,Te)}break;default:E.Debug.fail(JSON.stringify(R.fixId))}}))}});function changeInferToUnknown(N,R,j){N.replaceNode(R,j.parent,E.factory.createKeywordTypeNode(153))}function createDeleteFix(j,q){return N.createCodeFixAction(R,j,q,$,E.Diagnostics.Delete_all_unused_declarations)}function deleteTypeParameters(N,R,j){N.delete(R,E.Debug.checkDefined(E.cast(j.parent,E.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function isImport(E){return E.kind===100||E.kind===79&&(E.parent.kind===268||E.parent.kind===265)}function tryGetFullImport(N){return N.kind===100?E.tryCast(N.parent,E.isImportDeclaration):undefined}function canDeleteEntireVariableStatement(N,R){return E.isVariableDeclarationList(R.parent)&&E.first(R.parent.getChildren(N))===R}function deleteEntireVariableStatement(E,N,R){E.delete(N,R.parent.kind===235?R.parent:R)}function deleteDestructuringElements(N,R,j){E.forEach(j.elements,(function(E){return N.delete(R,E)}))}function tryPrefixDeclaration(N,R,j,$){if(R===E.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code)return;if($.kind===136){$=E.cast($.parent,E.isInferTypeNode).typeParameter.name}if(E.isIdentifier($)&&canPrefix($)){N.replaceNode(j,$,E.factory.createIdentifier("_"+$.text));if(E.isParameter($.parent)){E.getJSDocParameterTags($.parent).forEach((function(R){if(E.isIdentifier(R.name)){N.replaceNode(j,R.name,E.factory.createIdentifier("_"+R.name.text))}}))}}}function canPrefix(E){switch(E.parent.kind){case 162:case 161:return true;case 252:{var N=E.parent;switch(N.parent.parent.kind){case 242:case 241:return true}}}return false}function tryDeleteDeclaration(N,R,j,$,q,G,ie,ae){tryDeleteDeclarationWorker(R,j,N,$,q,G,ie,ae);if(E.isIdentifier(R)){E.FindAllReferences.Core.eachSymbolReferenceInFile(R,$,N,(function(R){if(E.isPropertyAccessExpression(R.parent)&&R.parent.name===R)R=R.parent;if(!ae&&mayDeleteExpression(R)){j.delete(N,R.parent.parent)}}))}}function tryDeleteDeclarationWorker(N,R,j,$,q,G,ie,ae){var ce=N.parent;if(E.isParameter(ce)){tryDeleteParameter(R,j,ce,$,q,G,ie,ae)}else if(!(ae&&E.isIdentifier(N)&&E.FindAllReferences.Core.isSymbolReferencedInFile(N,$,j))){var le=E.isImportClause(ce)?N:E.isComputedPropertyName(ce)?ce.parent:ce;E.Debug.assert(le!==j,"should not delete whole source file");R.delete(j,le)}}function tryDeleteParameter(N,R,j,$,q,G,ie,ae){if(ae===void 0){ae=false}if(mayDeleteParameter($,R,j,q,G,ie,ae)){if(j.modifiers&&j.modifiers.length>0&&(!E.isIdentifier(j.name)||E.FindAllReferences.Core.isSymbolReferencedInFile(j.name,$,R))){j.modifiers.forEach((function(E){return N.deleteModifier(R,E)}))}else if(!j.initializer&&isNotProvidedArguments(j,$,q)){N.delete(R,j)}}}function isNotProvidedArguments(N,R,j){var $=N.parent.parameters.indexOf(N);return!E.FindAllReferences.Core.someSignatureUsage(N.parent,j,R,(function(E,N){return!N||N.arguments.length>$}))}function mayDeleteParameter(N,R,j,$,q,G,ie){var ae=j.parent;switch(ae.kind){case 167:case 169:var ce=ae.parameters.indexOf(j);var le=E.isMethodDeclaration(ae)?ae.name:ae;var _e=E.FindAllReferences.Core.getReferencedSymbolsForNode(ae.pos,le,q,$,G);if(_e){for(var Ee=0,Te=_e;Eece;var Be=E.isPropertyAccessExpression(Me.node.parent)&&E.isSuperKeyword(Me.node.parent.expression)&&E.isCallExpression(Me.node.parent.parent)&&Me.node.parent.parent.arguments.length>ce;var je=(E.isMethodDeclaration(Me.node.parent)||E.isMethodSignature(Me.node.parent))&&Me.node.parent!==j.parent&&Me.node.parent.parameters.length>ce;if(Le||Be||je)return false}}}}return true;case 254:{if(ae.name&&isCallbackLike(N,R,ae.name)){return isLastParameter(ae,j,ie)}return true}case 211:case 212:return isLastParameter(ae,j,ie);case 171:return false;default:return E.Debug.failBadSyntaxKind(ae)}}function isCallbackLike(N,R,j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j,N,R,(function(N){return E.isIdentifier(N)&&E.isCallExpression(N.parent)&&N.parent.arguments.indexOf(N)>=0}))}function isLastParameter(N,R,j){var $=N.parameters;var q=$.indexOf(R);E.Debug.assert(q!==-1,"The parameter should already be in the list");return j?$.slice(q+1).every((function(N){return E.isIdentifier(N.name)&&!N.symbol.isReferenced})):q===$.length-1}function mayDeleteExpression(N){return(E.isBinaryExpression(N.parent)&&N.parent.left===N||(E.isPostfixUnaryExpression(N.parent)||E.isPrefixUnaryExpression(N.parent))&&N.parent.operand===N)&&E.isExpressionStatement(N.parent.parent)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixUnreachableCode";var j=[E.Diagnostics.Unreachable_code_detected.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,j.sourceFile,j.span.start,j.span.length,j.errorCode)}));return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unreachable_code,R,E.Diagnostics.Remove_all_unreachable_code)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return doChange(E,N.file,N.start,N.length,N.code)}))}});function doChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j);var ie=E.findAncestor(G,E.isStatement);if(ie.getStart(R)!==G.getStart(R)){var ae=JSON.stringify({statementKind:E.Debug.formatSyntaxKind(ie.kind),tokenKind:E.Debug.formatSyntaxKind(G.kind),errorCode:q,start:j,length:$});E.Debug.fail("Token and statement should start at the same point. "+ae)}var ce=(E.isBlock(ie.parent)?ie.parent:ie).parent;if(!E.isBlock(ie.parent)||ie===E.first(ie.parent.statements)){switch(ce.kind){case 237:if(ce.elseStatement){if(E.isBlock(ie.parent)){break}else{N.replaceNode(R,ie,E.factory.createBlock(E.emptyArray))}return}case 239:case 240:N.delete(R,ce);return}}if(E.isBlock(ie.parent)){var le=j+$;var _e=E.Debug.checkDefined(lastWhere(E.sliceAfter(ie.parent.statements,ie),(function(E){return E.posQe.length){var Xe=ce.getSignatureFromDeclaration(ae[ae.length-1]);outputMethod(Le,Xe,we,Ee,createStubbedMethodBody(Le))}else{E.Debug.assert(ae.length===Qe.length,"Declarations and signatures should match count");ie(createMethodImplementingSignatures(ce,$,R,Qe,Ee,Ne,we,Le))}}break}function outputMethod(E,N,j,q,ae){var ce=createSignatureDeclarationFromSignature(167,$,E,N,ae,q,j,Ne,R,G);if(ce)ie(ce)}}function createSignatureDeclarationFromSignature(N,R,j,$,q,G,ie,ae,ce,le){var _e=R.program;var Ee=_e.getTypeChecker();var Te=E.getEmitScriptTarget(_e.getCompilerOptions());var we=1|1073741824|256|(j===0?268435456:0);var Ie=Ee.signatureToSignatureDeclaration($,N,ce,we,getNoopSymbolTrackerWithResolver(R));if(!Ie){return undefined}var Ne=Ie.typeParameters;var Me=Ie.parameters;var Le=Ie.type;if(le){if(Ne){var Be=E.sameMap(Ne,(function(N){var R=N.constraint;var j=N.default;if(R){var $=tryGetAutoImportableReferenceFromTypeNode(R,Te);if($){R=$.typeNode;importSymbols(le,$.symbols)}}if(j){var $=tryGetAutoImportableReferenceFromTypeNode(j,Te);if($){j=$.typeNode;importSymbols(le,$.symbols)}}return E.factory.updateTypeParameterDeclaration(N,N.name,R,j)}));if(Ne!==Be){Ne=E.setTextRange(E.factory.createNodeArray(Be,Ne.hasTrailingComma),Ne)}}var je=E.sameMap(Me,(function(N){var R=tryGetAutoImportableReferenceFromTypeNode(N.type,Te);var j=N.type;if(R){j=R.typeNode;importSymbols(le,R.symbols)}return E.factory.updateParameterDeclaration(N,N.decorators,N.modifiers,N.dotDotDotToken,N.name,N.questionToken,j,N.initializer)}));if(Me!==je){Me=E.setTextRange(E.factory.createNodeArray(je,Me.hasTrailingComma),Me)}if(Le){var Ue=tryGetAutoImportableReferenceFromTypeNode(Le,Te);if(Ue){Le=Ue.typeNode;importSymbols(le,Ue.symbols)}}}var ze=ae?E.factory.createToken(57):undefined;var We=Ie.asteriskToken;if(E.isFunctionExpression(Ie)){return E.factory.updateFunctionExpression(Ie,ie,Ie.asteriskToken,E.tryCast(G,E.isIdentifier),Ne,Me,Le,q!==null&&q!==void 0?q:Ie.body)}if(E.isArrowFunction(Ie)){return E.factory.updateArrowFunction(Ie,ie,Ne,Me,Le,Ie.equalsGreaterThanToken,q!==null&&q!==void 0?q:Ie.body)}if(E.isMethodDeclaration(Ie)){return E.factory.updateMethodDeclaration(Ie,undefined,ie,We,G!==null&&G!==void 0?G:E.factory.createIdentifier(""),ze,Ne,Me,Le,q)}return undefined}N.createSignatureDeclarationFromSignature=createSignatureDeclarationFromSignature;function createSignatureDeclarationFromCallExpression(N,R,j,$,q,G,ie){var ae=E.getQuotePreference(R.sourceFile,R.preferences);var ce=E.getEmitScriptTarget(R.program.getCompilerOptions());var le=getNoopSymbolTrackerWithResolver(R);var _e=R.program.getTypeChecker();var Ee=E.isInJSFile(ie);var Te=$.typeArguments,we=$.arguments,Ie=$.parent;var Ne=Ee?undefined:_e.getContextualType($);var Me=E.map(we,(function(N){return E.isIdentifier(N)?N.text:E.isPropertyAccessExpression(N)&&E.isIdentifier(N.name)?N.name.text:undefined}));var Le=Ee?[]:E.map(we,(function(E){return typeToAutoImportableTypeNode(_e,j,_e.getBaseTypeOfLiteralType(_e.getTypeAtLocation(E)),ie,ce,undefined,le)}));var Be=G?E.factory.createNodeArray(E.factory.createModifiersFromModifierFlags(G)):undefined;var je=E.isYieldExpression(Ie)?E.factory.createToken(41):undefined;var Ue=Ee||Te===undefined?undefined:E.map(Te,(function(N,R){return E.factory.createTypeParameterDeclaration(84+Te.length-1<=90?String.fromCharCode(84+R):"T"+R)}));var ze=createDummyParameters(we.length,Me,Le,undefined,Ee);var We=Ee||Ne===undefined?undefined:_e.typeToTypeNode(Ne,ie,undefined,le);if(N===167){return E.factory.createMethodDeclaration(undefined,Be,je,q,undefined,Ue,ze,We,E.isInterfaceDeclaration(ie)?undefined:createStubbedMethodBody(ae))}return E.factory.createFunctionDeclaration(undefined,Be,je,q,Ue,ze,We,createStubbedBody(E.Diagnostics.Function_not_implemented.message,ae))}N.createSignatureDeclarationFromCallExpression=createSignatureDeclarationFromCallExpression;function typeToAutoImportableTypeNode(N,R,j,$,q,G,ie){var ae=N.typeToTypeNode(j,$,G,ie);if(ae&&E.isImportTypeNode(ae)){var ce=tryGetAutoImportableReferenceFromTypeNode(ae,q);if(ce){importSymbols(R,ce.symbols);ae=ce.typeNode}}return E.getSynthesizedDeepClone(ae)}N.typeToAutoImportableTypeNode=typeToAutoImportableTypeNode;function createDummyParameters(N,R,j,$,q){var G=[];for(var ie=0;ie=$?E.factory.createToken(57):undefined,q?undefined:j&&j[ie]||E.factory.createKeywordTypeNode(129),undefined);G.push(ae)}return G}function createMethodImplementingSignatures(N,R,j,$,q,G,ie,ae){var ce=$[0];var le=$[0].minArgumentCount;var _e=false;for(var Ee=0,Te=$;Ee=ce.parameters.length&&(!E.signatureHasRestParameter(we)||E.signatureHasRestParameter(ce))){ce=we}}var Ie=ce.parameters.length-(E.signatureHasRestParameter(ce)?1:0);var Ne=ce.parameters.map((function(E){return E.name}));var Me=createDummyParameters(Ie,Ne,undefined,le,false);if(_e){var Le=E.factory.createArrayTypeNode(E.factory.createKeywordTypeNode(129));var Be=E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),Ne[Ie]||"rest",Ie>=le?E.factory.createToken(57):undefined,Le,undefined);Me.push(Be)}return createStubbedMethod(ie,q,G,undefined,Me,getReturnTypeFromSignatures($,N,R,j),ae)}function getReturnTypeFromSignatures(N,R,j,$){if(E.length(N)){var q=R.getUnionType(E.map(N,R.getReturnTypeOfSignature));return R.typeToTypeNode(q,$,undefined,getNoopSymbolTrackerWithResolver(j))}}function createStubbedMethod(N,R,j,$,q,G,ie){return E.factory.createMethodDeclaration(undefined,N,undefined,R,j?E.factory.createToken(57):undefined,$,q,G,createStubbedMethodBody(ie))}function createStubbedMethodBody(N){return createStubbedBody(E.Diagnostics.Method_not_implemented.message,N)}function createStubbedBody(N,R){return E.factory.createBlock([E.factory.createThrowStatement(E.factory.createNewExpression(E.factory.createIdentifier("Error"),undefined,[E.factory.createStringLiteral(N,R===0)]))],true)}N.createStubbedBody=createStubbedBody;function createVisibilityModifier(N){if(N&4){return E.factory.createToken(123)}else if(N&16){return E.factory.createToken(122)}return undefined}function setJsonCompilerOptionValues(N,R,j){var $=E.getTsConfigObjectLiteralExpression(R);if(!$)return undefined;var q=findJsonProperty($,"compilerOptions");if(q===undefined){N.insertNodeAtObjectStart(R,$,createJsonPropertyAssignment("compilerOptions",E.factory.createObjectLiteralExpression(j.map((function(E){var N=E[0],R=E[1];return createJsonPropertyAssignment(N,R)})),true)));return}var G=q.initializer;if(!E.isObjectLiteralExpression(G)){return}for(var ie=0,ae=j;ie0){return[N.createCodeFixAction(R,$,E.Diagnostics.Convert_to_a_bigint_numeric_literal,R,E.Diagnostics.Convert_all_to_bigint_numeric_literals)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),E.isNumericLiteral);if(!$){return}var q=$.getText(R)+"n";N.replaceNode(R,$,E.factory.createBigIntLiteral(q))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixAddModuleReferTypeMissingTypeof";var j=R;var $=[E.Diagnostics.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code];N.registerCodeFix({errorCodes:$,getCodeActions:function(R){var $=R.sourceFile,q=R.span;var G=getImportTypeNode($,q.start);var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(j,ie,E.Diagnostics.Add_missing_typeof,j,E.Diagnostics.Add_missing_typeof)]},fixIds:[j],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){return doChange(N,E.sourceFile,getImportTypeNode(R.file,R.start))}))}});function getImportTypeNode(N,R){var j=E.getTokenAtPosition(N,R);E.Debug.assert(j.kind===100,"This token should be an ImportKeyword");E.Debug.assert(j.parent.kind===198,"Token parent should be an ImportType");return j.parent}function doChange(N,R,j){var $=E.factory.updateImportTypeNode(j,j.argument,j.qualifier,j.typeArguments,true);N.replaceNode(R,j,$)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="wrapJsxInFragment";var j=[E.Diagnostics.JSX_expressions_must_have_one_parent_element.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span;var G=findNodeToFix($,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,G)}));return[N.createCodeFixAction(R,ie,E.Diagnostics.Wrap_in_JSX_fragment,R,E.Diagnostics.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(N,R){var j=findNodeToFix(E.sourceFile,R.start);if(!j)return undefined;doChange(N,E.sourceFile,j)}))}});function findNodeToFix(N,R){var j=E.getTokenAtPosition(N,R);var $=j.parent;var q=$.parent;if(!E.isBinaryExpression(q)){q=q.parent;if(!E.isBinaryExpression(q))return undefined}if(!E.nodeIsMissing(q.operatorToken))return undefined;return q}function doChange(N,R,j){var $=flattenInvalidBinaryExpr(j);if($)N.replaceNode(R,j,E.factory.createJsxFragment(E.factory.createJsxOpeningFragment(),$,E.factory.createJsxJsxClosingFragment()))}function flattenInvalidBinaryExpr(N){var R=[];var j=N;while(true){if(E.isBinaryExpression(j)&&E.nodeIsMissing(j.operatorToken)&&j.operatorToken.kind===27){R.push(j.left);if(E.isJsxChild(j.right)){R.push(j.right);return R}else if(E.isBinaryExpression(j.right)){j=j.right;continue}else return undefined}else return undefined}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertToMappedObjectType";var $=R;var q=[E.Diagnostics.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code];N.registerCodeFix({errorCodes:q,getCodeActions:function(R){var j=R.sourceFile,q=R.span;var G=getInfo(j,q.start);if(!G)return undefined;var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(E,j,G)}));var ae=E.idText(G.container.name);return[N.createCodeFixAction($,ie,[E.Diagnostics.Convert_0_to_mapped_object_type,ae],$,[E.Diagnostics.Convert_0_to_mapped_object_type,ae])]},fixIds:[$],getAllCodeActions:function(E){return N.codeFixAll(E,q,(function(E,N){var R=getInfo(N.file,N.start);if(R)doChange(E,N.file,R)}))}});function getInfo(N,R){var j=E.getTokenAtPosition(N,R);var $=E.cast(j.parent.parent,E.isIndexSignatureDeclaration);if(E.isClassDeclaration($.parent))return undefined;var q=E.isInterfaceDeclaration($.parent)?$.parent:E.cast($.parent.parent,E.isTypeAliasDeclaration);return{indexSignature:$,container:q}}function createTypeAliasFromInterface(N,R){return E.factory.createTypeAliasDeclaration(N.decorators,N.modifiers,N.name,N.typeParameters,R)}function doChange(N,R,$){var q=$.indexSignature,G=$.container;var ie=E.isInterfaceDeclaration(G)?G.members:G.type.members;var ae=ie.filter((function(N){return!E.isIndexSignatureDeclaration(N)}));var ce=E.first(q.parameters);var le=E.factory.createTypeParameterDeclaration(E.cast(ce.name,E.isIdentifier),ce.type);var _e=E.factory.createMappedTypeNode(E.hasEffectiveReadonlyModifier(q)?E.factory.createModifier(143):undefined,le,undefined,q.questionToken,q.type);var Ee=E.factory.createIntersectionTypeNode(j(j(j([],E.getAllSuperTypeNodes(G),true),[_e],false),ae.length?[E.factory.createTypeLiteralNode(ae)]:E.emptyArray,true));N.replaceNode(R,G,createTypeAliasFromInterface(G,Ee))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeAccidentalCallParentheses";var j=[E.Diagnostics.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.findAncestor(E.getTokenAtPosition(j.sourceFile,j.span.start),E.isCallExpression);if(!$){return undefined}var q=E.textChanges.ChangeTracker.with(j,(function(E){E.deleteRange(j.sourceFile,{pos:$.expression.end,end:$.end})}));return[N.createCodeFixActionWithoutFixAll(R,q,E.Diagnostics.Remove_parentheses)]},fixIds:[R]})})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="removeUnnecessaryAwait";var j=[E.Diagnostics.await_has_no_effect_on_the_type_of_this_expression.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=E.textChanges.ChangeTracker.with(j,(function(E){return makeChange(E,j.sourceFile,j.span)}));if($.length>0){return[N.createCodeFixAction(R,$,E.Diagnostics.Remove_unnecessary_await,R,E.Diagnostics.Remove_all_unnecessary_uses_of_await)]}},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,j,(function(E,N){return makeChange(E,N.file,N)}))}});function makeChange(N,R,j){var $=E.tryCast(E.getTokenAtPosition(R,j.start),(function(E){return E.kind===131}));var q=$&&E.tryCast($.parent,E.isAwaitExpression);if(!q){return}var G=q;var ie=E.isParenthesizedExpression(q.parent);if(ie){var ae=E.getLeftmostExpression(q.expression,false);if(E.isIdentifier(ae)){var ce=E.findPrecedingToken(q.parent.pos,R);if(ce&&ce.kind!==103){G=q.parent}}}N.replaceNode(R,G,q.expression)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R=[E.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code];var j="splitTypeOnlyImport";N.registerCodeFix({errorCodes:R,fixIds:[j],getCodeActions:function(R){var $=E.textChanges.ChangeTracker.with(R,(function(E){return splitTypeOnlyImport(E,getImportDeclaration(R.sourceFile,R.span),R)}));if($.length){return[N.createCodeFixAction(j,$,E.Diagnostics.Split_into_two_separate_import_declarations,j,E.Diagnostics.Split_all_invalid_type_only_imports)]}},getAllCodeActions:function(E){return N.codeFixAll(E,R,(function(N,R){splitTypeOnlyImport(N,getImportDeclaration(E.sourceFile,R),E)}))}});function getImportDeclaration(N,R){return E.findAncestor(E.getTokenAtPosition(N,R.start),E.isImportDeclaration)}function splitTypeOnlyImport(N,R,j){if(!R){return}var $=E.Debug.checkDefined(R.importClause);N.replaceNode(j.sourceFile,R,E.factory.updateImportDeclaration(R,R.decorators,R.modifiers,E.factory.updateImportClause($,$.isTypeOnly,$.name,undefined),R.moduleSpecifier));N.insertNodeAfter(j.sourceFile,R,E.factory.createImportDeclaration(undefined,undefined,E.factory.updateImportClause($,$.isTypeOnly,undefined,$.namedBindings),R.moduleSpecifier))}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixConvertConstToLet";var j=[E.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant.code];N.registerCodeFix({errorCodes:j,getCodeActions:function(j){var $=j.sourceFile,q=j.span,G=j.program;var ie=getConstTokenRange($,q.start,G);if(ie===undefined)return;var ae=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,ie)}));return[N.createCodeFixAction(R,ae,E.Diagnostics.Convert_const_to_let,R,E.Diagnostics.Convert_const_to_let)]},fixIds:[R]});function getConstTokenRange(N,R,j){var $;var q=j.getTypeChecker();var G=q.getSymbolAtLocation(E.getTokenAtPosition(N,R));var ie=E.tryCast(($=G===null||G===void 0?void 0:G.valueDeclaration)===null||$===void 0?void 0:$.parent,E.isVariableDeclarationList);if(ie===undefined)return;var ae=E.findChildOfKind(ie,85,N);if(ae===undefined)return;return E.createRange(ae.pos,ae.end)}function doChange(E,N,R){E.replaceRangeWithText(N,R,"let")}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="fixExpectedComma";var j=E.Diagnostics._0_expected.code;var $=[j];N.registerCodeFix({errorCodes:$,getCodeActions:function(j){var $=j.sourceFile;var q=getInfo($,j.span.start,j.errorCode);if(!q){return undefined}var G=E.textChanges.ChangeTracker.with(j,(function(E){return doChange(E,$,q)}));return[N.createCodeFixAction(R,G,[E.Diagnostics.Change_0_to_1,";",","],R,[E.Diagnostics.Change_0_to_1,";",","])]},fixIds:[R],getAllCodeActions:function(E){return N.codeFixAll(E,$,(function(N,R){var j=getInfo(R.file,R.start,R.code);if(j)doChange(N,E.sourceFile,j)}))}});function getInfo(N,R,j){var $=E.getTokenAtPosition(N,R);return $.kind===26&&$.parent&&(E.isObjectLiteralExpression($.parent)||E.isArrayLiteralExpression($.parent))?{node:$}:undefined}function doChange(N,R,j){var $=j.node;var q=E.factory.createToken(27);N.replaceNode(R,$,q)}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="addVoidToPromise";var j="addVoidToPromise";var $=[E.Diagnostics.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code];N.registerCodeFix({errorCodes:$,fixIds:[j],getCodeActions:function($){var q=E.textChanges.ChangeTracker.with($,(function(E){return makeChange(E,$.sourceFile,$.span,$.program)}));if(q.length>0){return[N.createCodeFixAction(R,q,E.Diagnostics.Add_void_to_Promise_resolved_without_a_value,j,E.Diagnostics.Add_void_to_all_Promises_resolved_without_a_value)]}},getAllCodeActions:function(R){return N.codeFixAll(R,$,(function(N,j){return makeChange(N,j.file,j,R.program,new E.Set)}))}});function makeChange(N,R,j,$,q){var G=E.getTokenAtPosition(R,j.start);if(!E.isIdentifier(G)||!E.isCallExpression(G.parent)||G.parent.expression!==G||G.parent.arguments.length!==0)return;var ie=$.getTypeChecker();var ae=ie.getSymbolAtLocation(G);var ce=ae===null||ae===void 0?void 0:ae.valueDeclaration;if(!ce||!E.isParameter(ce)||!E.isNewExpression(ce.parent.parent))return;if(q===null||q===void 0?void 0:q.has(ce))return;q===null||q===void 0?void 0:q.add(ce);var le=getEffectiveTypeArguments(ce.parent.parent);if(E.some(le)){var _e=le[0];var Ee=!E.isUnionTypeNode(_e)&&!E.isParenthesizedTypeNode(_e)&&E.isParenthesizedTypeNode(E.factory.createUnionTypeNode([_e,E.factory.createKeywordTypeNode(114)]).types[0]);if(Ee){N.insertText(R,_e.pos,"(")}N.insertText(R,_e.end,Ee?") | void":" | void")}else{var Te=ie.getResolvedSignature(G.parent);var we=Te===null||Te===void 0?void 0:Te.parameters[0];var Ie=we&&ie.getTypeOfSymbolAtLocation(we,ce.parent.parent);if(E.isInJSFile(ce)){if(!Ie||Ie.flags&3){N.insertText(R,ce.parent.parent.end,")");N.insertText(R,E.skipTrivia(R.text,ce.parent.parent.pos),"/** @type {Promise} */(")}}else{if(!Ie||Ie.flags&2){N.insertText(R,ce.parent.parent.expression.end,"")}}}}function getEffectiveTypeArguments(N){var R;if(E.isInJSFile(N)){if(E.isParenthesizedExpression(N.parent)){var j=(R=E.getJSDocTypeTag(N.parent))===null||R===void 0?void 0:R.typeExpression.type;if(j&&E.isTypeReferenceNode(j)&&E.isIdentifier(j.typeName)&&E.idText(j.typeName)==="Promise"){return j.typeArguments}}}else{return N.typeArguments}}})(N=E.codefix||(E.codefix={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert export";var j={name:"Convert default export to named export",description:E.Diagnostics.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"};var q={name:"Convert named export to default export",description:E.Diagnostics.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getInfo(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.wasDefault?j:q;return[{name:R,description:ae.description,actions:[ae]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.Diagnostics.Convert_default_export_to_named_export.message,actions:[$($({},j),{notApplicableReason:ie.error}),$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getInfo(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,G,E,R.cancellationToken)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getInfo(N,R){if(R===void 0){R=true}var j=N.file,$=N.program;var q=E.getRefactorContextSpan(N);var G=E.getTokenAtPosition(j,q.start);var ie=!!(G.parent&&E.getSyntacticModifierFlags(G.parent)&1)&&R?G.parent:E.getParentNodeInSpan(G,j,q);if(!ie||!E.isSourceFile(ie.parent)&&!(E.isModuleBlock(ie.parent)&&E.isAmbientModule(ie.parent.parent))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_export_statement)}}var ae=E.isSourceFile(ie.parent)?ie.parent.symbol:ie.parent.parent.symbol;var ce=E.getSyntacticModifierFlags(ie)||(E.isExportAssignment(ie)&&!ie.isExportEquals?513:0);var le=!!(ce&512);if(!(ce&1)||!le&&ae.exports.has("default")){return{error:E.getLocaleSpecificMessage(E.Diagnostics.This_file_already_has_a_default_export)}}var _e=$.getTypeChecker();var noSymbolError=function(N){return E.isIdentifier(N)&&_e.getSymbolAtLocation(N)?undefined:{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_named_export)}};switch(ie.kind){case 254:case 255:case 256:case 258:case 257:case 259:{var Ee=ie;if(!Ee.name)return undefined;return noSymbolError(Ee.name)||{exportNode:Ee,exportName:Ee.name,wasDefault:le,exportingModuleSymbol:ae}}case 235:{var Te=ie;if(!(Te.declarationList.flags&2)||Te.declarationList.declarations.length!==1){return undefined}var we=E.first(Te.declarationList.declarations);if(!we.initializer)return undefined;E.Debug.assert(!le,"Can't have a default flag here");return noSymbolError(we.name)||{exportNode:Te,exportName:we.name,wasDefault:le,exportingModuleSymbol:ae}}case 269:{var Ee=ie;if(Ee.isExportEquals)return undefined;return noSymbolError(Ee.expression)||{exportNode:Ee,exportName:Ee.expression,wasDefault:le,exportingModuleSymbol:ae}}default:return undefined}}function doChange(E,N,R,j,$){changeExport(E,R,j,N.getTypeChecker());changeImports(N,R,j,$)}function changeExport(N,R,j,$){var q=R.wasDefault,G=R.exportNode,ie=R.exportName;if(q){if(E.isExportAssignment(G)&&!G.isExportEquals){var ae=G.expression;var ce=makeExportSpecifier(ae.text,ae.text);j.replaceNode(N,G,E.factory.createExportDeclaration(undefined,undefined,false,E.factory.createNamedExports([ce])))}else{j.delete(N,E.Debug.checkDefined(E.findModifier(G,88),"Should find a default keyword in modifier list"))}}else{var le=E.Debug.checkDefined(E.findModifier(G,93),"Should find an export keyword in modifier list");switch(G.kind){case 254:case 255:case 256:j.insertNodeAfter(N,le,E.factory.createToken(88));break;case 235:var _e=E.first(G.declarationList.declarations);if(!E.FindAllReferences.Core.isSymbolReferencedInFile(ie,$,N)&&!_e.type){j.replaceNode(N,G,E.factory.createExportDefault(E.Debug.checkDefined(_e.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:j.deleteModifier(N,le);j.insertNodeAfter(N,G,E.factory.createExportDefault(E.factory.createIdentifier(ie.text)));break;default:E.Debug.fail("Unexpected exportNode kind "+G.kind)}}}function changeImports(N,R,j,$){var q=R.wasDefault,G=R.exportName,ie=R.exportingModuleSymbol;var ae=N.getTypeChecker();var ce=E.Debug.checkDefined(ae.getSymbolAtLocation(G),"Export name should resolve to a symbol");E.FindAllReferences.Core.eachExportReference(N.getSourceFiles(),ae,$,ce,ie,G.text,q,(function(E){var N=E.getSourceFile();if(q){changeDefaultToNamedImport(N,E,j,G.text)}else{changeNamedToDefaultImport(N,E,j)}}))}function changeDefaultToNamedImport(N,R,j,$){var q=R.parent;switch(q.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier($));break;case 268:case 273:{var G=q;j.replaceNode(N,G,makeImportSpecifier($,G.name.text));break}case 265:{var ie=q;E.Debug.assert(ie.name===R,"Import clause name should match provided ref");var G=makeImportSpecifier($,R.text);var ae=ie.namedBindings;if(!ae){j.replaceNode(N,R,E.factory.createNamedImports([G]))}else if(ae.kind===266){j.deleteRange(N,{pos:R.getStart(N),end:ae.getStart(N)});var ce=E.isStringLiteral(ie.parent.moduleSpecifier)?E.quotePreferenceFromString(ie.parent.moduleSpecifier,N):1;var le=E.makeImport(undefined,[makeImportSpecifier($,R.text)],ie.parent.moduleSpecifier,ce);j.insertNodeAfter(N,ie.parent,le)}else{j.delete(N,R);j.insertNodeAtEndOfList(N,ae.elements,G)}break}default:E.Debug.failBadSyntaxKind(q)}}function changeNamedToDefaultImport(N,R,j){var $=R.parent;switch($.kind){case 204:j.replaceNode(N,R,E.factory.createIdentifier("default"));break;case 268:{var q=E.factory.createIdentifier($.name.text);if($.parent.elements.length===1){j.replaceNode(N,$.parent,q)}else{j.delete(N,$);j.insertNodeBefore(N,$.parent,q)}break}case 273:{j.replaceNode(N,$,makeExportSpecifier("default",$.name.text));break}default:E.Debug.assertNever($,"Unexpected parent kind "+$.kind)}}function makeImportSpecifier(N,R){return E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}function makeExportSpecifier(N,R){return E.factory.createExportSpecifier(N===R?undefined:E.factory.createIdentifier(N),E.factory.createIdentifier(R))}})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Convert import";var j={name:"Convert namespace import to named imports",description:E.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"};var q={name:"Convert named imports to namespace import",description:E.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};N.registerRefactor(R,{kinds:[j.kind,q.kind],getAvailableActions:function(G){var ie=getImportToConvert(G,G.triggerReason==="invoked");if(!ie)return E.emptyArray;if(!N.isRefactorErrorInfo(ie)){var ae=ie.kind===266;var ce=ae?j:q;return[{name:R,description:ce.description,actions:[ce]}]}if(G.preferences.provideRefactorNotApplicableReason){return[{name:R,description:j.description,actions:[$($({},j),{notApplicableReason:ie.error})]},{name:R,description:q.description,actions:[$($({},q),{notApplicableReason:ie.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){E.Debug.assert($===j.name||$===q.name,"Unexpected action name");var G=getImportToConvert(R);E.Debug.assert(G&&!N.isRefactorErrorInfo(G),"Expected applicable refactor info");var ie=E.textChanges.ChangeTracker.with(R,(function(E){return doChange(R.file,R.program,E,G)}));return{edits:ie,renameFilename:undefined,renameLocation:undefined}}});function getImportToConvert(N,R){if(R===void 0){R=true}var j=N.file;var $=E.getRefactorContextSpan(N);var q=E.getTokenAtPosition(j,$.start);var G=R?E.findAncestor(q,E.isImportDeclaration):E.getParentNodeInSpan(q,j,$);if(!G||!E.isImportDeclaration(G))return{error:"Selection is not an import declaration."};if(G.getEnd()<$.start+$.length)return undefined;var ie=G.importClause;if(!ie){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_import_clause)}}if(!ie.namedBindings){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_namespace_import_or_named_imports)}}return ie.namedBindings}function doChange(N,R,j,$){var q=R.getTypeChecker();if($.kind===266){doChangeNamespaceToNamed(N,q,j,$,E.getAllowSyntheticDefaultImports(R.getCompilerOptions()))}else{doChangeNamedToNamespace(N,q,j,$)}}function doChangeNamespaceToNamed(N,R,j,$,q){var G=false;var ie=[];var ae=new E.Map;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(N){if(!E.isPropertyAccessOrQualifiedName(N.parent)){G=true}else{var j=getRightOfPropertyAccessOrQualifiedName(N.parent).text;if(R.resolveName(j,N,67108863,true)){ae.set(j,true)}E.Debug.assert(getLeftOfPropertyAccessOrQualifiedName(N.parent)===N,"Parent expression should match id");ie.push(N.parent)}}));var ce=new E.Map;for(var le=0,_e=ie;le<_e.length;le++){var Ee=_e[le];var Te=getRightOfPropertyAccessOrQualifiedName(Ee).text;var we=ce.get(Te);if(we===undefined){ce.set(Te,we=ae.has(Te)?E.getUniqueName(Te,N):Te)}j.replaceNode(N,Ee,E.factory.createIdentifier(we))}var Ie=[];ce.forEach((function(N,R){Ie.push(E.factory.createImportSpecifier(N===R?undefined:E.factory.createIdentifier(R),E.factory.createIdentifier(N)))}));var Ne=$.parent.parent;if(G&&!q){j.insertNodeAfter(N,Ne,updateImport(Ne,undefined,Ie))}else{j.replaceNode(N,Ne,updateImport(Ne,G?E.factory.createIdentifier($.name.text):undefined,Ie))}}function getRightOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.name:N.right}function getLeftOfPropertyAccessOrQualifiedName(N){return E.isPropertyAccessExpression(N)?N.expression:N.left}function doChangeNamedToNamespace(N,R,j,$){var q=$.parent.parent;var G=q.moduleSpecifier;var ie=new E.Set;$.elements.forEach((function(E){var N=R.getSymbolAtLocation(E.name);if(N){ie.add(N)}}));var ae=G&&E.isStringLiteral(G)?E.codefix.moduleSpecifierToValidIdentifier(G.text,99):"module";function hasNamespaceNameConflict(j){return!!E.FindAllReferences.Core.eachSymbolReferenceInFile(j.name,R,N,(function(N){var j=R.resolveName(ae,N,67108863,true);if(j){if(ie.has(j)){return E.isExportSpecifier(N.parent)}return true}return false}))}var ce=$.elements.some(hasNamespaceNameConflict);var le=ce?E.getUniqueName(ae,N):ae;var _e=new E.Set;var _loop_16=function($){var q=($.propertyName||$.name).text;E.FindAllReferences.Core.eachSymbolReferenceInFile($.name,R,N,(function(R){var G=E.factory.createPropertyAccessExpression(E.factory.createIdentifier(le),q);if(E.isShorthandPropertyAssignment(R.parent)){j.replaceNode(N,R.parent,E.factory.createPropertyAssignment(R.text,G))}else if(E.isExportSpecifier(R.parent)){_e.add($)}else{j.replaceNode(N,R,G)}}))};for(var Ee=0,Te=$.elements;Ee=ie.pos?ae.getEnd():ie.getEnd());var le=G?getValidParentNodeOfEmptySpan(ie):getValidParentNodeContainingSpan(ie,ce);var _e=le&&isValidExpressionOrStatement(le)?getExpression(le):undefined;if(!_e)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var Ee=$.getTypeChecker();return E.isConditionalExpression(_e)?getConditionalInfo(_e,Ee):getBinaryInfo(_e)}function getConditionalInfo(N,R){var j=N.condition;var $=getFinalExpressionInChain(N.whenTrue);if(!$||R.isNullableType(R.getTypeAtLocation($))){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)}}if((E.isPropertyAccessExpression(j)||E.isIdentifier(j))&&getMatchingStart(j,$.expression)){return{finalExpression:$,occurrences:[j],expression:N}}else if(E.isBinaryExpression(j)){var q=getOccurrencesInExpression($.expression,j);return q?{finalExpression:$,occurrences:q,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}}function getBinaryInfo(N){if(N.operatorToken.kind!==55){return{error:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_logical_AND_access_chains)}}var R=getFinalExpressionInChain(N.right);if(!R)return{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_convertible_access_expression)};var j=getOccurrencesInExpression(R.expression,N.left);return j?{finalExpression:R,occurrences:j,expression:N}:{error:E.getLocaleSpecificMessage(E.Diagnostics.Could_not_find_matching_access_expressions)}}function getOccurrencesInExpression(N,R){var j=[];while(E.isBinaryExpression(R)&&R.operatorToken.kind===55){var $=getMatchingStart(E.skipParentheses(N),E.skipParentheses(R.right));if(!$){break}j.push($);N=$;R=R.left}var q=getMatchingStart(N,R);if(q){j.push(q)}return j.length>0?j:undefined}function getMatchingStart(N,R){if(!E.isIdentifier(R)&&!E.isPropertyAccessExpression(R)&&!E.isElementAccessExpression(R)){return undefined}return chainStartsWith(N,R)?R:undefined}function chainStartsWith(N,R){while(E.isCallExpression(N)||E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)){if(getTextOfChainNode(N)===getTextOfChainNode(R))break;N=N.expression}while(E.isPropertyAccessExpression(N)&&E.isPropertyAccessExpression(R)||E.isElementAccessExpression(N)&&E.isElementAccessExpression(R)){if(getTextOfChainNode(N)!==getTextOfChainNode(R))return false;N=N.expression;R=R.expression}return E.isIdentifier(N)&&E.isIdentifier(R)&&N.getText()===R.getText()}function getTextOfChainNode(N){if(E.isIdentifier(N)||E.isStringOrNumericLiteralLike(N)){return N.getText()}if(E.isPropertyAccessExpression(N)){return getTextOfChainNode(N.name)}if(E.isElementAccessExpression(N)){return getTextOfChainNode(N.argumentExpression)}return undefined}function getValidParentNodeContainingSpan(E,N){while(E.parent){if(isValidExpressionOrStatement(E)&&N.length!==0&&E.end>=N.start+N.length){return E}E=E.parent}return undefined}function getValidParentNodeOfEmptySpan(E){while(E.parent){if(isValidExpressionOrStatement(E)&&!isValidExpressionOrStatement(E.parent)){return E}E=E.parent}return undefined}function getExpression(N){if(isValidExpression(N)){return N}if(E.isVariableStatement(N)){var R=E.getSingleVariableOfVariableStatement(N);var j=R===null||R===void 0?void 0:R.initializer;return j&&isValidExpression(j)?j:undefined}return N.expression&&isValidExpression(N.expression)?N.expression:undefined}function getFinalExpressionInChain(N){N=E.skipParentheses(N);if(E.isBinaryExpression(N)){return getFinalExpressionInChain(N.left)}else if((E.isPropertyAccessExpression(N)||E.isElementAccessExpression(N)||E.isCallExpression(N))&&!E.isOptionalChain(N)){return N}return undefined}function convertOccurrences(N,R,j){if(E.isPropertyAccessExpression(R)||E.isElementAccessExpression(R)||E.isCallExpression(R)){var $=convertOccurrences(N,R.expression,j);var q=j.length>0?j[j.length-1]:undefined;var G=(q===null||q===void 0?void 0:q.getText())===R.expression.getText();if(G)j.pop();if(E.isCallExpression(R)){return G?E.factory.createCallChain($,E.factory.createToken(28),R.typeArguments,R.arguments):E.factory.createCallChain($,R.questionDotToken,R.typeArguments,R.arguments)}else if(E.isPropertyAccessExpression(R)){return G?E.factory.createPropertyAccessChain($,E.factory.createToken(28),R.name):E.factory.createPropertyAccessChain($,R.questionDotToken,R.name)}else if(E.isElementAccessExpression(R)){return G?E.factory.createElementAccessChain($,E.factory.createToken(28),R.argumentExpression):E.factory.createElementAccessChain($,R.questionDotToken,R.argumentExpression)}}return R}function doChange(N,R,j,$,q){var G=$.finalExpression,ie=$.occurrences,ae=$.expression;var ce=ie[ie.length-1];var le=convertOccurrences(R,G,ie);if(le&&(E.isPropertyAccessExpression(le)||E.isElementAccessExpression(le)||E.isCallExpression(le))){if(E.isBinaryExpression(ae)){j.replaceNodeRange(N,ce,G,le)}else if(E.isConditionalExpression(ae)){j.replaceNode(N,ae,E.factory.createBinaryExpression(le,E.factory.createToken(60),ae.whenFalse))}}}})(R=N.convertToOptionalChainExpression||(N.convertToOptionalChainExpression={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert overload list to single signature";var $=E.Diagnostics.Convert_overload_list_to_single_signature.message;var q={name:j,description:$,kind:"refactor.rewrite.function.overloadList"};N.registerRefactor(j,{kinds:[q.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,G=N.startPosition,ie=N.program;var ae=getConvertableOverloadListAtPosition(R,G,ie);if(!ae)return E.emptyArray;return[{name:j,description:$,actions:[q]}]}function getEditsForAction(N){var R=N.file,j=N.startPosition,$=N.program;var q=getConvertableOverloadListAtPosition(R,j,$);if(!q)return undefined;var G=$.getTypeChecker();var ie=q[q.length-1];var ae=ie;switch(ie.kind){case 166:{ae=E.factory.updateMethodSignature(ie,ie.modifiers,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 167:{ae=E.factory.updateMethodDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.questionToken,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}case 172:{ae=E.factory.updateCallSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 169:{ae=E.factory.updateConstructorDeclaration(ie,ie.decorators,ie.modifiers,getNewParametersForCombinedSignature(q),ie.body);break}case 173:{ae=E.factory.updateConstructSignature(ie,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type);break}case 254:{ae=E.factory.updateFunctionDeclaration(ie,ie.decorators,ie.modifiers,ie.asteriskToken,ie.name,ie.typeParameters,getNewParametersForCombinedSignature(q),ie.type,ie.body);break}default:return E.Debug.failBadSyntaxKind(ie,"Unhandled signature kind in overload list conversion refactoring")}if(ae===ie){return}var ce=E.textChanges.ChangeTracker.with(N,(function(E){E.replaceNodeRange(R,q[0],q[q.length-1],ae)}));return{renameFilename:undefined,renameLocation:undefined,edits:ce};function getNewParametersForCombinedSignature(N){var R=N[N.length-1];if(E.isFunctionLikeDeclaration(R)&&R.body){N=N.slice(0,N.length-1)}return E.factory.createNodeArray([E.factory.createParameterDeclaration(undefined,undefined,E.factory.createToken(25),"args",undefined,E.factory.createUnionTypeNode(E.map(N,convertSignatureParametersToTuple)))])}function convertSignatureParametersToTuple(N){var R=E.map(N.parameters,convertParameterToNamedTupleMember);return E.setEmitFlags(E.factory.createTupleTypeNode(R),E.some(R,(function(N){return!!E.length(E.getSyntheticLeadingComments(N))}))?0:1)}function convertParameterToNamedTupleMember(N){E.Debug.assert(E.isIdentifier(N.name));var R=E.setTextRange(E.factory.createNamedTupleMember(N.dotDotDotToken,N.name,N.questionToken,N.type||E.factory.createKeywordTypeNode(129)),N);var j=N.symbol&&N.symbol.getDocumentationComment(G);if(j){var $=E.displayPartsToString(j);if($.length){E.setSyntheticLeadingComments(R,[{text:"*\n"+$.split("\n").map((function(E){return" * "+E})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:true,hasLeadingNewline:true}])}}return R}}function isConvertableSignatureDeclaration(E){switch(E.kind){case 166:case 167:case 172:case 169:case 173:case 254:return true}return false}function getConvertableOverloadListAtPosition(N,R,j){var $=E.getTokenAtPosition(N,R);var q=E.findAncestor($,isConvertableSignatureDeclaration);if(!q){return}var G=j.getTypeChecker();var ie=q.symbol;if(!ie){return}var ae=ie.declarations;if(E.length(ae)<=1){return}if(!E.every(ae,(function(R){return E.getSourceFileOfNode(R)===N}))){return}if(!isConvertableSignatureDeclaration(ae[0])){return}var ce=ae[0].kind;if(!E.every(ae,(function(E){return E.kind===ce}))){return}var le=ae;if(E.some(le,(function(N){return!!N.typeParameters||E.some(N.parameters,(function(N){return!!N.decorators||!!N.modifiers||!E.isIdentifier(N.name)}))}))){return}var _e=E.mapDefined(le,(function(E){return G.getSignatureFromDeclaration(E)}));if(E.length(_e)!==E.length(ae)){return}var Ee=G.getReturnTypeOfSignature(_e[0]);if(!E.every(_e,(function(E){return G.getReturnTypeOfSignature(E)===Ee}))){return}return le}})(R=N.addOrRemoveBracesToArrowFunction||(N.addOrRemoveBracesToArrowFunction={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Extract Symbol";var q={name:"Extract Constant",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_constant),kind:"refactor.extract.constant"};var G={name:"Extract Function",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_function),kind:"refactor.extract.function"};N.registerRefactor(j,{kinds:[q.kind,G.kind],getAvailableActions:getAvailableActions,getEditsForAction:getEditsForAction});function getAvailableActions(R){var ie=R.kind;var ae=getRangeToExtract(R.file,E.getRefactorContextSpan(R),R.triggerReason==="invoked");var ce=ae.targetRange;if(ce===undefined){if(!ae.errors||ae.errors.length===0||!R.preferences.provideRefactorNotApplicableReason){return E.emptyArray}var le=[];if(N.refactorKindBeginsWith(G.kind,ie)){le.push({name:j,description:G.description,actions:[$($({},G),{notApplicableReason:getStringError(ae.errors)})]})}if(N.refactorKindBeginsWith(q.kind,ie)){le.push({name:j,description:q.description,actions:[$($({},q),{notApplicableReason:getStringError(ae.errors)})]})}return le}var _e=getPossibleExtractions(ce,R);if(_e===undefined){return E.emptyArray}var Ee=[];var Te=new E.Map;var we;var Ie=[];var Ne=new E.Map;var Me;var Le=0;for(var Be=0,je=_e;Be=R.start+R.length){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractSuper));return true}}else{we|=ae.UsesThis}break;case 212:E.forEachChild(N,(function check(N){if(E.isThis(N)){we|=ae.UsesThis}else if(E.isClassLike(N)||E.isFunctionLike(N)&&!E.isArrowFunction(N)){return false}else{E.forEachChild(N,check)}}));case 255:case 254:if(E.isSourceFile(N.parent)&&N.parent.externalModuleIndicator===undefined){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.functionWillNotBeVisibleInTheNewScope))}case 224:case 211:case 167:case 169:case 170:case 171:return false}var le=G;switch(N.kind){case 237:G=0;break;case 250:G=0;break;case 233:if(N.parent&&N.parent.kind===250&&N.parent.finallyBlock===N){G=4}break;case 288:case 287:G|=1;break;default:if(E.isIterationStatement(N,false)){G|=1|2}break}switch(N.kind){case 190:case 108:we|=ae.UsesThis;break;case 248:{var _e=N.label;(ce||(ce=[])).push(_e.escapedText);E.forEachChild(N,visit);ce.pop();break}case 244:case 243:{var _e=N.label;if(_e){if(!E.contains(ce,_e.escapedText)){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange))}}else{if(!(G&(N.kind===244?1:2))){(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalBreakOrContinueStatements))}}break}case 216:we|=ae.IsAsyncFunction;break;case 222:we|=ae.IsGenerator;break;case 245:if(G&4){we|=ae.HasReturn}else{(q||(q=[])).push(E.createDiagnosticForNode(N,ie.cannotExtractRangeContainingConditionalReturnStatement))}break;default:E.forEachChild(N,visit);break}G=le}}}R.getRangeToExtract=getRangeToExtract;function getAdjustedSpanFromNodes(E,N,R){var j=E.getStart(R);var $=N.getEnd();if(R.text.charCodeAt($)===59){$++}return{start:j,length:$-j}}function getStatementOrExpressionRange(N){if(E.isStatement(N)){return[N]}else if(E.isExpressionNode(N)){return E.isExpressionStatement(N.parent)?[N.parent]:N}return undefined}function isScope(N){return E.isFunctionLikeDeclaration(N)||E.isSourceFile(N)||E.isModuleBlock(N)||E.isClassLike(N)}function collectEnclosingScopes(N){var R=isReadonlyArray(N.range)?E.first(N.range):N.range;if(N.facts&ae.UsesThis){var j=E.getContainingClass(R);if(j){var $=E.findAncestor(R,E.isFunctionLikeDeclaration);return $?[$,j]:[j]}}var q=[];while(true){R=R.parent;if(R.kind===162){R=E.findAncestor(R,(function(N){return E.isFunctionLikeDeclaration(N)})).parent}if(isScope(R)){q.push(R);if(R.kind===300){return q}}}}function getFunctionExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.functionErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");R.cancellationToken.throwIfCancellationRequested();return extractFunctionInScope(ie,q[j],ae[j],le,N,R)}function getConstantExtractionAtIndex(N,R,j){var $=getPossibleExtractionsWorker(N,R),q=$.scopes,G=$.readsAndWrites,ie=G.target,ae=G.usagesPerScope,ce=G.constantErrorsPerScope,le=G.exposedVariableDeclarations;E.Debug.assert(!ce[j].length,"The extraction went missing? How?");E.Debug.assert(le.length===0,"Extract constant accepted a range containing a variable declaration?");R.cancellationToken.throwIfCancellationRequested();var _e=E.isExpression(ie)?ie:ie.statements[0].expression;return extractConstantInScope(_e,q[j],ae[j],N.facts,R)}function getPossibleExtractions(N,R){var j=getPossibleExtractionsWorker(N,R),$=j.scopes,q=j.readsAndWrites,G=q.functionErrorsPerScope,ie=q.constantErrorsPerScope;var ae=$.map((function(N,R){var j=getDescriptionForFunctionInScope(N);var $=getDescriptionForConstantInScope(N);var q=E.isFunctionLikeDeclaration(N)?getDescriptionForFunctionLikeDeclaration(N):E.isClassLike(N)?getDescriptionForClassLikeDeclaration(N):getDescriptionForModuleLikeDeclaration(N);var ae;var ce;if(q===1){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"global"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"global"])}else if(q===0){ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[j,"module"]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1_scope),[$,"module"])}else{ae=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[j,q]);ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_1),[$,q])}if(R===0&&!E.isClassLike(N)){ce=E.formatStringFromArgs(E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_0_in_enclosing_scope),[$])}return{functionExtraction:{description:ae,errors:G[R]},constantExtraction:{description:ce,errors:ie[R]}}}));return ae}function getPossibleExtractionsWorker(E,N){var R=N.file;var j=collectEnclosingScopes(E);var $=getEnclosingTextRange(E,R);var q=collectReadsAndWrites(E,j,$,R,N.program.getTypeChecker(),N.cancellationToken);return{scopes:j,readsAndWrites:q}}function getDescriptionForFunctionInScope(N){return E.isFunctionLikeDeclaration(N)?"inner function":E.isClassLike(N)?"method":"function"}function getDescriptionForConstantInScope(N){return E.isClassLike(N)?"readonly field":"constant"}function getDescriptionForFunctionLikeDeclaration(N){switch(N.kind){case 169:return"constructor";case 211:case 254:return N.name?"function '"+N.name.text+"'":E.ANONYMOUS;case 212:return"arrow function";case 167:return"method '"+N.name.getText()+"'";case 170:return"'get "+N.name.getText()+"'";case 171:return"'set "+N.name.getText()+"'";default:throw E.Debug.assertNever(N,"Unexpected scope kind "+N.kind)}}function getDescriptionForClassLikeDeclaration(E){return E.kind===255?E.name?"class '"+E.name.text+"'":"anonymous class declaration":E.name?"class expression '"+E.name.text+"'":"anonymous class expression"}function getDescriptionForModuleLikeDeclaration(E){return E.kind===260?"namespace '"+E.parent.name.getText()+"'":E.externalModuleIndicator?0:1}var ce;(function(E){E[E["Module"]=0]="Module";E[E["Global"]=1]="Global"})(ce||(ce={}));function extractFunctionInScope(N,R,j,$,q,G){var ie=j.usages,ce=j.typeParameterUsages,le=j.substitutions;var _e=G.program.getTypeChecker();var Ee=E.getEmitScriptTarget(G.program.getCompilerOptions());var Te=E.codefix.createImportAdder(G.file,G.program,G.preferences,G.host);var we=R.getSourceFile();var Ie=E.getUniqueName(E.isClassLike(R)?"newMethod":"newFunction",we);var Ne=E.isInJSFile(R);var Me=E.factory.createIdentifier(Ie);var Le;var Be=[];var je=[];var Ue;ie.forEach((function(N,j){var $;if(!Ne){var q=_e.getTypeOfSymbolAtLocation(N.symbol,N.node);q=_e.getBaseTypeOfLiteralType(q);$=E.codefix.typeToAutoImportableTypeNode(_e,Te,q,R,Ee,1)}var G=E.factory.createParameterDeclaration(undefined,undefined,undefined,j,undefined,$);Be.push(G);if(N.usage===2){(Ue||(Ue=[])).push(N)}je.push(E.factory.createIdentifier(j))}));var ze=E.arrayFrom(ce.values()).map((function(E){return{type:E,declaration:getFirstDeclaration(E)}}));var We=ze.sort(compareTypesByDeclarationOrder);var Je=We.length===0?undefined:We.map((function(E){return E.declaration}));var Ve=Je!==undefined?Je.map((function(N){return E.factory.createTypeReferenceNode(N.name,undefined)})):undefined;if(E.isExpression(N)&&!Ne){var qe=_e.getContextualType(N);Le=_e.typeToTypeNode(qe,R,1)}var He=transformFunctionBody(N,$,Ue,le,!!(q.facts&ae.HasReturn)),Ge=He.body,Ke=He.returnValueProperty;E.suppressLeadingAndTrailingTrivia(Ge);var Qe;if(E.isClassLike(R)){var Xe=Ne?[]:[E.factory.createModifier(121)];if(q.facts&ae.InStaticRegion){Xe.push(E.factory.createModifier(124))}if(q.facts&ae.IsAsyncFunction){Xe.push(E.factory.createModifier(130))}Qe=E.factory.createMethodDeclaration(undefined,Xe.length?Xe:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,undefined,Je,Be,Le,Ge)}else{Qe=E.factory.createFunctionDeclaration(undefined,q.facts&ae.IsAsyncFunction?[E.factory.createToken(130)]:undefined,q.facts&ae.IsGenerator?E.factory.createToken(41):undefined,Me,Je,Be,Le,Ge)}var Ye=E.textChanges.ChangeTracker.fromContext(G);var Ze=(isReadonlyArray(q.range)?E.last(q.range):q.range).end;var et=getNodeToInsertFunctionBefore(Ze,R);if(et){Ye.insertNodeBefore(G.file,et,Qe,true)}else{Ye.insertNodeAtEndOfScope(G.file,R,Qe)}Te.writeFixes(Ye);var tt=[];var rt=getCalledExpression(R,q,Ie);var nt=E.factory.createCallExpression(rt,Ve,je);if(q.facts&ae.IsGenerator){nt=E.factory.createYieldExpression(E.factory.createToken(41),nt)}if(q.facts&ae.IsAsyncFunction){nt=E.factory.createAwaitExpression(nt)}if(isInJSXContent(N)){nt=E.factory.createJsxExpression(undefined,nt)}if($.length&&!Ue){E.Debug.assert(!Ke,"Expected no returnValueProperty");E.Debug.assert(!(q.facts&ae.HasReturn),"Expected RangeFacts.HasReturn flag to be unset");if($.length===1){var it=$[0];tt.push(E.factory.createVariableStatement(undefined,E.factory.createVariableDeclarationList([E.factory.createVariableDeclaration(E.getSynthesizedDeepClone(it.name),undefined,E.getSynthesizedDeepClone(it.type),nt)],it.parent.flags)))}else{var ot=[];var st=[];var ct=$[0].parent.flags;var ut=false;for(var dt=0,pt=$;dt1){return N}j=N;N=N.parent}}function getFirstDeclaration(E){var N;var R=E.symbol;if(R&&R.declarations){for(var j=0,$=R.declarations;j<$.length;j++){var q=$[j];if(N===undefined||q.pos0;if(E.isBlock(N)&&!G&&$.size===0){return{body:E.factory.createBlock(N.statements,true),returnValueProperty:undefined}}var ie;var ae=false;var ce=E.factory.createNodeArray(E.isBlock(N)?N.statements.slice(0):[E.isStatement(N)?N:E.factory.createReturnStatement(N)]);if(G||$.size){var le=E.visitNodes(ce,visitor).slice();if(G&&!q&&E.isStatement(N)){var _e=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(_e.length===1){le.push(E.factory.createReturnStatement(_e[0].name))}else{le.push(E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(_e)))}}return{body:E.factory.createBlock(le,true),returnValueProperty:ie}}else{return{body:E.factory.createBlock(ce,true),returnValueProperty:undefined}}function visitor(N){if(!ae&&E.isReturnStatement(N)&&G){var q=getPropertyAssignmentsForWritesAndVariableDeclarations(R,j);if(N.expression){if(!ie){ie="__return"}q.unshift(E.factory.createPropertyAssignment(ie,E.visitNode(N.expression,visitor)))}if(q.length===1){return E.factory.createReturnStatement(q[0].name)}else{return E.factory.createReturnStatement(E.factory.createObjectLiteralExpression(q))}}else{var ce=ae;ae=ae||E.isFunctionLikeDeclaration(N)||E.isClassLike(N);var le=$.get(E.getNodeId(N).toString());var _e=le?E.getSynthesizedDeepClone(le):E.visitEachChild(N,visitor,E.nullTransformationContext);ae=ce;return _e}}}function transformConstantInitializer(N,R){return R.size?visitor(N):N;function visitor(N){var j=R.get(E.getNodeId(N).toString());return j?E.getSynthesizedDeepClone(j):E.visitEachChild(N,visitor,E.nullTransformationContext)}}function getStatementsOrClassElements(N){if(E.isFunctionLikeDeclaration(N)){var R=N.body;if(E.isBlock(R)){return R.statements}}else if(E.isModuleBlock(N)||E.isSourceFile(N)){return N.statements}else if(E.isClassLike(N)){return N.members}else{E.assertType(N)}return E.emptyArray}function getNodeToInsertFunctionBefore(N,R){return E.find(getStatementsOrClassElements(R),(function(R){return R.pos>=N&&E.isFunctionLikeDeclaration(R)&&!E.isConstructorDeclaration(R)}))}function getNodeToInsertPropertyBefore(N,R){var j=R.members;E.Debug.assert(j.length>0,"Found no members");var $;var q=true;for(var G=0,ie=j;GN){return $||j[0]}if(q&&!E.isPropertyDeclaration(ae)){if($!==undefined){return ae}q=false}$=ae}if($===undefined)return E.Debug.fail();return $}function getNodeToInsertConstantBefore(N,R){E.Debug.assert(!E.isClassLike(R));var j;for(var $=N;$!==R;$=$.parent){if(isScope($)){j=$}}for(var $=(j||N).parent;;$=$.parent){if(isBlockLike($)){var q=void 0;for(var G=0,ie=$.statements;GN.pos){break}q=ae}if(!q&&E.isCaseClause($)){E.Debug.assert(E.isSwitchStatement($.parent.parent),"Grandparent isn't a switch statement");return $.parent.parent}return E.Debug.checkDefined(q,"prevStatement failed to get set")}E.Debug.assert($!==R,"Didn't encounter a block-like before encountering scope")}}function getPropertyAssignmentsForWritesAndVariableDeclarations(N,R){var j=E.map(N,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));var $=E.map(R,(function(N){return E.factory.createShorthandPropertyAssignment(N.symbol.name)}));return j===undefined?$:$===undefined?j:j.concat($)}function isReadonlyArray(N){return E.isArray(N)}function getEnclosingTextRange(N,R){return isReadonlyArray(N.range)?{pos:E.first(N.range).getStart(R),end:E.last(N.range).getEnd()}:N.range}var le;(function(E){E[E["Read"]=1]="Read";E[E["Write"]=2]="Write"})(le||(le={}));function collectReadsAndWrites(N,R,j,$,q,G){var ce=new E.Map;var le=[];var _e=[];var Ee=[];var Te=[];var we=[];var Ie=new E.Map;var Ne=[];var Me;var Le=!isReadonlyArray(N.range)?N.range:N.range.length===1&&E.isExpressionStatement(N.range[0])?N.range[0].expression:undefined;var Be;if(Le===undefined){var je=N.range;var Ue=E.first(je).getStart();var ze=E.last(je).end;Be=E.createFileDiagnostic($,Ue,ze-Ue,ie.expressionExpected)}else if(q.getTypeAtLocation(Le).flags&(16384|131072)){Be=E.createDiagnosticForNode(Le,ie.uselessConstantType)}for(var We=0,Je=R;We0){var Ye=new E.Map;var Ze=0;for(var et=Ke;et!==undefined&&Ze0&&(j.usages.size>0||j.typeParameterUsages.size>0)){var $=isReadonlyArray(N.range)?N.range[0]:N.range;Te[R].push(E.createDiagnosticForNode($,ie.cannotAccessVariablesFromNestedScopes))}var q=false;var G;le[R].usages.forEach((function(N){if(N.usage===2){q=true;if(N.symbol.flags&106500&&N.symbol.valueDeclaration&&E.hasEffectiveModifier(N.symbol.valueDeclaration,64)){G=N.symbol.valueDeclaration}}}));E.Debug.assert(isReadonlyArray(N.range)||Ne.length===0,"No variable declarations expected if something was extracted");if(q&&!isReadonlyArray(N.range)){var ae=E.createDiagnosticForNode(N.range,ie.cannotWriteInExpression);Ee[R].push(ae);Te[R].push(ae)}else if(G&&R>0){var ae=E.createDiagnosticForNode(G,ie.cannotExtractReadonlyPropertyInitializerOutsideConstructor);Ee[R].push(ae);Te[R].push(ae)}else if(Me){var ae=E.createDiagnosticForNode(Me,ie.cannotExtractExportedEntity);Ee[R].push(ae);Te[R].push(ae)}};for(var st=0;st=ce){return Ne}He.set(Ne,ce);if(Me){for(var Le=0,Be=le;Le=0){return}var j=E.isIdentifier(R)?getSymbolReferencedByIdentifier(R):q.getSymbolAtLocation(R);if(j){var $=E.find(we,(function(E){return E.symbol===j}));if($){if(E.isVariableDeclaration($)){var G=$.symbol.id.toString();if(!Ie.has(G)){Ne.push($);Ie.set(G,true)}}else{Me=Me||$}}}E.forEachChild(R,checkForUsedDeclarations)}function getSymbolReferencedByIdentifier(N){return N.parent&&E.isShorthandPropertyAssignment(N.parent)&&N.parent.name===N?q.getShorthandAssignmentValueSymbol(N.parent):q.getSymbolAtLocation(N)}function tryReplaceWithQualifiedNameOrPropertyAccess(N,R,j){if(!N){return undefined}var $=N.getDeclarations();if($&&$.some((function(E){return E.parent===R}))){return E.factory.createIdentifier(N.name)}var q=tryReplaceWithQualifiedNameOrPropertyAccess(N.parent,R,j);if(q===undefined){return undefined}return j?E.factory.createQualifiedName(q,E.factory.createIdentifier(N.name)):E.factory.createPropertyAccessExpression(q,N.name)}}function getExtractableParent(N){return E.findAncestor(N,(function(N){return N.parent&&isExtractableExpression(N)&&!E.isBinaryExpression(N.parent)}))}function isExtractableExpression(E){var N=E.parent;switch(N.kind){case 294:return false}switch(E.kind){case 10:return N.kind!==264&&N.kind!==268;case 223:case 199:case 201:return false;case 79:return N.kind!==201&&N.kind!==268&&N.kind!==273}return true}function isBlockLike(E){switch(E.kind){case 233:case 300:case 260:case 287:return true;default:return false}}function isInJSXContent(N){return(E.isJsxElement(N)||E.isJsxSelfClosingElement(N)||E.isJsxFragment(N))&&(E.isJsxElement(N.parent)||E.isJsxFragment(N.parent))}})(R=N.extractSymbol||(N.extractSymbol={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R="Extract type";var j={name:"Extract to type alias",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_type_alias),kind:"refactor.extract.type"};var q={name:"Extract to interface",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_interface),kind:"refactor.extract.interface"};var G={name:"Extract to typedef",description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_to_typedef),kind:"refactor.extract.typedef"};N.registerRefactor(R,{kinds:[j.kind,q.kind,G.kind],getAvailableActions:function(ie){var ae=getRangeToExtract(ie,ie.triggerReason==="invoked");if(!ae)return E.emptyArray;if(!N.isRefactorErrorInfo(ae)){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:ae.isJS?[G]:E.append([j],ae.typeElements&&q)}]}if(ie.preferences.provideRefactorNotApplicableReason){return[{name:R,description:E.getLocaleSpecificMessage(E.Diagnostics.Extract_type),actions:[$($({},G),{notApplicableReason:ae.error}),$($({},j),{notApplicableReason:ae.error}),$($({},q),{notApplicableReason:ae.error})]}]}return E.emptyArray},getEditsForAction:function(R,$){var ie=R.file;var ae=getRangeToExtract(R);E.Debug.assert(ae&&!N.isRefactorErrorInfo(ae),"Expected to find a range to extract");var ce=E.getUniqueName("NewType",ie);var le=E.textChanges.ChangeTracker.with(R,(function(N){switch($){case j.name:E.Debug.assert(!ae.isJS,"Invalid actionName/JS combo");return doTypeAliasChange(N,ie,ce,ae);case G.name:E.Debug.assert(ae.isJS,"Invalid actionName/JS combo");return doTypedefChange(N,ie,ce,ae);case q.name:E.Debug.assert(!ae.isJS&&!!ae.typeElements,"Invalid actionName/JS combo");return doInterfaceChange(N,ie,ce,ae);default:E.Debug.fail("Unexpected action name")}}));var _e=ie.fileName;var Ee=E.getRenameLocation(le,_e,ce,false);return{edits:le,renameFilename:_e,renameLocation:Ee}}});function getRangeToExtract(N,R){if(R===void 0){R=true}var j=N.file,$=N.startPosition;var q=E.isSourceFileJS(j);var G=E.getTokenAtPosition(j,$);var ie=E.createTextRangeFromSpan(E.getRefactorContextSpan(N));var ae=ie.pos===ie.end&&R;var ce=E.findAncestor(G,(function(N){return N.parent&&E.isTypeNode(N)&&!rangeContainsSkipTrivia(ie,N.parent,j)&&(ae||E.nodeOverlapsWithStartEnd(G,j,ie.pos,ie.end))}));if(!ce||!E.isTypeNode(ce))return{error:E.getLocaleSpecificMessage(E.Diagnostics.Selection_is_not_a_valid_type_node)};var le=N.program.getTypeChecker();var _e=E.Debug.checkDefined(E.findAncestor(ce,E.isStatement),"Should find a statement");var Ee=collectTypeParameters(le,ce,_e,j);if(!Ee)return{error:E.getLocaleSpecificMessage(E.Diagnostics.No_type_could_be_extracted_from_this_type_node)};var Te=flattenTypeLiteralNodeReference(le,ce);return{isJS:q,selection:ce,firstStatement:_e,typeParameters:Ee,typeElements:Te}}function flattenTypeLiteralNodeReference(N,R){if(!R)return undefined;if(E.isIntersectionTypeNode(R)){var j=[];var $=new E.Map;for(var q=0,G=R.types;qj.pos}));if(q===-1)return undefined;var G=$[q];if(E.isNamedDeclaration(G)&&G.name&&E.rangeContainsRange(G.name,j)){return{toMove:[$[q]],afterLast:$[q+1]}}if(j.pos>G.getStart(R))return undefined;var ie=E.findIndex($,(function(E){return E.end>j.end}),q);if(ie!==-1&&(ie===0||$[ie].getStart(R)=q&&E.every(N,(function(E){return isValidParameterDeclaration(E,R)}))}function isValidParameterDeclaration(N,R){if(E.isRestParameter(N)){var j=R.getTypeAtLocation(N);if(!R.isArrayType(j)&&!R.isTupleType(j))return false}return!N.modifiers&&!N.decorators&&E.isIdentifier(N.name)}function isValidVariableDeclaration(N){return E.isVariableDeclaration(N)&&E.isVarConst(N)&&E.isIdentifier(N.name)&&!N.type}function hasThisParameter(N){return N.length>0&&E.isThis(N[0].name)}function getRefactorableParametersLength(E){if(hasThisParameter(E)){return E.length-1}return E.length}function getRefactorableParameters(N){if(hasThisParameter(N)){N=E.factory.createNodeArray(N.slice(1),N.hasTrailingComma)}return N}function createPropertyOrShorthandAssignment(N,R){if(E.isIdentifier(R)&&E.getTextOfIdentifierOrLiteral(R)===N){return E.factory.createShorthandPropertyAssignment(N)}return E.factory.createPropertyAssignment(N,R)}function createNewArgument(N,R){var j=getRefactorableParameters(N.parameters);var $=E.isRestParameter(E.last(j));var q=$?R.slice(0,j.length-1):R;var G=E.map(q,(function(N,R){var $=getParameterName(j[R]);var q=createPropertyOrShorthandAssignment($,N);E.suppressLeadingAndTrailingTrivia(q.name);if(E.isPropertyAssignment(q))E.suppressLeadingAndTrailingTrivia(q.initializer);E.copyComments(N,q);return q}));if($&&R.length>=j.length){var ie=R.slice(j.length-1);var ae=E.factory.createPropertyAssignment(getParameterName(E.last(j)),E.factory.createArrayLiteralExpression(ie));G.push(ae)}var ce=E.factory.createObjectLiteralExpression(G,false);return ce}function createNewParameters(N,R,j){var $=R.getTypeChecker();var q=getRefactorableParameters(N.parameters);var G=E.map(q,createBindingElementFromParameterDeclaration);var ie=E.factory.createObjectBindingPattern(G);var ae=createParameterTypeNode(q);var ce;if(E.every(q,isOptionalParameter)){ce=E.factory.createObjectLiteralExpression()}var le=E.factory.createParameterDeclaration(undefined,undefined,undefined,ie,undefined,ae,ce);if(hasThisParameter(N.parameters)){var _e=N.parameters[0];var Ee=E.factory.createParameterDeclaration(undefined,undefined,undefined,_e.name,undefined,_e.type);E.suppressLeadingAndTrailingTrivia(Ee.name);E.copyComments(_e.name,Ee.name);if(_e.type){E.suppressLeadingAndTrailingTrivia(Ee.type);E.copyComments(_e.type,Ee.type)}return E.factory.createNodeArray([Ee,le])}return E.factory.createNodeArray([le]);function createBindingElementFromParameterDeclaration(N){var R=E.factory.createBindingElement(undefined,undefined,getParameterName(N),E.isRestParameter(N)&&isOptionalParameter(N)?E.factory.createArrayLiteralExpression():N.initializer);E.suppressLeadingAndTrailingTrivia(R);if(N.initializer&&R.initializer){E.copyComments(N.initializer,R.initializer)}return R}function createParameterTypeNode(N){var R=E.map(N,createPropertySignatureFromParameterDeclaration);var j=E.addEmitFlags(E.factory.createTypeLiteralNode(R),1);return j}function createPropertySignatureFromParameterDeclaration(N){var R=N.type;if(!R&&(N.initializer||E.isRestParameter(N))){R=getTypeNode(N)}var j=E.factory.createPropertySignature(undefined,getParameterName(N),isOptionalParameter(N)?E.factory.createToken(57):N.questionToken,R);E.suppressLeadingAndTrailingTrivia(j);E.copyComments(N.name,j.name);if(N.type&&j.type){E.copyComments(N.type,j.type)}return j}function getTypeNode(N){var q=$.getTypeAtLocation(N);return E.getTypeNodeIfAccessible(q,N,R,j)}function isOptionalParameter(N){if(E.isRestParameter(N)){var R=$.getTypeAtLocation(N);return!$.isTupleType(R)}return $.isOptionalParameter(N)}}function getParameterName(N){return E.getTextOfIdentifierOrLiteral(N.name)}function getClassNames(N){switch(N.parent.kind){case 255:var R=N.parent;if(R.name)return[R.name];var j=E.Debug.checkDefined(E.findModifier(R,88),"Nameless class declaration should be a default export");return[j];case 224:var $=N.parent;var q=N.parent.parent;var G=$.name;if(G)return[G,q.name];return[q.name]}}function getFunctionNames(N){switch(N.kind){case 254:if(N.name)return[N.name];var R=E.Debug.checkDefined(E.findModifier(N,88),"Nameless function declaration should be a default export");return[R];case 167:return[N.name];case 169:var j=E.Debug.checkDefined(E.findChildOfKind(N,133,N.getSourceFile()),"Constructor declaration should have constructor keyword");if(N.parent.kind===224){var $=N.parent.parent;return[$.name,j]}return[j];case 212:return[N.parent.name];case 211:if(N.name)return[N.name,N.parent.name];return[N.parent.name];default:return E.Debug.assertNever(N,"Unexpected function declaration kind "+N.kind)}}})(R=N.convertParamsToDestructuredObject||(N.convertParamsToDestructuredObject={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){var N;(function(N){var R;(function(R){var j="Convert to template string";var q=E.getLocaleSpecificMessage(E.Diagnostics.Convert_to_template_string);var G={name:j,description:q,kind:"refactor.rewrite.string"};N.registerRefactor(j,{kinds:[G.kind],getEditsForAction:getEditsForAction,getAvailableActions:getAvailableActions});function getAvailableActions(N){var R=N.file,ie=N.startPosition;var ae=getNodeOrParentOfParentheses(R,ie);var ce=getParentBinaryExpression(ae);var le={name:j,description:q,actions:[]};if(E.isBinaryExpression(ce)&&treeToArray(ce).isValidConcatenation){le.actions.push(G);return[le]}else if(N.preferences.provideRefactorNotApplicableReason){le.actions.push($($({},G),{notApplicableReason:E.getLocaleSpecificMessage(E.Diagnostics.Can_only_convert_string_concatenation)}));return[le]}return E.emptyArray}function getNodeOrParentOfParentheses(N,R){var j=E.getTokenAtPosition(N,R);var $=getParentBinaryExpression(j);var q=!treeToArray($).isValidConcatenation;if(q&&E.isParenthesizedExpression($.parent)&&E.isBinaryExpression($.parent.parent)){return $.parent.parent}return j}function getEditsForAction(N,R){var j=N.file,$=N.startPosition;var G=getNodeOrParentOfParentheses(j,$);switch(R){case q:return{edits:getEditsForToTemplateLiteral(N,G)};default:return E.Debug.fail("invalid action")}}function getEditsForToTemplateLiteral(N,R){var j=getParentBinaryExpression(R);var $=N.file;var q=nodesToTemplate(treeToArray(j),$);var G=E.getTrailingCommentRanges($.text,j.end);if(G){var ie=G[G.length-1];var ae={pos:G[0].pos,end:ie.end};return E.textChanges.ChangeTracker.with(N,(function(E){E.deleteRange($,ae);E.replaceNode($,j,q)}))}else{return E.textChanges.ChangeTracker.with(N,(function(E){return E.replaceNode($,j,q)}))}}function isNotEqualsOperator(E){return E.operatorToken.kind!==63}function getParentBinaryExpression(N){var R=E.findAncestor(N.parent,(function(N){switch(N.kind){case 204:case 205:return false;case 221:case 219:return!(E.isBinaryExpression(N.parent)&&isNotEqualsOperator(N.parent));default:return"quit"}}));return R||N}function treeToArray(N){var loop=function(N){if(!E.isBinaryExpression(N)){return{nodes:[N],operators:[],validOperators:true,hasString:E.isStringLiteral(N)||E.isNoSubstitutionTemplateLiteral(N)}}var R=loop(N.left),j=R.nodes,$=R.operators,q=R.hasString,G=R.validOperators;if(!(q||E.isStringLiteral(N.right)||E.isTemplateExpression(N.right))){return{nodes:[N],operators:[],hasString:false,validOperators:true}}var ie=N.operatorToken.kind===39;var ae=G&&ie;j.push(N.right);$.push(N.operatorToken);return{nodes:j,operators:$,hasString:true,validOperators:ae}};var R=loop(N),j=R.nodes,$=R.operators,q=R.validOperators,G=R.hasString;return{nodes:j,operators:$,isValidConcatenation:q&&G}}var copyTrailingOperatorComments=function(N,R){return function(j,$){if(j0){var G=$.shift();E.copyTrailingComments(N[G],q,R,3,false);j(G,q)}}};function escapeRawStringForTemplate(E){return E.replace(/\\.|[$`]/g,(function(E){return E[0]==="\\"?E:"\\"+E}))}function getRawTextOfTemplate(N){var R=E.isTemplateHead(N)||E.isTemplateMiddle(N)?-2:-1;return E.getTextOfNode(N).slice(1,R)}function concatConsecutiveString(N,R){var j=[];var $="",q="";while(N1){return N.getUnionType(E.mapDefined(j,(function(E){return E.getReturnType()})))}}var $=N.getSignatureFromDeclaration(R);if($){return N.getReturnTypeOfSignature($)}}})(R=N.inferFunctionReturnType||(N.inferFunctionReturnType={}))})(N=E.refactor||(E.refactor={}))})(ce||(ce={}));var ce;(function(E){E.servicesVersion="0.8";function createNode(R,j,$,q){var G=E.isNodeKind(R)?new N(R,j,$):R===79?new ce(79,j,$):R===80?new le(80,j,$):new ie(R,j,$);G.parent=q;G.flags=q.flags&25358336;return G}var N=function(){function NodeObject(E,N,R){this.pos=N;this.end=R;this.flags=0;this.modifierFlagsCache=0;this.transformFlags=0;this.parent=undefined;this.kind=E}NodeObject.prototype.assertHasRealPosition=function(N){E.Debug.assert(!E.positionIsSynthesized(this.pos)&&!E.positionIsSynthesized(this.end),N||"Node must have a real position for this operation")};NodeObject.prototype.getSourceFile=function(){return E.getSourceFileOfNode(this)};NodeObject.prototype.getStart=function(N,R){this.assertHasRealPosition();return E.getTokenPosOfNode(this,N,R)};NodeObject.prototype.getFullStart=function(){this.assertHasRealPosition();return this.pos};NodeObject.prototype.getEnd=function(){this.assertHasRealPosition();return this.end};NodeObject.prototype.getWidth=function(E){this.assertHasRealPosition();return this.getEnd()-this.getStart(E)};NodeObject.prototype.getFullWidth=function(){this.assertHasRealPosition();return this.end-this.pos};NodeObject.prototype.getLeadingTriviaWidth=function(E){this.assertHasRealPosition();return this.getStart(E)-this.pos};NodeObject.prototype.getFullText=function(E){this.assertHasRealPosition();return(E||this.getSourceFile()).text.substring(this.pos,this.end)};NodeObject.prototype.getText=function(E){this.assertHasRealPosition();if(!E){E=this.getSourceFile()}return E.text.substring(this.getStart(E),this.getEnd())};NodeObject.prototype.getChildCount=function(E){return this.getChildren(E).length};NodeObject.prototype.getChildAt=function(E,N){return this.getChildren(N)[E]};NodeObject.prototype.getChildren=function(E){this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine");return this._children||(this._children=createChildren(this,E))};NodeObject.prototype.getFirstToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);if(!R.length){return undefined}var j=E.find(R,(function(E){return E.kind<304||E.kind>342}));return j.kind<159?j:j.getFirstToken(N)};NodeObject.prototype.getLastToken=function(N){this.assertHasRealPosition();var R=this.getChildren(N);var j=E.lastOrUndefined(R);if(!j){return undefined}return j.kind<159?j:j.getLastToken(N)};NodeObject.prototype.forEachChild=function(N,R){return E.forEachChild(this,N,R)};return NodeObject}();function createChildren(N,R){if(!E.isNodeKind(N.kind)){return E.emptyArray}var j=[];if(E.isJSDocCommentContainingNode(N)){N.forEachChild((function(E){j.push(E)}));return j}E.scanner.setText((R||N.getSourceFile()).text);var $=N.pos;var processNode=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(E);$=E.end};var processNodes=function(E){addSyntheticNodes(j,$,E.pos,N);j.push(createSyntaxList(E,N));$=E.end};E.forEach(N.jsDoc,processNode);$=N.pos;N.forEachChild(processNode,processNodes);addSyntheticNodes(j,$,N.end,N);E.scanner.setText(undefined);return j}function addSyntheticNodes(N,R,j,$){E.scanner.setTextPos(R);while(R=R.length){j=this.getEnd()}if(!j){j=R[N+1]-1}var $=this.getFullText();return $[j]==="\n"&&$[j-1]==="\r"?j-1:j};SourceFileObject.prototype.getNamedDeclarations=function(){if(!this.namedDeclarations){this.namedDeclarations=this.computeNamedDeclarations()}return this.namedDeclarations};SourceFileObject.prototype.computeNamedDeclarations=function(){var N=E.createMultiMap();this.forEachChild(visit);return N;function addDeclaration(E){var R=getDeclarationName(E);if(R){N.add(R,E)}}function getDeclarations(E){var R=N.get(E);if(!R){N.set(E,R=[])}return R}function getDeclarationName(N){var R=E.getNonAssignedNameOfDeclaration(N);return R&&(E.isComputedPropertyName(R)&&E.isPropertyAccessExpression(R.expression)?R.expression.name.text:E.isPropertyName(R)?E.getNameFromPropertyName(R):undefined)}function visit(N){switch(N.kind){case 254:case 211:case 167:case 166:var R=N;var j=getDeclarationName(R);if(j){var $=getDeclarations(j);var q=E.lastOrUndefined($);if(q&&R.parent===q.parent&&R.symbol===q.symbol){if(R.body&&!q.body){$[$.length-1]=R}}else{$.push(R)}}E.forEachChild(N,visit);break;case 255:case 224:case 256:case 257:case 258:case 259:case 263:case 273:case 268:case 265:case 266:case 170:case 171:case 180:addDeclaration(N);E.forEachChild(N,visit);break;case 162:if(!E.hasSyntacticModifier(N,16476)){break}case 252:case 201:{var G=N;if(E.isBindingPattern(G.name)){E.forEachChild(G.name,visit);break}if(G.initializer){visit(G.initializer)}}case 294:case 165:case 164:addDeclaration(N);break;case 270:var ie=N;if(ie.exportClause){if(E.isNamedExports(ie.exportClause)){E.forEach(ie.exportClause.elements,visit)}else{visit(ie.exportClause.name)}}break;case 264:var ae=N.importClause;if(ae){if(ae.name){addDeclaration(ae.name)}if(ae.namedBindings){if(ae.namedBindings.kind===266){addDeclaration(ae.namedBindings)}else{E.forEach(ae.namedBindings.elements,visit)}}}break;case 219:if(E.getAssignmentDeclarationKind(N)!==0){addDeclaration(N)}default:E.forEachChild(N,visit)}}};return SourceFileObject}(N);var we=function(){function SourceMapSourceObject(E,N,R){this.fileName=E;this.text=N;this.skipTrivia=R}SourceMapSourceObject.prototype.getLineAndCharacterOfPosition=function(N){return E.getLineAndCharacterOfPosition(this,N)};return SourceMapSourceObject}();function getServicesObjectAllocator(){return{getNodeConstructor:function(){return N},getTokenConstructor:function(){return ie},getIdentifierConstructor:function(){return ce},getPrivateIdentifierConstructor:function(){return le},getSourceFileConstructor:function(){return Te},getSymbolConstructor:function(){return G},getTypeConstructor:function(){return _e},getSignatureConstructor:function(){return Ee},getSourceMapSourceConstructor:function(){return we}}}function toEditorSettings(N){var R=true;for(var j in N){if(E.hasProperty(N,j)&&!isCamelCase(j)){R=false;break}}if(R){return N}var $={};for(var j in N){if(E.hasProperty(N,j)){var q=isCamelCase(j)?j:j.charAt(0).toLowerCase()+j.substr(1);$[q]=N[j]}}return $}E.toEditorSettings=toEditorSettings;function isCamelCase(E){return!E.length||E.charAt(0)===E.charAt(0).toLowerCase()}function displayPartsToString(N){if(N){return E.map(N,(function(E){return E.text})).join("")}return""}E.displayPartsToString=displayPartsToString;function getDefaultCompilerOptions(){return{target:1,jsx:1}}E.getDefaultCompilerOptions=getDefaultCompilerOptions;function getSupportedCodeFixes(){return E.codefix.getSupportedErrorCodes()}E.getSupportedCodeFixes=getSupportedCodeFixes;var Ie=function(){function HostCache(N,R){this.host=N;this.currentDirectory=N.getCurrentDirectory();this.fileNameToEntry=new E.Map;var j=N.getScriptFileNames();for(var $=0,q=j;$=this.throttleWaitMilliseconds){this.lastCancellationCheckTime=N;return this.hostCancellationToken.isCancellationRequested()}return false};ThrottledCancellationToken.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested()){E.tracing===null||E.tracing===void 0?void 0:E.tracing.instant("session","cancellationThrown",{kind:"ThrottledCancellationToken"});throw new E.OperationCanceledException}};return ThrottledCancellationToken}();E.ThrottledCancellationToken=Be;var je=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints"];var Ue=j(j([],je,true),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],false);function createLanguageService(N,R,q){var G;if(R===void 0){R=E.createDocumentRegistry(N.useCaseSensitiveFileNames&&N.useCaseSensitiveFileNames(),N.getCurrentDirectory())}var ie;if(q===undefined){ie=E.LanguageServiceMode.Semantic}else if(typeof q==="boolean"){ie=q?E.LanguageServiceMode.Syntactic:E.LanguageServiceMode.Semantic}else{ie=q}var ae=new Ne(N);var ce;var le;var _e=0;var Ee=N.getCancellationToken?new Le(N.getCancellationToken()):Me;var Te=N.getCurrentDirectory();if(!E.localizedDiagnosticMessages&&N.getLocalizedDiagnosticMessages){E.setLocalizedDiagnosticMessages(N.getLocalizedDiagnosticMessages())}function log(E){if(N.log){N.log(E)}}var we=E.hostUsesCaseSensitiveFileNames(N);var Be=E.createGetCanonicalFileName(we);var ze=E.getSourceMapper({useCaseSensitiveFileNames:function(){return we},getCurrentDirectory:function(){return Te},getProgram:getProgram,fileExists:E.maybeBind(N,N.fileExists),readFile:E.maybeBind(N,N.readFile),getDocumentPositionMapper:E.maybeBind(N,N.getDocumentPositionMapper),getSourceFileLike:E.maybeBind(N,N.getSourceFileLike),log:log});function getValidSourceFile(E){var N=ce.getSourceFile(E);if(!N){var R=new Error("Could not find source file: '"+E+"'.");R.ProgramFiles=ce.getSourceFiles().map((function(E){return E.fileName}));throw R}return N}function synchronizeHostData(){var j,$,q;E.Debug.assert(ie!==E.LanguageServiceMode.Syntactic);if(N.getProjectVersion){var G=N.getProjectVersion();if(G){if(le===G&&!((j=N.hasChangedAutomaticTypeDirectiveNames)===null||j===void 0?void 0:j.call(N))){return}le=G}}var ae=N.getTypeRootsVersion?N.getTypeRootsVersion():0;if(_e!==ae){log("TypeRoots version has changed; provide new program");ce=undefined;_e=ae}var Ne=new Ie(N,Be);var Me=Ne.getRootFileNames();var Le=N.getCompilationSettings()||getDefaultCompilerOptions();var je=N.hasInvalidatedResolution||E.returnFalse;var Ue=E.maybeBind(N,N.hasChangedAutomaticTypeDirectiveNames);var We=($=N.getProjectReferences)===null||$===void 0?void 0:$.call(N);var Je;var Ve={useCaseSensitiveFileNames:we,fileExists:fileExists,readFile:readFile,readDirectory:readDirectory,trace:E.maybeBind(N,N.trace),getCurrentDirectory:function(){return Te},onUnRecoverableConfigFileDiagnostic:E.noop};if(E.isProgramUptoDate(ce,Me,Le,(function(E,R){return N.getScriptVersion(R)}),fileExists,je,Ue,getParsedCommandLine,We)){return}var qe={getSourceFile:getOrCreateSourceFile,getSourceFileByPath:getOrCreateSourceFileByPath,getCancellationToken:function(){return Ee},getCanonicalFileName:Be,useCaseSensitiveFileNames:function(){return we},getNewLine:function(){return E.getNewLineCharacter(Le,(function(){return E.getNewLineOrDefaultFromHost(N)}))},getDefaultLibFileName:function(E){return N.getDefaultLibFileName(E)},writeFile:E.noop,getCurrentDirectory:function(){return Te},fileExists:fileExists,readFile:readFile,getSymlinkCache:E.maybeBind(N,N.getSymlinkCache),realpath:E.maybeBind(N,N.realpath),directoryExists:function(R){return E.directoryProbablyExists(R,N)},getDirectories:function(E){return N.getDirectories?N.getDirectories(E):[]},readDirectory:readDirectory,onReleaseOldSourceFile:onReleaseOldSourceFile,onReleaseParsedCommandLine:onReleaseParsedCommandLine,hasInvalidatedResolution:je,hasChangedAutomaticTypeDirectiveNames:Ue,trace:Ve.trace,resolveModuleNames:E.maybeBind(N,N.resolveModuleNames),resolveTypeReferenceDirectives:E.maybeBind(N,N.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:E.maybeBind(N,N.useSourceOfProjectReferenceRedirect),getParsedCommandLine:getParsedCommandLine};(q=N.setCompilerHost)===null||q===void 0?void 0:q.call(N,qe);var He=R.getKeyForCompilationSettings(Le);var Ge={rootNames:Me,options:Le,host:qe,oldProgram:ce,projectReferences:We};ce=E.createProgram(Ge);Ne=undefined;Je=undefined;ze.clearCache();ce.getTypeChecker();return;function getParsedCommandLine(R){var j=E.toPath(R,Te,Be);var $=Je===null||Je===void 0?void 0:Je.get(j);if($!==undefined)return $||undefined;var q=N.getParsedCommandLine?N.getParsedCommandLine(R):getParsedCommandLineOfConfigFileUsingSourceFile(R);(Je||(Je=new E.Map)).set(j,q||false);return q}function getParsedCommandLineOfConfigFileUsingSourceFile(N){var R=getOrCreateSourceFile(N,100);if(!R)return undefined;R.path=E.toPath(N,Te,Be);R.resolvedPath=R.path;R.originalFileName=R.fileName;return E.parseJsonSourceFileConfigFileContent(R,Ve,E.getNormalizedAbsolutePath(E.getDirectoryPath(N),Te),undefined,E.getNormalizedAbsolutePath(N,Te))}function onReleaseParsedCommandLine(E,R,j){var $;if(N.getParsedCommandLine){($=N.onReleaseParsedCommandLine)===null||$===void 0?void 0:$.call(N,E,R,j)}else if(R){onReleaseOldSourceFile(R.sourceFile,j)}}function fileExists(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);return $?!E.isString($):!!N.fileExists&&N.fileExists(R)}function readFile(R){var j=E.toPath(R,Te,Be);var $=Ne&&Ne.getEntryByPath(j);if($){return E.isString($)?undefined:E.getSnapshotText($.scriptSnapshot)}return N.readFile&&N.readFile(R)}function readDirectory(R,j,$,q,G){E.Debug.checkDefined(N.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'");return N.readDirectory(R,j,$,q,G)}function onReleaseOldSourceFile(E,N){var j=R.getKeyForCompilationSettings(N);R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}function getOrCreateSourceFile(N,R,j,$){return getOrCreateSourceFileByPath(N,E.toPath(N,Te,Be),R,j,$)}function getOrCreateSourceFileByPath(N,j,$,q,G){E.Debug.assert(Ne!==undefined,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var ie=Ne&&Ne.getOrCreateEntryByPath(N,j);if(!ie){return undefined}if(!G){var ae=ce&&ce.getSourceFileByPath(j);if(ae){if(ie.scriptKind===ae.scriptKind){return R.updateDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}else{R.releaseDocumentWithKey(ae.resolvedPath,R.getKeyForCompilationSettings(ce.getCompilerOptions()),ae.scriptKind)}}}return R.acquireDocumentWithKey(N,j,Le,He,ie.scriptSnapshot,ie.version,ie.scriptKind)}}function getProgram(){if(ie===E.LanguageServiceMode.Syntactic){E.Debug.assert(ce===undefined);return undefined}synchronizeHostData();return ce}function getAutoImportProvider(){var E;return(E=N.getPackageJsonAutoImportProvider)===null||E===void 0?void 0:E.call(N)}function cleanupSemanticCache(){ce=undefined}function dispose(){if(ce){var j=R.getKeyForCompilationSettings(ce.getCompilerOptions());E.forEach(ce.getSourceFiles(),(function(E){return R.releaseDocumentWithKey(E.resolvedPath,j,E.scriptKind)}));ce=undefined}N=undefined}function getSyntacticDiagnostics(E){synchronizeHostData();return ce.getSyntacticDiagnostics(getValidSourceFile(E),Ee).slice()}function getSemanticDiagnostics(N){synchronizeHostData();var R=getValidSourceFile(N);var $=ce.getSemanticDiagnostics(R,Ee);if(!E.getEmitDeclarations(ce.getCompilerOptions())){return $.slice()}var q=ce.getDeclarationDiagnostics(R,Ee);return j(j([],$,true),q,true)}function getSuggestionDiagnostics(N){synchronizeHostData();return E.computeSuggestionDiagnostics(getValidSourceFile(N),ce,Ee)}function getCompilerOptionsDiagnostics(){synchronizeHostData();return j(j([],ce.getOptionsDiagnostics(Ee),true),ce.getGlobalDiagnostics(Ee),true)}function getCompletionsAtPosition(R,j,q){if(q===void 0){q=E.emptyOptions}var G=$($({},E.identity(q)),{includeCompletionsForModuleExports:q.includeCompletionsForModuleExports||q.includeExternalModuleExports,includeCompletionsWithInsertText:q.includeCompletionsWithInsertText||q.includeInsertTextCompletions});synchronizeHostData();return E.Completions.getCompletionsAtPosition(N,ce,log,getValidSourceFile(R),j,G,q.triggerCharacter,q.triggerKind,Ee)}function getCompletionEntryDetails(R,j,$,q,G,ie,ae){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntryDetails(ce,log,getValidSourceFile(R),j,{name:$,source:G,data:ae},N,q&&E.formatting.getFormatContext(q,N),ie,Ee)}function getCompletionEntrySymbol(R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();return E.Completions.getCompletionEntrySymbol(ce,log,getValidSourceFile(R),j,{name:$,source:q},N,G)}function getQuickInfoAtPosition(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.getTouchingPropertyName(j,R);if($===j){return undefined}var q=ce.getTypeChecker();var G=getNodeForQuickInfo($);var ie=getSymbolAtLocationForQuickInfo(G,q);if(!ie||q.isUnknownSymbol(ie)){var ae=shouldGetType(j,G,R)?q.getTypeAtLocation(G):undefined;return ae&&{kind:"",kindModifiers:"",textSpan:E.createTextSpanFromNode(G,j),displayParts:q.runWithCancellationToken(Ee,(function(N){return E.typeToDisplayParts(N,ae,E.getContainerNode(G))})),documentation:ae.symbol?ae.symbol.getDocumentationComment(q):undefined,tags:ae.symbol?ae.symbol.getJsDocTags(q):undefined}}var le=q.runWithCancellationToken(Ee,(function(N){return E.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(N,ie,j,E.getContainerNode(G),G)})),_e=le.symbolKind,Te=le.displayParts,we=le.documentation,Ie=le.tags;return{kind:_e,kindModifiers:E.SymbolDisplay.getSymbolModifiers(q,ie),textSpan:E.createTextSpanFromNode(G,j),displayParts:Te,documentation:we,tags:Ie}}function getNodeForQuickInfo(N){if(E.isNewExpression(N.parent)&&N.pos===N.parent.pos){return N.parent.expression}if(E.isNamedTupleMember(N.parent)&&N.pos===N.parent.pos){return N.parent}return N}function shouldGetType(N,R,j){switch(R.kind){case 79:return!E.isLabelName(R)&&!E.isTagName(R)&&!E.isConstTypeReference(R.parent);case 204:case 159:return!E.isInComment(N,j);case 108:case 190:case 106:case 195:return true;default:return false}}function getDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAtPosition(ce,getValidSourceFile(N),R)}function getDefinitionAndBoundSpan(N,R){synchronizeHostData();return E.GoToDefinition.getDefinitionAndBoundSpan(ce,getValidSourceFile(N),R)}function getTypeDefinitionAtPosition(N,R){synchronizeHostData();return E.GoToDefinition.getTypeDefinitionAtPosition(ce.getTypeChecker(),getValidSourceFile(N),R)}function getImplementationAtPosition(N,R){synchronizeHostData();return E.FindAllReferences.getImplementationsAtPosition(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getOccurrencesAtPosition(N,R){return E.flatMap(getDocumentHighlights(N,R,[N]),(function(E){return E.highlightSpans.map((function(N){return $($({fileName:E.fileName,textSpan:N.textSpan,isWriteAccess:N.kind==="writtenReference",isDefinition:false},N.isInString&&{isInString:true}),N.contextSpan&&{contextSpan:N.contextSpan})}))}))}function getDocumentHighlights(N,R,j){var $=E.normalizePath(N);E.Debug.assert(j.some((function(N){return E.normalizePath(N)===$})));synchronizeHostData();var q=E.mapDefined(j,(function(E){return ce.getSourceFile(E)}));var G=getValidSourceFile(N);return E.DocumentHighlights.getDocumentHighlights(ce,Ee,G,R,q)}function findRenameLocations(N,R,j,q,G){synchronizeHostData();var ie=getValidSourceFile(N);var ae=E.getAdjustedRenameLocation(E.getTouchingPropertyName(ie,R));if(E.isIdentifier(ae)&&(E.isJsxOpeningElement(ae.parent)||E.isJsxClosingElement(ae.parent))&&E.isIntrinsicJsxName(ae.escapedText)){var ce=ae.parent.parent,le=ce.openingElement,_e=ce.closingElement;return[le,_e].map((function(N){var R=E.createTextSpanFromNode(N.tagName,ie);return $({fileName:ie.fileName,textSpan:R},E.FindAllReferences.toContextSpan(R,ie,N.parent))}))}else{return getReferencesWorker(ae,R,{findInStrings:j,findInComments:q,providePrefixAndSuffixTextForRename:G,use:2},(function(N,R,j){return E.FindAllReferences.toRenameLocation(N,R,j,G||false)}))}}function getReferencesAtPosition(N,R){synchronizeHostData();return getReferencesWorker(E.getTouchingPropertyName(getValidSourceFile(N),R),R,{use:1},E.FindAllReferences.toReferenceEntry)}function getReferencesWorker(N,R,j,$){synchronizeHostData();var q=j&&j.use===2?ce.getSourceFiles().filter((function(E){return!ce.isSourceFileDefaultLibrary(E)})):ce.getSourceFiles();return E.FindAllReferences.findReferenceOrRenameEntries(ce,Ee,q,N,R,j,$)}function findReferences(N,R){synchronizeHostData();return E.FindAllReferences.findReferencedSymbols(ce,Ee,ce.getSourceFiles(),getValidSourceFile(N),R)}function getFileReferences(N){synchronizeHostData();return E.FindAllReferences.Core.getReferencesForFileName(N,ce,ce.getSourceFiles()).map(E.FindAllReferences.toReferenceEntry)}function getNavigateToItems(N,R,j,$){if($===void 0){$=false}synchronizeHostData();var q=j?[getValidSourceFile(j)]:ce.getSourceFiles();return E.NavigateTo.getNavigateToItems(q,ce.getTypeChecker(),Ee,N,R,$)}function getEmitOutput(R,j,$){synchronizeHostData();var q=getValidSourceFile(R);var G=N.getCustomTransformers&&N.getCustomTransformers();return E.getFileEmitOutput(ce,q,!!j,Ee,G,$)}function getSignatureHelpItems(N,R,j){var $=j===void 0?E.emptyOptions:j,q=$.triggerReason;synchronizeHostData();var G=getValidSourceFile(N);return E.SignatureHelp.getSignatureHelpItems(ce,G,R,q,Ee)}function getNonBoundSourceFile(E){return ae.getCurrentSourceFile(E)}function getNameOrDottedNameSpan(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.getTouchingPropertyName($,R);if(q===$){return undefined}switch(q.kind){case 204:case 159:case 10:case 95:case 110:case 104:case 106:case 108:case 190:case 79:break;default:return undefined}var G=q;while(true){if(E.isRightSideOfPropertyAccess(G)||E.isRightSideOfQualifiedName(G)){G=G.parent}else if(E.isNameOfModuleDeclaration(G)){if(G.parent.parent.kind===259&&G.parent.parent.body===G.parent){G=G.parent.parent.name}else{break}}else{break}}return E.createTextSpanFromBounds(G.getStart(),q.getEnd())}function getBreakpointStatementAtPosition(N,R){var j=ae.getCurrentSourceFile(N);return E.BreakpointResolver.spanInSourceFileAtLocation(j,R)}function getNavigationBarItems(N){return E.NavigationBar.getNavigationBarItems(ae.getCurrentSourceFile(N),Ee)}function getNavigationTree(N){return E.NavigationBar.getNavigationTree(ae.getCurrentSourceFile(N),Ee)}function getSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="2020"){return E.classifier.v2020.getSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}else{return E.getSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}}function getEncodedSemanticClassifications(N,R,j){synchronizeHostData();var $=j||"original";if($==="original"){return E.getEncodedSemanticClassifications(ce.getTypeChecker(),Ee,getValidSourceFile(N),ce.getClassifiableNames(),R)}else{return E.classifier.v2020.getEncodedSemanticClassifications(ce,Ee,getValidSourceFile(N),R)}}function getSyntacticClassifications(N,R){return E.getSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getEncodedSyntacticClassifications(N,R){return E.getEncodedSyntacticClassifications(Ee,ae.getCurrentSourceFile(N),R)}function getOutliningSpans(N){var R=ae.getCurrentSourceFile(N);return E.OutliningElementsCollector.collectElements(R,Ee)}var We=new E.Map(E.getEntries((G={},G[18]=19,G[20]=21,G[22]=23,G[31]=29,G)));We.forEach((function(E,N){return We.set(E.toString(),Number(N))}));function getBraceMatchingAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.getTouchingToken(j,R);var q=$.getStart(j)===R?We.get($.kind.toString()):undefined;var G=q&&E.findChildOfKind($.parent,q,j);return G?[E.createTextSpanFromNode($,j),E.createTextSpanFromNode(G,j)].sort((function(E,N){return E.start-N.start})):E.emptyArray}function getIndentationAtPosition(N,R,j){var $=E.timestamp();var q=toEditorSettings(j);var G=ae.getCurrentSourceFile(N);log("getIndentationAtPosition: getCurrentSourceFile: "+(E.timestamp()-$));$=E.timestamp();var ie=E.formatting.SmartIndenter.getIndentation(R,G,q);log("getIndentationAtPosition: computeIndentation : "+(E.timestamp()-$));return ie}function getFormattingEditsForRange(R,j,$,q){var G=ae.getCurrentSourceFile(R);return E.formatting.formatSelection(j,$,G,E.formatting.getFormatContext(toEditorSettings(q),N))}function getFormattingEditsForDocument(R,j){return E.formatting.formatDocument(ae.getCurrentSourceFile(R),E.formatting.getFormatContext(toEditorSettings(j),N))}function getFormattingEditsAfterKeystroke(R,j,$,q){var G=ae.getCurrentSourceFile(R);var ie=E.formatting.getFormatContext(toEditorSettings(q),N);if(!E.isInComment(G,j)){switch($){case"{":return E.formatting.formatOnOpeningCurly(j,G,ie);case"}":return E.formatting.formatOnClosingCurly(j,G,ie);case";":return E.formatting.formatOnSemicolon(j,G,ie);case"\n":return E.formatting.formatOnEnter(j,G,ie)}}return[]}function getCodeFixesAtPosition(R,j,$,q,G,ie){if(ie===void 0){ie=E.emptyOptions}synchronizeHostData();var ae=getValidSourceFile(R);var le=E.createTextSpanFromBounds(j,$);var _e=E.formatting.getFormatContext(G,N);return E.flatMap(E.deduplicate(q,E.equateValues,E.compareValues),(function(R){Ee.throwIfCancellationRequested();return E.codefix.getFixes({errorCode:R,sourceFile:ae,span:le,program:ce,host:N,cancellationToken:Ee,formatContext:_e,preferences:ie})}))}function getCombinedCodeFix(R,j,$,q){if(q===void 0){q=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var G=getValidSourceFile(R.fileName);var ie=E.formatting.getFormatContext($,N);return E.codefix.getAllFixes({fixId:j,sourceFile:G,program:ce,host:N,cancellationToken:Ee,formatContext:ie,preferences:q})}function organizeImports(R,j,$){if($===void 0){$=E.emptyOptions}synchronizeHostData();E.Debug.assert(R.type==="file");var q=getValidSourceFile(R.fileName);var G=E.formatting.getFormatContext(j,N);return E.OrganizeImports.organizeImports(q,G,N,ce,$,R.skipDestructiveCodeActions)}function getEditsForFileRename(R,j,$,q){if(q===void 0){q=E.emptyOptions}return E.getEditsForFileRename(getProgram(),R,j,N,E.formatting.getFormatContext($,N),q,ze)}function applyCodeActionCommand(N,R){var j=typeof N==="string"?R:N;return E.isArray(j)?Promise.all(j.map((function(E){return applySingleCodeActionCommand(E)}))):applySingleCodeActionCommand(j)}function applySingleCodeActionCommand(R){var getPath=function(N){return E.toPath(N,Te,Be)};E.Debug.assertEqual(R.type,"install package");return N.installPackage?N.installPackage({fileName:getPath(R.file),packageName:R.packageName}):Promise.reject("Host does not implement `installPackage`")}function getDocCommentTemplateAtPosition(R,j,$){return E.JsDoc.getDocCommentTemplateAtPosition(E.getNewLineOrDefaultFromHost(N),ae.getCurrentSourceFile(R),j,$)}function isValidBraceCompletionAtPosition(N,R,j){if(j===60){return false}var $=ae.getCurrentSourceFile(N);if(E.isInString($,R)){return false}if(E.isInsideJsxElementOrAttribute($,R)){return j===123}if(E.isInTemplateString($,R)){return false}switch(j){case 39:case 34:case 96:return!E.isInComment($,R)}return true}function getJsxClosingTagAtPosition(N,R){var j=ae.getCurrentSourceFile(N);var $=E.findPrecedingToken(R,j);if(!$)return undefined;var q=$.kind===31&&E.isJsxOpeningElement($.parent)?$.parent.parent:E.isJsxText($)?$.parent:undefined;if(q&&isUnclosedTag(q)){return{newText:""}}}function getLinesForRange(E,N){return{lineStarts:E.getLineStarts(),firstLine:E.getLineAndCharacterOfPosition(N.pos).line,lastLine:E.getLineAndCharacterOfPosition(N.end).line}}function toggleLineComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=[];var G=getLinesForRange($,R),ie=G.lineStarts,ce=G.firstLine,le=G.lastLine;var _e=j||false;var Ee=Number.MAX_VALUE;var Te=new E.Map;var we=new RegExp(/\S/);var Ie=E.isInsideJsxElement($,ie[ce]);var Ne=Ie?"{/*":"//";for(var Me=ce;Me<=le;Me++){var Le=$.text.substring(ie[Me],$.getLineEndOfPosition(ie[Me]));var Be=we.exec(Le);if(Be){Ee=Math.min(Ee,Be.index);Te.set(Me.toString(),Be.index);if(Le.substr(Be.index,Ne.length)!==Ne){_e=j===undefined||j}}}for(var Me=ce;Me<=le;Me++){if(ce!==le&&ie[Me]===R.end){continue}var je=Te.get(Me.toString());if(je!==undefined){if(Ie){q.push.apply(q,toggleMultilineComment(N,{pos:ie[Me]+Ee,end:$.getLineEndOfPosition(ie[Me])},_e,Ie))}else if(_e){q.push({newText:Ne,span:{length:0,start:ie[Me]+Ee}})}else if($.text.substr(ie[Me]+je,Ne.length)===Ne){q.push({newText:"",span:{length:Ne.length,start:ie[Me]+je}})}}}return q}function toggleMultilineComment(N,R,j,$){var q;var G=ae.getCurrentSourceFile(N);var ie=[];var ce=G.text;var le=false;var _e=j||false;var Ee=[];var Te=R.pos;var we=$!==undefined?$:E.isInsideJsxElement(G,Te);var Ie=we?"{/*":"/*";var Ne=we?"*/}":"*/";var Me=we?"\\{\\/\\*":"\\/\\*";var Le=we?"\\*\\/\\}":"\\*\\/";while(Te<=R.end){var Be=ce.substr(Te,Ie.length)===Ie?Ie.length:0;var je=E.isInComment(G,Te+Be);if(je){if(we){je.pos--;je.end++}Ee.push(je.pos);if(je.kind===3){Ee.push(je.end)}le=true;Te=je.end+1}else{var Ue=ce.substring(Te,R.end).search("("+Me+")|("+Le+")");_e=j!==undefined?j:_e||!E.isTextWhiteSpaceLike(ce,Te,Ue===-1?R.end:Te+Ue);Te=Ue===-1?R.end+1:Te+Ue+Ne.length}}if(_e||!le){if(((q=E.isInComment(G,R.pos))===null||q===void 0?void 0:q.kind)!==2){E.insertSorted(Ee,R.pos,E.compareValues)}E.insertSorted(Ee,R.end,E.compareValues);var ze=Ee[0];if(ce.substr(ze,Ie.length)!==Ie){ie.push({newText:Ie,span:{length:0,start:ze}})}for(var We=1;We0?qe-Ne.length:0;var Be=ce.substr(He,Ne.length)===Ne?Ne.length:0;ie.push({newText:"",span:{length:Ie.length,start:qe-Be}})}}return ie}function commentSelection(E,N){var R=ae.getCurrentSourceFile(E);var j=getLinesForRange(R,N),$=j.firstLine,q=j.lastLine;return $===q&&N.pos!==N.end?toggleMultilineComment(E,N,true):toggleLineComment(E,N,true)}function uncommentSelection(N,R){var j=ae.getCurrentSourceFile(N);var $=[];var q=R.pos;var G=R.end;if(q===G){G+=E.isInsideJsxElement(j,q)?2:1}for(var ie=q;ie<=G;ie++){var ce=E.isInComment(j,ie);if(ce){switch(ce.kind){case 2:$.push.apply($,toggleLineComment(N,{end:ce.end,pos:ce.pos+1},false));break;case 3:$.push.apply($,toggleMultilineComment(N,{end:ce.end,pos:ce.pos+1},false))}ie=ce.end+1}}return $}function isUnclosedTag(N){var R=N.openingElement,j=N.closingElement,$=N.parent;return!E.tagNamesAreEquivalent(R.tagName,j.tagName)||E.isJsxElement($)&&E.tagNamesAreEquivalent(R.tagName,$.openingElement.tagName)&&isUnclosedTag($)}function getSpanOfEnclosingComment(N,R,j){var $=ae.getCurrentSourceFile(N);var q=E.formatting.getRangeOfEnclosingComment($,R);return q&&(!j||q.kind===3)?E.createTextSpanFromRange(q):undefined}function getTodoComments(N,R){synchronizeHostData();var j=getValidSourceFile(N);Ee.throwIfCancellationRequested();var $=j.text;var q=[];if(R.length>0&&!isNodeModulesFile(j.fileName)){var G=getTodoCommentsRegExp();var ie=void 0;while(ie=G.exec($)){Ee.throwIfCancellationRequested();var ae=3;E.Debug.assert(ie.length===R.length+ae);var ce=ie[1];var le=ie.index+ce.length;if(!E.isInComment(j,le)){continue}var _e=void 0;for(var Te=0;Te=97&&E<=122||E>=65&&E<=90||E>=48&&E<=57}function isNodeModulesFile(N){return E.stringContains(N,"/node_modules/")}}function getRenameInfo(N,R,j){synchronizeHostData();return E.Rename.getRenameInfo(ce,getValidSourceFile(N),R,j)}function getRefactorContext(R,j,$,q,G,ie){var ae=typeof j==="number"?[j,undefined]:[j.pos,j.end],ce=ae[0],le=ae[1];return{file:R,startPosition:ce,endPosition:le,program:getProgram(),host:N,formatContext:E.formatting.getFormatContext(q,N),cancellationToken:Ee,preferences:$,triggerReason:G,kind:ie}}function getInlayHintsContext(E,R,j){return{file:E,program:getProgram(),host:N,span:R,preferences:j,cancellationToken:Ee}}function getSmartSelectionRange(N,R){return E.SmartSelectionRange.getSmartSelectionRange(R,ae.getCurrentSourceFile(N))}function getApplicableRefactors(N,R,j,$,q){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var G=getValidSourceFile(N);return E.refactor.getApplicableRefactors(getRefactorContext(G,R,j,E.emptyOptions,$,q))}function getEditsForRefactor(N,R,j,$,q,G){if(G===void 0){G=E.emptyOptions}synchronizeHostData();var ie=getValidSourceFile(N);return E.refactor.getEditsForRefactor(getRefactorContext(ie,j,G,R),$,q)}function toLineColumnOffset(E,N){if(N===0){return{line:0,character:0}}return ze.toLineColumnOffset(E,N)}function prepareCallHierarchy(N,R){synchronizeHostData();var j=E.CallHierarchy.resolveCallHierarchyDeclaration(ce,E.getTouchingPropertyName(getValidSourceFile(N),R));return j&&E.mapOneOrMany(j,(function(N){return E.CallHierarchy.createCallHierarchyItem(ce,N)}))}function provideCallHierarchyIncomingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getIncomingCalls(ce,$,Ee):[]}function provideCallHierarchyOutgoingCalls(N,R){synchronizeHostData();var j=getValidSourceFile(N);var $=E.firstOrOnly(E.CallHierarchy.resolveCallHierarchyDeclaration(ce,R===0?j:E.getTouchingPropertyName(j,R)));return $?E.CallHierarchy.getOutgoingCalls(ce,$):[]}function provideInlayHints(N,R,j){if(j===void 0){j=E.emptyOptions}synchronizeHostData();var $=getValidSourceFile(N);return E.InlayHints.provideInlayHints(getInlayHintsContext($,R,j))}var Je={dispose:dispose,cleanupSemanticCache:cleanupSemanticCache,getSyntacticDiagnostics:getSyntacticDiagnostics,getSemanticDiagnostics:getSemanticDiagnostics,getSuggestionDiagnostics:getSuggestionDiagnostics,getCompilerOptionsDiagnostics:getCompilerOptionsDiagnostics,getSyntacticClassifications:getSyntacticClassifications,getSemanticClassifications:getSemanticClassifications,getEncodedSyntacticClassifications:getEncodedSyntacticClassifications,getEncodedSemanticClassifications:getEncodedSemanticClassifications,getCompletionsAtPosition:getCompletionsAtPosition,getCompletionEntryDetails:getCompletionEntryDetails,getCompletionEntrySymbol:getCompletionEntrySymbol,getSignatureHelpItems:getSignatureHelpItems,getQuickInfoAtPosition:getQuickInfoAtPosition,getDefinitionAtPosition:getDefinitionAtPosition,getDefinitionAndBoundSpan:getDefinitionAndBoundSpan,getImplementationAtPosition:getImplementationAtPosition,getTypeDefinitionAtPosition:getTypeDefinitionAtPosition,getReferencesAtPosition:getReferencesAtPosition,findReferences:findReferences,getFileReferences:getFileReferences,getOccurrencesAtPosition:getOccurrencesAtPosition,getDocumentHighlights:getDocumentHighlights,getNameOrDottedNameSpan:getNameOrDottedNameSpan,getBreakpointStatementAtPosition:getBreakpointStatementAtPosition,getNavigateToItems:getNavigateToItems,getRenameInfo:getRenameInfo,getSmartSelectionRange:getSmartSelectionRange,findRenameLocations:findRenameLocations,getNavigationBarItems:getNavigationBarItems,getNavigationTree:getNavigationTree,getOutliningSpans:getOutliningSpans,getTodoComments:getTodoComments,getBraceMatchingAtPosition:getBraceMatchingAtPosition,getIndentationAtPosition:getIndentationAtPosition,getFormattingEditsForRange:getFormattingEditsForRange,getFormattingEditsForDocument:getFormattingEditsForDocument,getFormattingEditsAfterKeystroke:getFormattingEditsAfterKeystroke,getDocCommentTemplateAtPosition:getDocCommentTemplateAtPosition,isValidBraceCompletionAtPosition:isValidBraceCompletionAtPosition,getJsxClosingTagAtPosition:getJsxClosingTagAtPosition,getSpanOfEnclosingComment:getSpanOfEnclosingComment,getCodeFixesAtPosition:getCodeFixesAtPosition,getCombinedCodeFix:getCombinedCodeFix,applyCodeActionCommand:applyCodeActionCommand,organizeImports:organizeImports,getEditsForFileRename:getEditsForFileRename,getEmitOutput:getEmitOutput,getNonBoundSourceFile:getNonBoundSourceFile,getProgram:getProgram,getAutoImportProvider:getAutoImportProvider,getApplicableRefactors:getApplicableRefactors,getEditsForRefactor:getEditsForRefactor,toLineColumnOffset:toLineColumnOffset,getSourceMapper:function(){return ze},clearSourceMapperCache:function(){return ze.clearCache()},prepareCallHierarchy:prepareCallHierarchy,provideCallHierarchyIncomingCalls:provideCallHierarchyIncomingCalls,provideCallHierarchyOutgoingCalls:provideCallHierarchyOutgoingCalls,toggleLineComment:toggleLineComment,toggleMultilineComment:toggleMultilineComment,commentSelection:commentSelection,uncommentSelection:uncommentSelection,provideInlayHints:provideInlayHints};switch(ie){case E.LanguageServiceMode.Semantic:break;case E.LanguageServiceMode.PartialSemantic:je.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case E.LanguageServiceMode.Syntactic:Ue.forEach((function(E){return Je[E]=function(){throw new Error("LanguageService Operation: "+E+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:E.Debug.assertNever(ie)}return Je}E.createLanguageService=createLanguageService;function getNameTable(E){if(!E.nameTable){initializeNameTable(E)}return E.nameTable}E.getNameTable=getNameTable;function initializeNameTable(N){var R=N.nameTable=new E.Map;N.forEachChild((function walk(N){if(E.isIdentifier(N)&&!E.isTagName(N)&&N.escapedText||E.isStringOrNumericLiteralLike(N)&&literalIsName(N)){var j=E.getEscapedTextOfIdentifierOrLiteral(N);R.set(j,R.get(j)===undefined?N.pos:-1)}else if(E.isPrivateIdentifier(N)){var j=N.escapedText;R.set(j,R.get(j)===undefined?N.pos:-1)}E.forEachChild(N,walk);if(E.hasJSDocNodes(N)){for(var $=0,q=N.jsDoc;$$){var q=E.findPrecedingToken(j.pos,N);if(!q||N.getLineAndCharacterOfPosition(q.getEnd()).line!==$){return undefined}j=q}if(j.flags&8388608){return undefined}return spanInNode(j);function textSpan(R,j){var $=R.decorators?E.skipTrivia(N.text,R.decorators.end):R.getStart(N);return E.createTextSpanFromBounds($,(j||R).getEnd())}function textSpanEndingAtNextToken(R,j){return textSpan(R,E.findNextToken(j,j.parent,N))}function spanInNodeIfStartsOnSameLine(E,R){if(E&&$===N.getLineAndCharacterOfPosition(E.getStart(N)).line){return spanInNode(E)}return spanInNode(R)}function spanInNodeArray(R){return E.createTextSpanFromBounds(E.skipTrivia(N.text,R.pos),R.end)}function spanInPreviousNode(R){return spanInNode(E.findPrecedingToken(R.pos,N))}function spanInNextNode(R){return spanInNode(E.findNextToken(R,R.parent,N))}function spanInNode(R){if(R){var j=R.parent;switch(R.kind){case 235:return spanInVariableDeclaration(R.declarationList.declarations[0]);case 252:case 165:case 164:return spanInVariableDeclaration(R);case 162:return spanInParameterDeclaration(R);case 254:case 167:case 166:case 170:case 171:case 169:case 211:case 212:return spanInFunctionDeclaration(R);case 233:if(E.isFunctionBlock(R)){return spanInFunctionBlock(R)}case 260:return spanInBlock(R);case 290:return spanInBlock(R.block);case 236:return textSpan(R.expression);case 245:return textSpan(R.getChildAt(0),R.expression);case 239:return textSpanEndingAtNextToken(R,R.expression);case 238:return spanInNode(R.statement);case 251:return textSpan(R.getChildAt(0));case 237:return textSpanEndingAtNextToken(R,R.expression);case 248:return spanInNode(R.statement);case 244:case 243:return textSpan(R.getChildAt(0),R.label);case 240:return spanInForStatement(R);case 241:return textSpanEndingAtNextToken(R,R.expression);case 242:return spanInInitializerOfForLike(R);case 247:return textSpanEndingAtNextToken(R,R.expression);case 287:case 288:return spanInNode(R.statements[0]);case 250:return spanInBlock(R.tryBlock);case 249:return textSpan(R,R.expression);case 269:return textSpan(R,R.expression);case 263:return textSpan(R,R.moduleReference);case 264:return textSpan(R,R.moduleSpecifier);case 270:return textSpan(R,R.moduleSpecifier);case 259:if(E.getModuleInstanceState(R)!==1){return undefined}case 255:case 258:case 294:case 201:return textSpan(R);case 246:return spanInNode(R.statement);case 163:return spanInNodeArray(j.decorators);case 199:case 200:return spanInBindingPattern(R);case 256:case 257:return undefined;case 26:case 1:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N));case 27:return spanInPreviousNode(R);case 18:return spanInOpenBraceToken(R);case 19:return spanInCloseBraceToken(R);case 23:return spanInCloseBracketToken(R);case 20:return spanInOpenParenToken(R);case 21:return spanInCloseParenToken(R);case 58:return spanInColonToken(R);case 31:case 29:return spanInGreaterThanOrLessThanToken(R);case 115:return spanInWhileKeyword(R);case 91:case 83:case 96:return spanInNextNode(R);case 158:return spanInOfKeyword(R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(R)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(R)}if((R.kind===79||R.kind===223||R.kind===291||R.kind===292)&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(j)){return textSpan(R)}if(R.kind===219){var $=R,q=$.left,G=$.operatorToken;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)){return spanInArrayLiteralOrObjectLiteralDestructuringPattern(q)}if(G.kind===63&&E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent)){return textSpan(R)}if(G.kind===27){return spanInNode(q)}}if(E.isExpressionNode(R)){switch(j.kind){case 238:return spanInPreviousNode(R);case 163:return spanInNode(R.parent);case 240:case 242:return textSpan(R);case 219:if(R.parent.operatorToken.kind===27){return textSpan(R)}break;case 212:if(R.parent.body===R){return textSpan(R)}break}}switch(R.parent.kind){case 291:if(R.parent.name===R&&!E.isArrayLiteralOrObjectLiteralDestructuringPattern(R.parent.parent)){return spanInNode(R.parent.initializer)}break;case 209:if(R.parent.type===R){return spanInNextNode(R.parent.type)}break;case 252:case 162:{var ie=R.parent,ae=ie.initializer,ce=ie.type;if(ae===R||ce===R||E.isAssignmentOperator(R.kind)){return spanInPreviousNode(R)}break}case 219:{var q=R.parent.left;if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(q)&&R!==q){return spanInPreviousNode(R)}break}default:if(E.isFunctionLike(R.parent)&&R.parent.type===R){return spanInPreviousNode(R)}}return spanInNode(R.parent)}}function textSpanFromVariableDeclaration(R){if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]===R){return textSpan(E.findPrecedingToken(R.pos,N,R.parent),R)}else{return textSpan(R)}}function spanInVariableDeclaration(R){if(R.parent.parent.kind===241){return spanInNode(R.parent.parent)}var j=R.parent;if(E.isBindingPattern(R.name)){return spanInBindingPattern(R.name)}if(R.initializer||E.hasSyntacticModifier(R,1)||j.parent.kind===242){return textSpanFromVariableDeclaration(R)}if(E.isVariableDeclarationList(R.parent)&&R.parent.declarations[0]!==R){return spanInNode(E.findPrecedingToken(R.pos,N,R.parent))}}function canHaveSpanInParameterDeclaration(N){return!!N.initializer||N.dotDotDotToken!==undefined||E.hasSyntacticModifier(N,4|8)}function spanInParameterDeclaration(N){if(E.isBindingPattern(N.name)){return spanInBindingPattern(N.name)}else if(canHaveSpanInParameterDeclaration(N)){return textSpan(N)}else{var R=N.parent;var j=R.parameters.indexOf(N);E.Debug.assert(j!==-1);if(j!==0){return spanInParameterDeclaration(R.parameters[j-1])}else{return spanInNode(R.body)}}}function canFunctionHaveSpanInWholeDeclaration(N){return E.hasSyntacticModifier(N,1)||N.parent.kind===255&&N.kind!==169}function spanInFunctionDeclaration(E){if(!E.body){return undefined}if(canFunctionHaveSpanInWholeDeclaration(E)){return textSpan(E)}return spanInNode(E.body)}function spanInFunctionBlock(E){var N=E.statements.length?E.statements[0]:E.getLastToken();if(canFunctionHaveSpanInWholeDeclaration(E.parent)){return spanInNodeIfStartsOnSameLine(E.parent,N)}return spanInNode(N)}function spanInBlock(R){switch(R.parent.kind){case 259:if(E.getModuleInstanceState(R.parent)!==1){return undefined}case 239:case 237:case 241:return spanInNodeIfStartsOnSameLine(R.parent,R.statements[0]);case 240:case 242:return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),R.statements[0])}return spanInNode(R.statements[0])}function spanInInitializerOfForLike(E){if(E.initializer.kind===253){var N=E.initializer;if(N.declarations.length>0){return spanInNode(N.declarations[0])}}else{return spanInNode(E.initializer)}}function spanInForStatement(E){if(E.initializer){return spanInInitializerOfForLike(E)}if(E.condition){return textSpan(E.condition)}if(E.incrementor){return textSpan(E.incrementor)}}function spanInBindingPattern(N){var R=E.forEach(N.elements,(function(E){return E.kind!==225?E:undefined}));if(R){return spanInNode(R)}if(N.parent.kind===201){return textSpan(N.parent)}return textSpanFromVariableDeclaration(N.parent)}function spanInArrayLiteralOrObjectLiteralDestructuringPattern(N){E.Debug.assert(N.kind!==200&&N.kind!==199);var R=N.kind===202?N.elements:N.properties;var j=E.forEach(R,(function(E){return E.kind!==225?E:undefined}));if(j){return spanInNode(j)}return textSpan(N.parent.kind===219?N.parent:N)}function spanInOpenBraceToken(R){switch(R.parent.kind){case 258:var j=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),j.members.length?j.members[0]:j.getLastToken(N));case 255:var $=R.parent;return spanInNodeIfStartsOnSameLine(E.findPrecedingToken(R.pos,N,R.parent),$.members.length?$.members[0]:$.getLastToken(N));case 261:return spanInNodeIfStartsOnSameLine(R.parent.parent,R.parent.clauses[0])}return spanInNode(R.parent)}function spanInCloseBraceToken(N){switch(N.parent.kind){case 260:if(E.getModuleInstanceState(N.parent.parent)!==1){return undefined}case 258:case 255:return textSpan(N);case 233:if(E.isFunctionBlock(N.parent)){return textSpan(N)}case 290:return spanInNode(E.lastOrUndefined(N.parent.statements));case 261:var R=N.parent;var j=E.lastOrUndefined(R.clauses);if(j){return spanInNode(E.lastOrUndefined(j.statements))}return undefined;case 199:var $=N.parent;return spanInNode(E.lastOrUndefined($.elements)||$);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var q=N.parent;return textSpan(E.lastOrUndefined(q.properties)||q)}return spanInNode(N.parent)}}function spanInCloseBracketToken(N){switch(N.parent.kind){case 200:var R=N.parent;return textSpan(E.lastOrUndefined(R.elements)||R);default:if(E.isArrayLiteralOrObjectLiteralDestructuringPattern(N.parent)){var j=N.parent;return textSpan(E.lastOrUndefined(j.elements)||j)}return spanInNode(N.parent)}}function spanInOpenParenToken(E){if(E.parent.kind===238||E.parent.kind===206||E.parent.kind===207){return spanInPreviousNode(E)}if(E.parent.kind===210){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInCloseParenToken(E){switch(E.parent.kind){case 211:case 254:case 212:case 167:case 166:case 170:case 171:case 169:case 239:case 238:case 240:case 242:case 206:case 207:case 210:return spanInPreviousNode(E);default:return spanInNode(E.parent)}}function spanInColonToken(N){if(E.isFunctionLike(N.parent)||N.parent.kind===291||N.parent.kind===162){return spanInPreviousNode(N)}return spanInNode(N.parent)}function spanInGreaterThanOrLessThanToken(E){if(E.parent.kind===209){return spanInNextNode(E)}return spanInNode(E.parent)}function spanInWhileKeyword(E){if(E.parent.kind===238){return textSpanEndingAtNextToken(E,E.parent.expression)}return spanInNode(E.parent)}function spanInOfKeyword(E){if(E.parent.kind===242){return spanInNextNode(E)}return spanInNode(E.parent)}}}N.spanInSourceFileAtLocation=spanInSourceFileAtLocation})(N=E.BreakpointResolver||(E.BreakpointResolver={}))})(ce||(ce={}));var ce;(function(E){function transform(N,R,j){var $=[];j=E.fixupCompilerOptions(j,$);var q=E.isArray(N)?N:[N];var G=E.transformNodes(undefined,undefined,E.factory,j,q,R,true);G.diagnostics=E.concatenate(G.diagnostics,$);return G}E.transform=transform})(ce||(ce={}));var le=function(){return this}();var ce;(function(E){function logInternalError(E,N){if(E){E.log("*INTERNAL ERROR* - Exception in typescript services: "+N.message)}}var N=function(){function ScriptSnapshotShimAdapter(E){this.scriptSnapshotShim=E}ScriptSnapshotShimAdapter.prototype.getText=function(E,N){return this.scriptSnapshotShim.getText(E,N)};ScriptSnapshotShimAdapter.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()};ScriptSnapshotShimAdapter.prototype.getChangeRange=function(N){var R=N;var j=this.scriptSnapshotShim.getChangeRange(R.scriptSnapshotShim);if(j===null){return null}var $=JSON.parse(j);return E.createTextChangeRange(E.createTextSpan($.span.start,$.span.length),$.newLength)};ScriptSnapshotShimAdapter.prototype.dispose=function(){if("dispose"in this.scriptSnapshotShim){this.scriptSnapshotShim.dispose()}};return ScriptSnapshotShimAdapter}();var R=function(){function LanguageServiceShimHostAdapter(N){var R=this;this.shimHost=N;this.loggingEnabled=false;this.tracingEnabled=false;if("getModuleResolutionsForFile"in this.shimHost){this.resolveModuleNames=function(N,j){var $=JSON.parse(R.shimHost.getModuleResolutionsForFile(j));return E.map(N,(function(N){var R=E.getProperty($,N);return R?{resolvedFileName:R,extension:E.extensionFromPath(R),isExternalLibraryImport:false}:undefined}))}}if("directoryExists"in this.shimHost){this.directoryExists=function(E){return R.shimHost.directoryExists(E)}}if("getTypeReferenceDirectiveResolutionsForFile"in this.shimHost){this.resolveTypeReferenceDirectives=function(N,j){var $=JSON.parse(R.shimHost.getTypeReferenceDirectiveResolutionsForFile(j));return E.map(N,(function(N){return E.getProperty($,N)}))}}}LanguageServiceShimHostAdapter.prototype.log=function(E){if(this.loggingEnabled){this.shimHost.log(E)}};LanguageServiceShimHostAdapter.prototype.trace=function(E){if(this.tracingEnabled){this.shimHost.trace(E)}};LanguageServiceShimHostAdapter.prototype.error=function(E){this.shimHost.error(E)};LanguageServiceShimHostAdapter.prototype.getProjectVersion=function(){if(!this.shimHost.getProjectVersion){return undefined}return this.shimHost.getProjectVersion()};LanguageServiceShimHostAdapter.prototype.getTypeRootsVersion=function(){if(!this.shimHost.getTypeRootsVersion){return 0}return this.shimHost.getTypeRootsVersion()};LanguageServiceShimHostAdapter.prototype.useCaseSensitiveFileNames=function(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false};LanguageServiceShimHostAdapter.prototype.getCompilationSettings=function(){var E=this.shimHost.getCompilationSettings();if(E===null||E===""){throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings")}var N=JSON.parse(E);N.allowNonTsExtensions=true;return N};LanguageServiceShimHostAdapter.prototype.getScriptFileNames=function(){var E=this.shimHost.getScriptFileNames();return JSON.parse(E)};LanguageServiceShimHostAdapter.prototype.getScriptSnapshot=function(E){var R=this.shimHost.getScriptSnapshot(E);return R&&new N(R)};LanguageServiceShimHostAdapter.prototype.getScriptKind=function(E){if("getScriptKind"in this.shimHost){return this.shimHost.getScriptKind(E)}else{return 0}};LanguageServiceShimHostAdapter.prototype.getScriptVersion=function(E){return this.shimHost.getScriptVersion(E)};LanguageServiceShimHostAdapter.prototype.getLocalizedDiagnosticMessages=function(){var E=this.shimHost.getLocalizedDiagnosticMessages();if(E===null||E===""){return null}try{return JSON.parse(E)}catch(E){this.log(E.description||"diagnosticMessages.generated.json has invalid JSON format");return null}};LanguageServiceShimHostAdapter.prototype.getCancellationToken=function(){var N=this.shimHost.getCancellationToken();return new E.ThrottledCancellationToken(N)};LanguageServiceShimHostAdapter.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()};LanguageServiceShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};LanguageServiceShimHostAdapter.prototype.getDefaultLibFileName=function(E){return this.shimHost.getDefaultLibFileName(JSON.stringify(E))};LanguageServiceShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};LanguageServiceShimHostAdapter.prototype.readFile=function(E,N){return this.shimHost.readFile(E,N)};LanguageServiceShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};return LanguageServiceShimHostAdapter}();E.LanguageServiceShimHostAdapter=R;var q=function(){function CoreServicesShimHostAdapter(E){var N=this;this.shimHost=E;this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():false;if("directoryExists"in this.shimHost){this.directoryExists=function(E){return N.shimHost.directoryExists(E)}}else{this.directoryExists=undefined}if("realpath"in this.shimHost){this.realpath=function(E){return N.shimHost.realpath(E)}}else{this.realpath=undefined}}CoreServicesShimHostAdapter.prototype.readDirectory=function(N,R,j,$,q){var G=E.getFileMatcherPatterns(N,j,$,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(N,JSON.stringify(R),JSON.stringify(G.basePaths),G.excludePattern,G.includeFilePattern,G.includeDirectoryPattern,q))};CoreServicesShimHostAdapter.prototype.fileExists=function(E){return this.shimHost.fileExists(E)};CoreServicesShimHostAdapter.prototype.readFile=function(E){return this.shimHost.readFile(E)};CoreServicesShimHostAdapter.prototype.getDirectories=function(E){return JSON.parse(this.shimHost.getDirectories(E))};return CoreServicesShimHostAdapter}();E.CoreServicesShimHostAdapter=q;function simpleForwardCall(N,R,j,$){var q;if($){N.log(R);q=E.timestamp()}var G=j();if($){var ie=E.timestamp();N.log(R+" completed in "+(ie-q)+" msec");if(E.isString(G)){var ae=G;if(ae.length>128){ae=ae.substring(0,128)+"..."}N.log(" result.length="+ae.length+", result='"+JSON.stringify(ae)+"'")}}return G}function forwardJSONCall(E,N,R,j){return forwardCall(E,N,true,R,j)}function forwardCall(N,R,j,$,q){try{var G=simpleForwardCall(N,R,$,q);return j?JSON.stringify({result:G}):G}catch(j){if(j instanceof E.OperationCanceledException){return JSON.stringify({canceled:true})}logInternalError(N,j);j.description=R;return JSON.stringify({error:j})}}var G=function(){function ShimBase(E){this.factory=E;E.registerShim(this)}ShimBase.prototype.dispose=function(E){this.factory.unregisterShim(this)};return ShimBase}();function realizeDiagnostics(E,N){return E.map((function(E){return realizeDiagnostic(E,N)}))}E.realizeDiagnostics=realizeDiagnostics;function realizeDiagnostic(N,R){return{message:E.flattenDiagnosticMessageText(N.messageText,R),start:N.start,length:N.length,category:E.diagnosticCategoryName(N),code:N.code,reportsUnnecessary:N.reportsUnnecessary,reportsDeprecated:N.reportsDeprecated}}var ce=function(N){ae(LanguageServiceShimObject,N);function LanguageServiceShimObject(E,R,j){var $=N.call(this,E)||this;$.host=R;$.languageService=j;$.logPerformance=false;$.logger=$.host;return $}LanguageServiceShimObject.prototype.forwardJSONCall=function(E,N){return forwardJSONCall(this.logger,E,N,this.logPerformance)};LanguageServiceShimObject.prototype.dispose=function(E){this.logger.log("dispose()");this.languageService.dispose();this.languageService=null;if(le&&le.CollectGarbage){le.CollectGarbage();this.logger.log("CollectGarbage()")}this.logger=null;N.prototype.dispose.call(this,E)};LanguageServiceShimObject.prototype.refresh=function(E){this.forwardJSONCall("refresh("+E+")",(function(){return null}))};LanguageServiceShimObject.prototype.cleanupSemanticCache=function(){var E=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){E.languageService.cleanupSemanticCache();return null}))};LanguageServiceShimObject.prototype.realizeDiagnostics=function(N){var R=E.getNewLineOrDefaultFromHost(this.host);return realizeDiagnostics(N,R)};LanguageServiceShimObject.prototype.getSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSyntacticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return $.languageService.getSemanticClassifications(N,E.createTextSpan(R,j))}))};LanguageServiceShimObject.prototype.getEncodedSyntacticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSyntacticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getEncodedSemanticClassifications=function(N,R,j){var $=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+N+"', "+R+", "+j+")",(function(){return convertClassifications($.languageService.getEncodedSemanticClassifications(N,E.createTextSpan(R,j)))}))};LanguageServiceShimObject.prototype.getSyntacticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSyntacticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSemanticDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSemanticDiagnostics('"+E+"')",(function(){var R=N.languageService.getSemanticDiagnostics(E);return N.realizeDiagnostics(R)}))};LanguageServiceShimObject.prototype.getSuggestionDiagnostics=function(E){var N=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+E+"')",(function(){return N.realizeDiagnostics(N.languageService.getSuggestionDiagnostics(E))}))};LanguageServiceShimObject.prototype.getCompilerOptionsDiagnostics=function(){var E=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var N=E.languageService.getCompilerOptionsDiagnostics();return E.realizeDiagnostics(N)}))};LanguageServiceShimObject.prototype.getQuickInfoAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getQuickInfoAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getNameOrDottedNameSpan=function(E,N,R){var j=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNameOrDottedNameSpan(E,N,R)}))};LanguageServiceShimObject.prototype.getBreakpointStatementAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBreakpointStatementAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getSignatureHelpItems=function(E,N,R){var j=this;return this.forwardJSONCall("getSignatureHelpItems('"+E+"', "+N+")",(function(){return j.languageService.getSignatureHelpItems(E,N,R)}))};LanguageServiceShimObject.prototype.getDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDefinitionAndBoundSpan=function(E,N){var R=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+E+"', "+N+")",(function(){return R.languageService.getDefinitionAndBoundSpan(E,N)}))};LanguageServiceShimObject.prototype.getTypeDefinitionAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getTypeDefinitionAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getImplementationAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getImplementationAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getImplementationAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getRenameInfo=function(E,N,R){var j=this;return this.forwardJSONCall("getRenameInfo('"+E+"', "+N+")",(function(){return j.languageService.getRenameInfo(E,N,R)}))};LanguageServiceShimObject.prototype.getSmartSelectionRange=function(E,N){var R=this;return this.forwardJSONCall("getSmartSelectionRange('"+E+"', "+N+")",(function(){return R.languageService.getSmartSelectionRange(E,N)}))};LanguageServiceShimObject.prototype.findRenameLocations=function(E,N,R,j,$){var q=this;return this.forwardJSONCall("findRenameLocations('"+E+"', "+N+", "+R+", "+j+", "+$+")",(function(){return q.languageService.findRenameLocations(E,N,R,j,$)}))};LanguageServiceShimObject.prototype.getBraceMatchingAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getBraceMatchingAtPosition(E,N)}))};LanguageServiceShimObject.prototype.isValidBraceCompletionAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.isValidBraceCompletionAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getSpanOfEnclosingComment=function(E,N,R){var j=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+E+"', "+N+")",(function(){return j.languageService.getSpanOfEnclosingComment(E,N,R)}))};LanguageServiceShimObject.prototype.getIndentationAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getIndentationAtPosition('"+E+"', "+N+")",(function(){var $=JSON.parse(R);return j.languageService.getIndentationAtPosition(E,N,$)}))};LanguageServiceShimObject.prototype.getReferencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getReferencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getReferencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.findReferences=function(E,N){var R=this;return this.forwardJSONCall("findReferences('"+E+"', "+N+")",(function(){return R.languageService.findReferences(E,N)}))};LanguageServiceShimObject.prototype.getFileReferences=function(E){var N=this;return this.forwardJSONCall("getFileReferences('"+E+")",(function(){return N.languageService.getFileReferences(E)}))};LanguageServiceShimObject.prototype.getOccurrencesAtPosition=function(E,N){var R=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+E+"', "+N+")",(function(){return R.languageService.getOccurrencesAtPosition(E,N)}))};LanguageServiceShimObject.prototype.getDocumentHighlights=function(N,R,j){var $=this;return this.forwardJSONCall("getDocumentHighlights('"+N+"', "+R+")",(function(){var q=$.languageService.getDocumentHighlights(N,R,JSON.parse(j));var G=E.toFileNameLowerCase(E.normalizeSlashes(N));return E.filter(q,(function(N){return E.toFileNameLowerCase(E.normalizeSlashes(N.fileName))===G}))}))};LanguageServiceShimObject.prototype.getCompletionsAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getCompletionsAtPosition('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getCompletionsAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getCompletionEntryDetails=function(E,N,R,j,$,q,G){var ie=this;return this.forwardJSONCall("getCompletionEntryDetails('"+E+"', "+N+", '"+R+"')",(function(){var ae=j===undefined?undefined:JSON.parse(j);return ie.languageService.getCompletionEntryDetails(E,N,R,ae,$,q,G)}))};LanguageServiceShimObject.prototype.getFormattingEditsForRange=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsForRange('"+E+"', "+N+", "+R+")",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsForRange(E,N,R,q)}))};LanguageServiceShimObject.prototype.getFormattingEditsForDocument=function(E,N){var R=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+E+"')",(function(){var j=JSON.parse(N);return R.languageService.getFormattingEditsForDocument(E,j)}))};LanguageServiceShimObject.prototype.getFormattingEditsAfterKeystroke=function(E,N,R,j){var $=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+E+"', "+N+", '"+R+"')",(function(){var q=JSON.parse(j);return $.languageService.getFormattingEditsAfterKeystroke(E,N,R,q)}))};LanguageServiceShimObject.prototype.getDocCommentTemplateAtPosition=function(E,N,R){var j=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+E+"', "+N+")",(function(){return j.languageService.getDocCommentTemplateAtPosition(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigateToItems=function(E,N,R){var j=this;return this.forwardJSONCall("getNavigateToItems('"+E+"', "+N+", "+R+")",(function(){return j.languageService.getNavigateToItems(E,N,R)}))};LanguageServiceShimObject.prototype.getNavigationBarItems=function(E){var N=this;return this.forwardJSONCall("getNavigationBarItems('"+E+"')",(function(){return N.languageService.getNavigationBarItems(E)}))};LanguageServiceShimObject.prototype.getNavigationTree=function(E){var N=this;return this.forwardJSONCall("getNavigationTree('"+E+"')",(function(){return N.languageService.getNavigationTree(E)}))};LanguageServiceShimObject.prototype.getOutliningSpans=function(E){var N=this;return this.forwardJSONCall("getOutliningSpans('"+E+"')",(function(){return N.languageService.getOutliningSpans(E)}))};LanguageServiceShimObject.prototype.getTodoComments=function(E,N){var R=this;return this.forwardJSONCall("getTodoComments('"+E+"')",(function(){return R.languageService.getTodoComments(E,JSON.parse(N))}))};LanguageServiceShimObject.prototype.prepareCallHierarchy=function(E,N){var R=this;return this.forwardJSONCall("prepareCallHierarchy('"+E+"', "+N+")",(function(){return R.languageService.prepareCallHierarchy(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyIncomingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyIncomingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideCallHierarchyOutgoingCalls=function(E,N){var R=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+E+"', "+N+")",(function(){return R.languageService.provideCallHierarchyOutgoingCalls(E,N)}))};LanguageServiceShimObject.prototype.provideInlayHints=function(E,N,R){var j=this;return this.forwardJSONCall("provideInlayHints('"+E+"', '"+JSON.stringify(N)+"', "+JSON.stringify(R)+")",(function(){return j.languageService.provideInlayHints(E,N,R)}))};LanguageServiceShimObject.prototype.getEmitOutput=function(E){var N=this;return this.forwardJSONCall("getEmitOutput('"+E+"')",(function(){var R=N.languageService.getEmitOutput(E),j=R.diagnostics,q=ie(R,["diagnostics"]);return $($({},q),{diagnostics:N.realizeDiagnostics(j)})}))};LanguageServiceShimObject.prototype.getEmitOutputObject=function(E){var N=this;return forwardCall(this.logger,"getEmitOutput('"+E+"')",false,(function(){return N.languageService.getEmitOutput(E)}),this.logPerformance)};LanguageServiceShimObject.prototype.toggleLineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleLineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleLineComment(E,N)}))};LanguageServiceShimObject.prototype.toggleMultilineComment=function(E,N){var R=this;return this.forwardJSONCall("toggleMultilineComment('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.toggleMultilineComment(E,N)}))};LanguageServiceShimObject.prototype.commentSelection=function(E,N){var R=this;return this.forwardJSONCall("commentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.commentSelection(E,N)}))};LanguageServiceShimObject.prototype.uncommentSelection=function(E,N){var R=this;return this.forwardJSONCall("uncommentSelection('"+E+"', '"+JSON.stringify(N)+"')",(function(){return R.languageService.uncommentSelection(E,N)}))};return LanguageServiceShimObject}(G);function convertClassifications(E){return{spans:E.spans.join(","),endOfLineState:E.endOfLineState}}var _e=function(N){ae(ClassifierShimObject,N);function ClassifierShimObject(R,j){var $=N.call(this,R)||this;$.logger=j;$.logPerformance=false;$.classifier=E.createClassifier();return $}ClassifierShimObject.prototype.getEncodedLexicalClassifications=function(E,N,R){var j=this;if(R===void 0){R=false}return forwardJSONCall(this.logger,"getEncodedLexicalClassifications",(function(){return convertClassifications(j.classifier.getEncodedLexicalClassifications(E,N,R))}),this.logPerformance)};ClassifierShimObject.prototype.getClassificationsForLine=function(E,N,R){if(R===void 0){R=false}var j=this.classifier.getClassificationsForLine(E,N,R);var $="";for(var q=0,G=j.entries;q=1&&arguments.length<=3?E.factory.createVariableDeclaration(N,undefined,R,j):E.Debug.fail("Argument count mismatch")}),N);E.updateVariableDeclaration=E.Debug.deprecate((function updateVariableDeclaration(N,R,j,$,q){return arguments.length===5?E.factory.updateVariableDeclaration(N,R,j,$,q):arguments.length===4?E.factory.updateVariableDeclaration(N,R,N.exclamationToken,j,$):E.Debug.fail("Argument count mismatch")}),N);E.createImportClause=E.Debug.deprecate((function createImportClause(N,R,j){if(j===void 0){j=false}return E.factory.createImportClause(j,N,R)}),N);E.updateImportClause=E.Debug.deprecate((function updateImportClause(N,R,j,$){return E.factory.updateImportClause(N,$,R,j)}),N);E.createExportDeclaration=E.Debug.deprecate((function createExportDeclaration(N,R,j,$,q){if(q===void 0){q=false}return E.factory.createExportDeclaration(N,R,q,j,$)}),N);E.updateExportDeclaration=E.Debug.deprecate((function updateExportDeclaration(N,R,j,$,q,G){return E.factory.updateExportDeclaration(N,R,j,G,$,q)}),N);E.createJSDocParamTag=E.Debug.deprecate((function createJSDocParamTag(N,R,j,$){return E.factory.createJSDocParameterTag(undefined,N,R,j,false,$?E.factory.createNodeArray([E.factory.createJSDocText($)]):undefined)}),N);E.createComma=E.Debug.deprecate((function createComma(N,R){return E.factory.createComma(N,R)}),N);E.createLessThan=E.Debug.deprecate((function createLessThan(N,R){return E.factory.createLessThan(N,R)}),N);E.createAssignment=E.Debug.deprecate((function createAssignment(N,R){return E.factory.createAssignment(N,R)}),N);E.createStrictEquality=E.Debug.deprecate((function createStrictEquality(N,R){return E.factory.createStrictEquality(N,R)}),N);E.createStrictInequality=E.Debug.deprecate((function createStrictInequality(N,R){return E.factory.createStrictInequality(N,R)}),N);E.createAdd=E.Debug.deprecate((function createAdd(N,R){return E.factory.createAdd(N,R)}),N);E.createSubtract=E.Debug.deprecate((function createSubtract(N,R){return E.factory.createSubtract(N,R)}),N);E.createLogicalAnd=E.Debug.deprecate((function createLogicalAnd(N,R){return E.factory.createLogicalAnd(N,R)}),N);E.createLogicalOr=E.Debug.deprecate((function createLogicalOr(N,R){return E.factory.createLogicalOr(N,R)}),N);E.createPostfixIncrement=E.Debug.deprecate((function createPostfixIncrement(N){return E.factory.createPostfixIncrement(N)}),N);E.createLogicalNot=E.Debug.deprecate((function createLogicalNot(N){return E.factory.createLogicalNot(N)}),N);E.createNode=E.Debug.deprecate((function createNode(N,R,j){if(R===void 0){R=0}if(j===void 0){j=0}return E.setTextRangePosEnd(N===300?E.parseBaseNodeFactory.createBaseSourceFileNode(N):N===79?E.parseBaseNodeFactory.createBaseIdentifierNode(N):N===80?E.parseBaseNodeFactory.createBasePrivateIdentifierNode(N):!E.isNodeKind(N)?E.parseBaseNodeFactory.createBaseTokenNode(N):E.parseBaseNodeFactory.createBaseNode(N),R,j)}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory` method instead."});E.getMutableClone=E.Debug.deprecate((function getMutableClone(N){var R=E.factory.cloneNode(N);E.setTextRange(R,N);E.setParent(R,N.parent);return R}),{since:"4.0",warnAfter:"4.1",message:"Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`."});E.isTypeAssertion=E.Debug.deprecate((function isTypeAssertion(E){return E.kind===209}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."});E.isIdentifierOrPrivateIdentifier=E.Debug.deprecate((function isIdentifierOrPrivateIdentifier(N){return E.isMemberName(N)}),{since:"4.2",warnAfter:"4.3",message:"Use `isMemberName` instead."})})(ce||(ce={}))},30823:function(E,N){ +/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */ +(function(E,R){true?R(N):0})(this,(function(E){"use strict";function merge(){for(var E=arguments.length,N=Array(E),R=0;R1){N[0]=N[0].slice(0,-1);var j=N.length-1;for(var $=1;$= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var Me=q-G;var Le=Math.floor;var Be=String.fromCharCode;function error$1(E){throw new RangeError(Ne[E])}function map(E,N){var R=[];var j=E.length;while(j--){R[j]=N(E[j])}return R}function mapDomain(E,N){var R=E.split("@");var j="";if(R.length>1){j=R[0]+"@";E=R[1]}E=E.replace(Ie,".");var $=E.split(".");var q=map($,N).join(".");return j+q}function ucs2decode(E){var N=[];var R=0;var j=E.length;while(R=55296&&$<=56319&&R>1;E+=Le(E/N);for(;E>Me*ie>>1;j+=q){E=Le(E/Me)}return Le(j+(Me+1)*E/(E+ae))};var Je=function decode(E){var N=[];var R=E.length;var j=0;var ae=_e;var ce=le;var Te=E.lastIndexOf(Ee);if(Te<0){Te=0}for(var we=0;we=128){error$1("not-basic")}N.push(E.charCodeAt(we))}for(var Ie=Te>0?Te+1:0;Ie=R){error$1("invalid-input")}var je=Ue(E.charCodeAt(Ie++));if(je>=q||je>Le(($-j)/Me)){error$1("overflow")}j+=je*Me;var ze=Be<=ce?G:Be>=ce+ie?ie:Be-ce;if(jeLe($/Je)){error$1("overflow")}Me*=Je}var Ve=N.length+1;ce=We(j-Ne,Ve,Ne==0);if(Le(j/Ve)>$-ae){error$1("overflow")}ae+=Le(j/Ve);j%=Ve;N.splice(j++,0,ae)}return String.fromCodePoint.apply(String,N)};var Ve=function encode(E){var N=[];E=ucs2decode(E);var R=E.length;var j=_e;var ae=0;var ce=le;var Te=true;var we=false;var Ie=undefined;try{for(var Ne=E[Symbol.iterator](),Me;!(Te=(Me=Ne.next()).done);Te=true){var je=Me.value;if(je<128){N.push(Be(je))}}}catch(E){we=true;Ie=E}finally{try{if(!Te&&Ne.return){Ne.return()}}finally{if(we){throw Ie}}}var Ue=N.length;var Je=Ue;if(Ue){N.push(Ee)}while(Je=j&&XeLe(($-ae)/Ye)){error$1("overflow")}ae+=(Ve-j)*Ye;j=Ve;var Ze=true;var et=false;var tt=undefined;try{for(var rt=E[Symbol.iterator](),nt;!(Ze=(nt=rt.next()).done);Ze=true){var it=nt.value;if(it$){error$1("overflow")}if(it==j){var ot=ae;for(var st=q;;st+=q){var ct=st<=ce?G:st>=ce+ie?ie:st-ce;if(ot>6|192).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();else R="%"+(N>>12|224).toString(16).toUpperCase()+"%"+(N>>6&63|128).toString(16).toUpperCase()+"%"+(N&63|128).toString(16).toUpperCase();return R}function pctDecChars(E){var N="";var R=0;var j=E.length;while(R=194&&$<224){if(j-R>=6){var q=parseInt(E.substr(R+4,2),16);N+=String.fromCharCode(($&31)<<6|q&63)}else{N+=E.substr(R,6)}R+=6}else if($>=224){if(j-R>=9){var G=parseInt(E.substr(R+4,2),16);var ie=parseInt(E.substr(R+7,2),16);N+=String.fromCharCode(($&15)<<12|(G&63)<<6|ie&63)}else{N+=E.substr(R,9)}R+=9}else{N+=E.substr(R,3);R+=3}}return N}function _normalizeComponentEncoding(E,N){function decodeUnreserved(E){var R=pctDecChars(E);return!R.match(N.UNRESERVED)?E:R}if(E.scheme)E.scheme=String(E.scheme).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_SCHEME,"");if(E.userinfo!==undefined)E.userinfo=String(E.userinfo).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_USERINFO,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.host!==undefined)E.host=String(E.host).replace(N.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(N.NOT_HOST,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.path!==undefined)E.path=String(E.path).replace(N.PCT_ENCODED,decodeUnreserved).replace(E.scheme?N.NOT_PATH:N.NOT_PATH_NOSCHEME,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.query!==undefined)E.query=String(E.query).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_QUERY,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);if(E.fragment!==undefined)E.fragment=String(E.fragment).replace(N.PCT_ENCODED,decodeUnreserved).replace(N.NOT_FRAGMENT,pctEncChar).replace(N.PCT_ENCODED,toUpperCase);return E}function _stripLeadingZeros(E){return E.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(E,N){var R=E.match(N.IPV4ADDRESS)||[];var $=j(R,2),q=$[1];if(q){return q.split(".").map(_stripLeadingZeros).join(".")}else{return E}}function _normalizeIPv6(E,N){var R=E.match(N.IPV6ADDRESS)||[];var $=j(R,3),q=$[1],G=$[2];if(q){var ie=q.toLowerCase().split("::").reverse(),ae=j(ie,2),ce=ae[0],le=ae[1];var _e=le?le.split(":").map(_stripLeadingZeros):[];var Ee=ce.split(":").map(_stripLeadingZeros);var Te=N.IPV4ADDRESS.test(Ee[Ee.length-1]);var we=Te?7:8;var Ie=Ee.length-we;var Ne=Array(we);for(var Me=0;Me1){var Ue=Ne.slice(0,Be.index);var ze=Ne.slice(Be.index+Be.length);je=Ue.join(":")+"::"+ze.join(":")}else{je=Ne.join(":")}if(G){je+="%"+G}return je}else{return E}}var Qe=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var Xe="".match(/(){0}/)[1]===undefined;function parse(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $={};var q=j.iri!==false?R:N;if(j.reference==="suffix")E=(j.scheme?j.scheme+":":"")+"//"+E;var G=E.match(Qe);if(G){if(Xe){$.scheme=G[1];$.userinfo=G[3];$.host=G[4];$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=G[7];$.fragment=G[8];if(isNaN($.port)){$.port=G[5]}}else{$.scheme=G[1]||undefined;$.userinfo=E.indexOf("@")!==-1?G[3]:undefined;$.host=E.indexOf("//")!==-1?G[4]:undefined;$.port=parseInt(G[5],10);$.path=G[6]||"";$.query=E.indexOf("?")!==-1?G[7]:undefined;$.fragment=E.indexOf("#")!==-1?G[8]:undefined;if(isNaN($.port)){$.port=E.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?G[4]:undefined}}if($.host){$.host=_normalizeIPv6(_normalizeIPv4($.host,q),q)}if($.scheme===undefined&&$.userinfo===undefined&&$.host===undefined&&$.port===undefined&&!$.path&&$.query===undefined){$.reference="same-document"}else if($.scheme===undefined){$.reference="relative"}else if($.fragment===undefined){$.reference="absolute"}else{$.reference="uri"}if(j.reference&&j.reference!=="suffix"&&j.reference!==$.reference){$.error=$.error||"URI is not a "+j.reference+" reference."}var ie=Ke[(j.scheme||$.scheme||"").toLowerCase()];if(!j.unicodeSupport&&(!ie||!ie.unicodeSupport)){if($.host&&(j.domainHost||ie&&ie.domainHost)){try{$.host=Ge.toASCII($.host.replace(q.PCT_ENCODED,pctDecChars).toLowerCase())}catch(E){$.error=$.error||"Host's domain name can not be converted to ASCII via punycode: "+E}}_normalizeComponentEncoding($,N)}else{_normalizeComponentEncoding($,q)}if(ie&&ie.parse){ie.parse($,j)}}else{$.error=$.error||"URI can not be parsed."}return $}function _recomposeAuthority(E,j){var $=j.iri!==false?R:N;var q=[];if(E.userinfo!==undefined){q.push(E.userinfo);q.push("@")}if(E.host!==undefined){q.push(_normalizeIPv6(_normalizeIPv4(String(E.host),$),$).replace($.IPV6ADDRESS,(function(E,N,R){return"["+N+(R?"%25"+R:"")+"]"})))}if(typeof E.port==="number"||typeof E.port==="string"){q.push(":");q.push(String(E.port))}return q.length?q.join(""):undefined}var Ye=/^\.\.?\//;var Ze=/^\/\.(\/|$)/;var et=/^\/\.\.(\/|$)/;var tt=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(E){var N=[];while(E.length){if(E.match(Ye)){E=E.replace(Ye,"")}else if(E.match(Ze)){E=E.replace(Ze,"/")}else if(E.match(et)){E=E.replace(et,"/");N.pop()}else if(E==="."||E===".."){E=""}else{var R=E.match(tt);if(R){var j=R[0];E=E.slice(j.length);N.push(j)}else{throw new Error("Unexpected dot segment condition")}}}return N.join("")}function serialize(E){var j=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var $=j.iri?R:N;var q=[];var G=Ke[(j.scheme||E.scheme||"").toLowerCase()];if(G&&G.serialize)G.serialize(E,j);if(E.host){if($.IPV6ADDRESS.test(E.host)){}else if(j.domainHost||G&&G.domainHost){try{E.host=!j.iri?Ge.toASCII(E.host.replace($.PCT_ENCODED,pctDecChars).toLowerCase()):Ge.toUnicode(E.host)}catch(N){E.error=E.error||"Host's domain name can not be converted to "+(!j.iri?"ASCII":"Unicode")+" via punycode: "+N}}}_normalizeComponentEncoding(E,$);if(j.reference!=="suffix"&&E.scheme){q.push(E.scheme);q.push(":")}var ie=_recomposeAuthority(E,j);if(ie!==undefined){if(j.reference!=="suffix"){q.push("//")}q.push(ie);if(E.path&&E.path.charAt(0)!=="/"){q.push("/")}}if(E.path!==undefined){var ae=E.path;if(!j.absolutePath&&(!G||!G.absolutePath)){ae=removeDotSegments(ae)}if(ie===undefined){ae=ae.replace(/^\/\//,"/%2F")}q.push(ae)}if(E.query!==undefined){q.push("?");q.push(E.query)}if(E.fragment!==undefined){q.push("#");q.push(E.fragment)}return q.join("")}function resolveComponents(E,N){var R=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var j=arguments[3];var $={};if(!j){E=parse(serialize(E,R),R);N=parse(serialize(N,R),R)}R=R||{};if(!R.tolerant&&N.scheme){$.scheme=N.scheme;$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(N.userinfo!==undefined||N.host!==undefined||N.port!==undefined){$.userinfo=N.userinfo;$.host=N.host;$.port=N.port;$.path=removeDotSegments(N.path||"");$.query=N.query}else{if(!N.path){$.path=E.path;if(N.query!==undefined){$.query=N.query}else{$.query=E.query}}else{if(N.path.charAt(0)==="/"){$.path=removeDotSegments(N.path)}else{if((E.userinfo!==undefined||E.host!==undefined||E.port!==undefined)&&!E.path){$.path="/"+N.path}else if(!E.path){$.path=N.path}else{$.path=E.path.slice(0,E.path.lastIndexOf("/")+1)+N.path}$.path=removeDotSegments($.path)}$.query=N.query}$.userinfo=E.userinfo;$.host=E.host;$.port=E.port}$.scheme=E.scheme}$.fragment=N.fragment;return $}function resolve(E,N,R){var j=assign({scheme:"null"},R);return serialize(resolveComponents(parse(E,j),parse(N,j),j,true),j)}function normalize(E,N){if(typeof E==="string"){E=serialize(parse(E,N),N)}else if(typeOf(E)==="object"){E=parse(serialize(E,N),N)}return E}function equal(E,N,R){if(typeof E==="string"){E=serialize(parse(E,R),R)}else if(typeOf(E)==="object"){E=serialize(E,R)}if(typeof N==="string"){N=serialize(parse(N,R),R)}else if(typeOf(N)==="object"){N=serialize(N,R)}return E===N}function escapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.ESCAPE:R.ESCAPE,pctEncChar)}function unescapeComponent(E,j){return E&&E.toString().replace(!j||!j.iri?N.PCT_ENCODED:R.PCT_ENCODED,pctDecChars)}var rt={scheme:"http",domainHost:true,parse:function parse(E,N){if(!E.host){E.error=E.error||"HTTP URIs must have a host."}return E},serialize:function serialize(E,N){var R=String(E.scheme).toLowerCase()==="https";if(E.port===(R?443:80)||E.port===""){E.port=undefined}if(!E.path){E.path="/"}return E}};var nt={scheme:"https",domainHost:rt.domainHost,parse:rt.parse,serialize:rt.serialize};function isSecure(E){return typeof E.secure==="boolean"?E.secure:String(E.scheme).toLowerCase()==="wss"}var it={scheme:"ws",domainHost:true,parse:function parse(E,N){var R=E;R.secure=isSecure(R);R.resourceName=(R.path||"/")+(R.query?"?"+R.query:"");R.path=undefined;R.query=undefined;return R},serialize:function serialize(E,N){if(E.port===(isSecure(E)?443:80)||E.port===""){E.port=undefined}if(typeof E.secure==="boolean"){E.scheme=E.secure?"wss":"ws";E.secure=undefined}if(E.resourceName){var R=E.resourceName.split("?"),$=j(R,2),q=$[0],G=$[1];E.path=q&&q!=="/"?q:undefined;E.query=G;E.resourceName=undefined}E.fragment=undefined;return E}};var ot={scheme:"wss",domainHost:it.domainHost,parse:it.parse,serialize:it.serialize};var st={};var ct=true;var ut="[A-Za-z0-9\\-\\.\\_\\~"+(ct?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var dt="[0-9A-Fa-f]";var pt=subexp(subexp("%[EFef]"+dt+"%"+dt+dt+"%"+dt+dt)+"|"+subexp("%[89A-Fa-f]"+dt+"%"+dt+dt)+"|"+subexp("%"+dt+dt));var ft="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var mt="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var ht=merge(mt,'[\\"\\\\]');var _t="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var yt=new RegExp(ut,"g");var vt=new RegExp(pt,"g");var bt=new RegExp(merge("[^]",ft,"[\\.]",'[\\"]',ht),"g");var xt=new RegExp(merge("[^]",ut,_t),"g");var St=xt;function decodeUnreserved(E){var N=pctDecChars(E);return!N.match(yt)?E:N}var Et={scheme:"mailto",parse:function parse$$1(E,N){var R=E;var j=R.to=R.path?R.path.split(","):[];R.path=undefined;if(R.query){var $=false;var q={};var G=R.query.split("&");for(var ie=0,ae=G.length;ie{"use strict";const j=R(82361).EventEmitter;const $=R(15808);const q=R(71017);const G=R(68862);const ie=Object.freeze({});let ae=1e3;const ce=R(22037).platform()==="darwin";const le=process.env.WATCHPACK_POLLING;const _e=`${+le}`===le?+le:!!le&&le!=="false";function withoutCase(E){return E.toLowerCase()}function needCalls(E,N){return function(){if(--E===0){return N()}}}class Watcher extends j{constructor(E,N,R){super();this.directoryWatcher=E;this.path=N;this.startTime=R&&+R;this._cachedTimeInfoEntries=undefined}checkStartTime(E,N){const R=this.startTime;if(typeof R!=="number")return!N;return R<=E}close(){this.emit("closed")}}class DirectoryWatcher extends j{constructor(E,N,R){super();if(_e){R.poll=_e}this.watcherManager=E;this.options=R;this.path=N;this.files=new Map;this.filesWithoutCase=new Map;this.directories=new Map;this.lastWatchEvent=0;this.initialScan=true;this.ignored=R.ignored;this.nestedWatching=false;this.polledWatching=typeof R.poll==="number"?R.poll:R.poll?5007:false;this.timeout=undefined;this.initialScanRemoved=new Set;this.initialScanFinished=undefined;this.watchers=new Map;this.parentWatcher=null;this.refs=0;this._activeEvents=new Map;this.closed=false;this.scanning=false;this.scanAgain=false;this.scanAgainInitial=false;this.createWatcher();this.doScan(true)}checkIgnore(E){if(!this.ignored)return false;E=E.replace(/\\/g,"/");return this.ignored.test(E)}createWatcher(){try{if(this.polledWatching){this.watcher={close:()=>{if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}}}}else{if(ce){this.watchInParentDirectory()}this.watcher=G.watch(this.path);this.watcher.on("change",this.onWatchEvent.bind(this));this.watcher.on("error",this.onWatcherError.bind(this))}}catch(E){this.onWatcherError(E)}}forEachWatcher(E,N){const R=this.watchers.get(withoutCase(E));if(R!==undefined){for(const E of R){N(E)}}}setMissing(E,N,R){this._cachedTimeInfoEntries=undefined;if(this.initialScan){this.initialScanRemoved.add(E)}const j=this.directories.get(E);if(j){if(this.nestedWatching)j.close();this.directories.delete(E);this.forEachWatcher(E,(E=>E.emit("remove",R)));if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}const $=this.files.get(E);if($){this.files.delete(E);const j=withoutCase(E);const $=this.filesWithoutCase.get(j)-1;if($<=0){this.filesWithoutCase.delete(j);this.forEachWatcher(E,(E=>E.emit("remove",R)))}else{this.filesWithoutCase.set(j,$)}if(!N){this.forEachWatcher(this.path,(j=>j.emit("change",E,null,R,N)))}}}setFileTime(E,N,R,j,$){const q=Date.now();if(this.checkIgnore(E))return;const G=this.files.get(E);let ie,ce;if(R){ie=Math.min(q,N)+ae;ce=ae}else{ie=q;ce=0;if(G&&G.timestamp===N&&N+ae{if(!R||E.checkStartTime(ie,R)){E.emit("change",N,$)}}))}else if(!R){this.forEachWatcher(E,(E=>E.emit("change",N,$)))}this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(ie,R)){N.emit("change",E,ie,$,R)}}))}setDirectory(E,N,R,j){if(this.checkIgnore(E))return;if(E===this.path){if(!R){this.forEachWatcher(this.path,($=>$.emit("change",E,N,j,R)))}}else{const $=this.directories.get(E);if(!$){const $=Date.now();this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){this.createNestedWatcher(E)}else{this.directories.set(E,true)}let q;if(R){q=Math.min($,N)+ae}else{q=$}this.forEachWatcher(E,(E=>{if(!R||E.checkStartTime(q,false)){E.emit("change",N,j)}}));this.forEachWatcher(this.path,(N=>{if(!R||N.checkStartTime(q,R)){N.emit("change",E,q,j,R)}}))}}}createNestedWatcher(E){const N=this.watcherManager.watchDirectory(E,1);N.on("change",((E,N,R,j)=>{this._cachedTimeInfoEntries=undefined;this.forEachWatcher(this.path,($=>{if(!j||$.checkStartTime(N,j)){$.emit("change",E,N,R,j)}}))}));this.directories.set(E,N)}setNestedWatching(E){if(this.nestedWatching!==!!E){this.nestedWatching=!!E;this._cachedTimeInfoEntries=undefined;if(this.nestedWatching){for(const E of this.directories.keys()){this.createNestedWatcher(E)}}else{for(const[E,N]of this.directories){N.close();this.directories.set(E,true)}}}}watch(E,N){const R=withoutCase(E);let j=this.watchers.get(R);if(j===undefined){j=new Set;this.watchers.set(R,j)}this.refs++;const $=new Watcher(this,E,N);$.on("closed",(()=>{if(--this.refs<=0){this.close();return}j.delete($);if(j.size===0){this.watchers.delete(R);if(this.path===E)this.setNestedWatching(false)}}));j.add($);let q;if(E===this.path){this.setNestedWatching(true);q=this.lastWatchEvent;for(const E of this.files.values()){fixupEntryAccuracy(E);q=Math.max(q,E.safeTime)}}else{const N=this.files.get(E);if(N){fixupEntryAccuracy(N);q=N.safeTime}else{q=0}}if(q){if(q>=N){process.nextTick((()=>{if(this.closed)return;if(E===this.path){$.emit("change",E,q,"watch (outdated on attach)",true)}else{$.emit("change",q,"watch (outdated on attach)",true)}}))}}else if(this.initialScan){if(this.initialScanRemoved.has(E)){process.nextTick((()=>{if(this.closed)return;$.emit("remove")}))}}else if(!this.directories.has(E)&&$.checkStartTime(this.initialScanFinished,false)){process.nextTick((()=>{if(this.closed)return;$.emit("initial-missing","watch (missing on attach)")}))}return $}onWatchEvent(E,N){if(this.closed)return;if(!N){this.doScan(false);return}const R=q.join(this.path,N);if(this.checkIgnore(R))return;if(this._activeEvents.get(N)===undefined){this._activeEvents.set(N,false);const checkStats=()=>{if(this.closed)return;this._activeEvents.set(N,false);$.lstat(R,((j,G)=>{if(this.closed)return;if(this._activeEvents.get(N)===true){process.nextTick(checkStats);return}this._activeEvents.delete(N);if(j){if(j.code!=="ENOENT"&&j.code!=="EPERM"&&j.code!=="EBUSY"){this.onStatsError(j)}else{if(N===q.basename(this.path)){if(!$.existsSync(this.path)){this.onDirectoryRemoved("stat failed")}}}}this.lastWatchEvent=Date.now();this._cachedTimeInfoEntries=undefined;if(!G){this.setMissing(R,false,E)}else if(G.isDirectory()){this.setDirectory(R,+G.birthtime||1,false,E)}else if(G.isFile()||G.isSymbolicLink()){if(G.mtime){ensureFsAccuracy(G.mtime)}this.setFileTime(R,+G.mtime||+G.ctime||1,false,false,E)}}))};process.nextTick(checkStats)}else{this._activeEvents.set(N,true)}}onWatcherError(E){if(this.closed)return;if(E){if(E.code!=="EPERM"&&E.code!=="ENOENT"){console.error("Watchpack Error (watcher): "+E)}this.onDirectoryRemoved("watch error")}}onStatsError(E){if(E){console.error("Watchpack Error (stats): "+E)}}onScanError(E){if(E){console.error("Watchpack Error (initial scan): "+E)}this.onScanFinished()}onScanFinished(){if(this.polledWatching){this.timeout=setTimeout((()=>{if(this.closed)return;this.doScan(false)}),this.polledWatching)}}onDirectoryRemoved(E){if(this.watcher){this.watcher.close();this.watcher=null}this.watchInParentDirectory();const N=`directory-removed (${E})`;for(const E of this.directories.keys()){this.setMissing(E,null,N)}for(const E of this.files.keys()){this.setMissing(E,null,N)}}watchInParentDirectory(){if(!this.parentWatcher){const E=q.dirname(this.path);if(q.dirname(E)===E)return;this.parentWatcher=this.watcherManager.watchFile(this.path,1);this.parentWatcher.on("change",((E,N)=>{if(this.closed)return;if((!ce||this.polledWatching)&&this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}if(!this.watcher){this.createWatcher();this.doScan(false);this.forEachWatcher(this.path,(R=>R.emit("change",this.path,E,N,false)))}}));this.parentWatcher.on("remove",(()=>{this.onDirectoryRemoved("parent directory removed")}))}}doScan(E){if(this.scanning){if(this.scanAgain){if(!E)this.scanAgainInitial=false}else{this.scanAgain=true;this.scanAgainInitial=E}return}this.scanning=true;if(this.timeout){clearTimeout(this.timeout);this.timeout=undefined}process.nextTick((()=>{if(this.closed)return;$.readdir(this.path,((N,R)=>{if(this.closed)return;if(N){if(N.code==="ENOENT"||N.code==="EPERM"){this.onDirectoryRemoved("scan readdir failed")}else{this.onScanError(N)}this.initialScan=false;this.initialScanFinished=Date.now();if(E){for(const E of this.watchers.values()){for(const N of E){if(N.checkStartTime(this.initialScanFinished,false)){N.emit("initial-missing","scan (parent directory missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false}return}const j=new Set(R.map((E=>q.join(this.path,E.normalize("NFC")))));for(const N of this.files.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}for(const N of this.directories.keys()){if(!j.has(N)){this.setMissing(N,E,"scan (missing)")}}if(this.scanAgain){this.scanAgain=false;this.doScan(E);return}const G=needCalls(j.size+1,(()=>{if(this.closed)return;this.initialScan=false;this.initialScanRemoved=null;this.initialScanFinished=Date.now();if(E){const E=new Map(this.watchers);E.delete(withoutCase(this.path));for(const N of j){E.delete(withoutCase(N))}for(const N of E.values()){for(const E of N){if(E.checkStartTime(this.initialScanFinished,false)){E.emit("initial-missing","scan (missing in initial scan)")}}}}if(this.scanAgain){this.scanAgain=false;this.doScan(this.scanAgainInitial)}else{this.scanning=false;this.onScanFinished()}}));for(const N of j){$.lstat(N,((R,j)=>{if(this.closed)return;if(R){if(R.code==="ENOENT"||R.code==="EPERM"||R.code==="EBUSY"){this.setMissing(N,E,"scan ("+R.code+")")}else{this.onScanError(R)}G();return}if(j.isFile()||j.isSymbolicLink()){if(j.mtime){ensureFsAccuracy(j.mtime)}this.setFileTime(N,+j.mtime||+j.ctime||1,E,true,"scan (file)")}else if(j.isDirectory()){if(!E||!this.directories.has(N))this.setDirectory(N,+j.birthtime||1,E,"scan (dir)")}G()}))}G()}))}))}getTimes(){const E=Object.create(null);let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E[R]=Math.max(j.safeTime,j.timestamp)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimes();for(const R of Object.keys(j)){const $=j[R];N=Math.max(N,$);E[R]=$}}E[this.path]=N}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!Object.prototype.hasOwnProperty.call(E,N)){E[N]=null}}}}return E}getTimeInfoEntries(){if(this._cachedTimeInfoEntries!==undefined)return this._cachedTimeInfoEntries;const E=new Map;let N=this.lastWatchEvent;for(const[R,j]of this.files){fixupEntryAccuracy(j);N=Math.max(N,j.safeTime);E.set(R,j)}if(this.nestedWatching){for(const R of this.directories.values()){const j=R.directoryWatcher.getTimeInfoEntries();for(const[R,$]of j){if($){N=Math.max(N,$.safeTime)}E.set(R,$)}}E.set(this.path,{safeTime:N})}else{for(const N of this.directories.keys()){E.set(N,ie)}E.set(this.path,ie)}if(!this.initialScan){for(const N of this.watchers.values()){for(const R of N){const N=R.path;if(!E.has(N)){E.set(N,null)}}}this._cachedTimeInfoEntries=E}return E}close(){this.closed=true;this.initialScan=false;if(this.watcher){this.watcher.close();this.watcher=null}if(this.nestedWatching){for(const E of this.directories.values()){E.close()}this.directories.clear()}if(this.parentWatcher){this.parentWatcher.close();this.parentWatcher=null}this.emit("closed")}}E.exports=DirectoryWatcher;E.exports.EXISTANCE_ONLY_TIME_ENTRY=ie;function fixupEntryAccuracy(E){if(E.accuracy>ae){E.safeTime=E.safeTime-E.accuracy+ae;E.accuracy=ae}}function ensureFsAccuracy(E){if(!E)return;if(ae>1&&E%1!==0)ae=1;else if(ae>10&&E%10!==0)ae=10;else if(ae>100&&E%100!==0)ae=100}},99181:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=new Set(["EINVAL","ENOENT"]);if(process.platform==="win32")q.add("UNKNOWN");class LinkResolver{constructor(){this.cache=new Map}resolve(E){const N=this.cache.get(E);if(N!==undefined){return N}const R=$.dirname(E);if(R===E){const N=Object.freeze([E]);this.cache.set(E,N);return N}const G=this.resolve(R);let ie=E;if(G[0]!==R){const N=$.basename(E);ie=$.resolve(G[0],N)}try{const N=j.readlinkSync(ie);const R=$.resolve(G[0],N);const q=this.resolve(R);let ae;if(q.length>1&&G.length>1){const E=new Set(q);E.add(ie);for(let N=1;N1){ae=G.slice();ae[0]=q[0];ae.push(ie);Object.freeze(ae)}else if(q.length>1){ae=q.slice();ae.push(ie);Object.freeze(ae)}else{ae=Object.freeze([q[0],ie])}this.cache.set(E,ae);return ae}catch(N){if(!q.has(N.code)){throw N}const R=G.slice();R[0]=ie;Object.freeze(R);this.cache.set(E,R);return R}}}E.exports=LinkResolver},53982:(E,N,R)=>{"use strict";const j=R(71017);const $=R(56755);class WatcherManager{constructor(E){this.options=E;this.directoryWatchers=new Map}getDirectoryWatcher(E){const N=this.directoryWatchers.get(E);if(N===undefined){const N=new $(this,E,this.options);this.directoryWatchers.set(E,N);N.on("closed",(()=>{this.directoryWatchers.delete(E)}));return N}return N}watchFile(E,N){const R=j.dirname(E);if(R===E)return null;return this.getDirectoryWatcher(R).watch(E,N)}watchDirectory(E,N){return this.getDirectoryWatcher(E).watch(E,N)}}const q=new WeakMap;E.exports=E=>{const N=q.get(E);if(N!==undefined)return N;const R=new WatcherManager(E);q.set(E,R);return R};E.exports.WatcherManager=WatcherManager},27601:(E,N,R)=>{"use strict";const j=R(71017);E.exports=(E,N)=>{const R=new Map;for(const[N,j]of E){R.set(N,{filePath:N,parent:undefined,children:undefined,entries:1,active:true,value:j})}let $=R.size;for(const E of R.values()){const N=j.dirname(E.filePath);if(N!==E.filePath){let j=R.get(N);if(j===undefined){j={filePath:N,parent:undefined,children:[E],entries:E.entries,active:false,value:undefined};R.set(N,j);E.parent=j}else{E.parent=j;if(j.children===undefined){j.children=[E]}else{j.children.push(E)}do{j.entries+=E.entries;j=j.parent}while(j)}}}while($>N){const E=$-N;let j=undefined;let q=Infinity;for(const $ of R.values()){if($.entries<=1||!$.children||!$.parent)continue;if($.children.length===0)continue;if($.children.length===1&&!$.value)continue;const R=$.entries-1>=E?$.entries-1-E:E-$.entries+1+N*.3;if(R{"use strict";const j=R(57147);const $=R(71017);const{EventEmitter:q}=R(82361);const G=R(27601);const ie=R(22037).platform()==="darwin";const ae=R(22037).platform()==="win32";const ce=ie||ae;const le=+process.env.WATCHPACK_WATCHER_LIMIT||(ie?2e3:1e4);const _e=!!process.env.WATCHPACK_RECURSIVE_WATCHER_LOGGING;let Ee=false;let Te=0;const we=new Map;const Ie=new Map;const Ne=new Map;const Me=new Map;class DirectWatcher{constructor(E){this.filePath=E;this.watchers=new Set;this.watcher=undefined;try{const N=j.watch(E);this.watcher=N;N.on("change",((E,N)=>{for(const R of this.watchers){R.emit("change",E,N)}}));N.on("error",(E=>{for(const N of this.watchers){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.watchers){N.emit("error",E)}}))}Te++}add(E){Me.set(E,this);this.watchers.add(E)}remove(E){this.watchers.delete(E);if(this.watchers.size===0){Ne.delete(this.filePath);Te--;if(this.watcher)this.watcher.close()}}getWatchers(){return this.watchers}}class RecursiveWatcher{constructor(E){this.rootPath=E;this.mapWatcherToPath=new Map;this.mapPathToWatchers=new Map;this.watcher=undefined;try{const N=j.watch(E,{recursive:true});this.watcher=N;N.on("change",((E,N)=>{if(!N){if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) to all watchers\n`)}for(const N of this.mapWatcherToPath.keys()){N.emit("change",E)}}else{const R=$.dirname(N);const j=this.mapPathToWatchers.get(R);if(_e){process.stderr.write(`[watchpack] dispatch ${E} event in recursive watcher (${this.rootPath}) for '${N}' to ${j?j.size:0} watchers\n`)}if(j===undefined)return;for(const R of j){R.emit("change",E,$.basename(N))}}}));N.on("error",(E=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}catch(E){process.nextTick((()=>{for(const N of this.mapWatcherToPath.keys()){N.emit("error",E)}}))}Te++;if(_e){process.stderr.write(`[watchpack] created recursive watcher at ${E}\n`)}}add(E,N){Me.set(N,this);const R=E.slice(this.rootPath.length+1)||".";this.mapWatcherToPath.set(N,R);const j=this.mapPathToWatchers.get(R);if(j===undefined){const E=new Set;E.add(N);this.mapPathToWatchers.set(R,E)}else{j.add(N)}}remove(E){const N=this.mapWatcherToPath.get(E);if(!N)return;this.mapWatcherToPath.delete(E);const R=this.mapPathToWatchers.get(N);R.delete(E);if(R.size===0){this.mapPathToWatchers.delete(N)}if(this.mapWatcherToPath.size===0){Ie.delete(this.rootPath);Te--;if(this.watcher)this.watcher.close();if(_e){process.stderr.write(`[watchpack] closed recursive watcher at ${this.rootPath}\n`)}}}getWatchers(){return this.mapWatcherToPath}}class Watcher extends q{close(){if(we.has(this)){we.delete(this);return}const E=Me.get(this);E.remove(this);Me.delete(this)}}const createDirectWatcher=E=>{const N=Ne.get(E);if(N!==undefined)return N;const R=new DirectWatcher(E);Ne.set(E,R);return R};const createRecursiveWatcher=E=>{const N=Ie.get(E);if(N!==undefined)return N;const R=new RecursiveWatcher(E);Ie.set(E,R);return R};const execute=()=>{const E=new Map;const addWatcher=(N,R)=>{const j=E.get(R);if(j===undefined){E.set(R,N)}else if(Array.isArray(j)){j.push(N)}else{E.set(R,[j,N])}};for(const[E,N]of we){addWatcher(E,N)}we.clear();if(!ce||le-Te>=E.size){for(const[N,R]of E){const E=createDirectWatcher(N);if(Array.isArray(R)){for(const N of R)E.add(N)}else{E.add(R)}}return}for(const E of Ie.values()){for(const[N,R]of E.getWatchers()){addWatcher(N,$.join(E.rootPath,R))}}for(const E of Ne.values()){for(const N of E.getWatchers()){addWatcher(N,E.filePath)}}const N=G(E,le*.9);for(const[E,R]of N){if(R.size===1){for(const[E,N]of R){const R=createDirectWatcher(N);const j=Me.get(E);if(j===R)continue;R.add(E);if(j!==undefined)j.remove(E)}}else{const N=new Set(R.values());if(N.size>1){const N=createRecursiveWatcher(E);for(const[E,j]of R){const R=Me.get(E);if(R===N)continue;N.add(j,E);if(R!==undefined)R.remove(E)}}else{for(const E of N){const N=createDirectWatcher(E);for(const E of R.keys()){const R=Me.get(E);if(R===N)continue;N.add(E);if(R!==undefined)R.remove(E)}}}}}};N.watch=E=>{const N=new Watcher;const R=Ne.get(E);if(R!==undefined){R.add(N);return N}let j=E;for(;;){const R=Ie.get(j);if(R!==undefined){R.add(E,N);return N}const q=$.dirname(j);if(q===j)break;j=q}we.set(N,E);if(!Ee)execute();return N};N.batch=E=>{Ee=true;try{E()}finally{Ee=false;execute()}};N.getNumberOfWatchers=()=>Te},92512:(E,N,R)=>{"use strict";const j=R(53982);const $=R(99181);const q=R(82361).EventEmitter;const G=R(70554);const ie=R(68862);let ae;const ce=[];const le={};function addWatchersToSet(E,N){for(const R of E){if(R!==true&&!N.has(R.directoryWatcher)){N.add(R.directoryWatcher);addWatchersToSet(R.directoryWatcher.directories.values(),N)}}}const stringToRegexp=E=>{const N=G(E,{globstar:true,extended:true}).source;const R=N.slice(0,N.length-1)+"(?:$|\\/)";return R};const ignoredToRegexp=E=>{if(Array.isArray(E)){return new RegExp(E.map((E=>stringToRegexp(E))).join("|"))}else if(typeof E==="string"){return new RegExp(stringToRegexp(E))}else if(E instanceof RegExp){return E}else if(E){throw new Error(`Invalid option for 'ignored': ${E}`)}else{return undefined}};const normalizeOptions=E=>({followSymlinks:!!E.followSymlinks,ignored:ignoredToRegexp(E.ignored),poll:E.poll});const _e=new WeakMap;const cachedNormalizeOptions=E=>{const N=_e.get(E);if(N!==undefined)return N;const R=normalizeOptions(E);_e.set(E,R);return R};class Watchpack extends q{constructor(E){super();if(!E)E=le;this.options=E;this.aggregateTimeout=typeof E.aggregateTimeout==="number"?E.aggregateTimeout:200;this.watcherOptions=cachedNormalizeOptions(E);this.watcherManager=j(this.watcherOptions);this.fileWatchers=new Map;this.directoryWatchers=new Map;this.startTime=undefined;this.paused=false;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.aggregateTimer=undefined;this._onTimeout=this._onTimeout.bind(this)}watch(E,N,R){let j,q,G,ae;if(!N){({files:j=ce,directories:q=ce,missing:G=ce,startTime:ae}=E)}else{j=E;q=N;G=ce;ae=R}this.paused=false;const le=this.fileWatchers;const _e=this.directoryWatchers;const Ee=this.watcherOptions.ignored;const Te=Ee?E=>!Ee.test(E.replace(/\\/g,"/")):()=>true;const addToMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,[R])}else{j.push(R)}};const we=new Map;const Ie=new Map;const Ne=new Set;if(this.watcherOptions.followSymlinks){const E=new $;for(const N of j){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){addToMap(we,R,N)}}}}for(const N of G){if(Te(N)){for(const R of E.resolve(N)){if(N===R||Te(R)){Ne.add(N);addToMap(we,R,N)}}}}for(const N of q){if(Te(N)){let R=true;for(const j of E.resolve(N)){if(Te(j)){addToMap(R?Ie:we,j,N)}R=false}}}}else{for(const E of j){if(Te(E)){addToMap(we,E,E)}}for(const E of G){if(Te(E)){Ne.add(E);addToMap(we,E,E)}}for(const E of q){if(Te(E)){addToMap(Ie,E,E)}}}const Me=new Map;const Le=new Map;const setupFileWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){if(!Ne.has(N))this._onRemove(N,N,E)}}));E.on("change",((E,N)=>{for(const j of R){this._onChange(j,E,j,N)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Me.set(N,E)};const setupDirectoryWatcher=(E,N,R)=>{E.on("initial-missing",(E=>{for(const N of R){this._onRemove(N,N,E)}}));E.on("change",((E,N,j)=>{for(const $ of R){this._onChange($,N,E,j)}}));E.on("remove",(E=>{for(const N of R){this._onRemove(N,N,E)}}));Le.set(N,E)};const Be=[];const je=[];for(const[E,N]of le){if(!we.has(E)){N.close()}else{Be.push(N)}}for(const[E,N]of _e){if(!Ie.has(E)){N.close()}else{je.push(N)}}ie.batch((()=>{for(const[E,N]of we){const R=this.watcherManager.watchFile(E,ae);if(R){setupFileWatcher(R,E,N)}}for(const[E,N]of Ie){const R=this.watcherManager.watchDirectory(E,ae);if(R){setupDirectoryWatcher(R,E,N)}}}));for(const E of Be)E.close();for(const E of je)E.close();this.fileWatchers=Me;this.directoryWatchers=Le;this.startTime=ae}close(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer);for(const E of this.fileWatchers.values())E.close();for(const E of this.directoryWatchers.values())E.close();this.fileWatchers.clear();this.directoryWatchers.clear()}pause(){this.paused=true;if(this.aggregateTimer)clearTimeout(this.aggregateTimer)}getTimes(){const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=Object.create(null);for(const R of E){const E=R.getTimes();for(const R of Object.keys(E))N[R]=E[R]}return N}getTimeInfoEntries(){if(ae===undefined){ae=R(56755).EXISTANCE_ONLY_TIME_ENTRY}const E=new Set;addWatchersToSet(this.fileWatchers.values(),E);addWatchersToSet(this.directoryWatchers.values(),E);const N=new Map;for(const R of E){const E=R.getTimeInfoEntries();for(const[R,j]of E){if(N.has(R)){if(j===ae)continue;const E=N.get(R);if(E===j)continue;if(E!==ae){N.set(R,Object.assign({},E,j));continue}}N.set(R,j)}}return N}getAggregated(){if(this.aggregateTimer){clearTimeout(this.aggregateTimer);this.aggregateTimer=undefined}const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;return{changes:E,removals:N}}_onChange(E,N,R,j){R=R||E;if(!this.paused){this.emit("change",R,N,j);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedRemovals.delete(E);this.aggregatedChanges.add(E)}_onRemove(E,N,R){N=N||E;if(!this.paused){this.emit("remove",N,R);if(this.aggregateTimer)clearTimeout(this.aggregateTimer);this.aggregateTimer=setTimeout(this._onTimeout,this.aggregateTimeout)}this.aggregatedChanges.delete(E);this.aggregatedRemovals.add(E)}_onTimeout(){this.aggregateTimer=undefined;const E=this.aggregatedChanges;const N=this.aggregatedRemovals;this.aggregatedChanges=new Set;this.aggregatedRemovals=new Set;this.emit("aggregated",E,N)}}E.exports=Watchpack},32323:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{toConstantDependency:ie,evaluateToString:ae}=R(48472);const ce=R(64255);const le=R(75948);const _e={__webpack_require__:{expr:j.require,req:[j.require],type:"function",assign:false},__webpack_public_path__:{expr:j.publicPath,req:[j.publicPath],type:"string",assign:true},__webpack_base_uri__:{expr:j.baseURI,req:[j.baseURI],type:"string",assign:true},__webpack_modules__:{expr:j.moduleFactories,req:[j.moduleFactories],type:"object",assign:false},__webpack_chunk_load__:{expr:j.ensureChunk,req:[j.ensureChunk],type:"function",assign:true},__non_webpack_require__:{expr:"require",req:null,type:undefined,assign:true},__webpack_nonce__:{expr:j.scriptNonce,req:[j.scriptNonce],type:"string",assign:true},__webpack_hash__:{expr:`${j.getFullHash}()`,req:[j.getFullHash],type:"string",assign:false},__webpack_chunkname__:{expr:j.chunkName,req:[j.chunkName],type:"string",assign:false},__webpack_get_script_filename__:{expr:j.getChunkScriptFilename,req:[j.getChunkScriptFilename],type:"function",assign:true},__webpack_runtime_id__:{expr:j.runtimeId,req:[j.runtimeId],assign:false},"require.onError":{expr:j.uncaughtErrorHandler,req:[j.uncaughtErrorHandler],type:undefined,assign:true},__system_context__:{expr:j.systemContext,req:[j.systemContext],type:"object",assign:false},__webpack_share_scopes__:{expr:j.shareScopeMap,req:[j.shareScopeMap],type:"object",assign:false},__webpack_init_sharing__:{expr:j.initializeSharing,req:[j.initializeSharing],type:"function",assign:true}};class APIPlugin{apply(E){E.hooks.compilation.tap("APIPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.hooks.runtimeRequirementInTree.for(j.chunkName).tap("APIPlugin",(N=>{E.addRuntimeModule(N,new ce(N.name));return true}));E.hooks.runtimeRequirementInTree.for(j.getFullHash).tap("APIPlugin",((N,R)=>{E.addRuntimeModule(N,new le);return true}));const handler=E=>{Object.keys(_e).forEach((N=>{const R=_e[N];E.hooks.expression.for(N).tap("APIPlugin",ie(E,R.expr,R.req));if(R.assign===false){E.hooks.assign.for(N).tap("APIPlugin",(E=>{const R=new $(`${N} must not be assigned`);R.loc=E.loc;throw R}))}if(R.type){E.hooks.evaluateTypeof.for(N).tap("APIPlugin",ae(R.type))}}));E.hooks.expression.for("__webpack_layer__").tap("APIPlugin",(N=>{const R=new q(JSON.stringify(E.state.module.layer),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateIdentifier.for("__webpack_layer__").tap("APIPlugin",(N=>(E.state.module.layer===null?(new G).setNull():(new G).setString(E.state.module.layer)).setRange(N.range)));E.hooks.evaluateTypeof.for("__webpack_layer__").tap("APIPlugin",(N=>(new G).setString(E.state.module.layer===null?"object":"string").setRange(N.range)))};N.hooks.parser.for("javascript/auto").tap("APIPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("APIPlugin",handler);N.hooks.parser.for("javascript/esm").tap("APIPlugin",handler)}))}}E.exports=APIPlugin},75884:(E,N,R)=>{"use strict";const j=R(81627);const $=/at ([a-zA-Z0-9_.]*)/;function createMessage(E){return`Abstract method${E?" "+E:""}. Must be overridden.`}function Message(){this.stack=undefined;Error.captureStackTrace(this);const E=this.stack.split("\n")[3].match($);this.message=E&&E[1]?createMessage(E[1]):createMessage()}class AbstractMethodError extends j{constructor(){super((new Message).message);this.name="AbstractMethodError"}}E.exports=AbstractMethodError},98221:(E,N,R)=>{"use strict";const j=R(32448);const $=R(56202);class AsyncDependenciesBlock extends j{constructor(E,N,R){super();if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupOptions=E;this.loc=N;this.request=R;this._stringifiedGroupOptions=undefined}get chunkName(){return this.groupOptions.name}set chunkName(E){if(this.groupOptions.name!==E){this.groupOptions.name=E;this._stringifiedGroupOptions=undefined}}updateHash(E,N){const{chunkGraph:R}=N;if(this._stringifiedGroupOptions===undefined){this._stringifiedGroupOptions=JSON.stringify(this.groupOptions)}const j=R.getBlockChunkGroup(this);E.update(`${this._stringifiedGroupOptions}${j?j.id:""}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.groupOptions);N(this.loc);N(this.request);super.serialize(E)}deserialize(E){const{read:N}=E;this.groupOptions=N();this.loc=N();this.request=N();super.deserialize(E)}}$(AsyncDependenciesBlock,"webpack/lib/AsyncDependenciesBlock");Object.defineProperty(AsyncDependenciesBlock.prototype,"module",{get(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")},set(){throw new Error("module property was removed from AsyncDependenciesBlock (it's not needed)")}});E.exports=AsyncDependenciesBlock},21357:(E,N,R)=>{"use strict";const j=R(81627);class AsyncDependencyToInitialChunkError extends j{constructor(E,N,R){super(`It's not allowed to load an initial chunk on demand. The chunk name "${E}" is already used by an entrypoint.`);this.name="AsyncDependencyToInitialChunkError";this.module=N;this.loc=R}}E.exports=AsyncDependencyToInitialChunkError},20383:(E,N,R)=>{"use strict";const j=R(62355);const $=R(53520);const q=R(88281);class AutomaticPrefetchPlugin{apply(E){E.hooks.compilation.tap("AutomaticPrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));let N=null;E.hooks.afterCompile.tap("AutomaticPrefetchPlugin",(E=>{N=[];for(const R of E.modules){if(R instanceof $){N.push({context:R.context,request:R.request})}}}));E.hooks.make.tapAsync("AutomaticPrefetchPlugin",((R,$)=>{if(!N)return $();j.forEach(N,((N,j)=>{R.addModuleChain(N.context||E.context,new q(`!!${N.request}`),j)}),(E=>{N=null;$(E)}))}))}}E.exports=AutomaticPrefetchPlugin},58779:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(3080);const q=R(70354);const G=R(58159);const ie=R(35817);const ae=ie(R(50879),(()=>R(87298)),{name:"Banner Plugin",baseDataPath:"options"});const wrapComment=E=>{if(!E.includes("\n")){return G.toComment(E)}return`/*!\n * ${E.replace(/\*\//g,"* /").split("\n").join("\n * ").replace(/\s+\n/g,"\n").trimRight()}\n */`};class BannerPlugin{constructor(E){if(typeof E==="string"||typeof E==="function"){E={banner:E}}ae(E);this.options=E;const N=E.banner;if(typeof N==="function"){const E=N;this.banner=this.options.raw?E:N=>wrapComment(E(N))}else{const E=this.options.raw?N:wrapComment(N);this.banner=()=>E}}apply(E){const N=this.options;const R=this.banner;const G=q.matchObject.bind(undefined,N);E.hooks.compilation.tap("BannerPlugin",(E=>{E.hooks.processAssets.tap({name:"BannerPlugin",stage:$.PROCESS_ASSETS_STAGE_ADDITIONS},(()=>{for(const $ of E.chunks){if(N.entryOnly&&!$.canBeInitial()){continue}for(const N of $.files){if(!G(N)){continue}const q={chunk:$,filename:N};const ie=E.getPath(R,q);E.updateAsset(N,(E=>new j(ie,"\n",E)))}}}))}))}}E.exports=BannerPlugin},54725:(E,N,R)=>{"use strict";const{AsyncParallelHook:j,AsyncSeriesBailHook:$,SyncHook:q}=R(92960);const{makeWebpackError:G,makeWebpackErrorCallback:ie}=R(3728);const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=0;return N(R)}};class Cache{constructor(){this.hooks={get:new $(["identifier","etag","gotHandlers"]),store:new j(["identifier","etag","data"]),storeBuildDependencies:new j(["dependencies"]),beginIdle:new q([]),endIdle:new j([]),shutdown:new j([])}}get(E,N,R){const j=[];this.hooks.get.callAsync(E,N,j,((E,N)=>{if(E){R(G(E,"Cache.hooks.get"));return}if(N===null){N=undefined}if(j.length>1){const E=needCalls(j.length,(()=>R(null,N)));for(const R of j){R(N,E)}}else if(j.length===1){j[0](N,(()=>R(null,N)))}else{R(null,N)}}))}store(E,N,R,j){this.hooks.store.callAsync(E,N,R,ie(j,"Cache.hooks.store"))}storeBuildDependencies(E,N){this.hooks.storeBuildDependencies.callAsync(E,ie(N,"Cache.hooks.storeBuildDependencies"))}beginIdle(){this.hooks.beginIdle.call()}endIdle(E){this.hooks.endIdle.callAsync(ie(E,"Cache.hooks.endIdle"))}shutdown(E){this.hooks.shutdown.callAsync(ie(E,"Cache.hooks.shutdown"))}}Cache.STAGE_MEMORY=-10;Cache.STAGE_DEFAULT=0;Cache.STAGE_DISK=10;Cache.STAGE_NETWORK=20;E.exports=Cache},6503:(E,N,R)=>{"use strict";const j=R(62355);const $=R(77034);const q=R(10168);class MultiItemCache{constructor(E){this._items=E;if(E.length===1)return E[0]}get(E){const next=N=>{this._items[N].get(((R,j)=>{if(R)return E(R);if(j!==undefined)return E(null,j);if(++N>=this._items.length)return E();next(N)}))};next(0)}getPromise(){const next=E=>this._items[E].getPromise().then((N=>{if(N!==undefined)return N;if(++EN.store(E,R)),N)}storePromise(E){return Promise.all(this._items.map((N=>N.storePromise(E)))).then((()=>{}))}}class ItemCacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._etag=R}get(E){this._cache.get(this._name,this._etag,E)}getPromise(){return new Promise(((E,N)=>{this._cache.get(this._name,this._etag,((R,j)=>{if(R){N(R)}else{E(j)}}))}))}store(E,N){this._cache.store(this._name,this._etag,E,N)}storePromise(E){return new Promise(((N,R)=>{this._cache.store(this._name,this._etag,E,(E=>{if(E){R(E)}else{N()}}))}))}provide(E,N){this.get(((R,j)=>{if(R)return N(R);if(j!==undefined)return j;E(((E,R)=>{if(E)return N(E);this.store(R,(E=>{if(E)return N(E);N(null,R)}))}))}))}async providePromise(E){const N=await this.getPromise();if(N!==undefined)return N;const R=await E();await this.storePromise(R);return R}}class CacheFacade{constructor(E,N,R){this._cache=E;this._name=N;this._hashFunction=R}getChildCache(E){return new CacheFacade(this._cache,`${this._name}|${E}`,this._hashFunction)}getItemCache(E,N){return new ItemCacheFacade(this._cache,`${this._name}|${E}`,N)}getLazyHashedEtag(E){return $(E,this._hashFunction)}mergeEtags(E,N){return q(E,N)}get(E,N,R){this._cache.get(`${this._name}|${E}`,N,R)}getPromise(E,N){return new Promise(((R,j)=>{this._cache.get(`${this._name}|${E}`,N,((E,N)=>{if(E){j(E)}else{R(N)}}))}))}store(E,N,R,j){this._cache.store(`${this._name}|${E}`,N,R,j)}storePromise(E,N,R){return new Promise(((j,$)=>{this._cache.store(`${this._name}|${E}`,N,R,(E=>{if(E){$(E)}else{j()}}))}))}provide(E,N,R,j){this.get(E,N,(($,q)=>{if($)return j($);if(q!==undefined)return q;R(((R,$)=>{if(R)return j(R);this.store(E,N,$,(E=>{if(E)return j(E);j(null,$)}))}))}))}async providePromise(E,N,R){const j=await this.getPromise(E,N);if(j!==undefined)return j;const $=await R();await this.storePromise(E,N,$);return $}}E.exports=CacheFacade;E.exports.ItemCacheFacade=ItemCacheFacade;E.exports.MultiItemCache=MultiItemCache},41673:(E,N,R)=>{"use strict";const j=R(81627);const sortModules=E=>E.sort(((E,N)=>{const R=E.identifier();const j=N.identifier();if(Rj)return 1;return 0}));const createModulesListMessage=(E,N)=>E.map((E=>{let R=`* ${E.identifier()}`;const j=Array.from(N.getIncomingConnectionsByOriginModule(E).keys()).filter((E=>E));if(j.length>0){R+=`\n Used by ${j.length} module(s), i. e.`;R+=`\n ${j[0].identifier()}`}return R})).join("\n");class CaseSensitiveModulesWarning extends j{constructor(E,N){const R=sortModules(Array.from(E));const j=createModulesListMessage(R,N);super(`There are multiple modules with names that only differ in casing.\nThis can lead to unexpected behavior when compiling on a filesystem with other case-semantic.\nUse equal casing. Compare these module identifiers:\n${j}`);this.name="CaseSensitiveModulesWarning";this.module=R[0]}}E.exports=CaseSensitiveModulesWarning},62433:(E,N,R)=>{"use strict";const j=R(45137);const $=R(71452);const{intersect:q}=R(26221);const G=R(16102);const ie=R(14146);const{compareModulesByIdentifier:ae,compareChunkGroupsByIndex:ce,compareModulesById:le}=R(68673);const{createArrayToSetDeprecationSet:_e}=R(16595);const{mergeRuntime:Ee}=R(37416);const Te=_e("chunk.files");let we=1e3;class Chunk{constructor(E,N=true){this.id=null;this.ids=null;this.debugId=we++;this.name=E;this.idNameHints=new G;this.preventIntegration=false;this.filenameTemplate=undefined;this._groups=new G(undefined,ce);this.runtime=undefined;this.files=N?new Te:new Set;this.auxiliaryFiles=new Set;this.rendered=false;this.hash=undefined;this.contentHash=Object.create(null);this.renderedHash=undefined;this.chunkReason=undefined;this.extraAsync=false}get entryModule(){const E=Array.from(j.getChunkGraphForChunk(this,"Chunk.entryModule","DEP_WEBPACK_CHUNK_ENTRY_MODULE").getChunkEntryModulesIterable(this));if(E.length===0){return undefined}else if(E.length===1){return E[0]}else{throw new Error("Module.entryModule: Multiple entry modules are not supported by the deprecated API (Use the new ChunkGroup API)")}}hasEntryModule(){return j.getChunkGraphForChunk(this,"Chunk.hasEntryModule","DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE").getNumberOfEntryModules(this)>0}addModule(E){const N=j.getChunkGraphForChunk(this,"Chunk.addModule","DEP_WEBPACK_CHUNK_ADD_MODULE");if(N.isModuleInChunk(E,this))return false;N.connectChunkAndModule(this,E);return true}removeModule(E){j.getChunkGraphForChunk(this,"Chunk.removeModule","DEP_WEBPACK_CHUNK_REMOVE_MODULE").disconnectChunkAndModule(this,E)}getNumberOfModules(){return j.getChunkGraphForChunk(this,"Chunk.getNumberOfModules","DEP_WEBPACK_CHUNK_GET_NUMBER_OF_MODULES").getNumberOfChunkModules(this)}get modulesIterable(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesIterable","DEP_WEBPACK_CHUNK_MODULES_ITERABLE");return E.getOrderedChunkModulesIterable(this,ae)}compareTo(E){const N=j.getChunkGraphForChunk(this,"Chunk.compareTo","DEP_WEBPACK_CHUNK_COMPARE_TO");return N.compareChunks(this,E)}containsModule(E){return j.getChunkGraphForChunk(this,"Chunk.containsModule","DEP_WEBPACK_CHUNK_CONTAINS_MODULE").isModuleInChunk(E,this)}getModules(){return j.getChunkGraphForChunk(this,"Chunk.getModules","DEP_WEBPACK_CHUNK_GET_MODULES").getChunkModules(this)}remove(){const E=j.getChunkGraphForChunk(this,"Chunk.remove","DEP_WEBPACK_CHUNK_REMOVE");E.disconnectChunk(this);this.disconnectFromGroups()}moveModule(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.moveModule","DEP_WEBPACK_CHUNK_MOVE_MODULE");R.disconnectChunkAndModule(this,E);R.connectChunkAndModule(N,E)}integrate(E){const N=j.getChunkGraphForChunk(this,"Chunk.integrate","DEP_WEBPACK_CHUNK_INTEGRATE");if(N.canChunksBeIntegrated(this,E)){N.integrateChunks(this,E);return true}else{return false}}canBeIntegrated(E){const N=j.getChunkGraphForChunk(this,"Chunk.canBeIntegrated","DEP_WEBPACK_CHUNK_CAN_BE_INTEGRATED");return N.canChunksBeIntegrated(this,E)}isEmpty(){const E=j.getChunkGraphForChunk(this,"Chunk.isEmpty","DEP_WEBPACK_CHUNK_IS_EMPTY");return E.getNumberOfChunkModules(this)===0}modulesSize(){const E=j.getChunkGraphForChunk(this,"Chunk.modulesSize","DEP_WEBPACK_CHUNK_MODULES_SIZE");return E.getChunkModulesSize(this)}size(E={}){const N=j.getChunkGraphForChunk(this,"Chunk.size","DEP_WEBPACK_CHUNK_SIZE");return N.getChunkSize(this,E)}integratedSize(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.integratedSize","DEP_WEBPACK_CHUNK_INTEGRATED_SIZE");return R.getIntegratedChunksSize(this,E,N)}getChunkModuleMaps(E){const N=j.getChunkGraphForChunk(this,"Chunk.getChunkModuleMaps","DEP_WEBPACK_CHUNK_GET_CHUNK_MODULE_MAPS");const R=Object.create(null);const $=Object.create(null);for(const j of this.getAllAsyncChunks()){let q;for(const G of N.getOrderedChunkModulesIterable(j,le(N))){if(E(G)){if(q===undefined){q=[];R[j.id]=q}const E=N.getModuleId(G);q.push(E);$[E]=N.getRenderedModuleHash(G,undefined)}}}return{id:R,hash:$}}hasModuleInGraph(E,N){const R=j.getChunkGraphForChunk(this,"Chunk.hasModuleInGraph","DEP_WEBPACK_CHUNK_HAS_MODULE_IN_GRAPH");return R.hasModuleInGraph(this,E,N)}getChunkMaps(E){const N=Object.create(null);const R=Object.create(null);const j=Object.create(null);for(const $ of this.getAllAsyncChunks()){N[$.id]=E?$.hash:$.renderedHash;for(const E of Object.keys($.contentHash)){if(!R[E]){R[E]=Object.create(null)}R[E][$.id]=$.contentHash[E]}if($.name){j[$.id]=$.name}}return{hash:N,contentHash:R,name:j}}hasRuntime(){for(const E of this._groups){if(E instanceof $&&E.getRuntimeChunk()===this){return true}}return false}canBeInitial(){for(const E of this._groups){if(E.isInitial())return true}return false}isOnlyInitial(){if(this._groups.size<=0)return false;for(const E of this._groups){if(!E.isInitial())return false}return true}getEntryOptions(){for(const E of this._groups){if(E instanceof $){return E.options}}return undefined}addGroup(E){this._groups.add(E)}removeGroup(E){this._groups.delete(E)}isInGroup(E){return this._groups.has(E)}getNumberOfGroups(){return this._groups.size}get groupsIterable(){this._groups.sort();return this._groups}disconnectFromGroups(){for(const E of this._groups){E.removeChunk(this)}}split(E){for(const N of this._groups){N.insertChunk(E,this);E.addGroup(N)}for(const N of this.idNameHints){E.idNameHints.add(N)}E.runtime=Ee(E.runtime,this.runtime)}updateHash(E,N){E.update(`${this.id} ${this.ids?this.ids.join():""} ${this.name||""} `);const R=new ie;for(const E of N.getChunkModulesIterable(this)){R.add(N.getModuleHash(E,this.runtime))}R.updateHash(E);const j=N.getChunkEntryModulesWithChunkGroupIterable(this);for(const[R,$]of j){E.update(`entry${N.getModuleId(R)}${$.id}`)}}getAllAsyncChunks(){const E=new Set;const N=new Set;const R=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));const j=new Set(this.groupsIterable);for(const N of j){for(const R of N.childrenIterable){if(R instanceof $){j.add(R)}else{E.add(R)}}}for(const j of E){for(const E of j.chunks){if(!R.has(E)){N.add(E)}}for(const N of j.childrenIterable){E.add(N)}}return N}getAllInitialChunks(){const E=new Set;const N=new Set(this.groupsIterable);for(const R of N){if(R.isInitial()){for(const N of R.chunks)E.add(N);for(const E of R.childrenIterable)N.add(E)}}return E}getAllReferencedChunks(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.chunks){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}getAllReferencedAsyncEntrypoints(){const E=new Set(this.groupsIterable);const N=new Set;for(const R of E){for(const E of R.asyncEntrypointsIterable){N.add(E)}for(const N of R.childrenIterable){E.add(N)}}return N}hasAsyncChunks(){const E=new Set;const N=q(Array.from(this.groupsIterable,(E=>new Set(E.chunks))));for(const N of this.groupsIterable){for(const R of N.childrenIterable){E.add(R)}}for(const R of E){for(const E of R.chunks){if(!N.has(E)){return true}}for(const N of R.childrenIterable){E.add(N)}}return false}getChildIdsByOrders(E,N){const R=new Map;for(const E of this.groupsIterable){if(E.chunks[E.chunks.length-1]===this){for(const N of E.childrenIterable){for(const E of Object.keys(N.options)){if(E.endsWith("Order")){const j=E.substr(0,E.length-"Order".length);let $=R.get(j);if($===undefined){$=[];R.set(j,$)}$.push({order:N.options[E],group:N})}}}}}const j=Object.create(null);for(const[$,q]of R){q.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const R=new Set;for(const j of q){for(const $ of j.group.chunks){if(N&&!N($,E))continue;R.add($.id)}}if(R.size>0){j[$]=Array.from(R)}}return j}getChildrenOfTypeInOrder(E,N){const R=[];for(const E of this.groupsIterable){for(const j of E.childrenIterable){const $=j.options[N];if($===undefined)continue;R.push({order:$,group:E,childGroup:j})}}if(R.length===0)return undefined;R.sort(((N,R)=>{const j=R.order-N.order;if(j!==0)return j;return N.group.compareTo(E,R.group)}));const j=[];let $;for(const{group:E,childGroup:N}of R){if($&&$.onChunks===E.chunks){for(const E of N.chunks){$.chunks.add(E)}}else{j.push($={onChunks:E.chunks,chunks:new Set(N.chunks)})}}return j}getChildIdsByOrdersMap(E,N,R){const j=Object.create(null);const addChildIdsByOrdersToMap=N=>{const $=N.getChildIdsByOrders(E,R);for(const E of Object.keys($)){let R=j[E];if(R===undefined){j[E]=R=Object.create(null)}R[N.id]=$[E]}};if(N){const E=new Set;for(const N of this.groupsIterable){for(const R of N.chunks){E.add(R)}}for(const N of E){addChildIdsByOrdersToMap(N)}}for(const E of this.getAllAsyncChunks()){addChildIdsByOrdersToMap(E)}return j}}E.exports=Chunk},45137:(E,N,R)=>{"use strict";const j=R(73837);const $=R(71452);const q=R(79900);const{first:G}=R(26221);const ie=R(16102);const{compareModulesById:ae,compareIterables:ce,compareModulesByIdentifier:le,concatComparators:_e,compareSelect:Ee,compareIds:Te}=R(68673);const we=R(35891);const Ie=R(62598);const{RuntimeSpecMap:Ne,RuntimeSpecSet:Me,runtimeToString:Le,mergeRuntime:Be,forEachRuntime:je}=R(37416);const Ue=new Set;const ze=BigInt(0);const We=ce(le);class ModuleHashInfo{constructor(E,N){this.hash=E;this.renderedHash=N}}const getArray=E=>Array.from(E);const getModuleRuntimes=E=>{const N=new Me;for(const R of E){N.add(R.runtime)}return N};const modulesBySourceType=E=>{const N=new Map;for(const R of E){for(const E of R.getSourceTypes()){let j=N.get(E);if(j===undefined){j=new ie;N.set(E,j)}j.add(R)}}for(const[R,j]of N){if(j.size===E.size){N.set(R,E)}}return N};const Je=new WeakMap;const createOrderedArrayFunction=E=>{let N=Je.get(E);if(N!==undefined)return N;N=N=>{N.sortWith(E);return Array.from(N)};Je.set(E,N);return N};const getModulesSize=E=>{let N=0;for(const R of E){for(const E of R.getSourceTypes()){N+=R.size(E)}}return N};const getModulesSizes=E=>{let N=Object.create(null);for(const R of E){for(const E of R.getSourceTypes()){N[E]=(N[E]||0)+R.size(E)}}return N};const isAvailableChunk=(E,N)=>{const R=new Set(N.groupsIterable);for(const N of R){if(E.isInGroup(N))continue;if(N.isInitial())return false;for(const E of N.parentsIterable){R.add(E)}}return true};class ChunkGraphModule{constructor(){this.chunks=new ie;this.entryInChunks=undefined;this.runtimeInChunks=undefined;this.hashes=undefined;this.id=null;this.runtimeRequirements=undefined;this.graphHashes=undefined;this.graphHashesWithConnections=undefined}}class ChunkGraphChunk{constructor(){this.modules=new ie;this.entryModules=new Map;this.runtimeModules=new ie;this.fullHashModules=undefined;this.dependentHashModules=undefined;this.runtimeRequirements=undefined;this.runtimeRequirementsInTree=new Set}}class ChunkGraph{constructor(E,N="md4"){this._modules=new WeakMap;this._chunks=new WeakMap;this._blockChunkGroups=new WeakMap;this._runtimeIds=new Map;this.moduleGraph=E;this._hashFunction=N;this._getGraphRoots=this._getGraphRoots.bind(this)}_getChunkGraphModule(E){let N=this._modules.get(E);if(N===undefined){N=new ChunkGraphModule;this._modules.set(E,N)}return N}_getChunkGraphChunk(E){let N=this._chunks.get(E);if(N===undefined){N=new ChunkGraphChunk;this._chunks.set(E,N)}return N}_getGraphRoots(E){const{moduleGraph:N}=this;return Array.from(Ie(E,(E=>{const R=new Set;const addDependencies=E=>{for(const j of N.getOutgoingConnections(E)){if(!j.module)continue;const E=j.getActiveState(undefined);if(E===false)continue;if(E===q.TRANSITIVE_ONLY){addDependencies(j.module);continue}R.add(j.module)}};addDependencies(E);return R}))).sort(le)}connectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.chunks.add(E);j.modules.add(N)}disconnectChunkAndModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);j.modules.delete(N);R.chunks.delete(E)}disconnectChunk(E){const N=this._getChunkGraphChunk(E);for(const R of N.modules){const N=this._getChunkGraphModule(R);N.chunks.delete(E)}N.modules.clear();E.disconnectFromGroups();ChunkGraph.clearChunkGraphForChunk(E)}attachModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.modules.add(E)}}attachRuntimeModules(E,N){const R=this._getChunkGraphChunk(E);for(const E of N){R.runtimeModules.add(E)}}attachFullHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;for(const E of N){R.fullHashModules.add(E)}}attachDependentHashModules(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;for(const E of N){R.dependentHashModules.add(E)}}replaceModule(E,N){const R=this._getChunkGraphModule(E);const j=this._getChunkGraphModule(N);for(const $ of R.chunks){const R=this._getChunkGraphChunk($);R.modules.delete(E);R.modules.add(N);j.chunks.add($)}R.chunks.clear();if(R.entryInChunks!==undefined){if(j.entryInChunks===undefined){j.entryInChunks=new Set}for(const $ of R.entryInChunks){const R=this._getChunkGraphChunk($);const q=R.entryModules.get(E);const G=new Map;for(const[j,$]of R.entryModules){if(j===E){G.set(N,q)}else{G.set(j,$)}}R.entryModules=G;j.entryInChunks.add($)}R.entryInChunks=undefined}if(R.runtimeInChunks!==undefined){if(j.runtimeInChunks===undefined){j.runtimeInChunks=new Set}for(const $ of R.runtimeInChunks){const R=this._getChunkGraphChunk($);R.runtimeModules.delete(E);R.runtimeModules.add(N);j.runtimeInChunks.add($);if(R.fullHashModules!==undefined&&R.fullHashModules.has(E)){R.fullHashModules.delete(E);R.fullHashModules.add(N)}if(R.dependentHashModules!==undefined&&R.dependentHashModules.has(E)){R.dependentHashModules.delete(E);R.dependentHashModules.add(N)}}R.runtimeInChunks=undefined}}isModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.modules.has(E)}isModuleInChunkGroup(E,N){for(const R of N.chunks){if(this.isModuleInChunk(E,R))return true}return false}isEntryModule(E){const N=this._getChunkGraphModule(E);return N.entryInChunks!==undefined}getModuleChunksIterable(E){const N=this._getChunkGraphModule(E);return N.chunks}getOrderedModuleChunksIterable(E,N){const R=this._getChunkGraphModule(E);R.chunks.sortWith(N);return R.chunks}getModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromCache(getArray)}getNumberOfModuleChunks(E){const N=this._getChunkGraphModule(E);return N.chunks.size}getModuleRuntimes(E){const N=this._getChunkGraphModule(E);return N.chunks.getFromUnorderedCache(getModuleRuntimes)}getNumberOfChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.size}getNumberOfChunkFullHashModules(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules===undefined?0:N.fullHashModules.size}getChunkModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.modules}getChunkModulesIterableBySourceType(E,N){const R=this._getChunkGraphChunk(E);const j=R.modules.getFromUnorderedCache(modulesBySourceType).get(N);return j}getOrderedChunkModulesIterable(E,N){const R=this._getChunkGraphChunk(E);R.modules.sortWith(N);return R.modules}getOrderedChunkModulesIterableBySourceType(E,N,R){const j=this._getChunkGraphChunk(E);const $=j.modules.getFromUnorderedCache(modulesBySourceType).get(N);if($===undefined)return undefined;$.sortWith(R);return $}getChunkModules(E){const N=this._getChunkGraphChunk(E);return N.modules.getFromUnorderedCache(getArray)}getOrderedChunkModules(E,N){const R=this._getChunkGraphChunk(E);const j=createOrderedArrayFunction(N);return R.modules.getFromUnorderedCache(j)}getChunkModuleIdMap(E,N,R=false){const j=Object.create(null);for(const $ of R?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const R of this.getOrderedChunkModulesIterable($,ae(this))){if(N(R)){if(E===undefined){E=[];j[$.id]=E}const N=this.getModuleId(R);E.push(N)}}}return j}getChunkModuleRenderedHashMap(E,N,R=0,j=false){const $=Object.create(null);for(const q of j?E.getAllReferencedChunks():E.getAllAsyncChunks()){let E;for(const j of this.getOrderedChunkModulesIterable(q,ae(this))){if(N(j)){if(E===undefined){E=Object.create(null);$[q.id]=E}const N=this.getModuleId(j);const G=this.getRenderedModuleHash(j,q.runtime);E[N]=R?G.slice(0,R):G}}}return $}getChunkConditionMap(E,N){const R=Object.create(null);for(const j of E.getAllReferencedChunks()){R[j.id]=N(j,this)}return R}hasModuleInGraph(E,N,R){const j=new Set(E.groupsIterable);const $=new Set;for(const E of j){for(const j of E.chunks){if(!$.has(j)){$.add(j);if(!R||R(j,this)){for(const E of this.getChunkModulesIterable(j)){if(N(E)){return true}}}}}for(const N of E.childrenIterable){j.add(N)}}return false}compareChunks(E,N){const R=this._getChunkGraphChunk(E);const j=this._getChunkGraphChunk(N);if(R.modules.size>j.modules.size)return-1;if(R.modules.size0||this.getNumberOfEntryModules(N)>0){return false}return true}integrateChunks(E,N){if(E.name&&N.name){if(this.getNumberOfEntryModules(E)>0===this.getNumberOfEntryModules(N)>0){if(E.name.length!==N.name.length){E.name=E.name.length0){E.name=N.name}}else if(N.name){E.name=N.name}for(const R of N.idNameHints){E.idNameHints.add(R)}E.runtime=Be(E.runtime,N.runtime);for(const R of this.getChunkModules(N)){this.disconnectChunkAndModule(N,R);this.connectChunkAndModule(E,R)}for(const[R,j]of Array.from(this.getChunkEntryModulesWithChunkGroupIterable(N))){this.disconnectChunkAndEntryModule(N,R);this.connectChunkAndEntryModule(E,R,j)}for(const R of N.groupsIterable){R.replaceChunk(N,E);E.addGroup(R);N.removeGroup(R)}ChunkGraph.clearChunkGraphForChunk(N)}upgradeDependentToFullHashModules(E){const N=this._getChunkGraphChunk(E);if(N.dependentHashModules===undefined)return;if(N.fullHashModules===undefined){N.fullHashModules=N.dependentHashModules}else{for(const E of N.dependentHashModules){N.fullHashModules.add(E)}N.dependentHashModules=undefined}}isEntryModuleInChunk(E,N){const R=this._getChunkGraphChunk(N);return R.entryModules.has(E)}connectChunkAndEntryModule(E,N,R){const j=this._getChunkGraphModule(N);const $=this._getChunkGraphChunk(E);if(j.entryInChunks===undefined){j.entryInChunks=new Set}j.entryInChunks.add(E);$.entryModules.set(N,R)}connectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);if(R.runtimeInChunks===undefined){R.runtimeInChunks=new Set}R.runtimeInChunks.add(E);j.runtimeModules.add(N)}addFullHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.fullHashModules===undefined)R.fullHashModules=new Set;R.fullHashModules.add(N)}addDependentHashModuleToChunk(E,N){const R=this._getChunkGraphChunk(E);if(R.dependentHashModules===undefined)R.dependentHashModules=new Set;R.dependentHashModules.add(N)}disconnectChunkAndEntryModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.entryInChunks.delete(E);if(R.entryInChunks.size===0){R.entryInChunks=undefined}j.entryModules.delete(N)}disconnectChunkAndRuntimeModule(E,N){const R=this._getChunkGraphModule(N);const j=this._getChunkGraphChunk(E);R.runtimeInChunks.delete(E);if(R.runtimeInChunks.size===0){R.runtimeInChunks=undefined}j.runtimeModules.delete(N)}disconnectEntryModule(E){const N=this._getChunkGraphModule(E);for(const R of N.entryInChunks){const N=this._getChunkGraphChunk(R);N.entryModules.delete(E)}N.entryInChunks=undefined}disconnectEntries(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.keys()){const N=this._getChunkGraphModule(R);N.entryInChunks.delete(E);if(N.entryInChunks.size===0){N.entryInChunks=undefined}}N.entryModules.clear()}getNumberOfEntryModules(E){const N=this._getChunkGraphChunk(E);return N.entryModules.size}getNumberOfRuntimeModules(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules.size}getChunkEntryModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules.keys()}getChunkEntryDependentChunksIterable(E){const N=new Set;for(const R of E.groupsIterable){if(R instanceof $){const j=R.getEntrypointChunk();const $=this._getChunkGraphChunk(j);for(const R of $.entryModules.values()){for(const $ of R.chunks){if($!==E&&$!==j&&!$.hasRuntime()){N.add($)}}}}}return N}hasChunkEntryDependentChunks(E){const N=this._getChunkGraphChunk(E);for(const R of N.entryModules.values()){for(const N of R.chunks){if(N!==E){return true}}}return false}getChunkRuntimeModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.runtimeModules}getChunkRuntimeModulesInOrder(E){const N=this._getChunkGraphChunk(E);const R=Array.from(N.runtimeModules);R.sort(_e(Ee((E=>E.stage),Te),le));return R}getChunkFullHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkFullHashModulesSet(E){const N=this._getChunkGraphChunk(E);return N.fullHashModules}getChunkDependentHashModulesIterable(E){const N=this._getChunkGraphChunk(E);return N.dependentHashModules}getChunkEntryModulesWithChunkGroupIterable(E){const N=this._getChunkGraphChunk(E);return N.entryModules}getBlockChunkGroup(E){return this._blockChunkGroups.get(E)}connectBlockAndChunkGroup(E,N){this._blockChunkGroups.set(E,N);N.addBlock(E)}disconnectChunkGroup(E){for(const N of E.blocksIterable){this._blockChunkGroups.delete(N)}E._blocks.clear()}getModuleId(E){const N=this._getChunkGraphModule(E);return N.id}setModuleId(E,N){const R=this._getChunkGraphModule(E);R.id=N}getRuntimeId(E){return this._runtimeIds.get(E)}setRuntimeId(E,N){this._runtimeIds.set(E,N)}_getModuleHashInfo(E,N,R){if(!N){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (hashes not set at all)`)}else if(R===undefined){const R=new Set(N.values());if(R.size!==1){throw new Error(`No unique hash info entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(N.keys(),(E=>Le(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return G(R)}else{const j=N.get(R);if(!j){throw new Error(`Module ${E.identifier()} has no hash info for runtime ${Le(R)} (available runtimes ${Array.from(N.keys(),Le).join(", ")})`)}return j}}hasModuleHashes(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return j&&j.has(N)}getModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).hash}getRenderedModuleHash(E,N){const R=this._getChunkGraphModule(E);const j=R.hashes;return this._getModuleHashInfo(E,j,N).renderedHash}setModuleHashes(E,N,R,j){const $=this._getChunkGraphModule(E);if($.hashes===undefined){$.hashes=new Ne}$.hashes.set(N,new ModuleHashInfo(R,j))}addModuleRuntimeRequirements(E,N,R,j=true){const $=this._getChunkGraphModule(E);const q=$.runtimeRequirements;if(q===undefined){const E=new Ne;E.set(N,j?R:new Set(R));$.runtimeRequirements=E;return}q.update(N,(E=>{if(E===undefined){return j?R:new Set(R)}else if(!j||E.size>=R.size){for(const N of R)E.add(N);return E}else{for(const N of E)R.add(N);return R}}))}addChunkRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirements;if(j===undefined){R.runtimeRequirements=N}else if(j.size>=N.size){for(const E of N)j.add(E)}else{for(const E of j)N.add(E);R.runtimeRequirements=N}}addTreeRuntimeRequirements(E,N){const R=this._getChunkGraphChunk(E);const j=R.runtimeRequirementsInTree;for(const E of N)j.add(E)}getModuleRuntimeRequirements(E,N){const R=this._getChunkGraphModule(E);const j=R.runtimeRequirements&&R.runtimeRequirements.get(N);return j===undefined?Ue:j}getChunkRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);const R=N.runtimeRequirements;return R===undefined?Ue:R}getModuleGraphHash(E,N,R=true){const j=this._getChunkGraphModule(E);return R?this._getModuleGraphHashWithConnections(j,E,N):this._getModuleGraphHashBigInt(j,E,N).toString(16)}getModuleGraphHashBigInt(E,N,R=true){const j=this._getChunkGraphModule(E);return R?BigInt(`0x${this._getModuleGraphHashWithConnections(j,E,N)}`):this._getModuleGraphHashBigInt(j,E,N)}_getModuleGraphHashBigInt(E,N,R){if(E.graphHashes===undefined){E.graphHashes=new Ne}const j=E.graphHashes.provide(R,(()=>{const j=we(this._hashFunction);j.update(`${E.id}${this.moduleGraph.isAsync(N)}`);this.moduleGraph.getExportsInfo(N).updateHash(j,R);return BigInt(`0x${j.digest("hex")}`)}));return j}_getModuleGraphHashWithConnections(E,N,R){if(E.graphHashesWithConnections===undefined){E.graphHashesWithConnections=new Ne}const activeStateToString=E=>{if(E===false)return"F";if(E===true)return"T";if(E===q.TRANSITIVE_ONLY)return"O";throw new Error("Not implemented active state")};const j=N.buildMeta&&N.buildMeta.strictHarmonyModule;return E.graphHashesWithConnections.provide(R,(()=>{const $=this._getModuleGraphHashBigInt(E,N,R).toString(16);const q=this.moduleGraph.getOutgoingConnections(N);const ie=new Set;const ae=new Map;const processConnection=(E,N)=>{const R=E.module;N+=R.getExportsType(this.moduleGraph,j);if(N==="Tnamespace")ie.add(R);else{const E=ae.get(N);if(E===undefined){ae.set(N,R)}else if(E instanceof Set){E.add(R)}else if(E!==R){ae.set(N,new Set([E,R]))}}};if(R===undefined||typeof R==="string"){for(const E of q){const N=E.getActiveState(R);if(N===false)continue;processConnection(E,N===true?"T":"O")}}else{for(const E of q){const N=new Set;let j="";je(R,(R=>{const $=E.getActiveState(R);N.add($);j+=activeStateToString($)+R}),true);if(N.size===1){const E=G(N);if(E===false)continue;j=activeStateToString(E)}processConnection(E,j)}}if(ie.size===0&&ae.size===0)return $;const ce=ae.size>1?Array.from(ae).sort((([E],[N])=>E{le.update(this._getModuleGraphHashBigInt(this._getChunkGraphModule(E),E,R).toString(16))};const addModulesToHash=E=>{let N=ze;for(const j of E){N=N^this._getModuleGraphHashBigInt(this._getChunkGraphModule(j),j,R)}le.update(N.toString(16))};if(ie.size===1)addModuleToHash(ie.values().next().value);else if(ie.size>1)addModulesToHash(ie);for(const[E,N]of ce){le.update(E);if(N instanceof Set){addModulesToHash(N)}else{addModuleToHash(N)}}le.update($);return le.digest("hex")}))}getTreeRuntimeRequirements(E){const N=this._getChunkGraphChunk(E);return N.runtimeRequirementsInTree}static getChunkGraphForModule(E,N,R){const $=He.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=Ve.get(E);if(!R)throw new Error(N+": There was no ChunkGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);He.set(N,q);return q(E)}static setChunkGraphForModule(E,N){Ve.set(E,N)}static clearChunkGraphForModule(E){Ve.delete(E)}static getChunkGraphForChunk(E,N,R){const $=Ge.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=qe.get(E);if(!R)throw new Error(N+"There was no ChunkGraph assigned to the Chunk for backward-compat (Use the new API)");return R}),N+": Use new ChunkGraph API",R);Ge.set(N,q);return q(E)}static setChunkGraphForChunk(E,N){qe.set(E,N)}static clearChunkGraphForChunk(E){qe.delete(E)}}const Ve=new WeakMap;const qe=new WeakMap;const He=new Map;const Ge=new Map;E.exports=ChunkGraph},84558:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16102);const{compareLocations:q,compareChunks:G,compareIterables:ie}=R(68673);let ae=5e3;const getArray=E=>Array.from(E);const sortById=(E,N)=>{if(E.id{const R=E.module?E.module.identifier():"";const j=N.module?N.module.identifier():"";if(Rj)return 1;return q(E.loc,N.loc)};class ChunkGroup{constructor(E){if(typeof E==="string"){E={name:E}}else if(!E){E={name:undefined}}this.groupDebugId=ae++;this.options=E;this._children=new $(undefined,sortById);this._parents=new $(undefined,sortById);this._asyncEntrypoints=new $(undefined,sortById);this._blocks=new $;this.chunks=[];this.origins=[];this._modulePreOrderIndices=new Map;this._modulePostOrderIndices=new Map;this.index=undefined}addOptions(E){for(const N of Object.keys(E)){if(this.options[N]===undefined){this.options[N]=E[N]}else if(this.options[N]!==E[N]){if(N.endsWith("Order")){this.options[N]=Math.max(this.options[N],E[N])}else{throw new Error(`ChunkGroup.addOptions: No option merge strategy for ${N}`)}}}}get name(){return this.options.name}set name(E){this.options.name=E}get debugId(){return Array.from(this.chunks,(E=>E.debugId)).join("+")}get id(){return Array.from(this.chunks,(E=>E.id)).join("+")}unshiftChunk(E){const N=this.chunks.indexOf(E);if(N>0){this.chunks.splice(N,1);this.chunks.unshift(E)}else if(N<0){this.chunks.unshift(E);return true}return false}insertChunk(E,N){const R=this.chunks.indexOf(E);const j=this.chunks.indexOf(N);if(j<0){throw new Error("before chunk not found")}if(R>=0&&R>j){this.chunks.splice(R,1);this.chunks.splice(j,0,E)}else if(R<0){this.chunks.splice(j,0,E);return true}return false}pushChunk(E){const N=this.chunks.indexOf(E);if(N>=0){return false}this.chunks.push(E);return true}replaceChunk(E,N){const R=this.chunks.indexOf(E);if(R<0)return false;const j=this.chunks.indexOf(N);if(j<0){this.chunks[R]=N;return true}if(j=0){this.chunks.splice(N,1);return true}return false}isInitial(){return false}addChild(E){const N=this._children.size;this._children.add(E);return N!==this._children.size}getChildren(){return this._children.getFromCache(getArray)}getNumberOfChildren(){return this._children.size}get childrenIterable(){return this._children}removeChild(E){if(!this._children.has(E)){return false}this._children.delete(E);E.removeParent(this);return true}addParent(E){if(!this._parents.has(E)){this._parents.add(E);return true}return false}getParents(){return this._parents.getFromCache(getArray)}getNumberOfParents(){return this._parents.size}hasParent(E){return this._parents.has(E)}get parentsIterable(){return this._parents}removeParent(E){if(this._parents.delete(E)){E.removeChild(this);return true}return false}addAsyncEntrypoint(E){const N=this._asyncEntrypoints.size;this._asyncEntrypoints.add(E);return N!==this._asyncEntrypoints.size}get asyncEntrypointsIterable(){return this._asyncEntrypoints}getBlocks(){return this._blocks.getFromCache(getArray)}getNumberOfBlocks(){return this._blocks.size}hasBlock(E){return this._blocks.has(E)}get blocksIterable(){return this._blocks}addBlock(E){if(!this._blocks.has(E)){this._blocks.add(E);return true}return false}addOrigin(E,N,R){this.origins.push({module:E,loc:N,request:R})}getFiles(){const E=new Set;for(const N of this.chunks){for(const R of N.files){E.add(R)}}return Array.from(E)}remove(){for(const E of this._parents){E._children.delete(this);for(const N of this._children){N.addParent(E);E.addChild(N)}}for(const E of this._children){E._parents.delete(this)}for(const E of this.chunks){E.removeGroup(this)}}sortItems(){this.origins.sort(sortOrigin)}compareTo(E,N){if(this.chunks.length>N.chunks.length)return-1;if(this.chunks.length{const j=R.order-E.order;if(j!==0)return j;return E.group.compareTo(N,R.group)}));j[E]=$.map((E=>E.group))}return j}setModulePreOrderIndex(E,N){this._modulePreOrderIndices.set(E,N)}getModulePreOrderIndex(E){return this._modulePreOrderIndices.get(E)}setModulePostOrderIndex(E,N){this._modulePostOrderIndices.set(E,N)}getModulePostOrderIndex(E){return this._modulePostOrderIndices.get(E)}checkConstraints(){const E=this;for(const N of E._children){if(!N._parents.has(E)){throw new Error(`checkConstraints: child missing parent ${E.debugId} -> ${N.debugId}`)}}for(const N of E._parents){if(!N._children.has(E)){throw new Error(`checkConstraints: parent missing child ${N.debugId} <- ${E.debugId}`)}}}}ChunkGroup.prototype.getModuleIndex=j.deprecate(ChunkGroup.prototype.getModulePreOrderIndex,"ChunkGroup.getModuleIndex was renamed to getModulePreOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX");ChunkGroup.prototype.getModuleIndex2=j.deprecate(ChunkGroup.prototype.getModulePostOrderIndex,"ChunkGroup.getModuleIndex2 was renamed to getModulePostOrderIndex","DEP_WEBPACK_CHUNK_GROUP_GET_MODULE_INDEX_2");E.exports=ChunkGroup},44445:(E,N,R)=>{"use strict";const j=R(81627);class ChunkRenderError extends j{constructor(E,N,R){super();this.name="ChunkRenderError";this.error=R;this.message=R.message;this.details=R.stack;this.file=N;this.chunk=E}}E.exports=ChunkRenderError},13454:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ChunkTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:j.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(N.chunk.hasRuntime())return E;return R(E,N)}))}),"ChunkTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_MANIFEST")},modules:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.modules is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_MODULES")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderChunk.tap(E,((E,j)=>R(E,N.moduleTemplates.javascript,j)))}),"ChunkTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderChunk instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER")},renderWithEntry:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).render.tap(E,((E,N)=>{if(N.chunkGraph.getNumberOfEntryModules(N.chunk)===0||N.chunk.hasRuntime()){return E}return R(E,N.chunk)}))}),"ChunkTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_CHUNK_TEMPLATE_RENDER_WITH_ENTRY")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ChunkTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH")},hashForChunk:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).chunkHash.tap(E,((E,N,j)=>{if(E.hasRuntime())return;R(N,E,j)}))}),"ChunkTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_CHUNK_TEMPLATE_HASH_FOR_CHUNK")}})}}Object.defineProperty(ChunkTemplate.prototype,"outputOptions",{get:j.deprecate((function(){return this._outputOptions}),"ChunkTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ChunkTemplate},61666:(E,N,R)=>{"use strict";const j=R(62355);const{SyncBailHook:$}=R(92960);const q=R(3080);const G=R(35817);const{join:ie}=R(95396);const ae=R(2117);const ce=G(undefined,(()=>{const{definitions:E}=R(46312);return{definitions:E,oneOf:[{$ref:"#/definitions/CleanOptions"}]}}),{name:"Clean Plugin",baseDataPath:"options"});const getDiffToFs=(E,N,R,$)=>{const q=new Set;for(const E of R){q.add(E.replace(/(^|\/)[^/]*$/,""))}for(const E of q){q.add(E.replace(/(^|\/)[^/]*$/,""))}const G=new Set;j.forEachLimit(q,10,((j,$)=>{E.readdir(ie(E,N,j),((E,N)=>{if(E){if(E.code==="ENOENT")return $();if(E.code==="ENOTDIR"){G.add(j);return $()}return $(E)}for(const E of N){const N=E;const $=j?`${j}/${N}`:N;if(!q.has($)&&!R.has($)){G.add($)}}$()}))}),(E=>{if(E)return $(E);$(null,G)}))};const getDiffToOldAssets=(E,N)=>{const R=new Set;for(const j of N){if(!E.has(j))R.add(j)}return R};const applyDiff=(E,N,R,j,$,q,G)=>{const log=E=>{if(R){j.info(E)}else{j.log(E)}};const ce=Array.from($,(E=>({type:"check",filename:E,parent:undefined})));ae(ce,10,(({type:$,filename:G,parent:ae},ce,le)=>{const handleError=E=>{if(E.code==="ENOENT"){log(`${G} was removed during cleaning by something else`);handleParent();return le()}return le(E)};const handleParent=()=>{if(ae&&--ae.remaining===0)ce(ae.job)};const _e=ie(E,N,G);switch($){case"check":if(q(G)){log(`${G} will be kept`);return process.nextTick(le)}E.stat(_e,((N,R)=>{if(N)return handleError(N);if(!R.isDirectory()){ce({type:"unlink",filename:G,parent:ae});return le()}E.readdir(_e,((E,N)=>{if(E)return handleError(E);const R={type:"rmdir",filename:G,parent:ae};if(N.length===0){ce(R)}else{const E={remaining:N.length,job:R};for(const R of N){const N=R;if(N.startsWith(".")){log(`${G} will be kept (dot-files will never be removed)`);continue}ce({type:"check",filename:`${G}/${N}`,parent:E})}}return le()}))}));break;case"rmdir":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.rmdir){j.warn(`${G} can't be removed because output file system doesn't support removing directories (rmdir)`);return process.nextTick(le)}E.rmdir(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break;case"unlink":log(`${G} will be removed`);if(R){handleParent();return process.nextTick(le)}if(!E.unlink){j.warn(`${G} can't be removed because output file system doesn't support removing files (rmdir)`);return process.nextTick(le)}E.unlink(_e,(E=>{if(E)return handleError(E);handleParent();le()}));break}}),G)};const le=new WeakMap;class CleanPlugin{static getCompilationHooks(E){if(!(E instanceof q)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=le.get(E);if(N===undefined){N={keep:new $(["ignore"])};le.set(E,N)}return N}constructor(E={}){ce(E);this.options={dry:false,...E}}apply(E){const{dry:N,keep:R}=this.options;const j=typeof R==="function"?R:typeof R==="string"?E=>E.startsWith(R):typeof R==="object"&&R.test?E=>R.test(E):()=>false;let $;E.hooks.emit.tapAsync({name:"CleanPlugin",stage:100},((R,q)=>{const G=CleanPlugin.getCompilationHooks(R);const ie=R.getLogger("webpack.CleanPlugin");const ae=E.outputFileSystem;if(!ae.readdir){return q(new Error("CleanPlugin: Output filesystem doesn't support listing directories (readdir)"))}const ce=new Set;for(const E of Object.keys(R.assets)){if(/^[A-Za-z]:\\|^\/|^\\\\/.test(E))continue;let N;let R=E.replace(/\\/g,"/");do{N=R;R=N.replace(/(^|\/)(?!\.\.)[^/]+\/\.\.\//g,"$1")}while(R!==N);if(N.startsWith("../"))continue;ce.add(N)}const le=R.getPath(E.outputPath,{});const isKept=E=>{const N=G.keep.call(E);if(N!==undefined)return N;return j(E)};const diffCallback=(E,R)=>{if(E){$=undefined;return q(E)}applyDiff(ae,le,N,ie,R,isKept,(E=>{if(E){$=undefined}else{$=ce}q(E)}))};if($){diffCallback(null,getDiffToOldAssets(ce,$))}else{getDiffToFs(ae,le,ce,diffCallback)}}))}}E.exports=CleanPlugin},93010:(E,N,R)=>{"use strict";const j=R(81627);class CodeGenerationError extends j{constructor(E,N){super();this.name="CodeGenerationError";this.error=N;this.message=N.message;this.details=N.stack;this.module=E}}E.exports=CodeGenerationError},53840:(E,N,R)=>{"use strict";const{provide:j}=R(67585);const{first:$}=R(26221);const q=R(35891);const{runtimeToString:G,RuntimeSpecMap:ie}=R(37416);class CodeGenerationResults{constructor(E="md4"){this.map=new Map;this._hashFunction=E}get(E,N){const R=this.map.get(E);if(R===undefined){throw new Error(`No code generation entry for ${E.identifier()} (existing entries: ${Array.from(this.map.keys(),(E=>E.identifier())).join(", ")})`)}if(N===undefined){if(R.size>1){const N=new Set(R.values());if(N.size!==1){throw new Error(`No unique code generation entry for unspecified runtime for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")}).\nCaller might not support runtime-dependent code generation (opt-out via optimization.usedExports: "global").`)}return $(N)}return R.values().next().value}const j=R.get(N);if(j===undefined){throw new Error(`No code generation entry for runtime ${G(N)} for ${E.identifier()} (existing runtimes: ${Array.from(R.keys(),(E=>G(E))).join(", ")})`)}return j}has(E,N){const R=this.map.get(E);if(R===undefined){return false}if(N!==undefined){return R.has(N)}else if(R.size>1){const E=new Set(R.values());return E.size===1}else{return R.size===1}}getSource(E,N,R){return this.get(E,N).sources.get(R)}getRuntimeRequirements(E,N){return this.get(E,N).runtimeRequirements}getData(E,N,R){const j=this.get(E,N).data;return j===undefined?undefined:j.get(R)}getHash(E,N){const R=this.get(E,N);if(R.hash!==undefined)return R.hash;const j=q(this._hashFunction);for(const[E,N]of R.sources){j.update(E);N.updateHash(j)}if(R.runtimeRequirements){for(const E of R.runtimeRequirements)j.update(E)}return R.hash=j.digest("hex")}add(E,N,R){const $=j(this.map,E,(()=>new ie));$.set(N,R)}}E.exports=CodeGenerationResults},47207:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CommentCompilationWarning extends j{constructor(E,N){super(E);this.name="CommentCompilationWarning";this.loc=N}}$(CommentCompilationWarning,"webpack/lib/CommentCompilationWarning");E.exports=CommentCompilationWarning},97489:(E,N,R)=>{"use strict";const j=R(66298);const $=Symbol("nested __webpack_require__");class CompatibilityPlugin{apply(E){E.hooks.compilation.tap("CompatibilityPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(j,new j.Template);N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",((E,N)=>{if(N.browserify!==undefined&&!N.browserify)return;E.hooks.call.for("require").tap("CompatibilityPlugin",(N=>{if(N.arguments.length!==2)return;const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;if(R.asBool()!==true)return;const $=new j("require",N.callee.range);$.loc=N.loc;if(E.state.current.dependencies.length>0){const N=E.state.current.dependencies[E.state.current.dependencies.length-1];if(N.critical&&N.options&&N.options.request==="."&&N.userRequest==="."&&N.options.recursive)E.state.current.dependencies.pop()}E.state.module.addPresentationalDependency($);return true}))}));const handler=E=>{E.hooks.preStatement.tap("CompatibilityPlugin",(N=>{if(N.type==="FunctionDeclaration"&&N.id&&N.id.name==="__webpack_require__"){const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.id.name,$,{name:R,declaration:{updated:false,loc:N.id.loc,range:N.id.range}});return true}}));E.hooks.pattern.for("__webpack_require__").tap("CompatibilityPlugin",(N=>{const R=`__nested_webpack_require_${N.range[0]}__`;E.tagVariable(N.name,$,{name:R,declaration:{updated:false,loc:N.loc,range:N.range}});return true}));E.hooks.expression.for($).tap("CompatibilityPlugin",(N=>{const{name:R,declaration:$}=E.currentTagData;if(!$.updated){const N=new j(R,$.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);$.updated=true}const q=new j(R,N.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}));E.hooks.program.tap("CompatibilityPlugin",((N,R)=>{if(R.length===0)return;const $=R[0];if($.type==="Line"&&$.range[0]===0){if(E.state.source.slice(0,2).toString()!=="#!")return;const N=new j("//",0);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}}))};N.hooks.parser.for("javascript/auto").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("CompatibilityPlugin",handler);N.hooks.parser.for("javascript/esm").tap("CompatibilityPlugin",handler)}))}}E.exports=CompatibilityPlugin},3080:(E,N,R)=>{"use strict";const j=R(62355);const{HookMap:$,SyncHook:q,SyncBailHook:G,SyncWaterfallHook:ie,AsyncSeriesHook:ae,AsyncSeriesBailHook:ce,AsyncParallelHook:le}=R(92960);const _e=R(73837);const{CachedSource:Ee}=R(48135);const{MultiItemCache:Te}=R(6503);const we=R(62433);const Ie=R(45137);const Ne=R(84558);const Me=R(44445);const Le=R(13454);const Be=R(93010);const je=R(53840);const Ue=R(28706);const ze=R(46828);const We=R(71452);const Je=R(50717);const Ve=R(22996);const{connectChunkGroupAndChunk:qe,connectChunkGroupParentAndChild:He}=R(4642);const{makeWebpackError:Ge,tryRunOrWebpackError:Ke}=R(3728);const Qe=R(73694);const Xe=R(53453);const Ye=R(82811);const Ze=R(23280);const et=R(75412);const tt=R(54032);const rt=R(99869);const nt=R(2210);const it=R(31467);const ot=R(68661);const st=R(76150);const ct=R(37130);const ut=R(10140);const dt=R(81627);const pt=R(25457);const ft=R(44547);const{Logger:mt,LogType:ht}=R(78539);const _t=R(87279);const yt=R(30533);const{equals:vt}=R(73910);const bt=R(9738);const xt=R(83379);const{provide:St}=R(67585);const Et=R(4396);const{cachedCleverMerge:Tt}=R(90149);const{compareLocations:kt,concatComparators:Ct,compareSelect:Dt,compareIds:At,compareStringsNumeric:wt,compareModulesByIdentifier:Pt}=R(68673);const Ft=R(35891);const{arrayToSetDeprecation:It,soonFrozenObjectDeprecation:Nt,createFakeHook:Ot}=R(16595);const Mt=R(2117);const{getRuntimeKey:Rt}=R(37416);const{isSourceEqual:Lt}=R(13559);const Bt=Object.freeze({});const jt="esm";const Ut=_e.deprecate((E=>R(53520).getCompilationHooks(E).loader),"Compilation.hooks.normalModuleLoader was moved to NormalModule.getCompilationHooks(compilation).loader","DEP_WEBPACK_COMPILATION_NORMAL_MODULE_LOADER_HOOK");const defineRemovedModuleTemplates=E=>{Object.defineProperties(E,{asset:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.asset has been removed")}},webassembly:{enumerable:false,configurable:false,get:()=>{throw new dt("Compilation.moduleTemplates.webassembly has been removed")}}});E=undefined};const zt=Dt((E=>E.id),At);const Wt=Ct(Dt((E=>E.name),At),Dt((E=>E.fullHash),At));const $t=Dt((E=>`${E.message}`),wt);const Jt=Dt((E=>E.module&&E.module.identifier()||""),wt);const Vt=Dt((E=>E.loc),kt);const qt=Ct(Jt,Vt,$t);const Ht=new WeakMap;const Gt=new WeakMap;class Compilation{constructor(E,N){this._backCompat=E._backCompat;const getNormalModuleLoader=()=>Ut(this);const R=new ae(["assets"]);let j=new Set;const popNewAssets=E=>{let N=undefined;for(const R of Object.keys(E)){if(j.has(R))continue;if(N===undefined){N=Object.create(null)}N[R]=E[R];j.add(R)}return N};R.intercept({name:"Compilation",call:()=>{j=new Set(Object.keys(this.assets))},register:E=>{const{type:N,name:R}=E;const{fn:j,additionalAssets:$,...q}=E;const G=$===true?j:$;const ie=G?new WeakSet:undefined;switch(N){case"sync":if(G){this.hooks.processAdditionalAssets.tap(R,(E=>{if(ie.has(this.assets))G(E)}))}return{...q,type:"async",fn:(E,N)=>{try{j(E)}catch(E){return N(E)}if(ie!==undefined)ie.add(this.assets);const R=popNewAssets(E);if(R!==undefined){this.hooks.processAdditionalAssets.callAsync(R,N);return}N()}};case"async":if(G){this.hooks.processAdditionalAssets.tapAsync(R,((E,N)=>{if(ie.has(this.assets))return G(E,N);N()}))}return{...q,fn:(E,N)=>{j(E,(R=>{if(R)return N(R);if(ie!==undefined)ie.add(this.assets);const j=popNewAssets(E);if(j!==undefined){this.hooks.processAdditionalAssets.callAsync(j,N);return}N()}))}};case"promise":if(G){this.hooks.processAdditionalAssets.tapPromise(R,(E=>{if(ie.has(this.assets))return G(E);return Promise.resolve()}))}return{...q,fn:E=>{const N=j(E);if(!N||!N.then)return N;return N.then((()=>{if(ie!==undefined)ie.add(this.assets);const N=popNewAssets(E);if(N!==undefined){return this.hooks.processAdditionalAssets.promise(N)}}))}}}}});const Ee=new q(["assets"]);const createProcessAssetsHook=(E,N,j,$)=>{if(!this._backCompat&&$)return undefined;const errorMessage=N=>`Can't automatically convert plugin using Compilation.hooks.${E} to Compilation.hooks.processAssets because ${N}.\nBREAKING CHANGE: Asset processing hooks in Compilation has been merged into a single Compilation.hooks.processAssets hook.`;const getOptions=E=>{if(typeof E==="string")E={name:E};if(E.stage){throw new Error(errorMessage("it's using the 'stage' option"))}return{...E,stage:N}};return Ot({name:E,intercept(E){throw new Error(errorMessage("it's using 'intercept'"))},tap:(E,N)=>{R.tap(getOptions(E),(()=>N(...j())))},tapAsync:(E,N)=>{R.tapAsync(getOptions(E),((E,R)=>N(...j(),R)))},tapPromise:(E,N)=>{R.tapPromise(getOptions(E),(()=>N(...j())))}},`${E} is deprecated (use Compilation.hooks.processAssets instead and use one of Compilation.PROCESS_ASSETS_STAGE_* as stage option)`,$)};this.hooks=Object.freeze({buildModule:new q(["module"]),rebuildModule:new q(["module"]),failedModule:new q(["module","error"]),succeedModule:new q(["module"]),stillValidModule:new q(["module"]),addEntry:new q(["entry","options"]),failedEntry:new q(["entry","options","error"]),succeedEntry:new q(["entry","options","module"]),dependencyReferencedExports:new ie(["referencedExports","dependency","runtime"]),executeModule:new q(["options","context"]),prepareModuleExecution:new le(["options","context"]),finishModules:new ae(["modules"]),finishRebuildingModule:new ae(["module"]),unseal:new q([]),seal:new q([]),beforeChunks:new q([]),afterChunks:new q(["chunks"]),optimizeDependencies:new G(["modules"]),afterOptimizeDependencies:new q(["modules"]),optimize:new q([]),optimizeModules:new G(["modules"]),afterOptimizeModules:new q(["modules"]),optimizeChunks:new G(["chunks","chunkGroups"]),afterOptimizeChunks:new q(["chunks","chunkGroups"]),optimizeTree:new ae(["chunks","modules"]),afterOptimizeTree:new q(["chunks","modules"]),optimizeChunkModules:new ce(["chunks","modules"]),afterOptimizeChunkModules:new q(["chunks","modules"]),shouldRecord:new G([]),additionalChunkRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInChunk:new $((()=>new G(["chunk","runtimeRequirements","context"]))),additionalModuleRuntimeRequirements:new q(["module","runtimeRequirements","context"]),runtimeRequirementInModule:new $((()=>new G(["module","runtimeRequirements","context"]))),additionalTreeRuntimeRequirements:new q(["chunk","runtimeRequirements","context"]),runtimeRequirementInTree:new $((()=>new G(["chunk","runtimeRequirements","context"]))),runtimeModule:new q(["module","chunk"]),reviveModules:new q(["modules","records"]),beforeModuleIds:new q(["modules"]),moduleIds:new q(["modules"]),optimizeModuleIds:new q(["modules"]),afterOptimizeModuleIds:new q(["modules"]),reviveChunks:new q(["chunks","records"]),beforeChunkIds:new q(["chunks"]),chunkIds:new q(["chunks"]),optimizeChunkIds:new q(["chunks"]),afterOptimizeChunkIds:new q(["chunks"]),recordModules:new q(["modules","records"]),recordChunks:new q(["chunks","records"]),optimizeCodeGeneration:new q(["modules"]),beforeModuleHash:new q([]),afterModuleHash:new q([]),beforeCodeGeneration:new q([]),afterCodeGeneration:new q([]),beforeRuntimeRequirements:new q([]),afterRuntimeRequirements:new q([]),beforeHash:new q([]),contentHash:new q(["chunk"]),afterHash:new q([]),recordHash:new q(["records"]),record:new q(["compilation","records"]),beforeModuleAssets:new q([]),shouldGenerateChunkAssets:new G([]),beforeChunkAssets:new q([]),additionalChunkAssets:createProcessAssetsHook("additionalChunkAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_ADDITIONAL_CHUNK_ASSETS"),additionalAssets:createProcessAssetsHook("additionalAssets",Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL,(()=>[])),optimizeChunkAssets:createProcessAssetsHook("optimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_OPTIMIZE_CHUNK_ASSETS"),afterOptimizeChunkAssets:createProcessAssetsHook("afterOptimizeChunkAssets",Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE+1,(()=>[this.chunks]),"DEP_WEBPACK_COMPILATION_AFTER_OPTIMIZE_CHUNK_ASSETS"),optimizeAssets:R,afterOptimizeAssets:Ee,processAssets:R,afterProcessAssets:Ee,processAdditionalAssets:new ae(["assets"]),needAdditionalSeal:new G([]),afterSeal:new ae([]),renderManifest:new ie(["result","options"]),fullHash:new q(["hash"]),chunkHash:new q(["chunk","chunkHash","ChunkHashContext"]),moduleAsset:new q(["module","filename"]),chunkAsset:new q(["chunk","filename"]),assetPath:new ie(["path","options","assetInfo"]),needAdditionalPass:new G([]),childCompiler:new q(["childCompiler","compilerName","compilerIndex"]),log:new G(["origin","logEntry"]),processWarnings:new ie(["warnings"]),processErrors:new ie(["errors"]),statsPreset:new $((()=>new q(["options","context"]))),statsNormalize:new q(["options","context"]),statsFactory:new q(["statsFactory","options"]),statsPrinter:new q(["statsPrinter","options"]),get normalModuleLoader(){return getNormalModuleLoader()}});this.name=undefined;this.startTime=undefined;this.endTime=undefined;this.compiler=E;this.resolverFactory=E.resolverFactory;this.inputFileSystem=E.inputFileSystem;this.fileSystemInfo=new Ve(this.inputFileSystem,{managedPaths:E.managedPaths,immutablePaths:E.immutablePaths,logger:this.getLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});if(E.fileTimestamps){this.fileSystemInfo.addFileTimestamps(E.fileTimestamps,true)}if(E.contextTimestamps){this.fileSystemInfo.addContextTimestamps(E.contextTimestamps,true)}this.valueCacheVersions=new Map;this.requestShortener=E.requestShortener;this.compilerPath=E.compilerPath;this.logger=this.getLogger("webpack.Compilation");const Te=E.options;this.options=Te;this.outputOptions=Te&&Te.output;this.bail=Te&&Te.bail||false;this.profile=Te&&Te.profile||false;this.params=N;this.mainTemplate=new Qe(this.outputOptions,this);this.chunkTemplate=new Le(this.outputOptions,this);this.runtimeTemplate=new ct(this,this.outputOptions,this.requestShortener);this.moduleTemplates={javascript:new ot(this.runtimeTemplate,this)};defineRemovedModuleTemplates(this.moduleTemplates);this.moduleMemCaches=undefined;this.moduleMemCaches2=undefined;this.moduleGraph=new et;this.chunkGraph=undefined;this.codeGenerationResults=undefined;this.processDependenciesQueue=new bt({name:"processDependencies",parallelism:Te.parallelism||100,processor:this._processModuleDependencies.bind(this)});this.addModuleQueue=new bt({name:"addModule",parent:this.processDependenciesQueue,getKey:E=>E.identifier(),processor:this._addModule.bind(this)});this.factorizeQueue=new bt({name:"factorize",parent:this.addModuleQueue,processor:this._factorizeModule.bind(this)});this.buildQueue=new bt({name:"build",parent:this.factorizeQueue,processor:this._buildModule.bind(this)});this.rebuildQueue=new bt({name:"rebuild",parallelism:Te.parallelism||100,processor:this._rebuildModule.bind(this)});this.creatingModuleDuringBuild=new WeakMap;this.entries=new Map;this.globalEntry={dependencies:[],includeDependencies:[],options:{name:undefined}};this.entrypoints=new Map;this.asyncEntrypoints=[];this.chunks=new Set;this.chunkGroups=[];this.namedChunkGroups=new Map;this.namedChunks=new Map;this.modules=new Set;if(this._backCompat){It(this.chunks,"Compilation.chunks");It(this.modules,"Compilation.modules")}this._modules=new Map;this.records=null;this.additionalChunkAssets=[];this.assets={};this.assetsInfo=new Map;this._assetsRelatedIn=new Map;this.errors=[];this.warnings=[];this.children=[];this.logging=new Map;this.dependencyFactories=new Map;this.dependencyTemplates=new ze;this.childrenCounters={};this.usedChunkIds=null;this.usedModuleIds=null;this.needAdditionalPass=false;this._restoredUnsafeCacheModuleEntries=new Set;this._restoredUnsafeCacheEntries=new Map;this.builtModules=new WeakSet;this.codeGeneratedModules=new WeakSet;this.buildTimeExecutedModules=new WeakSet;this._rebuildingModules=new Map;this.emittedAssets=new Set;this.comparedForEmitAssets=new Set;this.fileDependencies=new xt;this.contextDependencies=new xt;this.missingDependencies=new xt;this.buildDependencies=new xt;this.compilationDependencies={add:_e.deprecate((E=>this.fileDependencies.add(E)),"Compilation.compilationDependencies is deprecated (used Compilation.fileDependencies instead)","DEP_WEBPACK_COMPILATION_COMPILATION_DEPENDENCIES")};this._modulesCache=this.getCache("Compilation/modules");this._assetsCache=this.getCache("Compilation/assets");this._codeGenerationCache=this.getCache("Compilation/codeGeneration");const we=Te.module.unsafeCache;this._unsafeCache=!!we;this._unsafeCachePredicate=typeof we==="function"?we:()=>true}getStats(){return new ut(this)}createStatsOptions(E,N={}){if(typeof E==="boolean"||typeof E==="string"){E={preset:E}}if(typeof E==="object"&&E!==null){const R={};for(const N in E){R[N]=E[N]}if(R.preset!==undefined){this.hooks.statsPreset.for(R.preset).call(R,N)}this.hooks.statsNormalize.call(R,N);return R}else{const E={};this.hooks.statsNormalize.call(E,N);return E}}createStatsFactory(E){const N=new _t;this.hooks.statsFactory.call(N,E);return N}createStatsPrinter(E){const N=new yt;this.hooks.statsPrinter.call(N,E);return N}getCache(E){return this.compiler.getCache(E)}getLogger(E){if(!E){throw new TypeError("Compilation.getLogger(name) called without a name")}let N;return new mt(((R,j)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}let $;switch(R){case ht.warn:case ht.error:case ht.trace:$=Je.cutOffLoaderExecution(new Error("Trace").stack).split("\n").slice(3);break}const q={time:Date.now(),type:R,args:j,trace:$};if(this.hooks.log.call(E,q)===undefined){if(q.type===ht.profileEnd){if(typeof console.profileEnd==="function"){console.profileEnd(`[${E}] ${q.args[0]}`)}}if(N===undefined){N=this.logging.get(E);if(N===undefined){N=[];this.logging.set(E,N)}}N.push(q);if(q.type===ht.profile){if(typeof console.profile==="function"){console.profile(`[${E}] ${q.args[0]}`)}}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compilation.getLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getLogger(`${E}/${N}`)}}}))}addModule(E,N){this.addModuleQueue.add(E,N)}_addModule(E,N){const R=E.identifier();const j=this._modules.get(R);if(j){return N(null,j)}const $=this.profile?this.moduleGraph.getProfile(E):undefined;if($!==undefined){$.markRestoringStart()}this._modulesCache.get(R,null,((j,q)=>{if(j)return N(new nt(E,j));if($!==undefined){$.markRestoringEnd();$.markIntegrationStart()}if(q){q.updateCacheModule(E);E=q}this._modules.set(R,E);this.modules.add(E);if(this._backCompat)et.setModuleGraphForModule(E,this.moduleGraph);if($!==undefined){$.markIntegrationEnd()}N(null,E)}))}getModule(E){const N=E.identifier();return this._modules.get(N)}findModule(E){return this._modules.get(E)}buildModule(E,N){this.buildQueue.add(E,N)}_buildModule(E,N){const R=this.profile?this.moduleGraph.getProfile(E):undefined;if(R!==undefined){R.markBuildingStart()}E.needBuild({compilation:this,fileSystemInfo:this.fileSystemInfo,valueCacheVersions:this.valueCacheVersions},((j,$)=>{if(j)return N(j);if(!$){if(R!==undefined){R.markBuildingEnd()}this.hooks.stillValidModule.call(E);return N()}this.hooks.buildModule.call(E);this.builtModules.add(E);E.build(this.options,this,this.resolverFactory.get("normal",E.resolveOptions),this.inputFileSystem,(j=>{if(R!==undefined){R.markBuildingEnd()}if(j){this.hooks.failedModule.call(E,j);return N(j)}if(R!==undefined){R.markStoringStart()}this._modulesCache.store(E.identifier(),null,E,(j=>{if(R!==undefined){R.markStoringEnd()}if(j){this.hooks.failedModule.call(E,j);return N(new it(E,j))}this.hooks.succeedModule.call(E);return N()}))}))}))}processModuleDependencies(E,N){this.processDependenciesQueue.add(E,N)}processModuleDependenciesNonRecursive(E){const processDependenciesBlock=N=>{if(N.dependencies){let R=0;for(const j of N.dependencies){this.moduleGraph.setParents(j,N,E,R++)}}if(N.blocks){for(const E of N.blocks)processDependenciesBlock(E)}};processDependenciesBlock(E)}_processModuleDependencies(E,N){const R=[];let j;let $;let q;let G;let ie;let ae;let ce;let le;let _e=1;let Ee=1;const onDependenciesSorted=E=>{if(E)return N(E);if(R.length===0&&Ee===1){return N()}this.processDependenciesQueue.increaseParallelism();for(const E of R){Ee++;this.handleModuleCreation(E,(E=>{if(E&&this.bail){if(Ee<=0)return;Ee=-1;E.stack=E.stack;onTransitiveTasksFinished(E);return}if(--Ee===0)onTransitiveTasksFinished()}))}if(--Ee===0)onTransitiveTasksFinished()};const onTransitiveTasksFinished=E=>{if(E)return N(E);this.processDependenciesQueue.decreaseParallelism();return N()};const processDependency=(N,R)=>{this.moduleGraph.setParents(N,j,E,R);if(this._unsafeCache){try{const R=Ht.get(N);if(R===null)return;if(R!==undefined){if(this._restoredUnsafeCacheModuleEntries.has(R)){this._handleExistingModuleFromUnsafeCache(E,N,R);return}const j=R.identifier();const $=this._restoredUnsafeCacheEntries.get(j);if($!==undefined){Ht.set(N,$);this._handleExistingModuleFromUnsafeCache(E,N,$);return}_e++;this._modulesCache.get(j,null,(($,q)=>{if($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}try{if(!this._restoredUnsafeCacheEntries.has(j)){const $=Gt.get(q);if($===undefined){processDependencyForResolving(N);if(--_e===0)onDependenciesSorted();return}if(q!==R){Ht.set(N,q)}q.restoreFromUnsafeCache($,this.params.normalModuleFactory,this.params);this._restoredUnsafeCacheEntries.set(j,q);this._restoredUnsafeCacheModuleEntries.add(q);if(!this.modules.has(q)){Ee++;this._handleNewModuleFromUnsafeCache(E,N,q,(E=>{if(E){if(Ee<=0)return;Ee=-1;onTransitiveTasksFinished(E)}if(--Ee===0)return onTransitiveTasksFinished()}));if(--_e===0)onDependenciesSorted();return}}if(R!==q){Ht.set(N,q)}this._handleExistingModuleFromUnsafeCache(E,N,q)}catch($){if(_e<=0)return;_e=-1;onDependenciesSorted($);return}if(--_e===0)onDependenciesSorted()}));return}}catch(E){console.error(E)}}processDependencyForResolving(N)};const processDependencyForResolving=N=>{const j=N.getResourceIdentifier();if(j!==undefined&&j!==null){const _e=N.category;const Ee=N.constructor;if(q===Ee){if(ae===_e&&ce===j){le.push(N);return}}else{const E=this.dependencyFactories.get(Ee);if(E===undefined){throw new Error(`No module factory available for dependency type: ${Ee.name}`)}if(G===E){q=Ee;if(ae===_e&&ce===j){le.push(N);return}}else{if(G!==undefined){if($===undefined)$=new Map;$.set(G,ie);ie=$.get(E);if(ie===undefined){ie=new Map}}else{ie=new Map}q=Ee;G=E}}const Te=_e===jt?j:`${_e}${j}`;let we=ie.get(Te);if(we===undefined){ie.set(Te,we=[]);R.push({factory:G,dependencies:we,originModule:E})}we.push(N);ae=_e;ce=j;le=we}};try{const N=[E];do{const E=N.pop();if(E.dependencies){j=E;let N=0;for(const R of E.dependencies)processDependency(R,N++)}if(E.blocks){for(const R of E.blocks)N.push(R)}}while(N.length!==0)}catch(E){return N(E)}if(--_e===0)onDependenciesSorted()}_handleNewModuleFromUnsafeCache(E,N,R,j){const $=this.moduleGraph;$.setResolvedModule(E,N,R);$.setIssuerIfUnset(R,E!==undefined?E:null);this._modules.set(R.identifier(),R);this.modules.add(R);if(this._backCompat)et.setModuleGraphForModule(R,this.moduleGraph);this._handleModuleBuildAndDependencies(E,R,true,j)}_handleExistingModuleFromUnsafeCache(E,N,R){const j=this.moduleGraph;j.setResolvedModule(E,N,R)}handleModuleCreation({factory:E,dependencies:N,originModule:R,contextInfo:j,context:$,recursive:q=true,connectOrigin:G=q},ie){const ae=this.moduleGraph;const ce=this.profile?new rt:undefined;this.factorizeModule({currentProfile:ce,factory:E,dependencies:N,factoryResult:true,originModule:R,contextInfo:j,context:$},((E,j)=>{const applyFactoryResultDependencies=()=>{const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=j;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}};if(E){if(j)applyFactoryResultDependencies();if(N.every((E=>E.optional))){this.warnings.push(E);return ie()}else{this.errors.push(E);return ie(E)}}const $=j.module;if(!$){applyFactoryResultDependencies();return ie()}if(ce!==undefined){ae.setProfile($,ce)}this.addModule($,((E,le)=>{if(E){applyFactoryResultDependencies();if(!E.module){E.module=le}this.errors.push(E);return ie(E)}if(this._unsafeCache&&j.cacheable!==false&&le.restoreFromUnsafeCache&&this._unsafeCachePredicate(le)){const E=le;for(let j=0;j{if($!==undefined){$.delete(N)}if(E){if(!E.module){E.module=N}this.errors.push(E);return j(E)}if(!R){this.processModuleDependenciesNonRecursive(N);j(null,N);return}if(this.processDependenciesQueue.isProcessing(N)){return j()}this.processModuleDependencies(N,(E=>{if(E){return j(E)}j(null,N)}))}))}_factorizeModule({currentProfile:E,factory:N,dependencies:R,originModule:j,factoryResult:$,contextInfo:q,context:G},ie){if(E!==undefined){E.markFactoryStart()}N.create({contextInfo:{issuer:j?j.nameForCondition():"",issuerLayer:j?j.layer:null,compiler:this.compiler.name,...q},resolveOptions:j?j.resolveOptions:undefined,context:G?G:j?j.context:this.compiler.context,dependencies:R},((N,q)=>{if(q){if(q.module===undefined&&q instanceof Xe){q={module:q}}if(!$){const{fileDependencies:E,contextDependencies:N,missingDependencies:R}=q;if(E){this.fileDependencies.addAll(E)}if(N){this.contextDependencies.addAll(N)}if(R){this.missingDependencies.addAll(R)}}}if(N){const E=new tt(j,N,R.map((E=>E.loc)).filter(Boolean)[0]);return ie(E,$?q:undefined)}if(!q){return ie()}if(E!==undefined){E.markFactoryEnd()}ie(null,$?q:q.module)}))}addModuleChain(E,N,R){return this.addModuleTree({context:E,dependency:N},R)}addModuleTree({context:E,dependency:N,contextInfo:R},j){if(typeof N!=="object"||N===null||!N.constructor){return j(new dt("Parameter 'dependency' must be a Dependency"))}const $=N.constructor;const q=this.dependencyFactories.get($);if(!q){return j(new dt(`No dependency factory available for this dependency type: ${N.constructor.name}`))}this.handleModuleCreation({factory:q,dependencies:[N],originModule:null,contextInfo:R,context:E},((E,N)=>{if(E&&this.bail){j(E);this.buildQueue.stop();this.rebuildQueue.stop();this.processDependenciesQueue.stop();this.factorizeQueue.stop()}else if(!E&&N){j(null,N)}else{j()}}))}addEntry(E,N,R,j){const $=typeof R==="object"?R:{name:R};this._addEntryItem(E,N,"dependencies",$,j)}addInclude(E,N,R,j){this._addEntryItem(E,N,"includeDependencies",R,j)}_addEntryItem(E,N,R,j,$){const{name:q}=j;let G=q!==undefined?this.entries.get(q):this.globalEntry;if(G===undefined){G={dependencies:[],includeDependencies:[],options:{name:undefined,...j}};G[R].push(N);this.entries.set(q,G)}else{G[R].push(N);for(const E of Object.keys(j)){if(j[E]===undefined)continue;if(G.options[E]===j[E])continue;if(Array.isArray(G.options[E])&&Array.isArray(j[E])&&vt(G.options[E],j[E])){continue}if(G.options[E]===undefined){G.options[E]=j[E]}else{return $(new dt(`Conflicting entry option ${E} = ${G.options[E]} vs ${j[E]}`))}}}this.hooks.addEntry.call(N,j);this.addModuleTree({context:E,dependency:N,contextInfo:G.options.layer?{issuerLayer:G.options.layer}:undefined},((E,R)=>{if(E){this.hooks.failedEntry.call(N,j,E);return $(E)}this.hooks.succeedEntry.call(N,j,R);return $(null,R)}))}rebuildModule(E,N){this.rebuildQueue.add(E,N)}_rebuildModule(E,N){this.hooks.rebuildModule.call(E);const R=E.dependencies.slice();const j=E.blocks.slice();E.invalidateBuild();this.buildQueue.invalidate(E);this.buildModule(E,($=>{if($){return this.hooks.finishRebuildingModule.callAsync(E,(E=>{if(E){N(Ge(E,"Compilation.hooks.finishRebuildingModule"));return}N($)}))}this.processDependenciesQueue.invalidate(E);this.moduleGraph.unfreeze();this.processModuleDependencies(E,($=>{if($)return N($);this.removeReasonsOfDependencyBlock(E,{dependencies:R,blocks:j});this.hooks.finishRebuildingModule.callAsync(E,(R=>{if(R){N(Ge(R,"Compilation.hooks.finishRebuildingModule"));return}N(null,E)}))}))}))}_computeAffectedModules(E){const N=this.compiler.moduleMemCaches;if(!N)return;if(!this.moduleMemCaches){this.moduleMemCaches=new Map;this.moduleGraph.setModuleMemCaches(this.moduleMemCaches)}const{moduleGraph:R,moduleMemCaches:j}=this;const $=new Set;const q=new Set;let G=0;let ie=0;let ae=0;let ce=0;let le=0;const computeReferences=E=>{let N=undefined;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;const R=j.module;if(!E||!R||Ht.has(E))continue;if(N===undefined)N=new WeakMap;N.set(E,R)}return N};const compareReferences=(E,N)=>{if(N===undefined)return true;for(const j of R.getOutgoingConnections(E)){const E=j.dependency;if(!E)continue;const R=N.get(E);if(R===undefined)continue;if(R!==j.module)return false}return true};const _e=new Set(E);for(const[E,R]of N){if(_e.has(E)){const G=E.buildInfo;if(G){if(R.buildInfo!==G){const N=new Et;j.set(E,N);$.add(E);R.buildInfo=G;R.references=computeReferences(E);R.memCache=N;ie++}else if(!compareReferences(E,R.references)){const N=new Et;j.set(E,N);$.add(E);R.references=computeReferences(E);R.memCache=N;ce++}else{j.set(E,R.memCache);ae++}}else{q.add(E);N.delete(E);le++}_e.delete(E)}else{N.delete(E)}}for(const E of _e){const R=E.buildInfo;if(R){const q=new Et;N.set(E,{buildInfo:R,references:computeReferences(E),memCache:q});j.set(E,q);$.add(E);G++}else{q.add(E);le++}}const reduceAffectType=E=>{let N=false;for(const{dependency:R}of E){if(!R)continue;const E=R.couldAffectReferencingModule();if(E===Ue.TRANSITIVE)return Ue.TRANSITIVE;if(E===false)continue;N=true}return N};const Ee=new Set;for(const E of q){for(const[N,j]of R.getIncomingConnectionsByOriginModule(E)){if(!N)continue;if(q.has(N))continue;const E=reduceAffectType(j);if(!E)continue;if(E===true){Ee.add(N)}else{q.add(N)}}}for(const E of Ee)q.add(E);const Te=new Set;for(const E of $){for(const[G,ie]of R.getIncomingConnectionsByOriginModule(E)){if(!G)continue;if(q.has(G))continue;if($.has(G))continue;const E=reduceAffectType(ie);if(!E)continue;if(E===true){Te.add(G)}else{$.add(G)}const R=new Et;const ae=N.get(G);ae.memCache=R;j.set(G,R)}}for(const E of Te)$.add(E);this.logger.log(`${Math.round(100*($.size+q.size)/this.modules.size)}% (${$.size} affected + ${q.size} infected of ${this.modules.size}) modules flagged as affected (${G} new modules, ${ie} changed, ${ce} references changed, ${ae} unchanged, ${le} were not built)`)}_computeAffectedModulesWithChunkGraph(){const{moduleMemCaches:E}=this;if(!E)return;const N=this.moduleMemCaches2=new Map;const{moduleGraph:R,chunkGraph:j}=this;const $="memCache2";let q=0;let G=0;let ie=0;const computeReferences=E=>{let N=undefined;let $=undefined;const q=R.getOutgoingConnectionsByModule(E);if(q!==undefined){for(const E of q.keys()){if(!E)continue;if(N===undefined)N=new Map;N.set(E,j.getModuleId(E))}}if(E.blocks.length>0){$=[];const N=Array.from(E.blocks);for(const E of N){const R=j.getBlockChunkGroup(E);if(R){for(const E of R.chunks){$.push(E.id)}}else{$.push(null)}N.push.apply(N,E.blocks)}}return{modules:N,blocks:$}};const compareReferences=(E,{modules:N,blocks:R})=>{if(N!==undefined){for(const[E,R]of N){if(j.getModuleId(E)!==R)return false}}if(R!==undefined){const N=Array.from(E.blocks);let $=0;for(const E of N){const q=j.getBlockChunkGroup(E);if(q){for(const E of q.chunks){if($>=R.length||R[$++]!==E.id)return false}}else{if($>=R.length||R[$++]!==null)return false}N.push.apply(N,E.blocks)}if($!==R.length)return false}return true};for(const[R,j]of E){const E=j.get($);if(E===undefined){const E=new Et;j.set($,{references:computeReferences(R),memCache:E});N.set(R,E);ie++}else if(!compareReferences(R,E.references)){const j=new Et;E.references=computeReferences(R);E.memCache=j;N.set(R,j);G++}else{N.set(R,E.memCache);q++}}this.logger.log(`${Math.round(100*G/(ie+G+q))}% modules flagged as affected by chunk graph (${ie} new modules, ${G} changed, ${q} unchanged)`)}finish(E){this.factorizeQueue.clear();if(this.profile){this.logger.time("finish module profiles");const E=R(382);const N=new E;const j=this.moduleGraph;const $=new Map;for(const E of this.modules){const R=j.getProfile(E);if(!R)continue;$.set(E,R);N.range(R.buildingStartTime,R.buildingEndTime,(E=>R.buildingParallelismFactor=E));N.range(R.factoryStartTime,R.factoryEndTime,(E=>R.factoryParallelismFactor=E));N.range(R.integrationStartTime,R.integrationEndTime,(E=>R.integrationParallelismFactor=E));N.range(R.storingStartTime,R.storingEndTime,(E=>R.storingParallelismFactor=E));N.range(R.restoringStartTime,R.restoringEndTime,(E=>R.restoringParallelismFactor=E));if(R.additionalFactoryTimes){for(const{start:E,end:j}of R.additionalFactoryTimes){const $=(j-E)/R.additionalFactories;N.range(E,j,(E=>R.additionalFactoriesParallelismFactor+=E*$))}}}N.calculate();const q=this.getLogger("webpack.Compilation.ModuleProfile");const logByValue=(E,N)=>{if(E>1e3){q.error(N)}else if(E>500){q.warn(N)}else if(E>200){q.info(N)}else if(E>30){q.log(N)}else{q.debug(N)}};const logNormalSummary=(E,N,R)=>{let j=0;let q=0;for(const[G,ie]of $){const $=R(ie);const ae=N(ie);if(ae===0||$===0)continue;const ce=ae/$;j+=ce;if(ce<=10)continue;logByValue(ce,` | ${Math.round(ce)} ms${$>=1.1?` (parallelism ${Math.round($*10)/10})`:""} ${E} > ${G.readableIdentifier(this.requestShortener)}`);q=Math.max(q,ce)}if(j<=10)return;logByValue(Math.max(j/10,q),`${Math.round(j)} ms ${E}`)};const logByLoadersSummary=(E,N,R)=>{const j=new Map;for(const[E,N]of $){const R=St(j,E.type+"!"+E.identifier().replace(/(!|^)[^!]*$/,""),(()=>[]));R.push({module:E,profile:N})}let q=0;let G=0;for(const[$,ie]of j){let j=0;let ae=0;for(const{module:$,profile:q}of ie){const G=R(q);const ie=N(q);if(ie===0||G===0)continue;const ce=ie/G;j+=ce;if(ce<=10)continue;logByValue(ce,` | | ${Math.round(ce)} ms${G>=1.1?` (parallelism ${Math.round(G*10)/10})`:""} ${E} > ${$.readableIdentifier(this.requestShortener)}`);ae=Math.max(ae,ce)}q+=j;if(j<=10)continue;const ce=$.indexOf("!");const le=$.slice(ce+1);const _e=$.slice(0,ce);const Ee=Math.max(j/10,ae);logByValue(Ee,` | ${Math.round(j)} ms ${E} > ${le?`${ie.length} x ${_e} with ${this.requestShortener.shorten(le)}`:`${ie.length} x ${_e}`}`);G=Math.max(G,Ee)}if(q<=10)return;logByValue(Math.max(q/10,G),`${Math.round(q)} ms ${E}`)};logNormalSummary("resolve to new modules",(E=>E.factory),(E=>E.factoryParallelismFactor));logNormalSummary("resolve to existing modules",(E=>E.additionalFactories),(E=>E.additionalFactoriesParallelismFactor));logNormalSummary("integrate modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));logByLoadersSummary("build modules",(E=>E.building),(E=>E.buildingParallelismFactor));logNormalSummary("store modules",(E=>E.storing),(E=>E.storingParallelismFactor));logNormalSummary("restore modules",(E=>E.restoring),(E=>E.restoringParallelismFactor));this.logger.timeEnd("finish module profiles")}this.logger.time("compute affected modules");this._computeAffectedModules(this.modules);this.logger.timeEnd("compute affected modules");this.logger.time("finish modules");const{modules:N,moduleMemCaches:j}=this;this.hooks.finishModules.callAsync(N,(R=>{this.logger.timeEnd("finish modules");if(R)return E(R);this.moduleGraph.freeze("dependency errors");this.logger.time("report dependency errors and warnings");for(const E of N){const N=j&&j.get(E);if(N&&N.get("noWarningsOrErrors"))continue;let R=this.reportDependencyErrorsAndWarnings(E,[E]);const $=E.getErrors();if($!==undefined){for(const N of $){if(!N.module){N.module=E}this.errors.push(N);R=true}}const q=E.getWarnings();if(q!==undefined){for(const N of q){if(!N.module){N.module=E}this.warnings.push(N);R=true}}if(!R&&N)N.set("noWarningsOrErrors",true)}this.moduleGraph.unfreeze();this.logger.timeEnd("report dependency errors and warnings");E()}))}unseal(){this.hooks.unseal.call();this.chunks.clear();this.chunkGroups.length=0;this.namedChunks.clear();this.namedChunkGroups.clear();this.entrypoints.clear();this.additionalChunkAssets.length=0;this.assets={};this.assetsInfo.clear();this.moduleGraph.removeAllModuleAttributes();this.moduleGraph.unfreeze();this.moduleMemCaches2=undefined}seal(E){const finalCallback=N=>{this.factorizeQueue.clear();this.buildQueue.clear();this.rebuildQueue.clear();this.processDependenciesQueue.clear();this.addModuleQueue.clear();return E(N)};const N=new Ie(this.moduleGraph,this.outputOptions.hashFunction);this.chunkGraph=N;if(this._backCompat){for(const E of this.modules){Ie.setChunkGraphForModule(E,N)}}this.hooks.seal.call();this.logger.time("optimize dependencies");while(this.hooks.optimizeDependencies.call(this.modules)){}this.hooks.afterOptimizeDependencies.call(this.modules);this.logger.timeEnd("optimize dependencies");this.logger.time("create chunks");this.hooks.beforeChunks.call();this.moduleGraph.freeze("seal");const R=new Map;for(const[E,{dependencies:j,includeDependencies:$,options:q}]of this.entries){const G=this.addChunk(E);if(q.filename){G.filenameTemplate=q.filename}const ie=new We(q);if(!q.dependOn&&!q.runtime){ie.setRuntimeChunk(G)}ie.setEntrypointChunk(G);this.namedChunkGroups.set(E,ie);this.entrypoints.set(E,ie);this.chunkGroups.push(ie);qe(ie,G);const ae=new Set;for(const $ of[...this.globalEntry.dependencies,...j]){ie.addOrigin(null,{name:E},$.request);const j=this.moduleGraph.getModule($);if(j){N.connectChunkAndEntryModule(G,j,ie);ae.add(j);const E=R.get(ie);if(E===undefined){R.set(ie,[j])}else{E.push(j)}}}this.assignDepths(ae);const mapAndSort=E=>E.map((E=>this.moduleGraph.getModule(E))).filter(Boolean).sort(Pt);const ce=[...mapAndSort(this.globalEntry.includeDependencies),...mapAndSort($)];let le=R.get(ie);if(le===undefined){R.set(ie,le=[])}for(const E of ce){this.assignDepth(E);le.push(E)}}const j=new Set;e:for(const[E,{options:{dependOn:N,runtime:R}}]of this.entries){if(N&&R){const N=new dt(`Entrypoint '${E}' has 'dependOn' and 'runtime' specified. This is not valid.\nEntrypoints that depend on other entrypoints do not have their own runtime.\nThey will use the runtime(s) from referenced entrypoints instead.\nRemove the 'runtime' option from the entrypoint.`);const R=this.entrypoints.get(E);N.chunk=R.getEntrypointChunk();this.errors.push(N)}if(N){const R=this.entrypoints.get(E);const j=R.getEntrypointChunk().getAllReferencedChunks();const $=[];for(const q of N){const N=this.entrypoints.get(q);if(!N){throw new Error(`Entry ${E} depends on ${q}, but this entry was not found`)}if(j.has(N.getEntrypointChunk())){const N=new dt(`Entrypoints '${E}' and '${q}' use 'dependOn' to depend on each other in a circular way.`);const j=R.getEntrypointChunk();N.chunk=j;this.errors.push(N);R.setRuntimeChunk(j);continue e}$.push(N)}for(const E of $){He(E,R)}}else if(R){const N=this.entrypoints.get(E);let $=this.namedChunks.get(R);if($){if(!j.has($)){const j=new dt(`Entrypoint '${E}' has a 'runtime' option which points to another entrypoint named '${R}'.\nIt's not valid to use other entrypoints as runtime chunk.\nDid you mean to use 'dependOn: ${JSON.stringify(R)}' instead to allow using entrypoint '${E}' within the runtime of entrypoint '${R}'? For this '${R}' must always be loaded when '${E}' is used.\nOr do you want to use the entrypoints '${E}' and '${R}' independently on the same page with a shared runtime? In this case give them both the same value for the 'runtime' option. It must be a name not already used by an entrypoint.`);const $=N.getEntrypointChunk();j.chunk=$;this.errors.push(j);N.setRuntimeChunk($);continue}}else{$=this.addChunk(R);$.preventIntegration=true;j.add($)}N.unshiftChunk($);$.addGroup(N);N.setRuntimeChunk($)}}pt(this,R);this.hooks.afterChunks.call(this.chunks);this.logger.timeEnd("create chunks");this.logger.time("optimize");this.hooks.optimize.call();while(this.hooks.optimizeModules.call(this.modules)){}this.hooks.afterOptimizeModules.call(this.modules);while(this.hooks.optimizeChunks.call(this.chunks,this.chunkGroups)){}this.hooks.afterOptimizeChunks.call(this.chunks,this.chunkGroups);this.hooks.optimizeTree.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeTree"))}this.hooks.afterOptimizeTree.call(this.chunks,this.modules);this.hooks.optimizeChunkModules.callAsync(this.chunks,this.modules,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.optimizeChunkModules"))}this.hooks.afterOptimizeChunkModules.call(this.chunks,this.modules);const R=this.hooks.shouldRecord.call()!==false;this.hooks.reviveModules.call(this.modules,this.records);this.hooks.beforeModuleIds.call(this.modules);this.hooks.moduleIds.call(this.modules);this.hooks.optimizeModuleIds.call(this.modules);this.hooks.afterOptimizeModuleIds.call(this.modules);this.hooks.reviveChunks.call(this.chunks,this.records);this.hooks.beforeChunkIds.call(this.chunks);this.hooks.chunkIds.call(this.chunks);this.hooks.optimizeChunkIds.call(this.chunks);this.hooks.afterOptimizeChunkIds.call(this.chunks);this.assignRuntimeIds();this.logger.time("compute affected modules with chunk graph");this._computeAffectedModulesWithChunkGraph();this.logger.timeEnd("compute affected modules with chunk graph");this.sortItemsWithChunkIds();if(R){this.hooks.recordModules.call(this.modules,this.records);this.hooks.recordChunks.call(this.chunks,this.records)}this.hooks.optimizeCodeGeneration.call(this.modules);this.logger.timeEnd("optimize");this.logger.time("module hashing");this.hooks.beforeModuleHash.call();this.createModuleHashes();this.hooks.afterModuleHash.call();this.logger.timeEnd("module hashing");this.logger.time("code generation");this.hooks.beforeCodeGeneration.call();this.codeGeneration((N=>{if(N){return finalCallback(N)}this.hooks.afterCodeGeneration.call();this.logger.timeEnd("code generation");this.logger.time("runtime requirements");this.hooks.beforeRuntimeRequirements.call();this.processRuntimeRequirements();this.hooks.afterRuntimeRequirements.call();this.logger.timeEnd("runtime requirements");this.logger.time("hashing");this.hooks.beforeHash.call();const j=this.createHash();this.hooks.afterHash.call();this.logger.timeEnd("hashing");this._runCodeGenerationJobs(j,(N=>{if(N){return finalCallback(N)}if(R){this.logger.time("record hash");this.hooks.recordHash.call(this.records);this.logger.timeEnd("record hash")}this.logger.time("module assets");this.clearAssets();this.hooks.beforeModuleAssets.call();this.createModuleAssets();this.logger.timeEnd("module assets");const cont=()=>{this.logger.time("process assets");this.hooks.processAssets.callAsync(this.assets,(N=>{if(N){return finalCallback(Ge(N,"Compilation.hooks.processAssets"))}this.hooks.afterProcessAssets.call(this.assets);this.logger.timeEnd("process assets");this.assets=this._backCompat?Nt(this.assets,"Compilation.assets","DEP_WEBPACK_COMPILATION_ASSETS",`BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.\n\tDo changes to assets earlier, e. g. in Compilation.hooks.processAssets.\n\tMake sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.`):Object.freeze(this.assets);this.summarizeDependencies();if(R){this.hooks.record.call(this,this.records)}if(this.hooks.needAdditionalSeal.call()){this.unseal();return this.seal(E)}return this.hooks.afterSeal.callAsync((E=>{if(E){return finalCallback(Ge(E,"Compilation.hooks.afterSeal"))}this.fileSystemInfo.logStatistics();finalCallback()}))}))};this.logger.time("create chunk assets");if(this.hooks.shouldGenerateChunkAssets.call()!==false){this.hooks.beforeChunkAssets.call();this.createChunkAssets((E=>{this.logger.timeEnd("create chunk assets");if(E){return finalCallback(E)}cont()}))}else{this.logger.timeEnd("create chunk assets");cont()}}))}))}))}))}reportDependencyErrorsAndWarnings(E,N){let R=false;for(let j=0;j1){const $=new Map;for(const q of j){const j=N.getModuleHash(E,q);const G=$.get(j);if(G===undefined){const N={module:E,hash:j,runtime:q,runtimes:[q]};R.push(N);$.set(j,N)}else{G.runtimes.push(q)}}}}this._runCodeGenerationJobs(R,E)}_runCodeGenerationJobs(E,N){let R=0;let $=0;const{chunkGraph:q,moduleGraph:G,dependencyTemplates:ie,runtimeTemplate:ae}=this;const ce=this.codeGenerationResults;const le=[];j.eachLimit(E,this.options.parallelism,(({module:E,hash:N,runtime:j,runtimes:_e},Ee)=>{this._codeGenerationModule(E,j,_e,N,ie,q,G,ae,le,ce,((E,N)=>{if(N)$++;else R++;Ee(E)}))}),(E=>{if(E)return N(E);if(le.length>0){le.sort(Dt((E=>E.module),Pt));for(const E of le){this.errors.push(E)}}this.logger.log(`${Math.round(100*$/($+R))}% code generated (${$} generated, ${R} from cache)`);N()}))}_codeGenerationModule(E,N,R,j,$,q,G,ie,ae,ce,le){let _e=false;const Ee=new Te(R.map((N=>this._codeGenerationCache.getItemCache(`${E.identifier()}|${Rt(N)}`,`${j}|${$.getHash()}`))));Ee.get(((j,Te)=>{if(j)return le(j);let we;if(!Te){try{_e=true;this.codeGeneratedModules.add(E);we=E.codeGeneration({chunkGraph:q,moduleGraph:G,dependencyTemplates:$,runtimeTemplate:ie,runtime:N})}catch(j){ae.push(new Be(E,j));we=Te={sources:new Map,runtimeRequirements:null}}}else{we=Te}for(const N of R){ce.add(E,N,we)}if(!Te){Ee.store(we,(E=>le(E,_e)))}else{le(null,_e)}}))}_getChunkGraphEntries(){const E=new Set;for(const N of this.entrypoints.values()){const R=N.getRuntimeChunk();if(R)E.add(R)}for(const N of this.asyncEntrypoints){const R=N.getRuntimeChunk();if(R)E.add(R)}return E}processRuntimeRequirements({chunkGraph:E=this.chunkGraph,modules:N=this.modules,chunks:R=this.chunks,codeGenerationResults:j=this.codeGenerationResults,chunkGraphEntries:$=this._getChunkGraphEntries()}={}){const q={chunkGraph:E,codeGenerationResults:j};const{moduleMemCaches2:G}=this;this.logger.time("runtime requirements.modules");const ie=this.hooks.additionalModuleRuntimeRequirements;const ae=this.hooks.runtimeRequirementInModule;for(const R of N){if(E.getNumberOfModuleChunks(R)>0){const N=G&&G.get(R);for(const $ of E.getModuleRuntimes(R)){if(N){const j=N.get(`moduleRuntimeRequirements-${Rt($)}`);if(j!==undefined){if(j!==null){E.addModuleRuntimeRequirements(R,$,j,false)}continue}}let G;const ce=j.getRuntimeRequirements(R,$);if(ce&&ce.size>0){G=new Set(ce)}else if(ie.isUsed()){G=new Set}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}continue}ie.call(R,G,q);for(const E of G){const N=ae.get(E);if(N!==undefined)N.call(R,G,q)}if(G.size===0){if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,null)}}else{if(N){N.set(`moduleRuntimeRequirements-${Rt($)}`,G);E.addModuleRuntimeRequirements(R,$,G,false)}else{E.addModuleRuntimeRequirements(R,$,G)}}}}}this.logger.timeEnd("runtime requirements.modules");this.logger.time("runtime requirements.chunks");for(const N of R){const R=new Set;for(const j of E.getChunkModulesIterable(N)){const $=E.getModuleRuntimeRequirements(j,N.runtime);for(const E of $)R.add(E)}this.hooks.additionalChunkRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInChunk.for(E).call(N,R,q)}E.addChunkRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.chunks");this.logger.time("runtime requirements.entries");for(const N of $){const R=new Set;for(const j of N.getAllReferencedChunks()){const N=E.getChunkRuntimeRequirements(j);for(const E of N)R.add(E)}this.hooks.additionalTreeRuntimeRequirements.call(N,R,q);for(const E of R){this.hooks.runtimeRequirementInTree.for(E).call(N,R,q)}E.addTreeRuntimeRequirements(N,R)}this.logger.timeEnd("runtime requirements.entries")}addRuntimeModule(E,N,R=this.chunkGraph){if(this._backCompat)et.setModuleGraphForModule(N,this.moduleGraph);this.modules.add(N);this._modules.set(N.identifier(),N);R.connectChunkAndModule(E,N);R.connectChunkAndRuntimeModule(E,N);if(N.fullHash){R.addFullHashModuleToChunk(E,N)}else if(N.dependentHash){R.addDependentHashModuleToChunk(E,N)}N.attach(this,E,R);const j=this.moduleGraph.getExportsInfo(N);j.setHasProvideInfo();if(typeof E.runtime==="string"){j.setUsedForSideEffectsOnly(E.runtime)}else if(E.runtime===undefined){j.setUsedForSideEffectsOnly(undefined)}else{for(const N of E.runtime){j.setUsedForSideEffectsOnly(N)}}R.addModuleRuntimeRequirements(N,E.runtime,new Set([st.requireScope]));R.setModuleId(N,"");this.hooks.runtimeModule.call(N,E)}addChunkInGroup(E,N,R,j){if(typeof E==="string"){E={name:E}}const $=E.name;if($){const q=this.namedChunkGroups.get($);if(q!==undefined){q.addOptions(E);if(N){q.addOrigin(N,R,j)}return q}}const q=new Ne(E);if(N)q.addOrigin(N,R,j);const G=this.addChunk($);qe(q,G);this.chunkGroups.push(q);if($){this.namedChunkGroups.set($,q)}return q}addAsyncEntrypoint(E,N,R,j){const $=E.name;if($){const E=this.namedChunkGroups.get($);if(E instanceof We){if(E!==undefined){if(N){E.addOrigin(N,R,j)}return E}}else if(E){throw new Error(`Cannot add an async entrypoint with the name '${$}', because there is already an chunk group with this name`)}}const q=this.addChunk($);if(E.filename){q.filenameTemplate=E.filename}const G=new We(E,false);G.setRuntimeChunk(q);G.setEntrypointChunk(q);if($){this.namedChunkGroups.set($,G)}this.chunkGroups.push(G);this.asyncEntrypoints.push(G);qe(G,q);if(N){G.addOrigin(N,R,j)}return G}addChunk(E){if(E){const N=this.namedChunks.get(E);if(N!==undefined){return N}}const N=new we(E,this._backCompat);this.chunks.add(N);if(this._backCompat)Ie.setChunkGraphForChunk(N,this.chunkGraph);if(E){this.namedChunks.set(E,N)}return N}assignDepth(E){const N=this.moduleGraph;const R=new Set([E]);let j;N.setDepth(E,0);const processModule=E=>{if(!N.setDepthIfLower(E,j))return;R.add(E)};for(E of R){R.delete(E);j=N.getDepth(E)+1;for(const R of N.getOutgoingConnections(E)){const E=R.module;if(E){processModule(E)}}}}assignDepths(E){const N=this.moduleGraph;const R=new Set(E);R.add(1);let j=0;let $=0;for(const E of R){$++;if(typeof E==="number"){j=E;if(R.size===$)return;R.add(j+1)}else{N.setDepth(E,j);for(const{module:j}of N.getOutgoingConnections(E)){if(j){R.add(j)}}}}}getDependencyReferencedExports(E,N){const R=E.getReferencedExports(this.moduleGraph,N);return this.hooks.dependencyReferencedExports.call(R,E,N)}removeReasonsOfDependencyBlock(E,N){if(N.blocks){for(const R of N.blocks){this.removeReasonsOfDependencyBlock(E,R)}}if(N.dependencies){for(const E of N.dependencies){const N=this.moduleGraph.getModule(E);if(N){this.moduleGraph.removeConnection(E);if(this.chunkGraph){for(const E of this.chunkGraph.getModuleChunks(N)){this.patchChunksAfterReasonRemoval(N,E)}}}}}}patchChunksAfterReasonRemoval(E,N){if(!E.hasReasons(this.moduleGraph,N.runtime)){this.removeReasonsOfDependencyBlock(E,E)}if(!E.hasReasonForChunk(N,this.moduleGraph,this.chunkGraph)){if(this.chunkGraph.isModuleInChunk(E,N)){this.chunkGraph.disconnectChunkAndModule(N,E);this.removeChunkFromDependencies(E,N)}}}removeChunkFromDependencies(E,N){const iteratorDependency=E=>{const R=this.moduleGraph.getModule(E);if(!R){return}this.patchChunksAfterReasonRemoval(R,N)};const R=E.blocks;for(let N=0;N{const R=N.options.runtime||N.name;const j=N.getRuntimeChunk();E.setRuntimeId(R,j.id)};for(const E of this.entrypoints.values()){processEntrypoint(E)}for(const E of this.asyncEntrypoints){processEntrypoint(E)}}sortItemsWithChunkIds(){for(const E of this.chunkGroups){E.sortItems()}this.errors.sort(qt);this.warnings.sort(qt);this.children.sort(Wt)}summarizeDependencies(){for(let E=0;E0){this.logger.time("hashing: hash child compilations");for(const E of this.children){G.update(E.hash)}this.logger.timeEnd("hashing: hash child compilations")}if(this.warnings.length>0){this.logger.time("hashing: hash warnings");for(const E of this.warnings){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash warnings")}if(this.errors.length>0){this.logger.time("hashing: hash errors");for(const E of this.errors){G.update(`${E.message}`)}this.logger.timeEnd("hashing: hash errors")}this.logger.time("hashing: sort chunks");const ie=[];const ae=[];for(const E of this.chunks){if(E.hasRuntime()){ie.push(E)}else{ae.push(E)}}ie.sort(zt);ae.sort(zt);const ce=new Map;for(const E of ie){ce.set(E,{chunk:E,referencedBy:[],remaining:0})}let le=0;for(const E of ce.values()){for(const N of new Set(Array.from(E.chunk.getAllReferencedAsyncEntrypoints()).map((E=>E.chunks[E.chunks.length-1])))){const R=ce.get(N);R.referencedBy.push(E);E.remaining++;le++}}const _e=[];for(const E of ce.values()){if(E.remaining===0){_e.push(E.chunk)}}if(le>0){const N=[];for(const R of _e){const j=E.getNumberOfChunkFullHashModules(R)!==0;const $=ce.get(R);for(const R of $.referencedBy){if(j){E.upgradeDependentToFullHashModules(R.chunk)}le--;if(--R.remaining===0){N.push(R.chunk)}}if(N.length>0){N.sort(zt);for(const E of N)_e.push(E);N.length=0}}}if(le>0){let E=[];for(const N of ce.values()){if(N.remaining!==0){E.push(N)}}E.sort(Dt((E=>E.chunk),zt));const N=new dt(`Circular dependency between chunks with runtime (${Array.from(E,(E=>E.chunk.name||E.chunk.id)).join(", ")})\nThis prevents using hashes of each other and should be avoided.`);N.chunk=E[0].chunk;this.warnings.push(N);for(const N of E)_e.push(N.chunk)}this.logger.timeEnd("hashing: sort chunks");const Ee=new Set;const Te=[];const we=new Map;const processChunk=ie=>{this.logger.time("hashing: hash runtime modules");const ae=ie.runtime;for(const R of E.getChunkModulesIterable(ie)){if(!E.hasModuleHashes(R,ae)){const G=this._createModuleHash(R,E,ae,j,N,$,q);let ie=we.get(G);if(ie){const E=ie.get(R);if(E){E.runtimes.push(ae);continue}}else{ie=new Map;we.set(G,ie)}const ce={module:R,hash:G,runtime:ae,runtimes:[ae]};ie.set(R,ce);Te.push(ce)}}this.logger.timeAggregate("hashing: hash runtime modules");this.logger.time("hashing: hash chunks");const ce=Ft(j);try{if(R.hashSalt){ce.update(R.hashSalt)}ie.updateHash(ce,E);this.hooks.chunkHash.call(ie,ce,{chunkGraph:E,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate});const N=ce.digest($);G.update(N);ie.hash=N;ie.renderedHash=ie.hash.substr(0,q);const j=E.getChunkFullHashModulesIterable(ie);if(j){Ee.add(ie)}else{this.hooks.contentHash.call(ie)}}catch(E){this.errors.push(new Me(ie,"",E))}this.logger.timeAggregate("hashing: hash chunks")};ae.forEach(processChunk);for(const E of _e)processChunk(E);this.logger.timeAggregateEnd("hashing: hash runtime modules");this.logger.timeAggregateEnd("hashing: hash chunks");this.logger.time("hashing: hash digest");this.hooks.fullHash.call(G);this.fullHash=G.digest($);this.hash=this.fullHash.substr(0,q);this.logger.timeEnd("hashing: hash digest");this.logger.time("hashing: process full hash modules");for(const R of Ee){for(const G of E.getChunkFullHashModulesIterable(R)){const ie=Ft(j);G.updateHash(ie,{chunkGraph:E,runtime:R.runtime,runtimeTemplate:N});const ae=ie.digest($);const ce=E.getModuleHash(G,R.runtime);E.setModuleHashes(G,R.runtime,ae,ae.substr(0,q));we.get(ce).get(G).hash=ae}const G=Ft(j);G.update(R.hash);G.update(this.hash);const ie=G.digest($);R.hash=ie;R.renderedHash=R.hash.substr(0,q);this.hooks.contentHash.call(R)}this.logger.timeEnd("hashing: process full hash modules");return Te}emitAsset(E,N,R={}){if(this.assets[E]){if(!Lt(this.assets[E],N)){this.errors.push(new dt(`Conflict: Multiple assets emit different content to the same filename ${E}`));this.assets[E]=N;this._setAssetInfo(E,R);return}const j=this.assetsInfo.get(E);const $=Object.assign({},j,R);this._setAssetInfo(E,$,j);return}this.assets[E]=N;this._setAssetInfo(E,R,undefined)}_setAssetInfo(E,N,R=this.assetsInfo.get(E)){if(N===undefined){this.assetsInfo.delete(E)}else{this.assetsInfo.set(E,N)}const j=R&&R.related;const $=N&&N.related;if(j){for(const N of Object.keys(j)){const remove=R=>{const j=this._assetsRelatedIn.get(R);if(j===undefined)return;const $=j.get(N);if($===undefined)return;$.delete(E);if($.size!==0)return;j.delete(N);if(j.size===0)this._assetsRelatedIn.delete(R)};const R=j[N];if(Array.isArray(R)){R.forEach(remove)}else if(R){remove(R)}}}if($){for(const N of Object.keys($)){const add=R=>{let j=this._assetsRelatedIn.get(R);if(j===undefined){this._assetsRelatedIn.set(R,j=new Map)}let $=j.get(N);if($===undefined){j.set(N,$=new Set)}$.add(E)};const R=$[N];if(Array.isArray(R)){R.forEach(add)}else if(R){add(R)}}}}updateAsset(E,N,R=undefined){if(!this.assets[E]){throw new Error(`Called Compilation.updateAsset for not existing filename ${E}`)}if(typeof N==="function"){this.assets[E]=N(this.assets[E])}else{this.assets[E]=N}if(R!==undefined){const N=this.assetsInfo.get(E)||Bt;if(typeof R==="function"){this._setAssetInfo(E,R(N),N)}else{this._setAssetInfo(E,Tt(N,R),N)}}}renameAsset(E,N){const R=this.assets[E];if(!R){throw new Error(`Called Compilation.renameAsset for not existing filename ${E}`)}if(this.assets[N]){if(!Lt(this.assets[E],R)){this.errors.push(new dt(`Conflict: Called Compilation.renameAsset for already existing filename ${N} with different content`))}}const j=this.assetsInfo.get(E);const $=this._assetsRelatedIn.get(E);if($){for(const[R,j]of $){for(const $ of j){const j=this.assetsInfo.get($);if(!j)continue;const q=j.related;if(!q)continue;const G=q[R];let ie;if(Array.isArray(G)){ie=G.map((R=>R===E?N:R))}else if(G===E){ie=N}else continue;this.assetsInfo.set($,{...j,related:{...q,[R]:ie}})}}}this._setAssetInfo(E,undefined,j);this._setAssetInfo(N,j);delete this.assets[E];this.assets[N]=R;for(const R of this.chunks){{const j=R.files.size;R.files.delete(E);if(j!==R.files.size){R.files.add(N)}}{const j=R.auxiliaryFiles.size;R.auxiliaryFiles.delete(E);if(j!==R.auxiliaryFiles.size){R.auxiliaryFiles.add(N)}}}}deleteAsset(E){if(!this.assets[E]){return}delete this.assets[E];const N=this.assetsInfo.get(E);this._setAssetInfo(E,undefined,N);const R=N&&N.related;if(R){for(const E of Object.keys(R)){const checkUsedAndDelete=E=>{if(!this._assetsRelatedIn.has(E)){this.deleteAsset(E)}};const N=R[E];if(Array.isArray(N)){N.forEach(checkUsedAndDelete)}else if(N){checkUsedAndDelete(N)}}}for(const N of this.chunks){N.files.delete(E);N.auxiliaryFiles.delete(E)}}getAssets(){const E=[];for(const N of Object.keys(this.assets)){if(Object.prototype.hasOwnProperty.call(this.assets,N)){E.push({name:N,source:this.assets[N],info:this.assetsInfo.get(N)||Bt})}}return E}getAsset(E){if(!Object.prototype.hasOwnProperty.call(this.assets,E))return undefined;return{name:E,source:this.assets[E],info:this.assetsInfo.get(E)||Bt}}clearAssets(){for(const E of this.chunks){E.files.clear();E.auxiliaryFiles.clear()}}createModuleAssets(){const{chunkGraph:E}=this;for(const N of this.modules){if(N.buildInfo.assets){const R=N.buildInfo.assetsInfo;for(const j of Object.keys(N.buildInfo.assets)){const $=this.getPath(j,{chunkGraph:this.chunkGraph,module:N});for(const R of E.getModuleChunksIterable(N)){R.auxiliaryFiles.add($)}this.emitAsset($,N.buildInfo.assets[j],R?R.get(j):undefined);this.hooks.moduleAsset.call(N,$)}}}}getRenderManifest(E){return this.hooks.renderManifest.call([],E)}createChunkAssets(E){const N=this.outputOptions;const R=new WeakMap;const $=new Map;j.forEachLimit(this.chunks,15,((E,q)=>{let G;try{G=this.getRenderManifest({chunk:E,hash:this.hash,fullHash:this.fullHash,outputOptions:N,codeGenerationResults:this.codeGenerationResults,moduleTemplates:this.moduleTemplates,dependencyTemplates:this.dependencyTemplates,chunkGraph:this.chunkGraph,moduleGraph:this.moduleGraph,runtimeTemplate:this.runtimeTemplate})}catch(N){this.errors.push(new Me(E,"",N));return q()}j.forEach(G,((N,j)=>{const q=N.identifier;const G=N.hash;const ie=this._assetsCache.getItemCache(q,G);ie.get(((q,ae)=>{let ce;let le;let _e;let Te=true;const errorAndCallback=N=>{const R=le||(typeof le==="string"?le:typeof ce==="string"?ce:"");this.errors.push(new Me(E,R,N));Te=false;return j()};try{if("filename"in N){le=N.filename;_e=N.info}else{ce=N.filenameTemplate;const E=this.getPathWithInfo(ce,N.pathOptions);le=E.path;_e=N.info?{...E.info,...N.info}:E.info}if(q){return errorAndCallback(q)}let we=ae;const Ie=$.get(le);if(Ie!==undefined){if(Ie.hash!==G){Te=false;return j(new dt(`Conflict: Multiple chunks emit assets to the same filename ${le}`+` (chunks ${Ie.chunk.id} and ${E.id})`))}else{we=Ie.source}}else if(!we){we=N.render();if(!(we instanceof Ee)){const E=R.get(we);if(E){we=E}else{const E=new Ee(we);R.set(we,E);we=E}}}this.emitAsset(le,we,_e);if(N.auxiliary){E.auxiliaryFiles.add(le)}else{E.files.add(le)}this.hooks.chunkAsset.call(E,le);$.set(le,{hash:G,source:we,chunk:E});if(we!==ae){ie.store(we,(E=>{if(E)return errorAndCallback(E);Te=false;return j()}))}else{Te=false;j()}}catch(q){if(!Te)throw q;errorAndCallback(q)}}))}),q)}),E)}getPath(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPath(E,N)}getPathWithInfo(E,N={}){if(!N.hash){N={hash:this.hash,...N}}return this.getAssetPathWithInfo(E,N)}getAssetPath(E,N){return this.hooks.assetPath.call(typeof E==="function"?E(N):E,N,undefined)}getAssetPathWithInfo(E,N){const R={};const j=this.hooks.assetPath.call(typeof E==="function"?E(N,R):E,N,R);return{path:j,info:R}}getWarnings(){return this.hooks.processWarnings.call(this.warnings)}getErrors(){return this.hooks.processErrors.call(this.errors)}createChildCompiler(E,N,R){const j=this.childrenCounters[E]||0;this.childrenCounters[E]=j+1;return this.compiler.createChildCompiler(this,E,j,N,R)}executeModule(E,N,R){const $=new Set([E]);Mt($,10,((E,N,R)=>{this.buildQueue.waitFor(E,(j=>{if(j)return R(j);this.processDependenciesQueue.waitFor(E,(j=>{if(j)return R(j);for(const{module:R}of this.moduleGraph.getOutgoingConnections(E)){const E=$.size;$.add(R);if($.size!==E)N(R)}R()}))}))}),(q=>{if(q)return R(q);const G=new Ie(this.moduleGraph,this.outputOptions.hashFunction);const ie="build time";const{hashFunction:ae,hashDigest:ce,hashDigestLength:le}=this.outputOptions;const _e=this.runtimeTemplate;const Ee=new we("build time chunk",this._backCompat);Ee.id=Ee.name;Ee.ids=[Ee.id];Ee.runtime=ie;const Te=new We({runtime:ie,chunkLoading:false,...N.entryOptions});G.connectChunkAndEntryModule(Ee,E,Te);qe(Te,Ee);Te.setRuntimeChunk(Ee);Te.setEntrypointChunk(Ee);const Ne=new Set([Ee]);for(const E of $){const N=E.identifier();G.setModuleId(E,N);G.connectChunkAndModule(Ee,E)}for(const E of $){this._createModuleHash(E,G,ie,ae,_e,ce,le)}const Me=new je(this.outputOptions.hashFunction);const Le=[];const codeGen=(E,N)=>{this._codeGenerationModule(E,ie,[ie],G.getModuleHash(E,ie),this.dependencyTemplates,G,this.moduleGraph,_e,Le,Me,((E,R)=>{N(E)}))};const reportErrors=()=>{if(Le.length>0){Le.sort(Dt((E=>E.module),Pt));for(const E of Le){this.errors.push(E)}Le.length=0}};j.eachLimit($,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=this.chunkGraph;this.chunkGraph=G;this.processRuntimeRequirements({chunkGraph:G,modules:$,chunks:Ne,codeGenerationResults:Me,chunkGraphEntries:Ne});this.chunkGraph=q;const Te=G.getChunkRuntimeModulesIterable(Ee);for(const E of Te){$.add(E);this._createModuleHash(E,G,ie,ae,_e,ce,le)}j.eachLimit(Te,10,codeGen,(N=>{if(N)return R(N);reportErrors();const q=new Map;const ae=new Map;const ce=new xt;const le=new xt;const _e=new xt;const Te=new xt;const we=new Map;let Ie=true;const Ne={assets:we,__webpack_require__:undefined,chunk:Ee,chunkGraph:G};j.eachLimit($,10,((E,N)=>{const R=Me.get(E,ie);const j={module:E,codeGenerationResult:R,preparedInfo:undefined,moduleObject:undefined};q.set(E,j);ae.set(E.identifier(),j);E.addCacheDependencies(ce,le,_e,Te);if(E.buildInfo.cacheable===false){Ie=false}if(E.buildInfo&&E.buildInfo.assets){const{assets:N,assetsInfo:R}=E.buildInfo;for(const E of Object.keys(N)){we.set(E,{source:N[E],info:R?R.get(E):undefined})}}this.hooks.prepareModuleExecution.callAsync(j,Ne,N)}),(N=>{if(N)return R(N);let j;try{const{strictModuleErrorHandling:N,strictModuleExceptionHandling:R}=this.outputOptions;const __nested_webpack_require_150631__=E=>{const N=ie[E];if(N!==undefined){if(N.error)throw N.error;return N.exports}const R=ae.get(E);return __webpack_require_module__(R,E)};const $=__nested_webpack_require_150631__[st.interceptModuleExecution.replace("__webpack_require__.","")]=[];const ie=__nested_webpack_require_150631__[st.moduleCache.replace("__webpack_require__.","")]={};Ne.__webpack_require__=__nested_webpack_require_150631__;const __webpack_require_module__=(E,j)=>{var q={id:j,module:{id:j,exports:{},loaded:false,error:undefined},require:__nested_webpack_require_150631__};$.forEach((E=>E(q)));const G=E.module;this.buildTimeExecutedModules.add(G);const ae=q.module;E.moduleObject=ae;try{if(j)ie[j]=ae;Ke((()=>this.hooks.executeModule.call(E,Ne)),"Compilation.hooks.executeModule");ae.loaded=true;return ae.exports}catch(E){if(R){if(j)delete ie[j]}else if(N){ae.error=E}if(!E.module)E.module=G;throw E}};for(const E of G.getChunkRuntimeModulesInOrder(Ee)){__webpack_require_module__(q.get(E))}j=__nested_webpack_require_150631__(E.identifier())}catch(N){const j=new dt(`Execution of module code from module graph (${E.readableIdentifier(this.requestShortener)}) failed: ${N.message}`);j.stack=N.stack;j.module=N.module;return R(j)}R(null,{exports:j,assets:we,cacheable:Ie,fileDependencies:ce,contextDependencies:le,missingDependencies:_e,buildDependencies:Te})}))}))}))}))}checkConstraints(){const E=this.chunkGraph;const N=new Set;for(const R of this.modules){if(R.type==="runtime")continue;const j=E.getModuleId(R);if(j===null)continue;if(N.has(j)){throw new Error(`checkConstraints: duplicate module id ${j}`)}N.add(j)}for(const N of this.chunks){for(const R of E.getChunkModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}for(const R of E.getChunkEntryModulesIterable(N)){if(!this.modules.has(R)){throw new Error("checkConstraints: entry module in chunk but not in compilation "+` ${N.debugId} ${R.debugId}`)}}}for(const E of this.chunkGroups){E.checkConstraints()}}}Compilation.prototype.factorizeModule=function(E,N){this.factorizeQueue.add(E,N)};const Kt=Compilation.prototype;Object.defineProperty(Kt,"modifyHash",{writable:false,enumerable:false,configurable:false,value:()=>{throw new Error("Compilation.modifyHash was removed in favor of Compilation.hooks.fullHash")}});Object.defineProperty(Kt,"cache",{enumerable:false,configurable:false,get:_e.deprecate((function(){return this.compiler.cache}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE"),set:_e.deprecate((E=>{}),"Compilation.cache was removed in favor of Compilation.getCache()","DEP_WEBPACK_COMPILATION_CACHE")});Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL=-2e3;Compilation.PROCESS_ASSETS_STAGE_PRE_PROCESS=-1e3;Compilation.PROCESS_ASSETS_STAGE_DERIVED=-200;Compilation.PROCESS_ASSETS_STAGE_ADDITIONS=-100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE=100;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COUNT=200;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_COMPATIBILITY=300;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_SIZE=400;Compilation.PROCESS_ASSETS_STAGE_DEV_TOOLING=500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_INLINE=700;Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE=1e3;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH=2500;Compilation.PROCESS_ASSETS_STAGE_OPTIMIZE_TRANSFER=3e3;Compilation.PROCESS_ASSETS_STAGE_ANALYSE=4e3;Compilation.PROCESS_ASSETS_STAGE_REPORT=5e3;E.exports=Compilation},63076:(E,N,R)=>{"use strict";const j=R(78688);const $=R(62355);const{SyncHook:q,SyncBailHook:G,AsyncParallelHook:ie,AsyncSeriesHook:ae}=R(92960);const{SizeOnlySource:ce}=R(48135);const le=R(86443);const _e=R(54725);const Ee=R(6503);const Te=R(45137);const we=R(3080);const Ie=R(27310);const Ne=R(89869);const Me=R(75412);const Le=R(43229);const Be=R(80910);const je=R(1819);const Ue=R(10140);const ze=R(84693);const We=R(81627);const{Logger:Je}=R(78539);const{join:Ve,dirname:qe,mkdirp:He}=R(95396);const{makePathsRelative:Ge}=R(49197);const{isSourceEqual:Ke}=R(13559);const isSorted=E=>{for(let N=1;NE[N])return false}return true};const sortObject=(E,N)=>{const R={};for(const j of N.sort()){R[j]=E[j]}return R};const includesHash=(E,N)=>{if(!N)return false;if(Array.isArray(N)){return N.some((N=>E.includes(N)))}else{return E.includes(N)}};class Compiler{constructor(E,N={}){this.hooks=Object.freeze({initialize:new q([]),shouldEmit:new G(["compilation"]),done:new ae(["stats"]),afterDone:new q(["stats"]),additionalPass:new ae([]),beforeRun:new ae(["compiler"]),run:new ae(["compiler"]),emit:new ae(["compilation"]),assetEmitted:new ae(["file","info"]),afterEmit:new ae(["compilation"]),thisCompilation:new q(["compilation","params"]),compilation:new q(["compilation","params"]),normalModuleFactory:new q(["normalModuleFactory"]),contextModuleFactory:new q(["contextModuleFactory"]),beforeCompile:new ae(["params"]),compile:new q(["params"]),make:new ie(["compilation"]),finishMake:new ae(["compilation"]),afterCompile:new ae(["compilation"]),watchRun:new ae(["compiler"]),failed:new q(["error"]),invalid:new q(["filename","changeTime"]),watchClose:new q([]),shutdown:new ae([]),infrastructureLog:new G(["origin","type","args"]),environment:new q([]),afterEnvironment:new q([]),afterPlugins:new q(["compiler"]),afterResolvers:new q(["compiler"]),entryOption:new G(["context","entry"])});this.webpack=le;this.name=undefined;this.parentCompilation=undefined;this.root=this;this.outputPath="";this.watching=undefined;this.outputFileSystem=null;this.intermediateFileSystem=null;this.inputFileSystem=null;this.watchFileSystem=null;this.recordsInputPath=null;this.recordsOutputPath=null;this.records={};this.managedPaths=new Set;this.immutablePaths=new Set;this.modifiedFiles=undefined;this.removedFiles=undefined;this.fileTimestamps=undefined;this.contextTimestamps=undefined;this.fsStartTime=undefined;this.resolverFactory=new je;this.infrastructureLogger=undefined;this.options=N;this.context=E;this.requestShortener=new Be(E,this.root);this.cache=new _e;this.moduleMemCaches=undefined;this.compilerPath="";this.running=false;this.idle=false;this.watchMode=false;this._backCompat=this.options.experiments.backCompat!==false;this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this._assetEmittingSourceCache=new WeakMap;this._assetEmittingWrittenFiles=new Map;this._assetEmittingPreviousFiles=new Set}getCache(E){return new Ee(this.cache,`${this.compilerPath}${E}`,this.options.output.hashFunction)}getInfrastructureLogger(E){if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called without a name")}return new Je(((N,R)=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(this.hooks.infrastructureLog.call(E,N,R)===undefined){if(this.infrastructureLogger!==undefined){this.infrastructureLogger(E,N,R)}}}),(N=>{if(typeof E==="function"){if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger((()=>{if(typeof E==="function"){E=E();if(!E){throw new TypeError("Compiler.getInfrastructureLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}}else{if(typeof N==="function"){return this.getInfrastructureLogger((()=>{if(typeof N==="function"){N=N();if(!N){throw new TypeError("Logger.getChildLogger(name) called with a function not returning a name")}}return`${E}/${N}`}))}else{return this.getInfrastructureLogger(`${E}/${N}`)}}}))}_cleanupLastCompilation(){if(this._lastCompilation!==undefined){for(const E of this._lastCompilation.modules){Te.clearChunkGraphForModule(E);Me.clearModuleGraphForModule(E);E.cleanupForCache()}for(const E of this._lastCompilation.chunks){Te.clearChunkGraphForChunk(E)}this._lastCompilation=undefined}}_cleanupLastNormalModuleFactory(){if(this._lastNormalModuleFactory!==undefined){this._lastNormalModuleFactory.cleanupForCache();this._lastNormalModuleFactory=undefined}}watch(E,N){if(this.running){return N(new Ie)}this.running=true;this.watchMode=true;this.watching=new ze(this,E,N);return this.watching}run(E){if(this.running){return E(new Ie)}let N;const finalCallback=(R,j)=>{if(N)N.time("beginIdle");this.idle=true;this.cache.beginIdle();this.idle=true;if(N)N.timeEnd("beginIdle");this.running=false;if(R){this.hooks.failed.call(R)}if(E!==undefined)E(R,j);this.hooks.afterDone.call(j)};const R=Date.now();this.running=true;const onCompiled=(E,j)=>{if(E)return finalCallback(E);if(this.hooks.shouldEmit.call(j)===false){j.startTime=R;j.endTime=Date.now();const E=new Ue(j);this.hooks.done.callAsync(E,(N=>{if(N)return finalCallback(N);return finalCallback(null,E)}));return}process.nextTick((()=>{N=j.getLogger("webpack.Compiler");N.time("emitAssets");this.emitAssets(j,(E=>{N.timeEnd("emitAssets");if(E)return finalCallback(E);if(j.hooks.needAdditionalPass.call()){j.needAdditionalPass=true;j.startTime=R;j.endTime=Date.now();N.time("done hook");const E=new Ue(j);this.hooks.done.callAsync(E,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.hooks.additionalPass.callAsync((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}));return}N.time("emitRecords");this.emitRecords((E=>{N.timeEnd("emitRecords");if(E)return finalCallback(E);j.startTime=R;j.endTime=Date.now();N.time("done hook");const $=new Ue(j);this.hooks.done.callAsync($,(E=>{N.timeEnd("done hook");if(E)return finalCallback(E);this.cache.storeBuildDependencies(j.buildDependencies,(E=>{if(E)return finalCallback(E);return finalCallback(null,$)}))}))}))}))}))};const run=()=>{this.hooks.beforeRun.callAsync(this,(E=>{if(E)return finalCallback(E);this.hooks.run.callAsync(this,(E=>{if(E)return finalCallback(E);this.readRecords((E=>{if(E)return finalCallback(E);this.compile(onCompiled)}))}))}))};if(this.idle){this.cache.endIdle((E=>{if(E)return finalCallback(E);this.idle=false;run()}))}else{run()}}runAsChild(E){const N=Date.now();this.compile(((R,j)=>{if(R)return E(R);this.parentCompilation.children.push(j);for(const{name:E,source:N,info:R}of j.getAssets()){this.parentCompilation.emitAsset(E,N,R)}const $=[];for(const E of j.entrypoints.values()){$.push(...E.chunks)}j.startTime=N;j.endTime=Date.now();return E(null,$,j)}))}purgeInputFileSystem(){if(this.inputFileSystem&&this.inputFileSystem.purge){this.inputFileSystem.purge()}}emitAssets(E,N){let R;const emitFiles=j=>{if(j)return N(j);const q=E.getAssets();E.assets={...E.assets};const G=new Map;const ie=new Set;$.forEachLimit(q,15,(({name:N,source:j,info:$},q)=>{let ae=N;let le=$.immutable;const _e=ae.indexOf("?");if(_e>=0){ae=ae.substr(0,_e);le=le&&(includesHash(ae,$.contenthash)||includesHash(ae,$.chunkhash)||includesHash(ae,$.modulehash)||includesHash(ae,$.fullhash))}const writeOut=$=>{if($)return q($);const _e=Ve(this.outputFileSystem,R,ae);ie.add(_e);const Ee=this._assetEmittingWrittenFiles.get(_e);let Te=this._assetEmittingSourceCache.get(j);if(Te===undefined){Te={sizeOnlySource:undefined,writtenTo:new Map};this._assetEmittingSourceCache.set(j,Te)}let we;const checkSimilarFile=()=>{const E=_e.toLowerCase();we=G.get(E);if(we!==undefined){const{path:E,source:R}=we;if(Ke(R,j)){if(we.size!==undefined){updateWithReplacementSource(we.size)}else{if(!we.waiting)we.waiting=[];we.waiting.push({file:N,cacheEntry:Te})}alreadyWritten()}else{const R=new We(`Prevent writing to file that only differs in casing or query string from already written file.\nThis will lead to a race-condition and corrupted files on case-insensitive file systems.\n${_e}\n${E}`);R.file=N;q(R)}return true}else{G.set(E,we={path:_e,source:j,size:undefined,waiting:undefined});return false}};const getContent=()=>{if(typeof j.buffer==="function"){return j.buffer()}else{const E=j.source();if(Buffer.isBuffer(E)){return E}else{return Buffer.from(E,"utf8")}}};const alreadyWritten=()=>{if(Ee===undefined){const E=1;this._assetEmittingWrittenFiles.set(_e,E);Te.writtenTo.set(_e,E)}else{Te.writtenTo.set(_e,Ee)}q()};const doWrite=$=>{this.outputFileSystem.writeFile(_e,$,(G=>{if(G)return q(G);E.emittedAssets.add(N);const ie=Ee===undefined?1:Ee+1;Te.writtenTo.set(_e,ie);this._assetEmittingWrittenFiles.set(_e,ie);this.hooks.assetEmitted.callAsync(N,{content:$,source:j,outputPath:R,compilation:E,targetPath:_e},q)}))};const updateWithReplacementSource=E=>{updateFileWithReplacementSource(N,Te,E);we.size=E;if(we.waiting!==undefined){for(const{file:N,cacheEntry:R}of we.waiting){updateFileWithReplacementSource(N,R,E)}}};const updateFileWithReplacementSource=(N,R,j)=>{if(!R.sizeOnlySource){R.sizeOnlySource=new ce(j)}E.updateAsset(N,R.sizeOnlySource,{size:j})};const processExistingFile=R=>{if(le){updateWithReplacementSource(R.size);return alreadyWritten()}const j=getContent();updateWithReplacementSource(j.length);if(j.length===R.size){E.comparedForEmitAssets.add(N);return this.outputFileSystem.readFile(_e,((E,N)=>{if(E||!j.equals(N)){return doWrite(j)}else{return alreadyWritten()}}))}return doWrite(j)};const processMissingFile=()=>{const E=getContent();updateWithReplacementSource(E.length);return doWrite(E)};if(Ee!==undefined){const R=Te.writtenTo.get(_e);if(R===Ee){if(this._assetEmittingPreviousFiles.has(_e)){E.updateAsset(N,Te.sizeOnlySource,{size:Te.sizeOnlySource.size()});return q()}else{le=true}}else if(!le){if(checkSimilarFile())return;return processMissingFile()}}if(checkSimilarFile())return;if(this.options.output.compareBeforeEmit){this.outputFileSystem.stat(_e,((E,N)=>{const R=!E&&N.isFile();if(R){processExistingFile(N)}else{processMissingFile()}}))}else{processMissingFile()}};if(ae.match(/\/|\\/)){const E=this.outputFileSystem;const N=qe(E,Ve(E,R,ae));He(E,N,writeOut)}else{writeOut()}}),(R=>{G.clear();if(R){this._assetEmittingPreviousFiles.clear();return N(R)}this._assetEmittingPreviousFiles=ie;this.hooks.afterEmit.callAsync(E,(E=>{if(E)return N(E);return N()}))}))};this.hooks.emit.callAsync(E,(j=>{if(j)return N(j);R=E.getPath(this.outputPath,{});He(this.outputFileSystem,R,emitFiles)}))}emitRecords(E){if(!this.recordsOutputPath)return E();const writeFile=()=>{this.outputFileSystem.writeFile(this.recordsOutputPath,JSON.stringify(this.records,((E,N)=>{if(typeof N==="object"&&N!==null&&!Array.isArray(N)){const E=Object.keys(N);if(!isSorted(E)){return sortObject(N,E)}}return N}),2),E)};const N=qe(this.outputFileSystem,this.recordsOutputPath);if(!N){return writeFile()}He(this.outputFileSystem,N,(N=>{if(N)return E(N);writeFile()}))}readRecords(E){if(!this.recordsInputPath){this.records={};return E()}this.inputFileSystem.stat(this.recordsInputPath,(N=>{if(N)return E();this.inputFileSystem.readFile(this.recordsInputPath,((N,R)=>{if(N)return E(N);try{this.records=j(R.toString("utf-8"))}catch(N){N.message="Cannot parse records: "+N.message;return E(N)}return E()}))}))}createChildCompiler(E,N,R,j,$){const q=new Compiler(this.context,{...this.options,output:{...this.options.output,...j}});q.name=N;q.outputPath=this.outputPath;q.inputFileSystem=this.inputFileSystem;q.outputFileSystem=null;q.resolverFactory=this.resolverFactory;q.modifiedFiles=this.modifiedFiles;q.removedFiles=this.removedFiles;q.fileTimestamps=this.fileTimestamps;q.contextTimestamps=this.contextTimestamps;q.fsStartTime=this.fsStartTime;q.cache=this.cache;q.compilerPath=`${this.compilerPath}${N}|${R}|`;q._backCompat=this._backCompat;const G=Ge(this.context,N,this.root);if(!this.records[G]){this.records[G]=[]}if(this.records[G][R]){q.records=this.records[G][R]}else{this.records[G].push(q.records={})}q.parentCompilation=E;q.root=this.root;if(Array.isArray($)){for(const E of $){E.apply(q)}}for(const E in this.hooks){if(!["make","compile","emit","afterEmit","invalid","done","thisCompilation"].includes(E)){if(q.hooks[E]){q.hooks[E].taps=this.hooks[E].taps.slice()}}}E.hooks.childCompiler.call(q,N,R);return q}isChild(){return!!this.parentCompilation}createCompilation(E){this._cleanupLastCompilation();return this._lastCompilation=new we(this,E)}newCompilation(E){const N=this.createCompilation(E);N.name=this.name;N.records=this.records;this.hooks.thisCompilation.call(N,E);this.hooks.compilation.call(N,E);return N}createNormalModuleFactory(){this._cleanupLastNormalModuleFactory();const E=new Le({context:this.options.context,fs:this.inputFileSystem,resolverFactory:this.resolverFactory,options:this.options.module,associatedObjectForCache:this.root,layers:this.options.experiments.layers});this._lastNormalModuleFactory=E;this.hooks.normalModuleFactory.call(E);return E}createContextModuleFactory(){const E=new Ne(this.resolverFactory);this.hooks.contextModuleFactory.call(E);return E}newCompilationParams(){const E={normalModuleFactory:this.createNormalModuleFactory(),contextModuleFactory:this.createContextModuleFactory()};return E}compile(E){const N=this.newCompilationParams();this.hooks.beforeCompile.callAsync(N,(R=>{if(R)return E(R);this.hooks.compile.call(N);const j=this.newCompilation(N);const $=j.getLogger("webpack.Compiler");$.time("make hook");this.hooks.make.callAsync(j,(N=>{$.timeEnd("make hook");if(N)return E(N);$.time("finish make hook");this.hooks.finishMake.callAsync(j,(N=>{$.timeEnd("finish make hook");if(N)return E(N);process.nextTick((()=>{$.time("finish compilation");j.finish((N=>{$.timeEnd("finish compilation");if(N)return E(N);$.time("seal compilation");j.seal((N=>{$.timeEnd("seal compilation");if(N)return E(N);$.time("afterCompile hook");this.hooks.afterCompile.callAsync(j,(N=>{$.timeEnd("afterCompile hook");if(N)return E(N);return E(null,j)}))}))}))}))}))}))}))}close(E){if(this.watching){this.watching.close((N=>{this.close(E)}));return}this.hooks.shutdown.callAsync((N=>{if(N)return E(N);this._lastCompilation=undefined;this._lastNormalModuleFactory=undefined;this.cache.shutdown(E)}))}}E.exports=Compiler},77294:E=>{"use strict";const N=/^__WEBPACK_MODULE_REFERENCE__(\d+)_([\da-f]+|ns)(_call)?(_directImport)?(?:_asiSafe(\d))?__$/;const R="__WEBPACK_DEFAULT_EXPORT__";const j="__WEBPACK_NAMESPACE_OBJECT__";class ConcatenationScope{constructor(E,N){this._currentModule=N;if(Array.isArray(E)){const N=new Map;for(const R of E){N.set(R.module,R)}E=N}this._modulesMap=E}isModuleInScope(E){return this._modulesMap.has(E)}registerExport(E,N){if(!this._currentModule.exportMap){this._currentModule.exportMap=new Map}if(!this._currentModule.exportMap.has(E)){this._currentModule.exportMap.set(E,N)}}registerRawExport(E,N){if(!this._currentModule.rawExportMap){this._currentModule.rawExportMap=new Map}if(!this._currentModule.rawExportMap.has(E)){this._currentModule.rawExportMap.set(E,N)}}registerNamespaceExport(E){this._currentModule.namespaceExportSymbol=E}createModuleReference(E,{ids:N=undefined,call:R=false,directImport:j=false,asiSafe:$=false}){const q=this._modulesMap.get(E);const G=R?"_call":"";const ie=j?"_directImport":"";const ae=$?"_asiSafe1":$===false?"_asiSafe0":"";const ce=N?Buffer.from(JSON.stringify(N),"utf-8").toString("hex"):"ns";return`__WEBPACK_MODULE_REFERENCE__${q.index}_${ce}${G}${ie}${ae}__._`}static isModuleReference(E){return N.test(E)}static matchModuleReference(E){const R=N.exec(E);if(!R)return null;const j=+R[1];const $=R[5];return{index:j,ids:R[2]==="ns"?[]:JSON.parse(Buffer.from(R[2],"hex").toString("utf-8")),call:!!R[3],directImport:!!R[4],asiSafe:$?$==="1":undefined}}}ConcatenationScope.DEFAULT_EXPORT=R;ConcatenationScope.NAMESPACE_OBJECT_EXPORT=j;E.exports=ConcatenationScope},27310:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class ConcurrentCompilationError extends j{constructor(){super();this.name="ConcurrentCompilationError";this.message="You ran Webpack twice. Each instance only supports a single concurrent compilation at a time."}}},11518:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q=R(63272);const G=R(58159);const{mergeRuntime:ie}=R(37416);const wrapInCondition=(E,N)=>{if(typeof N==="string"){return G.asString([`if (${E}) {`,G.indent(N),"}",""])}else{return new j(`if (${E}) {\n`,new $("\t",N),"}\n")}};class ConditionalInitFragment extends q{constructor(E,N,R,j,$=true,q){super(E,N,R,j,q);this.runtimeCondition=$}getContent(E){if(this.runtimeCondition===false||!this.content)return"";if(this.runtimeCondition===true)return this.content;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.content;return wrapInCondition(N,this.content)}getEndContent(E){if(this.runtimeCondition===false||!this.endContent)return"";if(this.runtimeCondition===true)return this.endContent;const N=E.runtimeTemplate.runtimeConditionExpression({chunkGraph:E.chunkGraph,runtimeRequirements:E.runtimeRequirements,runtime:E.runtime,runtimeCondition:this.runtimeCondition});if(N==="true")return this.endContent;return wrapInCondition(N,this.endContent)}merge(E){if(this.runtimeCondition===true)return this;if(E.runtimeCondition===true)return E;if(this.runtimeCondition===false)return E;if(E.runtimeCondition===false)return this;const N=ie(this.runtimeCondition,E.runtimeCondition);return new ConditionalInitFragment(this.content,this.stage,this.position,this.key,N,this.endContent)}}E.exports=ConditionalInitFragment},40552:(E,N,R)=>{"use strict";const j=R(59455);const $=R(66298);const{evaluateToString:q}=R(48472);const{parseResource:G}=R(49197);const collectDeclaration=(E,N)=>{const R=[N];while(R.length>0){const N=R.pop();switch(N.type){case"Identifier":E.add(N.name);break;case"ArrayPattern":for(const E of N.elements){if(E){R.push(E)}}break;case"AssignmentPattern":R.push(N.left);break;case"ObjectPattern":for(const E of N.properties){R.push(E.value)}break;case"RestElement":R.push(N.argument);break}}};const getHoistedDeclarations=(E,N)=>{const R=new Set;const j=[E];while(j.length>0){const E=j.pop();if(!E)continue;switch(E.type){case"BlockStatement":for(const N of E.body){j.push(N)}break;case"IfStatement":j.push(E.consequent);j.push(E.alternate);break;case"ForStatement":j.push(E.init);j.push(E.body);break;case"ForInStatement":case"ForOfStatement":j.push(E.left);j.push(E.body);break;case"DoWhileStatement":case"WhileStatement":case"LabeledStatement":j.push(E.body);break;case"SwitchStatement":for(const N of E.cases){for(const E of N.consequent){j.push(E)}}break;case"TryStatement":j.push(E.block);if(E.handler){j.push(E.handler.body)}j.push(E.finalizer);break;case"FunctionDeclaration":if(N){collectDeclaration(R,E.id)}break;case"VariableDeclaration":if(E.kind==="var"){for(const N of E.declarations){collectDeclaration(R,N.id)}}break}}return Array.from(R)};class ConstPlugin{apply(E){const N=G.bindCache(E.root);E.hooks.compilation.tap("ConstPlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=E=>{E.hooks.statementIf.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(`${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;if(q){let N;if(E.scope.isStrict){N=getHoistedDeclarations(q,false)}else{N=getHoistedDeclarations(q,true)}let R;if(N.length>0){R=`{ var ${N.join(", ")}; }`}else{R="{}"}const j=new $(R,q.range);j.loc=q.loc;E.state.module.addPresentationalDependency(j)}return j}}));E.hooks.expressionConditionalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;const R=E.evaluateExpression(N.test);const j=R.asBool();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.test)}const q=j?N.alternate:N.consequent;const G=new $("0",q.range);G.loc=q.loc;E.state.module.addPresentationalDependency(G);return j}}));E.hooks.expressionLogicalOperator.tap("ConstPlugin",(N=>{if(E.scope.isAsmJs)return;if(N.operator==="&&"||N.operator==="||"){const R=E.evaluateExpression(N.left);const j=R.asBool();if(typeof j==="boolean"){const q=N.operator==="&&"&&j||N.operator==="||"&&!j;if(!R.couldHaveSideEffects()&&(R.isBoolean()||q)){const q=new $(` ${j}`,R.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q)}else{E.walkExpression(N.left)}if(!q){const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}return q}}else if(N.operator==="??"){const R=E.evaluateExpression(N.left);const j=R&&R.asNullish();if(typeof j==="boolean"){if(!R.couldHaveSideEffects()&&j){const j=new $(" null",R.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j)}else{const R=new $("0",N.right.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);E.walkExpression(N.left)}return j}}}));E.hooks.optionalChaining.tap("ConstPlugin",(N=>{const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length){const j=R.pop();const q=E.evaluateExpression(j);if(q&&q.asNullish()){const R=new $(" undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}}}));E.hooks.evaluateIdentifier.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).query)(R)}));E.hooks.expression.for("__resourceQuery").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).query),R.range,"__resourceQuery");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}));E.hooks.evaluateIdentifier.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;return q(N(E.state.module.resource).fragment)(R)}));E.hooks.expression.for("__resourceFragment").tap("ConstPlugin",(R=>{if(E.scope.isAsmJs)return;if(!E.state.module)return;const $=new j(JSON.stringify(N(E.state.module.resource).fragment),R.range,"__resourceFragment");$.loc=R.loc;E.state.module.addPresentationalDependency($);return true}))};R.hooks.parser.for("javascript/auto").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ConstPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ConstPlugin",handler)}))}}E.exports=ConstPlugin},51709:E=>{"use strict";class ContextExclusionPlugin{constructor(E){this.negativeMatcher=E}apply(E){E.hooks.contextModuleFactory.tap("ContextExclusionPlugin",(E=>{E.hooks.contextModuleFiles.tap("ContextExclusionPlugin",(E=>E.filter((E=>!this.negativeMatcher.test(E)))))}))}}E.exports=ContextExclusionPlugin},58126:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const{makeWebpackError:G}=R(3728);const ie=R(53453);const ae=R(76150);const ce=R(58159);const le=R(81627);const{compareLocations:_e,concatComparators:Ee,compareSelect:Te,keepOriginalOrder:we,compareModulesById:Ie}=R(68673);const{contextify:Ne,parseResource:Me}=R(49197);const Le=R(56202);const Be={timestamp:true};const je=new Set(["javascript"]);class ContextModule extends ie{constructor(E,N){const R=Me(N?N.resource:"");const j=R.path;const $=N&&N.resourceQuery||R.query;const q=N&&N.resourceFragment||R.fragment;super("javascript/dynamic",j);this.resolveDependencies=E;this.options={...N,resource:j,resourceQuery:$,resourceFragment:q};if(N&&N.resolveOptions!==undefined){this.resolveOptions=N.resolveOptions}if(N&&typeof N.mode!=="string"){throw new Error("options.mode is a required option")}this._identifier=this._createIdentifier();this._forceBuild=true}getSourceTypes(){return je}updateCacheModule(E){const N=E;this.resolveDependencies=N.resolveDependencies;this.options=N.options}cleanupForCache(){super.cleanupForCache();this.resolveDependencies=undefined}prettyRegExp(E){return E.substring(1,E.length-1).replace(/!/g,"%21")}_createIdentifier(){let E=this.context;if(this.options.resourceQuery){E+=`|${this.options.resourceQuery}`}if(this.options.resourceFragment){E+=`|${this.options.resourceFragment}`}if(this.options.mode){E+=`|${this.options.mode}`}if(!this.options.recursive){E+="|nonrecursive"}if(this.options.addon){E+=`|${this.options.addon}`}if(this.options.regExp){E+=`|${this.options.regExp}`}if(this.options.include){E+=`|include: ${this.options.include}`}if(this.options.exclude){E+=`|exclude: ${this.options.exclude}`}if(this.options.referencedExports){E+=`|referencedExports: ${JSON.stringify(this.options.referencedExports)}`}if(this.options.chunkName){E+=`|chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){E+=`|groupOptions: ${JSON.stringify(this.options.groupOptions)}`}if(this.options.namespaceObject==="strict"){E+="|strict namespace object"}else if(this.options.namespaceObject){E+="|namespace object"}return E}identifier(){return this._identifier}readableIdentifier(E){let N=E.shorten(this.context)+"/";if(this.options.resourceQuery){N+=` ${this.options.resourceQuery}`}if(this.options.mode){N+=` ${this.options.mode}`}if(!this.options.recursive){N+=" nonrecursive"}if(this.options.addon){N+=` ${E.shorten(this.options.addon)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}if(this.options.chunkName){N+=` chunkName: ${this.options.chunkName}`}if(this.options.groupOptions){const E=this.options.groupOptions;for(const R of Object.keys(E)){N+=` ${R}: ${E[R]}`}}if(this.options.namespaceObject==="strict"){N+=" strict namespace object"}else if(this.options.namespaceObject){N+=" namespace object"}return N}libIdent(E){let N=Ne(E.context,this.context,E.associatedObjectForCache);if(this.options.mode){N+=` ${this.options.mode}`}if(this.options.recursive){N+=" recursive"}if(this.options.addon){N+=` ${Ne(E.context,this.options.addon,E.associatedObjectForCache)}`}if(this.options.regExp){N+=` ${this.prettyRegExp(this.options.regExp+"")}`}if(this.options.include){N+=` include: ${this.prettyRegExp(this.options.include+"")}`}if(this.options.exclude){N+=` exclude: ${this.prettyRegExp(this.options.exclude+"")}`}if(this.options.referencedExports){N+=` referencedExports: ${this.options.referencedExports.map((E=>E.join("."))).join(", ")}`}return N}invalidateBuild(){this._forceBuild=true}needBuild({fileSystemInfo:E},N){if(this._forceBuild)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);E.checkSnapshotValid(this.buildInfo.snapshot,((E,R)=>{N(E,!R)}))}build(E,N,R,j,$){this._forceBuild=false;this.buildMeta={exportsType:"default",defaultObject:"redirect-warn"};this.buildInfo={snapshot:undefined};this.dependencies.length=0;this.blocks.length=0;const ie=Date.now();this.resolveDependencies(j,this.options,((E,R)=>{if(E){return $(G(E,"ContextModule.resolveDependencies"))}if(!R){$();return}for(const E of R){E.loc={name:E.userRequest};E.request=this.options.addon+E.request}R.sort(Ee(Te((E=>E.loc),_e),we(this.dependencies)));if(this.options.mode==="sync"||this.options.mode==="eager"){this.dependencies=R}else if(this.options.mode==="lazy-once"){if(R.length>0){const E=new q({...this.options.groupOptions,name:this.options.chunkName});for(const N of R){E.addDependency(N)}this.addBlock(E)}}else if(this.options.mode==="weak"||this.options.mode==="async-weak"){for(const E of R){E.weak=true}this.dependencies=R}else if(this.options.mode==="lazy"){let E=0;for(const N of R){let R=this.options.chunkName;if(R){if(!/\[(index|request)\]/.test(R)){R+="[index]"}R=R.replace(/\[index\]/g,`${E++}`);R=R.replace(/\[request\]/g,ce.toPath(N.userRequest))}const j=new q({...this.options.groupOptions,name:R},N.loc,N.userRequest);j.addDependency(N);this.addBlock(j)}}else{$(new le(`Unsupported mode "${this.options.mode}" in context`));return}N.fileSystemInfo.createSnapshot(ie,null,[this.context],null,Be,((E,N)=>{if(E)return $(E);this.buildInfo.snapshot=N;$()}))}))}addCacheDependencies(E,N,R,j){N.add(this.context)}getUserRequestMap(E,N){const R=N.moduleGraph;const j=E.filter((E=>R.getModule(E))).sort(((E,N)=>{if(E.userRequest===N.userRequest){return 0}return E.userRequestR.getModule(E))).filter(Boolean).sort($);const G=Object.create(null);for(const E of q){const $=E.getExportsType(R,this.options.namespaceObject==="strict");const q=N.getModuleId(E);switch($){case"namespace":G[q]=9;j|=1;break;case"dynamic":G[q]=7;j|=2;break;case"default-only":G[q]=1;j|=4;break;case"default-with-named":G[q]=3;j|=8;break;default:throw new Error(`Unexpected exports type ${$}`)}}if(j===1){return 9}if(j===2){return 7}if(j===4){return 1}if(j===8){return 3}if(j===0){return 9}return G}getFakeMapInitStatement(E){return typeof E==="object"?`var fakeMap = ${JSON.stringify(E,null,"\t")};`:""}getReturn(E,N){if(E===9){return"__webpack_require__(id)"}return`${ae.createFakeNamespaceObject}(id, ${E}${N?" | 16":""})`}getReturnModuleObjectSource(E,N,R="fakeMap[id]"){if(typeof E==="number"){return`return ${this.getReturn(E,N)};`}return`return ${ae.createFakeNamespaceObject}(id, ${R}${N?" | 16":""})`}getSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = ${JSON.stringify(N)};`}getWeakSyncSource(E,N,R){const j=this.getUserRequestMap(E,R);const $=this.getFakeMap(E,R);const q=this.getReturnModuleObjectSource($);return`var map = ${JSON.stringify(j,null,"\t")};\n${this.getFakeMapInitStatement($)}\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\tif(!${ae.moduleFactories}[id]) {\n\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\t${q}\n}\nfunction webpackContextResolve(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nwebpackContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackContext;`}getAsyncWeakSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=this.getReturnModuleObjectSource(G,true);return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${$?"id =>":"function(id)"} {\n\t\tif(!${ae.moduleFactories}[id]) {\n\t\t\tvar e = new Error("Module '" + req + "' ('" + id + "') is not available (weak dependency)");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\t${ie}\n\t});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getEagerSource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=j.supportsArrowFunction();const q=this.getUserRequestMap(E,R);const G=this.getFakeMap(E,R);const ie=G!==9?`${$?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(G)}\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(q,null,"\t")};\n${this.getFakeMapInitStatement(G)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${ie});\n}\nfunction webpackAsyncContextResolve(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${$?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getLazyOnceSource(E,N,R,{runtimeTemplate:j,chunkGraph:$}){const q=j.blockPromise({chunkGraph:$,block:E,message:"lazy-once context",runtimeRequirements:new Set});const G=j.supportsArrowFunction();const ie=this.getUserRequestMap(N,$);const ce=this.getFakeMap(N,$);const le=ce!==9?`${G?"id =>":"function(id)"} {\n\t\t${this.getReturnModuleObjectSource(ce,true)};\n\t}`:"__webpack_require__";return`var map = ${JSON.stringify(ie,null,"\t")};\n${this.getFakeMapInitStatement(ce)}\n\nfunction webpackAsyncContext(req) {\n\treturn webpackAsyncContextResolve(req).then(${le});\n}\nfunction webpackAsyncContextResolve(req) {\n\treturn ${q}.then(${G?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\t\treturn map[req];\n\t});\n}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.resolve = webpackAsyncContextResolve;\nwebpackAsyncContext.id = ${JSON.stringify(R)};\nmodule.exports = webpackAsyncContext;`}getLazySource(E,N,{chunkGraph:R,runtimeTemplate:j}){const $=R.moduleGraph;const q=j.supportsArrowFunction();let G=false;let ie=true;const ce=this.getFakeMap(E.map((E=>E.dependencies[0])),R);const le=typeof ce==="object";const _e=E.map((E=>{const N=E.dependencies[0];return{dependency:N,module:$.getModule(N),block:E,userRequest:N.userRequest,chunks:undefined}})).filter((E=>E.module));for(const E of _e){const N=R.getBlockChunkGroup(E.block);const j=N&&N.chunks||[];E.chunks=j;if(j.length>0){ie=false}if(j.length!==1){G=true}}const Ee=ie&&!le;const Te=_e.sort(((E,N)=>{if(E.userRequest===N.userRequest)return 0;return E.userRequestE.id)))}}const Ie=le?2:1;const Ne=ie?"Promise.resolve()":G?`Promise.all(ids.slice(${Ie}).map(${ae.ensureChunk}))`:`${ae.ensureChunk}(ids[${Ie}])`;const Me=this.getReturnModuleObjectSource(ce,true,Ee?"invalid":"ids[1]");const Le=Ne==="Promise.resolve()"?`\nfunction webpackAsyncContext(req) {\n\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t}\n\n\t\t${Ee?"var id = map[req];":"var ids = map[req], id = ids[0];"}\n\t\t${Me}\n\t});\n}`:`function webpackAsyncContext(req) {\n\tif(!${ae.hasOwnProperty}(map, req)) {\n\t\treturn Promise.resolve().then(${q?"() =>":"function()"} {\n\t\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn ${Ne}.then(${q?"() =>":"function()"} {\n\t\t${Me}\n\t});\n}`;return`var map = ${JSON.stringify(we,null,"\t")};\n${Le}\nwebpackAsyncContext.keys = ${j.returningFunction("Object.keys(map)")};\nwebpackAsyncContext.id = ${JSON.stringify(N)};\nmodule.exports = webpackAsyncContext;`}getSourceForEmptyContext(E,N){return`function webpackEmptyContext(req) {\n\tvar e = new Error("Cannot find module '" + req + "'");\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyContext.resolve = webpackEmptyContext;\nwebpackEmptyContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyContext;`}getSourceForEmptyAsyncContext(E,N){const R=N.supportsArrowFunction();return`function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(${R?"() =>":"function()"} {\n\t\tvar e = new Error("Cannot find module '" + req + "'");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = ${N.returningFunction("[]")};\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = ${JSON.stringify(E)};\nmodule.exports = webpackEmptyAsyncContext;`}getSourceString(E,{runtimeTemplate:N,chunkGraph:R}){const j=R.getModuleId(this);if(E==="lazy"){if(this.blocks&&this.blocks.length>0){return this.getLazySource(this.blocks,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="eager"){if(this.dependencies&&this.dependencies.length>0){return this.getEagerSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="lazy-once"){const E=this.blocks[0];if(E){return this.getLazyOnceSource(E,E.dependencies,j,{runtimeTemplate:N,chunkGraph:R})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="async-weak"){if(this.dependencies&&this.dependencies.length>0){return this.getAsyncWeakSource(this.dependencies,j,{chunkGraph:R,runtimeTemplate:N})}return this.getSourceForEmptyAsyncContext(j,N)}if(E==="weak"){if(this.dependencies&&this.dependencies.length>0){return this.getWeakSyncSource(this.dependencies,j,R)}}if(this.dependencies&&this.dependencies.length>0){return this.getSyncSource(this.dependencies,j,R)}return this.getSourceForEmptyContext(j,N)}getSource(E){if(this.useSourceMap||this.useSimpleSourceMap){return new j(E,this.identifier())}return new $(E)}codeGeneration(E){const{chunkGraph:N}=E;const R=new Map;R.set("javascript",this.getSource(this.getSourceString(this.options.mode,E)));const j=new Set;const $=this.dependencies.concat(this.blocks.map((E=>E.dependencies[0])));j.add(ae.module);j.add(ae.hasOwnProperty);if($.length>0){const E=this.options.mode;j.add(ae.require);if(E==="weak"){j.add(ae.moduleFactories)}else if(E==="async-weak"){j.add(ae.moduleFactories);j.add(ae.ensureChunk)}else if(E==="lazy"||E==="lazy-once"){j.add(ae.ensureChunk)}if(this.getFakeMap($,N)!==9){j.add(ae.createFakeNamespaceObject)}}return{sources:R,runtimeRequirements:j}}size(E){let N=160;for(const E of this.dependencies){const R=E;N+=5+R.userRequest.length}return N}serialize(E){const{write:N}=E;N(this._identifier);N(this._forceBuild);super.serialize(E)}deserialize(E){const{read:N}=E;this._identifier=N();this._forceBuild=N();super.deserialize(E)}}Le(ContextModule,"webpack/lib/ContextModule");E.exports=ContextModule},89869:(E,N,R)=>{"use strict";const j=R(62355);const{AsyncSeriesWaterfallHook:$,SyncWaterfallHook:q}=R(92960);const G=R(58126);const ie=R(40674);const ae=R(90872);const ce=R(83379);const{cachedSetProperty:le}=R(90149);const{createFakeHook:_e}=R(16595);const{join:Ee}=R(95396);const Te={};E.exports=class ContextModuleFactory extends ie{constructor(E){super();const N=new $(["modules","options"]);this.hooks=Object.freeze({beforeResolve:new $(["data"]),afterResolve:new $(["data"]),contextModuleFiles:new q(["files"]),alternatives:_e({name:"alternatives",intercept:E=>{throw new Error("Intercepting fake hook ContextModuleFactory.hooks.alternatives is not possible, use ContextModuleFactory.hooks.alternativeRequests instead")},tap:(E,R)=>{N.tap(E,R)},tapAsync:(E,R)=>{N.tapAsync(E,((E,N,j)=>R(E,j)))},tapPromise:(E,R)=>{N.tapPromise(E,R)}},"ContextModuleFactory.hooks.alternatives has deprecated in favor of ContextModuleFactory.hooks.alternativeRequests with an additional options argument.","DEP_WEBPACK_CONTEXT_MODULE_FACTORY_ALTERNATIVES"),alternativeRequests:N});this.resolverFactory=E}create(E,N){const R=E.context;const $=E.dependencies;const q=E.resolveOptions;const ie=$[0];const ae=new ce;const _e=new ce;const Ee=new ce;this.hooks.beforeResolve.callAsync({context:R,dependencies:$,resolveOptions:q,fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee,...ie.options},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}const q=R.context;const ie=R.request;const ce=R.resolveOptions;let we,Ie,Ne="";const Me=ie.lastIndexOf("!");if(Me>=0){let E=ie.substr(0,Me+1);let N;for(N=0;N0?le(ce||Te,"dependencyType",$[0].category):ce);const Be=this.resolverFactory.get("loader");j.parallel([E=>{Le.resolve({},q,Ie,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((N,R)=>{if(N)return E(N);E(null,R)}))},E=>{j.map(we,((E,N)=>{Be.resolve({},q,E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee},((E,R)=>{if(E)return N(E);N(null,R)}))}),E)}],((E,j)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}this.hooks.afterResolve.callAsync({addon:Ne+j[1].join("!")+(j[1].length>0?"!":""),resource:j[0],resolveDependencies:this.resolveDependencies.bind(this),...R},((E,R)=>{if(E){return N(E,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}if(!R){return N(null,{fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}return N(null,{module:new G(R.resolveDependencies,R),fileDependencies:ae,missingDependencies:_e,contextDependencies:Ee})}))}))}))}resolveDependencies(E,N,R){const $=this;const{resource:q,resourceQuery:G,resourceFragment:ie,recursive:ce,regExp:le,include:_e,exclude:Te,referencedExports:we,category:Ie,typePrefix:Ne}=N;if(!le||!q)return R(null,[]);const addDirectoryChecked=(N,R,j)=>{E.realpath(N,((E,$)=>{if(E)return j(E);if(R.has($))return j(null,[]);let q;addDirectory(N,((E,N)=>{if(q===undefined){q=new Set(R);q.add($)}addDirectoryChecked(E,q,N)}),j)}))};const addDirectory=(R,Me,Le)=>{E.readdir(R,((Be,je)=>{if(Be)return Le(Be);const Ue=$.hooks.contextModuleFiles.call(je.map((E=>E.normalize("NFC"))));if(!Ue||Ue.length===0)return Le(null,[]);j.map(Ue.filter((E=>E.indexOf(".")!==0)),((j,$)=>{const Le=Ee(E,R,j);if(!Te||!Le.match(Te)){E.stat(Le,((E,R)=>{if(E){if(E.code==="ENOENT"){return $()}else{return $(E)}}if(R.isDirectory()){if(!ce)return $();Me(Le,$)}else if(R.isFile()&&(!_e||Le.match(_e))){const E={context:q,request:"."+Le.substr(q.length).replace(/\\/g,"/")};this.hooks.alternativeRequests.callAsync([E],N,((E,N)=>{if(E)return $(E);N=N.filter((E=>le.test(E.request))).map((E=>{const N=new ae(E.request+G+ie,E.request,Ne,Ie,we);N.optional=true;return N}));$(null,N)}))}else{$()}}))}else{$()}}),((E,N)=>{if(E)return Le(E);if(!N)return Le(null,[]);const R=[];for(const E of N){if(E)R.push(...E)}Le(null,R)}))}))};if(typeof E.realpath==="function"){addDirectoryChecked(q,new Set,R)}else{const addSubDirectory=(E,N)=>addDirectory(E,addSubDirectory,N);addDirectory(q,addSubDirectory,R)}}}},26552:(E,N,R)=>{"use strict";const j=R(90872);const{join:$}=R(95396);class ContextReplacementPlugin{constructor(E,N,R,j){this.resourceRegExp=E;if(typeof N==="function"){this.newContentCallback=N}else if(typeof N==="string"&&typeof R==="object"){this.newContentResource=N;this.newContentCreateContextMap=(E,N)=>{N(null,R)}}else if(typeof N==="string"&&typeof R==="function"){this.newContentResource=N;this.newContentCreateContextMap=R}else{if(typeof N!=="string"){j=R;R=N;N=undefined}if(typeof R!=="boolean"){j=R;R=undefined}this.newContentResource=N;this.newContentRecursive=R;this.newContentRegExp=j}}apply(E){const N=this.resourceRegExp;const R=this.newContentCallback;const j=this.newContentResource;const q=this.newContentRecursive;const G=this.newContentRegExp;const ie=this.newContentCreateContextMap;E.hooks.contextModuleFactory.tap("ContextReplacementPlugin",(ae=>{ae.hooks.beforeResolve.tap("ContextReplacementPlugin",(E=>{if(!E)return;if(N.test(E.request)){if(j!==undefined){E.request=j}if(q!==undefined){E.recursive=q}if(G!==undefined){E.regExp=G}if(typeof R==="function"){R(E)}else{for(const N of E.dependencies){if(N.critical)N.critical=false}}}return E}));ae.hooks.afterResolve.tap("ContextReplacementPlugin",(ae=>{if(!ae)return;if(N.test(ae.resource)){if(j!==undefined){if(j.startsWith("/")||j.length>1&&j[1]===":"){ae.resource=j}else{ae.resource=$(E.inputFileSystem,ae.resource,j)}}if(q!==undefined){ae.recursive=q}if(G!==undefined){ae.regExp=G}if(typeof ie==="function"){ae.resolveDependencies=createResolveDependenciesFromContextMap(ie)}if(typeof R==="function"){const N=ae.resource;R(ae);if(ae.resource!==N&&!ae.resource.startsWith("/")&&(ae.resource.length<=1||ae.resource[1]!==":")){ae.resource=$(E.inputFileSystem,N,ae.resource)}}else{for(const E of ae.dependencies){if(E.critical)E.critical=false}}}return ae}))}))}}const createResolveDependenciesFromContextMap=E=>{const resolveDependenciesFromContextMap=(N,R,$)=>{E(N,((E,N)=>{if(E)return $(E);const q=Object.keys(N).map((E=>new j(N[E]+R.resourceQuery+R.resourceFragment,E,R.category,R.referencedExports)));$(null,q)}))};return resolveDependenciesFromContextMap};E.exports=ContextReplacementPlugin},24820:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const q=R(66298);const G=R(87250);const{evaluateToString:ie,toConstantDependency:ae}=R(48472);const ce=R(35891);class RuntimeValue{constructor(E,N){this.fn=E;if(Array.isArray(N)){N={fileDependencies:N}}this.options=N||{}}get fileDependencies(){return this.options===true?true:this.options.fileDependencies}exec(E,N,R){const j=E.state.module.buildInfo;if(this.options===true){j.cacheable=false}else{if(this.options.fileDependencies){for(const E of this.options.fileDependencies){j.fileDependencies.add(E)}}if(this.options.contextDependencies){for(const E of this.options.contextDependencies){j.contextDependencies.add(E)}}if(this.options.missingDependencies){for(const E of this.options.missingDependencies){j.missingDependencies.add(E)}}if(this.options.buildDependencies){for(const E of this.options.buildDependencies){j.buildDependencies.add(E)}}}return this.fn({module:E.state.module,key:R,get version(){return N.get(le+R)}})}getCacheVersion(){return this.options===true?undefined:(typeof this.options.version==="function"?this.options.version():this.options.version)||"unset"}}const stringifyObj=(E,N,R,j,$,q)=>{let G;let ie=Array.isArray(E);if(ie){G=`[${E.map((E=>toCode(E,N,R,j,$,null))).join(",")}]`}else{G=`{${Object.keys(E).map((j=>{const q=E[j];return JSON.stringify(j)+":"+toCode(q,N,R,j,$,null)})).join(",")}}`}switch(q){case null:return G;case true:return ie?G:`(${G})`;case false:return ie?`;${G}`:`;(${G})`;default:return`/*#__PURE__*/Object(${G})`}};const toCode=(E,N,R,j,$,q)=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return toCode(E.exec(N,R,j),N,R,j,$,q)}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){return stringifyObj(E,N,R,j,$,q)}if(typeof E==="bigint"){return $.supportsBigIntLiteral()?`${E}n`:`BigInt("${E}")`}return E+""};const toCacheVersion=E=>{if(E===null){return"null"}if(E===undefined){return"undefined"}if(Object.is(E,-0)){return"-0"}if(E instanceof RuntimeValue){return E.getCacheVersion()}if(E instanceof RegExp&&E.toString){return E.toString()}if(typeof E==="function"&&E.toString){return"("+E.toString()+")"}if(typeof E==="object"){const N=Object.keys(E).map((N=>({key:N,value:toCacheVersion(E[N])})));if(N.some((({value:E})=>E===undefined)))return undefined;return`{${N.map((({key:E,value:N})=>`${E}: ${N}`)).join(", ")}}`}if(typeof E==="bigint"){return`${E}n`}return E+""};const le="webpack/DefinePlugin ";const _e="webpack/DefinePlugin_hash";class DefinePlugin{constructor(E){this.definitions=E}static runtimeValue(E,N){return new RuntimeValue(E,N)}apply(E){const N=this.definitions;E.hooks.compilation.tap("DefinePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(q,new q.Template);const{runtimeTemplate:Ee}=E;const Te=ce(E.outputOptions.hashFunction);Te.update(E.valueCacheVersions.get(_e)||"");const handler=R=>{const $=E.valueCacheVersions.get(_e);R.hooks.program.tap("DefinePlugin",(()=>{const{buildInfo:E}=R.state.module;if(!E.valueDependencies)E.valueDependencies=new Map;E.valueDependencies.set(_e,$)}));const addValueDependency=N=>{const{buildInfo:j}=R.state.module;j.valueDependencies.set(le+N,E.valueCacheVersions.get(le+N))};const withValueDependency=(E,N)=>(...R)=>{addValueDependency(E);return N(...R)};const walkDefinitions=(E,N)=>{Object.keys(E).forEach((R=>{const j=E[R];if(j&&typeof j==="object"&&!(j instanceof RuntimeValue)&&!(j instanceof RegExp)){walkDefinitions(j,N+R+".");applyObjectDefine(N+R,j);return}applyDefineKey(N,R);applyDefine(N+R,j)}))};const applyDefineKey=(E,N)=>{const j=N.split(".");j.slice(1).forEach((($,q)=>{const G=E+j.slice(0,q+1).join(".");R.hooks.canRename.for(G).tap("DefinePlugin",(()=>{addValueDependency(N);return true}))}))};const applyDefine=(N,$)=>{const q=N;const G=/^typeof\s+/.test(N);if(G)N=N.replace(/^typeof\s+/,"");let ie=false;let ce=false;if(!G){R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(q);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(j=>{if(ie)return;addValueDependency(q);ie=true;const G=R.evaluate(toCode($,R,E.valueCacheVersions,N,Ee,null));ie=false;G.setRange(j.range);return G}));R.hooks.expression.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const G=toCode($,R,E.valueCacheVersions,q,Ee,!R.isAsiPosition(N.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(N)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(N)}else{return ae(R,G)(N)}}))}R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",(N=>{if(ce)return;ce=true;addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ae=R.evaluate(ie);ce=false;ae.setRange(N.range);return ae}));R.hooks.typeof.for(N).tap("DefinePlugin",(N=>{addValueDependency(q);const j=toCode($,R,E.valueCacheVersions,q,Ee,null);const ie=G?j:"typeof ("+j+")";const ce=R.evaluate(ie);if(!ce.isString())return;return ae(R,JSON.stringify(ce.string)).bind(R)(N)}))};const applyObjectDefine=(N,$)=>{R.hooks.canRename.for(N).tap("DefinePlugin",(()=>{addValueDependency(N);return true}));R.hooks.evaluateIdentifier.for(N).tap("DefinePlugin",(E=>{addValueDependency(N);return(new G).setTruthy().setSideEffects(false).setRange(E.range)}));R.hooks.evaluateTypeof.for(N).tap("DefinePlugin",withValueDependency(N,ie("object")));R.hooks.expression.for(N).tap("DefinePlugin",(q=>{addValueDependency(N);const G=stringifyObj($,R,E.valueCacheVersions,N,Ee,!R.isAsiPosition(q.range[0]));if(/__webpack_require__\s*(!?\.)/.test(G)){return ae(R,G,[j.require])(q)}else if(/__webpack_require__/.test(G)){return ae(R,G,[j.requireScope])(q)}else{return ae(R,G)(q)}}));R.hooks.typeof.for(N).tap("DefinePlugin",withValueDependency(N,ae(R,JSON.stringify("object"))))};walkDefinitions(N,"")};R.hooks.parser.for("javascript/auto").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("DefinePlugin",handler);R.hooks.parser.for("javascript/esm").tap("DefinePlugin",handler);const walkDefinitionsForValues=(N,R)=>{Object.keys(N).forEach((j=>{const q=N[j];const G=toCacheVersion(q);const ie=le+R+j;Te.update("|"+R+j);const ae=E.valueCacheVersions.get(ie);if(ae===undefined){E.valueCacheVersions.set(ie,G)}else if(ae!==G){const N=new $(`DefinePlugin\nConflicting values for '${R+j}'`);N.details=`'${ae}' !== '${G}'`;N.hideStack=true;E.warnings.push(N)}if(q&&typeof q==="object"&&!(q instanceof RuntimeValue)&&!(q instanceof RegExp)){walkDefinitionsForValues(q,R+j+".")}}))};walkDefinitionsForValues(N,"");E.valueCacheVersions.set(_e,Te.digest("hex").slice(0,8))}))}}E.exports=DefinePlugin},3955:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(76150);const ie=R(49422);const ae=R(96076);const ce=R(56202);const le=new Set(["javascript"]);const _e=new Set([G.module,G.require]);class DelegatedModule extends q{constructor(E,N,R,j,$){super("javascript/dynamic",null);this.sourceRequest=E;this.request=N.id;this.delegationType=R;this.userRequest=j;this.originalRequest=$;this.delegateData=N;this.delegatedSourceDependency=undefined}getSourceTypes(){return le}libIdent(E){return typeof this.originalRequest==="string"?this.originalRequest:this.originalRequest.libIdent(E)}identifier(){return`delegated ${JSON.stringify(this.request)} from ${this.sourceRequest}`}readableIdentifier(E){return`delegated ${this.userRequest} from ${this.sourceRequest}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={...this.delegateData.buildMeta};this.buildInfo={};this.dependencies.length=0;this.delegatedSourceDependency=new ie(this.sourceRequest);this.addDependency(this.delegatedSourceDependency);this.addDependency(new ae(this.delegateData.exports||true,false));$()}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const q=this.dependencies[0];const G=N.getModule(q);let ie;if(!G){ie=E.throwMissingModuleErrorBlock({request:this.sourceRequest})}else{ie=`module.exports = (${E.moduleExports({module:G,chunkGraph:R,request:q.request,runtimeRequirements:new Set})})`;switch(this.delegationType){case"require":ie+=`(${JSON.stringify(this.request)})`;break;case"object":ie+=`[${JSON.stringify(this.request)}]`;break}ie+=";"}const ae=new Map;if(this.useSourceMap||this.useSimpleSourceMap){ae.set("javascript",new j(ie,this.identifier()))}else{ae.set("javascript",new $(ie))}return{sources:ae,runtimeRequirements:_e}}size(E){return 42}updateHash(E,N){E.update(this.delegationType);E.update(JSON.stringify(this.request));super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceRequest);N(this.delegateData);N(this.delegationType);N(this.userRequest);N(this.originalRequest);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new DelegatedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.delegationType=N.delegationType;this.userRequest=N.userRequest;this.originalRequest=N.originalRequest;this.delegateData=N.delegateData}cleanupForCache(){super.cleanupForCache();this.delegateData=undefined}}ce(DelegatedModule,"webpack/lib/DelegatedModule");E.exports=DelegatedModule},56396:(E,N,R)=>{"use strict";const j=R(3955);class DelegatedModuleFactoryPlugin{constructor(E){this.options=E;E.type=E.type||"require";E.extensions=E.extensions||["",".js",".json",".wasm"]}apply(E){const N=this.options.scope;if(N){E.hooks.factorize.tapAsync("DelegatedModuleFactoryPlugin",((E,R)=>{const[$]=E.dependencies;const{request:q}=$;if(q&&q.startsWith(`${N}/`)){const E="."+q.substr(N.length);let $;if(E in this.options.content){$=this.options.content[E];return R(null,new j(this.options.source,$,this.options.type,E,q))}for(let N=0;N{const N=E.libIdent(this.options);if(N){if(N in this.options.content){const R=this.options.content[N];return new j(this.options.source,R,this.options.type,N,E)}}return E}))}}}E.exports=DelegatedModuleFactoryPlugin},82354:(E,N,R)=>{"use strict";const j=R(56396);const $=R(49422);class DelegatedPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("DelegatedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N)}));E.hooks.compile.tap("DelegatedPlugin",(({normalModuleFactory:N})=>{new j({associatedObjectForCache:E.root,...this.options}).apply(N)}))}}E.exports=DelegatedPlugin},32448:(E,N,R)=>{"use strict";const j=R(56202);class DependenciesBlock{constructor(){this.dependencies=[];this.blocks=[];this.parent=undefined}getRootBlock(){let E=this;while(E.parent)E=E.parent;return E}addBlock(E){this.blocks.push(E);E.parent=this}addDependency(E){this.dependencies.push(E)}removeDependency(E){const N=this.dependencies.indexOf(E);if(N>=0){this.dependencies.splice(N,1)}}clearDependenciesAndBlocks(){this.dependencies.length=0;this.blocks.length=0}updateHash(E,N){for(const R of this.dependencies){R.updateHash(E,N)}for(const R of this.blocks){R.updateHash(E,N)}}serialize({write:E}){E(this.dependencies);E(this.blocks)}deserialize({read:E}){this.dependencies=E();this.blocks=E();for(const E of this.blocks){E.parent=this}}}j(DependenciesBlock,"webpack/lib/DependenciesBlock");E.exports=DependenciesBlock},28706:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("transitive");const q=j((()=>{const E=R(22804);return new E("/* (ignored) */",`ignored`,`(ignored)`)}));class Dependency{constructor(){this._parentModule=undefined;this._parentDependenciesBlock=undefined;this._parentDependenciesBlockIndex=-1;this.weak=false;this.optional=false;this._locSL=0;this._locSC=0;this._locEL=0;this._locEC=0;this._locI=undefined;this._locN=undefined;this._loc=undefined}get type(){return"unknown"}get category(){return"unknown"}get loc(){if(this._loc!==undefined)return this._loc;const E={};if(this._locSL>0){E.start={line:this._locSL,column:this._locSC}}if(this._locEL>0){E.end={line:this._locEL,column:this._locEC}}if(this._locN!==undefined){E.name=this._locN}if(this._locI!==undefined){E.index=this._locI}return this._loc=E}set loc(E){if("start"in E&&typeof E.start==="object"){this._locSL=E.start.line||0;this._locSC=E.start.column||0}else{this._locSL=0;this._locSC=0}if("end"in E&&typeof E.end==="object"){this._locEL=E.end.line||0;this._locEC=E.end.column||0}else{this._locEL=0;this._locEC=0}if("index"in E){this._locI=E.index}else{this._locI=undefined}if("name"in E){this._locN=E.name}else{this._locN=undefined}this._loc=E}getResourceIdentifier(){return null}couldAffectReferencingModule(){return $}getReference(E){throw new Error("Dependency.getReference was removed in favor of Dependency.getReferencedExports, ModuleGraph.getModule and ModuleGraph.getConnection().active")}getReferencedExports(E,N){return Dependency.EXPORTS_OBJECT_REFERENCED}getCondition(E){return null}getExports(E){return undefined}getWarnings(E){return null}getErrors(E){return null}updateHash(E,N){}getNumberOfIdOccurrences(){return 1}getModuleEvaluationSideEffectsState(E){return true}createIgnoredModule(E){return q()}serialize({write:E}){E(this.weak);E(this.optional);E(this._locSL);E(this._locSC);E(this._locEL);E(this._locEC);E(this._locI);E(this._locN)}deserialize({read:E}){this.weak=E();this.optional=E();this._locSL=E();this._locSC=E();this._locEL=E();this._locEC=E();this._locI=E();this._locN=E()}}Dependency.NO_EXPORTS_REFERENCED=[];Dependency.EXPORTS_OBJECT_REFERENCED=[[]];Object.defineProperty(Dependency.prototype,"module",{get(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.getModule(dependency) instead)")},set(){throw new Error("module property was removed from Dependency (use compilation.moduleGraph.updateModule(dependency, module) instead)")}});Object.defineProperty(Dependency.prototype,"disconnect",{get(){throw new Error("disconnect was removed from Dependency (Dependency no longer carries graph specific information)")}});Dependency.TRANSITIVE=$;E.exports=Dependency},84304:(E,N,R)=>{"use strict";class DependencyTemplate{apply(E,N,j){const $=R(75884);throw new $}}E.exports=DependencyTemplate},46828:(E,N,R)=>{"use strict";const j=R(35891);class DependencyTemplates{constructor(E="md4"){this._map=new Map;this._hash="31d6cfe0d16ae931b73c59d7e0c089c0";this._hashFunction=E}get(E){return this._map.get(E)}set(E,N){this._map.set(E,N)}updateHash(E){const N=j(this._hashFunction);N.update(`${this._hash}${E}`);this._hash=N.digest("hex")}getHash(){return this._hash}clone(){const E=new DependencyTemplates;E._map=new Map(this._map);E._hash=this._hash;return E}}E.exports=DependencyTemplates},9013:(E,N,R)=>{"use strict";const j=R(80419);const $=R(95189);const q=R(66583);class DllEntryPlugin{constructor(E,N,R){this.context=E;this.entries=N;this.options=R}apply(E){E.hooks.compilation.tap("DllEntryPlugin",((E,{normalModuleFactory:N})=>{const R=new j;E.dependencyFactories.set($,R);E.dependencyFactories.set(q,N)}));E.hooks.make.tapAsync("DllEntryPlugin",((E,N)=>{E.addEntry(this.context,new $(this.entries.map(((E,N)=>{const R=new q(E);R.loc={name:this.options.name,index:N};return R})),this.options.name),this.options,N)}))}}E.exports=DllEntryPlugin},44593:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=new Set(["javascript"]);const ae=new Set([q.require,q.module]);class DllModule extends ${constructor(E,N,R){super("javascript/dynamic",E);this.dependencies=N;this.name=R}getSourceTypes(){return ie}identifier(){return`dll ${this.name}`}readableIdentifier(E){return`dll ${this.name}`}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={};return $()}codeGeneration(E){const N=new Map;N.set("javascript",new j("module.exports = __webpack_require__;"));return{sources:N,runtimeRequirements:ae}}needBuild(E,N){return N(null,!this.buildMeta)}size(E){return 12}updateHash(E,N){E.update(`dll module${this.name||""}`);super.updateHash(E,N)}serialize(E){E.write(this.name);super.serialize(E)}deserialize(E){this.name=E.read();super.deserialize(E)}updateCacheModule(E){super.updateCacheModule(E);this.dependencies=E.dependencies}cleanupForCache(){super.cleanupForCache();this.dependencies=undefined}}G(DllModule,"webpack/lib/DllModule");E.exports=DllModule},80419:(E,N,R)=>{"use strict";const j=R(44593);const $=R(40674);class DllModuleFactory extends ${constructor(){super();this.hooks=Object.freeze({})}create(E,N){const R=E.dependencies[0];N(null,{module:new j(E.context,R.dependencies,R.name)})}}E.exports=DllModuleFactory},73887:(E,N,R)=>{"use strict";const j=R(9013);const $=R(6283);const q=R(77750);const G=R(35817);const ie=G(R(43548),(()=>R(28991)),{name:"Dll Plugin",baseDataPath:"options"});class DllPlugin{constructor(E){ie(E);this.options={...E,entryOnly:E.entryOnly!==false}}apply(E){E.hooks.entryOption.tap("DllPlugin",((N,R)=>{if(typeof R!=="function"){for(const $ of Object.keys(R)){const q={name:$,filename:R.filename};new j(N,R[$].import,q).apply(E)}}else{throw new Error("DllPlugin doesn't support dynamic entry (function) yet")}return true}));new q(this.options).apply(E);if(!this.options.entryOnly){new $("DllPlugin").apply(E)}}}E.exports=DllPlugin},83515:(E,N,R)=>{"use strict";const j=R(78688);const $=R(56396);const q=R(59084);const G=R(81627);const ie=R(49422);const ae=R(35817);const ce=R(49197).makePathsRelative;const le=ae(R(69744),(()=>R(67138)),{name:"Dll Reference Plugin",baseDataPath:"options"});class DllReferencePlugin{constructor(E){le(E);this.options=E;this._compilationData=new WeakMap}apply(E){E.hooks.compilation.tap("DllReferencePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(ie,N)}));E.hooks.beforeCompile.tapAsync("DllReferencePlugin",((N,R)=>{if("manifest"in this.options){const $=this.options.manifest;if(typeof $==="string"){E.inputFileSystem.readFile($,((q,G)=>{if(q)return R(q);const ie={path:$,data:undefined,error:undefined};try{ie.data=j(G.toString("utf-8"))}catch(N){const R=ce(E.options.context,$,E.root);ie.error=new DllManifestError(R,N.message)}this._compilationData.set(N,ie);return R()}));return}}return R()}));E.hooks.compile.tap("DllReferencePlugin",(N=>{let R=this.options.name;let j=this.options.sourceType;let G="content"in this.options?this.options.content:undefined;if("manifest"in this.options){let E=this.options.manifest;let $;if(typeof E==="string"){const E=this._compilationData.get(N);if(E.error){return}$=E.data}else{$=E}if($){if(!R)R=$.name;if(!j)j=$.type;if(!G)G=$.content}}const ie={};const ae="dll-reference "+R;ie[ae]=R;const ce=N.normalModuleFactory;new q(j||"var",ie).apply(ce);new $({source:ae,type:this.options.type,scope:this.options.scope,context:this.options.context||E.options.context,content:G,extensions:this.options.extensions,associatedObjectForCache:E.root}).apply(ce)}));E.hooks.compilation.tap("DllReferencePlugin",((E,N)=>{if("manifest"in this.options){let R=this.options.manifest;if(typeof R==="string"){const j=this._compilationData.get(N);if(j.error){E.errors.push(j.error)}E.fileDependencies.add(R)}}}))}}class DllManifestError extends G{constructor(E,N){super();this.name="DllManifestError";this.message=`Dll manifest ${E}\n${N}`}}E.exports=DllReferencePlugin},85227:(E,N,R)=>{"use strict";const j=R(64699);const $=R(59674);const q=R(66583);class DynamicEntryPlugin{constructor(E,N){this.context=E;this.entry=N}apply(E){E.hooks.compilation.tap("DynamicEntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N)}));E.hooks.make.tapPromise("DynamicEntryPlugin",((N,R)=>Promise.resolve(this.entry()).then((R=>{const q=[];for(const G of Object.keys(R)){const ie=R[G];const ae=j.entryDescriptionToOptions(E,G,ie);for(const E of ie.import){q.push(new Promise(((R,j)=>{N.addEntry(this.context,$.createDependency(E,ae),ae,(E=>{if(E)return j(E);R()}))})))}}return Promise.all(q)})).then((E=>{}))))}}E.exports=DynamicEntryPlugin},64699:(E,N,R)=>{"use strict";class EntryOptionPlugin{apply(E){E.hooks.entryOption.tap("EntryOptionPlugin",((N,R)=>{EntryOptionPlugin.applyEntryOption(E,N,R);return true}))}static applyEntryOption(E,N,j){if(typeof j==="function"){const $=R(85227);new $(N,j).apply(E)}else{const $=R(59674);for(const R of Object.keys(j)){const q=j[R];const G=EntryOptionPlugin.entryDescriptionToOptions(E,R,q);for(const R of q.import){new $(N,R,G).apply(E)}}}}static entryDescriptionToOptions(E,N,j){const $={name:N,filename:j.filename,runtime:j.runtime,layer:j.layer,dependOn:j.dependOn,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,library:j.library};if(j.layer!==undefined&&!E.options.experiments.layers){throw new Error("'entryOptions.layer' is only allowed when 'experiments.layers' is enabled")}if(j.chunkLoading){const N=R(50369);N.checkEnabled(E,j.chunkLoading)}if(j.wasmLoading){const N=R(69085);N.checkEnabled(E,j.wasmLoading)}if(j.library){const N=R(13984);N.checkEnabled(E,j.library.type)}return $}}E.exports=EntryOptionPlugin},59674:(E,N,R)=>{"use strict";const j=R(66583);class EntryPlugin{constructor(E,N,R){this.context=E;this.entry=N;this.options=R||""}apply(E){E.hooks.compilation.tap("EntryPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));const{entry:N,options:R,context:$}=this;const q=EntryPlugin.createDependency(N,R);E.hooks.make.tapAsync("EntryPlugin",((E,N)=>{E.addEntry($,q,R,(E=>{N(E)}))}))}static createDependency(E,N){const R=new j(E);R.loc={name:typeof N==="object"?N.name:N};return R}}E.exports=EntryPlugin},71452:(E,N,R)=>{"use strict";const j=R(84558);class Entrypoint extends j{constructor(E,N=true){if(typeof E==="string"){E={name:E}}super({name:E.name});this.options=E;this._runtimeChunk=undefined;this._entrypointChunk=undefined;this._initial=N}isInitial(){return this._initial}setRuntimeChunk(E){this._runtimeChunk=E}getRuntimeChunk(){if(this._runtimeChunk)return this._runtimeChunk;for(const E of this.parentsIterable){if(E instanceof Entrypoint)return E.getRuntimeChunk()}return null}setEntrypointChunk(E){this._entrypointChunk=E}getEntrypointChunk(){return this._entrypointChunk}replaceChunk(E,N){if(this._runtimeChunk===E)this._runtimeChunk=N;if(this._entrypointChunk===E)this._entrypointChunk=N;return super.replaceChunk(E,N)}}E.exports=Entrypoint},64856:(E,N,R)=>{"use strict";const j=R(24820);const $=R(81627);class EnvironmentPlugin{constructor(...E){if(E.length===1&&Array.isArray(E[0])){this.keys=E[0];this.defaultValues={}}else if(E.length===1&&E[0]&&typeof E[0]==="object"){this.keys=Object.keys(E[0]);this.defaultValues=E[0]}else{this.keys=E;this.defaultValues={}}}apply(E){const N={};for(const R of this.keys){const j=process.env[R]!==undefined?process.env[R]:this.defaultValues[R];if(j===undefined){E.hooks.thisCompilation.tap("EnvironmentPlugin",(E=>{const N=new $(`EnvironmentPlugin - ${R} environment variable is undefined.\n\n`+"You can pass an object with default values to suppress this warning.\n"+"See https://webpack.js.org/plugins/environment-plugin for example.");N.name="EnvVariableNotDefinedError";E.errors.push(N)}))}N[`process.env.${R}`]=j===undefined?"undefined":JSON.stringify(j)}new j(N).apply(E)}}E.exports=EnvironmentPlugin},50717:(E,N)=>{"use strict";const R="LOADER_EXECUTION";const j="WEBPACK_OPTIONS";N.cutOffByFlag=(E,N)=>{E=E.split("\n");for(let R=0;RN.cutOffByFlag(E,R);N.cutOffWebpackOptions=E=>N.cutOffByFlag(E,j);N.cutOffMultilineMessage=(E,N)=>{E=E.split("\n");N=N.split("\n");const R=[];E.forEach(((E,j)=>{if(!E.includes(N[j]))R.push(E)}));return R.join("\n")};N.cutOffMessage=(E,N)=>{const R=E.indexOf("\n");if(R===-1){return E===N?"":E}else{const j=E.substr(0,R);return j===N?E.substr(R+1):E}};N.cleanUp=(E,R)=>{E=N.cutOffLoaderExecution(E);E=N.cutOffMessage(E,R);return E};N.cleanUpWebpackOptions=(E,R)=>{E=N.cutOffWebpackOptions(E);E=N.cutOffMultilineMessage(E,R);return E}},91331:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(16734);const G=R(70354);const ie=R(18161);const ae=new WeakMap;const ce=new $(`/*\n * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalDevToolModulePlugin{constructor(E){this.namespace=E.namespace||"";this.sourceUrlComment=E.sourceUrlComment||"\n//# sourceURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[loaders]"}apply(E){E.hooks.compilation.tap("EvalDevToolModulePlugin",(E=>{const N=ie.getCompilationHooks(E);N.renderModuleContent.tap("EvalDevToolModulePlugin",((N,R,{runtimeTemplate:j,chunkGraph:ie})=>{const ce=ae.get(N);if(ce!==undefined)return ce;if(R instanceof q){ae.set(N,N);return N}const le=N.source();const _e=G.createFilename(R,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:j.requestShortener,chunkGraph:ie,hashFunction:E.outputOptions.hashFunction});const Ee="\n"+this.sourceUrlComment.replace(/\[url\]/g,encodeURI(_e).replace(/%2F/g,"/").replace(/%20/g,"_").replace(/%5E/g,"^").replace(/%5C/g,"\\").replace(/^\//,""));const Te=new $(`eval(${JSON.stringify(le+Ee)});`);ae.set(N,Te);return Te}));N.inlineInRuntimeBailout.tap("EvalDevToolModulePlugin",(()=>"the eval devtool is used."));N.render.tap("EvalDevToolModulePlugin",(E=>new j(ce,E)));N.chunkHash.tap("EvalDevToolModulePlugin",((E,N)=>{N.update("EvalDevToolModulePlugin");N.update("2")}))}))}}E.exports=EvalDevToolModulePlugin},23641:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(70354);const G=R(53520);const ie=R(26867);const ae=R(18161);const ce=R(95734);const{makePathsAbsolute:le}=R(49197);const _e=new WeakMap;const Ee=new $(`/*\n * ATTENTION: An "eval-source-map" devtool has been used.\n * This devtool is neither made for production nor for readable output files.\n * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.\n * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)\n * or disable the default devtool with "devtool: false".\n * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).\n */\n`);class EvalSourceMapDevToolPlugin{constructor(E){let N;if(typeof E==="string"){N={append:E}}else{N=E}this.sourceMapComment=N.append||"//# sourceURL=[module]\n//# sourceMappingURL=[url]";this.moduleFilenameTemplate=N.moduleFilenameTemplate||"webpack://[namespace]/[resource-path]?[hash]";this.namespace=N.namespace||"";this.options=N}apply(E){const N=this.options;E.hooks.compilation.tap("EvalSourceMapDevToolPlugin",(R=>{const Te=ae.getCompilationHooks(R);new ie(N).apply(R);const we=q.matchObject.bind(q,N);Te.renderModuleContent.tap("EvalSourceMapDevToolPlugin",((j,ie,{runtimeTemplate:ae,chunkGraph:Ee})=>{const Te=_e.get(j);if(Te!==undefined){return Te}const result=E=>{_e.set(j,E);return E};if(ie instanceof G){const E=ie;if(!we(E.resource)){return result(j)}}else if(ie instanceof ce){const E=ie;if(E.rootModule instanceof G){const N=E.rootModule;if(!we(N.resource)){return result(j)}}else{return result(j)}}else{return result(j)}let Ie;let Ne;if(j.sourceAndMap){const E=j.sourceAndMap(N);Ie=E.map;Ne=E.source}else{Ie=j.map(N);Ne=j.source()}if(!Ie){return result(j)}Ie={...Ie};const Me=E.options.context;const Le=E.root;const Be=Ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(Me,E.slice(10),Le);const N=R.findModule(E);return N||E}));let je=Be.map((E=>q.createFilename(E,{moduleFilenameTemplate:this.moduleFilenameTemplate,namespace:this.namespace},{requestShortener:ae.requestShortener,chunkGraph:Ee,hashFunction:R.outputOptions.hashFunction})));je=q.replaceDuplicates(je,((E,N,R)=>{for(let N=0;N"the eval-source-map devtool is used."));Te.render.tap("EvalSourceMapDevToolPlugin",(E=>new j(Ee,E)));Te.chunkHash.tap("EvalSourceMapDevToolPlugin",((E,N)=>{N.update("EvalSourceMapDevToolPlugin");N.update("2")}))}))}}E.exports=EvalSourceMapDevToolPlugin},76632:(E,N,R)=>{"use strict";const{equals:j}=R(73910);const $=R(16102);const q=R(56202);const{forEachRuntime:G}=R(37416);const ie=Object.freeze({Unused:0,OnlyPropertiesUsed:1,NoInfo:2,Unknown:3,Used:4});const RETURNS_TRUE=()=>true;const ae=Symbol("circular target");class RestoreProvidedData{constructor(E,N,R,j){this.exports=E;this.otherProvided=N;this.otherCanMangleProvide=R;this.otherTerminalBinding=j}serialize({write:E}){E(this.exports);E(this.otherProvided);E(this.otherCanMangleProvide);E(this.otherTerminalBinding)}static deserialize({read:E}){return new RestoreProvidedData(E(),E(),E(),E())}}q(RestoreProvidedData,"webpack/lib/ModuleGraph","RestoreProvidedData");class ExportsInfo{constructor(){this._exports=new Map;this._otherExportsInfo=new ExportInfo(null);this._sideEffectsOnlyInfo=new ExportInfo("*side effects only*");this._exportsAreOrdered=false;this._redirectTo=undefined}get ownedExports(){return this._exports.values()}get orderedOwnedExports(){if(!this._exportsAreOrdered){this._sortExports()}return this._exports.values()}get exports(){if(this._redirectTo!==undefined){const E=new Map(this._redirectTo._exports);for(const[N,R]of this._exports){E.set(N,R)}return E.values()}return this._exports.values()}get orderedExports(){if(!this._exportsAreOrdered){this._sortExports()}if(this._redirectTo!==undefined){const E=new Map(Array.from(this._redirectTo.orderedExports,(E=>[E.name,E])));for(const[N,R]of this._exports){E.set(N,R)}this._sortExportsMap(E);return E.values()}return this._exports.values()}get otherExportsInfo(){if(this._redirectTo!==undefined)return this._redirectTo.otherExportsInfo;return this._otherExportsInfo}_sortExportsMap(E){if(E.size>1){const N=[];for(const R of E.values()){N.push(R.name)}N.sort();let R=0;for(const j of E.values()){const E=N[R];if(j.name!==E)break;R++}for(;R0){const N=this.getReadOnlyExportInfo(E[0]);if(!N.exportsInfo)return undefined;return N.exportsInfo.getNestedExportsInfo(E.slice(1))}return this}setUnknownExportsProvided(E,N,R,j,$){let q=false;if(N){for(const E of N){this.getExportInfo(E)}}for(const $ of this._exports.values()){if(N&&N.has($.name))continue;if($.provided!==true&&$.provided!==null){$.provided=null;q=true}if(!E&&$.canMangleProvide!==false){$.canMangleProvide=false;q=true}if(R){$.setTarget(R,j,[$.name],-1)}}if(this._redirectTo!==undefined){if(this._redirectTo.setUnknownExportsProvided(E,N,R,j,$)){q=true}}else{if(this._otherExportsInfo.provided!==true&&this._otherExportsInfo.provided!==null){this._otherExportsInfo.provided=null;q=true}if(!E&&this._otherExportsInfo.canMangleProvide!==false){this._otherExportsInfo.canMangleProvide=false;q=true}if(R){this._otherExportsInfo.setTarget(R,j,undefined,$)}}return q}setUsedInUnknownWay(E){let N=false;for(const R of this._exports.values()){if(R.setUsedInUnknownWay(E)){N=true}}if(this._redirectTo!==undefined){if(this._redirectTo.setUsedInUnknownWay(E)){N=true}}else{if(this._otherExportsInfo.setUsedConditionally((E=>EE===ie.Unused),ie.Used,E)}isUsed(E){if(this._redirectTo!==undefined){if(this._redirectTo.isUsed(E)){return true}}else{if(this._otherExportsInfo.getUsed(E)!==ie.Unused){return true}}for(const N of this._exports.values()){if(N.getUsed(E)!==ie.Unused){return true}}return false}isModuleUsed(E){if(this.isUsed(E))return true;if(this._sideEffectsOnlyInfo.getUsed(E)!==ie.Unused)return true;return false}getUsedExports(E){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:case ie.OnlyPropertiesUsed:case ie.Used:return true}}const N=[];if(!this._exportsAreOrdered)this._sortExports();for(const R of this._exports.values()){switch(R.getUsed(E)){case ie.NoInfo:return null;case ie.Unknown:return true;case ie.OnlyPropertiesUsed:case ie.Used:N.push(R.name)}}if(this._redirectTo!==undefined){const R=this._redirectTo.getUsedExports(E);if(R===null)return null;if(R===true)return true;if(R!==false){for(const E of R){N.push(E)}}}if(N.length===0){switch(this._sideEffectsOnlyInfo.getUsed(E)){case ie.NoInfo:return null;case ie.Unused:return false}}return new $(N)}getProvidedExports(){if(!this._redirectTo!==undefined){switch(this._otherExportsInfo.provided){case undefined:return null;case null:return true;case true:return true}}const E=[];if(!this._exportsAreOrdered)this._sortExports();for(const N of this._exports.values()){switch(N.provided){case undefined:return null;case null:return true;case true:E.push(N.name)}}if(this._redirectTo!==undefined){const N=this._redirectTo.getProvidedExports();if(N===null)return null;if(N===true)return true;for(const R of N){if(!E.includes(R)){E.push(R)}}}return E}getRelevantExports(E){const N=[];for(const R of this._exports.values()){const j=R.getUsed(E);if(j===ie.Unused)continue;if(R.provided===false)continue;N.push(R)}if(this._redirectTo!==undefined){for(const R of this._redirectTo.getRelevantExports(E)){if(!this._exports.has(R.name))N.push(R)}}if(this._otherExportsInfo.provided!==false&&this._otherExportsInfo.getUsed(E)!==ie.Unused){N.push(this._otherExportsInfo)}return N}isExportProvided(E){if(Array.isArray(E)){const N=this.getReadOnlyExportInfo(E[0]);if(N.exportsInfo&&E.length>1){return N.exportsInfo.isExportProvided(E.slice(1))}return N.provided}const N=this.getReadOnlyExportInfo(E);return N.provided}getUsageKey(E){const N=[];if(this._redirectTo!==undefined){N.push(this._redirectTo.getUsageKey(E))}else{N.push(this._otherExportsInfo.getUsed(E))}N.push(this._sideEffectsOnlyInfo.getUsed(E));for(const R of this.orderedOwnedExports){N.push(R.getUsed(E))}return N.join("|")}isEquallyUsed(E,N){if(this._redirectTo!==undefined){if(!this._redirectTo.isEquallyUsed(E,N))return false}else{if(this._otherExportsInfo.getUsed(E)!==this._otherExportsInfo.getUsed(N)){return false}}if(this._sideEffectsOnlyInfo.getUsed(E)!==this._sideEffectsOnlyInfo.getUsed(N)){return false}for(const R of this.ownedExports){if(R.getUsed(E)!==R.getUsed(N))return false}return true}getUsed(E,N){if(Array.isArray(E)){if(E.length===0)return this.otherExportsInfo.getUsed(N);let R=this.getReadOnlyExportInfo(E[0]);if(R.exportsInfo&&E.length>1){return R.exportsInfo.getUsed(E.slice(1),N)}return R.getUsed(N)}let R=this.getReadOnlyExportInfo(E);return R.getUsed(N)}getUsedName(E,N){if(Array.isArray(E)){if(E.length===0){if(!this.isUsed(N))return false;return E}let R=this.getReadOnlyExportInfo(E[0]);const j=R.getUsedName(E[0],N);if(j===false)return false;const $=j===E[0]&&E.length===1?E:[j];if(E.length===1){return $}if(R.exportsInfo&&R.getUsed(N)===ie.OnlyPropertiesUsed){const j=R.exportsInfo.getUsedName(E.slice(1),N);if(!j)return false;return $.concat(j)}else{return $.concat(E.slice(1))}}else{let R=this.getReadOnlyExportInfo(E);const j=R.getUsedName(E,N);return j}}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){const j=new Set(R);j.add(this);for(const R of this.orderedExports){if(R.hasInfo(this._otherExportsInfo,N)){R._updateHash(E,N,j)}}this._sideEffectsOnlyInfo._updateHash(E,N,j);this._otherExportsInfo._updateHash(E,N,j);if(this._redirectTo!==undefined){this._redirectTo._updateHash(E,N,j)}}getRestoreProvidedData(){const E=this._otherExportsInfo.provided;const N=this._otherExportsInfo.canMangleProvide;const R=this._otherExportsInfo.terminalBinding;const j=[];for(const $ of this.orderedExports){if($.provided!==E||$.canMangleProvide!==N||$.terminalBinding!==R||$.exportsInfoOwned){j.push({name:$.name,provided:$.provided,canMangleProvide:$.canMangleProvide,terminalBinding:$.terminalBinding,exportsInfo:$.exportsInfoOwned?$.exportsInfo.getRestoreProvidedData():undefined})}}return new RestoreProvidedData(j,E,N,R)}restoreProvided({otherProvided:E,otherCanMangleProvide:N,otherTerminalBinding:R,exports:j}){let $=true;for(const j of this._exports.values()){$=false;j.provided=E;j.canMangleProvide=N;j.terminalBinding=R}this._otherExportsInfo.provided=E;this._otherExportsInfo.canMangleProvide=N;this._otherExportsInfo.terminalBinding=R;for(const E of j){const N=this.getExportInfo(E.name);N.provided=E.provided;N.canMangleProvide=E.canMangleProvide;N.terminalBinding=E.terminalBinding;if(E.exportsInfo){const R=N.createNestedExportsInfo();R.restoreProvided(E.exportsInfo)}}if($)this._exportsAreOrdered=true}}class ExportInfo{constructor(E,N){this.name=E;this._usedName=N?N._usedName:null;this._globalUsed=N?N._globalUsed:undefined;this._usedInRuntime=N&&N._usedInRuntime?new Map(N._usedInRuntime):undefined;this._hasUseInRuntimeInfo=N?N._hasUseInRuntimeInfo:false;this.provided=N?N.provided:undefined;this.terminalBinding=N?N.terminalBinding:false;this.canMangleProvide=N?N.canMangleProvide:undefined;this.canMangleUse=N?N.canMangleUse:undefined;this.exportsInfoOwned=false;this.exportsInfo=undefined;this._target=undefined;if(N&&N._target){this._target=new Map;for(const[R,j]of N._target){this._target.set(R,{connection:j.connection,export:j.export||[E],priority:j.priority})}}this._maxTarget=undefined}get used(){throw new Error("REMOVED")}get usedName(){throw new Error("REMOVED")}set used(E){throw new Error("REMOVED")}set usedName(E){throw new Error("REMOVED")}get canMangle(){switch(this.canMangleProvide){case undefined:return this.canMangleUse===false?false:undefined;case false:return false;case true:switch(this.canMangleUse){case undefined:return undefined;case false:return false;case true:return true}}throw new Error(`Unexpected flags for canMangle ${this.canMangleProvide} ${this.canMangleUse}`)}setUsedInUnknownWay(E){let N=false;if(this.setUsedConditionally((E=>Ethis._usedInRuntime.set(E,N)));return true}}else{let j=false;G(R,(R=>{let $=this._usedInRuntime.get(R);if($===undefined)$=ie.Unused;if(N!==$&&E($)){if(N===ie.Unused){this._usedInRuntime.delete(R)}else{this._usedInRuntime.set(R,N)}j=true}}));if(j){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}setUsed(E,N){if(N===undefined){if(this._globalUsed!==E){this._globalUsed=E;return true}}else if(this._usedInRuntime===undefined){if(E!==ie.Unused){this._usedInRuntime=new Map;G(N,(N=>this._usedInRuntime.set(N,E)));return true}}else{let R=false;G(N,(N=>{let j=this._usedInRuntime.get(N);if(j===undefined)j=ie.Unused;if(E!==j){if(E===ie.Unused){this._usedInRuntime.delete(N)}else{this._usedInRuntime.set(N,E)}R=true}}));if(R){if(this._usedInRuntime.size===0)this._usedInRuntime=undefined;return true}}return false}unsetTarget(E){if(!this._target)return false;if(this._target.delete(E)){this._maxTarget=undefined;return true}return false}setTarget(E,N,R,$=0){if(R)R=[...R];if(!this._target){this._target=new Map;this._target.set(E,{connection:N,export:R,priority:$});return true}const q=this._target.get(E);if(!q){if(q===null&&!N)return false;this._target.set(E,{connection:N,export:R,priority:$});this._maxTarget=undefined;return true}if(q.connection!==N||q.priority!==$||(R?!q.export||!j(q.export,R):q.export)){q.connection=N;q.export=R;q.priority=$;this._maxTarget=undefined;return true}return false}getUsed(E){if(!this._hasUseInRuntimeInfo)return ie.NoInfo;if(this._globalUsed!==undefined)return this._globalUsed;if(this._usedInRuntime===undefined){return ie.Unused}else if(typeof E==="string"){const N=this._usedInRuntime.get(E);return N===undefined?ie.Unused:N}else if(E===undefined){let E=ie.Unused;for(const N of this._usedInRuntime.values()){if(N===ie.Used){return ie.Used}if(E!this._usedInRuntime.has(E)))){return false}}}}if(this._usedName!==null)return this._usedName;return this.name||E}hasUsedName(){return this._usedName!==null}setUsedName(E){this._usedName=E}getTerminalBinding(E,N=RETURNS_TRUE){if(this.terminalBinding)return this;const R=this.getTarget(E,N);if(!R)return undefined;const j=E.getExportsInfo(R.module);if(!R.export)return j;return j.getReadOnlyExportInfoRecursive(R.export)}isReexport(){return!this.terminalBinding&&this._target&&this._target.size>0}_getMaxTarget(){if(this._maxTarget!==undefined)return this._maxTarget;if(this._target.size<=1)return this._maxTarget=this._target;let E=-Infinity;let N=Infinity;for(const{priority:R}of this._target.values()){if(ER)N=R}if(E===N)return this._maxTarget=this._target;const R=new Map;for(const[N,j]of this._target){if(E===j.priority){R.set(N,j)}}this._maxTarget=R;return R}findTarget(E,N){return this._findTarget(E,N,new Set)}_findTarget(E,N,R){if(!this._target||this._target.size===0)return undefined;let j=this._getMaxTarget().values().next().value;if(!j)return undefined;let $={module:j.connection.module,export:j.export};for(;;){if(N($.module))return $;const j=E.getExportsInfo($.module);const q=j.getExportInfo($.export[0]);if(R.has(q))return null;const G=q._findTarget(E,N,R);if(!G)return false;if($.export.length===1){$=G}else{$={module:G.module,export:G.export?G.export.concat($.export.slice(1)):$.export.slice(1)}}}}getTarget(E,N=RETURNS_TRUE){const R=this._getTarget(E,N,undefined);if(R===ae)return undefined;return R}_getTarget(E,N,R){const resolveTarget=(R,j)=>{if(!R)return null;if(!R.export){return{module:R.connection.module,connection:R.connection,export:undefined}}let $={module:R.connection.module,connection:R.connection,export:R.export};if(!N($))return $;let q=false;for(;;){const R=E.getExportsInfo($.module);const G=R.getExportInfo($.export[0]);if(!G)return $;if(j.has(G))return ae;const ie=G._getTarget(E,N,j);if(ie===ae)return ae;if(!ie)return $;if($.export.length===1){$=ie;if(!$.export)return $}else{$={module:ie.module,connection:ie.connection,export:ie.export?ie.export.concat($.export.slice(1)):$.export.slice(1)}}if(!N($))return $;if(!q){j=new Set(j);q=true}j.add(G)}};if(!this._target||this._target.size===0)return undefined;if(R&&R.has(this))return ae;const $=new Set(R);$.add(this);const q=this._getMaxTarget().values();const G=resolveTarget(q.next().value,$);if(G===ae)return ae;if(G===null)return undefined;let ie=q.next();while(!ie.done){const E=resolveTarget(ie.value,$);if(E===ae)return ae;if(E===null)return undefined;if(E.module!==G.module)return undefined;if(!E.export!==!G.export)return undefined;if(G.export&&!j(E.export,G.export))return undefined;ie=q.next()}return G}moveTarget(E,N,R){const j=this._getTarget(E,N,undefined);if(j===ae)return undefined;if(!j)return undefined;const $=this._getMaxTarget().values().next().value;if($.connection===j.connection&&$.export===j.export){return undefined}this._target.clear();this._target.set(undefined,{connection:R?R(j):j.connection,export:j.export,priority:0});return j}createNestedExportsInfo(){if(this.exportsInfoOwned)return this.exportsInfo;this.exportsInfoOwned=true;const E=this.exportsInfo;this.exportsInfo=new ExportsInfo;this.exportsInfo.setHasProvideInfo();if(E){this.exportsInfo.setRedirectNamedTo(E)}return this.exportsInfo}getNestedExportsInfo(){return this.exportsInfo}hasInfo(E,N){return this._usedName&&this._usedName!==this.name||this.provided||this.terminalBinding||this.getUsed(N)!==E.getUsed(N)}updateHash(E,N){this._updateHash(E,N,new Set)}_updateHash(E,N,R){E.update(`${this._usedName||this.name}${this.getUsed(N)}${this.provided}${this.terminalBinding}`);if(this.exportsInfo&&!R.has(this.exportsInfo)){this.exportsInfo._updateHash(E,N,R)}}getUsedInfo(){if(this._globalUsed!==undefined){switch(this._globalUsed){case ie.Unused:return"unused";case ie.NoInfo:return"no usage info";case ie.Unknown:return"maybe used (runtime-defined)";case ie.Used:return"used";case ie.OnlyPropertiesUsed:return"only properties used"}}else if(this._usedInRuntime!==undefined){const E=new Map;for(const[N,R]of this._usedInRuntime){const j=E.get(R);if(j!==undefined)j.push(N);else E.set(R,[N])}const N=Array.from(E,(([E,N])=>{switch(E){case ie.NoInfo:return`no usage info in ${N.join(", ")}`;case ie.Unknown:return`maybe used in ${N.join(", ")} (runtime-defined)`;case ie.Used:return`used in ${N.join(", ")}`;case ie.OnlyPropertiesUsed:return`only properties used in ${N.join(", ")}`}}));if(N.length>0){return N.join("; ")}}return this._hasUseInRuntimeInfo?"unused":"no usage info"}getProvidedInfo(){switch(this.provided){case undefined:return"no provided info";case null:return"maybe provided (runtime-defined)";case true:return"provided";case false:return"not provided"}}getRenameInfo(){if(this._usedName!==null&&this._usedName!==this.name){return`renamed to ${JSON.stringify(this._usedName).slice(1,-1)}`}switch(this.canMangleProvide){case undefined:switch(this.canMangleUse){case undefined:return"missing provision and use info prevents renaming";case false:return"usage prevents renaming (no provision info)";case true:return"missing provision info prevents renaming"}break;case true:switch(this.canMangleUse){case undefined:return"missing usage info prevents renaming";case false:return"usage prevents renaming";case true:return"could be renamed"}break;case false:switch(this.canMangleUse){case undefined:return"provision prevents renaming (no use info)";case false:return"usage and provision prevents renaming";case true:return"provision prevents renaming"}break}throw new Error(`Unexpected flags for getRenameInfo ${this.canMangleProvide} ${this.canMangleUse}`)}}E.exports=ExportsInfo;E.exports.ExportInfo=ExportInfo;E.exports.UsageState=ie},29672:(E,N,R)=>{"use strict";const j=R(66298);const $=R(51420);class ExportsInfoApiPlugin{apply(E){E.hooks.compilation.tap("ExportsInfoApiPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.expressionMemberChain.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",((N,R)=>{const j=R.length>=2?new $(N.range,R.slice(0,-1),R[R.length-1]):new $(N.range,null,R[0]);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.expression.for("__webpack_exports_info__").tap("ExportsInfoApiPlugin",(N=>{const R=new j("true",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}))};N.hooks.parser.for("javascript/auto").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("ExportsInfoApiPlugin",handler);N.hooks.parser.for("javascript/esm").tap("ExportsInfoApiPlugin",handler)}))}}E.exports=ExportsInfoApiPlugin},16734:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(77294);const{UsageState:G}=R(76632);const ie=R(63272);const ae=R(53453);const ce=R(76150);const le=R(58159);const _e=R(96076);const Ee=R(35891);const Te=R(10004);const we=R(56202);const Ie=R(68038);const{register:Ne}=R(24568);const Me=new Set(["javascript"]);const Le=new Set([ce.module]);const Be=new Set([ce.loadScript]);const je=new Set([ce.definePropertyGetters]);const Ue=new Set([]);const getSourceForGlobalVariableExternal=(E,N)=>{if(!Array.isArray(E)){E=[E]}const R=E.map((E=>`[${JSON.stringify(E)}]`)).join("");return{iife:N==="this",expression:`${N}${R}`}};const getSourceForCommonJsExternal=E=>{if(!Array.isArray(E)){return{expression:`require(${JSON.stringify(E)})`}}const N=E[0];return{expression:`require(${JSON.stringify(N)})${Ie(E,1)}`}};const getSourceForCommonJsExternalInNodeModule=E=>{const N=[new ie('import { createRequire as __WEBPACK_EXTERNAL_createRequire } from "module";\n',ie.STAGE_HARMONY_IMPORTS,0,"external module node-commonjs")];if(!Array.isArray(E)){return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(E)})`,chunkInitFragments:N}}const R=E[0];return{expression:`__WEBPACK_EXTERNAL_createRequire(import.meta.url)(${JSON.stringify(R)})${Ie(E,1)}`,chunkInitFragments:N}};const getSourceForImportExternal=(E,N)=>{const R=N.outputOptions.importFunctionName;if(!N.supportsDynamicImport()&&R==="import"){throw new Error("The target environment doesn't support 'import()' so it's not possible to use external type 'import'")}if(!Array.isArray(E)){return{expression:`${R}(${JSON.stringify(E)});`}}if(E.length===1){return{expression:`${R}(${JSON.stringify(E[0])});`}}const j=E[0];return{expression:`${R}(${JSON.stringify(j)}).then(${N.returningFunction(`module${Ie(E,1)}`,"module")});`}};class ModuleExternalInitFragment extends ie{constructor(E,N,R="md4"){if(N===undefined){N=le.toIdentifier(E);if(N!==E){N+=`_${Ee(R).update(E).digest("hex").slice(0,8)}`}}const j=`__WEBPACK_EXTERNAL_MODULE_${N}__`;super(`import * as ${j} from ${JSON.stringify(E)};\n`,ie.STAGE_HARMONY_IMPORTS,0,`external module import ${N}`);this._ident=N;this._identifier=j;this._request=E}getNamespaceIdentifier(){return this._identifier}}Ne(ModuleExternalInitFragment,"webpack/lib/ExternalModule","ModuleExternalInitFragment",{serialize(E,{write:N}){N(E._request);N(E._ident)},deserialize({read:E}){return new ModuleExternalInitFragment(E(),E())}});const generateModuleRemapping=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)===G.Unused){const j=[];for(const $ of N.orderedExports){const N=$.getUsedName($.name,R);if(!N)continue;const q=$.getNestedExportsInfo();if(q){const R=generateModuleRemapping(`${E}${Ie([$.name])}`,q);if(R){j.push(`[${JSON.stringify(N)}]: y(${R})`);continue}}j.push(`[${JSON.stringify(N)}]: () => ${E}${Ie([$.name])}`)}return`x({ ${j.join(", ")} })`}};const getSourceForModuleExternal=(E,N,R,j)=>{if(!Array.isArray(E))E=[E];const $=new ModuleExternalInitFragment(E[0],undefined,j);const q=`${$.getNamespaceIdentifier()}${Ie(E,1)}`;const G=generateModuleRemapping(q,N,R);let ie=G||q;return{expression:ie,init:`var x = y => { var x = {}; ${ce.definePropertyGetters}(x, y); return x; }\nvar y = x => () => x`,runtimeRequirements:G?je:undefined,chunkInitFragments:[$]}};const getSourceForScriptExternal=(E,N)=>{if(typeof E==="string"){E=Te(E)}const R=E[0];const j=E[1];return{init:"var __webpack_error__ = new Error();",expression:`new Promise(${N.basicFunction("resolve, reject",[`if(typeof ${j} !== "undefined") return resolve();`,`${ce.loadScript}(${JSON.stringify(R)}, ${N.basicFunction("event",[`if(typeof ${j} !== "undefined") return resolve();`,"var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","__webpack_error__.message = 'Loading script failed.\\n(' + errorType + ': ' + realSrc + ')';","__webpack_error__.name = 'ScriptExternalLoadError';","__webpack_error__.type = errorType;","__webpack_error__.request = realSrc;","reject(__webpack_error__);"])}, ${JSON.stringify(j)});`])}).then(${N.returningFunction(`${j}${Ie(E,2)}`)})`,runtimeRequirements:Be}};const checkExternalVariable=(E,N,R)=>`if(typeof ${E} === 'undefined') { ${R.throwMissingModuleErrorBlock({request:N})} }\n`;const getSourceForAmdOrUmdExternal=(E,N,R,j)=>{const $=`__WEBPACK_EXTERNAL_MODULE_${le.toIdentifier(`${E}`)}__`;return{init:N?checkExternalVariable($,Array.isArray(R)?R.join("."):R,j):undefined,expression:$}};const getSourceForDefaultCase=(E,N,R)=>{if(!Array.isArray(N)){N=[N]}const j=N[0];const $=Ie(N,1);return{init:E?checkExternalVariable(j,N.join("."),R):undefined,expression:`${j}${$}`}};class ExternalModule extends ae{constructor(E,N,R){super("javascript/dynamic",null);this.request=E;this.externalType=N;this.userRequest=R}getSourceTypes(){return Me}libIdent(E){return this.userRequest}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}identifier(){return`external ${this.externalType} ${JSON.stringify(this.request)}`}readableIdentifier(E){return"external "+JSON.stringify(this.request)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={async:false,exportsType:undefined};this.buildInfo={strict:true,topLevelDeclarations:new Set,module:N.outputOptions.module};const{request:q,externalType:G}=this._getRequestAndExternalType();this.buildMeta.exportsType="dynamic";let ie=false;this.clearDependenciesAndBlocks();switch(G){case"this":this.buildInfo.strict=false;break;case"system":if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}break;case"module":if(this.buildInfo.module){if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=true}}else{this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}}break;case"script":case"promise":this.buildMeta.async=true;break;case"import":this.buildMeta.async=true;if(!Array.isArray(q)||q.length===1){this.buildMeta.exportsType="namespace";ie=false}break}this.addDependency(new _e(true,ie));$()}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}getConcatenationBailoutReason({moduleGraph:E}){switch(this.externalType){case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":return`${this.externalType} externals can't be concatenated`}return undefined}_getRequestAndExternalType(){let{request:E,externalType:N}=this;if(typeof E==="object"&&!Array.isArray(E))E=E[N];return{request:E,externalType:N}}_getSourceData(E,N,R,j){const{request:$,externalType:q}=this._getRequestAndExternalType();switch(q){case"this":case"window":case"self":return getSourceForGlobalVariableExternal($,this.externalType);case"global":return getSourceForGlobalVariableExternal($,E.outputOptions.globalObject);case"commonjs":case"commonjs2":case"commonjs-module":return getSourceForCommonJsExternal($);case"node-commonjs":return this.buildInfo.module?getSourceForCommonJsExternalInNodeModule($):getSourceForCommonJsExternal($);case"amd":case"amd-require":case"umd":case"umd2":case"system":case"jsonp":{const j=R.getModuleId(this);return getSourceForAmdOrUmdExternal(j!==null?j:this.identifier(),this.isOptional(N),$,E)}case"import":return getSourceForImportExternal($,E);case"script":return getSourceForScriptExternal($,E);case"module":{if(!this.buildInfo.module){if(!E.supportsDynamicImport()){throw new Error("The target environment doesn't support dynamic import() syntax so it's not possible to use external type 'module' within a script"+(E.supportsEcmaScriptModuleSyntax()?"\nDid you mean to build a EcmaScript Module ('output.module: true')?":""))}return getSourceForImportExternal($,E)}if(!E.supportsEcmaScriptModuleSyntax()){throw new Error("The target environment doesn't support EcmaScriptModule syntax so it's not possible to use external type 'module'")}return getSourceForModuleExternal($,N.getExportsInfo(this),j,E.outputOptions.hashFunction)}case"var":case"promise":case"const":case"let":case"assign":default:return getSourceForDefaultCase(this.isOptional(N),$,E)}}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R,runtime:G,concatenationScope:ie}){const ae=this._getSourceData(E,N,R,G);let le=ae.expression;if(ae.iife)le=`(function() { return ${le}; }())`;if(ie){le=`${E.supportsConst()?"const":"var"} ${q.NAMESPACE_OBJECT_EXPORT} = ${le};`;ie.registerNamespaceExport(q.NAMESPACE_OBJECT_EXPORT)}else{le=`module.exports = ${le};`}if(ae.init)le=`${ae.init}\n${le}`;let _e=undefined;if(ae.chunkInitFragments){_e=new Map;_e.set("chunkInitFragments",ae.chunkInitFragments)}const Ee=new Map;if(this.useSourceMap||this.useSimpleSourceMap){Ee.set("javascript",new j(le,this.identifier()))}else{Ee.set("javascript",new $(le))}let Te=ae.runtimeRequirements;if(!ie){if(!Te){Te=Le}else{const E=new Set(Te);E.add(ce.module);Te=E}}return{sources:Ee,runtimeRequirements:Te||Ue,data:_e}}size(E){return 42}updateHash(E,N){const{chunkGraph:R}=N;E.update(`${this.externalType}${JSON.stringify(this.request)}${this.isOptional(R.moduleGraph)}`);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.request);N(this.externalType);N(this.userRequest);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.externalType=N();this.userRequest=N();super.deserialize(E)}}we(ExternalModule,"webpack/lib/ExternalModule");E.exports=ExternalModule},59084:(E,N,R)=>{"use strict";const j=R(73837);const $=R(16734);const{resolveByProperty:q,cachedSetProperty:G}=R(90149);const ie=/^[a-z0-9-]+ /;const ae={};const ce=j.deprecate(((E,N,R,j)=>{E.call(null,N,R,j)}),"The externals-function should be defined like ({context, request}, cb) => { ... }","DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS");const le=new WeakMap;const resolveLayer=(E,N)=>{let R=le.get(E);if(R===undefined){R=new Map;le.set(E,R)}else{const E=R.get(N);if(E!==undefined)return E}const j=q(E,"byLayer",N);R.set(N,j);return j};class ExternalModuleFactoryPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){const N=this.type;E.hooks.factorize.tapAsync("ExternalModuleFactoryPlugin",((R,j)=>{const q=R.context;const le=R.contextInfo;const _e=R.dependencies[0];const Ee=R.dependencyType;const handleExternal=(E,R,j)=>{if(E===false){return j()}let q;if(E===true){q=_e.request}else{q=E}if(R===undefined){if(typeof q==="string"&&ie.test(q)){const E=q.indexOf(" ");R=q.substr(0,E);q=q.substr(E+1)}else if(Array.isArray(q)&&q.length>0&&ie.test(q[0])){const E=q[0];const N=E.indexOf(" ");R=E.substr(0,N);q=[E.substr(N+1),...q.slice(1)]}}j(null,new $(q,R||N,_e.request))};const handleExternals=(N,j)=>{if(typeof N==="string"){if(N===_e.request){return handleExternal(_e.request,undefined,j)}}else if(Array.isArray(N)){let E=0;const next=()=>{let R;const handleExternalsAndCallback=(E,N)=>{if(E)return j(E);if(!N){if(R){R=false;return}return next()}j(null,N)};do{R=true;if(E>=N.length)return j();handleExternals(N[E++],handleExternalsAndCallback)}while(!R);R=false};next();return}else if(N instanceof RegExp){if(N.test(_e.request)){return handleExternal(_e.request,undefined,j)}}else if(typeof N==="function"){const cb=(E,N,R)=>{if(E)return j(E);if(N!==undefined){handleExternal(N,R,j)}else{j()}};if(N.length===3){ce(N,q,_e.request,cb)}else{const j=N({context:q,request:_e.request,dependencyType:Ee,contextInfo:le,getResolve:N=>(j,$,q)=>{const ie={fileDependencies:R.fileDependencies,missingDependencies:R.missingDependencies,contextDependencies:R.contextDependencies};let ce=E.getResolver("normal",Ee?G(R.resolveOptions||ae,"dependencyType",Ee):R.resolveOptions);if(N)ce=ce.withOptions(N);if(q){ce.resolve({},j,$,ie,q)}else{return new Promise(((E,N)=>{ce.resolve({},j,$,ie,((R,j)=>{if(R)N(R);else E(j)}))}))}}},cb);if(j&&j.then)j.then((E=>cb(null,E)),cb)}return}else if(typeof N==="object"){const E=resolveLayer(N,le.issuerLayer);if(Object.prototype.hasOwnProperty.call(E,_e.request)){return handleExternal(E[_e.request],undefined,j)}}j()};handleExternals(this.externals,j)}))}}E.exports=ExternalModuleFactoryPlugin},61050:(E,N,R)=>{"use strict";const j=R(59084);class ExternalsPlugin{constructor(E,N){this.type=E;this.externals=N}apply(E){E.hooks.compile.tap("ExternalsPlugin",(({normalModuleFactory:E})=>{new j(this.type,this.externals).apply(E)}))}}E.exports=ExternalsPlugin},22996:(E,N,R)=>{"use strict";const{create:j}=R(17583);const $=R(62355);const q=R(9738);const G=R(37269);const ie=R(35891);const{join:ae,dirname:ce,relative:le,lstatReadlinkAbsolute:_e}=R(95396);const Ee=R(56202);const Te=R(2117);const we=+process.versions.modules>=83;let Ie=2e3;const Ne=new Set;const Me=0;const Le=1;const Be=2;const je=3;const Ue=4;const ze=5;const We=6;const Je=7;const Ve=8;const qe=9;const He=Symbol("invalid");const Ge=(new Set).keys().next();class SnapshotIterator{constructor(E){this.next=E}}class SnapshotIterable{constructor(E,N){this.snapshot=E;this.getMaps=N}[Symbol.iterator](){let E=0;let N;let R;let j;let $;let q;return new SnapshotIterator((()=>{for(;;){switch(E){case 0:$=this.snapshot;R=this.getMaps;j=R($);E=1;case 1:if(j.length>0){const R=j.pop();if(R!==undefined){N=R.keys();E=2}else{break}}else{E=3;break}case 2:{const R=N.next();if(!R.done)return R;E=1;break}case 3:{const N=$.children;if(N!==undefined){if(N.size===1){for(const E of N)$=E;j=R($);E=1;break}if(q===undefined)q=[];for(const E of N){q.push(E)}}if(q!==undefined&&q.length>0){$=q.pop();j=R($);E=1;break}else{E=4}}case 4:return Ge}}}))}}class Snapshot{constructor(){this._flags=0;this.startTime=undefined;this.fileTimestamps=undefined;this.fileHashes=undefined;this.fileTshs=undefined;this.contextTimestamps=undefined;this.contextHashes=undefined;this.contextTshs=undefined;this.missingExistence=undefined;this.managedItemInfo=undefined;this.managedFiles=undefined;this.managedContexts=undefined;this.managedMissing=undefined;this.children=undefined}hasStartTime(){return(this._flags&1)!==0}setStartTime(E){this._flags=this._flags|1;this.startTime=E}setMergedStartTime(E,N){if(E){if(N.hasStartTime()){this.setStartTime(Math.min(E,N.startTime))}else{this.setStartTime(E)}}else{if(N.hasStartTime())this.setStartTime(N.startTime)}}hasFileTimestamps(){return(this._flags&2)!==0}setFileTimestamps(E){this._flags=this._flags|2;this.fileTimestamps=E}hasFileHashes(){return(this._flags&4)!==0}setFileHashes(E){this._flags=this._flags|4;this.fileHashes=E}hasFileTshs(){return(this._flags&8)!==0}setFileTshs(E){this._flags=this._flags|8;this.fileTshs=E}hasContextTimestamps(){return(this._flags&16)!==0}setContextTimestamps(E){this._flags=this._flags|16;this.contextTimestamps=E}hasContextHashes(){return(this._flags&32)!==0}setContextHashes(E){this._flags=this._flags|32;this.contextHashes=E}hasContextTshs(){return(this._flags&64)!==0}setContextTshs(E){this._flags=this._flags|64;this.contextTshs=E}hasMissingExistence(){return(this._flags&128)!==0}setMissingExistence(E){this._flags=this._flags|128;this.missingExistence=E}hasManagedItemInfo(){return(this._flags&256)!==0}setManagedItemInfo(E){this._flags=this._flags|256;this.managedItemInfo=E}hasManagedFiles(){return(this._flags&512)!==0}setManagedFiles(E){this._flags=this._flags|512;this.managedFiles=E}hasManagedContexts(){return(this._flags&1024)!==0}setManagedContexts(E){this._flags=this._flags|1024;this.managedContexts=E}hasManagedMissing(){return(this._flags&2048)!==0}setManagedMissing(E){this._flags=this._flags|2048;this.managedMissing=E}hasChildren(){return(this._flags&4096)!==0}setChildren(E){this._flags=this._flags|4096;this.children=E}addChild(E){if(!this.hasChildren()){this.setChildren(new Set)}this.children.add(E)}serialize({write:E}){E(this._flags);if(this.hasStartTime())E(this.startTime);if(this.hasFileTimestamps())E(this.fileTimestamps);if(this.hasFileHashes())E(this.fileHashes);if(this.hasFileTshs())E(this.fileTshs);if(this.hasContextTimestamps())E(this.contextTimestamps);if(this.hasContextHashes())E(this.contextHashes);if(this.hasContextTshs())E(this.contextTshs);if(this.hasMissingExistence())E(this.missingExistence);if(this.hasManagedItemInfo())E(this.managedItemInfo);if(this.hasManagedFiles())E(this.managedFiles);if(this.hasManagedContexts())E(this.managedContexts);if(this.hasManagedMissing())E(this.managedMissing);if(this.hasChildren())E(this.children)}deserialize({read:E}){this._flags=E();if(this.hasStartTime())this.startTime=E();if(this.hasFileTimestamps())this.fileTimestamps=E();if(this.hasFileHashes())this.fileHashes=E();if(this.hasFileTshs())this.fileTshs=E();if(this.hasContextTimestamps())this.contextTimestamps=E();if(this.hasContextHashes())this.contextHashes=E();if(this.hasContextTshs())this.contextTshs=E();if(this.hasMissingExistence())this.missingExistence=E();if(this.hasManagedItemInfo())this.managedItemInfo=E();if(this.hasManagedFiles())this.managedFiles=E();if(this.hasManagedContexts())this.managedContexts=E();if(this.hasManagedMissing())this.managedMissing=E();if(this.hasChildren())this.children=E()}_createIterable(E){return new SnapshotIterable(this,E)}getFileIterable(){return this._createIterable((E=>[E.fileTimestamps,E.fileHashes,E.fileTshs,E.managedFiles]))}getContextIterable(){return this._createIterable((E=>[E.contextTimestamps,E.contextHashes,E.contextTshs,E.managedContexts]))}getMissingIterable(){return this._createIterable((E=>[E.missingExistence,E.managedMissing]))}}Ee(Snapshot,"webpack/lib/FileSystemInfo","Snapshot");const Ke=3;class SnapshotOptimization{constructor(E,N,R,j=true,$=false){this._has=E;this._get=N;this._set=R;this._useStartTime=j;this._isSet=$;this._map=new Map;this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}getStatisticMessage(){const E=this._statItemsShared+this._statItemsUnshared;if(E===0)return undefined;return`${this._statItemsShared&&Math.round(this._statItemsShared*100/E)}% (${this._statItemsShared}/${E}) entries shared via ${this._statSharedSnapshots} shared snapshots (${this._statReusedSharedSnapshots+this._statSharedSnapshots} times referenced)`}clear(){this._map.clear();this._statItemsShared=0;this._statItemsUnshared=0;this._statSharedSnapshots=0;this._statReusedSharedSnapshots=0}optimize(E,N){const increaseSharedAndStoreOptimizationEntry=E=>{if(E.children!==undefined){E.children.forEach(increaseSharedAndStoreOptimizationEntry)}E.shared++;storeOptimizationEntry(E)};const storeOptimizationEntry=E=>{for(const R of E.snapshotContent){const j=this._map.get(R);if(j.shared0){if(this._useStartTime&&E.startTime&&(!j.startTime||j.startTime>E.startTime)){continue}const $=new Set;const q=R.snapshotContent;const G=this._get(j);for(const E of q){if(!N.has(E)){if(!G.has(E)){continue e}$.add(E);continue}}if($.size===0){E.addChild(j);increaseSharedAndStoreOptimizationEntry(R);this._statReusedSharedSnapshots++}else{const N=q.size-$.size;if(N{if(Ie>1&&E%2!==0)Ie=1;else if(Ie>10&&E%20!==0)Ie=10;else if(Ie>100&&E%200!==0)Ie=100;else if(Ie>1e3&&E%2e3!==0)Ie=1e3};const mergeMaps=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Map(E);for(const[E,j]of N){R.set(E,j)}return R};const mergeSets=(E,N)=>{if(!N||N.size===0)return E;if(!E||E.size===0)return N;const R=new Set(E);for(const E of N){R.add(E)}return R};const getManagedItem=(E,N)=>{let R=E.length;let j=1;let $=true;e:while(R=R+13&&N.charCodeAt(R+1)===110&&N.charCodeAt(R+2)===111&&N.charCodeAt(R+3)===100&&N.charCodeAt(R+4)===101&&N.charCodeAt(R+5)===95&&N.charCodeAt(R+6)===109&&N.charCodeAt(R+7)===111&&N.charCodeAt(R+8)===100&&N.charCodeAt(R+9)===117&&N.charCodeAt(R+10)===108&&N.charCodeAt(R+11)===101&&N.charCodeAt(R+12)===115){if(N.length===R+13){return N}const E=N.charCodeAt(R+13);if(E===47||E===92){return getManagedItem(N.slice(0,R+14),N)}}return N.slice(0,R)};const getResolvedTimestamp=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E:undefined};const getResolvedHash=E=>{if(E===null)return null;if(E.resolved!==undefined)return E.resolved;return E.symlinks===undefined?E.hash:undefined};const addAll=(E,N)=>{for(const R of E)N.add(R)};class FileSystemInfo{constructor(E,{managedPaths:N=[],immutablePaths:R=[],logger:j,hashFunction:$="md4"}={}){this.fs=E;this.logger=j;this._remainingLogs=j?40:0;this._loggedPaths=j?new Set:undefined;this._hashFunction=$;this._snapshotCache=new WeakMap;this._fileTimestampsOptimization=new SnapshotOptimization((E=>E.hasFileTimestamps()),(E=>E.fileTimestamps),((E,N)=>E.setFileTimestamps(N)));this._fileHashesOptimization=new SnapshotOptimization((E=>E.hasFileHashes()),(E=>E.fileHashes),((E,N)=>E.setFileHashes(N)),false);this._fileTshsOptimization=new SnapshotOptimization((E=>E.hasFileTshs()),(E=>E.fileTshs),((E,N)=>E.setFileTshs(N)));this._contextTimestampsOptimization=new SnapshotOptimization((E=>E.hasContextTimestamps()),(E=>E.contextTimestamps),((E,N)=>E.setContextTimestamps(N)));this._contextHashesOptimization=new SnapshotOptimization((E=>E.hasContextHashes()),(E=>E.contextHashes),((E,N)=>E.setContextHashes(N)),false);this._contextTshsOptimization=new SnapshotOptimization((E=>E.hasContextTshs()),(E=>E.contextTshs),((E,N)=>E.setContextTshs(N)));this._missingExistenceOptimization=new SnapshotOptimization((E=>E.hasMissingExistence()),(E=>E.missingExistence),((E,N)=>E.setMissingExistence(N)),false);this._managedItemInfoOptimization=new SnapshotOptimization((E=>E.hasManagedItemInfo()),(E=>E.managedItemInfo),((E,N)=>E.setManagedItemInfo(N)),false);this._managedFilesOptimization=new SnapshotOptimization((E=>E.hasManagedFiles()),(E=>E.managedFiles),((E,N)=>E.setManagedFiles(N)),false,true);this._managedContextsOptimization=new SnapshotOptimization((E=>E.hasManagedContexts()),(E=>E.managedContexts),((E,N)=>E.setManagedContexts(N)),false,true);this._managedMissingOptimization=new SnapshotOptimization((E=>E.hasManagedMissing()),(E=>E.managedMissing),((E,N)=>E.setManagedMissing(N)),false,true);this._fileTimestamps=new G;this._fileHashes=new Map;this._fileTshs=new Map;this._contextTimestamps=new G;this._contextHashes=new Map;this._contextTshs=new Map;this._managedItems=new Map;this.fileTimestampQueue=new q({name:"file timestamp",parallelism:30,processor:this._readFileTimestamp.bind(this)});this.fileHashQueue=new q({name:"file hash",parallelism:10,processor:this._readFileHash.bind(this)});this.contextTimestampQueue=new q({name:"context timestamp",parallelism:2,processor:this._readContextTimestamp.bind(this)});this.contextHashQueue=new q({name:"context hash",parallelism:2,processor:this._readContextHash.bind(this)});this.contextTshQueue=new q({name:"context hash and timestamp",parallelism:2,processor:this._readContextTimestampAndHash.bind(this)});this.managedItemQueue=new q({name:"managed item info",parallelism:10,processor:this._getManagedItemInfo.bind(this)});this.managedItemDirectoryQueue=new q({name:"managed item directory info",parallelism:10,processor:this._getManagedItemDirectoryInfo.bind(this)});this.managedPaths=Array.from(N);this.managedPathsWithSlash=this.managedPaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.managedPathsRegExps=this.managedPaths.filter((E=>typeof E!=="string"));this.immutablePaths=Array.from(R);this.immutablePathsWithSlash=this.immutablePaths.filter((E=>typeof E==="string")).map((N=>ae(E,N,"_").slice(0,-1)));this.immutablePathsRegExps=this.immutablePaths.filter((E=>typeof E!=="string"));this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._warnAboutExperimentalEsmTracking=false;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}logStatistics(){const logWhenMessage=(E,N)=>{if(N){this.logger.log(`${E}: ${N}`)}};this.logger.log(`${this._statCreatedSnapshots} new snapshots created`);this.logger.log(`${this._statTestedSnapshotsNotCached&&Math.round(this._statTestedSnapshotsNotCached*100/(this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached))}% root snapshot uncached (${this._statTestedSnapshotsNotCached} / ${this._statTestedSnapshotsCached+this._statTestedSnapshotsNotCached})`);this.logger.log(`${this._statTestedChildrenNotCached&&Math.round(this._statTestedChildrenNotCached*100/(this._statTestedChildrenCached+this._statTestedChildrenNotCached))}% children snapshot uncached (${this._statTestedChildrenNotCached} / ${this._statTestedChildrenCached+this._statTestedChildrenNotCached})`);this.logger.log(`${this._statTestedEntries} entries tested`);this.logger.log(`File info in cache: ${this._fileTimestamps.size} timestamps ${this._fileHashes.size} hashes ${this._fileTshs.size} timestamp hash combinations`);logWhenMessage(`File timestamp snapshot optimization`,this._fileTimestampsOptimization.getStatisticMessage());logWhenMessage(`File hash snapshot optimization`,this._fileHashesOptimization.getStatisticMessage());logWhenMessage(`File timestamp hash combination snapshot optimization`,this._fileTshsOptimization.getStatisticMessage());this.logger.log(`Directory info in cache: ${this._contextTimestamps.size} timestamps ${this._contextHashes.size} hashes ${this._contextTshs.size} timestamp hash combinations`);logWhenMessage(`Directory timestamp snapshot optimization`,this._contextTimestampsOptimization.getStatisticMessage());logWhenMessage(`Directory hash snapshot optimization`,this._contextHashesOptimization.getStatisticMessage());logWhenMessage(`Directory timestamp hash combination snapshot optimization`,this._contextTshsOptimization.getStatisticMessage());logWhenMessage(`Missing items snapshot optimization`,this._missingExistenceOptimization.getStatisticMessage());this.logger.log(`Managed items info in cache: ${this._managedItems.size} items`);logWhenMessage(`Managed items snapshot optimization`,this._managedItemInfoOptimization.getStatisticMessage());logWhenMessage(`Managed files snapshot optimization`,this._managedFilesOptimization.getStatisticMessage());logWhenMessage(`Managed contexts snapshot optimization`,this._managedContextsOptimization.getStatisticMessage());logWhenMessage(`Managed missing snapshot optimization`,this._managedMissingOptimization.getStatisticMessage())}_log(E,N,...R){const j=E+N;if(this._loggedPaths.has(j))return;this._loggedPaths.add(j);this.logger.debug(`${E} invalidated because ${N}`,...R);if(--this._remainingLogs===0){this.logger.debug("Logging limit has been reached and no further logging will be emitted by FileSystemInfo")}}clear(){this._remainingLogs=this.logger?40:0;if(this._loggedPaths!==undefined)this._loggedPaths.clear();this._snapshotCache=new WeakMap;this._fileTimestampsOptimization.clear();this._fileHashesOptimization.clear();this._fileTshsOptimization.clear();this._contextTimestampsOptimization.clear();this._contextHashesOptimization.clear();this._contextTshsOptimization.clear();this._missingExistenceOptimization.clear();this._managedItemInfoOptimization.clear();this._managedFilesOptimization.clear();this._managedContextsOptimization.clear();this._managedMissingOptimization.clear();this._fileTimestamps.clear();this._fileHashes.clear();this._fileTshs.clear();this._contextTimestamps.clear();this._contextHashes.clear();this._contextTshs.clear();this._managedItems.clear();this._managedItems.clear();this._cachedDeprecatedFileTimestamps=undefined;this._cachedDeprecatedContextTimestamps=undefined;this._statCreatedSnapshots=0;this._statTestedSnapshotsCached=0;this._statTestedSnapshotsNotCached=0;this._statTestedChildrenCached=0;this._statTestedChildrenNotCached=0;this._statTestedEntries=0}addFileTimestamps(E,N){this._fileTimestamps.addAll(E,N);this._cachedDeprecatedFileTimestamps=undefined}addContextTimestamps(E,N){this._contextTimestamps.addAll(E,N);this._cachedDeprecatedContextTimestamps=undefined}getFileTimestamp(E,N){const R=this._fileTimestamps.get(E);if(R!==undefined)return N(null,R);this.fileTimestampQueue.add(E,N)}getContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined){if(R==="ignore")return N(null,"ignore");const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTimestamp(R,N)}this.contextTimestampQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTimestamp(R,N)}))}_getUnresolvedContextTimestamp(E,N){const R=this._contextTimestamps.get(E);if(R!==undefined)return N(null,R);this.contextTimestampQueue.add(E,N)}getFileHash(E,N){const R=this._fileHashes.get(E);if(R!==undefined)return N(null,R);this.fileHashQueue.add(E,N)}getContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined){const E=getResolvedHash(R);if(E!==undefined)return N(null,E);return this._resolveContextHash(R,N)}this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedHash(R);if(j!==undefined)return N(null,j);this._resolveContextHash(R,N)}))}_getUnresolvedContextHash(E,N){const R=this._contextHashes.get(E);if(R!==undefined)return N(null,R);this.contextHashQueue.add(E,N)}getContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined){const E=getResolvedTimestamp(R);if(E!==undefined)return N(null,E);return this._resolveContextTsh(R,N)}this.contextTshQueue.add(E,((E,R)=>{if(E)return N(E);const j=getResolvedTimestamp(R);if(j!==undefined)return N(null,j);this._resolveContextTsh(R,N)}))}_getUnresolvedContextTsh(E,N){const R=this._contextTshs.get(E);if(R!==undefined)return N(null,R);this.contextTshQueue.add(E,N)}_createBuildDependenciesResolvers(){const E=j({resolveToContext:true,exportsFields:[],fileSystem:this.fs});const N=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:["exports"],fileSystem:this.fs});const R=j({extensions:[".js",".json",".node"],conditionNames:["require","node"],exportsFields:[],fileSystem:this.fs});const $=j({extensions:[".js",".json",".node"],fullySpecified:true,conditionNames:["import","node"],exportsFields:["exports"],fileSystem:this.fs});return{resolveContext:E,resolveEsm:$,resolveCjs:N,resolveCjsAsChild:R}}resolveBuildDependencies(E,N,j){const{resolveContext:$,resolveEsm:q,resolveCjs:G,resolveCjsAsChild:ie}=this._createBuildDependenciesResolvers();const _e=new Set;const Ee=new Set;const Ie=new Set;const Ne=new Set;const He=new Set;const Ge=new Set;const Ke=new Set;const Qe=new Set;const Xe=new Map;const Ye=new Set;const Ze={fileDependencies:Ge,contextDependencies:Ke,missingDependencies:Qe};const expectedToString=E=>E?` (expected ${E})`:"";const jobToString=E=>{switch(E.type){case Me:return`resolve commonjs ${E.path}${expectedToString(E.expected)}`;case Le:return`resolve esm ${E.path}${expectedToString(E.expected)}`;case Be:return`resolve directory ${E.path}`;case je:return`resolve commonjs file ${E.path}${expectedToString(E.expected)}`;case ze:return`resolve esm file ${E.path}${expectedToString(E.expected)}`;case We:return`directory ${E.path}`;case Je:return`file ${E.path}`;case Ve:return`directory dependencies ${E.path}`;case qe:return`file dependencies ${E.path}`}return`unknown ${E.type} ${E.path}`};const pathToString=E=>{let N=` at ${jobToString(E)}`;E=E.issuer;while(E!==undefined){N+=`\n at ${jobToString(E)}`;E=E.issuer}return N};Te(Array.from(N,(N=>({type:Me,context:E,path:N,expected:undefined,issuer:undefined}))),20,((E,N,j)=>{const{type:Te,context:He,path:Ke,expected:et}=E;const resolveDirectory=R=>{const q=`d\n${He}\n${R}`;if(Xe.has(q)){return j()}Xe.set(q,undefined);$(He,R,Ze,(($,G,ie)=>{if($){if(et===false){Xe.set(q,false);return j()}Ye.add(q);$.message+=`\nwhile resolving '${R}' in ${He} to a directory`;return j($)}const ae=ie.path;Xe.set(q,ae);N({type:We,context:undefined,path:ae,expected:undefined,issuer:E});j()}))};const resolveFile=(R,$,q)=>{const G=`${$}\n${He}\n${R}`;if(Xe.has(G)){return j()}Xe.set(G,undefined);q(He,R,Ze,(($,q,ie)=>{if(typeof et==="string"){if(!$&&ie&&ie.path===et){Xe.set(G,ie.path)}else{Ye.add(G);this.logger.warn(`Resolving '${R}' in ${He} for build dependencies doesn't lead to expected result '${et}', but to '${$||ie&&ie.path}' instead. Resolving dependencies are ignored for this path.\n${pathToString(E)}`)}}else{if($){if(et===false){Xe.set(G,false);return j()}Ye.add(G);$.message+=`\nwhile resolving '${R}' in ${He} as file\n${pathToString(E)}`;return j($)}const q=ie.path;Xe.set(G,q);N({type:Je,context:undefined,path:q,expected:undefined,issuer:E})}j()}))};switch(Te){case Me:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke,"f",G)}break}case Le:{const E=/[\\/]$/.test(Ke);if(E){resolveDirectory(Ke.slice(0,Ke.length-1))}else{resolveFile(Ke)}break}case Be:{resolveDirectory(Ke);break}case je:{resolveFile(Ke,"f",G);break}case Ue:{resolveFile(Ke,"c",ie);break}case ze:{resolveFile(Ke,"e",q);break}case Je:{if(_e.has(Ke)){j();break}_e.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ee.add(Ke);Ge.add(Ke);if(_e.has(q))return j();_e.add(q)}N({type:qe,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case We:{if(Ie.has(Ke)){j();break}Ie.add(Ke);this.fs.realpath(Ke,((R,$)=>{if(R)return j(R);const q=$;if(q!==Ke){Ne.add(Ke);Ge.add(Ke);if(Ie.has(q))return j();Ie.add(q)}N({type:Ve,context:undefined,path:q,expected:undefined,issuer:E});j()}));break}case qe:{if(/\.json5?$|\.yarn-integrity$|yarn\.lock$|\.ya?ml/.test(Ke)){process.nextTick(j);break}const $=require.cache[Ke];if($&&Array.isArray($.children)){e:for(const R of $.children){let j=R.filename;if(j){N({type:Je,context:undefined,path:j,expected:undefined,issuer:E});const q=ce(this.fs,Ke);for(const G of $.paths){if(j.startsWith(G)){let $=j.slice(G.length+1);const ie=/^(@[^\\/]+[\\/])[^\\/]+/.exec($);if(ie){N({type:Je,context:undefined,path:G+j[G.length]+ie[0]+j[G.length]+"package.json",expected:false,issuer:E})}let ae=$.replace(/\\/g,"/");if(ae.endsWith(".js"))ae=ae.slice(0,-3);N({type:Ue,context:q,path:ae,expected:R.filename,issuer:E});continue e}}let G=le(this.fs,q,j);if(G.endsWith(".js"))G=G.slice(0,-3);G=G.replace(/\\/g,"/");if(!G.startsWith("../"))G=`./${G}`;N({type:je,context:q,path:G,expected:R.filename,issuer:E})}}}else if(we&&/\.m?js$/.test(Ke)){if(!this._warnAboutExperimentalEsmTracking){this.logger.log("Node.js doesn't offer a (nice) way to introspect the ESM dependency graph yet.\n"+"Until a full solution is available webpack uses an experimental ESM tracking based on parsing.\n"+"As best effort webpack parses the ESM files to guess dependencies. But this can lead to expensive and incorrect tracking.");this._warnAboutExperimentalEsmTracking=true}const $=R(76218);$.init.then((()=>{this.fs.readFile(Ke,((R,q)=>{if(R)return j(R);try{const R=ce(this.fs,Ke);const j=q.toString();const[G]=$.parse(j);for(const $ of G){try{let q;if($.d===-1){q=JSON.parse(j.substring($.s-1,$.e+1))}else if($.d>-1){let E=j.substring($.s,$.e).trim();if(E[0]==="'")E=`"${E.slice(1,-1).replace(/"/g,'\\"')}"`;q=JSON.parse(E)}else{continue}N({type:ze,context:R,path:q,expected:undefined,issuer:E})}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed at 'import(${j.substring($.s,$.e)})'.\n`+"Build dependencies behind this expression are ignored and might cause incorrect cache invalidation.");this.logger.debug(pathToString(E));this.logger.debug(N.stack)}}}catch(N){this.logger.warn(`Parsing of ${Ke} for build dependencies failed and all dependencies of this file are ignored, which might cause incorrect cache invalidation..`);this.logger.debug(pathToString(E));this.logger.debug(N.stack)}process.nextTick(j)}))}),j);break}else{this.logger.log(`Assuming ${Ke} has no dependencies as we were unable to assign it to any module system.`);this.logger.debug(pathToString(E))}process.nextTick(j);break}case Ve:{const R=/(^.+[\\/]node_modules[\\/](?:@[^\\/]+[\\/])?[^\\/]+)/.exec(Ke);const $=R?R[1]:Ke;const q=ae(this.fs,$,"package.json");this.fs.readFile(q,((R,G)=>{if(R){if(R.code==="ENOENT"){Qe.add(q);const R=ce(this.fs,$);if(R!==$){N({type:Ve,context:undefined,path:R,expected:undefined,issuer:E})}j();return}return j(R)}Ge.add(q);let ie;try{ie=JSON.parse(G.toString("utf-8"))}catch(E){return j(E)}const ae=ie.dependencies;const le=ie.optionalDependencies;const _e=new Set;const Ee=new Set;if(typeof ae==="object"&&ae){for(const E of Object.keys(ae)){_e.add(E)}}if(typeof le==="object"&&le){for(const E of Object.keys(le)){_e.add(E);Ee.add(E)}}for(const R of _e){N({type:Be,context:$,path:R,expected:!Ee.has(R),issuer:E})}j()}));break}}}),(E=>{if(E)return j(E);for(const E of Ee)_e.delete(E);for(const E of Ne)Ie.delete(E);for(const E of Ye)Xe.delete(E);j(null,{files:_e,directories:Ie,missing:He,resolveResults:Xe,resolveDependencies:{files:Ge,directories:Ke,missing:Qe}})}))}checkResolveResultsValid(E,N){const{resolveCjs:R,resolveCjsAsChild:j,resolveEsm:q,resolveContext:G}=this._createBuildDependenciesResolvers();$.eachLimit(E,20,(([E,N],$)=>{const[ie,ae,ce]=E.split("\n");switch(ie){case"d":G(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"f":R(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"c":j(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;case"e":q(ae,ce,{},((E,R,j)=>{if(N===false)return $(E?undefined:He);if(E)return $(E);const q=j.path;if(q!==N)return $(He);$()}));break;default:$(new Error("Unexpected type in resolve result key"));break}}),(E=>{if(E===He){return N(null,false)}if(E){return N(E)}return N(null,true)}))}createSnapshot(E,N,R,j,$,q){const G=new Map;const ie=new Map;const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;const Ee=new Map;const Te=new Map;const we=new Set;const Ie=new Set;const Ne=new Set;const Me=new Set;const Le=new Snapshot;if(E)Le.setStartTime(E);const Be=new Set;const je=$&&$.hash?$.timestamp?3:2:1;let Ue=1;const jobDone=()=>{if(--Ue===0){if(G.size!==0){Le.setFileTimestamps(G)}if(ie.size!==0){Le.setFileHashes(ie)}if(ae.size!==0){Le.setFileTshs(ae)}if(ce.size!==0){Le.setContextTimestamps(ce)}if(le.size!==0){Le.setContextHashes(le)}if(_e.size!==0){Le.setContextTshs(_e)}if(Ee.size!==0){Le.setMissingExistence(Ee)}if(Te.size!==0){Le.setManagedItemInfo(Te)}this._managedFilesOptimization.optimize(Le,we);if(we.size!==0){Le.setManagedFiles(we)}this._managedContextsOptimization.optimize(Le,Ie);if(Ie.size!==0){Le.setManagedContexts(Ie)}this._managedMissingOptimization.optimize(Le,Ne);if(Ne.size!==0){Le.setManagedMissing(Ne)}if(Me.size!==0){Le.setChildren(Me)}this._snapshotCache.set(Le,true);this._statCreatedSnapshots++;q(null,Le)}};const jobError=()=>{if(Ue>0){Ue=-1e8;q(null,null)}};const checkManaged=(E,N)=>{for(const R of this.immutablePathsRegExps){if(R.test(E)){N.add(E);return true}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){N.add(E);return true}}for(const R of this.managedPathsRegExps){const j=R.exec(E);if(j){const R=getManagedItem(j[1],E);if(R){Be.add(R);N.add(E);return true}}}for(const R of this.managedPathsWithSlash){if(E.startsWith(R)){const j=getManagedItem(R,E);if(j){Be.add(j);N.add(E);return true}}}return false};const captureNonManaged=(E,N)=>{const R=new Set;for(const j of E){if(!checkManaged(j,N))R.add(j)}return R};if(N){const E=captureNonManaged(N,we);switch(je){case 3:this._fileTshsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTshs.get(N);if(E!==undefined){ae.set(N,E)}else{Ue++;this._getFileTimestampAndHash(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{ae.set(N,R);jobDone()}}))}}break;case 2:this._fileHashesOptimization.optimize(Le,E);for(const N of E){const E=this._fileHashes.get(N);if(E!==undefined){ie.set(N,E)}else{Ue++;this.fileHashQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file hash of ${N}: ${E.stack}`)}jobError()}else{ie.set(N,R);jobDone()}}))}}break;case 1:this._fileTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){G.set(N,E)}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting file timestamp of ${N}: ${E.stack}`)}jobError()}else{G.set(N,R);jobDone()}}))}}break}}if(R){const E=captureNonManaged(R,Ie);switch(je){case 3:this._contextTshsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTshs.get(N);let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){_e.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp hash combination of ${N}: ${E.stack}`)}jobError()}else{_e.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTsh(E,callback)}else{this.getContextTsh(N,callback)}}}break;case 2:this._contextHashesOptimization.optimize(Le,E);for(const N of E){const E=this._contextHashes.get(N);let R;if(E!==undefined&&(R=getResolvedHash(E))!==undefined){le.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context hash of ${N}: ${E.stack}`)}jobError()}else{le.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextHash(E,callback)}else{this.getContextHash(N,callback)}}}break;case 1:this._contextTimestampsOptimization.optimize(Le,E);for(const N of E){const E=this._contextTimestamps.get(N);if(E==="ignore")continue;let R;if(E!==undefined&&(R=getResolvedTimestamp(E))!==undefined){ce.set(N,R)}else{Ue++;const callback=(E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting context timestamp of ${N}: ${E.stack}`)}jobError()}else{ce.set(N,R);jobDone()}};if(E!==undefined){this._resolveContextTimestamp(E,callback)}else{this.getContextTimestamp(N,callback)}}}break}}if(j){const E=captureNonManaged(j,Ne);this._missingExistenceOptimization.optimize(Le,E);for(const N of E){const E=this._fileTimestamps.get(N);if(E!==undefined){if(E!=="ignore"){Ee.set(N,Boolean(E))}}else{Ue++;this.fileTimestampQueue.add(N,((E,R)=>{if(E){if(this.logger){this.logger.debug(`Error snapshotting missing timestamp of ${N}: ${E.stack}`)}jobError()}else{Ee.set(N,Boolean(R));jobDone()}}))}}}this._managedItemInfoOptimization.optimize(Le,Be);for(const E of Be){const N=this._managedItems.get(E);if(N!==undefined){Te.set(E,N)}else{Ue++;this.managedItemQueue.add(E,((N,R)=>{if(N){if(this.logger){this.logger.debug(`Error snapshotting managed item ${E}: ${N.stack}`)}jobError()}else{Te.set(E,R);jobDone()}}))}}jobDone()}mergeSnapshots(E,N){const R=new Snapshot;if(E.hasStartTime()&&N.hasStartTime())R.setStartTime(Math.min(E.startTime,N.startTime));else if(N.hasStartTime())R.startTime=N.startTime;else if(E.hasStartTime())R.startTime=E.startTime;if(E.hasFileTimestamps()||N.hasFileTimestamps()){R.setFileTimestamps(mergeMaps(E.fileTimestamps,N.fileTimestamps))}if(E.hasFileHashes()||N.hasFileHashes()){R.setFileHashes(mergeMaps(E.fileHashes,N.fileHashes))}if(E.hasFileTshs()||N.hasFileTshs()){R.setFileTshs(mergeMaps(E.fileTshs,N.fileTshs))}if(E.hasContextTimestamps()||N.hasContextTimestamps()){R.setContextTimestamps(mergeMaps(E.contextTimestamps,N.contextTimestamps))}if(E.hasContextHashes()||N.hasContextHashes()){R.setContextHashes(mergeMaps(E.contextHashes,N.contextHashes))}if(E.hasContextTshs()||N.hasContextTshs()){R.setContextTshs(mergeMaps(E.contextTshs,N.contextTshs))}if(E.hasMissingExistence()||N.hasMissingExistence()){R.setMissingExistence(mergeMaps(E.missingExistence,N.missingExistence))}if(E.hasManagedItemInfo()||N.hasManagedItemInfo()){R.setManagedItemInfo(mergeMaps(E.managedItemInfo,N.managedItemInfo))}if(E.hasManagedFiles()||N.hasManagedFiles()){R.setManagedFiles(mergeSets(E.managedFiles,N.managedFiles))}if(E.hasManagedContexts()||N.hasManagedContexts()){R.setManagedContexts(mergeSets(E.managedContexts,N.managedContexts))}if(E.hasManagedMissing()||N.hasManagedMissing()){R.setManagedMissing(mergeSets(E.managedMissing,N.managedMissing))}if(E.hasChildren()||N.hasChildren()){R.setChildren(mergeSets(E.children,N.children))}if(this._snapshotCache.get(E)===true&&this._snapshotCache.get(N)===true){this._snapshotCache.set(R,true)}return R}checkSnapshotValid(E,N){const R=this._snapshotCache.get(E);if(R!==undefined){this._statTestedSnapshotsCached++;if(typeof R==="boolean"){N(null,R)}else{R.push(N)}return}this._statTestedSnapshotsNotCached++;this._checkSnapshotValidNoCache(E,N)}_checkSnapshotValidNoCache(E,N){let R=undefined;if(E.hasStartTime()){R=E.startTime}let j=1;const jobDone=()=>{if(--j===0){this._snapshotCache.set(E,true);N(null,true)}};const invalid=()=>{if(j>0){j=-1e8;this._snapshotCache.set(E,false);N(null,false)}};const invalidWithError=(E,N)=>{if(this._remainingLogs>0){this._log(E,`error occurred: %s`,N)}invalid()};const checkHash=(E,N,R)=>{if(N!==R){if(this._remainingLogs>0){this._log(E,`hashes differ (%s != %s)`,N,R)}return false}return true};const checkExistence=(E,N,R)=>{if(!N!==!R){if(this._remainingLogs>0){this._log(E,N?"it didn't exist before":"it does no longer exist")}return false}return true};const checkFile=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestamp!==undefined&&N.timestamp!==j.timestamp){if($&&this._remainingLogs>0){this._log(E,`timestamps differ (%d != %d)`,N.timestamp,j.timestamp)}return false}}return true};const checkContext=(E,N,j,$=true)=>{if(N===j)return true;if(!checkExistence(E,Boolean(N),Boolean(j)))return false;if(N){if(typeof R==="number"&&N.safeTime>R){if($&&this._remainingLogs>0){this._log(E,`it may have changed (%d) after the start time of the snapshot (%d)`,N.safeTime,R)}return false}if(j.timestampHash!==undefined&&N.timestampHash!==j.timestampHash){if($&&this._remainingLogs>0){this._log(E,`timestamps hashes differ (%s != %s)`,N.timestampHash,j.timestampHash)}return false}}return true};if(E.hasChildren()){const childCallback=(E,N)=>{if(E||!N)return invalid();else jobDone()};for(const N of E.children){const E=this._snapshotCache.get(N);if(E!==undefined){this._statTestedChildrenCached++;if(typeof E==="boolean"){if(E===false){invalid();return}}else{j++;E.push(childCallback)}}else{this._statTestedChildrenNotCached++;j++;this._checkSnapshotValidNoCache(N,childCallback)}}}if(E.hasFileTimestamps()){const{fileTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkFile(E,N,R)){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R)){invalid()}else{jobDone()}}))}}}const processFileHashSnapshot=(E,N)=>{const R=this._fileHashes.get(E);if(R!==undefined){if(R!=="ignore"&&!checkHash(E,R,N)){invalid();return}}else{j++;this.fileHashQueue.add(E,((R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}}))}};if(E.hasFileHashes()){const{fileHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processFileHashSnapshot(E,R)}}if(E.hasFileTshs()){const{fileTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processFileHashSnapshot(E,R)}else{const N=this._fileTimestamps.get(E);if(N!==undefined){if(N==="ignore"||!checkFile(E,N,R,false)){processFileHashSnapshot(E,R&&R.hash)}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkFile(E,j,R,false)){processFileHashSnapshot(E,R&&R.hash)}jobDone()}))}}}}if(E.hasContextTimestamps()){const{contextTimestamps:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R)){invalid();return}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R)){invalid()}else{jobDone()}};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}const processContextHashSnapshot=(E,N)=>{const R=this._contextHashes.get(E);let $;if(R!==undefined&&($=getResolvedHash(R))!==undefined){if(!checkHash(E,$,N)){invalid();return}}else{j++;const callback=(R,j)=>{if(R)return invalidWithError(E,R);if(!checkHash(E,j,N)){invalid()}else{jobDone()}};if(R!==undefined){this._resolveContextHash(R,callback)}else{this.getContextHash(E,callback)}}};if(E.hasContextHashes()){const{contextHashes:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){processContextHashSnapshot(E,R)}}if(E.hasContextTshs()){const{contextTshs:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){if(typeof R==="string"){processContextHashSnapshot(E,R)}else{const N=this._contextTimestamps.get(E);if(N==="ignore")continue;let $;if(N!==undefined&&($=getResolvedTimestamp(N))!==undefined){if(!checkContext(E,$,R,false)){processContextHashSnapshot(E,R&&R.hash)}}else{j++;const callback=(N,j)=>{if(N)return invalidWithError(E,N);if(!checkContext(E,j,R,false)){processContextHashSnapshot(E,R&&R.hash)}jobDone()};if(N!==undefined){this._resolveContextTimestamp(N,callback)}else{this.getContextTimestamp(E,callback)}}}}}if(E.hasMissingExistence()){const{missingExistence:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._fileTimestamps.get(E);if(N!==undefined){if(N!=="ignore"&&!checkExistence(E,Boolean(N),Boolean(R))){invalid();return}}else{j++;this.fileTimestampQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkExistence(E,Boolean(j),Boolean(R))){invalid()}else{jobDone()}}))}}}if(E.hasManagedItemInfo()){const{managedItemInfo:N}=E;this._statTestedEntries+=N.size;for(const[E,R]of N){const N=this._managedItems.get(E);if(N!==undefined){if(!checkHash(E,N,R)){invalid();return}}else{j++;this.managedItemQueue.add(E,((N,j)=>{if(N)return invalidWithError(E,N);if(!checkHash(E,j,R)){invalid()}else{jobDone()}}))}}}jobDone();if(j>0){const R=[N];N=(E,N)=>{for(const j of R)j(E,N)};this._snapshotCache.set(E,R)}}_readFileTimestamp(E,N){this.fs.stat(E,((R,j)=>{if(R){if(R.code==="ENOENT"){this._fileTimestamps.set(E,null);this._cachedDeprecatedFileTimestamps=undefined;return N(null,null)}return N(R)}let $;if(j.isDirectory()){$={safeTime:0,timestamp:undefined}}else{const E=+j.mtime;if(E)applyMtime(E);$={safeTime:E?E+Ie:Infinity,timestamp:E}}this._fileTimestamps.set(E,$);this._cachedDeprecatedFileTimestamps=undefined;N(null,$)}))}_readFileHash(E,N){this.fs.readFile(E,((R,j)=>{if(R){if(R.code==="EISDIR"){this._fileHashes.set(E,"directory");return N(null,"directory")}if(R.code==="ENOENT"){this._fileHashes.set(E,null);return N(null,null)}if(R.code==="ERR_FS_FILE_TOO_LARGE"){this.logger.warn(`Ignoring ${E} for hashing as it's very large`);this._fileHashes.set(E,"too large");return N(null,"too large")}return N(R)}const $=ie(this._hashFunction);$.update(j);const q=$.digest("hex");this._fileHashes.set(E,q);N(null,q)}))}_getFileTimestampAndHash(E,N){const continueWithHash=R=>{const j=this._fileTimestamps.get(E);if(j!==undefined){if(j!=="ignore"){const $={...j,hash:R};this._fileTshs.set(E,$);return N(null,$)}else{this._fileTshs.set(E,R);return N(null,R)}}else{this.fileTimestampQueue.add(E,((j,$)=>{if(j){return N(j)}const q={...$,hash:R};this._fileTshs.set(E,q);return N(null,q)}))}};const R=this._fileHashes.get(E);if(R!==undefined){continueWithHash(R)}else{this.fileHashQueue.add(E,((E,R)=>{if(E){return N(E)}continueWithHash(R)}))}}_readContext({path:E,fromImmutablePath:N,fromManagedItem:R,fromSymlink:j,fromFile:q,fromDirectory:G,reduce:ie},ce){this.fs.readdir(E,((le,Ee)=>{if(le){if(le.code==="ENOENT"){return ce(null,null)}return ce(le)}const Te=Ee.map((E=>E.normalize("NFC"))).filter((E=>!/^\./.test(E))).sort();$.map(Te,(($,ie)=>{const ce=ae(this.fs,E,$);for(const R of this.immutablePathsRegExps){if(R.test(E)){return ie(null,N(E))}}for(const R of this.immutablePathsWithSlash){if(E.startsWith(R)){return ie(null,N(E))}}for(const N of this.managedPathsRegExps){const j=N.exec(E);if(j){const N=getManagedItem(j[1],E);if(N){return this.managedItemQueue.add(N,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}for(const N of this.managedPathsWithSlash){if(E.startsWith(N)){const E=getManagedItem(N,ce);if(E){return this.managedItemQueue.add(E,((E,N)=>{if(E)return ie(E);return ie(null,R(N))}))}}}_e(this.fs,ce,((E,N)=>{if(E)return ie(E);if(typeof N==="string"){return j(ce,N,ie)}if(N.isFile()){return q(ce,N,ie)}if(N.isDirectory()){return G(ce,N,ie)}ie(null,null)}))}),((E,N)=>{if(E)return ce(E);const R=ie(Te,N);ce(null,R)}))}))}_readContextTimestamp(E,N){this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{const j=this._fileTimestamps.get(E);if(j!==undefined)return R(null,j==="ignore"?null:j);const $=+N.mtime;if($)applyMtime($);const q={safeTime:$?$+Ie:Infinity,timestamp:$};this._fileTimestamps.set(E,q);this._cachedDeprecatedFileTimestamps=undefined;R(null,q)},fromDirectory:(E,N,R)=>{this.contextTimestampQueue.increaseParallelism();this._getUnresolvedContextTimestamp(E,((E,N)=>{this.contextTimestampQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);let $=0;for(const E of N){if(!E){j.update("n");continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){$=Math.max($,E.safeTime)}}const q=j.digest("hex");const G={safeTime:$,timestampHash:q};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTimestamps.set(E,j);this._cachedDeprecatedContextTimestamps=undefined;N(null,j)}))}_resolveContextTimestamp(E,N){const R=[];let j=0;Te(E.symlinks,10,((E,N,$)=>{this._getUnresolvedContextTimestamp(E,((E,q)=>{if(E)return $(E);if(q&&q!=="ignore"){R.push(q.timestampHash);if(q.safeTime){j=Math.max(j,q.safeTime)}if(q.symlinks!==undefined){for(const E of q.symlinks)N(E)}}$()}))}),($=>{if($)return N($);const q=ie(this._hashFunction);q.update(E.timestampHash);if(E.safeTime){j=Math.max(j,E.safeTime)}R.sort();for(const E of R){q.update(E)}N(null,E.resolved={safeTime:j,timestampHash:q.digest("hex")})}))}_readContextHash(E,N){this._readContext({path:E,fromImmutablePath:()=>"",fromManagedItem:E=>E||"",fromSymlink:(E,N,R)=>{R(null,{hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>this.getFileHash(E,((E,N)=>{R(E,N||"")})),fromDirectory:(E,N,R)=>{this.contextHashQueue.increaseParallelism();this._getUnresolvedContextHash(E,((E,N)=>{this.contextHashQueue.decreaseParallelism();R(E,N||"")}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);for(const N of E)j.update(N);for(const E of N){if(typeof E==="string"){j.update(E)}else{j.update(E.hash);if(E.symlinks){if(R===undefined)R=new Set;addAll(E.symlinks,R)}}}const $={hash:j.digest("hex")};if(R)$.symlinks=R;return $}},((R,j)=>{if(R)return N(R);this._contextHashes.set(E,j);return N(null,j)}))}_resolveContextHash(E,N){const R=[];Te(E.symlinks,10,((E,N,j)=>{this._getUnresolvedContextHash(E,((E,$)=>{if(E)return j(E);if($){R.push($.hash);if($.symlinks!==undefined){for(const E of $.symlinks)N(E)}}j()}))}),(j=>{if(j)return N(j);const $=ie(this._hashFunction);$.update(E.hash);R.sort();for(const E of R){$.update(E)}N(null,E.resolved=$.digest("hex"))}))}_readContextTimestampAndHash(E,N){const finalize=(R,j)=>{const $=R==="ignore"?j:{...R,...j};this._contextTshs.set(E,$);N(null,$)};const R=this._contextHashes.get(E);const j=this._contextTimestamps.get(E);if(R!==undefined){if(j!==undefined){finalize(j,R)}else{this.contextTimestampQueue.add(E,((E,j)=>{if(E)return N(E);finalize(j,R)}))}}else{if(j!==undefined){this.contextHashQueue.add(E,((E,R)=>{if(E)return N(E);finalize(j,R)}))}else{this._readContext({path:E,fromImmutablePath:()=>null,fromManagedItem:E=>({safeTime:0,timestampHash:E,hash:E||""}),fromSymlink:(E,N,R)=>{R(null,{timestampHash:N,hash:N,symlinks:new Set([N])})},fromFile:(E,N,R)=>{this._getFileTimestampAndHash(E,R)},fromDirectory:(E,N,R)=>{this.contextTshQueue.increaseParallelism();this.contextTshQueue.add(E,((E,N)=>{this.contextTshQueue.decreaseParallelism();R(E,N)}))},reduce:(E,N)=>{let R=undefined;const j=ie(this._hashFunction);const $=ie(this._hashFunction);for(const N of E){j.update(N);$.update(N)}let q=0;for(const E of N){if(!E){j.update("n");continue}if(typeof E==="string"){j.update("n");$.update(E);continue}if(E.timestamp){j.update("f");j.update(`${E.timestamp}`)}else if(E.timestampHash){j.update("d");j.update(`${E.timestampHash}`)}if(E.symlinks!==undefined){if(R===undefined)R=new Set;addAll(E.symlinks,R)}if(E.safeTime){q=Math.max(q,E.safeTime)}$.update(E.hash)}const G={safeTime:q,timestampHash:j.digest("hex"),hash:$.digest("hex")};if(R)G.symlinks=R;return G}},((R,j)=>{if(R)return N(R);this._contextTshs.set(E,j);return N(null,j)}))}}}_resolveContextTsh(E,N){const R=[];const j=[];let $=0;Te(E.symlinks,10,((E,N,q)=>{this._getUnresolvedContextTsh(E,((E,G)=>{if(E)return q(E);if(G){R.push(G.hash);if(G.timestampHash)j.push(G.timestampHash);if(G.safeTime){$=Math.max($,G.safeTime)}if(G.symlinks!==undefined){for(const E of G.symlinks)N(E)}}q()}))}),(q=>{if(q)return N(q);const G=ie(this._hashFunction);const ae=ie(this._hashFunction);G.update(E.hash);if(E.timestampHash)ae.update(E.timestampHash);if(E.safeTime){$=Math.max($,E.safeTime)}R.sort();for(const E of R){G.update(E)}j.sort();for(const E of j){ae.update(E)}N(null,E.resolved={safeTime:$,timestampHash:ae.digest("hex"),hash:G.digest("hex")})}))}_getManagedItemDirectoryInfo(E,N){this.fs.readdir(E,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){return N(null,Ne)}return N(R)}const $=new Set(j.map((N=>ae(this.fs,E,N))));N(null,$)}))}_getManagedItemInfo(E,N){const R=ce(this.fs,E);this.managedItemDirectoryQueue.add(R,((R,j)=>{if(R){return N(R)}if(!j.has(E)){this._managedItems.set(E,"missing");return N(null,"missing")}if(E.endsWith("node_modules")&&(E.endsWith("/node_modules")||E.endsWith("\\node_modules"))){this._managedItems.set(E,"exists");return N(null,"exists")}const $=ae(this.fs,E,"package.json");this.fs.readFile($,((R,j)=>{if(R){if(R.code==="ENOENT"||R.code==="ENOTDIR"){this.fs.readdir(E,((R,j)=>{if(!R&&j.length===1&&j[0]==="node_modules"){this._managedItems.set(E,"nested");return N(null,"nested")}const $=`Managed item ${E} isn't a directory or doesn't contain a package.json`;this.logger.warn($);return N(new Error($))}));return}return N(R)}let $;try{$=JSON.parse(j.toString("utf-8"))}catch(E){return N(E)}const q=`${$.name||""}@${$.version||""}`;this._managedItems.set(E,q);N(null,q)}))}))}getDeprecatedFileTimestamps(){if(this._cachedDeprecatedFileTimestamps!==undefined)return this._cachedDeprecatedFileTimestamps;const E=new Map;for(const[N,R]of this._fileTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedFileTimestamps=E}getDeprecatedContextTimestamps(){if(this._cachedDeprecatedContextTimestamps!==undefined)return this._cachedDeprecatedContextTimestamps;const E=new Map;for(const[N,R]of this._contextTimestamps){if(R)E.set(N,typeof R==="object"?R.safeTime:null)}return this._cachedDeprecatedContextTimestamps=E}}E.exports=FileSystemInfo;E.exports.Snapshot=Snapshot},6283:(E,N,R)=>{"use strict";const{getEntryRuntime:j,mergeRuntimeOwned:$}=R(37416);class FlagAllModulesAsUsedPlugin{constructor(E){this.explanation=E}apply(E){E.hooks.compilation.tap("FlagAllModulesAsUsedPlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap("FlagAllModulesAsUsedPlugin",(R=>{let q=undefined;for(const[N,{options:R}]of E.entries){q=$(q,j(E,N,R))}for(const E of R){const R=N.getExportsInfo(E);R.setUsedInUnknownWay(q);N.addExtraReason(E,this.explanation);if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=false}}))}))}}E.exports=FlagAllModulesAsUsedPlugin},95629:(E,N,R)=>{"use strict";const j=R(62355);const $=R(39541);class FlagDependencyExportsPlugin{apply(E){E.hooks.compilation.tap("FlagDependencyExportsPlugin",(E=>{const N=E.moduleGraph;const R=E.getCache("FlagDependencyExportsPlugin");E.hooks.finishModules.tapAsync("FlagDependencyExportsPlugin",((q,G)=>{const ie=E.getLogger("webpack.FlagDependencyExportsPlugin");let ae=0;let ce=0;let le=0;let _e=0;let Ee=0;let Te=0;const{moduleMemCaches:we}=E;const Ie=new $;ie.time("restore cached provided exports");j.each(q,((E,j)=>{const $=N.getExportsInfo(E);if(!E.buildMeta||!E.buildMeta.exportsType){if($.otherExportsInfo.provided!==null){le++;$.setHasProvideInfo();$.setUnknownExportsProvided();return j()}}if(typeof E.buildInfo.hash!=="string"){_e++;Ie.enqueue(E);$.setHasProvideInfo();return j()}const q=we&&we.get(E);const G=q&&q.get(this);if(G!==undefined){ae++;$.restoreProvided(G);return j()}R.get(E.identifier(),E.buildInfo.hash,((N,R)=>{if(N)return j(N);if(R!==undefined){ce++;$.restoreProvided(R)}else{Ee++;Ie.enqueue(E);$.setHasProvideInfo()}j()}))}),(E=>{ie.timeEnd("restore cached provided exports");if(E)return G(E);const $=new Set;const q=new Map;let Ne;let Me;const Le=new Map;let Be=true;let je=false;const processDependenciesBlock=E=>{for(const N of E.dependencies){processDependency(N)}for(const N of E.blocks){processDependenciesBlock(N)}};const processDependency=E=>{const R=E.getExports(N);if(!R)return;Le.set(E,R)};const processExportsSpec=(E,R)=>{const j=R.exports;const $=R.canMangle;const G=R.from;const ie=R.priority;const ae=R.terminalBinding||false;const ce=R.dependencies;if(R.hideExports){for(const N of R.hideExports){const R=Me.getExportInfo(N);R.unsetTarget(E)}}if(j===true){if(Me.setUnknownExportsProvided($,R.excludeExports,G&&E,G,ie)){je=true}}else if(Array.isArray(j)){const mergeExports=(R,j)=>{for(const ce of j){let j;let le=$;let _e=ae;let Ee=undefined;let Te=G;let we=undefined;let Ie=ie;let Me=false;if(typeof ce==="string"){j=ce}else{j=ce.name;if(ce.canMangle!==undefined)le=ce.canMangle;if(ce.export!==undefined)we=ce.export;if(ce.exports!==undefined)Ee=ce.exports;if(ce.from!==undefined)Te=ce.from;if(ce.priority!==undefined)Ie=ce.priority;if(ce.terminalBinding!==undefined)_e=ce.terminalBinding;if(ce.hidden!==undefined)Me=ce.hidden}const Le=R.getExportInfo(j);if(Le.provided===false||Le.provided===null){Le.provided=true;je=true}if(Le.canMangleProvide!==false&&le===false){Le.canMangleProvide=false;je=true}if(_e&&!Le.terminalBinding){Le.terminalBinding=true;je=true}if(Ee){const E=Le.createNestedExportsInfo();mergeExports(E,Ee)}if(Te&&(Me?Le.unsetTarget(E):Le.setTarget(E,Te,we===undefined?[j]:we,Ie))){je=true}const Be=Le.getTarget(N);let Ue=undefined;if(Be){const E=N.getExportsInfo(Be.module);Ue=E.getNestedExportsInfo(Be.export);const R=q.get(Be.module);if(R===undefined){q.set(Be.module,new Set([Ne]))}else{R.add(Ne)}}if(Le.exportsInfoOwned){if(Le.exportsInfo.setRedirectNamedTo(Ue)){je=true}}else if(Le.exportsInfo!==Ue){Le.exportsInfo=Ue;je=true}}};mergeExports(Me,j)}if(ce){Be=false;for(const E of ce){const N=q.get(E);if(N===undefined){q.set(E,new Set([Ne]))}else{N.add(Ne)}}}};const notifyDependencies=()=>{const E=q.get(Ne);if(E!==undefined){for(const N of E){Ie.enqueue(N)}}};ie.time("figure out provided exports");while(Ie.length>0){Ne=Ie.dequeue();Te++;Me=N.getExportsInfo(Ne);Be=true;je=false;Le.clear();N.freeze();processDependenciesBlock(Ne);N.unfreeze();for(const[E,N]of Le){processExportsSpec(E,N)}if(Be){$.add(Ne)}if(je){notifyDependencies()}}ie.timeEnd("figure out provided exports");ie.log(`${Math.round(100*(_e+Ee)/(ae+ce+Ee+_e+le))}% of exports of modules have been determined (${le} no declared exports, ${Ee} not cached, ${_e} flagged uncacheable, ${ce} from cache, ${ae} from mem cache, ${Te-Ee-_e} additional calculations due to dependencies)`);ie.time("store provided exports into cache");j.each($,((E,j)=>{if(typeof E.buildInfo.hash!=="string"){return j()}const $=N.getExportsInfo(E).getRestoreProvidedData();const q=we&&we.get(E);if(q){q.set(this,$)}R.store(E.identifier(),E.buildInfo.hash,$,j)}),(E=>{ie.timeEnd("store provided exports into cache");G(E)}))}))}));const q=new WeakMap;E.hooks.rebuildModule.tap("FlagDependencyExportsPlugin",(E=>{q.set(E,N.getExportsInfo(E).getRestoreProvidedData())}));E.hooks.finishRebuildingModule.tap("FlagDependencyExportsPlugin",(E=>{N.getExportsInfo(E).restoreProvided(q.get(E))}))}))}}E.exports=FlagDependencyExportsPlugin},1596:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(79900);const{STAGE_DEFAULT:G}=R(82414);const ie=R(56561);const ae=R(34194);const{getEntryRuntime:ce,mergeRuntimeOwned:le}=R(37416);const{NO_EXPORTS_REFERENCED:_e,EXPORTS_OBJECT_REFERENCED:Ee}=j;class FlagDependencyUsagePlugin{constructor(E){this.global=E}apply(E){E.hooks.compilation.tap("FlagDependencyUsagePlugin",(E=>{const N=E.moduleGraph;E.hooks.optimizeDependencies.tap({name:"FlagDependencyUsagePlugin",stage:G},(R=>{if(E.moduleMemCaches){throw new Error("optimization.usedExports can't be used with cacheUnaffected as export usage is a global effect")}const j=E.getLogger("webpack.FlagDependencyUsagePlugin");const G=new Map;const Te=new ae;const processReferencedModule=(E,R,j,q)=>{const ie=N.getExportsInfo(E);if(R.length>0){if(!E.buildMeta||!E.buildMeta.exportsType){if(ie.setUsedWithoutInfo(j)){Te.enqueue(E,j)}return}for(const N of R){let R;let q=true;if(Array.isArray(N)){R=N}else{R=N.name;q=N.canMangle!==false}if(R.length===0){if(ie.setUsedInUnknownWay(j)){Te.enqueue(E,j)}}else{let N=ie;for(let ae=0;aeE===$.Unused),$.OnlyPropertiesUsed,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}N=R;continue}}if(ce.setUsedConditionally((E=>E!==$.Used),$.Used,j)){const R=N===ie?E:G.get(N);if(R){Te.enqueue(R,j)}}break}}}}else{if(!q&&E.factoryMeta!==undefined&&E.factoryMeta.sideEffectFree){return}if(ie.setUsedForSideEffectsOnly(j)){Te.enqueue(E,j)}}};const processModule=(R,j,$)=>{const G=new Map;const ae=new ie;ae.enqueue(R);for(;;){const R=ae.dequeue();if(R===undefined)break;for(const E of R.blocks){if(!this.global&&E.groupOptions&&E.groupOptions.entryOptions){processModule(E,E.groupOptions.entryOptions.runtime||undefined,true)}else{ae.enqueue(E)}}for(const $ of R.dependencies){const R=N.getConnection($);if(!R||!R.module){continue}const ie=R.getActiveState(j);if(ie===false)continue;const{module:ae}=R;if(ie===q.TRANSITIVE_ONLY){processModule(ae,j,false);continue}const ce=G.get(ae);if(ce===Ee){continue}const le=E.getDependencyReferencedExports($,j);if(ce===undefined||ce===_e||le===Ee){G.set(ae,le)}else if(ce!==undefined&&le===_e){continue}else{let E;if(Array.isArray(ce)){E=new Map;for(const N of ce){if(Array.isArray(N)){E.set(N.join("\n"),N)}else{E.set(N.name.join("\n"),N)}}G.set(ae,E)}else{E=ce}for(const N of le){if(Array.isArray(N)){const R=N.join("\n");const j=E.get(R);if(j===undefined){E.set(R,N)}}else{const R=N.name.join("\n");const j=E.get(R);if(j===undefined||Array.isArray(j)){E.set(R,N)}else{E.set(R,{name:N.name,canMangle:N.canMangle&&j.canMangle})}}}}}}for(const[E,N]of G){if(Array.isArray(N)){processReferencedModule(E,N,j,$)}else{processReferencedModule(E,Array.from(N.values()),j,$)}}};j.time("initialize exports usage");for(const E of R){const R=N.getExportsInfo(E);G.set(R,E);R.setHasUseInfo()}j.timeEnd("initialize exports usage");j.time("trace exports usage in graph");const processEntryDependency=(E,R)=>{const j=N.getModule(E);if(j){processReferencedModule(j,_e,R,true)}};let we=undefined;for(const[N,{dependencies:R,includeDependencies:j,options:$}]of E.entries){const q=this.global?undefined:ce(E,N,$);for(const E of R){processEntryDependency(E,q)}for(const E of j){processEntryDependency(E,q)}we=le(we,q)}for(const N of E.globalEntry.dependencies){processEntryDependency(N,we)}for(const N of E.globalEntry.includeDependencies){processEntryDependency(N,we)}while(Te.length){const[E,N]=Te.dequeue();processModule(E,N,false)}j.timeEnd("trace exports usage in graph")}))}))}}E.exports=FlagDependencyUsagePlugin},36253:(E,N,R)=>{"use strict";class Generator{static byType(E){return new ByTypeGenerator(E)}getTypes(E){const N=R(75884);throw new N}getSize(E,N){const j=R(75884);throw new j}generate(E,{dependencyTemplates:N,runtimeTemplate:j,moduleGraph:$,type:q}){const G=R(75884);throw new G}getConcatenationBailoutReason(E,N){return`Module Concatenation is not implemented for ${this.constructor.name}`}updateHash(E,{module:N,runtime:R}){}}class ByTypeGenerator extends Generator{constructor(E){super();this.map=E;this._types=new Set(Object.keys(E))}getTypes(E){return this._types}getSize(E,N){const R=N||"javascript";const j=this.map[R];return j?j.getSize(E,R):0}generate(E,N){const R=N.type;const j=this.map[R];if(!j){throw new Error(`Generator.byType: no generator specified for ${R}`)}return j.generate(E,N)}}E.exports=Generator},4642:(E,N)=>{"use strict";const connectChunkGroupAndChunk=(E,N)=>{if(E.pushChunk(N)){N.addGroup(E)}};const connectChunkGroupParentAndChild=(E,N)=>{if(E.addChild(N)){N.addParent(E)}};N.connectChunkGroupAndChunk=connectChunkGroupAndChunk;N.connectChunkGroupParentAndChild=connectChunkGroupParentAndChild},36756:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class HarmonyLinkingError extends j{constructor(E){super(E);this.name="HarmonyLinkingError";this.hideStack=true}}},3728:(E,N,R)=>{"use strict";const j=R(81627);class HookWebpackError extends j{constructor(E,N){super(E.message);this.name="HookWebpackError";this.hook=N;this.error=E;this.hideStack=true;this.details=`caused by plugins in ${N}\n${E.stack}`;this.stack+=`\n-- inner error --\n${E.stack}`}}E.exports=HookWebpackError;const makeWebpackError=(E,N)=>{if(E instanceof j)return E;return new HookWebpackError(E,N)};E.exports.makeWebpackError=makeWebpackError;const makeWebpackErrorCallback=(E,N)=>(R,$)=>{if(R){if(R instanceof j){E(R);return}E(new HookWebpackError(R,N));return}E(null,$)};E.exports.makeWebpackErrorCallback=makeWebpackErrorCallback;const tryRunOrWebpackError=(E,N)=>{let R;try{R=E()}catch(E){if(E instanceof j){throw E}throw new HookWebpackError(E,N)}return R};E.exports.tryRunOrWebpackError=tryRunOrWebpackError},79972:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$}=R(48135);const q=R(45137);const G=R(3080);const ie=R(22352);const ae=R(53520);const ce=R(76150);const le=R(81627);const _e=R(66298);const Ee=R(76302);const Te=R(5389);const we=R(21809);const Ie=R(73158);const Ne=R(79838);const Me=R(3711);const{evaluateToIdentifier:Le}=R(48472);const{find:Be,isSubset:je}=R(26221);const Ue=R(86949);const{compareModulesById:ze}=R(68673);const{getRuntimeKey:We,keyToRuntime:Je,forEachRuntime:Ve,mergeRuntimeOwned:qe,subtractRuntime:He,intersectRuntime:Ge}=R(37416);const Ke=new WeakMap;class HotModuleReplacementPlugin{static getParserHooks(E){if(!(E instanceof Me)){throw new TypeError("The 'parser' argument must be an instance of JavascriptParser")}let N=Ke.get(E);if(N===undefined){N={hotAcceptCallback:new j(["expression","requests"]),hotAcceptWithoutCallback:new j(["expression","requests"])};Ke.set(E,N)}return N}constructor(E){this.options=E||{}}apply(E){const{_backCompat:N}=E;if(E.options.output.strictModuleErrorHandling===undefined)E.options.output.strictModuleErrorHandling=true;const R=[ce.module];const createAcceptHandler=(E,N)=>{const{hotAcceptCallback:j,hotAcceptWithoutCallback:$}=HotModuleReplacementPlugin.getParserHooks(E);return q=>{const G=E.state.module;const ie=new _e(`${G.moduleArgument}.hot.accept`,q.callee.range,R);ie.loc=q.loc;G.addPresentationalDependency(ie);G.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(q.arguments.length>=1){const R=E.evaluateExpression(q.arguments[0]);let ie=[];let ae=[];if(R.isString()){ie=[R]}else if(R.isArray()){ie=R.items.filter((E=>E.isString()))}if(ie.length>0){ie.forEach(((E,R)=>{const j=E.string;const $=new N(j,E.range);$.optional=true;$.loc=Object.create(q.loc);$.loc.index=R;G.addDependency($);ae.push(j)}));if(q.arguments.length>1){j.call(q.arguments[1],ae);for(let N=1;Nj=>{const $=E.state.module;const q=new _e(`${$.moduleArgument}.hot.decline`,j.callee.range,R);q.loc=j.loc;$.addPresentationalDependency(q);$.buildInfo.moduleConcatenationBailout="Hot Module Replacement";if(j.arguments.length===1){const R=E.evaluateExpression(j.arguments[0]);let q=[];if(R.isString()){q=[R]}else if(R.isArray()){q=R.items.filter((E=>E.isString()))}q.forEach(((E,R)=>{const q=new N(E.string,E.range);q.optional=true;q.loc=Object.create(j.loc);q.loc.index=R;$.addDependency(q)}))}return true};const createHMRExpressionHandler=E=>N=>{const j=E.state.module;const $=new _e(`${j.moduleArgument}.hot`,N.range,R);$.loc=N.loc;j.addPresentationalDependency($);j.buildInfo.moduleConcatenationBailout="Hot Module Replacement";return true};const applyModuleHot=E=>{E.hooks.evaluateIdentifier.for("module.hot").tap({name:"HotModuleReplacementPlugin",before:"NodeStuffPlugin"},(E=>Le("module.hot","module",(()=>["hot"]),true)(E)));E.hooks.call.for("module.hot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,we));E.hooks.call.for("module.hot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Ie));E.hooks.expression.for("module.hot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};const applyImportMetaHot=E=>{E.hooks.evaluateIdentifier.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",(E=>Le("import.meta.webpackHot","import.meta",(()=>["webpackHot"]),true)(E)));E.hooks.call.for("import.meta.webpackHot.accept").tap("HotModuleReplacementPlugin",createAcceptHandler(E,Ee));E.hooks.call.for("import.meta.webpackHot.decline").tap("HotModuleReplacementPlugin",createDeclineHandler(E,Te));E.hooks.expression.for("import.meta.webpackHot").tap("HotModuleReplacementPlugin",createHMRExpressionHandler(E))};E.hooks.compilation.tap("HotModuleReplacementPlugin",((R,{normalModuleFactory:j})=>{if(R.compiler!==E)return;R.dependencyFactories.set(we,j);R.dependencyTemplates.set(we,new we.Template);R.dependencyFactories.set(Ie,j);R.dependencyTemplates.set(Ie,new Ie.Template);R.dependencyFactories.set(Ee,j);R.dependencyTemplates.set(Ee,new Ee.Template);R.dependencyFactories.set(Te,j);R.dependencyTemplates.set(Te,new Te.Template);let _e=0;const Me={};const Le={};R.hooks.record.tap("HotModuleReplacementPlugin",((E,N)=>{if(N.hash===E.hash)return;const R=E.chunkGraph;N.hash=E.hash;N.hotIndex=_e;N.fullHashChunkModuleHashes=Me;N.chunkModuleHashes=Le;N.chunkHashes={};N.chunkRuntime={};for(const R of E.chunks){N.chunkHashes[R.id]=R.hash;N.chunkRuntime[R.id]=We(R.runtime)}N.chunkModuleIds={};for(const j of E.chunks){N.chunkModuleIds[j.id]=Array.from(R.getOrderedChunkModulesIterable(j,ze(R)),(E=>R.getModuleId(E)))}}));const Ke=new Ue;const Qe=new Ue;const Xe=new Ue;R.hooks.fullHash.tap("HotModuleReplacementPlugin",(E=>{const N=R.chunkGraph;const j=R.records;for(const E of R.chunks){const getModuleHash=j=>{if(R.codeGenerationResults.has(j,E.runtime)){return R.codeGenerationResults.getHash(j,E.runtime)}else{Xe.add(j,E.runtime);return N.getModuleHash(j,E.runtime)}};const $=N.getChunkFullHashModulesSet(E);if($!==undefined){for(const N of $){Qe.add(N,E)}}const q=N.getChunkModulesIterable(E);if(q!==undefined){if(j.chunkModuleHashes){if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const q=getModuleHash(N);if($.has(N)){if(j.fullHashChunkModuleHashes[R]!==q){Ke.add(N,E)}Me[R]=q}else{if(j.chunkModuleHashes[R]!==q){Ke.add(N,E)}Le[R]=q}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const $=getModuleHash(N);if(j.chunkModuleHashes[R]!==$){Ke.add(N,E)}Le[R]=$}}}else{if($!==undefined){for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);if($.has(N)){Me[R]=j}else{Le[R]=j}}}else{for(const N of q){const R=`${E.id}|${N.identifier()}`;const j=getModuleHash(N);Le[R]=j}}}}}_e=j.hotIndex||0;if(Ke.size>0)_e++;E.update(`${_e}`)}));R.hooks.processAssets.tap({name:"HotModuleReplacementPlugin",stage:G.PROCESS_ASSETS_STAGE_ADDITIONAL},(()=>{const E=R.chunkGraph;const j=R.records;if(j.hash===R.hash)return;if(!j.chunkModuleHashes||!j.chunkHashes||!j.chunkModuleIds){return}for(const[N,$]of Qe){const q=`${$.id}|${N.identifier()}`;const G=Xe.has(N,$.runtime)?E.getModuleHash(N,$.runtime):R.codeGenerationResults.getHash(N,$.runtime);if(j.chunkModuleHashes[q]!==G){Ke.add(N,$)}Le[q]=G}const G=new Map;let ae;for(const E of Object.keys(j.chunkRuntime)){const N=Je(j.chunkRuntime[E]);ae=qe(ae,N)}Ve(ae,(E=>{const{path:N,info:$}=R.getPathWithInfo(R.outputOptions.hotUpdateMainFilename,{hash:j.hash,runtime:E});G.set(E,{updatedChunkIds:new Set,removedChunkIds:new Set,removedModules:new Set,filename:N,assetInfo:$})}));if(G.size===0)return;const ce=new Map;for(const N of R.modules){const R=E.getModuleId(N);ce.set(R,N)}const _e=new Set;for(const $ of Object.keys(j.chunkHashes)){const le=Je(j.chunkRuntime[$]);const Ee=[];for(const E of j.chunkModuleIds[$]){const N=ce.get(E);if(N===undefined){_e.add(E)}else{Ee.push(N)}}let Te;let we;let Ie;let Ne;let Me;let Le;let je;const Ue=Be(R.chunks,(E=>`${E.id}`===$));if(Ue){Te=Ue.id;Le=Ge(Ue.runtime,ae);if(Le===undefined)continue;we=E.getChunkModules(Ue).filter((E=>Ke.has(E,Ue)));Ie=Array.from(E.getChunkRuntimeModulesIterable(Ue)).filter((E=>Ke.has(E,Ue)));const N=E.getChunkFullHashModulesIterable(Ue);Ne=N&&Array.from(N).filter((E=>Ke.has(E,Ue)));const R=E.getChunkDependentHashModulesIterable(Ue);Me=R&&Array.from(R).filter((E=>Ke.has(E,Ue)));je=He(le,Le)}else{Te=`${+$}`===$?+$:$;je=le;Le=le}if(je){Ve(je,(E=>{G.get(E).removedChunkIds.add(Te)}));for(const N of Ee){const q=`${$}|${N.identifier()}`;const ie=j.chunkModuleHashes[q];const ae=E.getModuleRuntimes(N);if(le===Le&&ae.has(Le)){const j=Xe.has(N,Le)?E.getModuleHash(N,Le):R.codeGenerationResults.getHash(N,Le);if(j!==ie){if(N.type==="runtime"){Ie=Ie||[];Ie.push(N)}else{we=we||[];we.push(N)}}}else{Ve(je,(E=>{for(const N of ae){if(typeof N==="string"){if(N===E)return}else if(N!==undefined){if(N.has(E))return}}G.get(E).removedModules.add(N)}))}}}if(we&&we.length>0||Ie&&Ie.length>0){const $=new ie;if(N)q.setChunkGraphForChunk($,E);$.id=Te;$.runtime=Le;if(Ue){for(const E of Ue.groupsIterable)$.addGroup(E)}E.attachModules($,we||[]);E.attachRuntimeModules($,Ie||[]);if(Ne){E.attachFullHashModules($,Ne)}if(Me){E.attachDependentHashModules($,Me)}const ae=R.getRenderManifest({chunk:$,hash:j.hash,fullHash:j.hash,outputOptions:R.outputOptions,moduleTemplates:R.moduleTemplates,dependencyTemplates:R.dependencyTemplates,codeGenerationResults:R.codeGenerationResults,runtimeTemplate:R.runtimeTemplate,moduleGraph:R.moduleGraph,chunkGraph:E});for(const E of ae){let N;let j;if("filename"in E){N=E.filename;j=E.info}else{({path:N,info:j}=R.getPathWithInfo(E.filenameTemplate,E.pathOptions))}const $=E.render();R.additionalChunkAssets.push(N);R.emitAsset(N,$,{hotModuleReplacement:true,...j});if(Ue){Ue.files.add(N);R.hooks.chunkAsset.call(Ue,N)}}Ve(Le,(E=>{G.get(E).updatedChunkIds.add(Te)}))}}const Ee=Array.from(_e);const Te=new Map;for(const{removedChunkIds:E,removedModules:N,updatedChunkIds:j,filename:$,assetInfo:q}of G.values()){const G=Te.get($);if(G&&(!je(G.removedChunkIds,E)||!je(G.removedModules,N)||!je(G.updatedChunkIds,j))){R.warnings.push(new le(`HotModuleReplacementPlugin\nThe configured output.hotUpdateMainFilename doesn't lead to unique filenames per runtime and HMR update differs between runtimes.\nThis might lead to incorrect runtime behavior of the applied update.\nTo fix this, make sure to include [runtime] in the output.hotUpdateMainFilename option, or use the default config.`));for(const N of E)G.removedChunkIds.add(N);for(const E of N)G.removedModules.add(E);for(const E of j)G.updatedChunkIds.add(E);continue}Te.set($,{removedChunkIds:E,removedModules:N,updatedChunkIds:j,assetInfo:q})}for(const[N,{removedChunkIds:j,removedModules:q,updatedChunkIds:G,assetInfo:ie}]of Te){const ae={c:Array.from(G),r:Array.from(j),m:q.size===0?Ee:Ee.concat(Array.from(q,(N=>E.getModuleId(N))))};const ce=new $(JSON.stringify(ae));R.emitAsset(N,ce,{hotModuleReplacement:true,...ie})}}));R.hooks.additionalTreeRuntimeRequirements.tap("HotModuleReplacementPlugin",((E,N)=>{N.add(ce.hmrDownloadManifest);N.add(ce.hmrDownloadUpdateHandlers);N.add(ce.interceptModuleExecution);N.add(ce.moduleCache);R.addRuntimeModule(E,new Ne)}));j.hooks.parser.for("javascript/auto").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E);applyImportMetaHot(E)}));j.hooks.parser.for("javascript/dynamic").tap("HotModuleReplacementPlugin",(E=>{applyModuleHot(E)}));j.hooks.parser.for("javascript/esm").tap("HotModuleReplacementPlugin",(E=>{applyImportMetaHot(E)}));ae.getCompilationHooks(R).loader.tap("HotModuleReplacementPlugin",(E=>{E.hot=true}))}))}}E.exports=HotModuleReplacementPlugin},22352:(E,N,R)=>{"use strict";const j=R(62433);class HotUpdateChunk extends j{constructor(){super()}}E.exports=HotUpdateChunk},16761:(E,N,R)=>{"use strict";const j=R(40674);class IgnoreErrorModuleFactory extends j{constructor(E){super();this.normalModuleFactory=E}create(E,N){this.normalModuleFactory.create(E,((E,R)=>N(null,R)))}}E.exports=IgnoreErrorModuleFactory},69276:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(44194),(()=>R(8679)),{name:"Ignore Plugin",baseDataPath:"options"});class IgnorePlugin{constructor(E){$(E);this.options=E;this.checkIgnore=this.checkIgnore.bind(this)}checkIgnore(E){if("checkResource"in this.options&&this.options.checkResource&&this.options.checkResource(E.request,E.context)){return false}if("resourceRegExp"in this.options&&this.options.resourceRegExp&&this.options.resourceRegExp.test(E.request)){if("contextRegExp"in this.options&&this.options.contextRegExp){if(this.options.contextRegExp.test(E.context)){return false}}else{return false}}}apply(E){E.hooks.normalModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}));E.hooks.contextModuleFactory.tap("IgnorePlugin",(E=>{E.hooks.beforeResolve.tap("IgnorePlugin",this.checkIgnore)}))}}E.exports=IgnorePlugin},89056:E=>{"use strict";class IgnoreWarningsPlugin{constructor(E){this._ignoreWarnings=E}apply(E){E.hooks.compilation.tap("IgnoreWarningsPlugin",(E=>{E.hooks.processWarnings.tap("IgnoreWarningsPlugin",(N=>N.filter((N=>!this._ignoreWarnings.some((R=>R(N,E)))))))}))}}E.exports=IgnoreWarningsPlugin},63272:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(56202);const extractFragmentIndex=(E,N)=>[E,N];const sortFragmentWithIndex=([E,N],[R,j])=>{const $=E.stage-R.stage;if($!==0)return $;const q=E.position-R.position;if(q!==0)return q;return N-j};class InitFragment{constructor(E,N,R,j,$){this.content=E;this.stage=N;this.position=R;this.key=j;this.endContent=$}getContent(E){return this.content}getEndContent(E){return this.endContent}static addToSource(E,N,R){if(N.length>0){const $=N.map(extractFragmentIndex).sort(sortFragmentWithIndex);const q=new Map;for(const[E]of $){if(typeof E.mergeAll==="function"){if(!E.key){throw new Error(`InitFragment with mergeAll function must have a valid key: ${E.constructor.name}`)}const N=q.get(E.key);if(N===undefined){q.set(E.key,E)}else if(Array.isArray(N)){N.push(E)}else{q.set(E.key,[N,E])}continue}else if(typeof E.merge==="function"){const N=q.get(E.key);if(N!==undefined){q.set(E.key,E.merge(N));continue}}q.set(E.key||Symbol(),E)}const G=new j;const ie=[];for(let E of q.values()){if(Array.isArray(E)){E=E[0].mergeAll(E)}G.add(E.getContent(R));const N=E.getEndContent(R);if(N){ie.push(N)}}G.add(E);for(const E of ie.reverse()){G.add(E)}return G}else{return E}}serialize(E){const{write:N}=E;N(this.content);N(this.stage);N(this.position);N(this.key);N(this.endContent)}deserialize(E){const{read:N}=E;this.content=N();this.stage=N();this.position=N();this.key=N();this.endContent=N()}}$(InitFragment,"webpack/lib/InitFragment");InitFragment.prototype.merge=undefined;InitFragment.STAGE_CONSTANTS=10;InitFragment.STAGE_ASYNC_BOUNDARY=20;InitFragment.STAGE_HARMONY_EXPORTS=30;InitFragment.STAGE_HARMONY_IMPORTS=40;InitFragment.STAGE_PROVIDES=50;InitFragment.STAGE_ASYNC_DEPENDENCIES=60;InitFragment.STAGE_ASYNC_HARMONY_IMPORTS=70;E.exports=InitFragment},49619:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class InvalidDependenciesModuleWarning extends j{constructor(E,N){const R=N?Array.from(N).sort():[];const j=R.map((E=>` * ${JSON.stringify(E)}`));super(`Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.\nInvalid dependencies may lead to broken watching and caching.\nAs best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.\nLoaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).\nPlugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).\nGlobs: They are not supported. Pass absolute path to the directory as context dependencies.\nThe following invalid values have been reported:\n${j.slice(0,3).join("\n")}${j.length>3?"\n * and more ...":""}`);this.name="InvalidDependenciesModuleWarning";this.details=j.slice(3).join("\n");this.module=E}}$(InvalidDependenciesModuleWarning,"webpack/lib/InvalidDependenciesModuleWarning");E.exports=InvalidDependenciesModuleWarning},82527:(E,N,R)=>{"use strict";const j=R(58018);class JavascriptMetaInfoPlugin{apply(E){E.hooks.compilation.tap("JavascriptMetaInfoPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.call.for("eval").tap("JavascriptMetaInfoPlugin",(()=>{E.state.module.buildInfo.moduleConcatenationBailout="eval()";E.state.module.buildInfo.usingEval=true;const N=j.getTopLevelSymbol(E.state);if(N){j.addUsage(E.state,null,N)}else{j.bailout(E.state)}}));E.hooks.finish.tap("JavascriptMetaInfoPlugin",(()=>{let N=E.state.module.buildInfo.topLevelDeclarations;if(N===undefined){N=E.state.module.buildInfo.topLevelDeclarations=new Set}for(const R of E.scope.definitions.asSet()){const j=E.getFreeInfoFromVariable(R);if(j===undefined){N.add(R)}}}))};N.hooks.parser.for("javascript/auto").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("JavascriptMetaInfoPlugin",handler);N.hooks.parser.for("javascript/esm").tap("JavascriptMetaInfoPlugin",handler)}))}}E.exports=JavascriptMetaInfoPlugin},77750:(E,N,R)=>{"use strict";const j=R(62355);const $=R(66583);const{someInIterable:q}=R(11539);const{compareModulesById:G}=R(68673);const{dirname:ie,mkdirp:ae}=R(95396);class LibManifestPlugin{constructor(E){this.options=E}apply(E){E.hooks.emit.tapAsync("LibManifestPlugin",((N,R)=>{const ce=N.moduleGraph;j.forEach(Array.from(N.chunks),((R,j)=>{if(!R.canBeInitial()){j();return}const le=N.chunkGraph;const _e=N.getPath(this.options.path,{chunk:R});const Ee=this.options.name&&N.getPath(this.options.name,{chunk:R});const Te=Object.create(null);for(const N of le.getOrderedChunkModulesIterable(R,G(le))){if(this.options.entryOnly&&!q(ce.getIncomingConnections(N),(E=>E.dependency instanceof $))){continue}const R=N.libIdent({context:this.options.context||E.options.context,associatedObjectForCache:E.root});if(R){const E=ce.getExportsInfo(N);const j=E.getProvidedExports();const $={id:le.getModuleId(N),buildMeta:N.buildMeta,exports:Array.isArray(j)?j:undefined};Te[R]=$}}const we={name:Ee,type:this.options.type,content:Te};const Ie=this.options.format?JSON.stringify(we,null,2):JSON.stringify(we);const Ne=Buffer.from(Ie,"utf8");ae(E.intermediateFileSystem,ie(E.intermediateFileSystem,_e),(N=>{if(N)return j(N);E.intermediateFileSystem.writeFile(_e,Ne,j)}))}),R)}))}}E.exports=LibManifestPlugin},43351:(E,N,R)=>{"use strict";const j=R(13984);class LibraryTemplatePlugin{constructor(E,N,R,j,$){this.library={type:N||"var",name:E,umdNamedDefine:R,auxiliaryComment:j,export:$}}apply(E){const{output:N}=E.options;N.library=this.library;new j(this.library.type).apply(E)}}E.exports=LibraryTemplatePlugin},19674:(E,N,R)=>{"use strict";const j=R(70354);const $=R(53520);const q=R(35817);const G=q(R(80274),(()=>R(30685)),{name:"Loader Options Plugin",baseDataPath:"options"});class LoaderOptionsPlugin{constructor(E={}){G(E);if(typeof E!=="object")E={};if(!E.test){E.test={test:()=>true}}this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LoaderOptionsPlugin",(E=>{$.getCompilationHooks(E).loader.tap("LoaderOptionsPlugin",((E,R)=>{const $=R.resource;if(!$)return;const q=$.indexOf("?");if(j.matchObject(N,q<0?$:$.substr(0,q))){for(const R of Object.keys(N)){if(R==="include"||R==="exclude"||R==="test"){continue}E[R]=N[R]}}}))}))}}E.exports=LoaderOptionsPlugin},97736:(E,N,R)=>{"use strict";const j=R(53520);class LoaderTargetPlugin{constructor(E){this.target=E}apply(E){E.hooks.compilation.tap("LoaderTargetPlugin",(E=>{j.getCompilationHooks(E).loader.tap("LoaderTargetPlugin",(E=>{E.target=this.target}))}))}}E.exports=LoaderTargetPlugin},73694:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(73837);const q=R(76150);const G=R(91671);const ie=G((()=>R(18161)));const ae=G((()=>R(58421)));const ce=G((()=>R(67104)));class MainTemplate{constructor(E,N){this._outputOptions=E||{};this.hooks=Object.freeze({renderManifest:{tap:$.deprecate(((E,R)=>{N.hooks.renderManifest.tap(E,((E,N)=>{if(!N.chunk.hasRuntime())return E;return R(E,N)}))}),"MainTemplate.hooks.renderManifest is deprecated (use Compilation.hooks.renderManifest instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_MANIFEST")},modules:{tap:()=>{throw new Error("MainTemplate.hooks.modules has been removed (there is no replacement, please create an issue to request that)")}},moduleObj:{tap:()=>{throw new Error("MainTemplate.hooks.moduleObj has been removed (there is no replacement, please create an issue to request that)")}},require:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).renderRequire.tap(E,R)}),"MainTemplate.hooks.require is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderRequire instead)","DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE")},beforeStartup:{tap:()=>{throw new Error("MainTemplate.hooks.beforeStartup has been removed (use RuntimeGlobals.startupOnlyBefore instead)")}},startup:{tap:()=>{throw new Error("MainTemplate.hooks.startup has been removed (use RuntimeGlobals.startup instead)")}},afterStartup:{tap:()=>{throw new Error("MainTemplate.hooks.afterStartup has been removed (use RuntimeGlobals.startupOnlyAfter instead)")}},render:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash,N.moduleTemplates.javascript,N.dependencyTemplates)}))}),"MainTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER")},renderWithEntry:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).render.tap(E,((E,j)=>{if(j.chunkGraph.getNumberOfEntryModules(j.chunk)===0||!j.chunk.hasRuntime()){return E}return R(E,j.chunk,N.hash)}))}),"MainTemplate.hooks.renderWithEntry is deprecated (use JavascriptModulesPlugin.getCompilationHooks().render instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_WITH_ENTRY")},assetPath:{tap:$.deprecate(((E,R)=>{N.hooks.assetPath.tap(E,R)}),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH"),call:$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.hooks.assetPath is deprecated (use Compilation.hooks.assetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_ASSET_PATH")},hash:{tap:$.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"MainTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH")},hashForChunk:{tap:$.deprecate(((E,R)=>{ie().getCompilationHooks(N).chunkHash.tap(E,((E,N)=>{if(!E.hasRuntime())return;return R(N,E)}))}),"MainTemplate.hooks.hashForChunk is deprecated (use JavascriptModulesPlugin.getCompilationHooks().chunkHash instead)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHashPaths:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHashPaths has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},globalHash:{tap:$.deprecate((()=>{}),"MainTemplate.hooks.globalHash has been removed (it's no longer needed)","DEP_WEBPACK_MAIN_TEMPLATE_HASH_FOR_CHUNK")},hotBootstrap:{tap:()=>{throw new Error("MainTemplate.hooks.hotBootstrap has been removed (use your own RuntimeModule instead)")}},bootstrap:new j(["source","chunk","hash","moduleTemplate","dependencyTemplates"]),localVars:new j(["source","chunk","hash"]),requireExtensions:new j(["source","chunk","hash"]),requireEnsure:new j(["source","chunk","hash","chunkIdExpression"]),get jsonpScript(){const E=ce().getCompilationHooks(N);return E.createScript},get linkPrefetch(){const E=ae().getCompilationHooks(N);return E.linkPrefetch},get linkPreload(){const E=ae().getCompilationHooks(N);return E.linkPreload}});this.renderCurrentHashCode=$.deprecate(((E,N)=>{if(N){return`${q.getFullHash} ? ${q.getFullHash}().slice(0, ${N}) : ${E.slice(0,N)}`}return`${q.getFullHash} ? ${q.getFullHash}() : ${E}`}),"MainTemplate.renderCurrentHashCode is deprecated (use RuntimeGlobals.getFullHash runtime function instead)","DEP_WEBPACK_MAIN_TEMPLATE_RENDER_CURRENT_HASH_CODE");this.getPublicPath=$.deprecate((E=>N.getAssetPath(N.outputOptions.publicPath,E)),"MainTemplate.getPublicPath is deprecated (use Compilation.getAssetPath(compilation.outputOptions.publicPath, options) instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_PUBLIC_PATH");this.getAssetPath=$.deprecate(((E,R)=>N.getAssetPath(E,R)),"MainTemplate.getAssetPath is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH");this.getAssetPathWithInfo=$.deprecate(((E,R)=>N.getAssetPathWithInfo(E,R)),"MainTemplate.getAssetPathWithInfo is deprecated (use Compilation.getAssetPath instead)","DEP_WEBPACK_MAIN_TEMPLATE_GET_ASSET_PATH_WITH_INFO")}}Object.defineProperty(MainTemplate.prototype,"requireFn",{get:$.deprecate((()=>"__webpack_require__"),'MainTemplate.requireFn is deprecated (use "__webpack_require__")',"DEP_WEBPACK_MAIN_TEMPLATE_REQUIRE_FN")});Object.defineProperty(MainTemplate.prototype,"outputOptions",{get:$.deprecate((function(){return this._outputOptions}),"MainTemplate.outputOptions is deprecated (use Compilation.outputOptions instead)","DEP_WEBPACK_MAIN_TEMPLATE_OUTPUT_OPTIONS")});E.exports=MainTemplate},53453:(E,N,R)=>{"use strict";const j=R(73837);const $=R(45137);const q=R(32448);const G=R(75412);const ie=R(76150);const{first:ae}=R(26221);const{compareChunksById:ce}=R(68673);const le=R(56202);const _e={};let Ee=1e3;const Te=new Set(["unknown"]);const we=new Set(["javascript"]);const Ie=j.deprecate(((E,N)=>E.needRebuild(N.fileSystemInfo.getDeprecatedFileTimestamps(),N.fileSystemInfo.getDeprecatedContextTimestamps())),"Module.needRebuild is deprecated in favor of Module.needBuild","DEP_WEBPACK_MODULE_NEED_REBUILD");class Module extends q{constructor(E,N=null,R=null){super();this.type=E;this.context=N;this.layer=R;this.needId=true;this.debugId=Ee++;this.resolveOptions=_e;this.factoryMeta=undefined;this.useSourceMap=false;this.useSimpleSourceMap=false;this._warnings=undefined;this._errors=undefined;this.buildMeta=undefined;this.buildInfo=undefined;this.presentationalDependencies=undefined}get id(){return $.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").getModuleId(this)}set id(E){if(E===""){this.needId=false;return}$.getChunkGraphForModule(this,"Module.id","DEP_WEBPACK_MODULE_ID").setModuleId(this,E)}get hash(){return $.getChunkGraphForModule(this,"Module.hash","DEP_WEBPACK_MODULE_HASH").getModuleHash(this,undefined)}get renderedHash(){return $.getChunkGraphForModule(this,"Module.renderedHash","DEP_WEBPACK_MODULE_RENDERED_HASH").getRenderedModuleHash(this,undefined)}get profile(){return G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").getProfile(this)}set profile(E){G.getModuleGraphForModule(this,"Module.profile","DEP_WEBPACK_MODULE_PROFILE").setProfile(this,E)}get index(){return G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").getPreOrderIndex(this)}set index(E){G.getModuleGraphForModule(this,"Module.index","DEP_WEBPACK_MODULE_INDEX").setPreOrderIndex(this,E)}get index2(){return G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").getPostOrderIndex(this)}set index2(E){G.getModuleGraphForModule(this,"Module.index2","DEP_WEBPACK_MODULE_INDEX2").setPostOrderIndex(this,E)}get depth(){return G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").getDepth(this)}set depth(E){G.getModuleGraphForModule(this,"Module.depth","DEP_WEBPACK_MODULE_DEPTH").setDepth(this,E)}get issuer(){return G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").getIssuer(this)}set issuer(E){G.getModuleGraphForModule(this,"Module.issuer","DEP_WEBPACK_MODULE_ISSUER").setIssuer(this,E)}get usedExports(){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").getUsedExports(this,undefined)}get optimizationBailout(){return G.getModuleGraphForModule(this,"Module.optimizationBailout","DEP_WEBPACK_MODULE_OPTIMIZATION_BAILOUT").getOptimizationBailout(this)}get optional(){return this.isOptional(G.getModuleGraphForModule(this,"Module.optional","DEP_WEBPACK_MODULE_OPTIONAL"))}addChunk(E){const N=$.getChunkGraphForModule(this,"Module.addChunk","DEP_WEBPACK_MODULE_ADD_CHUNK");if(N.isModuleInChunk(this,E))return false;N.connectChunkAndModule(E,this);return true}removeChunk(E){return $.getChunkGraphForModule(this,"Module.removeChunk","DEP_WEBPACK_MODULE_REMOVE_CHUNK").disconnectChunkAndModule(E,this)}isInChunk(E){return $.getChunkGraphForModule(this,"Module.isInChunk","DEP_WEBPACK_MODULE_IS_IN_CHUNK").isModuleInChunk(this,E)}isEntryModule(){return $.getChunkGraphForModule(this,"Module.isEntryModule","DEP_WEBPACK_MODULE_IS_ENTRY_MODULE").isEntryModule(this)}getChunks(){return $.getChunkGraphForModule(this,"Module.getChunks","DEP_WEBPACK_MODULE_GET_CHUNKS").getModuleChunks(this)}getNumberOfChunks(){return $.getChunkGraphForModule(this,"Module.getNumberOfChunks","DEP_WEBPACK_MODULE_GET_NUMBER_OF_CHUNKS").getNumberOfModuleChunks(this)}get chunksIterable(){return $.getChunkGraphForModule(this,"Module.chunksIterable","DEP_WEBPACK_MODULE_CHUNKS_ITERABLE").getOrderedModuleChunksIterable(this,ce)}isProvided(E){return G.getModuleGraphForModule(this,"Module.usedExports","DEP_WEBPACK_MODULE_USED_EXPORTS").isExportProvided(this,E)}get exportsArgument(){return this.buildInfo&&this.buildInfo.exportsArgument||"exports"}get moduleArgument(){return this.buildInfo&&this.buildInfo.moduleArgument||"module"}getExportsType(E,N){switch(this.buildMeta&&this.buildMeta.exportsType){case"flagged":return N?"default-with-named":"namespace";case"namespace":return"namespace";case"default":switch(this.buildMeta.defaultObject){case"redirect":return"default-with-named";case"redirect-warn":return N?"default-only":"default-with-named";default:return"default-only"}case"dynamic":{if(N)return"default-with-named";const handleDefault=()=>{switch(this.buildMeta.defaultObject){case"redirect":case"redirect-warn":return"default-with-named";default:return"default-only"}};const R=E.getReadOnlyExportInfo(this,"__esModule");if(R.provided===false){return handleDefault()}const j=R.getTarget(E);if(!j||!j.export||j.export.length!==1||j.export[0]!=="__esModule"){return"dynamic"}switch(j.module.buildMeta&&j.module.buildMeta.exportsType){case"flagged":case"namespace":return"namespace";case"default":return handleDefault();default:return"dynamic"}}default:return N?"default-with-named":"dynamic"}}addPresentationalDependency(E){if(this.presentationalDependencies===undefined){this.presentationalDependencies=[]}this.presentationalDependencies.push(E)}clearDependenciesAndBlocks(){if(this.presentationalDependencies!==undefined){this.presentationalDependencies.length=0}super.clearDependenciesAndBlocks()}addWarning(E){if(this._warnings===undefined){this._warnings=[]}this._warnings.push(E)}getWarnings(){return this._warnings}getNumberOfWarnings(){return this._warnings!==undefined?this._warnings.length:0}addError(E){if(this._errors===undefined){this._errors=[]}this._errors.push(E)}getErrors(){return this._errors}getNumberOfErrors(){return this._errors!==undefined?this._errors.length:0}clearWarningsAndErrors(){if(this._warnings!==undefined){this._warnings.length=0}if(this._errors!==undefined){this._errors.length=0}}isOptional(E){let N=false;for(const R of E.getIncomingConnections(this)){if(!R.dependency||!R.dependency.optional||!R.isTargetActive(undefined)){return false}N=true}return N}isAccessibleInChunk(E,N,R){for(const R of N.groupsIterable){if(!this.isAccessibleInChunkGroup(E,R))return false}return true}isAccessibleInChunkGroup(E,N,R){const j=new Set([N]);e:for(const $ of j){for(const N of $.chunks){if(N!==R&&E.isModuleInChunk(this,N))continue e}if(N.isInitial())return false;for(const E of N.parentsIterable)j.add(E)}return true}hasReasonForChunk(E,N,R){for(const[j,$]of N.getIncomingConnectionsByOriginModule(this)){if(!$.some((N=>N.isTargetActive(E.runtime))))continue;for(const N of R.getModuleChunksIterable(j)){if(!this.isAccessibleInChunk(R,N,E))return true}}return false}hasReasons(E,N){for(const R of E.getIncomingConnections(this)){if(R.isTargetActive(N))return true}return false}toString(){return`Module[${this.debugId}: ${this.identifier()}]`}needBuild(E,N){N(null,!this.buildMeta||this.needRebuild===Module.prototype.needRebuild||Ie(this,E))}needRebuild(E,N){return true}updateHash(E,N={chunkGraph:$.getChunkGraphForModule(this,"Module.updateHash","DEP_WEBPACK_MODULE_UPDATE_HASH"),runtime:undefined}){const{chunkGraph:R,runtime:j}=N;E.update(R.getModuleGraphHash(this,j));if(this.presentationalDependencies!==undefined){for(const R of this.presentationalDependencies){R.updateHash(E,N)}}super.updateHash(E,N)}invalidateBuild(){}identifier(){const E=R(75884);throw new E}readableIdentifier(E){const N=R(75884);throw new N}build(E,N,j,$,q){const G=R(75884);throw new G}getSourceTypes(){if(this.source===Module.prototype.source){return Te}else{return we}}source(E,N,j="javascript"){if(this.codeGeneration===Module.prototype.codeGeneration){const E=R(75884);throw new E}const q=$.getChunkGraphForModule(this,"Module.source() is deprecated. Use Compilation.codeGenerationResults.getSource(module, runtime, type) instead","DEP_WEBPACK_MODULE_SOURCE");const G={dependencyTemplates:E,runtimeTemplate:N,moduleGraph:q.moduleGraph,chunkGraph:q,runtime:undefined};const ie=this.codeGeneration(G).sources;return j?ie.get(j):ie.get(ae(this.getSourceTypes()))}size(E){const N=R(75884);throw new N}libIdent(E){return null}nameForCondition(){return null}getConcatenationBailoutReason(E){return`Module Concatenation is not implemented for ${this.constructor.name}`}getSideEffectsConnectionState(E){return true}codeGeneration(E){const N=new Map;for(const R of this.getSourceTypes()){if(R!=="unknown"){N.set(R,this.source(E.dependencyTemplates,E.runtimeTemplate,R))}}return{sources:N,runtimeRequirements:new Set([ie.module,ie.exports,ie.require])}}chunkCondition(E,N){return true}hasChunkCondition(){return this.chunkCondition!==Module.prototype.chunkCondition}updateCacheModule(E){this.type=E.type;this.layer=E.layer;this.context=E.context;this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}getUnsafeCacheData(){return{factoryMeta:this.factoryMeta,resolveOptions:this.resolveOptions}}_restoreFromUnsafeCache(E,N){this.factoryMeta=E.factoryMeta;this.resolveOptions=E.resolveOptions}cleanupForCache(){this.factoryMeta=undefined;this.resolveOptions=undefined}originalSource(){return null}addCacheDependencies(E,N,R,j){}serialize(E){const{write:N}=E;N(this.type);N(this.layer);N(this.context);N(this.resolveOptions);N(this.factoryMeta);N(this.useSourceMap);N(this.useSimpleSourceMap);N(this._warnings!==undefined&&this._warnings.length===0?undefined:this._warnings);N(this._errors!==undefined&&this._errors.length===0?undefined:this._errors);N(this.buildMeta);N(this.buildInfo);N(this.presentationalDependencies);super.serialize(E)}deserialize(E){const{read:N}=E;this.type=N();this.layer=N();this.context=N();this.resolveOptions=N();this.factoryMeta=N();this.useSourceMap=N();this.useSimpleSourceMap=N();this._warnings=N();this._errors=N();this.buildMeta=N();this.buildInfo=N();this.presentationalDependencies=N();super.deserialize(E)}}le(Module,"webpack/lib/Module");Object.defineProperty(Module.prototype,"hasEqualsChunks",{get(){throw new Error("Module.hasEqualsChunks was renamed (use hasEqualChunks instead)")}});Object.defineProperty(Module.prototype,"isUsed",{get(){throw new Error("Module.isUsed was renamed (use getUsedName, isExportUsed or isModuleUsed instead)")}});Object.defineProperty(Module.prototype,"errors",{get:j.deprecate((function(){if(this._errors===undefined){this._errors=[]}return this._errors}),"Module.errors was removed (use getErrors instead)","DEP_WEBPACK_MODULE_ERRORS")});Object.defineProperty(Module.prototype,"warnings",{get:j.deprecate((function(){if(this._warnings===undefined){this._warnings=[]}return this._warnings}),"Module.warnings was removed (use getWarnings instead)","DEP_WEBPACK_MODULE_WARNINGS")});Object.defineProperty(Module.prototype,"used",{get(){throw new Error("Module.used was refactored (use ModuleGraph.getUsedExports instead)")},set(E){throw new Error("Module.used was refactored (use ModuleGraph.setUsedExports instead)")}});E.exports=Module},26509:(E,N,R)=>{"use strict";const{cutOffLoaderExecution:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleBuildError extends ${constructor(E,{from:N=null}={}){let R="Module build failed";let $=undefined;if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E!==null&&typeof E==="object"){if(typeof E.stack==="string"&&E.stack){const N=j(E.stack);if(!E.hideStack){R+=N}else{$=N;if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=E}}}else if(typeof E.message==="string"&&E.message){R+=E.message}else{R+=String(E)}}else{R+=String(E)}super(R);this.name="ModuleBuildError";this.details=$;this.error=E}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleBuildError,"webpack/lib/ModuleBuildError");E.exports=ModuleBuildError},82811:(E,N,R)=>{"use strict";const j=R(81627);class ModuleDependencyError extends j{constructor(E,N,R){super(N.message);this.name="ModuleDependencyError";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}E.exports=ModuleDependencyError},23280:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class ModuleDependencyWarning extends j{constructor(E,N,R){super(N?N.message:"");this.name="ModuleDependencyWarning";this.details=N&&!N.hideStack?N.stack.split("\n").slice(1).join("\n"):undefined;this.module=E;this.loc=R;this.error=N;if(N&&N.hideStack){this.stack=N.stack.split("\n").slice(1).join("\n")+"\n\n"+this.stack}}}$(ModuleDependencyWarning,"webpack/lib/ModuleDependencyWarning");E.exports=ModuleDependencyWarning},91613:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleError extends ${constructor(E,{from:N=null}={}){let R="Module Error";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=E}super(R);this.name="ModuleError";this.error=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}q(ModuleError,"webpack/lib/ModuleError");E.exports=ModuleError},40674:(E,N,R)=>{"use strict";class ModuleFactory{create(E,N){const j=R(75884);throw new j}}E.exports=ModuleFactory},70354:(E,N,R)=>{"use strict";const j=R(35891);const $=R(91671);const q=N;q.ALL_LOADERS_RESOURCE="[all-loaders][resource]";q.REGEXP_ALL_LOADERS_RESOURCE=/\[all-?loaders\]\[resource\]/gi;q.LOADERS_RESOURCE="[loaders][resource]";q.REGEXP_LOADERS_RESOURCE=/\[loaders\]\[resource\]/gi;q.RESOURCE="[resource]";q.REGEXP_RESOURCE=/\[resource\]/gi;q.ABSOLUTE_RESOURCE_PATH="[absolute-resource-path]";q.REGEXP_ABSOLUTE_RESOURCE_PATH=/\[abs(olute)?-?resource-?path\]/gi;q.RESOURCE_PATH="[resource-path]";q.REGEXP_RESOURCE_PATH=/\[resource-?path\]/gi;q.ALL_LOADERS="[all-loaders]";q.REGEXP_ALL_LOADERS=/\[all-?loaders\]/gi;q.LOADERS="[loaders]";q.REGEXP_LOADERS=/\[loaders\]/gi;q.QUERY="[query]";q.REGEXP_QUERY=/\[query\]/gi;q.ID="[id]";q.REGEXP_ID=/\[id\]/gi;q.HASH="[hash]";q.REGEXP_HASH=/\[hash\]/gi;q.NAMESPACE="[namespace]";q.REGEXP_NAMESPACE=/\[namespace\]/gi;const getAfter=(E,N)=>()=>{const R=E();const j=R.indexOf(N);return j<0?"":R.substr(j)};const getBefore=(E,N)=>()=>{const R=E();const j=R.lastIndexOf(N);return j<0?"":R.substr(0,j)};const getHash=(E,N)=>()=>{const R=j(N);R.update(E());const $=R.digest("hex");return $.substr(0,4)};const asRegExp=E=>{if(typeof E==="string"){E=new RegExp("^"+E.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"))}return E};const lazyObject=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];Object.defineProperty(N,R,{get:()=>j(),set:E=>{Object.defineProperty(N,R,{value:E,enumerable:true,writable:true})},enumerable:true,configurable:true})}return N};const G=/\[\\*([\w-]+)\\*\]/gi;q.createFilename=(E="",N,{requestShortener:R,chunkGraph:j,hashFunction:ie="md4"})=>{const ae={namespace:"",moduleFilenameTemplate:"",...typeof N==="object"?N:{moduleFilenameTemplate:N}};let ce;let le;let _e;let Ee;let Te;if(typeof E==="string"){Te=$((()=>R.shorten(E)));_e=Te;Ee=()=>"";ce=()=>E.split("!").pop();le=getHash(_e,ie)}else{Te=$((()=>E.readableIdentifier(R)));_e=$((()=>R.shorten(E.identifier())));Ee=()=>j.getModuleId(E);ce=()=>E.identifier().split("!").pop();le=getHash(_e,ie)}const we=$((()=>Te().split("!").pop()));const Ie=getBefore(Te,"!");const Ne=getBefore(_e,"!");const Me=getAfter(we,"?");const resourcePath=()=>{const E=Me().length;return E===0?we():we().slice(0,-E)};if(typeof ae.moduleFilenameTemplate==="function"){return ae.moduleFilenameTemplate(lazyObject({identifier:_e,shortIdentifier:Te,resource:we,resourcePath:$(resourcePath),absoluteResourcePath:$(ce),allLoaders:$(Ne),query:$(Me),moduleId:$(Ee),hash:$(le),namespace:()=>ae.namespace}))}const Le=new Map([["identifier",_e],["short-identifier",Te],["resource",we],["resource-path",resourcePath],["resourcepath",resourcePath],["absolute-resource-path",ce],["abs-resource-path",ce],["absoluteresource-path",ce],["absresource-path",ce],["absolute-resourcepath",ce],["abs-resourcepath",ce],["absoluteresourcepath",ce],["absresourcepath",ce],["all-loaders",Ne],["allloaders",Ne],["loaders",Ie],["query",Me],["id",Ee],["hash",le],["namespace",()=>ae.namespace]]);return ae.moduleFilenameTemplate.replace(q.REGEXP_ALL_LOADERS_RESOURCE,"[identifier]").replace(q.REGEXP_LOADERS_RESOURCE,"[short-identifier]").replace(G,((E,N)=>{if(N.length+2===E.length){const E=Le.get(N.toLowerCase());if(E!==undefined){return E()}}else if(E.startsWith("[\\")&&E.endsWith("\\]")){return`[${E.slice(2,-2)}]`}return E}))};q.replaceDuplicates=(E,N,R)=>{const j=Object.create(null);const $=Object.create(null);E.forEach(((E,N)=>{j[E]=j[E]||[];j[E].push(N);$[E]=0}));if(R){Object.keys(j).forEach((E=>{j[E].sort(R)}))}return E.map(((E,q)=>{if(j[E].length>1){if(R&&j[E][0]===q)return E;return N(E,q,$[E]++)}else{return E}}))};q.matchPart=(E,N)=>{if(!N)return true;N=asRegExp(N);if(Array.isArray(N)){return N.map(asRegExp).some((N=>N.test(E)))}else{return N.test(E)}};q.matchObject=(E,N)=>{if(E.test){if(!q.matchPart(N,E.test)){return false}}if(E.include){if(!q.matchPart(N,E.include)){return false}}if(E.exclude){if(q.matchPart(N,E.exclude)){return false}}return true}},75412:(E,N,R)=>{"use strict";const j=R(73837);const $=R(76632);const q=R(79900);const G=R(16102);const ie=R(4396);const ae=new Set;const getConnectionsByOriginModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{originModule:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};const getConnectionsByModule=E=>{const N=new Map;let R=0;let j=undefined;for(const $ of E){const{module:E}=$;if(R===E){j.push($)}else{R=E;const q=N.get(E);if(q!==undefined){j=q;q.push($)}else{const R=[$];j=R;N.set(E,R)}}}return N};class ModuleGraphModule{constructor(){this.incomingConnections=new G;this.outgoingConnections=undefined;this.issuer=undefined;this.optimizationBailout=[];this.exports=new $;this.preOrderIndex=null;this.postOrderIndex=null;this.depth=null;this.profile=undefined;this.async=false;this._unassignedConnections=undefined}}class ModuleGraph{constructor(){this._dependencyMap=new WeakMap;this._moduleMap=new Map;this._metaMap=new WeakMap;this._cache=undefined;this._moduleMemCaches=undefined}_getModuleGraphModule(E){let N=this._moduleMap.get(E);if(N===undefined){N=new ModuleGraphModule;this._moduleMap.set(E,N)}return N}setParents(E,N,R,j=-1){E._parentDependenciesBlockIndex=j;E._parentDependenciesBlock=N;E._parentModule=R}getParentModule(E){return E._parentModule}getParentBlock(E){return E._parentDependenciesBlock}getParentBlockIndex(E){return E._parentDependenciesBlockIndex}setResolvedModule(E,N,R){const j=new q(E,N,R,undefined,N.weak,N.getCondition(this));const $=this._getModuleGraphModule(R).incomingConnections;$.add(j);if(E){const N=this._getModuleGraphModule(E);if(N._unassignedConnections===undefined){N._unassignedConnections=[]}N._unassignedConnections.push(j);if(N.outgoingConnections===undefined){N.outgoingConnections=new G}N.outgoingConnections.add(j)}else{this._dependencyMap.set(N,j)}}updateModule(E,N){const R=this.getConnection(E);if(R.module===N)return;const j=R.clone();j.module=N;this._dependencyMap.set(E,j);R.setActive(false);const $=this._getModuleGraphModule(R.originModule);$.outgoingConnections.add(j);const q=this._getModuleGraphModule(N);q.incomingConnections.add(j)}removeConnection(E){const N=this.getConnection(E);const R=this._getModuleGraphModule(N.module);R.incomingConnections.delete(N);const j=this._getModuleGraphModule(N.originModule);j.outgoingConnections.delete(N);this._dependencyMap.set(E,null)}addExplanation(E,N){const R=this.getConnection(E);R.addExplanation(N)}cloneModuleAttributes(E,N){const R=this._getModuleGraphModule(E);const j=this._getModuleGraphModule(N);j.postOrderIndex=R.postOrderIndex;j.preOrderIndex=R.preOrderIndex;j.depth=R.depth;j.exports=R.exports;j.async=R.async}removeModuleAttributes(E){const N=this._getModuleGraphModule(E);N.postOrderIndex=null;N.preOrderIndex=null;N.depth=null;N.async=false}removeAllModuleAttributes(){for(const E of this._moduleMap.values()){E.postOrderIndex=null;E.preOrderIndex=null;E.depth=null;E.async=false}}moveModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){j.originModule=N;E.add(j);q.delete(j)}}}const ie=j.incomingConnections;const ae=$.incomingConnections;for(const E of ie){if(R(E)){E.module=N;ae.add(E);ie.delete(E)}}}copyOutgoingModuleConnections(E,N,R){if(E===N)return;const j=this._getModuleGraphModule(E);const $=this._getModuleGraphModule(N);const q=j.outgoingConnections;if(q!==undefined){if($.outgoingConnections===undefined){$.outgoingConnections=new G}const E=$.outgoingConnections;for(const j of q){if(R(j)){const R=j.clone();R.originModule=N;E.add(R);if(R.module!==undefined){const E=this._getModuleGraphModule(R.module);E.incomingConnections.add(R)}}}}}addExtraReason(E,N){const R=this._getModuleGraphModule(E).incomingConnections;R.add(new q(null,null,E,N))}getResolvedModule(E){const N=this.getConnection(E);return N!==undefined?N.resolvedModule:null}getConnection(E){const N=this._dependencyMap.get(E);if(N===undefined){const N=this.getParentModule(E);if(N!==undefined){const R=this._getModuleGraphModule(N);if(R._unassignedConnections&&R._unassignedConnections.length!==0){let N;for(const j of R._unassignedConnections){this._dependencyMap.set(j.dependency,j);if(j.dependency===E)N=j}R._unassignedConnections.length=0;if(N!==undefined){return N}}}this._dependencyMap.set(E,null);return undefined}return N===null?undefined:N}getModule(E){const N=this.getConnection(E);return N!==undefined?N.module:null}getOrigin(E){const N=this.getConnection(E);return N!==undefined?N.originModule:null}getResolvedOrigin(E){const N=this.getConnection(E);return N!==undefined?N.resolvedOriginModule:null}getIncomingConnections(E){const N=this._getModuleGraphModule(E).incomingConnections;return N}getOutgoingConnections(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?ae:N}getIncomingConnectionsByOriginModule(E){const N=this._getModuleGraphModule(E).incomingConnections;return N.getFromUnorderedCache(getConnectionsByOriginModule)}getOutgoingConnectionsByModule(E){const N=this._getModuleGraphModule(E).outgoingConnections;return N===undefined?undefined:N.getFromUnorderedCache(getConnectionsByModule)}getProfile(E){const N=this._getModuleGraphModule(E);return N.profile}setProfile(E,N){const R=this._getModuleGraphModule(E);R.profile=N}getIssuer(E){const N=this._getModuleGraphModule(E);return N.issuer}setIssuer(E,N){const R=this._getModuleGraphModule(E);R.issuer=N}setIssuerIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.issuer===undefined)R.issuer=N}getOptimizationBailout(E){const N=this._getModuleGraphModule(E);return N.optimizationBailout}getProvidedExports(E){const N=this._getModuleGraphModule(E);return N.exports.getProvidedExports()}isExportProvided(E,N){const R=this._getModuleGraphModule(E);const j=R.exports.isExportProvided(N);return j===undefined?null:j}getExportsInfo(E){const N=this._getModuleGraphModule(E);return N.exports}getExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getExportInfo(N)}getReadOnlyExportInfo(E,N){const R=this._getModuleGraphModule(E);return R.exports.getReadOnlyExportInfo(N)}getUsedExports(E,N){const R=this._getModuleGraphModule(E);return R.exports.getUsedExports(N)}getPreOrderIndex(E){const N=this._getModuleGraphModule(E);return N.preOrderIndex}getPostOrderIndex(E){const N=this._getModuleGraphModule(E);return N.postOrderIndex}setPreOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.preOrderIndex=N}setPreOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.preOrderIndex===null){R.preOrderIndex=N;return true}return false}setPostOrderIndex(E,N){const R=this._getModuleGraphModule(E);R.postOrderIndex=N}setPostOrderIndexIfUnset(E,N){const R=this._getModuleGraphModule(E);if(R.postOrderIndex===null){R.postOrderIndex=N;return true}return false}getDepth(E){const N=this._getModuleGraphModule(E);return N.depth}setDepth(E,N){const R=this._getModuleGraphModule(E);R.depth=N}setDepthIfLower(E,N){const R=this._getModuleGraphModule(E);if(R.depth===null||R.depth>N){R.depth=N;return true}return false}isAsync(E){const N=this._getModuleGraphModule(E);return N.async}setAsync(E){const N=this._getModuleGraphModule(E);N.async=true}getMeta(E){let N=this._metaMap.get(E);if(N===undefined){N=Object.create(null);this._metaMap.set(E,N)}return N}getMetaIfExisting(E){return this._metaMap.get(E)}freeze(E){this._cache=new ie;this._cacheStage=E}unfreeze(){this._cache=undefined;this._cacheStage=undefined}cached(E,...N){if(this._cache===undefined)return E(this,...N);return this._cache.provide(E,...N,(()=>E(this,...N)))}setModuleMemCaches(E){this._moduleMemCaches=E}dependencyCacheProvide(E,...N){const R=N.pop();if(this._moduleMemCaches&&this._cacheStage){const j=this._moduleMemCaches.get(this.getParentModule(E));if(j!==undefined){return j.provide(E,this._cacheStage,...N,(()=>R(this,E,...N)))}}if(this._cache===undefined)return R(this,E,...N);return this._cache.provide(E,...N,(()=>R(this,E,...N)))}static getModuleGraphForModule(E,N,R){const $=le.get(N);if($)return $(E);const q=j.deprecate((E=>{const R=ce.get(E);if(!R)throw new Error(N+"There was no ModuleGraph assigned to the Module for backward-compat (Use the new API)");return R}),N+": Use new ModuleGraph API",R);le.set(N,q);return q(E)}static setModuleGraphForModule(E,N){ce.set(E,N)}static clearModuleGraphForModule(E){ce.delete(E)}}const ce=new WeakMap;const le=new Map;E.exports=ModuleGraph;E.exports.ModuleGraphConnection=q},79900:E=>{"use strict";const N=Symbol("transitive only");const R=Symbol("circular connection");const addConnectionStates=(E,R)=>{if(E===true||R===true)return true;if(E===false)return R;if(R===false)return E;if(E===N)return R;if(R===N)return E;return E};const intersectConnectionStates=(E,N)=>{if(E===false||N===false)return false;if(E===true)return N;if(N===true)return E;if(E===R)return N;if(N===R)return E;return E};class ModuleGraphConnection{constructor(E,N,R,j,$=false,q=undefined){this.originModule=E;this.resolvedOriginModule=E;this.dependency=N;this.resolvedModule=R;this.module=R;this.weak=$;this.conditional=!!q;this._active=q!==false;this.condition=q||undefined;this.explanations=undefined;if(j){this.explanations=new Set;this.explanations.add(j)}}clone(){const E=new ModuleGraphConnection(this.resolvedOriginModule,this.dependency,this.resolvedModule,undefined,this.weak,this.condition);E.originModule=this.originModule;E.module=this.module;E.conditional=this.conditional;E._active=this._active;if(this.explanations)E.explanations=new Set(this.explanations);return E}addCondition(E){if(this.conditional){const N=this.condition;this.condition=(R,j)=>intersectConnectionStates(N(R,j),E(R,j))}else if(this._active){this.conditional=true;this.condition=E}}addExplanation(E){if(this.explanations===undefined){this.explanations=new Set}this.explanations.add(E)}get explanation(){if(this.explanations===undefined)return"";return Array.from(this.explanations).join(" ")}get active(){throw new Error("Use getActiveState instead")}isActive(E){if(!this.conditional)return this._active;return this.condition(this,E)!==false}isTargetActive(E){if(!this.conditional)return this._active;return this.condition(this,E)===true}getActiveState(E){if(!this.conditional)return this._active;return this.condition(this,E)}setActive(E){this.conditional=false;this._active=E}set active(E){throw new Error("Use setActive instead")}}E.exports=ModuleGraphConnection;E.exports.addConnectionStates=addConnectionStates;E.exports.TRANSITIVE_ONLY=N;E.exports.CIRCULAR_CONNECTION=R},21542:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$,CachedSource:q}=R(48135);const{UsageState:G}=R(76632);const ie=R(58159);const ae=R(18161);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const printExportsInfoToSource=(E,N,R,j,$,q=new Set)=>{const ae=R.otherExportsInfo;let ce=0;const le=[];for(const E of R.orderedExports){if(!q.has(E)){q.add(E);le.push(E)}else{ce++}}let _e=false;if(!q.has(ae)){q.add(ae);_e=true}else{ce++}for(const R of le){const G=R.getTarget(j);E.add(ie.toComment(`${N}export ${JSON.stringify(R.name).slice(1,-1)} [${R.getProvidedInfo()}] [${R.getUsedInfo()}] [${R.getRenameInfo()}]${G?` -> ${G.module.readableIdentifier($)}${G.export?` .${G.export.map((E=>JSON.stringify(E).slice(1,-1))).join(".")}`:""}`:""}`)+"\n");if(R.exportsInfo){printExportsInfoToSource(E,N+" ",R.exportsInfo,j,$,q)}}if(ce){E.add(ie.toComment(`${N}... (${ce} already listed exports)`)+"\n")}if(_e){const R=ae.getTarget(j);if(R||ae.provided!==false||ae.getUsed(undefined)!==G.Unused){const j=le.length>0||ce>0?"other exports":"exports";E.add(ie.toComment(`${N}${j} [${ae.getProvidedInfo()}] [${ae.getUsedInfo()}]${R?` -> ${R.module.readableIdentifier($)}`:""}`)+"\n")}}};const ce=new WeakMap;class ModuleInfoHeaderPlugin{constructor(E=true){this._verbose=E}apply(E){const{_verbose:N}=this;E.hooks.compilation.tap("ModuleInfoHeaderPlugin",(E=>{const R=ae.getCompilationHooks(E);R.renderModulePackage.tap("ModuleInfoHeaderPlugin",((E,R,{chunk:G,chunkGraph:ae,moduleGraph:le,runtimeTemplate:_e})=>{const{requestShortener:Ee}=_e;let Te;let we=ce.get(Ee);if(we===undefined){ce.set(Ee,we=new WeakMap);we.set(R,Te={header:undefined,full:new WeakMap})}else{Te=we.get(R);if(Te===undefined){we.set(R,Te={header:undefined,full:new WeakMap})}else if(!N){const N=Te.full.get(E);if(N!==undefined)return N}}const Ie=new j;let Ne=Te.header;if(Ne===undefined){const E=R.readableIdentifier(Ee);const N=E.replace(/\*\//g,"*_/");const j="*".repeat(N.length);const q=`/*!****${j}****!*\\\n !*** ${N} ***!\n \\****${j}****/\n`;Ne=new $(q);Te.header=Ne}Ie.add(Ne);if(N){const N=R.buildMeta.exportsType;Ie.add(ie.toComment(N?`${N} exports`:"unknown exports (runtime-defined)")+"\n");if(N){const E=le.getExportsInfo(R);printExportsInfoToSource(Ie,"",E,le,Ee)}Ie.add(ie.toComment(`runtime requirements: ${joinIterableWithComma(ae.getModuleRuntimeRequirements(R,G.runtime))}`)+"\n");const j=le.getOptimizationBailout(R);if(j){for(const E of j){let N;if(typeof E==="function"){N=E(Ee)}else{N=E}Ie.add(ie.toComment(`${N}`)+"\n")}}Ie.add(E);return Ie}else{Ie.add(E);const N=new q(Ie);Te.full.set(E,N);return N}}));R.chunkHash.tap("ModuleInfoHeaderPlugin",((E,N)=>{N.update("ModuleInfoHeaderPlugin");N.update("1")}))}))}}E.exports=ModuleInfoHeaderPlugin},54032:(E,N,R)=>{"use strict";const j=R(81627);const $={assert:"assert/",buffer:"buffer/",console:"console-browserify",constants:"constants-browserify",crypto:"crypto-browserify",domain:"domain-browser",events:"events/",http:"stream-http",https:"https-browserify",os:"os-browserify/browser",path:"path-browserify",punycode:"punycode/",process:"process/browser",querystring:"querystring-es3",stream:"stream-browserify",_stream_duplex:"readable-stream/duplex",_stream_passthrough:"readable-stream/passthrough",_stream_readable:"readable-stream/readable",_stream_transform:"readable-stream/transform",_stream_writable:"readable-stream/writable",string_decoder:"string_decoder/",sys:"util/",timers:"timers-browserify",tty:"tty-browserify",url:"url/",util:"util/",vm:"vm-browserify",zlib:"browserify-zlib"};class ModuleNotFoundError extends j{constructor(E,N,R){let j=`Module not found: ${N.toString()}`;const q=N.message.match(/Can't resolve '([^']+)'/);if(q){const E=q[1];const N=$[E];if(N){const R=N.indexOf("/");const $=R>0?N.slice(0,R):N;j+="\n\n"+"BREAKING CHANGE: "+"webpack < 5 used to include polyfills for node.js core modules by default.\n"+"This is no longer the case. Verify if you need this module and configure a polyfill for it.\n\n";j+="If you want to include a polyfill, you need to:\n"+`\t- add a fallback 'resolve.fallback: { "${E}": require.resolve("${N}") }'\n`+`\t- install '${$}'\n`;j+="If you don't want to include a polyfill, you can use an empty module like this:\n"+`\tresolve.fallback: { "${E}": false }`}}super(j);this.name="ModuleNotFoundError";this.details=N.details;this.module=E;this.error=N;this.loc=R}}E.exports=ModuleNotFoundError},14489:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);const q=Buffer.from([0,97,115,109]);class ModuleParseError extends j{constructor(E,N,R,j){let $="Module parse failed: "+(N&&N.message);let G=undefined;if((Buffer.isBuffer(E)&&E.slice(0,4).equals(q)||typeof E==="string"&&/^\0asm/.test(E))&&!j.startsWith("webassembly")){$+="\nThe module seem to be a WebAssembly module, but module is not flagged as WebAssembly module for webpack.";$+="\nBREAKING CHANGE: Since webpack 5 WebAssembly is not enabled by default and flagged as experimental feature.";$+="\nYou need to enable one of the WebAssembly experiments via 'experiments.asyncWebAssembly: true' (based on async modules) or 'experiments.syncWebAssembly: true' (like webpack 4, deprecated).";$+="\nFor files that transpile to WebAssembly, make sure to set the module type in the 'module.rules' section of the config (e. g. 'type: \"webassembly/async\"')."}else if(!R){$+="\nYou may need an appropriate loader to handle this file type."}else if(R.length>=1){$+=`\nFile was processed with these loaders:${R.map((E=>`\n * ${E}`)).join("")}`;$+="\nYou may need an additional loader to handle the result of these loaders."}else{$+="\nYou may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders"}if(N&&N.loc&&typeof N.loc==="object"&&typeof N.loc.line==="number"){var ie=N.loc.line;if(Buffer.isBuffer(E)||/[\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007]/.test(E)){$+="\n(Source code omitted for this binary file)"}else{const N=E.split(/\r?\n/);const R=Math.max(0,ie-3);const j=N.slice(R,ie-1);const q=N[ie-1];const G=N.slice(ie,ie+2);$+=j.map((E=>`\n| ${E}`)).join("")+`\n> ${q}`+G.map((E=>`\n| ${E}`)).join("")}G={start:N.loc}}else if(N&&N.stack){$+="\n"+N.stack}super($);this.name="ModuleParseError";this.loc=G;this.error=N}serialize(E){const{write:N}=E;N(this.error);super.serialize(E)}deserialize(E){const{read:N}=E;this.error=N();super.deserialize(E)}}$(ModuleParseError,"webpack/lib/ModuleParseError");E.exports=ModuleParseError},99869:E=>{"use strict";class ModuleProfile{constructor(){this.startTime=Date.now();this.factoryStartTime=0;this.factoryEndTime=0;this.factory=0;this.factoryParallelismFactor=0;this.restoringStartTime=0;this.restoringEndTime=0;this.restoring=0;this.restoringParallelismFactor=0;this.integrationStartTime=0;this.integrationEndTime=0;this.integration=0;this.integrationParallelismFactor=0;this.buildingStartTime=0;this.buildingEndTime=0;this.building=0;this.buildingParallelismFactor=0;this.storingStartTime=0;this.storingEndTime=0;this.storing=0;this.storingParallelismFactor=0;this.additionalFactoryTimes=undefined;this.additionalFactories=0;this.additionalFactoriesParallelismFactor=0;this.additionalIntegration=0}markFactoryStart(){this.factoryStartTime=Date.now()}markFactoryEnd(){this.factoryEndTime=Date.now();this.factory=this.factoryEndTime-this.factoryStartTime}markRestoringStart(){this.restoringStartTime=Date.now()}markRestoringEnd(){this.restoringEndTime=Date.now();this.restoring=this.restoringEndTime-this.restoringStartTime}markIntegrationStart(){this.integrationStartTime=Date.now()}markIntegrationEnd(){this.integrationEndTime=Date.now();this.integration=this.integrationEndTime-this.integrationStartTime}markBuildingStart(){this.buildingStartTime=Date.now()}markBuildingEnd(){this.buildingEndTime=Date.now();this.building=this.buildingEndTime-this.buildingStartTime}markStoringStart(){this.storingStartTime=Date.now()}markStoringEnd(){this.storingEndTime=Date.now();this.storing=this.storingEndTime-this.storingStartTime}mergeInto(E){E.additionalFactories=this.factory;(E.additionalFactoryTimes=E.additionalFactoryTimes||[]).push({start:this.factoryStartTime,end:this.factoryEndTime})}}E.exports=ModuleProfile},2210:(E,N,R)=>{"use strict";const j=R(81627);class ModuleRestoreError extends j{constructor(E,N){let R="Module restore failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleRestoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleRestoreError},31467:(E,N,R)=>{"use strict";const j=R(81627);class ModuleStoreError extends j{constructor(E,N){let R="Module storing failed: ";let j=undefined;if(N!==null&&typeof N==="object"){if(typeof N.stack==="string"&&N.stack){const E=N.stack;R+=E}else if(typeof N.message==="string"&&N.message){R+=N.message}else{R+=N}}else{R+=String(N)}super(R);this.name="ModuleStoreError";this.details=j;this.module=E;this.error=N}}E.exports=ModuleStoreError},68661:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const q=$((()=>R(18161)));class ModuleTemplate{constructor(E,N){this._runtimeTemplate=E;this.type="javascript";this.hooks=Object.freeze({content:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.content is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_CONTENT")},module:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContent.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.module is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContent instead)","DEP_MODULE_TEMPLATE_MODULE")},render:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModuleContainer.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.render is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer instead)","DEP_MODULE_TEMPLATE_RENDER")},package:{tap:j.deprecate(((E,R)=>{q().getCompilationHooks(N).renderModulePackage.tap(E,((E,N,j)=>R(E,N,j,j.dependencyTemplates)))}),"ModuleTemplate.hooks.package is deprecated (use JavascriptModulesPlugin.getCompilationHooks().renderModulePackage instead)","DEP_MODULE_TEMPLATE_PACKAGE")},hash:{tap:j.deprecate(((E,R)=>{N.hooks.fullHash.tap(E,R)}),"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)","DEP_MODULE_TEMPLATE_HASH")}})}}Object.defineProperty(ModuleTemplate.prototype,"runtimeTemplate",{get:j.deprecate((function(){return this._runtimeTemplate}),"ModuleTemplate.runtimeTemplate is deprecated (use Compilation.runtimeTemplate instead)","DEP_WEBPACK_CHUNK_TEMPLATE_OUTPUT_OPTIONS")});E.exports=ModuleTemplate},8893:(E,N,R)=>{"use strict";const{cleanUp:j}=R(50717);const $=R(81627);const q=R(56202);class ModuleWarning extends ${constructor(E,{from:N=null}={}){let R="Module Warning";if(N){R+=` (from ${N}):\n`}else{R+=": "}if(E&&typeof E==="object"&&E.message){R+=E.message}else if(E){R+=String(E)}super(R);this.name="ModuleWarning";this.warning=E;this.details=E&&typeof E==="object"&&E.stack?j(E.stack,this.message):undefined}serialize(E){const{write:N}=E;N(this.warning);super.serialize(E)}deserialize(E){const{read:N}=E;this.warning=N();super.deserialize(E)}}q(ModuleWarning,"webpack/lib/ModuleWarning");E.exports=ModuleWarning},63433:(E,N,R)=>{"use strict";const j=R(62355);const{SyncHook:$,MultiHook:q}=R(92960);const G=R(27310);const ie=R(34884);const ae=R(10869);const ce=R(56561);E.exports=class MultiCompiler{constructor(E,N){if(!Array.isArray(E)){E=Object.keys(E).map((N=>{E[N].name=N;return E[N]}))}this.hooks=Object.freeze({done:new $(["stats"]),invalid:new q(E.map((E=>E.hooks.invalid))),run:new q(E.map((E=>E.hooks.run))),watchClose:new $([]),watchRun:new q(E.map((E=>E.hooks.watchRun))),infrastructureLog:new q(E.map((E=>E.hooks.infrastructureLog)))});this.compilers=E;this._options={parallelism:N.parallelism||Infinity};this.dependencies=new WeakMap;this.running=false;const R=this.compilers.map((()=>null));let j=0;for(let E=0;E{if(!q){q=true;j++}R[$]=E;if(j===this.compilers.length){this.hooks.done.call(new ie(R))}}));N.hooks.invalid.tap("MultiCompiler",(()=>{if(q){q=false;j--}}))}}get options(){return Object.assign(this.compilers.map((E=>E.options)),this._options)}get outputPath(){let E=this.compilers[0].outputPath;for(const N of this.compilers){while(N.outputPath.indexOf(E)!==0&&/[/\\]/.test(E)){E=E.replace(/[/\\][^/\\]*$/,"")}}if(!E&&this.compilers[0].outputPath[0]==="/")return"/";return E}get inputFileSystem(){throw new Error("Cannot read inputFileSystem of a MultiCompiler")}get outputFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}get watchFileSystem(){throw new Error("Cannot read watchFileSystem of a MultiCompiler")}get intermediateFileSystem(){throw new Error("Cannot read outputFileSystem of a MultiCompiler")}set inputFileSystem(E){for(const N of this.compilers){N.inputFileSystem=E}}set outputFileSystem(E){for(const N of this.compilers){N.outputFileSystem=E}}set watchFileSystem(E){for(const N of this.compilers){N.watchFileSystem=E}}set intermediateFileSystem(E){for(const N of this.compilers){N.intermediateFileSystem=E}}getInfrastructureLogger(E){return this.compilers[0].getInfrastructureLogger(E)}setDependencies(E,N){this.dependencies.set(E,N)}validateDependencies(E){const N=new Set;const R=[];const targetFound=E=>{for(const R of N){if(R.target===E){return true}}return false};const sortEdges=(E,N)=>E.source.name.localeCompare(N.source.name)||E.target.name.localeCompare(N.target.name);for(const E of this.compilers){const j=this.dependencies.get(E);if(j){for(const $ of j){const j=this.compilers.find((E=>E.name===$));if(!j){R.push($)}else{N.add({source:E,target:j})}}}}const j=R.map((E=>`Compiler dependency \`${E}\` not found.`));const $=this.compilers.filter((E=>!targetFound(E)));while($.length>0){const E=$.pop();for(const R of N){if(R.source===E){N.delete(R);const E=R.target;if(!targetFound(E)){$.push(E)}}}}if(N.size>0){const E=Array.from(N).sort(sortEdges).map((E=>`${E.source.name} -> ${E.target.name}`));E.unshift("Circular dependency found in compiler dependencies.");j.unshift(E.join("\n"))}if(j.length>0){const N=j.join("\n");E(new Error(N));return false}return true}runWithDependencies(E,N,R){const $=new Set;let q=E;const isDependencyFulfilled=E=>$.has(E);const getReadyCompilers=()=>{let E=[];let N=q;q=[];for(const R of N){const N=this.dependencies.get(R);const j=!N||N.every(isDependencyFulfilled);if(j){E.push(R)}else{q.push(R)}}return E};const runCompilers=E=>{if(q.length===0)return E();j.map(getReadyCompilers(),((E,R)=>{N(E,(N=>{if(N)return R(N);$.add(E.name);runCompilers(R)}))}),E)};runCompilers(R)}_runGraph(E,N,R){const $=this.compilers.map((E=>({compiler:E,setupResult:undefined,result:undefined,state:"blocked",children:[],parents:[]})));const q=new Map;for(const E of $)q.set(E.compiler.name,E);for(const E of $){const N=this.dependencies.get(E.compiler);if(!N)continue;for(const R of N){const N=q.get(R);E.parents.push(N);N.children.push(E)}}const G=new ce;for(const E of $){if(E.parents.length===0){E.state="queued";G.enqueue(E)}}let ae=false;let le=0;const _e=this._options.parallelism;const nodeDone=(E,N,q)=>{if(ae)return;if(N){ae=true;return j.each($,((E,N)=>{if(E.compiler.watching){E.compiler.watching.close(N)}else{N()}}),(()=>R(N)))}E.result=q;le--;if(E.state==="running"){E.state="done";for(const N of E.children){if(N.state==="blocked")G.enqueue(N)}}else if(E.state==="running-outdated"){E.state="blocked";G.enqueue(E)}processQueue()};const nodeInvalidFromParent=E=>{if(E.state==="done"){E.state="blocked"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeInvalid=E=>{if(E.state==="done"){E.state="pending"}else if(E.state==="running"){E.state="running-outdated"}for(const N of E.children){nodeInvalidFromParent(N)}};const nodeChange=E=>{nodeInvalid(E);if(E.state==="pending"){E.state="blocked"}if(E.state==="blocked"){G.enqueue(E);processQueue()}};const Ee=[];$.forEach(((N,R)=>{Ee.push(N.setupResult=E(N.compiler,R,nodeDone.bind(null,N),(()=>N.state!=="starting"&&N.state!=="running"),(()=>nodeChange(N)),(()=>nodeInvalid(N))))}));let Te=true;const processQueue=()=>{if(Te)return;Te=true;process.nextTick(processQueueWorker)};const processQueueWorker=()=>{while(le<_e&&G.length>0&&!ae){const E=G.dequeue();if(E.state==="queued"||E.state==="blocked"&&E.parents.every((E=>E.state==="done"))){le++;E.state="starting";N(E.compiler,E.setupResult,nodeDone.bind(null,E));E.state="running"}}Te=false;if(!ae&&le===0&&$.every((E=>E.state==="done"))){const E=[];for(const N of $){const R=N.result;if(R){N.result=undefined;E.push(R)}}if(E.length>0){R(null,new ie(E))}}};processQueueWorker();return Ee}watch(E,N){if(this.running){return N(new G)}this.running=true;if(this.validateDependencies(N)){const R=this._runGraph(((N,R,j,$,q,G)=>{const ie=N.watch(Array.isArray(E)?E[R]:E,j);if(ie){ie._onInvalid=G;ie._onChange=q;ie._isBlocked=$}return ie}),((E,N,R)=>{if(E.watching!==N)return;if(!N.running)N.invalidate()}),N);return new ae(R,this)}return new ae([],this)}run(E){if(this.running){return E(new G)}this.running=true;if(this.validateDependencies(E)){this._runGraph((()=>{}),((E,N,R)=>E.run(R)),((N,R)=>{this.running=false;if(E!==undefined){return E(N,R)}}))}}purgeInputFileSystem(){for(const E of this.compilers){if(E.inputFileSystem&&E.inputFileSystem.purge){E.inputFileSystem.purge()}}}close(E){j.each(this.compilers,((E,N)=>{E.close(N)}),E)}}},34884:(E,N,R)=>{"use strict";const j=R(49197);const indent=(E,N)=>{const R=E.replace(/\n([^\n])/g,"\n"+N+"$1");return N+R};class MultiStats{constructor(E){this.stats=E}get hash(){return this.stats.map((E=>E.hash)).join("")}hasErrors(){return this.stats.some((E=>E.hasErrors()))}hasWarnings(){return this.stats.some((E=>E.hasWarnings()))}_createChildOptions(E,N){if(!E){E={}}const{children:R=undefined,...j}=typeof E==="string"?{preset:E}:E;const $=this.stats.map(((E,$)=>{const q=Array.isArray(R)?R[$]:R;return E.compilation.createStatsOptions({...j,...typeof q==="string"?{preset:q}:q&&typeof q==="object"?q:undefined},N)}));return{version:$.every((E=>E.version)),hash:$.every((E=>E.hash)),errorsCount:$.every((E=>E.errorsCount)),warningsCount:$.every((E=>E.warningsCount)),errors:$.every((E=>E.errors)),warnings:$.every((E=>E.warnings)),children:$}}toJson(E){E=this._createChildOptions(E,{forToString:false});const N={};N.children=this.stats.map(((N,R)=>{const $=N.toJson(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root);$.name=G;return $}));if(E.version){N.version=N.children[0].version}if(E.hash){N.hash=N.children.map((E=>E.hash)).join("")}const mapError=(E,N)=>({...N,compilerPath:N.compilerPath?`${E.name}.${N.compilerPath}`:E.name});if(E.errors){N.errors=[];for(const E of N.children){for(const R of E.errors){N.errors.push(mapError(E,R))}}}if(E.warnings){N.warnings=[];for(const E of N.children){for(const R of E.warnings){N.warnings.push(mapError(E,R))}}}if(E.errorsCount){N.errorsCount=0;for(const E of N.children){N.errorsCount+=E.errorsCount}}if(E.warningsCount){N.warningsCount=0;for(const E of N.children){N.warningsCount+=E.warningsCount}}return N}toString(E){E=this._createChildOptions(E,{forToString:true});const N=this.stats.map(((N,R)=>{const $=N.toString(E.children[R]);const q=N.compilation.name;const G=q&&j.makePathsRelative(E.context,q,N.compilation.compiler.root).replace(/\|/g," ");if(!$)return $;return G?`${G}:\n${indent($," ")}`:$}));return N.filter(Boolean).join("\n\n")}}E.exports=MultiStats},10869:(E,N,R)=>{"use strict";const j=R(62355);class MultiWatching{constructor(E,N){this.watchings=E;this.compiler=N}invalidate(E){if(E){j.each(this.watchings,((E,N)=>E.invalidate(N)),E)}else{for(const E of this.watchings){E.invalidate()}}}suspend(){for(const E of this.watchings){E.suspend()}}resume(){for(const E of this.watchings){E.resume()}}close(E){j.forEach(this.watchings,((E,N)=>{E.close(N)}),(N=>{this.compiler.hooks.watchClose.call();if(typeof E==="function"){this.compiler.running=false;E(N)}}))}}E.exports=MultiWatching},66962:E=>{"use strict";class NoEmitOnErrorsPlugin{apply(E){E.hooks.shouldEmit.tap("NoEmitOnErrorsPlugin",(E=>{if(E.getStats().hasErrors())return false}));E.hooks.compilation.tap("NoEmitOnErrorsPlugin",(E=>{E.hooks.shouldRecord.tap("NoEmitOnErrorsPlugin",(()=>{if(E.getStats().hasErrors())return false}))}))}}E.exports=NoEmitOnErrorsPlugin},24500:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoModeWarning extends j{constructor(){super();this.name="NoModeWarning";this.message="configuration\n"+"The 'mode' option has not been set, webpack will fallback to 'production' for this value.\n"+"Set 'mode' option to 'development' or 'production' to enable defaults for each environment.\n"+"You can also set it to 'none' to disable any default behavior. "+"Learn more: https://webpack.js.org/configuration/mode/"}}},39960:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class NodeStuffInWebError extends j{constructor(E,N,R){super(`${JSON.stringify(N)} has been used, it will be undefined in next major version.\n${R}`);this.name="NodeStuffInWebError";this.loc=E}}$(NodeStuffInWebError,"webpack/lib/NodeStuffInWebError");E.exports=NodeStuffInWebError},32125:(E,N,R)=>{"use strict";const j=R(39960);const $=R(76150);const q=R(59455);const G=R(66298);const{evaluateToString:ie,expressionIsUnsupported:ae}=R(48472);const{relative:ce}=R(95396);const{parseResource:le}=R(49197);class NodeStuffPlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("NodeStuffPlugin",((R,{normalModuleFactory:_e})=>{const handler=(R,_e)=>{if(_e.node===false)return;let Ee=N;if(_e.node){Ee={...Ee,..._e.node}}if(Ee.global!==false){const E=Ee.global==="warn";R.hooks.expression.for("global").tap("NodeStuffPlugin",(N=>{const q=new G($.global,N.range,[$.global]);q.loc=N.loc;R.state.module.addPresentationalDependency(q);if(E){R.state.module.addWarning(new j(q.loc,"global","The global namespace object is Node.js feature and doesn't present in browser."))}}))}const setModuleConstant=(E,N,$)=>{R.hooks.expression.for(E).tap("NodeStuffPlugin",(G=>{const ie=new q(JSON.stringify(N(R.state.module)),G.range,E);ie.loc=G.loc;R.state.module.addPresentationalDependency(ie);if($){R.state.module.addWarning(new j(ie.loc,E,$))}return true}))};const setConstant=(E,N,R)=>setModuleConstant(E,(()=>N),R);const Te=E.context;if(Ee.__filename){switch(Ee.__filename){case"mock":setConstant("__filename","/index.js");break;case"warn-mock":setConstant("__filename","/index.js","The __filename is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__filename",(N=>ce(E.inputFileSystem,Te,N.resource)));break}R.hooks.evaluateIdentifier.for("__filename").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;const N=le(R.state.module.resource);return ie(N.path)(E)}))}if(Ee.__dirname){switch(Ee.__dirname){case"mock":setConstant("__dirname","/");break;case"warn-mock":setConstant("__dirname","/","The __dirname is Node.js feature and doesn't present in browser.");break;case true:setModuleConstant("__dirname",(N=>ce(E.inputFileSystem,Te,N.context)));break}R.hooks.evaluateIdentifier.for("__dirname").tap("NodeStuffPlugin",(E=>{if(!R.state.module)return;return ie(R.state.module.context)(E)}))}R.hooks.expression.for("require.extensions").tap("NodeStuffPlugin",ae(R,"require.extensions is not supported by webpack. Use a loader instead."))};_e.hooks.parser.for("javascript/auto").tap("NodeStuffPlugin",handler);_e.hooks.parser.for("javascript/dynamic").tap("NodeStuffPlugin",handler)}))}}E.exports=NodeStuffPlugin},53520:(E,N,R)=>{"use strict";const j=R(78688);const{getContext:$,runLoaders:q}=R(60425);const G=R(63477);const{HookMap:ie,SyncHook:ae,AsyncSeriesBailHook:ce}=R(92960);const{CachedSource:le,OriginalSource:_e,RawSource:Ee,SourceMapSource:Te}=R(48135);const we=R(3080);const Ie=R(3728);const Ne=R(53453);const Me=R(26509);const Le=R(91613);const Be=R(79900);const je=R(14489);const Ue=R(8893);const ze=R(76150);const We=R(77090);const Je=R(81627);const Ve=R(72380);const qe=R(83379);const{isSubset:He}=R(26221);const{getScheme:Ge}=R(45754);const{compareLocations:Ke,concatComparators:Qe,compareSelect:Xe,keepOriginalOrder:Ye}=R(68673);const Ze=R(35891);const{createFakeHook:et}=R(16595);const{join:tt}=R(95396);const{contextify:rt,absolutify:nt,makePathsRelative:it}=R(49197);const ot=R(56202);const st=R(91671);const ct=st((()=>R(49619)));const ut=st((()=>R(15235).validate));const dt=/^([a-zA-Z]:\\|\\\\|\/)/;const contextifySourceUrl=(E,N,R)=>{if(N.startsWith("webpack://"))return N;return`webpack://${it(E,N,R)}`};const contextifySourceMap=(E,N,R)=>{if(!Array.isArray(N.sources))return N;const{sourceRoot:j}=N;const $=!j?E=>E:j.endsWith("/")?E=>E.startsWith("/")?`${j.slice(0,-1)}${E}`:`${j}${E}`:E=>E.startsWith("/")?`${j}${E}`:`${j}/${E}`;const q=N.sources.map((N=>contextifySourceUrl(E,$(N),R)));return{...N,file:"x",sourceRoot:undefined,sources:q}};const asString=E=>{if(Buffer.isBuffer(E)){return E.toString("utf-8")}return E};const asBuffer=E=>{if(!Buffer.isBuffer(E)){return Buffer.from(E,"utf-8")}return E};class NonErrorEmittedError extends Je{constructor(E){super();this.name="NonErrorEmittedError";this.message="(Emitted value instead of an instance of Error) "+E}}ot(NonErrorEmittedError,"webpack/lib/NormalModule","NonErrorEmittedError");const pt=new WeakMap;class NormalModule extends Ne{static getCompilationHooks(E){if(!(E instanceof we)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=pt.get(E);if(N===undefined){N={loader:new ae(["loaderContext","module"]),beforeLoaders:new ae(["loaders","module","loaderContext"]),beforeParse:new ae(["module"]),beforeSnapshot:new ae(["module"]),readResourceForScheme:new ie((E=>{const R=N.readResource.for(E);return et({tap:(E,N)=>R.tap(E,(E=>N(E.resource,E._module))),tapAsync:(E,N)=>R.tapAsync(E,((E,R)=>N(E.resource,E._module,R))),tapPromise:(E,N)=>R.tapPromise(E,(E=>N(E.resource,E._module)))})})),readResource:new ie((()=>new ce(["loaderContext"]))),needBuild:new ce(["module","context"])};pt.set(E,N)}return N}constructor({layer:E,type:N,request:R,userRequest:j,rawRequest:q,loaders:G,resource:ie,resourceResolveData:ae,context:ce,matchResource:le,parser:_e,parserOptions:Ee,generator:Te,generatorOptions:we,resolveOptions:Ie}){super(N,ce||$(ie),E);this.request=R;this.userRequest=j;this.rawRequest=q;this.binary=/^(asset|webassembly)\b/.test(N);this.parser=_e;this.parserOptions=Ee;this.generator=Te;this.generatorOptions=we;this.resource=ie;this.resourceResolveData=ae;this.matchResource=le;this.loaders=G;if(Ie!==undefined){this.resolveOptions=Ie}this.error=null;this._source=null;this._sourceSizes=undefined;this._sourceTypes=undefined;this._lastSuccessfulBuildMeta={};this._forceBuild=true;this._isEvaluatingSideEffects=false;this._addedSideEffectsBailout=undefined}identifier(){if(this.layer===null){if(this.type==="javascript/auto"){return this.request}else{return`${this.type}|${this.request}`}}else{return`${this.type}|${this.request}|${this.layer}`}}readableIdentifier(E){return E.shorten(this.userRequest)}libIdent(E){return rt(E.context,this.userRequest,E.associatedObjectForCache)}nameForCondition(){const E=this.matchResource||this.resource;const N=E.indexOf("?");if(N>=0)return E.substr(0,N);return E}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.binary=N.binary;this.request=N.request;this.userRequest=N.userRequest;this.rawRequest=N.rawRequest;this.parser=N.parser;this.parserOptions=N.parserOptions;this.generator=N.generator;this.generatorOptions=N.generatorOptions;this.resource=N.resource;this.resourceResolveData=N.resourceResolveData;this.context=N.context;this.matchResource=N.matchResource;this.loaders=N.loaders}cleanupForCache(){if(this.buildInfo){if(this._sourceTypes===undefined)this.getSourceTypes();for(const E of this._sourceTypes){this.size(E)}}super.cleanupForCache();this.parser=undefined;this.parserOptions=undefined;this.generator=undefined;this.generatorOptions=undefined}getUnsafeCacheData(){const E=super.getUnsafeCacheData();E.parserOptions=this.parserOptions;E.generatorOptions=this.generatorOptions;return E}restoreFromUnsafeCache(E,N){this._restoreFromUnsafeCache(E,N)}_restoreFromUnsafeCache(E,N){super._restoreFromUnsafeCache(E,N);this.parserOptions=E.parserOptions;this.parser=N.getParser(this.type,this.parserOptions);this.generatorOptions=E.generatorOptions;this.generator=N.getGenerator(this.type,this.generatorOptions)}createSourceForAsset(E,N,R,j,$){if(j){if(typeof j==="string"&&(this.useSourceMap||this.useSimpleSourceMap)){return new _e(R,contextifySourceUrl(E,j,$))}if(this.useSourceMap){return new Te(R,N,contextifySourceMap(E,j,$))}}return new Ee(R)}_createLoaderContext(E,N,R,$,q){const{requestShortener:ie}=R.runtimeTemplate;const getCurrentLoaderName=()=>{const E=this.getCurrentLoader(Te);if(!E)return"(not in loader scope)";return ie.shorten(E.loader)};const getResolveContext=()=>({fileDependencies:{add:E=>Te.addDependency(E)},contextDependencies:{add:E=>Te.addContextDependency(E)},missingDependencies:{add:E=>Te.addMissingDependency(E)}});const ae=st((()=>nt.bindCache(R.compiler.root)));const ce=st((()=>nt.bindContextCache(this.context,R.compiler.root)));const le=st((()=>rt.bindCache(R.compiler.root)));const _e=st((()=>rt.bindContextCache(this.context,R.compiler.root)));const Ee={absolutify:(E,N)=>E===this.context?ce()(N):ae()(E,N),contextify:(E,N)=>E===this.context?_e()(N):le()(E,N),createHash:E=>Ze(E||R.outputOptions.hashFunction)};const Te={version:2,getOptions:E=>{const N=this.getCurrentLoader(Te);let{options:R}=N;if(typeof R==="string"){if(R.substr(0,1)==="{"&&R.substr(-1)==="}"){try{R=j(R)}catch(E){throw new Error(`Cannot parse string options: ${E.message}`)}}else{R=G.parse(R,"&","=",{maxKeys:0})}}if(R===null||R===undefined){R={}}if(E){let N="Loader";let j="options";let $;if(E.title&&($=/^(.+) (.+)$/.exec(E.title))){[,N,j]=$}ut()(E,R,{name:N,baseDataPath:j})}return R},emitWarning:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addWarning(new Ue(E,{from:getCurrentLoaderName()}))},emitError:E=>{if(!(E instanceof Error)){E=new NonErrorEmittedError(E)}this.addError(new Le(E,{from:getCurrentLoaderName()}))},getLogger:E=>{const N=this.getCurrentLoader(Te);return R.getLogger((()=>[N&&N.loader,E,this.identifier()].filter(Boolean).join("|")))},resolve(N,R,j){E.resolve({},N,R,getResolveContext(),j)},getResolve(N){const R=N?E.withOptions(N):E;return(E,N,j)=>{if(j){R.resolve({},E,N,getResolveContext(),j)}else{return new Promise(((j,$)=>{R.resolve({},E,N,getResolveContext(),((E,N)=>{if(E)$(E);else j(N)}))}))}}},emitFile:(E,j,$,q)=>{if(!this.buildInfo.assets){this.buildInfo.assets=Object.create(null);this.buildInfo.assetsInfo=new Map}this.buildInfo.assets[E]=this.createSourceForAsset(N.context,E,j,$,R.compiler.root);this.buildInfo.assetsInfo.set(E,q)},addBuildDependency:E=>{if(this.buildInfo.buildDependencies===undefined){this.buildInfo.buildDependencies=new qe}this.buildInfo.buildDependencies.add(E)},utils:Ee,rootContext:N.context,webpack:true,sourceMap:!!this.useSourceMap,mode:N.mode||"production",_module:this,_compilation:R,_compiler:R.compiler,fs:$};Object.assign(Te,N.loader);q.loader.call(Te,this);return Te}getCurrentLoader(E,N=E.loaderIndex){if(this.loaders&&this.loaders.length&&N=0&&this.loaders[N]){return this.loaders[N]}return null}createSource(E,N,R,j){if(Buffer.isBuffer(N)){return new Ee(N)}if(!this.identifier){return new Ee(N)}const $=this.identifier();if(this.useSourceMap&&R){return new Te(N,contextifySourceUrl(E,$,j),contextifySourceMap(E,R,j))}if(this.useSourceMap||this.useSimpleSourceMap){return new _e(N,contextifySourceUrl(E,$,j))}return new Ee(N)}_doBuild(E,N,R,j,$,G){const ie=this._createLoaderContext(R,E,N,j,$);const processResult=(R,j)=>{if(R){if(!(R instanceof Error)){R=new NonErrorEmittedError(R)}const E=this.getCurrentLoader(ie);const j=new Me(R,{from:E&&N.runtimeTemplate.requestShortener.shorten(E.loader)});return G(j)}const $=j[0];const q=j.length>=1?j[1]:null;const ae=j.length>=2?j[2]:null;if(!Buffer.isBuffer($)&&typeof $!=="string"){const E=this.getCurrentLoader(ie,0);const R=new Error(`Final loader (${E?N.runtimeTemplate.requestShortener.shorten(E.loader):"unknown"}) didn't return a Buffer or String`);const j=new Me(R);return G(j)}this._source=this.createSource(E.context,this.binary?asBuffer($):asString($),q,N.compiler.root);if(this._sourceSizes!==undefined)this._sourceSizes.clear();this._ast=typeof ae==="object"&&ae!==null&&ae.webpackAST!==undefined?ae.webpackAST:null;return G()};this.buildInfo.fileDependencies=new qe;this.buildInfo.contextDependencies=new qe;this.buildInfo.missingDependencies=new qe;this.buildInfo.cacheable=true;try{$.beforeLoaders.call(this.loaders,this,ie)}catch(E){processResult(E);return}if(this.loaders.length>0){this.buildInfo.buildDependencies=new qe}q({resource:this.resource,loaders:this.loaders,context:ie,processResource:(E,N,R)=>{const j=E.resource;const q=Ge(j);$.readResource.for(q).callAsync(E,((E,N)=>{if(E)return R(E);if(typeof N!=="string"&&!N){return R(new We(q,j))}return R(null,N)}))}},((E,N)=>{ie._compilation=ie._compiler=ie._module=ie.fs=undefined;if(!N){this.buildInfo.cacheable=false;return processResult(E||new Error("No result from loader-runner processing"),null)}this.buildInfo.fileDependencies.addAll(N.fileDependencies);this.buildInfo.contextDependencies.addAll(N.contextDependencies);this.buildInfo.missingDependencies.addAll(N.missingDependencies);for(const E of this.loaders){this.buildInfo.buildDependencies.add(E.loader)}this.buildInfo.cacheable=this.buildInfo.cacheable&&N.cacheable;processResult(E,N.result)}))}markModuleAsErrored(E){this.buildMeta={...this._lastSuccessfulBuildMeta};this.error=E;this.addError(E)}applyNoParseRule(E,N){if(typeof E==="string"){return N.startsWith(E)}if(typeof E==="function"){return E(N)}return E.test(N)}shouldPreventParsing(E,N){if(!E){return false}if(!Array.isArray(E)){return this.applyNoParseRule(E,N)}for(let R=0;R{if(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const handleParseError=R=>{const j=this._source.source();const q=this.loaders.map((R=>rt(E.context,R.loader,N.compiler.root)));const G=new je(j,R,q,this.type);this.markModuleAsErrored(G);this._initBuildHash(N);return $()};const handleParseResult=E=>{this.dependencies.sort(Qe(Xe((E=>E.loc),Ke),Ye(this.dependencies)));this._initBuildHash(N);this._lastSuccessfulBuildMeta=this.buildMeta;return handleBuildDone()};const handleBuildDone=()=>{try{G.beforeSnapshot.call(this)}catch(E){this.markModuleAsErrored(E);return $()}const E=N.options.snapshot.module;if(!this.buildInfo.cacheable||!E){return $()}let R=undefined;const checkDependencies=E=>{for(const j of E){if(!dt.test(j)){if(R===undefined)R=new Set;R.add(j);E.delete(j);try{const R=j.replace(/[\\/]?\*.*$/,"");const $=tt(N.fileSystemInfo.fs,this.context,R);if($!==j&&dt.test($)){(R!==j?this.buildInfo.contextDependencies:E).add($)}}catch(E){}}}};checkDependencies(this.buildInfo.fileDependencies);checkDependencies(this.buildInfo.missingDependencies);checkDependencies(this.buildInfo.contextDependencies);if(R!==undefined){const E=ct();this.addWarning(new E(this,R))}N.fileSystemInfo.createSnapshot(q,this.buildInfo.fileDependencies,this.buildInfo.contextDependencies,this.buildInfo.missingDependencies,E,((E,N)=>{if(E){this.markModuleAsErrored(E);return}this.buildInfo.fileDependencies=undefined;this.buildInfo.contextDependencies=undefined;this.buildInfo.missingDependencies=undefined;this.buildInfo.snapshot=N;return $()}))};try{G.beforeParse.call(this)}catch(R){this.markModuleAsErrored(R);this._initBuildHash(N);return $()}const j=E.module&&E.module.noParse;if(this.shouldPreventParsing(j,this.request)){this.buildInfo.parsed=false;this._initBuildHash(N);return handleBuildDone()}let ie;try{const R=this._source.source();ie=this.parser.parse(this._ast||R,{source:R,current:this,module:this,compilation:N,options:E})}catch(E){handleParseError(E);return}handleParseResult(ie)}))}getConcatenationBailoutReason(E){return this.generator.getConcatenationBailoutReason(this,E)}getSideEffectsConnectionState(E){if(this.factoryMeta!==undefined){if(this.factoryMeta.sideEffectFree)return false;if(this.factoryMeta.sideEffectFree===false)return true}if(this.buildMeta!==undefined&&this.buildMeta.sideEffectFree){if(this._isEvaluatingSideEffects)return Be.CIRCULAR_CONNECTION;this._isEvaluatingSideEffects=true;let N=false;for(const R of this.dependencies){const j=R.getModuleEvaluationSideEffectsState(E);if(j===true){if(this._addedSideEffectsBailout===undefined?(this._addedSideEffectsBailout=new WeakSet,true):!this._addedSideEffectsBailout.has(E)){this._addedSideEffectsBailout.add(E);E.getOptimizationBailout(this).push((()=>`Dependency (${R.type}) with side effects at ${Ve(R.loc)}`))}this._isEvaluatingSideEffects=false;return true}else if(j!==Be.CIRCULAR_CONNECTION){N=Be.addConnectionStates(N,j)}}this._isEvaluatingSideEffects=false;return N}else{return true}}getSourceTypes(){if(this._sourceTypes===undefined){this._sourceTypes=this.generator.getTypes(this)}return this._sourceTypes}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$,concatenationScope:q}){const G=new Set;if(!this.buildInfo.parsed){G.add(ze.module);G.add(ze.exports);G.add(ze.thisAsExports)}let ie;const getData=()=>{if(ie===undefined)ie=new Map;return ie};const ae=new Map;for(const ie of this.generator.getTypes(this)){const ce=this.error?new Ee("throw new Error("+JSON.stringify(this.error.message)+");"):this.generator.generate(this,{dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:G,runtime:$,concatenationScope:q,getData:getData,type:ie});if(ce){ae.set(ie,new le(ce))}}const ce={sources:ae,runtimeRequirements:G,data:ie};return ce}originalSource(){return this._source}invalidateBuild(){this._forceBuild=true}needBuild(E,N){const{fileSystemInfo:R,compilation:j,valueCacheVersions:$}=E;if(this._forceBuild)return N(null,true);if(this.error)return N(null,true);if(!this.buildInfo.cacheable)return N(null,true);if(!this.buildInfo.snapshot)return N(null,true);const q=this.buildInfo.valueDependencies;if(q){if(!$)return N(null,true);for(const[E,R]of q){if(R===undefined)return N(null,true);const j=$.get(E);if(R!==j&&(typeof R==="string"||typeof j==="string"||j===undefined||!He(R,j))){return N(null,true)}}}R.checkSnapshotValid(this.buildInfo.snapshot,((R,$)=>{if(R)return N(R);if(!$)return N(null,true);const q=NormalModule.getCompilationHooks(j);q.needBuild.callAsync(this,E,((E,R)=>{if(E){return N(Ie.makeWebpackError(E,"NormalModule.getCompilationHooks().needBuild"))}N(null,!!R)}))}))}size(E){const N=this._sourceSizes===undefined?undefined:this._sourceSizes.get(E);if(N!==undefined){return N}const R=Math.max(1,this.generator.getSize(this,E));if(this._sourceSizes===undefined){this._sourceSizes=new Map}this._sourceSizes.set(E,R);return R}addCacheDependencies(E,N,R,j){const{snapshot:$,buildDependencies:q}=this.buildInfo;if($){E.addAll($.getFileIterable());N.addAll($.getContextIterable());R.addAll($.getMissingIterable())}else{const{fileDependencies:j,contextDependencies:$,missingDependencies:q}=this.buildInfo;if(j!==undefined)E.addAll(j);if($!==undefined)N.addAll($);if(q!==undefined)R.addAll(q)}if(q!==undefined){j.addAll(q)}}updateHash(E,N){E.update(this.buildInfo.hash);this.generator.updateHash(E,{module:this,...N});super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this._source);N(this.error);N(this._lastSuccessfulBuildMeta);N(this._forceBuild);super.serialize(E)}static deserialize(E){const N=new NormalModule({layer:null,type:"",resource:"",context:"",request:null,userRequest:null,rawRequest:null,loaders:null,matchResource:null,parser:null,parserOptions:null,generator:null,generatorOptions:null,resolveOptions:null});N.deserialize(E);return N}deserialize(E){const{read:N}=E;this._source=N();this.error=N();this._lastSuccessfulBuildMeta=N();this._forceBuild=N();super.deserialize(E)}}ot(NormalModule,"webpack/lib/NormalModule");E.exports=NormalModule},43229:(E,N,R)=>{"use strict";const{getContext:j}=R(60425);const $=R(62355);const{AsyncSeriesBailHook:q,SyncWaterfallHook:G,SyncBailHook:ie,SyncHook:ae,HookMap:ce}=R(92960);const le=R(45137);const _e=R(53453);const Ee=R(40674);const Te=R(75412);const we=R(53520);const Ie=R(94288);const Ne=R(1976);const Me=R(95020);const Le=R(73817);const Be=R(19311);const je=R(83379);const{getScheme:Ue}=R(45754);const{cachedCleverMerge:ze,cachedSetProperty:We}=R(90149);const{join:Je}=R(95396);const{parseResource:Ve}=R(49197);const qe={};const He={};const Ge={};const Ke=[];const Qe=/^([^!]+)!=!/;const loaderToIdent=E=>{if(!E.options){return E.loader}if(typeof E.options==="string"){return E.loader+"?"+E.options}if(typeof E.options!=="object"){throw new Error("loader options must be string or object")}if(E.ident){return E.loader+"??"+E.ident}return E.loader+"?"+JSON.stringify(E.options)};const stringifyLoadersAndResource=(E,N)=>{let R="";for(const N of E){R+=loaderToIdent(N)+"!"}return R+N};const identToLoaderRequest=E=>{const N=E.indexOf("?");if(N>=0){const R=E.substr(0,N);const j=E.substr(N+1);return{loader:R,options:j}}else{return{loader:E,options:undefined}}};const needCalls=(E,N)=>R=>{if(--E===0){return N(R)}if(R&&E>0){E=NaN;return N(R)}};const mergeGlobalOptions=(E,N,R)=>{const j=N.split("/");let $;let q="";for(const N of j){q=q?`${q}/${N}`:N;const R=E[q];if(typeof R==="object"){if($===undefined){$=R}else{$=ze($,R)}}}if($===undefined){return R}else{return ze($,R)}};const deprecationChangedHookMessage=(E,N)=>{const R=N.taps.map((E=>E.name)).join(", ");return`NormalModuleFactory.${E} (${R}) is no longer a waterfall hook, but a bailing hook instead. `+"Do not return the passed object, but modify it instead. "+"Returning false will ignore the request and results in no module created."};const Xe=new Le([new Ne("test","resource"),new Ne("scheme"),new Ne("mimetype"),new Ne("dependency"),new Ne("include","resource"),new Ne("exclude","resource",true),new Ne("resource"),new Ne("resourceQuery"),new Ne("resourceFragment"),new Ne("realResource"),new Ne("issuer"),new Ne("compiler"),new Ne("issuerLayer"),new Me("assert","assertions"),new Me("descriptionData"),new Ie("type"),new Ie("sideEffects"),new Ie("parser"),new Ie("resolve"),new Ie("generator"),new Ie("layer"),new Be]);class NormalModuleFactory extends Ee{constructor({context:E,fs:N,resolverFactory:R,options:$,associatedObjectForCache:le,layers:Ee=false}){super();this.hooks=Object.freeze({resolve:new q(["resolveData"]),resolveForScheme:new ce((()=>new q(["resourceData","resolveData"]))),resolveInScheme:new ce((()=>new q(["resourceData","resolveData"]))),factorize:new q(["resolveData"]),beforeResolve:new q(["resolveData"]),afterResolve:new q(["resolveData"]),createModule:new q(["createData","resolveData"]),module:new G(["module","createData","resolveData"]),createParser:new ce((()=>new ie(["parserOptions"]))),parser:new ce((()=>new ae(["parser","parserOptions"]))),createGenerator:new ce((()=>new ie(["generatorOptions"]))),generator:new ce((()=>new ae(["generator","generatorOptions"])))});this.resolverFactory=R;this.ruleSet=Xe.compile([{rules:$.defaultRules},{rules:$.rules}]);this.context=E||"";this.fs=N;this._globalParserOptions=$.parser;this._globalGeneratorOptions=$.generator;this.parserCache=new Map;this.generatorCache=new Map;this._restoredUnsafeCacheEntries=new Set;const Te=Ve.bindCache(le);this.hooks.factorize.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{this.hooks.resolve.callAsync(E,((R,j)=>{if(R)return N(R);if(j===false)return N();if(j instanceof _e)return N(null,j);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("resolve",this.hooks.resolve)+" Returning a Module object will result in this module used as result.");this.hooks.afterResolve.callAsync(E,((R,j)=>{if(R)return N(R);if(typeof j==="object")throw new Error(deprecationChangedHookMessage("afterResolve",this.hooks.afterResolve));if(j===false)return N();const $=E.createData;this.hooks.createModule.callAsync($,E,((R,j)=>{if(!j){if(!E.request){return N(new Error("Empty dependency (no request)"))}j=new we($)}j=this.hooks.module.call(j,$,E);return N(null,j)}))}))}))}));this.hooks.resolve.tapAsync({name:"NormalModuleFactory",stage:100},((E,N)=>{const{contextInfo:R,context:$,dependencies:q,dependencyType:G,request:ie,assertions:ae,resolveOptions:ce,fileDependencies:le,missingDependencies:_e,contextDependencies:we}=E;const Ie=this.getResolver("loader");let Ne=undefined;let Me;let Le;let Be=false;let je=false;let Ve=false;const He=Ue($);let Ge=Ue(ie);if(!Ge){let E=ie;const N=Qe.exec(ie);if(N){let R=N[1];if(R.charCodeAt(0)===46){const E=R.charCodeAt(1);if(E===47||E===46&&R.charCodeAt(2)===47){R=Je(this.fs,$,R)}}Ne={resource:R,...Te(R)};E=ie.substr(N[0].length)}Ge=Ue(E);if(!Ge&&!He){const N=E.charCodeAt(0);const R=E.charCodeAt(1);Be=N===45&&R===33;je=Be||N===33;Ve=N===33&&R===33;const j=E.slice(Be||Ve?2:je?1:0).split(/!+/);Me=j.pop();Le=j.map(identToLoaderRequest);Ge=Ue(Me)}else{Me=E;Le=Ke}}else{Me=ie;Le=Ke}const Xe={fileDependencies:le,missingDependencies:_e,contextDependencies:we};let Ye;let Ze;const et=needCalls(2,(ce=>{if(ce)return N(ce);try{for(const E of Ze){if(typeof E.options==="string"&&E.options[0]==="?"){const N=E.options.substr(1);if(N==="[[missing ident]]"){throw new Error("No ident is provided by referenced loader. "+"When using a function for Rule.use in config you need to "+"provide an 'ident' property for referenced loader options.")}E.options=this.ruleSet.references.get(N);if(E.options===undefined){throw new Error("Invalid ident is provided by referenced loader")}E.ident=N}}}catch(E){return N(E)}if(!Ye){return N(null,q[0].createIgnoredModule($))}const le=(Ne!==undefined?`${Ne.resource}!=!`:"")+stringifyLoadersAndResource(Ze,Ye.resource);const _e={};const Te=[];const we=[];const Me=[];let Le;let Ue;if(Ne&&typeof(Le=Ne.resource)==="string"&&(Ue=/\.webpack\[([^\]]+)\]$/.exec(Le))){_e.type=Ue[1];Ne.resource=Ne.resource.slice(0,-_e.type.length-10)}else{_e.type="javascript/auto";const E=Ne||Ye;const N=this.ruleSet.exec({resource:E.path,realResource:Ye.path,resourceQuery:E.query,resourceFragment:E.fragment,scheme:Ge,assertions:ae,mimetype:Ne?"":Ye.data.mimetype||"",dependency:G,descriptionData:Ne?undefined:Ye.data.descriptionFileData,issuer:R.issuer,compiler:R.compiler,issuerLayer:R.issuerLayer||""});for(const E of N){if(E.type==="use"){if(!je&&!Ve){we.push(E.value)}}else if(E.type==="use-post"){if(!Ve){Te.push(E.value)}}else if(E.type==="use-pre"){if(!Be&&!Ve){Me.push(E.value)}}else if(typeof E.value==="object"&&E.value!==null&&typeof _e[E.type]==="object"&&_e[E.type]!==null){_e[E.type]=ze(_e[E.type],E.value)}else{_e[E.type]=E.value}}}let We,Je,qe;const He=needCalls(3,($=>{if($){return N($)}const q=We;if(Ne===undefined){for(const E of Ze)q.push(E);for(const E of Je)q.push(E)}else{for(const E of Je)q.push(E);for(const E of Ze)q.push(E)}for(const E of qe)q.push(E);let G=_e.type;const ae=_e.resolve;const ce=_e.layer;if(ce!==undefined&&!Ee){return N(new Error("'Rule.layer' is only allowed when 'experiments.layers' is enabled"))}try{Object.assign(E.createData,{layer:ce===undefined?R.issuerLayer||null:ce,request:stringifyLoadersAndResource(q,Ye.resource),userRequest:le,rawRequest:ie,loaders:q,resource:Ye.resource,context:Ye.context||j(Ye.resource),matchResource:Ne?Ne.resource:undefined,resourceResolveData:Ye.data,settings:_e,type:G,parser:this.getParser(G,_e.parser),parserOptions:_e.parser,generator:this.getGenerator(G,_e.generator),generatorOptions:_e.generator,resolveOptions:ae})}catch(E){return N(E)}N()}));this.resolveRequestArray(R,this.context,Te,Ie,Xe,((E,N)=>{We=N;He(E)}));this.resolveRequestArray(R,this.context,we,Ie,Xe,((E,N)=>{Je=N;He(E)}));this.resolveRequestArray(R,this.context,Me,Ie,Xe,((E,N)=>{qe=N;He(E)}))}));this.resolveRequestArray(R,He?this.context:$,Le,Ie,Xe,((E,N)=>{if(E)return et(E);Ze=N;et()}));const defaultResolve=E=>{if(/^($|\?)/.test(Me)){Ye={resource:Me,data:{},...Te(Me)};et()}else{const N=this.getResolver("normal",G?We(ce||qe,"dependencyType",G):ce);this.resolveResource(R,E,Me,N,Xe,((E,N,R)=>{if(E)return et(E);if(N!==false){Ye={resource:N,data:R,...Te(N)}}et()}))}};if(Ge){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveForScheme.for(Ge).callAsync(Ye,E,(E=>{if(E)return et(E);et()}))}else if(He){Ye={resource:Me,data:{},path:undefined,query:undefined,fragment:undefined,context:undefined};this.hooks.resolveInScheme.for(He).callAsync(Ye,E,((E,N)=>{if(E)return et(E);if(!N)return defaultResolve(this.context);et()}))}else defaultResolve($)}))}cleanupForCache(){for(const E of this._restoredUnsafeCacheEntries){le.clearChunkGraphForModule(E);Te.clearModuleGraphForModule(E);E.cleanupForCache()}}create(E,N){const R=E.dependencies;const j=E.context||this.context;const $=E.resolveOptions||qe;const q=R[0];const G=q.request;const ie=q.assertions;const ae=E.contextInfo;const ce=new je;const le=new je;const _e=new je;const Ee=R.length>0&&R[0].category||"";const Te={contextInfo:ae,resolveOptions:$,context:j,request:G,assertions:ie,dependencies:R,dependencyType:Ee,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,createData:{},cacheable:true};this.hooks.beforeResolve.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}if(R===false){return N(null,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable})}if(typeof R==="object")throw new Error(deprecationChangedHookMessage("beforeResolve",this.hooks.beforeResolve));this.hooks.factorize.callAsync(Te,((E,R)=>{if(E){return N(E,{fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:false})}const j={module:R,fileDependencies:ce,missingDependencies:le,contextDependencies:_e,cacheable:Te.cacheable};N(null,j)}))}))}resolveResource(E,N,R,j,$,q){j.resolve(E,N,R,$,((G,ie,ae)=>{if(G){return this._resolveResourceErrorHints(G,E,N,R,j,$,((E,N)=>{if(E){G.message+=`\nAn fatal error happened during resolving additional hints for this error: ${E.message}`;G.stack+=`\n\nAn fatal error happened during resolving additional hints for this error:\n${E.stack}`;return q(G)}if(N&&N.length>0){G.message+=`\n${N.join("\n\n")}`}q(G)}))}q(G,ie,ae)}))}_resolveResourceErrorHints(E,N,R,j,q,G,ie){$.parallel([E=>{if(!q.options.fullySpecified)return E();q.withOptions({fullySpecified:false}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){const N=Ve(R).path.replace(/^.*[\\/]/,"");return E(null,`Did you mean '${N}'?\nBREAKING CHANGE: The request '${j}' failed to resolve only because it was resolved as fully specified\n(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').\nThe extension in the request is mandatory for it to be fully specified.\nAdd the extension to the request.`)}E()}))},E=>{if(!q.options.enforceExtension)return E();q.withOptions({enforceExtension:false,extensions:[]}).resolve(N,R,j,G,((N,R)=>{if(!N&&R){let N="";const R=/(\.[^.]+)(\?|$)/.exec(j);if(R){const E=j.replace(/(\.[^.]+)(\?|$)/,"$2");if(q.options.extensions.has(R[1])){N=`Did you mean '${E}'?`}else{N=`Did you mean '${E}'? Also note that '${R[1]}' is not in 'resolve.extensions' yet and need to be added for this to work?`}}else{N=`Did you mean to omit the extension or to remove 'resolve.enforceExtension'?`}return E(null,`The request '${j}' failed to resolve only because 'resolve.enforceExtension' was specified.\n${N}\nIncluding the extension in the request is no longer possible. Did you mean to enforce including the extension in requests with 'resolve.extensions: []' instead?`)}E()}))},E=>{if(/^\.\.?\//.test(j)||q.options.preferRelative){return E()}q.resolve(N,R,`./${j}`,G,((N,R)=>{if(N||!R)return E();const $=q.options.modules.map((E=>Array.isArray(E)?E.join(", "):E)).join(", ");E(null,`Did you mean './${j}'?\nRequests that should resolve in the current directory need to start with './'.\nRequests that start with a name are treated as module requests and resolve within module directories (${$}).\nIf changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.`)}))}],((E,N)=>{if(E)return ie(E);ie(null,N.filter(Boolean))}))}resolveRequestArray(E,N,R,j,q,G){if(R.length===0)return G(null,R);$.map(R,((R,$)=>{j.resolve(E,N,R.loader,q,((G,ie)=>{if(G&&/^[^/]*$/.test(R.loader)&&!/-loader$/.test(R.loader)){return j.resolve(E,N,R.loader+"-loader",q,(E=>{if(!E){G.message=G.message+"\n"+"BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.\n"+` You need to specify '${R.loader}-loader' instead of '${R.loader}',\n`+" see https://webpack.js.org/migrate/3/#automatic-loader-module-name-extension-removed"}$(G)}))}if(G)return $(G);const ae=identToLoaderRequest(ie);const ce={loader:ae.loader,options:R.options===undefined?ae.options:R.options,ident:R.options===undefined?undefined:R.ident};return $(null,ce)}))}),G)}getParser(E,N=He){let R=this.parserCache.get(E);if(R===undefined){R=new WeakMap;this.parserCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createParser(E,N);R.set(N,j)}return j}createParser(E,N={}){N=mergeGlobalOptions(this._globalParserOptions,E,N);const R=this.hooks.createParser.for(E).call(N);if(!R){throw new Error(`No parser registered for ${E}`)}this.hooks.parser.for(E).call(R,N);return R}getGenerator(E,N=Ge){let R=this.generatorCache.get(E);if(R===undefined){R=new WeakMap;this.generatorCache.set(E,R)}let j=R.get(N);if(j===undefined){j=this.createGenerator(E,N);R.set(N,j)}return j}createGenerator(E,N={}){N=mergeGlobalOptions(this._globalGeneratorOptions,E,N);const R=this.hooks.createGenerator.for(E).call(N);if(!R){throw new Error(`No generator registered for ${E}`)}this.hooks.generator.for(E).call(R,N);return R}getResolver(E,N){return this.resolverFactory.get(E,N)}}E.exports=NormalModuleFactory},92234:(E,N,R)=>{"use strict";const{join:j,dirname:$}=R(95396);class NormalModuleReplacementPlugin{constructor(E,N){this.resourceRegExp=E;this.newResource=N}apply(E){const N=this.resourceRegExp;const R=this.newResource;E.hooks.normalModuleFactory.tap("NormalModuleReplacementPlugin",(q=>{q.hooks.beforeResolve.tap("NormalModuleReplacementPlugin",(E=>{if(N.test(E.request)){if(typeof R==="function"){R(E)}else{E.request=R}}}));q.hooks.afterResolve.tap("NormalModuleReplacementPlugin",(q=>{const G=q.createData;if(N.test(G.resource)){if(typeof R==="function"){R(q)}else{const N=E.inputFileSystem;if(R.startsWith("/")||R.length>1&&R[1]===":"){G.resource=R}else{G.resource=j(N,$(N,G.resource),R)}}}}))}))}}E.exports=NormalModuleReplacementPlugin},82414:(E,N)=>{"use strict";N.STAGE_BASIC=-10;N.STAGE_DEFAULT=0;N.STAGE_ADVANCED=10},97614:E=>{"use strict";class OptionsApply{process(E,N){}}E.exports=OptionsApply},2172:(E,N,R)=>{"use strict";class Parser{parse(E,N){const j=R(75884);throw new j}}E.exports=Parser},13125:(E,N,R)=>{"use strict";const j=R(88281);class PrefetchPlugin{constructor(E,N){if(N){this.context=E;this.request=N}else{this.context=null;this.request=E}}apply(E){E.hooks.compilation.tap("PrefetchPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N)}));E.hooks.make.tapAsync("PrefetchPlugin",((N,R)=>{N.addModuleChain(this.context||E.context,new j(this.request),(E=>{R(E)}))}))}}E.exports=PrefetchPlugin},52923:(E,N,R)=>{"use strict";const j=R(63076);const $=R(63433);const q=R(53520);const G=R(35817);const{contextify:ie}=R(49197);const ae=G(R(73971),(()=>R(43691)),{name:"Progress Plugin",baseDataPath:"options"});const median3=(E,N,R)=>E+N+R-Math.max(E,N,R)-Math.min(E,N,R);const createDefaultHandler=(E,N)=>{const R=[];const defaultHandler=(j,$,...q)=>{if(E){if(j===0){R.length=0}const E=[$,...q];const G=E.map((E=>E.replace(/\d+\/\d+ /g,"")));const ie=Date.now();const ae=Math.max(G.length,R.length);for(let E=ae;E>=0;E--){const j=E0){j=R[E-1].value+" > "+j}const G=`${" | ".repeat(E)}${q} ms ${j}`;const ie=q;{if(ie>1e4){N.error(G)}else if(ie>1e3){N.warn(G)}else if(ie>10){N.info(G)}else if(ie>5){N.log(G)}else{N.debug(G)}}}if(j===undefined){R.length=E}else{$.value=j;$.time=ie;R.length=E+1}}}else{R[E]={value:j,time:ie}}}}N.status(`${Math.floor(j*100)}%`,$,...q);if(j===1||!$&&q.length===0)N.status()};return defaultHandler};const ce=new WeakMap;class ProgressPlugin{static getReporter(E){return ce.get(E)}constructor(E={}){if(typeof E==="function"){E={handler:E}}ae(E);E={...ProgressPlugin.defaultOptions,...E};this.profile=E.profile;this.handler=E.handler;this.modulesCount=E.modulesCount;this.dependenciesCount=E.dependenciesCount;this.showEntries=E.entries;this.showModules=E.modules;this.showDependencies=E.dependencies;this.showActiveModules=E.activeModules;this.percentBy=E.percentBy}apply(E){const N=this.handler||createDefaultHandler(this.profile,E.getInfrastructureLogger("webpack.Progress"));if(E instanceof $){this._applyOnMultiCompiler(E,N)}else if(E instanceof j){this._applyOnCompiler(E,N)}}_applyOnMultiCompiler(E,N){const R=E.compilers.map((()=>[0]));E.compilers.forEach(((E,j)=>{new ProgressPlugin(((E,$,...q)=>{R[j]=[E,$,...q];let G=0;for(const[E]of R)G+=E;N(G/R.length,`[${j}] ${$}`,...q)})).apply(E)}))}_applyOnCompiler(E,N){const R=this.showEntries;const j=this.showModules;const $=this.showDependencies;const q=this.showActiveModules;let G="";let ae="";let le=0;let _e=0;let Ee=0;let Te=0;let we=0;let Ie=1;let Ne=0;let Me=0;let Le=0;const Be=new Set;let je=0;const updateThrottled=()=>{if(je+500{const ce=[];const Ue=Ne/Math.max(le||this.modulesCount||1,Te);const ze=Le/Math.max(Ee||this.dependenciesCount||1,Ie);const We=Me/Math.max(_e||1,we);let Je;switch(this.percentBy){case"entries":Je=ze;break;case"dependencies":Je=We;break;case"modules":Je=Ue;break;default:Je=median3(Ue,ze,We)}const Ve=.1+Je*.55;if(ae){ce.push(`import loader ${ie(E.context,ae,E.root)}`)}else{const E=[];if(R){E.push(`${Le}/${Ie} entries`)}if($){E.push(`${Me}/${we} dependencies`)}if(j){E.push(`${Ne}/${Te} modules`)}if(q){E.push(`${Be.size} active`)}if(E.length>0){ce.push(E.join(" "))}if(q){ce.push(G)}}N(Ve,"building",...ce);je=Date.now()};const factorizeAdd=()=>{we++;if(we<50||we%100===0)updateThrottled()};const factorizeDone=()=>{Me++;if(Me<50||Me%100===0)updateThrottled()};const moduleAdd=()=>{Te++;if(Te<50||Te%100===0)updateThrottled()};const moduleBuild=E=>{const N=E.identifier();if(N){Be.add(N);G=N;update()}};const entryAdd=(E,N)=>{Ie++;if(Ie<5||Ie%10===0)updateThrottled()};const moduleDone=E=>{Ne++;if(q){const N=E.identifier();if(N){Be.delete(N);if(G===N){G="";for(const E of Be){G=E}update();return}}}if(Ne<50||Ne%100===0)updateThrottled()};const entryDone=(E,N)=>{Le++;update()};const Ue=E.getCache("ProgressPlugin").getItemCache("counts",null);let ze;E.hooks.beforeCompile.tap("ProgressPlugin",(()=>{if(!ze){ze=Ue.getPromise().then((E=>{if(E){le=le||E.modulesCount;_e=_e||E.dependenciesCount}return E}),(E=>{}))}}));E.hooks.afterCompile.tapPromise("ProgressPlugin",(E=>{if(E.compiler.isChild())return Promise.resolve();return ze.then((async E=>{if(!E||E.modulesCount!==Te||E.dependenciesCount!==we){await Ue.storePromise({modulesCount:Te,dependenciesCount:we})}}))}));E.hooks.compilation.tap("ProgressPlugin",(R=>{if(R.compiler.isChild())return;le=Te;Ee=Ie;_e=we;Te=we=Ie=0;Ne=Me=Le=0;R.factorizeQueue.hooks.added.tap("ProgressPlugin",factorizeAdd);R.factorizeQueue.hooks.result.tap("ProgressPlugin",factorizeDone);R.addModuleQueue.hooks.added.tap("ProgressPlugin",moduleAdd);R.processDependenciesQueue.hooks.result.tap("ProgressPlugin",moduleDone);if(q){R.hooks.buildModule.tap("ProgressPlugin",moduleBuild)}R.hooks.addEntry.tap("ProgressPlugin",entryAdd);R.hooks.failedEntry.tap("ProgressPlugin",entryDone);R.hooks.succeedEntry.tap("ProgressPlugin",entryDone);if(false){}const j={finishModules:"finish module graph",seal:"plugins",optimizeDependencies:"dependencies optimization",afterOptimizeDependencies:"after dependencies optimization",beforeChunks:"chunk graph",afterChunks:"after chunk graph",optimize:"optimizing",optimizeModules:"module optimization",afterOptimizeModules:"after module optimization",optimizeChunks:"chunk optimization",afterOptimizeChunks:"after chunk optimization",optimizeTree:"module and chunk tree optimization",afterOptimizeTree:"after module and chunk tree optimization",optimizeChunkModules:"chunk modules optimization",afterOptimizeChunkModules:"after chunk modules optimization",reviveModules:"module reviving",beforeModuleIds:"before module ids",moduleIds:"module ids",optimizeModuleIds:"module id optimization",afterOptimizeModuleIds:"module id optimization",reviveChunks:"chunk reviving",beforeChunkIds:"before chunk ids",chunkIds:"chunk ids",optimizeChunkIds:"chunk id optimization",afterOptimizeChunkIds:"after chunk id optimization",recordModules:"record modules",recordChunks:"record chunks",beforeModuleHash:"module hashing",beforeCodeGeneration:"code generation",beforeRuntimeRequirements:"runtime requirements",beforeHash:"hashing",afterHash:"after hashing",recordHash:"record hash",beforeModuleAssets:"module assets processing",beforeChunkAssets:"chunk assets processing",processAssets:"asset processing",afterProcessAssets:"after asset optimization",record:"recording",afterSeal:"after seal"};const $=Object.keys(j).length;Object.keys(j).forEach(((q,G)=>{const ie=j[q];const ae=G/$*.25+.7;R.hooks[q].intercept({name:"ProgressPlugin",call(){N(ae,"sealing",ie)},done(){ce.set(E,undefined);N(ae,"sealing",ie)},result(){N(ae,"sealing",ie)},error(){N(ae,"sealing",ie)},tap(E){ce.set(R.compiler,((R,...j)=>{N(ae,"sealing",ie,E.name,...j)}));N(ae,"sealing",ie,E.name)}})}))}));E.hooks.make.intercept({name:"ProgressPlugin",call(){N(.1,"building")},done(){N(.65,"building")}});const interceptHook=(R,j,$,q)=>{R.intercept({name:"ProgressPlugin",call(){N(j,$,q)},done(){ce.set(E,undefined);N(j,$,q)},result(){N(j,$,q)},error(){N(j,$,q)},tap(R){ce.set(E,((E,...G)=>{N(j,$,q,R.name,...G)}));N(j,$,q,R.name)}})};E.cache.hooks.endIdle.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.cache.hooks.endIdle,.01,"cache","end idle");E.hooks.initialize.intercept({name:"ProgressPlugin",call(){N(0,"")}});interceptHook(E.hooks.initialize,.01,"setup","initialize");interceptHook(E.hooks.beforeRun,.02,"setup","before run");interceptHook(E.hooks.run,.03,"setup","run");interceptHook(E.hooks.watchRun,.03,"setup","watch run");interceptHook(E.hooks.normalModuleFactory,.04,"setup","normal module factory");interceptHook(E.hooks.contextModuleFactory,.05,"setup","context module factory");interceptHook(E.hooks.beforeCompile,.06,"setup","before compile");interceptHook(E.hooks.compile,.07,"setup","compile");interceptHook(E.hooks.thisCompilation,.08,"setup","compilation");interceptHook(E.hooks.compilation,.09,"setup","compilation");interceptHook(E.hooks.finishMake,.69,"building","finish");interceptHook(E.hooks.emit,.95,"emitting","emit");interceptHook(E.hooks.afterEmit,.98,"emitting","after emit");interceptHook(E.hooks.done,.99,"done","plugins");E.hooks.done.intercept({name:"ProgressPlugin",done(){N(.99,"")}});interceptHook(E.cache.hooks.storeBuildDependencies,.99,"cache","store build dependencies");interceptHook(E.cache.hooks.shutdown,.99,"cache","shutdown");interceptHook(E.cache.hooks.beginIdle,.99,"cache","begin idle");interceptHook(E.hooks.watchClose,.99,"end","closing watch compilation");E.cache.hooks.beginIdle.intercept({name:"ProgressPlugin",done(){N(1,"")}});E.cache.hooks.shutdown.intercept({name:"ProgressPlugin",done(){N(1,"")}})}}ProgressPlugin.defaultOptions={profile:false,modulesCount:5e3,dependenciesCount:1e4,modules:true,dependencies:true,activeModules:false,entries:true};E.exports=ProgressPlugin},40313:(E,N,R)=>{"use strict";const j=R(66298);const $=R(1335);const{approve:q}=R(48472);class ProvidePlugin{constructor(E){this.definitions=E}apply(E){const N=this.definitions;E.hooks.compilation.tap("ProvidePlugin",((E,{normalModuleFactory:R})=>{E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);const handler=(E,R)=>{Object.keys(N).forEach((R=>{const j=[].concat(N[R]);const G=R.split(".");if(G.length>0){G.slice(1).forEach(((N,R)=>{const j=G.slice(0,R+1).join(".");E.hooks.canRename.for(j).tap("ProvidePlugin",q)}))}E.hooks.expression.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.range);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.call.for(R).tap("ProvidePlugin",(N=>{const q=R.includes(".")?`__webpack_provided_${R.replace(/\./g,"_dot_")}`:R;const G=new $(j[0],q,j.slice(1),N.callee.range);G.loc=N.callee.loc;E.state.module.addDependency(G);E.walkExpressions(N.arguments);return true}))}))};R.hooks.parser.for("javascript/auto").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ProvidePlugin",handler);R.hooks.parser.for("javascript/esm").tap("ProvidePlugin",handler)}))}}E.exports=ProvidePlugin},22804:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(53453);const G=R(56202);const ie=new Set(["javascript"]);class RawModule extends q{constructor(E,N,R,j){super("javascript/dynamic",null);this.sourceStr=E;this.identifierStr=N||this.sourceStr;this.readableIdentifierStr=R||this.identifierStr;this.runtimeRequirements=j||null}getSourceTypes(){return ie}identifier(){return this.identifierStr}size(E){return Math.max(1,this.sourceStr.length)}readableIdentifier(E){return E.shorten(this.readableIdentifierStr)}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={cacheable:true};$()}codeGeneration(E){const N=new Map;if(this.useSourceMap||this.useSimpleSourceMap){N.set("javascript",new j(this.sourceStr,this.identifier()))}else{N.set("javascript",new $(this.sourceStr))}return{sources:N,runtimeRequirements:this.runtimeRequirements}}updateHash(E,N){E.update(this.sourceStr);super.updateHash(E,N)}serialize(E){const{write:N}=E;N(this.sourceStr);N(this.identifierStr);N(this.readableIdentifierStr);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceStr=N();this.identifierStr=N();this.readableIdentifierStr=N();this.runtimeRequirements=N();super.deserialize(E)}}G(RawModule,"webpack/lib/RawModule");E.exports=RawModule},43806:(E,N,R)=>{"use strict";const{compareNumbers:j}=R(68673);const $=R(49197);class RecordIdsPlugin{constructor(E){this.options=E||{}}apply(E){const N=this.options.portableIds;const R=$.makePathsRelative.bindContextCache(E.context,E.root);const getModuleIdentifier=E=>{if(N){return R(E.identifier())}return E.identifier()};E.hooks.compilation.tap("RecordIdsPlugin",(E=>{E.hooks.recordModules.tap("RecordIdsPlugin",((N,R)=>{const $=E.chunkGraph;if(!R.modules)R.modules={};if(!R.modules.byIdentifier)R.modules.byIdentifier={};const q=new Set;for(const E of N){const N=$.getModuleId(E);if(typeof N!=="number")continue;const j=getModuleIdentifier(E);R.modules.byIdentifier[j]=N;q.add(N)}R.modules.usedIds=Array.from(q).sort(j)}));E.hooks.reviveModules.tap("RecordIdsPlugin",((N,R)=>{if(!R.modules)return;if(R.modules.byIdentifier){const j=E.chunkGraph;const $=new Set;for(const E of N){const N=j.getModuleId(E);if(N!==null)continue;const q=getModuleIdentifier(E);const G=R.modules.byIdentifier[q];if(G===undefined)continue;if($.has(G))continue;$.add(G);j.setModuleId(E,G)}}if(Array.isArray(R.modules.usedIds)){E.usedModuleIds=new Set(R.modules.usedIds)}}));const getChunkSources=E=>{const N=[];for(const R of E.groupsIterable){const j=R.chunks.indexOf(E);if(R.name){N.push(`${j} ${R.name}`)}else{for(const E of R.origins){if(E.module){if(E.request){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.request}`)}else if(typeof E.loc==="string"){N.push(`${j} ${getModuleIdentifier(E.module)} ${E.loc}`)}else if(E.loc&&typeof E.loc==="object"&&"start"in E.loc){N.push(`${j} ${getModuleIdentifier(E.module)} ${JSON.stringify(E.loc.start)}`)}}}}}return N};E.hooks.recordChunks.tap("RecordIdsPlugin",((E,N)=>{if(!N.chunks)N.chunks={};if(!N.chunks.byName)N.chunks.byName={};if(!N.chunks.bySource)N.chunks.bySource={};const R=new Set;for(const j of E){if(typeof j.id!=="number")continue;const E=j.name;if(E)N.chunks.byName[E]=j.id;const $=getChunkSources(j);for(const E of $){N.chunks.bySource[E]=j.id}R.add(j.id)}N.chunks.usedIds=Array.from(R).sort(j)}));E.hooks.reviveChunks.tap("RecordIdsPlugin",((N,R)=>{if(!R.chunks)return;const j=new Set;if(R.chunks.byName){for(const E of N){if(E.id!==null)continue;if(!E.name)continue;const N=R.chunks.byName[E.name];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N]}}if(R.chunks.bySource){for(const E of N){if(E.id!==null)continue;const N=getChunkSources(E);for(const $ of N){const N=R.chunks.bySource[$];if(N===undefined)continue;if(j.has(N))continue;j.add(N);E.id=N;E.ids=[N];break}}}if(Array.isArray(R.chunks.usedIds)){E.usedChunkIds=new Set(R.chunks.usedIds)}}))}))}}E.exports=RecordIdsPlugin},80910:(E,N,R)=>{"use strict";const{contextify:j}=R(49197);class RequestShortener{constructor(E,N){this.contextify=j.bindContextCache(E,N)}shorten(E){if(!E){return E}return this.contextify(E)}}E.exports=RequestShortener},10830:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66298);const{toConstantDependency:q}=R(48472);E.exports=class RequireJsStuffPlugin{apply(E){E.hooks.compilation.tap("RequireJsStuffPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.requireJs===undefined||!N.requireJs){return}E.hooks.call.for("require.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.call.for("requirejs.config").tap("RequireJsStuffPlugin",q(E,"undefined"));E.hooks.expression.for("require.version").tap("RequireJsStuffPlugin",q(E,JSON.stringify("0.0.0")));E.hooks.expression.for("requirejs.onError").tap("RequireJsStuffPlugin",q(E,j.uncaughtErrorHandler,[j.uncaughtErrorHandler]))};N.hooks.parser.for("javascript/auto").tap("RequireJsStuffPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireJsStuffPlugin",handler)}))}}},1819:(E,N,R)=>{"use strict";const j=R(17583).ResolverFactory;const{HookMap:$,SyncHook:q,SyncWaterfallHook:G}=R(92960);const{cachedCleverMerge:ie,removeOperations:ae,resolveByProperty:ce}=R(90149);const le={};const convertToResolveOptions=E=>{const{dependencyType:N,plugins:R,...j}=E;const $={...j,plugins:R&&R.filter((E=>E!=="..."))};if(!$.fileSystem){throw new Error("fileSystem is missing in resolveOptions, but it's required for enhanced-resolve")}const q=$;return ae(ce(q,"byDependency",N))};E.exports=class ResolverFactory{constructor(){this.hooks=Object.freeze({resolveOptions:new $((()=>new G(["resolveOptions"]))),resolver:new $((()=>new q(["resolver","resolveOptions","userResolveOptions"])))});this.cache=new Map}get(E,N=le){let R=this.cache.get(E);if(!R){R={direct:new WeakMap,stringified:new Map};this.cache.set(E,R)}const j=R.direct.get(N);if(j){return j}const $=JSON.stringify(N);const q=R.stringified.get($);if(q){R.direct.set(N,q);return q}const G=this._create(E,N);R.direct.set(N,G);R.stringified.set($,G);return G}_create(E,N){const R={...N};const $=convertToResolveOptions(this.hooks.resolveOptions.for(E).call(N));const q=j.createResolver($);if(!q){throw new Error("No resolver created")}const G=new WeakMap;q.withOptions=N=>{const j=G.get(N);if(j!==undefined)return j;const $=ie(R,N);const q=this.get(E,$);G.set(N,q);return q};this.hooks.resolver.for(E).call(q,$,R);return q}}},76150:(E,N)=>{"use strict";N.require="__webpack_require__";N.requireScope="__webpack_require__.*";N.exports="__webpack_exports__";N.thisAsExports="top-level-this-exports";N.returnExportsFromRuntime="return-exports-from-runtime";N.module="module";N.moduleId="module.id";N.moduleLoaded="module.loaded";N.publicPath="__webpack_require__.p";N.entryModuleId="__webpack_require__.s";N.moduleCache="__webpack_require__.c";N.moduleFactories="__webpack_require__.m";N.moduleFactoriesAddOnly="__webpack_require__.m (add only)";N.ensureChunk="__webpack_require__.e";N.ensureChunkHandlers="__webpack_require__.f";N.ensureChunkIncludeEntries="__webpack_require__.f (include entries)";N.prefetchChunk="__webpack_require__.E";N.prefetchChunkHandlers="__webpack_require__.F";N.preloadChunk="__webpack_require__.G";N.preloadChunkHandlers="__webpack_require__.H";N.definePropertyGetters="__webpack_require__.d";N.makeNamespaceObject="__webpack_require__.r";N.createFakeNamespaceObject="__webpack_require__.t";N.compatGetDefaultExport="__webpack_require__.n";N.harmonyModuleDecorator="__webpack_require__.hmd";N.nodeModuleDecorator="__webpack_require__.nmd";N.getFullHash="__webpack_require__.h";N.wasmInstances="__webpack_require__.w";N.instantiateWasm="__webpack_require__.v";N.uncaughtErrorHandler="__webpack_require__.oe";N.scriptNonce="__webpack_require__.nc";N.loadScript="__webpack_require__.l";N.createScriptUrl="__webpack_require__.tu";N.chunkName="__webpack_require__.cn";N.runtimeId="__webpack_require__.j";N.getChunkScriptFilename="__webpack_require__.u";N.getChunkUpdateScriptFilename="__webpack_require__.hu";N.startup="__webpack_require__.x";N.startupNoDefault="__webpack_require__.x (no default handler)";N.startupOnlyAfter="__webpack_require__.x (only after)";N.startupOnlyBefore="__webpack_require__.x (only before)";N.chunkCallback="webpackChunk";N.startupEntrypoint="__webpack_require__.X";N.onChunksLoaded="__webpack_require__.O";N.externalInstallChunk="__webpack_require__.C";N.interceptModuleExecution="__webpack_require__.i";N.global="__webpack_require__.g";N.shareScopeMap="__webpack_require__.S";N.initializeSharing="__webpack_require__.I";N.currentRemoteGetScope="__webpack_require__.R";N.getUpdateManifestFilename="__webpack_require__.hmrF";N.hmrDownloadManifest="__webpack_require__.hmrM";N.hmrDownloadUpdateHandlers="__webpack_require__.hmrC";N.hmrModuleData="__webpack_require__.hmrD";N.hmrInvalidateModuleHandlers="__webpack_require__.hmrI";N.hmrRuntimeStatePrefix="__webpack_require__.hmrS";N.amdDefine="__webpack_require__.amdD";N.amdOptions="__webpack_require__.amdO";N.system="__webpack_require__.System";N.hasOwnProperty="__webpack_require__.o";N.systemContext="__webpack_require__.y";N.baseURI="__webpack_require__.b";N.relativeUrl="__webpack_require__.U";N.asyncModule="__webpack_require__.a"},66804:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(48135).OriginalSource;const q=R(53453);const G=new Set(["runtime"]);class RuntimeModule extends q{constructor(E,N=0){super("runtime");this.name=E;this.stage=N;this.buildMeta={};this.buildInfo={};this.compilation=undefined;this.chunk=undefined;this.chunkGraph=undefined;this.fullHash=false;this.dependentHash=false;this._cachedGeneratedCode=undefined}attach(E,N,R=E.chunkGraph){this.compilation=E;this.chunk=N;this.chunkGraph=R}identifier(){return`webpack/runtime/${this.name}`}readableIdentifier(E){return`webpack/runtime/${this.name}`}needBuild(E,N){return N(null,false)}build(E,N,R,j,$){$()}updateHash(E,N){E.update(this.name);E.update(`${this.stage}`);try{if(this.fullHash||this.dependentHash){E.update(this.generate())}else{E.update(this.getGeneratedCode())}}catch(N){E.update(N.message)}super.updateHash(E,N)}getSourceTypes(){return G}codeGeneration(E){const N=new Map;const R=this.getGeneratedCode();if(R){N.set("runtime",this.useSourceMap||this.useSimpleSourceMap?new $(R,this.identifier()):new j(R))}return{sources:N,runtimeRequirements:null}}size(E){try{const E=this.getGeneratedCode();return E?E.length:0}catch(E){return 0}}generate(){const E=R(75884);throw new E}getGeneratedCode(){if(this._cachedGeneratedCode){return this._cachedGeneratedCode}return this._cachedGeneratedCode=this.generate()}shouldIsolate(){return true}}RuntimeModule.STAGE_NORMAL=0;RuntimeModule.STAGE_BASIC=5;RuntimeModule.STAGE_ATTACH=10;RuntimeModule.STAGE_TRIGGER=20;E.exports=RuntimeModule},89818:(E,N,R)=>{"use strict";const j=R(76150);const $=R(35424);const q=R(18161);const G=R(84997);const ie=R(31164);const ae=R(90202);const ce=R(16710);const le=R(3236);const _e=R(44160);const Ee=R(58957);const Te=R(59179);const we=R(9609);const Ie=R(36100);const Ne=R(13376);const Me=R(37522);const Le=R(67104);const Be=R(14676);const je=R(8299);const Ue=R(48977);const ze=R(21355);const We=R(41982);const Je=R(76752);const Ve=R(54825);const qe=R(14146);const He=[j.chunkName,j.runtimeId,j.compatGetDefaultExport,j.createFakeNamespaceObject,j.createScriptUrl,j.definePropertyGetters,j.ensureChunk,j.entryModuleId,j.getFullHash,j.global,j.makeNamespaceObject,j.moduleCache,j.moduleFactories,j.moduleFactoriesAddOnly,j.interceptModuleExecution,j.publicPath,j.baseURI,j.relativeUrl,j.scriptNonce,j.uncaughtErrorHandler,j.asyncModule,j.wasmInstances,j.instantiateWasm,j.shareScopeMap,j.initializeSharing,j.loadScript,j.systemContext,j.onChunksLoaded];const Ge={[j.moduleLoaded]:[j.module],[j.moduleId]:[j.module]};const Ke={[j.definePropertyGetters]:[j.hasOwnProperty],[j.compatGetDefaultExport]:[j.definePropertyGetters],[j.createFakeNamespaceObject]:[j.definePropertyGetters,j.makeNamespaceObject,j.require],[j.initializeSharing]:[j.shareScopeMap],[j.shareScopeMap]:[j.hasOwnProperty]};class RuntimePlugin{apply(E){E.hooks.compilation.tap("RuntimePlugin",(E=>{E.dependencyTemplates.set($,new $.Template);for(const N of He){E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{N.add(j.requireScope)}))}for(const N of Object.keys(Ke)){const R=Ke[N];E.hooks.runtimeRequirementInTree.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}for(const N of Object.keys(Ge)){const R=Ge[N];E.hooks.runtimeRequirementInModule.for(N).tap("RuntimePlugin",((E,N)=>{for(const E of R)N.add(E)}))}E.hooks.runtimeRequirementInTree.for(j.definePropertyGetters).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ee);return true}));E.hooks.runtimeRequirementInTree.for(j.makeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Be);return true}));E.hooks.runtimeRequirementInTree.for(j.createFakeNamespaceObject).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new le);return true}));E.hooks.runtimeRequirementInTree.for(j.hasOwnProperty).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Me);return true}));E.hooks.runtimeRequirementInTree.for(j.compatGetDefaultExport).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new ae);return true}));E.hooks.runtimeRequirementInTree.for(j.runtimeId).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new We);return true}));E.hooks.runtimeRequirementInTree.for(j.publicPath).tap("RuntimePlugin",((N,R)=>{const{outputOptions:$}=E;const{publicPath:q,scriptType:G}=$;const ae=N.getEntryOptions();const ce=ae&&ae.publicPath!==undefined?ae.publicPath:q;if(ce==="auto"){const $=new ie;if(G!=="module")R.add(j.global);E.addRuntimeModule(N,$)}else{const R=new Ue(ce);if(typeof ce!=="string"||/\[(full)?hash\]/.test(ce)){R.fullHash=true}E.addRuntimeModule(N,R)}return true}));E.hooks.runtimeRequirementInTree.for(j.global).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new Ne);return true}));E.hooks.runtimeRequirementInTree.for(j.asyncModule).tap("RuntimePlugin",(N=>{E.addRuntimeModule(N,new G);return true}));E.hooks.runtimeRequirementInTree.for(j.systemContext).tap("RuntimePlugin",(N=>{if(E.outputOptions.library.type==="system"){E.addRuntimeModule(N,new Je)}return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkScriptFilename).tap("RuntimePlugin",((N,R)=>{if(typeof E.outputOptions.chunkFilename==="string"&&/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.chunkFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new we("javascript","javascript",j.getChunkScriptFilename,(N=>N.filenameTemplate||(N.canBeInitial()?E.outputOptions.filename:E.outputOptions.chunkFilename)),false));return true}));E.hooks.runtimeRequirementInTree.for(j.getChunkUpdateScriptFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateChunkFilename))R.add(j.getFullHash);E.addRuntimeModule(N,new we("javascript","javascript update",j.getChunkUpdateScriptFilename,(N=>E.outputOptions.hotUpdateChunkFilename),true));return true}));E.hooks.runtimeRequirementInTree.for(j.getUpdateManifestFilename).tap("RuntimePlugin",((N,R)=>{if(/\[(full)?hash(:\d+)?\]/.test(E.outputOptions.hotUpdateMainFilename)){R.add(j.getFullHash)}E.addRuntimeModule(N,new Ie("update manifest",j.getUpdateManifestFilename,E.outputOptions.hotUpdateMainFilename));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunk).tap("RuntimePlugin",((N,R)=>{const $=N.hasAsyncChunks();if($){R.add(j.ensureChunkHandlers)}E.addRuntimeModule(N,new Te(R));return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkIncludeEntries).tap("RuntimePlugin",((E,N)=>{N.add(j.ensureChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.shareScopeMap).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new Ve);return true}));E.hooks.runtimeRequirementInTree.for(j.loadScript).tap("RuntimePlugin",((N,R)=>{const $=!!E.outputOptions.trustedTypes;if($){R.add(j.createScriptUrl)}E.addRuntimeModule(N,new Le($));return true}));E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new _e);return true}));E.hooks.runtimeRequirementInTree.for(j.relativeUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new ze);return true}));E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new je);return true}));E.hooks.additionalTreeRuntimeRequirements.tap("RuntimePlugin",((N,R)=>{const{mainTemplate:j}=E;if(j.hooks.bootstrap.isUsed()||j.hooks.localVars.isUsed()||j.hooks.requireEnsure.isUsed()||j.hooks.requireExtensions.isUsed()){E.addRuntimeModule(N,new ce)}}));q.getCompilationHooks(E).chunkHash.tap("RuntimePlugin",((E,N,{chunkGraph:R})=>{const j=new qe;for(const N of R.getChunkRuntimeModulesIterable(E)){j.add(R.getModuleHash(N,E.runtime))}j.updateHash(N)}))}))}}E.exports=RuntimePlugin},37130:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);const{equals:G}=R(73910);const ie=R(87274);const ae=R(68038);const{forEachRuntime:ce,subtractRuntime:le}=R(37416);const noModuleIdErrorMessage=(E,N)=>`Module ${E.identifier()} has no id assigned.\nThis should not happen.\nIt's in these chunks: ${Array.from(N.getModuleChunksIterable(E),(E=>E.name||E.id||E.debugId)).join(", ")||"none"} (If module is in no chunk this indicates a bug in some chunk/module optimization logic)\nModule has these incoming connections: ${Array.from(N.moduleGraph.getIncomingConnections(E),(E=>`\n - ${E.originModule&&E.originModule.identifier()} ${E.dependency&&E.dependency.type} ${E.explanations&&Array.from(E.explanations).join(", ")||""}`)).join("")}`;class RuntimeTemplate{constructor(E,N,R){this.compilation=E;this.outputOptions=N||{};this.requestShortener=R}isIIFE(){return this.outputOptions.iife}isModule(){return this.outputOptions.module}supportsConst(){return this.outputOptions.environment.const}supportsArrowFunction(){return this.outputOptions.environment.arrowFunction}supportsForOf(){return this.outputOptions.environment.forOf}supportsDestructuring(){return this.outputOptions.environment.destructuring}supportsBigIntLiteral(){return this.outputOptions.environment.bigIntLiteral}supportsDynamicImport(){return this.outputOptions.environment.dynamicImport}supportsEcmaScriptModuleSyntax(){return this.outputOptions.environment.module}supportTemplateLiteral(){return false}returningFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { return ${E}; }`}basicFunction(E,N){return this.supportsArrowFunction()?`(${E}) => {\n${q.indent(N)}\n}`:`function(${E}) {\n${q.indent(N)}\n}`}expressionFunction(E,N=""){return this.supportsArrowFunction()?`(${N}) => (${E})`:`function(${N}) { ${E}; }`}emptyFunction(){return this.supportsArrowFunction()?"x => {}":"function() {}"}destructureArray(E,N){return this.supportsDestructuring()?`var [${E.join(", ")}] = ${N};`:q.asString(E.map(((E,R)=>`var ${E} = ${N}[${R}];`)))}destructureObject(E,N){return this.supportsDestructuring()?`var {${E.join(", ")}} = ${N};`:q.asString(E.map((E=>`var ${E} = ${N}${ae([E])};`)))}iife(E,N){return`(${this.basicFunction(E,N)})()`}forEach(E,N,R){return this.supportsForOf()?`for(const ${E} of ${N}) {\n${q.indent(R)}\n}`:`${N}.forEach(function(${E}) {\n${q.indent(R)}\n});`}comment({request:E,chunkName:N,chunkReason:R,message:j,exportName:$}){let G;if(this.outputOptions.pathinfo){G=[j,E,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}else{G=[j,N,R].filter(Boolean).map((E=>this.requestShortener.shorten(E))).join(" | ")}if(!G)return"";if(this.outputOptions.pathinfo){return q.toComment(G)+" "}else{return q.toNormalComment(G)+" "}}throwMissingModuleErrorBlock({request:E}){const N=`Cannot find module '${E}'`;return`var e = new Error(${JSON.stringify(N)}); e.code = 'MODULE_NOT_FOUND'; throw e;`}throwMissingModuleErrorFunction({request:E}){return`function webpackMissingModule() { ${this.throwMissingModuleErrorBlock({request:E})} }`}missingModule({request:E}){return`Object(${this.throwMissingModuleErrorFunction({request:E})}())`}missingModuleStatement({request:E}){return`${this.missingModule({request:E})};\n`}missingModulePromise({request:E}){return`Promise.resolve().then(${this.throwMissingModuleErrorFunction({request:E})})`}weakError({module:E,chunkGraph:N,request:R,idExpr:j,type:$}){const G=N.getModuleId(E);const ie=G===null?JSON.stringify("Module is not available (weak dependency)"):j?`"Module '" + ${j} + "' is not available (weak dependency)"`:JSON.stringify(`Module '${G}' is not available (weak dependency)`);const ae=R?q.toNormalComment(R)+" ":"";const ce=`var e = new Error(${ie}); `+ae+"e.code = 'MODULE_NOT_FOUND'; throw e;";switch($){case"statements":return ce;case"promise":return`Promise.resolve().then(${this.basicFunction("",ce)})`;case"expression":return this.iife("",ce)}}moduleId({module:E,chunkGraph:N,request:R,weak:j}){if(!E){return this.missingModule({request:R})}const $=N.getModuleId(E);if($===null){if(j){return"null /* weak dependency, without id */"}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}return`${this.comment({request:R})}${JSON.stringify($)}`}moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:q}){if(!E){return this.missingModule({request:R})}const G=N.getModuleId(E);if(G===null){if(j){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleId(): ${noModuleIdErrorMessage(E,N)}`)}q.add($.require);return`__webpack_require__(${this.moduleId({module:E,chunkGraph:N,request:R,weak:j})})`}moduleExports({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$}){return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:j,runtimeRequirements:$})}moduleNamespace({module:E,chunkGraph:N,request:R,strict:j,weak:q,runtimeRequirements:G}){if(!E){return this.missingModule({request:R})}if(N.getModuleId(E)===null){if(q){return this.weakError({module:E,chunkGraph:N,request:R,type:"expression"})}throw new Error(`RuntimeTemplate.moduleNamespace(): ${noModuleIdErrorMessage(E,N)}`)}const ie=this.moduleId({module:E,chunkGraph:N,request:R,weak:q});const ae=E.getExportsType(N.moduleGraph,j);switch(ae){case"namespace":return this.moduleRaw({module:E,chunkGraph:N,request:R,weak:q,runtimeRequirements:G});case"default-with-named":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 3)`;case"default-only":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 1)`;case"dynamic":G.add($.createFakeNamespaceObject);return`${$.createFakeNamespaceObject}(${ie}, 7)`}}moduleNamespacePromise({chunkGraph:E,block:N,module:R,request:j,message:q,strict:G,weak:ie,runtimeRequirements:ae}){if(!R){return this.missingModulePromise({request:j})}const ce=E.getModuleId(R);if(ce===null){if(ie){return this.weakError({module:R,chunkGraph:E,request:j,type:"promise"})}throw new Error(`RuntimeTemplate.moduleNamespacePromise(): ${noModuleIdErrorMessage(R,E)}`)}const le=this.blockPromise({chunkGraph:E,block:N,message:q,runtimeRequirements:ae});let _e;let Ee=JSON.stringify(E.getModuleId(R));const Te=this.comment({request:j});let we="";if(ie){if(Ee.length>8){we+=`var id = ${Ee}; `;Ee="id"}ae.add($.moduleFactories);we+=`if(!${$.moduleFactories}[${Ee}]) { ${this.weakError({module:R,chunkGraph:E,request:j,idExpr:Ee,type:"statements"})} } `}const Ie=this.moduleId({module:R,chunkGraph:E,request:j,weak:ie});const Ne=R.getExportsType(E.moduleGraph,G);let Me=16;switch(Ne){case"namespace":if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}break;case"dynamic":Me|=4;case"default-with-named":Me|=2;case"default-only":ae.add($.createFakeNamespaceObject);if(E.moduleGraph.isAsync(R)){if(we){const N=this.moduleRaw({module:R,chunkGraph:E,request:j,weak:ie,runtimeRequirements:ae});_e=`.then(${this.basicFunction("",`${we}return ${N};`)})`}else{ae.add($.require);_e=`.then(__webpack_require__.bind(__webpack_require__, ${Te}${Ee}))`}_e+=`.then(${this.returningFunction(`${$.createFakeNamespaceObject}(m, ${Me})`,"m")})`}else{Me|=1;if(we){const E=`${$.createFakeNamespaceObject}(${Ie}, ${Me})`;_e=`.then(${this.basicFunction("",`${we}return ${E};`)})`}else{_e=`.then(${$.createFakeNamespaceObject}.bind(__webpack_require__, ${Te}${Ee}, ${Me}))`}}break}return`${le||"Promise.resolve()"}${_e}`}runtimeConditionExpression({chunkGraph:E,runtimeCondition:N,runtime:R,runtimeRequirements:j}){if(N===undefined)return"true";if(typeof N==="boolean")return`${N}`;const q=new Set;ce(N,(N=>q.add(`${E.getRuntimeId(N)}`)));const G=new Set;ce(le(R,N),(N=>G.add(`${E.getRuntimeId(N)}`)));j.add($.runtimeId);return ie.fromLists(Array.from(q),Array.from(G))($.runtimeId)}importStatement({update:E,module:N,chunkGraph:R,request:j,importVar:q,originModule:G,weak:ie,runtimeRequirements:ae}){if(!N){return[this.missingModuleStatement({request:j}),""]}if(R.getModuleId(N)===null){if(ie){return[this.weakError({module:N,chunkGraph:R,request:j,type:"statements"}),""]}throw new Error(`RuntimeTemplate.importStatement(): ${noModuleIdErrorMessage(N,R)}`)}const ce=this.moduleId({module:N,chunkGraph:R,request:j,weak:ie});const le=E?"":"var ";const _e=N.getExportsType(R.moduleGraph,G.buildMeta.strictHarmonyModule);ae.add($.require);const Ee=`/* harmony import */ ${le}${q} = __webpack_require__(${ce});\n`;if(_e==="dynamic"){ae.add($.compatGetDefaultExport);return[Ee,`/* harmony import */ ${le}${q}_default = /*#__PURE__*/${$.compatGetDefaultExport}(${q});\n`]}return[Ee,""]}exportFromImport({moduleGraph:E,module:N,request:R,exportName:ie,originModule:ce,asiSafe:le,isCall:_e,callContext:Ee,defaultInterop:Te,importVar:we,initFragments:Ie,runtime:Ne,runtimeRequirements:Me}){if(!N){return this.missingModule({request:R})}if(!Array.isArray(ie)){ie=ie?[ie]:[]}const Le=N.getExportsType(E,ce.buildMeta.strictHarmonyModule);if(Te){if(ie.length>0&&ie[0]==="default"){switch(Le){case"dynamic":if(_e){return`${we}_default()${ae(ie,1)}`}else{return le?`(${we}_default()${ae(ie,1)})`:le===false?`;(${we}_default()${ae(ie,1)})`:`${we}_default.a${ae(ie,1)}`}case"default-only":case"default-with-named":ie=ie.slice(1);break}}else if(ie.length>0){if(Le==="default-only"){return"/* non-default import from non-esm module */undefined"+ae(ie,1)}else if(Le!=="namespace"&&ie[0]==="__esModule"){return"/* __esModule */true"}}else if(Le==="default-only"||Le==="default-with-named"){Me.add($.createFakeNamespaceObject);Ie.push(new j(`var ${we}_namespace_cache;\n`,j.STAGE_CONSTANTS,-1,`${we}_namespace_cache`));return`/*#__PURE__*/ ${le?"":le===false?";":"Object"}(${we}_namespace_cache || (${we}_namespace_cache = ${$.createFakeNamespaceObject}(${we}${Le==="default-only"?"":", 2"})))`}}if(ie.length>0){const R=E.getExportsInfo(N);const j=R.getUsedName(ie,Ne);if(!j){const E=q.toNormalComment(`unused export ${ae(ie)}`);return`${E} undefined`}const $=G(j,ie)?"":q.toNormalComment(ae(ie))+" ";const ce=`${we}${$}${ae(j)}`;if(_e&&Ee===false){return le?`(0,${ce})`:le===false?`;(0,${ce})`:`/*#__PURE__*/Object(${ce})`}return ce}else{return we}}blockPromise({block:E,message:N,chunkGraph:R,runtimeRequirements:j}){if(!E){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const q=R.getBlockChunkGroup(E);if(!q||q.chunks.length===0){const E=this.comment({message:N});return`Promise.resolve(${E.trim()})`}const G=q.chunks.filter((E=>!E.hasRuntime()&&E.id!==null));const ie=this.comment({message:N,chunkName:E.chunkName});if(G.length===1){const E=JSON.stringify(G[0].id);j.add($.ensureChunk);return`${$.ensureChunk}(${ie}${E})`}else if(G.length>0){j.add($.ensureChunk);const requireChunkId=E=>`${$.ensureChunk}(${JSON.stringify(E.id)})`;return`Promise.all(${ie.trim()}[${G.map(requireChunkId).join(", ")}])`}else{return`Promise.resolve(${ie.trim()})`}}asyncModuleFactory({block:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=E.dependencies[0];const q=N.moduleGraph.getModule($);const G=this.blockPromise({block:E,message:"",chunkGraph:N,runtimeRequirements:R});const ie=this.returningFunction(this.moduleRaw({module:q,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(G.startsWith("Promise.resolve(")?`${ie}`:`${G}.then(${this.returningFunction(ie)})`)}syncModuleFactory({dependency:E,chunkGraph:N,runtimeRequirements:R,request:j}){const $=N.moduleGraph.getModule(E);const q=this.returningFunction(this.moduleRaw({module:$,chunkGraph:N,request:j,runtimeRequirements:R}));return this.returningFunction(q)}defineEsModuleFlagStatement({exportsArgument:E,runtimeRequirements:N}){N.add($.makeNamespaceObject);N.add($.exports);return`${$.makeNamespaceObject}(${E});\n`}}E.exports=RuntimeTemplate},31141:E=>{"use strict";class SelfModuleFactory{constructor(E){this.moduleGraph=E}create(E,N){const R=this.moduleGraph.getParentModule(E.dependencies[0]);N(null,{module:R})}}E.exports=SelfModuleFactory},9192:(E,N)=>{"use strict";N.formatSize=E=>{if(typeof E!=="number"||Number.isNaN(E)===true){return"unknown size"}if(E<=0){return"0 bytes"}const N=["bytes","KiB","MiB","GiB"];const R=Math.floor(Math.log(E)/Math.log(1024));return`${+(E/Math.pow(1024,R)).toPrecision(3)} ${N[R]}`}},26867:(E,N,R)=>{"use strict";const j=R(18161);class SourceMapDevToolModuleOptionsPlugin{constructor(E){this.options=E}apply(E){const N=this.options;if(N.module!==false){E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSourceMap=true}))}else{E.hooks.buildModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}));E.hooks.runtimeModule.tap("SourceMapDevToolModuleOptionsPlugin",(E=>{E.useSimpleSourceMap=true}))}j.getCompilationHooks(E).useSourceMap.tap("SourceMapDevToolModuleOptionsPlugin",(()=>true))}}E.exports=SourceMapDevToolModuleOptionsPlugin},2e4:(E,N,R)=>{"use strict";const j=R(62355);const{ConcatSource:$,RawSource:q}=R(48135);const G=R(3080);const ie=R(70354);const ae=R(52923);const ce=R(26867);const le=R(35817);const _e=R(35891);const{relative:Ee,dirname:Te}=R(95396);const{makePathsAbsolute:we}=R(49197);const Ie=le(R(68337),(()=>R(78061)),{name:"SourceMap DevTool Plugin",baseDataPath:"options"});const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const getTaskForFile=(E,N,R,j,$,q)=>{let G;let ie;if(N.sourceAndMap){const E=N.sourceAndMap(j);ie=E.map;G=E.source}else{ie=N.map(j);G=N.source()}if(!ie||typeof G!=="string")return;const ae=$.options.context;const ce=$.compiler.root;const le=we.bindContextCache(ae,ce);const _e=ie.sources.map((E=>{if(!E.startsWith("webpack://"))return E;E=le(E.slice(10));const N=$.findModule(E);return N||E}));return{file:E,asset:N,source:G,assetInfo:R,sourceMap:ie,modules:_e,cacheItem:q}};class SourceMapDevToolPlugin{constructor(E={}){Ie(E);this.sourceMapFilename=E.filename;this.sourceMappingURLComment=E.append===false?false:E.append||"\n//# source"+"MappingURL=[url]";this.moduleFilenameTemplate=E.moduleFilenameTemplate||"webpack://[namespace]/[resourcePath]";this.fallbackModuleFilenameTemplate=E.fallbackModuleFilenameTemplate||"webpack://[namespace]/[resourcePath]?[hash]";this.namespace=E.namespace||"";this.options=E}apply(E){const N=E.outputFileSystem;const R=this.sourceMapFilename;const le=this.sourceMappingURLComment;const we=this.moduleFilenameTemplate;const Ie=this.namespace;const Ne=this.fallbackModuleFilenameTemplate;const Me=E.requestShortener;const Le=this.options;Le.test=Le.test||/\.((c|m)?js|css)($|\?)/i;const Be=ie.matchObject.bind(undefined,Le);E.hooks.compilation.tap("SourceMapDevToolPlugin",(E=>{new ce(Le).apply(E);E.hooks.processAssets.tapAsync({name:"SourceMapDevToolPlugin",stage:G.PROCESS_ASSETS_STAGE_DEV_TOOLING,additionalAssets:true},((G,ce)=>{const je=E.chunkGraph;const Ue=E.getCache("SourceMapDevToolPlugin");const ze=new Map;const We=ae.getReporter(E.compiler)||(()=>{});const Je=new Map;for(const N of E.chunks){for(const E of N.files){Je.set(E,N)}for(const E of N.auxiliaryFiles){Je.set(E,N)}}const Ve=[];for(const E of Object.keys(G)){if(Be(E)){Ve.push(E)}}We(0);const qe=[];let He=0;j.each(Ve,((N,R)=>{const j=E.getAsset(N);if(j.info.related&&j.info.related.sourceMap){He++;return R()}const $=Ue.getItemCache(N,Ue.mergeEtags(Ue.getLazyHashedEtag(j.source),Ie));$.get(((q,G)=>{if(q){return R(q)}if(G){const{assets:j,assetsInfo:$}=G;for(const R of Object.keys(j)){if(R===N){E.updateAsset(R,j[R],$[R])}else{E.emitAsset(R,j[R],$[R])}if(R!==N){const E=Je.get(N);if(E!==undefined)E.auxiliaryFiles.add(R)}}We(.5*++He/Ve.length,N,"restored cached SourceMap");return R()}We(.5*He/Ve.length,N,"generate SourceMap");const ae=getTaskForFile(N,j.source,j.info,{module:Le.module,columns:Le.columns},E,$);if(ae){const N=ae.modules;for(let R=0;R{if(G){return ce(G)}We(.5,"resolve sources");const ae=new Set(ze.values());const we=new Set;const Be=Array.from(ze.keys()).sort(((E,N)=>{const R=typeof E==="string"?E:E.identifier();const j=typeof N==="string"?N:N.identifier();return R.length-j.length}));for(let N=0;N{const ie=Object.create(null);const ae=Object.create(null);const ce=j.file;const we=Je.get(ce);const Ie=j.sourceMap;const Ne=j.source;const Me=j.modules;We(.5+.5*Ue/qe.length,ce,"attach SourceMap");const Be=Me.map((E=>ze.get(E)));Ie.sources=Be;if(Le.noSources){Ie.sourcesContent=undefined}Ie.sourceRoot=Le.sourceRoot||"";Ie.file=ce;const je=R&&/\[contenthash(:\w+)?\]/.test(R);if(je&&j.assetInfo.contenthash){const E=j.assetInfo.contenthash;let N;if(Array.isArray(E)){N=E.map(quoteMeta).join("|")}else{N=quoteMeta(E)}Ie.file=Ie.file.replace(new RegExp(N,"g"),(E=>"x".repeat(E.length)))}let Ve=le;if(Ve!==false&&/\.css($|\?)/i.test(ce)){Ve=Ve.replace(/^\n\/\/(.*)$/,"\n/*$1*/")}const He=JSON.stringify(Ie);if(R){let j=ce;const G=je&&_e(E.outputOptions.hashFunction).update(He).digest("hex");const le={chunk:we,filename:Le.fileContext?Ee(N,`/${Le.fileContext}`,`/${j}`):j,contentHash:G};const{path:Ie,info:Me}=E.getPathWithInfo(R,le);const Be=Le.publicPath?Le.publicPath+Ie:Ee(N,Te(N,`/${ce}`),`/${Ie}`);let Ue=new q(Ne);if(Ve!==false){Ue=new $(Ue,E.getPath(Ve,Object.assign({url:Be},le)))}const ze={related:{sourceMap:Ie}};ie[ce]=Ue;ae[ce]=ze;E.updateAsset(ce,Ue,ze);const We=new q(He);const Je={...Me,development:true};ie[Ie]=We;ae[Ie]=Je;E.emitAsset(Ie,We,Je);if(we!==undefined)we.auxiliaryFiles.add(Ie)}else{if(Ve===false){throw new Error("SourceMapDevToolPlugin: append can't be false when no filename is provided")}const N=new $(new q(Ne),Ve.replace(/\[map\]/g,(()=>He)).replace(/\[url\]/g,(()=>`data:application/json;charset=utf-8;base64,${Buffer.from(He,"utf-8").toString("base64")}`)));ie[ce]=N;ae[ce]=undefined;E.updateAsset(ce,N)}j.cacheItem.store({assets:ie,assetsInfo:ae},(E=>{We(.5+.5*++Ue/qe.length,j.file,"attached SourceMap");if(E){return G(E)}G()}))}),(E=>{We(1);ce(E)}))}))}))}))}}E.exports=SourceMapDevToolPlugin},10140:E=>{"use strict";class Stats{constructor(E){this.compilation=E}get hash(){return this.compilation.hash}get startTime(){return this.compilation.startTime}get endTime(){return this.compilation.endTime}hasWarnings(){return this.compilation.warnings.length>0||this.compilation.children.some((E=>E.getStats().hasWarnings()))}hasErrors(){return this.compilation.errors.length>0||this.compilation.children.some((E=>E.getStats().hasErrors()))}toJson(E){E=this.compilation.createStatsOptions(E,{forToString:false});const N=this.compilation.createStatsFactory(E);return N.create("compilation",this.compilation,{compilation:this.compilation})}toString(E){E=this.compilation.createStatsOptions(E,{forToString:true});const N=this.compilation.createStatsFactory(E);const R=this.compilation.createStatsPrinter(E);const j=N.create("compilation",this.compilation,{compilation:this.compilation});const $=R.print("compilation",j);return $===undefined?"":$}}E.exports=Stats},58159:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$}=R(48135);const q="a".charCodeAt(0);const G="A".charCodeAt(0);const ie="z".charCodeAt(0)-q+1;const ae=ie*2+2;const ce=ae+10;const le=/^function\s?\(\)\s?\{\r?\n?|\r?\n?\}$/g;const _e=/^\t/gm;const Ee=/\r?\n/g;const Te=/^([^a-zA-Z$_])/;const we=/[^a-zA-Z0-9$]+/g;const Ie=/\*\//g;const Ne=/[^a-zA-Z0-9_!§$()=\-^°]+/g;const Me=/^-|-$/g;class Template{static getFunctionContent(E){return E.toString().replace(le,"").replace(_e,"").replace(Ee,"\n")}static toIdentifier(E){if(typeof E!=="string")return"";return E.replace(Te,"_$1").replace(we,"_")}static toComment(E){if(!E)return"";return`/*! ${E.replace(Ie,"* /")} */`}static toNormalComment(E){if(!E)return"";return`/* ${E.replace(Ie,"* /")} */`}static toPath(E){if(typeof E!=="string")return"";return E.replace(Ne,"-").replace(Me,"")}static numberToIdentifier(E){if(E>=ae){return Template.numberToIdentifier(E%ae)+Template.numberToIdentifierContinuation(Math.floor(E/ae))}if(E=ce){return Template.numberToIdentifierContinuation(E%ce)+Template.numberToIdentifierContinuation(Math.floor(E/ce))}if(EE)R=E}if(R<16+(""+R).length){R=0}let j=-1;for(const N of E){j+=`${N.id}`.length+2}const $=R===0?N:16+`${R}`.length+N;return $({id:q.getModuleId(E),source:R(E)||"false"})));const ae=Template.getModulesArrayBounds(ie);if(ae){const E=ae[0];const N=ae[1];if(E!==0){G.add(`Array(${E}).concat(`)}G.add("[\n");const R=new Map;for(const E of ie){R.set(E.id,E)}for(let j=E;j<=N;j++){const N=R.get(j);if(j!==E){G.add(",\n")}G.add(`/* ${j} */`);if(N){G.add("\n");G.add(N.source)}}G.add("\n"+$+"]");if(E!==0){G.add(")")}}else{G.add("{\n");for(let E=0;E {\n");R.add(new $("\t",q));R.add("\n})();\n\n")}else{R.add("!function() {\n");R.add(new $("\t",q));R.add("\n}();\n\n")}}}return R}static renderChunkRuntimeModules(E,N){return new $("/******/ ",new j("function(__webpack_require__) { // webpackRuntimeModules\n",this.renderRuntimeModules(E,N),"}\n"))}}E.exports=Template;E.exports.NUMBER_OF_IDENTIFIER_START_CHARS=ae;E.exports.NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS=ce},30337:(E,N,R)=>{"use strict";const{basename:j,extname:$}=R(71017);const q=R(73837);const G=R(62433);const ie=R(53453);const{parseResource:ae}=R(49197);const ce=/\[\\*([\w:]+)\\*\]/gi;const prepareId=E=>{if(typeof E!=="string")return E;if(/^"\s\+*.*\+\s*"$/.test(E)){const N=/^"\s\+*\s*(.*)\s*\+\s*"$/.exec(E);return`" + (${N[1]} + "").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g, "_") + "`}return E.replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_")};const hashLength=(E,N,R,j)=>{const fn=($,q,G)=>{let ie;const ae=q&&parseInt(q,10);if(ae&&N){ie=N(ae)}else{const N=E($,q,G);ie=ae?N.slice(0,ae):N}if(R){R.immutable=true;if(Array.isArray(R[j])){R[j]=[...R[j],ie]}else if(R[j]){R[j]=[R[j],ie]}else{R[j]=ie}}return ie};return fn};const replacer=(E,N)=>{const fn=(R,j,$)=>{if(typeof E==="function"){E=E()}if(E===null||E===undefined){if(!N){throw new Error(`Path variable ${R} not implemented in this context: ${$}`)}return""}else{return`${E}`}};return fn};const le=new Map;const _e=(()=>()=>{})();const deprecated=(E,N,R)=>{let j=le.get(N);if(j===undefined){j=q.deprecate(_e,N,R);le.set(N,j)}return(...N)=>{j();return E(...N)}};const replacePathVariables=(E,N,R)=>{const q=N.chunkGraph;const le=new Map;if(typeof N.filename==="string"){const{path:E,query:R,fragment:q}=ae(N.filename);const G=$(E);const ie=j(E);const ce=ie.slice(0,ie.length-G.length);const _e=E.slice(0,E.length-ie.length);le.set("file",replacer(E));le.set("query",replacer(R,true));le.set("fragment",replacer(q,true));le.set("path",replacer(_e,true));le.set("base",replacer(ie));le.set("name",replacer(ce));le.set("ext",replacer(G,true));le.set("filebase",deprecated(replacer(ie),"[filebase] is now [base]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_FILENAME"))}if(N.hash){const E=hashLength(replacer(N.hash),N.hashWithLength,R,"fullhash");le.set("fullhash",E);le.set("hash",deprecated(E,"[hash] is now [fullhash] (also consider using [chunkhash] or [contenthash], see documentation for details)","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_HASH"))}if(N.chunk){const E=N.chunk;const j=N.contentHashType;const $=replacer(E.id);const q=replacer(E.name||E.id);const ie=hashLength(replacer(E instanceof G?E.renderedHash:E.hash),"hashWithLength"in E?E.hashWithLength:undefined,R,"chunkhash");const ae=hashLength(replacer(N.contentHash||j&&E.contentHash&&E.contentHash[j]),N.contentHashWithLength||("contentHashWithLength"in E&&E.contentHashWithLength?E.contentHashWithLength[j]:undefined),R,"contenthash");le.set("id",$);le.set("name",q);le.set("chunkhash",ie);le.set("contenthash",ae)}if(N.module){const E=N.module;const j=replacer((()=>prepareId(E instanceof ie?q.getModuleId(E):E.id)));const $=hashLength(replacer((()=>E instanceof ie?q.getRenderedModuleHash(E,N.runtime):E.hash)),"hashWithLength"in E?E.hashWithLength:undefined,R,"modulehash");const G=hashLength(replacer(N.contentHash),undefined,R,"contenthash");le.set("id",j);le.set("modulehash",$);le.set("contenthash",G);le.set("hash",N.contentHash?G:$);le.set("moduleid",deprecated(j,"[moduleid] is now [id]","DEP_WEBPACK_TEMPLATE_PATH_PLUGIN_REPLACE_PATH_VARIABLES_MODULE_ID"))}if(N.url){le.set("url",replacer(N.url))}if(typeof N.runtime==="string"){le.set("runtime",replacer((()=>prepareId(N.runtime))))}else{le.set("runtime",replacer("_"))}if(typeof E==="function"){E=E(N,R)}E=E.replace(ce,((N,R)=>{if(R.length+2===N.length){const j=/^(\w+)(?::(\w+))?$/.exec(R);if(!j)return N;const[,$,q]=j;const G=le.get($);if(G!==undefined){return G(N,q,E)}}else if(N.startsWith("[\\")&&N.endsWith("\\]")){return`[${N.slice(2,-2)}]`}return N}));return E};const Ee="TemplatedPathPlugin";class TemplatedPathPlugin{apply(E){E.hooks.compilation.tap(Ee,(E=>{E.hooks.assetPath.tap(Ee,replacePathVariables)}))}}E.exports=TemplatedPathPlugin},77090:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnhandledSchemeError extends j{constructor(E,N){super(`Reading from "${N}" is not handled by plugins (Unhandled scheme).`+'\nWebpack supports "data:" and "file:" URIs by default.'+`\nYou may need an additional plugin to handle "${E}:" URIs.`);this.file=N;this.name="UnhandledSchemeError"}}$(UnhandledSchemeError,"webpack/lib/UnhandledSchemeError","UnhandledSchemeError");E.exports=UnhandledSchemeError},53558:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class UnsupportedFeatureWarning extends j{constructor(E,N){super(E);this.name="UnsupportedFeatureWarning";this.loc=N;this.hideStack=true}}$(UnsupportedFeatureWarning,"webpack/lib/UnsupportedFeatureWarning");E.exports=UnsupportedFeatureWarning},79050:(E,N,R)=>{"use strict";const j=R(66298);class UseStrictPlugin{apply(E){E.hooks.compilation.tap("UseStrictPlugin",((E,{normalModuleFactory:N})=>{const handler=E=>{E.hooks.program.tap("UseStrictPlugin",(N=>{const R=N.body[0];if(R&&R.type==="ExpressionStatement"&&R.expression.type==="Literal"&&R.expression.value==="use strict"){const N=new j("",R.range);N.loc=R.loc;E.state.module.addPresentationalDependency(N);E.state.module.buildInfo.strict=true}}))};N.hooks.parser.for("javascript/auto").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("UseStrictPlugin",handler);N.hooks.parser.for("javascript/esm").tap("UseStrictPlugin",handler)}))}}E.exports=UseStrictPlugin},12510:(E,N,R)=>{"use strict";const j=R(41673);class WarnCaseSensitiveModulesPlugin{apply(E){E.hooks.compilation.tap("WarnCaseSensitiveModulesPlugin",(E=>{E.hooks.seal.tap("WarnCaseSensitiveModulesPlugin",(()=>{const N=new Map;for(const R of E.modules){const E=R.identifier();const j=E.toLowerCase();let $=N.get(j);if($===undefined){$=new Map;N.set(j,$)}$.set(E,R)}for(const R of N){const N=R[1];if(N.size>1){E.warnings.push(new j(N.values(),E.moduleGraph))}}}))}))}}E.exports=WarnCaseSensitiveModulesPlugin},3571:(E,N,R)=>{"use strict";const j=R(81627);class WarnDeprecatedOptionPlugin{constructor(E,N,R){this.option=E;this.value=N;this.suggestion=R}apply(E){E.hooks.thisCompilation.tap("WarnDeprecatedOptionPlugin",(E=>{E.warnings.push(new DeprecatedOptionWarning(this.option,this.value,this.suggestion))}))}}class DeprecatedOptionWarning extends j{constructor(E,N,R){super();this.name="DeprecatedOptionWarning";this.message="configuration\n"+`The value '${N}' for option '${E}' is deprecated. `+`Use '${R}' instead.`}}E.exports=WarnDeprecatedOptionPlugin},67586:(E,N,R)=>{"use strict";const j=R(24500);class WarnNoModeSetPlugin{apply(E){E.hooks.thisCompilation.tap("WarnNoModeSetPlugin",(E=>{E.warnings.push(new j)}))}}E.exports=WarnNoModeSetPlugin},91265:(E,N,R)=>{"use strict";const j=R(35817);const $=j(R(12798),(()=>R(91014)),{name:"Watch Ignore Plugin",baseDataPath:"options"});const q="ignore";class IgnoringWatchFileSystem{constructor(E,N){this.wfs=E;this.paths=N}watch(E,N,R,j,$,G,ie){E=Array.from(E);N=Array.from(N);const ignored=E=>this.paths.some((N=>N instanceof RegExp?N.test(E):E.indexOf(N)===0));const notIgnored=E=>!ignored(E);const ae=E.filter(ignored);const ce=N.filter(ignored);const le=this.wfs.watch(E.filter(notIgnored),N.filter(notIgnored),R,j,$,((E,N,R,j,$)=>{if(E)return G(E);for(const E of ae){N.set(E,q)}for(const E of ce){R.set(E,q)}G(E,N,R,j,$)}),ie);return{close:()=>le.close(),pause:()=>le.pause(),getContextTimeInfoEntries:()=>{const E=le.getContextTimeInfoEntries();for(const N of ce){E.set(N,q)}return E},getFileTimeInfoEntries:()=>{const E=le.getFileTimeInfoEntries();for(const N of ae){E.set(N,q)}return E}}}}class WatchIgnorePlugin{constructor(E){$(E);this.paths=E.paths}apply(E){E.hooks.afterEnvironment.tap("WatchIgnorePlugin",(()=>{E.watchFileSystem=new IgnoringWatchFileSystem(E.watchFileSystem,this.paths)}))}}E.exports=WatchIgnorePlugin},84693:(E,N,R)=>{"use strict";const j=R(10140);class Watching{constructor(E,N,R){this.startTime=null;this.invalid=false;this.handler=R;this.callbacks=[];this._closeCallbacks=undefined;this.closed=false;this.suspended=false;this.blocked=false;this._isBlocked=()=>false;this._onChange=()=>{};this._onInvalid=()=>{};if(typeof N==="number"){this.watchOptions={aggregateTimeout:N}}else if(N&&typeof N==="object"){this.watchOptions={...N}}else{this.watchOptions={}}if(typeof this.watchOptions.aggregateTimeout!=="number"){this.watchOptions.aggregateTimeout=200}this.compiler=E;this.running=false;this._initial=true;this._invalidReported=true;this._needRecords=true;this.watcher=undefined;this.pausedWatcher=undefined;this._collectedChangedFiles=undefined;this._collectedRemovedFiles=undefined;this._done=this._done.bind(this);process.nextTick((()=>{if(this._initial)this._invalidate()}))}_mergeWithCollected(E,N){if(!E)return;if(!this._collectedChangedFiles){this._collectedChangedFiles=new Set(E);this._collectedRemovedFiles=new Set(N)}else{for(const N of E){this._collectedChangedFiles.add(N);this._collectedRemovedFiles.delete(N)}for(const E of N){this._collectedChangedFiles.delete(E);this._collectedRemovedFiles.add(E)}}}_go(E,N,R,$){this._initial=false;if(this.startTime===null)this.startTime=Date.now();this.running=true;if(this.watcher){this.pausedWatcher=this.watcher;this.lastWatcherStartTime=Date.now();this.watcher.pause();this.watcher=null}else if(!this.lastWatcherStartTime){this.lastWatcherStartTime=Date.now()}this.compiler.fsStartTime=Date.now();this._mergeWithCollected(R||this.pausedWatcher&&this.pausedWatcher.getAggregatedChanges&&this.pausedWatcher.getAggregatedChanges(),this.compiler.removedFiles=$||this.pausedWatcher&&this.pausedWatcher.getAggregatedRemovals&&this.pausedWatcher.getAggregatedRemovals());this.compiler.modifiedFiles=this._collectedChangedFiles;this._collectedChangedFiles=undefined;this.compiler.removedFiles=this._collectedRemovedFiles;this._collectedRemovedFiles=undefined;this.compiler.fileTimestamps=E||this.pausedWatcher&&this.pausedWatcher.getFileTimeInfoEntries();this.compiler.contextTimestamps=N||this.pausedWatcher&&this.pausedWatcher.getContextTimeInfoEntries();const run=()=>{if(this.compiler.idle){return this.compiler.cache.endIdle((E=>{if(E)return this._done(E);this.compiler.idle=false;run()}))}if(this._needRecords){return this.compiler.readRecords((E=>{if(E)return this._done(E);this._needRecords=false;run()}))}this.invalid=false;this._invalidReported=false;this.compiler.hooks.watchRun.callAsync(this.compiler,(E=>{if(E)return this._done(E);const onCompiled=(E,N)=>{if(E)return this._done(E,N);if(this.invalid)return this._done(null,N);if(this.compiler.hooks.shouldEmit.call(N)===false){return this._done(null,N)}process.nextTick((()=>{const E=N.getLogger("webpack.Compiler");E.time("emitAssets");this.compiler.emitAssets(N,(R=>{E.timeEnd("emitAssets");if(R)return this._done(R,N);if(this.invalid)return this._done(null,N);E.time("emitRecords");this.compiler.emitRecords((R=>{E.timeEnd("emitRecords");if(R)return this._done(R,N);if(N.hooks.needAdditionalPass.call()){N.needAdditionalPass=true;N.startTime=this.startTime;N.endTime=Date.now();E.time("done hook");const R=new j(N);this.compiler.hooks.done.callAsync(R,(R=>{E.timeEnd("done hook");if(R)return this._done(R,N);this.compiler.hooks.additionalPass.callAsync((E=>{if(E)return this._done(E,N);this.compiler.compile(onCompiled)}))}));return}return this._done(null,N)}))}))}))};this.compiler.compile(onCompiled)}))};run()}_getStats(E){const N=new j(E);return N}_done(E,N){this.running=false;const R=N&&N.getLogger("webpack.Watching");let $=null;const handleError=(E,N)=>{this.compiler.hooks.failed.call(E);this.compiler.cache.beginIdle();this.compiler.idle=true;this.handler(E,$);if(!N){N=this.callbacks;this.callbacks=[]}for(const R of N)R(E)};if(this.invalid&&!this.suspended&&!this.blocked&&!(this._isBlocked()&&(this.blocked=true))){if(N){R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E);this._go()}))}else{this._go()}return}if(N){N.startTime=this.startTime;N.endTime=Date.now();$=new j(N)}this.startTime=null;if(E)return handleError(E);const q=this.callbacks;this.callbacks=[];R.time("done hook");this.compiler.hooks.done.callAsync($,(E=>{R.timeEnd("done hook");if(E)return handleError(E,q);this.handler(null,$);R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(E=>{R.timeEnd("storeBuildDependencies");if(E)return handleError(E,q);R.time("beginIdle");this.compiler.cache.beginIdle();this.compiler.idle=true;R.timeEnd("beginIdle");process.nextTick((()=>{if(!this.closed){this.watch(N.fileDependencies,N.contextDependencies,N.missingDependencies)}}));for(const E of q)E(null);this.compiler.hooks.afterDone.call($)}))}))}watch(E,N,R){this.pausedWatcher=null;this.watcher=this.compiler.watchFileSystem.watch(E,N,R,this.lastWatcherStartTime,this.watchOptions,((E,N,R,j,$)=>{if(E){this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;return this.handler(E)}this._invalidate(N,R,j,$);this._onChange()}),((E,N)=>{if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(E,N)}this._onInvalid()}))}invalidate(E){if(E){this.callbacks.push(E)}if(!this._invalidReported){this._invalidReported=true;this.compiler.hooks.invalid.call(null,Date.now())}this._onChange();this._invalidate()}_invalidate(E,N,R,j){if(this.suspended||this._isBlocked()&&(this.blocked=true)){this._mergeWithCollected(R,j);return}if(this.running){this._mergeWithCollected(R,j);this.invalid=true}else{this._go(E,N,R,j)}}suspend(){this.suspended=true}resume(){if(this.suspended){this.suspended=false;this._invalidate()}}close(E){if(this._closeCallbacks){if(E){this._closeCallbacks.push(E)}return}const finalCallback=(E,N)=>{this.running=false;this.compiler.running=false;this.compiler.watching=undefined;this.compiler.watchMode=false;this.compiler.modifiedFiles=undefined;this.compiler.removedFiles=undefined;this.compiler.fileTimestamps=undefined;this.compiler.contextTimestamps=undefined;this.compiler.fsStartTime=undefined;const shutdown=E=>{this.compiler.hooks.watchClose.call();const N=this._closeCallbacks;this._closeCallbacks=undefined;for(const R of N)R(E)};if(N){const R=N.getLogger("webpack.Watching");R.time("storeBuildDependencies");this.compiler.cache.storeBuildDependencies(N.buildDependencies,(N=>{R.timeEnd("storeBuildDependencies");shutdown(E||N)}))}else{shutdown(E)}};this.closed=true;if(this.watcher){this.watcher.close();this.watcher=null}if(this.pausedWatcher){this.pausedWatcher.close();this.pausedWatcher=null}this._closeCallbacks=[];if(E){this._closeCallbacks.push(E)}if(this.running){this.invalid=true;this._done=finalCallback}else{finalCallback()}}}E.exports=Watching},81627:(E,N,R)=>{"use strict";const j=R(73837).inspect.custom;const $=R(56202);class WebpackError extends Error{constructor(E){super(E);this.details=undefined;this.module=undefined;this.loc=undefined;this.hideStack=undefined;this.chunk=undefined;this.file=undefined}[j](){return this.stack+(this.details?`\n${this.details}`:"")}serialize({write:E}){E(this.name);E(this.message);E(this.stack);E(this.details);E(this.loc);E(this.hideStack)}deserialize({read:E}){this.name=E();this.message=E();this.stack=E();this.details=E();this.loc=E();this.hideStack=E()}}$(WebpackError,"webpack/lib/WebpackError");E.exports=WebpackError},57694:(E,N,R)=>{"use strict";const j=R(16761);const $=R(46715);const{toConstantDependency:q}=R(48472);class WebpackIsIncludedPlugin{apply(E){E.hooks.compilation.tap("WebpackIsIncludedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new j(N));E.dependencyTemplates.set($,new $.Template);const handler=E=>{E.hooks.call.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",(N=>{if(N.type!=="CallExpression"||N.arguments.length!==1||N.arguments[0].type==="SpreadElement")return;const R=E.evaluateExpression(N.arguments[0]);if(!R.isString())return;const j=new $(R.string,N.range);j.loc=N.loc;E.state.module.addDependency(j);return true}));E.hooks.typeof.for("__webpack_is_included__").tap("WebpackIsIncludedPlugin",q(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("WebpackIsIncludedPlugin",handler);N.hooks.parser.for("javascript/esm").tap("WebpackIsIncludedPlugin",handler)}))}}E.exports=WebpackIsIncludedPlugin},81721:(E,N,R)=>{"use strict";const j=R(97614);const $=R(75076);const q=R(18161);const G=R(9483);const ie=R(5538);const ae=R(64699);const ce=R(43806);const le=R(89818);const _e=R(32323);const Ee=R(97489);const Te=R(40552);const we=R(29672);const Ie=R(57694);const Ne=R(30337);const Me=R(79050);const Le=R(12510);const Be=R(68495);const je=R(99184);const Ue=R(13653);const ze=R(91630);const We=R(26165);const Je=R(38586);const Ve=R(54975);const qe=R(2451);const He=R(67634);const Ge=R(51727);const Ke=R(3085);const Qe=R(62630);const Xe=R(65577);const Ye=R(76373);const Ze=R(68778);const et=R(82527);const tt=R(9054);const rt=R(7391);const nt=R(61762);const{cleverMerge:it}=R(90149);class WebpackOptionsApply extends j{constructor(){super()}process(E,N){N.outputPath=E.output.path;N.recordsInputPath=E.recordsInputPath||null;N.recordsOutputPath=E.recordsOutputPath||null;N.name=E.name;if(E.externals){const j=R(61050);new j(E.externalsType,E.externals).apply(N)}if(E.externalsPresets.node){const E=R(84980);(new E).apply(N)}if(E.externalsPresets.electronMain){const E=R(25726);new E("main").apply(N)}if(E.externalsPresets.electronPreload){const E=R(25726);new E("preload").apply(N)}if(E.externalsPresets.electronRenderer){const E=R(25726);new E("renderer").apply(N)}if(E.externalsPresets.electron&&!E.externalsPresets.electronMain&&!E.externalsPresets.electronPreload&&!E.externalsPresets.electronRenderer){const E=R(25726);(new E).apply(N)}if(E.externalsPresets.nwjs){const E=R(61050);new E("node-commonjs","nw.gui").apply(N)}if(E.externalsPresets.webAsync){const E=R(61050);new E("import",/^(https?:\/\/|std:)/).apply(N)}else if(E.externalsPresets.web){const E=R(61050);new E("module",/^(https?:\/\/|std:)/).apply(N)}(new ie).apply(N);if(typeof E.output.chunkFormat==="string"){switch(E.output.chunkFormat){case"array-push":{const E=R(41113);(new E).apply(N);break}case"commonjs":{const E=R(77314);(new E).apply(N);break}case"module":{const E=R(57378);(new E).apply(N);break}default:throw new Error("Unsupported chunk format '"+E.output.chunkFormat+"'.")}}if(E.output.enabledChunkLoadingTypes.length>0){for(const j of E.output.enabledChunkLoadingTypes){const E=R(50369);new E(j).apply(N)}}if(E.output.enabledWasmLoadingTypes.length>0){for(const j of E.output.enabledWasmLoadingTypes){const E=R(69085);new E(j).apply(N)}}if(E.output.enabledLibraryTypes.length>0){for(const j of E.output.enabledLibraryTypes){const E=R(13984);new E(j).apply(N)}}if(E.output.pathinfo){const j=R(21542);new j(E.output.pathinfo!==true).apply(N)}if(E.output.clean){const j=R(61666);new j(E.output.clean===true?{}:E.output.clean).apply(N)}if(E.devtool){if(E.devtool.includes("source-map")){const j=E.devtool.includes("hidden");const $=E.devtool.includes("inline");const q=E.devtool.includes("eval");const G=E.devtool.includes("cheap");const ie=E.devtool.includes("module");const ae=E.devtool.includes("nosources");const ce=q?R(23641):R(2e4);new ce({filename:$?null:E.output.sourceMapFilename,moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,fallbackModuleFilenameTemplate:E.output.devtoolFallbackModuleFilenameTemplate,append:j?false:undefined,module:ie?true:G?false:true,columns:G?false:true,noSources:ae,namespace:E.output.devtoolNamespace}).apply(N)}else if(E.devtool.includes("eval")){const j=R(91331);new j({moduleFilenameTemplate:E.output.devtoolModuleFilenameTemplate,namespace:E.output.devtoolNamespace}).apply(N)}}(new q).apply(N);(new G).apply(N);(new $).apply(N);if(!E.experiments.outputModule){if(E.output.module){throw new Error("'output.module: true' is only allowed when 'experiments.outputModule' is enabled")}if(E.output.enabledLibraryTypes.includes("module")){throw new Error("library type \"module\" is only allowed when 'experiments.outputModule' is enabled")}if(E.externalsType==="module"){throw new Error("'externalsType: \"module\"' is only allowed when 'experiments.outputModule' is enabled")}}if(E.experiments.syncWebAssembly){const j=R(84387);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.asyncWebAssembly){const j=R(82422);new j({mangleImports:E.optimization.mangleWasmImports}).apply(N)}if(E.experiments.lazyCompilation){const j=R(10639);const $=typeof E.experiments.lazyCompilation==="object"?E.experiments.lazyCompilation:null;new j({backend:typeof $.backend==="function"?$.backend:R(64244)({...$.backend,client:$.backend&&$.backend.client||E.externalsPresets.node?R.ab+"lazy-compilation-node.js":R.ab+"lazy-compilation-web.js"}),entries:!$||$.entries!==false,imports:!$||$.imports!==false,test:$&&$.test||undefined}).apply(N)}if(E.experiments.buildHttp){const j=R(7201);const $=E.experiments.buildHttp;new j($).apply(N)}(new ae).apply(N);N.hooks.entryOption.call(E.context,E.entry);(new le).apply(N);(new Ze).apply(N);(new Be).apply(N);(new je).apply(N);(new Ee).apply(N);new We({topLevelAwait:E.experiments.topLevelAwait}).apply(N);if(E.amd!==false){const j=R(19765);const $=R(10830);new j(E.amd||{}).apply(N);(new $).apply(N)}(new ze).apply(N);new qe({}).apply(N);if(E.node!==false){const j=R(32125);new j(E.node).apply(N)}(new _e).apply(N);(new we).apply(N);(new Ie).apply(N);(new Te).apply(N);(new Me).apply(N);(new Ke).apply(N);(new Ge).apply(N);(new He).apply(N);(new Ve).apply(N);(new Qe).apply(N);(new Je).apply(N);(new Xe).apply(N);new Ye(E.output.workerChunkLoading,E.output.workerWasmLoading,E.output.module).apply(N);(new tt).apply(N);(new rt).apply(N);(new nt).apply(N);(new et).apply(N);if(typeof E.mode!=="string"){const E=R(67586);(new E).apply(N)}const j=R(38173);(new j).apply(N);if(E.optimization.removeAvailableModules){const E=R(78016);(new E).apply(N)}if(E.optimization.removeEmptyChunks){const E=R(62665);(new E).apply(N)}if(E.optimization.mergeDuplicateChunks){const E=R(70026);(new E).apply(N)}if(E.optimization.flagIncludedChunks){const E=R(76627);(new E).apply(N)}if(E.optimization.sideEffects){const j=R(63410);new j(E.optimization.sideEffects===true).apply(N)}if(E.optimization.providedExports){const E=R(95629);(new E).apply(N)}if(E.optimization.usedExports){const j=R(1596);new j(E.optimization.usedExports==="global").apply(N)}if(E.optimization.innerGraph){const E=R(10032);(new E).apply(N)}if(E.optimization.mangleExports){const j=R(41694);new j(E.optimization.mangleExports!=="size").apply(N)}if(E.optimization.concatenateModules){const E=R(35442);(new E).apply(N)}if(E.optimization.splitChunks){const j=R(40051);new j(E.optimization.splitChunks).apply(N)}if(E.optimization.runtimeChunk){const j=R(4674);new j(E.optimization.runtimeChunk).apply(N)}if(!E.optimization.emitOnErrors){const E=R(66962);(new E).apply(N)}if(E.optimization.realContentHash){const j=R(30699);new j({hashFunction:E.output.hashFunction,hashDigest:E.output.hashDigest}).apply(N)}if(E.optimization.checkWasmTypes){const E=R(8576);(new E).apply(N)}const ot=E.optimization.moduleIds;if(ot){switch(ot){case"natural":{const E=R(97781);(new E).apply(N);break}case"named":{const E=R(9297);(new E).apply(N);break}case"hashed":{const j=R(3571);const $=R(35853);new j("optimization.moduleIds","hashed","deterministic").apply(N);new $({hashFunction:E.output.hashFunction}).apply(N);break}case"deterministic":{const E=R(35579);(new E).apply(N);break}case"size":{const E=R(76059);new E({prioritiseInitial:true}).apply(N);break}default:throw new Error(`webpack bug: moduleIds: ${ot} is not implemented`)}}const st=E.optimization.chunkIds;if(st){switch(st){case"natural":{const E=R(18298);(new E).apply(N);break}case"named":{const E=R(64779);(new E).apply(N);break}case"deterministic":{const E=R(90444);(new E).apply(N);break}case"size":{const E=R(86169);new E({prioritiseInitial:true}).apply(N);break}case"total-size":{const E=R(86169);new E({prioritiseInitial:false}).apply(N);break}default:throw new Error(`webpack bug: chunkIds: ${st} is not implemented`)}}if(E.optimization.nodeEnv){const j=R(24820);new j({"process.env.NODE_ENV":JSON.stringify(E.optimization.nodeEnv)}).apply(N)}if(E.optimization.minimize){for(const R of E.optimization.minimizer){if(typeof R==="function"){R.call(N,N)}else if(R!=="..."){R.apply(N)}}}if(E.performance){const j=R(20625);new j(E.performance).apply(N)}(new Ne).apply(N);new ce({portableIds:E.optimization.portableRecords}).apply(N);(new Le).apply(N);const ct=R(46584);new ct(E.snapshot.managedPaths,E.snapshot.immutablePaths).apply(N);if(E.cache&&typeof E.cache==="object"){const j=E.cache;switch(j.type){case"memory":{if(isFinite(j.maxGenerations)){const E=R(71162);new E({maxGenerations:j.maxGenerations}).apply(N)}else{const E=R(47786);(new E).apply(N)}if(j.cacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.cacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}break}case"filesystem":{const $=R(38016);for(const E in j.buildDependencies){const R=j.buildDependencies[E];new $(R).apply(N)}if(!isFinite(j.maxMemoryGenerations)){const E=R(47786);(new E).apply(N)}else if(j.maxMemoryGenerations!==0){const E=R(71162);new E({maxGenerations:j.maxMemoryGenerations}).apply(N)}if(j.memoryCacheUnaffected){if(!E.experiments.cacheUnaffected){throw new Error("'cache.memoryCacheUnaffected: true' is only allowed when 'experiments.cacheUnaffected' is enabled")}N.moduleMemCaches=new Map}switch(j.store){case"pack":{const $=R(66620);const q=R(83793);new $(new q({compiler:N,fs:N.intermediateFileSystem,context:E.context,cacheLocation:j.cacheLocation,version:j.version,logger:N.getInfrastructureLogger("webpack.cache.PackFileCacheStrategy"),snapshot:E.snapshot,maxAge:j.maxAge,profile:j.profile,allowCollectingMemory:j.allowCollectingMemory,compression:j.compression}),j.idleTimeout,j.idleTimeoutForInitialStore,j.idleTimeoutAfterLargeChanges).apply(N);break}default:throw new Error("Unhandled value for cache.store")}break}default:throw new Error(`Unknown cache type ${j.type}`)}}(new Ue).apply(N);if(E.ignoreWarnings&&E.ignoreWarnings.length>0){const j=R(89056);new j(E.ignoreWarnings).apply(N)}N.hooks.afterPlugins.call(N);if(!N.inputFileSystem){throw new Error("No input filesystem provided")}N.resolverFactory.hooks.resolveOptions.for("normal").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;return R}));N.resolverFactory.hooks.resolveOptions.for("context").tap("WebpackOptionsApply",(R=>{R=it(E.resolve,R);R.fileSystem=N.inputFileSystem;R.resolveToContext=true;return R}));N.resolverFactory.hooks.resolveOptions.for("loader").tap("WebpackOptionsApply",(R=>{R=it(E.resolveLoader,R);R.fileSystem=N.inputFileSystem;return R}));N.hooks.afterResolvers.call(N);return E}}E.exports=WebpackOptionsApply},94820:(E,N,R)=>{"use strict";const{applyWebpackOptionsDefaults:j}=R(54411);const{getNormalizedWebpackOptions:$}=R(96590);class WebpackOptionsDefaulter{process(E){E=$(E);j(E);return E}}E.exports=WebpackOptionsDefaulter},20882:(E,N,R)=>{"use strict";const j=R(50007);const $=R(71017);const{RawSource:q}=R(48135);const G=R(36253);const ie=R(76150);const ae=R(35891);const{makePathsRelative:ce}=R(49197);const mergeMaybeArrays=(E,N)=>{const R=new Set;if(Array.isArray(E))for(const N of E)R.add(N);else R.add(E);if(Array.isArray(N))for(const E of N)R.add(E);else R.add(N);return Array.from(R)};const mergeAssetInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;switch(j){case"fullhash":case"chunkhash":case"modulehash":case"contenthash":R[j]=mergeMaybeArrays(E[j],N[j]);break;case"immutable":case"development":case"hotModuleReplacement":case"javascriptModule\t":R[j]=E[j]||N[j];break;case"related":R[j]=mergeRelatedInfo(E[j],N[j]);break;default:throw new Error(`Can't handle conflicting asset info for ${j}`)}}}return R};const mergeRelatedInfo=(E,N)=>{const R={...E,...N};for(const j of Object.keys(E)){if(j in N){if(E[j]===N[j])continue;R[j]=mergeMaybeArrays(E[j],N[j])}}return R};const le=new Set(["javascript"]);const _e=new Set(["javascript","asset"]);class AssetGenerator extends G{constructor(E,N,R,j){super();this.dataUrlOptions=E;this.filename=N;this.publicPath=R;this.emit=j}generate(E,{runtime:N,chunkGraph:R,runtimeTemplate:G,runtimeRequirements:le,type:_e,getData:Ee}){switch(_e){case"asset":return E.originalSource();default:{le.add(ie.module);const _e=E.originalSource();if(E.buildInfo.dataUrl){let N;if(typeof this.dataUrlOptions==="function"){N=this.dataUrlOptions.call(null,_e.source(),{filename:E.matchResource||E.resource,module:E})}else{let R=this.dataUrlOptions.encoding;if(R===undefined){if(E.resourceResolveData&&E.resourceResolveData.encoding!==undefined){R=E.resourceResolveData.encoding}}if(R===undefined){R="base64"}let q;let G=this.dataUrlOptions.mimetype;if(G===undefined){q=$.extname(E.nameForCondition());if(E.resourceResolveData&&E.resourceResolveData.mimetype!==undefined){G=E.resourceResolveData.mimetype+E.resourceResolveData.parameters}else if(q){G=j.lookup(q)}}if(typeof G!=="string"){throw new Error("DataUrl can't be generated automatically, "+`because there is no mimetype for "${q}" in mimetype database. `+'Either pass a mimetype via "generator.mimetype" or '+'use type: "asset/resource" to create a resource file instead of a DataUrl')}let ie;if(E.resourceResolveData&&E.resourceResolveData.encoding===R){ie=E.resourceResolveData.encodedContent}else{switch(R){case"base64":{ie=_e.buffer().toString("base64");break}case false:{const E=_e.source();if(typeof E!=="string"){ie=E.toString("utf-8")}ie=encodeURIComponent(ie).replace(/[!'()*]/g,(E=>"%"+E.codePointAt(0).toString(16)));break}default:throw new Error(`Unsupported encoding '${R}'`)}}N=`data:${G}${R?`;${R}`:""},${ie}`}return new q(`${ie.module}.exports = ${JSON.stringify(N)};`)}else{const j=this.filename||G.outputOptions.assetModuleFilename;const $=ae(G.outputOptions.hashFunction);if(G.outputOptions.hashSalt){$.update(G.outputOptions.hashSalt)}$.update(_e.buffer());const Te=$.digest(G.outputOptions.hashDigest);const we=Te.slice(0,G.outputOptions.hashDigestLength);E.buildInfo.fullContentHash=Te;const Ie=ce(G.compilation.compiler.context,E.matchResource||E.resource,G.compilation.compiler.root).replace(/^\.\//,"");let{path:Ne,info:Me}=G.compilation.getAssetPathWithInfo(j,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});let Le;if(this.publicPath!==undefined){const{path:j,info:$}=G.compilation.getAssetPathWithInfo(this.publicPath,{module:E,runtime:N,filename:Ie,chunkGraph:R,contentHash:we});Le=JSON.stringify(j);Me=mergeAssetInfo(Me,$)}else{Le=ie.publicPath;le.add(ie.publicPath)}Me={sourceFilename:Ie,...Me};E.buildInfo.filename=Ne;E.buildInfo.assetInfo=Me;if(Ee){const E=Ee();E.set("fullContentHash",Te);E.set("filename",Ne);E.set("assetInfo",Me)}return new q(`${ie.module}.exports = ${Le} + ${JSON.stringify(Ne)};`)}}}}getTypes(E){if(E.buildInfo&&E.buildInfo.dataUrl||this.emit===false){return le}else{return _e}}getSize(E,N){switch(N){case"asset":{const N=E.originalSource();if(!N){return 0}return N.size()}default:if(E.buildInfo&&E.buildInfo.dataUrl){const N=E.originalSource();if(!N){return 0}return N.size()*1.34+36}else{return 42}}}updateHash(E,{module:N}){E.update(N.buildInfo.dataUrl?"data-url":"resource")}}E.exports=AssetGenerator},75076:(E,N,R)=>{"use strict";const{cleverMerge:j}=R(90149);const{compareModulesByIdentifier:$}=R(68673);const q=R(35817);const G=R(91671);const getSchema=E=>{const{definitions:N}=R(46312);return{definitions:N,oneOf:[{$ref:`#/definitions/${E}`}]}};const ie={name:"Asset Modules Plugin",baseDataPath:"generator"};const ae={asset:q(R(68707),(()=>getSchema("AssetGeneratorOptions")),ie),"asset/resource":q(R(87441),(()=>getSchema("AssetResourceGeneratorOptions")),ie),"asset/inline":q(R(3720),(()=>getSchema("AssetInlineGeneratorOptions")),ie)};const ce=q(R(33605),(()=>getSchema("AssetParserOptions")),{name:"Asset Modules Plugin",baseDataPath:"parser"});const le=G((()=>R(20882)));const _e=G((()=>R(74795)));const Ee=G((()=>R(20139)));const Te=G((()=>R(54685)));const we="asset";const Ie="AssetModulesPlugin";class AssetModulesPlugin{apply(E){E.hooks.compilation.tap(Ie,((N,{normalModuleFactory:R})=>{R.hooks.createParser.for("asset").tap(Ie,(N=>{ce(N);N=j(E.options.module.parser.asset,N);let R=N.dataUrlCondition;if(!R||typeof R==="object"){R={maxSize:8096,...R}}const $=_e();return new $(R)}));R.hooks.createParser.for("asset/inline").tap(Ie,(E=>{const N=_e();return new N(true)}));R.hooks.createParser.for("asset/resource").tap(Ie,(E=>{const N=_e();return new N(false)}));R.hooks.createParser.for("asset/source").tap(Ie,(E=>{const N=Ee();return new N}));for(const E of["asset","asset/inline","asset/resource"]){R.hooks.createGenerator.for(E).tap(Ie,(N=>{ae[E](N);let R=undefined;if(E!=="asset/resource"){R=N.dataUrl;if(!R||typeof R==="object"){R={encoding:undefined,mimetype:undefined,...R}}}let j=undefined;let $=undefined;if(E!=="asset/inline"){j=N.filename;$=N.publicPath}const q=le();return new q(R,j,$,N.emit!==false)}))}R.hooks.createGenerator.for("asset/source").tap(Ie,(()=>{const E=Te();return new E}));N.hooks.renderManifest.tap(Ie,((E,R)=>{const{chunkGraph:j}=N;const{chunk:q,codeGenerationResults:G}=R;const ie=j.getOrderedChunkModulesIterableBySourceType(q,"asset",$);if(ie){for(const N of ie){try{const R=G.get(N,q.runtime);E.push({render:()=>R.sources.get(we),filename:N.buildInfo.filename||R.data.get("filename"),info:N.buildInfo.assetInfo||R.data.get("assetInfo"),auxiliary:true,identifier:`assetModule${j.getModuleId(N)}`,hash:N.buildInfo.fullContentHash||R.data.get("fullContentHash")})}catch(E){E.message+=`\nduring rendering of asset ${N.identifier()}`;throw E}}}return E}));N.hooks.prepareModuleExecution.tap("AssetModulesPlugin",((E,N)=>{const{codeGenerationResult:R}=E;const j=R.sources.get("asset");if(j===undefined)return;N.assets.set(R.data.get("filename"),{source:j,info:R.data.get("assetInfo")})}))}))}}E.exports=AssetModulesPlugin},74795:(E,N,R)=>{"use strict";const j=R(2172);class AssetParser extends j{constructor(E){super();this.dataUrlCondition=E}parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetParser doesn't accept preparsed AST")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";if(typeof this.dataUrlCondition==="function"){N.module.buildInfo.dataUrl=this.dataUrlCondition(E,{filename:N.module.matchResource||N.module.resource,module:N.module})}else if(typeof this.dataUrlCondition==="boolean"){N.module.buildInfo.dataUrl=this.dataUrlCondition}else if(this.dataUrlCondition&&typeof this.dataUrlCondition==="object"){N.module.buildInfo.dataUrl=Buffer.byteLength(E)<=this.dataUrlCondition.maxSize}else{throw new Error("Unexpected dataUrlCondition type")}return N}}E.exports=AssetParser},54685:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(76150);const G=new Set(["javascript"]);class AssetSourceGenerator extends ${generate(E,{chunkGraph:N,runtimeTemplate:R,runtimeRequirements:$}){$.add(q.module);const G=E.originalSource();if(!G){return new j("")}const ie=G.source();let ae;if(typeof ie==="string"){ae=ie}else{ae=ie.toString("utf-8")}return new j(`${q.module}.exports = ${JSON.stringify(ae)};`)}getTypes(E){return G}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()+12}}E.exports=AssetSourceGenerator},20139:(E,N,R)=>{"use strict";const j=R(2172);class AssetSourceParser extends j{parse(E,N){if(typeof E==="object"&&!Buffer.isBuffer(E)){throw new Error("AssetSourceParser doesn't accept preparsed AST")}const{module:R}=N;R.buildInfo.strict=true;R.buildMeta.exportsType="default";return N}}E.exports=AssetSourceParser},10813:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const q=R(58159);class AwaitDependenciesInitFragment extends j{constructor(E){super(undefined,j.STAGE_ASYNC_DEPENDENCIES,0,"await-dependencies");this.promises=E}merge(E){const N=new Set(this.promises);for(const R of E.promises){N.add(R)}return new AwaitDependenciesInitFragment(N)}getContent({runtimeRequirements:E}){E.add($.module);const N=this.promises;if(N.size===0){return""}if(N.size===1){for(const E of N){return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${E}]);`,`${E} = (__webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__)[0];`,""])}}const R=Array.from(N).join(", ");return q.asString([`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${R}]);`,`([${R}] = __webpack_async_dependencies__.then ? await __webpack_async_dependencies__ : __webpack_async_dependencies__);`,""])}}E.exports=AwaitDependenciesInitFragment},68778:(E,N,R)=>{"use strict";const j=R(37359);class InferAsyncModulesPlugin{apply(E){E.hooks.compilation.tap("InferAsyncModulesPlugin",(E=>{const{moduleGraph:N}=E;E.hooks.finishModules.tap("InferAsyncModulesPlugin",(E=>{const R=new Set;for(const N of E){if(N.buildMeta&&N.buildMeta.async){R.add(N)}}for(const E of R){N.setAsync(E);for(const[$,q]of N.getIncomingConnectionsByOriginModule(E)){if(q.some((E=>E.dependency instanceof j&&E.isTargetActive(undefined)))){R.add($)}}}}))}))}}E.exports=InferAsyncModulesPlugin},25457:(E,N,R)=>{"use strict";const j=R(21357);const{connectChunkGroupParentAndChild:$}=R(4642);const q=R(79900);const{getEntryRuntime:G,mergeRuntime:ie}=R(37416);const ae=new Set;ae.plus=ae;const bySetSize=(E,N)=>N.size+N.plus.size-E.size-E.plus.size;const extractBlockModules=(E,N,R,j)=>{let $;let G;const ie=[];const ae=[E];while(ae.length>0){const E=ae.pop();const N=[];ie.push(N);j.set(E,N);for(const N of E.blocks){ae.push(N)}}for(const q of N.getOutgoingConnections(E)){const E=q.dependency;if(!E)continue;const ie=q.module;if(!ie)continue;if(q.weak)continue;const ae=q.getActiveState(R);if(ae===false)continue;const ce=N.getParentBlock(E);let le=N.getParentBlockIndex(E);if(le<0){le=ce.dependencies.indexOf(E)}if($!==ce){G=j.get($=ce)}const _e=le<<2;G[_e]=ie;G[_e+1]=ae}for(const E of ie){if(E.length===0)continue;let N;let R=0;e:for(let j=0;j30){N=new Map;for(let j=0;j{const{moduleGraph:_e,chunkGraph:Ee,moduleMemCaches:Te}=N;const we=new Map;let Ie=false;let Ne;const getBlockModules=(N,R)=>{if(Ie!==R){Ne=we.get(R);if(Ne===undefined){Ne=new Map;we.set(R,Ne)}}let j=Ne.get(N);if(j!==undefined)return j;const $=N.getRootBlock();const q=Te&&Te.get($);if(q!==undefined){const j=q.provide("bundleChunkGraph.blockModules",R,(()=>{E.time("visitModules: prepare");const N=new Map;extractBlockModules($,_e,R,N);E.timeAggregate("visitModules: prepare");return N}));for(const[E,N]of j)Ne.set(E,N);return j.get(N)}else{E.time("visitModules: prepare");extractBlockModules($,_e,R,Ne);j=Ne.get(N);E.timeAggregate("visitModules: prepare");return j}};let Me=0;let Le=0;let Be=0;let je=0;let Ue=0;let ze=0;let We=0;let Je=0;let Ve=0;let qe=0;let He=0;let Ge=0;let Ke=0;let Qe=0;let Xe=0;let Ye=0;const Ze=new Map;const et=new Map;const tt=new Map;const rt=0;const nt=1;const it=2;const ot=3;const st=4;const ct=5;let ut=[];const dt=new Map;const pt=new Set;for(const[E,j]of R){const R=G(N,E.name,E.options);const q={chunkGroup:E,runtime:R,minAvailableModules:undefined,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};E.index=Qe++;if(E.getNumberOfParents()>0){const E=new Set;for(const N of j){E.add(N)}q.skippedItems=E;pt.add(q)}else{q.minAvailableModules=ae;const N=E.getEntrypointChunk();for(const R of j){ut.push({action:nt,block:R,module:R,chunk:N,chunkGroup:E,chunkGroupInfo:q})}}$.set(E,q);if(E.name){et.set(E.name,q)}}for(const E of pt){const{chunkGroup:N}=E;E.availableSources=new Set;for(const R of N.parentsIterable){const N=$.get(R);E.availableSources.add(N);if(N.availableChildren===undefined){N.availableChildren=new Set}N.availableChildren.add(E)}}ut.reverse();const ft=new Set;const mt=new Set;let ht=[];const _t=[];const yt=[];const vt=[];let bt;let xt;let St;let Et;let Tt;const iteratorBlock=E=>{let R=Ze.get(E);let G;let ie;const ce=E.groupOptions&&E.groupOptions.entryOptions;if(R===undefined){const _e=E.groupOptions&&E.groupOptions.name||E.chunkName;if(ce){R=tt.get(_e);if(!R){ie=N.addAsyncEntrypoint(ce,bt,E.loc,E.request);ie.index=Qe++;R={chunkGroup:ie,runtime:ie.options.runtime||ie.name,minAvailableModules:ae,minAvailableModulesOwned:false,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};$.set(ie,R);Ee.connectBlockAndChunkGroup(E,ie);if(_e){tt.set(_e,R)}}else{ie=R.chunkGroup;ie.addOrigin(bt,E.loc,E.request);Ee.connectBlockAndChunkGroup(E,ie)}ht.push({action:st,block:E,module:bt,chunk:ie.chunks[0],chunkGroup:ie,chunkGroupInfo:R})}else{R=et.get(_e);if(!R){G=N.addChunkInGroup(E.groupOptions||E.chunkName,bt,E.loc,E.request);G.index=Qe++;R={chunkGroup:G,runtime:Tt.runtime,minAvailableModules:undefined,minAvailableModulesOwned:undefined,availableModulesToBeMerged:[],skippedItems:undefined,resultingAvailableModules:undefined,children:undefined,availableSources:undefined,availableChildren:undefined,preOrderIndex:0,postOrderIndex:0};le.add(G);$.set(G,R);if(_e){et.set(_e,R)}}else{G=R.chunkGroup;if(G.isInitial()){N.errors.push(new j(_e,bt,E.loc));G=St}G.addOptions(E.groupOptions);G.addOrigin(bt,E.loc,E.request)}q.set(E,[])}Ze.set(E,R)}else if(ce){ie=R.chunkGroup}else{G=R.chunkGroup}if(G!==undefined){q.get(E).push({originChunkGroupInfo:Tt,chunkGroup:G});let N=dt.get(Tt);if(N===undefined){N=new Set;dt.set(Tt,N)}N.add(R);ht.push({action:ot,block:E,module:bt,chunk:G.chunks[0],chunkGroup:G,chunkGroupInfo:R})}else{Tt.chunkGroup.addAsyncEntrypoint(ie)}};const processBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){const{minAvailableModules:E}=Tt;for(let R=0;R0){let{skippedModuleConnections:E}=Tt;if(E===undefined){Tt.skippedModuleConnections=E=new Set}for(let N=_t.length-1;N>=0;N--){E.add(_t[N])}_t.length=0}if(yt.length>0){let{skippedItems:E}=Tt;if(E===undefined){Tt.skippedItems=E=new Set}for(let N=yt.length-1;N>=0;N--){E.add(yt[N])}yt.length=0}if(vt.length>0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processEntryBlock=E=>{Le++;const N=getBlockModules(E,Tt.runtime);if(N!==undefined){for(let E=0;E0){for(let E=vt.length-1;E>=0;E--){ut.push(vt[E])}vt.length=0}}for(const N of E.blocks){iteratorBlock(N)}if(E.blocks.length>0&&bt!==E){ce.add(E)}};const processQueue=()=>{while(ut.length){Me++;const E=ut.pop();bt=E.module;Et=E.block;xt=E.chunk;St=E.chunkGroup;Tt=E.chunkGroupInfo;switch(E.action){case rt:Ee.connectChunkAndEntryModule(xt,bt,St);case nt:{if(Ee.isModuleInChunk(bt,xt)){break}Ee.connectChunkAndModule(xt,bt)}case it:{const N=St.getModulePreOrderIndex(bt);if(N===undefined){St.setModulePreOrderIndex(bt,Tt.preOrderIndex++)}if(_e.setPreOrderIndexIfUnset(bt,Xe)){Xe++}E.action=ct;ut.push(E)}case ot:{processBlock(Et);break}case st:{processEntryBlock(Et);break}case ct:{const E=St.getModulePostOrderIndex(bt);if(E===undefined){St.setModulePostOrderIndex(bt,Tt.postOrderIndex++)}if(_e.setPostOrderIndexIfUnset(bt,Ye)){Ye++}break}}}};const calculateResultingAvailableModules=E=>{if(E.resultingAvailableModules)return E.resultingAvailableModules;const N=E.minAvailableModules;let R;if(N.size>N.plus.size){R=new Set;for(const E of N.plus)N.add(E);N.plus=ae;R.plus=N;E.minAvailableModulesOwned=false}else{R=new Set(N);R.plus=N.plus}for(const N of E.chunkGroup.chunks){for(const E of Ee.getChunkModulesIterable(N)){R.add(E)}}return E.resultingAvailableModules=R};const processConnectQueue=()=>{for(const[E,N]of dt){if(E.children===undefined){E.children=N}else{for(const R of N){E.children.add(R)}}const R=calculateResultingAvailableModules(E);const j=E.runtime;for(const E of N){E.availableModulesToBeMerged.push(R);mt.add(E);const N=E.runtime;const $=ie(N,j);if(N!==$){E.runtime=$;ft.add(E)}}Be+=N.size}dt.clear()};const processChunkGroupsForMerging=()=>{je+=mt.size;for(const E of mt){const N=E.availableModulesToBeMerged;let R=E.minAvailableModules;Ue+=N.length;if(N.length>1){N.sort(bySetSize)}let j=false;e:for(const $ of N){if(R===undefined){R=$;E.minAvailableModules=R;E.minAvailableModulesOwned=false;j=true}else{if(E.minAvailableModulesOwned){if(R.plus===$.plus){for(const E of R){if(!$.has(E)){R.delete(E);j=true}}}else{for(const E of R){if(!$.has(E)&&!$.plus.has(E)){R.delete(E);j=true}}for(const E of R.plus){if(!$.has(E)&&!$.plus.has(E)){const N=R.plus[Symbol.iterator]();let q;while(!(q=N.next()).done){const N=q.value;if(N===E)break;R.add(N)}while(!(q=N.next()).done){const N=q.value;if($.has(N)||$.plus.has(E)){R.add(N)}}R.plus=ae;j=true;continue e}}}}else if(R.plus===$.plus){if($.size{for(const E of pt){for(const N of E.availableSources){if(!N.minAvailableModules){pt.delete(E);break}}}for(const E of pt){const N=new Set;N.plus=ae;const mergeSet=E=>{if(E.size>N.plus.size){for(const E of N.plus)N.add(E);N.plus=E}else{for(const R of E)N.add(R)}};for(const N of E.availableSources){const E=calculateResultingAvailableModules(N);mergeSet(E);mergeSet(E.plus)}E.minAvailableModules=N;E.minAvailableModulesOwned=false;E.resultingAvailableModules=undefined;ft.add(E)}pt.clear()};const processOutdatedChunkGroupInfo=()=>{Ge+=ft.size;for(const E of ft){if(E.skippedItems!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedItems){if(!N.has(R)&&!N.plus.has(R)){ut.push({action:nt,block:R,module:R,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E});E.skippedItems.delete(R)}}}if(E.skippedModuleConnections!==undefined){const{minAvailableModules:N}=E;for(const R of E.skippedModuleConnections){const[j,$]=R;if($===false)continue;if($===true){E.skippedModuleConnections.delete(R)}if($===true&&(N.has(j)||N.plus.has(j))){E.skippedItems.add(j);continue}ut.push({action:$===true?nt:ot,block:j,module:j,chunk:E.chunkGroup.chunks[0],chunkGroup:E.chunkGroup,chunkGroupInfo:E})}}if(E.children!==undefined){Ke+=E.children.size;for(const N of E.children){let R=dt.get(E);if(R===undefined){R=new Set;dt.set(E,R)}R.add(N)}}if(E.availableChildren!==undefined){for(const N of E.availableChildren){pt.add(N)}}}ft.clear()};while(ut.length||dt.size){E.time("visitModules: visiting");processQueue();E.timeAggregateEnd("visitModules: prepare");E.timeEnd("visitModules: visiting");if(pt.size>0){E.time("visitModules: combine available modules");processChunkGroupsForCombining();E.timeEnd("visitModules: combine available modules")}if(dt.size>0){E.time("visitModules: calculating available modules");processConnectQueue();E.timeEnd("visitModules: calculating available modules");if(mt.size>0){E.time("visitModules: merging available modules");processChunkGroupsForMerging();E.timeEnd("visitModules: merging available modules")}}if(ft.size>0){E.time("visitModules: check modules for revisit");processOutdatedChunkGroupInfo();E.timeEnd("visitModules: check modules for revisit")}if(ut.length===0){const E=ut;ut=ht.reverse();ht=E}}E.log(`${Me} queue items processed (${Le} blocks)`);E.log(`${Be} chunk groups connected`);E.log(`${je} chunk groups processed for merging (${Ue} module sets, ${ze} forked, ${We} + ${Je} modules forked, ${Ve} + ${qe} modules merged into fork, ${He} resulting modules)`);E.log(`${Ge} chunk group info updated (${Ke} already connected chunk groups reconnected)`)};const connectChunkGroups=(E,N,R,j)=>{const{chunkGraph:q}=E;const areModulesAvailable=(E,N)=>{for(const R of E.chunks){for(const E of q.getChunkModulesIterable(R)){if(!N.has(E)&&!N.plus.has(E))return false}}return true};for(const[E,j]of R){if(!N.has(E)&&j.every((({chunkGroup:E,originChunkGroupInfo:N})=>areModulesAvailable(E,N.resultingAvailableModules)))){continue}for(let N=0;N{const{chunkGraph:R}=E;for(const j of N){if(j.getNumberOfParents()===0){for(const N of j.chunks){E.chunks.delete(N);R.disconnectChunk(N)}R.disconnectChunkGroup(j);j.remove()}}};const buildChunkGraph=(E,N)=>{const R=E.getLogger("webpack.buildChunkGraph");const j=new Map;const $=new Set;const q=new Map;const G=new Set;R.time("visitModules");visitModules(R,E,N,q,j,G,$);R.timeEnd("visitModules");R.time("connectChunkGroups");connectChunkGroups(E,G,j,q);R.timeEnd("connectChunkGroups");for(const[E,N]of q){for(const R of E.chunks)R.runtime=ie(R.runtime,N.runtime)}R.time("cleanup");cleanupUnconnectedGroups(E,$);R.timeEnd("cleanup")};E.exports=buildChunkGraph},38016:E=>{"use strict";class AddBuildDependenciesPlugin{constructor(E){this.buildDependencies=new Set(E)}apply(E){E.hooks.compilation.tap("AddBuildDependenciesPlugin",(E=>{E.buildDependencies.addAll(this.buildDependencies)}))}}E.exports=AddBuildDependenciesPlugin},46584:E=>{"use strict";class AddManagedPathsPlugin{constructor(E,N){this.managedPaths=new Set(E);this.immutablePaths=new Set(N)}apply(E){for(const N of this.managedPaths){E.managedPaths.add(N)}for(const N of this.immutablePaths){E.immutablePaths.add(N)}}}E.exports=AddManagedPathsPlugin},66620:(E,N,R)=>{"use strict";const j=R(54725);const $=R(52923);const q=Symbol();class IdleFileCachePlugin{constructor(E,N,R,j){this.strategy=E;this.idleTimeout=N;this.idleTimeoutForInitialStore=R;this.idleTimeoutAfterLargeChanges=j}apply(E){let N=this.strategy;const R=this.idleTimeout;const G=Math.min(R,this.idleTimeoutForInitialStore);const ie=this.idleTimeoutAfterLargeChanges;const ae=Promise.resolve();let ce=0;let le=0;let _e=0;const Ee=new Map;E.cache.hooks.store.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{Ee.set(E,(()=>N.store(E,R,j)))}));E.cache.hooks.get.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},((E,R,j)=>{const restore=()=>N.restore(E,R).then(($=>{if($===undefined){j.push(((j,$)=>{if(j!==undefined){Ee.set(E,(()=>N.store(E,R,j)))}$()}))}else{return $}}));const $=Ee.get(E);if($!==undefined){Ee.delete(E);return $().then(restore)}return restore()}));E.cache.hooks.storeBuildDependencies.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(E=>{Ee.set(q,(()=>N.storeBuildDependencies(E)))}));E.cache.hooks.shutdown.tapPromise({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false;const R=$.getReporter(E);const j=Array.from(Ee.values());if(R)R(0,"process pending cache items");const q=j.map((E=>E()));Ee.clear();q.push(Te);const G=Promise.all(q);Te=G.then((()=>N.afterAllStored()));if(R){Te=Te.then((()=>{R(1,`stored`)}))}return Te.then((()=>{if(N.clear)N.clear()}))}));let Te=ae;let we=false;let Ie=true;const processIdleTasks=()=>{if(we){const R=Date.now();if(Ee.size>0){const E=[Te];const N=R+100;let j=100;for(const[R,$]of Ee){Ee.delete(R);E.push($());if(j--<=0||Date.now()>N)break}Te=Promise.all(E);Te.then((()=>{le+=Date.now()-R;Ne=setTimeout(processIdleTasks,0);Ne.unref()}));return}Te=Te.then((async()=>{await N.afterAllStored();le+=Date.now()-R;_e=Math.max(_e,le)*.9+le*.1;le=0;ce=0})).catch((N=>{const R=E.getInfrastructureLogger("IdleFileCachePlugin");R.warn(`Background tasks during idle failed: ${N.message}`);R.debug(N.stack)}));Ie=false}};let Ne=undefined;E.cache.hooks.beginIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{const N=ce>_e*2;if(Ie&&G{Ne=undefined;we=true;ae.then(processIdleTasks)}),Math.min(Ie?G:Infinity,N?ie:Infinity,R));Ne.unref()}));E.cache.hooks.endIdle.tap({name:"IdleFileCachePlugin",stage:j.STAGE_DISK},(()=>{if(Ne){clearTimeout(Ne);Ne=undefined}we=false}));E.hooks.done.tap("IdleFileCachePlugin",(E=>{ce*=.9;ce+=E.endTime-E.startTime}))}}E.exports=IdleFileCachePlugin},47786:(E,N,R)=>{"use strict";const j=R(54725);class MemoryCachePlugin{apply(E){const N=new Map;E.cache.hooks.store.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{N.set(E,{etag:R,data:j})}));E.cache.hooks.get.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},((E,R,j)=>{const $=N.get(E);if($===null){return null}else if($!==undefined){return $.etag===R?$.data:null}j.push(((j,$)=>{if(j===undefined){N.set(E,null)}else{N.set(E,{etag:R,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryCachePlugin",stage:j.STAGE_MEMORY},(()=>{N.clear()}))}}E.exports=MemoryCachePlugin},71162:(E,N,R)=>{"use strict";const j=R(54725);class MemoryWithGcCachePlugin{constructor({maxGenerations:E}){this._maxGenerations=E}apply(E){const N=this._maxGenerations;const R=new Map;const $=new Map;let q=0;let G=0;const ie=E.getInfrastructureLogger("MemoryWithGcCachePlugin");E.hooks.afterDone.tap("MemoryWithGcCachePlugin",(()=>{q++;let E=0;let j;for(const[N,G]of $){if(G.until>q)break;$.delete(N);if(R.get(N)===undefined){R.delete(N);E++;j=N}}if(E>0||$.size>0){ie.log(`${R.size-$.size} active entries, ${$.size} recently unused cached entries${E>0?`, ${E} old unused cache entries removed e. g. ${j}`:""}`)}let ae=R.size/N|0;let ce=G>=R.size?0:G;G=ce+ae;for(const[E,j]of R){if(ce!==0){ce--;continue}if(j!==undefined){R.set(E,undefined);$.delete(E);$.set(E,{entry:j,until:q+N});if(ae--===0)break}}}));E.cache.hooks.store.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{R.set(E,{etag:N,data:j})}));E.cache.hooks.get.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},((E,N,j)=>{const q=R.get(E);if(q===null){return null}else if(q!==undefined){return q.etag===N?q.data:null}const G=$.get(E);if(G!==undefined){const j=G.entry;if(j===null){$.delete(E);R.set(E,j);return null}else{if(j.etag!==N)return null;$.delete(E);R.set(E,j);return j.data}}j.push(((j,$)=>{if(j===undefined){R.set(E,null)}else{R.set(E,{etag:N,data:j})}return $()}))}));E.cache.hooks.shutdown.tap({name:"MemoryWithGcCachePlugin",stage:j.STAGE_MEMORY},(()=>{R.clear();$.clear()}))}}E.exports=MemoryWithGcCachePlugin},83793:(E,N,R)=>{"use strict";const j=R(22996);const $=R(52923);const{formatSize:q}=R(9192);const G=R(43065);const ie=R(83379);const ae=R(56202);const ce=R(91671);const{createFileSerializer:le,NOT_SERIALIZABLE:_e}=R(24568);class PackContainer{constructor(E,N,R,j,$,q){this.data=E;this.version=N;this.buildSnapshot=R;this.buildDependencies=j;this.resolveResults=$;this.resolveBuildDependenciesSnapshot=q}serialize({write:E,writeLazy:N}){E(this.version);E(this.buildSnapshot);E(this.buildDependencies);E(this.resolveResults);E(this.resolveBuildDependenciesSnapshot);N(this.data)}deserialize({read:E}){this.version=E();this.buildSnapshot=E();this.buildDependencies=E();this.resolveResults=E();this.resolveBuildDependenciesSnapshot=E();this.data=E()}}ae(PackContainer,"webpack/lib/cache/PackFileCacheStrategy","PackContainer");const Ee=1024*1024;const Te=10;const we=100;const Ie=5e4;const Ne=1*60*1e3;class PackItemInfo{constructor(E,N,R){this.identifier=E;this.etag=N;this.location=-1;this.lastAccess=Date.now();this.freshValue=R}}class Pack{constructor(E,N){this.itemInfo=new Map;this.requests=[];this.requestsTimeout=undefined;this.freshContent=new Map;this.content=[];this.invalid=false;this.logger=E;this.maxAge=N}_addRequest(E){this.requests.push(E);if(this.requestsTimeout===undefined){this.requestsTimeout=setTimeout((()=>{this.requests.push(undefined);this.requestsTimeout=undefined}),Ne);if(this.requestsTimeout.unref)this.requestsTimeout.unref()}}stopCapturingRequests(){if(this.requestsTimeout!==undefined){clearTimeout(this.requestsTimeout);this.requestsTimeout=undefined}}get(E,N){const R=this.itemInfo.get(E);this._addRequest(E);if(R===undefined){return undefined}if(R.etag!==N)return null;R.lastAccess=Date.now();const j=R.location;if(j===-1){return R.freshValue}else{if(!this.content[j]){return undefined}return this.content[j].get(E)}}set(E,N,R){if(!this.invalid){this.invalid=true;this.logger.log(`Pack got invalid because of write to: ${E}`)}const j=this.itemInfo.get(E);if(j===undefined){const j=new PackItemInfo(E,N,R);this.itemInfo.set(E,j);this._addRequest(E);this.freshContent.set(E,j)}else{const $=j.location;if($>=0){this._addRequest(E);this.freshContent.set(E,j);const N=this.content[$];N.delete(E);if(N.items.size===0){this.content[$]=undefined;this.logger.debug("Pack %d got empty and is removed",$)}}j.freshValue=R;j.lastAccess=Date.now();j.etag=N;j.location=-1}}getContentStats(){let E=0;let N=0;for(const R of this.content){if(R!==undefined){E++;const j=R.getSize();if(j>0){N+=j}}}return{count:E,size:N}}_findLocation(){let E;for(E=0;Ethis.maxAge){this.itemInfo.delete(G);E.delete(G);N.delete(G);j++;$=G}else{ie.location=R}}if(j>0){this.logger.log("Garbage Collected %d old items at pack %d (%d items remaining) e. g. %s",j,R,E.size,$)}}_persistFreshContent(){const E=this.freshContent.size;if(E>0){const N=Math.ceil(E/Ie);const R=Math.ceil(E/N);const j=[];let $=0;let q=false;const createNextPack=()=>{const E=this._findLocation();this.content[E]=null;const N={items:new Set,map:new Map,loc:E};j.push(N);return N};let G=createNextPack();if(this.requestsTimeout!==undefined)clearTimeout(this.requestsTimeout);for(const E of this.requests){if(E===undefined){if(q){q=false}else if(G.items.size>=we){$=0;G=createNextPack()}continue}const N=this.freshContent.get(E);if(N===undefined)continue;G.items.add(E);G.map.set(E,N.freshValue);N.location=G.loc;N.freshValue=undefined;this.freshContent.delete(E);if(++$>R){$=0;G=createNextPack();q=true}}this.requests.length=0;for(const E of j){this.content[E.loc]=new PackContent(E.items,new Set(E.items),new PackContentItems(E.map))}this.logger.log(`${E} fresh items in cache put into pack ${j.length>1?j.map((E=>`${E.loc} (${E.items.size} items)`)).join(", "):j[0].loc}`)}}_optimizeSmallContent(){const E=[];let N=0;const R=[];let j=0;for(let $=0;$Ee)continue;if(q.used.size>0){E.push($);N+=G}else{R.push($);j+=G}}let $;if(E.length>=Te||N>Ee){$=E}else if(R.length>=Te||j>Ee){$=R}else return;const q=[];for(const E of $){q.push(this.content[E]);this.content[E]=undefined}const G=new Set;const ie=new Set;const ae=[];for(const E of q){for(const N of E.items){G.add(N)}for(const N of E.used){ie.add(N)}ae.push((async N=>{await E.unpack("it should be merged with other small pack contents");for(const[R,j]of E.content){N.set(R,j)}}))}const le=this._findLocation();this._gcAndUpdateLocation(G,ie,le);if(G.size>0){this.content[le]=new PackContent(G,ie,ce((async()=>{const E=new Map;await Promise.all(ae.map((N=>N(E))));return new PackContentItems(E)})));this.logger.log("Merged %d small files with %d cache items into pack %d",q.length,G.size,le)}}_optimizeUnusedContent(){for(let E=0;E0&&j<$){this.content[E]=undefined;const R=new Set(N.used);const j=this._findLocation();this._gcAndUpdateLocation(R,R,j);if(R.size>0){this.content[j]=new PackContent(R,new Set(R),(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const j of R){E.set(j,N.content.get(j))}return new PackContentItems(E)}))}const $=new Set(N.items);const q=new Set;for(const E of R){$.delete(E)}const G=this._findLocation();this._gcAndUpdateLocation($,q,G);if($.size>0){this.content[G]=new PackContent($,q,(async()=>{await N.unpack("it should be splitted into used and unused items");const E=new Map;for(const R of $){E.set(R,N.content.get(R))}return new PackContentItems(E)}))}this.logger.log("Split pack %d into pack %d with %d used items and pack %d with %d unused items",E,j,R.size,G,$.size);return}}}_gcOldestContent(){let E=undefined;for(const N of this.itemInfo.values()){if(E===undefined||N.lastAccessthis.maxAge){const N=E.location;if(N<0)return;const R=this.content[N];const j=new Set(R.items);const $=new Set(R.used);this._gcAndUpdateLocation(j,$,N);this.content[N]=j.size>0?new PackContent(j,$,(async()=>{await R.unpack("it contains old items that should be garbage collected");const E=new Map;for(const N of j){E.set(N,R.content.get(N))}return new PackContentItems(E)})):undefined}}serialize({write:E,writeSeparate:N}){this._persistFreshContent();this._optimizeSmallContent();this._optimizeUnusedContent();this._gcOldestContent();for(const N of this.itemInfo.keys()){E(N)}E(null);for(const N of this.itemInfo.values()){E(N.etag)}for(const N of this.itemInfo.values()){E(N.lastAccess)}for(let R=0;RN(E,{name:`${R}`})))}else{E(undefined)}}E(null)}deserialize({read:E,logger:N}){this.logger=N;{const N=[];let R=E();while(R!==null){N.push(R);R=E()}this.itemInfo.clear();const j=N.map((E=>{const N=new PackItemInfo(E,undefined,undefined);this.itemInfo.set(E,N);return N}));for(const N of j){N.etag=E()}for(const N of j){N.lastAccess=E()}}this.content.length=0;let R=E();while(R!==null){if(R===undefined){this.content.push(R)}else{const j=this.content.length;const $=E();this.content.push(new PackContent(R,new Set,$,N,`${this.content.length}`));for(const E of R){this.itemInfo.get(E).location=j}}R=E()}}}ae(Pack,"webpack/lib/cache/PackFileCacheStrategy","Pack");class PackContentItems{constructor(E){this.map=E}serialize({write:E,snapshot:N,rollback:R,logger:j,profile:$}){if($){E(false);for(const[$,q]of this.map){const G=N();try{E($);const N=process.hrtime();E(q);const R=process.hrtime(N);const G=R[0]*1e3+R[1]/1e6;if(G>1){if(G>500)j.error(`Serialization of '${$}': ${G} ms`);else if(G>50)j.warn(`Serialization of '${$}': ${G} ms`);else if(G>10)j.info(`Serialization of '${$}': ${G} ms`);else if(G>5)j.log(`Serialization of '${$}': ${G} ms`);else j.debug(`Serialization of '${$}': ${G} ms`)}}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null);return}const q=N();try{E(true);E(this.map)}catch($){R(q);E(false);for(const[$,q]of this.map){const G=N();try{E($);E(q)}catch(E){R(G);if(E===_e)continue;j.warn(`Skipped not serializable cache item '${$}': ${E.message}`);j.debug(E.stack)}}E(null)}}deserialize({read:E,logger:N,profile:R}){if(E()){this.map=E()}else if(R){const R=new Map;let j=E();while(j!==null){const $=process.hrtime();const q=E();const G=process.hrtime($);const ie=G[0]*1e3+G[1]/1e6;if(ie>1){if(ie>100)N.error(`Deserialization of '${j}': ${ie} ms`);else if(ie>20)N.warn(`Deserialization of '${j}': ${ie} ms`);else if(ie>5)N.info(`Deserialization of '${j}': ${ie} ms`);else if(ie>2)N.log(`Deserialization of '${j}': ${ie} ms`);else N.debug(`Deserialization of '${j}': ${ie} ms`)}R.set(j,q);j=E()}this.map=R}else{const N=new Map;let R=E();while(R!==null){N.set(R,E());R=E()}this.map=N}}}ae(PackContentItems,"webpack/lib/cache/PackFileCacheStrategy","PackContentItems");class PackContent{constructor(E,N,R,j,$){this.items=E;this.lazy=typeof R==="function"?R:undefined;this.content=typeof R==="function"?undefined:R.map;this.outdated=false;this.used=N;this.logger=j;this.lazyName=$}get(E){this.used.add(E);if(this.content){return this.content.get(E)}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`restore cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to restore cache content ${N} (${q(this.getSize())}) because of request to: ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((N=>{const j=N.map;if(R){this.logger.timeEnd(R)}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return j.get(E)}))}else{const N=j.map;if(R){this.logger.timeEnd(R)}this.content=N;this.lazy=G.unMemoizeLazy(this.lazy);return N.get(E)}}unpack(E){if(this.content)return;if(this.lazy){const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because ${E}`);this.logger.time(R)}const j=this.lazy();if("then"in j){return j.then((E=>{if(R){this.logger.timeEnd(R)}this.content=E.map}))}else{if(R){this.logger.timeEnd(R)}this.content=j.map}}}getSize(){if(!this.lazy)return-1;const E=this.lazy.options;if(!E)return-1;const N=E.size;if(typeof N!=="number")return-1;return N}delete(E){this.items.delete(E);this.used.delete(E);this.outdated=true}writeLazy(E){if(!this.outdated&&this.lazy){E(this.lazy);return}if(!this.outdated&&this.content){const N=new Map(this.content);this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}if(this.content){const N=new Map;for(const E of this.items){N.set(E,this.content.get(E))}this.outdated=false;this.content=N;this.lazy=G.unMemoizeLazy(E((()=>new PackContentItems(N))));return}const{lazyName:N}=this;let R;if(N){this.lazyName=undefined;R=`unpack cache content ${N} (${q(this.getSize())})`;this.logger.log(`starting to unpack cache content ${N} (${q(this.getSize())}) because it's outdated and need to be serialized`);this.logger.time(R)}const j=this.lazy();this.outdated=false;if("then"in j){this.lazy=E((()=>j.then((E=>{if(R){this.logger.timeEnd(R)}const N=E.map;const j=new Map;for(const E of this.items){j.set(E,N.get(E))}this.content=j;this.lazy=G.unMemoizeLazy(this.lazy);return new PackContentItems(j)}))))}else{if(R){this.logger.timeEnd(R)}const N=j.map;const $=new Map;for(const E of this.items){$.set(E,N.get(E))}this.content=$;this.lazy=E((()=>new PackContentItems($)))}}}const allowCollectingMemory=E=>{const N=E.buffer.byteLength-E.byteLength;if(N>8192&&(N>1048576||N>E.byteLength)){return Buffer.from(E)}return E};class PackFileCacheStrategy{constructor({compiler:E,fs:N,context:R,cacheLocation:$,version:q,logger:G,snapshot:ae,maxAge:ce,profile:_e,allowCollectingMemory:Ee,compression:Te}){this.fileSerializer=le(N,E.options.output.hashFunction);this.fileSystemInfo=new j(N,{managedPaths:ae.managedPaths,immutablePaths:ae.immutablePaths,logger:G.getChildLogger("webpack.FileSystemInfo"),hashFunction:E.options.output.hashFunction});this.compiler=E;this.context=R;this.cacheLocation=$;this.version=q;this.logger=G;this.maxAge=ce;this.profile=_e;this.allowCollectingMemory=Ee;this.compression=Te;this._extension=Te==="brotli"?".pack.br":Te==="gzip"?".pack.gz":".pack";this.snapshot=ae;this.buildDependencies=new Set;this.newBuildDependencies=new ie;this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=this._openPack();this.storePromise=Promise.resolve()}_getPack(){if(this.packPromise===undefined){this.packPromise=this.storePromise.then((()=>this._openPack()))}return this.packPromise}_openPack(){const{logger:E,profile:N,cacheLocation:R,version:j}=this;let $;let q;let G;let ie;let ae;E.time("restore cache container");return this.fileSerializer.deserialize(null,{filename:`${R}/index${this._extension}`,extension:`${this._extension}`,logger:E,profile:N,retainedBuffer:this.allowCollectingMemory?allowCollectingMemory:undefined}).catch((N=>{if(N.code!=="ENOENT"){E.warn(`Restoring pack failed from ${R}${this._extension}: ${N}`);E.debug(N.stack)}else{E.debug(`No pack exists at ${R}${this._extension}: ${N}`)}return undefined})).then((N=>{E.timeEnd("restore cache container");if(!N)return undefined;if(!(N instanceof PackContainer)){E.warn(`Restored pack from ${R}${this._extension}, but contained content is unexpected.`,N);return undefined}if(N.version!==j){E.log(`Restored pack from ${R}${this._extension}, but version doesn't match.`);return undefined}E.time("check build dependencies");return Promise.all([new Promise(((j,q)=>{this.fileSystemInfo.checkSnapshotValid(N.buildSnapshot,((q,G)=>{if(q){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of build dependencies errored: ${q}.`);E.debug(q.stack);return j(false)}if(!G){E.log(`Restored pack from ${R}${this._extension}, but build dependencies have changed.`);return j(false)}$=N.buildSnapshot;return j(true)}))})),new Promise(((j,$)=>{this.fileSystemInfo.checkSnapshotValid(N.resolveBuildDependenciesSnapshot,(($,ce)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but checking snapshot of resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(ce){ie=N.resolveBuildDependenciesSnapshot;q=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log("resolving of build dependencies is invalid, will re-resolve build dependencies");this.fileSystemInfo.checkResolveResultsValid(N.resolveResults,(($,q)=>{if($){E.log(`Restored pack from ${R}${this._extension}, but resolving of build dependencies errored: ${$}.`);E.debug($.stack);return j(false)}if(q){G=N.buildDependencies;ae=N.resolveResults;return j(true)}E.log(`Restored pack from ${R}${this._extension}, but build dependencies resolve to different locations.`);return j(false)}))}))}))]).catch((N=>{E.timeEnd("check build dependencies");throw N})).then((([R,j])=>{E.timeEnd("check build dependencies");if(R&&j){E.time("restore cache content metadata");const R=N.data();E.timeEnd("restore cache content metadata");return R}return undefined}))})).then((N=>{if(N){N.maxAge=this.maxAge;this.buildSnapshot=$;if(q)this.buildDependencies=q;if(G)this.newBuildDependencies.addAll(G);this.resolveResults=ae;this.resolveBuildDependenciesSnapshot=ie;return N}return new Pack(E,this.maxAge)})).catch((N=>{this.logger.warn(`Restoring pack from ${R}${this._extension} failed: ${N}`);this.logger.debug(N.stack);return new Pack(E,this.maxAge)}))}store(E,N,R){return this._getPack().then((j=>{j.set(E,N===null?null:N.toString(),R)}))}restore(E,N){return this._getPack().then((R=>R.get(E,N===null?null:N.toString()))).catch((N=>{if(N&&N.code!=="ENOENT"){this.logger.warn(`Restoring failed for ${E} from pack: ${N}`);this.logger.debug(N.stack)}}))}storeBuildDependencies(E){this.newBuildDependencies.addAll(E)}afterAllStored(){const E=this.packPromise;if(E===undefined)return Promise.resolve();const N=$.getReporter(this.compiler);return this.storePromise=E.then((E=>{E.stopCapturingRequests();if(!E.invalid)return;this.packPromise=undefined;this.logger.log(`Storing pack...`);let R;const j=new Set;for(const E of this.newBuildDependencies){if(!this.buildDependencies.has(E)){j.add(E)}}if(j.size>0||!this.buildSnapshot){if(N)N(.5,"resolve build dependencies");this.logger.debug(`Capturing build dependencies... (${Array.from(j).join(", ")})`);R=new Promise(((E,R)=>{this.logger.time("resolve build dependencies");this.fileSystemInfo.resolveBuildDependencies(this.context,j,((j,$)=>{this.logger.timeEnd("resolve build dependencies");if(j)return R(j);this.logger.time("snapshot build dependencies");const{files:q,directories:G,missing:ie,resolveResults:ae,resolveDependencies:ce}=$;if(this.resolveResults){for(const[E,N]of ae){this.resolveResults.set(E,N)}}else{this.resolveResults=ae}if(N){N(.6,"snapshot build dependencies","resolving")}this.fileSystemInfo.createSnapshot(undefined,ce.files,ce.directories,ce.missing,this.snapshot.resolveBuildDependencies,((j,$)=>{if(j){this.logger.timeEnd("snapshot build dependencies");return R(j)}if(!$){this.logger.timeEnd("snapshot build dependencies");return R(new Error("Unable to snapshot resolve dependencies"))}if(this.resolveBuildDependenciesSnapshot){this.resolveBuildDependenciesSnapshot=this.fileSystemInfo.mergeSnapshots(this.resolveBuildDependenciesSnapshot,$)}else{this.resolveBuildDependenciesSnapshot=$}if(N){N(.7,"snapshot build dependencies","modules")}this.fileSystemInfo.createSnapshot(undefined,q,G,ie,this.snapshot.buildDependencies,((N,j)=>{this.logger.timeEnd("snapshot build dependencies");if(N)return R(N);if(!j){return R(new Error("Unable to snapshot build dependencies"))}this.logger.debug("Captured build dependencies");if(this.buildSnapshot){this.buildSnapshot=this.fileSystemInfo.mergeSnapshots(this.buildSnapshot,j)}else{this.buildSnapshot=j}E()}))}))}))}))}else{R=Promise.resolve()}return R.then((()=>{if(N)N(.8,"serialize pack");this.logger.time(`store pack`);const R=new Set(this.buildDependencies);for(const E of j){R.add(E)}const $=new PackContainer(E,this.version,this.buildSnapshot,R,this.resolveResults,this.resolveBuildDependenciesSnapshot);return this.fileSerializer.serialize($,{filename:`${this.cacheLocation}/index${this._extension}`,extension:`${this._extension}`,logger:this.logger,profile:this.profile}).then((()=>{for(const E of j){this.buildDependencies.add(E)}this.newBuildDependencies.clear();this.logger.timeEnd(`store pack`);const N=E.getContentStats();this.logger.log("Stored pack (%d items, %d files, %d MiB)",E.itemInfo.size,N.count,Math.round(N.size/1024/1024))})).catch((E=>{this.logger.timeEnd(`store pack`);this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}))})).catch((E=>{this.logger.warn(`Caching failed for pack: ${E}`);this.logger.debug(E.stack)}))}clear(){this.fileSystemInfo.clear();this.buildDependencies.clear();this.newBuildDependencies.clear();this.resolveBuildDependenciesSnapshot=undefined;this.resolveResults=undefined;this.buildSnapshot=undefined;this.packPromise=undefined}}E.exports=PackFileCacheStrategy},13653:(E,N,R)=>{"use strict";const j=R(83379);const $=R(56202);class CacheEntry{constructor(E,N){this.result=E;this.snapshot=N}serialize({write:E}){E(this.result);E(this.snapshot)}deserialize({read:E}){this.result=E();this.snapshot=E()}}$(CacheEntry,"webpack/lib/cache/ResolverCachePlugin");const addAllToSet=(E,N)=>{if(E instanceof j){E.addAll(N)}else{for(const R of N){E.add(R)}}};const objectToString=(E,N)=>{let R="";for(const j in E){if(N&&j==="context")continue;const $=E[j];if(typeof $==="object"&&$!==null){R+=`|${j}=[${objectToString($,false)}|]`}else{R+=`|${j}=|${$}`}}return R};class ResolverCachePlugin{apply(E){const N=E.getCache("ResolverCachePlugin");let R;let $;let q=0;let G=0;let ie=0;let ae=0;E.hooks.thisCompilation.tap("ResolverCachePlugin",(E=>{$=E.options.snapshot.resolve;R=E.fileSystemInfo;E.hooks.finishModules.tap("ResolverCachePlugin",(()=>{if(q+G>0){const N=E.getLogger("webpack.ResolverCachePlugin");N.log(`${Math.round(100*q/(q+G))}% really resolved (${q} real resolves with ${ie} cached but invalid, ${G} cached valid, ${ae} concurrent)`);q=0;G=0;ie=0;ae=0}}))}));const doRealResolve=(E,N,G,ie,ae)=>{q++;const ce={_ResolverCachePluginCacheMiss:true,...ie};const le={...G,stack:new Set,missingDependencies:new j,fileDependencies:new j,contextDependencies:new j};const propagate=E=>{if(G[E]){addAllToSet(G[E],le[E])}};const _e=Date.now();N.doResolve(N.hooks.resolve,ce,"Cache miss",le,((N,j)=>{propagate("fileDependencies");propagate("contextDependencies");propagate("missingDependencies");if(N)return ae(N);const q=le.fileDependencies;const G=le.contextDependencies;const ie=le.missingDependencies;R.createSnapshot(_e,q,G,ie,$,((N,R)=>{if(N)return ae(N);if(!R){if(j)return ae(null,j);return ae()}E.store(new CacheEntry(j,R),(E=>{if(E)return ae(E);if(j)return ae(null,j);ae()}))}))}))};E.resolverFactory.hooks.resolver.intercept({factory(E,j){const $=new Map;j.tap("ResolverCachePlugin",((j,q,ae)=>{if(q.cache!==true)return;const ce=objectToString(ae,false);const le=q.cacheWithContext!==undefined?q.cacheWithContext:false;j.hooks.resolve.tapAsync({name:"ResolverCachePlugin",stage:-100},((q,ae,_e)=>{if(q._ResolverCachePluginCacheMiss||!R){return _e()}const Ee=`${E}${ce}${objectToString(q,!le)}`;const Te=$.get(Ee);if(Te){Te.push(_e);return}const we=N.getItemCache(Ee,null);let Ie;const done=(E,N)=>{if(Ie===undefined){_e(E,N);Ie=false}else{for(const R of Ie){R(E,N)}$.delete(Ee);Ie=false}};const processCacheResult=(E,N)=>{if(E)return done(E);if(N){const{snapshot:E,result:$}=N;R.checkSnapshotValid(E,((N,R)=>{if(N||!R){ie++;return doRealResolve(we,j,ae,q,done)}G++;if(ae.missingDependencies){addAllToSet(ae.missingDependencies,E.getMissingIterable())}if(ae.fileDependencies){addAllToSet(ae.fileDependencies,E.getFileIterable())}if(ae.contextDependencies){addAllToSet(ae.contextDependencies,E.getContextIterable())}done(null,$)}))}else{doRealResolve(we,j,ae,q,done)}};we.get(processCacheResult);if(Ie===undefined){Ie=[_e];$.set(Ee,Ie)}}))}));return j}})}}E.exports=ResolverCachePlugin},77034:(E,N,R)=>{"use strict";const j=R(35891);class LazyHashedEtag{constructor(E,N="md4"){this._obj=E;this._hash=undefined;this._hashFunction=N}toString(){if(this._hash===undefined){const E=j(this._hashFunction);this._obj.updateHash(E);this._hash=E.digest("base64")}return this._hash}}const $=new Map;const q=new WeakMap;const getter=(E,N="md4")=>{let R;if(typeof N==="string"){R=$.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);$.set(N,R);return j}}else{R=q.get(N);if(R===undefined){const j=new LazyHashedEtag(E,N);R=new WeakMap;R.set(E,j);q.set(N,R);return j}}const j=R.get(E);if(j!==undefined)return j;const G=new LazyHashedEtag(E,N);R.set(E,G);return G};E.exports=getter},10168:E=>{"use strict";class MergedEtag{constructor(E,N){this.a=E;this.b=N}toString(){return`${this.a.toString()}|${this.b.toString()}`}}const N=new WeakMap;const R=new WeakMap;const mergeEtags=(E,j)=>{if(typeof E==="string"){if(typeof j==="string"){return`${E}|${j}`}else{const N=j;j=E;E=N}}else{if(typeof j!=="string"){let R=N.get(E);if(R===undefined){N.set(E,R=new WeakMap)}const $=R.get(j);if($===undefined){const N=new MergedEtag(E,j);R.set(j,N);return N}else{return $}}}let $=R.get(E);if($===undefined){R.set(E,$=new Map)}const q=$.get(j);if(q===undefined){const N=new MergedEtag(E,j);$.set(j,N);return N}else{return q}};E.exports=mergeEtags},61634:(E,N,R)=>{"use strict";const j=R(71017);const $=R(46312);const getArguments=(E=$)=>{const N={};const pathToArgumentName=E=>E.replace(/\./g,"-").replace(/\[\]/g,"").replace(/(\p{Uppercase_Letter}+|\p{Lowercase_Letter}|\d)(\p{Uppercase_Letter}+)/gu,"$1-$2").replace(/-?[^\p{Uppercase_Letter}\p{Lowercase_Letter}\d]+/gu,"-").toLowerCase();const getSchemaPart=N=>{const R=N.split("/");let j=E;for(let E=1;E{for(const{schema:N}of E){if(N.cli&&N.cli.helper)continue;if(N.description)return N.description}};const schemaToArgumentConfig=E=>{if(E.enum){return{type:"enum",values:E.enum}}switch(E.type){case"number":return{type:"number"};case"string":return{type:E.absolutePath?"path":"string"};case"boolean":return{type:"boolean"}}if(E.instanceof==="RegExp"){return{type:"RegExp"}}return undefined};const addResetFlag=E=>{const R=E[0].path;const j=pathToArgumentName(`${R}.reset`);const $=getDescription(E);N[j]={configs:[{type:"reset",multiple:false,description:`Clear all items provided in '${R}' configuration. ${$}`,path:R}],description:undefined,simpleType:undefined,multiple:undefined}};const addFlag=(E,R)=>{const j=schemaToArgumentConfig(E[0].schema);if(!j)return 0;const $=pathToArgumentName(E[0].path);const q={...j,multiple:R,description:getDescription(E),path:E[0].path};if(!N[$]){N[$]={configs:[],description:undefined,simpleType:undefined,multiple:undefined}}if(N[$].configs.some((E=>JSON.stringify(E)===JSON.stringify(q)))){return 0}if(N[$].configs.some((E=>E.type===q.type&&E.multiple!==R))){if(R){throw new Error(`Conflicting schema for ${E[0].path} with ${q.type} type (array type must be before single item type)`)}return 0}N[$].configs.push(q);return 1};const traverse=(E,N="",R=[],j=null)=>{while(E.$ref){E=getSchemaPart(E.$ref)}const $=R.filter((({schema:N})=>N===E));if($.length>=2||$.some((({path:E})=>E===N))){return 0}if(E.cli&&E.cli.exclude)return 0;const q=[{schema:E,path:N},...R];let G=0;G+=addFlag(q,!!j);if(E.type==="object"){if(E.properties){for(const R of Object.keys(E.properties)){G+=traverse(E.properties[R],N?`${N}.${R}`:R,q,j)}}return G}if(E.type==="array"){if(j){return 0}if(Array.isArray(E.items)){let R=0;for(const j of E.items){G+=traverse(j,`${N}.${R}`,q,N)}return G}G+=traverse(E.items,`${N}[]`,q,N);if(G>0){addResetFlag(q);G++}return G}const ie=E.oneOf||E.anyOf||E.allOf;if(ie){const E=ie;for(let R=0;R{if(!E)return N;if(!N)return E;if(E.includes(N))return E;return`${E} ${N}`}),undefined);R.simpleType=R.configs.reduce(((E,N)=>{let R="string";switch(N.type){case"number":R="number";break;case"reset":case"boolean":R="boolean";break;case"enum":if(N.values.every((E=>typeof E==="boolean")))R="boolean";if(N.values.every((E=>typeof E==="number")))R="number";break}if(E===undefined)return R;return E===R?E:"string"}),undefined);R.multiple=R.configs.some((E=>E.multiple))}return N};const q=new WeakMap;const getObjectAndProperty=(E,N,R=0)=>{if(!N)return{value:E};const j=N.split(".");let $=j.pop();let G=E;let ie=0;for(const E of j){const N=E.endsWith("[]");const $=N?E.slice(0,-2):E;let ae=G[$];if(N){if(ae===undefined){ae={};G[$]=[...Array.from({length:R}),ae];q.set(G[$],R+1)}else if(!Array.isArray(ae)){return{problem:{type:"unexpected-non-array-in-path",path:j.slice(0,ie).join(".")}}}else{let E=q.get(ae)||0;while(E<=R){ae.push(undefined);E++}q.set(ae,E);const N=ae.length-E+R;if(ae[N]===undefined){ae[N]={}}else if(ae[N]===null||typeof ae[N]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}ae=ae[N]}}else{if(ae===undefined){ae=G[$]={}}else if(ae===null||typeof ae!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:j.slice(0,ie).join(".")}}}}G=ae;ie++}let ae=G[$];if($.endsWith("[]")){const E=$.slice(0,-2);const j=G[E];if(j===undefined){G[E]=[...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R,value:undefined}}else if(!Array.isArray(j)){G[E]=[j,...Array.from({length:R}),undefined];q.set(G[E],R+1);return{object:G[E],property:R+1,value:undefined}}else{let E=q.get(j)||0;while(E<=R){j.push(undefined);E++}q.set(j,E);const $=j.length-E+R;if(j[$]===undefined){j[$]={}}else if(j[$]===null||typeof j[$]!=="object"){return{problem:{type:"unexpected-non-object-in-path",path:N}}}return{object:j,property:$,value:j[$]}}}return{object:G,property:$,value:ae}};const setValue=(E,N,R,j)=>{const{problem:$,object:q,property:G}=getObjectAndProperty(E,N,j);if($)return $;q[G]=R;return null};const processArgumentConfig=(E,N,R,j)=>{if(j!==undefined&&!E.multiple){return{type:"multiple-values-unexpected",path:E.path}}const $=parseValueForArgumentConfig(E,R);if($===undefined){return{type:"invalid-value",path:E.path,expected:getExpectedValue(E)}}const q=setValue(N,E.path,$,j);if(q)return q;return null};const getExpectedValue=E=>{switch(E.type){default:return E.type;case"boolean":return"true | false";case"RegExp":return"regular expression (example: /ab?c*/)";case"enum":return E.values.map((E=>`${E}`)).join(" | ");case"reset":return"true (will reset the previous value to an empty array)"}};const parseValueForArgumentConfig=(E,N)=>{switch(E.type){case"string":if(typeof N==="string"){return N}break;case"path":if(typeof N==="string"){return j.resolve(N)}break;case"number":if(typeof N==="number")return N;if(typeof N==="string"&&/^[+-]?\d*(\.\d*)[eE]\d+$/){const E=+N;if(!isNaN(E))return E}break;case"boolean":if(typeof N==="boolean")return N;if(N==="true")return true;if(N==="false")return false;break;case"RegExp":if(N instanceof RegExp)return N;if(typeof N==="string"){const E=/^\/(.*)\/([yugi]*)$/.exec(N);if(E&&!/[^\\]\//.test(E[1]))return new RegExp(E[1],E[2])}break;case"enum":if(E.values.includes(N))return N;for(const R of E.values){if(`${R}`===N)return R}break;case"reset":if(N===true)return[];break}};const processArguments=(E,N,R)=>{const j=[];for(const $ of Object.keys(R)){const q=E[$];if(!q){j.push({type:"unknown-argument",path:"",argument:$});continue}const processValue=(E,R)=>{const G=[];for(const j of q.configs){const q=processArgumentConfig(j,N,E,R);if(!q){return}G.push({...q,argument:$,value:E,index:R})}j.push(...G)};let G=R[$];if(Array.isArray(G)){for(let E=0;E{"use strict";const j=R(69328);const $=R(71017);const q=/^(?:((?:[A-Z]:)?[/\\].*?))?(?::(.+?))?$/i;const parse=(E,N)=>{if(!E){return{}}if($.isAbsolute(E)){const[,N,R]=q.exec(E)||[];return{configPath:N,env:R}}const R=j.findConfig(N);if(R&&Object.keys(R).includes(E)){return{env:E}}return{query:E}};const load=(E,N)=>{const{configPath:R,env:$,query:q}=parse(E,N);const G=q?q:R?j.loadConfig({config:R,env:$}):j.loadConfig({path:N,env:$});if(!G)return null;return j(G)};const resolve=E=>{const rawChecker=N=>E.every((E=>{const[R,j]=E.split(" ");if(!R)return false;const $=N[R];if(!$)return false;const[q,G]=j==="TP"?[Infinity,Infinity]:j.split(".");if(typeof $==="number"){return+q>=$}return $[0]===+q?+G>=$[1]:+q>$[0]}));const N=E.some((E=>/^node /.test(E)));const R=E.some((E=>/^(?!node)/.test(E)));const j=!R?false:N?null:true;const $=!N?false:R?null:true;const q=rawChecker({chrome:63,and_chr:63,edge:79,firefox:67,and_ff:67,opera:50,op_mob:46,safari:[11,1],ios_saf:[11,3],samsung:[8,2],android:63,and_qq:[10,4],node:[13,14]});return{const:rawChecker({chrome:49,and_chr:49,edge:12,firefox:36,and_ff:36,opera:36,op_mob:36,safari:[10,0],ios_saf:[10,0],samsung:[5,0],android:37,and_qq:[10,4],and_uc:[12,12],kaios:[2,5],node:[6,0]}),arrowFunction:rawChecker({chrome:45,and_chr:45,edge:12,firefox:39,and_ff:39,opera:32,op_mob:32,safari:10,ios_saf:10,samsung:[5,0],android:45,and_qq:[10,4],baidu:[7,12],and_uc:[12,12],kaios:[2,5],node:[6,0]}),forOf:rawChecker({chrome:38,and_chr:38,edge:12,firefox:51,and_ff:51,opera:25,op_mob:25,safari:7,ios_saf:7,samsung:[3,0],android:38,node:[0,12]}),destructuring:rawChecker({chrome:49,and_chr:49,edge:14,firefox:41,and_ff:41,opera:36,op_mob:36,safari:8,ios_saf:8,samsung:[5,0],android:49,node:[6,0]}),bigIntLiteral:rawChecker({chrome:67,and_chr:67,edge:79,firefox:68,and_ff:68,opera:54,op_mob:48,safari:14,ios_saf:14,samsung:[9,2],android:67,node:[10,4]}),module:rawChecker({chrome:61,and_chr:61,edge:16,firefox:60,and_ff:60,opera:48,op_mob:45,safari:[10,1],ios_saf:[10,3],samsung:[8,0],android:61,and_qq:[10,4],node:[13,14]}),dynamicImport:q,dynamicImportInWorker:q&&!N,globalThis:rawChecker({chrome:71,and_chr:71,edge:79,firefox:65,and_ff:65,opera:58,op_mob:50,safari:[12,1],ios_saf:[12,2],samsung:[10,1],android:71,node:[12,0]}),browser:j,electron:false,node:$,nwjs:false,web:j,webworker:false,document:j,fetchWasm:j,global:$,importScripts:false,importScriptsInWorker:true,nodeBuiltins:$,require:$}};E.exports={resolve:resolve,load:load}},54411:(E,N,R)=>{"use strict";const j=R(57147);const $=R(71017);const q=R(58159);const{cleverMerge:G}=R(90149);const{getTargetsProperties:ie,getTargetProperties:ae,getDefaultTarget:ce}=R(71322);const le=/[\\/]node_modules[\\/]/i;const D=(E,N,R)=>{if(E[N]===undefined){E[N]=R}};const F=(E,N,R)=>{if(E[N]===undefined){E[N]=R()}};const A=(E,N,R)=>{const j=E[N];if(j===undefined){E[N]=R()}else if(Array.isArray(j)){let $=undefined;for(let q=0;q{F(E,"context",(()=>process.cwd()));applyInfrastructureLoggingDefaults(E.infrastructureLogging)};const applyWebpackOptionsDefaults=E=>{F(E,"context",(()=>process.cwd()));F(E,"target",(()=>ce(E.context)));const{mode:N,name:j,target:$}=E;let q=$===false?false:typeof $==="string"?ae($,E.context):ie($,E.context);const le=N==="development";const _e=N==="production"||!N;if(typeof E.entry!=="function"){for(const N of Object.keys(E.entry)){F(E.entry[N],"import",(()=>["./src"]))}}F(E,"devtool",(()=>le?"eval":false));D(E,"watch",false);D(E,"profile",false);D(E,"parallelism",100);D(E,"recordsInputPath",false);D(E,"recordsOutputPath",false);applyExperimentsDefaults(E.experiments,{production:_e,development:le});const Ee=E.experiments.futureDefaults;F(E,"cache",(()=>le?{type:"memory"}:false));applyCacheDefaults(E.cache,{name:j||"default",mode:N||"production",development:le,cacheUnaffected:E.experiments.cacheUnaffected});const Te=!!E.cache;applySnapshotDefaults(E.snapshot,{production:_e,futureDefaults:Ee});applyModuleDefaults(E.module,{cache:Te,syncWebAssembly:E.experiments.syncWebAssembly,asyncWebAssembly:E.experiments.asyncWebAssembly});applyOutputDefaults(E.output,{context:E.context,targetProperties:q,isAffectedByBrowserslist:$===undefined||typeof $==="string"&&$.startsWith("browserslist")||Array.isArray($)&&$.some((E=>E.startsWith("browserslist"))),outputModule:E.experiments.outputModule,development:le,entry:E.entry,module:E.module,futureDefaults:Ee});applyExternalsPresetsDefaults(E.externalsPresets,{targetProperties:q,buildHttp:!!E.experiments.buildHttp});applyLoaderDefaults(E.loader,{targetProperties:q});F(E,"externalsType",(()=>{const N=R(46312).definitions.ExternalsType["enum"];return E.output.library&&N.includes(E.output.library.type)?E.output.library.type:E.output.module?"module":"var"}));applyNodeDefaults(E.node,{futureDefaults:E.experiments.futureDefaults,targetProperties:q});F(E,"performance",(()=>_e&&q&&(q.browser||q.browser===null)?{}:false));applyPerformanceDefaults(E.performance,{production:_e});applyOptimizationDefaults(E.optimization,{development:le,production:_e,records:!!(E.recordsInputPath||E.recordsOutputPath)});E.resolve=G(getResolveDefaults({cache:Te,context:E.context,targetProperties:q,mode:E.mode}),E.resolve);E.resolveLoader=G(getResolveLoaderDefaults({cache:Te}),E.resolveLoader)};const applyExperimentsDefaults=(E,{production:N,development:R})=>{D(E,"futureDefaults",false);D(E,"backCompat",!E.futureDefaults);D(E,"topLevelAwait",E.futureDefaults);D(E,"syncWebAssembly",false);D(E,"asyncWebAssembly",E.futureDefaults);D(E,"outputModule",false);D(E,"layers",false);D(E,"lazyCompilation",undefined);D(E,"buildHttp",undefined);D(E,"cacheUnaffected",E.futureDefaults);if(typeof E.buildHttp==="object"){D(E.buildHttp,"frozen",N);D(E.buildHttp,"upgrade",false)}};const applyCacheDefaults=(E,{name:N,mode:R,development:q,cacheUnaffected:G})=>{if(E===false)return;switch(E.type){case"filesystem":F(E,"name",(()=>N+"-"+R));D(E,"version","");F(E,"cacheDirectory",(()=>{const E=process.cwd();let N=E;for(;;){try{if(j.statSync($.join(N,"package.json")).isFile())break}catch(E){}const E=$.dirname(N);if(N===E){N=undefined;break}N=E}if(!N){return $.resolve(E,".cache/webpack")}else if(process.versions.pnp==="1"){return $.resolve(N,".pnp/.cache/webpack")}else if(process.versions.pnp==="3"){return $.resolve(N,".yarn/.cache/webpack")}else{return $.resolve(N,"node_modules/.cache/webpack")}}));F(E,"cacheLocation",(()=>$.resolve(E.cacheDirectory,E.name)));D(E,"hashAlgorithm","md4");D(E,"store","pack");D(E,"compression",false);D(E,"profile",false);D(E,"idleTimeout",6e4);D(E,"idleTimeoutForInitialStore",5e3);D(E,"idleTimeoutAfterLargeChanges",1e3);D(E,"maxMemoryGenerations",q?5:Infinity);D(E,"maxAge",1e3*60*60*24*60);D(E,"allowCollectingMemory",q);D(E,"memoryCacheUnaffected",q&&G);D(E.buildDependencies,"defaultWebpack",[$.resolve(__dirname,"..")+$.sep]);break;case"memory":D(E,"maxGenerations",Infinity);D(E,"cacheUnaffected",q&&G);break}};const applySnapshotDefaults=(E,{production:N,futureDefaults:R})=>{if(R){F(E,"managedPaths",(()=>process.versions.pnp==="3"?[/^(.+?(?:[\\/]\.yarn[\\/]unplugged[\\/][^\\/]+)?[\\/]node_modules[\\/])/]:[/^(.+?[\\/]node_modules[\\/])/]));F(E,"immutablePaths",(()=>process.versions.pnp==="3"?[/^(.+?[\\/]cache[\\/][^\\/]+\.zip[\\/]node_modules[\\/])/]:[]))}else{A(E,"managedPaths",(()=>{if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]cache[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[$.resolve(E[1],"unplugged")]}}else{const E=/^(.+?[\\/]node_modules)[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}));A(E,"immutablePaths",(()=>{if(process.versions.pnp==="1"){const E=/^(.+?[\\/]v4)[\\/]npm-watchpack-[^\\/]+-[\da-f]{40}[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}else if(process.versions.pnp==="3"){const E=/^(.+?)[\\/]watchpack-npm-[^\\/]+\.zip[\\/]node_modules[\\/]/.exec(92512);if(E){return[E[1]]}}return[]}))}F(E,"resolveBuildDependencies",(()=>({timestamp:true,hash:true})));F(E,"buildDependencies",(()=>({timestamp:true,hash:true})));F(E,"module",(()=>N?{timestamp:true,hash:true}:{timestamp:true}));F(E,"resolve",(()=>N?{timestamp:true,hash:true}:{timestamp:true}))};const applyJavascriptParserOptionsDefaults=E=>{D(E,"unknownContextRequest",".");D(E,"unknownContextRegExp",false);D(E,"unknownContextRecursive",true);D(E,"unknownContextCritical",true);D(E,"exprContextRequest",".");D(E,"exprContextRegExp",false);D(E,"exprContextRecursive",true);D(E,"exprContextCritical",true);D(E,"wrappedContextRegExp",/.*/);D(E,"wrappedContextRecursive",true);D(E,"wrappedContextCritical",false);D(E,"strictThisContextOnImports",false)};const applyModuleDefaults=(E,{cache:N,syncWebAssembly:R,asyncWebAssembly:j})=>{if(N){D(E,"unsafeCache",(E=>{const N=E.nameForCondition();return N&&le.test(N)}))}else{D(E,"unsafeCache",false)}F(E.parser,"asset",(()=>({})));F(E.parser.asset,"dataUrlCondition",(()=>({})));if(typeof E.parser.asset.dataUrlCondition==="object"){D(E.parser.asset.dataUrlCondition,"maxSize",8096)}F(E.parser,"javascript",(()=>({})));applyJavascriptParserOptionsDefaults(E.parser.javascript);A(E,"defaultRules",(()=>{const E={type:"javascript/esm",resolve:{byDependency:{esm:{fullySpecified:true}}}};const N={type:"javascript/dynamic"};const $=[{mimetype:"application/node",type:"javascript/auto"},{test:/\.json$/i,type:"json"},{mimetype:"application/json",type:"json"},{test:/\.mjs$/i,...E},{test:/\.js$/i,descriptionData:{type:"module"},...E},{test:/\.cjs$/i,...N},{test:/\.js$/i,descriptionData:{type:"commonjs"},...N},{mimetype:{or:["text/javascript","application/javascript"]},...E}];if(j){const E={type:"webassembly/async",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}else if(R){const E={type:"webassembly/sync",rules:[{descriptionData:{type:"module"},resolve:{fullySpecified:true}}]};$.push({test:/\.wasm$/i,...E});$.push({mimetype:"application/wasm",...E})}$.push({dependency:"url",oneOf:[{scheme:/^data$/,type:"asset/inline"},{type:"asset/resource"}]},{assert:{type:"json"},type:"json"});return $}))};const applyOutputDefaults=(E,{context:N,targetProperties:R,isAffectedByBrowserslist:G,outputModule:ie,development:ae,entry:ce,module:le,futureDefaults:_e})=>{const getLibraryName=E=>{const N=typeof E==="object"&&E&&!Array.isArray(E)&&"type"in E?E.name:E;if(Array.isArray(N)){return N.join(".")}else if(typeof N==="object"){return getLibraryName(N.root)}else if(typeof N==="string"){return N}return""};F(E,"uniqueName",(()=>{const R=getLibraryName(E.library);if(R)return R;const q=$.resolve(N,"package.json");try{const E=JSON.parse(j.readFileSync(q,"utf-8"));return E.name||""}catch(E){if(E.code!=="ENOENT"){E.message+=`\nwhile determining default 'output.uniqueName' from 'name' in ${q}`;throw E}return""}}));F(E,"module",(()=>!!ie));D(E,"filename",E.module?"[name].mjs":"[name].js");F(E,"iife",(()=>!E.module));D(E,"importFunctionName","import");D(E,"importMetaName","import.meta");F(E,"chunkFilename",(()=>{const N=E.filename;if(typeof N!=="function"){const E=N.includes("[name]");const R=N.includes("[id]");const j=N.includes("[chunkhash]");const $=N.includes("[contenthash]");if(j||$||E||R)return N;return N.replace(/(^|\/)([^/]*(?:\?|$))/,"$1[id].$2")}return E.module?"[id].mjs":"[id].js"}));D(E,"assetModuleFilename","[hash][ext][query]");D(E,"webassemblyModuleFilename","[hash].module.wasm");D(E,"compareBeforeEmit",true);D(E,"charset",true);F(E,"hotUpdateGlobal",(()=>q.toIdentifier("webpackHotUpdate"+q.toIdentifier(E.uniqueName))));F(E,"chunkLoadingGlobal",(()=>q.toIdentifier("webpackChunk"+q.toIdentifier(E.uniqueName))));F(E,"globalObject",(()=>{if(R){if(R.global)return"global";if(R.globalThis)return"globalThis"}return"self"}));F(E,"chunkFormat",(()=>{if(R){const N=G?"Make sure that your 'browserslist' includes only platforms that support these features or select an appropriate 'target' to allow selecting a chunk format by default. Alternatively specify the 'output.chunkFormat' directly.":"Select an appropriate 'target' to allow selecting one by default, or specify the 'output.chunkFormat' directly.";if(E.module){if(R.dynamicImport)return"module";if(R.document)return"array-push";throw new Error("For the selected environment is no default ESM chunk format available:\n"+"ESM exports can be chosen when 'import()' is available.\n"+"JSONP Array push can be chosen when 'document' is available.\n"+N)}else{if(R.document)return"array-push";if(R.require)return"commonjs";if(R.nodeBuiltins)return"commonjs";if(R.importScripts)return"array-push";throw new Error("For the selected environment is no default script chunk format available:\n"+"JSONP Array push can be chosen when 'document' or 'importScripts' is available.\n"+"CommonJs exports can be chosen when 'require' or node builtins are available.\n"+N)}}throw new Error("Chunk format can't be selected by default when no target is specified")}));F(E,"chunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.document)return"jsonp";if(R.importScripts)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImport)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.document===null||R.importScripts===null){return"universal"}}return false}));F(E,"workerChunkLoading",(()=>{if(R){switch(E.chunkFormat){case"array-push":if(R.importScriptsInWorker)return"import-scripts";break;case"commonjs":if(R.require)return"require";if(R.nodeBuiltins)return"async-node";break;case"module":if(R.dynamicImportInWorker)return"import";break}if(R.require===null||R.nodeBuiltins===null||R.importScriptsInWorker===null){return"universal"}}return false}));F(E,"wasmLoading",(()=>{if(R){if(R.fetchWasm)return"fetch";if(R.nodeBuiltins)return E.module?"async-node-module":"async-node";if(R.nodeBuiltins===null||R.fetchWasm===null){return"universal"}}return false}));F(E,"workerWasmLoading",(()=>E.wasmLoading));F(E,"devtoolNamespace",(()=>E.uniqueName));if(E.library){F(E.library,"type",(()=>E.module?"module":"var"))}F(E,"path",(()=>$.join(process.cwd(),"dist")));F(E,"pathinfo",(()=>ae));D(E,"sourceMapFilename","[file].map[query]");D(E,"hotUpdateChunkFilename",`[id].[fullhash].hot-update.${E.module?"mjs":"js"}`);D(E,"hotUpdateMainFilename","[runtime].[fullhash].hot-update.json");D(E,"crossOriginLoading",false);F(E,"scriptType",(()=>E.module?"module":false));D(E,"publicPath",R&&(R.document||R.importScripts)||E.scriptType==="module"?"auto":"");D(E,"chunkLoadTimeout",12e4);D(E,"hashFunction",_e?"xxhash64":"md4");D(E,"hashDigest","hex");D(E,"hashDigestLength",20);D(E,"strictModuleExceptionHandling",false);const optimistic=E=>E||E===undefined;F(E.environment,"arrowFunction",(()=>R&&optimistic(R.arrowFunction)));F(E.environment,"const",(()=>R&&optimistic(R.const)));F(E.environment,"destructuring",(()=>R&&optimistic(R.destructuring)));F(E.environment,"forOf",(()=>R&&optimistic(R.forOf)));F(E.environment,"bigIntLiteral",(()=>R&&R.bigIntLiteral));F(E.environment,"dynamicImport",(()=>R&&R.dynamicImport));F(E.environment,"module",(()=>R&&R.module));const{trustedTypes:Ee}=E;if(Ee){F(Ee,"policyName",(()=>E.uniqueName.replace(/[^a-zA-Z0-9\-#=_/@.%]+/g,"_")||"webpack"))}const forEachEntry=E=>{for(const N of Object.keys(ce)){E(ce[N])}};A(E,"enabledLibraryTypes",(()=>{const N=[];if(E.library){N.push(E.library.type)}forEachEntry((E=>{if(E.library){N.push(E.library.type)}}));return N}));A(E,"enabledChunkLoadingTypes",(()=>{const N=new Set;if(E.chunkLoading){N.add(E.chunkLoading)}if(E.workerChunkLoading){N.add(E.workerChunkLoading)}forEachEntry((E=>{if(E.chunkLoading){N.add(E.chunkLoading)}}));return Array.from(N)}));A(E,"enabledWasmLoadingTypes",(()=>{const N=new Set;if(E.wasmLoading){N.add(E.wasmLoading)}if(E.workerWasmLoading){N.add(E.workerWasmLoading)}forEachEntry((E=>{if(E.wasmLoading){N.add(E.wasmLoading)}}));return Array.from(N)}))};const applyExternalsPresetsDefaults=(E,{targetProperties:N,buildHttp:R})=>{D(E,"web",!R&&N&&N.web);D(E,"node",N&&N.node);D(E,"nwjs",N&&N.nwjs);D(E,"electron",N&&N.electron);D(E,"electronMain",N&&N.electron&&N.electronMain);D(E,"electronPreload",N&&N.electron&&N.electronPreload);D(E,"electronRenderer",N&&N.electron&&N.electronRenderer)};const applyLoaderDefaults=(E,{targetProperties:N})=>{F(E,"target",(()=>{if(N){if(N.electron){if(N.electronMain)return"electron-main";if(N.electronPreload)return"electron-preload";if(N.electronRenderer)return"electron-renderer";return"electron"}if(N.nwjs)return"nwjs";if(N.node)return"node";if(N.web)return"web"}}))};const applyNodeDefaults=(E,{futureDefaults:N,targetProperties:R})=>{if(E===false)return;F(E,"global",(()=>{if(R&&R.global)return false;return N?"warn":true}));F(E,"__filename",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}));F(E,"__dirname",(()=>{if(R&&R.node)return"eval-only";return N?"warn-mock":"mock"}))};const applyPerformanceDefaults=(E,{production:N})=>{if(E===false)return;D(E,"maxAssetSize",25e4);D(E,"maxEntrypointSize",25e4);F(E,"hints",(()=>N?"warning":false))};const applyOptimizationDefaults=(E,{production:N,development:j,records:$})=>{D(E,"removeAvailableModules",false);D(E,"removeEmptyChunks",true);D(E,"mergeDuplicateChunks",true);D(E,"flagIncludedChunks",N);F(E,"moduleIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"chunkIds",(()=>{if(N)return"deterministic";if(j)return"named";return"natural"}));F(E,"sideEffects",(()=>N?true:"flag"));D(E,"providedExports",true);D(E,"usedExports",N);D(E,"innerGraph",N);D(E,"mangleExports",N);D(E,"concatenateModules",N);D(E,"runtimeChunk",false);D(E,"emitOnErrors",!N);D(E,"checkWasmTypes",N);D(E,"mangleWasmImports",false);D(E,"portableRecords",$);D(E,"realContentHash",N);D(E,"minimize",N);A(E,"minimizer",(()=>[{apply:E=>{const N=R(96013);new N({terserOptions:{compress:{passes:2}}}).apply(E)}}]));F(E,"nodeEnv",(()=>{if(N)return"production";if(j)return"development";return false}));const{splitChunks:q}=E;if(q){A(q,"defaultSizeTypes",(()=>["javascript","unknown"]));D(q,"hidePathInfo",N);D(q,"chunks","async");D(q,"usedExports",E.usedExports===true);D(q,"minChunks",1);F(q,"minSize",(()=>N?2e4:1e4));F(q,"minRemainingSize",(()=>j?0:undefined));F(q,"enforceSizeThreshold",(()=>N?5e4:3e4));F(q,"maxAsyncRequests",(()=>N?30:Infinity));F(q,"maxInitialRequests",(()=>N?30:Infinity));D(q,"automaticNameDelimiter","-");const{cacheGroups:R}=q;F(R,"default",(()=>({idHint:"",reuseExistingChunk:true,minChunks:2,priority:-20})));F(R,"defaultVendors",(()=>({idHint:"vendors",reuseExistingChunk:true,test:le,priority:-10})))}};const getResolveDefaults=({cache:E,context:N,targetProperties:R,mode:j})=>{const $=["webpack"];$.push(j==="development"?"development":"production");if(R){if(R.webworker)$.push("worker");if(R.node)$.push("node");if(R.web)$.push("browser");if(R.electron)$.push("electron");if(R.nwjs)$.push("nwjs")}const q=[".js",".json",".wasm"];const G=R;const ie=G&&G.web&&(!G.node||G.electron&&G.electronRenderer);const cjsDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["require","module","..."],extensions:[...q]});const esmDeps=()=>({aliasFields:ie?["browser"]:[],mainFields:ie?["browser","module","..."]:["module","..."],conditionNames:["import","module","..."],extensions:[...q]});const ae={cache:E,modules:["node_modules"],conditionNames:$,mainFiles:["index"],extensions:[],aliasFields:[],exportsFields:["exports"],roots:[N],mainFields:["main"],byDependency:{wasm:esmDeps(),esm:esmDeps(),loaderImport:esmDeps(),url:{preferRelative:true},worker:{...esmDeps(),preferRelative:true},commonjs:cjsDeps(),amd:cjsDeps(),loader:cjsDeps(),unknown:cjsDeps(),undefined:cjsDeps()}};return ae};const getResolveLoaderDefaults=({cache:E})=>{const N={cache:E,conditionNames:["loader","require","node"],exportsFields:["exports"],mainFields:["loader","main"],extensions:[".js"],mainFiles:["index"]};return N};const applyInfrastructureLoggingDefaults=E=>{F(E,"stream",(()=>process.stderr));const N=E.stream.isTTY&&process.env.TERM!=="dumb";D(E,"level","info");D(E,"debug",false);D(E,"colors",N);D(E,"appendOnly",!N)};N.applyWebpackOptionsBaseDefaults=applyWebpackOptionsBaseDefaults;N.applyWebpackOptionsDefaults=applyWebpackOptionsDefaults},96590:(E,N,R)=>{"use strict";const j=R(73837);const $=j.deprecate(((E,N)=>{if(N!==undefined&&!E===!N){throw new Error("Conflicting use of 'optimization.noEmitOnErrors' and 'optimization.emitOnErrors'. Remove deprecated 'optimization.noEmitOnErrors' from config.")}return!E}),"optimization.noEmitOnErrors is deprecated in favor of optimization.emitOnErrors","DEP_WEBPACK_CONFIGURATION_OPTIMIZATION_NO_EMIT_ON_ERRORS");const nestedConfig=(E,N)=>E===undefined?N({}):N(E);const cloneObject=E=>({...E});const optionalNestedConfig=(E,N)=>E===undefined?undefined:N(E);const nestedArray=(E,N)=>Array.isArray(E)?N(E):N([]);const optionalNestedArray=(E,N)=>Array.isArray(E)?N(E):undefined;const keyedNestedConfig=(E,N,R)=>{const j=E===undefined?{}:Object.keys(E).reduce(((j,$)=>(j[$]=(R&&$ in R?R[$]:N)(E[$]),j)),{});if(R){for(const E of Object.keys(R)){if(!(E in j)){j[E]=R[E]({})}}}return j};const getNormalizedWebpackOptions=E=>({amd:E.amd,bail:E.bail,cache:optionalNestedConfig(E.cache,(E=>{if(E===false)return false;if(E===true){return{type:"memory",maxGenerations:undefined}}switch(E.type){case"filesystem":return{type:"filesystem",allowCollectingMemory:E.allowCollectingMemory,maxMemoryGenerations:E.maxMemoryGenerations,maxAge:E.maxAge,profile:E.profile,buildDependencies:cloneObject(E.buildDependencies),cacheDirectory:E.cacheDirectory,cacheLocation:E.cacheLocation,hashAlgorithm:E.hashAlgorithm,compression:E.compression,idleTimeout:E.idleTimeout,idleTimeoutForInitialStore:E.idleTimeoutForInitialStore,idleTimeoutAfterLargeChanges:E.idleTimeoutAfterLargeChanges,name:E.name,store:E.store,version:E.version};case undefined:case"memory":return{type:"memory",maxGenerations:E.maxGenerations};default:throw new Error(`Not implemented cache.type ${E.type}`)}})),context:E.context,dependencies:E.dependencies,devServer:optionalNestedConfig(E.devServer,(E=>({...E}))),devtool:E.devtool,entry:E.entry===undefined?{main:{}}:typeof E.entry==="function"?(E=>()=>Promise.resolve().then(E).then(getNormalizedEntryStatic))(E.entry):getNormalizedEntryStatic(E.entry),experiments:nestedConfig(E.experiments,(E=>({...E,buildHttp:optionalNestedConfig(E.buildHttp,(E=>Array.isArray(E)?{allowedUris:E}:E)),lazyCompilation:optionalNestedConfig(E.lazyCompilation,(E=>E===true?{}:E===false?undefined:E))}))),externals:E.externals,externalsPresets:cloneObject(E.externalsPresets),externalsType:E.externalsType,ignoreWarnings:E.ignoreWarnings?E.ignoreWarnings.map((E=>{if(typeof E==="function")return E;const N=E instanceof RegExp?{message:E}:E;return(E,{requestShortener:R})=>{if(!N.message&&!N.module&&!N.file)return false;if(N.message&&!N.message.test(E.message)){return false}if(N.module&&(!E.module||!N.module.test(E.module.readableIdentifier(R)))){return false}if(N.file&&(!E.file||!N.file.test(E.file))){return false}return true}})):undefined,infrastructureLogging:cloneObject(E.infrastructureLogging),loader:cloneObject(E.loader),mode:E.mode,module:nestedConfig(E.module,(E=>({noParse:E.noParse,unsafeCache:E.unsafeCache,parser:keyedNestedConfig(E.parser,cloneObject,{javascript:N=>({unknownContextRequest:E.unknownContextRequest,unknownContextRegExp:E.unknownContextRegExp,unknownContextRecursive:E.unknownContextRecursive,unknownContextCritical:E.unknownContextCritical,exprContextRequest:E.exprContextRequest,exprContextRegExp:E.exprContextRegExp,exprContextRecursive:E.exprContextRecursive,exprContextCritical:E.exprContextCritical,wrappedContextRegExp:E.wrappedContextRegExp,wrappedContextRecursive:E.wrappedContextRecursive,wrappedContextCritical:E.wrappedContextCritical,strictExportPresence:E.strictExportPresence,strictThisContextOnImports:E.strictThisContextOnImports,...N})}),generator:cloneObject(E.generator),defaultRules:optionalNestedArray(E.defaultRules,(E=>[...E])),rules:nestedArray(E.rules,(E=>[...E]))}))),name:E.name,node:nestedConfig(E.node,(E=>E&&{...E})),optimization:nestedConfig(E.optimization,(E=>({...E,runtimeChunk:getNormalizedOptimizationRuntimeChunk(E.runtimeChunk),splitChunks:nestedConfig(E.splitChunks,(E=>E&&{...E,defaultSizeTypes:E.defaultSizeTypes?[...E.defaultSizeTypes]:["..."],cacheGroups:cloneObject(E.cacheGroups)})),emitOnErrors:E.noEmitOnErrors!==undefined?$(E.noEmitOnErrors,E.emitOnErrors):E.emitOnErrors}))),output:nestedConfig(E.output,(E=>{const{library:N}=E;const R=N;const j=typeof N==="object"&&N&&!Array.isArray(N)&&"type"in N?N:R||E.libraryTarget?{name:R}:undefined;const $={assetModuleFilename:E.assetModuleFilename,charset:E.charset,chunkFilename:E.chunkFilename,chunkFormat:E.chunkFormat,chunkLoading:E.chunkLoading,chunkLoadingGlobal:E.chunkLoadingGlobal,chunkLoadTimeout:E.chunkLoadTimeout,clean:E.clean,compareBeforeEmit:E.compareBeforeEmit,crossOriginLoading:E.crossOriginLoading,devtoolFallbackModuleFilenameTemplate:E.devtoolFallbackModuleFilenameTemplate,devtoolModuleFilenameTemplate:E.devtoolModuleFilenameTemplate,devtoolNamespace:E.devtoolNamespace,environment:cloneObject(E.environment),enabledChunkLoadingTypes:E.enabledChunkLoadingTypes?[...E.enabledChunkLoadingTypes]:["..."],enabledLibraryTypes:E.enabledLibraryTypes?[...E.enabledLibraryTypes]:["..."],enabledWasmLoadingTypes:E.enabledWasmLoadingTypes?[...E.enabledWasmLoadingTypes]:["..."],filename:E.filename,globalObject:E.globalObject,hashDigest:E.hashDigest,hashDigestLength:E.hashDigestLength,hashFunction:E.hashFunction,hashSalt:E.hashSalt,hotUpdateChunkFilename:E.hotUpdateChunkFilename,hotUpdateGlobal:E.hotUpdateGlobal,hotUpdateMainFilename:E.hotUpdateMainFilename,iife:E.iife,importFunctionName:E.importFunctionName,importMetaName:E.importMetaName,scriptType:E.scriptType,library:j&&{type:E.libraryTarget!==undefined?E.libraryTarget:j.type,auxiliaryComment:E.auxiliaryComment!==undefined?E.auxiliaryComment:j.auxiliaryComment,export:E.libraryExport!==undefined?E.libraryExport:j.export,name:j.name,umdNamedDefine:E.umdNamedDefine!==undefined?E.umdNamedDefine:j.umdNamedDefine},module:E.module,path:E.path,pathinfo:E.pathinfo,publicPath:E.publicPath,sourceMapFilename:E.sourceMapFilename,sourcePrefix:E.sourcePrefix,strictModuleExceptionHandling:E.strictModuleExceptionHandling,trustedTypes:optionalNestedConfig(E.trustedTypes,(E=>{if(E===true)return{};if(typeof E==="string")return{policyName:E};return{...E}})),uniqueName:E.uniqueName,wasmLoading:E.wasmLoading,webassemblyModuleFilename:E.webassemblyModuleFilename,workerChunkLoading:E.workerChunkLoading,workerWasmLoading:E.workerWasmLoading};return $})),parallelism:E.parallelism,performance:optionalNestedConfig(E.performance,(E=>{if(E===false)return false;return{...E}})),plugins:nestedArray(E.plugins,(E=>[...E])),profile:E.profile,recordsInputPath:E.recordsInputPath!==undefined?E.recordsInputPath:E.recordsPath,recordsOutputPath:E.recordsOutputPath!==undefined?E.recordsOutputPath:E.recordsPath,resolve:nestedConfig(E.resolve,(E=>({...E,byDependency:keyedNestedConfig(E.byDependency,cloneObject)}))),resolveLoader:cloneObject(E.resolveLoader),snapshot:nestedConfig(E.snapshot,(E=>({resolveBuildDependencies:optionalNestedConfig(E.resolveBuildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),buildDependencies:optionalNestedConfig(E.buildDependencies,(E=>({timestamp:E.timestamp,hash:E.hash}))),resolve:optionalNestedConfig(E.resolve,(E=>({timestamp:E.timestamp,hash:E.hash}))),module:optionalNestedConfig(E.module,(E=>({timestamp:E.timestamp,hash:E.hash}))),immutablePaths:optionalNestedArray(E.immutablePaths,(E=>[...E])),managedPaths:optionalNestedArray(E.managedPaths,(E=>[...E]))}))),stats:nestedConfig(E.stats,(E=>{if(E===false){return{preset:"none"}}if(E===true){return{preset:"normal"}}if(typeof E==="string"){return{preset:E}}return{...E}})),target:E.target,watch:E.watch,watchOptions:cloneObject(E.watchOptions)});const getNormalizedEntryStatic=E=>{if(typeof E==="string"){return{main:{import:[E]}}}if(Array.isArray(E)){return{main:{import:E}}}const N={};for(const R of Object.keys(E)){const j=E[R];if(typeof j==="string"){N[R]={import:[j]}}else if(Array.isArray(j)){N[R]={import:j}}else{N[R]={import:j.import&&(Array.isArray(j.import)?j.import:[j.import]),filename:j.filename,layer:j.layer,runtime:j.runtime,publicPath:j.publicPath,chunkLoading:j.chunkLoading,wasmLoading:j.wasmLoading,dependOn:j.dependOn&&(Array.isArray(j.dependOn)?j.dependOn:[j.dependOn]),library:j.library}}}return N};const getNormalizedOptimizationRuntimeChunk=E=>{if(E===undefined)return undefined;if(E===false)return false;if(E==="single"){return{name:()=>"runtime"}}if(E===true||E==="multiple"){return{name:E=>`runtime~${E.name}`}}const{name:N}=E;return{name:typeof N==="function"?N:()=>N}};N.getNormalizedWebpackOptions=getNormalizedWebpackOptions},71322:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(27509)));const getDefaultTarget=E=>{const N=$().load(null,E);return N?"browserslist":"web"};const versionDependent=(E,N)=>{if(!E)return()=>undefined;E=+E;N=N?+N:0;return(R,j=0)=>E>R||E===R&&N>=j};const q=[["browserslist / browserslist:env / browserslist:query / browserslist:path-to-config / browserslist:path-to-config:env","Resolve features from browserslist. Will resolve browserslist config automatically. Only browser or node queries are supported (electron is not supported). Examples: 'browserslist:modern' to use 'modern' environment from browserslist config",/^browserslist(?::(.+))?$/,(E,N)=>{const R=$();const j=R.load(E?E.trim():null,N);if(!j){throw new Error(`No browserslist config found to handle the 'browserslist' target.\nSee https://github.com/browserslist/browserslist#queries for possible ways to provide a config.\nThe recommended way is to add a 'browserslist' key to your package.json and list supported browsers (resp. node.js versions).\nYou can also more options via the 'target' option: 'browserslist' / 'browserslist:env' / 'browserslist:query' / 'browserslist:path-to-config' / 'browserslist:path-to-config:env'`)}return R.resolve(j)}],["web","Web browser.",/^web$/,()=>({web:true,browser:true,webworker:null,node:false,electron:false,nwjs:false,document:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,importScripts:false,require:false,global:false})],["webworker","Web Worker, SharedWorker or Service Worker.",/^webworker$/,()=>({web:true,browser:true,webworker:true,node:false,electron:false,nwjs:false,importScripts:true,importScriptsInWorker:true,fetchWasm:true,nodeBuiltins:false,require:false,document:false,global:false})],["[async-]node[X[.Y]]","Node.js in version X.Y. The 'async-' prefix will load chunks asynchronously via 'fs' and 'vm' instead of 'require()'. Examples: node14.5, async-node10.",/^(async-)?node(\d+(?:\.(\d+))?)?$/,(E,N,R)=>{const j=versionDependent(N,R);return{node:true,electron:false,nwjs:false,web:false,webworker:false,browser:false,require:!E,nodeBuiltins:true,global:true,document:false,fetchWasm:false,importScripts:false,importScriptsInWorker:false,globalThis:j(12),const:j(6),arrowFunction:j(6),forOf:j(5),destructuring:j(6),bigIntLiteral:j(10,4),dynamicImport:j(12,17),dynamicImportInWorker:N?false:undefined,module:j(12,17)}}],["electron[X[.Y]]-main/preload/renderer","Electron in version X.Y. Script is running in main, preload resp. renderer context.",/^electron(\d+(?:\.(\d+))?)?-(main|preload|renderer)$/,(E,N,R)=>{const j=versionDependent(E,N);return{node:true,electron:true,web:R!=="main",webworker:false,browser:false,nwjs:false,electronMain:R==="main",electronPreload:R==="preload",electronRenderer:R==="renderer",global:true,nodeBuiltins:true,require:true,document:R==="renderer",fetchWasm:R==="renderer",importScripts:false,importScriptsInWorker:true,globalThis:j(5),const:j(1,1),arrowFunction:j(1,1),forOf:j(0,36),destructuring:j(1,1),bigIntLiteral:j(4),dynamicImport:j(11),dynamicImportInWorker:E?false:undefined,module:j(11)}}],["nwjs[X[.Y]] / node-webkit[X[.Y]]","NW.js in version X.Y.",/^(?:nwjs|node-webkit)(\d+(?:\.(\d+))?)?$/,(E,N)=>{const R=versionDependent(E,N);return{node:true,web:true,nwjs:true,webworker:null,browser:false,electron:false,global:true,nodeBuiltins:true,document:false,importScriptsInWorker:false,fetchWasm:false,importScripts:false,require:false,globalThis:R(0,43),const:R(0,15),arrowFunction:R(0,15),forOf:R(0,13),destructuring:R(0,15),bigIntLiteral:R(0,32),dynamicImport:R(0,43),dynamicImportInWorker:E?false:undefined,module:R(0,43)}}],["esX","EcmaScript in this version. Examples: es2020, es5.",/^es(\d+)$/,E=>{let N=+E;if(N<1e3)N=N+2009;return{const:N>=2015,arrowFunction:N>=2015,forOf:N>=2015,destructuring:N>=2015,module:N>=2015,globalThis:N>=2020,bigIntLiteral:N>=2020,dynamicImport:N>=2020,dynamicImportInWorker:N>=2020}}]];const getTargetProperties=(E,N)=>{for(const[,,R,j]of q){const $=R.exec(E);if($){const[,...E]=$;const R=j(...E,N);if(R)return R}}throw new Error(`Unknown target '${E}'. The following targets are supported:\n${q.map((([E,N])=>`* ${E}: ${N}`)).join("\n")}`)};const mergeTargetProperties=E=>{const N=new Set;for(const R of E){for(const E of Object.keys(R)){N.add(E)}}const R={};for(const j of N){let N=false;let $=false;for(const R of E){const E=R[j];switch(E){case true:N=true;break;case false:$=true;break}}if(N||$)R[j]=$&&N?null:N?true:false}return R};const getTargetsProperties=(E,N)=>mergeTargetProperties(E.map((E=>getTargetProperties(E,N))));N.getDefaultTarget=getDefaultTarget;N.getTargetProperties=getTargetProperties;N.getTargetsProperties=getTargetsProperties},76041:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ContainerEntryDependency extends j{constructor(E,N,R){super();this.name=E;this.exposes=N;this.shareScope=R}getResourceIdentifier(){return`container-entry-${this.name}`}get type(){return"container entry"}get category(){return"esm"}}$(ContainerEntryDependency,"webpack/lib/container/ContainerEntryDependency");E.exports=ContainerEntryDependency},89591:(E,N,R)=>{"use strict";const{OriginalSource:j,RawSource:$}=R(48135);const q=R(98221);const G=R(53453);const ie=R(76150);const ae=R(58159);const ce=R(56202);const le=R(4523);const _e=new Set(["javascript"]);class ContainerEntryModule extends G{constructor(E,N,R){super("javascript/dynamic",null);this._name=E;this._exposes=N;this._shareScope=R}getSourceTypes(){return _e}identifier(){return`container entry (${this._shareScope}) ${JSON.stringify(this._exposes)}`}readableIdentifier(E){return`container entry`}libIdent(E){return`webpack/container/entry/${this._name}`}needBuild(E,N){return N(null,!this.buildMeta)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true,topLevelDeclarations:new Set(["moduleMap","get","init"])};this.clearDependenciesAndBlocks();for(const[E,N]of this._exposes){const R=new q({name:N.name},{name:E},N.import[N.import.length-1]);let j=0;for(const $ of N.import){const N=new le(E,$);N.loc={name:E,index:j++};R.addDependency(N)}this.addBlock(R)}$()}codeGeneration({moduleGraph:E,chunkGraph:N,runtimeTemplate:R}){const q=new Map;const G=new Set([ie.definePropertyGetters,ie.hasOwnProperty,ie.exports]);const ce=[];for(const j of this.blocks){const{dependencies:$}=j;const q=$.map((N=>{const R=N;return{name:R.exposedName,module:E.getModule(R),request:R.userRequest}}));let ie;if(q.some((E=>!E.module))){ie=R.throwMissingModuleErrorBlock({request:q.map((E=>E.request)).join(", ")})}else{ie=`return ${R.blockPromise({block:j,message:"",chunkGraph:N,runtimeRequirements:G})}.then(${R.returningFunction(R.returningFunction(`(${q.map((({module:E,request:j})=>R.moduleRaw({module:E,chunkGraph:N,request:j,weak:false,runtimeRequirements:G}))).join(", ")})`))});`}ce.push(`${JSON.stringify(q[0].name)}: ${R.basicFunction("",ie)}`)}const le=ae.asString([`var moduleMap = {`,ae.indent(ce.join(",\n")),"};",`var get = ${R.basicFunction("module, getScope",[`${ie.currentRemoteGetScope} = getScope;`,"getScope = (",ae.indent([`${ie.hasOwnProperty}(moduleMap, module)`,ae.indent(["? moduleMap[module]()",`: Promise.resolve().then(${R.basicFunction("","throw new Error('Module \"' + module + '\" does not exist in container.');")})`])]),");",`${ie.currentRemoteGetScope} = undefined;`,"return getScope;"])};`,`var init = ${R.basicFunction("shareScope, initScope",[`if (!${ie.shareScopeMap}) return;`,`var oldScope = ${ie.shareScopeMap}[${JSON.stringify(this._shareScope)}];`,`var name = ${JSON.stringify(this._shareScope)}`,`if(oldScope && oldScope !== shareScope) throw new Error("Container initialization failed as it has already been initialized with a different share scope");`,`${ie.shareScopeMap}[name] = shareScope;`,`return ${ie.initializeSharing}(name, initScope);`])};`,"","// This exports getters to disallow modifications",`${ie.definePropertyGetters}(exports, {`,ae.indent([`get: ${R.returningFunction("get")},`,`init: ${R.returningFunction("init")}`]),"});"]);q.set("javascript",this.useSourceMap||this.useSimpleSourceMap?new j(le,"webpack/container-entry"):new $(le));return{sources:q,runtimeRequirements:G}}size(E){return 42}serialize(E){const{write:N}=E;N(this._name);N(this._exposes);N(this._shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ContainerEntryModule(N(),N(),N());R.deserialize(E);return R}}ce(ContainerEntryModule,"webpack/lib/container/ContainerEntryModule");E.exports=ContainerEntryModule},76912:(E,N,R)=>{"use strict";const j=R(40674);const $=R(89591);E.exports=class ContainerEntryModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.name,R.exposes,R.shareScope)})}}},4523:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ContainerExposedDependency extends j{constructor(E,N){super(N);this.exposedName=E}get type(){return"container exposed"}get category(){return"esm"}getResourceIdentifier(){return`exposed dependency ${this.exposedName}=${this.request}`}serialize(E){E.write(this.exposedName);super.serialize(E)}deserialize(E){this.exposedName=E.read();super.deserialize(E)}}$(ContainerExposedDependency,"webpack/lib/container/ContainerExposedDependency");E.exports=ContainerExposedDependency},10419:(E,N,R)=>{"use strict";const j=R(35817);const $=R(76041);const q=R(76912);const G=R(4523);const{parseOptions:ie}=R(97264);const ae=j(R(28633),(()=>R(93944)),{name:"Container Plugin",baseDataPath:"options"});const ce="ContainerPlugin";class ContainerPlugin{constructor(E){ae(E);this._options={name:E.name,shareScope:E.shareScope||"default",library:E.library||{type:"var",name:E.name},runtime:E.runtime,filename:E.filename||undefined,exposes:ie(E.exposes,(E=>({import:Array.isArray(E)?E:[E],name:undefined})),(E=>({import:Array.isArray(E.import)?E.import:[E.import],name:E.name||undefined})))}}apply(E){const{name:N,exposes:R,shareScope:j,filename:ie,library:ae,runtime:le}=this._options;E.options.output.enabledLibraryTypes.push(ae.type);E.hooks.make.tapAsync(ce,((E,q)=>{const G=new $(N,R,j);G.loc={name:N};E.addEntry(E.options.context,G,{name:N,filename:ie,runtime:le,library:ae},(E=>{if(E)return q(E);q()}))}));E.hooks.thisCompilation.tap(ce,((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,new q);E.dependencyFactories.set(G,N)}))}}E.exports=ContainerPlugin},68839:(E,N,R)=>{"use strict";const j=R(61050);const $=R(76150);const q=R(35817);const G=R(27426);const ie=R(55525);const ae=R(68005);const ce=R(68679);const le=R(31122);const _e=R(44742);const{parseOptions:Ee}=R(97264);const Te=q(R(12e3),(()=>R(38279)),{name:"Container Reference Plugin",baseDataPath:"options"});const we="/".charCodeAt(0);class ContainerReferencePlugin{constructor(E){Te(E);this._remoteType=E.remoteType;this._remotes=Ee(E.remotes,(N=>({external:Array.isArray(N)?N:[N],shareScope:E.shareScope||"default"})),(N=>({external:Array.isArray(N.external)?N.external:[N.external],shareScope:N.shareScope||E.shareScope||"default"})))}apply(E){const{_remotes:N,_remoteType:R}=this;const q={};for(const[E,R]of N){let N=0;for(const j of R.external){if(j.startsWith("internal "))continue;q[`webpack/container/reference/${E}${N?`/fallback-${N}`:""}`]=j;N++}}new j(R,q).apply(E);E.hooks.compilation.tap("ContainerReferencePlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(_e,R);E.dependencyFactories.set(ie,R);E.dependencyFactories.set(G,new ae);R.hooks.factorize.tap("ContainerReferencePlugin",(E=>{if(!E.request.includes("!")){for(const[R,j]of N){if(E.request.startsWith(`${R}`)&&(E.request.length===R.length||E.request.charCodeAt(R.length)===we)){return new ce(E.request,j.external.map(((E,N)=>E.startsWith("internal ")?E.slice(9):`webpack/container/reference/${R}${N?`/fallback-${N}`:""}`)),`.${E.request.slice(R.length)}`,j.shareScope)}}}}));E.hooks.runtimeRequirementInTree.for($.ensureChunkHandlers).tap("ContainerReferencePlugin",((N,R)=>{R.add($.module);R.add($.moduleFactoriesAddOnly);R.add($.hasOwnProperty);R.add($.initializeSharing);R.add($.shareScopeMap);E.addRuntimeModule(N,new le)}))}))}}E.exports=ContainerReferencePlugin},27426:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class FallbackDependency extends j{constructor(E){super();this.requests=E}getResourceIdentifier(){return`fallback ${this.requests.join(" ")}`}get type(){return"fallback"}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackDependency(N());R.deserialize(E);return R}}$(FallbackDependency,"webpack/lib/container/FallbackDependency");E.exports=FallbackDependency},55525:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class FallbackItemDependency extends j{constructor(E){super(E)}get type(){return"fallback item"}get category(){return"esm"}}$(FallbackItemDependency,"webpack/lib/container/FallbackItemDependency");E.exports=FallbackItemDependency},13386:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(58159);const ie=R(56202);const ae=R(55525);const ce=new Set(["javascript"]);const le=new Set([q.module]);class FallbackModule extends ${constructor(E){super("fallback-module");this.requests=E;this._identifier=`fallback ${this.requests.join(" ")}`}identifier(){return this._identifier}readableIdentifier(E){return this._identifier}libIdent(E){return`webpack/container/fallback/${this.requests[0]}/and ${this.requests.length-1} more`}chunkCondition(E,{chunkGraph:N}){return N.getNumberOfEntryModules(E)>0}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();for(const E of this.requests)this.addDependency(new ae(E));$()}size(E){return this.requests.length*5+42}getSourceTypes(){return ce}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=this.dependencies.map((E=>R.getModuleId(N.getModule(E))));const q=G.asString([`var ids = ${JSON.stringify($)};`,"var error, result, i = 0;",`var loop = ${E.basicFunction("next",["while(i < ids.length) {",G.indent(["try { next = __webpack_require__(ids[i++]); } catch(e) { return handleError(e); }","if(next) return next.then ? next.then(handleResult, handleError) : handleResult(next);"]),"}","if(error) throw error;"])}`,`var handleResult = ${E.basicFunction("result",["if(result) return result;","return loop();"])};`,`var handleError = ${E.basicFunction("e",["error = e;","return loop();"])};`,"module.exports = loop();"]);const ie=new Map;ie.set("javascript",new j(q));return{sources:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.requests);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new FallbackModule(N());R.deserialize(E);return R}}ie(FallbackModule,"webpack/lib/container/FallbackModule");E.exports=FallbackModule},68005:(E,N,R)=>{"use strict";const j=R(40674);const $=R(13386);E.exports=class FallbackModuleFactory extends j{create({dependencies:[E]},N){const R=E;N(null,{module:new $(R.requests)})}}},8019:(E,N,R)=>{"use strict";const j=R(92483);const $=R(16471);const q=R(35817);const G=R(10419);const ie=R(68839);const ae=q(R(43329),(()=>R(85195)),{name:"Module Federation Plugin",baseDataPath:"options"});class ModuleFederationPlugin{constructor(E){ae(E);this._options=E}apply(E){const{_options:N}=this;const R=N.library||{type:"var",name:N.name};const q=N.remoteType||(N.library&&j(N.library.type)?N.library.type:"script");if(R&&!E.options.output.enabledLibraryTypes.includes(R.type)){E.options.output.enabledLibraryTypes.push(R.type)}E.hooks.afterPlugins.tap("ModuleFederationPlugin",(()=>{if(N.exposes&&(Array.isArray(N.exposes)?N.exposes.length>0:Object.keys(N.exposes).length>0)){new G({name:N.name,library:R,filename:N.filename,runtime:N.runtime,exposes:N.exposes}).apply(E)}if(N.remotes&&(Array.isArray(N.remotes)?N.remotes.length>0:Object.keys(N.remotes).length>0)){new ie({remoteType:q,remotes:N.remotes}).apply(E)}if(N.shared){new $({shared:N.shared,shareScope:N.shareScope}).apply(E)}}))}}E.exports=ModuleFederationPlugin},68679:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(27426);const ae=R(44742);const ce=new Set(["remote","share-init"]);const le=new Set([q.module]);class RemoteModule extends ${constructor(E,N,R,j){super("remote-module");this.request=E;this.externalRequests=N;this.internalRequest=R;this.shareScope=j;this._identifier=`remote (${j}) ${this.externalRequests.join(" ")} ${this.internalRequest}`}identifier(){return this._identifier}readableIdentifier(E){return`remote ${this.request}`}libIdent(E){return`webpack/container/remote/${this.request}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,$){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();if(this.externalRequests.length===1){this.addDependency(new ae(this.externalRequests[0]))}else{this.addDependency(new ie(this.externalRequests))}$()}size(E){return 6}getSourceTypes(){return ce}nameForCondition(){return this.request}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const $=N.getModule(this.dependencies[0]);const q=$&&R.getModuleId($);const G=new Map;G.set("remote",new j(""));const ie=new Map;ie.set("share-init",[{shareScope:this.shareScope,initStage:20,init:q===undefined?"":`initExternal(${JSON.stringify(q)});`}]);return{sources:G,data:ie,runtimeRequirements:le}}serialize(E){const{write:N}=E;N(this.request);N(this.externalRequests);N(this.internalRequest);N(this.shareScope);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new RemoteModule(N(),N(),N(),N());R.deserialize(E);return R}}G(RemoteModule,"webpack/lib/container/RemoteModule");E.exports=RemoteModule},31122:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class RemoteRuntimeModule extends ${constructor(){super("remotes loading")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,moduleGraph:$}=E;const G={};const ie={};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"remote");if(!R)continue;const j=G[E.id]=[];for(const E of R){const R=E;const q=R.internalRequest;const G=N.getModuleId(R);const ae=R.shareScope;const ce=R.dependencies[0];const le=$.getModule(ce);const _e=le&&N.getModuleId(le);j.push(G);ie[G]=[ae,q,_e]}}return q.asString([`var chunkMapping = ${JSON.stringify(G,null,"\t")};`,`var idToExternalAndNameMapping = ${JSON.stringify(ie,null,"\t")};`,`${j.ensureChunkHandlers}.remotes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`var getScope = ${j.currentRemoteGetScope};`,"if(!getScope) getScope = [];","var data = idToExternalAndNameMapping[id];","if(getScope.indexOf(data) >= 0) return;","getScope.push(data);",`if(data.p) return promises.push(data.p);`,`var onError = ${R.basicFunction("error",['if(!error) error = new Error("Container missing");','if(typeof error.message === "string")',q.indent(`error.message += '\\nwhile loading "' + data[1] + '" from ' + data[2];`),`__webpack_modules__[id] = ${R.basicFunction("",["throw error;"])}`,"data.p = 0;"])};`,`var handleFunction = ${R.basicFunction("fn, arg1, arg2, d, next, first",["try {",q.indent(["var promise = fn(arg1, arg2);","if(promise && promise.then) {",q.indent([`var p = promise.then(${R.returningFunction("next(result, d)","result")}, onError);`,`if(first) promises.push(data.p = p); else return p;`]),"} else {",q.indent(["return next(promise, d, first);"]),"}"]),"} catch(error) {",q.indent(["onError(error);"]),"}"])}`,`var onExternal = ${R.returningFunction(`external ? handleFunction(${j.initializeSharing}, data[0], 0, external, onInitialized, first) : onError()`,"external, _, first")};`,`var onInitialized = ${R.returningFunction(`handleFunction(external.get, data[1], getScope, 0, onFactory, first)`,"_, external, first")};`,`var onFactory = ${R.basicFunction("factory",["data.p = 1;",`__webpack_modules__[id] = ${R.basicFunction("module",["module.exports = factory();"])}`])};`,"handleFunction(__webpack_require__, data[2], 0, 0, onExternal, 1);"])});`]),"}"])}`])}}E.exports=RemoteRuntimeModule},44742:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class RemoteToExternalDependency extends j{constructor(E){super(E)}get type(){return"remote to external"}get category(){return"esm"}}$(RemoteToExternalDependency,"webpack/lib/container/RemoteToExternalDependency");E.exports=RemoteToExternalDependency},97264:(E,N)=>{"use strict";const process=(E,N,R,j)=>{const array=E=>{for(const R of E){if(typeof R==="string"){j(R,N(R,R))}else if(R&&typeof R==="object"){object(R)}else{throw new Error("Unexpected options format")}}};const object=E=>{for(const[$,q]of Object.entries(E)){if(typeof q==="string"||Array.isArray(q)){j($,N(q,$))}else{j($,R(q,$))}}};if(!E){return}else if(Array.isArray(E)){array(E)}else if(typeof E==="object"){object(E)}else{throw new Error("Unexpected options format")}};const parseOptions=(E,N,R)=>{const j=[];process(E,N,R,((E,N)=>{j.push([E,N])}));return j};const scope=(E,N)=>{const R={};process(N,(E=>E),(E=>E),((N,j)=>{R[N.startsWith("./")?`${E}${N.slice(1)}`:`${E}/${N}`]=j}));return R};N.parseOptions=parseOptions;N.scope=scope},26802:(E,N,R)=>{"use strict";const{Tracer:j}=R(25954);const $=R(35817);const{dirname:q,mkdirpSync:G}=R(95396);const ie=$(R(2282),(()=>R(78555)),{name:"Profiling Plugin",baseDataPath:"options"});let ae=undefined;try{ae=R(31405)}catch(E){console.log("Unable to CPU profile in < node 8.0")}class Profiler{constructor(E){this.session=undefined;this.inspector=E;this._startTime=0}hasSession(){return this.session!==undefined}startProfiling(){if(this.inspector===undefined){return Promise.resolve()}try{this.session=new ae.Session;this.session.connect()}catch(E){this.session=undefined;return Promise.resolve()}const E=process.hrtime();this._startTime=E[0]*1e6+Math.round(E[1]/1e3);return Promise.all([this.sendCommand("Profiler.setSamplingInterval",{interval:100}),this.sendCommand("Profiler.enable"),this.sendCommand("Profiler.start")])}sendCommand(E,N){if(this.hasSession()){return new Promise(((R,j)=>this.session.post(E,N,((E,N)=>{if(E!==null){j(E)}else{R(N)}}))))}else{return Promise.resolve()}}destroy(){if(this.hasSession()){this.session.disconnect()}return Promise.resolve()}stopProfiling(){return this.sendCommand("Profiler.stop").then((({profile:E})=>{const N=process.hrtime();const R=N[0]*1e6+Math.round(N[1]/1e3);if(E.startTimeR){const N=E.endTime-E.startTime;const j=R-this._startTime;const $=Math.max(0,j-N);E.startTime=this._startTime+$/2;E.endTime=R-$/2}return{profile:E}}))}}const createTrace=(E,N)=>{const R=new j({noStream:true});const $=new Profiler(ae);if(/\/|\\/.test(N)){const R=q(E,N);G(E,R)}const ie=E.createWriteStream(N);let ce=0;R.pipe(ie);R.instantEvent({name:"TracingStartedInPage",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1",page:"0xfff",frames:[{frame:"0xfff",url:"webpack",name:""}]}}});R.instantEvent({name:"TracingStartedInBrowser",id:++ce,cat:["disabled-by-default-devtools.timeline"],args:{data:{sessionId:"-1"}}});return{trace:R,counter:ce,profiler:$,end:E=>{ie.on("close",(()=>{E()}));R.push(null)}}};const ce="ProfilingPlugin";class ProfilingPlugin{constructor(E={}){ie(E);this.outputPath=E.outputPath||"events.json"}apply(E){const N=createTrace(E.intermediateFileSystem,this.outputPath);N.profiler.startProfiling();Object.keys(E.hooks).forEach((R=>{E.hooks[R].intercept(makeInterceptorFor("Compiler",N)(R))}));Object.keys(E.resolverFactory.hooks).forEach((R=>{E.resolverFactory.hooks[R].intercept(makeInterceptorFor("Resolver",N)(R))}));E.hooks.compilation.tap(ce,((E,{normalModuleFactory:R,contextModuleFactory:j})=>{interceptAllHooksFor(E,N,"Compilation");interceptAllHooksFor(R,N,"Normal Module Factory");interceptAllHooksFor(j,N,"Context Module Factory");interceptAllParserHooks(R,N);interceptAllJavascriptModulesPluginHooks(E,N)}));E.hooks.done.tapAsync({name:ce,stage:Infinity},((E,R)=>{N.profiler.stopProfiling().then((E=>{if(E===undefined){N.profiler.destroy();N.trace.flush();N.end(R);return}const j=E.profile.startTime;const $=E.profile.endTime;N.trace.completeEvent({name:"TaskQueueManager::ProcessTaskFromWorkQueue",id:++N.counter,cat:["toplevel"],ts:j,args:{src_file:"../../ipc/ipc_moji_bootstrap.cc",src_func:"Accept"}});N.trace.completeEvent({name:"EvaluateScript",id:++N.counter,cat:["devtools.timeline"],ts:j,dur:$-j,args:{data:{url:"webpack",lineNumber:1,columnNumber:1,frame:"0xFFF"}}});N.trace.instantEvent({name:"CpuProfile",id:++N.counter,cat:["disabled-by-default-devtools.timeline"],ts:$,args:{data:{cpuProfile:E.profile}}});N.profiler.destroy();N.trace.flush();N.end(R)}))}))}}const interceptAllHooksFor=(E,N,R)=>{if(Reflect.has(E,"hooks")){Object.keys(E.hooks).forEach((j=>{const $=E.hooks[j];if(!$._fakeHook){$.intercept(makeInterceptorFor(R,N)(j))}}))}};const interceptAllParserHooks=(E,N)=>{const R=["javascript/auto","javascript/dynamic","javascript/esm","json","webassembly/async","webassembly/sync"];R.forEach((R=>{E.hooks.parser.for(R).tap("ProfilingPlugin",((E,R)=>{interceptAllHooksFor(E,N,"Parser")}))}))};const interceptAllJavascriptModulesPluginHooks=(E,N)=>{interceptAllHooksFor({hooks:R(18161).getCompilationHooks(E)},N,"JavascriptModulesPlugin")};const makeInterceptorFor=(E,N)=>E=>({register:({name:R,type:j,context:$,fn:q})=>{const G=makeNewProfiledTapFn(E,N,{name:R,type:j,fn:q});return{name:R,type:j,context:$,fn:G}}});const makeNewProfiledTapFn=(E,N,{name:R,type:j,fn:$})=>{const q=["blink.user_timing"];switch(j){case"promise":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=$(...E);return G.then((E=>{N.trace.end({name:R,id:j,cat:q});return E}))};case"async":return(...E)=>{const j=++N.counter;N.trace.begin({name:R,id:j,cat:q});const G=E.pop();$(...E,((...E)=>{N.trace.end({name:R,id:j,cat:q});G(...E)}))};case"sync":return(...E)=>{const j=++N.counter;if(R===ce){return $(...E)}N.trace.begin({name:R,id:j,cat:q});let G;try{G=$(...E)}catch(E){N.trace.end({name:R,id:j,cat:q});throw E}N.trace.end({name:R,id:j,cat:q});return G};default:break}};E.exports=ProfilingPlugin;E.exports.Profiler=Profiler},46960:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);const G={f:{definition:"var __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_RESULT__ = (#).call(exports, __webpack_require__, exports, module),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},o:{definition:"",content:"!(module.exports = #)",requests:[j.module]},of:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :\n\t\t__WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.require,j.exports,j.module]},af:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_RESULT__ = (#).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},ao:{definition:"",content:"!(#, module.exports = #)",requests:[j.module]},aof:{definition:"var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;",content:`!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, __WEBPACK_AMD_DEFINE_FACTORY__ = (#),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?\n\t\t(__WEBPACK_AMD_DEFINE_FACTORY__.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__)) : __WEBPACK_AMD_DEFINE_FACTORY__),\n\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__))`,requests:[j.exports,j.module]},lf:{definition:"var XXX, XXXmodule;",content:"!(XXXmodule = { id: YYY, exports: {}, loaded: false }, XXX = (#).call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule), XXXmodule.loaded = true, XXX === undefined && (XXX = XXXmodule.exports))",requests:[j.require,j.module]},lo:{definition:"var XXX;",content:"!(XXX = #)",requests:[]},lof:{definition:"var XXX, XXXfactory, XXXmodule;",content:"!(XXXfactory = (#), (typeof XXXfactory === 'function' ? ((XXXmodule = { id: YYY, exports: {}, loaded: false }), (XXX = XXXfactory.call(XXXmodule.exports, __webpack_require__, XXXmodule.exports, XXXmodule)), (XXXmodule.loaded = true), XXX === undefined && (XXX = XXXmodule.exports)) : XXX = XXXfactory))",requests:[j.require,j.module]},laf:{definition:"var __WEBPACK_AMD_DEFINE_ARRAY__, XXX, XXXexports;",content:"!(__WEBPACK_AMD_DEFINE_ARRAY__ = #, XXX = (#).apply(XXXexports = {}, __WEBPACK_AMD_DEFINE_ARRAY__), XXX === undefined && (XXX = XXXexports))",requests:[]},lao:{definition:"var XXX;",content:"!(#, XXX = #)",requests:[]},laof:{definition:"var XXXarray, XXXfactory, XXXexports, XXX;",content:`!(XXXarray = #, XXXfactory = (#),\n\t\t(typeof XXXfactory === 'function' ?\n\t\t\t((XXX = XXXfactory.apply(XXXexports = {}, XXXarray)), XXX === undefined && (XXX = XXXexports)) :\n\t\t\t(XXX = XXXfactory)\n\t\t))`,requests:[]}};class AMDDefineDependency extends q{constructor(E,N,R,j,$){super();this.range=E;this.arrayRange=N;this.functionRange=R;this.objectRange=j;this.namedModule=$;this.localModule=null}get type(){return"amd define"}serialize(E){const{write:N}=E;N(this.range);N(this.arrayRange);N(this.functionRange);N(this.objectRange);N(this.namedModule);N(this.localModule);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.arrayRange=N();this.functionRange=N();this.objectRange=N();this.namedModule=N();this.localModule=N();super.deserialize(E)}}$(AMDDefineDependency,"webpack/lib/dependencies/AMDDefineDependency");AMDDefineDependency.Template=class AMDDefineDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const j=E;const $=this.branch(j);const{definition:q,content:ie,requests:ae}=G[$];for(const E of ae){R.add(E)}this.replace(j,N,q,ie)}localModuleVar(E){return E.localModule&&E.localModule.used&&E.localModule.variableName()}branch(E){const N=this.localModuleVar(E)?"l":"";const R=E.arrayRange?"a":"";const j=E.objectRange?"o":"";const $=E.functionRange?"f":"";return N+R+j+$}replace(E,N,R,j){const $=this.localModuleVar(E);if($){j=j.replace(/XXX/g,$.replace(/\$/g,"$$$$"));R=R.replace(/XXX/g,$.replace(/\$/g,"$$$$"))}if(E.namedModule){j=j.replace(/YYY/g,JSON.stringify(E.namedModule))}const q=j.split("#");if(R)N.insert(0,R);let G=E.range[0];if(E.arrayRange){N.replace(G,E.arrayRange[0]-1,q.shift());G=E.arrayRange[1]}if(E.objectRange){N.replace(G,E.objectRange[0]-1,q.shift());G=E.objectRange[1]}else if(E.functionRange){N.replace(G,E.functionRange[0]-1,q.shift());G=E.functionRange[1]}N.replace(G,E.range[1]-1,q.shift());if(q.length>0)throw new Error("Implementation error")}};E.exports=AMDDefineDependency},98915:(E,N,R)=>{"use strict";const j=R(76150);const $=R(46960);const q=R(95715);const G=R(38145);const ie=R(29022);const ae=R(66298);const ce=R(95601);const le=R(28140);const _e=R(14229);const{addLocalModule:Ee,getLocalModule:Te}=R(61701);const isBoundFunctionExpression=E=>{if(E.type!=="CallExpression")return false;if(E.callee.type!=="MemberExpression")return false;if(E.callee.computed)return false;if(E.callee.object.type!=="FunctionExpression")return false;if(E.callee.property.type!=="Identifier")return false;if(E.callee.property.name!=="bind")return false;return true};const isUnboundFunctionExpression=E=>{if(E.type==="FunctionExpression")return true;if(E.type==="ArrowFunctionExpression")return true;return false};const isCallable=E=>{if(isUnboundFunctionExpression(E))return true;if(isBoundFunctionExpression(E))return true;return false};class AMDDefineDependencyParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.call.for("define").tap("AMDDefineDependencyParserPlugin",this.processCallDefine.bind(this,E))}processArray(E,N,R,j,$){if(R.isArray()){R.items.forEach(((R,q)=>{if(R.isString()&&["require","module","exports"].includes(R.string))j[q]=R.string;const G=this.processItem(E,N,R,$);if(G===undefined){this.processContext(E,N,R)}}));return true}else if(R.isConstArray()){const $=[];R.array.forEach(((R,q)=>{let G;let ie;if(R==="require"){j[q]=R;G="__webpack_require__"}else if(["exports","module"].includes(R)){j[q]=R;G=R}else if(ie=Te(E.state,R)){ie.flagUsed();G=new _e(ie,undefined,false);G.loc=N.loc;E.state.module.addPresentationalDependency(G)}else{G=this.newRequireItemDependency(R);G.loc=N.loc;G.optional=!!E.scope.inTry;E.state.current.addDependency(G)}$.push(G)}));const q=this.newRequireArrayDependency($,R.range);q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency(q);return true}}processItem(E,N,R,$){if(R.isConditional()){R.options.forEach((R=>{const j=this.processItem(E,N,R);if(j===undefined){this.processContext(E,N,R)}}));return true}else if(R.isString()){let q,G;if(R.string==="require"){q=new ae("__webpack_require__",R.range,[j.require])}else if(R.string==="exports"){q=new ae("exports",R.range,[j.exports])}else if(R.string==="module"){q=new ae("module",R.range,[j.module])}else if(G=Te(E.state,R.string,$)){G.flagUsed();q=new _e(G,R.range,false)}else{q=this.newRequireItemDependency(R.string,R.range);q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true}q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}}processContext(E,N,R){const j=ce.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processCallDefine(E,N){let R,j,$,q;switch(N.arguments.length){case 1:if(isCallable(N.arguments[0])){j=N.arguments[0]}else if(N.arguments[0].type==="ObjectExpression"){$=N.arguments[0]}else{$=j=N.arguments[0]}break;case 2:if(N.arguments[0].type==="Literal"){q=N.arguments[0].value;if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}else{R=N.arguments[0];if(isCallable(N.arguments[1])){j=N.arguments[1]}else if(N.arguments[1].type==="ObjectExpression"){$=N.arguments[1]}else{$=j=N.arguments[1]}}break;case 3:q=N.arguments[0].value;R=N.arguments[1];if(isCallable(N.arguments[2])){j=N.arguments[2]}else if(N.arguments[2].type==="ObjectExpression"){$=N.arguments[2]}else{$=j=N.arguments[2]}break;default:return}le.bailout(E.state);let G=null;let ie=0;if(j){if(isUnboundFunctionExpression(j)){G=j.params}else if(isBoundFunctionExpression(j)){G=j.callee.object.params;ie=j.arguments.length-1;if(ie<0){ie=0}}}let ae=new Map;if(R){const j={};const $=E.evaluateExpression(R);const ce=this.processArray(E,N,$,j,q);if(!ce)return;if(G){G=G.slice(ie).filter(((N,R)=>{if(j[R]){ae.set(N.name,E.getVariableInfo(j[R]));return false}return true}))}}else{const N=["require","exports","module"];if(G){G=G.slice(ie).filter(((R,j)=>{if(N[j]){ae.set(R.name,E.getVariableInfo(N[j]));return false}return true}))}}let ce;if(j&&isUnboundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(G,(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.body.type==="BlockStatement"){E.detectMode(j.body.body);const N=E.prevStatement;E.preWalkStatement(j.body);E.prevStatement=N;E.walkStatement(j.body)}else{E.walkExpression(j.body)}}))}else if(j&&isBoundFunctionExpression(j)){ce=E.scope.inTry;E.inScope(j.callee.object.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{for(const[N,R]of ae){E.setVariable(N,R)}E.scope.inTry=ce;if(j.callee.object.body.type==="BlockStatement"){E.detectMode(j.callee.object.body.body);const N=E.prevStatement;E.preWalkStatement(j.callee.object.body);E.prevStatement=N;E.walkStatement(j.callee.object.body)}else{E.walkExpression(j.callee.object.body)}}));if(j.arguments){E.walkExpressions(j.arguments)}}else if(j||$){E.walkExpression(j||$)}const _e=this.newDefineDependency(N.range,R?R.range:null,j?j.range:null,$?$.range:null,q?q:null);_e.loc=N.loc;if(q){_e.localModule=Ee(E.state,q)}E.state.module.addPresentationalDependency(_e);return true}newDefineDependency(E,N,R,j,q){return new $(E,N,R,j,q)}newRequireArrayDependency(E,N){return new q(E,N)}newRequireItemDependency(E,N){return new ie(E,N)}}E.exports=AMDDefineDependencyParserPlugin},19765:(E,N,R)=>{"use strict";const j=R(76150);const{approve:$,evaluateToIdentifier:q,evaluateToString:G,toConstantDependency:ie}=R(48472);const ae=R(46960);const ce=R(98915);const le=R(95715);const _e=R(38145);const Ee=R(19041);const Te=R(45167);const we=R(29022);const{AMDDefineRuntimeModule:Ie,AMDOptionsRuntimeModule:Ne}=R(29035);const Me=R(66298);const Le=R(14229);const Be=R(12584);class AMDPlugin{constructor(E){this.amdOptions=E}apply(E){const N=this.amdOptions;E.hooks.compilation.tap("AMDPlugin",((E,{contextModuleFactory:R,normalModuleFactory:je})=>{E.dependencyTemplates.set(Te,new Te.Template);E.dependencyFactories.set(we,je);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,R);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(Be,new Be.Template);E.dependencyTemplates.set(Le,new Le.Template);E.hooks.runtimeRequirementInModule.for(j.amdDefine).tap("AMDPlugin",((E,N)=>{N.add(j.require)}));E.hooks.runtimeRequirementInModule.for(j.amdOptions).tap("AMDPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.amdDefine).tap("AMDPlugin",((N,R)=>{E.addRuntimeModule(N,new Ie)}));E.hooks.runtimeRequirementInTree.for(j.amdOptions).tap("AMDPlugin",((R,j)=>{E.addRuntimeModule(R,new Ne(N))}));const handler=(E,N)=>{if(N.amd!==undefined&&!N.amd)return;const tapOptionsHooks=(N,R,$)=>{E.hooks.expression.for(N).tap("AMDPlugin",ie(E,j.amdOptions,[j.amdOptions]));E.hooks.evaluateIdentifier.for(N).tap("AMDPlugin",q(N,R,$,true));E.hooks.evaluateTypeof.for(N).tap("AMDPlugin",G("object"));E.hooks.typeof.for(N).tap("AMDPlugin",ie(E,JSON.stringify("object")))};new Ee(N).apply(E);new ce(N).apply(E);tapOptionsHooks("define.amd","define",(()=>"amd"));tapOptionsHooks("require.amd","require",(()=>["amd"]));tapOptionsHooks("__webpack_amd_options__","__webpack_amd_options__",(()=>[]));E.hooks.expression.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.typeof.for("define").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("define").tap("AMDPlugin",G("function"));E.hooks.canRename.for("define").tap("AMDPlugin",$);E.hooks.rename.for("define").tap("AMDPlugin",(N=>{const R=new Me(j.amdDefine,N.range,[j.amdDefine]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.typeof.for("require").tap("AMDPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("require").tap("AMDPlugin",G("function"))};je.hooks.parser.for("javascript/auto").tap("AMDPlugin",handler);je.hooks.parser.for("javascript/dynamic").tap("AMDPlugin",handler)}))}}E.exports=AMDPlugin},95715:(E,N,R)=>{"use strict";const j=R(84304);const $=R(56202);const q=R(12197);class AMDRequireArrayDependency extends q{constructor(E,N){super();this.depsArray=E;this.range=N}get type(){return"amd require array"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.depsArray);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.depsArray=N();this.range=N();super.deserialize(E)}}$(AMDRequireArrayDependency,"webpack/lib/dependencies/AMDRequireArrayDependency");AMDRequireArrayDependency.Template=class AMDRequireArrayDependencyTemplate extends j{apply(E,N,R){const j=E;const $=this.getContent(j,R);N.replace(j.range[0],j.range[1]-1,$)}getContent(E,N){const R=E.depsArray.map((E=>this.contentForDependency(E,N)));return`[${R.join(", ")}]`}contentForDependency(E,{runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtimeRequirements:$}){if(typeof E==="string"){return E}if(E.localModule){return E.localModule.variableName()}else{return N.moduleExports({module:R.getModule(E),chunkGraph:j,request:E.request,runtimeRequirements:$})}}};E.exports=AMDRequireArrayDependency},38145:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);class AMDRequireContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(AMDRequireContextDependency,"webpack/lib/dependencies/AMDRequireContextDependency");AMDRequireContextDependency.Template=R(42740);E.exports=AMDRequireContextDependency},83842:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class AMDRequireDependenciesBlock extends j{constructor(E,N){super(null,E,N)}}$(AMDRequireDependenciesBlock,"webpack/lib/dependencies/AMDRequireDependenciesBlock");E.exports=AMDRequireDependenciesBlock},19041:(E,N,R)=>{"use strict";const j=R(76150);const $=R(53558);const q=R(95715);const G=R(38145);const ie=R(83842);const ae=R(45167);const ce=R(29022);const le=R(66298);const _e=R(95601);const Ee=R(14229);const{getLocalModule:Te}=R(61701);const we=R(12584);const Ie=R(36134);class AMDRequireDependenciesBlockParserPlugin{constructor(E){this.options=E}processFunctionArgument(E,N){let R=true;const j=Ie(N);if(j){E.inScope(j.fn.params.filter((E=>!["require","module","exports"].includes(E.name))),(()=>{if(j.fn.body.type==="BlockStatement"){E.walkStatement(j.fn.body)}else{E.walkExpression(j.fn.body)}}));E.walkExpressions(j.expressions);if(j.needThis===false){R=false}}else{E.walkExpression(N)}return R}apply(E){E.hooks.call.for("require").tap("AMDRequireDependenciesBlockParserPlugin",this.processCallRequire.bind(this,E))}processArray(E,N,R){if(R.isArray()){for(const j of R.items){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isConstArray()){const j=[];for(const $ of R.array){let R,q;if($==="require"){R="__webpack_require__"}else if(["exports","module"].includes($)){R=$}else if(q=Te(E.state,$)){q.flagUsed();R=new Ee(q,undefined,false);R.loc=N.loc;E.state.module.addPresentationalDependency(R)}else{R=this.newRequireItemDependency($);R.loc=N.loc;R.optional=!!E.scope.inTry;E.state.current.addDependency(R)}j.push(R)}const $=this.newRequireArrayDependency(j,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.module.addPresentationalDependency($);return true}}processItem(E,N,R){if(R.isConditional()){for(const j of R.options){const R=this.processItem(E,N,j);if(R===undefined){this.processContext(E,N,j)}}return true}else if(R.isString()){let $,q;if(R.string==="require"){$=new le("__webpack_require__",R.string,[j.require])}else if(R.string==="module"){$=new le(E.state.module.buildInfo.moduleArgument,R.range,[j.module])}else if(R.string==="exports"){$=new le(E.state.module.buildInfo.exportsArgument,R.range,[j.exports])}else if(q=Te(E.state,R.string)){q.flagUsed();$=new Ee(q,R.range,false)}else{$=this.newRequireItemDependency(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true}$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}}processContext(E,N,R){const j=_e.create(G,R.range,R,N,this.options,{category:"amd"},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}processArrayForRequestString(E){if(E.isArray()){const N=E.items.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join(" ")}else if(E.isConstArray()){return E.array.join(" ")}}processItemForRequestString(E){if(E.isConditional()){const N=E.options.map((E=>this.processItemForRequestString(E)));if(N.every(Boolean))return N.join("|")}else if(E.isString()){return E.string}}processCallRequire(E,N){let R;let j;let q;let G;const ie=E.state.current;if(N.arguments.length>=1){R=E.evaluateExpression(N.arguments[0]);j=this.newRequireDependenciesBlock(N.loc,this.processArrayForRequestString(R));q=this.newRequireDependency(N.range,R.range,N.arguments.length>1?N.arguments[1].range:null,N.arguments.length>2?N.arguments[2].range:null);q.loc=N.loc;j.addDependency(q);E.state.current=j}if(N.arguments.length===1){E.inScope([],(()=>{G=this.processArray(E,N,R)}));E.state.current=ie;if(!G)return;E.state.current.addBlock(j);return true}if(N.arguments.length===2||N.arguments.length===3){try{E.inScope([],(()=>{G=this.processArray(E,N,R)}));if(!G){const R=new we("unsupported",N.range);ie.addPresentationalDependency(R);if(E.state.module){E.state.module.addError(new $("Cannot statically analyse 'require(…, …)' in line "+N.loc.start.line,N.loc))}j=null;return true}q.functionBindThis=this.processFunctionArgument(E,N.arguments[1]);if(N.arguments.length===3){q.errorCallbackBindThis=this.processFunctionArgument(E,N.arguments[2])}}finally{E.state.current=ie;if(j)E.state.current.addBlock(j)}return true}}newRequireDependenciesBlock(E,N){return new ie(E,N)}newRequireDependency(E,N,R,j){return new ae(E,N,R,j)}newRequireItemDependency(E,N){return new ce(E,N)}newRequireArrayDependency(E,N){return new q(E,N)}}E.exports=AMDRequireDependenciesBlockParserPlugin},45167:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class AMDRequireDependency extends q{constructor(E,N,R,j){super();this.outerRange=E;this.arrayRange=N;this.functionRange=R;this.errorCallbackRange=j;this.functionBindThis=false;this.errorCallbackBindThis=false}get category(){return"amd"}serialize(E){const{write:N}=E;N(this.outerRange);N(this.arrayRange);N(this.functionRange);N(this.errorCallbackRange);N(this.functionBindThis);N(this.errorCallbackBindThis);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.arrayRange=N();this.functionRange=N();this.errorCallbackRange=N();this.functionBindThis=N();this.errorCallbackBindThis=N();super.deserialize(E)}}$(AMDRequireDependency,"webpack/lib/dependencies/AMDRequireDependency");AMDRequireDependency.Template=class AMDRequireDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"AMD require",runtimeRequirements:G});if(ie.arrayRange&&!ie.functionRange){const E=`${ce}.then(function() {`;const R=`;})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.replace(ie.arrayRange[1],ie.outerRange[1]-1,R);return}if(ie.functionRange&&!ie.arrayRange){const E=`${ce}.then((`;const R=`).bind(exports, __webpack_require__, exports, module))['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.functionRange[0]-1,E);N.replace(ie.functionRange[1],ie.outerRange[1]-1,R);return}if(ie.arrayRange&&ie.functionRange&&ie.errorCallbackRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](`;const j=`${ie.errorCallbackBindThis?".bind(this)":""})`;N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.errorCallbackRange[0]-1,R);N.replace(ie.errorCallbackRange[1],ie.outerRange[1]-1,j);return}if(ie.arrayRange&&ie.functionRange){const E=`${ce}.then(function() { `;const R=`}${ie.functionBindThis?".bind(this)":""})['catch'](${j.uncaughtErrorHandler})`;G.add(j.uncaughtErrorHandler);N.replace(ie.outerRange[0],ie.arrayRange[0]-1,E);N.insert(ie.arrayRange[0],"var __WEBPACK_AMD_REQUIRE_ARRAY__ = ");N.replace(ie.arrayRange[1],ie.functionRange[0]-1,"; (");N.insert(ie.functionRange[1],").apply(null, __WEBPACK_AMD_REQUIRE_ARRAY__);");N.replace(ie.functionRange[1],ie.outerRange[1]-1,R)}}};E.exports=AMDRequireDependency},29022:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(87283);class AMDRequireItemDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"amd require"}get category(){return"amd"}}j(AMDRequireItemDependency,"webpack/lib/dependencies/AMDRequireItemDependency");AMDRequireItemDependency.Template=q;E.exports=AMDRequireItemDependency},29035:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AMDDefineRuntimeModule extends ${constructor(){super("amd define")}generate(){return q.asString([`${j.amdDefine} = function () {`,q.indent("throw new Error('define cannot be used indirect');"),"};"])}}class AMDOptionsRuntimeModule extends ${constructor(E){super("amd options");this.options=E}generate(){return q.asString([`${j.amdOptions} = ${JSON.stringify(this.options)};`])}}N.AMDDefineRuntimeModule=AMDDefineRuntimeModule;N.AMDOptionsRuntimeModule=AMDOptionsRuntimeModule},59455:(E,N,R)=>{"use strict";const j=R(84304);const $=R(63272);const q=R(56202);const G=R(12197);class CachedConstDependency extends G{constructor(E,N,R){super();this.expression=E;this.range=N;this.identifier=R;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined)this._hashUpdate=""+this.identifier+this.range+this.expression;E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.identifier);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.identifier=N();super.deserialize(E)}}q(CachedConstDependency,"webpack/lib/dependencies/CachedConstDependency");CachedConstDependency.Template=class CachedConstDependencyTemplate extends j{apply(E,N,{runtimeTemplate:R,dependencyTemplates:j,initFragments:q}){const G=E;q.push(new $(`var ${G.identifier} = ${G.expression};\n`,$.STAGE_CONSTANTS,0,`const ${G.identifier}`));if(typeof G.range==="number"){N.insert(G.range,G.identifier);return}N.replace(G.range[0],G.range[1]-1,G.identifier)}};E.exports=CachedConstDependency},73456:(E,N,R)=>{"use strict";const j=R(76150);N.handleDependencyBase=(E,N,R)=>{let $=undefined;let q;switch(E){case"exports":R.add(j.exports);$=N.exportsArgument;q="expression";break;case"module.exports":R.add(j.module);$=`${N.moduleArgument}.exports`;q="expression";break;case"this":R.add(j.thisAsExports);$="this";q="expression";break;case"Object.defineProperty(exports)":R.add(j.exports);$=N.exportsArgument;q="Object.defineProperty";break;case"Object.defineProperty(module.exports)":R.add(j.module);$=`${N.moduleArgument}.exports`;q="Object.defineProperty";break;case"Object.defineProperty(this)":R.add(j.thisAsExports);$="this";q="Object.defineProperty";break;default:throw new Error(`Unsupported base ${E}`)}return[q,$]}},1248:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(58159);const{equals:G}=R(73910);const ie=R(56202);const ae=R(68038);const{handleDependencyBase:ce}=R(73456);const le=R(79983);const _e=R(18971);const Ee=Symbol("CommonJsExportRequireDependency.ids");const Te={};class CommonJsExportRequireDependency extends le{constructor(E,N,R,j,$,q,G){super($);this.range=E;this.valueRange=N;this.base=R;this.names=j;this.ids=q;this.resultUsed=G;this.asiSafe=undefined}get type(){return"cjs export require"}couldAffectReferencingModule(){return j.TRANSITIVE}getIds(E){return E.getMeta(this)[Ee]||this.ids}setIds(E,N){E.getMeta(this)[Ee]=N}getReferencedExports(E,N){const R=this.getIds(E);const getFullResult=()=>{if(R.length===0){return j.EXPORTS_OBJECT_REFERENCED}else{return[{name:R,canMangle:false}]}};if(this.resultUsed)return getFullResult();let q=E.getExportsInfo(E.getParentModule(this));for(const E of this.names){const R=q.getReadOnlyExportInfo(E);const G=R.getUsed(N);if(G===$.Unused)return j.NO_EXPORTS_REFERENCED;if(G!==$.OnlyPropertiesUsed)return getFullResult();q=R.exportsInfo;if(!q)return getFullResult()}if(q.otherExportsInfo.getUsed(N)!==$.Unused){return getFullResult()}const G=[];for(const E of q.orderedExports){_e(N,G,R.concat(E.name),E,false)}return G.map((E=>({name:E,canMangle:false})))}getExports(E){const N=this.getIds(E);if(this.names.length===1){const R=this.names[0];const j=E.getConnection(this);if(!j)return;return{exports:[{name:R,from:j,export:N.length===0?null:N,canMangle:!(R in Te)&&false}],dependencies:[j.module]}}else if(this.names.length>0){const E=this.names[0];return{exports:[{name:E,canMangle:!(E in Te)&&false}],dependencies:undefined}}else{const R=E.getConnection(this);if(!R)return;const j=this.getStarReexports(E,undefined,R.module);if(j){return{exports:Array.from(j.exports,(E=>({name:E,from:R,export:N.concat(E),canMangle:!(E in Te)&&false}))),dependencies:[R.module]}}else{return{exports:true,from:N.length===0?R:undefined,canMangle:false,dependencies:[R.module]}}}}getStarReexports(E,N,R=E.getModule(this)){let j=E.getExportsInfo(R);const q=this.getIds(E);if(q.length>0)j=j.getNestedExportsInfo(q);let G=E.getExportsInfo(E.getParentModule(this));if(this.names.length>0)G=G.getNestedExportsInfo(this.names);const ie=j&&j.otherExportsInfo.provided===false;const ae=G&&G.otherExportsInfo.getUsed(N)===$.Unused;if(!ie&&!ae){return}const ce=R.getExportsType(E,false)==="namespace";const le=new Set;const _e=new Set;if(ae){for(const E of G.orderedExports){const R=E.name;if(E.getUsed(N)===$.Unused)continue;if(R==="__esModule"&&ce){le.add(R)}else if(j){const E=j.getReadOnlyExportInfo(R);if(E.provided===false)continue;le.add(R);if(E.provided===true)continue;_e.add(R)}else{le.add(R);_e.add(R)}}}else if(ie){for(const E of j.orderedExports){const R=E.name;if(E.provided===false)continue;if(G){const E=G.getReadOnlyExportInfo(R);if(E.getUsed(N)===$.Unused)continue}le.add(R);if(E.provided===true)continue;_e.add(R)}if(ce){le.add("__esModule");_e.delete("__esModule")}}return{exports:le,checked:_e}}serialize(E){const{write:N}=E;N(this.asiSafe);N(this.range);N(this.valueRange);N(this.base);N(this.names);N(this.ids);N(this.resultUsed);super.serialize(E)}deserialize(E){const{read:N}=E;this.asiSafe=N();this.range=N();this.valueRange=N();this.base=N();this.names=N();this.ids=N();this.resultUsed=N();super.deserialize(E)}}ie(CommonJsExportRequireDependency,"webpack/lib/dependencies/CommonJsExportRequireDependency");CommonJsExportRequireDependency.Template=class CommonJsExportRequireDependencyTemplate extends le.Template{apply(E,N,{module:R,runtimeTemplate:j,chunkGraph:$,moduleGraph:ie,runtimeRequirements:le,runtime:_e}){const Ee=E;const Te=ie.getExportsInfo(R).getUsedName(Ee.names,_e);const[we,Ie]=ce(Ee.base,R,le);const Ne=ie.getModule(Ee);let Me=j.moduleExports({module:Ne,chunkGraph:$,request:Ee.request,weak:Ee.weak,runtimeRequirements:le});if(Ne){const E=Ee.getIds(ie);const N=ie.getExportsInfo(Ne).getUsedName(E,_e);if(N){const R=G(N,E)?"":q.toNormalComment(ae(E))+" ";Me+=`${R}${ae(N)}`}}switch(we){case"expression":N.replace(Ee.range[0],Ee.range[1]-1,Te?`${Ie}${ae(Te)} = ${Me}`:`/* unused reexport */ ${Me}`);return;case"Object.defineProperty":throw new Error("TODO");default:throw new Error("Unexpected type")}}};E.exports=CommonJsExportRequireDependency},26702:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(68038);const{handleDependencyBase:G}=R(73456);const ie=R(12197);const ae={};class CommonJsExportsDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.valueRange=N;this.base=R;this.names=j}get type(){return"cjs exports"}getExports(E){const N=this.names[0];return{exports:[{name:N,canMangle:!(N in ae)}],dependencies:undefined}}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.base);N(this.names);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.base=N();this.names=N();super.deserialize(E)}}$(CommonJsExportsDependency,"webpack/lib/dependencies/CommonJsExportsDependency");CommonJsExportsDependency.Template=class CommonJsExportsDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:$,initFragments:ie,runtimeRequirements:ae,runtime:ce}){const le=E;const _e=$.getExportsInfo(R).getUsedName(le.names,ce);const[Ee,Te]=G(le.base,R,ae);switch(Ee){case"expression":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.range[1]-1,"__webpack_unused_export__");return}N.replace(le.range[0],le.range[1]-1,`${Te}${q(_e)}`);return;case"Object.defineProperty":if(!_e){ie.push(new j("var __webpack_unused_export__;\n",j.STAGE_CONSTANTS,0,"__webpack_unused_export__"));N.replace(le.range[0],le.valueRange[0]-1,"__webpack_unused_export__ = (");N.replace(le.valueRange[1],le.range[1]-1,")");return}N.replace(le.range[0],le.valueRange[0]-1,`Object.defineProperty(${Te}${q(_e.slice(0,-1))}, ${JSON.stringify(_e[_e.length-1])}, (`);N.replace(le.valueRange[1],le.range[1]-1,"))");return}}};E.exports=CommonJsExportsDependency},48235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(72380);const{evaluateToString:q}=R(48472);const G=R(68038);const ie=R(1248);const ae=R(26702);const ce=R(94147);const le=R(28140);const _e=R(25702);const Ee=R(2706);const getValueOfPropertyDescription=E=>{if(E.type!=="ObjectExpression")return;for(const N of E.properties){if(N.computed)continue;const E=N.key;if(E.type!=="Identifier"||E.name!=="value")continue;return N.value}};const isTruthyLiteral=E=>{switch(E.type){case"Literal":return!!E.value;case"UnaryExpression":if(E.operator==="!")return isFalsyLiteral(E.argument)}return false};const isFalsyLiteral=E=>{switch(E.type){case"Literal":return!E.value;case"UnaryExpression":if(E.operator==="!")return isTruthyLiteral(E.argument)}return false};const parseRequireCall=(E,N)=>{const R=[];while(N.type==="MemberExpression"){if(N.object.type==="Super")return;if(!N.property)return;const E=N.property;if(N.computed){if(E.type!=="Literal")return;R.push(`${E.value}`)}else{if(E.type!=="Identifier")return;R.push(E.name)}N=N.object}if(N.type!=="CallExpression"||N.arguments.length!==1)return;const j=N.callee;if(j.type!=="Identifier"||E.getVariableInfo(j.name)!=="require"){return}const $=N.arguments[0];if($.type==="SpreadElement")return;const q=E.evaluateExpression($);return{argument:q,ids:R.reverse()}};class CommonJsExportsParserPlugin{constructor(E){this.moduleGraph=E}apply(E){const enableStructuredExports=()=>{le.enable(E.state)};const checkNamespace=(N,R,j)=>{if(!le.isEnabled(E.state))return;if(R.length>0&&R[0]==="__esModule"){if(j&&isTruthyLiteral(j)&&N){le.setFlagged(E.state)}else{le.setDynamic(E.state)}}};const bailout=N=>{le.bailout(E.state);if(N)bailoutHint(N)};const bailoutHint=N=>{this.moduleGraph.getOptimizationBailout(E.state.module).push(`CommonJS bailout: ${N}`)};E.hooks.evaluateTypeof.for("module").tap("CommonJsExportsParserPlugin",q("object"));E.hooks.evaluateTypeof.for("exports").tap("CommonJsPlugin",q("object"));const handleAssignExport=(N,R,j)=>{if(_e.isEnabled(E.state))return;const $=parseRequireCall(E,N.right);if($&&$.argument.isString()&&(j.length===0||j[0]!=="__esModule")){enableStructuredExports();if(j.length===0)le.setDynamic(E.state);const q=new ie(N.range,null,R,j,$.argument.string,$.ids,!E.isStatementLevelExpression(N));q.loc=N.loc;q.optional=!!E.scope.inTry;E.state.module.addDependency(q);return true}if(j.length===0)return;enableStructuredExports();const q=j;checkNamespace(E.statementPath.length===1&&E.isStatementLevelExpression(N),q,N.right);const G=new ae(N.left.range,null,R,q);G.loc=N.loc;E.state.module.addDependency(G);E.walkExpression(N.right);return true};E.hooks.assignMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAssignExport(E,"exports",N)));E.hooks.assignMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAssignExport(N,"this",R)}));E.hooks.assignMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAssignExport(E,"module.exports",N.slice(1))}));E.hooks.call.for("Object.defineProperty").tap("CommonJsExportsParserPlugin",(N=>{const R=N;if(!E.isStatementLevelExpression(R))return;if(R.arguments.length!==3)return;if(R.arguments[0].type==="SpreadElement")return;if(R.arguments[1].type==="SpreadElement")return;if(R.arguments[2].type==="SpreadElement")return;const j=E.evaluateExpression(R.arguments[0]);if(!j||!j.isIdentifier())return;if(j.identifier!=="exports"&&j.identifier!=="module.exports"&&(j.identifier!=="this"||!E.scope.topLevelScope)){return}const $=E.evaluateExpression(R.arguments[1]);if(!$)return;const q=$.asString();if(typeof q!=="string")return;enableStructuredExports();const G=R.arguments[2];checkNamespace(E.statementPath.length===1,[q],getValueOfPropertyDescription(G));const ie=new ae(R.range,R.arguments[2].range,`Object.defineProperty(${j.identifier})`,[q]);ie.loc=R.loc;E.state.module.addDependency(ie);E.walkExpression(R.arguments[2]);return true}));const handleAccessExport=(N,R,j,q=undefined)=>{if(_e.isEnabled(E.state))return;if(j.length===0){bailout(`${R} is used directly at ${$(N.loc)}`)}if(q&&j.length===1){bailoutHint(`${R}${G(j)}(...) prevents optimization as ${R} is passed as call context at ${$(N.loc)}`)}const ie=new ce(N.range,R,j,!!q);ie.loc=N.loc;E.state.module.addDependency(ie);if(q){E.walkExpressions(q.arguments)}return true};E.hooks.callMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E.callee,"exports",N,E)));E.hooks.expressionMemberChain.for("exports").tap("CommonJsExportsParserPlugin",((E,N)=>handleAccessExport(E,"exports",N)));E.hooks.expression.for("exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"exports",[])));E.hooks.callMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E.callee,"module.exports",N.slice(1),E)}));E.hooks.expressionMemberChain.for("module").tap("CommonJsExportsParserPlugin",((E,N)=>{if(N[0]!=="exports")return;return handleAccessExport(E,"module.exports",N.slice(1))}));E.hooks.expression.for("module.exports").tap("CommonJsExportsParserPlugin",(E=>handleAccessExport(E,"module.exports",[])));E.hooks.callMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N.callee,"this",R,N)}));E.hooks.expressionMemberChain.for("this").tap("CommonJsExportsParserPlugin",((N,R)=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",R)}));E.hooks.expression.for("this").tap("CommonJsExportsParserPlugin",(N=>{if(!E.scope.topLevelScope)return;return handleAccessExport(N,"this",[])}));E.hooks.expression.for("module").tap("CommonJsPlugin",(N=>{bailout();const R=_e.isEnabled(E.state);const $=new Ee(R?j.harmonyModuleDecorator:j.nodeModuleDecorator,!R);$.loc=N.loc;E.state.module.addDependency($);return true}))}}E.exports=CommonJsExportsParserPlugin},87519:(E,N,R)=>{"use strict";const j=R(58159);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(79983);class CommonJsFullRequireDependency extends ie{constructor(E,N,R){super(E);this.range=N;this.names=R;this.call=false;this.asiSafe=undefined}getReferencedExports(E,N){if(this.call){const N=E.getModule(this);if(!N||N.getExportsType(E,false)!=="namespace"){return[this.names.slice(0,-1)]}}return[this.names]}serialize(E){const{write:N}=E;N(this.names);N(this.call);N(this.asiSafe);super.serialize(E)}deserialize(E){const{read:N}=E;this.names=N();this.call=N();this.asiSafe=N();super.deserialize(E)}get type(){return"cjs full require"}get category(){return"commonjs"}}CommonJsFullRequireDependency.Template=class CommonJsFullRequireDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:q,moduleGraph:ie,chunkGraph:ae,runtimeRequirements:ce,runtime:le,initFragments:_e}){const Ee=E;if(!Ee.range)return;const Te=ie.getModule(Ee);let we=q.moduleExports({module:Te,chunkGraph:ae,request:Ee.request,weak:Ee.weak,runtimeRequirements:ce});if(Te){const E=Ee.names;const N=ie.getExportsInfo(Te).getUsedName(E,le);if(N){const R=$(N,E)?"":j.toNormalComment(G(E))+" ";const q=`${R}${G(N)}`;we=Ee.asiSafe===true?`(${we}${q})`:`${we}${q}`}}N.replace(Ee.range[0],Ee.range[1]-1,we)}};q(CommonJsFullRequireDependency,"webpack/lib/dependencies/CommonJsFullRequireDependency");E.exports=CommonJsFullRequireDependency},42218:(E,N,R)=>{"use strict";const j=R(47207);const $=R(76150);const q=R(53558);const{evaluateToIdentifier:G,evaluateToString:ie,expressionIsUnsupported:ae,toConstantDependency:ce}=R(48472);const le=R(87519);const _e=R(51454);const Ee=R(37313);const Te=R(66298);const we=R(95601);const Ie=R(14229);const{getLocalModule:Ne}=R(61701);const Me=R(70340);const Le=R(84817);const Be=R(76913);const je=R(23380);class CommonJsImportsParserPlugin{constructor(E){this.options=E}apply(E){const N=this.options;const tapRequireExpression=(N,R)=>{E.hooks.typeof.for(N).tap("CommonJsPlugin",ce(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for(N).tap("CommonJsPlugin",ie("function"));E.hooks.evaluateIdentifier.for(N).tap("CommonJsPlugin",G(N,"require",R,true))};tapRequireExpression("require",(()=>[]));tapRequireExpression("require.resolve",(()=>["resolve"]));tapRequireExpression("require.resolveWeak",(()=>["resolveWeak"]));E.hooks.assign.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("var require;",0);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.expression.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.call.for("require.main.require").tap("CommonJsPlugin",ae(E,"require.main.require is not supported by webpack."));E.hooks.expression.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.call.for("module.parent.require").tap("CommonJsPlugin",ae(E,"module.parent.require is not supported by webpack."));E.hooks.canRename.for("require").tap("CommonJsPlugin",(()=>true));E.hooks.rename.for("require").tap("CommonJsPlugin",(N=>{const R=new Te("undefined",N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return false}));E.hooks.expression.for("require.cache").tap("CommonJsImportsParserPlugin",ce(E,$.moduleCache,[$.moduleCache,$.moduleId,$.moduleLoaded]));E.hooks.expression.for("require").tap("CommonJsImportsParserPlugin",(R=>{const j=new _e({request:N.unknownContextRequest,recursive:N.unknownContextRecursive,regExp:N.unknownContextRegExp,mode:"sync"},R.range,undefined,E.scope.inShorthand);j.critical=N.unknownContextCritical&&"require function is used in a way in which dependencies cannot be statically extracted";j.loc=R.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}));const processRequireItem=(N,R)=>{if(R.isString()){const j=new Ee(R.string,R.range);j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}};const processRequireContext=(R,j)=>{const $=we.create(_e,R.range,j,R,N,{category:"commonjs"},E);if(!$)return;$.loc=R.loc;$.optional=!!E.scope.inTry;E.state.current.addDependency($);return true};const createRequireHandler=R=>$=>{if(N.commonjsMagicComments){const{options:N,errors:R}=E.parseCommentOptions($.range);if(R){for(const N of R){const{comment:R}=N;E.state.module.addWarning(new j(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(N){if(N.webpackIgnore!==undefined){if(typeof N.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${N.webpackIgnore}.`,$.loc))}else{if(N.webpackIgnore){return true}}}}}if($.arguments.length!==1)return;let G;const ie=E.evaluateExpression($.arguments[0]);if(ie.isConditional()){let N=false;for(const E of ie.options){const R=processRequireItem($,E);if(R===undefined){N=true}}if(!N){const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}}if(ie.isString()&&(G=Ne(E.state,ie.string))){G.flagUsed();const N=new Ie(G,$.range,R);N.loc=$.loc;E.state.module.addPresentationalDependency(N);return true}else{const N=processRequireItem($,ie);if(N===undefined){processRequireContext($,ie)}else{const N=new Me($.callee.range);N.loc=$.loc;E.state.module.addPresentationalDependency(N)}return true}};E.hooks.call.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));E.hooks.call.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(false));E.hooks.new.for("module.require").tap("CommonJsImportsParserPlugin",createRequireHandler(true));const chainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.range,$);R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.loc;E.state.module.addDependency(R);return true}};const callChainHandler=(N,R,j,$)=>{if(j.arguments.length!==1)return;const q=E.evaluateExpression(j.arguments[0]);if(q.isString()&&!Ne(E.state,q.string)){const R=new le(q.string,N.callee.range,$);R.call=true;R.asiSafe=!E.isAsiPosition(N.range[0]);R.optional=!!E.scope.inTry;R.loc=N.callee.loc;E.state.module.addDependency(R);E.walkExpressions(N.arguments);return true}};E.hooks.memberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.memberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",chainHandler);E.hooks.callMemberChainOfCallMemberChain.for("require").tap("CommonJsImportsParserPlugin",callChainHandler);E.hooks.callMemberChainOfCallMemberChain.for("module.require").tap("CommonJsImportsParserPlugin",callChainHandler);const processResolve=(N,R)=>{if(N.arguments.length!==1)return;const j=E.evaluateExpression(N.arguments[0]);if(j.isConditional()){for(const E of j.options){const j=processResolveItem(N,E,R);if(j===undefined){processResolveContext(N,E,R)}}const $=new je(N.callee.range);$.loc=N.loc;E.state.module.addPresentationalDependency($);return true}else{const $=processResolveItem(N,j,R);if($===undefined){processResolveContext(N,j,R)}const q=new je(N.callee.range);q.loc=N.loc;E.state.module.addPresentationalDependency(q);return true}};const processResolveItem=(N,R,j)=>{if(R.isString()){const $=new Be(R.string,R.range);$.loc=N.loc;$.optional=!!E.scope.inTry;$.weak=j;E.state.current.addDependency($);return true}};const processResolveContext=(R,j,$)=>{const q=we.create(Le,j.range,j,R,N,{category:"commonjs",mode:$?"weak":"sync"},E);if(!q)return;q.loc=R.loc;q.optional=!!E.scope.inTry;E.state.current.addDependency(q);return true};E.hooks.call.for("require.resolve").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,false)));E.hooks.call.for("require.resolveWeak").tap("RequireResolveDependencyParserPlugin",(E=>processResolve(E,true)))}}E.exports=CommonJsImportsParserPlugin},91630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(31141);const G=R(58159);const ie=R(26702);const ae=R(87519);const ce=R(51454);const le=R(37313);const _e=R(94147);const Ee=R(2706);const Te=R(70340);const we=R(84817);const Ie=R(76913);const Ne=R(23380);const Me=R(35424);const Le=R(48235);const Be=R(42218);const{evaluateToIdentifier:je,toConstantDependency:Ue}=R(48472);const ze=R(1248);class CommonJsPlugin{apply(E){E.hooks.compilation.tap("CommonJsPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set(le,R);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(ae,R);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyFactories.set(ce,N);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyFactories.set(we,N);E.dependencyTemplates.set(we,new we.Template);E.dependencyTemplates.set(Ne,new Ne.Template);E.dependencyTemplates.set(Te,new Te.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(ze,R);E.dependencyTemplates.set(ze,new ze.Template);const $=new q(E.moduleGraph);E.dependencyFactories.set(_e,$);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyFactories.set(Ee,$);E.dependencyTemplates.set(Ee,new Ee.Template);E.hooks.runtimeRequirementInModule.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInModule.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((E,N)=>{N.add(j.module);N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.harmonyModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new HarmonyModuleDecoratorRuntimeModule)}));E.hooks.runtimeRequirementInTree.for(j.nodeModuleDecorator).tap("CommonJsPlugin",((N,R)=>{E.addRuntimeModule(N,new NodeModuleDecoratorRuntimeModule)}));const handler=(N,R)=>{if(R.commonjs!==undefined&&!R.commonjs)return;N.hooks.typeof.for("module").tap("CommonJsPlugin",Ue(N,JSON.stringify("object")));N.hooks.expression.for("require.main").tap("CommonJsPlugin",Ue(N,`${j.moduleCache}[${j.entryModuleId}]`,[j.moduleCache,j.entryModuleId]));N.hooks.expression.for("module.loaded").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.loaded";const R=new Me([j.moduleLoaded]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.expression.for("module.id").tap("CommonJsPlugin",(E=>{N.state.module.buildInfo.moduleConcatenationBailout="module.id";const R=new Me([j.moduleId]);R.loc=E.loc;N.state.module.addPresentationalDependency(R);return true}));N.hooks.evaluateIdentifier.for("module.hot").tap("CommonJsPlugin",je("module.hot","module",(()=>["hot"]),null));new Be(R).apply(N);new Le(E.moduleGraph).apply(N)};R.hooks.parser.for("javascript/auto").tap("CommonJsPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("CommonJsPlugin",handler)}))}}class HarmonyModuleDecoratorRuntimeModule extends ${constructor(){super("harmony module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.harmonyModuleDecorator} = ${E.basicFunction("module",["module = Object.create(module);","if (!module.children) module.children = [];","Object.defineProperty(module, 'exports', {",G.indent(["enumerable: true,",`set: ${E.basicFunction("",["throw new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);"])}`]),"});","return module;"])};`])}}class NodeModuleDecoratorRuntimeModule extends ${constructor(){super("node module decorator")}generate(){const{runtimeTemplate:E}=this.compilation;return G.asString([`${j.nodeModuleDecorator} = ${E.basicFunction("module",["module.paths = [];","if (!module.children) module.children = [];","return module;"])};`])}}E.exports=CommonJsPlugin},51454:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class CommonJsRequireContextDependency extends ${constructor(E,N,R,j){super(E);this.range=N;this.valueRange=R;this.inShorthand=j}get type(){return"cjs require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);N(this.inShorthand);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();this.inShorthand=N();super.deserialize(E)}}j(CommonJsRequireContextDependency,"webpack/lib/dependencies/CommonJsRequireContextDependency");CommonJsRequireContextDependency.Template=q;E.exports=CommonJsRequireContextDependency},37313:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class CommonJsRequireDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"cjs require"}get category(){return"commonjs"}}CommonJsRequireDependency.Template=q;j(CommonJsRequireDependency,"webpack/lib/dependencies/CommonJsRequireDependency");E.exports=CommonJsRequireDependency},94147:(E,N,R)=>{"use strict";const j=R(76150);const{equals:$}=R(73910);const q=R(56202);const G=R(68038);const ie=R(12197);class CommonJsSelfReferenceDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.base=N;this.names=R;this.call=j}get type(){return"cjs self exports reference"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return[this.call?this.names.slice(0,-1):this.names]}serialize(E){const{write:N}=E;N(this.range);N(this.base);N(this.names);N(this.call);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.base=N();this.names=N();this.call=N();super.deserialize(E)}}q(CommonJsSelfReferenceDependency,"webpack/lib/dependencies/CommonJsSelfReferenceDependency");CommonJsSelfReferenceDependency.Template=class CommonJsSelfReferenceDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtime:ie,runtimeRequirements:ae}){const ce=E;let le;if(ce.names.length===0){le=ce.names}else{le=q.getExportsInfo(R).getUsedName(ce.names,ie)}if(!le){throw new Error("Self-reference dependency has unused export name: This should not happen")}let _e=undefined;switch(ce.base){case"exports":ae.add(j.exports);_e=R.exportsArgument;break;case"module.exports":ae.add(j.module);_e=`${R.moduleArgument}.exports`;break;case"this":ae.add(j.thisAsExports);_e="this";break;default:throw new Error(`Unsupported base ${ce.base}`)}if(_e===ce.base&&$(le,ce.names)){return}N.replace(ce.range[0],ce.range[1]-1,`${_e}${G(le)}`)}};E.exports=CommonJsSelfReferenceDependency},66298:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class ConstDependency extends ${constructor(E,N,R){super();this.expression=E;this.range=N;this.runtimeRequirements=R?new Set(R):null;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){let E=""+this.range+"|"+this.expression;if(this.runtimeRequirements){for(const N of this.runtimeRequirements){E+="|";E+=N}}this._hashUpdate=E}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.expression);N(this.range);N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.expression=N();this.range=N();this.runtimeRequirements=N();super.deserialize(E)}}j(ConstDependency,"webpack/lib/dependencies/ConstDependency");ConstDependency.Template=class ConstDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(j.runtimeRequirements){for(const E of j.runtimeRequirements){R.runtimeRequirements.add(E)}}if(typeof j.range==="number"){N.insert(j.range,j.expression);return}N.replace(j.range[0],j.range[1]-1,j.expression)}};E.exports=ConstDependency},400:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(56202);const G=R(91671);const ie=G((()=>R(75314)));const regExpToString=E=>E?E+"":"";class ContextDependency extends j{constructor(E){super();this.options=E;this.userRequest=this.options&&this.options.request;this.critical=false;this.hadGlobalOrStickyRegExp=false;if(this.options&&(this.options.regExp.global||this.options.regExp.sticky)){this.options={...this.options,regExp:null};this.hadGlobalOrStickyRegExp=true}this.request=undefined;this.range=undefined;this.valueRange=undefined;this.inShorthand=undefined;this.replaces=undefined}get category(){return"commonjs"}couldAffectReferencingModule(){return true}getResourceIdentifier(){return`context${this.options.request} ${this.options.recursive} `+`${regExpToString(this.options.regExp)} ${regExpToString(this.options.include)} ${regExpToString(this.options.exclude)} `+`${this.options.mode} ${this.options.chunkName} `+`${JSON.stringify(this.options.groupOptions)}`}getWarnings(E){let N=super.getWarnings(E);if(this.critical){if(!N)N=[];const E=ie();N.push(new E(this.critical))}if(this.hadGlobalOrStickyRegExp){if(!N)N=[];const E=ie();N.push(new E("Contexts can't use RegExps with the 'g' or 'y' flags."))}return N}serialize(E){const{write:N}=E;N(this.options);N(this.userRequest);N(this.critical);N(this.hadGlobalOrStickyRegExp);N(this.request);N(this.range);N(this.valueRange);N(this.prepend);N(this.replaces);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();this.userRequest=N();this.critical=N();this.hadGlobalOrStickyRegExp=N();this.request=N();this.range=N();this.valueRange=N();this.prepend=N();this.replaces=N();super.deserialize(E)}}q(ContextDependency,"webpack/lib/dependencies/ContextDependency");ContextDependency.Template=$;E.exports=ContextDependency},95601:(E,N,R)=>{"use strict";const{parseResource:j}=R(49197);const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const splitContextFromPrefix=E=>{const N=E.lastIndexOf("/");let R=".";if(N>=0){R=E.substr(0,N);E=`.${E.substr(N)}`}return{context:R,prefix:E}};N.create=(E,N,R,$,q,G,ie)=>{if(R.isTemplateString()){let ae=R.quasis[0].string;let ce=R.quasis.length>1?R.quasis[R.quasis.length-1].string:"";const le=R.range;const{context:_e,prefix:Ee}=splitContextFromPrefix(ae);const{path:Te,query:we,fragment:Ie}=j(ce,ie);const Ne=R.quasis.slice(1,R.quasis.length-1);const Me=q.wrappedContextRegExp.source+Ne.map((E=>quoteMeta(E.string)+q.wrappedContextRegExp.source)).join("");const Le=new RegExp(`^${quoteMeta(Ee)}${Me}${quoteMeta(Te)}$`);const Be=new E({request:_e+we+Ie,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,le);Be.loc=$.loc;const je=[];R.parts.forEach(((E,N)=>{if(N%2===0){let j=E.range;let $=E.string;if(R.templateStringKind==="cooked"){$=JSON.stringify($);$=$.slice(1,$.length-1)}if(N===0){$=Ee;j=[R.range[0],E.range[1]];$=(R.templateStringKind==="cooked"?"`":"String.raw`")+$}else if(N===R.parts.length-1){$=Te;j=[E.range[0],R.range[1]];$=$+"`"}else if(E.expression&&E.expression.type==="TemplateElement"&&E.expression.value.raw===$){return}je.push({range:j,value:$})}else{ie.walkExpression(E.expression)}}));Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";return Be}else if(R.isWrapped()&&(R.prefix&&R.prefix.isString()||R.postfix&&R.postfix.isString())){let ae=R.prefix&&R.prefix.isString()?R.prefix.string:"";let ce=R.postfix&&R.postfix.isString()?R.postfix.string:"";const le=R.prefix&&R.prefix.isString()?R.prefix.range:null;const _e=R.postfix&&R.postfix.isString()?R.postfix.range:null;const Ee=R.range;const{context:Te,prefix:we}=splitContextFromPrefix(ae);const{path:Ie,query:Ne,fragment:Me}=j(ce,ie);const Le=new RegExp(`^${quoteMeta(we)}${q.wrappedContextRegExp.source}${quoteMeta(Ie)}$`);const Be=new E({request:Te+Ne+Me,recursive:q.wrappedContextRecursive,regExp:Le,mode:"sync",...G},N,Ee);Be.loc=$.loc;const je=[];if(le){je.push({range:le,value:JSON.stringify(we)})}if(_e){je.push({range:_e,value:JSON.stringify(Ie)})}Be.replaces=je;Be.critical=q.wrappedContextCritical&&"a part of the request of a dependency is an expression";if(ie&&R.wrappedInnerExpressions){for(const E of R.wrappedInnerExpressions){if(E.expression)ie.walkExpression(E.expression)}}return Be}else{const j=new E({request:q.exprContextRequest,recursive:q.exprContextRecursive,regExp:q.exprContextRegExp,mode:"sync",...G},N,R.range);j.loc=$.loc;j.critical=q.exprContextCritical&&"the request of a dependency is an expression";ie.walkExpression(R.expression);return j}}},94148:(E,N,R)=>{"use strict";const j=R(400);class ContextDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(400);class ContextDependencyTemplateAsRequireCall extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;let ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,runtimeRequirements:q});if(G.inShorthand){ie=`${G.inShorthand}: ${ie}`}if(j.getModule(G)){if(G.valueRange){if(Array.isArray(G.replaces)){for(let E=0;E{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ContextElementDependency extends q{constructor(E,N,R,j,$){super(E);this.referencedExports=$;this._typePrefix=R;this._category=j;if(N){this.userRequest=N}}get type(){if(this._typePrefix){return`${this._typePrefix} context element`}return"context element"}get category(){return this._category}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.referencedExports=E.read();super.deserialize(E)}}$(ContextElementDependency,"webpack/lib/dependencies/ContextElementDependency");E.exports=ContextElementDependency},7257:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class CreateScriptUrlDependency extends q{constructor(E){super();this.range=E}get type(){return"create script url"}}CreateScriptUrlDependency.Template=class CreateScriptUrlDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.createScriptUrl);N.insert($.range[0],`${j.createScriptUrl}(`);N.insert($.range[1],")")}};$(CreateScriptUrlDependency,"webpack/lib/dependencies/CreateScriptUrlDependency");E.exports=CreateScriptUrlDependency},75314:(E,N,R)=>{"use strict";const j=R(81627);const $=R(56202);class CriticalDependencyWarning extends j{constructor(E){super();this.name="CriticalDependencyWarning";this.message="Critical dependency: "+E}}$(CriticalDependencyWarning,"webpack/lib/dependencies/CriticalDependencyWarning");E.exports=CriticalDependencyWarning},49422:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class DelegatedSourceDependency extends ${constructor(E){super(E)}get type(){return"delegated source"}get category(){return"esm"}}j(DelegatedSourceDependency,"webpack/lib/dependencies/DelegatedSourceDependency");E.exports=DelegatedSourceDependency},95189:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class DllEntryDependency extends j{constructor(E,N){super();this.dependencies=E;this.name=N}get type(){return"dll entry"}serialize(E){const{write:N}=E;N(this.dependencies);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.dependencies=N();this.name=N();super.deserialize(E)}}$(DllEntryDependency,"webpack/lib/dependencies/DllEntryDependency");E.exports=DllEntryDependency},28140:(E,N)=>{"use strict";const R=new WeakMap;N.bailout=E=>{const N=R.get(E);R.set(E,false);if(N===true){E.module.buildMeta.exportsType=undefined;E.module.buildMeta.defaultObject=false}};N.enable=E=>{const N=R.get(E);if(N===false)return;R.set(E,true);if(N!==true){E.module.buildMeta.exportsType="default";E.module.buildMeta.defaultObject="redirect"}};N.setFlagged=E=>{const N=R.get(E);if(N!==true)return;const j=E.module.buildMeta;if(j.exportsType==="dynamic")return;j.exportsType="flagged"};N.setDynamic=E=>{const N=R.get(E);if(N!==true)return;E.module.buildMeta.exportsType="dynamic"};N.isEnabled=E=>{const N=R.get(E);return N===true}},66583:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);class EntryDependency extends ${constructor(E){super(E)}get type(){return"entry"}get category(){return"esm"}}j(EntryDependency,"webpack/lib/dependencies/EntryDependency");E.exports=EntryDependency},51420:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const q=R(12197);const getProperty=(E,N,R,$,q)=>{if(!R){switch($){case"usedExports":{const R=E.getExportsInfo(N).getUsedExports(q);if(typeof R==="boolean"||R===undefined||R===null){return R}return Array.from(R).sort()}}}switch($){case"used":return E.getExportsInfo(N).getUsed(R,q)!==j.Unused;case"useInfo":{const $=E.getExportsInfo(N).getUsed(R,q);switch($){case j.Used:case j.OnlyPropertiesUsed:return true;case j.Unused:return false;case j.NoInfo:return undefined;case j.Unknown:return null;default:throw new Error(`Unexpected UsageState ${$}`)}}case"provideInfo":return E.getExportsInfo(N).isExportProvided(R)}return undefined};class ExportsInfoDependency extends q{constructor(E,N,R){super();this.range=E;this.exportName=N;this.property=R}serialize(E){const{write:N}=E;N(this.range);N(this.exportName);N(this.property);super.serialize(E)}static deserialize(E){const N=new ExportsInfoDependency(E.read(),E.read(),E.read());N.deserialize(E);return N}}$(ExportsInfoDependency,"webpack/lib/dependencies/ExportsInfoDependency");ExportsInfoDependency.Template=class ExportsInfoDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,runtime:$}){const q=E;const G=getProperty(j,R,q.exportName,q.property,$);N.replace(q.range[0],q.range[1]-1,G===undefined?"undefined":JSON.stringify(G))}};E.exports=ExportsInfoDependency},27790:(E,N,R)=>{"use strict";const j=R(58159);const $=R(56202);const q=R(37359);const G=R(12197);class HarmonyAcceptDependency extends G{constructor(E,N,R){super();this.range=E;this.dependencies=N;this.hasCallback=R}get type(){return"accepted harmony modules"}serialize(E){const{write:N}=E;N(this.range);N(this.dependencies);N(this.hasCallback);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.dependencies=N();this.hasCallback=N();super.deserialize(E)}}$(HarmonyAcceptDependency,"webpack/lib/dependencies/HarmonyAcceptDependency");HarmonyAcceptDependency.Template=class HarmonyAcceptDependencyTemplate extends G.Template{apply(E,N,R){const $=E;const{module:G,runtime:ie,runtimeRequirements:ae,runtimeTemplate:ce,moduleGraph:le,chunkGraph:_e}=R;const Ee=$.dependencies.map((E=>{const N=le.getModule(E);return{dependency:E,runtimeCondition:N?q.Template.getImportEmittedRuntime(G,N):false}})).filter((({runtimeCondition:E})=>E!==false)).map((({dependency:E,runtimeCondition:N})=>{const $=ce.runtimeConditionExpression({chunkGraph:_e,runtime:ie,runtimeCondition:N,runtimeRequirements:ae});const q=E.getImportStatement(true,R);const G=q[0]+q[1];if($!=="true"){return`if (${$}) {\n${j.indent(G)}\n}\n`}return G})).join("");if($.hasCallback){if(ce.supportsArrowFunction()){N.insert($.range[0],`__WEBPACK_OUTDATED_DEPENDENCIES__ => { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }")}else{N.insert($.range[0],`function(__WEBPACK_OUTDATED_DEPENDENCIES__) { ${Ee}(`);N.insert($.range[1],")(__WEBPACK_OUTDATED_DEPENDENCIES__); }.bind(this)")}return}const Te=ce.supportsArrowFunction();N.insert($.range[1]-.5,`, ${Te?"() =>":"function()"} { ${Ee} }`)}};E.exports=HarmonyAcceptDependency},80654:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyAcceptImportDependency extends ${constructor(E){super(E,NaN);this.weak=true}get type(){return"harmony accept"}}j(HarmonyAcceptImportDependency,"webpack/lib/dependencies/HarmonyAcceptImportDependency");HarmonyAcceptImportDependency.Template=class HarmonyAcceptImportDependencyTemplate extends $.Template{};E.exports=HarmonyAcceptImportDependency},54290:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class HarmonyCompatibilityDependency extends ie{get type(){return"harmony export header"}}G(HarmonyCompatibilityDependency,"webpack/lib/dependencies/HarmonyCompatibilityDependency");HarmonyCompatibilityDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,runtimeTemplate:G,moduleGraph:ie,initFragments:ae,runtimeRequirements:ce,runtime:le,concatenationScope:_e}){if(_e)return;const Ee=ie.getExportsInfo(R);if(Ee.getReadOnlyExportInfo("__esModule").getUsed(le)!==j.Unused){const E=G.defineEsModuleFlagStatement({exportsArgument:R.exportsArgument,runtimeRequirements:ce});ae.push(new $(E,$.STAGE_HARMONY_EXPORTS,0,"harmony compatibility"))}if(ie.isAsync(R)){ce.add(q.module);ce.add(q.asyncModule);ae.push(new $(G.supportsArrowFunction()?`${q.asyncModule}(${R.moduleArgument}, async (__webpack_handle_async_dependencies__) => {\n`:`${q.asyncModule}(${R.moduleArgument}, async function (__webpack_handle_async_dependencies__) {\n`,$.STAGE_ASYNC_BOUNDARY,0,undefined,R.buildMeta.async?`\n__webpack_handle_async_dependencies__();\n}, 1);`:"\n});"))}}};E.exports=HarmonyCompatibilityDependency},11720:(E,N,R)=>{"use strict";const j=R(28140);const $=R(54290);const q=R(25702);E.exports=class HarmonyDetectionParserPlugin{constructor(E){const{topLevelAwait:N=false}=E||{};this.topLevelAwait=N}apply(E){E.hooks.program.tap("HarmonyDetectionParserPlugin",(N=>{const R=E.state.module.type==="javascript/esm";const G=R||N.body.some((E=>E.type==="ImportDeclaration"||E.type==="ExportDefaultDeclaration"||E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration"));if(G){const N=E.state.module;const G=new $;G.loc={start:{line:-1,column:0},end:{line:-1,column:0},index:-3};N.addPresentationalDependency(G);j.bailout(E.state);q.enable(E.state,R);E.scope.isStrict=true}}));E.hooks.topLevelAwait.tap("HarmonyDetectionParserPlugin",(()=>{const N=E.state.module;if(!this.topLevelAwait){throw new Error("The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)")}if(!q.isEnabled(E.state)){throw new Error("Top-level-await is only supported in EcmaScript Modules")}N.buildMeta.async=true}));const skipInHarmony=()=>{if(q.isEnabled(E.state)){return true}};const nullInHarmony=()=>{if(q.isEnabled(E.state)){return null}};const N=["define","exports"];for(const R of N){E.hooks.evaluateTypeof.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.typeof.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.evaluate.for(R).tap("HarmonyDetectionParserPlugin",nullInHarmony);E.hooks.expression.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony);E.hooks.call.for(R).tap("HarmonyDetectionParserPlugin",skipInHarmony)}}}},16081:(E,N,R)=>{"use strict";const j=R(58018);const $=R(66298);const q=R(55037);const G=R(48752);const ie=R(44576);const ae=R(14696);const{ExportPresenceModes:ce}=R(37359);const{harmonySpecifierTag:le,getAssertions:_e}=R(29381);const Ee=R(69707);const{HarmonyStarExportsList:Te}=ie;E.exports=class HarmonyExportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.reexportExportPresence!==undefined?ce.fromUserOption(E.reexportExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO}apply(E){const{exportPresenceMode:N}=this;E.hooks.export.tap("HarmonyExportDependencyParserPlugin",(N=>{const R=new G(N.declaration&&N.declaration.range,N.range);R.loc=Object.create(N.loc);R.loc.index=-1;E.state.module.addPresentationalDependency(R);return true}));E.hooks.exportImport.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new $("",N.range);j.loc=Object.create(N.loc);j.loc.index=-1;E.state.module.addPresentationalDependency(j);const q=new Ee(R,E.state.lastHarmonyImportOrder,_e(N));q.loc=Object.create(N.loc);q.loc.index=-1;E.state.current.addDependency(q);return true}));E.hooks.exportExpression.tap("HarmonyExportDependencyParserPlugin",((N,R)=>{const $=R.type==="FunctionDeclaration";const G=E.getComments([N.range[0],R.range[0]]);const ie=new q(R.range,N.range,G.map((E=>{switch(E.type){case"Block":return`/*${E.value}*/`;case"Line":return`//${E.value}\n`}return""})).join(""),R.type.endsWith("Declaration")&&R.id?R.id.name:$?{id:R.id?R.id.name:undefined,range:[R.range[0],R.params.length>0?R.params[0].range[0]:R.body.range[0]],prefix:`${R.async?"async ":""}function${R.generator?"*":""} `,suffix:`(${R.params.length>0?"":") "}`}:undefined);ie.loc=Object.create(N.loc);ie.loc.index=-1;E.state.current.addDependency(ie);j.addVariableUsage(E,R.type.endsWith("Declaration")&&R.id?R.id.name:"*default*","default");return true}));E.hooks.exportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,$,q,G)=>{const ce=E.getTagData($,le);let _e;const Ee=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;Ee.add(q);j.addVariableUsage(E,$,q);if(ce){_e=new ie(ce.source,ce.sourceOrder,ce.ids,q,Ee,null,N,null,ce.assertions)}else{_e=new ae($,q)}_e.loc=Object.create(R.loc);_e.loc.index=G;E.state.current.addDependency(_e);return true}));E.hooks.exportImportSpecifier.tap("HarmonyExportDependencyParserPlugin",((R,j,$,q,G)=>{const ae=E.state.harmonyNamedExports=E.state.harmonyNamedExports||new Set;let ce=null;if(q){ae.add(q)}else{ce=E.state.harmonyStarExports=E.state.harmonyStarExports||new Te}const le=new ie(j,E.state.lastHarmonyImportOrder,$?[$]:[],q,ae,ce&&ce.slice(),N,ce);if(ce){ce.push(le)}le.loc=Object.create(R.loc);le.loc.index=G;E.state.current.addDependency(le);return true}))}}},55037:(E,N,R)=>{"use strict";const j=R(77294);const $=R(76150);const q=R(56202);const G=R(82296);const ie=R(12197);class HarmonyExportExpressionDependency extends ie{constructor(E,N,R,j){super();this.range=E;this.rangeStatement=N;this.prefix=R;this.declarationId=j}get type(){return"harmony export expression"}getExports(E){return{exports:["default"],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);N(this.prefix);N(this.declarationId);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();this.prefix=N();this.declarationId=N();super.deserialize(E)}}q(HarmonyExportExpressionDependency,"webpack/lib/dependencies/HarmonyExportExpressionDependency");HarmonyExportExpressionDependency.Template=class HarmonyExportDependencyTemplate extends ie.Template{apply(E,N,{module:R,moduleGraph:q,runtimeTemplate:ie,runtimeRequirements:ae,initFragments:ce,runtime:le,concatenationScope:_e}){const Ee=E;const{declarationId:Te}=Ee;const we=R.exportsArgument;if(Te){let E;if(typeof Te==="string"){E=Te}else{E=j.DEFAULT_EXPORT;N.replace(Te.range[0],Te.range[1]-1,`${Te.prefix}${E}${Te.suffix}`)}if(_e){_e.registerExport("default",E)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){const R=new Map;R.set(N,`/* export default binding */ ${E}`);ce.push(new G(we,R))}}N.replace(Ee.rangeStatement[0],Ee.range[0]-1,`/* harmony default export */ ${Ee.prefix}`)}else{let E;const Te=j.DEFAULT_EXPORT;if(ie.supportsConst()){E=`/* harmony default export */ const ${Te} = `;if(_e){_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);const E=new Map;E.set(N,Te);ce.push(new G(we,E))}else{E=`/* unused harmony default export */ var ${Te} = `}}}else if(_e){E=`/* harmony default export */ var ${Te} = `;_e.registerExport("default",Te)}else{const N=q.getExportsInfo(R).getUsedName("default",le);if(N){ae.add($.exports);E=`/* harmony default export */ ${we}[${JSON.stringify(N)}] = `}else{E=`/* unused harmony default export */ var ${Te} = `}}if(Ee.range){N.replace(Ee.rangeStatement[0],Ee.range[0]-1,E+"("+Ee.prefix);N.replace(Ee.range[1],Ee.rangeStatement[1]-.5,");");return}N.replace(Ee.rangeStatement[0],Ee.rangeStatement[1]-1,E)}}};E.exports=HarmonyExportExpressionDependency},48752:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class HarmonyExportHeaderDependency extends ${constructor(E,N){super();this.range=E;this.rangeStatement=N}get type(){return"harmony export header"}serialize(E){const{write:N}=E;N(this.range);N(this.rangeStatement);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.rangeStatement=N();super.deserialize(E)}}j(HarmonyExportHeaderDependency,"webpack/lib/dependencies/HarmonyExportHeaderDependency");HarmonyExportHeaderDependency.Template=class HarmonyExportDependencyTemplate extends $.Template{apply(E,N,R){const j=E;const $="";const q=j.range?j.range[0]-1:j.rangeStatement[1]-1;N.replace(j.rangeStatement[0],q,$)}};E.exports=HarmonyExportHeaderDependency},44576:(E,N,R)=>{"use strict";const j=R(28706);const{UsageState:$}=R(76632);const q=R(36756);const G=R(63272);const ie=R(76150);const ae=R(58159);const{countIterable:ce}=R(11539);const{first:le,combine:_e}=R(26221);const Ee=R(56202);const Te=R(68038);const{getRuntimeKey:we,keyToRuntime:Ie}=R(37416);const Ne=R(82296);const Me=R(37359);const Le=R(18971);const{ExportPresenceModes:Be}=Me;const je=Symbol("HarmonyExportImportedSpecifierDependency.ids");class NormalReexportItem{constructor(E,N,R,j,$){this.name=E;this.ids=N;this.exportInfo=R;this.checked=j;this.hidden=$}}class ExportMode{constructor(E){this.type=E;this.items=null;this.name=null;this.partialNamespaceExportInfo=null;this.ignored=null;this.hidden=null;this.userRequest=null;this.fakeType=0}}const determineExportAssignments=(E,N,R)=>{const j=new Set;const $=[];if(R){N=N.concat(R)}for(const R of N){const N=$.length;$[N]=j.size;const q=E.getModule(R);if(q){const R=E.getExportsInfo(q);for(const E of R.exports){if(E.provided===true&&E.name!=="default"&&!j.has(E.name)){j.add(E.name);$[N]=j.size}}}}$.push(j.size);return{names:Array.from(j),dependencyIndices:$}};const findDependencyForName=({names:E,dependencyIndices:N},R,j)=>{const $=j[Symbol.iterator]();const q=N[Symbol.iterator]();let G=$.next();let ie=q.next();if(ie.done)return;for(let N=0;N=ie.value){G=$.next();ie=q.next();if(ie.done)return}if(E[N]===R)return G.value}return undefined};const getMode=(E,N,R)=>{const j=E.getModule(N);if(!j){const E=new ExportMode("missing");E.userRequest=N.userRequest;return E}const q=N.name;const G=Ie(R);const ie=E.getParentModule(N);const ae=E.getExportsInfo(ie);if(q?ae.getUsed(q,G)===$.Unused:ae.isUsed(G)===false){const E=new ExportMode("unused");E.name=q||"*";return E}const ce=j.getExportsType(E,ie.buildMeta.strictHarmonyModule);const le=N.getIds(E);if(q&&le.length>0&&le[0]==="default"){switch(ce){case"dynamic":{const E=new ExportMode("reexport-dynamic-default");E.name=q;return E}case"default-only":case"default-with-named":{const E=ae.getReadOnlyExportInfo(q);const N=new ExportMode("reexport-named-default");N.name=q;N.partialNamespaceExportInfo=E;return N}}}if(q){let E;const N=ae.getReadOnlyExportInfo(q);if(le.length>0){switch(ce){case"default-only":E=new ExportMode("reexport-undefined");E.name=q;break;default:E=new ExportMode("normal-reexport");E.items=[new NormalReexportItem(q,le,N,false,false)];break}}else{switch(ce){case"default-only":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=0;break;case"default-with-named":E=new ExportMode("reexport-fake-namespace-object");E.name=q;E.partialNamespaceExportInfo=N;E.fakeType=2;break;case"dynamic":default:E=new ExportMode("reexport-namespace-object");E.name=q;E.partialNamespaceExportInfo=N}}return E}const{ignoredExports:_e,exports:Ee,checked:Te,hidden:we}=N.getStarReexports(E,G,ae,j);if(!Ee){const E=new ExportMode("dynamic-reexport");E.ignored=_e;E.hidden=we;return E}if(Ee.size===0){const E=new ExportMode("empty-star");E.hidden=we;return E}const Ne=new ExportMode("normal-reexport");Ne.items=Array.from(Ee,(E=>new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),Te.has(E),false)));if(we!==undefined){for(const E of we){Ne.items.push(new NormalReexportItem(E,[E],ae.getReadOnlyExportInfo(E),false,true))}}return Ne};class HarmonyExportImportedSpecifierDependency extends Me{constructor(E,N,R,j,$,q,G,ie,ae){super(E,N,ae);this.ids=R;this.name=j;this.activeExports=$;this.otherStarExports=q;this.exportPresenceMode=G;this.allStarExports=ie}couldAffectReferencingModule(){return j.TRANSITIVE}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony export imported specifier"}getIds(E){return E.getMeta(this)[je]||this.ids}setIds(E,N){E.getMeta(this)[je]=N}getMode(E,N){return E.dependencyCacheProvide(this,we(N),getMode)}getStarReexports(E,N,R=E.getExportsInfo(E.getParentModule(this)),j=E.getModule(this)){const q=E.getExportsInfo(j);const G=q.otherExportsInfo.provided===false;const ie=R.otherExportsInfo.getUsed(N)===$.Unused;const ae=new Set(["default",...this.activeExports]);let ce=undefined;const le=this._discoverActiveExportsFromOtherStarExports(E);if(le!==undefined){ce=new Set;for(let E=0;E{const j=this.getMode(E,R);return j.type!=="unused"&&j.type!=="empty-star"}}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){const R=this.getMode(E,N);switch(R.type){case"missing":case"unused":case"empty-star":case"reexport-undefined":return j.NO_EXPORTS_REFERENCED;case"reexport-dynamic-default":return j.EXPORTS_OBJECT_REFERENCED;case"reexport-named-default":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo);return E}case"reexport-namespace-object":case"reexport-fake-namespace-object":{if(!R.partialNamespaceExportInfo)return j.EXPORTS_OBJECT_REFERENCED;const E=[];Le(N,E,[],R.partialNamespaceExportInfo,R.type==="reexport-fake-namespace-object");return E}case"dynamic-reexport":return j.EXPORTS_OBJECT_REFERENCED;case"normal-reexport":{const E=[];for(const{ids:j,exportInfo:$,hidden:q}of R.items){if(q)continue;Le(N,E,j,$,false)}return E}default:throw new Error(`Unknown mode ${R.type}`)}}_discoverActiveExportsFromOtherStarExports(E){if(!this.otherStarExports)return undefined;const N="length"in this.otherStarExports?this.otherStarExports.length:ce(this.otherStarExports);if(N===0)return undefined;if(this.allStarExports){const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.allStarExports.dependencies);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}const{names:R,dependencyIndices:j}=E.cached(determineExportAssignments,this.otherStarExports,this);return{names:R,namesSlice:j[N-1],dependencyIndices:j,dependencyIndex:N}}getExports(E){const N=this.getMode(E,undefined);switch(N.type){case"missing":return undefined;case"dynamic-reexport":{const R=E.getConnection(this);return{exports:true,from:R,canMangle:false,excludeExports:N.hidden?_e(N.ignored,N.hidden):N.ignored,hideExports:N.hidden,dependencies:[R.module]}}case"empty-star":return{exports:[],hideExports:N.hidden,dependencies:[E.getModule(this)]};case"normal-reexport":{const R=E.getConnection(this);return{exports:Array.from(N.items,(E=>({name:E.name,from:R,export:E.ids,hidden:E.hidden}))),priority:1,dependencies:[R.module]}}case"reexport-dynamic-default":{{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}}case"reexport-undefined":return{exports:[N.name],dependencies:[E.getModule(this)]};case"reexport-fake-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null,exports:[{name:"default",canMangle:false,from:R,export:null}]}],priority:1,dependencies:[R.module]}}case"reexport-namespace-object":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:null}],priority:1,dependencies:[R.module]}}case"reexport-named-default":{const R=E.getConnection(this);return{exports:[{name:N.name,from:R,export:["default"]}],priority:1,dependencies:[R.module]}}default:throw new Error(`Unknown mode ${N.type}`)}}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==Be.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?Be.ERROR:Be.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===Be.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);let R=this.getLinkingErrors(E,N,`(reexported as '${this.name}')`);if(N.length===0&&this.name===null){const N=this._discoverActiveExportsFromOtherStarExports(E);if(N&&N.namesSlice>0){const j=new Set(N.names.slice(N.namesSlice,N.dependencyIndices[N.dependencyIndex]));const $=E.getModule(this);if($){const G=E.getExportsInfo($);const ie=new Map;for(const R of G.orderedExports){if(R.provided!==true)continue;if(R.name==="default")continue;if(this.activeExports.has(R.name))continue;if(j.has(R.name))continue;const q=findDependencyForName(N,R.name,this.allStarExports?this.allStarExports.dependencies:[...this.otherStarExports,this]);if(!q)continue;const G=R.getTerminalBinding(E);if(!G)continue;const ae=E.getModule(q);if(ae===$)continue;const ce=E.getExportInfo(ae,R.name);const le=ce.getTerminalBinding(E);if(!le)continue;if(G===le)continue;const _e=ie.get(q.request);if(_e===undefined){ie.set(q.request,[R.name])}else{_e.push(R.name)}}for(const[E,N]of ie){if(!R)R=[];R.push(new q(`The requested module '${this.request}' contains conflicting star exports for the ${N.length>1?"names":"name"} ${N.map((E=>`'${E}'`)).join(", ")} with the previous requested module '${E}'`))}}}}return R}serialize(E){const{write:N,setCircularReference:R}=E;R(this);N(this.ids);N(this.name);N(this.activeExports);N(this.otherStarExports);N(this.exportPresenceMode);N(this.allStarExports);super.serialize(E)}deserialize(E){const{read:N,setCircularReference:R}=E;R(this);this.ids=N();this.name=N();this.activeExports=N();this.otherStarExports=N();this.exportPresenceMode=N();this.allStarExports=N();super.deserialize(E)}}Ee(HarmonyExportImportedSpecifierDependency,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency");E.exports=HarmonyExportImportedSpecifierDependency;HarmonyExportImportedSpecifierDependency.Template=class HarmonyExportImportedSpecifierDependencyTemplate extends Me.Template{apply(E,N,R){const{moduleGraph:j,runtime:$,concatenationScope:q}=R;const G=E;const ie=G.getMode(j,$);if(q){switch(ie.type){case"reexport-undefined":q.registerRawExport(ie.name,"/* reexport non-default export from non-harmony */ undefined")}return}if(ie.type!=="unused"&&ie.type!=="empty-star"){super.apply(E,N,R);this._addExportFragments(R.initFragments,G,ie,R.module,j,$,R.runtimeTemplate,R.runtimeRequirements)}}_addExportFragments(E,N,R,j,$,q,ce,Ee){const Te=$.getModule(N);const we=N.getImportVar($);switch(R.type){case"missing":case"empty-star":E.push(new G("/* empty/unused harmony star reexport */\n",G.STAGE_HARMONY_EXPORTS,1));break;case"unused":E.push(new G(`${ae.toNormalComment(`unused harmony reexport ${R.name}`)}\n`,G.STAGE_HARMONY_EXPORTS,1));break;case"reexport-dynamic-default":E.push(this.getReexportFragment(j,"reexport default from dynamic",$.getExportsInfo(j).getUsedName(R.name,q),we,null,Ee));break;case"reexport-fake-namespace-object":E.push(...this.getReexportFakeNamespaceObjectFragments(j,$.getExportsInfo(j).getUsedName(R.name,q),we,R.fakeType,Ee));break;case"reexport-undefined":E.push(this.getReexportFragment(j,"reexport non-default export from non-harmony",$.getExportsInfo(j).getUsedName(R.name,q),"undefined","",Ee));break;case"reexport-named-default":E.push(this.getReexportFragment(j,"reexport default export from named module",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"reexport-namespace-object":E.push(this.getReexportFragment(j,"reexport module object",$.getExportsInfo(j).getUsedName(R.name,q),we,"",Ee));break;case"normal-reexport":for(const{name:ie,ids:ae,checked:ce,hidden:le}of R.items){if(le)continue;if(ce){E.push(new G("/* harmony reexport (checked) */ "+this.getConditionalReexportStatement(j,ie,we,ae,Ee),$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder))}else{E.push(this.getReexportFragment(j,"reexport safe",$.getExportsInfo(j).getUsedName(ie,q),we,$.getExportsInfo(Te).getUsedName(ae,q),Ee))}}break;case"dynamic-reexport":{const q=R.hidden?_e(R.ignored,R.hidden):R.ignored;const ae=ce.supportsConst()&&ce.supportsArrowFunction();let Ie="/* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};\n"+`/* harmony reexport (unknown) */ for(${ae?"const":"var"} __WEBPACK_IMPORT_KEY__ in ${we}) `;if(q.size>1){Ie+="if("+JSON.stringify(Array.from(q))+".indexOf(__WEBPACK_IMPORT_KEY__) < 0) "}else if(q.size===1){Ie+=`if(__WEBPACK_IMPORT_KEY__ !== ${JSON.stringify(le(q))}) `}Ie+=`__WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = `;if(ae){Ie+=`() => ${we}[__WEBPACK_IMPORT_KEY__]`}else{Ie+=`function(key) { return ${we}[key]; }.bind(0, __WEBPACK_IMPORT_KEY__)`}Ee.add(ie.exports);Ee.add(ie.definePropertyGetters);const Ne=j.exportsArgument;E.push(new G(`${Ie}\n/* harmony reexport (unknown) */ ${ie.definePropertyGetters}(${Ne}, __WEBPACK_REEXPORT_OBJECT__);\n`,$.isAsync(Te)?G.STAGE_ASYNC_HARMONY_IMPORTS:G.STAGE_HARMONY_IMPORTS,N.sourceOrder));break}default:throw new Error(`Unknown mode ${R.type}`)}}getReexportFragment(E,N,R,j,$,q){const G=this.getReturnValue(j,$);q.add(ie.exports);q.add(ie.definePropertyGetters);const ae=new Map;ae.set(R,`/* ${N} */ ${G}`);return new Ne(E.exportsArgument,ae)}getReexportFakeNamespaceObjectFragments(E,N,R,j,$){$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.createFakeNamespaceObject);const q=new Map;q.set(N,`/* reexport fake namespace object from non-harmony */ ${R}_namespace_cache || (${R}_namespace_cache = ${ie.createFakeNamespaceObject}(${R}${j?`, ${j}`:""}))`);return[new G(`var ${R}_namespace_cache;\n`,G.STAGE_CONSTANTS,-1,`${R}_namespace_cache`),new Ne(E.exportsArgument,q)]}getConditionalReexportStatement(E,N,R,j,$){if(j===false){return"/* unused export */\n"}const q=E.exportsArgument;const G=this.getReturnValue(R,j);$.add(ie.exports);$.add(ie.definePropertyGetters);$.add(ie.hasOwnProperty);return`if(${ie.hasOwnProperty}(${R}, ${JSON.stringify(j[0])})) ${ie.definePropertyGetters}(${q}, { ${JSON.stringify(N)}: function() { return ${G}; } });\n`}getReturnValue(E,N){if(N===null){return`${E}_default.a`}if(N===""){return E}if(N===false){return"/* unused export */ undefined"}return`${E}${Te(N)}`}};class HarmonyStarExportsList{constructor(){this.dependencies=[]}push(E){this.dependencies.push(E)}slice(){return this.dependencies.slice()}serialize({write:E,setCircularReference:N}){N(this);E(this.dependencies)}deserialize({read:E,setCircularReference:N}){N(this);this.dependencies=E()}}Ee(HarmonyStarExportsList,"webpack/lib/dependencies/HarmonyExportImportedSpecifierDependency","HarmonyStarExportsList");E.exports.HarmonyStarExportsList=HarmonyStarExportsList},82296:(E,N,R)=>{"use strict";const j=R(63272);const $=R(76150);const{first:q}=R(26221);const joinIterableWithComma=E=>{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const G=new Map;const ie=new Set;class HarmonyExportInitFragment extends j{constructor(E,N=G,R=ie){super(undefined,j.STAGE_HARMONY_EXPORTS,1,"harmony-exports");this.exportsArgument=E;this.exportMap=N;this.unusedExports=R}mergeAll(E){let N;let R=false;let j;let $=false;for(const q of E){if(q.exportMap.size!==0){if(N===undefined){N=q.exportMap;R=false}else{if(!R){N=new Map(N);R=true}for(const[E,R]of q.exportMap){if(!N.has(E))N.set(E,R)}}}if(q.unusedExports.size!==0){if(j===undefined){j=q.unusedExports;$=false}else{if(!$){j=new Set(j);$=true}for(const E of q.unusedExports){j.add(E)}}}}return new HarmonyExportInitFragment(this.exportsArgument,N,j)}merge(E){let N;if(this.exportMap.size===0){N=E.exportMap}else if(E.exportMap.size===0){N=this.exportMap}else{N=new Map(E.exportMap);for(const[E,R]of this.exportMap){if(!N.has(E))N.set(E,R)}}let R;if(this.unusedExports.size===0){R=E.unusedExports}else if(E.unusedExports.size===0){R=this.unusedExports}else{R=new Set(E.unusedExports);for(const E of this.unusedExports){R.add(E)}}return new HarmonyExportInitFragment(this.exportsArgument,N,R)}getContent({runtimeTemplate:E,runtimeRequirements:N}){N.add($.exports);N.add($.definePropertyGetters);const R=this.unusedExports.size>1?`/* unused harmony exports ${joinIterableWithComma(this.unusedExports)} */\n`:this.unusedExports.size>0?`/* unused harmony export ${q(this.unusedExports)} */\n`:"";const j=[];for(const[N,R]of this.exportMap){j.push(`\n/* harmony export */ ${JSON.stringify(N)}: ${E.returningFunction(R)}`)}const G=this.exportMap.size>0?`/* harmony export */ ${$.definePropertyGetters}(${this.exportsArgument}, {${j.join(",")}\n/* harmony export */ });\n`:"";return`${G}${R}`}}E.exports=HarmonyExportInitFragment},14696:(E,N,R)=>{"use strict";const j=R(56202);const $=R(82296);const q=R(12197);class HarmonyExportSpecifierDependency extends q{constructor(E,N){super();this.id=E;this.name=N}get type(){return"harmony export specifier"}getExports(E){return{exports:[this.name],priority:1,terminalBinding:true,dependencies:undefined}}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.id);N(this.name);super.serialize(E)}deserialize(E){const{read:N}=E;this.id=N();this.name=N();super.deserialize(E)}}j(HarmonyExportSpecifierDependency,"webpack/lib/dependencies/HarmonyExportSpecifierDependency");HarmonyExportSpecifierDependency.Template=class HarmonyExportSpecifierDependencyTemplate extends q.Template{apply(E,N,{module:R,moduleGraph:j,initFragments:q,runtime:G,concatenationScope:ie}){const ae=E;if(ie){ie.registerExport(ae.name,ae.id);return}const ce=j.getExportsInfo(R).getUsedName(ae.name,G);if(!ce){const E=new Set;E.add(ae.name||"namespace");q.push(new $(R.exportsArgument,undefined,E));return}const le=new Map;le.set(ce,`/* binding */ ${ae.id}`);q.push(new $(R.exportsArgument,le,undefined))}};E.exports=HarmonyExportSpecifierDependency},25702:(E,N)=>{"use strict";const R=new WeakMap;N.enable=(E,N)=>{const j=R.get(E);if(j===false)return;R.set(E,true);if(j!==true){E.module.buildMeta.exportsType="namespace";E.module.buildInfo.strict=true;E.module.buildInfo.exportsArgument="__webpack_exports__";if(N){E.module.buildMeta.strictHarmonyModule=true;E.module.buildInfo.moduleArgument="__webpack_module__"}}};N.isEnabled=E=>{const N=R.get(E);return N===true}},37359:(E,N,R)=>{"use strict";const j=R(11518);const $=R(28706);const q=R(36756);const G=R(63272);const ie=R(58159);const ae=R(10813);const{filterRuntime:ce,mergeRuntime:le}=R(37416);const _e=R(79983);const Ee={NONE:0,WARN:1,AUTO:2,ERROR:3,fromUserOption(E){switch(E){case"error":return Ee.ERROR;case"warn":return Ee.WARN;case false:return Ee.NONE;default:throw new Error(`Invalid export presence value ${E}`)}}};class HarmonyImportDependency extends _e{constructor(E,N,R){super(E);this.sourceOrder=N;this.assertions=R}get category(){return"esm"}getReferencedExports(E,N){return $.NO_EXPORTS_REFERENCED}getImportVar(E){const N=E.getParentModule(this);const R=E.getMeta(N);let j=R.importVarMap;if(!j)R.importVarMap=j=new Map;let $=j.get(E.getModule(this));if($)return $;$=`${ie.toIdentifier(`${this.userRequest}`)}__WEBPACK_IMPORTED_MODULE_${j.size}__`;j.set(E.getModule(this),$);return $}getImportStatement(E,{runtimeTemplate:N,module:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){return N.importStatement({update:E,module:j.getModule(this),chunkGraph:$,importVar:this.getImportVar(j),request:this.request,originModule:R,runtimeRequirements:q})}getLinkingErrors(E,N,R){const j=E.getModule(this);if(!j||j.getNumberOfErrors()>0){return}const $=E.getParentModule(this);const G=j.getExportsType(E,$.buildMeta.strictHarmonyModule);if(G==="namespace"||G==="default-with-named"){if(N.length===0){return}if((G!=="default-with-named"||N[0]!=="default")&&E.isExportProvided(j,N)===false){let $=0;let G=E.getExportsInfo(j);while($`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'${j}`)]}G=j.getNestedExportsInfo()}return[new q(`export ${N.map((E=>`'${E}'`)).join(".")} ${R} was not found in '${this.userRequest}'`)]}}switch(G){case"default-only":if(N.length>0&&N[0]!=="default"){return[new q(`Can't import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available)`)]}break;case"default-with-named":if(N.length>0&&N[0]!=="default"&&j.buildMeta.defaultObject==="redirect-warn"){return[new q(`Should not import the named export ${N.map((E=>`'${E}'`)).join(".")} ${R} from default-exporting module (only default export is available soon)`)]}break}}serialize(E){const{write:N}=E;N(this.sourceOrder);N(this.assertions);super.serialize(E)}deserialize(E){const{read:N}=E;this.sourceOrder=N();this.assertions=N();super.deserialize(E)}}E.exports=HarmonyImportDependency;const Te=new WeakMap;HarmonyImportDependency.Template=class HarmonyImportDependencyTemplate extends _e.Template{apply(E,N,R){const $=E;const{module:q,chunkGraph:ie,moduleGraph:_e,runtime:Ee}=R;const we=_e.getConnection($);if(we&&!we.isTargetActive(Ee))return;const Ie=we&&we.module;if(we&&we.weak&&Ie&&ie.getModuleId(Ie)===null){return}const Ne=Ie?Ie.identifier():$.request;const Me=`harmony import ${Ne}`;const Le=$.weak?false:we?ce(Ee,(E=>we.isTargetActive(E))):true;if(q&&Ie){let E=Te.get(q);if(E===undefined){E=new WeakMap;Te.set(q,E)}let N=Le;const R=E.get(Ie)||false;if(R!==false&&N!==true){if(N===false||R===true){N=R}else{N=le(R,N)}}E.set(Ie,N)}const Be=$.getImportStatement(false,R);if(Ie&&R.moduleGraph.isAsync(Ie)){R.initFragments.push(new j(Be[0],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le));R.initFragments.push(new ae(new Set([$.getImportVar(R.moduleGraph)])));R.initFragments.push(new j(Be[1],G.STAGE_ASYNC_HARMONY_IMPORTS,$.sourceOrder,Me+" compat",Le))}else{R.initFragments.push(new j(Be[0]+Be[1],G.STAGE_HARMONY_IMPORTS,$.sourceOrder,Me,Le))}}static getImportEmittedRuntime(E,N){const R=Te.get(E);if(R===undefined)return false;return R.get(N)||false}};E.exports.ExportPresenceModes=Ee},29381:(E,N,R)=>{"use strict";const j=R(79972);const $=R(58018);const q=R(66298);const G=R(27790);const ie=R(80654);const ae=R(25702);const{ExportPresenceModes:ce}=R(37359);const le=R(69707);const _e=R(2230);const Ee=Symbol("harmony import");function getAssertions(E){const N=E.assertions;if(N===undefined){return undefined}const R={};for(const E of N){const N=E.key.type==="Identifier"?E.key.name:E.key.value;R[N]=E.value.value}return R}E.exports=class HarmonyImportDependencyParserPlugin{constructor(E){this.exportPresenceMode=E.importExportPresence!==undefined?ce.fromUserOption(E.importExportPresence):E.exportPresence!==undefined?ce.fromUserOption(E.exportPresence):E.strictExportPresence?ce.ERROR:ce.AUTO;this.strictThisContextOnImports=E.strictThisContextOnImports}apply(E){const{exportPresenceMode:N}=this;E.hooks.isPure.for("Identifier").tap("HarmonyImportDependencyParserPlugin",(N=>{const R=N;if(E.isVariableDefined(R.name)||E.getTagData(R.name,Ee)){return true}}));E.hooks.import.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{E.state.lastHarmonyImportOrder=(E.state.lastHarmonyImportOrder||0)+1;const j=new q(E.isAsiPosition(N.range[0])?";":"",N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);E.unsetAsiPosition(N.range[1]);const $=getAssertions(N);const G=new le(R,E.state.lastHarmonyImportOrder,$);G.loc=N.loc;E.state.module.addDependency(G);return true}));E.hooks.importSpecifier.tap("HarmonyImportDependencyParserPlugin",((N,R,j,$)=>{const q=j===null?[]:[j];E.tagVariable($,Ee,{name:$,source:R,ids:q,sourceOrder:E.state.lastHarmonyImportOrder,assertions:getAssertions(N)});return true}));E.hooks.expression.for(Ee).tap("HarmonyImportDependencyParserPlugin",(R=>{const j=E.currentTagData;const q=new _e(j.source,j.sourceOrder,j.ids,j.name,R.range,N,j.assertions);q.shorthand=E.scope.inShorthand;q.directImport=true;q.asiSafe=!E.isAsiPosition(R.range[0]);q.loc=R.loc;E.state.module.addDependency(q);$.onUsage(E.state,(E=>q.usedByExports=E));return true}));E.hooks.expressionMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const q=E.currentTagData;const G=q.ids.concat(j);const ie=new _e(q.source,q.sourceOrder,G,q.name,R.range,N,q.assertions);ie.asiSafe=!E.isAsiPosition(R.range[0]);ie.loc=R.loc;E.state.module.addDependency(ie);$.onUsage(E.state,(E=>ie.usedByExports=E));return true}));E.hooks.callMemberChain.for(Ee).tap("HarmonyImportDependencyParserPlugin",((R,j)=>{const{arguments:q,callee:G}=R;const ie=E.currentTagData;const ae=ie.ids.concat(j);const ce=new _e(ie.source,ie.sourceOrder,ae,ie.name,G.range,N,ie.assertions);ce.directImport=j.length===0;ce.call=true;ce.asiSafe=!E.isAsiPosition(G.range[0]);ce.namespaceObjectAsContext=j.length>0&&this.strictThisContextOnImports;ce.loc=G.loc;E.state.module.addDependency(ce);if(q)E.walkExpressions(q);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));const{hotAcceptCallback:R,hotAcceptWithoutCallback:ce}=j.getParserHooks(E);R.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,true);R.loc=N.loc;E.state.module.addDependency(R)}}));ce.tap("HarmonyImportDependencyParserPlugin",((N,R)=>{if(!ae.isEnabled(E.state)){return}const j=R.map((R=>{const j=new ie(R);j.loc=N.loc;E.state.module.addDependency(j);return j}));if(j.length>0){const R=new G(N.range,j,false);R.loc=N.loc;E.state.module.addDependency(R)}}))}};E.exports.harmonySpecifierTag=Ee;E.exports.getAssertions=getAssertions},69707:(E,N,R)=>{"use strict";const j=R(56202);const $=R(37359);class HarmonyImportSideEffectDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"harmony side effect evaluation"}getCondition(E){return N=>{const R=N.resolvedModule;if(!R)return true;return R.getSideEffectsConnectionState(E)}}getModuleEvaluationSideEffectsState(E){const N=E.getModule(this);if(!N)return true;return N.getSideEffectsConnectionState(E)}}j(HarmonyImportSideEffectDependency,"webpack/lib/dependencies/HarmonyImportSideEffectDependency");HarmonyImportSideEffectDependency.Template=class HarmonyImportSideEffectDependencyTemplate extends $.Template{apply(E,N,R){const{moduleGraph:j,concatenationScope:$}=R;if($){const N=j.getModule(E);if($.isModuleInScope(N)){return}}super.apply(E,N,R)}};E.exports=HarmonyImportSideEffectDependency},2230:(E,N,R)=>{"use strict";const j=R(28706);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(68038);const ie=R(37359);const ae=Symbol("HarmonyImportSpecifierDependency.ids");const{ExportPresenceModes:ce}=ie;class HarmonyImportSpecifierDependency extends ie{constructor(E,N,R,j,$,q,G){super(E,N,G);this.ids=R;this.name=j;this.range=$;this.exportPresenceMode=q;this.namespaceObjectAsContext=false;this.call=undefined;this.directImport=undefined;this.shorthand=undefined;this.asiSafe=undefined;this.usedByExports=undefined}get id(){throw new Error("id was renamed to ids and type changed to string[]")}getId(){throw new Error("id was renamed to ids and type changed to string[]")}setId(){throw new Error("id was renamed to ids and type changed to string[]")}get type(){return"harmony import specifier"}getIds(E){const N=E.getMetaIfExisting(this);if(N===undefined)return this.ids;const R=N[ae];return R!==undefined?R:this.ids}setIds(E,N){E.getMeta(this)[ae]=N}getCondition(E){return $(this,this.usedByExports,E)}getModuleEvaluationSideEffectsState(E){return false}getReferencedExports(E,N){let R=this.getIds(E);if(R.length===0)return j.EXPORTS_OBJECT_REFERENCED;let $=this.namespaceObjectAsContext;if(R[0]==="default"){const N=E.getParentModule(this);const q=E.getModule(this);switch(q.getExportsType(E,N.buildMeta.strictHarmonyModule)){case"default-only":case"default-with-named":if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(1);$=true;break;case"dynamic":return j.EXPORTS_OBJECT_REFERENCED}}if(this.call&&!this.directImport&&($||R.length>1)){if(R.length===1)return j.EXPORTS_OBJECT_REFERENCED;R=R.slice(0,-1)}return[R]}_getEffectiveExportPresenceLevel(E){if(this.exportPresenceMode!==ce.AUTO)return this.exportPresenceMode;return E.getParentModule(this).buildMeta.strictHarmonyModule?ce.ERROR:ce.WARN}getWarnings(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.WARN){return this._getErrors(E)}return null}getErrors(E){const N=this._getEffectiveExportPresenceLevel(E);if(N===ce.ERROR){return this._getErrors(E)}return null}_getErrors(E){const N=this.getIds(E);return this.getLinkingErrors(E,N,`(imported as '${this.name}')`)}getNumberOfIdOccurrences(){return 0}serialize(E){const{write:N}=E;N(this.ids);N(this.name);N(this.range);N(this.exportPresenceMode);N(this.namespaceObjectAsContext);N(this.call);N(this.directImport);N(this.shorthand);N(this.asiSafe);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.ids=N();this.name=N();this.range=N();this.exportPresenceMode=N();this.namespaceObjectAsContext=N();this.call=N();this.directImport=N();this.shorthand=N();this.asiSafe=N();this.usedByExports=N();super.deserialize(E)}}q(HarmonyImportSpecifierDependency,"webpack/lib/dependencies/HarmonyImportSpecifierDependency");HarmonyImportSpecifierDependency.Template=class HarmonyImportSpecifierDependencyTemplate extends ie.Template{apply(E,N,R){const j=E;const{moduleGraph:$,module:q,runtime:ie,concatenationScope:ae}=R;const ce=$.getConnection(j);if(ce&&!ce.isTargetActive(ie))return;const le=j.getIds($);let _e;if(ce&&ae&&ae.isModuleInScope(ce.module)){if(le.length===0){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})}else if(j.namespaceObjectAsContext&&le.length===1){_e=ae.createModuleReference(ce.module,{asiSafe:j.asiSafe})+G(le)}else{_e=ae.createModuleReference(ce.module,{ids:le,call:j.call,directImport:j.directImport,asiSafe:j.asiSafe})}}else{super.apply(E,N,R);const{runtimeTemplate:G,initFragments:ae,runtimeRequirements:ce}=R;_e=G.exportFromImport({moduleGraph:$,module:$.getModule(j),request:j.request,exportName:le,originModule:q,asiSafe:j.shorthand?true:j.asiSafe,isCall:j.call,callContext:!j.directImport,defaultInterop:true,importVar:j.getImportVar($),initFragments:ae,runtime:ie,runtimeRequirements:ce})}if(j.shorthand){N.insert(j.range[1],`: ${_e}`)}else{N.replace(j.range[0],j.range[1]-1,_e)}}};E.exports=HarmonyImportSpecifierDependency},26165:(E,N,R)=>{"use strict";const j=R(27790);const $=R(80654);const q=R(54290);const G=R(55037);const ie=R(48752);const ae=R(44576);const ce=R(14696);const le=R(69707);const _e=R(2230);const Ee=R(11720);const Te=R(16081);const we=R(29381);const Ie=R(13197);class HarmonyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("HarmonyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(le,N);E.dependencyTemplates.set(le,new le.Template);E.dependencyFactories.set(_e,N);E.dependencyTemplates.set(_e,new _e.Template);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyTemplates.set(G,new G.Template);E.dependencyTemplates.set(ce,new ce.Template);E.dependencyFactories.set(ae,N);E.dependencyTemplates.set(ae,new ae.Template);E.dependencyTemplates.set(j,new j.Template);E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);const handler=(E,N)=>{if(N.harmony!==undefined&&!N.harmony)return;new Ee(this.options).apply(E);new we(N).apply(E);new Te(N).apply(E);(new Ie).apply(E)};N.hooks.parser.for("javascript/auto").tap("HarmonyModulesPlugin",handler);N.hooks.parser.for("javascript/esm").tap("HarmonyModulesPlugin",handler)}))}}E.exports=HarmonyModulesPlugin},13197:(E,N,R)=>{"use strict";const j=R(66298);const $=R(25702);class HarmonyTopLevelThisParserPlugin{apply(E){E.hooks.expression.for("this").tap("HarmonyTopLevelThisParserPlugin",(N=>{if(!E.scope.topLevelScope)return;if($.isEnabled(E.state)){const R=new j("undefined",N.range,null);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return this}}))}}E.exports=HarmonyTopLevelThisParserPlugin},4828:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(42740);class ImportContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return`import() context ${this.options.mode}`}get category(){return"esm"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(ImportContextDependency,"webpack/lib/dependencies/ImportContextDependency");ImportContextDependency.Template=q;E.exports=ImportContextDependency},20013:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class ImportDependency extends q{constructor(E,N,R){super(E);this.range=N;this.referencedExports=R}get type(){return"import()"}get category(){return"esm"}getReferencedExports(E,N){return this.referencedExports?this.referencedExports.map((E=>({name:E,canMangle:false}))):j.EXPORTS_OBJECT_REFERENCED}serialize(E){E.write(this.range);E.write(this.referencedExports);super.serialize(E)}deserialize(E){this.range=E.read();this.referencedExports=E.read();super.deserialize(E)}}$(ImportDependency,"webpack/lib/dependencies/ImportDependency");ImportDependency.Template=class ImportDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.moduleNamespacePromise({chunkGraph:q,block:ae,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import()",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ce)}};E.exports=ImportDependency},75708:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportEagerDependency extends ${constructor(E,N,R){super(E,N,R)}get type(){return"import() eager"}get category(){return"esm"}}j(ImportEagerDependency,"webpack/lib/dependencies/ImportEagerDependency");ImportEagerDependency.Template=class ImportEagerDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() eager",runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportEagerDependency},76302:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.accept"}get category(){return"esm"}}j(ImportMetaHotAcceptDependency,"webpack/lib/dependencies/ImportMetaHotAcceptDependency");ImportMetaHotAcceptDependency.Template=q;E.exports=ImportMetaHotAcceptDependency},5389:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ImportMetaHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"import.meta.webpackHot.decline"}get category(){return"esm"}}j(ImportMetaHotDeclineDependency,"webpack/lib/dependencies/ImportMetaHotDeclineDependency");ImportMetaHotDeclineDependency.Template=q;E.exports=ImportMetaHotDeclineDependency},38586:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(23280);const q=R(58159);const G=R(87250);const{evaluateToIdentifier:ie,toConstantDependency:ae,evaluateToString:ce,evaluateToNumber:le}=R(48472);const _e=R(91671);const Ee=R(68038);const Te=R(66298);const we=_e((()=>R(75314)));class ImportMetaPlugin{apply(E){E.hooks.compilation.tap("ImportMetaPlugin",((E,{normalModuleFactory:N})=>{const getUrl=E=>j(E.resource).toString();const parserHandler=(E,N)=>{E.hooks.typeof.for("import.meta").tap("ImportMetaPlugin",ae(E,JSON.stringify("object")));E.hooks.expression.for("import.meta").tap("ImportMetaPlugin",(N=>{const R=we();E.state.module.addWarning(new $(E.state.module,new R("Accessing import.meta directly is unsupported (only property access is supported)"),N.loc));const j=new Te(`${E.isAsiPosition(N.range[0])?";":""}({})`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluateTypeof.for("import.meta").tap("ImportMetaPlugin",ce("object"));E.hooks.evaluateIdentifier.for("import.meta").tap("ImportMetaPlugin",ie("import.meta","import.meta",(()=>[]),true));E.hooks.typeof.for("import.meta.url").tap("ImportMetaPlugin",ae(E,JSON.stringify("string")));E.hooks.expression.for("import.meta.url").tap("ImportMetaPlugin",(N=>{const R=new Te(JSON.stringify(getUrl(E.state.module)),N.range);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.evaluateTypeof.for("import.meta.url").tap("ImportMetaPlugin",ce("string"));E.hooks.evaluateIdentifier.for("import.meta.url").tap("ImportMetaPlugin",(N=>(new G).setString(getUrl(E.state.module)).setRange(N.range)));const j=parseInt(R(37589).i8,10);E.hooks.typeof.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify("number")));E.hooks.expression.for("import.meta.webpack").tap("ImportMetaPlugin",ae(E,JSON.stringify(j)));E.hooks.evaluateTypeof.for("import.meta.webpack").tap("ImportMetaPlugin",ce("number"));E.hooks.evaluateIdentifier.for("import.meta.webpack").tap("ImportMetaPlugin",le(j));E.hooks.unhandledExpressionMemberChain.for("import.meta").tap("ImportMetaPlugin",((N,R)=>{const j=new Te(`${q.toNormalComment("unsupported import.meta."+R.join("."))} undefined${Ee(R,1)}`,N.range);j.loc=N.loc;E.state.module.addPresentationalDependency(j);return true}));E.hooks.evaluate.for("MemberExpression").tap("ImportMetaPlugin",(E=>{const N=E;if(N.object.type==="MetaProperty"&&N.object.meta.name==="import"&&N.object.property.name==="meta"&&N.property.type===(N.computed?"Literal":"Identifier")){return(new G).setUndefined().setRange(N.range)}}))};N.hooks.parser.for("javascript/auto").tap("ImportMetaPlugin",parserHandler);N.hooks.parser.for("javascript/esm").tap("ImportMetaPlugin",parserHandler)}))}}E.exports=ImportMetaPlugin},81467:(E,N,R)=>{"use strict";const j=R(98221);const $=R(47207);const q=R(53558);const G=R(95601);const ie=R(4828);const ae=R(20013);const ce=R(75708);const le=R(12849);class ImportParserPlugin{constructor(E){this.options=E}apply(E){E.hooks.importCall.tap("ImportParserPlugin",(N=>{const R=E.evaluateExpression(N.source);let _e=null;let Ee="lazy";let Te=null;let we=null;let Ie=null;const Ne={};const{options:Me,errors:Le}=E.parseCommentOptions(N.range);if(Le){for(const N of Le){const{comment:R}=N;E.state.module.addWarning(new $(`Compilation error while processing magic comment(-s): /*${R.value}*/: ${N.message}`,R.loc))}}if(Me){if(Me.webpackIgnore!==undefined){if(typeof Me.webpackIgnore!=="boolean"){E.state.module.addWarning(new q(`\`webpackIgnore\` expected a boolean, but received: ${Me.webpackIgnore}.`,N.loc))}else{if(Me.webpackIgnore){return false}}}if(Me.webpackChunkName!==undefined){if(typeof Me.webpackChunkName!=="string"){E.state.module.addWarning(new q(`\`webpackChunkName\` expected a string, but received: ${Me.webpackChunkName}.`,N.loc))}else{_e=Me.webpackChunkName}}if(Me.webpackMode!==undefined){if(typeof Me.webpackMode!=="string"){E.state.module.addWarning(new q(`\`webpackMode\` expected a string, but received: ${Me.webpackMode}.`,N.loc))}else{Ee=Me.webpackMode}}if(Me.webpackPrefetch!==undefined){if(Me.webpackPrefetch===true){Ne.prefetchOrder=0}else if(typeof Me.webpackPrefetch==="number"){Ne.prefetchOrder=Me.webpackPrefetch}else{E.state.module.addWarning(new q(`\`webpackPrefetch\` expected true or a number, but received: ${Me.webpackPrefetch}.`,N.loc))}}if(Me.webpackPreload!==undefined){if(Me.webpackPreload===true){Ne.preloadOrder=0}else if(typeof Me.webpackPreload==="number"){Ne.preloadOrder=Me.webpackPreload}else{E.state.module.addWarning(new q(`\`webpackPreload\` expected true or a number, but received: ${Me.webpackPreload}.`,N.loc))}}if(Me.webpackInclude!==undefined){if(!Me.webpackInclude||Me.webpackInclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackInclude\` expected a regular expression, but received: ${Me.webpackInclude}.`,N.loc))}else{Te=new RegExp(Me.webpackInclude)}}if(Me.webpackExclude!==undefined){if(!Me.webpackExclude||Me.webpackExclude.constructor.name!=="RegExp"){E.state.module.addWarning(new q(`\`webpackExclude\` expected a regular expression, but received: ${Me.webpackExclude}.`,N.loc))}else{we=new RegExp(Me.webpackExclude)}}if(Me.webpackExports!==undefined){if(!(typeof Me.webpackExports==="string"||Array.isArray(Me.webpackExports)&&Me.webpackExports.every((E=>typeof E==="string")))){E.state.module.addWarning(new q(`\`webpackExports\` expected a string or an array of strings, but received: ${Me.webpackExports}.`,N.loc))}else{if(typeof Me.webpackExports==="string"){Ie=[[Me.webpackExports]]}else{Ie=Array.from(Me.webpackExports,(E=>[E]))}}}}if(R.isString()){if(Ee!=="lazy"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'eager' or 'weak', but received: ${Ee}.`,N.loc))}if(Ee==="eager"){const j=new ce(R.string,N.range,Ie);E.state.current.addDependency(j)}else if(Ee==="weak"){const j=new le(R.string,N.range,Ie);E.state.current.addDependency(j)}else{const $=new j({...Ne,name:_e},N.loc,R.string);const q=new ae(R.string,N.range,Ie);q.loc=N.loc;$.addDependency(q);E.state.current.addBlock($)}return true}else{if(Ee!=="lazy"&&Ee!=="lazy-once"&&Ee!=="eager"&&Ee!=="weak"){E.state.module.addWarning(new q(`\`webpackMode\` expected 'lazy', 'lazy-once', 'eager' or 'weak', but received: ${Ee}.`,N.loc));Ee="lazy"}if(Ee==="weak"){Ee="async-weak"}const j=G.create(ie,N.range,R,N,this.options,{chunkName:_e,groupOptions:Ne,include:Te,exclude:we,mode:Ee,namespaceObject:E.state.module.buildMeta.strictHarmonyModule?"strict":true,typePrefix:"import()",category:"esm",referencedExports:Ie},E);if(!j)return;j.loc=N.loc;j.optional=!!E.scope.inTry;E.state.current.addDependency(j);return true}}))}}E.exports=ImportParserPlugin},54975:(E,N,R)=>{"use strict";const j=R(4828);const $=R(20013);const q=R(75708);const G=R(81467);const ie=R(12849);class ImportPlugin{apply(E){E.hooks.compilation.tap("ImportPlugin",((E,{contextModuleFactory:N,normalModuleFactory:R})=>{E.dependencyFactories.set($,R);E.dependencyTemplates.set($,new $.Template);E.dependencyFactories.set(q,R);E.dependencyTemplates.set(q,new q.Template);E.dependencyFactories.set(ie,R);E.dependencyTemplates.set(ie,new ie.Template);E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.import!==undefined&&!N.import)return;new G(N).apply(E)};R.hooks.parser.for("javascript/auto").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/dynamic").tap("ImportPlugin",handler);R.hooks.parser.for("javascript/esm").tap("ImportPlugin",handler)}))}}E.exports=ImportPlugin},12849:(E,N,R)=>{"use strict";const j=R(56202);const $=R(20013);class ImportWeakDependency extends ${constructor(E,N,R){super(E,N,R);this.weak=true}get type(){return"import() weak"}}j(ImportWeakDependency,"webpack/lib/dependencies/ImportWeakDependency");ImportWeakDependency.Template=class ImportDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R,module:j,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=R.moduleNamespacePromise({chunkGraph:q,module:$.getModule(ie),request:ie.request,strict:j.buildMeta.strictHarmonyModule,message:"import() weak",weak:true,runtimeRequirements:G});N.replace(ie.range[0],ie.range[1]-1,ae)}};E.exports=ImportWeakDependency},38895:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);const getExportsFromData=E=>{if(E&&typeof E==="object"){if(Array.isArray(E)){return E.map(((E,N)=>({name:`${N}`,canMangle:true,exports:getExportsFromData(E)})))}else{const N=[];for(const R of Object.keys(E)){N.push({name:R,canMangle:true,exports:getExportsFromData(E[R])})}return N}}return undefined};class JsonExportsDependency extends ${constructor(E){super();this.exports=E;this._hashUpdate=undefined}get type(){return"json exports"}getExports(E){return{exports:this.exports,dependencies:undefined}}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.exports?JSON.stringify(this.exports):"undefined"}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.exports);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();super.deserialize(E)}}j(JsonExportsDependency,"webpack/lib/dependencies/JsonExportsDependency");E.exports=JsonExportsDependency;E.exports.getExportsFromData=getExportsFromData},32876:(E,N,R)=>{"use strict";const j=R(79983);class LoaderDependency extends j{constructor(E){super(E)}get type(){return"loader"}get category(){return"loader"}}E.exports=LoaderDependency},79486:(E,N,R)=>{"use strict";const j=R(79983);class LoaderImportDependency extends j{constructor(E){super(E);this.weak=true}get type(){return"loader import"}get category(){return"loaderImport"}}E.exports=LoaderImportDependency},2451:(E,N,R)=>{"use strict";const j=R(53520);const $=R(83379);const q=R(32876);const G=R(79486);class LoaderPlugin{constructor(E={}){}apply(E){E.hooks.compilation.tap("LoaderPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set(G,N)}));E.hooks.compilation.tap("LoaderPlugin",(E=>{const N=E.moduleGraph;j.getCompilationHooks(E).loader.tap("LoaderPlugin",(R=>{R.loadModule=(j,G)=>{const ie=new q(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return G(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,context:R.context,recursive:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return G(j)}const q=N.getModule(ie);if(!q){return G(new Error("Cannot load the module"))}if(q.getNumberOfErrors()>0){return G(new Error("The loaded module contains errors"))}const ae=q.originalSource();if(!ae){return G(new Error("The module created for a LoaderDependency must have an original source"))}let ce,le;if(ae.sourceAndMap){const E=ae.sourceAndMap();le=E.map;ce=E.source}else{le=ae.map();ce=ae.source()}const _e=new $;const Ee=new $;const Te=new $;const we=new $;q.addCacheDependencies(_e,Ee,Te,we);for(const E of _e){R.addDependency(E)}for(const E of Ee){R.addContextDependency(E)}for(const E of Te){R.addMissingDependency(E)}for(const E of we){R.addBuildDependency(E)}return G(null,ce,le,q)}))};const importModule=(j,$,q)=>{const ie=new G(j);ie.loc={name:j};const ae=E.dependencyFactories.get(ie.constructor);if(ae===undefined){return q(new Error(`No module factory available for dependency type: ${ie.constructor.name}`))}E.buildQueue.increaseParallelism();E.handleModuleCreation({factory:ae,dependencies:[ie],originModule:R._module,contextInfo:{issuerLayer:$.layer},context:R.context,connectOrigin:false},(j=>{E.buildQueue.decreaseParallelism();if(j){return q(j)}const G=N.getModule(ie);if(!G){return q(new Error("Cannot load the module"))}E.executeModule(G,{entryOptions:{publicPath:$.publicPath}},((E,N)=>{if(E)return q(E);for(const E of N.fileDependencies){R.addDependency(E)}for(const E of N.contextDependencies){R.addContextDependency(E)}for(const E of N.missingDependencies){R.addMissingDependency(E)}for(const E of N.buildDependencies){R.addBuildDependency(E)}if(N.cacheable===false)R.cacheable(false);for(const[E,{source:j,info:$}]of N.assets){const{buildInfo:N}=R._module;if(!N.assets){N.assets=Object.create(null);N.assetsInfo=new Map}N.assets[E]=j;N.assetsInfo.set(E,$)}q(null,N.exports)}))}))};R.importModule=(E,N,R)=>{if(!R){return new Promise(((R,j)=>{importModule(E,N||{},((E,N)=>{if(E)j(E);else R(N)}))}))}return importModule(E,N||{},R)}}))}))}}E.exports=LoaderPlugin},77230:(E,N,R)=>{"use strict";const j=R(56202);class LocalModule{constructor(E,N){this.name=E;this.idx=N;this.used=false}flagUsed(){this.used=true}variableName(){return"__WEBPACK_LOCAL_MODULE_"+this.idx+"__"}serialize(E){const{write:N}=E;N(this.name);N(this.idx);N(this.used)}deserialize(E){const{read:N}=E;this.name=N();this.idx=N();this.used=N()}}j(LocalModule,"webpack/lib/dependencies/LocalModule");E.exports=LocalModule},14229:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class LocalModuleDependency extends ${constructor(E,N,R){super();this.localModule=E;this.range=N;this.callNew=R}serialize(E){const{write:N}=E;N(this.localModule);N(this.range);N(this.callNew);super.serialize(E)}deserialize(E){const{read:N}=E;this.localModule=N();this.range=N();this.callNew=N();super.deserialize(E)}}j(LocalModuleDependency,"webpack/lib/dependencies/LocalModuleDependency");LocalModuleDependency.Template=class LocalModuleDependencyTemplate extends $.Template{apply(E,N,R){const j=E;if(!j.range)return;const $=j.callNew?`new (function () { return ${j.localModule.variableName()}; })()`:j.localModule.variableName();N.replace(j.range[0],j.range[1]-1,$)}};E.exports=LocalModuleDependency},61701:(E,N,R)=>{"use strict";const j=R(77230);const lookup=(E,N)=>{if(N.charAt(0)!==".")return N;var R=E.split("/");var j=N.split("/");R.pop();for(let E=0;E{if(!E.localModules){E.localModules=[]}const R=new j(N,E.localModules.length);E.localModules.push(R);return R};N.getLocalModule=(E,N,R)=>{if(!E.localModules)return null;if(R){N=lookup(R,N)}for(let R=0;R{"use strict";const j=R(28706);const $=R(63272);const q=R(76150);const G=R(56202);const ie=R(12197);class ModuleDecoratorDependency extends ie{constructor(E,N){super();this.decorator=E;this.allowExportsAccess=N;this._hashUpdate=undefined}get type(){return"module decorator"}get category(){return"self"}getResourceIdentifier(){return`self`}getReferencedExports(E,N){return this.allowExportsAccess?j.EXPORTS_OBJECT_REFERENCED:j.NO_EXPORTS_REFERENCED}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=`${this.decorator}${this.allowExportsAccess}`}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.decorator);N(this.allowExportsAccess);super.serialize(E)}deserialize(E){const{read:N}=E;this.decorator=N();this.allowExportsAccess=N();super.deserialize(E)}}G(ModuleDecoratorDependency,"webpack/lib/dependencies/ModuleDecoratorDependency");ModuleDecoratorDependency.Template=class ModuleDecoratorDependencyTemplate extends ie.Template{apply(E,N,{module:R,chunkGraph:j,initFragments:G,runtimeRequirements:ie}){const ae=E;ie.add(q.moduleLoaded);ie.add(q.moduleId);ie.add(q.module);ie.add(ae.decorator);G.push(new $(`/* module decorator */ ${R.moduleArgument} = ${ae.decorator}(${R.moduleArgument});\n`,$.STAGE_PROVIDES,0,`module decorator ${j.getModuleId(R)}`))}};E.exports=ModuleDecoratorDependency},79983:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);const q=R(91671);const G=q((()=>R(22804)));class ModuleDependency extends j{constructor(E){super();this.request=E;this.userRequest=E;this.range=undefined;this.assertions=undefined}getResourceIdentifier(){let E=`module${this.request}`;if(this.assertions!==undefined){E+=JSON.stringify(this.assertions)}return E}couldAffectReferencingModule(){return true}createIgnoredModule(E){const N=G();return new N("/* (ignored) */",`ignored|${E}|${this.request}`,`${this.request} (ignored)`)}serialize(E){const{write:N}=E;N(this.request);N(this.userRequest);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.userRequest=N();this.range=N();super.deserialize(E)}}ModuleDependency.Template=$;E.exports=ModuleDependency},80791:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$}){const q=E;if(!q.range)return;const G=R.moduleId({module:j.getModule(q),chunkGraph:$,request:q.request,weak:q.weak});N.replace(q.range[0],q.range[1]-1,G)}}E.exports=ModuleDependencyTemplateAsId},87283:(E,N,R)=>{"use strict";const j=R(79983);class ModuleDependencyTemplateAsRequireId extends j.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:j,chunkGraph:$,runtimeRequirements:q}){const G=E;if(!G.range)return;const ie=R.moduleExports({module:j.getModule(G),chunkGraph:$,request:G.request,weak:G.weak,runtimeRequirements:q});N.replace(G.range[0],G.range[1]-1,ie)}}E.exports=ModuleDependencyTemplateAsRequireId},21809:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotAcceptDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.accept"}get category(){return"commonjs"}}j(ModuleHotAcceptDependency,"webpack/lib/dependencies/ModuleHotAcceptDependency");ModuleHotAcceptDependency.Template=q;E.exports=ModuleHotAcceptDependency},73158:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(80791);class ModuleHotDeclineDependency extends ${constructor(E,N){super(E);this.range=N;this.weak=true}get type(){return"module.hot.decline"}get category(){return"commonjs"}}j(ModuleHotDeclineDependency,"webpack/lib/dependencies/ModuleHotDeclineDependency");ModuleHotDeclineDependency.Template=q;E.exports=ModuleHotDeclineDependency},12197:(E,N,R)=>{"use strict";const j=R(28706);const $=R(84304);class NullDependency extends j{get type(){return"null"}couldAffectReferencingModule(){return false}}NullDependency.Template=class NullDependencyTemplate extends ${apply(E,N,R){}};E.exports=NullDependency},88281:(E,N,R)=>{"use strict";const j=R(79983);class PrefetchDependency extends j{constructor(E){super(E)}get type(){return"prefetch"}get category(){return"esm"}}E.exports=PrefetchDependency},1335:(E,N,R)=>{"use strict";const j=R(63272);const $=R(56202);const q=R(79983);const pathToString=E=>E!==null&&E.length>0?E.map((E=>`[${JSON.stringify(E)}]`)).join(""):"";class ProvidedDependency extends q{constructor(E,N,R,j){super(E);this.identifier=N;this.path=R;this.range=j;this._hashUpdate=undefined}get type(){return"provided"}get category(){return"esm"}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.identifier+(this.path?this.path.join(","):"null")}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.identifier);N(this.path);super.serialize(E)}deserialize(E){const{read:N}=E;this.identifier=N();this.path=N();super.deserialize(E)}}$(ProvidedDependency,"webpack/lib/dependencies/ProvidedDependency");class ProvidedDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,initFragments:G,runtimeRequirements:ie}){const ae=E;G.push(new j(`/* provided dependency */ var ${ae.identifier} = ${R.moduleExports({module:$.getModule(ae),chunkGraph:q,request:ae.request,runtimeRequirements:ie})}${pathToString(ae.path)};\n`,j.STAGE_PROVIDES,1,`provided ${ae.identifier}`));N.replace(ae.range[0],ae.range[1]-1,ae.identifier)}}ProvidedDependency.Template=ProvidedDependencyTemplate;E.exports=ProvidedDependency},53567:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=R(56202);const{filterRuntime:q}=R(37416);const G=R(12197);class PureExpressionDependency extends G{constructor(E){super();this.range=E;this.usedByExports=false;this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=this.range+""}E.update(this._hashUpdate)}getModuleEvaluationSideEffectsState(E){return false}serialize(E){const{write:N}=E;N(this.range);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.usedByExports=N();super.deserialize(E)}}$(PureExpressionDependency,"webpack/lib/dependencies/PureExpressionDependency");PureExpressionDependency.Template=class PureExpressionDependencyTemplate extends G.Template{apply(E,N,{chunkGraph:R,moduleGraph:$,runtime:G,runtimeTemplate:ie,runtimeRequirements:ae}){const ce=E;const le=ce.usedByExports;if(le!==false){const E=$.getParentModule(ce);const _e=$.getExportsInfo(E);const Ee=q(G,(E=>{for(const N of le){if(_e.getUsed(N,E)!==j.Unused){return true}}return false}));if(Ee===true)return;if(Ee!==false){const E=ie.runtimeConditionExpression({chunkGraph:R,runtime:G,runtimeCondition:Ee,runtimeRequirements:ae});N.insert(ce.range[0],`(/* runtime-dependent pure expression or super */ ${E} ? (`);N.insert(ce.range[1],") : null)");return}}N.insert(ce.range[0],`(/* unused pure expression or super */ null && (`);N.insert(ce.range[1],"))")}};E.exports=PureExpressionDependency},19204:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(87283);class RequireContextDependency extends ${constructor(E,N){super(E);this.range=N}get type(){return"require.context"}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();super.deserialize(E)}}j(RequireContextDependency,"webpack/lib/dependencies/RequireContextDependency");RequireContextDependency.Template=q;E.exports=RequireContextDependency},38947:(E,N,R)=>{"use strict";const j=R(19204);E.exports=class RequireContextDependencyParserPlugin{apply(E){E.hooks.call.for("require.context").tap("RequireContextDependencyParserPlugin",(N=>{let R=/^\.\/.*$/;let $=true;let q="sync";switch(N.arguments.length){case 4:{const R=E.evaluateExpression(N.arguments[3]);if(!R.isString())return;q=R.string}case 3:{const j=E.evaluateExpression(N.arguments[2]);if(!j.isRegExp())return;R=j.regExp}case 2:{const R=E.evaluateExpression(N.arguments[1]);if(!R.isBoolean())return;$=R.bool}case 1:{const G=E.evaluateExpression(N.arguments[0]);if(!G.isString())return;const ie=new j({request:G.string,recursive:$,regExp:R,mode:q,category:"commonjs"},N.range);ie.loc=N.loc;ie.optional=!!E.scope.inTry;E.state.current.addDependency(ie);return true}}}))}}},67634:(E,N,R)=>{"use strict";const{cachedSetProperty:j}=R(90149);const $=R(90872);const q=R(19204);const G=R(38947);const ie={};class RequireContextPlugin{apply(E){E.hooks.compilation.tap("RequireContextPlugin",((N,{contextModuleFactory:R,normalModuleFactory:ae})=>{N.dependencyFactories.set(q,R);N.dependencyTemplates.set(q,new q.Template);N.dependencyFactories.set($,ae);const handler=(E,N)=>{if(N.requireContext!==undefined&&!N.requireContext)return;(new G).apply(E)};ae.hooks.parser.for("javascript/auto").tap("RequireContextPlugin",handler);ae.hooks.parser.for("javascript/dynamic").tap("RequireContextPlugin",handler);R.hooks.alternativeRequests.tap("RequireContextPlugin",((N,R)=>{if(N.length===0)return N;const $=E.resolverFactory.get("normal",j(R.resolveOptions||ie,"dependencyType",R.category)).options;let q;if(!$.fullySpecified){q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.extensions){if(N.endsWith(E)){q.push({context:R,request:N.slice(0,-E.length)})}}if(!$.enforceExtension){q.push(E)}}N=q;q=[];for(const E of N){const{request:N,context:R}=E;for(const E of $.mainFiles){if(N.endsWith(`/${E}`)){q.push({context:R,request:N.slice(0,-E.length)});q.push({context:R,request:N.slice(0,-E.length-1)})}}q.push(E)}N=q}q=[];for(const E of N){let N=false;for(const R of $.modules){if(Array.isArray(R)){for(const j of R){if(E.request.startsWith(`./${j}/`)){q.push({context:E.context,request:E.request.slice(j.length+3)});N=true}}}else{const N=R.replace(/\\/g,"/");const j=E.context.replace(/\\/g,"/")+E.request.slice(1);if(j.startsWith(N)){q.push({context:E.context,request:j.slice(N.length+1)})}}}if(!N){q.push(E)}}return q}))}))}}E.exports=RequireContextPlugin},15196:(E,N,R)=>{"use strict";const j=R(98221);const $=R(56202);class RequireEnsureDependenciesBlock extends j{constructor(E,N){super(E,N,null)}}$(RequireEnsureDependenciesBlock,"webpack/lib/dependencies/RequireEnsureDependenciesBlock");E.exports=RequireEnsureDependenciesBlock},90616:(E,N,R)=>{"use strict";const j=R(15196);const $=R(15427);const q=R(81058);const G=R(36134);E.exports=class RequireEnsureDependenciesBlockParserPlugin{apply(E){E.hooks.call.for("require.ensure").tap("RequireEnsureDependenciesBlockParserPlugin",(N=>{let R=null;let ie=null;let ae=null;switch(N.arguments.length){case 4:{const j=E.evaluateExpression(N.arguments[3]);if(!j.isString())return;R=j.string}case 3:{ie=N.arguments[2];ae=G(ie);if(!ae&&!R){const j=E.evaluateExpression(N.arguments[2]);if(!j.isString())return;R=j.string}}case 2:{const ce=E.evaluateExpression(N.arguments[0]);const le=ce.isArray()?ce.items:[ce];const _e=N.arguments[1];const Ee=G(_e);if(Ee){E.walkExpressions(Ee.expressions)}if(ae){E.walkExpressions(ae.expressions)}const Te=new j(R,N.loc);const we=N.arguments.length===4||!R&&N.arguments.length===3;const Ie=new $(N.range,N.arguments[1].range,we&&N.arguments[2].range);Ie.loc=N.loc;Te.addDependency(Ie);const Ne=E.state.current;E.state.current=Te;try{let R=false;E.inScope([],(()=>{for(const E of le){if(E.isString()){const R=new q(E.string);R.loc=E.loc||N.loc;Te.addDependency(R)}else{R=true}}}));if(R){return}if(Ee){if(Ee.fn.body.type==="BlockStatement"){E.walkStatement(Ee.fn.body)}else{E.walkExpression(Ee.fn.body)}}Ne.addBlock(Te)}finally{E.state.current=Ne}if(!Ee){E.walkExpression(_e)}if(ae){if(ae.fn.body.type==="BlockStatement"){E.walkStatement(ae.fn.body)}else{E.walkExpression(ae.fn.body)}}else if(ie){E.walkExpression(ie)}return true}}}))}}},15427:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireEnsureDependency extends q{constructor(E,N,R){super();this.range=E;this.contentRange=N;this.errorHandlerRange=R}get type(){return"require.ensure"}serialize(E){const{write:N}=E;N(this.range);N(this.contentRange);N(this.errorHandlerRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.contentRange=N();this.errorHandlerRange=N();super.deserialize(E)}}$(RequireEnsureDependency,"webpack/lib/dependencies/RequireEnsureDependency");RequireEnsureDependency.Template=class RequireEnsureDependencyTemplate extends q.Template{apply(E,N,{runtimeTemplate:R,moduleGraph:$,chunkGraph:q,runtimeRequirements:G}){const ie=E;const ae=$.getParentBlock(ie);const ce=R.blockPromise({chunkGraph:q,block:ae,message:"require.ensure",runtimeRequirements:G});const le=ie.range;const _e=ie.contentRange;const Ee=ie.errorHandlerRange;N.replace(le[0],_e[0]-1,`${ce}.then((`);if(Ee){N.replace(_e[1],Ee[0]-1,").bind(null, __webpack_require__))['catch'](");N.replace(Ee[1],le[1]-1,")")}else{N.replace(_e[1],le[1]-1,`).bind(null, __webpack_require__))['catch'](${j.uncaughtErrorHandler})`)}}};E.exports=RequireEnsureDependency},81058:(E,N,R)=>{"use strict";const j=R(56202);const $=R(79983);const q=R(12197);class RequireEnsureItemDependency extends ${constructor(E){super(E)}get type(){return"require.ensure item"}get category(){return"commonjs"}}j(RequireEnsureItemDependency,"webpack/lib/dependencies/RequireEnsureItemDependency");RequireEnsureItemDependency.Template=q.Template;E.exports=RequireEnsureItemDependency},51727:(E,N,R)=>{"use strict";const j=R(15427);const $=R(81058);const q=R(90616);const{evaluateToString:G,toConstantDependency:ie}=R(48472);class RequireEnsurePlugin{apply(E){E.hooks.compilation.tap("RequireEnsurePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set($,N);E.dependencyTemplates.set($,new $.Template);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireEnsure!==undefined&&!N.requireEnsure)return;(new q).apply(E);E.hooks.evaluateTypeof.for("require.ensure").tap("RequireEnsurePlugin",G("function"));E.hooks.typeof.for("require.ensure").tap("RequireEnsurePlugin",ie(E,JSON.stringify("function")))};N.hooks.parser.for("javascript/auto").tap("RequireEnsurePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireEnsurePlugin",handler)}))}}E.exports=RequireEnsurePlugin},70340:(E,N,R)=>{"use strict";const j=R(76150);const $=R(56202);const q=R(12197);class RequireHeaderDependency extends q{constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireHeaderDependency(E.read());N.deserialize(E);return N}}$(RequireHeaderDependency,"webpack/lib/dependencies/RequireHeaderDependency");RequireHeaderDependency.Template=class RequireHeaderDependencyTemplate extends q.Template{apply(E,N,{runtimeRequirements:R}){const $=E;R.add(j.require);N.replace($.range[0],$.range[1]-1,"__webpack_require__")}};E.exports=RequireHeaderDependency},63556:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class RequireIncludeDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"require.include"}get category(){return"commonjs"}}q(RequireIncludeDependency,"webpack/lib/dependencies/RequireIncludeDependency");RequireIncludeDependency.Template=class RequireIncludeDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R}){const j=E;const q=R.outputOptions.pathinfo?$.toComment(`require.include ${R.requestShortener.shorten(j.request)}`):"";N.replace(j.range[0],j.range[1]-1,`undefined${q}`)}};E.exports=RequireIncludeDependency},1913:(E,N,R)=>{"use strict";const j=R(81627);const{evaluateToString:$,toConstantDependency:q}=R(48472);const G=R(56202);const ie=R(63556);E.exports=class RequireIncludeDependencyParserPlugin{constructor(E){this.warn=E}apply(E){const{warn:N}=this;E.hooks.call.for("require.include").tap("RequireIncludeDependencyParserPlugin",(R=>{if(R.arguments.length!==1)return;const j=E.evaluateExpression(R.arguments[0]);if(!j.isString())return;if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}const $=new ie(j.string,R.range);$.loc=R.loc;E.state.current.addDependency($);return true}));E.hooks.evaluateTypeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return $("function")(R)}));E.hooks.typeof.for("require.include").tap("RequireIncludePlugin",(R=>{if(N){E.state.module.addWarning(new RequireIncludeDeprecationWarning(R.loc))}return q(E,JSON.stringify("function"))(R)}))}};class RequireIncludeDeprecationWarning extends j{constructor(E){super("require.include() is deprecated and will be removed soon.");this.name="RequireIncludeDeprecationWarning";this.loc=E}}G(RequireIncludeDeprecationWarning,"webpack/lib/dependencies/RequireIncludeDependencyParserPlugin","RequireIncludeDeprecationWarning")},3085:(E,N,R)=>{"use strict";const j=R(63556);const $=R(1913);class RequireIncludePlugin{apply(E){E.hooks.compilation.tap("RequireIncludePlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(j,N);E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{if(N.requireInclude===false)return;const R=N.requireInclude===undefined;new $(R).apply(E)};N.hooks.parser.for("javascript/auto").tap("RequireIncludePlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("RequireIncludePlugin",handler)}))}}E.exports=RequireIncludePlugin},84817:(E,N,R)=>{"use strict";const j=R(56202);const $=R(400);const q=R(94148);class RequireResolveContextDependency extends ${constructor(E,N,R){super(E);this.range=N;this.valueRange=R}get type(){return"amd require context"}serialize(E){const{write:N}=E;N(this.range);N(this.valueRange);super.serialize(E)}deserialize(E){const{read:N}=E;this.range=N();this.valueRange=N();super.deserialize(E)}}j(RequireResolveContextDependency,"webpack/lib/dependencies/RequireResolveContextDependency");RequireResolveContextDependency.Template=q;E.exports=RequireResolveContextDependency},76913:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);const G=R(80791);class RequireResolveDependency extends q{constructor(E,N){super(E);this.range=N}get type(){return"require.resolve"}get category(){return"commonjs"}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}}$(RequireResolveDependency,"webpack/lib/dependencies/RequireResolveDependency");RequireResolveDependency.Template=G;E.exports=RequireResolveDependency},23380:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RequireResolveHeaderDependency extends ${constructor(E){super();if(!Array.isArray(E))throw new Error("range must be valid");this.range=E}serialize(E){const{write:N}=E;N(this.range);super.serialize(E)}static deserialize(E){const N=new RequireResolveHeaderDependency(E.read());N.deserialize(E);return N}}j(RequireResolveHeaderDependency,"webpack/lib/dependencies/RequireResolveHeaderDependency");RequireResolveHeaderDependency.Template=class RequireResolveHeaderDependencyTemplate extends $.Template{apply(E,N,R){const j=E;N.replace(j.range[0],j.range[1]-1,"/*require.resolve*/")}applyAsTemplateArgument(E,N,R){R.replace(N.range[0],N.range[1]-1,"/*require.resolve*/")}};E.exports=RequireResolveHeaderDependency},35424:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class RuntimeRequirementsDependency extends ${constructor(E){super();this.runtimeRequirements=new Set(E);this._hashUpdate=undefined}updateHash(E,N){if(this._hashUpdate===undefined){this._hashUpdate=Array.from(this.runtimeRequirements).join()+""}E.update(this._hashUpdate)}serialize(E){const{write:N}=E;N(this.runtimeRequirements);super.serialize(E)}deserialize(E){const{read:N}=E;this.runtimeRequirements=N();super.deserialize(E)}}j(RuntimeRequirementsDependency,"webpack/lib/dependencies/RuntimeRequirementsDependency");RuntimeRequirementsDependency.Template=class RuntimeRequirementsDependencyTemplate extends $.Template{apply(E,N,{runtimeRequirements:R}){const j=E;for(const E of j.runtimeRequirements){R.add(E)}}};E.exports=RuntimeRequirementsDependency},96076:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class StaticExportsDependency extends ${constructor(E,N){super();this.exports=E;this.canMangle=N}get type(){return"static exports"}getExports(E){return{exports:this.exports,canMangle:this.canMangle,dependencies:undefined}}serialize(E){const{write:N}=E;N(this.exports);N(this.canMangle);super.serialize(E)}deserialize(E){const{read:N}=E;this.exports=N();this.canMangle=N();super.deserialize(E)}}j(StaticExportsDependency,"webpack/lib/dependencies/StaticExportsDependency");E.exports=StaticExportsDependency},62630:(E,N,R)=>{"use strict";const j=R(76150);const $=R(81627);const{evaluateToString:q,expressionIsUnsupported:G,toConstantDependency:ie}=R(48472);const ae=R(56202);const ce=R(66298);const le=R(60125);class SystemPlugin{apply(E){E.hooks.compilation.tap("SystemPlugin",((E,{normalModuleFactory:N})=>{E.hooks.runtimeRequirementInModule.for(j.system).tap("SystemPlugin",((E,N)=>{N.add(j.requireScope)}));E.hooks.runtimeRequirementInTree.for(j.system).tap("SystemPlugin",((N,R)=>{E.addRuntimeModule(N,new le)}));const handler=(E,N)=>{if(N.system===undefined||!N.system){return}const setNotSupported=N=>{E.hooks.evaluateTypeof.for(N).tap("SystemPlugin",q("undefined"));E.hooks.expression.for(N).tap("SystemPlugin",G(E,N+" is not supported by webpack."))};E.hooks.typeof.for("System.import").tap("SystemPlugin",ie(E,JSON.stringify("function")));E.hooks.evaluateTypeof.for("System.import").tap("SystemPlugin",q("function"));E.hooks.typeof.for("System").tap("SystemPlugin",ie(E,JSON.stringify("object")));E.hooks.evaluateTypeof.for("System").tap("SystemPlugin",q("object"));setNotSupported("System.set");setNotSupported("System.get");setNotSupported("System.register");E.hooks.expression.for("System").tap("SystemPlugin",(N=>{const R=new ce(j.system,N.range,[j.system]);R.loc=N.loc;E.state.module.addPresentationalDependency(R);return true}));E.hooks.call.for("System.import").tap("SystemPlugin",(N=>{E.state.module.addWarning(new SystemImportDeprecationWarning(N.loc));return E.hooks.importCall.call({type:"ImportExpression",source:N.arguments[0],loc:N.loc,range:N.range})}))};N.hooks.parser.for("javascript/auto").tap("SystemPlugin",handler);N.hooks.parser.for("javascript/dynamic").tap("SystemPlugin",handler)}))}}class SystemImportDeprecationWarning extends ${constructor(E){super("System.import() is deprecated and will be removed soon. Use import() instead.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="SystemImportDeprecationWarning";this.loc=E}}ae(SystemImportDeprecationWarning,"webpack/lib/dependencies/SystemPlugin","SystemImportDeprecationWarning");E.exports=SystemPlugin;E.exports.SystemImportDeprecationWarning=SystemImportDeprecationWarning},60125:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class SystemRuntimeModule extends ${constructor(){super("system")}generate(){return q.asString([`${j.system} = {`,q.indent(["import: function () {",q.indent("throw new Error('System.import cannot be used indirectly');"),"}"]),"};"])}}E.exports=SystemRuntimeModule},66444:(E,N,R)=>{"use strict";const j=R(76150);const{getDependencyUsedByExportsCondition:$}=R(58018);const q=R(56202);const G=R(91671);const ie=R(79983);const ae=G((()=>R(22804)));class URLDependency extends ie{constructor(E,N,R,j){super(E);this.range=N;this.outerRange=R;this.relative=j||false;this.usedByExports=undefined}get type(){return"new URL()"}get category(){return"url"}getCondition(E){return $(this,this.usedByExports,E)}createIgnoredModule(E){const N=ae();return new N('module.exports = "data:,";',`ignored-asset`,`(ignored asset)`,new Set([j.module]))}serialize(E){const{write:N}=E;N(this.outerRange);N(this.relative);N(this.usedByExports);super.serialize(E)}deserialize(E){const{read:N}=E;this.outerRange=N();this.relative=N();this.usedByExports=N();super.deserialize(E)}}URLDependency.Template=class URLDependencyTemplate extends ie.Template{apply(E,N,R){const{chunkGraph:$,moduleGraph:q,runtimeRequirements:G,runtimeTemplate:ie,runtime:ae}=R;const ce=E;const le=q.getConnection(ce);if(le&&!le.isTargetActive(ae)){N.replace(ce.outerRange[0],ce.outerRange[1]-1,"/* unused asset import */ undefined");return}G.add(j.require);if(ce.relative){G.add(j.relativeUrl);N.replace(ce.outerRange[0],ce.outerRange[1]-1,`/* asset import */ new ${j.relativeUrl}(${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})})`)}else{G.add(j.baseURI);N.replace(ce.range[0],ce.range[1]-1,`/* asset import */ ${ie.moduleRaw({chunkGraph:$,module:q.getModule(ce),request:ce.request,runtimeRequirements:G,weak:false})}, ${j.baseURI}`)}}};q(URLDependency,"webpack/lib/dependencies/URLDependency");E.exports=URLDependency},65577:(E,N,R)=>{"use strict";const{approve:j}=R(48472);const $=R(58018);const q=R(66444);class URLPlugin{apply(E){E.hooks.compilation.tap("URLPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyTemplates.set(q,new q.Template);const parserCallback=(E,N)=>{if(N.url===false)return;const R=N.url==="relative";const getUrlRequest=N=>{if(N.arguments.length!==2)return;const[R,j]=N.arguments;if(j.type!=="MemberExpression"||R.type==="SpreadElement")return;const $=E.extractMemberExpressionChain(j);if($.members.length!==1||$.object.type!=="MetaProperty"||$.object.meta.name!=="import"||$.object.property.name!=="meta"||$.members[0]!=="url")return;const q=E.evaluateExpression(R).asString();return q};E.hooks.canRename.for("URL").tap("URLPlugin",j);E.hooks.new.for("URL").tap("URLPlugin",(N=>{const j=N;const G=getUrlRequest(j);if(!G)return;const[ie,ae]=j.arguments;const ce=new q(G,[ie.range[0],ae.range[1]],j.range,R);ce.loc=j.loc;E.state.module.addDependency(ce);$.onUsage(E.state,(E=>ce.usedByExports=E));return true}));E.hooks.isPure.for("NewExpression").tap("URLPlugin",(N=>{const R=N;const{callee:j}=R;if(j.type!=="Identifier")return;const $=E.getFreeInfoFromVariable(j.name);if(!$||$.name!=="URL")return;const q=getUrlRequest(R);if(q)return true}))};N.hooks.parser.for("javascript/auto").tap("URLPlugin",parserCallback);N.hooks.parser.for("javascript/esm").tap("URLPlugin",parserCallback)}))}}E.exports=URLPlugin},12584:(E,N,R)=>{"use strict";const j=R(56202);const $=R(12197);class UnsupportedDependency extends ${constructor(E,N){super();this.request=E;this.range=N}serialize(E){const{write:N}=E;N(this.request);N(this.range);super.serialize(E)}deserialize(E){const{read:N}=E;this.request=N();this.range=N();super.deserialize(E)}}j(UnsupportedDependency,"webpack/lib/dependencies/UnsupportedDependency");UnsupportedDependency.Template=class UnsupportedDependencyTemplate extends $.Template{apply(E,N,{runtimeTemplate:R}){const j=E;N.replace(j.range[0],j.range[1],R.missingModule({request:j.request}))}};E.exports=UnsupportedDependency},30697:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);const q=R(79983);class WebAssemblyExportImportedDependency extends q{constructor(E,N,R,j){super(N);this.exportName=E;this.name=R;this.valueType=j}couldAffectReferencingModule(){return j.TRANSITIVE}getReferencedExports(E,N){return[[this.name]]}get type(){return"wasm export import"}get category(){return"wasm"}serialize(E){const{write:N}=E;N(this.exportName);N(this.name);N(this.valueType);super.serialize(E)}deserialize(E){const{read:N}=E;this.exportName=N();this.name=N();this.valueType=N();super.deserialize(E)}}$(WebAssemblyExportImportedDependency,"webpack/lib/dependencies/WebAssemblyExportImportedDependency");E.exports=WebAssemblyExportImportedDependency},33081:(E,N,R)=>{"use strict";const j=R(56202);const $=R(59422);const q=R(79983);class WebAssemblyImportDependency extends q{constructor(E,N,R,j){super(E);this.name=N;this.description=R;this.onlyDirectImport=j}get type(){return"wasm import"}get category(){return"wasm"}getReferencedExports(E,N){return[[this.name]]}getErrors(E){const N=E.getModule(this);if(this.onlyDirectImport&&N&&!N.type.startsWith("webassembly")){return[new $(`Import "${this.name}" from "${this.request}" with ${this.onlyDirectImport} can only be used for direct wasm to wasm dependencies`)]}}serialize(E){const{write:N}=E;N(this.name);N(this.description);N(this.onlyDirectImport);super.serialize(E)}deserialize(E){const{read:N}=E;this.name=N();this.description=N();this.onlyDirectImport=N();super.deserialize(E)}}j(WebAssemblyImportDependency,"webpack/lib/dependencies/WebAssemblyImportDependency");E.exports=WebAssemblyImportDependency},46715:(E,N,R)=>{"use strict";const j=R(28706);const $=R(58159);const q=R(56202);const G=R(79983);class WebpackIsIncludedDependency extends G{constructor(E,N){super(E);this.weak=true;this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"__webpack_is_included__"}}q(WebpackIsIncludedDependency,"webpack/lib/dependencies/WebpackIsIncludedDependency");WebpackIsIncludedDependency.Template=class WebpackIsIncludedDependencyTemplate extends G.Template{apply(E,N,{runtimeTemplate:R,chunkGraph:j,moduleGraph:q}){const G=E;const ie=q.getConnection(G);const ae=ie?j.getNumberOfModuleChunks(ie.module)>0:false;const ce=R.outputOptions.pathinfo?$.toComment(`__webpack_is_included__ ${R.requestShortener.shorten(G.request)}`):"";N.replace(G.range[0],G.range[1]-1,`${ce}${JSON.stringify(ae)}`)}};E.exports=WebpackIsIncludedDependency},89017:(E,N,R)=>{"use strict";const j=R(28706);const $=R(76150);const q=R(56202);const G=R(79983);class WorkerDependency extends G{constructor(E,N){super(E);this.range=N}getReferencedExports(E,N){return j.NO_EXPORTS_REFERENCED}get type(){return"new Worker()"}get category(){return"worker"}}WorkerDependency.Template=class WorkerDependencyTemplate extends G.Template{apply(E,N,R){const{chunkGraph:j,moduleGraph:q,runtimeRequirements:G}=R;const ie=E;const ae=q.getParentBlock(E);const ce=j.getBlockChunkGroup(ae);const le=ce.getEntrypointChunk();G.add($.publicPath);G.add($.baseURI);G.add($.getChunkScriptFilename);N.replace(ie.range[0],ie.range[1]-1,`/* worker import */ ${$.publicPath} + ${$.getChunkScriptFilename}(${JSON.stringify(le.id)}), ${$.baseURI}`)}};q(WorkerDependency,"webpack/lib/dependencies/WorkerDependency");E.exports=WorkerDependency},76373:(E,N,R)=>{"use strict";const{pathToFileURL:j}=R(57310);const $=R(98221);const q=R(47207);const G=R(53558);const ie=R(50369);const{equals:ae}=R(73910);const ce=R(35891);const{contextify:le}=R(49197);const _e=R(69085);const Ee=R(66298);const Te=R(7257);const{harmonySpecifierTag:we}=R(29381);const Ie=R(89017);const getUrl=E=>j(E.resource).toString();const Ne=["Worker","SharedWorker","navigator.serviceWorker.register()","Worker from worker_threads"];const Me=new WeakMap;class WorkerPlugin{constructor(E,N,R){this._chunkLoading=E;this._wasmLoading=N;this._module=R}apply(E){if(this._chunkLoading){new ie(this._chunkLoading).apply(E)}if(this._wasmLoading){new _e(this._wasmLoading).apply(E)}const N=le.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("WorkerPlugin",((E,{normalModuleFactory:R})=>{E.dependencyFactories.set(Ie,R);E.dependencyTemplates.set(Ie,new Ie.Template);E.dependencyTemplates.set(Te,new Te.Template);const parseModuleUrl=(E,N)=>{if(N.type!=="NewExpression"||N.callee.type==="Super"||N.arguments.length!==2)return;const[R,j]=N.arguments;if(R.type==="SpreadElement")return;if(j.type==="SpreadElement")return;const $=E.evaluateExpression(N.callee);if(!$.isIdentifier()||$.identifier!=="URL")return;const q=E.evaluateExpression(j);if(!q.isString()||!q.string.startsWith("file://")||q.string!==getUrl(E.state.module)){return}const G=E.evaluateExpression(R);return[G,[R.range[0],j.range[1]]]};const parseObjectExpression=(E,N)=>{const R={};const j={};const $=[];let q=false;for(const G of N.properties){if(G.type==="SpreadElement"){q=true}else if(G.type==="Property"&&!G.method&&!G.computed&&G.key.type==="Identifier"){j[G.key.name]=G.value;if(!G.shorthand&&!G.value.type.endsWith("Pattern")){const N=E.evaluateExpression(G.value);if(N.isCompileTimeValue())R[G.key.name]=N.asCompileTimeValue()}}else{$.push(G)}}const G=N.properties.length>0?"comma":"single";const ie=N.properties[N.properties.length-1].range[1];return{expressions:j,otherElements:$,values:R,spread:q,insertType:G,insertLocation:ie}};const parserPlugin=(R,j)=>{if(j.worker===false)return;const ie=!Array.isArray(j.worker)?["..."]:j.worker;const handleNewWorker=j=>{if(j.arguments.length===0||j.arguments.length>2)return;const[ie,ae]=j.arguments;if(ie.type==="SpreadElement")return;if(ae&&ae.type==="SpreadElement")return;const le=parseModuleUrl(R,ie);if(!le)return;const[_e,we]=le;if(!_e.isString())return;const{expressions:Ne,otherElements:Le,values:Be,spread:je,insertType:Ue,insertLocation:ze}=ae&&ae.type==="ObjectExpression"?parseObjectExpression(R,ae):{expressions:{},otherElements:[],values:{},spread:false,insertType:ae?"spread":"argument",insertLocation:ae?ae.range:ie.range[1]};const{options:We,errors:Je}=R.parseCommentOptions(j.range);if(Je){for(const E of Je){const{comment:N}=E;R.state.module.addWarning(new q(`Compilation error while processing magic comment(-s): /*${N.value}*/: ${E.message}`,N.loc))}}let Ve={};if(We){if(We.webpackIgnore!==undefined){if(typeof We.webpackIgnore!=="boolean"){R.state.module.addWarning(new G(`\`webpackIgnore\` expected a boolean, but received: ${We.webpackIgnore}.`,j.loc))}else{if(We.webpackIgnore){return false}}}if(We.webpackEntryOptions!==undefined){if(typeof We.webpackEntryOptions!=="object"||We.webpackEntryOptions===null){R.state.module.addWarning(new G(`\`webpackEntryOptions\` expected a object, but received: ${We.webpackEntryOptions}.`,j.loc))}else{Object.assign(Ve,We.webpackEntryOptions)}}if(We.webpackChunkName!==undefined){if(typeof We.webpackChunkName!=="string"){R.state.module.addWarning(new G(`\`webpackChunkName\` expected a string, but received: ${We.webpackChunkName}.`,j.loc))}else{Ve.name=We.webpackChunkName}}}if(!Object.prototype.hasOwnProperty.call(Ve,"name")&&Be&&typeof Be.name==="string"){Ve.name=Be.name}if(Ve.runtime===undefined){let j=Me.get(R.state)||0;Me.set(R.state,j+1);let $=`${N(R.state.module.identifier())}|${j}`;const q=ce(E.outputOptions.hashFunction);q.update($);const G=q.digest(E.outputOptions.hashDigest);Ve.runtime=G.slice(0,E.outputOptions.hashDigestLength)}const qe=new $({name:Ve.name,entryOptions:{chunkLoading:this._chunkLoading,wasmLoading:this._wasmLoading,...Ve}});qe.loc=j.loc;const He=new Ie(_e.string,we);He.loc=j.loc;qe.addDependency(He);R.state.module.addBlock(qe);if(E.outputOptions.trustedTypes){const E=new Te(j.arguments[0].range);E.loc=j.loc;R.state.module.addDependency(E)}if(Ne.type){const E=Ne.type;if(Be.type!==false){const N=new Ee(this._module?'"module"':"undefined",E.range);N.loc=E.loc;R.state.module.addPresentationalDependency(N);Ne.type=undefined}}else if(Ue==="comma"){if(this._module||je){const E=new Ee(`, type: ${this._module?'"module"':"undefined"}`,ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}else if(Ue==="spread"){const E=new Ee("Object.assign({}, ",ze[0]);const N=new Ee(`, { type: ${this._module?'"module"':"undefined"} })`,ze[1]);E.loc=j.loc;N.loc=j.loc;R.state.module.addPresentationalDependency(E);R.state.module.addPresentationalDependency(N)}else if(Ue==="argument"){if(this._module){const E=new Ee(', { type: "module" }',ze);E.loc=j.loc;R.state.module.addPresentationalDependency(E)}}R.walkExpression(j.callee);for(const E of Object.keys(Ne)){if(Ne[E])R.walkExpression(Ne[E])}for(const E of Le){R.walkProperty(E)}if(Ue==="spread"){R.walkExpression(ae)}return true};const processItem=E=>{if(E.endsWith("()")){R.hooks.call.for(E.slice(0,-2)).tap("WorkerPlugin",handleNewWorker)}else{const N=/^(.+?)(\(\))?\s+from\s+(.+)$/.exec(E);if(N){const E=N[1].split(".");const j=N[2];const $=N[3];(j?R.hooks.call:R.hooks.new).for(we).tap("WorkerPlugin",(N=>{const j=R.currentTagData;if(!j||j.source!==$||!ae(j.ids,E)){return}return handleNewWorker(N)}))}else{R.hooks.new.for(E).tap("WorkerPlugin",handleNewWorker)}}};for(const E of ie){if(E==="..."){Ne.forEach(processItem)}else processItem(E)}};R.hooks.parser.for("javascript/auto").tap("WorkerPlugin",parserPlugin);R.hooks.parser.for("javascript/esm").tap("WorkerPlugin",parserPlugin)}))}}E.exports=WorkerPlugin},36134:E=>{"use strict";E.exports=E=>{if(E.type==="FunctionExpression"||E.type==="ArrowFunctionExpression"){return{fn:E,expressions:[],needThis:false}}if(E.type==="CallExpression"&&E.callee.type==="MemberExpression"&&E.callee.object.type==="FunctionExpression"&&E.callee.property.type==="Identifier"&&E.callee.property.name==="bind"&&E.arguments.length===1){return{fn:E.callee.object,expressions:[E.arguments[0]],needThis:undefined}}if(E.type==="CallExpression"&&E.callee.type==="FunctionExpression"&&E.callee.body.type==="BlockStatement"&&E.arguments.length===1&&E.arguments[0].type==="ThisExpression"&&E.callee.body.body&&E.callee.body.body.length===1&&E.callee.body.body[0].type==="ReturnStatement"&&E.callee.body.body[0].argument&&E.callee.body.body[0].argument.type==="FunctionExpression"){return{fn:E.callee.body.body[0].argument,expressions:[],needThis:true}}}},18971:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const processExportInfo=(E,N,R,$,q=false,G=new Set)=>{if(!$){N.push(R);return}const ie=$.getUsed(E);if(ie===j.Unused)return;if(G.has($)){N.push(R);return}G.add($);if(ie!==j.OnlyPropertiesUsed||!$.exportsInfo||$.exportsInfo.otherExportsInfo.getUsed(E)!==j.Unused){G.delete($);N.push(R);return}const ae=$.exportsInfo;for(const j of ae.orderedExports){processExportInfo(E,N,q&&j.name==="default"?R:R.concat(j.name),j,false,G)}G.delete($)};E.exports=processExportInfo},25726:(E,N,R)=>{"use strict";const j=R(61050);class ElectronTargetPlugin{constructor(E){this._context=E}apply(E){new j("node-commonjs",["clipboard","crash-reporter","electron","ipc","native-image","original-fs","screen","shell"]).apply(E);switch(this._context){case"main":new j("node-commonjs",["app","auto-updater","browser-window","content-tracing","dialog","global-shortcut","ipc-main","menu","menu-item","power-monitor","power-save-blocker","protocol","session","tray","web-contents"]).apply(E);break;case"preload":case"renderer":new j("node-commonjs",["desktop-capturer","ipc-renderer","remote","web-frame"]).apply(E);break}}}E.exports=ElectronTargetPlugin},44547:(E,N,R)=>{"use strict";const j=R(81627);class BuildCycleError extends j{constructor(E){super("There is a circular build dependency, which makes it impossible to create this module");this.name="BuildCycleError";this.module=E}}E.exports=BuildCycleError},33228:(E,N,R)=>{"use strict";const j=R(66804);class ExportWebpackRequireRuntimeModule extends j{constructor(){super("export webpack runtime",j.STAGE_ATTACH)}shouldIsolate(){return false}generate(){return"export default __webpack_require__;"}}E.exports=ExportWebpackRequireRuntimeModule},57378:(E,N,R)=>{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const{RuntimeGlobals:q}=R(86443);const G=R(22352);const ie=R(58159);const{getCompilationHooks:ae,getChunkFilenameTemplate:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ModuleChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ModuleChunkFormatPlugin",((N,R)=>{if(N.hasRuntime())return;if(E.chunkGraph.getNumberOfEntryModules(N)>0){R.add(q.require);R.add(q.startupEntrypoint);R.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("ModuleChunkFormatPlugin",((R,ae)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ae;const we=_e instanceof G?_e:null;const Ie=new j;if(we){throw new Error("HMR is not implemented for module chunk format yet")}else{Ie.add(`export const id = ${JSON.stringify(_e.id)};\n`);Ie.add(`export const ids = ${JSON.stringify(_e.ids)};\n`);Ie.add(`export const modules = `);Ie.add(R);Ie.add(`;\n`);const G=Ee.getChunkRuntimeModulesInOrder(_e);if(G.length>0){Ie.add("export const runtime =\n");Ie.add(ie.renderChunkRuntimeModules(G,ae))}const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(we.length>0){const R=we[0][1].getRuntimeChunk();const G=E.getPath(ce(_e,E.outputOptions),{chunk:_e,contentHashType:"javascript"}).split("/");const ie=E.getPath(ce(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");const Ne=G.pop();while(G.length>0&&ie.length>0&&G[0]===ie[0]){G.shift();ie.shift()}const Me=(G.length>0?"../".repeat(G.length):"./")+ie.join("/");const Le=new j;Le.add(Ie);Le.add(";\n\n// load runtime\n");Le.add(`import __webpack_require__ from ${JSON.stringify(Me)};\n`);Le.add(`import * as __webpack_self_exports__ from ${JSON.stringify("./"+Ne)};\n`);Le.add(`${q.externalInstallChunk}(__webpack_self_exports__);\n`);const Be=new $(le(Ee,Te,we,_e,false));Le.add(N.renderStartup.call(Be,we[we.length-1][0],{...ae,inlined:false}));return Le}}return Ie}));N.chunkHash.tap("ModuleChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update("ModuleChunkFormatPlugin");N.update("1");const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ModuleChunkFormatPlugin},90662:(E,N,R)=>{"use strict";const j=R(76150);const $=R(33228);const q=R(61451);class ModuleChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("ModuleChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading||N;return j==="import"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);E.addRuntimeModule(N,new q($))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("ModuleChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("ModuleChunkLoadingPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;E.addRuntimeModule(N,new $)}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ModuleChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}))}))}}E.exports=ModuleChunkLoadingPlugin},61451:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const{getChunkFilenameTemplate:ae,chunkHasJs:ce}=R(18161);const{getInitialChunkIds:le}=R(13085);const _e=R(87274);const{getUndoPath:Ee}=R(49197);const Te=new WeakMap;class ModuleChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};Te.set(E,N)}return N}constructor(E){super("import chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunk:N}=this;const{runtimeTemplate:R,chunkGraph:j,outputOptions:{importFunctionName:$,importMetaName:G}}=E;const Te=q.ensureChunkHandlers;const we=this._runtimeRequirements.has(q.baseURI);const Ie=this._runtimeRequirements.has(q.externalInstallChunk);const Ne=this._runtimeRequirements.has(q.ensureChunkHandlers);const Me=this._runtimeRequirements.has(q.onChunksLoaded);const Le=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const Be=j.getChunkConditionMap(N,ce);const je=_e(Be);const Ue=le(N,j);const ze=this.compilation.getPath(ae(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const We=Ee(ze,this.compilation.outputOptions.path,true);const Je=Le?`${q.hmrRuntimeStatePrefix}_module`:undefined;return ie.asString([we?ie.asString([`${q.baseURI} = new URL(${JSON.stringify(We)}, ${G}.url);`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Je?`${Je} = ${Je} || `:""}{`,ie.indent(Array.from(Ue,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Ne||Ie?`var installChunk = ${R.basicFunction("data",[R.destructureObject(["ids","modules","runtime"],"data"),'// add "modules" to the modules object,','// then flag all "ids" as loaded and fire callback',"var moduleId, chunkId, i = 0;","for(moduleId in modules) {",ie.indent([`if(${q.hasOwnProperty}(modules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = modules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","for(;i < ids.length; i++) {",ie.indent(["chunkId = ids[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[ids[i]] = 0;"]),"}",Me?`${q.onChunksLoaded}();`:""])}`:"// no install chunk","",Ne?ie.asString([`${Te}.j = ${R.basicFunction("chunkId, promises",je!==false?ie.indent(["// import() chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[1]);"]),"} else {",ie.indent([je===true?"if(true) { // all chunks have JS":`if(${je("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = ${$}(${JSON.stringify(We)} + ${q.getChunkScriptFilename}(chunkId)).then(installChunk, ${R.basicFunction("e",["if(installedChunks[chunkId] !== 0) installedChunks[chunkId] = undefined;","throw e;"])});`,`var promise = Promise.race([promise, new Promise(${R.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve]`,"resolve")})])`,`promises.push(installedChunkData[1] = promise);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Ie?ie.asString([`${q.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Me?`${q.onChunksLoaded}.j = ${R.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded"])}}E.exports=ModuleChunkLoadingRuntimeModule},72380:E=>{"use strict";const formatPosition=E=>{if(E&&typeof E==="object"){if("line"in E&&"column"in E){return`${E.line}:${E.column}`}else if("line"in E){return`${E.line}:?`}}return""};const formatLocation=E=>{if(E&&typeof E==="object"){if("start"in E&&E.start&&"end"in E&&E.end){if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column==="number"&&E.start.line===E.end.line){return`${formatPosition(E.start)}-${E.end.column}`}else if(typeof E.start==="object"&&typeof E.start.line==="number"&&typeof E.start.column!=="number"&&typeof E.end==="object"&&typeof E.end.line==="number"&&typeof E.end.column!=="number"){return`${E.start.line}-${E.end.line}`}else{return`${formatPosition(E.start)}-${formatPosition(E.end)}`}}if("start"in E&&E.start){return formatPosition(E.start)}if("name"in E&&"index"in E){return`${E.name}[${E.index}]`}if("name"in E){return E.name}}return""};E.exports=formatLocation},49464:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;E.exports=function(){var E={};var ae=R;var ce;var le=[];var _e=[];var Ee="idle";var Te;var we;var Ie;j=E;N.push((function(E){var N=E.module;var R=createRequire(E.require,E.id);N.hot=createModuleHotObject(E.id,N);N.parents=le;N.children=[];le=[];E.require=R}));q={};G={};function createRequire(E,N){var R=ae[N];if(!R)return E;var fn=function(j){if(R.hot.active){if(ae[j]){var $=ae[j].parents;if($.indexOf(N)===-1){$.push(N)}}else{le=[N];ce=j}if(R.children.indexOf(j)===-1){R.children.push(j)}}else{console.warn("[HMR] unexpected require("+j+") from disposed module "+N);le=[]}return E(j)};var createPropertyDescriptor=function(N){return{configurable:true,enumerable:true,get:function(){return E[N]},set:function(R){E[N]=R}}};for(var j in E){if(Object.prototype.hasOwnProperty.call(E,j)&&j!=="e"){Object.defineProperty(fn,j,createPropertyDescriptor(j))}}fn.e=function(N){return trackBlockingPromise(E.e(N))};return fn}function createModuleHotObject(N,R){var j=ce!==N;var $={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:false,_selfDeclined:false,_selfInvalidated:false,_disposeHandlers:[],_main:j,_requireSelf:function(){le=R.parents.slice();ce=j?undefined:N;ie(N)},active:true,accept:function(E,N,R){if(E===undefined)$._selfAccepted=true;else if(typeof E==="function")$._selfAccepted=E;else if(typeof E==="object"&&E!==null){for(var j=0;j=0)$._disposeHandlers.splice(N,1)},invalidate:function(){this._selfInvalidated=true;switch(Ee){case"idle":we=[];Object.keys(G).forEach((function(E){G[E](N,we)}));setStatus("ready");break;case"ready":Object.keys(G).forEach((function(E){G[E](N,we)}));break;case"prepare":case"check":case"dispose":case"apply":(Ie=Ie||[]).push(N);break;default:break}},check:hotCheck,apply:hotApply,status:function(E){if(!E)return Ee;_e.push(E)},addStatusHandler:function(E){_e.push(E)},removeStatusHandler:function(E){var N=_e.indexOf(E);if(N>=0)_e.splice(N,1)},data:E[N]};ce=undefined;return $}function setStatus(E){Ee=E;var N=[];for(var R=0;R<_e.length;R++)N[R]=_e[R].call(null,E);return Promise.all(N)}function trackBlockingPromise(E){switch(Ee){case"ready":setStatus("prepare");Te.push(E);waitForBlockingPromises((function(){return setStatus("ready")}));return E;case"prepare":Te.push(E);return E;default:return E}}function waitForBlockingPromises(E){if(Te.length===0)return E();var N=Te;Te=[];return Promise.all(N).then((function(){return waitForBlockingPromises(E)}))}function hotCheck(E){if(Ee!=="idle"){throw new Error("check() is only allowed in idle status")}return setStatus("check").then($).then((function(N){if(!N){return setStatus(applyInvalidatedModules()?"ready":"idle").then((function(){return null}))}return setStatus("prepare").then((function(){var R=[];Te=[];we=[];return Promise.all(Object.keys(q).reduce((function(E,j){q[j](N.c,N.r,N.m,E,we,R);return E}),[])).then((function(){return waitForBlockingPromises((function(){if(E){return internalApply(E)}else{return setStatus("ready").then((function(){return R}))}}))}))}))}))}function hotApply(E){if(Ee!=="ready"){return Promise.resolve().then((function(){throw new Error("apply() is only allowed in ready status")}))}return internalApply(E)}function internalApply(E){E=E||{};applyInvalidatedModules();var N=we.map((function(N){return N(E)}));we=undefined;var R=N.map((function(E){return E.error})).filter(Boolean);if(R.length>0){return setStatus("abort").then((function(){throw R[0]}))}var j=setStatus("dispose");N.forEach((function(E){if(E.dispose)E.dispose()}));var $=setStatus("apply");var q;var reportError=function(E){if(!q)q=E};var G=[];N.forEach((function(E){if(E.apply){var N=E.apply(reportError);if(N){for(var R=0;R{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HotModuleReplacementRuntimeModule extends ${constructor(){super("hot module replacement",$.STAGE_BASIC)}generate(){return q.getFunctionContent(R(49464)).replace(/\$getFullHash\$/g,j.getFullHash).replace(/\$interceptModuleExecution\$/g,j.interceptModuleExecution).replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadManifest\$/g,j.hmrDownloadManifest).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers)}}E.exports=HotModuleReplacementRuntimeModule},22215:E=>{"use strict";var N=undefined;var R=undefined;var j=undefined;var $=undefined;var q=undefined;var G=undefined;var ie=undefined;var ae=undefined;var ce=undefined;var le=undefined;E.exports=function(){var E;var _e;var Ee;var Te;function applyHandler(R){if(q)delete q.$key$Hmr;E=undefined;function getAffectedModuleEffects(E){var N=[E];var R={};var $=N.map((function(E){return{chain:[E],id:E}}));while($.length>0){var q=$.pop();var G=q.id;var ie=q.chain;var ae=j[G];if(!ae||ae.hot._selfAccepted&&!ae.hot._selfInvalidated)continue;if(ae.hot._selfDeclined){return{type:"self-declined",chain:ie,moduleId:G}}if(ae.hot._main){return{type:"unaccepted",chain:ie,moduleId:G}}for(var ce=0;ce ")}switch(Le.type){case"self-declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of self decline: "+Le.moduleId+ze);break;case"declined":if(R.onDeclined)R.onDeclined(Le);if(!R.ignoreDeclined)Be=new Error("Aborted because of declined dependency: "+Le.moduleId+" in "+Le.parentId+ze);break;case"unaccepted":if(R.onUnaccepted)R.onUnaccepted(Le);if(!R.ignoreUnaccepted)Be=new Error("Aborted because "+Ne+" is not accepted"+ze);break;case"accepted":if(R.onAccepted)R.onAccepted(Le);je=true;break;case"disposed":if(R.onDisposed)R.onDisposed(Le);Ue=true;break;default:throw new Error("Unexception type "+Le.type)}if(Be){return{error:Be}}if(je){we[Ne]=Me;addAllToSet(ce,Le.outdatedModules);for(Ne in Le.outdatedDependencies){if(G(Le.outdatedDependencies,Ne)){if(!ae[Ne])ae[Ne]=[];addAllToSet(ae[Ne],Le.outdatedDependencies[Ne])}}}if(Ue){addAllToSet(ce,[Le.moduleId]);we[Ne]=Ie}}}_e=undefined;var We=[];for(var Je=0;Je0){var $=R.pop();var q=j[$];if(!q)continue;var le={};var _e=q.hot._disposeHandlers;for(Je=0;Je<_e.length;Je++){_e[Je].call(null,le)}ie[$]=le;q.hot.active=false;delete j[$];delete ae[$];for(Je=0;Je=0){Te.parents.splice(E,1)}}}var we;for(var Ie in ae){if(G(ae,Ie)){q=j[Ie];if(q){He=ae[Ie];for(Je=0;Je=0)q.children.splice(E,1)}}}}},apply:function(E){for(var N in we){if(G(we,N)){$[N]=we[N]}}for(var q=0;q{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(28706);const G=R(53453);const ie=R(40674);const ae=R(76150);const ce=R(58159);const le=R(37313);const{registerNotSerializable:_e}=R(24568);const Ee=new Set(["import.meta.webpackHot.accept","import.meta.webpackHot.decline","module.hot.accept","module.hot.decline"]);const checkTest=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N)}if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const Te=new Set(["javascript"]);class LazyCompilationDependency extends q{constructor(E){super();this.proxyModule=E}get category(){return"esm"}get type(){return"lazy import()"}getResourceIdentifier(){return this.proxyModule.originalModule.identifier()}}_e(LazyCompilationDependency);class LazyCompilationProxyModule extends G{constructor(E,N,R,j,$,q){super("lazy-compilation-proxy",E,N.layer);this.originalModule=N;this.request=R;this.client=j;this.data=$;this.active=q}identifier(){return`lazy-compilation-proxy|${this.originalModule.identifier()}`}readableIdentifier(E){return`lazy-compilation-proxy ${this.originalModule.readableIdentifier(E)}`}updateCacheModule(E){super.updateCacheModule(E);const N=E;this.originalModule=N.originalModule;this.request=N.request;this.client=N.client;this.data=N.data;this.active=N.active}libIdent(E){return`${this.originalModule.libIdent(E)}!lazy-compilation-proxy`}needBuild(E,N){N(null,!this.buildInfo||this.buildInfo.active!==this.active)}build(E,N,R,j,q){this.buildInfo={active:this.active};this.buildMeta={};this.clearDependenciesAndBlocks();const G=new le(this.client);this.addDependency(G);if(this.active){const E=new LazyCompilationDependency(this);const N=new $({});N.addDependency(E);this.addBlock(N)}q()}getSourceTypes(){return Te}size(E){return 200}codeGeneration({runtimeTemplate:E,chunkGraph:N,moduleGraph:R}){const $=new Map;const q=new Set;q.add(ae.module);const G=this.dependencies[0];const ie=R.getModule(G);const le=this.blocks[0];const _e=ce.asString([`var client = ${E.moduleExports({module:ie,chunkGraph:N,request:G.userRequest,runtimeRequirements:q})}`,`var data = ${JSON.stringify(this.data)};`]);const Ee=ce.asString([`var dispose = client.keepAlive({ data: data, active: ${JSON.stringify(!!le)}, module: module, onError: onError });`]);let Te;if(le){const j=le.dependencies[0];const $=R.getModule(j);Te=ce.asString([_e,`module.exports = ${E.moduleNamespacePromise({chunkGraph:N,block:le,module:$,request:this.request,strict:false,message:"import()",runtimeRequirements:q})};`,"if (module.hot) {",ce.indent(["module.hot.accept();",`module.hot.accept(${JSON.stringify(N.getModuleId($))}, function() { module.hot.invalidate(); });`,"module.hot.dispose(function(data) { delete data.resolveSelf; dispose(data); });","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);"]),"}","function onError() { /* ignore */ }",Ee])}else{Te=ce.asString([_e,"var resolveSelf, onError;",`module.exports = new Promise(function(resolve, reject) { resolveSelf = resolve; onError = reject; });`,"if (module.hot) {",ce.indent(["module.hot.accept();","if (module.hot.data && module.hot.data.resolveSelf) module.hot.data.resolveSelf(module.exports);","module.hot.dispose(function(data) { data.resolveSelf = resolveSelf; dispose(data); });"]),"}",Ee])}$.set("javascript",new j(Te));return{sources:$,runtimeRequirements:q}}updateHash(E,N){super.updateHash(E,N);E.update(this.active?"active":"");E.update(JSON.stringify(this.data))}}_e(LazyCompilationProxyModule);class LazyCompilationDependencyFactory extends ie{constructor(E){super();this._factory=E}create(E,N){const R=E.dependencies[0];N(null,{module:R.proxyModule.originalModule})}}class LazyCompilationPlugin{constructor({backend:E,entries:N,imports:R,test:j}){this.backend=E;this.entries=N;this.imports=R;this.test=j}apply(E){let N;E.hooks.beforeCompile.tapAsync("LazyCompilationPlugin",((R,j)=>{if(N!==undefined)return j();const $=this.backend(E,((E,R)=>{if(E)return j(E);N=R;j()}));if($&&$.then){$.then((E=>{N=E;j()}),j)}}));E.hooks.thisCompilation.tap("LazyCompilationPlugin",((R,{normalModuleFactory:j})=>{j.hooks.module.tap("LazyCompilationPlugin",((R,j,$)=>{if($.dependencies.every((E=>Ee.has(E.type)||this.imports&&(E.type==="import()"||E.type==="import() context element")||this.entries&&E.type==="entry"))&&!/webpack[/\\]hot[/\\]|webpack-dev-server[/\\]client/.test($.request)&&checkTest(this.test,R)){const j=N.module(R);if(!j)return;const{client:q,data:G,active:ie}=j;return new LazyCompilationProxyModule(E.context,R,$.request,q,G,ie)}}));R.dependencyFactories.set(LazyCompilationDependency,new LazyCompilationDependencyFactory)}));E.hooks.shutdown.tapAsync("LazyCompilationPlugin",(E=>{N.dispose(E)}))}}E.exports=LazyCompilationPlugin},64244:(E,N,R)=>{"use strict";E.exports=E=>(N,j)=>{const $=N.getInfrastructureLogger("LazyCompilationBackend");const q=new Map;const G="/lazy-compilation-using-";const ie=E.protocol==="https"||typeof E.server==="object"&&("key"in E.server||"pfx"in E.server);const ae=typeof E.server==="function"?E.server:(()=>{const N=ie?R(95687):R(13685);return N.createServer.bind(N,E.server)})();const ce=typeof E.listen==="function"?E.listen:N=>{let R=E.listen;if(typeof R==="object"&&!("port"in R))R={...R,port:undefined};N.listen(R)};const le=E.protocol||(ie?"https":"http");const requestListener=(E,R)=>{const j=E.url.slice(G.length).split("@");E.socket.on("close",(()=>{setTimeout((()=>{for(const E of j){const N=q.get(E)||0;q.set(E,N-1);if(N===1){$.log(`${E} is no longer in use. Next compilation will skip this module.`)}}}),12e4)}));E.socket.setNoDelay(true);R.writeHead(200,{"content-type":"text/event-stream","Access-Control-Allow-Origin":"*"});R.write("\n");let ie=false;for(const E of j){const N=q.get(E)||0;q.set(E,N+1);if(N===0){$.log(`${E} is now in use and will be compiled.`);ie=true}}if(ie&&N.watching)N.watching.invalidate()};const _e=ae();_e.on("request",requestListener);let Ee=false;const Te=new Set;_e.on("connection",(E=>{Te.add(E);E.on("close",(()=>{Te.delete(E)}));if(Ee)E.destroy()}));_e.on("clientError",(E=>{if(E.message!=="Server is disposing")$.warn(E)}));_e.on("listening",(N=>{if(N)return j(N);const R=_e.address();if(typeof R==="string")throw new Error("addr must not be a string");const ie=R.address==="::"||R.address==="0.0.0.0"?`${le}://localhost:${R.port}`:R.family==="IPv6"?`${le}://[${R.address}]:${R.port}`:`${le}://${R.address}:${R.port}`;$.log(`Server-Sent-Events server for lazy compilation open at ${ie}.`);j(null,{dispose(E){Ee=true;_e.off("request",requestListener);_e.close((N=>{E(N)}));for(const E of Te){E.destroy(new Error("Server is disposing"))}},module(N){const R=`${encodeURIComponent(N.identifier().replace(/\\/g,"/").replace(/@/g,"_")).replace(/%(2F|3A|24|26|2B|2C|3B|3D|3A)/g,decodeURIComponent)}`;const j=q.get(R)>0;return{client:`${E.client}?${encodeURIComponent(ie+G)}`,data:R,active:j}}})}));ce(_e)}},30484:(E,N,R)=>{"use strict";const{find:j}=R(26221);const{compareModulesByPreOrderIndexOrIdentifier:$,compareModulesByPostOrderIndexOrIdentifier:q}=R(68673);class ChunkModuleIdRangePlugin{constructor(E){this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("ChunkModuleIdRangePlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("ChunkModuleIdRangePlugin",(G=>{const ie=E.chunkGraph;const ae=j(E.chunks,(E=>E.name===N.name));if(!ae){throw new Error(`ChunkModuleIdRangePlugin: Chunk with name '${N.name}"' was not found`)}let ce;if(N.order){let E;switch(N.order){case"index":case"preOrderIndex":E=$(R);break;case"index2":case"postOrderIndex":E=q(R);break;default:throw new Error("ChunkModuleIdRangePlugin: unexpected value of order")}ce=ie.getOrderedChunkModules(ae,E)}else{ce=Array.from(G).filter((E=>ie.isModuleInChunk(E,ae))).sort($(R))}let le=N.start||0;for(let E=0;EN.end)break}}))}))}}E.exports=ChunkModuleIdRangePlugin},90444:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getFullChunkName:$,getUsedChunkIds:q,assignDeterministicIds:G}=R(30328);class DeterministicChunkIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicChunkIdsPlugin",(N=>{N.hooks.chunkIds.tap("DeterministicChunkIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=j(ie);const _e=q(N);G(Array.from(R).filter((E=>E.id===null)),(N=>$(N,ie,ae,E.root)),le,((E,N)=>{const R=_e.size;_e.add(`${N}`);if(R===_e.size)return false;E.id=N;E.ids=[N];return true}),[Math.pow(10,ce)],10,_e.size)}))}))}}E.exports=DeterministicChunkIdsPlugin},35579:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{getUsedModuleIds:$,getFullModuleName:q,assignDeterministicIds:G}=R(30328);class DeterministicModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.compilation.tap("DeterministicModuleIdsPlugin",(N=>{N.hooks.moduleIds.tap("DeterministicModuleIdsPlugin",(R=>{const ie=N.chunkGraph;const ae=this.options.context?this.options.context:E.context;const ce=this.options.maxLength||3;const le=$(N);G(Array.from(R).filter((E=>{if(!E.needId)return false;if(ie.getNumberOfModuleChunks(E)===0)return false;return ie.getModuleId(E)===null})),(N=>q(N,ae,E.root)),j(N.moduleGraph),((E,N)=>{const R=le.size;le.add(`${N}`);if(R===le.size)return false;ie.setModuleId(E,N);return true}),[Math.pow(10,ce)],10,le.size)}))}))}}E.exports=DeterministicModuleIdsPlugin},35853:(E,N,R)=>{"use strict";E=R.nmd(E);const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const q=R(35891);const{getUsedModuleIds:G,getFullModuleName:ie}=R(30328);const ae=$(R(42959),(()=>R(39586)),{name:"Hashed Module Ids Plugin",baseDataPath:"options"});class HashedModuleIdsPlugin{constructor(E={}){ae(E);this.options={context:null,hashFunction:"md4",hashDigest:"base64",hashDigestLength:4,...E}}apply(N){const R=this.options;N.hooks.compilation.tap("HashedModuleIdsPlugin",($=>{$.hooks.moduleIds.tap("HashedModuleIdsPlugin",(ae=>{const ce=$.chunkGraph;const le=this.options.context?this.options.context:N.context;const _e=G($);const Ee=Array.from(ae).filter((N=>{if(!N.needId)return false;if(ce.getNumberOfModuleChunks(N)===0)return false;return ce.getModuleId(E)===null})).sort(j($.moduleGraph));for(const E of Ee){const j=ie(E,le,N.root);const $=q(R.hashFunction);$.update(j||"");const G=$.digest(R.hashDigest);let ae=R.hashDigestLength;while(_e.has(G.substr(0,ae)))ae++;const Ee=G.substr(0,ae);ce.setModuleId(E,Ee);_e.add(Ee)}}))}))}}E.exports=HashedModuleIdsPlugin},30328:(E,N,R)=>{"use strict";const j=R(35891);const{makePathsRelative:$}=R(49197);const q=R(12631);const getHash=(E,N,R)=>{const $=j(R);$.update(E);const q=$.digest("hex");return q.substr(0,N)};const avoidNumber=E=>{if(E.length>21)return E;const N=E.charCodeAt(0);if(N<49){if(N!==45)return E}else if(N>57){return E}if(E===+E+""){return`_${E}`}return E};const requestToId=E=>E.replace(/^(\.\.?\/)+/,"").replace(/(^[.-]|[^a-zA-Z0-9_-])+/g,"_");N.requestToId=requestToId;const shortenLongString=(E,N,R)=>{if(E.length<100)return E;return E.slice(0,100-6-N.length)+N+getHash(E,6,R)};const getShortModuleName=(E,N,R)=>{const j=E.libIdent({context:N,associatedObjectForCache:R});if(j)return avoidNumber(j);const q=E.nameForCondition();if(q)return avoidNumber($(N,q,R));return""};N.getShortModuleName=getShortModuleName;const getLongModuleName=(E,N,R,j,$)=>{const q=getFullModuleName(N,R,$);return`${E}?${getHash(q,4,j)}`};N.getLongModuleName=getLongModuleName;const getFullModuleName=(E,N,R)=>$(N,E.identifier(),R);N.getFullModuleName=getFullModuleName;const getShortChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));E.idNameHints.sort();const ae=Array.from(E.idNameHints).concat(ie).filter(Boolean).join(j);return shortenLongString(ae,j,$)};N.getShortChunkName=getShortChunkName;const getLongChunkName=(E,N,R,j,$,q)=>{const G=N.getChunkRootModules(E);const ie=G.map((E=>requestToId(getShortModuleName(E,R,q))));const ae=G.map((E=>requestToId(getLongModuleName("",E,R,$,q))));E.idNameHints.sort();const ce=Array.from(E.idNameHints).concat(ie,ae).filter(Boolean).join(j);return shortenLongString(ce,j,$)};N.getLongChunkName=getLongChunkName;const getFullChunkName=(E,N,R,j)=>{if(E.name)return E.name;const q=N.getChunkRootModules(E);const G=q.map((E=>$(R,E.identifier(),j)));return G.join()};N.getFullChunkName=getFullChunkName;const addToMapOfItems=(E,N,R)=>{let j=E.get(N);if(j===undefined){j=[];E.set(N,j)}j.push(R)};const getUsedModuleIds=E=>{const N=E.chunkGraph;const R=new Set;if(E.usedModuleIds){for(const N of E.usedModuleIds){R.add(N+"")}}for(const j of E.modules){const E=N.getModuleId(j);if(E!==null){R.add(E+"")}}return R};N.getUsedModuleIds=getUsedModuleIds;const getUsedChunkIds=E=>{const N=new Set;if(E.usedChunkIds){for(const R of E.usedChunkIds){N.add(R+"")}}for(const R of E.chunks){const E=R.id;if(E!==null){N.add(E+"")}}return N};N.getUsedChunkIds=getUsedChunkIds;const assignNames=(E,N,R,j,$,q)=>{const G=new Map;for(const R of E){const E=N(R);addToMapOfItems(G,E,R)}const ie=new Map;for(const[E,N]of G){if(N.length>1||!E){for(const j of N){const N=R(j,E);addToMapOfItems(ie,N,j)}}else{addToMapOfItems(ie,E,N[0])}}const ae=[];for(const[E,N]of ie){if(!E){for(const E of N){ae.push(E)}}else if(N.length===1&&!$.has(E)){q(N[0],E);$.add(E)}else{N.sort(j);let R=0;for(const j of N){while(ie.has(E+R)&&$.has(E+R))R++;q(j,E+R);$.add(E+R);R++}}}ae.sort(j);return ae};N.assignNames=assignNames;const assignDeterministicIds=(E,N,R,j,$=[10],G=10,ie=0)=>{E.sort(R);const ae=Math.min(Math.ceil(E.length*20)+ie,Number.MAX_SAFE_INTEGER);let ce=0;let le=$[ce];while(le{const R=N.chunkGraph;const j=getUsedModuleIds(N);let $=0;let q;if(j.size>0){q=E=>{if(R.getModuleId(E)===null){while(j.has($+""))$++;R.setModuleId(E,$++)}}}else{q=E=>{if(R.getModuleId(E)===null){R.setModuleId(E,$++)}}}for(const N of E){q(N)}};N.assignAscendingModuleIds=assignAscendingModuleIds;const assignAscendingChunkIds=(E,N)=>{const R=getUsedChunkIds(N);let j=0;if(R.size>0){for(const N of E){if(N.id===null){while(R.has(j+""))j++;N.id=j;N.ids=[j];j++}}}else{for(const N of E){if(N.id===null){N.id=j;N.ids=[j];j++}}}};N.assignAscendingChunkIds=assignAscendingChunkIds},64779:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{getShortChunkName:$,getLongChunkName:q,assignNames:G,getUsedChunkIds:ie,assignAscendingChunkIds:ae}=R(30328);class NamedChunkIdsPlugin{constructor(E){this.delimiter=E&&E.delimiter||"-";this.context=E&&E.context}apply(E){E.hooks.compilation.tap("NamedChunkIdsPlugin",(N=>{const{hashFunction:R}=N.outputOptions;N.hooks.chunkIds.tap("NamedChunkIdsPlugin",(ce=>{const le=N.chunkGraph;const _e=this.context?this.context:E.context;const Ee=this.delimiter;const Te=G(Array.from(ce).filter((E=>{if(E.name){E.id=E.name;E.ids=[E.name]}return E.id===null})),(N=>$(N,le,_e,Ee,R,E.root)),(N=>q(N,le,_e,Ee,R,E.root)),j(le),ie(N),((E,N)=>{E.id=N;E.ids=[N]}));if(Te.length>0){ae(Te,N)}}))}))}}E.exports=NamedChunkIdsPlugin},9297:(E,N,R)=>{"use strict";const{compareModulesByIdentifier:j}=R(68673);const{getShortModuleName:$,getLongModuleName:q,assignNames:G,getUsedModuleIds:ie,assignAscendingModuleIds:ae}=R(30328);class NamedModuleIdsPlugin{constructor(E){this.options=E||{}}apply(E){const{root:N}=E;E.hooks.compilation.tap("NamedModuleIdsPlugin",(R=>{const{hashFunction:ce}=R.outputOptions;R.hooks.moduleIds.tap("NamedModuleIdsPlugin",(le=>{const _e=R.chunkGraph;const Ee=this.options.context?this.options.context:E.context;const Te=G(Array.from(le).filter((E=>{if(!E.needId)return false;if(_e.getNumberOfModuleChunks(E)===0)return false;return _e.getModuleId(E)===null})),(E=>$(E,Ee,N)),((E,R)=>q(R,E,Ee,ce,N)),j,ie(R),((E,N)=>_e.setModuleId(E,N)));if(Te.length>0){ae(Te,R)}}))}))}}E.exports=NamedModuleIdsPlugin},18298:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const{assignAscendingChunkIds:$}=R(30328);class NaturalChunkIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("NaturalChunkIdsPlugin",(N=>{const R=E.chunkGraph;const q=j(R);const G=Array.from(N).sort(q);$(G,E)}))}))}}E.exports=NaturalChunkIdsPlugin},97781:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const{assignAscendingModuleIds:$}=R(30328);class NaturalModuleIdsPlugin{apply(E){E.hooks.compilation.tap("NaturalModuleIdsPlugin",(E=>{E.hooks.moduleIds.tap("NaturalModuleIdsPlugin",(N=>{const R=E.chunkGraph;const q=Array.from(N).filter((E=>E.needId&&R.getNumberOfModuleChunks(E)>0&&R.getModuleId(E)===null)).sort(j(E.moduleGraph));$(q,E)}))}))}}E.exports=NaturalModuleIdsPlugin},86169:(E,N,R)=>{"use strict";const{compareChunksNatural:j}=R(68673);const $=R(35817);const{assignAscendingChunkIds:q}=R(30328);const G=$(R(18511),(()=>R(9659)),{name:"Occurrence Order Chunk Ids Plugin",baseDataPath:"options"});class OccurrenceChunkIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceChunkIdsPlugin",(E=>{E.hooks.chunkIds.tap("OccurrenceChunkIdsPlugin",(R=>{const $=E.chunkGraph;const G=new Map;const ie=j($);for(const E of R){let N=0;for(const R of E.groupsIterable){for(const E of R.parentsIterable){if(E.isInitial())N++}}G.set(E,N)}const ae=Array.from(R).sort(((E,R)=>{if(N){const N=G.get(E);const j=G.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return ie(E,R)}));q(ae,E)}))}))}}E.exports=OccurrenceChunkIdsPlugin},76059:(E,N,R)=>{"use strict";const{compareModulesByPreOrderIndexOrIdentifier:j}=R(68673);const $=R(35817);const{assignAscendingModuleIds:q}=R(30328);const G=$(R(52042),(()=>R(37931)),{name:"Occurrence Order Module Ids Plugin",baseDataPath:"options"});class OccurrenceModuleIdsPlugin{constructor(E={}){G(E);this.options=E}apply(E){const N=this.options.prioritiseInitial;E.hooks.compilation.tap("OccurrenceModuleIdsPlugin",(E=>{const R=E.moduleGraph;E.hooks.moduleIds.tap("OccurrenceModuleIdsPlugin",($=>{const G=E.chunkGraph;const ie=Array.from($).filter((E=>E.needId&&G.getNumberOfModuleChunks(E)>0&&G.getModuleId(E)===null));const ae=new Map;const ce=new Map;const le=new Map;const _e=new Map;for(const E of ie){let N=0;let R=0;for(const j of G.getModuleChunksIterable(E)){if(j.canBeInitial())N++;if(G.isEntryModuleInChunk(E,j))R++}le.set(E,N);_e.set(E,R)}const countOccursInEntry=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;if(!$.some((E=>E.isTargetActive(undefined))))continue;N+=le.get(j)}return N};const countOccurs=E=>{let N=0;for(const[j,$]of R.getIncomingConnectionsByOriginModule(E)){if(!j)continue;const E=G.getNumberOfModuleChunks(j);for(const R of $){if(!R.isTargetActive(undefined))continue;if(!R.dependency)continue;const j=R.dependency.getNumberOfIdOccurrences();if(j===0)continue;N+=j*E}}return N};if(N){for(const E of ie){const N=countOccursInEntry(E)+le.get(E)+_e.get(E);ae.set(E,N)}}for(const E of $){const N=countOccurs(E)+G.getNumberOfModuleChunks(E)+_e.get(E);ce.set(E,N)}const Ee=j(E.moduleGraph);ie.sort(((E,R)=>{if(N){const N=ae.get(E);const j=ae.get(R);if(N>j)return-1;if(N$)return-1;if(j<$)return 1;return Ee(E,R)}));q(ie,E)}))}))}}E.exports=OccurrenceModuleIdsPlugin},86443:(E,N,R)=>{"use strict";const j=R(73837);const $=R(91671);const lazyFunction=E=>{const N=$(E);const f=(...E)=>N()(...E);return f};const mergeExports=(E,N)=>{const R=Object.getOwnPropertyDescriptors(N);for(const N of Object.keys(R)){const j=R[N];if(j.get){const R=j.get;Object.defineProperty(E,N,{configurable:false,enumerable:true,get:$(R)})}else if(typeof j.value==="object"){Object.defineProperty(E,N,{configurable:false,enumerable:true,writable:false,value:mergeExports({},j.value)})}else{throw new Error("Exposed values must be either a getter or an nested object")}}return Object.freeze(E)};const q=lazyFunction((()=>R(2982)));E.exports=mergeExports(q,{get webpack(){return R(2982)},get validate(){const E=R(63221);const N=$((()=>{const E=R(33316);const N=R(46312);return R=>E(N,R)}));return R=>{if(!E(R))N()(R)}},get validateSchema(){const E=R(33316);return E},get version(){return R(37589).i8},get cli(){return R(61634)},get AutomaticPrefetchPlugin(){return R(20383)},get AsyncDependenciesBlock(){return R(98221)},get BannerPlugin(){return R(58779)},get Cache(){return R(54725)},get Chunk(){return R(62433)},get ChunkGraph(){return R(45137)},get CleanPlugin(){return R(61666)},get Compilation(){return R(3080)},get Compiler(){return R(63076)},get ConcatenationScope(){return R(77294)},get ContextExclusionPlugin(){return R(51709)},get ContextReplacementPlugin(){return R(26552)},get DefinePlugin(){return R(24820)},get DelegatedPlugin(){return R(82354)},get Dependency(){return R(28706)},get DllPlugin(){return R(73887)},get DllReferencePlugin(){return R(83515)},get DynamicEntryPlugin(){return R(85227)},get EntryOptionPlugin(){return R(64699)},get EntryPlugin(){return R(59674)},get EnvironmentPlugin(){return R(64856)},get EvalDevToolModulePlugin(){return R(91331)},get EvalSourceMapDevToolPlugin(){return R(23641)},get ExternalModule(){return R(16734)},get ExternalsPlugin(){return R(61050)},get Generator(){return R(36253)},get HotUpdateChunk(){return R(22352)},get HotModuleReplacementPlugin(){return R(79972)},get IgnorePlugin(){return R(69276)},get JavascriptModulesPlugin(){return j.deprecate((()=>R(18161)),"webpack.JavascriptModulesPlugin has moved to webpack.javascript.JavascriptModulesPlugin","DEP_WEBPACK_JAVASCRIPT_MODULES_PLUGIN")()},get LibManifestPlugin(){return R(77750)},get LibraryTemplatePlugin(){return j.deprecate((()=>R(43351)),"webpack.LibraryTemplatePlugin is deprecated and has been replaced by compilation.outputOptions.library or compilation.addEntry + passing a library option","DEP_WEBPACK_LIBRARY_TEMPLATE_PLUGIN")()},get LoaderOptionsPlugin(){return R(19674)},get LoaderTargetPlugin(){return R(97736)},get Module(){return R(53453)},get ModuleFilenameHelpers(){return R(70354)},get ModuleGraph(){return R(75412)},get ModuleGraphConnection(){return R(79900)},get NoEmitOnErrorsPlugin(){return R(66962)},get NormalModule(){return R(53520)},get NormalModuleReplacementPlugin(){return R(92234)},get MultiCompiler(){return R(63433)},get Parser(){return R(2172)},get PrefetchPlugin(){return R(13125)},get ProgressPlugin(){return R(52923)},get ProvidePlugin(){return R(40313)},get RuntimeGlobals(){return R(76150)},get RuntimeModule(){return R(66804)},get SingleEntryPlugin(){return j.deprecate((()=>R(59674)),"SingleEntryPlugin was renamed to EntryPlugin","DEP_WEBPACK_SINGLE_ENTRY_PLUGIN")()},get SourceMapDevToolPlugin(){return R(2e4)},get Stats(){return R(10140)},get Template(){return R(58159)},get UsageState(){return R(76632).UsageState},get WatchIgnorePlugin(){return R(91265)},get WebpackError(){return R(81627)},get WebpackOptionsApply(){return R(81721)},get WebpackOptionsDefaulter(){return j.deprecate((()=>R(94820)),"webpack.WebpackOptionsDefaulter is deprecated and has been replaced by webpack.config.getNormalizedWebpackOptions and webpack.config.applyWebpackOptionsDefaults","DEP_WEBPACK_OPTIONS_DEFAULTER")()},get WebpackOptionsValidationError(){return R(15235).ValidationError},get ValidationError(){return R(15235).ValidationError},cache:{get MemoryCachePlugin(){return R(47786)}},config:{get getNormalizedWebpackOptions(){return R(96590).getNormalizedWebpackOptions},get applyWebpackOptionsDefaults(){return R(54411).applyWebpackOptionsDefaults}},dependencies:{get ModuleDependency(){return R(79983)},get ConstDependency(){return R(66298)},get NullDependency(){return R(12197)}},ids:{get ChunkModuleIdRangePlugin(){return R(30484)},get NaturalModuleIdsPlugin(){return R(97781)},get OccurrenceModuleIdsPlugin(){return R(76059)},get NamedModuleIdsPlugin(){return R(9297)},get DeterministicChunkIdsPlugin(){return R(90444)},get DeterministicModuleIdsPlugin(){return R(35579)},get NamedChunkIdsPlugin(){return R(64779)},get OccurrenceChunkIdsPlugin(){return R(86169)},get HashedModuleIdsPlugin(){return R(35853)}},javascript:{get EnableChunkLoadingPlugin(){return R(50369)},get JavascriptModulesPlugin(){return R(18161)},get JavascriptParser(){return R(3711)}},optimize:{get AggressiveMergingPlugin(){return R(61332)},get AggressiveSplittingPlugin(){return j.deprecate((()=>R(94827)),"AggressiveSplittingPlugin is deprecated in favor of SplitChunksPlugin","DEP_WEBPACK_AGGRESSIVE_SPLITTING_PLUGIN")()},get InnerGraph(){return R(58018)},get LimitChunkCountPlugin(){return R(92922)},get MinChunkSizePlugin(){return R(52383)},get ModuleConcatenationPlugin(){return R(35442)},get RealContentHashPlugin(){return R(30699)},get RuntimeChunkPlugin(){return R(4674)},get SideEffectsFlagPlugin(){return R(63410)},get SplitChunksPlugin(){return R(40051)}},runtime:{get GetChunkFilenameRuntimeModule(){return R(9609)},get LoadScriptRuntimeModule(){return R(67104)}},prefetch:{get ChunkPrefetchPreloadPlugin(){return R(5538)}},web:{get FetchCompileAsyncWasmPlugin(){return R(52687)},get FetchCompileWasmPlugin(){return R(71100)},get JsonpChunkLoadingRuntimeModule(){return R(4038)},get JsonpTemplatePlugin(){return R(58421)}},webworker:{get WebWorkerTemplatePlugin(){return R(67439)}},node:{get NodeEnvironmentPlugin(){return R(93632)},get NodeSourcePlugin(){return R(92662)},get NodeTargetPlugin(){return R(84980)},get NodeTemplatePlugin(){return R(91591)},get ReadFileCompileWasmPlugin(){return R(71049)}},electron:{get ElectronTargetPlugin(){return R(25726)}},wasm:{get AsyncWebAssemblyModulesPlugin(){return R(82422)}},library:{get AbstractLibraryPlugin(){return R(9786)},get EnableLibraryPlugin(){return R(13984)}},container:{get ContainerPlugin(){return R(10419)},get ContainerReferencePlugin(){return R(68839)},get ModuleFederationPlugin(){return R(8019)},get scope(){return R(97264).scope}},sharing:{get ConsumeSharedPlugin(){return R(71968)},get ProvideSharedPlugin(){return R(48151)},get SharePlugin(){return R(16471)},get scope(){return R(97264).scope}},debug:{get ProfilingPlugin(){return R(26802)}},util:{get createHash(){return R(35891)},get comparators(){return R(68673)},get runtime(){return R(37416)},get serialization(){return R(24568)},get cleverMerge(){return R(90149).cachedCleverMerge},get LazySet(){return R(83379)}},get sources(){return R(48135)},experiments:{schemes:{get HttpUriPlugin(){return R(7201)}}}})},41113:(E,N,R)=>{"use strict";const{ConcatSource:j,PrefixSource:$,RawSource:q}=R(48135);const{RuntimeGlobals:G}=R(86443);const ie=R(22352);const ae=R(58159);const{getCompilationHooks:ce}=R(18161);const{generateEntryStartup:le,updateHashForEntryStartup:_e}=R(13085);class ArrayPushCallbackChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("ArrayPushCallbackChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(G.onChunksLoaded);N.add(G.require)}N.add(G.chunkCallback)}));const N=ce(E);N.renderChunk.tap("ArrayPushCallbackChunkFormatPlugin",((R,ce)=>{const{chunk:_e,chunkGraph:Ee,runtimeTemplate:Te}=ce;const we=_e instanceof ie?_e:null;const Ie=Te.outputOptions.globalObject;const Ne=new j;const Me=Ee.getChunkRuntimeModulesInOrder(_e);if(we){const E=Te.outputOptions.hotUpdateGlobal;Ne.add(`${Ie}[${JSON.stringify(E)}](`);Ne.add(`${JSON.stringify(_e.id)},`);Ne.add(R);if(Me.length>0){Ne.add(",\n");const E=ae.renderChunkRuntimeModules(Me,ce);Ne.add(E)}Ne.add(")")}else{const ie=Te.outputOptions.chunkLoadingGlobal;Ne.add(`(${Ie}[${JSON.stringify(ie)}] = ${Ie}[${JSON.stringify(ie)}] || []).push([`);Ne.add(`${JSON.stringify(_e.ids)},`);Ne.add(R);const we=Array.from(Ee.getChunkEntryModulesWithChunkGroupIterable(_e));if(Me.length>0||we.length>0){const R=new j((Te.supportsArrowFunction()?"__webpack_require__ =>":"function(__webpack_require__)")+" { // webpackRuntimeModules\n");if(Me.length>0){R.add(ae.renderRuntimeModules(Me,{...ce,codeGenerationResults:E.codeGenerationResults}))}if(we.length>0){const E=new q(le(Ee,Te,we,_e,true));R.add(N.renderStartup.call(E,we[we.length-1][0],{...ce,inlined:false}));if(Ee.getChunkRuntimeRequirements(_e).has(G.returnExportsFromRuntime)){R.add("return __webpack_exports__;\n")}}R.add("}\n");Ne.add(",\n");Ne.add(new $("/******/ ",R))}Ne.add("])")}return Ne}));N.chunkHash.tap("ArrayPushCallbackChunkFormatPlugin",((E,N,{chunkGraph:R,runtimeTemplate:j})=>{if(E.hasRuntime())return;N.update(`ArrayPushCallbackChunkFormatPlugin1${j.outputOptions.chunkLoadingGlobal}${j.outputOptions.hotUpdateGlobal}${j.outputOptions.globalObject}`);const $=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));_e(N,R,$,E)}))}))}}E.exports=ArrayPushCallbackChunkFormatPlugin},87250:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;const G=5;const ie=6;const ae=7;const ce=8;const le=9;const _e=10;const Ee=11;const Te=12;const we=13;class BasicEvaluatedExpression{constructor(){this.type=N;this.range=undefined;this.falsy=false;this.truthy=false;this.nullish=undefined;this.sideEffects=true;this.bool=undefined;this.number=undefined;this.bigint=undefined;this.regExp=undefined;this.string=undefined;this.quasis=undefined;this.parts=undefined;this.array=undefined;this.items=undefined;this.options=undefined;this.prefix=undefined;this.postfix=undefined;this.wrappedInnerExpressions=undefined;this.identifier=undefined;this.rootInfo=undefined;this.getMembers=undefined;this.expression=undefined}isUnknown(){return this.type===N}isNull(){return this.type===j}isUndefined(){return this.type===R}isString(){return this.type===$}isNumber(){return this.type===q}isBigInt(){return this.type===we}isBoolean(){return this.type===G}isRegExp(){return this.type===ie}isConditional(){return this.type===ae}isArray(){return this.type===ce}isConstArray(){return this.type===le}isIdentifier(){return this.type===_e}isWrapped(){return this.type===Ee}isTemplateString(){return this.type===Te}isPrimitiveType(){switch(this.type){case R:case j:case $:case q:case G:case we:case Ee:case Te:return true;case ie:case ce:case le:return false;default:return undefined}}isCompileTimeValue(){switch(this.type){case R:case j:case $:case q:case G:case ie:case le:case we:return true;default:return false}}asCompileTimeValue(){switch(this.type){case R:return undefined;case j:return null;case $:return this.string;case q:return this.number;case G:return this.bool;case ie:return this.regExp;case le:return this.array;case we:return this.bigint;default:throw new Error("asCompileTimeValue must only be called for compile-time values")}}isTruthy(){return this.truthy}isFalsy(){return this.falsy}isNullish(){return this.nullish}couldHaveSideEffects(){return this.sideEffects}asBool(){if(this.truthy)return true;if(this.falsy||this.nullish)return false;if(this.isBoolean())return this.bool;if(this.isNull())return false;if(this.isUndefined())return false;if(this.isString())return this.string!=="";if(this.isNumber())return this.number!==0;if(this.isBigInt())return this.bigint!==BigInt(0);if(this.isRegExp())return true;if(this.isArray())return true;if(this.isConstArray())return true;if(this.isWrapped()){return this.prefix&&this.prefix.asBool()||this.postfix&&this.postfix.asBool()?true:undefined}if(this.isTemplateString()){const E=this.asString();if(typeof E==="string")return E!==""}return undefined}asNullish(){const E=this.isNullish();if(E===true||this.isNull()||this.isUndefined())return true;if(E===false)return false;if(this.isTruthy())return false;if(this.isBoolean())return false;if(this.isString())return false;if(this.isNumber())return false;if(this.isBigInt())return false;if(this.isRegExp())return false;if(this.isArray())return false;if(this.isConstArray())return false;if(this.isTemplateString())return false;if(this.isRegExp())return false;return undefined}asString(){if(this.isBoolean())return`${this.bool}`;if(this.isNull())return"null";if(this.isUndefined())return"undefined";if(this.isString())return this.string;if(this.isNumber())return`${this.number}`;if(this.isBigInt())return`${this.bigint}`;if(this.isRegExp())return`${this.regExp}`;if(this.isArray()){let E=[];for(const N of this.items){const R=N.asString();if(R===undefined)return undefined;E.push(R)}return`${E}`}if(this.isConstArray())return`${this.array}`;if(this.isTemplateString()){let E="";for(const N of this.parts){const R=N.asString();if(R===undefined)return undefined;E+=R}return E}return undefined}setString(E){this.type=$;this.string=E;this.sideEffects=false;return this}setUndefined(){this.type=R;this.sideEffects=false;return this}setNull(){this.type=j;this.sideEffects=false;return this}setNumber(E){this.type=q;this.number=E;this.sideEffects=false;return this}setBigInt(E){this.type=we;this.bigint=E;this.sideEffects=false;return this}setBoolean(E){this.type=G;this.bool=E;this.sideEffects=false;return this}setRegExp(E){this.type=ie;this.regExp=E;this.sideEffects=false;return this}setIdentifier(E,N,R){this.type=_e;this.identifier=E;this.rootInfo=N;this.getMembers=R;this.sideEffects=true;return this}setWrapped(E,N,R){this.type=Ee;this.prefix=E;this.postfix=N;this.wrappedInnerExpressions=R;this.sideEffects=true;return this}setOptions(E){this.type=ae;this.options=E;this.sideEffects=true;return this}addOptions(E){if(!this.options){this.type=ae;this.options=[];this.sideEffects=true}for(const N of E){this.options.push(N)}return this}setItems(E){this.type=ce;this.items=E;this.sideEffects=E.some((E=>E.couldHaveSideEffects()));return this}setArray(E){this.type=le;this.array=E;this.sideEffects=false;return this}setTemplateString(E,N,R){this.type=Te;this.quasis=E;this.parts=N;this.templateStringKind=R;this.sideEffects=N.some((E=>E.sideEffects));return this}setTruthy(){this.falsy=false;this.truthy=true;this.nullish=false;return this}setFalsy(){this.falsy=true;this.truthy=false;return this}setNullish(E){this.nullish=E;if(E)return this.setFalsy();return this}setRange(E){this.range=E;return this}setSideEffects(E=true){this.sideEffects=E;return this}setExpression(E){this.expression=E;return this}}BasicEvaluatedExpression.isValidRegExpFlags=E=>{const N=E.length;if(N===0)return true;if(N>4)return false;let R=0;for(let j=0;j{"use strict";const{ConcatSource:j,RawSource:$}=R(48135);const q=R(76150);const G=R(58159);const{getChunkFilenameTemplate:ie,getCompilationHooks:ae}=R(18161);const{generateEntryStartup:ce,updateHashForEntryStartup:le}=R(13085);class CommonJsChunkFormatPlugin{apply(E){E.hooks.thisCompilation.tap("CommonJsChunkFormatPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("CommonJsChunkLoadingPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;if(R.getNumberOfEntryModules(E)>0){N.add(q.require);N.add(q.startupEntrypoint);N.add(q.externalInstallChunk)}}));const N=ae(E);N.renderChunk.tap("CommonJsChunkFormatPlugin",((R,ae)=>{const{chunk:le,chunkGraph:_e,runtimeTemplate:Ee}=ae;const Te=new j;Te.add(`exports.id = ${JSON.stringify(le.id)};\n`);Te.add(`exports.ids = ${JSON.stringify(le.ids)};\n`);Te.add(`exports.modules = `);Te.add(R);Te.add(";\n");const we=_e.getChunkRuntimeModulesInOrder(le);if(we.length>0){Te.add("exports.runtime =\n");Te.add(G.renderChunkRuntimeModules(we,ae))}const Ie=Array.from(_e.getChunkEntryModulesWithChunkGroupIterable(le));if(Ie.length>0){const R=Ie[0][1].getRuntimeChunk();const G=E.getPath(ie(le,E.outputOptions),{chunk:le,contentHashType:"javascript"}).split("/");const we=E.getPath(ie(R,E.outputOptions),{chunk:R,contentHashType:"javascript"}).split("/");G.pop();while(G.length>0&&we.length>0&&G[0]===we[0]){G.shift();we.shift()}const Ne=(G.length>0?"../".repeat(G.length):"./")+we.join("/");const Me=new j;Me.add(`(${Ee.supportsArrowFunction()?"() => ":"function() "}{\n`);Me.add("var exports = {};\n");Me.add(Te);Me.add(";\n\n// load runtime\n");Me.add(`var __webpack_require__ = require(${JSON.stringify(Ne)});\n`);Me.add(`${q.externalInstallChunk}(exports);\n`);const Le=new $(ce(_e,Ee,Ie,le,false));Me.add(N.renderStartup.call(Le,Ie[Ie.length-1][0],{...ae,inlined:false}));Me.add("\n})()");return Me}return Te}));N.chunkHash.tap("CommonJsChunkFormatPlugin",((E,N,{chunkGraph:R})=>{if(E.hasRuntime())return;N.update("CommonJsChunkFormatPlugin");N.update("1");const j=Array.from(R.getChunkEntryModulesWithChunkGroupIterable(E));le(N,R,j,E)}))}))}}E.exports=CommonJsChunkFormatPlugin},50369:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableChunkLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Chunk loading type "${N}" is not enabled. `+"EnableChunkLoadingPlugin need to be used to enable this type of chunk loading. "+'This usually happens through the "output.enabledChunkLoadingTypes" option. '+'If you are using a function as entry which sets "chunkLoading", you need to add all potential chunk loading types to "output.enabledChunkLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"jsonp":{const N=R(76853);(new N).apply(E);break}case"import-scripts":{const N=R(82779);(new N).apply(E);break}case"require":{const N=R(82827);new N({asyncChunkLoading:false}).apply(E);break}case"async-node":{const N=R(82827);new N({asyncChunkLoading:true}).apply(E);break}case"import":{const N=R(90662);(new N).apply(E);break}case"universal":throw new Error("Universal Chunk Loading is not implemented yet");default:throw new Error(`Unsupported chunk loading type ${N}.\nPlugins which provide custom chunk loading types must call EnableChunkLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableChunkLoadingPlugin},99371:(E,N,R)=>{"use strict";const j=R(73837);const{RawSource:$,ReplaceSource:q}=R(48135);const G=R(36253);const ie=R(63272);const ae=R(54290);const ce=j.deprecate(((E,N,R)=>E.getInitFragments(N,R)),"DependencyTemplate.getInitFragment is deprecated (use apply(dep, source, { initFragments }) instead)","DEP_WEBPACK_JAVASCRIPT_GENERATOR_GET_INIT_FRAGMENTS");const le=new Set(["javascript"]);class JavascriptGenerator extends G{getTypes(E){return le}getSize(E,N){const R=E.originalSource();if(!R){return 39}return R.size()}getConcatenationBailoutReason(E,N){if(!E.buildMeta||E.buildMeta.exportsType!=="namespace"||E.presentationalDependencies===undefined||!E.presentationalDependencies.some((E=>E instanceof ae))){return"Module is not an ECMAScript module"}if(E.buildInfo&&E.buildInfo.moduleConcatenationBailout){return`Module uses ${E.buildInfo.moduleConcatenationBailout}`}}generate(E,N){const R=E.originalSource();if(!R){return new $("throw new Error('No source available');")}const j=new q(R);const G=[];this.sourceModule(E,G,j,N);return ie.addToSource(j,G,N)}sourceModule(E,N,R,j){for(const $ of E.dependencies){this.sourceDependency(E,$,N,R,j)}if(E.presentationalDependencies!==undefined){for(const $ of E.presentationalDependencies){this.sourceDependency(E,$,N,R,j)}}for(const $ of E.blocks){this.sourceBlock(E,$,N,R,j)}}sourceBlock(E,N,R,j,$){for(const q of N.dependencies){this.sourceDependency(E,q,R,j,$)}for(const q of N.blocks){this.sourceBlock(E,q,R,j,$)}}sourceDependency(E,N,R,j,$){const q=N.constructor;const G=$.dependencyTemplates.get(q);if(!G){throw new Error("No template for dependency: "+N.constructor.name)}const ie={runtimeTemplate:$.runtimeTemplate,dependencyTemplates:$.dependencyTemplates,moduleGraph:$.moduleGraph,chunkGraph:$.chunkGraph,module:E,runtime:$.runtime,runtimeRequirements:$.runtimeRequirements,concatenationScope:$.concatenationScope,initFragments:R};G.apply(N,j,ie);if("getInitFragments"in G){const E=ce(G,N,ie);if(E){for(const N of E){R.push(N)}}}}}E.exports=JavascriptGenerator},18161:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j,SyncHook:$,SyncBailHook:q}=R(92960);const G=R(26144);const{ConcatSource:ie,OriginalSource:ae,PrefixSource:ce,RawSource:le,CachedSource:_e}=R(48135);const Ee=R(3080);const{tryRunOrWebpackError:Te}=R(3728);const we=R(22352);const Ie=R(63272);const Ne=R(76150);const Me=R(58159);const{last:Le,someInIterable:Be}=R(11539);const je=R(14146);const{compareModulesByIdentifier:Ue}=R(68673);const ze=R(35891);const{intersectRuntime:We}=R(37416);const Je=R(99371);const Ve=R(3711);const chunkHasJs=(E,N)=>{if(N.getNumberOfEntryModules(E)>0)return true;return N.getChunkModulesIterableBySourceType(E,"javascript")?true:false};const printGeneratedCodeForStack=(E,N)=>{const R=N.split("\n");const j=`${R.length}`.length;return`\n\nGenerated code for ${E.identifier()}\n${R.map(((E,N,R)=>{const $=`${N+1}`;return`${" ".repeat(j-$.length)}${$} | ${E}`})).join("\n")}`};const qe=new WeakMap;class JavascriptModulesPlugin{static getCompilationHooks(E){if(!(E instanceof Ee)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=qe.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"]),renderModuleContainer:new j(["source","module","renderContext"]),renderModulePackage:new j(["source","module","renderContext"]),render:new j(["source","renderContext"]),renderContent:new j(["source","renderContext"]),renderStartup:new j(["source","module","startupRenderContext"]),renderChunk:new j(["source","renderContext"]),renderMain:new j(["source","renderContext"]),renderRequire:new j(["code","renderContext"]),inlineInRuntimeBailout:new q(["module","renderContext"]),embedInRuntimeBailout:new q(["module","renderContext"]),strictRuntimeBailout:new q(["renderContext"]),chunkHash:new $(["chunk","hash","context"]),useSourceMap:new q(["chunk","renderContext"])};qe.set(E,N)}return N}constructor(E={}){this.options=E;this._moduleFactoryCache=new WeakMap}apply(E){E.hooks.compilation.tap("JavascriptModulesPlugin",((E,{normalModuleFactory:N})=>{const R=JavascriptModulesPlugin.getCompilationHooks(E);N.hooks.createParser.for("javascript/auto").tap("JavascriptModulesPlugin",(E=>new Ve("auto")));N.hooks.createParser.for("javascript/dynamic").tap("JavascriptModulesPlugin",(E=>new Ve("script")));N.hooks.createParser.for("javascript/esm").tap("JavascriptModulesPlugin",(E=>new Ve("module")));N.hooks.createGenerator.for("javascript/auto").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/dynamic").tap("JavascriptModulesPlugin",(()=>new Je));N.hooks.createGenerator.for("javascript/esm").tap("JavascriptModulesPlugin",(()=>new Je));E.hooks.renderManifest.tap("JavascriptModulesPlugin",((N,j)=>{const{hash:$,chunk:q,chunkGraph:G,moduleGraph:ie,runtimeTemplate:ae,dependencyTemplates:ce,outputOptions:le,codeGenerationResults:_e}=j;const Ee=q instanceof we?q:null;let Te;const Ie=JavascriptModulesPlugin.getChunkFilenameTemplate(q,le);if(Ee){Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}else if(q.hasRuntime()){Te=()=>this.renderMain({hash:$,chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R,E)}else{if(!chunkHasJs(q,G)){return N}Te=()=>this.renderChunk({chunk:q,dependencyTemplates:ce,runtimeTemplate:ae,moduleGraph:ie,chunkGraph:G,codeGenerationResults:_e,strictMode:ae.isModule()},R)}N.push({render:Te,filenameTemplate:Ie,pathOptions:{hash:$,runtime:q.runtime,chunk:q,contentHashType:"javascript"},info:{javascriptModule:E.runtimeTemplate.isModule()},identifier:Ee?`hotupdatechunk${q.id}`:`chunk${q.id}`,hash:q.contentHash.javascript});return N}));E.hooks.chunkHash.tap("JavascriptModulesPlugin",((E,N,j)=>{R.chunkHash.call(E,N,j);if(E.hasRuntime()){this.updateHashWithBootstrap(N,{hash:"0000",chunk:E,chunkGraph:j.chunkGraph,moduleGraph:j.moduleGraph,runtimeTemplate:j.runtimeTemplate},R)}}));E.hooks.contentHash.tap("JavascriptModulesPlugin",(N=>{const{chunkGraph:j,moduleGraph:$,runtimeTemplate:q,outputOptions:{hashSalt:G,hashDigest:ie,hashDigestLength:ae,hashFunction:ce}}=E;const le=ze(ce);if(G)le.update(G);if(N.hasRuntime()){this.updateHashWithBootstrap(le,{hash:"0000",chunk:N,chunkGraph:E.chunkGraph,moduleGraph:E.moduleGraph,runtimeTemplate:E.runtimeTemplate},R)}else{le.update(`${N.id} `);le.update(N.ids?N.ids.join(","):"")}R.chunkHash.call(N,le,{chunkGraph:j,moduleGraph:$,runtimeTemplate:q});const _e=j.getChunkModulesIterableBySourceType(N,"javascript");if(_e){const E=new je;for(const R of _e){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Ee=j.getChunkModulesIterableBySourceType(N,"runtime");if(Ee){const E=new je;for(const R of Ee){E.add(j.getModuleHash(R,N.runtime))}E.updateHash(le)}const Te=le.digest(ie);N.contentHash.javascript=Te.substr(0,ae)}));E.hooks.additionalTreeRuntimeRequirements.tap("JavascriptModulesPlugin",((E,N,{chunkGraph:R})=>{if(!N.has(Ne.startupNoDefault)&&R.hasChunkEntryDependentChunks(E)){N.add(Ne.onChunksLoaded);N.add(Ne.require)}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("javascript");if(R===undefined)return;const{module:j,moduleObject:$}=E;const q=R.source();const ie=G.runInThisContext(`(function(${j.moduleArgument}, ${j.exportsArgument}, __webpack_require__) {\n${q}\n/**/})`,{filename:j.identifier(),lineOffset:-1});try{ie.call($.exports,$,$.exports,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,q);throw N}}));E.hooks.executeModule.tap("JavascriptModulesPlugin",((E,N)=>{const R=E.codeGenerationResult.sources.get("runtime");if(R===undefined)return;let j=R.source();if(typeof j!=="string")j=j.toString();const $=G.runInThisContext(`(function(__webpack_require__) {\n${j}\n/**/})`,{filename:E.module.identifier(),lineOffset:-1});try{$.call(null,N.__webpack_require__)}catch(N){N.stack+=printGeneratedCodeForStack(E.module,j);throw N}}))}))}static getChunkFilenameTemplate(E,N){if(E.filenameTemplate){return E.filenameTemplate}else if(E instanceof we){return N.hotUpdateChunkFilename}else if(E.canBeInitial()){return N.filename}else{return N.chunkFilename}}renderModule(E,N,R,j){const{chunk:$,chunkGraph:q,runtimeTemplate:G,codeGenerationResults:ae,strictMode:ce}=N;try{const le=ae.get(E,$.runtime);const Ee=le.sources.get("javascript");if(!Ee)return null;if(le.data!==undefined){const E=le.data.get("chunkInitFragments");if(E){for(const R of E)N.chunkInitFragments.push(R)}}const we=Te((()=>R.renderModuleContent.call(Ee,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContent");let Ie;if(j){const j=q.getModuleRuntimeRequirements(E,$.runtime);const ae=j.has(Ne.module);const le=j.has(Ne.exports);const Ee=j.has(Ne.require)||j.has(Ne.requireScope);const Me=j.has(Ne.thisAsExports);const Le=E.buildInfo.strict&&!ce;const Be=this._moduleFactoryCache.get(we);let je;if(Be&&Be.needModule===ae&&Be.needExports===le&&Be.needRequire===Ee&&Be.needThisAsExports===Me&&Be.needStrict===Le){je=Be.source}else{const N=new ie;const R=[];if(le||Ee||ae)R.push(ae?E.moduleArgument:"__unused_webpack_"+E.moduleArgument);if(le||Ee)R.push(le?E.exportsArgument:"__unused_webpack_"+E.exportsArgument);if(Ee)R.push("__webpack_require__");if(!Me&&G.supportsArrowFunction()){N.add("/***/ (("+R.join(", ")+") => {\n\n")}else{N.add("/***/ (function("+R.join(", ")+") {\n\n")}if(Le){N.add('"use strict";\n')}N.add(we);N.add("\n\n/***/ })");je=new _e(N);this._moduleFactoryCache.set(we,{source:je,needModule:ae,needExports:le,needRequire:Ee,needThisAsExports:Me,needStrict:Le})}Ie=Te((()=>R.renderModuleContainer.call(je,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModuleContainer")}else{Ie=we}return Te((()=>R.renderModulePackage.call(Ie,E,N)),"JavascriptModulesPlugin.getCompilationHooks().renderModulePackage")}catch(N){N.module=E;throw N}}renderChunk(E,N){const{chunk:R,chunkGraph:j}=E;const $=j.getOrderedChunkModulesIterableBySourceType(R,"javascript",Ue);const q=$?Array.from($):[];let G;let ae=E.strictMode;if(!ae&&q.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);G=R?`// runtime can't be in strict mode because ${R}.\n`:'"use strict";\n';if(!R)ae=true}const ce={...E,chunkInitFragments:[],strictMode:ae};const _e=Me.renderChunkModules(ce,q,(E=>this.renderModule(E,ce,N,true)))||new le("{}");let Ee=Te((()=>N.renderChunk.call(_e,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderChunk");Ee=Te((()=>N.renderContent.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ee=Ie.addToSource(Ee,ce.chunkInitFragments,ce);Ee=Te((()=>N.render.call(Ee,ce)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ee){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}R.rendered=true;return G?new ie(G,Ee,";"):E.runtimeTemplate.isModule()?Ee:new ie(Ee,";")}renderMain(E,N,R){const{chunk:j,chunkGraph:$,runtimeTemplate:q}=E;const G=$.getTreeRuntimeRequirements(j);const _e=q.isIIFE();const Ee=this.renderBootstrap(E,N);const we=N.useSourceMap.call(j,E);const Be=Array.from($.getOrderedChunkModulesIterableBySourceType(j,"javascript",Ue)||[]);const je=$.getNumberOfEntryModules(j)>0;let ze;if(Ee.allowInlineStartup&&je){ze=new Set($.getChunkEntryModulesIterable(j))}let We=new ie;let Je;if(_e){if(q.supportsArrowFunction()){We.add("/******/ (() => { // webpackBootstrap\n")}else{We.add("/******/ (function() { // webpackBootstrap\n")}Je="/******/ \t"}else{Je="/******/ "}let Ve=E.strictMode;if(!Ve&&Be.every((E=>E.buildInfo.strict))){const R=N.strictRuntimeBailout.call(E);if(R){We.add(Je+`// runtime can't be in strict mode because ${R}.\n`)}else{Ve=true;We.add(Je+'"use strict";\n')}}const qe={...E,chunkInitFragments:[],strictMode:Ve};const He=Me.renderChunkModules(qe,ze?Be.filter((E=>!ze.has(E))):Be,(E=>this.renderModule(E,qe,N,true)),Je);if(He||G.has(Ne.moduleFactories)||G.has(Ne.moduleFactoriesAddOnly)||G.has(Ne.require)){We.add(Je+"var __webpack_modules__ = (");We.add(He||"{}");We.add(");\n");We.add("/************************************************************************/\n")}if(Ee.header.length>0){const E=Me.asString(Ee.header)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/bootstrap"):new le(E)));We.add("/************************************************************************/\n")}const Ge=E.chunkGraph.getChunkRuntimeModulesInOrder(j);if(Ge.length>0){We.add(new ce(Je,Me.renderRuntimeModules(Ge,qe)));We.add("/************************************************************************/\n");for(const E of Ge){R.codeGeneratedModules.add(E)}}if(ze){if(Ee.beforeStartup.length>0){const E=Me.asString(Ee.beforeStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/before-startup"):new le(E)))}const R=Le(ze);const _e=new ie;_e.add(`var __webpack_exports__ = {};\n`);for(const G of ze){const ie=this.renderModule(G,qe,N,false);if(ie){const ae=!Ve&&G.buildInfo.strict;const ce=$.getModuleRuntimeRequirements(G,j.runtime);const le=ce.has(Ne.exports);const Ee=le&&G.exportsArgument==="__webpack_exports__";let Te=ae?"it need to be in strict mode.":ze.size>1?"it need to be isolated against other entry modules.":He?"it need to be isolated against other modules in the chunk.":le&&!Ee?`it uses a non-standard name for the exports (${G.exportsArgument}).`:N.embedInRuntimeBailout.call(G,E);let we;if(Te!==undefined){_e.add(`// This entry need to be wrapped in an IIFE because ${Te}\n`);const E=q.supportsArrowFunction();if(E){_e.add("(() => {\n");we="\n})();\n\n"}else{_e.add("!function() {\n");we="\n}();\n"}if(ae)_e.add('"use strict";\n')}else{we="\n"}if(le){if(G!==R)_e.add(`var ${G.exportsArgument} = {};\n`);else if(G.exportsArgument!=="__webpack_exports__")_e.add(`var ${G.exportsArgument} = __webpack_exports__;\n`)}_e.add(ie);_e.add(we)}}if(G.has(Ne.onChunksLoaded)){_e.add(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);\n`)}We.add(N.renderStartup.call(_e,R,{...E,inlined:true}));if(Ee.afterStartup.length>0){const E=Me.asString(Ee.afterStartup)+"\n";We.add(new ce(Je,we?new ae(E,"webpack/after-startup"):new le(E)))}}else{const R=Le($.getChunkEntryModulesIterable(j));const q=we?(E,N)=>new ae(Me.asString(E),N):E=>new le(Me.asString(E));We.add(new ce(Je,new ie(q(Ee.beforeStartup,"webpack/before-startup"),"\n",N.renderStartup.call(q(Ee.startup.concat(""),"webpack/startup"),R,{...E,inlined:false}),q(Ee.afterStartup,"webpack/after-startup"),"\n")))}if(je&&G.has(Ne.returnExportsFromRuntime)){We.add(`${Je}return __webpack_exports__;\n`)}if(_e){We.add("/******/ })()\n")}let Ke=Te((()=>N.renderMain.call(We,E)),"JavascriptModulesPlugin.getCompilationHooks().renderMain");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderMain plugins should return something")}Ke=Te((()=>N.renderContent.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().renderContent");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().renderContent plugins should return something")}Ke=Ie.addToSource(Ke,qe.chunkInitFragments,qe);Ke=Te((()=>N.render.call(Ke,E)),"JavascriptModulesPlugin.getCompilationHooks().render");if(!Ke){throw new Error("JavascriptModulesPlugin error: JavascriptModulesPlugin.getCompilationHooks().render plugins should return something")}j.rendered=true;return _e?new ie(Ke,";"):Ke}updateHashWithBootstrap(E,N,R){const j=this.renderBootstrap(N,R);for(const N of Object.keys(j)){E.update(N);if(Array.isArray(j[N])){for(const R of j[N]){E.update(R)}}else{E.update(JSON.stringify(j[N]))}}}renderBootstrap(E,N){const{chunkGraph:R,moduleGraph:j,chunk:$,runtimeTemplate:q}=E;const G=R.getTreeRuntimeRequirements($);const ie=G.has(Ne.require);const ae=G.has(Ne.moduleCache);const ce=G.has(Ne.moduleFactories);const le=G.has(Ne.module);const _e=G.has(Ne.requireScope);const Ee=G.has(Ne.interceptModuleExecution);const Te=ie||Ee||le;const we={header:[],beforeStartup:[],startup:[],afterStartup:[],allowInlineStartup:true};let{header:Ie,startup:Le,beforeStartup:je,afterStartup:Ue}=we;if(we.allowInlineStartup&&ce){Le.push("// module factories are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&ae){Le.push("// module cache are used so entry inlining is disabled");we.allowInlineStartup=false}if(we.allowInlineStartup&&Ee){Le.push("// module execution is intercepted so entry inlining is disabled");we.allowInlineStartup=false}if(Te||ae){Ie.push("// The module cache");Ie.push("var __webpack_module_cache__ = {};");Ie.push("")}if(Te){Ie.push("// The require function");Ie.push(`function __webpack_require__(moduleId) {`);Ie.push(Me.indent(this.renderRequire(E,N)));Ie.push("}");Ie.push("")}else if(G.has(Ne.requireScope)){Ie.push("// The require scope");Ie.push("var __webpack_require__ = {};");Ie.push("")}if(ce||G.has(Ne.moduleFactoriesAddOnly)){Ie.push("// expose the modules object (__webpack_modules__)");Ie.push(`${Ne.moduleFactories} = __webpack_modules__;`);Ie.push("")}if(ae){Ie.push("// expose the module cache");Ie.push(`${Ne.moduleCache} = __webpack_module_cache__;`);Ie.push("")}if(Ee){Ie.push("// expose the module execution interceptor");Ie.push(`${Ne.interceptModuleExecution} = [];`);Ie.push("")}if(!G.has(Ne.startupNoDefault)){if(R.getNumberOfEntryModules($)>0){const G=[];const ie=R.getTreeRuntimeRequirements($);G.push("// Load entry module and return exports");let ae=R.getNumberOfEntryModules($);for(const[ce,le]of R.getChunkEntryModulesWithChunkGroupIterable($)){const Ee=le.chunks.filter((E=>E!==$));if(we.allowInlineStartup&&Ee.length>0){G.push("// This entry module depends on other loaded chunks and execution need to be delayed");we.allowInlineStartup=false}if(we.allowInlineStartup&&Be(j.getIncomingConnectionsByOriginModule(ce),(([E,N])=>E&&N.some((E=>E.isTargetActive($.runtime)))&&Be(R.getModuleRuntimes(E),(E=>We(E,$.runtime)!==undefined))))){G.push("// This entry module is referenced by other modules so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup&&(!ce.buildInfo||!ce.buildInfo.topLevelDeclarations)){G.push("// This entry module doesn't tell about it's top-level declarations so it can't be inlined");we.allowInlineStartup=false}if(we.allowInlineStartup){const R=N.inlineInRuntimeBailout.call(ce,E);if(R!==undefined){G.push(`// This entry module can't be inlined because ${R}`);we.allowInlineStartup=false}}ae--;const Ie=R.getModuleId(ce);const Me=R.getModuleRuntimeRequirements(ce,$.runtime);let Le=JSON.stringify(Ie);if(ie.has(Ne.entryModuleId)){Le=`${Ne.entryModuleId} = ${Le}`}if(we.allowInlineStartup&&Me.has(Ne.module)){we.allowInlineStartup=false;G.push("// This entry module used 'module' so it can't be inlined")}if(Ee.length>0){G.push(`${ae===0?"var __webpack_exports__ = ":""}${Ne.onChunksLoaded}(undefined, ${JSON.stringify(Ee.map((E=>E.id)))}, ${q.returningFunction(`__webpack_require__(${Le})`)})`)}else if(Te){G.push(`${ae===0?"var __webpack_exports__ = ":""}__webpack_require__(${Le});`)}else{if(ae===0)G.push("var __webpack_exports__ = {};");if(_e){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"}, __webpack_require__);`)}else if(Me.has(Ne.exports)){G.push(`__webpack_modules__[${Le}](0, ${ae===0?"__webpack_exports__":"{}"});`)}else{G.push(`__webpack_modules__[${Le}]();`)}}}if(ie.has(Ne.onChunksLoaded)){G.push(`__webpack_exports__ = ${Ne.onChunksLoaded}(__webpack_exports__);`)}if(ie.has(Ne.startup)||ie.has(Ne.startupOnlyBefore)&&ie.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.basicFunction("",[...G,"return __webpack_exports__;"])};`);Ie.push("");Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}else if(ie.has(Ne.startupOnlyBefore)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);je.push("// run runtime startup");je.push(`${Ne.startup}();`);Le.push("// startup");Le.push(Me.asString(G))}else if(ie.has(Ne.startupOnlyAfter)){Ie.push("// the startup function");Ie.push(`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// startup");Le.push(Me.asString(G));Ue.push("// run runtime startup");Ue.push(`${Ne.startup}();`)}else{Le.push("// startup");Le.push(Me.asString(G))}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){Ie.push("// the startup function","// It's empty as no entry modules are in this chunk",`${Ne.startup} = ${q.emptyFunction()};`,"")}}else if(G.has(Ne.startup)||G.has(Ne.startupOnlyBefore)||G.has(Ne.startupOnlyAfter)){we.allowInlineStartup=false;Ie.push("// the startup function","// It's empty as some runtime module handles the default behavior",`${Ne.startup} = ${q.emptyFunction()};`);Le.push("// run startup");Le.push(`var __webpack_exports__ = ${Ne.startup}();`)}return we}renderRequire(E,N){const{chunk:R,chunkGraph:j,runtimeTemplate:{outputOptions:$}}=E;const q=j.getTreeRuntimeRequirements(R);const G=q.has(Ne.interceptModuleExecution)?Me.asString(["var execOptions = { id: moduleId, module: module, factory: __webpack_modules__[moduleId], require: __webpack_require__ };",`${Ne.interceptModuleExecution}.forEach(function(handler) { handler(execOptions); });`,"module = execOptions.module;","execOptions.factory.call(module.exports, module, module.exports, execOptions.require);"]):q.has(Ne.thisAsExports)?Me.asString(["__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);"]):Me.asString(["__webpack_modules__[moduleId](module, module.exports, __webpack_require__);"]);const ie=q.has(Ne.moduleId);const ae=q.has(Ne.moduleLoaded);const ce=Me.asString(["// Check if module is in cache","var cachedModule = __webpack_module_cache__[moduleId];","if (cachedModule !== undefined) {",$.strictModuleErrorHandling?Me.indent(["if (cachedModule.error !== undefined) throw cachedModule.error;","return cachedModule.exports;"]):Me.indent("return cachedModule.exports;"),"}","// Create a new module (and put it into the cache)","var module = __webpack_module_cache__[moduleId] = {",Me.indent([ie?"id: moduleId,":"// no module.id needed",ae?"loaded: false,":"// no module.loaded needed","exports: {}"]),"};","",$.strictModuleExceptionHandling?Me.asString(["// Execute the module function","var threw = true;","try {",Me.indent([G,"threw = false;"]),"} finally {",Me.indent(["if(threw) delete __webpack_module_cache__[moduleId];"]),"}"]):$.strictModuleErrorHandling?Me.asString(["// Execute the module function","try {",Me.indent(G),"} catch(e) {",Me.indent(["module.error = e;","throw e;"]),"}"]):Me.asString(["// Execute the module function",G]),ae?Me.asString(["","// Flag the module as loaded","module.loaded = true;",""]):"","// Return the exports of the module","return module.exports;"]);return Te((()=>N.renderRequire.call(ce,E)),"JavascriptModulesPlugin.getCompilationHooks().renderRequire")}}E.exports=JavascriptModulesPlugin;E.exports.chunkHasJs=chunkHasJs},3711:(E,N,R)=>{"use strict";const{Parser:j}=R(14150);const{importAssertions:$}=R(3385);const{SyncBailHook:q,HookMap:G}=R(92960);const ie=R(26144);const ae=R(2172);const ce=R(80371);const le=R(31017);const _e=R(91671);const Ee=R(87250);const Te=[];const we=1;const Ie=2;const Ne=3;const Me=j.extend($);class VariableInfo{constructor(E,N,R){this.declaredScope=E;this.freeName=N;this.tagInfo=R}}const joinRanges=(E,N)=>{if(!N)return E;if(!E)return N;return[E[0],N[1]]};const objectAndMembersToName=(E,N)=>{let R=E;for(let E=N.length-1;E>=0;E--){R=R+"."+N[E]}return R};const getRootName=E=>{switch(E.type){case"Identifier":return E.name;case"ThisExpression":return"this";case"MetaProperty":return`${E.meta.name}.${E.property.name}`;default:return undefined}};const Le={ranges:true,locations:true,ecmaVersion:"latest",sourceType:"module",allowHashBang:true,onComment:null};const Be=new RegExp(/(^|\W)webpack[A-Z]{1,}[A-Za-z]{1,}:/);const je={options:null,errors:null};class JavascriptParser extends ae{constructor(E="auto"){super();this.hooks=Object.freeze({evaluateTypeof:new G((()=>new q(["expression"]))),evaluate:new G((()=>new q(["expression"]))),evaluateIdentifier:new G((()=>new q(["expression"]))),evaluateDefinedIdentifier:new G((()=>new q(["expression"]))),evaluateCallExpressionMember:new G((()=>new q(["expression","param"]))),isPure:new G((()=>new q(["expression","commentsStartPosition"]))),preStatement:new q(["statement"]),blockPreStatement:new q(["declaration"]),statement:new q(["statement"]),statementIf:new q(["statement"]),classExtendsExpression:new q(["expression","classDefinition"]),classBodyElement:new q(["element","classDefinition"]),classBodyValue:new q(["expression","element","classDefinition"]),label:new G((()=>new q(["statement"]))),import:new q(["statement","source"]),importSpecifier:new q(["statement","source","exportName","identifierName"]),export:new q(["statement"]),exportImport:new q(["statement","source"]),exportDeclaration:new q(["statement","declaration"]),exportExpression:new q(["statement","declaration"]),exportSpecifier:new q(["statement","identifierName","exportName","index"]),exportImportSpecifier:new q(["statement","source","identifierName","exportName","index"]),preDeclarator:new q(["declarator","statement"]),declarator:new q(["declarator","statement"]),varDeclaration:new G((()=>new q(["declaration"]))),varDeclarationLet:new G((()=>new q(["declaration"]))),varDeclarationConst:new G((()=>new q(["declaration"]))),varDeclarationVar:new G((()=>new q(["declaration"]))),pattern:new G((()=>new q(["pattern"]))),canRename:new G((()=>new q(["initExpression"]))),rename:new G((()=>new q(["initExpression"]))),assign:new G((()=>new q(["expression"]))),assignMemberChain:new G((()=>new q(["expression","members"]))),typeof:new G((()=>new q(["expression"]))),importCall:new q(["expression"]),topLevelAwait:new q(["expression"]),call:new G((()=>new q(["expression"]))),callMemberChain:new G((()=>new q(["expression","members"]))),memberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","callExpression","members"]))),callMemberChainOfCallMemberChain:new G((()=>new q(["expression","calleeMembers","innerCallExpression","members"]))),optionalChaining:new q(["optionalChaining"]),new:new G((()=>new q(["expression"]))),expression:new G((()=>new q(["expression"]))),expressionMemberChain:new G((()=>new q(["expression","members"]))),unhandledExpressionMemberChain:new G((()=>new q(["expression","members"]))),expressionConditionalOperator:new q(["expression"]),expressionLogicalOperator:new q(["expression"]),program:new q(["ast","comments"]),finish:new q(["ast","comments"])});this.sourceType=E;this.scope=undefined;this.state=undefined;this.comments=undefined;this.semicolons=undefined;this.statementPath=undefined;this.prevStatement=undefined;this.currentTagData=undefined;this._initializeEvaluating()}_initializeEvaluating(){this.hooks.evaluate.for("Literal").tap("JavascriptParser",(E=>{const N=E;switch(typeof N.value){case"number":return(new Ee).setNumber(N.value).setRange(N.range);case"bigint":return(new Ee).setBigInt(N.value).setRange(N.range);case"string":return(new Ee).setString(N.value).setRange(N.range);case"boolean":return(new Ee).setBoolean(N.value).setRange(N.range)}if(N.value===null){return(new Ee).setNull().setRange(N.range)}if(N.value instanceof RegExp){return(new Ee).setRegExp(N.value).setRange(N.range)}}));this.hooks.evaluate.for("NewExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.callee;if(R.type!=="Identifier"||R.name!=="RegExp"||N.arguments.length>2||this.getVariableInfo("RegExp")!=="RegExp")return;let j,$;const q=N.arguments[0];if(q){if(q.type==="SpreadElement")return;const E=this.evaluateExpression(q);if(!E)return;j=E.asString();if(!j)return}else{return(new Ee).setRegExp(new RegExp("")).setRange(N.range)}const G=N.arguments[1];if(G){if(G.type==="SpreadElement")return;const E=this.evaluateExpression(G);if(!E)return;if(!E.isUndefined()){$=E.asString();if($===undefined||!Ee.isValidRegExpFlags($))return}}return(new Ee).setRegExp($?new RegExp(j,$):new RegExp(j)).setRange(N.range)}));this.hooks.evaluate.for("LogicalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.left);if(!R)return;let j=false;let $;if(N.operator==="&&"){const E=R.asBool();if(E===false)return R.setRange(N.range);j=E===true;$=false}else if(N.operator==="||"){const E=R.asBool();if(E===true)return R.setRange(N.range);j=E===false;$=true}else if(N.operator==="??"){const E=R.asNullish();if(E===false)return R.setRange(N.range);if(E!==true)return;j=true}else return;const q=this.evaluateExpression(N.right);if(!q)return;if(j){if(R.couldHaveSideEffects())q.setSideEffects();return q.setRange(N.range)}const G=q.asBool();if($===true&&G===true){return(new Ee).setRange(N.range).setTruthy()}else if($===false&&G===false){return(new Ee).setRange(N.range).setFalsy()}}));const valueAsExpression=(E,N,R)=>{switch(typeof E){case"boolean":return(new Ee).setBoolean(E).setSideEffects(R).setRange(N.range);case"number":return(new Ee).setNumber(E).setSideEffects(R).setRange(N.range);case"bigint":return(new Ee).setBigInt(E).setSideEffects(R).setRange(N.range);case"string":return(new Ee).setString(E).setSideEffects(R).setRange(N.range)}};this.hooks.evaluate.for("BinaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.left);if(!R||!R.isCompileTimeValue())return;const j=this.evaluateExpression(N.right);if(!j||!j.isCompileTimeValue())return;const $=E(R.asCompileTimeValue(),j.asCompileTimeValue());return valueAsExpression($,N,R.couldHaveSideEffects()||j.couldHaveSideEffects())};const isAlwaysDifferent=(E,N)=>E===true&&N===false||E===false&&N===true;const handleTemplateStringCompare=(E,N,R,j)=>{const getPrefix=E=>{let N="";for(const R of E){const E=R.asString();if(E!==undefined)N+=E;else break}return N};const getSuffix=E=>{let N="";for(let R=E.length-1;R>=0;R--){const j=E[R].asString();if(j!==undefined)N=j+N;else break}return N};const $=getPrefix(E.parts);const q=getPrefix(N.parts);const G=getSuffix(E.parts);const ie=getSuffix(N.parts);const ae=Math.min($.length,q.length);const ce=Math.min(G.length,ie.length);if($.slice(0,ae)!==q.slice(0,ae)||G.slice(-ce)!==ie.slice(-ce)){return R.setBoolean(!j).setSideEffects(E.couldHaveSideEffects()||N.couldHaveSideEffects())}};const handleStrictEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()===j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}const ie=R.isPrimitiveType();const ae=j.isPrimitiveType();if(ie===false&&(q||ae===true)||ae===false&&(G||ie===true)||isAlwaysDifferent(R.asBool(),j.asBool())||isAlwaysDifferent(R.asNullish(),j.asNullish())){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}};const handleAbstractEqualityComparison=E=>{const R=this.evaluateExpression(N.left);if(!R)return;const j=this.evaluateExpression(N.right);if(!j)return;const $=new Ee;$.setRange(N.range);const q=R.isCompileTimeValue();const G=j.isCompileTimeValue();if(q&&G){return $.setBoolean(E===(R.asCompileTimeValue()==j.asCompileTimeValue())).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isArray()&&j.isArray()){return $.setBoolean(!E).setSideEffects(R.couldHaveSideEffects()||j.couldHaveSideEffects())}if(R.isTemplateString()&&j.isTemplateString()){return handleTemplateStringCompare(R,j,$,E)}};if(N.operator==="+"){const E=this.evaluateExpression(N.left);if(!E)return;const R=this.evaluateExpression(N.right);if(!R)return;const j=new Ee;if(E.isString()){if(R.isString()){j.setString(E.string+R.string)}else if(R.isNumber()){j.setString(E.string+R.number)}else if(R.isWrapped()&&R.prefix&&R.prefix.isString()){j.setWrapped((new Ee).setString(E.string+R.prefix.string).setRange(joinRanges(E.range,R.prefix.range)),R.postfix,R.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E,R.postfix,R.wrappedInnerExpressions)}else{j.setWrapped(E,null,[R])}}else if(E.isNumber()){if(R.isString()){j.setString(E.number+R.string)}else if(R.isNumber()){j.setNumber(E.number+R.number)}else{return}}else if(E.isBigInt()){if(R.isBigInt()){j.setBigInt(E.bigint+R.bigint)}}else if(E.isWrapped()){if(E.postfix&&E.postfix.isString()&&R.isString()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.string).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(E.postfix&&E.postfix.isString()&&R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(E.postfix.string+R.number).setRange(joinRanges(E.postfix.range,R.range)),E.wrappedInnerExpressions)}else if(R.isString()){j.setWrapped(E.prefix,R,E.wrappedInnerExpressions)}else if(R.isNumber()){j.setWrapped(E.prefix,(new Ee).setString(R.number+"").setRange(R.range),E.wrappedInnerExpressions)}else if(R.isWrapped()){j.setWrapped(E.prefix,R.postfix,E.wrappedInnerExpressions&&R.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix]:[]).concat(R.prefix?[R.prefix]:[]).concat(R.wrappedInnerExpressions))}else{j.setWrapped(E.prefix,null,E.wrappedInnerExpressions&&E.wrappedInnerExpressions.concat(E.postfix?[E.postfix,R]:[R]))}}else{if(R.isString()){j.setWrapped(null,R,[E])}else if(R.isWrapped()){j.setWrapped(null,R.postfix,R.wrappedInnerExpressions&&(R.prefix?[E,R.prefix]:[E]).concat(R.wrappedInnerExpressions))}else{return}}if(E.couldHaveSideEffects()||R.couldHaveSideEffects())j.setSideEffects();j.setRange(N.range);return j}else if(N.operator==="-"){return handleConstOperation(((E,N)=>E-N))}else if(N.operator==="*"){return handleConstOperation(((E,N)=>E*N))}else if(N.operator==="/"){return handleConstOperation(((E,N)=>E/N))}else if(N.operator==="**"){return handleConstOperation(((E,N)=>E**N))}else if(N.operator==="==="){return handleStrictEqualityComparison(true)}else if(N.operator==="=="){return handleAbstractEqualityComparison(true)}else if(N.operator==="!=="){return handleStrictEqualityComparison(false)}else if(N.operator==="!="){return handleAbstractEqualityComparison(false)}else if(N.operator==="&"){return handleConstOperation(((E,N)=>E&N))}else if(N.operator==="|"){return handleConstOperation(((E,N)=>E|N))}else if(N.operator==="^"){return handleConstOperation(((E,N)=>E^N))}else if(N.operator===">>>"){return handleConstOperation(((E,N)=>E>>>N))}else if(N.operator===">>"){return handleConstOperation(((E,N)=>E>>N))}else if(N.operator==="<<"){return handleConstOperation(((E,N)=>E<E"){return handleConstOperation(((E,N)=>E>N))}else if(N.operator==="<="){return handleConstOperation(((E,N)=>E<=N))}else if(N.operator===">="){return handleConstOperation(((E,N)=>E>=N))}}));this.hooks.evaluate.for("UnaryExpression").tap("JavascriptParser",(E=>{const N=E;const handleConstOperation=E=>{const R=this.evaluateExpression(N.argument);if(!R||!R.isCompileTimeValue())return;const j=E(R.asCompileTimeValue());return valueAsExpression(j,N,R.couldHaveSideEffects())};if(N.operator==="typeof"){switch(N.argument.type){case"Identifier":{const E=this.callHooksForName(this.hooks.evaluateTypeof,N.argument.name,N);if(E!==undefined)return E;break}case"MetaProperty":{const E=this.callHooksForName(this.hooks.evaluateTypeof,getRootName(N.argument),N);if(E!==undefined)return E;break}case"MemberExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument,N);if(E!==undefined)return E;break}case"ChainExpression":{const E=this.callHooksForExpression(this.hooks.evaluateTypeof,N.argument.expression,N);if(E!==undefined)return E;break}case"FunctionExpression":{return(new Ee).setString("function").setRange(N.range)}}const E=this.evaluateExpression(N.argument);if(E.isUnknown())return;if(E.isString()){return(new Ee).setString("string").setRange(N.range)}if(E.isWrapped()){return(new Ee).setString("string").setSideEffects().setRange(N.range)}if(E.isUndefined()){return(new Ee).setString("undefined").setRange(N.range)}if(E.isNumber()){return(new Ee).setString("number").setRange(N.range)}if(E.isBigInt()){return(new Ee).setString("bigint").setRange(N.range)}if(E.isBoolean()){return(new Ee).setString("boolean").setRange(N.range)}if(E.isConstArray()||E.isRegExp()||E.isNull()){return(new Ee).setString("object").setRange(N.range)}if(E.isArray()){return(new Ee).setString("object").setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}}else if(N.operator==="!"){const E=this.evaluateExpression(N.argument);if(!E)return;const R=E.asBool();if(typeof R!=="boolean")return;return(new Ee).setBoolean(!R).setSideEffects(E.couldHaveSideEffects()).setRange(N.range)}else if(N.operator==="~"){return handleConstOperation((E=>~E))}else if(N.operator==="+"){return handleConstOperation((E=>+E))}else if(N.operator==="-"){return handleConstOperation((E=>-E))}}));this.hooks.evaluateTypeof.for("undefined").tap("JavascriptParser",(E=>(new Ee).setString("undefined").setRange(E.range)));const tapEvaluateWithVariableInfo=(E,N)=>{let R=undefined;let j=undefined;this.hooks.evaluate.for(E).tap("JavascriptParser",(E=>{const $=E;const q=N(E);if(q!==undefined){return this.callHooksForInfoWithFallback(this.hooks.evaluateIdentifier,q.name,(E=>{R=$;j=q}),(E=>{const N=this.hooks.evaluateDefinedIdentifier.get(E);if(N!==undefined){return N.call($)}}),$)}}));this.hooks.evaluate.for(E).tap({name:"JavascriptParser",stage:100},(E=>{const $=R===E?j:N(E);if($!==undefined){return(new Ee).setIdentifier($.name,$.rootInfo,$.getMembers).setRange(E.range)}}));this.hooks.finish.tap("JavascriptParser",(()=>{R=j=undefined}))};tapEvaluateWithVariableInfo("Identifier",(E=>{const N=this.getVariableInfo(E.name);if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));tapEvaluateWithVariableInfo("ThisExpression",(E=>{const N=this.getVariableInfo("this");if(typeof N==="string"||N instanceof VariableInfo&&typeof N.freeName==="string"){return{name:N,rootInfo:N,getMembers:()=>[]}}}));this.hooks.evaluate.for("MetaProperty").tap("JavascriptParser",(E=>{const N=E;return this.callHooksForName(this.hooks.evaluateIdentifier,getRootName(E),N)}));tapEvaluateWithVariableInfo("MemberExpression",(E=>this.getMemberExpressionInfo(E,Ie)));this.hooks.evaluate.for("CallExpression").tap("JavascriptParser",(E=>{const N=E;if(N.callee.type!=="MemberExpression"||N.callee.property.type!==(N.callee.computed?"Literal":"Identifier")){return}const R=this.evaluateExpression(N.callee.object);if(!R)return;const j=N.callee.property.type==="Literal"?`${N.callee.property.value}`:N.callee.property.name;const $=this.hooks.evaluateCallExpressionMember.get(j);if($!==undefined){return $.call(N,R)}}));this.hooks.evaluateCallExpressionMember.for("indexOf").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length===0)return;const[R,j]=E.arguments;if(R.type==="SpreadElement")return;const $=this.evaluateExpression(R);if(!$.isString())return;const q=$.string;let G;if(j){if(j.type==="SpreadElement")return;const E=this.evaluateExpression(j);if(!E.isNumber())return;G=N.string.indexOf(q,E.number)}else{G=N.string.indexOf(q)}return(new Ee).setNumber(G).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluateCallExpressionMember.for("replace").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==2)return;if(E.arguments[0].type==="SpreadElement")return;if(E.arguments[1].type==="SpreadElement")return;let R=this.evaluateExpression(E.arguments[0]);let j=this.evaluateExpression(E.arguments[1]);if(!R.isString()&&!R.isRegExp())return;const $=R.regExp||R.string;if(!j.isString())return;const q=j.string;return(new Ee).setString(N.string.replace($,q)).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));["substr","substring","slice"].forEach((E=>{this.hooks.evaluateCallExpressionMember.for(E).tap("JavascriptParser",((N,R)=>{if(!R.isString())return;let j;let $,q=R.string;switch(N.arguments.length){case 1:if(N.arguments[0].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);if(!j.isNumber())return;$=q[E](j.number);break;case 2:{if(N.arguments[0].type==="SpreadElement")return;if(N.arguments[1].type==="SpreadElement")return;j=this.evaluateExpression(N.arguments[0]);const R=this.evaluateExpression(N.arguments[1]);if(!j.isNumber())return;if(!R.isNumber())return;$=q[E](j.number,R.number);break}default:return}return(new Ee).setString($).setSideEffects(R.couldHaveSideEffects()).setRange(N.range)}))}));const getSimplifiedTemplateResult=(E,N)=>{const R=[];const j=[];for(let $=0;$0){const E=j[j.length-1];const R=this.evaluateExpression(N.expressions[$-1]);const ie=R.asString();if(typeof ie==="string"&&!R.couldHaveSideEffects()){E.setString(E.string+ie+G);E.setRange([E.range[0],q.range[1]]);E.setExpression(undefined);continue}j.push(R)}const ie=(new Ee).setString(G).setRange(q.range).setExpression(q);R.push(ie);j.push(ie)}return{quasis:R,parts:j}};this.hooks.evaluate.for("TemplateLiteral").tap("JavascriptParser",(E=>{const N=E;const{quasis:R,parts:j}=getSimplifiedTemplateResult("cooked",N);if(j.length===1){return j[0].setRange(N.range)}return(new Ee).setTemplateString(R,j,"cooked").setRange(N.range)}));this.hooks.evaluate.for("TaggedTemplateExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.tag);if(R.isIdentifier()&&R.identifier!=="String.raw")return;const{quasis:j,parts:$}=getSimplifiedTemplateResult("raw",N.quasi);return(new Ee).setTemplateString(j,$,"raw").setRange(N.range)}));this.hooks.evaluateCallExpressionMember.for("concat").tap("JavascriptParser",((E,N)=>{if(!N.isString()&&!N.isWrapped())return;let R=null;let j=false;const $=[];for(let N=E.arguments.length-1;N>=0;N--){const q=E.arguments[N];if(q.type==="SpreadElement")return;const G=this.evaluateExpression(q);if(j||!G.isString()&&!G.isNumber()){j=true;$.push(G);continue}const ie=G.isString()?G.string:""+G.number;const ae=ie+(R?R.string:"");const ce=[G.range[0],(R||G).range[1]];R=(new Ee).setString(ae).setSideEffects(R&&R.couldHaveSideEffects()||G.couldHaveSideEffects()).setRange(ce)}if(j){const j=N.isString()?N:N.prefix;const q=N.isWrapped()&&N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(j,R,q).setRange(E.range)}else if(N.isWrapped()){const j=R||N.postfix;const q=N.wrappedInnerExpressions?N.wrappedInnerExpressions.concat($.reverse()):$.reverse();return(new Ee).setWrapped(N.prefix,j,q).setRange(E.range)}else{const j=N.string+(R?R.string:"");return(new Ee).setString(j).setSideEffects(R&&R.couldHaveSideEffects()||N.couldHaveSideEffects()).setRange(E.range)}}));this.hooks.evaluateCallExpressionMember.for("split").tap("JavascriptParser",((E,N)=>{if(!N.isString())return;if(E.arguments.length!==1)return;if(E.arguments[0].type==="SpreadElement")return;let R;const j=this.evaluateExpression(E.arguments[0]);if(j.isString()){R=N.string.split(j.string)}else if(j.isRegExp()){R=N.string.split(j.regExp)}else{return}return(new Ee).setArray(R).setSideEffects(N.couldHaveSideEffects()).setRange(E.range)}));this.hooks.evaluate.for("ConditionalExpression").tap("JavascriptParser",(E=>{const N=E;const R=this.evaluateExpression(N.test);const j=R.asBool();let $;if(j===undefined){const E=this.evaluateExpression(N.consequent);const R=this.evaluateExpression(N.alternate);if(!E||!R)return;$=new Ee;if(E.isConditional()){$.setOptions(E.options)}else{$.setOptions([E])}if(R.isConditional()){$.addOptions(R.options)}else{$.addOptions([R])}}else{$=this.evaluateExpression(j?N.consequent:N.alternate);if(R.couldHaveSideEffects())$.setSideEffects()}$.setRange(N.range);return $}));this.hooks.evaluate.for("ArrayExpression").tap("JavascriptParser",(E=>{const N=E;const R=N.elements.map((E=>E!==null&&E.type!=="SpreadElement"&&this.evaluateExpression(E)));if(!R.every(Boolean))return;return(new Ee).setItems(R).setRange(N.range)}));this.hooks.evaluate.for("ChainExpression").tap("JavascriptParser",(E=>{const N=E;const R=[];let j=N.expression;while(j.type==="MemberExpression"||j.type==="CallExpression"){if(j.type==="MemberExpression"){if(j.optional){R.push(j.object)}j=j.object}else{if(j.optional){R.push(j.callee)}j=j.callee}}while(R.length>0){const N=R.pop();const j=this.evaluateExpression(N);if(j&&j.asNullish()){return j.setRange(E.range)}}return this.evaluateExpression(N.expression)}))}getRenameIdentifier(E){const N=this.evaluateExpression(E);if(N&&N.isIdentifier()){return N.identifier}}walkClass(E){if(E.superClass){if(!this.hooks.classExtendsExpression.call(E.superClass,E)){this.walkExpression(E.superClass)}}if(E.body&&E.body.type==="ClassBody"){for(const N of E.body.body){if(!this.hooks.classBodyElement.call(N,E)){if(N.computed&&N.key){this.walkExpression(N.key)}if(N.value){if(!this.hooks.classBodyValue.call(N.value,N,E)){const E=this.scope.topLevelScope;this.scope.topLevelScope=false;this.walkExpression(N.value);this.scope.topLevelScope=E}}}}}}preWalkStatements(E){for(let N=0,R=E.length;N{const N=E.body;const R=this.prevStatement;this.blockPreWalkStatements(N);this.prevStatement=R;this.walkStatements(N)}))}walkExpressionStatement(E){this.walkExpression(E.expression)}preWalkIfStatement(E){this.preWalkStatement(E.consequent);if(E.alternate){this.preWalkStatement(E.alternate)}}walkIfStatement(E){const N=this.hooks.statementIf.call(E);if(N===undefined){this.walkExpression(E.test);this.walkNestedStatement(E.consequent);if(E.alternate){this.walkNestedStatement(E.alternate)}}else{if(N){this.walkNestedStatement(E.consequent)}else if(E.alternate){this.walkNestedStatement(E.alternate)}}}preWalkLabeledStatement(E){this.preWalkStatement(E.body)}walkLabeledStatement(E){const N=this.hooks.label.get(E.label.name);if(N!==undefined){const R=N.call(E);if(R===true)return}this.walkNestedStatement(E.body)}preWalkWithStatement(E){this.preWalkStatement(E.body)}walkWithStatement(E){this.walkExpression(E.object);this.walkNestedStatement(E.body)}preWalkSwitchStatement(E){this.preWalkSwitchCases(E.cases)}walkSwitchStatement(E){this.walkExpression(E.discriminant);this.walkSwitchCases(E.cases)}walkTerminatingStatement(E){if(E.argument)this.walkExpression(E.argument)}walkReturnStatement(E){this.walkTerminatingStatement(E)}walkThrowStatement(E){this.walkTerminatingStatement(E)}preWalkTryStatement(E){this.preWalkStatement(E.block);if(E.handler)this.preWalkCatchClause(E.handler);if(E.finializer)this.preWalkStatement(E.finializer)}walkTryStatement(E){if(this.scope.inTry){this.walkStatement(E.block)}else{this.scope.inTry=true;this.walkStatement(E.block);this.scope.inTry=false}if(E.handler)this.walkCatchClause(E.handler);if(E.finalizer)this.walkStatement(E.finalizer)}preWalkWhileStatement(E){this.preWalkStatement(E.body)}walkWhileStatement(E){this.walkExpression(E.test);this.walkNestedStatement(E.body)}preWalkDoWhileStatement(E){this.preWalkStatement(E.body)}walkDoWhileStatement(E){this.walkNestedStatement(E.body);this.walkExpression(E.test)}preWalkForStatement(E){if(E.init){if(E.init.type==="VariableDeclaration"){this.preWalkStatement(E.init)}}this.preWalkStatement(E.body)}walkForStatement(E){this.inBlockScope((()=>{if(E.init){if(E.init.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.init);this.prevStatement=undefined;this.walkStatement(E.init)}else{this.walkExpression(E.init)}}if(E.test){this.walkExpression(E.test)}if(E.update){this.walkExpression(E.update)}const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForInStatement(E){if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForInStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkForOfStatement(E){if(E.await&&this.scope.topLevelScope===true){this.hooks.topLevelAwait.call(E)}if(E.left.type==="VariableDeclaration"){this.preWalkVariableDeclaration(E.left)}this.preWalkStatement(E.body)}walkForOfStatement(E){this.inBlockScope((()=>{if(E.left.type==="VariableDeclaration"){this.blockPreWalkVariableDeclaration(E.left);this.walkVariableDeclaration(E.left)}else{this.walkPattern(E.left)}this.walkExpression(E.right);const N=E.body;if(N.type==="BlockStatement"){const E=this.prevStatement;this.blockPreWalkStatements(N.body);this.prevStatement=E;this.walkStatements(N.body)}else{this.walkNestedStatement(N)}}))}preWalkFunctionDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkFunctionDeclaration(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=false;this.inFunctionScope(true,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}blockPreWalkImportDeclaration(E){const N=E.source.value;this.hooks.import.call(E,N);for(const R of E.specifiers){const j=R.local.name;switch(R.type){case"ImportDefaultSpecifier":if(!this.hooks.importSpecifier.call(E,N,"default",j)){this.defineVariable(j)}break;case"ImportSpecifier":if(!this.hooks.importSpecifier.call(E,N,R.imported.name,j)){this.defineVariable(j)}break;case"ImportNamespaceSpecifier":if(!this.hooks.importSpecifier.call(E,N,null,j)){this.defineVariable(j)}break;default:this.defineVariable(j)}}}enterDeclaration(E,N){switch(E.type){case"VariableDeclaration":for(const R of E.declarations){switch(R.type){case"VariableDeclarator":{this.enterPattern(R.id,N);break}}}break;case"FunctionDeclaration":this.enterPattern(E.id,N);break;case"ClassDeclaration":this.enterPattern(E.id,N);break}}blockPreWalkExportNamedDeclaration(E){let N;if(E.source){N=E.source.value;this.hooks.exportImport.call(E,N)}else{this.hooks.export.call(E)}if(E.declaration){if(!this.hooks.exportDeclaration.call(E,E.declaration)){const N=this.prevStatement;this.preWalkStatement(E.declaration);this.prevStatement=N;this.blockPreWalkStatement(E.declaration);let R=0;this.enterDeclaration(E.declaration,(N=>{this.hooks.exportSpecifier.call(E,N,N,R++)}))}}if(E.specifiers){for(let R=0;R{let j=N.get(E);if(j===undefined||!j.call(R)){j=this.hooks.varDeclaration.get(E);if(j===undefined||!j.call(R)){this.defineVariable(E)}}}))}break}}}}walkVariableDeclaration(E){for(const N of E.declarations){switch(N.type){case"VariableDeclarator":{const R=N.init&&this.getRenameIdentifier(N.init);if(R&&N.id.type==="Identifier"){const E=this.hooks.canRename.get(R);if(E!==undefined&&E.call(N.init)){const E=this.hooks.rename.get(R);if(E===undefined||!E.call(N.init)){this.setVariable(N.id.name,R)}break}}if(!this.hooks.declarator.call(N,E)){this.walkPattern(N.id);if(N.init)this.walkExpression(N.init)}break}}}}blockPreWalkClassDeclaration(E){if(E.id){this.defineVariable(E.id.name)}}walkClassDeclaration(E){this.walkClass(E)}preWalkSwitchCases(E){for(let N=0,R=E.length;N{const N=E.length;for(let R=0;R0){const E=this.prevStatement;this.blockPreWalkStatements(N.consequent);this.prevStatement=E}}for(let R=0;R0){this.walkStatements(N.consequent)}}}))}preWalkCatchClause(E){this.preWalkStatement(E.body)}walkCatchClause(E){this.inBlockScope((()=>{if(E.param!==null){this.enterPattern(E.param,(E=>{this.defineVariable(E)}));this.walkPattern(E.param)}const N=this.prevStatement;this.blockPreWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}))}walkPattern(E){switch(E.type){case"ArrayPattern":this.walkArrayPattern(E);break;case"AssignmentPattern":this.walkAssignmentPattern(E);break;case"MemberExpression":this.walkMemberExpression(E);break;case"ObjectPattern":this.walkObjectPattern(E);break;case"RestElement":this.walkRestElement(E);break}}walkAssignmentPattern(E){this.walkExpression(E.right);this.walkPattern(E.left)}walkObjectPattern(E){for(let N=0,R=E.properties.length;N{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkArrowFunctionExpression(E){const N=this.scope.topLevelScope;this.scope.topLevelScope=N?"arrow":false;this.inFunctionScope(false,E.params,(()=>{for(const N of E.params){this.walkPattern(N)}if(E.body.type==="BlockStatement"){this.detectMode(E.body.body);const N=this.prevStatement;this.preWalkStatement(E.body);this.prevStatement=N;this.walkStatement(E.body)}else{this.walkExpression(E.body)}}));this.scope.topLevelScope=N}walkSequenceExpression(E){if(!E.expressions)return;const N=this.statementPath[this.statementPath.length-1];if(N===E||N.type==="ExpressionStatement"&&N.expression===E){const N=this.statementPath.pop();for(const N of E.expressions){this.statementPath.push(N);this.walkExpression(N);this.statementPath.pop()}this.statementPath.push(N)}else{this.walkExpressions(E.expressions)}}walkUpdateExpression(E){this.walkExpression(E.argument)}walkUnaryExpression(E){if(E.operator==="typeof"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument,E);if(N===true)return;if(E.argument.type==="ChainExpression"){const N=this.callHooksForExpression(this.hooks.typeof,E.argument.expression,E);if(N===true)return}}this.walkExpression(E.argument)}walkLeftRightExpression(E){this.walkExpression(E.left);this.walkExpression(E.right)}walkBinaryExpression(E){this.walkLeftRightExpression(E)}walkLogicalExpression(E){const N=this.hooks.expressionLogicalOperator.call(E);if(N===undefined){this.walkLeftRightExpression(E)}else{if(N){this.walkExpression(E.right)}}}walkAssignmentExpression(E){if(E.left.type==="Identifier"){const N=this.getRenameIdentifier(E.right);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E.right)){if(!this.callHooksForInfo(this.hooks.rename,N,E.right)){this.setVariable(E.left.name,this.getVariableInfo(N))}return}}this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.walkExpression(E.left)}}));return}if(E.left.type.endsWith("Pattern")){this.walkExpression(E.right);this.enterPattern(E.left,((N,R)=>{if(!this.callHooksForName(this.hooks.assign,N,E)){this.defineVariable(N)}}));this.walkPattern(E.left)}else if(E.left.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.left,Ie);if(N){if(this.callHooksForInfo(this.hooks.assignMemberChain,N.rootInfo,E,N.getMembers())){return}}this.walkExpression(E.right);this.walkExpression(E.left)}else{this.walkExpression(E.right);this.walkExpression(E.left)}}walkConditionalExpression(E){const N=this.hooks.expressionConditionalOperator.call(E);if(N===undefined){this.walkExpression(E.test);this.walkExpression(E.consequent);if(E.alternate){this.walkExpression(E.alternate)}}else{if(N){this.walkExpression(E.consequent)}else if(E.alternate){this.walkExpression(E.alternate)}}}walkNewExpression(E){const N=this.callHooksForExpression(this.hooks.new,E.callee,E);if(N===true)return;this.walkExpression(E.callee);if(E.arguments){this.walkExpressions(E.arguments)}}walkYieldExpression(E){if(E.argument){this.walkExpression(E.argument)}}walkTemplateLiteral(E){if(E.expressions){this.walkExpressions(E.expressions)}}walkTaggedTemplateExpression(E){if(E.tag){this.walkExpression(E.tag)}if(E.quasi&&E.quasi.expressions){this.walkExpressions(E.quasi.expressions)}}walkClassExpression(E){this.walkClass(E)}walkChainExpression(E){const N=this.hooks.optionalChaining.call(E);if(N===undefined){if(E.expression.type==="CallExpression"){this.walkCallExpression(E.expression)}else{this.walkMemberExpression(E.expression)}}}_walkIIFE(E,N,R){const getVarInfo=E=>{const N=this.getRenameIdentifier(E);if(N){if(this.callHooksForInfo(this.hooks.canRename,N,E)){if(!this.callHooksForInfo(this.hooks.rename,N,E)){return this.getVariableInfo(N)}}}this.walkExpression(E)};const{params:j,type:$}=E;const q=$==="ArrowFunctionExpression";const G=R?getVarInfo(R):null;const ie=N.map(getVarInfo);const ae=this.scope.topLevelScope;this.scope.topLevelScope=ae&&q?"arrow":false;const ce=j.filter(((E,N)=>!ie[N]));if(E.id){ce.push(E.id.name)}this.inFunctionScope(true,ce,(()=>{if(G&&!q){this.setVariable("this",G)}for(let E=0;EE.params.every((E=>E.type==="Identifier"));if(E.callee.type==="MemberExpression"&&E.callee.object.type.endsWith("FunctionExpression")&&!E.callee.computed&&(E.callee.property.name==="call"||E.callee.property.name==="bind")&&E.arguments.length>0&&isSimpleFunction(E.callee.object)){this._walkIIFE(E.callee.object,E.arguments.slice(1),E.arguments[0])}else if(E.callee.type.endsWith("FunctionExpression")&&isSimpleFunction(E.callee)){this._walkIIFE(E.callee,E.arguments,null)}else{if(E.callee.type==="MemberExpression"){const N=this.getMemberExpressionInfo(E.callee,we);if(N&&N.type==="call"){const R=this.callHooksForInfo(this.hooks.callMemberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return}}const N=this.evaluateExpression(E.callee);if(N.isIdentifier()){const R=this.callHooksForInfo(this.hooks.callMemberChain,N.rootInfo,E,N.getMembers());if(R===true)return;const j=this.callHooksForInfo(this.hooks.call,N.identifier,E);if(j===true)return}if(E.callee){if(E.callee.type==="MemberExpression"){this.walkExpression(E.callee.object);if(E.callee.computed===true)this.walkExpression(E.callee.property)}else{this.walkExpression(E.callee)}}if(E.arguments)this.walkExpressions(E.arguments)}}walkMemberExpression(E){const N=this.getMemberExpressionInfo(E,Ne);if(N){switch(N.type){case"expression":{const R=this.callHooksForInfo(this.hooks.expression,N.name,E);if(R===true)return;const j=N.getMembers();const $=this.callHooksForInfo(this.hooks.expressionMemberChain,N.rootInfo,E,j);if($===true)return;this.walkMemberExpressionWithExpressionName(E,N.name,N.rootInfo,j.slice(),(()=>this.callHooksForInfo(this.hooks.unhandledExpressionMemberChain,N.rootInfo,E,j)));return}case"call":{const R=this.callHooksForInfo(this.hooks.memberChainOfCallMemberChain,N.rootInfo,E,N.getCalleeMembers(),N.call,N.getMembers());if(R===true)return;this.walkExpression(N.call);return}}}this.walkExpression(E.object);if(E.computed===true)this.walkExpression(E.property)}walkMemberExpressionWithExpressionName(E,N,R,j,$){if(E.object.type==="MemberExpression"){const q=E.property.name||`${E.property.value}`;N=N.slice(0,-q.length-1);j.pop();const G=this.callHooksForInfo(this.hooks.expression,N,E.object);if(G===true)return;this.walkMemberExpressionWithExpressionName(E.object,N,R,j,$)}else if(!$||!$()){this.walkExpression(E.object)}if(E.computed===true)this.walkExpression(E.property)}walkThisExpression(E){this.callHooksForName(this.hooks.expression,"this",E)}walkIdentifier(E){this.callHooksForName(this.hooks.expression,E.name,E)}walkMetaProperty(E){this.hooks.expression.for(getRootName(E)).call(E)}callHooksForExpression(E,N,...R){return this.callHooksForExpressionWithFallback(E,N,undefined,undefined,...R)}callHooksForExpressionWithFallback(E,N,R,j,...$){const q=this.getMemberExpressionInfo(N,Ie);if(q!==undefined){const N=q.getMembers();return this.callHooksForInfoWithFallback(E,N.length===0?q.rootInfo:q.name,R&&(E=>R(E,q.rootInfo,q.getMembers)),j&&(()=>j(q.name)),...$)}}callHooksForName(E,N,...R){return this.callHooksForNameWithFallback(E,N,undefined,undefined,...R)}callHooksForInfo(E,N,...R){return this.callHooksForInfoWithFallback(E,N,undefined,undefined,...R)}callHooksForInfoWithFallback(E,N,R,j,...$){let q;if(typeof N==="string"){q=N}else{if(!(N instanceof VariableInfo)){if(j!==undefined){return j()}return}let R=N.tagInfo;while(R!==undefined){const N=E.get(R.tag);if(N!==undefined){this.currentTagData=R.data;const E=N.call(...$);this.currentTagData=undefined;if(E!==undefined)return E}R=R.next}if(N.freeName===true){if(j!==undefined){return j()}return}q=N.freeName}const G=E.get(q);if(G!==undefined){const E=G.call(...$);if(E!==undefined)return E}if(R!==undefined){return R(q)}}callHooksForNameWithFallback(E,N,R,j,...$){return this.callHooksForInfoWithFallback(E,this.getVariableInfo(N),R,j,...$)}inScope(E,N){const R=this.scope;this.scope={topLevelScope:R.topLevelScope,inTry:false,inShorthand:false,isStrict:R.isStrict,isAsmJs:R.isAsmJs,definitions:R.definitions.createChild()};this.undefineVariable("this");this.enterPatterns(E,((E,N)=>{this.defineVariable(E)}));N();this.scope=R}inFunctionScope(E,N,R){const j=this.scope;this.scope={topLevelScope:j.topLevelScope,inTry:false,inShorthand:false,isStrict:j.isStrict,isAsmJs:j.isAsmJs,definitions:j.definitions.createChild()};if(E){this.undefineVariable("this")}this.enterPatterns(N,((E,N)=>{this.defineVariable(E)}));R();this.scope=j}inBlockScope(E){const N=this.scope;this.scope={topLevelScope:N.topLevelScope,inTry:N.inTry,inShorthand:false,isStrict:N.isStrict,isAsmJs:N.isAsmJs,definitions:N.definitions.createChild()};E();this.scope=N}detectMode(E){const N=E.length>=1&&E[0].type==="ExpressionStatement"&&E[0].expression.type==="Literal";if(N&&E[0].expression.value==="use strict"){this.scope.isStrict=true}if(N&&E[0].expression.value==="use asm"){this.scope.isAsmJs=true}}enterPatterns(E,N){for(const R of E){if(typeof R!=="string"){this.enterPattern(R,N)}else if(R){N(R)}}}enterPattern(E,N){if(!E)return;switch(E.type){case"ArrayPattern":this.enterArrayPattern(E,N);break;case"AssignmentPattern":this.enterAssignmentPattern(E,N);break;case"Identifier":this.enterIdentifier(E,N);break;case"ObjectPattern":this.enterObjectPattern(E,N);break;case"RestElement":this.enterRestElement(E,N);break;case"Property":if(E.shorthand&&E.value.type==="Identifier"){this.scope.inShorthand=E.value.name;this.enterIdentifier(E.value,N);this.scope.inShorthand=false}else{this.enterPattern(E.value,N)}break}}enterIdentifier(E,N){if(!this.callHooksForName(this.hooks.pattern,E.name,E)){N(E.name,E)}}enterObjectPattern(E,N){for(let R=0,j=E.properties.length;R$.add(E)})}const q=this.scope;const G=this.state;const ie=this.comments;const ae=this.semicolons;const le=this.statementPath;const _e=this.prevStatement;this.scope={topLevelScope:true,inTry:false,inShorthand:false,isStrict:false,isAsmJs:false,definitions:new ce};this.state=N;this.comments=j;this.semicolons=$;this.statementPath=[];this.prevStatement=undefined;if(this.hooks.program.call(R,j)===undefined){this.detectMode(R.body);this.preWalkStatements(R.body);this.prevStatement=undefined;this.blockPreWalkStatements(R.body);this.prevStatement=undefined;this.walkStatements(R.body)}this.hooks.finish.call(R,j);this.scope=q;this.state=G;this.comments=ie;this.semicolons=ae;this.statementPath=le;this.prevStatement=_e;return N}evaluate(E){const N=JavascriptParser._parse("("+E+")",{sourceType:this.sourceType,locations:false});if(N.body.length!==1||N.body[0].type!=="ExpressionStatement"){throw new Error("evaluate: Source is not a expression")}return this.evaluateExpression(N.body[0].expression)}isPure(E,N){if(!E)return true;const R=this.hooks.isPure.for(E.type).call(E,N);if(typeof R==="boolean")return R;switch(E.type){case"ClassDeclaration":case"ClassExpression":{if(E.body.type!=="ClassBody")return false;if(E.superClass&&!this.isPure(E.superClass,E.range[0])){return false}const N=E.body.body;return N.every((E=>(!E.computed||!E.key||this.isPure(E.key,E.range[0]))&&(!E.static||!E.value||this.isPure(E.value,E.key?E.key.range[1]:E.range[0]))))}case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"Literal":case"PrivateIdentifier":return true;case"VariableDeclaration":return E.declarations.every((E=>this.isPure(E.init,E.range[0])));case"ConditionalExpression":return this.isPure(E.test,N)&&this.isPure(E.consequent,E.test.range[1])&&this.isPure(E.alternate,E.consequent.range[1]);case"SequenceExpression":return E.expressions.every((E=>{const R=this.isPure(E,N);N=E.range[1];return R}));case"CallExpression":{const R=E.range[0]-N>12&&this.getComments([N,E.range[0]]).some((E=>E.type==="Block"&&/^\s*(#|@)__PURE__\s*$/.test(E.value)));if(!R)return false;N=E.callee.range[1];return E.arguments.every((E=>{if(E.type==="SpreadElement")return false;const R=this.isPure(E,N);N=E.range[1];return R}))}}const j=this.evaluateExpression(E);return!j.couldHaveSideEffects()}getComments(E){const[N,R]=E;const compare=(E,N)=>E.range[0]-N;let j=le.ge(this.comments,N,compare);let $=[];while(this.comments[j]&&this.comments[j].range[1]<=R){$.push(this.comments[j]);j++}return $}isAsiPosition(E){const N=this.statementPath[this.statementPath.length-1];if(N===undefined)throw new Error("Not in statement");return N.range[1]===E&&this.semicolons.has(E)||N.range[0]===E&&this.prevStatement!==undefined&&this.semicolons.has(this.prevStatement.range[1])}unsetAsiPosition(E){this.semicolons.delete(E)}isStatementLevelExpression(E){const N=this.statementPath[this.statementPath.length-1];return E===N||N.type==="ExpressionStatement"&&N.expression===E}getTagData(E,N){const R=this.scope.definitions.get(E);if(R instanceof VariableInfo){let E=R.tagInfo;while(E!==undefined){if(E.tag===N)return E.data;E=E.next}}}tagVariable(E,N,R){const j=this.scope.definitions.get(E);let $;if(j===undefined){$=new VariableInfo(this.scope,E,{tag:N,data:R,next:undefined})}else if(j instanceof VariableInfo){$=new VariableInfo(j.declaredScope,j.freeName,{tag:N,data:R,next:j.tagInfo})}else{$=new VariableInfo(j,true,{tag:N,data:R,next:undefined})}this.scope.definitions.set(E,$)}defineVariable(E){const N=this.scope.definitions.get(E);if(N instanceof VariableInfo&&N.declaredScope===this.scope)return;this.scope.definitions.set(E,this.scope)}undefineVariable(E){this.scope.definitions.delete(E)}isVariableDefined(E){const N=this.scope.definitions.get(E);if(N===undefined)return false;if(N instanceof VariableInfo){return N.freeName===true}return true}getVariableInfo(E){const N=this.scope.definitions.get(E);if(N===undefined){return E}else{return N}}setVariable(E,N){if(typeof N==="string"){if(N===E){this.scope.definitions.delete(E)}else{this.scope.definitions.set(E,new VariableInfo(this.scope,N,undefined))}}else{this.scope.definitions.set(E,N)}}parseCommentOptions(E){const N=this.getComments(E);if(N.length===0){return je}let R={};let j=[];for(const E of N){const{value:N}=E;if(N&&Be.test(N)){try{const E=ie.runInNewContext(`(function(){return {${N}};})()`);Object.assign(R,E)}catch(N){N.comment=E;j.push(N)}}}return{options:R,errors:j}}extractMemberExpressionChain(E){let N=E;const R=[];while(N.type==="MemberExpression"){if(N.computed){if(N.property.type!=="Literal")break;R.push(`${N.property.value}`)}else{if(N.property.type!=="Identifier")break;R.push(N.property.name)}N=N.object}return{members:R,object:N}}getFreeInfoFromVariable(E){const N=this.getVariableInfo(E);let R;if(N instanceof VariableInfo){R=N.freeName;if(typeof R!=="string")return undefined}else if(typeof N!=="string"){return undefined}else{R=N}return{info:N,name:R}}getMemberExpressionInfo(E,N){const{object:R,members:j}=this.extractMemberExpressionChain(E);switch(R.type){case"CallExpression":{if((N&we)===0)return undefined;let E=R.callee;let $=Te;if(E.type==="MemberExpression"){({object:E,members:$}=this.extractMemberExpressionChain(E))}const q=getRootName(E);if(!q)return undefined;const G=this.getFreeInfoFromVariable(q);if(!G)return undefined;const{info:ie,name:ae}=G;const ce=objectAndMembersToName(ae,$);return{type:"call",call:R,calleeName:ce,rootInfo:ie,getCalleeMembers:_e((()=>$.reverse())),name:objectAndMembersToName(`${ce}()`,j),getMembers:_e((()=>j.reverse()))}}case"Identifier":case"MetaProperty":case"ThisExpression":{if((N&Ie)===0)return undefined;const E=getRootName(R);if(!E)return undefined;const $=this.getFreeInfoFromVariable(E);if(!$)return undefined;const{info:q,name:G}=$;return{type:"expression",name:objectAndMembersToName(G,j),rootInfo:q,getMembers:_e((()=>j.reverse()))}}}}getNameForExpression(E){return this.getMemberExpressionInfo(E,Ie)}static _parse(E,N){const R=N?N.sourceType:"module";const j={...Le,allowReturnOutsideFunction:R==="script",...N,sourceType:R==="auto"?"module":R};let $;let q;let G=false;try{$=Me.parse(E,j)}catch(E){q=E;G=true}if(G&&R==="auto"){j.sourceType="script";if(!("allowReturnOutsideFunction"in N)){j.allowReturnOutsideFunction=true}if(Array.isArray(j.onComment)){j.onComment.length=0}try{$=Me.parse(E,j);G=false}catch(E){}}if(G){throw q}return $}}E.exports=JavascriptParser;E.exports.ALLOWED_MEMBER_TYPES_ALL=Ne;E.exports.ALLOWED_MEMBER_TYPES_EXPRESSION=Ie;E.exports.ALLOWED_MEMBER_TYPES_CALL_EXPRESSION=we},48472:(E,N,R)=>{"use strict";const j=R(53558);const $=R(66298);const q=R(87250);N.toConstantDependency=(E,N,R)=>function constDependency(j){const q=new $(N,j.range,R);q.loc=j.loc;E.state.module.addPresentationalDependency(q);return true};N.evaluateToString=E=>function stringExpression(N){return(new q).setString(E).setRange(N.range)};N.evaluateToNumber=E=>function stringExpression(N){return(new q).setNumber(E).setRange(N.range)};N.evaluateToBoolean=E=>function booleanExpression(N){return(new q).setBoolean(E).setRange(N.range)};N.evaluateToIdentifier=(E,N,R,j)=>function identifierExpression($){let G=(new q).setIdentifier(E,N,R).setSideEffects(false).setRange($.range);switch(j){case true:G.setTruthy();break;case null:G.setNullish(true);break;case false:G.setFalsy();break}return G};N.expressionIsUnsupported=(E,N)=>function unsupportedExpression(R){const q=new $("(void 0)",R.range,null);q.loc=R.loc;E.state.module.addPresentationalDependency(q);if(!E.state.module)return;E.state.module.addWarning(new j(N,R.loc));return true};N.skipTraversal=()=>true;N.approve=()=>true},13085:(E,N,R)=>{"use strict";const j=R(71452);const $=R(76150);const q=R(58159);const{isSubset:G}=R(26221);const{chunkHasJs:ie}=R(18161);const getAllChunks=(E,N,R)=>{const $=new Set([E]);const q=new Set;for(const E of $){for(const j of E.chunks){if(j===N)continue;if(j===R)continue;q.add(j)}for(const N of E.parentsIterable){if(N instanceof j)$.add(N)}}return q};const ae="var __webpack_exports__ = ";N.generateEntryStartup=(E,N,R,j,ie)=>{const ce=[`var __webpack_exec__ = ${N.returningFunction(`__webpack_require__(${$.entryModuleId} = moduleId)`,"moduleId")}`];const runModule=E=>`__webpack_exec__(${JSON.stringify(E)})`;const outputCombination=(E,R,j)=>{if(E.size===0){ce.push(`${j?ae:""}(${R.map(runModule).join(", ")});`)}else{const q=N.returningFunction(R.map(runModule).join(", "));ce.push(`${j&&!ie?ae:""}${ie?$.onChunksLoaded:$.startupEntrypoint}(0, ${JSON.stringify(Array.from(E,(E=>E.id)))}, ${q});`);if(j&&ie){ce.push(`${ae}${$.onChunksLoaded}();`)}}};let le=undefined;let _e=undefined;for(const[N,$]of R){const R=$.getRuntimeChunk();const q=E.getModuleId(N);const ie=getAllChunks($,j,R);if(le&&le.size===ie.size&&G(le,ie)){_e.push(q)}else{if(le){outputCombination(le,_e)}le=ie;_e=[q]}}if(le){outputCombination(le,_e,true)}ce.push("");return q.asString(ce)};N.updateHashForEntryStartup=(E,N,R,j)=>{for(const[$,q]of R){const R=q.getRuntimeChunk();const G=N.getModuleId($);E.update(`${G}`);for(const N of getAllChunks(q,j,R))E.update(`${N.id}`)}};N.getInitialChunkIds=(E,N)=>{const R=new Set(E.ids);for(const j of E.getAllInitialChunks()){if(j===E||ie(j,N))continue;for(const E of j.ids)R.add(E)}return R}},72055:(E,N,R)=>{"use strict";const{register:j}=R(24568);class JsonData{constructor(E){this._buffer=undefined;this._data=undefined;if(Buffer.isBuffer(E)){this._buffer=E}else{this._data=E}}get(){if(this._data===undefined&&this._buffer!==undefined){this._data=JSON.parse(this._buffer.toString())}return this._data}}j(JsonData,"webpack/lib/json/JsonData",null,{serialize(E,{write:N}){if(E._buffer===undefined&&E._data!==undefined){E._buffer=Buffer.from(JSON.stringify(E._data))}N(E._buffer)},deserialize({read:E}){return new JsonData(E())}});E.exports=JsonData},79279:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(77294);const{UsageState:q}=R(76632);const G=R(36253);const ie=R(76150);const stringifySafe=E=>{const N=JSON.stringify(E);if(!N){return undefined}return N.replace(/\u2028|\u2029/g,(E=>E==="\u2029"?"\\u2029":"\\u2028"))};const createObjectForExportsInfo=(E,N,R)=>{if(N.otherExportsInfo.getUsed(R)!==q.Unused)return E;const j=Array.isArray(E);const $=j?[]:{};for(const j of Object.keys(E)){const G=N.getReadOnlyExportInfo(j);const ie=G.getUsed(R);if(ie===q.Unused)continue;let ae;if(ie===q.OnlyPropertiesUsed&&G.exportsInfo){ae=createObjectForExportsInfo(E[j],G.exportsInfo,R)}else{ae=E[j]}const ce=G.getUsedName(j,R);$[ce]=ae}if(j){let j=N.getReadOnlyExportInfo("length").getUsed(R)!==q.Unused?E.length:undefined;let G=0;for(let E=0;E<$.length;E++){if($[E]===undefined){G-=2}else{G+=`${E}`.length+3}}if(j!==undefined){G+=`${j}`.length+8-(j-$.length)*2}if(G<0)return Object.assign(j===undefined?{}:{length:j},$);const ie=j!==undefined?Math.max(j,$.length):$.length;for(let E=0;E20&&typeof Ee==="object"?`JSON.parse('${Te.replace(/[\\']/g,"\\$&")}')`:Te;let Ie;if(ce){Ie=`${R.supportsConst()?"const":"var"} ${$.NAMESPACE_OBJECT_EXPORT} = ${we};`;ce.registerNamespaceExport($.NAMESPACE_OBJECT_EXPORT)}else{G.add(ie.module);Ie=`${E.moduleArgument}.exports = ${we};`}return new j(Ie)}}E.exports=JsonGenerator},9483:(E,N,R)=>{"use strict";const j=R(35817);const $=R(79279);const q=R(79232);const G=j(R(71633),(()=>R(89408)),{name:"Json Modules Plugin",baseDataPath:"parser"});class JsonModulesPlugin{apply(E){E.hooks.compilation.tap("JsonModulesPlugin",((E,{normalModuleFactory:N})=>{N.hooks.createParser.for("json").tap("JsonModulesPlugin",(E=>{G(E);return new q(E)}));N.hooks.createGenerator.for("json").tap("JsonModulesPlugin",(()=>new $))}))}}E.exports=JsonModulesPlugin},79232:(E,N,R)=>{"use strict";const j=R(78688);const $=R(2172);const q=R(38895);const G=R(72055);class JsonParser extends ${constructor(E){super();this.options=E||{}}parse(E,N){if(Buffer.isBuffer(E)){E=E.toString("utf-8")}const R=typeof this.options.parse==="function"?this.options.parse:j;const $=typeof E==="object"?E:R(E[0]==="\ufeff"?E.slice(1):E);N.module.buildInfo.jsonData=new G($);N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="default";N.module.buildMeta.defaultObject=typeof $==="object"?"redirect-warn":false;N.module.addDependency(new q(q.getExportsFromData($)));return N}}E.exports=JsonParser},9786:(E,N,R)=>{"use strict";const j=R(76150);const $=R(18161);const q="Common configuration options that specific library names are 'output.library[.name]', 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.";class AbstractLibraryPlugin{constructor({pluginName:E,type:N}){this._pluginName=E;this._type=N;this._parseCache=new WeakMap}apply(E){const{_pluginName:N}=this;E.hooks.thisCompilation.tap(N,(E=>{E.hooks.finishModules.tap({name:N,stage:10},(()=>{for(const[N,{dependencies:R,options:{library:j}}]of E.entries){const $=this._parseOptionsCached(j!==undefined?j:E.outputOptions.library);if($!==false){const j=R[R.length-1];if(j){const R=E.moduleGraph.getModule(j);if(R){this.finishEntryModule(R,N,{options:$,compilation:E,chunkGraph:E.chunkGraph})}}}}}));const getOptionsForChunk=N=>{if(E.chunkGraph.getNumberOfEntryModules(N)===0)return false;const R=N.getEntryOptions();const j=R&&R.library;return this._parseOptionsCached(j!==undefined?j:E.outputOptions.library)};if(this.render!==AbstractLibraryPlugin.prototype.render||this.runtimeRequirements!==AbstractLibraryPlugin.prototype.runtimeRequirements){E.hooks.additionalChunkRuntimeRequirements.tap(N,((N,R,{chunkGraph:j})=>{const $=getOptionsForChunk(N);if($!==false){this.runtimeRequirements(N,R,{options:$,compilation:E,chunkGraph:j})}}))}const R=$.getCompilationHooks(E);if(this.render!==AbstractLibraryPlugin.prototype.render){R.render.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return N;return this.render(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.embedInRuntimeBailout!==AbstractLibraryPlugin.prototype.embedInRuntimeBailout){R.embedInRuntimeBailout.tap(N,((N,R)=>{const j=getOptionsForChunk(R.chunk);if(j===false)return;return this.embedInRuntimeBailout(N,R,{options:j,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.strictRuntimeBailout!==AbstractLibraryPlugin.prototype.strictRuntimeBailout){R.strictRuntimeBailout.tap(N,(N=>{const R=getOptionsForChunk(N.chunk);if(R===false)return;return this.strictRuntimeBailout(N,{options:R,compilation:E,chunkGraph:E.chunkGraph})}))}if(this.renderStartup!==AbstractLibraryPlugin.prototype.renderStartup){R.renderStartup.tap(N,((N,R,j)=>{const $=getOptionsForChunk(j.chunk);if($===false)return N;return this.renderStartup(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}R.chunkHash.tap(N,((N,R,j)=>{const $=getOptionsForChunk(N);if($===false)return;this.chunkHash(N,R,j,{options:$,compilation:E,chunkGraph:E.chunkGraph})}))}))}_parseOptionsCached(E){if(!E)return false;if(E.type!==this._type)return false;const N=this._parseCache.get(E);if(N!==undefined)return N;const R=this.parseOptions(E);this._parseCache.set(E,R);return R}parseOptions(E){const N=R(75884);throw new N}finishEntryModule(E,N,R){}embedInRuntimeBailout(E,N,R){return undefined}strictRuntimeBailout(E,N){return undefined}runtimeRequirements(E,N,R){if(this.render!==AbstractLibraryPlugin.prototype.render)N.add(j.returnExportsFromRuntime)}render(E,N,R){return E}renderStartup(E,N,R,j){return E}chunkHash(E,N,R,j){const $=this._parseOptionsCached(j.compilation.outputOptions.library);N.update(this._pluginName);N.update(JSON.stringify($))}}AbstractLibraryPlugin.COMMON_LIBRARY_NAME_MESSAGE=q;E.exports=AbstractLibraryPlugin},17982:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(16734);const q=R(58159);const G=R(9786);class AmdLibraryPlugin extends G{constructor(E){super({pluginName:"AmdLibraryPlugin",type:E.type});this.requireAsWrapper=E.requireAsWrapper}parseOptions(E){const{name:N}=E;if(this.requireAsWrapper){if(N){throw new Error(`AMD library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}else{if(N&&typeof N!=="string"){throw new Error(`AMD library name must be a simple string or unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}}return{name:N}}render(E,{chunkGraph:N,chunk:R,runtimeTemplate:G},{options:ie,compilation:ae}){const ce=G.supportsArrowFunction();const le=N.getChunkModules(R).filter((E=>E instanceof $));const _e=le;const Ee=JSON.stringify(_e.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Te=_e.map((E=>`__WEBPACK_EXTERNAL_MODULE_${q.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const we=G.isIIFE();const Ie=(ce?`(${Te}) => {`:`function(${Te}) {`)+(we||!R.hasRuntime()?" return ":"\n");const Ne=we?";\n}":"\n}";if(this.requireAsWrapper){return new j(`require(${Ee}, ${Ie}`,E,`${Ne});`)}else if(ie.name){const N=ae.getPath(ie.name,{chunk:R});return new j(`define(${JSON.stringify(N)}, ${Ee}, ${Ie}`,E,`${Ne});`)}else if(Te){return new j(`define(${Ee}, ${Ie}`,E,`${Ne});`)}else{return new j(`define(${Ie}`,E,`${Ne});`)}}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AmdLibraryPlugin");if(this.requireAsWrapper){N.update("requireAsWrapper")}else if(j.name){N.update("named");const R=$.getPath(j.name,{chunk:E});N.update(R)}}}E.exports=AmdLibraryPlugin},69444:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(58159);const G=R(68038);const{getEntryRuntime:ie}=R(37416);const ae=R(9786);const ce=/^(await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|super|switch|static|this|throw|try|true|typeof|var|void|while|with|yield)$/;const le=/^[\p{L}\p{Nl}$_][\p{L}\p{Nl}$\p{Mn}\p{Mc}\p{Nd}\p{Pc}]*$/iu;const isNameValid=E=>!ce.test(E)&&le.test(E);const accessWithInit=(E,N,R=false)=>{const j=E[0];if(E.length===1&&!R)return j;let $=N>0?j:`(${j} = typeof ${j} === "undefined" ? {} : ${j})`;let q=1;let ie;if(N>q){ie=E.slice(1,N);q=N;$+=G(ie)}else{ie=[]}const ae=R?E.length:E.length-1;for(;qR.getPath(E,{chunk:N})))}render(E,{chunk:N},{options:R,compilation:$}){const G=this._getResolvedFullName(R,N,$);if(this.declare){const N=G[0];if(!isNameValid(N)){throw new Error(`Library name base (${N}) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. ${q.toIdentifier(N)}) or use a different library type (e. g. 'type: "global"', which assign a property on the global scope instead of declaring a variable). ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}E=new j(`${this.declare} ${N};\n`,E)}return E}embedInRuntimeBailout(E,{chunk:N},{options:R,compilation:j}){const $=E.buildInfo&&E.buildInfo.topLevelDeclarations;if(!$)return"it doesn't tell about top level declarations.";const q=this._getResolvedFullName(R,N,j);const G=q[0];if($.has(G))return`it declares '${G}' on top-level, which conflicts with the current library output.`}strictRuntimeBailout({chunk:E},{options:N,compilation:R}){if(this.declare||this.prefix==="global"||this.prefix.length>0||!N.name){return}return"a global variable is assign and maybe created"}renderStartup(E,N,{chunk:R},{options:$,compilation:q}){const ie=this._getResolvedFullName($,R,q);const ae=$.export?G(Array.isArray($.export)?$.export:[$.export]):"";const ce=new j(E);if($.name?this.named==="copy":this.unnamed==="copy"){ce.add(`var __webpack_export_target__ = ${accessWithInit(ie,this._getPrefix(q).length,true)};\n`);let E="__webpack_exports__";if(ae){ce.add(`var __webpack_exports_export__ = __webpack_exports__${ae};\n`);E="__webpack_exports_export__"}ce.add(`for(var i in ${E}) __webpack_export_target__[i] = ${E}[i];\n`);ce.add(`if(${E}.__esModule) Object.defineProperty(__webpack_export_target__, "__esModule", { value: true });\n`)}else{ce.add(`${accessWithInit(ie,this._getPrefix(q).length,false)} = __webpack_exports__${ae};\n`)}return ce}runtimeRequirements(E,N,R){}chunkHash(E,N,R,{options:j,compilation:$}){N.update("AssignLibraryPlugin");const q=this.prefix==="global"?[$.outputOptions.globalObject]:this.prefix;const G=j.name?q.concat(j.name):q;const ie=G.map((N=>$.getPath(N,{chunk:E})));if(j.name?this.named==="copy":this.unnamed==="copy"){N.update("copy")}if(this.declare){N.update(this.declare)}N.update(ie.join("."));if(j.export){N.update(`${j.export}`)}}}E.exports=AssignLibraryPlugin},13984:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableLibraryPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableLibraryPlugin need to be used to enable this type of library. "+'This usually happens through the "output.enabledLibraryTypes" option. '+'If you are using a function as entry which sets "library", you need to add all potential library types to "output.enabledLibraryTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){const enableExportProperty=()=>{const j=R(97140);new j({type:N,nsObjectUsed:N!=="module"}).apply(E)};switch(N){case"var":{const j=R(69444);new j({type:N,prefix:[],declare:"var",unnamed:"error"}).apply(E);break}case"assign-properties":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error",named:"copy"}).apply(E);break}case"assign":{const j=R(69444);new j({type:N,prefix:[],declare:false,unnamed:"error"}).apply(E);break}case"this":{const j=R(69444);new j({type:N,prefix:["this"],declare:false,unnamed:"copy"}).apply(E);break}case"window":{const j=R(69444);new j({type:N,prefix:["window"],declare:false,unnamed:"copy"}).apply(E);break}case"self":{const j=R(69444);new j({type:N,prefix:["self"],declare:false,unnamed:"copy"}).apply(E);break}case"global":{const j=R(69444);new j({type:N,prefix:"global",declare:false,unnamed:"copy"}).apply(E);break}case"commonjs":{const j=R(69444);new j({type:N,prefix:["exports"],declare:false,unnamed:"copy"}).apply(E);break}case"commonjs2":case"commonjs-module":{const j=R(69444);new j({type:N,prefix:["module","exports"],declare:false,unnamed:"assign"}).apply(E);break}case"amd":case"amd-require":{enableExportProperty();const j=R(17982);new j({type:N,requireAsWrapper:N==="amd-require"}).apply(E);break}case"umd":case"umd2":{enableExportProperty();const j=R(76456);new j({type:N,optionalAmdExternalAsGlobal:N==="umd2"}).apply(E);break}case"system":{enableExportProperty();const j=R(59405);new j({type:N}).apply(E);break}case"jsonp":{enableExportProperty();const j=R(63154);new j({type:N}).apply(E);break}case"module":{enableExportProperty();const j=R(68111);new j({type:N}).apply(E);break}default:throw new Error(`Unsupported library type ${N}.\nPlugins which provide custom library types must call EnableLibraryPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableLibraryPlugin},97140:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(68038);const{getEntryRuntime:G}=R(37416);const ie=R(9786);class ExportPropertyLibraryPlugin extends ie{constructor({type:E,nsObjectUsed:N}){super({pluginName:"ExportPropertyLibraryPlugin",type:E});this.nsObjectUsed=N}parseOptions(E){return{export:E.export}}finishEntryModule(E,N,{options:R,compilation:j,compilation:{moduleGraph:q}}){const ie=G(j,N);if(R.export){const N=q.getExportInfo(E,Array.isArray(R.export)?R.export[0]:R.export);N.setUsed($.Used,ie);N.canMangleUse=false}else{const N=q.getExportsInfo(E);if(this.nsObjectUsed){N.setUsedInUnknownWay(ie)}else{N.setAllKnownExportsUsed(ie)}}q.addExtraReason(E,"used as library export")}runtimeRequirements(E,N,R){}renderStartup(E,N,R,{options:$}){if(!$.export)return E;const G=`__webpack_exports__ = __webpack_exports__${q(Array.isArray($.export)?$.export:[$.export])};\n`;return new j(E,G)}}E.exports=ExportPropertyLibraryPlugin},63154:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(9786);class JsonpLibraryPlugin extends ${constructor(E){super({pluginName:"JsonpLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(typeof N!=="string"){throw new Error(`Jsonp library name must be a simple string. ${$.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunk:N},{options:R,compilation:$}){const q=$.getPath(R.name,{chunk:N});return new j(`${q}(`,E,")")}chunkHash(E,N,R,{options:j,compilation:$}){N.update("JsonpLibraryPlugin");N.update($.getPath(j.name,{chunk:E}))}}E.exports=JsonpLibraryPlugin},68111:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const $=R(58159);const q=R(68038);const G=R(9786);class ModuleLibraryPlugin extends G{constructor(E){super({pluginName:"ModuleLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N){throw new Error(`Library name must be unset. ${G.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}renderStartup(E,N,{moduleGraph:R,chunk:G},{options:ie,compilation:ae}){const ce=new j(E);const le=R.getExportsInfo(N);const _e=[];const Ee=R.isAsync(N);if(Ee){ce.add(`__webpack_exports__ = await __webpack_exports__;\n`)}for(const E of le.orderedExports){if(!E.provided)continue;const N=`__webpack_exports__${$.toIdentifier(E.name)}`;ce.add(`var ${N} = __webpack_exports__${q([E.getUsedName(E.name,G.runtime)])};\n`);_e.push(`${N} as ${E.name}`)}if(_e.length>0){ce.add(`export { ${_e.join(", ")} };\n`)}return ce}}E.exports=ModuleLibraryPlugin},59405:(E,N,R)=>{"use strict";const{ConcatSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(16734);const G=R(58159);const ie=R(68038);const ae=R(9786);class SystemLibraryPlugin extends ae{constructor(E){super({pluginName:"SystemLibraryPlugin",type:E.type})}parseOptions(E){const{name:N}=E;if(N&&typeof N!=="string"){throw new Error(`System.js library name must be a simple string or unset. ${ae.COMMON_LIBRARY_NAME_MESSAGE}`)}return{name:N}}render(E,{chunkGraph:N,moduleGraph:R,chunk:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ae).filter((E=>E instanceof q&&E.externalType==="system"));const Ee=_e;const Te=ce.name?`${JSON.stringify(le.getPath(ce.name,{chunk:ae}))}, `:"";const we=JSON.stringify(Ee.map((E=>typeof E.request==="object"&&!Array.isArray(E.request)?E.request.amd:E.request)));const Ie="__WEBPACK_DYNAMIC_EXPORT__";const Ne=Ee.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`));const Me=Ne.map((E=>`var ${E} = {};`)).join("\n");const Le=[];const Be=Ne.length===0?"":G.asString(["setters: [",G.indent(Ee.map(((E,N)=>{const j=Ne[N];const q=R.getExportsInfo(E);const ce=q.otherExportsInfo.getUsed(ae.runtime)===$.Unused;const le=[];const _e=[];for(const E of q.orderedExports){const N=E.getUsedName(undefined,ae.runtime);if(N){if(ce||N!==E.name){le.push(`${j}${ie([N])} = module${ie([E.name])};`);_e.push(E.name)}}else{_e.push(E.name)}}if(!ce){if(!Array.isArray(E.request)||E.request.length===1){Le.push(`Object.defineProperty(${j}, "__esModule", { value: true });`)}if(_e.length>0){const E=`${j}handledNames`;Le.push(`var ${E} = ${JSON.stringify(_e)};`);le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`if(${E}.indexOf(key) >= 0)`,G.indent(`${j}[key] = module[key];`)]),"});"]))}else{le.push(G.asString(["Object.keys(module).forEach(function(key) {",G.indent([`${j}[key] = module[key];`]),"});"]))}}if(le.length===0)return"function() {}";return G.asString(["function(module) {",G.indent(le),"}"])})).join(",\n")),"],"]);return new j(G.asString([`System.register(${Te}${we}, function(${Ie}, __system_context__) {`,G.indent([Me,G.asString(Le),"return {",G.indent([Be,"execute: function() {",G.indent(`${Ie}(`)])]),""]),E,G.asString(["",G.indent([G.indent([G.indent([");"]),"}"]),"};"]),"})"]))}chunkHash(E,N,R,{options:j,compilation:$}){N.update("SystemLibraryPlugin");if(j.name){N.update($.getPath(j.name,{chunk:E}))}}}E.exports=SystemLibraryPlugin},76456:(E,N,R)=>{"use strict";const{ConcatSource:j,OriginalSource:$}=R(48135);const q=R(16734);const G=R(58159);const ie=R(9786);const accessorToObjectAccess=E=>E.map((E=>`[${JSON.stringify(E)}]`)).join("");const accessorAccess=(E,N,R=", ")=>{const j=Array.isArray(N)?N:[N];return j.map(((N,R)=>{const $=E?E+accessorToObjectAccess(j.slice(0,R+1)):j[0]+accessorToObjectAccess(j.slice(1,R+1));if(R===j.length-1)return $;if(R===0&&E===undefined)return`${$} = typeof ${$} === "object" ? ${$} : {}`;return`${$} = ${$} || {}`})).join(R)};class UmdLibraryPlugin extends ie{constructor(E){super({pluginName:"UmdLibraryPlugin",type:E.type});this.optionalAmdExternalAsGlobal=E.optionalAmdExternalAsGlobal}parseOptions(E){let N;let R;if(typeof E.name==="object"&&!Array.isArray(E.name)){N=E.name.root||E.name.amd||E.name.commonjs;R=E.name}else{N=E.name;const j=Array.isArray(N)?N[0]:N;R={commonjs:j,root:E.name,amd:j}}return{name:N,names:R,auxiliaryComment:E.auxiliaryComment,namedDefine:E.umdNamedDefine}}render(E,{chunkGraph:N,runtimeTemplate:R,chunk:ie,moduleGraph:ae},{options:ce,compilation:le}){const _e=N.getChunkModules(ie).filter((E=>E instanceof q&&(E.externalType==="umd"||E.externalType==="umd2")));let Ee=_e;const Te=[];let we=[];if(this.optionalAmdExternalAsGlobal){for(const E of Ee){if(E.isOptional(ae)){Te.push(E)}else{we.push(E)}}Ee=we.concat(Te)}else{we=Ee}const replaceKeys=E=>le.getPath(E,{chunk:ie});const externalsDepsArray=E=>`[${replaceKeys(E.map((E=>JSON.stringify(typeof E.request==="object"?E.request.amd:E.request))).join(", "))}]`;const externalsRootArray=E=>replaceKeys(E.map((E=>{let N=E.request;if(typeof N==="object")N=N.root;return`root${accessorToObjectAccess([].concat(N))}`})).join(", "));const externalsRequireArray=E=>replaceKeys(Ee.map((N=>{let R;let j=N.request;if(typeof j==="object"){j=j[E]}if(j===undefined){throw new Error("Missing external configuration for type:"+E)}if(Array.isArray(j)){R=`require(${JSON.stringify(j[0])})${accessorToObjectAccess(j.slice(1))}`}else{R=`require(${JSON.stringify(j)})`}if(N.isOptional(ae)){R=`(function webpackLoadOptionalExternalModule() { try { return ${R}; } catch(e) {} }())`}return R})).join(", "));const externalsArguments=E=>E.map((E=>`__WEBPACK_EXTERNAL_MODULE_${G.toIdentifier(`${N.getModuleId(E)}`)}__`)).join(", ");const libraryName=E=>JSON.stringify(replaceKeys([].concat(E).pop()));let Ie;if(Te.length>0){const E=externalsArguments(we);const N=we.length>0?externalsArguments(we)+", "+externalsRootArray(Te):externalsRootArray(Te);Ie=`function webpackLoadOptionalExternalModuleAmd(${E}) {\n`+`\t\t\treturn factory(${N});\n`+"\t\t}"}else{Ie="factory"}const{auxiliaryComment:Ne,namedDefine:Me,names:Le}=ce;const getAuxiliaryComment=E=>{if(Ne){if(typeof Ne==="string")return"\t//"+Ne+"\n";if(Ne[E])return"\t//"+Ne[E]+"\n"}return""};return new j(new $("(function webpackUniversalModuleDefinition(root, factory) {\n"+getAuxiliaryComment("commonjs2")+"\tif(typeof exports === 'object' && typeof module === 'object')\n"+"\t\tmodule.exports = factory("+externalsRequireArray("commonjs2")+");\n"+getAuxiliaryComment("amd")+"\telse if(typeof define === 'function' && define.amd)\n"+(we.length>0?Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", "+externalsDepsArray(we)+", "+Ie+");\n":"\t\tdefine("+externalsDepsArray(we)+", "+Ie+");\n":Le.amd&&Me===true?"\t\tdefine("+libraryName(Le.amd)+", [], "+Ie+");\n":"\t\tdefine([], "+Ie+");\n")+(Le.root||Le.commonjs?getAuxiliaryComment("commonjs")+"\telse if(typeof exports === 'object')\n"+"\t\texports["+libraryName(Le.commonjs||Le.root)+"] = factory("+externalsRequireArray("commonjs")+");\n"+getAuxiliaryComment("root")+"\telse\n"+"\t\t"+replaceKeys(accessorAccess("root",Le.root||Le.commonjs))+" = factory("+externalsRootArray(Ee)+");\n":"\telse {\n"+(Ee.length>0?"\t\tvar a = typeof exports === 'object' ? factory("+externalsRequireArray("commonjs")+") : factory("+externalsRootArray(Ee)+");\n":"\t\tvar a = factory();\n")+"\t\tfor(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];\n"+"\t}\n")+`})(${R.outputOptions.globalObject}, function(${externalsArguments(Ee)}) {\nreturn `,"webpack/universalModuleDefinition"),E,";\n})")}}E.exports=UmdLibraryPlugin},78539:(E,N)=>{"use strict";const R=Object.freeze({error:"error",warn:"warn",info:"info",log:"log",debug:"debug",trace:"trace",group:"group",groupCollapsed:"groupCollapsed",groupEnd:"groupEnd",profile:"profile",profileEnd:"profileEnd",time:"time",clear:"clear",status:"status"});N.LogType=R;const j=Symbol("webpack logger raw log method");const $=Symbol("webpack logger times");const q=Symbol("webpack logger aggregated times");class WebpackLogger{constructor(E,N){this[j]=E;this.getChildLogger=N}error(...E){this[j](R.error,E)}warn(...E){this[j](R.warn,E)}info(...E){this[j](R.info,E)}log(...E){this[j](R.log,E)}debug(...E){this[j](R.debug,E)}assert(E,...N){if(!E){this[j](R.error,N)}}trace(){this[j](R.trace,["Trace"])}clear(){this[j](R.clear)}status(...E){this[j](R.status,E)}group(...E){this[j](R.group,E)}groupCollapsed(...E){this[j](R.groupCollapsed,E)}groupEnd(...E){this[j](R.groupEnd,E)}profile(E){this[j](R.profile,[E])}profileEnd(E){this[j](R.profileEnd,[E])}time(E){this[$]=this[$]||new Map;this[$].set(E,process.hrtime())}timeLog(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeLog()`)}const q=process.hrtime(N);this[j](R.time,[E,...q])}timeEnd(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeEnd()`)}const q=process.hrtime(N);this[$].delete(E);this[j](R.time,[E,...q])}timeAggregate(E){const N=this[$]&&this[$].get(E);if(!N){throw new Error(`No such label '${E}' for WebpackLogger.timeAggregate()`)}const R=process.hrtime(N);this[$].delete(E);this[q]=this[q]||new Map;const j=this[q].get(E);if(j!==undefined){if(R[1]+j[1]>1e9){R[0]+=j[0]+1;R[1]=R[1]-1e9+j[1]}else{R[0]+=j[0];R[1]+=j[1]}}this[q].set(E,R)}timeAggregateEnd(E){if(this[q]===undefined)return;const N=this[q].get(E);if(N===undefined)return;this[q].delete(E);this[j](R.time,[E,...N])}}N.Logger=WebpackLogger},70108:(E,N,R)=>{"use strict";const{LogType:j}=R(78539);const filterToFunction=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const $={none:6,false:6,error:5,warn:4,info:3,log:2,true:2,verbose:1};E.exports=({level:E="info",debug:N=false,console:R})=>{const q=typeof N==="boolean"?[()=>N]:[].concat(N).map(filterToFunction);const G=$[`${E}`]||0;const logger=(E,N,ie)=>{const labeledArgs=()=>{if(Array.isArray(ie)){if(ie.length>0&&typeof ie[0]==="string"){return[`[${E}] ${ie[0]}`,...ie.slice(1)]}else{return[`[${E}]`,...ie]}}else{return[]}};const ae=q.some((N=>N(E)));switch(N){case j.debug:if(!ae)return;if(typeof R.debug==="function"){R.debug(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.log:if(!ae&&G>$.log)return;R.log(...labeledArgs());break;case j.info:if(!ae&&G>$.info)return;R.info(...labeledArgs());break;case j.warn:if(!ae&&G>$.warn)return;R.warn(...labeledArgs());break;case j.error:if(!ae&&G>$.error)return;R.error(...labeledArgs());break;case j.trace:if(!ae)return;R.trace();break;case j.groupCollapsed:if(!ae&&G>$.log)return;if(!ae&&G>$.verbose){if(typeof R.groupCollapsed==="function"){R.groupCollapsed(...labeledArgs())}else{R.log(...labeledArgs())}break}case j.group:if(!ae&&G>$.log)return;if(typeof R.group==="function"){R.group(...labeledArgs())}else{R.log(...labeledArgs())}break;case j.groupEnd:if(!ae&&G>$.log)return;if(typeof R.groupEnd==="function"){R.groupEnd()}break;case j.time:{if(!ae&&G>$.log)return;const N=ie[1]*1e3+ie[2]/1e6;const j=`[${E}] ${ie[0]}: ${N} ms`;if(typeof R.logTime==="function"){R.logTime(j)}else{R.log(j)}break}case j.profile:if(typeof R.profile==="function"){R.profile(...labeledArgs())}break;case j.profileEnd:if(typeof R.profileEnd==="function"){R.profileEnd(...labeledArgs())}break;case j.clear:if(!ae&&G>$.log)return;if(typeof R.clear==="function"){R.clear()}break;case j.status:if(!ae&&G>$.info)return;if(typeof R.status==="function"){if(ie.length===0){R.status()}else{R.status(...labeledArgs())}}else{if(ie.length!==0){R.info(...labeledArgs())}}break;default:throw new Error(`Unexpected LogType ${N}`)}};return logger}},50595:E=>{"use strict";const arraySum=E=>{let N=0;for(const R of E)N+=R;return N};const truncateArgs=(E,N)=>{const R=E.map((E=>`${E}`.length));const j=N-R.length+1;if(j>0&&E.length===1){if(j>=E[0].length){return E}else if(j>3){return["..."+E[0].slice(-j+3)]}else{return[E[0].slice(-j)]}}if(jMath.min(E,6))))){if(E.length>1)return truncateArgs(E.slice(0,E.length-1),N);return[]}let $=arraySum(R);if($<=j)return E;while($>j){const E=Math.max(...R);const N=R.filter((N=>N!==E));const q=N.length>0?Math.max(...N):0;const G=E-q;let ie=R.length-N.length;let ae=$-j;for(let N=0;N{const j=`${E}`;const $=R[N];if(j.length===$){return j}else if($>5){return"..."+j.slice(-$+3)}else if($>0){return j.slice(-$)}else{return""}}))};E.exports=truncateArgs},82827:(E,N,R)=>{"use strict";const j=R(76150);const $=R(64997);class CommonJsChunkLoadingPlugin{constructor(E){E=E||{};this._asyncChunkLoading=E.asyncChunkLoading}apply(E){const N=this._asyncChunkLoading?R(26020):R(75491);const q=this._asyncChunkLoading?"async-node":"require";new $({chunkLoading:q,asyncChunkLoading:this._asyncChunkLoading}).apply(E);E.hooks.thisCompilation.tap("CommonJsChunkLoadingPlugin",(E=>{const R=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const N=E.getEntryOptions();const j=N&&N.chunkLoading!==undefined?N.chunkLoading:R;return j===q};const $=new WeakSet;const handler=(R,q)=>{if($.has(R))return;$.add(R);if(!isEnabledForChunk(R))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(R,new N(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.externalInstallChunk).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("CommonJsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("CommonJsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.getUpdateManifestFilename)}))}))}}E.exports=CommonJsChunkLoadingPlugin},93632:(E,N,R)=>{"use strict";const j=R(67703);const $=R(15808);const q=R(70108);const G=R(2255);const ie=R(56642);class NodeEnvironmentPlugin{constructor(E){this.options=E}apply(E){const{infrastructureLogging:N}=this.options;E.infrastructureLogger=q({level:N.level||"info",debug:N.debug||false,console:N.console||ie({colors:N.colors,appendOnly:N.appendOnly,stream:N.stream})});E.inputFileSystem=new j($,6e4);const R=E.inputFileSystem;E.outputFileSystem=$;E.intermediateFileSystem=$;E.watchFileSystem=new G(E.inputFileSystem);E.hooks.beforeRun.tap("NodeEnvironmentPlugin",(E=>{if(E.inputFileSystem===R){E.fsStartTime=Date.now();R.purge()}}))}}E.exports=NodeEnvironmentPlugin},92662:E=>{"use strict";class NodeSourcePlugin{apply(E){}}E.exports=NodeSourcePlugin},84980:(E,N,R)=>{"use strict";const j=R(61050);const $=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","http2","https","inspector","module","net","os","path","path/posix","path/win32","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","stream/web","string_decoder","sys","timers","timers/promises","tls","trace_events","tty","url","util","v8","vm","wasi","worker_threads","zlib",/^node:/,"pnpapi"];class NodeTargetPlugin{apply(E){new j("node-commonjs",$).apply(E)}}E.exports=NodeTargetPlugin},91591:(E,N,R)=>{"use strict";const j=R(77314);const $=R(50369);class NodeTemplatePlugin{constructor(E){this._options=E||{}}apply(E){const N=this._options.asyncChunkLoading?"async-node":"require";E.options.output.chunkLoading=N;(new j).apply(E);new $(N).apply(E)}}E.exports=NodeTemplatePlugin},2255:(E,N,R)=>{"use strict";const j=R(92512);class NodeWatchFileSystem{constructor(E){this.inputFileSystem=E;this.watcherOptions={aggregateTimeout:0};this.watcher=new j(this.watcherOptions)}watch(E,N,R,$,q,G,ie){if(!E||typeof E[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'files'")}if(!N||typeof N[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'directories'")}if(!R||typeof R[Symbol.iterator]!=="function"){throw new Error("Invalid arguments: 'missing'")}if(typeof G!=="function"){throw new Error("Invalid arguments: 'callback'")}if(typeof $!=="number"&&$){throw new Error("Invalid arguments: 'startTime'")}if(typeof q!=="object"){throw new Error("Invalid arguments: 'options'")}if(typeof ie!=="function"&&ie){throw new Error("Invalid arguments: 'callbackUndelayed'")}const ae=this.watcher;this.watcher=new j(q);if(ie){this.watcher.once("change",ie)}this.watcher.once("aggregated",((E,N)=>{if(this.inputFileSystem&&this.inputFileSystem.purge){const R=this.inputFileSystem;for(const N of E){R.purge(N)}for(const E of N){R.purge(E)}}const R=this.watcher.getTimeInfoEntries();G(null,R,R,E,N)}));this.watcher.watch({files:E,directories:N,missing:R,startTime:$});if(ae){ae.close()}return{close:()=>{if(this.watcher){this.watcher.close();this.watcher=null}},pause:()=>{if(this.watcher){this.watcher.pause()}},getAggregatedRemovals:()=>{const E=this.watcher&&this.watcher.aggregatedRemovals;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getAggregatedChanges:()=>{const E=this.watcher&&this.watcher.aggregatedChanges;if(E&&this.inputFileSystem&&this.inputFileSystem.purge){const N=this.inputFileSystem;for(const R of E){N.purge(R)}}return E},getFileTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}},getContextTimeInfoEntries:()=>{if(this.watcher){return this.watcher.getTimeInfoEntries()}else{return new Map}}}}}E.exports=NodeWatchFileSystem},26020:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ReadFileChunkLoadingRuntimeModule extends ${constructor(E){super("readFile chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,false);const We=Ne?`${j.hmrRuntimeStatePrefix}_readFileVm`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "0" means "already loaded", Promise means loading',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.readFileVm = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++) {",q.indent(["if(installedChunks[chunkIds[i]]) {",q.indent(["installedChunks[chunkIds[i]][0]();"]),"}","installedChunks[chunkIds[i]] = 0;"]),"}",we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// ReadFile + VM.run chunk loading for javascript",`${_e}.readFileVm = function(chunkId, promises) {`,Be!==false?q.indent(["","var installedChunkData = installedChunks[chunkId];",'if(installedChunkData !== 0) { // 0 means "already installed".',q.indent(['// array of [resolve, reject, promise] means "currently loading"',"if(installedChunkData) {",q.indent(["promises.push(installedChunkData[2]);"]),"} else {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent(["// load the chunk and return promise to it","var promise = new Promise(function(resolve, reject) {",q.indent(["installedChunkData = installedChunks[chunkId] = [resolve, reject];",`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var chunk = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(chunk, require, require('path').dirname(filename), filename);","installChunk(chunk);"]),"});"]),"});","promises.push(installedChunkData[2] = promise);"]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):q.indent(["installedChunks[chunkId] = 0;"]),"};"]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) return reject(err);","var update = {};","require('vm').runInThisContext('(function(exports, require, __dirname, __filename) {' + content + '\\n})', filename)"+"(update, require, require('path').dirname(filename), filename);","var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","resolve();"]),"});"]),"});"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"readFileVm").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return new Promise(function(resolve, reject) {",q.indent([`var filename = require('path').join(__dirname, ${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`,"require('fs').readFile(filename, 'utf-8', function(err, content) {",q.indent(["if(err) {",q.indent(['if(err.code === "ENOENT") return resolve();',"return reject(err);"]),"}","try { resolve(JSON.parse(content)); }","catch(e) { reject(e); }"]),"});"]),"});"]),"}"]):"// no HMR manifest"])}}E.exports=ReadFileChunkLoadingRuntimeModule},21273:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(34943);class ReadFileCompileAsyncWasmPlugin{constructor({type:E="async-node",import:N=false}={}){this._type=E;this._import=N}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j===this._type};const R=this._import?E=>$.asString(["Promise.all([import('fs'), import('url')]).then(([{ readFile }, { URL }]) => new Promise((resolve, reject) => {",$.indent([`readFile(new URL(${E}, import.meta.url), (err, buffer) => {`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"}))"]):E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["try {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","",`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("ReadFileCompileAsyncWasmPlugin",((N,$)=>{if(!isEnabledForChunk(N))return;const G=E.chunkGraph;if(!G.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}$.add(j.publicPath);E.addRuntimeModule(N,new q({generateLoadBinaryCode:R,supportsStreaming:false}))}))}))}}E.exports=ReadFileCompileAsyncWasmPlugin},71049:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(61006);class ReadFileCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("ReadFileCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="async-node"};const generateLoadBinaryCode=E=>$.asString(["new Promise(function (resolve, reject) {",$.indent(["var { readFile } = require('fs');","var { join } = require('path');","","try {",$.indent([`readFile(join(__dirname, ${E}), function(err, buffer){`,$.indent(["if (err) return reject(err);","","// Fake fetch response","resolve({",$.indent(["arrayBuffer() { return buffer; }"]),"});"]),"});"]),"} catch (err) { reject(err); }"]),"})"]);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ReadFileCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const $=E.chunkGraph;if(!$.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);E.addRuntimeModule(N,new q({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:false,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=ReadFileCompileWasmPlugin},75491:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{chunkHasJs:G,getChunkFilenameTemplate:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class RequireChunkLoadingRuntimeModule extends ${constructor(E){super("require chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E}generate(){const{chunkGraph:E,chunk:N}=this;const{runtimeTemplate:$}=this.compilation;const _e=j.ensureChunkHandlers;const Ee=this.runtimeRequirements.has(j.baseURI);const Te=this.runtimeRequirements.has(j.externalInstallChunk);const we=this.runtimeRequirements.has(j.onChunksLoaded);const Ie=this.runtimeRequirements.has(j.ensureChunkHandlers);const Ne=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Me=this.runtimeRequirements.has(j.hmrDownloadManifest);const Le=E.getChunkConditionMap(N,G);const Be=ce(Le);const je=ae(N,E);const Ue=this.compilation.getPath(ie(N,this.compilation.outputOptions),{chunk:N,contentHashType:"javascript"});const ze=le(Ue,this.compilation.outputOptions.path,true);const We=Ne?`${j.hmrRuntimeStatePrefix}_require`:undefined;return q.asString([Ee?q.asString([`${j.baseURI} = require("url").pathToFileURL(${ze!=="./"?`__dirname + ${JSON.stringify("/"+ze)}`:"__filename"});`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "loaded", otherwise not loaded yet',`var installedChunks = ${We?`${We} = ${We} || `:""}{`,q.indent(Array.from(je,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",we?`${j.onChunksLoaded}.require = ${$.returningFunction("installedChunks[chunkId]","chunkId")};`:"// no on chunks loaded","",Ie||Te?`var installChunk = ${$.basicFunction("chunk",["var moreModules = chunk.modules, chunkIds = chunk.ids, runtime = chunk.runtime;","for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent([`${j.moduleFactories}[moduleId] = moreModules[moduleId];`]),"}"]),"}",`if(runtime) runtime(__webpack_require__);`,"for(var i = 0; i < chunkIds.length; i++)",q.indent("installedChunks[chunkIds[i]] = 1;"),we?`${j.onChunksLoaded}();`:""])};`:"// no chunk install function needed","",Ie?q.asString(["// require() chunk loading for javascript",`${_e}.require = ${$.basicFunction("chunkId, promises",Be!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Be===true?"if(true) { // all chunks have JS":`if(${Be("chunkId")}) {`,q.indent([`installChunk(require(${JSON.stringify(ze)} + ${j.getChunkScriptFilename}(chunkId)));`]),"} else installedChunks[chunkId] = 1;",""]),"}"]:"installedChunks[chunkId] = 1;")};`]):"// no chunk loading","",Te?q.asString(["module.exports = __webpack_require__;",`${j.externalInstallChunk} = installChunk;`]):"// no external install chunk","",Ne?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent([`var update = require(${JSON.stringify(ze)} + ${j.getChunkUpdateScriptFilename}(chunkId));`,"var updatedModules = update.modules;","var runtime = update.runtime;","for(var moduleId in updatedModules) {",q.indent([`if(${j.hasOwnProperty}(updatedModules, moduleId)) {`,q.indent([`currentUpdate[moduleId] = updatedModules[moduleId];`,"if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);"]),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"require").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Me?q.asString([`${j.hmrDownloadManifest} = function() {`,q.indent(["return Promise.resolve().then(function() {",q.indent([`return require(${JSON.stringify(ze)} + ${j.getUpdateManifestFilename}());`]),"})['catch'](function(err) { if(err.code !== 'MODULE_NOT_FOUND') throw err; });"]),"}"]):"// no HMR manifest"])}}E.exports=RequireChunkLoadingRuntimeModule},56642:(E,N,R)=>{"use strict";const j=R(73837);const $=R(50595);E.exports=({colors:E,appendOnly:N,stream:R})=>{let q=undefined;let G=false;let ie="";let ae=0;const indent=(N,R,j,$)=>{if(N==="")return N;R=ie+R;if(E){return R+j+N.replace(/\n/g,$+"\n"+R+j)+$}else{return R+N.replace(/\n/g,"\n"+R)}};const clearStatusMessage=()=>{if(G){R.write("\r");G=false}};const writeStatusMessage=()=>{if(!q)return;const E=R.columns;const N=E?$(q,E-1):q;const j=N.join(" ");const ie=`${j}`;R.write(`\r${ie}`);G=true};const writeColored=(E,N,$)=>(...q)=>{if(ae>0)return;clearStatusMessage();const G=indent(j.format(...q),E,N,$);R.write(G+"\n");writeStatusMessage()};const ce=writeColored("<-> ","","");const le=writeColored("<+> ","","");return{log:writeColored(" ","",""),debug:writeColored(" ","",""),trace:writeColored(" ","",""),info:writeColored(" ","",""),warn:writeColored(" ","",""),error:writeColored(" ","",""),logTime:writeColored(" ","",""),group:(...E)=>{ce(...E);if(ae>0){ae++}else{ie+=" "}},groupCollapsed:(...E)=>{le(...E);ae++},groupEnd:()=>{if(ae>0)ae--;else if(ie.length>=2)ie=ie.slice(0,ie.length-2)},profile:console.profile&&(E=>console.profile(E)),profileEnd:console.profileEnd&&(E=>console.profileEnd(E)),clear:!N&&console.clear&&(()=>{clearStatusMessage();console.clear();writeStatusMessage()}),status:N?writeColored(" ","",""):(E,...N)=>{N=N.filter(Boolean);if(E===undefined&&N.length===0){clearStatusMessage();q=undefined}else if(typeof E==="string"&&E.startsWith("[webpack.Progress] ")){q=[E.slice(19),...N];writeStatusMessage()}else if(E==="[webpack.Progress]"){q=[...N];writeStatusMessage()}else{q=[E,...N];writeStatusMessage()}}}}},61332:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);class AggressiveMergingPlugin{constructor(E){if(E!==undefined&&typeof E!=="object"||Array.isArray(E)){throw new Error("Argument should be an options object. To use defaults, pass in nothing.\nFor more info on options, see https://webpack.js.org/plugins/")}this.options=E||{}}apply(E){const N=this.options;const R=N.minSizeReduce||1.5;E.hooks.thisCompilation.tap("AggressiveMergingPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"AggressiveMergingPlugin",stage:j},(N=>{const j=E.chunkGraph;let $=[];for(const E of N){if(E.canBeInitial())continue;for(const R of N){if(R.canBeInitial())continue;if(R===E)break;if(!j.canChunksBeIntegrated(E,R)){continue}const N=j.getChunkSize(R,{chunkOverhead:0});const q=j.getChunkSize(E,{chunkOverhead:0});const G=j.getIntegratedChunksSize(R,E,{chunkOverhead:0});const ie=(N+q)/G;$.push({a:E,b:R,improvement:ie})}}$.sort(((E,N)=>N.improvement-E.improvement));const q=$[0];if(!q)return;if(q.improvement{"use strict";const{STAGE_ADVANCED:j}=R(82414);const{intersect:$}=R(26221);const{compareModulesByIdentifier:q,compareChunks:G}=R(68673);const ie=R(35817);const ae=R(49197);const ce=ie(R(77593),(()=>R(3484)),{name:"Aggressive Splitting Plugin",baseDataPath:"options"});const moveModuleBetween=(E,N,R)=>j=>{E.disconnectChunkAndModule(N,j);E.connectChunkAndModule(R,j)};const isNotAEntryModule=(E,N)=>R=>!E.isEntryModuleInChunk(R,N);const le=new WeakSet;class AggressiveSplittingPlugin{constructor(E={}){ce(E);this.options=E;if(typeof this.options.minSize!=="number"){this.options.minSize=30*1024}if(typeof this.options.maxSize!=="number"){this.options.maxSize=50*1024}if(typeof this.options.chunkOverhead!=="number"){this.options.chunkOverhead=0}if(typeof this.options.entryChunkMultiplicator!=="number"){this.options.entryChunkMultiplicator=1}}static wasChunkRecorded(E){return le.has(E)}apply(E){E.hooks.thisCompilation.tap("AggressiveSplittingPlugin",(N=>{let R=false;let ie;let ce;let _e;N.hooks.optimize.tap("AggressiveSplittingPlugin",(()=>{ie=[];ce=new Set;_e=new Map}));N.hooks.optimizeChunks.tap({name:"AggressiveSplittingPlugin",stage:j},(R=>{const j=N.chunkGraph;const le=new Map;const Ee=new Map;const Te=ae.makePathsRelative.bindContextCache(E.context,E.root);for(const E of N.modules){const N=Te(E.identifier());le.set(N,E);Ee.set(E,N)}const we=new Set;for(const E of R){we.add(E.id)}const Ie=N.records&&N.records.aggressiveSplits||[];const Ne=ie?Ie.concat(ie):Ie;const Me=this.options.minSize;const Le=this.options.maxSize;const applySplit=E=>{if(E.id!==undefined&&we.has(E.id)){return false}const R=E.modules.map((E=>le.get(E)));if(!R.every(Boolean))return false;let q=0;for(const E of R)q+=E.size();if(q!==E.size)return false;const G=$(R.map((E=>new Set(j.getModuleChunksIterable(E)))));if(G.size===0)return false;if(G.size===1&&j.getNumberOfChunkModules(Array.from(G)[0])===R.length){const N=Array.from(G)[0];if(ce.has(N))return false;ce.add(N);_e.set(N,E);return true}const ie=N.addChunk();ie.chunkReason="aggressive splitted";for(const E of G){R.forEach(moveModuleBetween(j,E,ie));E.split(ie);E.name=null}ce.add(ie);_e.set(ie,E);if(E.id!==null&&E.id!==undefined){ie.id=E.id;ie.ids=[E.id]}return true};let Be=false;for(let E=0;E{const R=j.getChunkModulesSize(N)-j.getChunkModulesSize(E);if(R)return R;const $=j.getNumberOfChunkModules(E)-j.getNumberOfChunkModules(N);if($)return $;return je(E,N)}));for(const E of Ue){if(ce.has(E))continue;const N=j.getChunkModulesSize(E);if(N>Le&&j.getNumberOfChunkModules(E)>1){const N=j.getOrderedChunkModules(E,q).filter(isNotAEntryModule(j,E));const R=[];let $=0;for(let E=0;ELe&&$>=Me){break}$=q;R.push(j)}if(R.length===0)continue;const G={modules:R.map((E=>Ee.get(E))).sort(),size:$};if(applySplit(G)){ie=(ie||[]).concat(G);Be=true}}}if(Be)return true}));N.hooks.recordHash.tap("AggressiveSplittingPlugin",(E=>{const j=new Set;const $=new Set;for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){if(N.hash&&E.hash!==N.hash){$.add(N)}}}if($.size>0){E.aggressiveSplits=E.aggressiveSplits.filter((E=>!$.has(E)));R=true}else{for(const E of N.chunks){const N=_e.get(E);if(N!==undefined){N.hash=E.hash;N.id=E.id;j.add(N);le.add(E)}}const q=N.records&&N.records.aggressiveSplits;if(q){for(const E of q){if(!$.has(E))j.add(E)}}E.aggressiveSplits=Array.from(j);R=false}}));N.hooks.needAdditionalSeal.tap("AggressiveSplittingPlugin",(()=>{if(R){R=false;return true}}))}))}}E.exports=AggressiveSplittingPlugin},95734:(E,N,R)=>{"use strict";const j=R(19579);const $=R(36337);const{CachedSource:q,ConcatSource:G,ReplaceSource:ie}=R(48135);const ae=R(77294);const{UsageState:ce}=R(76632);const le=R(53453);const _e=R(76150);const Ee=R(58159);const Te=R(37359);const we=R(3711);const{equals:Ie}=R(73910);const Ne=R(83379);const{concatComparators:Me,keepOriginalOrder:Le}=R(68673);const Be=R(35891);const{makePathsRelative:je}=R(49197);const Ue=R(56202);const ze=R(68038);const{filterRuntime:We,intersectRuntime:Je,mergeRuntimeCondition:Ve,mergeRuntimeConditionNonFalse:qe,runtimeConditionToString:He,subtractRuntimeCondition:Ge}=R(37416);const Ke=$;if(!Ke.prototype.PropertyDefinition){Ke.prototype.PropertyDefinition=Ke.prototype.Property}const Qe=new Set([ae.DEFAULT_EXPORT,ae.NAMESPACE_OBJECT_EXPORT,"abstract,arguments,async,await,boolean,break,byte,case,catch,char,class,const,continue","debugger,default,delete,do,double,else,enum,eval,export,extends,false,final,finally,float","for,function,goto,if,implements,import,in,instanceof,int,interface,let,long,native,new,null","package,private,protected,public,return,short,static,super,switch,synchronized,this,throw","throws,transient,true,try,typeof,var,void,volatile,while,with,yield","module,__dirname,__filename,exports,require,define","Array,Date,eval,function,hasOwnProperty,Infinity,isFinite,isNaN,isPrototypeOf,length,Math","NaN,name,Number,Object,prototype,String,toString,undefined,valueOf","alert,all,anchor,anchors,area,assign,blur,button,checkbox,clearInterval,clearTimeout","clientInformation,close,closed,confirm,constructor,crypto,decodeURI,decodeURIComponent","defaultStatus,document,element,elements,embed,embeds,encodeURI,encodeURIComponent,escape","event,fileUpload,focus,form,forms,frame,innerHeight,innerWidth,layer,layers,link,location","mimeTypes,navigate,navigator,frames,frameRate,hidden,history,image,images,offscreenBuffering","open,opener,option,outerHeight,outerWidth,packages,pageXOffset,pageYOffset,parent,parseFloat","parseInt,password,pkcs11,plugin,prompt,propertyIsEnum,radio,reset,screenX,screenY,scroll","secure,select,self,setInterval,setTimeout,status,submit,taint,text,textarea,top,unescape","untaint,window","onblur,onclick,onerror,onfocus,onkeydown,onkeypress,onkeyup,onmouseover,onload,onmouseup,onmousedown,onsubmit"].join(",").split(","));const bySourceOrder=(E,N)=>{const R=E.sourceOrder;const j=N.sourceOrder;if(isNaN(R)){if(!isNaN(j)){return 1}}else{if(isNaN(j)){return-1}if(R!==j){return R{let N="";let R=true;for(const j of E){if(R){R=false}else{N+=", "}N+=j}return N};const getFinalBinding=(E,N,R,j,$,q,G,ie,ae,ce,le,_e=new Set)=>{const Te=N.module.getExportsType(E,ce);if(R.length===0){switch(Te){case"default-only":N.interopNamespaceObject2Used=true;return{info:N,rawName:N.interopNamespaceObject2Name,ids:R,exportName:R};case"default-with-named":N.interopNamespaceObjectUsed=true;return{info:N,rawName:N.interopNamespaceObjectName,ids:R,exportName:R};case"namespace":case"dynamic":break;default:throw new Error(`Unexpected exportsType ${Te}`)}}else{switch(Te){case"namespace":break;case"default-with-named":switch(R[0]){case"default":R=R.slice(1);break;case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;case"default-only":{const E=R[0];if(E==="__esModule"){return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}R=R.slice(1);if(E!=="default"){return{info:N,rawName:"/* non-default import from default-exporting module */undefined",ids:R,exportName:R}}break}case"dynamic":switch(R[0]){case"default":{R=R.slice(1);N.interopDefaultAccessUsed=true;const E=ae?`${N.interopDefaultAccessName}()`:le?`(${N.interopDefaultAccessName}())`:le===false?`;(${N.interopDefaultAccessName}())`:`${N.interopDefaultAccessName}.a`;return{info:N,rawName:E,ids:R,exportName:R}}case"__esModule":return{info:N,rawName:"/* __esModule */true",ids:R.slice(1),exportName:R}}break;default:throw new Error(`Unexpected exportsType ${Te}`)}}if(R.length===0){switch(N.type){case"concatenated":ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R};case"external":return{info:N,rawName:N.name,ids:R,exportName:R}}}const we=E.getExportsInfo(N.module);const Ne=we.getExportInfo(R[0]);if(_e.has(Ne)){return{info:N,rawName:"/* circular reexport */ Object(function x() { x() }())",ids:[],exportName:R}}_e.add(Ne);switch(N.type){case"concatenated":{const ce=R[0];if(Ne.provided===false){ie.add(N);return{info:N,rawName:N.namespaceObjectName,ids:R,exportName:R}}const Ee=N.exportMap&&N.exportMap.get(ce);if(Ee){const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}return{info:N,name:Ee,ids:E.slice(1),exportName:R}}const Te=N.rawExportMap&&N.rawExportMap.get(ce);if(Te){return{info:N,rawName:Te,ids:R.slice(1),exportName:R}}const Ie=Ne.findTarget(E,(E=>j.has(E)));if(Ie===false){throw new Error(`Target module of reexport from '${N.module.readableIdentifier(q)}' is not part of the concatenation (export '${ce}')\nModules in the concatenation:\n${Array.from(j,(([E,N])=>` * ${N.type} ${E.readableIdentifier(q)}`)).join("\n")}`)}if(Ie){const ce=j.get(Ie.module);return getFinalBinding(E,ce,Ie.export?[...Ie.export,...R.slice(1)]:R.slice(1),j,$,q,G,ie,ae,N.module.buildMeta.strictHarmonyModule,le,_e)}if(N.namespaceExportSymbol){const E=we.getUsedName(R,$);return{info:N,rawName:N.namespaceObjectName,ids:E,exportName:R}}throw new Error(`Cannot get final name for export '${R.join(".")}' of ${N.module.readableIdentifier(q)}`)}case"external":{const E=we.getUsedName(R,$);if(!E){return{info:N,rawName:"/* unused export */ undefined",ids:R.slice(1),exportName:R}}const j=Ie(E,R)?"":Ee.toNormalComment(`${R.join(".")}`);return{info:N,rawName:N.name+j,ids:E,exportName:R}}}};const getFinalName=(E,N,R,j,$,q,G,ie,ae,ce,le,_e)=>{const Ee=getFinalBinding(E,N,R,j,$,q,G,ie,ae,le,_e);{const{ids:E,comment:N}=Ee;let R;let j;if("rawName"in Ee){R=`${Ee.rawName}${N||""}${ze(E)}`;j=E.length>0}else{const{info:$,name:G}=Ee;const ie=$.internalNames.get(G);if(!ie){throw new Error(`The export "${G}" in "${$.module.readableIdentifier(q)}" has no internal name (existing names: ${Array.from($.internalNames,(([E,N])=>`${E}: ${N}`)).join(", ")||"none"})`)}R=`${ie}${N||""}${ze(E)}`;j=E.length>1}if(j&&ae&&ce===false){return _e?`(0,${R})`:_e===false?`;(0,${R})`:`/*#__PURE__*/Object(${R})`}return R}};const addScopeSymbols=(E,N,R,j)=>{let $=E;while($){if(R.has($))break;if(j.has($))break;R.add($);for(const E of $.variables){N.add(E.name)}$=$.upper}};const getAllReferences=E=>{let N=E.references;const R=new Set(E.identifiers);for(const j of E.scope.childScopes){for(const E of j.variables){if(E.identifiers.some((E=>R.has(E)))){N=N.concat(E.references);break}}}return N};const getPathInAst=(E,N)=>{if(E===N){return[]}const R=N.range;const enterNode=E=>{if(!E)return undefined;const j=E.range;if(j){if(j[0]<=R[0]&&j[1]>=R[1]){const R=getPathInAst(E,N);if(R){R.push(E);return R}}}return undefined};if(Array.isArray(E)){for(let N=0;N!(E instanceof Te)||!this._modules.has(N.moduleGraph.getModule(E))))){this.dependencies.push(R)}for(const N of E.blocks){this.blocks.push(N)}const R=E.getWarnings();if(R!==undefined){for(const E of R){this.addWarning(E)}}const j=E.getErrors();if(j!==undefined){for(const E of j){this.addError(E)}}if(E.buildInfo.topLevelDeclarations){const N=this.buildInfo.topLevelDeclarations;if(N!==undefined){for(const R of E.buildInfo.topLevelDeclarations){if(Qe.has(R))continue;N.add(R)}}}else{this.buildInfo.topLevelDeclarations=undefined}if(E.buildInfo.assets){if(this.buildInfo.assets===undefined){this.buildInfo.assets=Object.create(null)}Object.assign(this.buildInfo.assets,E.buildInfo.assets)}if(E.buildInfo.assetsInfo){if(this.buildInfo.assetsInfo===undefined){this.buildInfo.assetsInfo=new Map}for(const[N,R]of E.buildInfo.assetsInfo){this.buildInfo.assetsInfo.set(N,R)}}}$()}size(E){let N=0;for(const R of this._modules){N+=R.size(E)}return N}_createConcatenationList(E,N,R,j){const $=[];const q=new Map;const getConcatenatedImports=N=>{let $=Array.from(j.getOutgoingConnections(N));if(N===E){for(const E of j.getOutgoingConnections(this))$.push(E)}const q=$.filter((E=>{if(!(E.dependency instanceof Te))return false;return E&&E.resolvedOriginModule===N&&E.module&&E.isTargetActive(R)})).map((E=>({connection:E,sourceOrder:E.dependency.sourceOrder})));q.sort(Me(bySourceOrder,Le(q)));const G=new Map;for(const{connection:E}of q){const N=We(R,(N=>E.isTargetActive(N)));if(N===false)continue;const j=E.module;const $=G.get(j);if($===undefined){G.set(j,{connection:E,runtimeCondition:N});continue}$.runtimeCondition=qe($.runtimeCondition,N,R)}return G.values()};const enterModule=(E,j)=>{const G=E.module;if(!G)return;const ie=q.get(G);if(ie===true){return}if(N.has(G)){q.set(G,true);if(j!==true){throw new Error(`Cannot runtime-conditional concatenate a module (${G.identifier()} in ${this.rootModule.identifier()}, ${He(j)}). This should not happen.`)}const N=getConcatenatedImports(G);for(const{connection:E,runtimeCondition:R}of N)enterModule(E,R);$.push({type:"concatenated",module:E.module,runtimeCondition:j})}else{if(ie!==undefined){const N=Ge(j,ie,R);if(N===false)return;j=N;q.set(E.module,qe(ie,j,R))}else{q.set(E.module,j)}if($.length>0){const N=$[$.length-1];if(N.type==="external"&&N.module===E.module){N.runtimeCondition=Ve(N.runtimeCondition,j,R);return}}$.push({type:"external",get module(){return E.module},runtimeCondition:j})}};q.set(E,true);const G=getConcatenatedImports(E);for(const{connection:E,runtimeCondition:N}of G)enterModule(E,N);$.push({type:"concatenated",module:E,runtimeCondition:true});return $}static _createIdentifier(E,N,R,j="md4"){const $=je.bindContextCache(E.context,R);let q=[];for(const E of N){q.push($(E.identifier()))}q.sort();const G=Be(j);G.update(q.join(" "));return E.identifier()+"|"+G.digest("hex")}addCacheDependencies(E,N,R,j){for(const $ of this._modules){$.addCacheDependencies(E,N,R,j)}}codeGeneration({dependencyTemplates:E,runtimeTemplate:N,moduleGraph:R,chunkGraph:j,runtime:$}){const ie=new Set;const le=Je($,this._runtime);const Ee=N.requestShortener;const[Te,we]=this._getModulesWithInfo(R,le);const Ie=new Set;for(const $ of we.values()){this._analyseModule(we,$,E,N,R,j,le)}const Ne=new Set(Qe);const Me=new Map;const getUsedNamesInScopeInfo=(E,N)=>{const R=`${E}-${N}`;let j=Me.get(R);if(j===undefined){j={usedNames:new Set,alreadyCheckedScopes:new Set};Me.set(R,j)}return j};const Le=new Set;for(const E of Te){if(E.type==="concatenated"){if(E.moduleScope){Le.add(E.moduleScope)}const j=new WeakMap;const getSuperClassExpressions=E=>{const N=j.get(E);if(N!==undefined)return N;const R=[];for(const N of E.childScopes){if(N.type!=="class")continue;const E=N.block;if((E.type==="ClassDeclaration"||E.type==="ClassExpression")&&E.superClass){R.push({range:E.superClass.range,variables:N.variables})}}j.set(E,R);return R};if(E.globalScope){for(const j of E.globalScope.through){const $=j.identifier.name;if(ae.isModuleReference($)){const q=ae.matchModuleReference($);if(!q)continue;const G=Te[q.index];if(G.type==="reference")throw new Error("Module reference can't point to a reference");const ie=getFinalBinding(R,G,q.ids,we,le,Ee,N,Ie,false,E.module.buildMeta.strictHarmonyModule,true);if(!ie.ids)continue;const{usedNames:ce,alreadyCheckedScopes:_e}=getUsedNamesInScopeInfo(ie.info.module.identifier(),"name"in ie?ie.name:"");for(const E of getSuperClassExpressions(j.from)){if(E.range[0]<=j.identifier.range[0]&&E.range[1]>=j.identifier.range[1]){for(const N of E.variables){ce.add(N.name)}}}addScopeSymbols(j.from,ce,_e,Le)}else{Ne.add($)}}}}}for(const E of we.values()){const{usedNames:N}=getUsedNamesInScopeInfo(E.module.identifier(),"");switch(E.type){case"concatenated":{for(const N of E.moduleScope.variables){const R=N.name;const{usedNames:j,alreadyCheckedScopes:$}=getUsedNamesInScopeInfo(E.module.identifier(),R);if(Ne.has(R)||j.has(R)){const q=getAllReferences(N);for(const E of q){addScopeSymbols(E.from,j,$,Le)}const G=this.findNewName(R,Ne,j,E.module.readableIdentifier(Ee));Ne.add(G);E.internalNames.set(R,G);const ie=E.source;const ae=new Set(q.map((E=>E.identifier)).concat(N.identifiers));for(const N of ae){const R=N.range;const j=getPathInAst(E.ast,N);if(j&&j.length>1){const E=j[1].type==="AssignmentPattern"&&j[1].left===j[0]?j[2]:j[1];if(E.type==="Property"&&E.shorthand){ie.insert(R[1],`: ${G}`);continue}}ie.replace(R[0],R[1]-1,G)}}else{Ne.add(R);E.internalNames.set(R,R)}}let R;if(E.namespaceExportSymbol){R=E.internalNames.get(E.namespaceExportSymbol)}else{R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R)}E.namespaceObjectName=R;break}case"external":{const R=this.findNewName("",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.name=R;break}}if(E.module.buildMeta.exportsType!=="namespace"){const R=this.findNewName("namespaceObject",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObjectName=R}if(E.module.buildMeta.exportsType==="default"&&E.module.buildMeta.defaultObject!=="redirect"){const R=this.findNewName("namespaceObject2",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopNamespaceObject2Name=R}if(E.module.buildMeta.exportsType==="dynamic"||!E.module.buildMeta.exportsType){const R=this.findNewName("default",Ne,N,E.module.readableIdentifier(Ee));Ne.add(R);E.interopDefaultAccessName=R}}for(const E of we.values()){if(E.type==="concatenated"){for(const j of E.globalScope.through){const $=j.identifier.name;const q=ae.matchModuleReference($);if(q){const $=Te[q.index];if($.type==="reference")throw new Error("Module reference can't point to a reference");const G=getFinalName(R,$,q.ids,we,le,Ee,N,Ie,q.call,!q.directImport,E.module.buildMeta.strictHarmonyModule,q.asiSafe);const ie=j.identifier.range;const ae=E.source;ae.replace(ie[0],ie[1]+1,G)}}}}const Be=new Map;const je=new Set;const Ue=we.get(this.rootModule);const ze=Ue.module.buildMeta.strictHarmonyModule;const We=R.getExportsInfo(Ue.module);for(const E of We.orderedExports){const j=E.name;if(E.provided===false)continue;const $=E.getUsedName(undefined,le);if(!$){je.add(j);continue}Be.set($,(q=>{try{const $=getFinalName(R,Ue,[j],we,le,q,N,Ie,false,false,ze,true);return`/* ${E.isReexport()?"reexport":"binding"} */ ${$}`}catch(E){E.message+=`\nwhile generating the root export '${j}' (used name: '${$}')`;throw E}}))}const Ve=new G;if(R.getExportsInfo(this).otherExportsInfo.getUsed(le)!==ce.Unused){Ve.add(`// ESM COMPAT FLAG\n`);Ve.add(N.defineEsModuleFlagStatement({exportsArgument:this.exportsArgument,runtimeRequirements:ie}))}if(Be.size>0){ie.add(_e.exports);ie.add(_e.definePropertyGetters);const E=[];for(const[R,j]of Be){E.push(`\n ${JSON.stringify(R)}: ${N.returningFunction(j(Ee))}`)}Ve.add(`\n// EXPORTS\n`);Ve.add(`${_e.definePropertyGetters}(${this.exportsArgument}, {${E.join(",")}\n});\n`)}if(je.size>0){Ve.add(`\n// UNUSED EXPORTS: ${joinIterableWithComma(je)}\n`)}const qe=new Map;for(const E of Ie){if(E.namespaceExportSymbol)continue;const j=[];const $=R.getExportsInfo(E.module);for(const q of $.orderedExports){if(q.provided===false)continue;const $=q.getUsedName(undefined,le);if($){const G=getFinalName(R,E,[q.name],we,le,Ee,N,Ie,false,undefined,E.module.buildMeta.strictHarmonyModule,true);j.push(`\n ${JSON.stringify($)}: ${N.returningFunction(G)}`)}}const q=E.namespaceObjectName;const G=j.length>0?`${_e.definePropertyGetters}(${q}, {${j.join(",")}\n});\n`:"";if(j.length>0)ie.add(_e.definePropertyGetters);qe.set(E,`\n// NAMESPACE OBJECT: ${E.module.readableIdentifier(Ee)}\nvar ${q} = {};\n${_e.makeNamespaceObject}(${q});\n${G}`);ie.add(_e.makeNamespaceObject)}for(const E of Te){if(E.type==="concatenated"){const N=qe.get(E);if(!N)continue;Ve.add(N)}}const He=[];for(const E of Te){let R;let $=false;const q=E.type==="reference"?E.target:E;switch(q.type){case"concatenated":{Ve.add(`\n;// CONCATENATED MODULE: ${q.module.readableIdentifier(Ee)}\n`);Ve.add(q.source);if(q.chunkInitFragments){for(const E of q.chunkInitFragments)He.push(E)}if(q.runtimeRequirements){for(const E of q.runtimeRequirements){ie.add(E)}}R=q.namespaceObjectName;break}case"external":{Ve.add(`\n// EXTERNAL MODULE: ${q.module.readableIdentifier(Ee)}\n`);ie.add(_e.require);const{runtimeCondition:G}=E;const ae=N.runtimeConditionExpression({chunkGraph:j,runtimeCondition:G,runtime:le,runtimeRequirements:ie});if(ae!=="true"){$=true;Ve.add(`if (${ae}) {\n`)}Ve.add(`var ${q.name} = __webpack_require__(${JSON.stringify(j.getModuleId(q.module))});`);R=q.name;break}default:throw new Error(`Unsupported concatenation entry type ${q.type}`)}if(q.interopNamespaceObjectUsed){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObjectName} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R}, 2);`)}if(q.interopNamespaceObject2Used){ie.add(_e.createFakeNamespaceObject);Ve.add(`\nvar ${q.interopNamespaceObject2Name} = /*#__PURE__*/${_e.createFakeNamespaceObject}(${R});`)}if(q.interopDefaultAccessUsed){ie.add(_e.compatGetDefaultExport);Ve.add(`\nvar ${q.interopDefaultAccessName} = /*#__PURE__*/${_e.compatGetDefaultExport}(${R});`)}if($){Ve.add("\n}")}}const Ge=new Map;if(He.length>0)Ge.set("chunkInitFragments",He);const Ke={sources:new Map([["javascript",new q(Ve)]]),data:Ge,runtimeRequirements:ie};return Ke}_analyseModule(E,N,R,$,q,G,ce){if(N.type==="concatenated"){const le=N.module;try{const _e=new ae(E,N);const Ee=le.codeGeneration({dependencyTemplates:R,runtimeTemplate:$,moduleGraph:q,chunkGraph:G,runtime:ce,concatenationScope:_e});const Te=Ee.sources.get("javascript");const Ie=Ee.data;const Ne=Ie&&Ie.get("chunkInitFragments");const Me=Te.source().toString();let Le;try{Le=we._parse(Me,{sourceType:"module"})}catch(E){if(E.loc&&typeof E.loc==="object"&&typeof E.loc.line==="number"){const N=E.loc.line;const R=Me.split("\n");E.message+="\n| "+R.slice(Math.max(0,N-3),N+2).join("\n| ")}throw E}const Be=j.analyze(Le,{ecmaVersion:6,sourceType:"module",optimistic:true,ignoreEval:true,impliedStrict:true});const je=Be.acquire(Le);const Ue=je.childScopes[0];const ze=new ie(Te);N.runtimeRequirements=Ee.runtimeRequirements;N.ast=Le;N.internalSource=Te;N.source=ze;N.chunkInitFragments=Ne;N.globalScope=je;N.moduleScope=Ue}catch(E){E.message+=`\nwhile analysing module ${le.identifier()} for concatenation`;throw E}}}_getModulesWithInfo(E,N){const R=this._createConcatenationList(this.rootModule,this._modules,N,E);const j=new Map;const $=R.map(((E,N)=>{let R=j.get(E.module);if(R===undefined){switch(E.type){case"concatenated":R={type:"concatenated",module:E.module,index:N,ast:undefined,internalSource:undefined,runtimeRequirements:undefined,source:undefined,globalScope:undefined,moduleScope:undefined,internalNames:new Map,exportMap:undefined,rawExportMap:undefined,namespaceExportSymbol:undefined,namespaceObjectName:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;case"external":R={type:"external",module:E.module,runtimeCondition:E.runtimeCondition,index:N,name:undefined,interopNamespaceObjectUsed:false,interopNamespaceObjectName:undefined,interopNamespaceObject2Used:false,interopNamespaceObject2Name:undefined,interopDefaultAccessUsed:false,interopDefaultAccessName:undefined};break;default:throw new Error(`Unsupported concatenation entry type ${E.type}`)}j.set(R.module,R);return R}else{const N={type:"reference",runtimeCondition:E.runtimeCondition,target:R};return N}}));return[$,j]}findNewName(E,N,R,j){let $=E;if($===ae.DEFAULT_EXPORT){$=""}if($===ae.NAMESPACE_OBJECT_EXPORT){$="namespaceObject"}j=j.replace(/\.+\/|(\/index)?\.([a-zA-Z0-9]{1,4})($|\s|\?)|\s*\+\s*\d+\s*modules/g,"");const q=j.split("/");while(q.length){$=q.pop()+($?"_"+$:"");const E=Ee.toIdentifier($);if(!N.has(E)&&(!R||!R.has(E)))return E}let G=0;let ie=Ee.toIdentifier(`${$}_${G}`);while(N.has(ie)||R&&R.has(ie)){G++;ie=Ee.toIdentifier(`${$}_${G}`)}return ie}updateHash(E,N){const{chunkGraph:R,runtime:j}=N;for(const $ of this._createConcatenationList(this.rootModule,this._modules,Je(j,this._runtime),R.moduleGraph)){switch($.type){case"concatenated":$.module.updateHash(E,N);break;case"external":E.update(`${R.getModuleId($.module)}`);break}}super.updateHash(E,N)}static deserialize(E){const N=new ConcatenatedModule({identifier:undefined,rootModule:undefined,modules:undefined,runtime:undefined});N.deserialize(E);return N}}Ue(ConcatenatedModule,"webpack/lib/optimize/ConcatenatedModule");E.exports=ConcatenatedModule},38173:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);class EnsureChunkConditionsPlugin{apply(E){E.hooks.compilation.tap("EnsureChunkConditionsPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;const j=new Set;const $=new Set;for(const N of E.modules){if(!N.hasChunkCondition())continue;for(const q of R.getModuleChunksIterable(N)){if(!N.chunkCondition(q,E)){j.add(q);for(const E of q.groupsIterable){$.add(E)}}}if(j.size===0)continue;const q=new Set;e:for(const R of $){for(const j of R.chunks){if(N.chunkCondition(j,E)){q.add(j);continue e}}if(R.isInitial()){throw new Error("Cannot fullfil chunk condition of "+N.identifier())}for(const E of R.parentsIterable){$.add(E)}}for(const E of j){R.disconnectChunkAndModule(E,N)}for(const E of q){R.connectChunkAndModule(E,N)}j.clear();$.clear()}};E.hooks.optimizeChunks.tap({name:"EnsureChunkConditionsPlugin",stage:j},handler)}))}}E.exports=EnsureChunkConditionsPlugin},76627:E=>{"use strict";class FlagIncludedChunksPlugin{apply(E){E.hooks.compilation.tap("FlagIncludedChunksPlugin",(E=>{E.hooks.optimizeChunkIds.tap("FlagIncludedChunksPlugin",(N=>{const R=E.chunkGraph;const j=new WeakMap;const $=E.modules.size;const q=1/Math.pow(1/$,1/31);const G=Array.from({length:31},((E,N)=>Math.pow(q,N)|0));let ie=0;for(const N of E.modules){let E=30;while(ie%G[E]!==0){E--}j.set(N,1<R.getNumberOfModuleChunks(N))$=N}e:for(const q of R.getModuleChunksIterable($)){if(E===q)continue;const $=R.getNumberOfChunkModules(q);if($===0)continue;if(j>$)continue;const G=ae.get(q);if((G&N)!==N)continue;for(const N of R.getChunkModulesIterable(E)){if(!R.isModuleInChunk(N,q))continue e}q.ids.push(E.id)}}}))}))}}E.exports=FlagIncludedChunksPlugin},58018:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const $=new WeakMap;const q=Symbol("top level symbol");function getState(E){return $.get(E)}N.bailout=E=>{$.set(E,false)};N.enable=E=>{const N=$.get(E);if(N===false){return}$.set(E,{innerGraph:new Map,currentTopLevelSymbol:undefined,usageCallbackMap:new Map})};N.isEnabled=E=>{const N=$.get(E);return!!N};N.addUsage=(E,N,R)=>{const j=getState(E);if(j){const{innerGraph:E}=j;const $=E.get(N);if(R===true){E.set(N,true)}else if($===undefined){E.set(N,new Set([R]))}else if($!==true){$.add(R)}}};N.addVariableUsage=(E,R,j)=>{const $=E.getTagData(R,q)||N.tagTopLevelSymbol(E,R);if($){N.addUsage(E.state,$,j)}};N.inferDependencyUsage=E=>{const N=getState(E);if(!N){return}const{innerGraph:R,usageCallbackMap:j}=N;const $=new Map;const q=new Set(R.keys());while(q.size>0){for(const E of q){let N=new Set;let j=true;const G=R.get(E);let ie=$.get(E);if(ie===undefined){ie=new Set;$.set(E,ie)}if(G!==true&&G!==undefined){for(const E of G){ie.add(E)}for(const $ of G){if(typeof $==="string"){N.add($)}else{const q=R.get($);if(q===true){N=true;break}if(q!==undefined){for(const R of q){if(R===E)continue;if(ie.has(R))continue;N.add(R);if(typeof R!=="string"){j=false}}}}}if(N===true){R.set(E,true)}else if(N.size===0){R.set(E,undefined)}else{R.set(E,N)}}if(j){q.delete(E);if(E===null){const E=R.get(null);if(E){for(const[N,j]of R){if(N!==null&&j!==true){if(E===true){R.set(N,true)}else{const $=new Set(j);for(const N of E){$.add(N)}R.set(N,$)}}}}}}}}for(const[E,N]of j){const j=R.get(E);for(const E of N){E(j===undefined?false:j)}}};N.onUsage=(E,N)=>{const R=getState(E);if(R){const{usageCallbackMap:E,currentTopLevelSymbol:j}=R;if(j){let R=E.get(j);if(R===undefined){R=new Set;E.set(j,R)}R.add(N)}else{N(true)}}else{N(undefined)}};N.setTopLevelSymbol=(E,N)=>{const R=getState(E);if(R){R.currentTopLevelSymbol=N}};N.getTopLevelSymbol=E=>{const N=getState(E);if(N){return N.currentTopLevelSymbol}};N.tagTopLevelSymbol=(E,N)=>{const R=getState(E.state);if(!R)return;E.defineVariable(N);const j=E.getTagData(N,q);if(j){return j}const $=new TopLevelSymbol(N);E.tagVariable(N,q,$);return $};N.isDependencyUsedByExports=(E,N,R,$)=>{if(N===false)return false;if(N!==true&&N!==undefined){const q=R.getParentModule(E);const G=R.getExportsInfo(q);let ie=false;for(const E of N){if(G.getUsed(E,$)!==j.Unused)ie=true}if(!ie)return false}return true};N.getDependencyUsedByExportsCondition=(E,N,R)=>{if(N===false)return false;if(N!==true&&N!==undefined){const $=R.getParentModule(E);const q=R.getExportsInfo($);return(E,R)=>{for(const E of N){if(q.getUsed(E,R)!==j.Unused)return true}return false}}return null};class TopLevelSymbol{constructor(E){this.name=E}}N.TopLevelSymbol=TopLevelSymbol;N.topLevelSymbolTag=q},10032:(E,N,R)=>{"use strict";const j=R(53567);const $=R(58018);const{topLevelSymbolTag:q}=$;class InnerGraphPlugin{apply(E){E.hooks.compilation.tap("InnerGraphPlugin",((E,{normalModuleFactory:N})=>{const R=E.getLogger("webpack.InnerGraphPlugin");E.dependencyTemplates.set(j,new j.Template);const handler=(E,N)=>{const onUsageSuper=N=>{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))};E.hooks.program.tap("InnerGraphPlugin",(()=>{$.enable(E.state)}));E.hooks.finish.tap("InnerGraphPlugin",(()=>{if(!$.isEnabled(E.state))return;R.time("infer dependency usage");$.inferDependencyUsage(E.state);R.timeAggregate("infer dependency usage")}));const G=new WeakMap;const ie=new WeakMap;const ae=new WeakMap;const ce=new WeakMap;const le=new WeakSet;E.hooks.preStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="FunctionDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);G.set(N,j);return true}}}));E.hooks.blockPreStatement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){if(N.type==="ClassDeclaration"){const R=N.id?N.id.name:"*default*";const j=$.tagTopLevelSymbol(E,R);ae.set(N,j);return true}if(N.type==="ExportDefaultDeclaration"){const R="*default*";const j=$.tagTopLevelSymbol(E,R);const q=N.declaration;if(q.type==="ClassExpression"||q.type==="ClassDeclaration"){ae.set(q,j)}else if(E.isPure(q,N.range[0])){G.set(N,j);if(!q.type.endsWith("FunctionExpression")&&!q.type.endsWith("Declaration")&&q.type!=="Literal"){ie.set(N,q)}}}}}));E.hooks.preDeclarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true&&N.init&&N.id.type==="Identifier"){const R=N.id.name;if(N.init.type==="ClassExpression"){const j=$.tagTopLevelSymbol(E,R);ae.set(N.init,j)}else if(E.isPure(N.init,N.id.range[1])){const j=$.tagTopLevelSymbol(E,R);ce.set(N,j);if(!N.init.type.endsWith("FunctionExpression")&&N.init.type!=="Literal"){le.add(N)}return true}}}));E.hooks.statement.tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){$.setTopLevelSymbol(E.state,undefined);const R=G.get(N);if(R){$.setTopLevelSymbol(E.state,R);const q=ie.get(N);if(q){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(q.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}}}));E.hooks.classExtendsExpression.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const j=ae.get(R);if(j&&E.isPure(N,R.id?R.id.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,j);onUsageSuper(N)}}}));E.hooks.classBodyElement.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const N=ae.get(R);if(N){$.setTopLevelSymbol(E.state,undefined)}}}));E.hooks.classBodyValue.tap("InnerGraphPlugin",((N,R,q)=>{if(!$.isEnabled(E.state))return;if(E.scope.topLevelScope===true){const G=ae.get(q);if(G){if(!R.static||E.isPure(N,R.key?R.key.range[1]:R.range[0])){$.setTopLevelSymbol(E.state,G);if(R.type!=="MethodDefinition"&&R.static){$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}else{$.setTopLevelSymbol(E.state,undefined)}}}}));E.hooks.declarator.tap("InnerGraphPlugin",((N,R)=>{if(!$.isEnabled(E.state))return;const q=ce.get(N);if(q){$.setTopLevelSymbol(E.state,q);if(le.has(N)){if(N.init.type==="ClassExpression"){if(N.init.superClass){onUsageSuper(N.init.superClass)}}else{$.onUsage(E.state,(R=>{switch(R){case undefined:case true:return;default:{const $=new j(N.init.range);$.loc=N.loc;$.usedByExports=R;E.state.module.addDependency($);break}}}))}}E.walkExpression(N.init);$.setTopLevelSymbol(E.state,undefined);return true}}));E.hooks.expression.for(q).tap("InnerGraphPlugin",(()=>{const N=E.currentTagData;const R=$.getTopLevelSymbol(E.state);$.addUsage(E.state,N,R||true)}));E.hooks.assign.for(q).tap("InnerGraphPlugin",(N=>{if(!$.isEnabled(E.state))return;if(N.operator==="=")return true}))};N.hooks.parser.for("javascript/auto").tap("InnerGraphPlugin",handler);N.hooks.parser.for("javascript/esm").tap("InnerGraphPlugin",handler);E.hooks.finishModules.tap("InnerGraphPlugin",(()=>{R.timeAggregateEnd("infer dependency usage")}))}))}}E.exports=InnerGraphPlugin},92922:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(37496);const{compareChunks:q}=R(68673);const G=R(35817);const ie=G(R(72713),(()=>R(10692)),{name:"Limit Chunk Count Plugin",baseDataPath:"options"});const addToSetMap=(E,N,R)=>{const j=E.get(N);if(j===undefined){E.set(N,new Set([R]))}else{j.add(R)}};class LimitChunkCountPlugin{constructor(E){ie(E);this.options=E}apply(E){const N=this.options;E.hooks.compilation.tap("LimitChunkCountPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"LimitChunkCountPlugin",stage:j},(R=>{const j=E.chunkGraph;const G=N.maxChunks;if(!G)return;if(G<1)return;if(E.chunks.size<=G)return;let ie=E.chunks.size-G;const ae=q(j);const ce=Array.from(R).sort(ae);const le=new $((E=>E.sizeDiff),((E,N)=>N-E),(E=>E.integratedSize),((E,N)=>E-N),(E=>E.bIdx-E.aIdx),((E,N)=>E-N),((E,N)=>E.bIdx-N.bIdx));const _e=new Map;ce.forEach(((E,R)=>{for(let $=0;$0){const E=new Set($.groupsIterable);for(const N of q.groupsIterable){E.add(N)}for(const N of E){for(const E of Ee){if(E!==$&&E!==q&&E.isInGroup(N)){ie--;if(ie<=0)break e;Ee.add($);Ee.add(q);continue e}}for(const R of N.parentsIterable){E.add(R)}}}if(j.canChunksBeIntegrated($,q)){j.integrateChunks($,q);E.chunks.delete(q);Ee.add($);Te=true;ie--;if(ie<=0)break;for(const E of _e.get($)){if(E.deleted)continue;E.deleted=true;le.delete(E)}for(const E of _e.get(q)){if(E.deleted)continue;if(E.a===q){if(!j.canChunksBeIntegrated($,E.b)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize($,E.b,N);const q=le.startUpdate(E);E.a=$;E.integratedSize=R;E.aSize=G;E.sizeDiff=E.bSize+G-R;q()}else if(E.b===q){if(!j.canChunksBeIntegrated(E.a,$)){E.deleted=true;le.delete(E);continue}const R=j.getIntegratedChunksSize(E.a,$,N);const q=le.startUpdate(E);E.b=$;E.integratedSize=R;E.bSize=G;E.sizeDiff=G+E.aSize-R;q()}}_e.set($,_e.get(q));_e.delete(q)}}if(Te)return true}))}))}}E.exports=LimitChunkCountPlugin},41694:(E,N,R)=>{"use strict";const{UsageState:j}=R(76632);const{numberToIdentifier:$,NUMBER_OF_IDENTIFIER_START_CHARS:q,NUMBER_OF_IDENTIFIER_CONTINUATION_CHARS:G}=R(58159);const{assignDeterministicIds:ie}=R(30328);const{compareSelect:ae,compareStringsNumeric:ce}=R(68673);const canMangle=E=>{if(E.otherExportsInfo.getUsed(undefined)!==j.Unused)return false;let N=false;for(const R of E.exports){if(R.canMangle===true){N=true}}return N};const le=ae((E=>E.name),ce);const mangleExportsInfo=(E,N,R)=>{if(!canMangle(N))return;const ae=new Set;const ce=[];let _e=!R;if(!_e&&E){for(const E of N.ownedExports){if(E.provided!==false){_e=true;break}}}for(const R of N.ownedExports){const N=R.name;if(!R.hasUsedName()){if(R.canMangle!==true||N.length===1&&/^[a-zA-Z0-9_$]/.test(N)||E&&N.length===2&&/^[a-zA-Z_$][a-zA-Z0-9_$]|^[1-9][0-9]/.test(N)||_e&&R.provided!==true){R.setUsedName(N);ae.add(N)}else{ce.push(R)}}if(R.exportsInfoOwned){const N=R.getUsed(undefined);if(N===j.OnlyPropertiesUsed||N===j.Unused){mangleExportsInfo(E,R.exportsInfo,false)}}}if(E){ie(ce,(E=>E.name),le,((E,N)=>{const R=$(N);const j=ae.size;ae.add(R);if(j===ae.size)return false;E.setUsedName(R);return true}),[q,q*G],G,ae.size)}else{const E=[];const N=[];for(const R of ce){if(R.getUsed(undefined)===j.Unused){N.push(R)}else{E.push(R)}}E.sort(le);N.sort(le);let R=0;for(const j of[E,N]){for(const E of j){let N;do{N=$(R++)}while(ae.has(N));E.setUsedName(N)}}}};class MangleExportsPlugin{constructor(E){this._deterministic=E}apply(E){const{_deterministic:N}=this;E.hooks.compilation.tap("MangleExportsPlugin",(E=>{const R=E.moduleGraph;E.hooks.optimizeCodeGeneration.tap("MangleExportsPlugin",(j=>{if(E.moduleMemCaches){throw new Error("optimization.mangleExports can't be used with cacheUnaffected as export mangling is a global effect")}for(const E of j){const j=E.buildMeta&&E.buildMeta.exportsType==="namespace";const $=R.getExportsInfo(E);mangleExportsInfo(N,$,j)}}))}))}}E.exports=MangleExportsPlugin},70026:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const{runtimeEqual:$}=R(37416);class MergeDuplicateChunksPlugin{apply(E){E.hooks.compilation.tap("MergeDuplicateChunksPlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MergeDuplicateChunksPlugin",stage:j},(N=>{const{chunkGraph:R,moduleGraph:j}=E;const q=new Set;for(const G of N){let N;for(const E of R.getChunkModulesIterable(G)){if(N===undefined){for(const j of R.getModuleChunksIterable(E)){if(j!==G&&R.getNumberOfChunkModules(G)===R.getNumberOfChunkModules(j)&&!q.has(j)){if(N===undefined){N=new Set}N.add(j)}}if(N===undefined)break}else{for(const j of N){if(!R.isModuleInChunk(E,j)){N.delete(j)}}if(N.size===0)break}}if(N!==undefined&&N.size>0){e:for(const q of N){if(q.hasRuntime()!==G.hasRuntime())continue;if(R.getNumberOfEntryModules(G)>0)continue;if(R.getNumberOfEntryModules(q)>0)continue;if(!$(G.runtime,q.runtime)){for(const E of R.getChunkModulesIterable(G)){const N=j.getExportsInfo(E);if(!N.isEquallyUsed(G.runtime,q.runtime)){continue e}}}if(R.canChunksBeIntegrated(G,q)){R.integrateChunks(G,q);E.chunks.delete(q)}}}q.add(G)}}))}))}}E.exports=MergeDuplicateChunksPlugin},52383:(E,N,R)=>{"use strict";const{STAGE_ADVANCED:j}=R(82414);const $=R(35817);const q=$(R(83889),(()=>R(84638)),{name:"Min Chunk Size Plugin",baseDataPath:"options"});class MinChunkSizePlugin{constructor(E){q(E);this.options=E}apply(E){const N=this.options;const R=N.minChunkSize;E.hooks.compilation.tap("MinChunkSizePlugin",(E=>{E.hooks.optimizeChunks.tap({name:"MinChunkSizePlugin",stage:j},(j=>{const $=E.chunkGraph;const q={chunkOverhead:1,entryChunkMultiplicator:1};const G=new Map;const ie=[];const ae=[];const ce=[];for(const E of j){if($.getChunkSize(E,q){const R=G.get(E[0]);const j=G.get(E[1]);const q=$.getIntegratedChunksSize(E[0],E[1],N);const ie=[R+j-q,q,E[0],E[1]];return ie})).sort(((E,N)=>{const R=N[0]-E[0];if(R!==0)return R;return E[1]-N[1]}));if(le.length===0)return;const _e=le[0];$.integrateChunks(_e[2],_e[3]);E.chunks.delete(_e[3]);return true}))}))}}E.exports=MinChunkSizePlugin},1697:(E,N,R)=>{"use strict";const j=R(9192);const $=R(81627);class MinMaxSizeWarning extends ${constructor(E,N,R){let $="Fallback cache group";if(E){$=E.length>1?`Cache groups ${E.sort().join(", ")}`:`Cache group ${E[0]}`}super(`SplitChunksPlugin\n`+`${$}\n`+`Configured minSize (${j.formatSize(N)}) is `+`bigger than maxSize (${j.formatSize(R)}).\n`+"This seem to be a invalid optimization.splitChunks configuration.")}}E.exports=MinMaxSizeWarning},35442:(E,N,R)=>{"use strict";const j=R(62355);const $=R(45137);const q=R(75412);const{STAGE_DEFAULT:G}=R(82414);const ie=R(37359);const{compareModulesByIdentifier:ae}=R(68673);const{intersectRuntime:ce,mergeRuntimeOwned:le,filterRuntime:_e,runtimeToString:Ee,mergeRuntime:Te}=R(37416);const we=R(95734);const formatBailoutReason=E=>"ModuleConcatenation bailout: "+E;class ModuleConcatenationPlugin{constructor(E){if(typeof E!=="object")E={};this.options=E}apply(E){const{_backCompat:N}=E;E.hooks.compilation.tap("ModuleConcatenationPlugin",(R=>{const ae=R.moduleGraph;const ce=new Map;const setBailoutReason=(E,N)=>{setInnerBailoutReason(E,N);ae.getOptimizationBailout(E).push(typeof N==="function"?E=>formatBailoutReason(N(E)):formatBailoutReason(N))};const setInnerBailoutReason=(E,N)=>{ce.set(E,N)};const getInnerBailoutReason=(E,N)=>{const R=ce.get(E);if(typeof R==="function")return R(N);return R};const formatBailoutWarning=(E,N)=>R=>{if(typeof N==="function"){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}: ${N(R)}`)}const j=getInnerBailoutReason(E,R);const $=j?`: ${j}`:"";if(E===N){return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)}${$}`)}else{return formatBailoutReason(`Cannot concat with ${E.readableIdentifier(R)} because of ${N.readableIdentifier(R)}${$}`)}};R.hooks.optimizeChunkModules.tapAsync({name:"ModuleConcatenationPlugin",stage:G},((G,ae,ce)=>{const Ee=R.getLogger("webpack.ModuleConcatenationPlugin");const{chunkGraph:Te,moduleGraph:Ie}=R;const Ne=[];const Me=new Set;const Le={chunkGraph:Te,moduleGraph:Ie};Ee.time("select relevant modules");for(const E of ae){let N=true;let R=true;const j=E.getConcatenationBailoutReason(Le);if(j){setBailoutReason(E,j);continue}if(Ie.isAsync(E)){setBailoutReason(E,`Module is async`);continue}if(!E.buildInfo.strict){setBailoutReason(E,`Module is not in strict mode`);continue}if(Te.getNumberOfModuleChunks(E)===0){setBailoutReason(E,"Module is not in any chunk");continue}const $=Ie.getExportsInfo(E);const q=$.getRelevantExports(undefined);const G=q.filter((E=>E.isReexport()&&!E.getTarget(Ie)));if(G.length>0){setBailoutReason(E,`Reexports in this module do not have a static target (${Array.from(G,(E=>`${E.name||"other exports"}: ${E.getUsedInfo()}`)).join(", ")})`);continue}const ie=q.filter((E=>E.provided!==true));if(ie.length>0){setBailoutReason(E,`List of module exports is dynamic (${Array.from(ie,(E=>`${E.name||"other exports"}: ${E.getProvidedInfo()} and ${E.getUsedInfo()}`)).join(", ")})`);N=false}if(Te.isEntryModule(E)){setInnerBailoutReason(E,"Module is an entry point");R=false}if(N)Ne.push(E);if(R)Me.add(E)}Ee.timeEnd("select relevant modules");Ee.debug(`${Ne.length} potential root modules, ${Me.size} potential inner modules`);Ee.time("sort relevant modules");Ne.sort(((E,N)=>Ie.getDepth(E)-Ie.getDepth(N)));Ee.timeEnd("sort relevant modules");const Be={cached:0,alreadyInConfig:0,invalidModule:0,incorrectChunks:0,incorrectDependency:0,incorrectModuleDependency:0,incorrectChunksOfImporter:0,incorrectRuntimeCondition:0,importerFailed:0,added:0};let je=0;let Ue=0;let ze=0;Ee.time("find modules to concatenate");const We=[];const Je=new Set;for(const E of Ne){if(Je.has(E))continue;let N=undefined;for(const R of Te.getModuleRuntimes(E)){N=le(N,R)}const j=Ie.getExportsInfo(E);const $=_e(N,(E=>j.isModuleUsed(E)));const q=$===true?N:$===false?undefined:$;const G=new ConcatConfiguration(E,q);const ie=new Map;const ae=new Set;for(const N of this._getImports(R,E,q)){ae.add(N)}for(const E of ae){const j=new Set;const $=this._tryToAdd(R,G,E,N,q,Me,j,ie,Te,true,Be);if($){ie.set(E,$);G.addWarning(E,$)}else{for(const E of j){ae.add(E)}}}je+=ae.size;if(!G.isEmpty()){const E=G.getModules();Ue+=E.size;We.push(G);for(const N of E){if(N!==G.rootModule){Je.add(N)}}}else{ze++;const N=Ie.getOptimizationBailout(E);for(const E of G.getWarningsSorted()){N.push(formatBailoutWarning(E[0],E[1]))}}}Ee.timeEnd("find modules to concatenate");Ee.debug(`${We.length} successful concat configurations (avg size: ${Ue/We.length}), ${ze} bailed out completely`);Ee.debug(`${je} candidates were considered for adding (${Be.cached} cached failure, ${Be.alreadyInConfig} already in config, ${Be.invalidModule} invalid module, ${Be.incorrectChunks} incorrect chunks, ${Be.incorrectDependency} incorrect dependency, ${Be.incorrectChunksOfImporter} incorrect chunks of importer, ${Be.incorrectModuleDependency} incorrect module dependency, ${Be.incorrectRuntimeCondition} incorrect runtime condition, ${Be.importerFailed} importer failed, ${Be.added} added)`);Ee.time(`sort concat configurations`);We.sort(((E,N)=>N.modules.size-E.modules.size));Ee.timeEnd(`sort concat configurations`);const Ve=new Set;Ee.time("create concatenated modules");j.each(We,((j,G)=>{const ae=j.rootModule;if(Ve.has(ae))return G();const ce=j.getModules();for(const E of ce){Ve.add(E)}let le=we.create(ae,ce,j.runtime,E.root,R.outputOptions.hashFunction);const build=()=>{le.build(E.options,R,null,null,(E=>{if(E){if(!E.module){E.module=le}return G(E)}integrate()}))};const integrate=()=>{if(N){$.setChunkGraphForModule(le,Te);q.setModuleGraphForModule(le,Ie)}for(const E of j.getWarningsSorted()){Ie.getOptimizationBailout(le).push(formatBailoutWarning(E[0],E[1]))}Ie.cloneModuleAttributes(ae,le);for(const E of ce){if(R.builtModules.has(E)){R.builtModules.add(le)}if(E!==ae){Ie.copyOutgoingModuleConnections(E,le,(N=>N.originModule===E&&!(N.dependency instanceof ie&&ce.has(N.module))));for(const N of Te.getModuleChunksIterable(ae)){Te.disconnectChunkAndModule(N,E)}}}R.modules.delete(ae);$.clearChunkGraphForModule(ae);q.clearModuleGraphForModule(ae);Te.replaceModule(ae,le);Ie.moveModuleConnections(ae,le,(E=>{const N=E.module===ae?E.originModule:E.module;const R=E.dependency instanceof ie&&ce.has(N);return!R}));R.modules.add(le);G()};build()}),(E=>{Ee.timeEnd("create concatenated modules");process.nextTick(ce.bind(null,E))}))}))}))}_getImports(E,N,R){const j=E.moduleGraph;const $=new Set;for(const q of N.dependencies){if(!(q instanceof ie))continue;const G=j.getConnection(q);if(!G||!G.module||!G.isTargetActive(R)){continue}const ae=E.getDependencyReferencedExports(q,undefined);if(ae.every((E=>Array.isArray(E)?E.length>0:E.name.length>0))||Array.isArray(j.getProvidedExports(N))){$.add(G.module)}}return $}_tryToAdd(E,N,R,j,$,q,G,we,Ie,Ne,Me){const Le=we.get(R);if(Le){Me.cached++;return Le}if(N.has(R)){Me.alreadyInConfig++;return null}if(!q.has(R)){Me.invalidModule++;we.set(R,R);return R}const Be=Array.from(Ie.getModuleChunksIterable(N.rootModule)).filter((E=>!Ie.isModuleInChunk(R,E)));if(Be.length>0){const problem=E=>{const N=Array.from(new Set(Be.map((E=>E.name||"unnamed chunk(s)")))).sort();const j=Array.from(new Set(Array.from(Ie.getModuleChunksIterable(R)).map((E=>E.name||"unnamed chunk(s)")))).sort();return`Module ${R.readableIdentifier(E)} is not in the same chunk(s) (expected in chunk(s) ${N.join(", ")}, module is in chunk(s) ${j.join(", ")})`};Me.incorrectChunks++;we.set(R,problem);return problem}const je=E.moduleGraph;const Ue=je.getIncomingConnectionsByOriginModule(R);const ze=Ue.get(null)||Ue.get(undefined);if(ze){const E=ze.filter((E=>E.isActive(j)||E.dependency));if(E.length>0){const problem=N=>{const j=new Set(E.map((E=>E.explanation)).filter(Boolean));const $=Array.from(j).sort();return`Module ${R.readableIdentifier(N)} is referenced ${$.length>0?`by: ${$.join(", ")}`:"in an unsupported way"}`};Me.incorrectDependency++;we.set(R,problem);return problem}}const We=new Map;for(const[E,N]of Ue){if(E){if(Ie.getNumberOfModuleChunks(E)===0)continue;let R=undefined;for(const N of Ie.getModuleRuntimes(E)){R=le(R,N)}if(!ce(j,R))continue;const $=N.filter((E=>E.isActive(j)));if($.length>0)We.set(E,$)}}const Je=Array.from(We.keys());const Ve=Je.filter((E=>{for(const R of Ie.getModuleChunksIterable(N.rootModule)){if(!Ie.isModuleInChunk(E,R)){return true}}return false}));if(Ve.length>0){const problem=E=>{const N=Ve.map((N=>N.readableIdentifier(E))).sort();return`Module ${R.readableIdentifier(E)} is referenced from different chunks by these modules: ${N.join(", ")}`};Me.incorrectChunksOfImporter++;we.set(R,problem);return problem}const qe=new Map;for(const[E,N]of We){const R=N.filter((E=>!E.dependency||!(E.dependency instanceof ie)));if(R.length>0)qe.set(E,N)}if(qe.size>0){const problem=E=>{const N=Array.from(qe).map((([N,R])=>`${N.readableIdentifier(E)} (referenced with ${Array.from(new Set(R.map((E=>E.dependency&&E.dependency.type)).filter(Boolean))).sort().join(", ")})`)).sort();return`Module ${R.readableIdentifier(E)} is referenced from these modules with unsupported syntax: ${N.join(", ")}`};Me.incorrectModuleDependency++;we.set(R,problem);return problem}if(j!==undefined&&typeof j!=="string"){const E=[];e:for(const[N,R]of We){let $=false;for(const E of R){const N=_e(j,(N=>E.isTargetActive(N)));if(N===false)continue;if(N===true)continue e;if($!==false){$=Te($,N)}else{$=N}}if($!==false){E.push({originModule:N,runtimeCondition:$})}}if(E.length>0){const problem=N=>`Module ${R.readableIdentifier(N)} is runtime-dependent referenced by these modules: ${Array.from(E,(({originModule:E,runtimeCondition:R})=>`${E.readableIdentifier(N)} (expected runtime ${Ee(j)}, module is only referenced in ${Ee(R)})`)).join(", ")}`;Me.incorrectRuntimeCondition++;we.set(R,problem);return problem}}let He;if(Ne){He=N.snapshot()}N.add(R);Je.sort(ae);for(const ie of Je){const ae=this._tryToAdd(E,N,ie,j,$,q,G,we,Ie,false,Me);if(ae){if(He!==undefined)N.rollback(He);Me.importerFailed++;we.set(R,ae);return ae}}for(const N of this._getImports(E,R,j)){G.add(N)}Me.added++;return null}}class ConcatConfiguration{constructor(E,N){this.rootModule=E;this.runtime=N;this.modules=new Set;this.modules.add(E);this.warnings=new Map}add(E){this.modules.add(E)}has(E){return this.modules.has(E)}isEmpty(){return this.modules.size===1}addWarning(E,N){this.warnings.set(E,N)}getWarningsSorted(){return new Map(Array.from(this.warnings).sort(((E,N)=>{const R=E[0].identifier();const j=N[0].identifier();if(Rj)return 1;return 0})))}getModules(){return this.modules}snapshot(){return this.modules.size}rollback(E){const N=this.modules;for(const R of N){if(E===0){N.delete(R)}else{E--}}}}E.exports=ModuleConcatenationPlugin},30699:(E,N,R)=>{"use strict";const{SyncBailHook:j}=R(92960);const{RawSource:$,CachedSource:q,CompatSource:G}=R(48135);const ie=R(3080);const ae=R(81627);const{compareSelect:ce,compareStrings:le}=R(68673);const _e=R(35891);const Ee=new Set;const addToList=(E,N)=>{if(Array.isArray(E)){for(const R of E){N.add(R)}}else if(E){N.add(E)}};const mapAndDeduplicateBuffers=(E,N)=>{const R=[];e:for(const j of E){const E=N(j);for(const N of R){if(E.equals(N))continue e}R.push(E)}return R};const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const Te=new WeakMap;const toCachedSource=E=>{if(E instanceof q){return E}const N=Te.get(E);if(N!==undefined)return N;const R=new q(G.from(E));Te.set(E,R);return R};const we=new WeakMap;class RealContentHashPlugin{static getCompilationHooks(E){if(!(E instanceof ie)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=we.get(E);if(N===undefined){N={updateHash:new j(["content","oldHash"])};we.set(E,N)}return N}constructor({hashFunction:E,hashDigest:N}){this._hashFunction=E;this._hashDigest=N}apply(E){E.hooks.compilation.tap("RealContentHashPlugin",(E=>{const N=E.getCache("RealContentHashPlugin|analyse");const R=E.getCache("RealContentHashPlugin|generate");const j=RealContentHashPlugin.getCompilationHooks(E);E.hooks.processAssets.tapPromise({name:"RealContentHashPlugin",stage:ie.PROCESS_ASSETS_STAGE_OPTIMIZE_HASH},(async()=>{const q=E.getAssets();const G=[];const ie=new Map;for(const{source:E,info:N,name:R}of q){const j=toCachedSource(E);const $=j.source();const q=new Set;addToList(N.contenthash,q);const ae={name:R,info:N,source:j,newSource:undefined,newSourceWithoutOwn:undefined,content:$,ownHashes:undefined,contentComputePromise:undefined,contentComputeWithoutOwnPromise:undefined,referencedHashes:undefined,hashes:q};G.push(ae);for(const E of q){const N=ie.get(E);if(N===undefined){ie.set(E,[ae])}else{N.push(ae)}}}if(ie.size===0)return;const Te=new RegExp(Array.from(ie.keys(),quoteMeta).join("|"),"g");await Promise.all(G.map((async E=>{const{name:R,source:j,content:$,hashes:q}=E;if(Buffer.isBuffer($)){E.referencedHashes=Ee;E.ownHashes=Ee;return}const G=N.mergeEtags(N.getLazyHashedEtag(j),Array.from(q).join("|"));[E.referencedHashes,E.ownHashes]=await N.providePromise(R,G,(()=>{const E=new Set;let N=new Set;const R=$.match(Te);if(R){for(const j of R){if(q.has(j)){N.add(j);continue}E.add(j)}}return[E,N]}))})));const getDependencies=N=>{const R=ie.get(N);if(!R){const R=G.filter((E=>E.referencedHashes.has(N)));const j=new ae(`RealContentHashPlugin\nSome kind of unexpected caching problem occurred.\nAn asset was cached with a reference to another asset (${N}) that's not in the compilation anymore.\nEither the asset was incorrectly cached, or the referenced asset should also be restored from cache.\nReferenced by:\n${R.map((E=>{const R=new RegExp(`.{0,20}${quoteMeta(N)}.{0,20}`).exec(E.content);return` - ${E.name}: ...${R?R[0]:"???"}...`})).join("\n")}`);E.errors.push(j);return undefined}const j=new Set;for(const{referencedHashes:E,ownHashes:$}of R){if(!$.has(N)){for(const E of $){j.add(E)}}for(const N of E){j.add(N)}}return j};const hashInfo=E=>{const N=ie.get(E);return`${E} (${Array.from(N,(E=>E.name))})`};const we=new Set;for(const E of ie.keys()){const add=(E,N)=>{const R=getDependencies(E);if(!R)return;N.add(E);for(const E of R){if(we.has(E))continue;if(N.has(E)){throw new Error(`Circular hash dependency ${Array.from(N,hashInfo).join(" -> ")} -> ${hashInfo(E)}`)}add(E,N)}we.add(E);N.delete(E)};if(we.has(E))continue;add(E,new Set)}const Ie=new Map;const getEtag=E=>R.mergeEtags(R.getLazyHashedEtag(E.source),Array.from(E.referencedHashes,(E=>Ie.get(E))).join("|"));const computeNewContent=E=>{if(E.contentComputePromise)return E.contentComputePromise;return E.contentComputePromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name;const j=getEtag(E);E.newSource=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(E=>Ie.get(E)));return new $(N)}))}})()};const computeNewContentWithoutOwn=E=>{if(E.contentComputeWithoutOwnPromise)return E.contentComputeWithoutOwnPromise;return E.contentComputeWithoutOwnPromise=(async()=>{if(E.ownHashes.size>0||Array.from(E.referencedHashes).some((E=>Ie.get(E)!==E))){const N=E.name+"|without-own";const j=getEtag(E);E.newSourceWithoutOwn=await R.providePromise(N,j,(()=>{const N=E.content.replace(Te,(N=>{if(E.ownHashes.has(N)){return""}return Ie.get(N)}));return new $(N)}))}})()};const Ne=ce((E=>E.name),le);for(const E of we){const N=ie.get(E);N.sort(Ne);const R=_e(this._hashFunction);await Promise.all(N.map((N=>N.ownHashes.has(E)?computeNewContentWithoutOwn(N):computeNewContent(N))));const $=mapAndDeduplicateBuffers(N,(N=>{if(N.ownHashes.has(E)){return N.newSourceWithoutOwn?N.newSourceWithoutOwn.buffer():N.source.buffer()}else{return N.newSource?N.newSource.buffer():N.source.buffer()}}));let q=j.updateHash.call($,E);if(!q){for(const E of $){R.update(E)}const N=R.digest(this._hashDigest);q=N.slice(0,E.length)}Ie.set(E,q)}await Promise.all(G.map((async N=>{await computeNewContent(N);const R=N.name.replace(Te,(E=>Ie.get(E)));const j={};const $=N.info.contenthash;j.contenthash=Array.isArray($)?$.map((E=>Ie.get(E))):Ie.get($);if(N.newSource!==undefined){E.updateAsset(N.name,N.newSource,j)}else{E.updateAsset(N.name,N.source,j)}if(N.name!==R){E.renameAsset(N.name,R)}})))}))}))}}E.exports=RealContentHashPlugin},62665:(E,N,R)=>{"use strict";const{STAGE_BASIC:j,STAGE_ADVANCED:$}=R(82414);class RemoveEmptyChunksPlugin{apply(E){E.hooks.compilation.tap("RemoveEmptyChunksPlugin",(E=>{const handler=N=>{const R=E.chunkGraph;for(const j of N){if(R.getNumberOfChunkModules(j)===0&&!j.hasRuntime()&&R.getNumberOfEntryModules(j)===0){E.chunkGraph.disconnectChunk(j);E.chunks.delete(j)}}};E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:j},handler);E.hooks.optimizeChunks.tap({name:"RemoveEmptyChunksPlugin",stage:$},handler)}))}}E.exports=RemoveEmptyChunksPlugin},78016:(E,N,R)=>{"use strict";const{STAGE_BASIC:j}=R(82414);const $=R(39541);const{intersect:q}=R(26221);class RemoveParentModulesPlugin{apply(E){E.hooks.compilation.tap("RemoveParentModulesPlugin",(E=>{const handler=(N,R)=>{const j=E.chunkGraph;const G=new $;const ie=new WeakMap;for(const N of E.entrypoints.values()){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}for(const N of E.asyncEntrypoints){ie.set(N,new Set);for(const E of N.childrenIterable){G.enqueue(E)}}while(G.length>0){const E=G.dequeue();let N=ie.get(E);let R=false;for(const $ of E.parentsIterable){const q=ie.get($);if(q!==undefined){if(N===undefined){N=new Set(q);for(const E of $.chunks){for(const R of j.getChunkModulesIterable(E)){N.add(R)}}ie.set(E,N);R=true}else{for(const E of N){if(!j.isModuleInChunkGroup(E,$)&&!q.has(E)){N.delete(E);R=true}}}}}if(R){for(const N of E.childrenIterable){G.enqueue(N)}}}for(const E of N){const N=Array.from(E.groupsIterable,(E=>ie.get(E)));if(N.some((E=>E===undefined)))continue;const R=N.length===1?N[0]:q(N);const $=j.getNumberOfChunkModules(E);const G=new Set;if(${"use strict";class RuntimeChunkPlugin{constructor(E){this.options={name:E=>`runtime~${E.name}`,...E}}apply(E){E.hooks.thisCompilation.tap("RuntimeChunkPlugin",(E=>{E.hooks.addEntry.tap("RuntimeChunkPlugin",((N,{name:R})=>{if(R===undefined)return;const j=E.entries.get(R);if(j.options.runtime===undefined&&!j.options.dependOn){let E=this.options.name;if(typeof E==="function"){E=E({name:R})}j.options.runtime=E}}))}))}}E.exports=RuntimeChunkPlugin},63410:(E,N,R)=>{"use strict";const j=R(70554);const{STAGE_DEFAULT:$}=R(82414);const q=R(44576);const G=R(2230);const ie=R(72380);const ae=new WeakMap;const globToRegexp=(E,N)=>{const R=N.get(E);if(R!==undefined)return R;if(!E.includes("/")){E=`**/${E}`}const $=j(E,{globstar:true,extended:true});const q=$.source;const G=new RegExp("^(\\./)?"+q.slice(1));N.set(E,G);return G};class SideEffectsFlagPlugin{constructor(E=true){this._analyseSource=E}apply(E){let N=ae.get(E.root);if(N===undefined){N=new Map;ae.set(E.root,N)}E.hooks.compilation.tap("SideEffectsFlagPlugin",((E,{normalModuleFactory:R})=>{const j=E.moduleGraph;R.hooks.module.tap("SideEffectsFlagPlugin",((E,R)=>{const j=R.resourceResolveData;if(j&&j.descriptionFileData&&j.relativePath){const R=j.descriptionFileData.sideEffects;if(R!==undefined){if(E.factoryMeta===undefined){E.factoryMeta={}}const $=SideEffectsFlagPlugin.moduleHasSideEffects(j.relativePath,R,N);E.factoryMeta.sideEffectFree=!$}}return E}));R.hooks.module.tap("SideEffectsFlagPlugin",((E,N)=>{if(typeof N.settings.sideEffects==="boolean"){if(E.factoryMeta===undefined){E.factoryMeta={}}E.factoryMeta.sideEffectFree=!N.settings.sideEffects}return E}));if(this._analyseSource){const parserHandler=E=>{let N;E.hooks.program.tap("SideEffectsFlagPlugin",(()=>{N=undefined}));E.hooks.statement.tap({name:"SideEffectsFlagPlugin",stage:-100},(R=>{if(N)return;if(E.scope.topLevelScope!==true)return;switch(R.type){case"ExpressionStatement":if(!E.isPure(R.expression,R.range[0])){N=R}break;case"IfStatement":case"WhileStatement":case"DoWhileStatement":if(!E.isPure(R.test,R.range[0])){N=R}break;case"ForStatement":if(!E.isPure(R.init,R.range[0])||!E.isPure(R.test,R.init?R.init.range[1]:R.range[0])||!E.isPure(R.update,R.test?R.test.range[1]:R.init?R.init.range[1]:R.range[0])){N=R}break;case"SwitchStatement":if(!E.isPure(R.discriminant,R.range[0])){N=R}break;case"VariableDeclaration":case"ClassDeclaration":case"FunctionDeclaration":if(!E.isPure(R,R.range[0])){N=R}break;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":if(!E.isPure(R.declaration,R.range[0])){N=R}break;case"LabeledStatement":case"BlockStatement":break;case"EmptyStatement":break;case"ExportAllDeclaration":case"ImportDeclaration":break;default:N=R;break}}));E.hooks.finish.tap("SideEffectsFlagPlugin",(()=>{if(N===undefined){E.state.module.buildMeta.sideEffectFree=true}else{const{loc:R,type:$}=N;j.getOptimizationBailout(E.state.module).push((()=>`Statement (${$}) with side effects in source code at ${ie(R)}`))}}))};for(const E of["javascript/auto","javascript/esm","javascript/dynamic"]){R.hooks.parser.for(E).tap("SideEffectsFlagPlugin",parserHandler)}}E.hooks.optimizeDependencies.tap({name:"SideEffectsFlagPlugin",stage:$},(N=>{const R=E.getLogger("webpack.SideEffectsFlagPlugin");R.time("update dependencies");for(const E of N){if(E.getSideEffectsConnectionState(j)===false){const N=j.getExportsInfo(E);for(const R of j.getIncomingConnections(E)){const E=R.dependency;let $;if(($=E instanceof q)||E instanceof G&&!E.namespaceObjectAsContext){if($&&E.name){const N=j.getExportInfo(R.originModule,E.name);N.moveTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false),(({module:N,export:R})=>{j.updateModule(E,N);j.addExplanation(E,"(skipped side-effect-free modules)");const $=E.getIds(j);E.setIds(j,R?[...R,...$.slice(1)]:$.slice(1));return j.getConnection(E)}));continue}const q=E.getIds(j);if(q.length>0){const R=N.getExportInfo(q[0]);const $=R.getTarget(j,(({module:E})=>E.getSideEffectsConnectionState(j)===false));if(!$)continue;j.updateModule(E,$.module);j.addExplanation(E,"(skipped side-effect-free modules)");E.setIds(j,$.export?[...$.export,...q.slice(1)]:q.slice(1))}}}}}R.timeEnd("update dependencies")}))}))}static moduleHasSideEffects(E,N,R){switch(typeof N){case"undefined":return true;case"boolean":return N;case"string":return globToRegexp(N,R).test(E);case"object":return N.some((N=>SideEffectsFlagPlugin.moduleHasSideEffects(E,N,R)))}}}E.exports=SideEffectsFlagPlugin},40051:(E,N,R)=>{"use strict";const j=R(62433);const{STAGE_ADVANCED:$}=R(82414);const q=R(81627);const{requestToId:G}=R(30328);const{isSubset:ie}=R(26221);const ae=R(16102);const{compareModulesByIdentifier:ce,compareIterables:le}=R(68673);const _e=R(35891);const Ee=R(44648);const{makePathsRelative:Te}=R(49197);const we=R(91671);const Ie=R(1697);const defaultGetName=()=>{};const Ne=Ee;const Me=new WeakMap;const hashFilename=(E,N)=>{const R=_e(N.hashFunction).update(E).digest(N.hashDigest);return R.slice(0,8)};const getRequests=E=>{let N=0;for(const R of E.groupsIterable){N=Math.max(N,R.chunks.length)}return N};const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const isOverlap=(E,N)=>{for(const R of E){if(N.has(R))return true}return false};const Le=le(ce);const compareEntries=(E,N)=>{const R=E.cacheGroup.priority-N.cacheGroup.priority;if(R)return R;const j=E.chunks.size-N.chunks.size;if(j)return j;const $=totalSize(E.sizes)*(E.chunks.size-1);const q=totalSize(N.sizes)*(N.chunks.size-1);const G=$-q;if(G)return G;const ie=N.cacheGroupIndex-E.cacheGroupIndex;if(ie)return ie;const ae=E.modules;const ce=N.modules;const le=ae.size-ce.size;if(le)return le;ae.sort();ce.sort();return Le(ae,ce)};const INITIAL_CHUNK_FILTER=E=>E.canBeInitial();const ASYNC_CHUNK_FILTER=E=>!E.canBeInitial();const ALL_CHUNK_FILTER=E=>true;const normalizeSizes=(E,N)=>{if(typeof E==="number"){const R={};for(const j of N)R[j]=E;return R}else if(typeof E==="object"&&E!==null){return{...E}}else{return{}}};const mergeSizes=(...E)=>{let N={};for(let R=E.length-1;R>=0;R--){N=Object.assign(N,E[R])}return N};const hasNonZeroSizes=E=>{for(const N of Object.keys(E)){if(E[N]>0)return true}return false};const combineSizes=(E,N,R)=>{const j=new Set(Object.keys(E));const $=new Set(Object.keys(N));const q={};for(const G of j){if($.has(G)){q[G]=R(E[G],N[G])}else{q[G]=E[G]}}for(const E of $){if(!j.has(E)){q[E]=N[E]}}return q};const checkMinSize=(E,N)=>{for(const R of Object.keys(N)){const j=E[R];if(j===undefined||j===0)continue;if(j{for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if($*R{let R;for(const j of Object.keys(N)){const $=E[j];if($===undefined||$===0)continue;if(${let N=0;for(const R of Object.keys(E)){N+=E[R]}return N};const normalizeName=E=>{if(typeof E==="string"){return()=>E}if(typeof E==="function"){return E}};const normalizeChunksFilter=E=>{if(E==="initial"){return INITIAL_CHUNK_FILTER}if(E==="async"){return ASYNC_CHUNK_FILTER}if(E==="all"){return ALL_CHUNK_FILTER}if(typeof E==="function"){return E}};const normalizeCacheGroups=(E,N)=>{if(typeof E==="function"){return E}if(typeof E==="object"&&E!==null){const R=[];for(const j of Object.keys(E)){const $=E[j];if($===false){continue}if(typeof $==="string"||$ instanceof RegExp){const E=createCacheGroupSource({},j,N);R.push(((N,R,j)=>{if(checkTest($,N,R)){j.push(E)}}))}else if(typeof $==="function"){const E=new WeakMap;R.push(((R,q,G)=>{const ie=$(R);if(ie){const R=Array.isArray(ie)?ie:[ie];for(const $ of R){const R=E.get($);if(R!==undefined){G.push(R)}else{const R=createCacheGroupSource($,j,N);E.set($,R);G.push(R)}}}}))}else{const E=createCacheGroupSource($,j,N);R.push(((N,R,j)=>{if(checkTest($.test,N,R)&&checkModuleType($.type,N)&&checkModuleLayer($.layer,N)){j.push(E)}}))}}const fn=(E,N)=>{let j=[];for(const $ of R){$(E,N,j)}return j};return fn}return()=>null};const checkTest=(E,N,R)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N,R)}if(typeof E==="boolean")return E;if(typeof E==="string"){const R=N.nameForCondition();return R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.nameForCondition();return R&&E.test(R)}return false};const checkModuleType=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.type)}if(typeof E==="string"){const R=N.type;return E===R}if(E instanceof RegExp){const R=N.type;return E.test(R)}return false};const checkModuleLayer=(E,N)=>{if(E===undefined)return true;if(typeof E==="function"){return E(N.layer)}if(typeof E==="string"){const R=N.layer;return E===""?!R:R&&R.startsWith(E)}if(E instanceof RegExp){const R=N.layer;return E.test(R)}return false};const createCacheGroupSource=(E,N,R)=>{const j=normalizeSizes(E.minSize,R);const $=normalizeSizes(E.minSizeReduction,R);const q=normalizeSizes(E.maxSize,R);return{key:N,priority:E.priority,getName:normalizeName(E.name),chunksFilter:normalizeChunksFilter(E.chunks),enforce:E.enforce,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,R),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,R),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,R),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,R),q),minChunks:E.minChunks,maxAsyncRequests:E.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests,filename:E.filename,idHint:E.idHint,automaticNameDelimiter:E.automaticNameDelimiter,reuseExistingChunk:E.reuseExistingChunk,usedExports:E.usedExports}};E.exports=class SplitChunksPlugin{constructor(E={}){const N=E.defaultSizeTypes||["javascript","unknown"];const R=E.fallbackCacheGroup||{};const j=normalizeSizes(E.minSize,N);const $=normalizeSizes(E.minSizeReduction,N);const q=normalizeSizes(E.maxSize,N);this.options={chunksFilter:normalizeChunksFilter(E.chunks||"all"),defaultSizeTypes:N,minSize:j,minSizeReduction:$,minRemainingSize:mergeSizes(normalizeSizes(E.minRemainingSize,N),j),enforceSizeThreshold:normalizeSizes(E.enforceSizeThreshold,N),maxAsyncSize:mergeSizes(normalizeSizes(E.maxAsyncSize,N),q),maxInitialSize:mergeSizes(normalizeSizes(E.maxInitialSize,N),q),minChunks:E.minChunks||1,maxAsyncRequests:E.maxAsyncRequests||1,maxInitialRequests:E.maxInitialRequests||1,hidePathInfo:E.hidePathInfo||false,filename:E.filename||undefined,getCacheGroups:normalizeCacheGroups(E.cacheGroups,N),getName:E.name?normalizeName(E.name):defaultGetName,automaticNameDelimiter:E.automaticNameDelimiter,usedExports:E.usedExports,fallbackCacheGroup:{chunksFilter:normalizeChunksFilter(R.chunks||E.chunks||"all"),minSize:mergeSizes(normalizeSizes(R.minSize,N),j),maxAsyncSize:mergeSizes(normalizeSizes(R.maxAsyncSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxAsyncSize,N),normalizeSizes(E.maxSize,N)),maxInitialSize:mergeSizes(normalizeSizes(R.maxInitialSize,N),normalizeSizes(R.maxSize,N),normalizeSizes(E.maxInitialSize,N),normalizeSizes(E.maxSize,N)),automaticNameDelimiter:R.automaticNameDelimiter||E.automaticNameDelimiter||"~"}};this._cacheGroupCache=new WeakMap}_getCacheGroup(E){const N=this._cacheGroupCache.get(E);if(N!==undefined)return N;const R=mergeSizes(E.minSize,E.enforce?undefined:this.options.minSize);const j=mergeSizes(E.minSizeReduction,E.enforce?undefined:this.options.minSizeReduction);const $=mergeSizes(E.minRemainingSize,E.enforce?undefined:this.options.minRemainingSize);const q=mergeSizes(E.enforceSizeThreshold,E.enforce?undefined:this.options.enforceSizeThreshold);const G={key:E.key,priority:E.priority||0,chunksFilter:E.chunksFilter||this.options.chunksFilter,minSize:R,minSizeReduction:j,minRemainingSize:$,enforceSizeThreshold:q,maxAsyncSize:mergeSizes(E.maxAsyncSize,E.enforce?undefined:this.options.maxAsyncSize),maxInitialSize:mergeSizes(E.maxInitialSize,E.enforce?undefined:this.options.maxInitialSize),minChunks:E.minChunks!==undefined?E.minChunks:E.enforce?1:this.options.minChunks,maxAsyncRequests:E.maxAsyncRequests!==undefined?E.maxAsyncRequests:E.enforce?Infinity:this.options.maxAsyncRequests,maxInitialRequests:E.maxInitialRequests!==undefined?E.maxInitialRequests:E.enforce?Infinity:this.options.maxInitialRequests,getName:E.getName!==undefined?E.getName:this.options.getName,usedExports:E.usedExports!==undefined?E.usedExports:this.options.usedExports,filename:E.filename!==undefined?E.filename:this.options.filename,automaticNameDelimiter:E.automaticNameDelimiter!==undefined?E.automaticNameDelimiter:this.options.automaticNameDelimiter,idHint:E.idHint!==undefined?E.idHint:E.key,reuseExistingChunk:E.reuseExistingChunk||false,_validateSize:hasNonZeroSizes(R),_validateRemainingSize:hasNonZeroSizes($),_minSizeForMaxSize:mergeSizes(E.minSize,this.options.minSize),_conditionalEnforce:hasNonZeroSizes(q)};this._cacheGroupCache.set(E,G);return G}apply(E){const N=Te.bindContextCache(E.context,E.root);E.hooks.thisCompilation.tap("SplitChunksPlugin",(E=>{const R=E.getLogger("webpack.SplitChunksPlugin");let le=false;E.hooks.unseal.tap("SplitChunksPlugin",(()=>{le=false}));E.hooks.optimizeChunks.tap({name:"SplitChunksPlugin",stage:$},($=>{if(le)return;le=true;R.time("prepare");const _e=E.chunkGraph;const Ee=E.moduleGraph;const Te=new Map;const Le=BigInt("0");const Be=BigInt("1");const je=Be<{const N=E[Symbol.iterator]();let R=N.next();if(R.done)return Le;const j=R.value;R=N.next();if(R.done)return j;let $=Te.get(j)|Te.get(R.value);while(!(R=N.next()).done){const E=Te.get(R.value);$=$^E}return $};const keyToString=E=>{if(typeof E==="bigint")return E.toString(16);return Te.get(E).toString(16)};const ze=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=_e.getModuleChunksIterable(j);const $=getKey(E);if(typeof $==="bigint"){if(!N.has($)){N.set($,new Set(E))}}else{R.add($)}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunksByExports=E=>{const N=Ee.getExportsInfo(E);const R=new Map;for(const j of _e.getModuleChunksIterable(E)){const E=N.getUsageKey(j.runtime);const $=R.get(E);if($!==undefined){$.push(j)}else{R.set(E,[j])}}return R.values()};const We=new Map;const Je=we((()=>{const N=new Map;const R=new Set;for(const j of E.modules){const E=Array.from(groupChunksByExports(j));We.set(j,E);for(const j of E){if(j.length===1){R.add(j[0])}else{const E=getKey(j);if(!N.has(E)){N.set(E,new Set(j))}}}}return{chunkSetsInGraph:N,singleChunkSets:R}}));const groupChunkSetsByCount=E=>{const N=new Map;for(const R of E){const E=R.size;let j=N.get(E);if(j===undefined){j=[];N.set(E,j)}j.push(R)}return N};const Ve=we((()=>groupChunkSetsByCount(ze().chunkSetsInGraph.values())));const qe=we((()=>groupChunkSetsByCount(Je().chunkSetsInGraph.values())));const createGetCombinations=(E,N,R)=>{const $=new Map;return q=>{const G=$.get(q);if(G!==undefined)return G;if(q instanceof j){const E=[q];$.set(q,E);return E}const ae=E.get(q);const ce=[ae];for(const[E,N]of R){if(E{const{chunkSetsInGraph:E,singleChunkSets:N}=ze();return createGetCombinations(E,N,Ve())}));const getCombinations=E=>He()(E);const Ge=we((()=>{const{chunkSetsInGraph:E,singleChunkSets:N}=Je();return createGetCombinations(E,N,qe())}));const getExportsCombinations=E=>Ge()(E);const Ke=new WeakMap;const getSelectedChunks=(E,N)=>{let R=Ke.get(E);if(R===undefined){R=new WeakMap;Ke.set(E,R)}let $=R.get(N);if($===undefined){const q=[];if(E instanceof j){if(N(E))q.push(E)}else{for(const R of E){if(N(R))q.push(R)}}$={chunks:q,key:getKey(q)};R.set(N,$)}return $};const Qe=new Map;const Xe=new Set;const Ye=new Map;const addModuleToChunksInfoMap=(N,R,j,$,G)=>{if(j.length{const E=_e.getModuleChunksIterable(N);const R=getKey(E);return getCombinations(R)}));const $=we((()=>{Je();const E=new Set;const R=We.get(N);for(const N of R){const R=getKey(N);for(const N of getExportsCombinations(R))E.add(N)}return E}));let q=0;for(const G of E){const E=this._getCacheGroup(G);const ie=E.usedExports?$():R();for(const R of ie){const $=R instanceof j?1:R.size;if(${for(const R of E.modules){const j=R.getSourceTypes();if(N.some((E=>j.has(E)))){E.modules.delete(R);for(const N of j){E.sizes[N]-=R.size(N)}}}};const removeMinSizeViolatingModules=E=>{if(!E.cacheGroup._validateSize)return false;const N=getViolatingMinSizes(E.sizes,E.cacheGroup.minSize);if(N===undefined)return false;removeModulesWithSourceType(E,N);return E.modules.size===0};for(const[E,N]of Ye){if(removeMinSizeViolatingModules(N)){Ye.delete(E)}else if(!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E)}}const et=new Map;while(Ye.size>0){let N;let R;for(const E of Ye){const j=E[0];const $=E[1];if(R===undefined||compareEntries(R,$)<0){R=$;N=j}}const j=R;Ye.delete(N);let $=j.name;let q;let G=false;let ie=false;if($){const N=E.namedChunks.get($);if(N!==undefined){q=N;const E=j.chunks.size;j.chunks.delete(q);G=j.chunks.size!==E}}else if(j.cacheGroup.reuseExistingChunk){e:for(const E of j.chunks){if(_e.getNumberOfChunkModules(E)!==j.modules.size){continue}if(j.chunks.size>1&&_e.getNumberOfEntryModules(E)>0){continue}for(const N of j.modules){if(!_e.isModuleInChunk(N,E)){continue e}}if(!q||!q.name){q=E}else if(E.name&&E.name.length=N){ce.delete(E)}}}e:for(const E of ce){for(const N of j.modules){if(_e.isModuleInChunk(N,E))continue e}ce.delete(E)}if(ce.size=j.cacheGroup.minChunks){const E=Array.from(ce);for(const N of j.modules){addModuleToChunksInfoMap(j.cacheGroup,j.cacheGroupIndex,E,getKey(ce),N)}}continue}if(!ae&&j.cacheGroup._validateRemainingSize&&ce.size===1){const[E]=ce;let R=Object.create(null);for(const N of _e.getChunkModulesIterable(E)){if(!j.modules.has(N)){for(const E of N.getSourceTypes()){R[E]=(R[E]||0)+N.size(E)}}}const $=getViolatingMinSizes(R,j.cacheGroup.minRemainingSize);if($!==undefined){const E=j.modules.size;removeModulesWithSourceType(j,$);if(j.modules.size>0&&j.modules.size!==E){Ye.set(N,j)}continue}}if(q===undefined){q=E.addChunk($)}for(const E of ce){E.split(q)}q.chunkReason=(q.chunkReason?q.chunkReason+", ":"")+(ie?"reused as split chunk":"split chunk");if(j.cacheGroup.key){q.chunkReason+=` (cache group: ${j.cacheGroup.key})`}if($){q.chunkReason+=` (name: ${$})`}if(j.cacheGroup.filename){q.filenameTemplate=j.cacheGroup.filename}if(j.cacheGroup.idHint){q.idNameHints.add(j.cacheGroup.idHint)}if(!ie){for(const N of j.modules){if(!N.chunkCondition(q,E))continue;_e.connectChunkAndModule(q,N);for(const E of ce){_e.disconnectChunkAndModule(E,N)}}}else{for(const E of j.modules){for(const N of ce){_e.disconnectChunkAndModule(N,E)}}}if(Object.keys(j.cacheGroup.maxAsyncSize).length>0||Object.keys(j.cacheGroup.maxInitialSize).length>0){const E=et.get(q);et.set(q,{minSize:E?combineSizes(E.minSize,j.cacheGroup._minSizeForMaxSize,Math.max):j.cacheGroup.minSize,maxAsyncSize:E?combineSizes(E.maxAsyncSize,j.cacheGroup.maxAsyncSize,Math.min):j.cacheGroup.maxAsyncSize,maxInitialSize:E?combineSizes(E.maxInitialSize,j.cacheGroup.maxInitialSize,Math.min):j.cacheGroup.maxInitialSize,automaticNameDelimiter:j.cacheGroup.automaticNameDelimiter,keys:E?E.keys.concat(j.cacheGroup.key):[j.cacheGroup.key]})}for(const[E,N]of Ye){if(isOverlap(N.chunks,ce)){let R=false;for(const E of j.modules){if(N.modules.has(E)){N.modules.delete(E);for(const R of E.getSourceTypes()){N.sizes[R]-=E.size(R)}R=true}}if(R){if(N.modules.size===0){Ye.delete(E);continue}if(removeMinSizeViolatingModules(N)||!checkMinSizeReduction(N.sizes,N.cacheGroup.minSizeReduction,N.chunks.size)){Ye.delete(E);continue}}}}}R.timeEnd("queue");R.time("maxSize");const tt=new Set;const{outputOptions:rt}=E;const{fallbackCacheGroup:nt}=this.options;for(const R of Array.from(E.chunks)){const j=et.get(R);const{minSize:$,maxAsyncSize:q,maxInitialSize:ie,automaticNameDelimiter:ae}=j||nt;if(!j&&!nt.chunksFilter(R))continue;let ce;if(R.isOnlyInitial()){ce=ie}else if(R.canBeInitial()){ce=combineSizes(q,ie,Math.min)}else{ce=q}if(Object.keys(ce).length===0){continue}for(const N of Object.keys(ce)){const R=ce[N];const q=$[N];if(typeof q==="number"&&q>R){const N=j&&j.keys;const $=`${N&&N.join()} ${q} ${R}`;if(!tt.has($)){tt.add($);E.warnings.push(new Ie(N,q,R))}}}const le=Ne({minSize:$,maxSize:mapObject(ce,((E,N)=>{const R=$[N];return typeof R==="number"?Math.max(E,R):E})),items:_e.getChunkModulesIterable(R),getKey(E){const R=Me.get(E);if(R!==undefined)return R;const j=N(E.identifier());const $=E.nameForCondition&&E.nameForCondition();const q=$?N($):j.replace(/^.*!|\?[^?!]*$/g,"");const ie=q+ae+hashFilename(j,rt);const ce=G(ie);Me.set(E,ce);return ce},getSize(E){const N=Object.create(null);for(const R of E.getSourceTypes()){N[R]=E.size(R)}return N}});if(le.length<=1){continue}for(let N=0;N100){q=q.slice(0,100)+ae+hashFilename(q,rt)}if(N!==le.length-1){const N=E.addChunk(q);R.split(N);N.chunkReason=R.chunkReason;for(const $ of j.items){if(!$.chunkCondition(N,E)){continue}_e.connectChunkAndModule(N,$);_e.disconnectChunkAndModule(R,$)}}else{R.name=q}}}R.timeEnd("maxSize")}))}))}}},15787:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class AssetsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})`)).join("");super(`asset size limit: The following asset(s) exceed the recommended size limit (${j(N)}).\nThis can impact web performance.\nAssets: ${R}`);this.name="AssetsOverSizeLimitWarning";this.assets=E}}},84116:(E,N,R)=>{"use strict";const{formatSize:j}=R(9192);const $=R(81627);E.exports=class EntrypointsOverSizeLimitWarning extends ${constructor(E,N){const R=E.map((E=>`\n ${E.name} (${j(E.size)})\n${E.files.map((E=>` ${E}`)).join("\n")}`)).join("");super(`entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (${j(N)}). This can impact web performance.\nEntrypoints:${R}\n`);this.name="EntrypointsOverSizeLimitWarning";this.entrypoints=E}}},23529:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class NoAsyncChunksWarning extends j{constructor(){super("webpack performance recommendations: \n"+"You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.\n"+"For more info visit https://webpack.js.org/guides/code-splitting/");this.name="NoAsyncChunksWarning"}}},20625:(E,N,R)=>{"use strict";const{find:j}=R(26221);const $=R(15787);const q=R(84116);const G=R(23529);const ie=new WeakSet;const excludeSourceMap=(E,N,R)=>!R.development;E.exports=class SizeLimitsPlugin{constructor(E){this.hints=E.hints;this.maxAssetSize=E.maxAssetSize;this.maxEntrypointSize=E.maxEntrypointSize;this.assetFilter=E.assetFilter}static isOverSizeLimit(E){return ie.has(E)}apply(E){const N=this.maxEntrypointSize;const R=this.maxAssetSize;const ae=this.hints;const ce=this.assetFilter||excludeSourceMap;E.hooks.afterEmit.tap("SizeLimitsPlugin",(E=>{const le=[];const getEntrypointSize=N=>{let R=0;for(const j of N.getFiles()){const N=E.getAsset(j);if(N&&ce(N.name,N.source,N.info)&&N.source){R+=N.info.size||N.source.size()}}return R};const _e=[];for(const{name:N,source:j,info:$}of E.getAssets()){if(!ce(N,j,$)||!j){continue}const E=$.size||j.size();if(E>R){_e.push({name:N,size:E});ie.add(j)}}const fileFilter=N=>{const R=E.getAsset(N);return R&&ce(R.name,R.source,R.info)};const Ee=[];for(const[R,j]of E.entrypoints){const E=getEntrypointSize(j);if(E>N){Ee.push({name:R,size:E,files:j.getFiles().filter(fileFilter)});ie.add(j)}}if(ae){if(_e.length>0){le.push(new $(_e,R))}if(Ee.length>0){le.push(new q(Ee,N))}if(le.length>0){const N=j(E.chunks,(E=>!E.canBeInitial()));if(!N){le.push(new G)}if(ae==="error"){E.errors.push(...le)}else{E.warnings.push(...le)}}}}))}}},63890:(E,N,R)=>{"use strict";const j=R(66804);const $=R(58159);class ChunkPrefetchFunctionRuntimeModule extends j{constructor(E,N,R){super(`chunk ${E} function`);this.childType=E;this.runtimeFunction=N;this.runtimeHandlers=R}generate(){const{runtimeFunction:E,runtimeHandlers:N}=this;const{runtimeTemplate:R}=this.compilation;return $.asString([`${N} = {};`,`${E} = ${R.basicFunction("chunkId",[`Object.keys(${N}).map(${R.basicFunction("key",`${N}[key](chunkId);`)});`])}`])}}E.exports=ChunkPrefetchFunctionRuntimeModule},5538:(E,N,R)=>{"use strict";const j=R(76150);const $=R(63890);const q=R(2235);const G=R(86400);const ie=R(37536);class ChunkPrefetchPreloadPlugin{apply(E){E.hooks.compilation.tap("ChunkPrefetchPreloadPlugin",(E=>{E.hooks.additionalChunkRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{if($.getNumberOfEntryModules(N)===0)return;const G=N.getChildrenOfTypeInOrder($,"prefetchOrder");if(G){R.add(j.prefetchChunk);R.add(j.onChunksLoaded);E.addRuntimeModule(N,new q(G))}}));E.hooks.additionalTreeRuntimeRequirements.tap("ChunkPrefetchPreloadPlugin",((N,R,{chunkGraph:$})=>{const q=N.getChildIdsByOrdersMap($,false);if(q.prefetch){R.add(j.prefetchChunk);E.addRuntimeModule(N,new G(q.prefetch))}if(q.preload){R.add(j.preloadChunk);E.addRuntimeModule(N,new ie(q.preload))}}));E.hooks.runtimeRequirementInTree.for(j.prefetchChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("prefetch",j.prefetchChunk,j.prefetchChunkHandlers));R.add(j.prefetchChunkHandlers)}));E.hooks.runtimeRequirementInTree.for(j.preloadChunk).tap("ChunkPrefetchPreloadPlugin",((N,R)=>{E.addRuntimeModule(N,new $("preload",j.preloadChunk,j.preloadChunkHandlers));R.add(j.preloadChunkHandlers)}))}))}}E.exports=ChunkPrefetchPreloadPlugin},2235:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchStartupRuntimeModule extends ${constructor(E){super("startup prefetch",$.STAGE_TRIGGER);this.startupChunks=E}generate(){const{startupChunks:E,chunk:N}=this;const{runtimeTemplate:R}=this.compilation;return q.asString(E.map((({onChunks:E,chunks:$})=>`${j.onChunksLoaded}(0, ${JSON.stringify(E.filter((E=>E===N)).map((E=>E.id)))}, ${R.basicFunction("",$.size<3?Array.from($,(E=>`${j.prefetchChunk}(${JSON.stringify(E.id)});`)):`${JSON.stringify(Array.from($,(E=>E.id)))}.map(${j.prefetchChunk});`)}, 5);`)))}}E.exports=ChunkPrefetchStartupRuntimeModule},86400:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPrefetchTriggerRuntimeModule extends ${constructor(E){super(`chunk prefetch trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.prefetchChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.prefetch = ${N.expressionFunction(`Promise.all(promises).then(${N.basicFunction("",R)})`,"chunkId, promises")};`])])}}E.exports=ChunkPrefetchTriggerRuntimeModule},37536:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class ChunkPreloadTriggerRuntimeModule extends ${constructor(E){super(`chunk preload trigger`,$.STAGE_TRIGGER);this.chunkMap=E}generate(){const{chunkMap:E}=this;const{runtimeTemplate:N}=this.compilation;const R=["var chunks = chunkToChildrenMap[chunkId];",`Array.isArray(chunks) && chunks.map(${j.preloadChunk});`];return q.asString([q.asString([`var chunkToChildrenMap = ${JSON.stringify(E,null,"\t")};`,`${j.ensureChunkHandlers}.preload = ${N.basicFunction("chunkId",R)};`])])}}E.exports=ChunkPreloadTriggerRuntimeModule},94288:E=>{"use strict";class BasicEffectRulePlugin{constructor(E,N){this.ruleProperty=E;this.effectType=N||E}apply(E){E.hooks.rule.tap("BasicEffectRulePlugin",((E,N,R,j,$)=>{if(R.has(this.ruleProperty)){R.delete(this.ruleProperty);const E=N[this.ruleProperty];j.effects.push({type:this.effectType,value:E})}}))}}E.exports=BasicEffectRulePlugin},1976:E=>{"use strict";class BasicMatcherRulePlugin{constructor(E,N,R){this.ruleProperty=E;this.dataProperty=N||E;this.invert=R||false}apply(E){E.hooks.rule.tap("BasicMatcherRulePlugin",((N,R,j,$)=>{if(j.has(this.ruleProperty)){j.delete(this.ruleProperty);const q=R[this.ruleProperty];const G=E.compileCondition(`${N}.${this.ruleProperty}`,q);const ie=G.fn;$.conditions.push({property:this.dataProperty,matchWhenEmpty:this.invert?!G.matchWhenEmpty:G.matchWhenEmpty,fn:this.invert?E=>!ie(E):ie})}}))}}E.exports=BasicMatcherRulePlugin},95020:E=>{"use strict";class ObjectMatcherRulePlugin{constructor(E,N){this.ruleProperty=E;this.dataProperty=N||E}apply(E){const{ruleProperty:N,dataProperty:R}=this;E.hooks.rule.tap("ObjectMatcherRulePlugin",((j,$,q,G)=>{if(q.has(N)){q.delete(N);const ie=$[N];for(const $ of Object.keys(ie)){const q=$.split(".");const ae=E.compileCondition(`${j}.${N}.${$}`,ie[$]);G.conditions.push({property:[R,...q],matchWhenEmpty:ae.matchWhenEmpty,fn:ae.fn})}}}))}}E.exports=ObjectMatcherRulePlugin},73817:(E,N,R)=>{"use strict";const{SyncHook:j}=R(92960);class RuleSetCompiler{constructor(E){this.hooks=Object.freeze({rule:new j(["path","rule","unhandledProperties","compiledRule","references"])});if(E){for(const N of E){N.apply(this)}}}compile(E){const N=new Map;const R=this.compileRules("ruleSet",E,N);const execRule=(E,N,R)=>{for(const R of N.conditions){const N=R.property;if(Array.isArray(N)){let j=E;for(const E of N){if(j&&typeof j==="object"&&Object.prototype.hasOwnProperty.call(j,E)){j=j[E]}else{j=undefined;break}}if(j!==undefined){if(!R.fn(j))return false;continue}}else if(N in E){const j=E[N];if(j!==undefined){if(!R.fn(j))return false;continue}}if(!R.matchWhenEmpty){return false}}for(const j of N.effects){if(typeof j==="function"){const N=j(E);for(const E of N){R.push(E)}}else{R.push(j)}}if(N.rules){for(const j of N.rules){execRule(E,j,R)}}if(N.oneOf){for(const j of N.oneOf){if(execRule(E,j,R)){break}}}return true};return{references:N,exec:E=>{const N=[];for(const j of R){execRule(E,j,N)}return N}}}compileRules(E,N,R){return N.map(((N,j)=>this.compileRule(`${E}[${j}]`,N,R)))}compileRule(E,N,R){const j=new Set(Object.keys(N).filter((E=>N[E]!==undefined)));const $={conditions:[],effects:[],rules:undefined,oneOf:undefined};this.hooks.rule.call(E,N,j,$,R);if(j.has("rules")){j.delete("rules");const q=N.rules;if(!Array.isArray(q))throw this.error(E,q,"Rule.rules must be an array of rules");$.rules=this.compileRules(`${E}.rules`,q,R)}if(j.has("oneOf")){j.delete("oneOf");const q=N.oneOf;if(!Array.isArray(q))throw this.error(E,q,"Rule.oneOf must be an array of rules");$.oneOf=this.compileRules(`${E}.oneOf`,q,R)}if(j.size>0){throw this.error(E,N,`Properties ${Array.from(j).join(", ")} are unknown`)}return $}compileCondition(E,N){if(N===""){return{matchWhenEmpty:true,fn:E=>E===""}}if(!N){throw this.error(E,N,"Expected condition but got falsy value")}if(typeof N==="string"){return{matchWhenEmpty:N.length===0,fn:E=>typeof E==="string"&&E.startsWith(N)}}if(typeof N==="function"){try{return{matchWhenEmpty:N(""),fn:N}}catch(R){throw this.error(E,N,"Evaluation of condition function threw error")}}if(N instanceof RegExp){return{matchWhenEmpty:N.test(""),fn:E=>typeof E==="string"&&N.test(E)}}if(Array.isArray(N)){const R=N.map(((N,R)=>this.compileCondition(`${E}[${R}]`,N)));return this.combineConditionsOr(R)}if(typeof N!=="object"){throw this.error(E,N,`Unexpected ${typeof N} when condition was expected`)}const R=[];for(const j of Object.keys(N)){const $=N[j];switch(j){case"or":if($){if(!Array.isArray($)){throw this.error(`${E}.or`,N.and,"Expected array of conditions")}R.push(this.compileCondition(`${E}.or`,$))}break;case"and":if($){if(!Array.isArray($)){throw this.error(`${E}.and`,N.and,"Expected array of conditions")}let j=0;for(const N of $){R.push(this.compileCondition(`${E}.and[${j}]`,N));j++}}break;case"not":if($){const N=this.compileCondition(`${E}.not`,$);const j=N.fn;R.push({matchWhenEmpty:!N.matchWhenEmpty,fn:E=>!j(E)})}break;default:throw this.error(`${E}.${j}`,N[j],`Unexpected property ${j} in condition`)}}if(R.length===0){throw this.error(E,N,"Expected condition, but got empty thing")}return this.combineConditionsAnd(R)}combineConditionsOr(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.some((E=>E.matchWhenEmpty)),fn:N=>E.some((E=>E.fn(N)))}}}combineConditionsAnd(E){if(E.length===0){return{matchWhenEmpty:false,fn:()=>false}}else if(E.length===1){return E[0]}else{return{matchWhenEmpty:E.every((E=>E.matchWhenEmpty)),fn:N=>E.every((E=>E.fn(N)))}}}error(E,N,R){return new Error(`Compiling RuleSet failed: ${R} (at ${E}: ${N})`)}}E.exports=RuleSetCompiler},19311:(E,N,R)=>{"use strict";const j=R(73837);class UseEffectRulePlugin{apply(E){E.hooks.rule.tap("UseEffectRulePlugin",((N,R,$,q,G)=>{const conflictWith=(j,q)=>{if($.has(j)){throw E.error(`${N}.${j}`,R[j],`A Rule must not have a '${j}' property when it has a '${q}' property`)}};if($.has("use")){$.delete("use");$.delete("enforce");conflictWith("loader","use");conflictWith("options","use");const E=R.use;const ie=R.enforce;const ae=ie?`use-${ie}`:"use";const useToEffect=(E,N,R)=>{if(typeof R==="function"){return N=>useToEffectsWithoutIdent(E,R(N))}else{return useToEffectRaw(E,N,R)}};const useToEffectRaw=(E,N,R)=>{if(typeof R==="string"){return{type:ae,value:{loader:R,options:undefined,ident:undefined}}}else{const $=R.loader;const q=R.options;let ae=R.ident;if(q&&typeof q==="object"){if(!ae)ae=N;G.set(ae,q)}if(typeof q==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${E}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}return{type:ie?`use-${ie}`:"use",value:{loader:$,options:q,ident:ae}}}};const useToEffectsWithoutIdent=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>useToEffectRaw(`${E}[${R}]`,"[[missing ident]]",N)))}return[useToEffectRaw(E,"[[missing ident]]",N)]};const useToEffects=(E,N)=>{if(Array.isArray(N)){return N.map(((N,R)=>{const j=`${E}[${R}]`;return useToEffect(j,j,N)}))}return[useToEffect(E,E,N)]};if(typeof E==="function"){q.effects.push((R=>useToEffectsWithoutIdent(`${N}.use`,E(R))))}else{for(const R of useToEffects(`${N}.use`,E)){q.effects.push(R)}}}if($.has("loader")){$.delete("loader");$.delete("options");$.delete("enforce");const ie=R.loader;const ae=R.options;const ce=R.enforce;if(ie.includes("!")){throw E.error(`${N}.loader`,ie,"Exclamation mark separated loader lists has been removed in favor of the 'use' property with arrays")}if(ie.includes("?")){throw E.error(`${N}.loader`,ie,"Query arguments on 'loader' has been removed in favor of the 'options' property")}if(typeof ae==="string"){j.deprecate((()=>{}),`Using a string as loader options is deprecated (${N}.options)`,"DEP_WEBPACK_RULE_LOADER_OPTIONS_STRING")()}const le=ae&&typeof ae==="object"?N:undefined;G.set(le,ae);q.effects.push({type:ce?`use-${ce}`:"use",value:{loader:ie,options:ae,ident:le}})}}))}useItemToEffects(E,N){}}E.exports=UseEffectRulePlugin},84997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class AsyncModuleRuntimeModule extends q{constructor(){super("async module")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.asyncModule;return $.asString(['var webpackThen = typeof Symbol === "function" ? Symbol("webpack then") : "__webpack_then__";','var webpackExports = typeof Symbol === "function" ? Symbol("webpack exports") : "__webpack_exports__";',`var completeQueue = ${E.basicFunction("queue",["if(queue) {",$.indent([`queue.forEach(${E.expressionFunction("fn.r--","fn")});`,`queue.forEach(${E.expressionFunction("fn.r-- ? fn.r++ : fn()","fn")});`]),"}"])}`,`var completeFunction = ${E.expressionFunction("!--fn.r && fn()","fn")};`,`var queueFunction = ${E.expressionFunction("queue ? queue.push(fn) : completeFunction(fn)","queue, fn")};`,`var wrapDeps = ${E.returningFunction(`deps.map(${E.basicFunction("dep",['if(dep !== null && typeof dep === "object") {',$.indent(["if(dep[webpackThen]) return dep;","if(dep.then) {",$.indent(["var queue = [];",`dep.then(${E.basicFunction("r",["obj[webpackExports] = r;","completeQueue(queue);","queue = 0;"])});`,`var obj = {};\n\t\t\t\t\t\t\tobj[webpackThen] = ${E.expressionFunction("queueFunction(queue, fn), dep['catch'](reject)","fn, reject")};`,"return obj;"]),"}"]),"}",`var ret = {};\n\t\t\t\t\tret[webpackThen] = ${E.expressionFunction("completeFunction(fn)","fn")};\n\t\t\t\t\tret[webpackExports] = dep;\n\t\t\t\t\treturn ret;`])})`,"deps")};`,`${N} = ${E.basicFunction("module, body, hasAwait",["var queue = hasAwait && [];","var exports = module.exports;","var currentDeps;","var outerResolve;","var reject;","var isEvaluating = true;","var nested = false;",`var whenAll = ${E.basicFunction("deps, onResolve, onReject",["if (nested) return;","nested = true;","onResolve.r += deps.length;",`deps.map(${E.expressionFunction("dep[webpackThen](onResolve, onReject)","dep, i")});`,"nested = false;"])};`,`var promise = new Promise(${E.basicFunction("resolve, rej",["reject = rej;",`outerResolve = ${E.expressionFunction("resolve(exports), completeQueue(queue), queue = 0")};`])});`,"promise[webpackExports] = exports;",`promise[webpackThen] = ${E.basicFunction("fn, rejectFn",["if (isEvaluating) { return completeFunction(fn); }","if (currentDeps) whenAll(currentDeps, fn, rejectFn);","queueFunction(queue, fn);","promise['catch'](rejectFn);"])};`,"module.exports = promise;",`body(${E.basicFunction("deps",["if(!deps) return outerResolve();","currentDeps = wrapDeps(deps);","var fn, result;",`var promise = new Promise(${E.basicFunction("resolve, reject",[`fn = ${E.expressionFunction(`resolve(result = currentDeps.map(${E.returningFunction("d[webpackExports]","d")}))`)};`,"fn.r = 0;","whenAll(currentDeps, fn, reject);"])});`,"return fn.r ? promise : result;"])}).then(outerResolve, reject);`,"isEvaluating = false;"])};`])}}E.exports=AsyncModuleRuntimeModule},31164:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const G=R(18161);const{getUndoPath:ie}=R(49197);class AutoPublicPathRuntimeModule extends ${constructor(){super("publicPath",$.STAGE_BASIC)}generate(){const{compilation:E}=this;const{scriptType:N,importMetaName:R,path:$}=E.outputOptions;const ae=E.getPath(G.getChunkFilenameTemplate(this.chunk,E.outputOptions),{chunk:this.chunk,contentHashType:"javascript"});const ce=ie(ae,$,false);return q.asString(["var scriptUrl;",N==="module"?`if (typeof ${R}.url === "string") scriptUrl = ${R}.url`:q.asString([`if (${j.global}.importScripts) scriptUrl = ${j.global}.location + "";`,`var document = ${j.global}.document;`,"if (!scriptUrl && document) {",q.indent([`if (document.currentScript)`,q.indent(`scriptUrl = document.currentScript.src`),"if (!scriptUrl) {",q.indent(['var scripts = document.getElementsByTagName("script");',"if(scripts.length) scriptUrl = scripts[scripts.length - 1].src"]),"}"]),"}"]),"// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration",'// or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.','if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");','scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/");',!ce?`${j.publicPath} = scriptUrl;`:`${j.publicPath} = scriptUrl + ${JSON.stringify(ce)};`])}}E.exports=AutoPublicPathRuntimeModule},64255:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class ChunkNameRuntimeModule extends ${constructor(E){super("chunkName");this.chunkName=E}generate(){return`${j.chunkName} = ${JSON.stringify(this.chunkName)};`}}E.exports=ChunkNameRuntimeModule},90202:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CompatGetDefaultExportRuntimeModule extends q{constructor(){super("compat get default export")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.compatGetDefaultExport;return $.asString(["// getDefaultExport function for compatibility with non-harmony modules",`${N} = ${E.basicFunction("module",["var getter = module && module.__esModule ?",$.indent([`${E.returningFunction("module['default']")} :`,`${E.returningFunction("module")};`]),`${j.definePropertyGetters}(getter, { a: getter });`,"return getter;"])};`])}}E.exports=CompatGetDefaultExportRuntimeModule},16710:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class CompatRuntimeModule extends ${constructor(){super("compat",$.STAGE_ATTACH);this.fullHash=true}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$,mainTemplate:q,moduleTemplates:G,dependencyTemplates:ie}=R;const ae=q.hooks.bootstrap.call("",N,R.hash||"XXXX",G.javascript,ie);const ce=q.hooks.localVars.call("",N,R.hash||"XXXX");const le=q.hooks.requireExtensions.call("",N,R.hash||"XXXX");const _e=E.getTreeRuntimeRequirements(N);let Ee="";if(_e.has(j.ensureChunk)){const E=q.hooks.requireEnsure.call("",N,R.hash||"XXXX","chunkId");if(E){Ee=`${j.ensureChunkHandlers}.compat = ${$.basicFunction("chunkId, promises",E)};`}}return[ae,ce,Ee,le].filter(Boolean).join("\n")}shouldIsolate(){return false}}E.exports=CompatRuntimeModule},3236:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateFakeNamespaceObjectRuntimeModule extends q{constructor(){super("create fake namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.createFakeNamespaceObject;return $.asString([`var getProto = Object.getPrototypeOf ? ${E.returningFunction("Object.getPrototypeOf(obj)","obj")} : ${E.returningFunction("obj.__proto__","obj")};`,"var leafPrototypes;","// create a fake namespace object","// mode & 1: value is a module id, require it","// mode & 2: merge all properties of value into the ns","// mode & 4: return value when already ns object","// mode & 16: return value when it's Promise-like","// mode & 8|1: behave like require",`${N} = function(value, mode) {`,$.indent([`if(mode & 1) value = this(value);`,`if(mode & 8) return value;`,"if(typeof value === 'object' && value) {",$.indent(["if((mode & 4) && value.__esModule) return value;","if((mode & 16) && typeof value.then === 'function') return value;"]),"}","var ns = Object.create(null);",`${j.makeNamespaceObject}(ns);`,"var def = {};","leafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];","for(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {",$.indent([`Object.getOwnPropertyNames(current).forEach(${E.expressionFunction(`def[key] = ${E.returningFunction("value[key]","")}`,"key")});`]),"}",`def['default'] = ${E.returningFunction("value","")};`,`${j.definePropertyGetters}(ns, def);`,"return ns;"]),"};"])}}E.exports=CreateFakeNamespaceObjectRuntimeModule},44160:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class CreateScriptUrlRuntimeModule extends q{constructor(){super("trusted types")}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{trustedTypes:q}=R;const G=j.createScriptUrl;if(!q){return $.asString([`${G} = ${N.returningFunction("url","url")};`])}return $.asString(["var policy;",`${G} = ${N.basicFunction("url",["// Create Trusted Type policy if Trusted Types are available and the policy doesn't exist yet.","if (policy === undefined) {",$.indent(["policy = {",$.indent([`createScriptURL: ${N.returningFunction("url","url")}`]),"};",'if (typeof trustedTypes !== "undefined" && trustedTypes.createPolicy) {',$.indent([`policy = trustedTypes.createPolicy(${JSON.stringify(q.policyName)}, policy);`]),"}"]),"}","return policy.createScriptURL(url);"])};`])}}E.exports=CreateScriptUrlRuntimeModule},58957:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class DefinePropertyGettersRuntimeModule extends q{constructor(){super("define property getters")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.definePropertyGetters;return $.asString(["// define getter functions for harmony exports",`${N} = ${E.basicFunction("exports, definition",[`for(var key in definition) {`,$.indent([`if(${j.hasOwnProperty}(definition, key) && !${j.hasOwnProperty}(exports, key)) {`,$.indent(["Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });"]),"}"]),"}"])};`])}}E.exports=DefinePropertyGettersRuntimeModule},59179:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class EnsureChunkRuntimeModule extends ${constructor(E){super("ensure chunk");this.runtimeRequirements=E}generate(){const{runtimeTemplate:E}=this.compilation;if(this.runtimeRequirements.has(j.ensureChunkHandlers)){const N=j.ensureChunkHandlers;return q.asString([`${N} = {};`,"// This file contains only the entry chunk.","// The chunk loading function for additional chunks",`${j.ensureChunk} = ${E.basicFunction("chunkId",[`return Promise.all(Object.keys(${N}).reduce(${E.basicFunction("promises, key",[`${N}[key](chunkId, promises);`,"return promises;"])}, []));`])};`])}else{return q.asString(["// The chunk loading function for additional chunks","// Since all referenced chunks are already included","// in this file, this function is empty here.",`${j.ensureChunk} = ${E.returningFunction("Promise.resolve()")};`])}}}E.exports=EnsureChunkRuntimeModule},9609:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{first:G}=R(26221);class GetChunkFilenameRuntimeModule extends ${constructor(E,N,R,j,$){super(`get ${N} chunk filename`);this.contentType=E;this.global=R;this.getFilenameForChunk=j;this.allChunks=$;this.dependentHash=true}generate(){const{global:E,chunk:N,chunkGraph:R,contentType:$,getFilenameForChunk:ie,allChunks:ae,compilation:ce}=this;const{runtimeTemplate:le}=ce;const _e=new Map;let Ee=0;let Te;const addChunk=E=>{const N=ie(E);if(N){let R=_e.get(N);if(R===undefined){_e.set(N,R=new Set)}R.add(E);if(typeof N==="string"){if(R.size{const unquotedStringify=N=>{const R=`${N}`;if(R.length>=5&&R===`${E.id}`){return'" + chunkId + "'}const j=JSON.stringify(R);return j.slice(1,j.length-1)};const unquotedStringifyWithLength=E=>N=>unquotedStringify(`${E}`.slice(0,N));const R=typeof N==="function"?JSON.stringify(N({chunk:E,contentHashType:$})):JSON.stringify(N);const q=ce.getPath(R,{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:unquotedStringify(E.id),hash:unquotedStringify(E.renderedHash),hashWithLength:unquotedStringifyWithLength(E.renderedHash),name:unquotedStringify(E.name||E.id),contentHash:{[$]:unquotedStringify(E.contentHash[$])},contentHashWithLength:{[$]:unquotedStringifyWithLength(E.contentHash[$])}},contentHashType:$});let G=Ie.get(q);if(G===undefined){Ie.set(q,G=new Set)}G.add(E.id)};for(const[E,N]of _e){if(E!==Te){for(const R of N)addStaticUrl(R,E)}else{for(const E of N)Ne.add(E)}}const createMap=E=>{const N={};let R=false;let j;let $=0;for(const q of Ne){const G=E(q);if(G===q.id){R=true}else{N[q.id]=G;j=q.id;$++}}if($===0)return"chunkId";if($===1){return R?`(chunkId === ${JSON.stringify(j)} ? ${JSON.stringify(N[j])} : chunkId)`:JSON.stringify(N[j])}return R?`(${JSON.stringify(N)}[chunkId] || chunkId)`:`${JSON.stringify(N)}[chunkId]`};const mapExpr=E=>`" + ${createMap(E)} + "`;const mapExprWithLength=E=>N=>`" + ${createMap((R=>`${E(R)}`.slice(0,N)))} + "`;const Me=Te&&ce.getPath(JSON.stringify(Te),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:{id:`" + chunkId + "`,hash:mapExpr((E=>E.renderedHash)),hashWithLength:mapExprWithLength((E=>E.renderedHash)),name:mapExpr((E=>E.name||E.id)),contentHash:{[$]:mapExpr((E=>E.contentHash[$]))},contentHashWithLength:{[$]:mapExprWithLength((E=>E.contentHash[$]))}},contentHashType:$});return q.asString([`// This function allow to reference ${we.join(" and ")}`,`${E} = ${le.basicFunction("chunkId",Ie.size>0?["// return url for filenames not based on template",q.asString(Array.from(Ie,(([E,N])=>{const R=N.size===1?`chunkId === ${JSON.stringify(G(N))}`:`{${Array.from(N,(E=>`${JSON.stringify(E)}:1`)).join(",")}}[chunkId]`;return`if (${R}) return ${E};`}))),"// return url for filenames based on template",`return ${Me};`]:["// return url for filenames based on template",`return ${Me};`])};`])}}E.exports=GetChunkFilenameRuntimeModule},75948:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class GetFullHashRuntimeModule extends ${constructor(){super("getFullHash");this.fullHash=true}generate(){const{runtimeTemplate:E}=this.compilation;return`${j.getFullHash} = ${E.returningFunction(JSON.stringify(this.compilation.hash||"XXXX"))}`}}E.exports=GetFullHashRuntimeModule},36100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GetMainFilenameRuntimeModule extends ${constructor(E,N,R){super(`get ${E} filename`);this.global=N;this.filename=R}generate(){const{global:E,filename:N,compilation:R,chunk:$}=this;const{runtimeTemplate:G}=R;const ie=R.getPath(JSON.stringify(N),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}().slice(0, ${E}) + "`,chunk:$,runtime:$.runtime});return q.asString([`${E} = ${G.returningFunction(ie)};`])}}E.exports=GetMainFilenameRuntimeModule},13376:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class GlobalRuntimeModule extends ${constructor(){super("global")}generate(){return q.asString([`${j.global} = (function() {`,q.indent(["if (typeof globalThis === 'object') return globalThis;","try {",q.indent("return this || new Function('return this')();"),"} catch (e) {",q.indent("if (typeof window === 'object') return window;"),"}"]),"})();"])}}E.exports=GlobalRuntimeModule},37522:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class HasOwnPropertyRuntimeModule extends ${constructor(){super("hasOwnProperty shorthand")}generate(){const{runtimeTemplate:E}=this.compilation;return q.asString([`${j.hasOwnProperty} = ${E.returningFunction("Object.prototype.hasOwnProperty.call(obj, prop)","obj, prop")}`])}}E.exports=HasOwnPropertyRuntimeModule},9851:(E,N,R)=>{"use strict";const j=R(66804);class HelperRuntimeModule extends j{constructor(E){super(E)}}E.exports=HelperRuntimeModule},67104:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(58159);const ie=R(9851);const ae=new WeakMap;class LoadScriptRuntimeModule extends ie{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=ae.get(E);if(N===undefined){N={createScript:new j(["source","chunk"])};ae.set(E,N)}return N}constructor(E){super("load script");this._withCreateScriptUrl=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N,outputOptions:R}=E;const{scriptType:j,chunkLoadTimeout:$,crossOriginLoading:ie,uniqueName:ae,charset:ce}=R;const le=q.loadScript;const{createScript:_e}=LoadScriptRuntimeModule.getCompilationHooks(E);const Ee=G.asString(["script = document.createElement('script');",j?`script.type = ${JSON.stringify(j)};`:"",ce?"script.charset = 'utf-8';":"",`script.timeout = ${$/1e3};`,`if (${q.scriptNonce}) {`,G.indent(`script.setAttribute("nonce", ${q.scriptNonce});`),"}",ae?'script.setAttribute("data-webpack", dataWebpackPrefix + key);':"",`script.src = ${this._withCreateScriptUrl?`${q.createScriptUrl}(url)`:"url"};`,ie?G.asString(["if (script.src.indexOf(window.location.origin + '/') !== 0) {",G.indent(`script.crossOrigin = ${JSON.stringify(ie)};`),"}"]):""]);return G.asString(["var inProgress = {};",ae?`var dataWebpackPrefix = ${JSON.stringify(ae+":")};`:"// data-webpack is not used as build has no uniqueName","// loadScript function to load a script via script tag",`${le} = ${N.basicFunction("url, done, key, chunkId",["if(inProgress[url]) { inProgress[url].push(done); return; }","var script, needAttach;","if(key !== undefined) {",G.indent(['var scripts = document.getElementsByTagName("script");',"for(var i = 0; i < scripts.length; i++) {",G.indent(["var s = scripts[i];",`if(s.getAttribute("src") == url${ae?' || s.getAttribute("data-webpack") == dataWebpackPrefix + key':""}) { script = s; break; }`]),"}"]),"}","if(!script) {",G.indent(["needAttach = true;",_e.call(Ee,this.chunk)]),"}","inProgress[url] = [done];","var onScriptComplete = "+N.basicFunction("prev, event",G.asString(["// avoid mem leaks in IE.","script.onerror = script.onload = null;","clearTimeout(timeout);","var doneFns = inProgress[url];","delete inProgress[url];","script.parentNode && script.parentNode.removeChild(script);",`doneFns && doneFns.forEach(${N.returningFunction("fn(event)","fn")});`,"if(prev) return prev(event);"])),";",`var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), ${$});`,"script.onerror = onScriptComplete.bind(null, script.onerror);","script.onload = onScriptComplete.bind(null, script.onload);","needAttach && document.head.appendChild(script);"])};`])}}E.exports=LoadScriptRuntimeModule},14676:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class MakeNamespaceObjectRuntimeModule extends q{constructor(){super("make namespace object")}generate(){const{runtimeTemplate:E}=this.compilation;const N=j.makeNamespaceObject;return $.asString(["// define __esModule on exports",`${N} = ${E.basicFunction("exports",["if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {",$.indent(["Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });"]),"}","Object.defineProperty(exports, '__esModule', { value: true });"])};`])}}E.exports=MakeNamespaceObjectRuntimeModule},8299:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class OnChunksLoadedRuntimeModule extends ${constructor(){super("chunk loaded")}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return q.asString(["var deferred = [];",`${j.onChunksLoaded} = ${N.basicFunction("result, chunkIds, fn, priority",["if(chunkIds) {",q.indent(["priority = priority || 0;","for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];","deferred[i] = [chunkIds, fn, priority];","return;"]),"}","var notFulfilled = Infinity;","for (var i = 0; i < deferred.length; i++) {",q.indent([N.destructureArray(["chunkIds","fn","priority"],"deferred[i]"),"var fulfilled = true;","for (var j = 0; j < chunkIds.length; j++) {",q.indent([`if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(${j.onChunksLoaded}).every(${N.returningFunction(`${j.onChunksLoaded}[key](chunkIds[j])`,"key")})) {`,q.indent(["chunkIds.splice(j--, 1);"]),"} else {",q.indent(["fulfilled = false;","if(priority < notFulfilled) notFulfilled = priority;"]),"}"]),"}","if(fulfilled) {",q.indent(["deferred.splice(i--, 1)","var r = fn();","if (r !== undefined) result = r;"]),"}"]),"}","return result;"])};`])}}E.exports=OnChunksLoadedRuntimeModule},48977:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class PublicPathRuntimeModule extends ${constructor(E){super("publicPath",$.STAGE_BASIC);this.publicPath=E}generate(){const{compilation:E,publicPath:N}=this;return`${j.publicPath} = ${JSON.stringify(E.getPath(N||"",{hash:E.hash||"XXXX"}))};`}}E.exports=PublicPathRuntimeModule},21355:(E,N,R)=>{"use strict";const j=R(76150);const $=R(58159);const q=R(9851);class RelativeUrlRuntimeModule extends q{constructor(){super("relative url")}generate(){const{runtimeTemplate:E}=this.compilation;return $.asString([`${j.relativeUrl} = function RelativeURL(url) {`,$.indent(['var realUrl = new URL(url, "x:/");',"var values = {};","for (var key in realUrl) values[key] = realUrl[key];","values.href = url;",'values.pathname = url.replace(/[?#].*/, "");','values.origin = values.protocol = "";',`values.toString = values.toJSON = ${E.returningFunction("url")};`,"for (var key in values) Object.defineProperty(this, key, { enumerable: true, configurable: true, value: values[key] });"]),"};",`${j.relativeUrl}.prototype = URL.prototype;`])}}E.exports=RelativeUrlRuntimeModule},41982:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class RuntimeIdRuntimeModule extends ${constructor(){super("runtimeId")}generate(){const{chunkGraph:E,chunk:N}=this;const R=N.runtime;if(typeof R!=="string")throw new Error("RuntimeIdRuntimeModule must be in a single runtime");const $=E.getRuntimeId(R);return`${j.runtimeId} = ${JSON.stringify($)};`}}E.exports=RuntimeIdRuntimeModule},64997:(E,N,R)=>{"use strict";const j=R(76150);const $=R(55616);const q=R(34487);class StartupChunkDependenciesPlugin{constructor(E){this.chunkLoading=E.chunkLoading;this.asyncChunkLoading=typeof E.asyncChunkLoading==="boolean"?E.asyncChunkLoading:true}apply(E){E.hooks.thisCompilation.tap("StartupChunkDependenciesPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j===this.chunkLoading};E.hooks.additionalTreeRuntimeRequirements.tap("StartupChunkDependenciesPlugin",((N,R,{chunkGraph:q})=>{if(!isEnabledForChunk(N))return;if(q.hasChunkEntryDependentChunks(N)){R.add(j.startup);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new $(this.asyncChunkLoading))}}));E.hooks.runtimeRequirementInTree.for(j.startupEntrypoint).tap("StartupChunkDependenciesPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;R.add(j.require);R.add(j.ensureChunk);R.add(j.ensureChunkIncludeEntries);E.addRuntimeModule(N,new q(this.asyncChunkLoading))}))}))}}E.exports=StartupChunkDependenciesPlugin},55616:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class StartupChunkDependenciesRuntimeModule extends ${constructor(E){super("startup chunk dependencies",$.STAGE_TRIGGER);this.asyncChunkLoading=E}generate(){const{chunkGraph:E,chunk:N,compilation:R}=this;const{runtimeTemplate:$}=R;const G=Array.from(E.getChunkEntryDependentChunksIterable(N)).map((E=>E.id));return q.asString([`var next = ${j.startup};`,`${j.startup} = ${$.basicFunction("",!this.asyncChunkLoading?G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)});`)).concat("return next();"):G.length===1?`return ${j.ensureChunk}(${JSON.stringify(G[0])}).then(next);`:G.length>2?[`return Promise.all(${JSON.stringify(G)}.map(${j.ensureChunk}, __webpack_require__)).then(next);`]:["return Promise.all([",q.indent(G.map((E=>`${j.ensureChunk}(${JSON.stringify(E)})`)).join(",\n")),"]).then(next);"])};`])}}E.exports=StartupChunkDependenciesRuntimeModule},34487:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class StartupEntrypointRuntimeModule extends ${constructor(E){super("startup entrypoint");this.asyncChunkLoading=E}generate(){const{compilation:E}=this;const{runtimeTemplate:N}=E;return`${j.startupEntrypoint} = ${N.basicFunction("result, chunkIds, fn",["// arguments: chunkIds, moduleId are deprecated","var moduleId = chunkIds;",`if(!fn) chunkIds = result, fn = ${N.returningFunction(`__webpack_require__(${j.entryModuleId} = moduleId)`)};`,...this.asyncChunkLoading?[`return Promise.all(chunkIds.map(${j.ensureChunk}, __webpack_require__)).then(${N.basicFunction("",["var r = fn();","return r === undefined ? result : r;"])})`]:[`chunkIds.map(${j.ensureChunk}, __webpack_require__)`,"var r = fn();","return r === undefined ? result : r;"]])}`}}E.exports=StartupEntrypointRuntimeModule},76752:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);class SystemContextRuntimeModule extends ${constructor(){super("__system_context__")}generate(){return`${j.systemContext} = __system_context__;`}}E.exports=SystemContextRuntimeModule},68495:(E,N,R)=>{"use strict";const j=R(53520);const $=/^data:([^;,]+)?((?:;[^;,]+)*?)(?:;(base64))?,(.*)$/i;const decodeDataURI=E=>{const N=$.exec(E);if(!N)return null;const R=N[3];const j=N[4];return R?Buffer.from(j,"base64"):Buffer.from(decodeURIComponent(j),"ascii")};class DataUriPlugin{apply(E){E.hooks.compilation.tap("DataUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("data").tap("DataUriPlugin",(E=>{const N=$.exec(E.resource);if(N){E.data.mimetype=N[1]||"";E.data.parameters=N[2]||"";E.data.encoding=N[3]||false;E.data.encodedContent=N[4]||""}}));j.getCompilationHooks(E).readResourceForScheme.for("data").tap("DataUriPlugin",(E=>decodeDataURI(E)))}))}}E.exports=DataUriPlugin},99184:(E,N,R)=>{"use strict";const{URL:j,fileURLToPath:$}=R(57310);const{NormalModule:q}=R(86443);class FileUriPlugin{apply(E){E.hooks.compilation.tap("FileUriPlugin",((E,{normalModuleFactory:N})=>{N.hooks.resolveForScheme.for("file").tap("FileUriPlugin",(E=>{const N=new j(E.resource);const R=$(N);const q=N.search;const G=N.hash;E.path=R;E.query=q;E.fragment=G;E.resource=R+q+G;return true}));const R=q.getCompilationHooks(E);R.readResource.for(undefined).tapAsync("FileUriPlugin",((E,N)=>{const{resourcePath:R}=E;E.addDependency(R);E.fs.readFile(R,N)}))}))}}E.exports=FileUriPlugin},7201:(E,N,R)=>{"use strict";const{extname:j,basename:$}=R(71017);const{URL:q}=R(57310);const{createGunzip:G,createBrotliDecompress:ie,createInflate:ae}=R(59796);const ce=R(53520);const le=R(35817);const _e=R(35891);const{mkdirp:Ee,dirname:Te,join:we}=R(95396);const Ie=R(91671);const Ne=Ie((()=>R(13685)));const Me=Ie((()=>R(95687)));let Le=undefined;const Be=le(R(44363),(()=>R(5404)),{name:"Http Uri Plugin",baseDataPath:"options"});const toSafePath=E=>E.replace(/^[^a-zA-Z0-9]+|[^a-zA-Z0-9]+$/g,"").replace(/[^a-zA-Z0-9._-]+/g,"_");const computeIntegrity=E=>{const N=_e("sha512");N.update(E);const R="sha512-"+N.digest("base64");return R};const verifyIntegrity=(E,N)=>{if(N==="ignore")return true;return computeIntegrity(E)===N};const parseKeyValuePairs=E=>{const N={};for(const R of E.split(",")){const E=R.indexOf("=");if(E>=0){const j=R.slice(0,E).trim();const $=R.slice(E+1).trim();N[j]=$}else{const E=R.trim();if(!E)continue;N[E]=E}}return N};const parseCacheControl=(E,N)=>{let R=true;let j=true;let $=0;if(E){const q=parseKeyValuePairs(E);if(q["no-cache"])R=j=false;if(q["max-age"]&&!isNaN(+q["max-age"])){$=N+ +q["max-age"]*1e3}if(q["must-revalidate"])$=0}return{storeLock:j,storeCache:R,validUntil:$}};const areLockfileEntriesEqual=(E,N)=>E.resolved===N.resolved&&E.integrity===N.integrity&&E.contentType===N.contentType;const entryToString=E=>`resolved: ${E.resolved}, integrity: ${E.integrity}, contentType: ${E.contentType}`;class Lockfile{constructor(){this.version=1;this.entries=new Map}static parse(E){const N=JSON.parse(E);if(N.version!==1)throw new Error(`Unsupported lockfile version ${N.version}`);const R=new Lockfile;for(const E of Object.keys(N)){if(E==="version")continue;const j=N[E];R.entries.set(E,typeof j==="string"?j:{resolved:E,...j})}return R}toString(){let E="{\n";const N=Array.from(this.entries).sort((([E],[N])=>E{let N=false;let R=undefined;let j=undefined;let $=undefined;return q=>{if(N){if(j!==undefined)return q(null,j);if(R!==undefined)return q(R);if($===undefined)$=[q];else $.push(q);return}N=true;E(((E,N)=>{if(E)R=E;else j=N;const G=$;$=undefined;q(E,N);if(G!==undefined)for(const R of G)R(E,N)}))}};const cachedWithKey=(E,N=E)=>{const R=new Map;const resultFn=(N,j)=>{const $=R.get(N);if($!==undefined){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined};R.set(N,q);E(N,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};resultFn.force=(E,j)=>{const $=R.get(E);if($!==undefined&&$.force){if($.result!==undefined)return j(null,$.result);if($.error!==undefined)return j($.error);if($.callbacks===undefined)$.callbacks=[j];else $.callbacks.push(j);return}const q={result:undefined,error:undefined,callbacks:undefined,force:true};R.set(E,q);N(E,((E,N)=>{if(E)q.error=E;else q.result=N;const R=q.callbacks;q.callbacks=undefined;j(E,N);if(R!==undefined)for(const j of R)j(E,N)}))};return resultFn};class HttpUriPlugin{constructor(E){Be(E);this._lockfileLocation=E.lockfileLocation;this._cacheLocation=E.cacheLocation;this._upgrade=E.upgrade;this._frozen=E.frozen;this._allowedUris=E.allowedUris}apply(E){const N=[{scheme:"http",fetch:(E,N,R)=>Ne().get(E,N,R)},{scheme:"https",fetch:(E,N,R)=>Me().get(E,N,R)}];let R;E.hooks.compilation.tap("HttpUriPlugin",((le,{normalModuleFactory:Ie})=>{const Ne=E.intermediateFileSystem;const Me=le.inputFileSystem;const Be=le.getCache("webpack.HttpUriPlugin");const je=le.getLogger("webpack.HttpUriPlugin");const Ue=this._lockfileLocation||we(Ne,E.context,E.name?`${toSafePath(E.name)}.webpack.lock`:"webpack.lock");const ze=this._cacheLocation!==undefined?this._cacheLocation:Ue+".data";const We=this._upgrade||false;const Je=this._frozen||false;const Ve="sha512";const qe="hex";const He=20;const Ge=this._allowedUris;let Ke=false;const Qe=new Map;const getCacheKey=E=>{const N=Qe.get(E);if(N!==undefined)return N;const R=_getCacheKey(E);Qe.set(E,R);return R};const _getCacheKey=E=>{const N=new q(E);const R=toSafePath(N.origin);const $=toSafePath(N.pathname);const G=toSafePath(N.search);let ie=j($);if(ie.length>20)ie="";const ae=ie?$.slice(0,-ie.length):$;const ce=_e(Ve);ce.update(E);const le=ce.digest(qe).slice(0,He);return`${R.slice(-50)}/${`${ae}${G?`_${G}`:""}`.slice(0,150)}_${le}${ie}`};const Xe=cachedWithoutKey((N=>{const readLockfile=()=>{Ne.readFile(Ue,((j,$)=>{if(j&&j.code!=="ENOENT"){le.missingDependencies.add(Ue);return N(j)}le.fileDependencies.add(Ue);le.fileSystemInfo.createSnapshot(E.fsStartTime,$?[Ue]:[],[],$?[]:[Ue],{timestamp:true},((E,j)=>{if(E)return N(E);const q=$?Lockfile.parse($.toString("utf-8")):new Lockfile;R={lockfile:q,snapshot:j};N(null,q)}))}))};if(R){le.fileSystemInfo.checkSnapshotValid(R.snapshot,((E,j)=>{if(E)return N(E);if(!j)return readLockfile();N(null,R.lockfile)}))}else{readLockfile()}}));let Ye=undefined;const storeLockEntry=(E,N,R)=>{const j=E.entries.get(N);if(Ye===undefined)Ye=new Map;Ye.set(N,R);E.entries.set(N,R);if(!j){je.log(`${N} added to lockfile`)}else if(typeof j==="string"){if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j} -> ${R}`)}else{je.log(`${N} updated in lockfile: ${j} -> ${R.resolved}`)}}else if(typeof R==="string"){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R}`)}else if(j.resolved!==R.resolved){je.log(`${N} updated in lockfile: ${j.resolved} -> ${R.resolved}`)}else if(j.integrity!==R.integrity){je.log(`${N} updated in lockfile: content changed`)}else if(j.contentType!==R.contentType){je.log(`${N} updated in lockfile: ${j.contentType} -> ${R.contentType}`)}else{je.log(`${N} updated in lockfile`)}};const storeResult=(E,N,R,j)=>{if(R.storeLock){storeLockEntry(E,N,R.entry);if(!ze||!R.content)return j(null,R);const $=getCacheKey(R.entry.resolved);const q=we(Ne,ze,$);Ee(Ne,Te(Ne,q),(E=>{if(E)return j(E);Ne.writeFile(q,R.content,(E=>{if(E)return j(E);j(null,R)}))}))}else{storeLockEntry(E,N,"no-cache");j(null,R)}};for(const{scheme:E,fetch:R}of N){const resolveContent=(E,R,j)=>{const handleResult=($,q)=>{if($)return j($);if("location"in q){return resolveContent(q.location,R,((E,N)=>{if(E)return j(E);j(null,{entry:N.entry,content:N.content,storeLock:N.storeLock&&q.storeLock})}))}else{if(!q.fresh&&R&&q.entry.integrity!==R&&!verifyIntegrity(q.content,R)){return N.force(E,handleResult)}return j(null,{entry:q.entry,content:q.content,storeLock:q.storeLock})}};N(E,handleResult)};const fetchContentRaw=(E,N,j)=>{const $=Date.now();R(new q(E),{headers:{"accept-encoding":"gzip, deflate, br","user-agent":"webpack","if-none-match":N?N.etag||null:null}},(R=>{const ce=R.headers["etag"];const le=R.headers["location"];const _e=R.headers["cache-control"];const{storeLock:Ee,storeCache:Te,validUntil:we}=parseCacheControl(_e,$);const finishWith=N=>{if("location"in N){je.debug(`GET ${E} [${R.statusCode}] -> ${N.location}`)}else{je.debug(`GET ${E} [${R.statusCode}] ${Math.ceil(N.content.length/1024)} kB${!Ee?" no-cache":""}`)}const $={...N,fresh:true,storeLock:Ee,storeCache:Te,validUntil:we,etag:ce};if(!Te){je.log(`${E} can't be stored in cache, due to Cache-Control header: ${_e}`);return j(null,$)}Be.store(E,null,{...$,fresh:false},(N=>{if(N){je.warn(`${E} can't be stored in cache: ${N.message}`);je.debug(N.stack)}j(null,$)}))};if(R.statusCode===304){if(N.validUntil=301&&R.statusCode<=308){return finishWith({location:new q(le,E).href})}const Ie=R.headers["content-type"]||"";const Ne=[];const Me=R.headers["content-encoding"];let Le=R;if(Me==="gzip"){Le=Le.pipe(G())}else if(Me==="br"){Le=Le.pipe(ie())}else if(Me==="deflate"){Le=Le.pipe(ae())}Le.on("data",(E=>{Ne.push(E)}));Le.on("end",(()=>{if(!R.complete){je.log(`GET ${E} [${R.statusCode}] (terminated)`);return j(new Error(`${E} request was terminated`))}const N=Buffer.concat(Ne);if(R.statusCode!==200){je.log(`GET ${E} [${R.statusCode}]`);return j(new Error(`${E} request status code = ${R.statusCode}\n${N.toString("utf-8")}`))}const $=computeIntegrity(N);const q={resolved:E,integrity:$,contentType:Ie};finishWith({entry:q,content:N})}))})).on("error",(N=>{je.log(`GET ${E} (error)`);N.message+=`\nwhile fetching ${E}`;j(N)}))};const N=cachedWithKey(((E,N)=>{Be.get(E,null,((R,j)=>{if(R)return N(R);if(j){const E=j.validUntil>=Date.now();if(E)return N(null,j)}fetchContentRaw(E,j,N)}))}),((E,N)=>fetchContentRaw(E,undefined,N)));const isAllowed=E=>{for(const N of Ge){if(typeof N==="string"){if(E.startsWith(N))return true}else if(typeof N==="function"){if(N(E))return true}else{if(N.test(E))return true}}return false};const j=cachedWithKey(((E,N)=>{if(!isAllowed(E)){return N(new Error(`${E} doesn't match the allowedUris policy. These URIs are allowed:\n${Ge.map((E=>` - ${E}`)).join("\n")}`))}Xe(((R,j)=>{if(R)return N(R);const $=j.entries.get(E);if(!$){if(Je){return N(new Error(`${E} has no lockfile entry and lockfile is frozen`))}resolveContent(E,null,((R,$)=>{if(R)return N(R);storeResult(j,E,$,N)}));return}if(typeof $==="string"){const R=$;resolveContent(E,null,(($,q)=>{if($)return N($);if(!q.storeLock||R==="ignore")return N(null,q);if(Je){return N(new Error(`${E} used to have ${R} lockfile entry and has content now, but lockfile is frozen`))}if(!We){return N(new Error(`${E} used to have ${R} lockfile entry and has content now.\nThis should be reflected in the lockfile, so this lockfile entry must be upgraded, but upgrading is not enabled.\nRemove this line from the lockfile to force upgrading.`))}storeResult(j,E,q,N)}));return}let q=$;const doFetch=R=>{resolveContent(E,q.integrity,(($,G)=>{if($){if(R){je.warn(`Upgrade request to ${E} failed: ${$.message}`);je.debug($.stack);return N(null,{entry:q,content:R})}return N($)}if(!G.storeLock){if(Je){return N(new Error(`${E} has a lockfile entry and is no-cache now, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}if(!areLockfileEntriesEqual(G.entry,q)){if(Je){return N(new Error(`${E} has an outdated lockfile entry, but lockfile is frozen\nLockfile: ${entryToString(q)}\nExpected: ${entryToString(G.entry)}`))}storeResult(j,E,G,N);return}if(!R&&ze){if(Je){return N(new Error(`${E} is missing content in the lockfile cache, but lockfile is frozen\nLockfile: ${entryToString(q)}`))}storeResult(j,E,G,N);return}return N(null,G)}))};if(ze){const R=getCacheKey(q.resolved);const $=we(Ne,ze,R);Me.readFile($,((R,G)=>{const ie=G;if(R){if(R.code==="ENOENT")return doFetch();return N(R)}const continueWithCachedContent=E=>{if(!We){return N(null,{entry:q,content:ie})}return doFetch(ie)};if(!verifyIntegrity(ie,q.integrity)){let R;let G=false;try{R=Buffer.from(ie.toString("utf-8").replace(/\r\n/g,"\n"));G=verifyIntegrity(R,q.integrity)}catch(E){}if(G){if(!Ke){const E=`Incorrect end of line sequence was detected in the lockfile cache.\nThe lockfile cache is protected by integrity checks, so any external modification will lead to a corrupted lockfile cache.\nWhen using git make sure to configure .gitattributes correctly for the lockfile cache:\n **/*webpack.lock.data/** -text\nThis will avoid that the end of line sequence is changed by git on Windows.`;if(Je){je.error(E)}else{je.warn(E);je.info("Lockfile cache will be automatically fixed now, but when lockfile is frozen this would result in an error.")}Ke=true}if(!Je){je.log(`${$} fixed end of line sequence (\\r\\n instead of \\n).`);Ne.writeFile($,R,(E=>{if(E)return N(E);continueWithCachedContent(R)}));return}}if(Je){return N(new Error(`${q.resolved} integrity mismatch, expected content with integrity ${q.integrity} but got ${computeIntegrity(ie)}.\nLockfile corrupted (${G?"end of line sequence was unexpectedly changed":"incorrectly merged? changed by other tools?"}).\nRun build with un-frozen lockfile to automatically fix lockfile.`))}else{q={...q,integrity:computeIntegrity(ie)};storeLockEntry(j,E,q)}}continueWithCachedContent(G)}))}else{doFetch()}}))}));const respondWithUrlModule=(E,N,R)=>{j(E.href,((j,$)=>{if(j)return R(j);N.resource=E.href;N.path=E.origin+E.pathname;N.query=E.search;N.fragment=E.hash;N.context=new q(".",$.entry.resolved).href.slice(0,-1);N.data.mimetype=$.entry.contentType;R(null,true)}))};Ie.hooks.resolveForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{respondWithUrlModule(new q(E.resource),E,R)}));Ie.hooks.resolveInScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>{if(N.dependencyType!=="url"&&!/^\.{0,2}\//.test(E.resource)){return R()}respondWithUrlModule(new q(E.resource,N.context+"/"),E,R)}));const $=ce.getCompilationHooks(le);$.readResourceForScheme.for(E).tapAsync("HttpUriPlugin",((E,N,R)=>j(E,((E,j)=>{if(E)return R(E);N.buildInfo.resourceIntegrity=j.entry.integrity;R(null,j.content)}))));$.needBuild.tapAsync("HttpUriPlugin",((N,R,$)=>{if(N.resource&&N.resource.startsWith(`${E}://`)){j(N.resource,((E,R)=>{if(E)return $(E);if(R.entry.integrity!==N.buildInfo.resourceIntegrity){return $(null,true)}$()}))}else{return $()}}))}le.hooks.finishModules.tapAsync("HttpUriPlugin",((E,N)=>{if(!Ye)return N();const R=j(Ue);const q=we(Ne,Te(Ne,Ue),`.${$(Ue,R)}.${Math.random()*1e4|0}${R}`);const writeDone=()=>{const E=Le.shift();if(E){E()}else{Le=undefined}};const runWrite=()=>{Ne.readFile(Ue,((E,R)=>{if(E&&E.code!=="ENOENT"){writeDone();return N(E)}const j=R?Lockfile.parse(R.toString("utf-8")):new Lockfile;for(const[E,N]of Ye){j.entries.set(E,N)}Ne.writeFile(q,j.toString(),(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}Ne.rename(q,Ue,(E=>{if(E){writeDone();return Ne.unlink(q,(()=>N(E)))}writeDone();N()}))}))}))};if(Le){Le.push(runWrite)}else{Le=[];runWrite()}}))}))}}E.exports=HttpUriPlugin},22324:E=>{"use strict";class ArraySerializer{serialize(E,{write:N}){N(E.length);for(const R of E)N(R)}deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";const j=R(91671);const $=R(43065);const q=11;const G=12;const ie=13;const ae=14;const ce=16;const le=17;const _e=18;const Ee=19;const Te=20;const we=21;const Ie=22;const Ne=23;const Me=24;const Le=30;const Be=31;const je=96;const Ue=64;const ze=32;const We=128;const Je=224;const Ve=31;const qe=127;const He=1;const Ge=1;const Ke=4;const Qe=8;const Xe=Symbol("MEASURE_START_OPERATION");const Ye=Symbol("MEASURE_END_OPERATION");const identifyNumber=E=>{if(E===(E|0)){if(E<=127&&E>=-128)return 0;if(E<=2147483647&&E>=-2147483648)return 1}return 2};class BinaryMiddleware extends ${serialize(E,N){return this._serialize(E,N)}_serializeLazy(E,N){return $.serializeLazy(E,(E=>this._serialize(E,N)))}_serialize(E,N,R={allocationSize:1024,increaseCounter:0,leftOverBuffer:null}){let j=null;let Je=[];let Ve=R?R.leftOverBuffer:null;R.leftOverBuffer=null;let qe=0;if(Ve===null){Ve=Buffer.allocUnsafe(R.allocationSize)}const allocate=E=>{if(Ve!==null){if(Ve.length-qe>=E)return;flush()}if(j&&j.length>=E){Ve=j;j=null}else{Ve=Buffer.allocUnsafe(Math.max(E,R.allocationSize));if(!(R.increaseCounter=(R.increaseCounter+1)%4)&&R.allocationSize<16777216){R.allocationSize=R.allocationSize<<1}}};const flush=()=>{if(Ve!==null){if(qe>0){Je.push(Buffer.from(Ve.buffer,Ve.byteOffset,qe))}if(!j||j.length{Ve.writeUInt8(E,qe++)};const writeU32=E=>{Ve.writeUInt32LE(E,qe);qe+=4};const Ze=[];const measureStart=()=>{Ze.push(Je.length,qe)};const measureEnd=()=>{const E=Ze.pop();const N=Ze.pop();let R=qe-E;for(let E=N;E0&&(E=G[G.length-1])!==0){const R=4294967295-E;if(R>=N.length){G[G.length-1]+=N.length}else{G.push(N.length-R);G[G.length-2]=4294967295}}else{G.push(N.length)}}allocate(5+G.length*4);writeU8(q);writeU32(G.length);for(const E of G){writeU32(E)}flush();for(const N of E){Je.push(N)}break}case"string":{const E=Buffer.byteLength(et);if(E>=128||E!==et.length){allocate(E+He+Ke);writeU8(Le);writeU32(E);Ve.write(et,qe);qe+=E}else if(E>=70){allocate(E+He);writeU8(We|E);Ve.write(et,qe,"latin1");qe+=E}else{allocate(E+He);writeU8(We|E);for(let N=0;N=0&&et<=10){allocate(Ge);writeU8(et);break}let R=1;for(;R<32&&Ze+R0){Ve.writeInt8(E[Ze],qe);qe+=Ge;R--;Ze++}break;case 1:allocate(He+Ke*R);writeU8(Ue|R-1);while(R>0){Ve.writeInt32LE(E[Ze],qe);qe+=Ke;R--;Ze++}break;case 2:allocate(He+Qe*R);writeU8(ze|R-1);while(R>0){Ve.writeDoubleLE(E[Ze],qe);qe+=Qe;R--;Ze++}break}Ze--;break}case"boolean":{let N=et===true?1:0;const R=[];let j=1;let $;for($=1;$<4294967295&&Ze+$this._deserialize(E,N))),this,undefined,E)}_deserializeLazy(E,N){return $.deserializeLazy(E,(E=>this._deserialize(E,N)))}_deserialize(E,N){let R=0;let j=E[0];let $=Buffer.isBuffer(j);let He=0;const Xe=N.retainedBuffer||(E=>E);const checkOverflow=()=>{if(He>=j.length){He=0;R++;j=R$&&E+He<=j.length;const ensureBuffer=()=>{if(!$){throw new Error(j===null?"Unexpected end of stream":"Unexpected lazy element in stream")}};const read=N=>{ensureBuffer();const q=j.length-He;if(q{ensureBuffer();const N=j.length-He;if(N{ensureBuffer();const E=j.readUInt8(He);He+=Ge;checkOverflow();return E};const readU32=()=>read(Ke).readUInt32LE(0);const readBits=(E,N)=>{let R=1;while(N!==0){Ze.push((E&R)!==0);R=R<<1;N--}};const Ye=Array.from({length:256}).map(((Ye,et)=>{switch(et){case q:return()=>{const q=readU32();const G=Array.from({length:q}).map((()=>readU32()));const ie=[];for(let N of G){if(N===0){if(typeof j!=="function"){throw new Error("Unexpected non-lazy element in stream")}ie.push(j);R++;j=R0)}}Ze.push(this._createLazyDeserialized(ie,N))};case Be:return()=>{const E=readU32();Ze.push(Xe(read(E)))};case G:return()=>Ze.push(true);case ie:return()=>Ze.push(false);case _e:return()=>Ze.push(null,null,null);case le:return()=>Ze.push(null,null);case ce:return()=>Ze.push(null);case Ne:return()=>Ze.push(null,true);case Me:return()=>Ze.push(null,false);case we:return()=>{if($){Ze.push(null,j.readInt8(He));He+=Ge;checkOverflow()}else{Ze.push(null,read(Ge).readInt8(0))}};case Ie:return()=>{Ze.push(null);if(isInCurrentBuffer(Ke)){Ze.push(j.readInt32LE(He));He+=Ke;checkOverflow()}else{Ze.push(read(Ke).readInt32LE(0))}};case Ee:return()=>{const E=readU8()+4;for(let N=0;N{const E=readU32()+260;for(let N=0;N{const E=readU8();if((E&240)===0){readBits(E,3)}else if((E&224)===0){readBits(E,4)}else if((E&192)===0){readBits(E,5)}else if((E&128)===0){readBits(E,6)}else if(E!==255){let N=(E&127)+7;while(N>8){readBits(readU8(),8);N-=8}readBits(readU8(),N)}else{let E=readU32();while(E>8){readBits(readU8(),8);E-=8}readBits(readU8(),E)}};case Le:return()=>{const E=readU32();if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString(undefined,He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString())}};case We:return()=>Ze.push("");case We|1:return()=>{if($&&He<2147483646){Ze.push(j.toString("latin1",He,He+1));He++;checkOverflow()}else{Ze.push(read(1).toString("latin1"))}};case je:return()=>{if($){Ze.push(j.readInt8(He));He++;checkOverflow()}else{Ze.push(read(1).readInt8(0))}};default:if(et<=10){return()=>Ze.push(et)}else if((et&We)===We){const E=et&qe;return()=>{if(isInCurrentBuffer(E)&&He+E<2147483647){Ze.push(j.toString("latin1",He,He+E));He+=E;checkOverflow()}else{Ze.push(read(E).toString("latin1"))}}}else if((et&Je)===ze){const E=(et&Ve)+1;return()=>{const N=Qe*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ke*E;if(isInCurrentBuffer(N)){for(let N=0;N{const N=Ge*E;if(isInCurrentBuffer(N)){for(let N=0;N{throw new Error(`Unexpected header byte 0x${et.toString(16)}`)}}}}));let Ze=[];while(j!==null){if(typeof j==="function"){Ze.push(this._deserializeLazy(j,N));R++;j=R{"use strict";class DateObjectSerializer{serialize(E,{write:N}){N(E.getTime())}deserialize({read:E}){return new Date(E())}}E.exports=DateObjectSerializer},12020:E=>{"use strict";class ErrorObjectSerializer{constructor(E){this.Type=E}serialize(E,{write:N}){N(E.message);N(E.stack)}deserialize({read:E}){const N=new this.Type;N.message=E();N.stack=E();return N}}E.exports=ErrorObjectSerializer},13829:(E,N,R)=>{"use strict";const{constants:j}=R(14300);const{pipeline:$}=R(12781);const{createBrotliCompress:q,createBrotliDecompress:G,createGzip:ie,createGunzip:ae,constants:ce}=R(59796);const le=R(35891);const{dirname:_e,join:Ee,mkdirp:Te}=R(95396);const we=R(91671);const Ie=R(43065);const Ne=23294071;const hashForName=(E,N)=>{const R=le(N);for(const N of E)R.update(N);return R.digest("hex")};const Me=100*1024*1024;const Le=100*1024*1024;const Be=Buffer.prototype.writeBigUInt64LE?(E,N,R)=>{E.writeBigUInt64LE(BigInt(N),R)}:(E,N,R)=>{const j=N%4294967296;const $=(N-j)/4294967296;E.writeUInt32LE(j,R);E.writeUInt32LE($,R+4)};const je=Buffer.prototype.readBigUInt64LE?(E,N)=>Number(E.readBigUInt64LE(N)):(E,N)=>{const R=E.readUInt32LE(N);const j=E.readUInt32LE(N+4);return j*4294967296+R};const serialize=async(E,N,R,j,$="md4")=>{const q=[];const G=new WeakMap;let ie=undefined;for(const R of await N){if(typeof R==="function"){if(!Ie.isLazy(R))throw new Error("Unexpected function");if(!Ie.isLazy(R,E)){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}ie=undefined;const N=Ie.getLazySerializedValue(R);if(N){if(typeof N==="function"){throw new Error("Unexpected lazy value with non-this target (can't pass through lazy values)")}else{q.push(N)}}else{const N=R();if(N){const ie=Ie.getLazyOptions(R);q.push(serialize(E,N,ie&&ie.name||true,j,$).then((E=>{R.options.size=E.size;G.set(E,R);return E})))}else{throw new Error("Unexpected falsy value returned by lazy value function")}}}else if(R){if(ie){ie.push(R)}else{ie=[R];q.push(ie)}}else{throw new Error("Unexpected falsy value in items array")}}const ae=[];const ce=(await Promise.all(q)).map((E=>{if(Array.isArray(E)||Buffer.isBuffer(E))return E;ae.push(E.backgroundJob);const N=E.name;const R=Buffer.from(N);const j=Buffer.allocUnsafe(8+R.length);Be(j,E.size,0);R.copy(j,8,0);const $=G.get(E);Ie.setLazySerializedValue($,j);return j}));const le=[];for(const E of ce){if(Array.isArray(E)){let N=0;for(const R of E)N+=R.length;while(N>2147483647){le.push(2147483647);N-=2147483647}le.push(N)}else if(E){le.push(-E.length)}else{throw new Error("Unexpected falsy value in resolved data "+E)}}const _e=Buffer.allocUnsafe(8+le.length*4);_e.writeUInt32LE(Ne,0);_e.writeUInt32LE(le.length,4);for(let E=0;E{const j=await R(N);if(j.length===0)throw new Error("Empty file "+N);let $=0;let q=j[0];let G=q.length;let ie=0;if(G===0)throw new Error("Empty file "+N);const nextContent=()=>{$++;q=j[$];G=q.length;ie=0};const ensureData=E=>{if(ie===G){nextContent()}while(G-ieR){ae.push(j[E].slice(0,R));j[E]=j[E].slice(R);R=0;break}else{ae.push(j[E]);$=E;R-=N}}if(R>0)throw new Error("Unexpected end of data");q=Buffer.concat(ae,E);G=E;ie=0}};const readUInt32LE=()=>{ensureData(4);const E=q.readUInt32LE(ie);ie+=4;return E};const readInt32LE=()=>{ensureData(4);const E=q.readInt32LE(ie);ie+=4;return E};const readSlice=E=>{ensureData(E);if(ie===0&&G===E){const N=q;if($+1=0;if(_e&&N){le[le.length-1]+=E}else{le.push(E);_e=N}}const Ee=[];for(let N of le){if(N<0){const j=readSlice(-N);const $=Number(je(j,0));const q=j.slice(8);const G=q.toString();Ee.push(Ie.createLazy(we((()=>deserialize(E,G,R))),E,{name:G,size:$},j))}else{if(ie===G){nextContent()}else if(ie!==0){if(N<=G-ie){Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,N));ie+=N;N=0}else{const E=G-ie;Ee.push(Buffer.from(q.buffer,q.byteOffset+ie,E));N-=E;ie=G}}else{if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}while(N>0){nextContent();if(N>=G){Ee.push(q);N-=G;ie=G}else{Ee.push(Buffer.from(q.buffer,q.byteOffset,N));ie+=N;N=0}}}}return Ee};class FileMiddleware extends Ie{constructor(E,N="md4"){super();this.fs=E;this._hashFunction=N}serialize(E,N){const{filename:R,extension:j=""}=N;return new Promise(((N,G)=>{Te(this.fs,_e(this.fs,R),(ae=>{if(ae)return G(ae);const le=new Set;const writeFile=async(E,N)=>{const G=E?Ee(this.fs,R,`../${E}${j}`):R;await new Promise(((E,R)=>{let j=this.fs.createWriteStream(G+"_");let ae;if(G.endsWith(".gz")){ae=ie({chunkSize:Me,level:ce.Z_BEST_SPEED})}else if(G.endsWith(".br")){ae=q({chunkSize:Me,params:{[ce.BROTLI_PARAM_MODE]:ce.BROTLI_MODE_TEXT,[ce.BROTLI_PARAM_QUALITY]:2,[ce.BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING]:true,[ce.BROTLI_PARAM_SIZE_HINT]:N.reduce(((E,N)=>E+N.length),0)}})}if(ae){$(ae,j,R);j=ae;j.on("finish",(()=>E()))}else{j.on("error",(E=>R(E)));j.on("finish",(()=>E()))}for(const E of N)j.write(E);j.end()}));if(E)le.add(G)};N(serialize(this,E,false,writeFile,this._hashFunction).then((async({backgroundJob:E})=>{await E;await new Promise((E=>this.fs.rename(R,R+".old",(N=>{E()}))));await Promise.all(Array.from(le,(E=>new Promise(((N,R)=>{this.fs.rename(E+"_",E,(E=>{if(E)return R(E);N()}))})))));await new Promise((E=>{this.fs.rename(R+"_",R,(N=>{if(N)return G(N);E()}))}));return true})))}))}))}deserialize(E,N){const{filename:R,extension:$=""}=N;const readFile=E=>new Promise(((N,q)=>{const ie=E?Ee(this.fs,R,`../${E}${$}`):R;this.fs.stat(ie,((E,R)=>{if(E){q(E);return}let $=R.size;let ce;let le;const _e=[];let Ee;if(ie.endsWith(".gz")){Ee=ae({chunkSize:Le})}else if(ie.endsWith(".br")){Ee=G({chunkSize:Le})}if(Ee){let E,R;N(Promise.all([new Promise(((N,j)=>{E=N;R=j})),new Promise(((E,N)=>{Ee.on("data",(E=>_e.push(E)));Ee.on("end",(()=>E()));Ee.on("error",(E=>N(E)))}))]).then((()=>_e)));N=E;q=R}this.fs.open(ie,"r",((E,R)=>{if(E){q(E);return}const read=()=>{if(ce===undefined){ce=Buffer.allocUnsafeSlow(Math.min(j.MAX_LENGTH,$,Ee?Le:Infinity));le=0}let E=ce;let G=le;let ie=ce.length-le;if(G>2147483647){E=ce.slice(G);G=0}if(ie>2147483647){ie=2147483647}this.fs.read(R,E,G,ie,null,((E,j)=>{if(E){this.fs.close(R,(()=>{q(E)}));return}le+=j;$-=j;if(le===ce.length){if(Ee){Ee.write(ce)}else{_e.push(ce)}ce=undefined;if($===0){if(Ee){Ee.end()}this.fs.close(R,(E=>{if(E){q(E);return}N(_e)}));return}}read()}))};read()}))}))}));return deserialize(this,false,readFile)}}E.exports=FileMiddleware},58461:E=>{"use strict";class MapObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E.keys()){N(R)}for(const R of E.values()){N(R)}}deserialize({read:E}){let N=E();const R=new Map;const j=[];for(let R=0;R{"use strict";class NullPrototypeObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);for(const E of R){N(E)}N(null);for(const j of R){N(E[j])}}deserialize({read:E}){const N=Object.create(null);const R=[];let j=E();while(j!==null){R.push(j);j=E()}for(const j of R){N[j]=E()}return N}}E.exports=NullPrototypeObjectSerializer},30991:(E,N,R)=>{"use strict";const j=R(35891);const $=R(22324);const q=R(93524);const G=R(12020);const ie=R(58461);const ae=R(78176);const ce=R(11900);const le=R(46690);const _e=R(43065);const Ee=R(25402);const setSetSize=(E,N)=>{let R=0;for(const j of E){if(R++>=N){E.delete(j)}}};const setMapSize=(E,N)=>{let R=0;for(const j of E.keys()){if(R++>=N){E.delete(j)}}};const toHash=(E,N)=>{const R=j(N);R.update(E);return R.digest("latin1")};const Te=null;const we=null;const Ie=true;const Ne=false;const Me=2;const Le=new Map;const Be=new Map;const je=new Set;const Ue={};const ze=new Map;ze.set(Object,new ce);ze.set(Array,new $);ze.set(null,new ae);ze.set(Map,new ie);ze.set(Set,new Ee);ze.set(Date,new q);ze.set(RegExp,new le);ze.set(Error,new G(Error));ze.set(EvalError,new G(EvalError));ze.set(RangeError,new G(RangeError));ze.set(ReferenceError,new G(ReferenceError));ze.set(SyntaxError,new G(SyntaxError));ze.set(TypeError,new G(TypeError));if(N.constructor!==Object){const E=N.constructor;const R=E.constructor;for(const[E,N]of Array.from(ze)){if(E){const j=new R(`return ${E.name};`)();ze.set(j,N)}}}{let E=1;for(const[N,R]of ze){Le.set(N,{request:"",name:E++,serializer:R})}}for(const{request:E,name:N,serializer:R}of Le.values()){Be.set(`${E}/${N}`,R)}const We=new Map;class ObjectMiddleware extends _e{constructor(E,N="md4"){super();this.extendContext=E;this._hashFunction=N}static registerLoader(E,N){We.set(E,N)}static register(E,N,R,j){const $=N+"/"+R;if(Le.has(E)){throw new Error(`ObjectMiddleware.register: serializer for ${E.name} is already registered`)}if(Be.has($)){throw new Error(`ObjectMiddleware.register: serializer for ${$} is already registered`)}Le.set(E,{request:N,name:R,serializer:j});Be.set($,j)}static registerNotSerializable(E){if(Le.has(E)){throw new Error(`ObjectMiddleware.registerNotSerializable: serializer for ${E.name} is already registered`)}Le.set(E,Ue)}static getSerializerFor(E){const N=Object.getPrototypeOf(E);let R;if(N===null){R=null}else{R=N.constructor;if(!R){throw new Error("Serialization of objects with prototype without valid constructor property not possible")}}const j=Le.get(R);if(!j)throw new Error(`No serializer registered for ${R.name}`);if(j===Ue)throw Ue;return j}static getDeserializerFor(E,N){const R=E+"/"+N;const j=Be.get(R);if(j===undefined){throw new Error(`No deserializer registered for ${R}`)}return j}static _getDeserializerForWithoutError(E,N){const R=E+"/"+N;const j=Be.get(R);return j}serialize(E,N){let R=[Me];let j=0;let $=new Map;const addReferenceable=E=>{$.set(E,j++)};let q=new Map;const dedupeBuffer=E=>{const N=E.length;const R=q.get(N);if(R===undefined){q.set(N,E);return E}if(Buffer.isBuffer(R)){if(N<32){if(E.equals(R)){return R}q.set(N,[R,E]);return E}else{const j=toHash(R,this._hashFunction);const $=new Map;$.set(j,R);q.set(N,$);const G=toHash(E,this._hashFunction);if(j===G){return R}return E}}else if(Array.isArray(R)){if(R.length<16){for(const N of R){if(E.equals(N)){return N}}R.push(E);return E}else{const j=new Map;const $=toHash(E,this._hashFunction);let G;for(const E of R){const N=toHash(E,this._hashFunction);j.set(N,E);if(G===undefined&&N===$)G=E}q.set(N,j);if(G===undefined){j.set($,E);return E}else{return G}}}else{const N=toHash(E,this._hashFunction);const j=R.get(N);if(j!==undefined){return j}R.set(N,E);return E}};let G=0;let ie=new Map;const ae=new Set;const stackToString=E=>{const N=Array.from(ae);N.push(E);return N.map((E=>{if(typeof E==="string"){if(E.length>100){return`String ${JSON.stringify(E.slice(0,100)).slice(0,-1)}..."`}return`String ${JSON.stringify(E)}`}try{const{request:N,name:R}=ObjectMiddleware.getSerializerFor(E);if(N){return`${N}${R?`.${R}`:""}`}}catch(E){}if(typeof E==="object"&&E!==null){if(E.constructor){if(E.constructor===Object)return`Object { ${Object.keys(E).join(", ")} }`;if(E.constructor===Map)return`Map { ${E.size} items }`;if(E.constructor===Array)return`Array { ${E.length} items }`;if(E.constructor===Set)return`Set { ${E.size} items }`;if(E.constructor===RegExp)return E.toString();return`${E.constructor.name}`}return`Object [null prototype] { ${Object.keys(E).join(", ")} }`}try{return`${E}`}catch(E){return`(${E.message})`}})).join(" -> ")};let ce;let le={write(E,N){try{process(E)}catch(N){if(N!==Ue){if(ce===undefined)ce=new WeakSet;if(!ce.has(N)){N.message+=`\nwhile serializing ${stackToString(E)}`;ce.add(N)}}throw N}},setCircularReference(E){addReferenceable(E)},snapshot(){return{length:R.length,cycleStackSize:ae.size,referenceableSize:$.size,currentPos:j,objectTypeLookupSize:ie.size,currentPosTypeLookup:G}},rollback(E){R.length=E.length;setSetSize(ae,E.cycleStackSize);setMapSize($,E.referenceableSize);j=E.currentPos;setMapSize(ie,E.objectTypeLookupSize);G=E.currentPosTypeLookup},...N};this.extendContext(le);const process=E=>{if(Buffer.isBuffer(E)){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}const q=dedupeBuffer(E);if(q!==E){const N=$.get(q);if(N!==undefined){$.set(E,N);R.push(Te,N-j);return}E=q}addReferenceable(E);R.push(E)}else if(E===Te){R.push(Te,we)}else if(typeof E==="object"){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}if(ae.has(E)){throw new Error(`This is a circular references. To serialize circular references use 'setCircularReference' somewhere in the circle during serialize and deserialize.`)}const{request:q,name:ce,serializer:_e}=ObjectMiddleware.getSerializerFor(E);const Ee=`${q}/${ce}`;const we=ie.get(Ee);if(we===undefined){ie.set(Ee,G++);R.push(Te,q,ce)}else{R.push(Te,G-we)}ae.add(E);try{_e.serialize(E,le)}finally{ae.delete(E)}R.push(Te,Ie);addReferenceable(E)}else if(typeof E==="string"){if(E.length>1){const N=$.get(E);if(N!==undefined){R.push(Te,N-j);return}addReferenceable(E)}if(E.length>102400&&N.logger){N.logger.warn(`Serializing big strings (${Math.round(E.length/1024)}kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)`)}R.push(E)}else if(typeof E==="function"){if(!_e.isLazy(E))throw new Error("Unexpected function "+E);const j=_e.getLazySerializedValue(E);if(j!==undefined){if(typeof j==="function"){R.push(j)}else{throw new Error("Not implemented")}}else if(_e.isLazy(E,this)){throw new Error("Not implemented")}else{const j=_e.serializeLazy(E,(E=>this.serialize([E],N)));_e.setLazySerializedValue(E,j);R.push(j)}}else if(E===undefined){R.push(Te,Ne)}else{R.push(E)}};try{for(const N of E){process(N)}return R}catch(E){if(E===Ue)return null;throw E}finally{E=R=$=q=ie=le=undefined}}deserialize(E,N){let R=0;const read=()=>{if(R>=E.length)throw new Error("Unexpected end of stream");return E[R++]};if(read()!==Me)throw new Error("Version mismatch, serializer changed");let j=0;let $=[];const addReferenceable=E=>{$.push(E);j++};let q=0;let G=[];let ie=[];let ae={read(){return decodeValue()},setCircularReference(E){addReferenceable(E)},...N};this.extendContext(ae);const decodeValue=()=>{const E=read();if(E===Te){const E=read();if(E===we){return Te}else if(E===Ne){return undefined}else if(E===Ie){throw new Error(`Unexpected end of object at position ${R-1}`)}else{const N=E;let ie;if(typeof N==="number"){if(N<0){return $[j+N]}ie=G[q-N]}else{if(typeof N!=="string"){throw new Error(`Unexpected type (${typeof N}) of request `+`at position ${R-1}`)}const E=read();ie=ObjectMiddleware._getDeserializerForWithoutError(N,E);if(ie===undefined){if(N&&!je.has(N)){let E=false;for(const[R,j]of We){if(R.test(N)){if(j(N)){E=true;break}}}if(!E){require(N)}je.add(N)}ie=ObjectMiddleware.getDeserializerFor(N,E)}G.push(ie);q++}try{const E=ie.deserialize(ae);const N=read();if(N!==Te){throw new Error("Expected end of object")}const R=read();if(R!==Ie){throw new Error("Expected end of object")}addReferenceable(E);return E}catch(E){let N;for(const E of Le){if(E[1].serializer===ie){N=E;break}}const R=!N?"unknown":!N[1].request?N[0].name:N[1].name?`${N[1].request} ${N[1].name}`:N[1].request;E.message+=`\n(during deserialization of ${R})`;throw E}}}else if(typeof E==="string"){if(E.length>1){addReferenceable(E)}return E}else if(Buffer.isBuffer(E)){addReferenceable(E);return E}else if(typeof E==="function"){return _e.deserializeLazy(E,(E=>this.deserialize(E,N)[0]))}else{return E}};try{while(R{"use strict";const N=new WeakMap;class ObjectStructure{constructor(){this.keys=undefined;this.children=undefined}getKeys(E){if(this.keys===undefined)this.keys=E;return this.keys}key(E){if(this.children===undefined)this.children=new Map;const N=this.children.get(E);if(N!==undefined)return N;const R=new ObjectStructure;this.children.set(E,R);return R}}const getCachedKeys=(E,R)=>{let j=N.get(R);if(j===undefined){j=new ObjectStructure;N.set(R,j)}let $=j;for(const N of E){$=$.key(N)}return $.getKeys(E)};class PlainObjectSerializer{serialize(E,{write:N}){const R=Object.keys(E);if(R.length>128){N(R);for(const j of R){N(E[j])}}else if(R.length>1){N(getCachedKeys(R,N));for(const j of R){N(E[j])}}else if(R.length===1){const j=R[0];N(j);N(E[j])}else{N(null)}}deserialize({read:E}){const N=E();const R={};if(Array.isArray(N)){for(const j of N){R[j]=E()}}else if(N!==null){R[N]=E()}return R}}E.exports=PlainObjectSerializer},46690:E=>{"use strict";class RegExpObjectSerializer{serialize(E,{write:N}){N(E.source);N(E.flags)}deserialize({read:E}){return new RegExp(E(),E())}}E.exports=RegExpObjectSerializer},15261:E=>{"use strict";class Serializer{constructor(E,N){this.serializeMiddlewares=E.slice();this.deserializeMiddlewares=E.slice().reverse();this.context=N}serialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.serializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>N&&E.serialize(N,R)))}else if(j){try{j=E.serialize(j,R)}catch(E){j=Promise.reject(E)}}else break}return j}deserialize(E,N){const R={...N,...this.context};let j=E;for(const E of this.deserializeMiddlewares){if(j&&typeof j.then==="function"){j=j.then((N=>E.deserialize(N,R)))}else{j=E.deserialize(j,R)}}return j}}E.exports=Serializer},43065:(E,N,R)=>{"use strict";const j=R(91671);const $=Symbol("lazy serialization target");const q=Symbol("lazy serialization data");class SerializerMiddleware{serialize(E,N){const j=R(75884);throw new j}deserialize(E,N){const j=R(75884);throw new j}static createLazy(E,N,R={},j){if(SerializerMiddleware.isLazy(E,N))return E;const G=typeof E==="function"?E:()=>E;G[$]=N;G.options=R;G[q]=j;return G}static isLazy(E,N){if(typeof E!=="function")return false;const R=E[$];return N?R===N:!!R}static getLazyOptions(E){if(typeof E!=="function")return undefined;return E.options}static getLazySerializedValue(E){if(typeof E!=="function")return undefined;return E[q]}static setLazySerializedValue(E,N){E[q]=N}static serializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>E&&N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;E[q]=R;return R}static deserializeLazy(E,N){const R=j((()=>{const R=E();if(R&&typeof R.then==="function"){return R.then((E=>N(E)))}return N(R)}));R[$]=E[$];R.options=E.options;R[q]=E;return R}static unMemoizeLazy(E){if(!SerializerMiddleware.isLazy(E))return E;const fn=()=>{throw new Error("A lazy value that has been unmemorized can't be called again")};fn[q]=SerializerMiddleware.unMemoizeLazy(E[q]);fn[$]=E[$];fn.options=E.options;return fn}}E.exports=SerializerMiddleware},25402:E=>{"use strict";class SetObjectSerializer{serialize(E,{write:N}){N(E.size);for(const R of E){N(R)}}deserialize({read:E}){let N=E();const R=new Set;for(let j=0;j{"use strict";const j=R(43065);class SingleItemMiddleware extends j{serialize(E,N){return[E]}deserialize(E,N){return E[0]}}E.exports=SingleItemMiddleware},86827:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ConsumeSharedFallbackDependency extends j{constructor(E){super(E)}get type(){return"consume shared fallback"}get category(){return"esm"}}$(ConsumeSharedFallbackDependency,"webpack/lib/sharing/ConsumeSharedFallbackDependency");E.exports=ConsumeSharedFallbackDependency},21606:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(98221);const q=R(53453);const G=R(76150);const ie=R(56202);const{rangeToString:ae,stringifyHoley:ce}=R(9293);const le=R(86827);const _e=new Set(["consume-shared"]);class ConsumeSharedModule extends q{constructor(E,N){super("consume-shared-module",E);this.options=N}identifier(){const{shareKey:E,shareScope:N,importResolved:R,requiredVersion:j,strictVersion:$,singleton:q,eager:G}=this.options;return`consume-shared-module|${N}|${E}|${j&&ae(j)}|${$}|${R}|${q}|${G}`}readableIdentifier(E){const{shareKey:N,shareScope:R,importResolved:j,requiredVersion:$,strictVersion:q,singleton:G,eager:ie}=this.options;return`consume shared module (${R}) ${N}@${$?ae($):"*"}${q?" (strict)":""}${G?" (singleton)":""}${j?` (fallback: ${E.shorten(j)})`:""}${ie?" (eager)":""}`}libIdent(E){const{shareKey:N,shareScope:R,import:j}=this.options;return`webpack/sharing/consume/${R}/${N}${j?`/${j}`:""}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,j,q){this.buildMeta={};this.buildInfo={};if(this.options.import){const E=new le(this.options.import);if(this.options.eager){this.addDependency(E)}else{const N=new $({});N.addDependency(E);this.addBlock(N)}}q()}getSourceTypes(){return _e}size(E){return 42}updateHash(E,N){E.update(JSON.stringify(this.options));super.updateHash(E,N)}codeGeneration({chunkGraph:E,moduleGraph:N,runtimeTemplate:R}){const $=new Set([G.shareScopeMap]);const{shareScope:q,shareKey:ie,strictVersion:ae,requiredVersion:le,import:_e,singleton:Ee,eager:Te}=this.options;let we;if(_e){if(Te){const N=this.dependencies[0];we=R.syncModuleFactory({dependency:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}else{const N=this.blocks[0];we=R.asyncModuleFactory({block:N,chunkGraph:E,runtimeRequirements:$,request:this.options.import})}}let Ie="load";const Ne=[JSON.stringify(q),JSON.stringify(ie)];if(le){if(ae){Ie+="Strict"}if(Ee){Ie+="Singleton"}Ne.push(ce(le));Ie+="VersionCheck"}if(we){Ie+="Fallback";Ne.push(we)}const Me=R.returningFunction(`${Ie}(${Ne.join(", ")})`);const Le=new Map;Le.set("consume-shared",new j(Me));return{runtimeRequirements:$,sources:Le}}serialize(E){const{write:N}=E;N(this.options);super.serialize(E)}deserialize(E){const{read:N}=E;this.options=N();super.deserialize(E)}}ie(ConsumeSharedModule,"webpack/lib/sharing/ConsumeSharedModule");E.exports=ConsumeSharedModule},71968:(E,N,R)=>{"use strict";const j=R(54032);const $=R(76150);const q=R(81627);const{parseOptions:G}=R(97264);const ie=R(83379);const ae=R(35817);const{parseRange:ce}=R(9293);const le=R(86827);const _e=R(21606);const Ee=R(20428);const Te=R(31095);const{resolveMatchedConfigs:we}=R(57870);const{isRequiredVersion:Ie,getDescriptionFile:Ne,getRequiredVersionFromDescriptionFile:Me}=R(37650);const Le=ae(R(37411),(()=>R(52021)),{name:"Consume Shared Plugin",baseDataPath:"options"});const Be={dependencyType:"esm"};const je="ConsumeSharedPlugin";class ConsumeSharedPlugin{constructor(E){if(typeof E!=="string"){Le(E)}this._consumes=G(E.consumes,((N,R)=>{if(Array.isArray(N))throw new Error("Unexpected array in options");let j=N===R||!Ie(N)?{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:undefined,packageName:undefined,strictVersion:false,singleton:false,eager:false}:{import:R,shareScope:E.shareScope||"default",shareKey:R,requiredVersion:ce(N),strictVersion:true,packageName:undefined,singleton:false,eager:false};return j}),((N,R)=>({import:N.import===false?undefined:N.import||R,shareScope:N.shareScope||E.shareScope||"default",shareKey:N.shareKey||R,requiredVersion:typeof N.requiredVersion==="string"?ce(N.requiredVersion):N.requiredVersion,strictVersion:typeof N.strictVersion==="boolean"?N.strictVersion:N.import!==false&&!N.singleton,packageName:N.packageName,singleton:!!N.singleton,eager:!!N.eager})))}apply(E){E.hooks.thisCompilation.tap(je,((N,{normalModuleFactory:R})=>{N.dependencyFactories.set(le,R);let G,ae,Ie;const Le=we(N,this._consumes).then((({resolved:E,unresolved:N,prefixed:R})=>{ae=E;G=N;Ie=R}));const Ue=N.resolverFactory.get("normal",Be);const createConsumeSharedModule=(R,$,G)=>{const requiredVersionWarning=E=>{const R=new q(`No required version specified and unable to automatically determine one. ${E}`);R.file=`shared module ${$}`;N.warnings.push(R)};const ae=G.import&&/^(\.\.?(\/|$)|\/|[A-Za-z]:|\\\\)/.test(G.import);return Promise.all([new Promise((q=>{if(!G.import)return q();const ce={fileDependencies:new ie,contextDependencies:new ie,missingDependencies:new ie};Ue.resolve({},ae?E.context:R,G.import,ce,((E,R)=>{N.contextDependencies.addAll(ce.contextDependencies);N.fileDependencies.addAll(ce.fileDependencies);N.missingDependencies.addAll(ce.missingDependencies);if(E){N.errors.push(new j(null,E,{name:`resolving fallback for shared module ${$}`}));return q()}q(R)}))})),new Promise((E=>{if(G.requiredVersion!==undefined)return E(G.requiredVersion);let j=G.packageName;if(j===undefined){if(/^(\/|[A-Za-z]:|\\\\)/.test($)){return E()}const N=/^((?:@[^\\/]+[\\/])?[^\\/]+)/.exec($);if(!N){requiredVersionWarning("Unable to extract the package name from request.");return E()}j=N[0]}Ne(N.inputFileSystem,R,["package.json"],((N,$)=>{if(N){requiredVersionWarning(`Unable to read description file: ${N}`);return E()}const{data:q,path:G}=$;if(!q){requiredVersionWarning(`Unable to find description file in ${R}.`);return E()}const ie=Me(q,j);if(typeof ie!=="string"){requiredVersionWarning(`Unable to find required version for "${j}" in description file (${G}). It need to be in dependencies, devDependencies or peerDependencies.`);return E()}E(ce(ie))}))}))]).then((([N,j])=>new _e(ae?E.context:R,{...G,importResolved:N,import:N?G.import:undefined,requiredVersion:j})))};R.hooks.factorize.tapPromise(je,(({context:E,request:N,dependencies:R})=>Le.then((()=>{if(R[0]instanceof le||R[0]instanceof Te){return}const j=G.get(N);if(j!==undefined){return createConsumeSharedModule(E,N,j)}for(const[R,j]of Ie){if(N.startsWith(R)){const $=N.slice(R.length);return createConsumeSharedModule(E,N,{...j,import:j.import?j.import+$:undefined,shareKey:j.shareKey+$})}}}))));R.hooks.createModule.tapPromise(je,(({resource:E},{context:N,dependencies:R})=>{if(R[0]instanceof le||R[0]instanceof Te){return Promise.resolve()}const j=ae.get(E);if(j!==undefined){return createConsumeSharedModule(N,E,j)}return Promise.resolve()}));N.hooks.additionalTreeRuntimeRequirements.tap(je,((E,R)=>{R.add($.module);R.add($.moduleCache);R.add($.moduleFactoriesAddOnly);R.add($.shareScopeMap);R.add($.initializeSharing);R.add($.hasOwnProperty);N.addRuntimeModule(E,new Ee(R))}))}))}}E.exports=ConsumeSharedPlugin},20428:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{parseVersionRuntimeCode:G,versionLtRuntimeCode:ie,rangeToStringRuntimeCode:ae,satisfyRuntimeCode:ce}=R(9293);class ConsumeSharedRuntimeModule extends ${constructor(E){super("consumes",$.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$}=E;const le={};const _e=new Map;const Ee=[];const addModules=(E,R,j)=>{for(const q of E){const E=q;const G=N.getModuleId(E);j.push(G);_e.set(G,$.getSource(E,R.runtime,"consume-shared"))}};for(const E of this.chunk.getAllAsyncChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,le[E.id]=[])}for(const E of this.chunk.getAllInitialChunks()){const R=N.getChunkModulesIterableBySourceType(E,"consume-shared");if(!R)continue;addModules(R,E,Ee)}if(_e.size===0)return null;return q.asString([G(R),ie(R),ae(R),ce(R),`var ensureExistence = ${R.basicFunction("scopeName, key",[`var scope = ${j.shareScopeMap}[scopeName];`,`if(!scope || !${j.hasOwnProperty}(scope, key)) throw new Error("Shared module " + key + " doesn't exist in shared scope " + scopeName);`,"return scope;"])};`,`var findVersion = ${R.basicFunction("scope, key",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var findSingletonVersionKey = ${R.basicFunction("scope, key",["var versions = scope[key];",`return Object.keys(versions).reduce(${R.basicFunction("a, b",["return !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;"])}, 0);`])};`,`var getInvalidSingletonVersionMessage = ${R.basicFunction("key, version, requiredVersion",[`return "Unsatisfied version " + version + " of shared singleton module " + key + " (required " + rangeToString(requiredVersion) + ")"`])};`,`var getSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+'typeof console !== "undefined" && console.warn && console.warn(getInvalidSingletonVersionMessage(key, version, requiredVersion));',"return get(scope[key][version]);"])};`,`var getStrictSingletonVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var version = findSingletonVersionKey(scope, key);","if (!satisfy(requiredVersion, version)) "+"throw new Error(getInvalidSingletonVersionMessage(key, version, requiredVersion));","return get(scope[key][version]);"])};`,`var findValidVersion = ${R.basicFunction("scope, key, requiredVersion",["var versions = scope[key];",`var key = Object.keys(versions).reduce(${R.basicFunction("a, b",["if (!satisfy(requiredVersion, b)) return a;","return !a || versionLt(a, b) ? b : a;"])}, 0);`,"return key && versions[key]"])};`,`var getInvalidVersionMessage = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var versions = scope[key];",'return "No satisfying version (" + rangeToString(requiredVersion) + ") of shared module " + key + " found in shared scope " + scopeName + ".\\n" +',`\t"Available versions: " + Object.keys(versions).map(${R.basicFunction("key",['return key + " from " + versions[key].from;'])}).join(", ");`])};`,`var getValidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",["var entry = findValidVersion(scope, key, requiredVersion);","if(entry) return get(entry);","throw new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));"])};`,`var warnInvalidVersion = ${R.basicFunction("scope, scopeName, key, requiredVersion",['typeof console !== "undefined" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));'])};`,`var get = ${R.basicFunction("entry",["entry.loaded = 1;","return entry.get()"])};`,`var init = ${R.returningFunction(q.asString(["function(scopeName, a, b, c) {",q.indent([`var promise = ${j.initializeSharing}(scopeName);`,`if (promise && promise.then) return promise.then(fn.bind(fn, scopeName, ${j.shareScopeMap}[scopeName], a, b, c));`,`return fn(scopeName, ${j.shareScopeMap}[scopeName], a, b, c);`]),"}"]),"fn")};`,"",`var load = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key",["ensureExistence(scopeName, key);","return get(findVersion(scope, key));"])});`,`var loadFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, fallback",[`return scope && ${j.hasOwnProperty}(scope, key) ? get(findVersion(scope, key)) : fallback();`])});`,`var loadVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getValidVersion(scope, scopeName, key, version);"])});`,`var loadStrictSingletonVersionCheck = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version",["ensureExistence(scopeName, key);","return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,`var loadVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));"])});`,`var loadSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getSingletonVersion(scope, scopeName, key, version);"])});`,`var loadStrictVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`var entry = scope && ${j.hasOwnProperty}(scope, key) && findValidVersion(scope, key, version);`,`return entry ? get(entry) : fallback();`])});`,`var loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init(${R.basicFunction("scopeName, scope, key, version, fallback",[`if(!scope || !${j.hasOwnProperty}(scope, key)) return fallback();`,"return getStrictSingletonVersion(scope, scopeName, key, version);"])});`,"var installedModules = {};","var moduleToHandlerMapping = {",q.indent(Array.from(_e,(([E,N])=>`${JSON.stringify(E)}: ${N.source()}`)).join(",\n")),"};",Ee.length>0?q.asString([`var initialConsumes = ${JSON.stringify(Ee)};`,`initialConsumes.forEach(${R.basicFunction("id",[`${j.moduleFactories}[id] = ${R.basicFunction("module",["// Handle case when module is used sync","installedModules[id] = 0;",`delete ${j.moduleCache}[id];`,"var factory = moduleToHandlerMapping[id]();",'if(typeof factory !== "function") throw new Error("Shared module is not available for eager consumption: " + id);',`module.exports = factory();`])}`])});`]):"// no consumes in initial chunks",this._runtimeRequirements.has(j.ensureChunkHandlers)?q.asString([`var chunkMapping = ${JSON.stringify(le,null,"\t")};`,`${j.ensureChunkHandlers}.consumes = ${R.basicFunction("chunkId, promises",[`if(${j.hasOwnProperty}(chunkMapping, chunkId)) {`,q.indent([`chunkMapping[chunkId].forEach(${R.basicFunction("id",[`if(${j.hasOwnProperty}(installedModules, id)) return promises.push(installedModules[id]);`,`var onFactory = ${R.basicFunction("factory",["installedModules[id] = 0;",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"module.exports = factory();"])}`])};`,`var onError = ${R.basicFunction("error",["delete installedModules[id];",`${j.moduleFactories}[id] = ${R.basicFunction("module",[`delete ${j.moduleCache}[id];`,"throw error;"])}`])};`,"try {",q.indent(["var promise = moduleToHandlerMapping[id]();","if(promise.then) {",q.indent("promises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));"),"} else onFactory(promise);"]),"} catch(e) { onError(e); }"])});`]),"}"])}`]):"// no chunk loading of consumes"])}}E.exports=ConsumeSharedRuntimeModule},31095:(E,N,R)=>{"use strict";const j=R(79983);const $=R(56202);class ProvideForSharedDependency extends j{constructor(E){super(E)}get type(){return"provide module for shared"}get category(){return"esm"}}$(ProvideForSharedDependency,"webpack/lib/sharing/ProvideForSharedDependency");E.exports=ProvideForSharedDependency},56049:(E,N,R)=>{"use strict";const j=R(28706);const $=R(56202);class ProvideSharedDependency extends j{constructor(E,N,R,j,$){super();this.shareScope=E;this.name=N;this.version=R;this.request=j;this.eager=$}get type(){return"provide shared module"}getResourceIdentifier(){return`provide module (${this.shareScope}) ${this.request} as ${this.name} @ ${this.version}${this.eager?" (eager)":""}`}serialize(E){E.write(this.shareScope);E.write(this.name);E.write(this.request);E.write(this.version);E.write(this.eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedDependency(N(),N(),N(),N(),N());this.shareScope=E.read();R.deserialize(E);return R}}$(ProvideSharedDependency,"webpack/lib/sharing/ProvideSharedDependency");E.exports=ProvideSharedDependency},99114:(E,N,R)=>{"use strict";const j=R(98221);const $=R(53453);const q=R(76150);const G=R(56202);const ie=R(31095);const ae=new Set(["share-init"]);class ProvideSharedModule extends ${constructor(E,N,R,j,$){super("provide-module");this._shareScope=E;this._name=N;this._version=R;this._request=j;this._eager=$}identifier(){return`provide module (${this._shareScope}) ${this._name}@${this._version} = ${this._request}`}readableIdentifier(E){return`provide shared module (${this._shareScope}) ${this._name}@${this._version} = ${E.shorten(this._request)}`}libIdent(E){return`webpack/sharing/provide/${this._shareScope}/${this._name}`}needBuild(E,N){N(null,!this.buildInfo)}build(E,N,R,$,q){this.buildMeta={};this.buildInfo={strict:true};this.clearDependenciesAndBlocks();const G=new ie(this._request);if(this._eager){this.addDependency(G)}else{const E=new j({});E.addDependency(G);this.addBlock(E)}q()}size(E){return 42}getSourceTypes(){return ae}codeGeneration({runtimeTemplate:E,moduleGraph:N,chunkGraph:R}){const j=new Set([q.initializeSharing]);const $=`register(${JSON.stringify(this._name)}, ${JSON.stringify(this._version||"0")}, ${this._eager?E.syncModuleFactory({dependency:this.dependencies[0],chunkGraph:R,request:this._request,runtimeRequirements:j}):E.asyncModuleFactory({block:this.blocks[0],chunkGraph:R,request:this._request,runtimeRequirements:j})}${this._eager?", 1":""});`;const G=new Map;const ie=new Map;ie.set("share-init",[{shareScope:this._shareScope,initStage:10,init:$}]);return{sources:G,data:ie,runtimeRequirements:j}}serialize(E){const{write:N}=E;N(this._shareScope);N(this._name);N(this._version);N(this._request);N(this._eager);super.serialize(E)}static deserialize(E){const{read:N}=E;const R=new ProvideSharedModule(N(),N(),N(),N(),N());R.deserialize(E);return R}}G(ProvideSharedModule,"webpack/lib/sharing/ProvideSharedModule");E.exports=ProvideSharedModule},96295:(E,N,R)=>{"use strict";const j=R(40674);const $=R(99114);class ProvideSharedModuleFactory extends j{create(E,N){const R=E.dependencies[0];N(null,{module:new $(R.shareScope,R.name,R.version,R.request,R.eager)})}}E.exports=ProvideSharedModuleFactory},48151:(E,N,R)=>{"use strict";const j=R(81627);const{parseOptions:$}=R(97264);const q=R(35817);const G=R(31095);const ie=R(56049);const ae=R(96295);const ce=q(R(95435),(()=>R(97295)),{name:"Provide Shared Plugin",baseDataPath:"options"});class ProvideSharedPlugin{constructor(E){ce(E);this._provides=$(E.provides,(N=>{if(Array.isArray(N))throw new Error("Unexpected array of provides");const R={shareKey:N,version:undefined,shareScope:E.shareScope||"default",eager:false};return R}),(N=>({shareKey:N.shareKey,version:N.version,shareScope:N.shareScope||E.shareScope||"default",eager:!!N.eager})));this._provides.sort((([E],[N])=>{if(E{const $=new Map;const q=new Map;const G=new Map;for(const[E,N]of this._provides){if(/^(\/|[A-Za-z]:\\|\\\\|\.\.?(\/|$))/.test(E)){$.set(E,{config:N,version:N.version})}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(E)){$.set(E,{config:N,version:N.version})}else if(E.endsWith("/")){G.set(E,N)}else{q.set(E,N)}}N.set(E,$);const provideSharedModule=(N,R,q,G)=>{let ie=R.version;if(ie===undefined){let R="";if(!G){R=`No resolve data provided from resolver.`}else{const E=G.descriptionFileData;if(!E){R="No description file (usually package.json) found. Add description file with name and version, or manually specify version in shared config."}else if(!E.version){R="No version in description file (usually package.json). Add version to description file, or manually specify version in shared config."}else{ie=E.version}}if(!ie){const $=new j(`No version specified and unable to automatically determine one. ${R}`);$.file=`shared module ${N} -> ${q}`;E.warnings.push($)}}$.set(q,{config:R,version:ie})};R.hooks.module.tap("ProvideSharedPlugin",((E,{resource:N,resourceResolveData:R},j)=>{if($.has(N)){return E}const{request:ie}=j;{const E=q.get(ie);if(E!==undefined){provideSharedModule(ie,E,N,R);j.cacheable=false}}for(const[E,$]of G){if(ie.startsWith(E)){const q=ie.slice(E.length);provideSharedModule(N,{...$,shareKey:$.shareKey+q},N,R);j.cacheable=false}}return E}))}));E.hooks.finishMake.tapPromise("ProvideSharedPlugin",(R=>{const j=N.get(R);if(!j)return Promise.resolve();return Promise.all(Array.from(j,(([N,{config:j,version:$}])=>new Promise(((q,G)=>{R.addInclude(E.context,new ie(j.shareScope,j.shareKey,$||false,N,j.eager),{name:undefined},(E=>{if(E)return G(E);q()}))}))))).then((()=>{}))}));E.hooks.compilation.tap("ProvideSharedPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(G,N);E.dependencyFactories.set(ie,new ae)}))}}E.exports=ProvideSharedPlugin},16471:(E,N,R)=>{"use strict";const{parseOptions:j}=R(97264);const $=R(71968);const q=R(48151);const{isRequiredVersion:G}=R(37650);class SharePlugin{constructor(E){const N=j(E.shared,((E,N)=>{if(typeof E!=="string")throw new Error("Unexpected array in shared");const R=E===N||!G(E)?{import:E}:{import:N,requiredVersion:E};return R}),(E=>E));const R=N.map((([E,N])=>({[E]:{import:N.import,shareKey:N.shareKey||E,shareScope:N.shareScope,requiredVersion:N.requiredVersion,strictVersion:N.strictVersion,singleton:N.singleton,packageName:N.packageName,eager:N.eager}})));const $=N.filter((([,E])=>E.import!==false)).map((([E,N])=>({[N.import||E]:{shareKey:N.shareKey||E,shareScope:N.shareScope,version:N.version,eager:N.eager}})));this._shareScope=E.shareScope;this._consumes=R;this._provides=$}apply(E){new $({shareScope:this._shareScope,consumes:this._consumes}).apply(E);new q({shareScope:this._shareScope,provides:this._provides}).apply(E)}}E.exports=SharePlugin},54825:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G,compareStrings:ie}=R(68673);class ShareRuntimeModule extends ${constructor(){super("sharing")}generate(){const{compilation:E,chunkGraph:N}=this;const{runtimeTemplate:R,codeGenerationResults:$,outputOptions:{uniqueName:ae}}=E;const ce=new Map;for(const E of this.chunk.getAllReferencedChunks()){const R=N.getOrderedChunkModulesIterableBySourceType(E,"share-init",G);if(!R)continue;for(const N of R){const R=$.getData(N,E.runtime,"share-init");if(!R)continue;for(const E of R){const{shareScope:N,initStage:R,init:j}=E;let $=ce.get(N);if($===undefined){ce.set(N,$=new Map)}let q=$.get(R||0);if(q===undefined){$.set(R||0,q=new Set)}q.add(j)}}}return q.asString([`${j.shareScopeMap} = {};`,"var initPromises = {};","var initTokens = {};",`${j.initializeSharing} = ${R.basicFunction("name, initScope",["if(!initScope) initScope = [];","// handling circular init calls","var initToken = initTokens[name];","if(!initToken) initToken = initTokens[name] = {};","if(initScope.indexOf(initToken) >= 0) return;","initScope.push(initToken);","// only runs once","if(initPromises[name]) return initPromises[name];","// creates a new share scope if needed",`if(!${j.hasOwnProperty}(${j.shareScopeMap}, name)) ${j.shareScopeMap}[name] = {};`,"// runs all init snippets from all modules reachable",`var scope = ${j.shareScopeMap}[name];`,`var warn = ${R.returningFunction('typeof console !== "undefined" && console.warn && console.warn(msg)',"msg")};`,`var uniqueName = ${JSON.stringify(ae||undefined)};`,`var register = ${R.basicFunction("name, version, factory, eager",["var versions = scope[name] = scope[name] || {};","var activeVersion = versions[version];","if(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };"])};`,`var initExternal = ${R.basicFunction("id",[`var handleError = ${R.expressionFunction('warn("Initialization of sharing external failed: " + err)',"err")};`,"try {",q.indent(["var module = __webpack_require__(id);","if(!module) return;",`var initFn = ${R.returningFunction(`module && module.init && module.init(${j.shareScopeMap}[name], initScope)`,"module")}`,"if(module.then) return promises.push(module.then(initFn, handleError));","var initResult = initFn(module);","if(initResult && initResult.then) return promises.push(initResult['catch'](handleError));"]),"} catch(err) { handleError(err); }"])}`,"var promises = [];","switch(name) {",...Array.from(ce).sort((([E],[N])=>ie(E,N))).map((([E,N])=>q.indent([`case ${JSON.stringify(E)}: {`,q.indent(Array.from(N).sort((([E],[N])=>E-N)).map((([,E])=>q.asString(Array.from(E))))),"}","break;"]))),"}","if(!promises.length) return initPromises[name] = 1;",`return initPromises[name] = Promise.all(promises).then(${R.returningFunction("initPromises[name] = 1")});`])};`])}}E.exports=ShareRuntimeModule},57870:(E,N,R)=>{"use strict";const j=R(54032);const $=R(83379);const q={dependencyType:"esm"};N.resolveMatchedConfigs=(E,N)=>{const R=new Map;const G=new Map;const ie=new Map;const ae={fileDependencies:new $,contextDependencies:new $,missingDependencies:new $};const ce=E.resolverFactory.get("normal",q);const le=E.compiler.context;return Promise.all(N.map((([N,$])=>{if(/^\.\.?(\/|$)/.test(N)){return new Promise((q=>{ce.resolve({},le,N,ae,((G,ie)=>{if(G||ie===false){G=G||new Error(`Can't resolve ${N}`);E.errors.push(new j(null,G,{name:`shared module ${N}`}));return q()}R.set(ie,$);q()}))}))}else if(/^(\/|[A-Za-z]:\\|\\\\)/.test(N)){R.set(N,$)}else if(N.endsWith("/")){ie.set(N,$)}else{G.set(N,$)}}))).then((()=>{E.contextDependencies.addAll(ae.contextDependencies);E.fileDependencies.addAll(ae.fileDependencies);E.missingDependencies.addAll(ae.missingDependencies);return{resolved:R,unresolved:G,prefixed:ie}}))}},37650:(E,N,R)=>{"use strict";const{join:j,dirname:$,readJson:q}=R(95396);N.isRequiredVersion=E=>/^([\d^=v<>~]|[*xX]$)/.test(E);const getDescriptionFile=(E,N,R,G)=>{let ie=0;const tryLoadCurrent=()=>{if(ie>=R.length){const j=$(E,N);if(!j||j===N)return G();return getDescriptionFile(E,j,R,G)}const ae=j(E,N,R[ie]);q(E,ae,((E,N)=>{if(E){if("code"in E&&E.code==="ENOENT"){ie++;return tryLoadCurrent()}return G(E)}if(!N||typeof N!=="object"||Array.isArray(N)){return G(new Error(`Description file ${ae} is not an object`))}G(null,{data:N,path:ae})}))};tryLoadCurrent()};N.getDescriptionFile=getDescriptionFile;N.getRequiredVersionFromDescriptionFile=(E,N)=>{if(E.optionalDependencies&&typeof E.optionalDependencies==="object"&&N in E.optionalDependencies){return E.optionalDependencies[N]}if(E.dependencies&&typeof E.dependencies==="object"&&N in E.dependencies){return E.dependencies[N]}if(E.peerDependencies&&typeof E.peerDependencies==="object"&&N in E.peerDependencies){return E.peerDependencies[N]}if(E.devDependencies&&typeof E.devDependencies==="object"&&N in E.devDependencies){return E.devDependencies[N]}}},9054:(E,N,R)=>{"use strict";const j=R(73837);const $=R(79983);const q=R(72380);const{LogType:G}=R(78539);const ie=R(94827);const ae=R(20625);const{countIterable:ce}=R(11539);const{compareLocations:le,compareChunksById:_e,compareNumbers:Ee,compareIds:Te,concatComparators:we,compareSelect:Ie,compareModulesByIdentifier:Ne}=R(68673);const{makePathsRelative:Me,parseResource:Le}=R(49197);const uniqueArray=(E,N)=>{const R=new Set;for(const j of E){for(const E of N(j)){R.add(E)}}return Array.from(R)};const uniqueOrderedArray=(E,N,R)=>uniqueArray(E,N).sort(R);const mapObject=(E,N)=>{const R=Object.create(null);for(const j of Object.keys(E)){R[j]=N(E[j],j)}return R};const countWithChildren=(E,N)=>{let R=N(E,"").length;for(const j of E.children){R+=countWithChildren(j,((E,R)=>N(E,`.children[].compilation${R}`)))}return R};const Be={_:(E,N,R,{requestShortener:j})=>{if(typeof N==="string"){E.message=N}else{if(N.chunk){E.chunkName=N.chunk.name;E.chunkEntry=N.chunk.hasRuntime();E.chunkInitial=N.chunk.canBeInitial()}if(N.file){E.file=N.file}if(N.module){E.moduleIdentifier=N.module.identifier();E.moduleName=N.module.readableIdentifier(j)}if(N.loc){E.loc=q(N.loc)}E.message=N.message}},ids:(E,N,{compilation:{chunkGraph:R}})=>{if(typeof N!=="string"){if(N.chunk){E.chunkId=N.chunk.id}if(N.module){E.moduleId=R.getModuleId(N.module)}}},moduleTrace:(E,N,R,j,$)=>{if(typeof N!=="string"&&N.module){const{type:j,compilation:{moduleGraph:q}}=R;const G=new Set;const ie=[];let ae=N.module;while(ae){if(G.has(ae))break;G.add(ae);const E=q.getIssuer(ae);if(!E)break;ie.push({origin:E,module:ae});ae=E}E.moduleTrace=$.create(`${j}.moduleTrace`,ie,R)}},errorDetails:(E,N,{type:R,compilation:j,cachedGetErrors:$,cachedGetWarnings:q},{errorDetails:G})=>{if(typeof N!=="string"&&(G===true||R.endsWith(".error")&&$(j).length<3)){E.details=N.details}},errorStack:(E,N)=>{if(typeof N!=="string"){E.stack=N.stack}}};const je={compilation:{_:(E,N,j,$)=>{if(!j.makePathsRelative){j.makePathsRelative=Me.bindContextCache(N.compiler.context,N.compiler.root)}if(!j.cachedGetErrors){const E=new WeakMap;j.cachedGetErrors=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getErrors())}if(!j.cachedGetWarnings){const E=new WeakMap;j.cachedGetWarnings=N=>E.get(N)||(R=>(E.set(N,R),R))(N.getWarnings())}if(N.name){E.name=N.name}if(N.needAdditionalPass){E.needAdditionalPass=true}const{logging:q,loggingDebug:ie,loggingTrace:ae}=$;if(q||ie&&ie.length>0){const j=R(73837);E.logging={};let ce;let le=false;switch(q){default:ce=new Set;break;case"error":ce=new Set([G.error]);break;case"warn":ce=new Set([G.error,G.warn]);break;case"info":ce=new Set([G.error,G.warn,G.info]);break;case"log":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.clear]);break;case"verbose":ce=new Set([G.error,G.warn,G.info,G.log,G.group,G.groupEnd,G.groupCollapsed,G.profile,G.profileEnd,G.time,G.status,G.clear]);le=true;break}const _e=Me.bindContextCache($.context,N.compiler.root);let Ee=0;for(const[R,$]of N.logging){const N=ie.some((E=>E(R)));if(q===false&&!N)continue;const Te=[];const we=[];let Ie=we;let Ne=0;for(const E of $){let R=E.type;if(!N&&!ce.has(R))continue;if(R===G.groupCollapsed&&(N||le))R=G.group;if(Ee===0){Ne++}if(R===G.groupEnd){Te.pop();if(Te.length>0){Ie=Te[Te.length-1].children}else{Ie=we}if(Ee>0)Ee--;continue}let $=undefined;if(E.type===G.time){$=`${E.args[0]}: ${E.args[1]*1e3+E.args[2]/1e6} ms`}else if(E.args&&E.args.length>0){$=j.format(E.args[0],...E.args.slice(1))}const q={...E,type:R,message:$,trace:ae?E.trace:undefined,children:R===G.group||R===G.groupCollapsed?[]:undefined};Ie.push(q);if(q.children){Te.push(q);Ie=q.children;if(Ee>0){Ee++}else if(R===G.groupCollapsed){Ee=1}}}let Me=_e(R).replace(/\|/g," ");if(Me in E.logging){let N=1;while(`${Me}#${N}`in E.logging){N++}Me=`${Me}#${N}`}E.logging[Me]={entries:we,filteredEntries:$.length-Ne,debug:N}}}},hash:(E,N)=>{E.hash=N.hash},version:E=>{E.version=R(37589).i8},env:(E,N,R,{_env:j})=>{E.env=j},timings:(E,N)=>{E.time=N.endTime-N.startTime},builtAt:(E,N)=>{E.builtAt=N.endTime},publicPath:(E,N)=>{E.publicPath=N.getPath(N.outputOptions.publicPath)},outputPath:(E,N)=>{E.outputPath=N.outputOptions.path},assets:(E,N,R,j,$)=>{const{type:q}=R;const G=new Map;const ie=new Map;for(const E of N.chunks){for(const N of E.files){let R=G.get(N);if(R===undefined){R=[];G.set(N,R)}R.push(E)}for(const N of E.auxiliaryFiles){let R=ie.get(N);if(R===undefined){R=[];ie.set(N,R)}R.push(E)}}const ae=new Map;const ce=new Set;for(const E of N.getAssets()){const N={...E,type:"asset",related:undefined};ce.add(N);ae.set(E.name,N)}for(const E of ae.values()){const N=E.info.related;if(!N)continue;for(const R of Object.keys(N)){const j=N[R];const $=Array.isArray(j)?j:[j];for(const N of $){const j=ae.get(N);if(!j)continue;ce.delete(j);j.type=R;E.related=E.related||[];E.related.push(j)}}}E.assetsByChunkName={};for(const[N,R]of G){for(const j of R){const R=j.name;if(!R)continue;if(!Object.prototype.hasOwnProperty.call(E.assetsByChunkName,R)){E.assetsByChunkName[R]=[]}E.assetsByChunkName[R].push(N)}}const le=$.create(`${q}.assets`,Array.from(ce),{...R,compilationFileToChunks:G,compilationAuxiliaryFileToChunks:ie});const _e=spaceLimited(le,j.assetsSpace);E.assets=_e.children;E.filteredAssets=_e.filteredChildren},chunks:(E,N,R,j,$)=>{const{type:q}=R;E.chunks=$.create(`${q}.chunks`,Array.from(N.chunks),R)},modules:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.modules);const ie=$.create(`${q}.modules`,G,R);const ae=spaceLimited(ie,j.modulesSpace);E.modules=ae.children;E.filteredModules=ae.filteredChildren},entrypoints:(E,N,R,{entrypoints:j,chunkGroups:$,chunkGroupAuxiliary:q,chunkGroupChildren:G},ie)=>{const{type:ae}=R;const ce=Array.from(N.entrypoints,(([E,N])=>({name:E,chunkGroup:N})));if(j==="auto"&&!$){if(ce.length>5)return;if(!G&&ce.every((({chunkGroup:E})=>{if(E.chunks.length!==1)return false;const N=E.chunks[0];return N.files.size===1&&(!q||N.auxiliaryFiles.size===0)}))){return}}E.entrypoints=ie.create(`${ae}.entrypoints`,ce,R)},chunkGroups:(E,N,R,j,$)=>{const{type:q}=R;const G=Array.from(N.namedChunkGroups,(([E,N])=>({name:E,chunkGroup:N})));E.namedChunkGroups=$.create(`${q}.namedChunkGroups`,G,R)},errors:(E,N,R,j,$)=>{const{type:q,cachedGetErrors:G}=R;E.errors=$.create(`${q}.errors`,G(N),R)},errorsCount:(E,N,{cachedGetErrors:R})=>{E.errorsCount=countWithChildren(N,(E=>R(E)))},warnings:(E,N,R,j,$)=>{const{type:q,cachedGetWarnings:G}=R;E.warnings=$.create(`${q}.warnings`,G(N),R)},warningsCount:(E,N,R,{warningsFilter:j},$)=>{const{type:q,cachedGetWarnings:G}=R;E.warningsCount=countWithChildren(N,((E,N)=>{if(!j&&j.length===0)return G(E);return $.create(`${q}${N}.warnings`,G(E),R).filter((E=>{const N=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!j.some((R=>R(E,N)))}))}))},errorDetails:(E,N,{cachedGetErrors:R,cachedGetWarnings:j},{errorDetails:$,errors:q,warnings:G})=>{if($==="auto"){if(G){const R=j(N);E.filteredWarningDetailsCount=R.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}if(q){const j=R(N);if(j.length>=3){E.filteredErrorDetailsCount=j.map((E=>typeof E!=="string"&&E.details)).filter(Boolean).length}}}},children:(E,N,R,j,$)=>{const{type:q}=R;E.children=$.create(`${q}.children`,N.children,R)}},asset:{_:(E,N,R,j,$)=>{const{compilation:q}=R;E.type=N.type;E.name=N.name;E.size=N.source.size();E.emitted=q.emittedAssets.has(N.name);E.comparedForEmit=q.comparedForEmitAssets.has(N.name);const G=!E.emitted&&!E.comparedForEmit;E.cached=G;E.info=N.info;if(!G||j.cachedAssets){Object.assign(E,$.create(`${R.type}$visible`,N,R))}}},asset$visible:{_:(E,N,{compilation:R,compilationFileToChunks:j,compilationAuxiliaryFileToChunks:$})=>{const q=j.get(N.name)||[];const G=$.get(N.name)||[];E.chunkNames=uniqueOrderedArray(q,(E=>E.name?[E.name]:[]),Te);E.chunkIdHints=uniqueOrderedArray(q,(E=>Array.from(E.idNameHints)),Te);E.auxiliaryChunkNames=uniqueOrderedArray(G,(E=>E.name?[E.name]:[]),Te);E.auxiliaryChunkIdHints=uniqueOrderedArray(G,(E=>Array.from(E.idNameHints)),Te);E.filteredRelated=N.related?N.related.length:undefined},relatedAssets:(E,N,R,j,$)=>{const{type:q}=R;E.related=$.create(`${q.slice(0,-8)}.related`,N.related,R);E.filteredRelated=N.related?N.related.length-E.related.length:undefined},ids:(E,N,{compilationFileToChunks:R,compilationAuxiliaryFileToChunks:j})=>{const $=R.get(N.name)||[];const q=j.get(N.name)||[];E.chunks=uniqueOrderedArray($,(E=>E.ids),Te);E.auxiliaryChunks=uniqueOrderedArray(q,(E=>E.ids),Te)},performance:(E,N)=>{E.isOverSizeLimit=ae.isOverSizeLimit(N.source)}},chunkGroup:{_:(E,{name:N,chunkGroup:R},{compilation:j,compilation:{moduleGraph:$,chunkGraph:q}},{ids:G,chunkGroupAuxiliary:ie,chunkGroupChildren:ae,chunkGroupMaxAssets:ce})=>{const le=ae&&R.getChildrenByOrders($,q);const toAsset=E=>{const N=j.getAsset(E);return{name:E,size:N?N.info.size:-1}};const sizeReducer=(E,{size:N})=>E+N;const _e=uniqueArray(R.chunks,(E=>E.files)).map(toAsset);const Ee=uniqueOrderedArray(R.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const we=_e.reduce(sizeReducer,0);const Ie=Ee.reduce(sizeReducer,0);const Ne={name:N,chunks:G?R.chunks.map((E=>E.id)):undefined,assets:_e.length<=ce?_e:undefined,filteredAssets:_e.length<=ce?0:_e.length,assetsSize:we,auxiliaryAssets:ie&&Ee.length<=ce?Ee:undefined,filteredAuxiliaryAssets:ie&&Ee.length<=ce?0:Ee.length,auxiliaryAssetsSize:Ie,children:le?mapObject(le,(E=>E.map((E=>{const N=uniqueArray(E.chunks,(E=>E.files)).map(toAsset);const R=uniqueOrderedArray(E.chunks,(E=>E.auxiliaryFiles),Te).map(toAsset);const j={name:E.name,chunks:G?E.chunks.map((E=>E.id)):undefined,assets:N.length<=ce?N:undefined,filteredAssets:N.length<=ce?0:N.length,auxiliaryAssets:ie&&R.length<=ce?R:undefined,filteredAuxiliaryAssets:ie&&R.length<=ce?0:R.length};return j})))):undefined,childAssets:le?mapObject(le,(E=>{const N=new Set;for(const R of E){for(const E of R.chunks){for(const R of E.files){N.add(R)}}}return Array.from(N)})):undefined};Object.assign(E,Ne)},performance:(E,{chunkGroup:N})=>{E.isOverSizeLimit=ae.isOverSizeLimit(N)}},module:{_:(E,N,R,j,$)=>{const{compilation:q,type:G}=R;const ie=q.builtModules.has(N);const ae=q.codeGeneratedModules.has(N);const ce=q.buildTimeExecutedModules.has(N);const le={};for(const E of N.getSourceTypes()){le[E]=N.size(E)}const _e={type:"module",moduleType:N.type,layer:N.layer,size:N.size(),sizes:le,built:ie,codeGenerated:ae,buildTimeExecuted:ce,cached:!ie&&!ae};Object.assign(E,_e);if(ie||ae||j.cachedModules){Object.assign(E,$.create(`${G}$visible`,N,R))}}},module$visible:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G,rootModules:ie}=R;const{moduleGraph:ae}=q;const le=[];const _e=ae.getIssuer(N);let Ee=_e;while(Ee){le.push(Ee);Ee=ae.getIssuer(Ee)}le.reverse();const Te=ae.getProfile(N);const we=N.getErrors();const Ie=we!==undefined?ce(we):0;const Ne=N.getWarnings();const Me=Ne!==undefined?ce(Ne):0;const Le={};for(const E of N.getSourceTypes()){Le[E]=N.size(E)}const Be={identifier:N.identifier(),name:N.readableIdentifier(j),nameForCondition:N.nameForCondition(),index:ae.getPreOrderIndex(N),preOrderIndex:ae.getPreOrderIndex(N),index2:ae.getPostOrderIndex(N),postOrderIndex:ae.getPostOrderIndex(N),cacheable:N.buildInfo.cacheable,optional:N.isOptional(ae),orphan:!G.endsWith("module.modules[].module$visible")&&q.chunkGraph.getNumberOfModuleChunks(N)===0,dependent:ie?!ie.has(N):undefined,issuer:_e&&_e.identifier(),issuerName:_e&&_e.readableIdentifier(j),issuerPath:_e&&$.create(`${G.slice(0,-8)}.issuerPath`,le,R),failed:Ie>0,errors:Ie,warnings:Me};Object.assign(E,Be);if(Te){E.profile=$.create(`${G.slice(0,-8)}.profile`,Te,R)}},ids:(E,N,{compilation:{chunkGraph:R,moduleGraph:j}})=>{E.id=R.getModuleId(N);const $=j.getIssuer(N);E.issuerId=$&&R.getModuleId($);E.chunks=Array.from(R.getOrderedModuleChunksIterable(N,_e),(E=>E.id))},moduleAssets:(E,N)=>{E.assets=N.buildInfo.assets?Object.keys(N.buildInfo.assets):[]},reasons:(E,N,R,j,$)=>{const{type:q,compilation:{moduleGraph:G}}=R;const ie=$.create(`${q.slice(0,-8)}.reasons`,Array.from(G.getIncomingConnections(N)),R);const ae=spaceLimited(ie,j.reasonsSpace);E.reasons=ae.children;E.filteredReasons=ae.filteredChildren},usedExports:(E,N,{runtime:R,compilation:{moduleGraph:j}})=>{const $=j.getUsedExports(N,R);if($===null){E.usedExports=null}else if(typeof $==="boolean"){E.usedExports=$}else{E.usedExports=Array.from($)}},providedExports:(E,N,{compilation:{moduleGraph:R}})=>{const j=R.getProvidedExports(N);E.providedExports=Array.isArray(j)?j:null},optimizationBailout:(E,N,{compilation:{moduleGraph:R}},{requestShortener:j})=>{E.optimizationBailout=R.getOptimizationBailout(N).map((E=>{if(typeof E==="function")return E(j);return E}))},depth:(E,N,{compilation:{moduleGraph:R}})=>{E.depth=R.getDepth(N)},nestedModules:(E,N,R,j,$)=>{const{type:q}=R;const G=N.modules;if(Array.isArray(G)){const N=$.create(`${q.slice(0,-8)}.modules`,G,R);const ie=spaceLimited(N,j.nestedModulesSpace);E.modules=ie.children;E.filteredModules=ie.filteredChildren}},source:(E,N)=>{const R=N.originalSource();if(R){E.source=R.source()}}},profile:{_:(E,N)=>{const R={total:N.factory+N.restoring+N.integration+N.building+N.storing,resolving:N.factory,restoring:N.restoring,building:N.building,integration:N.integration,storing:N.storing,additionalResolving:N.additionalFactories,additionalIntegration:N.additionalIntegration,factory:N.factory,dependencies:N.additionalFactories};Object.assign(E,R)}},moduleIssuer:{_:(E,N,R,{requestShortener:j},$)=>{const{compilation:q,type:G}=R;const{moduleGraph:ie}=q;const ae=ie.getProfile(N);const ce={identifier:N.identifier(),name:N.readableIdentifier(j)};Object.assign(E,ce);if(ae){E.profile=$.create(`${G}.profile`,ae,R)}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.id=R.getModuleId(N)}},moduleReason:{_:(E,N,{runtime:R},{requestShortener:j})=>{const G=N.dependency;const ie=G&&G instanceof $?G:undefined;const ae={moduleIdentifier:N.originModule?N.originModule.identifier():null,module:N.originModule?N.originModule.readableIdentifier(j):null,moduleName:N.originModule?N.originModule.readableIdentifier(j):null,resolvedModuleIdentifier:N.resolvedOriginModule?N.resolvedOriginModule.identifier():null,resolvedModule:N.resolvedOriginModule?N.resolvedOriginModule.readableIdentifier(j):null,type:N.dependency?N.dependency.type:null,active:N.isActive(R),explanation:N.explanation,userRequest:ie&&ie.userRequest||null};Object.assign(E,ae);if(N.dependency){const R=q(N.dependency.loc);if(R){E.loc=R}}},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.originModule?R.getModuleId(N.originModule):null;E.resolvedModuleId=N.resolvedOriginModule?R.getModuleId(N.resolvedOriginModule):null}},chunk:{_:(E,N,{makePathsRelative:R,compilation:{chunkGraph:j}})=>{const $=N.getChildIdsByOrders(j);const q={rendered:N.rendered,initial:N.canBeInitial(),entry:N.hasRuntime(),recorded:ie.wasChunkRecorded(N),reason:N.chunkReason,size:j.getChunkModulesSize(N),sizes:j.getChunkModulesSizes(N),names:N.name?[N.name]:[],idHints:Array.from(N.idNameHints),runtime:N.runtime===undefined?undefined:typeof N.runtime==="string"?[R(N.runtime)]:Array.from(N.runtime.sort(),R),files:Array.from(N.files),auxiliaryFiles:Array.from(N.auxiliaryFiles).sort(Te),hash:N.renderedHash,childrenByOrder:$};Object.assign(E,q)},ids:(E,N)=>{E.id=N.id},chunkRelations:(E,N,{compilation:{chunkGraph:R}})=>{const j=new Set;const $=new Set;const q=new Set;for(const E of N.groupsIterable){for(const N of E.parentsIterable){for(const E of N.chunks){j.add(E.id)}}for(const N of E.childrenIterable){for(const E of N.chunks){$.add(E.id)}}for(const R of E.chunks){if(R!==N)q.add(R.id)}}E.siblings=Array.from(q).sort(Te);E.parents=Array.from(j).sort(Te);E.children=Array.from($).sort(Te)},chunkModules:(E,N,R,j,$)=>{const{type:q,compilation:{chunkGraph:G}}=R;const ie=G.getChunkModules(N);const ae=$.create(`${q}.modules`,ie,{...R,runtime:N.runtime,rootModules:new Set(G.getChunkRootModules(N))});const ce=spaceLimited(ae,j.chunkModulesSpace);E.modules=ce.children;E.filteredModules=ce.filteredChildren},chunkOrigins:(E,N,R,j,$)=>{const{type:G,compilation:{chunkGraph:ie}}=R;const ae=new Set;const ce=[];for(const E of N.groupsIterable){ce.push(...E.origins)}const le=ce.filter((E=>{const N=[E.module?ie.getModuleId(E.module):undefined,q(E.loc),E.request].join();if(ae.has(N))return false;ae.add(N);return true}));E.origins=$.create(`${G}.origins`,le,R)}},chunkOrigin:{_:(E,N,R,{requestShortener:j})=>{const $={module:N.module?N.module.identifier():"",moduleIdentifier:N.module?N.module.identifier():"",moduleName:N.module?N.module.readableIdentifier(j):"",loc:q(N.loc),request:N.request};Object.assign(E,$)},ids:(E,N,{compilation:{chunkGraph:R}})=>{E.moduleId=N.module?R.getModuleId(N.module):undefined}},error:Be,warning:Be,moduleTraceItem:{_:(E,{origin:N,module:R},j,{requestShortener:$},q)=>{const{type:G,compilation:{moduleGraph:ie}}=j;E.originIdentifier=N.identifier();E.originName=N.readableIdentifier($);E.moduleIdentifier=R.identifier();E.moduleName=R.readableIdentifier($);const ae=Array.from(ie.getIncomingConnections(R)).filter((E=>E.resolvedOriginModule===N&&E.dependency)).map((E=>E.dependency));E.dependencies=q.create(`${G}.dependencies`,Array.from(new Set(ae)),j)},ids:(E,{origin:N,module:R},{compilation:{chunkGraph:j}})=>{E.originId=j.getModuleId(N);E.moduleId=j.getModuleId(R)}},moduleTraceDependency:{_:(E,N)=>{E.loc=q(N.loc)}}};const Ue={"module.reasons":{"!orphanModules":(E,{compilation:{chunkGraph:N}})=>{if(E.originModule&&N.getNumberOfModuleChunks(E.originModule)===0){return false}}}};const ze={"compilation.warnings":{warningsFilter:j.deprecate(((E,N,{warningsFilter:R})=>{const j=Object.keys(E).map((N=>`${E[N]}`)).join("\n");return!R.some((N=>N(E,j)))}),"config.stats.warningsFilter is deprecated in favor of config.ignoreWarnings","DEP_WEBPACK_STATS_WARNINGS_FILTER")}};const We={_:(E,{compilation:{moduleGraph:N}})=>{E.push(Ie((E=>N.getDepth(E)),Ee),Ie((E=>N.getPreOrderIndex(E)),Ee),Ie((E=>E.identifier()),Te))}};const Je={"compilation.chunks":{_:E=>{E.push(Ie((E=>E.id),Te))}},"compilation.modules":We,"chunk.rootModules":We,"chunk.modules":We,"module.modules":We,"module.reasons":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.originModule),Ne));E.push(Ie((E=>E.resolvedOriginModule),Ne));E.push(Ie((E=>E.dependency),we(Ie((E=>E.loc),le),Ie((E=>E.type),Te))))}},"chunk.origins":{_:(E,{compilation:{chunkGraph:N}})=>{E.push(Ie((E=>E.module?N.getModuleId(E.module):undefined),Te),Ie((E=>q(E.loc)),Te),Ie((E=>E.request),Te))}}};const getItemSize=E=>!E.children?1:E.filteredChildren?2+getTotalSize(E.children):1+getTotalSize(E.children);const getTotalSize=E=>{let N=0;for(const R of E){N+=getItemSize(R)}return N};const getTotalItems=E=>{let N=0;for(const R of E){if(!R.children&&!R.filteredChildren){N++}else{if(R.children)N+=getTotalItems(R.children);if(R.filteredChildren)N+=R.filteredChildren}}return N};const collapse=E=>{const N=[];for(const R of E){if(R.children){let E=R.filteredChildren||0;E+=getTotalItems(R.children);N.push({...R,children:undefined,filteredChildren:E})}else{N.push(R)}}return N};const spaceLimited=(E,N)=>{let R=undefined;let j=undefined;const $=E.filter((E=>E.children||E.filteredChildren));const q=$.map((E=>getItemSize(E)));const G=E.filter((E=>!E.children&&!E.filteredChildren));let ie=q.reduce(((E,N)=>E+N),0);if(ie+G.length<=N){R=$.concat(G)}else if($.length>0&&$.length+Math.min(1,G.length)N){const E=G.length+ie+(j?1:0)-N;const R=Math.max(...q);if(R0&&$.length+Math.min(1,G.length)<=N){R=$.length?collapse($):undefined;j=G.length}else{j=getTotalItems(E)}return{children:R,filteredChildren:j}};const assetGroup=(E,N)=>{let R=0;for(const N of E){R+=N.size}return{size:R}};const moduleGroup=(E,N)=>{let R=0;const j={};for(const N of E){R+=N.size;for(const E of Object.keys(N.sizes)){j[E]=(j[E]||0)+N.sizes[E]}}return{size:R,sizes:j}};const reasonGroup=(E,N)=>{let R=false;for(const N of E){R=R||N.active}return{active:R}};const Ve={_:(E,N,R)=>{const groupByFlag=(N,R)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!R,force:R}),createGroup:(E,j,$)=>R?{type:"assets by status",[N]:!!E,filteredChildren:$.length,...assetGroup(j,$)}:{type:"assets by status",[N]:!!E,children:j,...assetGroup(j,$)}})};const{groupAssetsByEmitStatus:j,groupAssetsByPath:$,groupAssetsByExtension:q}=R;if(j){groupByFlag("emitted");groupByFlag("comparedForEmit");groupByFlag("isOverSizeLimit")}if(j||!R.cachedAssets){groupByFlag("cached",!R.cachedAssets)}if($||q){E.push({getKeys:E=>{const N=q&&/(\.[^.]+)(?:\?.*|$)/.exec(E.name);const R=N?N[1]:"";const j=$&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(E.name);const G=j?j[1].split(/[/\\]/):[];const ie=[];if($){ie.push(".");if(R)ie.push(G.length?`${G.join("/")}/*${R}`:`*${R}`);while(G.length>0){ie.push(G.join("/")+"/");G.pop()}}else{if(R)ie.push(`*${R}`)}return ie},createGroup:(E,N,R)=>({type:$?"assets by path":"assets by extension",name:E,children:N,...assetGroup(N,R)})})}},groupAssetsByInfo:(E,N,R)=>{const groupByAssetInfoFlag=N=>{E.push({getKeys:E=>E.info&&E.info[N]?["1"]:undefined,createGroup:(E,R,j)=>({type:"assets by info",info:{[N]:!!E},children:R,...assetGroup(R,j)})})};groupByAssetInfoFlag("immutable");groupByAssetInfoFlag("development");groupByAssetInfoFlag("hotModuleReplacement")},groupAssetsByChunk:(E,N,R)=>{const groupByNames=N=>{E.push({getKeys:E=>E[N],createGroup:(E,R,j)=>({type:"assets by chunk",[N]:[E],children:R,...assetGroup(R,j)})})};groupByNames("chunkNames");groupByNames("auxiliaryChunkNames");groupByNames("chunkIdHints");groupByNames("auxiliaryChunkIdHints")},excludeAssets:(E,N,{excludeAssets:R})=>{E.push({getKeys:E=>{const N=E.name;const j=R.some((R=>R(N,E)));if(j)return["excluded"]},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden assets",filteredChildren:R.length,...assetGroup(N,R)})})}};const MODULES_GROUPERS=E=>({_:(E,N,R)=>{const groupByFlag=(N,R,j)=>{E.push({getKeys:E=>E[N]?["1"]:undefined,getOptions:()=>({groupChildren:!j,force:j}),createGroup:(E,$,q)=>({type:R,[N]:!!E,...j?{filteredChildren:q.length}:{children:$},...moduleGroup($,q)})})};const{groupModulesByCacheStatus:j,groupModulesByLayer:$,groupModulesByAttributes:q,groupModulesByType:G,groupModulesByPath:ie,groupModulesByExtension:ae}=R;if(q){groupByFlag("errors","modules with errors");groupByFlag("warnings","modules with warnings");groupByFlag("assets","modules with assets");groupByFlag("optional","optional modules")}if(j){groupByFlag("cacheable","cacheable modules");groupByFlag("built","built modules");groupByFlag("codeGenerated","code generated modules")}if(j||!R.cachedModules){groupByFlag("cached","cached modules",!R.cachedModules)}if(q||!R.orphanModules){groupByFlag("orphan","orphan modules",!R.orphanModules)}if(q||!R.dependentModules){groupByFlag("dependent","dependent modules",!R.dependentModules)}if(G||!R.runtimeModules){E.push({getKeys:E=>{if(!E.moduleType)return;if(G){return[E.moduleType.split("/",1)[0]]}else if(E.moduleType==="runtime"){return["runtime"]}},getOptions:E=>{const N=E==="runtime"&&!R.runtimeModules;return{groupChildren:!N,force:N}},createGroup:(E,N,j)=>{const $=E==="runtime"&&!R.runtimeModules;return{type:`${E} modules`,moduleType:E,...$?{filteredChildren:j.length}:{children:N},...moduleGroup(N,j)}}})}if($){E.push({getKeys:E=>[E.layer],createGroup:(E,N,R)=>({type:"modules by layer",layer:E,children:N,...moduleGroup(N,R)})})}if(ie||ae){E.push({getKeys:E=>{if(!E.name)return;const N=Le(E.name.split("!").pop()).path;const R=ae&&/(\.[^.]+)(?:\?.*|$)/.exec(N);const j=R?R[1]:"";const $=ie&&/(.+)[/\\][^/\\]+(?:\?.*|$)/.exec(N);const q=$?$[1].split(/[/\\]/):[];const G=[];if(ie){if(j)G.push(q.length?`${q.join("/")}/*${j}`:`*${j}`);while(q.length>0){G.push(q.join("/")+"/");q.pop()}}else{if(j)G.push(`*${j}`)}return G},createGroup:(E,N,R)=>({type:ie?"modules by path":"modules by extension",name:E,children:N,...moduleGroup(N,R)})})}},excludeModules:(N,R,{excludeModules:j})=>{N.push({getKeys:N=>{const R=N.name;if(R){const $=j.some((j=>j(R,N,E)));if($)return["1"]}},getOptions:()=>({groupChildren:false,force:true}),createGroup:(E,N,R)=>({type:"hidden modules",filteredChildren:N.length,...moduleGroup(N,R)})})}});const qe={"compilation.assets":Ve,"asset.related":Ve,"compilation.modules":MODULES_GROUPERS("module"),"chunk.modules":MODULES_GROUPERS("chunk"),"chunk.rootModules":MODULES_GROUPERS("root-of-chunk"),"module.modules":MODULES_GROUPERS("nested"),"module.reasons":{groupReasonsByOrigin:E=>{E.push({getKeys:E=>[E.module],createGroup:(E,N,R)=>({type:"from origin",module:E,children:N,...reasonGroup(N,R)})})}}};const normalizeFieldKey=E=>{if(E[0]==="!"){return E.substr(1)}return E};const sortOrderRegular=E=>{if(E[0]==="!"){return false}return true};const sortByField=E=>{if(!E){const noSort=(E,N)=>0;return noSort}const N=normalizeFieldKey(E);let R=Ie((E=>E[N]),Te);const j=sortOrderRegular(E);if(!j){const E=R;R=(N,R)=>E(R,N)}return R};const He={assetsSort:(E,N,{assetsSort:R})=>{E.push(sortByField(R))},_:E=>{E.push(Ie((E=>E.name),Te))}};const Ge={"compilation.chunks":{chunksSort:(E,N,{chunksSort:R})=>{E.push(sortByField(R))}},"compilation.modules":{modulesSort:(E,N,{modulesSort:R})=>{E.push(sortByField(R))}},"chunk.modules":{chunkModulesSort:(E,N,{chunkModulesSort:R})=>{E.push(sortByField(R))}},"module.modules":{nestedModulesSort:(E,N,{nestedModulesSort:R})=>{E.push(sortByField(R))}},"compilation.assets":He,"asset.related":He};const iterateConfig=(E,N,R)=>{for(const j of Object.keys(E)){const $=E[j];for(const E of Object.keys($)){if(E!=="_"){if(E.startsWith("!")){if(N[E.slice(1)])continue}else{const R=N[E];if(R===false||R===undefined||Array.isArray(R)&&R.length===0)continue}}R(j,$[E])}}};const Ke={"compilation.children[]":"compilation","compilation.modules[]":"module","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"warning","chunk.modules[]":"module","chunk.rootModules[]":"module","chunk.origins[]":"chunkOrigin","compilation.chunks[]":"chunk","compilation.assets[]":"asset","asset.related[]":"asset","module.issuerPath[]":"moduleIssuer","module.reasons[]":"moduleReason","module.modules[]":"module","module.children[]":"module","moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const mergeToObject=E=>{const N=Object.create(null);for(const R of E){N[R.name]=R}return N};const Qe={"compilation.entrypoints":mergeToObject,"compilation.namedChunkGroups":mergeToObject};class DefaultStatsFactoryPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsFactoryPlugin",(E=>{E.hooks.statsFactory.tap("DefaultStatsFactoryPlugin",((N,R,j)=>{iterateConfig(je,R,((E,j)=>{N.hooks.extract.for(E).tap("DefaultStatsFactoryPlugin",((E,$,q)=>j(E,$,q,R,N)))}));iterateConfig(Ue,R,((E,j)=>{N.hooks.filter.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(ze,R,((E,j)=>{N.hooks.filterResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N,$,q)=>j(E,N,R,$,q)))}));iterateConfig(Je,R,((E,j)=>{N.hooks.sort.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(Ge,R,((E,j)=>{N.hooks.sortResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));iterateConfig(qe,R,((E,j)=>{N.hooks.groupResults.for(E).tap("DefaultStatsFactoryPlugin",((E,N)=>j(E,N,R)))}));for(const E of Object.keys(Ke)){const R=Ke[E];N.hooks.getItemName.for(E).tap("DefaultStatsFactoryPlugin",(()=>R))}for(const E of Object.keys(Qe)){const R=Qe[E];N.hooks.merge.for(E).tap("DefaultStatsFactoryPlugin",R)}if(R.children){if(Array.isArray(R.children)){N.hooks.getItemFactory.for("compilation.children[].compilation").tap("DefaultStatsFactoryPlugin",((N,{_index:$})=>{if($$))}}}))}))}}E.exports=DefaultStatsFactoryPlugin},7391:(E,N,R)=>{"use strict";const j=R(80910);const applyDefaults=(E,N)=>{for(const R of Object.keys(N)){if(typeof E[R]==="undefined"){E[R]=N[R]}}};const $={verbose:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,modules:false,chunks:true,chunkRelations:true,chunkModules:true,dependentModules:true,chunkOrigins:true,depth:true,env:true,reasons:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,errorStack:true,publicPath:true,logging:"verbose",orphanModules:true,runtimeModules:true,exclude:false,modulesSpace:Infinity,chunkModulesSpace:Infinity,assetsSpace:Infinity,reasonsSpace:Infinity,children:true},detailed:{hash:true,builtAt:true,relatedAssets:true,entrypoints:true,chunkGroups:true,ids:true,chunks:true,chunkRelations:true,chunkModules:false,chunkOrigins:true,depth:true,usedExports:true,providedExports:true,optimizationBailout:true,errorDetails:true,publicPath:true,logging:true,runtimeModules:true,exclude:false,modulesSpace:1e3,assetsSpace:1e3,reasonsSpace:1e3},minimal:{all:false,version:true,timings:true,modules:true,modulesSpace:0,assets:true,assetsSpace:0,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},"errors-only":{all:false,errors:true,errorsCount:true,moduleTrace:true,logging:"error"},"errors-warnings":{all:false,errors:true,errorsCount:true,warnings:true,warningsCount:true,logging:"warn"},summary:{all:false,version:true,errorsCount:true,warningsCount:true},none:{all:false}};const NORMAL_ON=({all:E})=>E!==false;const NORMAL_OFF=({all:E})=>E===true;const ON_FOR_TO_STRING=({all:E},{forToString:N})=>N?E!==false:E===true;const OFF_FOR_TO_STRING=({all:E},{forToString:N})=>N?E===true:E!==false;const AUTO_FOR_TO_STRING=({all:E},{forToString:N})=>{if(E===false)return false;if(E===true)return true;if(N)return"auto";return true};const q={context:(E,N,R)=>R.compiler.context,requestShortener:(E,N,R)=>R.compiler.context===E.context?R.requestShortener:new j(E.context,R.compiler.root),performance:NORMAL_ON,hash:OFF_FOR_TO_STRING,env:NORMAL_OFF,version:NORMAL_ON,timings:NORMAL_ON,builtAt:OFF_FOR_TO_STRING,assets:NORMAL_ON,entrypoints:AUTO_FOR_TO_STRING,chunkGroups:OFF_FOR_TO_STRING,chunkGroupAuxiliary:OFF_FOR_TO_STRING,chunkGroupChildren:OFF_FOR_TO_STRING,chunkGroupMaxAssets:(E,{forToString:N})=>N?5:Infinity,chunks:OFF_FOR_TO_STRING,chunkRelations:OFF_FOR_TO_STRING,chunkModules:({all:E,modules:N})=>{if(E===false)return false;if(E===true)return true;if(N)return false;return true},dependentModules:OFF_FOR_TO_STRING,chunkOrigins:OFF_FOR_TO_STRING,ids:OFF_FOR_TO_STRING,modules:({all:E,chunks:N,chunkModules:R},{forToString:j})=>{if(E===false)return false;if(E===true)return true;if(j&&N&&R)return false;return true},nestedModules:OFF_FOR_TO_STRING,groupModulesByType:ON_FOR_TO_STRING,groupModulesByCacheStatus:ON_FOR_TO_STRING,groupModulesByLayer:ON_FOR_TO_STRING,groupModulesByAttributes:ON_FOR_TO_STRING,groupModulesByPath:ON_FOR_TO_STRING,groupModulesByExtension:ON_FOR_TO_STRING,modulesSpace:(E,{forToString:N})=>N?15:Infinity,chunkModulesSpace:(E,{forToString:N})=>N?10:Infinity,nestedModulesSpace:(E,{forToString:N})=>N?10:Infinity,relatedAssets:OFF_FOR_TO_STRING,groupAssetsByEmitStatus:ON_FOR_TO_STRING,groupAssetsByInfo:ON_FOR_TO_STRING,groupAssetsByPath:ON_FOR_TO_STRING,groupAssetsByExtension:ON_FOR_TO_STRING,groupAssetsByChunk:ON_FOR_TO_STRING,assetsSpace:(E,{forToString:N})=>N?15:Infinity,orphanModules:OFF_FOR_TO_STRING,runtimeModules:({all:E,runtime:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,cachedModules:({all:E,cached:N},{forToString:R})=>N!==undefined?N:R?E===true:E!==false,moduleAssets:OFF_FOR_TO_STRING,depth:OFF_FOR_TO_STRING,cachedAssets:OFF_FOR_TO_STRING,reasons:OFF_FOR_TO_STRING,reasonsSpace:(E,{forToString:N})=>N?15:Infinity,groupReasonsByOrigin:ON_FOR_TO_STRING,usedExports:OFF_FOR_TO_STRING,providedExports:OFF_FOR_TO_STRING,optimizationBailout:OFF_FOR_TO_STRING,children:OFF_FOR_TO_STRING,source:NORMAL_OFF,moduleTrace:NORMAL_ON,errors:NORMAL_ON,errorsCount:NORMAL_ON,errorDetails:AUTO_FOR_TO_STRING,errorStack:OFF_FOR_TO_STRING,warnings:NORMAL_ON,warningsCount:NORMAL_ON,publicPath:OFF_FOR_TO_STRING,logging:({all:E},{forToString:N})=>N&&E!==false?"info":false,loggingDebug:()=>[],loggingTrace:OFF_FOR_TO_STRING,excludeModules:()=>[],excludeAssets:()=>[],modulesSort:()=>"depth",chunkModulesSort:()=>"name",nestedModulesSort:()=>false,chunksSort:()=>false,assetsSort:()=>"!size",outputPath:OFF_FOR_TO_STRING,colors:()=>false};const normalizeFilter=E=>{if(typeof E==="string"){const N=new RegExp(`[\\\\/]${E.replace(/[-[\]{}()*+?.\\^$|]/g,"\\$&")}([\\\\/]|$|!|\\?)`);return E=>N.test(E)}if(E&&typeof E==="object"&&typeof E.test==="function"){return N=>E.test(N)}if(typeof E==="function"){return E}if(typeof E==="boolean"){return()=>E}};const G={excludeModules:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},excludeAssets:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)},warningsFilter:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map((E=>{if(typeof E==="string"){return(N,R)=>R.includes(E)}if(E instanceof RegExp){return(N,R)=>E.test(R)}if(typeof E==="function"){return E}throw new Error(`Can only filter warnings with Strings or RegExps. (Given: ${E})`)}))},logging:E=>{if(E===true)E="log";return E},loggingDebug:E=>{if(!Array.isArray(E)){E=E?[E]:[]}return E.map(normalizeFilter)}};class DefaultStatsPresetPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPresetPlugin",(E=>{for(const N of Object.keys($)){const R=$[N];E.hooks.statsPreset.for(N).tap("DefaultStatsPresetPlugin",((E,N)=>{applyDefaults(E,R)}))}E.hooks.statsNormalize.tap("DefaultStatsPresetPlugin",((N,R)=>{for(const j of Object.keys(q)){if(N[j]===undefined)N[j]=q[j](N,R,E)}for(const E of Object.keys(G)){N[E]=G[E](N[E])}}))}))}}E.exports=DefaultStatsPresetPlugin},61762:(E,N,R)=>{"use strict";const plural=(E,N,R)=>E===1?N:R;const printSizes=(E,{formatSize:N=(E=>`${E}`)})=>{const R=Object.keys(E);if(R.length>1){return R.map((R=>`${N(E[R])} (${R})`)).join(" ")}else if(R.length===1){return N(E[R[0]])}};const mapLines=(E,N)=>E.split("\n").map(N).join("\n");const twoDigit=E=>E>=10?`${E}`:`0${E}`;const isValidId=E=>typeof E==="number"||E;const j={"compilation.summary!":(E,{type:N,bold:R,green:j,red:$,yellow:q,formatDateTime:G,formatTime:ie,compilation:{name:ae,hash:ce,version:le,time:_e,builtAt:Ee,errorsCount:Te,warningsCount:we}})=>{const Ie=N==="compilation.summary!";const Ne=we>0?q(`${we} ${plural(we,"warning","warnings")}`):"";const Me=Te>0?$(`${Te} ${plural(Te,"error","errors")}`):"";const Le=Ie&&_e?` in ${ie(_e)}`:"";const Be=ce?` (${ce})`:"";const je=Ie&&Ee?`${G(Ee)}: `:"";const Ue=Ie&&le?`webpack ${le}`:"";const ze=Ie&&ae?R(ae):ae?`Child ${R(ae)}`:Ie?"":"Child";const We=ze&&Ue?`${ze} (${Ue})`:Ue||ze||"webpack";let Je;if(Me&&Ne){Je=`compiled with ${Me} and ${Ne}`}else if(Me){Je=`compiled with ${Me}`}else if(Ne){Je=`compiled with ${Ne}`}else if(Te===0&&we===0){Je=`compiled ${j("successfully")}`}else{Je=`compiled`}if(je||Ue||Me||Ne||Te===0&&we===0||Le||Be)return`${je}${We} ${Je}${Le}${Be}`},"compilation.filteredWarningDetailsCount":E=>E?`${E} ${plural(E,"warning has","warnings have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`:undefined,"compilation.filteredErrorDetailsCount":(E,{yellow:N})=>E?N(`${E} ${plural(E,"error has","errors have")} detailed information that is not shown.\nUse 'stats.errorDetails: true' resp. '--stats-error-details' to show it.`):undefined,"compilation.env":(E,{bold:N})=>E?`Environment (--env): ${N(JSON.stringify(E,null,2))}`:undefined,"compilation.publicPath":(E,{bold:N})=>`PublicPath: ${N(E||"(none)")}`,"compilation.entrypoints":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.values(E),{...N,chunkGroupKind:"Entrypoint"}),"compilation.namedChunkGroups":(E,N,R)=>{if(!Array.isArray(E)){const{compilation:{entrypoints:j}}=N;let $=Object.values(E);if(j){$=$.filter((E=>!Object.prototype.hasOwnProperty.call(j,E.name)))}return R.print(N.type,$,{...N,chunkGroupKind:"Chunk Group"})}},"compilation.assetsByChunkName":()=>"","compilation.filteredModules":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"compilation.filteredAssets":(E,{compilation:{assets:N}})=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"compilation.logging":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.entries(E).map((([E,N])=>({...N,name:E}))),N),"compilation.warningsInChildren!":(E,{yellow:N,compilation:R})=>{if(!R.children&&R.warningsCount>0&&R.warnings){const E=R.warningsCount-R.warnings.length;if(E>0){return N(`${E} ${plural(E,"WARNING","WARNINGS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"compilation.errorsInChildren!":(E,{red:N,compilation:R})=>{if(!R.children&&R.errorsCount>0&&R.errors){const E=R.errorsCount-R.errors.length;if(E>0){return N(`${E} ${plural(E,"ERROR","ERRORS")} in child compilations${R.children?"":" (Use 'stats.children: true' resp. '--stats-children' for more details)"}`)}}},"asset.type":E=>E,"asset.name":(E,{formatFilename:N,asset:{isOverSizeLimit:R}})=>N(E,R),"asset.size":(E,{asset:{isOverSizeLimit:N},yellow:R,green:j,formatSize:$})=>N?R($(E)):$(E),"asset.emitted":(E,{green:N,formatFlag:R})=>E?N(R("emitted")):undefined,"asset.comparedForEmit":(E,{yellow:N,formatFlag:R})=>E?N(R("compared for emit")):undefined,"asset.cached":(E,{green:N,formatFlag:R})=>E?N(R("cached")):undefined,"asset.isOverSizeLimit":(E,{yellow:N,formatFlag:R})=>E?N(R("big")):undefined,"asset.info.immutable":(E,{green:N,formatFlag:R})=>E?N(R("immutable")):undefined,"asset.info.javascriptModule":(E,{formatFlag:N})=>E?N("javascript module"):undefined,"asset.info.sourceFilename":(E,{formatFlag:N})=>E?N(E===true?"from source file":`from: ${E}`):undefined,"asset.info.development":(E,{green:N,formatFlag:R})=>E?N(R("dev")):undefined,"asset.info.hotModuleReplacement":(E,{green:N,formatFlag:R})=>E?N(R("hmr")):undefined,"asset.separator!":()=>"\n","asset.filteredRelated":(E,{asset:{related:N}})=>E>0?`${E} related ${plural(E,"asset","assets")}`:undefined,"asset.filteredChildren":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,assetChunk:(E,{formatChunkId:N})=>N(E),assetChunkName:E=>E,assetChunkIdHint:E=>E,"module.type":E=>E!=="module"?E:undefined,"module.id":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"module.name":(E,{bold:N})=>{const[,R,j]=/^(.*!)?([^!]*)$/.exec(E);return(R||"")+N(j)},"module.identifier":E=>undefined,"module.layer":(E,{formatLayer:N})=>E?N(E):undefined,"module.sizes":printSizes,"module.chunks[]":(E,{formatChunkId:N})=>N(E),"module.depth":(E,{formatFlag:N})=>E!==null?N(`depth ${E}`):undefined,"module.cacheable":(E,{formatFlag:N,red:R})=>E===false?R(N("not cacheable")):undefined,"module.orphan":(E,{formatFlag:N,yellow:R})=>E?R(N("orphan")):undefined,"module.runtime":(E,{formatFlag:N,yellow:R})=>E?R(N("runtime")):undefined,"module.optional":(E,{formatFlag:N,yellow:R})=>E?R(N("optional")):undefined,"module.dependent":(E,{formatFlag:N,cyan:R})=>E?R(N("dependent")):undefined,"module.built":(E,{formatFlag:N,yellow:R})=>E?R(N("built")):undefined,"module.codeGenerated":(E,{formatFlag:N,yellow:R})=>E?R(N("code generated")):undefined,"module.buildTimeExecuted":(E,{formatFlag:N,green:R})=>E?R(N("build time executed")):undefined,"module.cached":(E,{formatFlag:N,green:R})=>E?R(N("cached")):undefined,"module.assets":(E,{formatFlag:N,magenta:R})=>E&&E.length?R(N(`${E.length} ${plural(E.length,"asset","assets")}`)):undefined,"module.warnings":(E,{formatFlag:N,yellow:R})=>E===true?R(N("warnings")):E?R(N(`${E} ${plural(E,"warning","warnings")}`)):undefined,"module.errors":(E,{formatFlag:N,red:R})=>E===true?R(N("errors")):E?R(N(`${E} ${plural(E,"error","errors")}`)):undefined,"module.providedExports":(E,{formatFlag:N,cyan:R})=>{if(Array.isArray(E)){if(E.length===0)return R(N("no exports"));return R(N(`exports: ${E.join(", ")}`))}},"module.usedExports":(E,{formatFlag:N,cyan:R,module:j})=>{if(E!==true){if(E===null)return R(N("used exports unknown"));if(E===false)return R(N("module unused"));if(Array.isArray(E)){if(E.length===0)return R(N("no exports used"));const $=Array.isArray(j.providedExports)?j.providedExports.length:null;if($!==null&&$===E.length){return R(N("all exports used"))}else{return R(N(`only some exports used: ${E.join(", ")}`))}}}},"module.optimizationBailout[]":(E,{yellow:N})=>N(E),"module.issuerPath":(E,{module:N})=>N.profile?undefined:"","module.profile":E=>undefined,"module.filteredModules":E=>E>0?`${E} nested ${plural(E,"module","modules")}`:undefined,"module.filteredReasons":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.filteredChildren":E=>E>0?`${E} ${plural(E,"module","modules")}`:undefined,"module.separator!":()=>"\n","moduleIssuer.id":(E,{formatModuleId:N})=>N(E),"moduleIssuer.profile.total":(E,{formatTime:N})=>N(E),"moduleReason.type":E=>E,"moduleReason.userRequest":(E,{cyan:N})=>N(E),"moduleReason.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"moduleReason.module":(E,{magenta:N})=>N(E),"moduleReason.loc":E=>E,"moduleReason.explanation":(E,{cyan:N})=>N(E),"moduleReason.active":(E,{formatFlag:N})=>E?undefined:N("inactive"),"moduleReason.resolvedModule":(E,{magenta:N})=>N(E),"moduleReason.filteredChildren":E=>E>0?`${E} ${plural(E,"reason","reasons")}`:undefined,"module.profile.total":(E,{formatTime:N})=>N(E),"module.profile.resolving":(E,{formatTime:N})=>`resolving: ${N(E)}`,"module.profile.restoring":(E,{formatTime:N})=>`restoring: ${N(E)}`,"module.profile.integration":(E,{formatTime:N})=>`integration: ${N(E)}`,"module.profile.building":(E,{formatTime:N})=>`building: ${N(E)}`,"module.profile.storing":(E,{formatTime:N})=>`storing: ${N(E)}`,"module.profile.additionalResolving":(E,{formatTime:N})=>E?`additional resolving: ${N(E)}`:undefined,"module.profile.additionalIntegration":(E,{formatTime:N})=>E?`additional integration: ${N(E)}`:undefined,"chunkGroup.kind!":(E,{chunkGroupKind:N})=>N,"chunkGroup.separator!":()=>"\n","chunkGroup.name":(E,{bold:N})=>N(E),"chunkGroup.isOverSizeLimit":(E,{formatFlag:N,yellow:R})=>E?R(N("big")):undefined,"chunkGroup.assetsSize":(E,{formatSize:N})=>E?N(E):undefined,"chunkGroup.auxiliaryAssetsSize":(E,{formatSize:N})=>E?`(${N(E)})`:undefined,"chunkGroup.filteredAssets":E=>E>0?`${E} ${plural(E,"asset","assets")}`:undefined,"chunkGroup.filteredAuxiliaryAssets":E=>E>0?`${E} auxiliary ${plural(E,"asset","assets")}`:undefined,"chunkGroup.is!":()=>"=","chunkGroupAsset.name":(E,{green:N})=>N(E),"chunkGroupAsset.size":(E,{formatSize:N,chunkGroup:R})=>R.assets.length>1||R.auxiliaryAssets&&R.auxiliaryAssets.length>0?N(E):undefined,"chunkGroup.children":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunkGroupChildGroup.type":E=>`${E}:`,"chunkGroupChild.assets[]":(E,{formatFilename:N})=>N(E),"chunkGroupChild.chunks[]":(E,{formatChunkId:N})=>N(E),"chunkGroupChild.name":E=>E?`(name: ${E})`:undefined,"chunk.id":(E,{formatChunkId:N})=>N(E),"chunk.files[]":(E,{formatFilename:N})=>N(E),"chunk.names[]":E=>E,"chunk.idHints[]":E=>E,"chunk.runtime[]":E=>E,"chunk.sizes":(E,N)=>printSizes(E,N),"chunk.parents[]":(E,N)=>N.formatChunkId(E,"parent"),"chunk.siblings[]":(E,N)=>N.formatChunkId(E,"sibling"),"chunk.children[]":(E,N)=>N.formatChunkId(E,"child"),"chunk.childrenByOrder":(E,N,R)=>Array.isArray(E)?undefined:R.print(N.type,Object.keys(E).map((N=>({type:N,children:E[N]}))),N),"chunk.childrenByOrder[].type":E=>`${E}:`,"chunk.childrenByOrder[].children[]":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"chunk.entry":(E,{formatFlag:N,yellow:R})=>E?R(N("entry")):undefined,"chunk.initial":(E,{formatFlag:N,yellow:R})=>E?R(N("initial")):undefined,"chunk.rendered":(E,{formatFlag:N,green:R})=>E?R(N("rendered")):undefined,"chunk.recorded":(E,{formatFlag:N,green:R})=>E?R(N("recorded")):undefined,"chunk.reason":(E,{yellow:N})=>E?N(E):undefined,"chunk.filteredModules":E=>E>0?`${E} chunk ${plural(E,"module","modules")}`:undefined,"chunk.separator!":()=>"\n","chunkOrigin.request":E=>E,"chunkOrigin.moduleId":(E,{formatModuleId:N})=>isValidId(E)?N(E):undefined,"chunkOrigin.moduleName":(E,{bold:N})=>N(E),"chunkOrigin.loc":E=>E,"error.compilerPath":(E,{bold:N})=>E?N(`(${E})`):undefined,"error.chunkId":(E,{formatChunkId:N})=>isValidId(E)?N(E):undefined,"error.chunkEntry":(E,{formatFlag:N})=>E?N("entry"):undefined,"error.chunkInitial":(E,{formatFlag:N})=>E?N("initial"):undefined,"error.file":(E,{bold:N})=>N(E),"error.moduleName":(E,{bold:N})=>E.includes("!")?`${N(E.replace(/^(\s|\S)*!/,""))} (${E})`:`${N(E)}`,"error.loc":(E,{green:N})=>N(E),"error.message":(E,{bold:N,formatError:R})=>E.includes("[")?E:N(R(E)),"error.details":(E,{formatError:N})=>N(E),"error.stack":E=>E,"error.moduleTrace":E=>undefined,"error.separator!":()=>"\n","loggingEntry(error).loggingEntry.message":(E,{red:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(warn).loggingEntry.message":(E,{yellow:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(info).loggingEntry.message":(E,{green:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(log).loggingEntry.message":(E,{bold:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(debug).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(trace).loggingEntry.message":E=>mapLines(E,(E=>` ${E}`)),"loggingEntry(status).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(profile).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

${N(E)}`)),"loggingEntry(profileEnd).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>`

${N(E)}`)),"loggingEntry(time).loggingEntry.message":(E,{magenta:N})=>mapLines(E,(E=>` ${N(E)}`)),"loggingEntry(group).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<-> ${N(E)}`)),"loggingEntry(groupCollapsed).loggingEntry.message":(E,{cyan:N})=>mapLines(E,(E=>`<+> ${N(E)}`)),"loggingEntry(clear).loggingEntry":()=>" -------","loggingEntry(groupCollapsed).loggingEntry.children":()=>"","loggingEntry.trace[]":E=>E?mapLines(E,(E=>`| ${E}`)):undefined,"moduleTraceItem.originName":E=>E,loggingGroup:E=>E.entries.length===0?"":undefined,"loggingGroup.debug":(E,{red:N})=>E?N("DEBUG"):undefined,"loggingGroup.name":(E,{bold:N})=>N(`LOG from ${E}`),"loggingGroup.separator!":()=>"\n","loggingGroup.filteredEntries":E=>E>0?`+ ${E} hidden lines`:undefined,"moduleTraceDependency.loc":E=>E};const $={"compilation.assets[]":"asset","compilation.modules[]":"module","compilation.chunks[]":"chunk","compilation.entrypoints[]":"chunkGroup","compilation.namedChunkGroups[]":"chunkGroup","compilation.errors[]":"error","compilation.warnings[]":"error","compilation.logging[]":"loggingGroup","compilation.children[]":"compilation","asset.related[]":"asset","asset.children[]":"asset","asset.chunks[]":"assetChunk","asset.auxiliaryChunks[]":"assetChunk","asset.chunkNames[]":"assetChunkName","asset.chunkIdHints[]":"assetChunkIdHint","asset.auxiliaryChunkNames[]":"assetChunkName","asset.auxiliaryChunkIdHints[]":"assetChunkIdHint","chunkGroup.assets[]":"chunkGroupAsset","chunkGroup.auxiliaryAssets[]":"chunkGroupAsset","chunkGroupChild.assets[]":"chunkGroupAsset","chunkGroupChild.auxiliaryAssets[]":"chunkGroupAsset","chunkGroup.children[]":"chunkGroupChildGroup","chunkGroupChildGroup.children[]":"chunkGroupChild","module.modules[]":"module","module.children[]":"module","module.reasons[]":"moduleReason","moduleReason.children[]":"moduleReason","module.issuerPath[]":"moduleIssuer","chunk.origins[]":"chunkOrigin","chunk.modules[]":"module","loggingGroup.entries[]":E=>`loggingEntry(${E.type}).loggingEntry`,"loggingEntry.children[]":E=>`loggingEntry(${E.type}).loggingEntry`,"error.moduleTrace[]":"moduleTraceItem","moduleTraceItem.dependencies[]":"moduleTraceDependency"};const q=["compilerPath","chunkId","chunkEntry","chunkInitial","file","separator!","moduleName","loc","separator!","message","separator!","details","separator!","stack","separator!","missing","separator!","moduleTrace"];const G={compilation:["name","hash","version","time","builtAt","env","publicPath","assets","filteredAssets","entrypoints","namedChunkGroups","chunks","modules","filteredModules","children","logging","warnings","warningsInChildren!","filteredWarningDetailsCount","errors","errorsInChildren!","filteredErrorDetailsCount","summary!","needAdditionalPass"],asset:["type","name","size","chunks","auxiliaryChunks","emitted","comparedForEmit","cached","info","isOverSizeLimit","chunkNames","auxiliaryChunkNames","chunkIdHints","auxiliaryChunkIdHints","related","filteredRelated","children","filteredChildren"],"asset.info":["immutable","sourceFilename","javascriptModule","development","hotModuleReplacement"],chunkGroup:["kind!","name","isOverSizeLimit","assetsSize","auxiliaryAssetsSize","is!","assets","filteredAssets","auxiliaryAssets","filteredAuxiliaryAssets","separator!","children"],chunkGroupAsset:["name","size"],chunkGroupChildGroup:["type","children"],chunkGroupChild:["assets","chunks","name"],module:["type","name","identifier","id","layer","sizes","chunks","depth","cacheable","orphan","runtime","optional","dependent","built","codeGenerated","cached","assets","failed","warnings","errors","children","filteredChildren","providedExports","usedExports","optimizationBailout","reasons","filteredReasons","issuerPath","profile","modules","filteredModules"],moduleReason:["active","type","userRequest","moduleId","module","resolvedModule","loc","explanation","children","filteredChildren"],"module.profile":["total","separator!","resolving","restoring","integration","building","storing","additionalResolving","additionalIntegration"],chunk:["id","runtime","files","names","idHints","sizes","parents","siblings","children","childrenByOrder","entry","initial","rendered","recorded","reason","separator!","origins","separator!","modules","separator!","filteredModules"],chunkOrigin:["request","moduleId","moduleName","loc"],error:q,warning:q,"chunk.childrenByOrder[]":["type","children"],loggingGroup:["debug","name","separator!","entries","separator!","filteredEntries"],loggingEntry:["message","trace","children"]};const itemsJoinOneLine=E=>E.filter(Boolean).join(" ");const itemsJoinOneLineBrackets=E=>E.length>0?`(${E.filter(Boolean).join(" ")})`:undefined;const itemsJoinMoreSpacing=E=>E.filter(Boolean).join("\n\n");const itemsJoinComma=E=>E.filter(Boolean).join(", ");const itemsJoinCommaBrackets=E=>E.length>0?`(${E.filter(Boolean).join(", ")})`:undefined;const itemsJoinCommaBracketsWithName=E=>N=>N.length>0?`(${E}: ${N.filter(Boolean).join(", ")})`:undefined;const ie={"chunk.parents":itemsJoinOneLine,"chunk.siblings":itemsJoinOneLine,"chunk.children":itemsJoinOneLine,"chunk.names":itemsJoinCommaBrackets,"chunk.idHints":itemsJoinCommaBracketsWithName("id hint"),"chunk.runtime":itemsJoinCommaBracketsWithName("runtime"),"chunk.files":itemsJoinComma,"chunk.childrenByOrder":itemsJoinOneLine,"chunk.childrenByOrder[].children":itemsJoinOneLine,"chunkGroup.assets":itemsJoinOneLine,"chunkGroup.auxiliaryAssets":itemsJoinOneLineBrackets,"chunkGroupChildGroup.children":itemsJoinComma,"chunkGroupChild.assets":itemsJoinOneLine,"chunkGroupChild.auxiliaryAssets":itemsJoinOneLineBrackets,"asset.chunks":itemsJoinComma,"asset.auxiliaryChunks":itemsJoinCommaBrackets,"asset.chunkNames":itemsJoinCommaBracketsWithName("name"),"asset.auxiliaryChunkNames":itemsJoinCommaBracketsWithName("auxiliary name"),"asset.chunkIdHints":itemsJoinCommaBracketsWithName("id hint"),"asset.auxiliaryChunkIdHints":itemsJoinCommaBracketsWithName("auxiliary id hint"),"module.chunks":itemsJoinOneLine,"module.issuerPath":E=>E.filter(Boolean).map((E=>`${E} ->`)).join(" "),"compilation.errors":itemsJoinMoreSpacing,"compilation.warnings":itemsJoinMoreSpacing,"compilation.logging":itemsJoinMoreSpacing,"compilation.children":E=>indent(itemsJoinMoreSpacing(E)," "),"moduleTraceItem.dependencies":itemsJoinOneLine,"loggingEntry.children":E=>indent(E.filter(Boolean).join("\n")," ",false)};const joinOneLine=E=>E.map((E=>E.content)).filter(Boolean).join(" ");const joinInBrackets=E=>{const N=[];let R=0;for(const j of E){if(j.element==="separator!"){switch(R){case 0:case 1:R+=2;break;case 4:N.push(")");R=3;break}}if(!j.content)continue;switch(R){case 0:R=1;break;case 1:N.push(" ");break;case 2:N.push("(");R=4;break;case 3:N.push(" (");R=4;break;case 4:N.push(", ");break}N.push(j.content)}if(R===4)N.push(")");return N.join("")};const indent=(E,N,R)=>{const j=E.replace(/\n([^\n])/g,"\n"+N+"$1");if(R)return j;const $=E[0]==="\n"?"":N;return $+j};const joinExplicitNewLine=(E,N)=>{let R=true;let j=true;return E.map((E=>{if(!E||!E.content)return;let $=indent(E.content,j?"":N,!R);if(R){$=$.replace(/^\n+/,"")}if(!$)return;j=false;const q=R||$.startsWith("\n");R=$.endsWith("\n");return q?$:" "+$})).filter(Boolean).join("").trim()};const joinError=E=>(N,{red:R,yellow:j})=>`${E?R("ERROR"):j("WARNING")} in ${joinExplicitNewLine(N,"")}`;const ae={compilation:E=>{const N=[];let R=false;for(const j of E){if(!j.content)continue;const E=j.element==="warnings"||j.element==="filteredWarningDetailsCount"||j.element==="errors"||j.element==="filteredErrorDetailsCount"||j.element==="logging";if(N.length!==0){N.push(E||R?"\n\n":"\n")}N.push(j.content);R=E}if(R)N.push("\n");return N.join("")},asset:E=>joinExplicitNewLine(E.map((E=>{if((E.element==="related"||E.element==="children")&&E.content){return{...E,content:`\n${E.content}\n`}}return E}))," "),"asset.info":joinOneLine,module:(E,{module:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"id":if(N.id===N.name){if(R)return false;if(E.content)R=true}break;case"name":if(R)return false;if(E.content)R=true;break;case"providedExports":case"usedExports":case"optimizationBailout":case"reasons":case"issuerPath":case"profile":case"children":case"modules":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},chunk:E=>{let N=false;return"chunk "+joinExplicitNewLine(E.filter((E=>{switch(E.element){case"entry":if(E.content)N=true;break;case"initial":if(N)return false;break}return true}))," ")},"chunk.childrenByOrder[]":E=>`(${joinOneLine(E)})`,chunkGroup:E=>joinExplicitNewLine(E," "),chunkGroupAsset:joinOneLine,chunkGroupChildGroup:joinOneLine,chunkGroupChild:joinOneLine,moduleReason:(E,{moduleReason:N})=>{let R=false;return joinExplicitNewLine(E.map((E=>{switch(E.element){case"moduleId":if(N.moduleId===N.module&&E.content)R=true;break;case"module":if(R)return false;break;case"resolvedModule":if(N.module===N.resolvedModule)return false;break;case"children":if(E.content){return{...E,content:`\n${E.content}\n`}}break}return E}))," ")},"module.profile":joinInBrackets,moduleIssuer:joinOneLine,chunkOrigin:E=>"> "+joinOneLine(E),"errors[].error":joinError(true),"warnings[].error":joinError(false),loggingGroup:E=>joinExplicitNewLine(E,"").trimRight(),moduleTraceItem:E=>" @ "+joinOneLine(E),moduleTraceDependency:joinOneLine};const ce={bold:"",yellow:"",red:"",green:"",cyan:"",magenta:""};const le={formatChunkId:(E,{yellow:N},R)=>{switch(R){case"parent":return`<{${N(E)}}>`;case"sibling":return`={${N(E)}}=`;case"child":return`>{${N(E)}}<`;default:return`{${N(E)}}`}},formatModuleId:E=>`[${E}]`,formatFilename:(E,{green:N,yellow:R},j)=>(j?R:N)(E),formatFlag:E=>`[${E}]`,formatLayer:E=>`(in ${E})`,formatSize:R(9192).formatSize,formatDateTime:(E,{bold:N})=>{const R=new Date(E);const j=twoDigit;const $=`${R.getFullYear()}-${j(R.getMonth()+1)}-${j(R.getDate())}`;const q=`${j(R.getHours())}:${j(R.getMinutes())}:${j(R.getSeconds())}`;return`${$} ${N(q)}`},formatTime:(E,{timeReference:N,bold:R,green:j,yellow:$,red:q},G)=>{const ie=" ms";if(N&&E!==N){const G=[N/2,N/4,N/8,N/16];if(E{if(E.includes("["))return E;const $=[{regExp:/(Did you mean .+)/g,format:N},{regExp:/(Set 'mode' option to 'development' or 'production')/g,format:N},{regExp:/(\(module has no exports\))/g,format:j},{regExp:/\(possible exports: (.+)\)/g,format:N},{regExp:/\s*(.+ doesn't exist)/g,format:j},{regExp:/('\w+' option has not been set)/g,format:j},{regExp:/(Emitted value instead of an instance of Error)/g,format:R},{regExp:/(Used? .+ instead)/gi,format:R},{regExp:/\b(deprecated|must|required)\b/g,format:R},{regExp:/\b(BREAKING CHANGE)\b/gi,format:j},{regExp:/\b(error|failed|unexpected|invalid|not found|not supported|not available|not possible|not implemented|doesn't support|conflict|conflicting|not existing|duplicate)\b/gi,format:j}];for(const{regExp:N,format:R}of $){E=E.replace(N,((E,N)=>E.replace(N,R(N))))}return E}};const _e={"module.modules":E=>indent(E,"| ")};const createOrder=(E,N)=>{const R=E.slice();const j=new Set(E);const $=new Set;E.length=0;for(const R of N){if(R.endsWith("!")||j.has(R)){E.push(R);$.add(R)}}for(const N of R){if(!$.has(N)){E.push(N)}}return E};class DefaultStatsPrinterPlugin{apply(E){E.hooks.compilation.tap("DefaultStatsPrinterPlugin",(E=>{E.hooks.statsPrinter.tap("DefaultStatsPrinterPlugin",((E,N,R)=>{E.hooks.print.for("compilation").tap("DefaultStatsPrinterPlugin",((E,R)=>{for(const E of Object.keys(ce)){let j;if(N.colors){if(typeof N.colors==="object"&&typeof N.colors[E]==="string"){j=N.colors[E]}else{j=ce[E]}}if(j){R[E]=E=>`${j}${typeof E==="string"?E.replace(/((\u001b\[39m|\u001b\[22m|\u001b\[0m)+)/g,`$1${j}`):E}`}else{R[E]=E=>E}}for(const E of Object.keys(le)){R[E]=(N,...j)=>le[E](N,R,...j)}R.timeReference=E.time}));for(const N of Object.keys(j)){E.hooks.print.for(N).tap("DefaultStatsPrinterPlugin",((R,$)=>j[N](R,$,E)))}for(const N of Object.keys(G)){const R=G[N];E.hooks.sortElements.for(N).tap("DefaultStatsPrinterPlugin",((E,N)=>{createOrder(E,R)}))}for(const N of Object.keys($)){const R=$[N];E.hooks.getItemName.for(N).tap("DefaultStatsPrinterPlugin",typeof R==="string"?()=>R:R)}for(const N of Object.keys(ie)){const R=ie[N];E.hooks.printItems.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(ae)){const R=ae[N];E.hooks.printElements.for(N).tap("DefaultStatsPrinterPlugin",R)}for(const N of Object.keys(_e)){const R=_e[N];E.hooks.result.for(N).tap("DefaultStatsPrinterPlugin",R)}}))}))}}E.exports=DefaultStatsPrinterPlugin},87279:(E,N,R)=>{"use strict";const{HookMap:j,SyncBailHook:$,SyncWaterfallHook:q}=R(92960);const{concatComparators:G,keepOriginalOrder:ie}=R(68673);const ae=R(93695);class StatsFactory{constructor(){this.hooks=Object.freeze({extract:new j((()=>new $(["object","data","context"]))),filter:new j((()=>new $(["item","context","index","unfilteredIndex"]))),sort:new j((()=>new $(["comparators","context"]))),filterSorted:new j((()=>new $(["item","context","index","unfilteredIndex"]))),groupResults:new j((()=>new $(["groupConfigs","context"]))),sortResults:new j((()=>new $(["comparators","context"]))),filterResults:new j((()=>new $(["item","context","index","unfilteredIndex"]))),merge:new j((()=>new $(["items","context"]))),result:new j((()=>new q(["result","context"]))),getItemName:new j((()=>new $(["item","context"]))),getItemFactory:new j((()=>new $(["item","context"])))});const E=this.hooks;this._caches={};for(const N of Object.keys(E)){this._caches[N]=new Map}this._inCreate=false}_getAllLevelHooks(E,N,R){const j=N.get(R);if(j!==undefined){return j}const $=[];const q=R.split(".");for(let N=0;N{for(const R of G){const j=$(R,E,N,ie);if(j!==undefined){if(j)ie++;return j}}ie++;return true}))}create(E,N,R){if(this._inCreate){return this._create(E,N,R)}else{try{this._inCreate=true;return this._create(E,N,R)}finally{for(const E of Object.keys(this._caches))this._caches[E].clear();this._inCreate=false}}}_create(E,N,R){const j={...R,type:E,[E]:N};if(Array.isArray(N)){const R=this._forEachLevelFilter(this.hooks.filter,this._caches.filter,E,N,((E,N,R,$)=>E.call(N,j,R,$)),true);const $=[];this._forEachLevel(this.hooks.sort,this._caches.sort,E,(E=>E.call($,j)));if($.length>0){R.sort(G(...$,ie(R)))}const q=this._forEachLevelFilter(this.hooks.filterSorted,this._caches.filterSorted,E,R,((E,N,R,$)=>E.call(N,j,R,$)),false);let ce=q.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,this._caches.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;const G=q?`${E}[].${q}`:`${E}[]`;const ie=this._forEachLevel(this.hooks.getItemFactory,this._caches.getItemFactory,G,(E=>E.call(N,$)))||this;return ie.create(G,N,$)}));const le=[];this._forEachLevel(this.hooks.sortResults,this._caches.sortResults,E,(E=>E.call(le,j)));if(le.length>0){ce.sort(G(...le,ie(ce)))}const _e=[];this._forEachLevel(this.hooks.groupResults,this._caches.groupResults,E,(E=>E.call(_e,j)));if(_e.length>0){ce=ae(ce,_e)}const Ee=this._forEachLevelFilter(this.hooks.filterResults,this._caches.filterResults,E,ce,((E,N,R,$)=>E.call(N,j,R,$)),false);let Te=this._forEachLevel(this.hooks.merge,this._caches.merge,E,(E=>E.call(Ee,j)));if(Te===undefined)Te=Ee;return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,Te,((E,N)=>E.call(N,j)))}else{const R={};this._forEachLevel(this.hooks.extract,this._caches.extract,E,(E=>E.call(R,N,j)));return this._forEachLevelWaterfall(this.hooks.result,this._caches.result,E,R,((E,N)=>E.call(N,j)))}}}E.exports=StatsFactory},30533:(E,N,R)=>{"use strict";const{HookMap:j,SyncWaterfallHook:$,SyncBailHook:q}=R(92960);class StatsPrinter{constructor(){this.hooks=Object.freeze({sortElements:new j((()=>new q(["elements","context"]))),printElements:new j((()=>new q(["printedElements","context"]))),sortItems:new j((()=>new q(["items","context"]))),getItemName:new j((()=>new q(["item","context"]))),printItems:new j((()=>new q(["printedItems","context"]))),print:new j((()=>new q(["object","context"]))),result:new j((()=>new $(["result","context"])))});this._levelHookCache=new Map;this._inPrint=false}_getAllLevelHooks(E,N){let R=this._levelHookCache.get(E);if(R===undefined){R=new Map;this._levelHookCache.set(E,R)}const j=R.get(N);if(j!==undefined){return j}const $=[];const q=N.split(".");for(let N=0;NE.call(N,j)));if($===undefined){if(Array.isArray(N)){const R=N.slice();this._forEachLevel(this.hooks.sortItems,E,(E=>E.call(R,j)));const q=R.map(((N,R)=>{const $={...j,_index:R};const q=this._forEachLevel(this.hooks.getItemName,`${E}[]`,(E=>E.call(N,$)));if(q)$[q]=N;return this.print(q?`${E}[].${q}`:`${E}[]`,N,$)}));$=this._forEachLevel(this.hooks.printItems,E,(E=>E.call(q,j)));if($===undefined){const E=q.filter(Boolean);if(E.length>0)$=E.join("\n")}}else if(N!==null&&typeof N==="object"){const R=Object.keys(N).filter((E=>N[E]!==undefined));this._forEachLevel(this.hooks.sortElements,E,(E=>E.call(R,j)));const q=R.map((R=>{const $=this.print(`${E}.${R}`,N[R],{...j,_parent:N,_element:R,[R]:N[R]});return{element:R,content:$}}));$=this._forEachLevel(this.hooks.printElements,E,(E=>E.call(q,j)));if($===undefined){const E=q.map((E=>E.content)).filter(Boolean);if(E.length>0)$=E.join("\n")}}}return this._forEachLevelWaterfall(this.hooks.result,E,$,((E,N)=>E.call(N,j)))}}E.exports=StatsPrinter},73910:(E,N)=>{"use strict";N.equals=(E,N)=>{if(E.length!==N.length)return false;for(let R=0;R{"use strict";class ArrayQueue{constructor(E){this._list=E?Array.from(E):[];this._listReversed=[]}get length(){return this._list.length+this._listReversed.length}clear(){this._list.length=0;this._listReversed.length=0}enqueue(E){this._list.push(E)}dequeue(){if(this._listReversed.length===0){if(this._list.length===0)return undefined;if(this._list.length===1)return this._list.pop();if(this._list.length<16)return this._list.shift();const E=this._listReversed;this._listReversed=this._list;this._listReversed.reverse();this._list=E}return this._listReversed.pop()}delete(E){const N=this._list.indexOf(E);if(N>=0){this._list.splice(N,1)}else{const N=this._listReversed.indexOf(E);if(N>=0)this._listReversed.splice(N,1)}}[Symbol.iterator](){let E=-1;let N=false;return{next:()=>{if(!N){E++;if(E{"use strict";const{SyncHook:j,AsyncSeriesHook:$}=R(92960);const{makeWebpackError:q}=R(3728);const G=R(81627);const ie=R(56561);const ae=0;const ce=1;const le=2;let _e=0;class AsyncQueueEntry{constructor(E,N){this.item=E;this.state=ae;this.callback=N;this.callbacks=undefined;this.result=undefined;this.error=undefined}}class AsyncQueue{constructor({name:E,parallelism:N,parent:R,processor:q,getKey:G}){this._name=E;this._parallelism=N||1;this._processor=q;this._getKey=G||(E=>E);this._entries=new Map;this._queued=new ie;this._children=undefined;this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false;this._root=R?R._root:this;if(R){if(this._root._children===undefined){this._root._children=[this]}else{this._root._children.push(this)}}this.hooks={beforeAdd:new $(["item"]),added:new j(["item"]),beforeStart:new $(["item"]),started:new j(["item"]),result:new j(["item","error","result"])};this._ensureProcessing=this._ensureProcessing.bind(this)}add(E,N){if(this._stopped)return N(new G("Queue was stopped"));this.hooks.beforeAdd.callAsync(E,(R=>{if(R){N(q(R,`AsyncQueue(${this._name}).hooks.beforeAdd`));return}const j=this._getKey(E);const $=this._entries.get(j);if($!==undefined){if($.state===le){if(_e++>3){process.nextTick((()=>N($.error,$.result)))}else{N($.error,$.result)}_e--}else if($.callbacks===undefined){$.callbacks=[N]}else{$.callbacks.push(N)}return}const ie=new AsyncQueueEntry(E,N);if(this._stopped){this.hooks.added.call(E);this._root._activeTasks++;process.nextTick((()=>this._handleResult(ie,new G("Queue was stopped"))))}else{this._entries.set(j,ie);this._queued.enqueue(ie);const N=this._root;N._needProcessing=true;if(N._willEnsureProcessing===false){N._willEnsureProcessing=true;setImmediate(N._ensureProcessing)}this.hooks.added.call(E)}}))}invalidate(E){const N=this._getKey(E);const R=this._entries.get(N);this._entries.delete(N);if(R.state===ae){this._queued.delete(R)}}waitFor(E,N){const R=this._getKey(E);const j=this._entries.get(R);if(j===undefined){return N(new G("waitFor can only be called for an already started item"))}if(j.state===le){process.nextTick((()=>N(j.error,j.result)))}else if(j.callbacks===undefined){j.callbacks=[N]}else{j.callbacks.push(N)}}stop(){this._stopped=true;const E=this._queued;this._queued=new ie;const N=this._root;for(const R of E){this._entries.delete(this._getKey(R.item));N._activeTasks++;this._handleResult(R,new G("Queue was stopped"))}}increaseParallelism(){const E=this._root;E._parallelism++;if(E._willEnsureProcessing===false&&E._needProcessing){E._willEnsureProcessing=true;setImmediate(E._ensureProcessing)}}decreaseParallelism(){const E=this._root;E._parallelism--}isProcessing(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ce}isQueued(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===ae}isDone(E){const N=this._getKey(E);const R=this._entries.get(N);return R!==undefined&&R.state===le}_ensureProcessing(){while(this._activeTasks0)return;if(this._children!==undefined){for(const E of this._children){while(this._activeTasks0)return}}if(!this._willEnsureProcessing)this._needProcessing=false}_startProcessing(E){this.hooks.beforeStart.callAsync(E.item,(N=>{if(N){this._handleResult(E,q(N,`AsyncQueue(${this._name}).hooks.beforeStart`));return}let R=false;try{this._processor(E.item,((N,j)=>{R=true;this._handleResult(E,N,j)}))}catch(N){if(R)throw N;this._handleResult(E,N,null)}this.hooks.started.call(E.item)}))}_handleResult(E,N,R){this.hooks.result.callAsync(E.item,N,R,(j=>{const $=j?q(j,`AsyncQueue(${this._name}).hooks.result`):N;const G=E.callback;const ie=E.callbacks;E.state=le;E.callback=undefined;E.callbacks=undefined;E.result=R;E.error=$;const ae=this._root;ae._activeTasks--;if(ae._willEnsureProcessing===false&&ae._needProcessing){ae._willEnsureProcessing=true;setImmediate(ae._ensureProcessing)}if(_e++>3){process.nextTick((()=>{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}))}else{G($,R);if(ie!==undefined){for(const E of ie){E($,R)}}}_e--}))}clear(){this._entries.clear();this._queued.clear();this._activeTasks=0;this._willEnsureProcessing=false;this._needProcessing=false;this._stopped=false}}E.exports=AsyncQueue},75066:(E,N,R)=>{"use strict";class Hash{update(E,N){const j=R(75884);throw new j}digest(E){const N=R(75884);throw new N}}E.exports=Hash},11539:(E,N)=>{"use strict";const last=E=>{let N;for(const R of E)N=R;return N};const someInIterable=(E,N)=>{for(const R of E){if(N(R))return true}return false};const countIterable=E=>{let N=0;for(const R of E)N++;return N};N.last=last;N.someInIterable=someInIterable;N.countIterable=countIterable},37496:(E,N,R)=>{"use strict";const{first:j}=R(26221);const $=R(16102);class LazyBucketSortedSet{constructor(E,N,...R){this._getKey=E;this._innerArgs=R;this._leaf=R.length<=1;this._keys=new $(undefined,N);this._map=new Map;this._unsortedItems=new Set;this.size=0}add(E){this.size++;this._unsortedItems.add(E)}_addInternal(E,N){let R=this._map.get(E);if(R===undefined){R=this._leaf?new $(undefined,this._innerArgs[0]):new LazyBucketSortedSet(...this._innerArgs);this._keys.add(E);this._map.set(E,R)}R.add(N)}delete(E){this.size--;if(this._unsortedItems.has(E)){this._unsortedItems.delete(E);return}const N=this._getKey(E);const R=this._map.get(N);R.delete(E);if(R.size===0){this._deleteKey(N)}}_deleteKey(E){this._keys.delete(E);this._map.delete(E)}popFirst(){if(this.size===0)return undefined;this.size--;if(this._unsortedItems.size>0){for(const E of this._unsortedItems){const N=this._getKey(E);this._addInternal(N,E)}this._unsortedItems.clear()}this._keys.sort();const E=j(this._keys);const N=this._map.get(E);if(this._leaf){const R=N;R.sort();const $=j(R);R.delete($);if(R.size===0){this._deleteKey(E)}return $}else{const R=N;const j=R.popFirst();if(R.size===0){this._deleteKey(E)}return j}}startUpdate(E){if(this._unsortedItems.has(E)){return N=>{if(N){this._unsortedItems.delete(E);this.size--;return}}}const N=this._getKey(E);if(this._leaf){const R=this._map.get(N);return j=>{if(j){this.size--;R.delete(E);if(R.size===0){this._deleteKey(N)}return}const $=this._getKey(E);if(N===$){R.add(E)}else{R.delete(E);if(R.size===0){this._deleteKey(N)}this._addInternal($,E)}}}else{const R=this._map.get(N);const j=R.startUpdate(E);return $=>{if($){this.size--;j(true);if(R.size===0){this._deleteKey(N)}return}const q=this._getKey(E);if(N===q){j()}else{j(true);if(R.size===0){this._deleteKey(N)}this._addInternal(q,E)}}}}_appendIterators(E){if(this._unsortedItems.size>0)E.push(this._unsortedItems[Symbol.iterator]());for(const N of this._keys){const R=this._map.get(N);if(this._leaf){const N=R;const j=N[Symbol.iterator]();E.push(j)}else{const N=R;N._appendIterators(E)}}}[Symbol.iterator](){const E=[];this._appendIterators(E);E.reverse();let N=E.pop();return{next:()=>{const R=N.next();if(R.done){if(E.length===0)return R;N=E.pop();return N.next()}return R}}}}E.exports=LazyBucketSortedSet},83379:(E,N,R)=>{"use strict";const j=R(56202);const merge=(E,N)=>{for(const R of N){for(const N of R){E.add(N)}}};const flatten=(E,N)=>{for(const R of N){if(R._set.size>0)E.add(R._set);if(R._needMerge){for(const N of R._toMerge){E.add(N)}flatten(E,R._toDeepMerge)}}};class LazySet{constructor(E){this._set=new Set(E);this._toMerge=new Set;this._toDeepMerge=[];this._needMerge=false;this._deopt=false}_flatten(){flatten(this._toMerge,this._toDeepMerge);this._toDeepMerge.length=0}_merge(){this._flatten();merge(this._set,this._toMerge);this._toMerge.clear();this._needMerge=false}_isEmpty(){return this._set.size===0&&this._toMerge.size===0&&this._toDeepMerge.length===0}get size(){if(this._needMerge)this._merge();return this._set.size}add(E){this._set.add(E);return this}addAll(E){if(this._deopt){const N=this._set;for(const R of E){N.add(R)}}else{if(E instanceof LazySet){if(E._isEmpty())return this;this._toDeepMerge.push(E);this._needMerge=true;if(this._toDeepMerge.length>1e5){this._flatten()}}else{this._toMerge.add(E);this._needMerge=true}if(this._toMerge.size>1e5)this._merge()}return this}clear(){this._set.clear();this._toMerge.clear();this._toDeepMerge.length=0;this._needMerge=false;this._deopt=false}delete(E){if(this._needMerge)this._merge();return this._set.delete(E)}entries(){this._deopt=true;if(this._needMerge)this._merge();return this._set.entries()}forEach(E,N){this._deopt=true;if(this._needMerge)this._merge();this._set.forEach(E,N)}has(E){if(this._needMerge)this._merge();return this._set.has(E)}keys(){this._deopt=true;if(this._needMerge)this._merge();return this._set.keys()}values(){this._deopt=true;if(this._needMerge)this._merge();return this._set.values()}[Symbol.iterator](){this._deopt=true;if(this._needMerge)this._merge();return this._set[Symbol.iterator]()}get[Symbol.toStringTag](){return"LazySet"}serialize({write:E}){if(this._needMerge)this._merge();E(this._set.size);for(const N of this._set)E(N)}static deserialize({read:E}){const N=E();const R=[];for(let j=0;j{"use strict";N.provide=(E,N,R)=>{const j=E.get(N);if(j!==undefined)return j;const $=R();E.set(N,$);return $}},382:(E,N,R)=>{"use strict";const j=R(31017);class ParallelismFactorCalculator{constructor(){this._rangePoints=[];this._rangeCallbacks=[]}range(E,N,R){if(E===N)return R(1);this._rangePoints.push(E);this._rangePoints.push(N);this._rangeCallbacks.push(R)}calculate(){const E=Array.from(new Set(this._rangePoints)).sort(((E,N)=>E0));const R=[];for(let $=0;${"use strict";class Queue{constructor(E){this._set=new Set(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(E){this._set.add(E)}dequeue(){const E=this._iterator.next();if(E.done)return undefined;this._set.delete(E.value);return E.value}}E.exports=Queue},26221:(E,N)=>{"use strict";const intersect=E=>{if(E.length===0)return new Set;if(E.length===1)return new Set(E[0]);let N=Infinity;let R=-1;for(let j=0;j{if(E.size{for(const R of E){if(N(R))return R}};const first=E=>{const N=E.values().next();return N.done?undefined:N.value};const combine=(E,N)=>{if(N.size===0)return E;if(E.size===0)return N;const R=new Set(E);for(const E of N)R.add(E);return R};N.intersect=intersect;N.isSubset=isSubset;N.find=find;N.first=first;N.combine=combine},16102:E=>{"use strict";const N=Symbol("not sorted");class SortableSet extends Set{constructor(E,R){super(E);this._sortFn=R;this._lastActiveSortFn=N;this._cache=undefined;this._cacheOrderIndependent=undefined}add(E){this._lastActiveSortFn=N;this._invalidateCache();this._invalidateOrderedCache();super.add(E);return this}delete(E){this._invalidateCache();this._invalidateOrderedCache();return super.delete(E)}clear(){this._invalidateCache();this._invalidateOrderedCache();return super.clear()}sortWith(E){if(this.size<=1||E===this._lastActiveSortFn){return}const N=Array.from(this).sort(E);super.clear();for(let E=0;E{"use strict";class StackedCacheMap{constructor(){this.map=new Map;this.stack=[]}addAll(E,N){if(N){this.stack.push(E);for(let N=this.stack.length-1;N>0;N--){const R=this.stack[N-1];if(R.size>=E.size)break;this.stack[N]=R;this.stack[N-1]=E}}else{for(const[N,R]of E){this.map.set(N,R)}}}set(E,N){this.map.set(E,N)}delete(E){throw new Error("Items can't be deleted from a StackedCacheMap")}has(E){throw new Error("Checking StackedCacheMap.has before reading is inefficient, use StackedCacheMap.get and check for undefined")}get(E){for(const N of this.stack){const R=N.get(E);if(R!==undefined)return R}return this.map.get(E)}clear(){this.stack.length=0;this.map.clear()}get size(){let E=this.map.size;for(const N of this.stack){E+=N.size}return E}[Symbol.iterator](){const E=this.stack.map((E=>E[Symbol.iterator]()));let N=this.map[Symbol.iterator]();return{next(){let R=N.next();while(R.done&&E.length>0){N=E.pop();R=N.next()}return R}}}}E.exports=StackedCacheMap},80371:E=>{"use strict";const N=Symbol("tombstone");const R=Symbol("undefined");const extractPair=E=>{const j=E[0];const $=E[1];if($===R||$===N){return[j,undefined]}else{return E}};class StackedMap{constructor(E){this.map=new Map;this.stack=E===undefined?[]:E.slice();this.stack.push(this.map)}set(E,N){this.map.set(E,N===undefined?R:N)}delete(E){if(this.stack.length>1){this.map.set(E,N)}else{this.map.delete(E)}}has(E){const R=this.map.get(E);if(R!==undefined){return R!==N}if(this.stack.length>1){for(let R=this.stack.length-2;R>=0;R--){const j=this.stack[R].get(E);if(j!==undefined){this.map.set(E,j);return j!==N}}this.map.set(E,N)}return false}get(E){const j=this.map.get(E);if(j!==undefined){return j===N||j===R?undefined:j}if(this.stack.length>1){for(let j=this.stack.length-2;j>=0;j--){const $=this.stack[j].get(E);if($!==undefined){this.map.set(E,$);return $===N||$===R?undefined:$}}this.map.set(E,N)}return undefined}_compress(){if(this.stack.length===1)return;this.map=new Map;for(const E of this.stack){for(const R of E){if(R[1]===N){this.map.delete(R[0])}else{this.map.set(R[0],R[1])}}}this.stack=[this.map]}asArray(){this._compress();return Array.from(this.map.keys())}asSet(){this._compress();return new Set(this.map.keys())}asPairArray(){this._compress();return Array.from(this.map.entries(),extractPair)}asMap(){return new Map(this.asPairArray())}get size(){this._compress();return this.map.size}createChild(){return new StackedMap(this.stack)}}E.exports=StackedMap},14146:E=>{"use strict";class StringXor{constructor(){this._value=undefined}add(E){const N=E.length;const R=this._value;if(R===undefined){const R=this._value=Buffer.allocUnsafe(N);for(let j=0;j{"use strict";const j=R(86949);class TupleQueue{constructor(E){this._set=new j(E);this._iterator=this._set[Symbol.iterator]()}get length(){return this._set.size}enqueue(...E){this._set.add(...E)}dequeue(){const E=this._iterator.next();if(E.done){if(this._set.size>0){this._iterator=this._set[Symbol.iterator]();const E=this._iterator.next().value;this._set.delete(...E);return E}return undefined}this._set.delete(...E.value);return E.value}}E.exports=TupleQueue},86949:E=>{"use strict";class TupleSet{constructor(E){this._map=new Map;this.size=0;if(E){for(const N of E){this.add(...N)}}}add(...E){let N=this._map;for(let R=0;R{const $=j.next();if($.done){if(E.length===0)return false;N.pop();return next(E.pop())}const[q,G]=$.value;E.push(j);N.push(q);if(G instanceof Set){R=G[Symbol.iterator]();return true}else{return next(G[Symbol.iterator]())}};next(this._map[Symbol.iterator]());return{next(){while(R){const j=R.next();if(j.done){N.pop();if(!next(E.pop())){R=undefined}}else{return{done:false,value:N.concat(j.value)}}}return{done:true,value:undefined}}}}}E.exports=TupleSet},45754:(E,N)=>{"use strict";const R="\\".charCodeAt(0);const j="/".charCodeAt(0);const $="a".charCodeAt(0);const q="z".charCodeAt(0);const G="A".charCodeAt(0);const ie="Z".charCodeAt(0);const ae="0".charCodeAt(0);const ce="9".charCodeAt(0);const le="+".charCodeAt(0);const _e="-".charCodeAt(0);const Ee=":".charCodeAt(0);const Te="#".charCodeAt(0);const we="?".charCodeAt(0);function getScheme(E){const N=E.charCodeAt(0);if((N<$||N>q)&&(Nie)){return undefined}let Ie=1;let Ne=E.charCodeAt(Ie);while(Ne>=$&&Ne<=q||Ne>=G&&Ne<=ie||Ne>=ae&&Ne<=ce||Ne===le||Ne===_e){if(++Ie===E.length)return undefined;Ne=E.charCodeAt(Ie)}if(Ne!==Ee)return undefined;if(Ie===1){const N=Ie+1{"use strict";const isWeakKey=E=>typeof E==="object"&&E!==null;class WeakTupleMap{constructor(){this.f=0;this.v=undefined;this.m=undefined;this.w=undefined}set(...E){let N=this;for(let R=0;R{"use strict";const compileSearch=(E,N,R,j,$)=>{const q=["function ",E,"(a,l,h,",j.join(","),"){",$?"":"var i=",R?"l-1":"h+1",";while(l<=h){var m=(l+h)>>>1,x=a[m]"];if($){if(N.indexOf("c")<0){q.push(";if(x===y){return m}else if(x<=y){")}else{q.push(";var p=c(x,y);if(p===0){return m}else if(p<=0){")}}else{q.push(";if(",N,"){i=m;")}if(R){q.push("l=m+1}else{h=m-1}")}else{q.push("h=m-1}else{l=m+1}")}q.push("}");if($){q.push("return -1};")}else{q.push("return i};")}return q.join("")};const compileBoundsSearch=(E,N,R,j)=>{const $=compileSearch("A","x"+E+"y",N,["y"],j);const q=compileSearch("P","c(x,y)"+E+"0",N,["y","c"],j);const G="function dispatchBinarySearch";const ie="(a,y,c,l,h){if(typeof(c)==='function'){return P(a,(l===void 0)?0:l|0,(h===void 0)?a.length-1:h|0,y,c)}else{return A(a,(c===void 0)?0:c|0,(l===void 0)?a.length-1:l|0,y)}}return dispatchBinarySearch";const ae=[$,q,G,R,ie,R];const ce=ae.join("");const le=new Function(ce);return le()};E.exports={ge:compileBoundsSearch(">=",false,"GE"),gt:compileBoundsSearch(">",false,"GT"),lt:compileBoundsSearch("<",true,"LT"),le:compileBoundsSearch("<=",true,"LE"),eq:compileBoundsSearch("-",true,"EQ",true)}},90149:(E,N)=>{"use strict";const R=new WeakMap;const j=new WeakMap;const $=Symbol("DELETE");const q=Symbol("cleverMerge dynamic info");const cachedCleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;let j=R.get(E);if(j===undefined){j=new WeakMap;R.set(E,j)}const $=j.get(N);if($!==undefined)return $;const q=_cleverMerge(E,N,true);j.set(N,q);return q};const cachedSetProperty=(E,N,R)=>{let $=j.get(E);if($===undefined){$=new Map;j.set(E,$)}let q=$.get(N);if(q===undefined){q=new Map;$.set(N,q)}let G=q.get(R);if(G)return G;G={...E,[N]:R};q.set(R,G);return G};const G=new WeakMap;const cachedParseObject=E=>{const N=G.get(E);if(N!==undefined)return N;const R=parseObject(E);G.set(E,R);return R};const parseObject=E=>{const N=new Map;let R;const getInfo=E=>{const R=N.get(E);if(R!==undefined)return R;const j={base:undefined,byProperty:undefined,byValues:undefined};N.set(E,j);return j};for(const N of Object.keys(E)){if(N.startsWith("by")){const j=N;const $=E[j];if(typeof $==="object"){for(const E of Object.keys($)){const N=$[E];for(const R of Object.keys(N)){const q=getInfo(R);if(q.byProperty===undefined){q.byProperty=j;q.byValues=new Map}else if(q.byProperty!==j){throw new Error(`${j} and ${q.byProperty} for a single property is not supported`)}q.byValues.set(E,N[R]);if(E==="default"){for(const E of Object.keys($)){if(!q.byValues.has(E))q.byValues.set(E,undefined)}}}}}else if(typeof $==="function"){if(R===undefined){R={byProperty:N,fn:$}}else{throw new Error(`${N} and ${R.byProperty} when both are functions is not supported`)}}else{const R=getInfo(N);R.base=E[N]}}else{const R=getInfo(N);R.base=E[N]}}return{static:N,dynamic:R}};const serializeObject=(E,N)=>{const R={};for(const N of E.values()){if(N.byProperty!==undefined){const E=R[N.byProperty]=R[N.byProperty]||{};for(const R of N.byValues.keys()){E[R]=E[R]||{}}}}for(const[N,j]of E){if(j.base!==undefined){R[N]=j.base}if(j.byProperty!==undefined){const E=R[j.byProperty]=R[j.byProperty]||{};for(const R of Object.keys(E)){const $=getFromByValues(j.byValues,R);if($!==undefined)E[R][N]=$}}}if(N!==undefined){R[N.byProperty]=N.fn}return R};const ie=0;const ae=1;const ce=2;const le=3;const _e=4;const getValueType=E=>{if(E===undefined){return ie}else if(E===$){return _e}else if(Array.isArray(E)){if(E.lastIndexOf("...")!==-1)return ce;return ae}else if(typeof E==="object"&&E!==null&&(!E.constructor||E.constructor===Object)){return le}return ae};const cleverMerge=(E,N)=>{if(N===undefined)return E;if(E===undefined)return N;if(typeof N!=="object"||N===null)return N;if(typeof E!=="object"||E===null)return E;return _cleverMerge(E,N,false)};const _cleverMerge=(E,N,R=false)=>{const j=R?cachedParseObject(E):parseObject(E);const{static:$,dynamic:G}=j;if(G!==undefined){let{byProperty:E,fn:$}=G;const ie=$[q];if(ie){N=R?cachedCleverMerge(ie[1],N):cleverMerge(ie[1],N);$=ie[0]}const newFn=(...E)=>{const j=$(...E);return R?cachedCleverMerge(j,N):cleverMerge(j,N)};newFn[q]=[$,N];return serializeObject(j.static,{byProperty:E,fn:newFn})}const ie=R?cachedParseObject(N):parseObject(N);const{static:ae,dynamic:ce}=ie;const le=new Map;for(const[E,N]of $){const j=ae.get(E);const $=j!==undefined?mergeEntries(N,j,R):N;le.set(E,$)}for(const[E,N]of ae){if(!$.has(E)){le.set(E,N)}}return serializeObject(le,ce)};const mergeEntries=(E,N,R)=>{switch(getValueType(N.base)){case ae:case _e:return N;case ie:if(!E.byProperty){return{base:E.base,byProperty:N.byProperty,byValues:N.byValues}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}else{const j=new Map(E.byValues);for(const[$,q]of N.byValues){const N=getFromByValues(E.byValues,$);j.set($,mergeSingleValue(N,q,R))}return{base:E.base,byProperty:E.byProperty,byValues:j}}default:{if(!E.byProperty){return{base:mergeSingleValue(E.base,N.base,R),byProperty:N.byProperty,byValues:N.byValues}}let j;const $=new Map(E.byValues);for(const[E,j]of $){$.set(E,mergeSingleValue(j,N.base,R))}if(Array.from(E.byValues.values()).every((E=>{const N=getValueType(E);return N===ae||N===_e}))){j=mergeSingleValue(E.base,N.base,R)}else{j=E.base;if(!$.has("default"))$.set("default",N.base)}if(!N.byProperty){return{base:j,byProperty:E.byProperty,byValues:$}}else if(E.byProperty!==N.byProperty){throw new Error(`${E.byProperty} and ${N.byProperty} for a single property is not supported`)}const q=new Map($);for(const[E,j]of N.byValues){const N=getFromByValues($,E);q.set(E,mergeSingleValue(N,j,R))}return{base:j,byProperty:E.byProperty,byValues:q}}}};const getFromByValues=(E,N)=>{if(N!=="default"&&E.has(N)){return E.get(N)}return E.get("default")};const mergeSingleValue=(E,N,R)=>{const j=getValueType(N);const $=getValueType(E);switch(j){case _e:case ae:return N;case le:{return $!==le?N:R?cachedCleverMerge(E,N):cleverMerge(E,N)}case ie:return E;case ce:switch($!==ae?$:Array.isArray(E)?ce:le){case ie:return N;case _e:return N.filter((E=>E!=="..."));case ce:{const R=[];for(const j of N){if(j==="..."){for(const N of E){R.push(N)}}else{R.push(j)}}return R}case le:return N.map((N=>N==="..."?E:N));default:throw new Error("Not implemented")}default:throw new Error("Not implemented")}};const removeOperations=E=>{const N={};for(const R of Object.keys(E)){const j=E[R];const $=getValueType(j);switch($){case ie:case _e:break;case le:N[R]=removeOperations(j);break;case ce:N[R]=j.filter((E=>E!=="..."));break;default:N[R]=j;break}}return N};const resolveByProperty=(E,N,...R)=>{if(typeof E!=="object"||E===null||!(N in E)){return E}const{[N]:j,...$}=E;const q=$;const G=j;if(typeof G==="object"){const E=R[0];if(E in G){return cachedCleverMerge(q,G[E])}else if("default"in G){return cachedCleverMerge(q,G.default)}else{return q}}else if(typeof G==="function"){const E=G.apply(null,R);return cachedCleverMerge(q,resolveByProperty(E,N,...R))}};N.cachedSetProperty=cachedSetProperty;N.cachedCleverMerge=cachedCleverMerge;N.cleverMerge=cleverMerge;N.resolveByProperty=resolveByProperty;N.removeOperations=removeOperations;N.DELETE=$},68673:(E,N,R)=>{"use strict";const{compareRuntime:j}=R(37416);const createCachedParameterizedComparator=E=>{const N=new WeakMap;return R=>{const j=N.get(R);if(j!==undefined)return j;const $=E.bind(null,R);N.set(R,$);return $}};N.compareChunksById=(E,N)=>compareIds(E.id,N.id);N.compareModulesByIdentifier=(E,N)=>compareIds(E.identifier(),N.identifier());const compareModulesById=(E,N,R)=>compareIds(E.getModuleId(N),E.getModuleId(R));N.compareModulesById=createCachedParameterizedComparator(compareModulesById);const compareNumbers=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareNumbers=compareNumbers;const compareStringsNumeric=(E,N)=>{const R=E.split(/(\d+)/);const j=N.split(/(\d+)/);const $=Math.min(R.length,j.length);for(let E=0;E<$;E++){const N=R[E];const $=j[E];if(E%2===0){if(N.length>$.length){if(N.slice(0,$.length)>$)return 1;return-1}else if($.length>N.length){if($.slice(0,N.length)>N)return-1;return 1}else{if(N<$)return-1;if(N>$)return 1}}else{const E=+N;const R=+$;if(ER)return 1}}if(j.lengthR.length)return-1;return 0};N.compareStringsNumeric=compareStringsNumeric;const compareModulesByPostOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPostOrderIndex(N),E.getPostOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPostOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPostOrderIndexOrIdentifier);const compareModulesByPreOrderIndexOrIdentifier=(E,N,R)=>{const j=compareNumbers(E.getPreOrderIndex(N),E.getPreOrderIndex(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByPreOrderIndexOrIdentifier=createCachedParameterizedComparator(compareModulesByPreOrderIndexOrIdentifier);const compareModulesByIdOrIdentifier=(E,N,R)=>{const j=compareIds(E.getModuleId(N),E.getModuleId(R));if(j!==0)return j;return compareIds(N.identifier(),R.identifier())};N.compareModulesByIdOrIdentifier=createCachedParameterizedComparator(compareModulesByIdOrIdentifier);const compareChunks=(E,N,R)=>E.compareChunks(N,R);N.compareChunks=createCachedParameterizedComparator(compareChunks);const compareIds=(E,N)=>{if(typeof E!==typeof N){return typeof EN)return 1;return 0};N.compareIds=compareIds;const compareStrings=(E,N)=>{if(EN)return 1;return 0};N.compareStrings=compareStrings;const compareChunkGroupsByIndex=(E,N)=>E.index{if(R.length>0){const[j,...$]=R;return concatComparators(E,concatComparators(N,j,...$))}const j=$.get(E,N);if(j!==undefined)return j;const result=(R,j)=>{const $=E(R,j);if($!==0)return $;return N(R,j)};$.set(E,N,result);return result};N.concatComparators=concatComparators;const q=new TwoKeyWeakMap;const compareSelect=(E,N)=>{const R=q.get(E,N);if(R!==undefined)return R;const result=(R,j)=>{const $=E(R);const q=E(j);if($!==undefined&&$!==null){if(q!==undefined&&q!==null){return N($,q)}return-1}else{if(q!==undefined&&q!==null){return 1}return 0}};q.set(E,N,result);return result};N.compareSelect=compareSelect;const G=new WeakMap;const compareIterables=E=>{const N=G.get(E);if(N!==undefined)return N;const result=(N,R)=>{const j=N[Symbol.iterator]();const $=R[Symbol.iterator]();while(true){const N=j.next();const R=$.next();if(N.done){return R.done?0:-1}else if(R.done){return 1}const q=E(N.value,R.value);if(q!==0)return q}};G.set(E,result);return result};N.compareIterables=compareIterables;N.keepOriginalOrder=E=>{const N=new Map;let R=0;for(const j of E){N.set(j,R++)}return(E,R)=>compareNumbers(N.get(E),N.get(R))};N.compareChunksNatural=E=>{const R=N.compareModulesById(E);const $=compareIterables(R);return concatComparators(compareSelect((E=>E.name),compareIds),compareSelect((E=>E.runtime),j),compareSelect((N=>E.getOrderedChunkModulesIterable(N,R)),$))};N.compareLocations=(E,N)=>{let R=typeof E==="object"&&E!==null;let j=typeof N==="object"&&N!==null;if(!R||!j){if(R)return 1;if(j)return-1;return 0}if("start"in E){if("start"in N){const R=E.start;const j=N.start;if(R.linej.line)return 1;if(R.columnj.column)return 1}else return-1}else if("start"in N)return 1;if("name"in E){if("name"in N){if(E.nameN.name)return 1}else return-1}else if("name"in N)return 1;if("index"in E){if("index"in N){if(E.indexN.index)return 1}else return-1}else if("index"in N)return 1;return 0}},87274:E=>{"use strict";const quoteMeta=E=>E.replace(/[-[\]\\/{}()*+?.^$|]/g,"\\$&");const toSimpleString=E=>{if(`${+E}`===E){return E}return JSON.stringify(E)};const compileBooleanMatcher=E=>{const N=Object.keys(E).filter((N=>E[N]));const R=Object.keys(E).filter((N=>!E[N]));if(N.length===0)return false;if(R.length===0)return true;return compileBooleanMatcherFromLists(N,R)};const compileBooleanMatcherFromLists=(E,N)=>{if(E.length===0)return()=>"false";if(N.length===0)return()=>"true";if(E.length===1)return N=>`${toSimpleString(E[0])} == ${N}`;if(N.length===1)return E=>`${toSimpleString(N[0])} != ${E}`;const R=itemsToRegexp(E);const j=itemsToRegexp(N);if(R.length<=j.length){return E=>`/^${R}$/.test(${E})`}else{return E=>`!/^${j}$/.test(${E})`}};const popCommonItems=(E,N,R)=>{const j=new Map;for(const R of E){const E=N(R);if(E){let N=j.get(E);if(N===undefined){N=[];j.set(E,N)}N.push(R)}}const $=[];for(const N of j.values()){if(R(N)){for(const R of N){E.delete(R)}$.push(N)}}return $};const getCommonPrefix=E=>{let N=E[0];for(let R=1;R{let N=E[0];for(let R=1;R=0;E--,R--){if(j[E]!==N[R]){N=N.slice(R+1);break}}}return N};const itemsToRegexp=E=>{if(E.length===1){return quoteMeta(E[0])}const N=[];let R=0;for(const N of E){if(N.length===1){R++}}if(R===E.length){return`[${quoteMeta(E.sort().join(""))}]`}const j=new Set(E.sort());if(R>2){let E="";for(const N of j){if(N.length===1){E+=N;j.delete(N)}}N.push(`[${quoteMeta(E)}]`)}if(N.length===0&&j.size===2){const N=getCommonPrefix(E);const R=getCommonSuffix(E.map((E=>E.slice(N.length))));if(N.length>0||R.length>0){return`${quoteMeta(N)}${itemsToRegexp(E.map((E=>E.slice(N.length,-R.length||undefined))))}${quoteMeta(R)}`}}if(N.length===0&&j.size===2){const E=j[Symbol.iterator]();const N=E.next().value;const R=E.next().value;if(N.length>0&&R.length>0&&N.slice(-1)===R.slice(-1)){return`${itemsToRegexp([N.slice(0,-1),R.slice(0,-1)])}${quoteMeta(N.slice(-1))}`}}const $=popCommonItems(j,(E=>E.length>=1?E[0]:false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0][1]===E[1][1]}));for(const E of $){const R=getCommonPrefix(E);N.push(`${quoteMeta(R)}${itemsToRegexp(E.map((E=>E.slice(R.length))))}`)}const q=popCommonItems(j,(E=>E.length>=1?E.slice(-1):false),(E=>{if(E.length>=3)return true;if(E.length<=1)return false;return E[0].slice(-2)===E[1].slice(-2)}));for(const E of q){const R=getCommonSuffix(E);N.push(`${itemsToRegexp(E.map((E=>E.slice(0,-R.length))))}${quoteMeta(R)}`)}const G=N.concat(Array.from(j,quoteMeta));if(G.length===1)return G[0];return`(${G.join("|")})`};compileBooleanMatcher.fromLists=compileBooleanMatcherFromLists;compileBooleanMatcher.itemsToRegexp=itemsToRegexp;E.exports=compileBooleanMatcher},35817:(E,N,R)=>{"use strict";const j=R(91671);const $=j((()=>R(15235).validate));const createSchemaValidation=(E=(E=>false),N,R)=>{N=j(N);return j=>{if(!E(j)){$()(N(),j,R)}}};E.exports=createSchemaValidation},35891:(E,N,R)=>{"use strict";const j=R(75066);const $=2e3;const q={};class BulkUpdateDecorator extends j{constructor(E,N){super();this.hashKey=N;if(typeof E==="function"){this.hashFactory=E;this.hash=undefined}else{this.hashFactory=undefined;this.hash=E}this.buffer=""}update(E,N){if(N!==undefined||typeof E!=="string"||E.length>$){if(this.hash===undefined)this.hash=this.hashFactory();if(this.buffer.length>0){this.hash.update(this.buffer);this.buffer=""}this.hash.update(E,N)}else{this.buffer+=E;if(this.buffer.length>$){if(this.hash===undefined)this.hash=this.hashFactory();this.hash.update(this.buffer);this.buffer=""}}return this}digest(E){let N;const R=this.buffer;if(this.hash===undefined){const j=`${this.hashKey}-${E}`;N=q[j];if(N===undefined){N=q[j]=new Map}const $=N.get(R);if($!==undefined)return $;this.hash=this.hashFactory()}if(R.length>0){this.hash.update(R)}const j=this.hash.digest(E);const $=typeof j==="string"?j:j.toString();if(N!==undefined){N.set(R,$)}return $}}class DebugHash extends j{constructor(){super();this.string=""}update(E,N){if(typeof E!=="string")E=E.toString("utf-8");if(E.startsWith("debug-digest-")){E=Buffer.from(E.slice("debug-digest-".length),"hex").toString()}this.string+=`[${E}](${(new Error).stack.split("\n",3)[2]})\n`;return this}digest(E){return"debug-digest-"+Buffer.from(this.string).toString("hex")}}let G=undefined;let ie=undefined;let ae=undefined;let ce=undefined;E.exports=E=>{if(typeof E==="function"){return new BulkUpdateDecorator((()=>new E))}switch(E){case"debug":return new DebugHash;case"xxhash64":if(ie===undefined){ie=R(92976);if(ce===undefined){ce=R(89312)}}return new ce(ie());case"md4":if(ae===undefined){ae=R(90526);if(ce===undefined){ce=R(89312)}}return new ce(ae());case"native-md4":if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash("md4")),"md4");default:if(G===undefined)G=R(6113);return new BulkUpdateDecorator((()=>G.createHash(E)),E)}}},16595:(E,N,R)=>{"use strict";const j=R(73837);const $=new Map;const createDeprecation=(E,N)=>{const R=$.get(E);if(R!==undefined)return R;const q=j.deprecate((()=>{}),E,"DEP_WEBPACK_DEPRECATION_"+N);$.set(E,q);return q};const q=["concat","entry","filter","find","findIndex","includes","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"];const G=["copyWithin","entries","fill","keys","pop","reverse","shift","splice","sort","unshift"];N.arrayToSetDeprecation=(E,N)=>{for(const R of q){if(E[R])continue;const j=createDeprecation(`${N} was changed from Array to Set (using Array method '${R}' is deprecated)`,"ARRAY_TO_SET");E[R]=function(){j();const E=Array.from(this);return Array.prototype[R].apply(E,arguments)}}const R=createDeprecation(`${N} was changed from Array to Set (using Array method 'push' is deprecated)`,"ARRAY_TO_SET_PUSH");const j=createDeprecation(`${N} was changed from Array to Set (using Array property 'length' is deprecated)`,"ARRAY_TO_SET_LENGTH");const $=createDeprecation(`${N} was changed from Array to Set (indexing Array is deprecated)`,"ARRAY_TO_SET_INDEXER");E.push=function(){R();for(const E of Array.from(arguments)){this.add(E)}return this.size};for(const R of G){if(E[R])continue;E[R]=()=>{throw new Error(`${N} was changed from Array to Set (using Array method '${R}' is not possible)`)}}const createIndexGetter=E=>{const fn=function(){$();let N=0;for(const R of this){if(N++===E)return R}return undefined};return fn};const defineIndexGetter=R=>{Object.defineProperty(E,R,{get:createIndexGetter(R),set(E){throw new Error(`${N} was changed from Array to Set (indexing Array with write is not possible)`)}})};defineIndexGetter(0);let ie=1;Object.defineProperty(E,"length",{get(){j();const E=this.size;for(ie;ie{let R=false;class SetDeprecatedArray extends Set{constructor(j){super(j);if(!R){R=true;N.arrayToSetDeprecation(SetDeprecatedArray.prototype,E)}}}return SetDeprecatedArray};N.soonFrozenObjectDeprecation=(E,N,R,$="")=>{const q=`${N} will be frozen in future, all modifications are deprecated.${$&&`\n${$}`}`;return new Proxy(E,{set:j.deprecate(((E,N,R,j)=>Reflect.set(E,N,R,j)),q,R),defineProperty:j.deprecate(((E,N,R)=>Reflect.defineProperty(E,N,R)),q,R),deleteProperty:j.deprecate(((E,N)=>Reflect.deleteProperty(E,N)),q,R),setPrototypeOf:j.deprecate(((E,N)=>Reflect.setPrototypeOf(E,N)),q,R)})};const deprecateAllProperties=(E,N,R)=>{const $={};const q=Object.getOwnPropertyDescriptors(E);for(const E of Object.keys(q)){const G=q[E];if(typeof G.value==="function"){Object.defineProperty($,E,{...G,value:j.deprecate(G.value,N,R)})}else if(G.get||G.set){Object.defineProperty($,E,{...G,get:G.get&&j.deprecate(G.get,N,R),set:G.set&&j.deprecate(G.set,N,R)})}else{let q=G.value;Object.defineProperty($,E,{configurable:G.configurable,enumerable:G.enumerable,get:j.deprecate((()=>q),N,R),set:G.writable?j.deprecate((E=>q=E),N,R):undefined})}}return $};N.deprecateAllProperties=deprecateAllProperties;N.createFakeHook=(E,N,R)=>{if(N&&R){E=deprecateAllProperties(E,N,R)}return Object.freeze(Object.assign(E,{_fakeHook:true}))}},44648:E=>{"use strict";const similarity=(E,N)=>{const R=Math.min(E.length,N.length);let j=0;for(let $=0;${const j=Math.min(E.length,N.length);let $=0;while(${for(const R of Object.keys(N)){E[R]=(E[R]||0)+N[R]}};const subtractSizeFrom=(E,N)=>{for(const R of Object.keys(N)){E[R]-=N[R]}};const sumSize=E=>{const N=Object.create(null);for(const R of E){addSizeTo(N,R.size)}return N};const isTooBig=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j>$)return true}}return false};const isTooSmall=(E,N)=>{for(const R of Object.keys(E)){const j=E[R];if(j===0)continue;const $=N[R];if(typeof $==="number"){if(j<$)return true}}return false};const getTooSmallTypes=(E,N)=>{const R=new Set;for(const j of Object.keys(E)){const $=E[j];if($===0)continue;const q=N[j];if(typeof q==="number"){if(${let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R++}return R};const selectiveSizeSum=(E,N)=>{let R=0;for(const j of Object.keys(E)){if(E[j]!==0&&N.has(j))R+=E[j]}return R};class Node{constructor(E,N,R){this.item=E;this.key=N;this.size=R}}class Group{constructor(E,N,R){this.nodes=E;this.similarities=N;this.size=R||sumSize(E);this.key=undefined}popNodes(E){const N=[];const R=[];const j=[];let $;for(let q=0;q0){R.push($===this.nodes[q-1]?this.similarities[q-1]:similarity($.key,G.key))}N.push(G);$=G}}if(j.length===this.nodes.length)return undefined;this.nodes=N;this.similarities=R;this.size=sumSize(N);return j}}const getSimilarities=E=>{const N=[];let R=undefined;for(const j of E){if(R!==undefined){N.push(similarity(R.key,j.key))}R=j}return N};E.exports=({maxSize:E,minSize:N,items:R,getSize:j,getKey:$})=>{const q=[];const G=Array.from(R,(E=>new Node(E,$(E),j(E))));const ie=[];G.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}));for(const R of G){if(isTooBig(R.size,E)&&!isTooSmall(R.size,N)){q.push(new Group([R],[]))}else{ie.push(R)}}if(ie.length>0){const R=new Group(ie,getSimilarities(ie));const removeProblematicNodes=(E,R=E.size)=>{const j=getTooSmallTypes(R,N);if(j.size>0){const N=E.popNodes((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(N===undefined)return false;const R=q.filter((E=>getNumberOfMatchingSizeTypes(E.size,j)>0));if(R.length>0){const E=R.reduce(((E,N)=>{const R=getNumberOfMatchingSizeTypes(E,j);const $=getNumberOfMatchingSizeTypes(N,j);if(R!==$)return R<$?N:E;if(selectiveSizeSum(E.size,j)>selectiveSizeSum(N.size,j))return N;return E}));for(const R of N)E.nodes.push(R);E.nodes.sort(((E,N)=>{if(E.keyN.key)return 1;return 0}))}else{q.push(new Group(N,null))}return true}else{return false}};if(R.nodes.length>0){const j=[R];while(j.length){const R=j.pop();if(!isTooBig(R.size,E)){q.push(R);continue}if(removeProblematicNodes(R)){j.push(R);continue}let $=1;let G=Object.create(null);addSizeTo(G,R.nodes[0].size);while($=0&&isTooSmall(ae,N)){addSizeTo(ae,R.nodes[ie].size);ie--}if($-1>ie){let E;if(ie{if(E.nodes[0].keyN.nodes[0].key)return 1;return 0}));const ae=new Set;for(let E=0;E({key:E.key,items:E.nodes.map((E=>E.item)),size:E.size})))}},10004:E=>{"use strict";E.exports=function extractUrlAndGlobal(E){const N=E.indexOf("@");return[E.substring(N+1),E.substring(0,N)]}},62598:E=>{"use strict";const N=0;const R=1;const j=2;const $=3;const q=4;class Node{constructor(E){this.item=E;this.dependencies=new Set;this.marker=N;this.cycle=undefined;this.incoming=0}}class Cycle{constructor(){this.nodes=new Set}}E.exports=(E,G)=>{const ie=new Map;for(const N of E){const E=new Node(N);ie.set(N,E)}if(ie.size<=1)return E;for(const E of ie.values()){for(const N of G(E.item)){const R=ie.get(N);if(R!==undefined){E.dependencies.add(R)}}}const ae=new Set;const ce=new Set;for(const E of ie.values()){if(E.marker===N){E.marker=R;const G=[{node:E,openEdges:Array.from(E.dependencies)}];while(G.length>0){const E=G[G.length-1];if(E.openEdges.length>0){const ie=E.openEdges.pop();switch(ie.marker){case N:G.push({node:ie,openEdges:Array.from(ie.dependencies)});ie.marker=R;break;case R:{let E=ie.cycle;if(!E){E=new Cycle;E.nodes.add(ie);ie.cycle=E}for(let N=G.length-1;G[N].node!==ie;N--){const R=G[N].node;if(R.cycle){if(R.cycle!==E){for(const N of R.cycle.nodes){N.cycle=E;E.nodes.add(N)}}}else{R.cycle=E;E.nodes.add(R)}}break}case q:ie.marker=j;ae.delete(ie);break;case $:ce.delete(ie.cycle);ie.marker=j;break}}else{G.pop();E.node.marker=j}}const ie=E.cycle;if(ie){for(const E of ie.nodes){E.marker=$}ce.add(ie)}else{E.marker=q;ae.add(E)}}}for(const E of ce){let N=0;const R=new Set;const j=E.nodes;for(const E of j){for(const $ of E.dependencies){if(j.has($)){$.incoming++;if($.incomingN){R.clear();N=$.incoming}R.add($)}}}for(const E of R){ae.add(E)}}if(ae.size>0){return Array.from(ae,(E=>E.item))}else{throw new Error("Implementation of findGraphRoots is broken")}}},95396:(E,N,R)=>{"use strict";const j=R(71017);const relative=(E,N,R)=>{if(E&&E.relative){return E.relative(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.relative(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.relative(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'relative' method defined in the file system`)}};N.relative=relative;const join=(E,N,R)=>{if(E&&E.join){return E.join(N,R)}else if(j.posix.isAbsolute(N)){return j.posix.join(N,R)}else if(j.win32.isAbsolute(N)){return j.win32.join(N,R)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'join' method defined in the file system`)}};N.join=join;const dirname=(E,N)=>{if(E&&E.dirname){return E.dirname(N)}else if(j.posix.isAbsolute(N)){return j.posix.dirname(N)}else if(j.win32.isAbsolute(N)){return j.win32.dirname(N)}else{throw new Error(`${N} is neither a posix nor a windows path, and there is no 'dirname' method defined in the file system`)}};N.dirname=dirname;const mkdirp=(E,N,R)=>{E.mkdir(N,(j=>{if(j){if(j.code==="ENOENT"){const $=dirname(E,N);if($===N){R(j);return}mkdirp(E,$,(j=>{if(j){R(j);return}E.mkdir(N,(E=>{if(E){if(E.code==="EEXIST"){R();return}R(E);return}R()}))}));return}else if(j.code==="EEXIST"){R();return}R(j);return}R()}))};N.mkdirp=mkdirp;const mkdirpSync=(E,N)=>{try{E.mkdirSync(N)}catch(R){if(R){if(R.code==="ENOENT"){const j=dirname(E,N);if(j===N){throw R}mkdirpSync(E,j);E.mkdirSync(N);return}else if(R.code==="EEXIST"){return}throw R}}};N.mkdirpSync=mkdirpSync;const readJson=(E,N,R)=>{if("readJson"in E)return E.readJson(N,R);E.readFile(N,((E,N)=>{if(E)return R(E);let j;try{j=JSON.parse(N.toString("utf-8"))}catch(E){return R(E)}return R(null,j)}))};N.readJson=readJson;const lstatReadlinkAbsolute=(E,N,R)=>{let j=3;const doReadLink=()=>{E.readlink(N,(($,q)=>{if($&&--j>0){return doStat()}if($||!q)return doStat();const G=q.toString();R(null,join(E,dirname(E,N),G))}))};const doStat=()=>{if("lstat"in E){return E.lstat(N,((E,N)=>{if(E)return R(E);if(N.isSymbolicLink()){return doReadLink()}R(null,N)}))}else{return E.stat(N,R)}};if("lstat"in E)return doStat();doReadLink()};N.lstatReadlinkAbsolute=lstatReadlinkAbsolute},89312:(E,N,R)=>{"use strict";const j=R(75066);const $=R(27100).MAX_SHORT_STRING;class BatchedHash extends j{constructor(E){super();this.string=undefined;this.encoding=undefined;this.hash=E}update(E,N){if(this.string!==undefined){if(typeof E==="string"&&N===this.encoding&&this.string.length+E.length<$){this.string+=E;return this}this.hash.update(this.string,this.encoding);this.string=undefined}if(typeof E==="string"){if(E.length<$&&(!N||!N.startsWith("ba"))){this.string=E;this.encoding=N}else{this.hash.update(E,N)}}else{this.hash.update(E)}return this}digest(E){if(this.string!==undefined){this.hash.update(this.string,this.encoding)}return this.hash.digest(E)}}E.exports=BatchedHash},90526:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwUEAQAAAAUDAQABBhoFfwFBAAt/AUEAC38BQQALfwFBAAt/AUEACwciBARpbml0AAAGdXBkYXRlAAIFZmluYWwAAwZtZW1vcnkCAAqFEAQmAEGBxpS6BiQBQYnXtv5+JAJB/rnrxXkkA0H2qMmBASQEQQAkAAvMCgEYfyMBIQojAiEGIwMhByMEIQgDQCAAIAVLBEAgBSgCCCINIAcgBiAFKAIEIgsgCCAHIAUoAgAiDCAKIAggBiAHIAhzcXNqakEDdyIDIAYgB3Nxc2pqQQd3IgEgAyAGc3FzampBC3chAiAFKAIUIg8gASACIAUoAhAiCSADIAEgBSgCDCIOIAYgAyACIAEgA3Nxc2pqQRN3IgQgASACc3FzampBA3ciAyACIARzcXNqakEHdyEBIAUoAiAiEiADIAEgBSgCHCIRIAQgAyAFKAIYIhAgAiAEIAEgAyAEc3FzampBC3ciAiABIANzcXNqakETdyIEIAEgAnNxc2pqQQN3IQMgBSgCLCIVIAQgAyAFKAIoIhQgAiAEIAUoAiQiEyABIAIgAyACIARzcXNqakEHdyIBIAMgBHNxc2pqQQt3IgIgASADc3FzampBE3chBCAPIBAgCSAVIBQgEyAFKAI4IhYgAiAEIAUoAjQiFyABIAIgBSgCMCIYIAMgASAEIAEgAnNxc2pqQQN3IgEgAiAEc3FzampBB3ciAiABIARzcXNqakELdyIDIAkgAiAMIAEgBSgCPCIJIAQgASADIAEgAnNxc2pqQRN3IgEgAiADcnEgAiADcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyaiASakGZ84nUBWpBCXciAyAPIAQgCyACIBggASADIAIgBHJxIAIgBHFyampBmfOJ1AVqQQ13IgEgAyAEcnEgAyAEcXJqakGZ84nUBWpBA3ciAiABIANycSABIANxcmpqQZnzidQFakEFdyIEIAEgAnJxIAEgAnFyampBmfOJ1AVqQQl3IgMgECAEIAIgFyABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmogDWpBmfOJ1AVqQQN3IgIgASADcnEgASADcXJqakGZ84nUBWpBBXciBCABIAJycSABIAJxcmpqQZnzidQFakEJdyIDIBEgBCAOIAIgFiABIAMgAiAEcnEgAiAEcXJqakGZ84nUBWpBDXciASADIARycSADIARxcmpqQZnzidQFakEDdyICIAEgA3JxIAEgA3FyampBmfOJ1AVqQQV3IgQgASACcnEgASACcXJqakGZ84nUBWpBCXciAyAMIAIgAyAJIAEgAyACIARycSACIARxcmpqQZnzidQFakENdyIBcyAEc2pqQaHX5/YGakEDdyICIAQgASACcyADc2ogEmpBodfn9gZqQQl3IgRzIAFzampBodfn9gZqQQt3IgMgAiADIBggASADIARzIAJzampBodfn9gZqQQ93IgFzIARzaiANakGh1+f2BmpBA3ciAiAUIAQgASACcyADc2pqQaHX5/YGakEJdyIEcyABc2pqQaHX5/YGakELdyIDIAsgAiADIBYgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgIgEyAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3chAyAKIA4gAiADIBcgASADIARzIAJzampBodfn9gZqQQ93IgFzIARzampBodfn9gZqQQN3IgJqIQogBiAJIAEgESADIAIgFSAEIAEgAnMgA3NqakGh1+f2BmpBCXciBHMgAXNqakGh1+f2BmpBC3ciAyAEcyACc2pqQaHX5/YGakEPd2ohBiADIAdqIQcgBCAIaiEIIAVBQGshBQwBCwsgCiQBIAYkAiAHJAMgCCQECw0AIAAQASMAIABqJAAL/wQCA38BfiMAIABqrUIDhiEEIABByABqQUBxIgJBCGshAyAAIgFBAWohACABQYABOgAAA0AgACACSUEAIABBB3EbBEAgAEEAOgAAIABBAWohAAwBCwsDQCAAIAJJBEAgAEIANwMAIABBCGohAAwBCwsgAyAENwMAIAIQAUEAIwGtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEIIwKtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEQIwOtIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAEEYIwStIgRC//8DgyAEQoCA/P8Pg0IQhoQiBEL/gYCA8B+DIARCgP6DgIDgP4NCCIaEIgRCj4C8gPCBwAeDQgiGIARC8IHAh4CegPgAg0IEiIQiBEKGjJiw4MCBgwZ8QgSIQoGChIiQoMCAAYNCJ34gBEKw4MCBg4aMmDCEfDcDAAs=","base64"));E.exports=j.bind(null,$,[],64,32)},27100:E=>{"use strict";const N=Math.floor((65536-64)/4)&~3;class WasmHash{constructor(E,N,R,j){const $=E.exports;$.init();this.exports=$;this.mem=Buffer.from($.memory.buffer,0,65536);this.buffered=0;this.instancesPool=N;this.chunkSize=R;this.digestSize=j}reset(){this.buffered=0;this.exports.init()}update(E,R){if(typeof E==="string"){while(E.length>N){this._updateWithShortString(E.slice(0,N),R);E=E.slice(N)}this._updateWithShortString(E,R);return this}this._updateWithBuffer(E);return this}_updateWithShortString(E,N){const{exports:R,buffered:j,mem:$,chunkSize:q}=this;let G;if(E.length<70){if(!N||N==="utf-8"||N==="utf8"){G=j;for(let R=0;R>6|192;$[G+1]=j&63|128;G+=2}else{G+=$.write(E.slice(R),G,N);break}}}else if(N==="latin1"){G=j;for(let N=0;N0)$.copyWithin(0,E,G)}}_updateWithBuffer(E){const{exports:N,buffered:R,mem:j}=this;const $=E.length;if(R+$65536){let $=65536-R;E.copy(j,R,0,$);N.update(65536);const G=q-R-65536;while($0)E.copy(j,0,$-G,$)}}digest(E){const{exports:N,buffered:R,mem:j,digestSize:$}=this;N.final(R);this.instancesPool.push(this);const q=j.toString("latin1",0,$);if(E==="hex")return q;if(E==="binary"||!E)return Buffer.from(q,"hex");return Buffer.from(q,"hex").toString(E)}}const create=(E,N,R,j)=>{if(N.length>0){const E=N.pop();E.reset();return E}else{return new WasmHash(new WebAssembly.Instance(E),N,R,j)}};E.exports=create;E.exports.MAX_SHORT_STRING=N},92976:(E,N,R)=>{"use strict";const j=R(27100);const $=new WebAssembly.Module(Buffer.from("AGFzbQEAAAABCAJgAX8AYAAAAwQDAQAABQMBAAEGGgV+AUIAC34BQgALfgFCAAt+AUIAC34BQgALByIEBGluaXQAAAZ1cGRhdGUAAQVmaW5hbAACBm1lbW9yeQIACrUIAzAAQtbrgu7q/Yn14AAkAELP1tO+0ser2UIkAUIAJAJC+erQ0OfJoeThACQDQgAkBAvUAQIBfwR+IABFBEAPCyMEIACtfCQEIwAhAiMBIQMjAiEEIwMhBQNAIAIgASkDAELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiECIAMgASkDCELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEDIAQgASkDEELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEEIAUgASkDGELP1tO+0ser2UJ+fEIfiUKHla+vmLbem55/fiEFIAAgAUEgaiIBSw0ACyACJAAgAyQBIAQkAiAFJAMLqwYCAX8EfiMEQgBSBH4jACICQgGJIwEiA0IHiXwjAiIEQgyJfCMDIgVCEol8IAJCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0gA0LP1tO+0ser2UJ+Qh+JQoeVr6+Ytt6bnn9+hUKHla+vmLbem55/fkKdo7Xqg7GNivoAfSAEQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IAVCz9bTvtLHq9lCfkIfiUKHla+vmLbem55/foVCh5Wvr5i23puef35CnaO16oOxjYr6AH0FQsXP2bLx5brqJwsjBCAArXx8IQIDQCABQQhqIABNBEAgAiABKQMAQs/W077Sx6vZQn5CH4lCh5Wvr5i23puef36FQhuJQoeVr6+Ytt6bnn9+Qp2jteqDsY2K+gB9IQIgAUEIaiEBDAELCyABQQRqIABNBEACfyACIAE1AgBCh5Wvr5i23puef36FQheJQs/W077Sx6vZQn5C+fPd8Zn2masWfCECIAFBBGoLIQELA0AgACABRwRAIAIgATEAAELFz9my8eW66id+hUILiUKHla+vmLbem55/fiECIAFBAWohAQwBCwtBACACIAJCIYiFQs/W077Sx6vZQn4iAiACQh2IhUL5893xmfaZqxZ+IgIgAkIgiIUiAkIgiCIDQv//A4NCIIYgA0KAgPz/D4NCEIiEIgNC/4GAgPAfg0IQhiADQoD+g4CA4D+DQgiIhCIDQo+AvIDwgcAHg0IIhiADQvCBwIeAnoD4AINCBIiEIgNChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IANCsODAgYOGjJgwhHw3AwBBCCACQv////8PgyICQv//A4NCIIYgAkKAgPz/D4NCEIiEIgJC/4GAgPAfg0IQhiACQoD+g4CA4D+DQgiIhCICQo+AvIDwgcAHg0IIhiACQvCBwIeAnoD4AINCBIiEIgJChoyYsODAgYMGfEIEiEKBgoSIkKDAgAGDQid+IAJCsODAgYOGjJgwhHw3AwAL","base64"));E.exports=j.bind(null,$,[],32,16)},49197:(E,N,R)=>{"use strict";const j=R(71017);const $=/^[a-zA-Z]:[\\/]/;const q=/([|!])/;const G=/\\/g;const relativePathToRequest=E=>{if(E==="")return"./.";if(E==="..")return"../.";if(E.startsWith("../"))return E;return`./${E}`};const absoluteToRequest=(E,N)=>{if(N[0]==="/"){if(N.length>1&&N[N.length-1]==="/"){return N}const R=N.indexOf("?");let $=R===-1?N:N.slice(0,R);$=relativePathToRequest(j.posix.relative(E,$));return R===-1?$:$+N.slice(R)}if($.test(N)){const R=N.indexOf("?");let q=R===-1?N:N.slice(0,R);q=j.win32.relative(E,q);if(!$.test(q)){q=relativePathToRequest(q.replace(G,"/"))}return R===-1?q:q+N.slice(R)}return N};const requestToAbsolute=(E,N)=>{if(N.startsWith("./")||N.startsWith("../"))return j.join(E,N);return N};const makeCacheable=E=>{const N=new WeakMap;const cachedFn=(R,j,$)=>{if(!$)return E(R,j);let q=N.get($);if(q===undefined){q=new Map;N.set($,q)}let G;let ie=q.get(R);if(ie===undefined){q.set(R,ie=new Map)}else{G=ie.get(j)}if(G!==undefined){return G}else{const N=E(R,j);ie.set(j,N);return N}};cachedFn.bindCache=R=>{let j;if(R){j=N.get(R);if(j===undefined){j=new Map;N.set(R,j)}}else{j=new Map}const boundFn=(N,R)=>{let $;let q=j.get(N);if(q===undefined){j.set(N,q=new Map)}else{$=q.get(R)}if($!==undefined){return $}else{const j=E(N,R);q.set(R,j);return j}};return boundFn};cachedFn.bindContextCache=(R,j)=>{let $;if(j){let E=N.get(j);if(E===undefined){E=new Map;N.set(j,E)}$=E.get(R);if($===undefined){E.set(R,$=new Map)}}else{$=new Map}const boundFn=N=>{const j=$.get(N);if(j!==undefined){return j}else{const j=E(R,N);$.set(N,j);return j}};return boundFn};return cachedFn};const _makePathsRelative=(E,N)=>N.split(q).map((N=>absoluteToRequest(E,N))).join("");N.makePathsRelative=makeCacheable(_makePathsRelative);const _makePathsAbsolute=(E,N)=>N.split(q).map((N=>requestToAbsolute(E,N))).join("");N.makePathsAbsolute=makeCacheable(_makePathsAbsolute);const _contextify=(E,N)=>N.split("!").map((N=>absoluteToRequest(E,N))).join("!");const ie=makeCacheable(_contextify);N.contextify=ie;const _absolutify=(E,N)=>N.split("!").map((N=>requestToAbsolute(E,N))).join("!");const ae=makeCacheable(_absolutify);N.absolutify=ae;const ce=/^((?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/;const _parseResource=E=>{const N=ce.exec(E);return{resource:E,path:N[1].replace(/\0(.)/g,"$1"),query:N[2]?N[2].replace(/\0(.)/g,"$1"):"",fragment:N[3]||""}};N.parseResource=(E=>{const N=new WeakMap;const getCache=E=>{const R=N.get(E);if(R!==undefined)return R;const j=new Map;N.set(E,j);return j};const fn=(N,R)=>{if(!R)return E(N);const j=getCache(R);const $=j.get(N);if($!==undefined)return $;const q=E(N);j.set(N,q);return q};fn.bindCache=N=>{const R=getCache(N);return N=>{const j=R.get(N);if(j!==undefined)return j;const $=E(N);R.set(N,$);return $}};return fn})(_parseResource);N.getUndoPath=(E,N,R)=>{let j=-1;let $="";N=N.replace(/[\\/]$/,"");for(const R of E.split(/[/\\]+/)){if(R===".."){if(j>-1){j--}else{const E=N.lastIndexOf("/");const R=N.lastIndexOf("\\");const j=E<0?R:R<0?E:Math.max(E,R);if(j<0)return N+"/";$=N.slice(j+1)+"/"+$;N=N.slice(0,j)}}else if(R!=="."){j++}}return j>0?`${"../".repeat(j)}${$}`:R?`./${$}`:$}},90331:(E,N,R)=>{"use strict";E.exports={AsyncDependenciesBlock:()=>R(98221),CommentCompilationWarning:()=>R(47207),ContextModule:()=>R(58126),"cache/PackFileCacheStrategy":()=>R(83793),"cache/ResolverCachePlugin":()=>R(13653),"container/ContainerEntryDependency":()=>R(76041),"container/ContainerEntryModule":()=>R(89591),"container/ContainerExposedDependency":()=>R(4523),"container/FallbackDependency":()=>R(27426),"container/FallbackItemDependency":()=>R(55525),"container/FallbackModule":()=>R(13386),"container/RemoteModule":()=>R(68679),"container/RemoteToExternalDependency":()=>R(44742),"dependencies/AMDDefineDependency":()=>R(46960),"dependencies/AMDRequireArrayDependency":()=>R(95715),"dependencies/AMDRequireContextDependency":()=>R(38145),"dependencies/AMDRequireDependenciesBlock":()=>R(83842),"dependencies/AMDRequireDependency":()=>R(45167),"dependencies/AMDRequireItemDependency":()=>R(29022),"dependencies/CachedConstDependency":()=>R(59455),"dependencies/CreateScriptUrlDependency":()=>R(7257),"dependencies/CommonJsRequireContextDependency":()=>R(51454),"dependencies/CommonJsExportRequireDependency":()=>R(1248),"dependencies/CommonJsExportsDependency":()=>R(26702),"dependencies/CommonJsFullRequireDependency":()=>R(87519),"dependencies/CommonJsRequireDependency":()=>R(37313),"dependencies/CommonJsSelfReferenceDependency":()=>R(94147),"dependencies/ConstDependency":()=>R(66298),"dependencies/ContextDependency":()=>R(400),"dependencies/ContextElementDependency":()=>R(90872),"dependencies/CriticalDependencyWarning":()=>R(75314),"dependencies/DelegatedSourceDependency":()=>R(49422),"dependencies/DllEntryDependency":()=>R(95189),"dependencies/EntryDependency":()=>R(66583),"dependencies/ExportsInfoDependency":()=>R(51420),"dependencies/HarmonyAcceptDependency":()=>R(27790),"dependencies/HarmonyAcceptImportDependency":()=>R(80654),"dependencies/HarmonyCompatibilityDependency":()=>R(54290),"dependencies/HarmonyExportExpressionDependency":()=>R(55037),"dependencies/HarmonyExportHeaderDependency":()=>R(48752),"dependencies/HarmonyExportImportedSpecifierDependency":()=>R(44576),"dependencies/HarmonyExportSpecifierDependency":()=>R(14696),"dependencies/HarmonyImportSideEffectDependency":()=>R(69707),"dependencies/HarmonyImportSpecifierDependency":()=>R(2230),"dependencies/ImportContextDependency":()=>R(4828),"dependencies/ImportDependency":()=>R(20013),"dependencies/ImportEagerDependency":()=>R(75708),"dependencies/ImportWeakDependency":()=>R(12849),"dependencies/JsonExportsDependency":()=>R(38895),"dependencies/LocalModule":()=>R(77230),"dependencies/LocalModuleDependency":()=>R(14229),"dependencies/ModuleDecoratorDependency":()=>R(2706),"dependencies/ModuleHotAcceptDependency":()=>R(21809),"dependencies/ModuleHotDeclineDependency":()=>R(73158),"dependencies/ImportMetaHotAcceptDependency":()=>R(76302),"dependencies/ImportMetaHotDeclineDependency":()=>R(5389),"dependencies/ProvidedDependency":()=>R(1335),"dependencies/PureExpressionDependency":()=>R(53567),"dependencies/RequireContextDependency":()=>R(19204),"dependencies/RequireEnsureDependenciesBlock":()=>R(15196),"dependencies/RequireEnsureDependency":()=>R(15427),"dependencies/RequireEnsureItemDependency":()=>R(81058),"dependencies/RequireHeaderDependency":()=>R(70340),"dependencies/RequireIncludeDependency":()=>R(63556),"dependencies/RequireIncludeDependencyParserPlugin":()=>R(1913),"dependencies/RequireResolveContextDependency":()=>R(84817),"dependencies/RequireResolveDependency":()=>R(76913),"dependencies/RequireResolveHeaderDependency":()=>R(23380),"dependencies/RuntimeRequirementsDependency":()=>R(35424),"dependencies/StaticExportsDependency":()=>R(96076),"dependencies/SystemPlugin":()=>R(62630),"dependencies/UnsupportedDependency":()=>R(12584),"dependencies/URLDependency":()=>R(66444),"dependencies/WebAssemblyExportImportedDependency":()=>R(30697),"dependencies/WebAssemblyImportDependency":()=>R(33081),"dependencies/WebpackIsIncludedDependency":()=>R(46715),"dependencies/WorkerDependency":()=>R(89017),"json/JsonData":()=>R(72055),"optimize/ConcatenatedModule":()=>R(95734),DelegatedModule:()=>R(3955),DependenciesBlock:()=>R(32448),DllModule:()=>R(44593),ExternalModule:()=>R(16734),FileSystemInfo:()=>R(22996),InitFragment:()=>R(63272),InvalidDependenciesModuleWarning:()=>R(49619),Module:()=>R(53453),ModuleBuildError:()=>R(26509),ModuleDependencyWarning:()=>R(23280),ModuleError:()=>R(91613),ModuleGraph:()=>R(75412),ModuleParseError:()=>R(14489),ModuleWarning:()=>R(8893),NormalModule:()=>R(53520),RawModule:()=>R(22804),"sharing/ConsumeSharedModule":()=>R(21606),"sharing/ConsumeSharedFallbackDependency":()=>R(86827),"sharing/ProvideSharedModule":()=>R(99114),"sharing/ProvideSharedDependency":()=>R(56049),"sharing/ProvideForSharedDependency":()=>R(31095),UnsupportedFeatureWarning:()=>R(53558),"util/LazySet":()=>R(83379),UnhandledSchemeError:()=>R(77090),NodeStuffInWebError:()=>R(39960),WebpackError:()=>R(81627),"util/registerExternalSerializer":()=>{}}},56202:(E,N,R)=>{"use strict";const{register:j}=R(24568);class ClassSerializer{constructor(E){this.Constructor=E}serialize(E,N){E.serialize(N)}deserialize(E){if(typeof this.Constructor.deserialize==="function"){return this.Constructor.deserialize(E)}const N=new this.Constructor;N.deserialize(E);return N}}E.exports=(E,N,R=null)=>{j(E,N,R,new ClassSerializer(E))}},91671:E=>{"use strict";const memoize=E=>{let N=false;let R=undefined;return()=>{if(N){return R}else{R=E();N=true;E=undefined;return R}}};E.exports=memoize},12631:E=>{"use strict";const N=2147483648;const R=N-1;const j=4;const $=[0,0,0,0,0];const q=[3,7,17,19];E.exports=(E,G)=>{$.fill(0);for(let N=0;N>1}}if(G<=R){let E=0;for(let N=0;N{"use strict";const processAsyncTree=(E,N,R,j)=>{const $=Array.from(E);if($.length===0)return j();let q=0;let G=false;let ie=true;const push=E=>{$.push(E);if(!ie&&q{q--;if(E&&!G){G=true;j(E);return}if(!ie){ie=true;process.nextTick(processQueue)}};const processQueue=()=>{if(G)return;while(q0){q++;const E=$.pop();R(E,push,processorCallback)}ie=false;if($.length===0&&q===0&&!G){G=true;j()}};processQueue()};E.exports=processAsyncTree},68038:E=>{"use strict";const N=/^[_a-zA-Z$][_a-zA-Z$0-9]*$/;const R=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","enum","implements","interface","let","package","private","protected","public","static","yield","yield","await","null","true","false"]);const propertyAccess=(E,j=0)=>{let $="";for(let q=j;q{"use strict";const{register:j}=R(24568);const $=R(14150).Position;const q=R(14150).SourceLocation;const G=R(24672)["default"];const{CachedSource:ie,ConcatSource:ae,OriginalSource:ce,PrefixSource:le,RawSource:_e,ReplaceSource:Ee,SourceMapSource:Te}=R(48135);const we="webpack/lib/util/registerExternalSerializer";j(ie,we,"webpack-sources/CachedSource",new class CachedSourceSerializer{serialize(E,{write:N,writeLazy:R}){if(R){R(E.originalLazy())}else{N(E.original())}N(E.getCachedData())}deserialize({read:E}){const N=E();const R=E();return new ie(N,R)}});j(_e,we,"webpack-sources/RawSource",new class RawSourceSerializer{serialize(E,{write:N}){N(E.buffer());N(!E.isBuffer())}deserialize({read:E}){const N=E();const R=E();return new _e(N,R)}});j(ae,we,"webpack-sources/ConcatSource",new class ConcatSourceSerializer{serialize(E,{write:N}){N(E.getChildren())}deserialize({read:E}){const N=new ae;N.addAllSkipOptimizing(E());return N}});j(le,we,"webpack-sources/PrefixSource",new class PrefixSourceSerializer{serialize(E,{write:N}){N(E.getPrefix());N(E.original())}deserialize({read:E}){return new le(E(),E())}});j(Ee,we,"webpack-sources/ReplaceSource",new class ReplaceSourceSerializer{serialize(E,{write:N}){N(E.original());N(E.getName());const R=E.getReplacements();N(R.length);for(const E of R){N(E.start);N(E.end)}for(const E of R){N(E.content);N(E.name)}}deserialize({read:E}){const N=new Ee(E(),E());const R=E();const j=[];for(let N=0;N{"use strict";const j=R(16102);N.getEntryRuntime=(E,N,R)=>{let j;let $;if(R){({dependOn:j,runtime:$}=R)}else{const R=E.entries.get(N);if(!R)return N;({dependOn:j,runtime:$}=R.options)}if(j){let R=undefined;const $=new Set(j);for(const N of $){const j=E.entries.get(N);if(!j)continue;const{dependOn:q,runtime:G}=j.options;if(q){for(const E of q){$.add(E)}}else{R=mergeRuntimeOwned(R,G||N)}}return R||N}else{return $||N}};N.forEachRuntime=(E,N,R=false)=>{if(E===undefined){N(undefined)}else if(typeof E==="string"){N(E)}else{if(R)E.sort();for(const R of E){N(R)}}};const getRuntimesKey=E=>{E.sort();return Array.from(E).join("\n")};const getRuntimeKey=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesKey)};N.getRuntimeKey=getRuntimeKey;const keyToRuntime=E=>{if(E==="*")return undefined;const N=E.split("\n");if(N.length===1)return N[0];return new j(N)};N.keyToRuntime=keyToRuntime;const getRuntimesString=E=>{E.sort();return Array.from(E).join("+")};const runtimeToString=E=>{if(E===undefined)return"*";if(typeof E==="string")return E;return E.getFromUnorderedCache(getRuntimesString)};N.runtimeToString=runtimeToString;N.runtimeConditionToString=E=>{if(E===true)return"true";if(E===false)return"false";return runtimeToString(E)};const runtimeEqual=(E,N)=>{if(E===N){return true}else if(E===undefined||N===undefined||typeof E==="string"||typeof N==="string"){return false}else if(E.size!==N.size){return false}else{E.sort();N.sort();const R=E[Symbol.iterator]();const j=N[Symbol.iterator]();for(;;){const E=R.next();if(E.done)return true;const N=j.next();if(E.value!==N.value)return false}}};N.runtimeEqual=runtimeEqual;N.compareRuntime=(E,N)=>{if(E===N){return 0}else if(E===undefined){return-1}else if(N===undefined){return 1}else{const R=getRuntimeKey(E);const j=getRuntimeKey(N);if(Rj)return 1;return 0}};const mergeRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else if(N.has(E)){return N}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){if(E.has(N))return E;const R=new j(E);R.add(N);return R}else{const R=new j(E);for(const E of N)R.add(E);if(R.size===E.size)return E;return R}}};N.mergeRuntime=mergeRuntime;N.mergeRuntimeCondition=(E,N,R)=>{if(E===false)return N;if(N===false)return E;if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};N.mergeRuntimeConditionNonFalse=(E,N,R)=>{if(E===true||N===true)return true;const j=mergeRuntime(E,N);if(j===undefined)return undefined;if(typeof j==="string"){if(typeof R==="string"&&j===R)return true;return j}if(typeof R==="string"||R===undefined)return j;if(j.size===R.size)return true;return j};const mergeRuntimeOwned=(E,N)=>{if(N===undefined){return E}else if(E===N){return E}else if(E===undefined){if(typeof N==="string"){return N}else{return new j(N)}}else if(typeof E==="string"){if(typeof N==="string"){const R=new j;R.add(E);R.add(N);return R}else{const R=new j(N);R.add(E);return R}}else{if(typeof N==="string"){E.add(N);return E}else{for(const R of N)E.add(R);return E}}};N.mergeRuntimeOwned=mergeRuntimeOwned;N.intersectRuntime=(E,N)=>{if(E===undefined){return N}else if(N===undefined){return E}else if(E===N){return E}else if(typeof E==="string"){if(typeof N==="string"){return undefined}else if(N.has(E)){return E}else{return undefined}}else{if(typeof N==="string"){if(E.has(N))return N;return undefined}else{const R=new j;for(const j of N){if(E.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};const subtractRuntime=(E,N)=>{if(E===undefined){return undefined}else if(N===undefined){return E}else if(E===N){return undefined}else if(typeof E==="string"){if(typeof N==="string"){return E}else if(N.has(E)){return undefined}else{return E}}else{if(typeof N==="string"){if(!E.has(N))return E;if(E.size===2){for(const R of E){if(R!==N)return R}}const R=new j(E);R.delete(N)}else{const R=new j;for(const j of E){if(!N.has(j))R.add(j)}if(R.size===0)return undefined;if(R.size===1)for(const E of R)return E;return R}}};N.subtractRuntime=subtractRuntime;N.subtractRuntimeCondition=(E,N,R)=>{if(N===true)return false;if(N===false)return E;if(E===false)return false;const j=subtractRuntime(E===true?R:E,N);return j===undefined?false:j};N.filterRuntime=(E,N)=>{if(E===undefined)return N(undefined);if(typeof E==="string")return N(E);let R=false;let j=true;let $=undefined;for(const q of E){const E=N(q);if(E){R=true;$=mergeRuntimeOwned($,q)}else{j=false}}if(!R)return false;if(j)return true;return $};class RuntimeSpecMap{constructor(E){this._mode=E?E._mode:0;this._singleRuntime=E?E._singleRuntime:undefined;this._singleValue=E?E._singleValue:undefined;this._map=E&&E._map?new Map(E._map):undefined}get(E){switch(this._mode){case 0:return undefined;case 1:return runtimeEqual(this._singleRuntime,E)?this._singleValue:undefined;default:return this._map.get(getRuntimeKey(E))}}has(E){switch(this._mode){case 0:return false;case 1:return runtimeEqual(this._singleRuntime,E);default:return this._map.has(getRuntimeKey(E))}}set(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;this._singleValue=N;break;case 1:if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N;break}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;default:this._map.set(getRuntimeKey(E),N)}}provide(E,N){switch(this._mode){case 0:this._mode=1;this._singleRuntime=E;return this._singleValue=N();case 1:{if(runtimeEqual(this._singleRuntime,E)){return this._singleValue}this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;const R=N();this._map.set(getRuntimeKey(E),R);return R}default:{const R=getRuntimeKey(E);const j=this._map.get(R);if(j!==undefined)return j;const $=N();this._map.set(R,$);return $}}}delete(E){switch(this._mode){case 0:return;case 1:if(runtimeEqual(this._singleRuntime,E)){this._mode=0;this._singleRuntime=undefined;this._singleValue=undefined}return;default:this._map.delete(getRuntimeKey(E))}}update(E,N){switch(this._mode){case 0:throw new Error("runtime passed to update must exist");case 1:{if(runtimeEqual(this._singleRuntime,E)){this._singleValue=N(this._singleValue);break}const R=N(undefined);if(R!==undefined){this._mode=2;this._map=new Map;this._map.set(getRuntimeKey(this._singleRuntime),this._singleValue);this._singleRuntime=undefined;this._singleValue=undefined;this._map.set(getRuntimeKey(E),R)}break}default:{const R=getRuntimeKey(E);const j=this._map.get(R);const $=N(j);if($!==j)this._map.set(R,$)}}}keys(){switch(this._mode){case 0:return[];case 1:return[this._singleRuntime];default:return Array.from(this._map.keys(),keyToRuntime)}}values(){switch(this._mode){case 0:return[][Symbol.iterator]();case 1:return[this._singleValue][Symbol.iterator]();default:return this._map.values()}}get size(){if(this._mode<=1)return this._mode;return this._map.size}}N.RuntimeSpecMap=RuntimeSpecMap;class RuntimeSpecSet{constructor(E){this._map=new Map;if(E){for(const N of E){this.add(N)}}}add(E){this._map.set(getRuntimeKey(E),E)}has(E){return this._map.has(getRuntimeKey(E))}[Symbol.iterator](){return this._map.values()}get size(){return this._map.size}}N.RuntimeSpecSet=RuntimeSpecSet},9293:function(E,N){"use strict";const parseVersion=E=>{var splitAndConvert=function(E){return E.split(".").map((function(E){return+E==E?+E:E}))};var N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);var R=N[1]?splitAndConvert(N[1]):[];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}if(N[3]){R.push([]);R.push.apply(R,splitAndConvert(N[3]))}return R};N.parseVersion=parseVersion;const versionLt=(E,N)=>{E=parseVersion(E);N=parseVersion(N);var R=0;for(;;){if(R>=E.length)return R=N.length)return $=="u";var q=N[R];var G=(typeof q)[0];if($==G){if($!="o"&&$!="u"&&j!=q){return j{const splitAndConvert=E=>E.split(".").map((E=>`${+E}`===E?+E:E));const parsePartial=E=>{const N=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(E);const R=N[1]?[0,...splitAndConvert(N[1])]:[0];if(N[2]){R.length++;R.push.apply(R,splitAndConvert(N[2]))}let j=R[R.length-1];while(R.length&&(j===undefined||/^[*xX]$/.test(j))){R.pop();j=R[R.length-1]}return R};const toFixed=E=>{if(E.length===1){return[0]}else if(E.length===2){return[1,...E.slice(1)]}else if(E.length===3){return[2,...E.slice(1)]}else{return[E.length,...E.slice(1)]}};const negate=E=>[-E[0]-1,...E.slice(1)];const parseSimple=E=>{const N=/^(\^|~|<=|<|>=|>|=|v|!)/.exec(E);const R=N?N[0]:"";const j=parsePartial(E.slice(R.length));switch(R){case"^":if(j.length>1&&j[1]===0){if(j.length>2&&j[2]===0){return[3,...j.slice(1)]}return[2,...j.slice(1)]}return[1,...j.slice(1)];case"~":return[2,...j.slice(1)];case">=":return j;case"=":case"v":case"":return toFixed(j);case"<":return negate(j);case">":{const E=toFixed(j);return[,E,0,j,2]}case"<=":return[,toFixed(j),negate(j),1];case"!":{const E=toFixed(j);return[,E,0]}default:throw new Error("Unexpected start value")}};const combine=(E,N)=>{if(E.length===1)return E[0];const R=[];for(const N of E.slice().reverse()){if(0 in N){R.push(N)}else{R.push(...N.slice(1))}}return[,...R,...E.slice(1).map((()=>N))]};const parseRange=E=>{const N=E.split(" - ");if(N.length===1){const N=E.trim().split(/\s+/g).map(parseSimple);return combine(N,2)}const R=parsePartial(N[0]);const j=parsePartial(N[1]);return[,toFixed(j),negate(j),1,R,2]};const parseLogicalOr=E=>{const N=E.split(/\s*\|\|\s*/).map(parseRange);return combine(N,1)};return parseLogicalOr(E)};const rangeToString=E=>{var N=E[0];var R="";if(E.length===1){return"*"}else if(N+.5){R+=N==0?">=":N==-1?"<":N==1?"^":N==2?"~":N>0?"=":"!=";var j=1;for(var $=1;$0?".":"")+(j=2,q)}return R}else{var ie=[];for(var $=1;${if(0 in E){N=parseVersion(N);var R=E[0];var j=R<0;if(j)R=-R-1;for(var $=0,q=1,G=true;;q++,$++){var ie=q=N.length||(ae=N[$],(ce=(typeof ae)[0])=="o")){if(!G)return true;if(ie=="u")return q>R&&!j;return ie==""!=j}if(ce=="u"){if(!G||ie!="u"){return false}}else if(G){if(ie==ce){if(q<=R){if(ae!=E[q]){return false}}else{if(j?ae>E[q]:ae{switch(typeof E){case"undefined":return"";case"object":if(Array.isArray(E)){let N="[";for(let R=0;R`var parseVersion = ${E.basicFunction("str",["// see webpack/lib/util/semver.js for original code",`var p=${E.supportsArrowFunction()?"p=>":"function(p)"}{return p.split(".").map((${E.supportsArrowFunction()?"p=>":"function(p)"}{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;`])}`;N.versionLtRuntimeCode=E=>`var versionLt = ${E.basicFunction("a, b",["// see webpack/lib/util/semver.js for original code",'a=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r=b.length)return"u"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return"o"==n&&"n"==f||("s"==f||"u"==n);if("o"!=n&&"u"!=n&&e!=t)return e`var rangeToString = ${E.basicFunction("range",["// see webpack/lib/util/semver.js for original code",'var r=range[0],n="";if(1===range.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var e=1,a=1;a0?".":"")+(e=2,t)}return n}var g=[];for(a=1;a`var satisfy = ${E.basicFunction("range, version",["// see webpack/lib/util/semver.js for original code",'if(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i=version.length||"o"==(s=(typeof(f=version[n]))[0]))return!a||("u"==g?i>e&&!r:""==g!=r);if("u"==s){if(!a||"u"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f{"use strict";const j=R(91671);const $=j((()=>R(88692)));const q=j((()=>R(30991)));const G=j((()=>R(79308)));const ie=j((()=>R(15261)));const ae=j((()=>R(43065)));const ce=j((()=>new($())));const le=j((()=>{R(48077);const E=R(90331);q().registerLoader(/^webpack\/lib\//,(N=>{const R=E[N.slice("webpack/lib/".length)];if(R){R()}else{console.warn(`${N} not found in internalSerializables`)}return true}))}));let _e;E.exports={get register(){return q().register},get registerLoader(){return q().registerLoader},get registerNotSerializable(){return q().registerNotSerializable},get NOT_SERIALIZABLE(){return q().NOT_SERIALIZABLE},get MEASURE_START_OPERATION(){return $().MEASURE_START_OPERATION},get MEASURE_END_OPERATION(){return $().MEASURE_END_OPERATION},get buffersSerializer(){if(_e!==undefined)return _e;le();const E=ie();const N=ce();const R=ae();const j=G();return _e=new E([new j,new(q())((E=>{if(E.write){E.writeLazy=j=>{E.write(R.createLazy(j,N))}}}),"md4"),N])},createFileSerializer:(E,N)=>{le();const j=ie();const $=R(13829);const _e=new $(E,N);const Ee=ce();const Te=ae();const we=G();return new j([new we,new(q())((E=>{if(E.write){E.writeLazy=N=>{E.write(Te.createLazy(N,Ee))};E.writeSeparate=(N,R)=>{const j=Te.createLazy(N,_e,R);E.write(j);return j}}}),N),Ee,_e])}}},93695:E=>{"use strict";const smartGrouping=(E,N)=>{const R=new Set;const j=new Map;for(const $ of E){const E=new Set;for(let R=0;R{const N=E.size;for(const N of E){for(const E of N.groups){if(E.alreadyGrouped)continue;const R=E.items;if(R===undefined){E.items=new Set([N])}else{R.add(N)}}}const R=new Map;for(const E of j.values()){if(E.items){const N=E.items;E.items=undefined;R.set(E,{items:N,options:undefined,used:false})}}const $=[];for(;;){let j=undefined;let q=-1;let G=undefined;let ie=undefined;for(const[$,ae]of R){const{items:R,used:ce}=ae;let le=ae.options;if(le===undefined){const E=$.config;ae.options=le=E.getOptions&&E.getOptions($.name,Array.from(R,(({item:E})=>E)))||false}const _e=le&&le.force;if(!_e){if(ie&&ie.force)continue;if(ce)continue;if(R.size<=1||N-R.size<=1){continue}}const Ee=le&&le.targetGroupCount||4;let Te=_e?R.size:Math.min(R.size,N*2/Ee+E.size-R.size);if(Te>q||_e&&(!ie||!ie.force)){j=$;q=Te;G=R;ie=le}}if(j===undefined){break}const ae=new Set(G);const ce=ie;const le=!ce||ce.groupChildren!==false;for(const N of ae){E.delete(N);for(const E of N.groups){const j=R.get(E);if(j!==undefined){j.items.delete(N);if(j.items.size===0){R.delete(E)}else{j.options=undefined;if(le){j.used=true}}}}}R.delete(j);const _e=j.name;const Ee=j.config;const Te=Array.from(ae,(({item:E})=>E));j.alreadyGrouped=true;const we=le?runGrouping(ae):Te;j.alreadyGrouped=false;$.push(Ee.createGroup(_e,we,Te))}for(const{item:N}of E){$.push(N)}return $};return runGrouping(R)};E.exports=smartGrouping},13559:(E,N)=>{"use strict";const R=new WeakMap;const _isSourceEqual=(E,N)=>{let R=typeof E.buffer==="function"?E.buffer():E.source();let j=typeof N.buffer==="function"?N.buffer():N.source();if(R===j)return true;if(typeof R==="string"&&typeof j==="string")return false;if(!Buffer.isBuffer(R))R=Buffer.from(R,"utf-8");if(!Buffer.isBuffer(j))j=Buffer.from(j,"utf-8");return R.equals(j)};const isSourceEqual=(E,N)=>{if(E===N)return true;const j=R.get(E);if(j!==undefined){const E=j.get(N);if(E!==undefined)return E}const $=_isSourceEqual(E,N);if(j!==undefined){j.set(N,$)}else{const j=new WeakMap;j.set(N,$);R.set(E,j)}const q=R.get(N);if(q!==undefined){q.set(E,$)}else{const j=new WeakMap;j.set(E,$);R.set(N,j)}return $};N.isSourceEqual=isSourceEqual},33316:(E,N,R)=>{"use strict";const{validate:j}=R(15235);const $={rules:"module.rules",loaders:"module.rules or module.rules.*.use",query:"module.rules.*.options (BREAKING CHANGE since webpack 5)",noParse:"module.noParse",filename:"output.filename or module.rules.*.generator.filename",file:"output.filename",chunkFilename:"output.chunkFilename",chunkfilename:"output.chunkFilename",ecmaVersion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecmaversion:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",ecma:"output.environment (output.ecmaVersion was a temporary configuration option during webpack 5 beta)",path:"output.path",pathinfo:"output.pathinfo",pathInfo:"output.pathinfo",jsonpFunction:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",chunkCallbackName:"output.chunkLoadingGlobal (BREAKING CHANGE since webpack 5)",jsonpScriptType:"output.scriptType (BREAKING CHANGE since webpack 5)",hotUpdateFunction:"output.hotUpdateGlobal (BREAKING CHANGE since webpack 5)",splitChunks:"optimization.splitChunks",immutablePaths:"snapshot.immutablePaths",managedPaths:"snapshot.managedPaths",maxModules:"stats.modulesSpace (BREAKING CHANGE since webpack 5)",hashedModuleIds:'optimization.moduleIds: "hashed" (BREAKING CHANGE since webpack 5)',namedChunks:'optimization.chunkIds: "named" (BREAKING CHANGE since webpack 5)',namedModules:'optimization.moduleIds: "named" (BREAKING CHANGE since webpack 5)',occurrenceOrder:'optimization.chunkIds: "size" and optimization.moduleIds: "size" (BREAKING CHANGE since webpack 5)',automaticNamePrefix:"optimization.splitChunks.[cacheGroups.*].idHint (BREAKING CHANGE since webpack 5)",noEmitOnErrors:"optimization.emitOnErrors (BREAKING CHANGE since webpack 5: logic is inverted to avoid negative flags)",Buffer:"to use the ProvidePlugin to process the Buffer variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.Buffer: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ Buffer: ["buffer", "Buffer"] }) and npm install buffer.',process:"to use the ProvidePlugin to process the process variable to modules as polyfill\n"+"BREAKING CHANGE: webpack 5 no longer provided Node.js polyfills by default.\n"+"Note: if you are using 'node.process: false', you can just remove that as this is the default behavior now.\n"+"To provide a polyfill to modules use:\n"+'new ProvidePlugin({ process: "process" }) and npm install buffer.'};const q={concord:"BREAKING CHANGE: resolve.concord has been removed and is no longer available.",devtoolLineToLine:"BREAKING CHANGE: output.devtoolLineToLine has been removed and is no longer available."};const validateSchema=(E,N,R)=>{j(E,N,R||{name:"Webpack",postFormatter:(E,N)=>{const R=N.children;if(R&&R.some((E=>E.keyword==="absolutePath"&&E.dataPath===".output.filename"))){return`${E}\nPlease use output.path to specify absolute path and output.filename for the file name.`}if(R&&R.some((E=>E.keyword==="pattern"&&E.dataPath===".devtool"))){return`${E}\n`+"BREAKING CHANGE since webpack 5: The devtool option is more strict.\n"+"Please strictly follow the order of the keywords in the pattern."}if(N.keyword==="additionalProperties"){const R=N.params;if(Object.prototype.hasOwnProperty.call($,R.additionalProperty)){return`${E}\nDid you mean ${$[R.additionalProperty]}?`}if(Object.prototype.hasOwnProperty.call(q,R.additionalProperty)){return`${E}\n${q[R.additionalProperty]}?`}if(!N.dataPath){if(R.additionalProperty==="debug"){return`${E}\n`+"The 'debug' property was removed in webpack 2.0.0.\n"+"Loaders should be updated to allow passing this option via loader options in module.rules.\n"+"Until loaders are updated one can use the LoaderOptionsPlugin to switch loaders into debug mode:\n"+"plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" debug: true\n"+" })\n"+"]"}if(R.additionalProperty){return`${E}\n`+"For typos: please correct them.\n"+"For loader options: webpack >= v2.0.0 no longer allows custom properties in configuration.\n"+" Loaders should be updated to allow passing options via loader options in module.rules.\n"+" Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:\n"+" plugins: [\n"+" new webpack.LoaderOptionsPlugin({\n"+" // test: /\\.xxx$/, // may apply this only for some modules\n"+" options: {\n"+` ${R.additionalProperty}: …\n`+" }\n"+" })\n"+" ]"}}}return E}})};E.exports=validateSchema},34943:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);class AsyncWasmLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N}){super("wasm loading",$.STAGE_NORMAL);this.generateLoadBinaryCode=E;this.supportsStreaming=N}generate(){const{compilation:E,chunk:N}=this;const{outputOptions:R,runtimeTemplate:$}=E;const G=j.instantiateWasm;const ie=E.getPath(JSON.stringify(R.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + wasmModuleHash + "`,hashWithLength(E){return`" + wasmModuleHash.slice(0, ${E}) + "`}},runtime:N.runtime});return`${G} = ${$.basicFunction("exports, wasmModuleId, wasmModuleHash, importsObj",[`var req = ${this.generateLoadBinaryCode(ie)};`,this.supportsStreaming?q.asString(["if (typeof WebAssembly.instantiateStreaming === 'function') {",q.indent(["return WebAssembly.instantiateStreaming(req, importsObj)",q.indent([`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])]),"}"]):"// no support for streaming compilation","return req",q.indent([`.then(${$.returningFunction("x.arrayBuffer()","x")})`,`.then(${$.returningFunction("WebAssembly.instantiate(bytes, importsObj)","bytes")})`,`.then(${$.returningFunction("Object.assign(exports, res.instance.exports)","res")});`])])};`}}E.exports=AsyncWasmLoadingRuntimeModule},10136:(E,N,R)=>{"use strict";const j=R(36253);const $=new Set(["webassembly"]);class AsyncWebAssemblyGenerator extends j{constructor(E){super();this.options=E}getTypes(E){return $}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,N){return E.originalSource()}}E.exports=AsyncWebAssemblyGenerator},75462:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(63272);const G=R(76150);const ie=R(58159);const ae=R(33081);const ce=new Set(["webassembly"]);class AsyncWebAssemblyJavascriptGenerator extends ${constructor(E){super();this.filenameTemplate=E}getTypes(E){return ce}getSize(E,N){return 40+E.dependencies.length*10}generate(E,N){const{runtimeTemplate:R,chunkGraph:$,moduleGraph:ce,runtimeRequirements:le,runtime:_e}=N;le.add(G.module);le.add(G.moduleId);le.add(G.exports);le.add(G.instantiateWasm);const Ee=[];const Te=new Map;const we=new Map;for(const N of E.dependencies){if(N instanceof ae){const E=ce.getModule(N);if(!Te.has(E)){Te.set(E,{request:N.request,importVar:`WEBPACK_IMPORTED_MODULE_${Te.size}`})}let R=we.get(N.request);if(R===undefined){R=[];we.set(N.request,R)}R.push(N)}}const Ie=[];const Ne=Array.from(Te,(([N,{request:j,importVar:q}])=>{if(ce.isAsync(N)){Ie.push(q)}return R.importStatement({update:false,module:N,chunkGraph:$,request:j,originModule:E,importVar:q,runtimeRequirements:le})}));const Me=Ne.map((([E])=>E)).join("");const Le=Ne.map((([E,N])=>N)).join("");const Be=Array.from(we,(([N,j])=>{const $=j.map((j=>{const $=ce.getModule(j);const q=Te.get($).importVar;return`${JSON.stringify(j.name)}: ${R.exportFromImport({moduleGraph:ce,module:$,request:N,exportName:j.name,originModule:E,asiSafe:true,isCall:false,callContext:false,defaultInterop:true,importVar:q,initFragments:Ee,runtime:_e,runtimeRequirements:le})}`}));return ie.asString([`${JSON.stringify(N)}: {`,ie.indent($.join(",\n")),"}"])}));const je=Be.length>0?ie.asString(["{",ie.indent(Be.join(",\n")),"}"]):undefined;const Ue=`${G.instantiateWasm}(${E.exportsArgument}, ${E.moduleArgument}.id, ${JSON.stringify($.getRenderedModuleHash(E,_e))}`+(je?`, ${je})`:`)`);if(Ie.length>0)le.add(G.asyncModule);const ze=new j(Ie.length>0?ie.asString([`var __webpack_instantiate__ = ${R.basicFunction(`[${Ie.join(", ")}]`,`${Le}return ${Ue};`)}`,`${G.asyncModule}(${E.moduleArgument}, ${R.basicFunction("__webpack_handle_async_dependencies__",[Me,`var __webpack_async_dependencies__ = __webpack_handle_async_dependencies__([${Ie.join(", ")}]);`,"return __webpack_async_dependencies__.then ? __webpack_async_dependencies__.then(__webpack_instantiate__) : __webpack_instantiate__(__webpack_async_dependencies__);"])}, 1);`]):`${Me}${Le}module.exports = ${Ue};`);return q.addToSource(ze,Ee,N)}}E.exports=AsyncWebAssemblyJavascriptGenerator},82422:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(36253);const{tryRunOrWebpackError:G}=R(3728);const ie=R(33081);const{compareModulesByIdentifier:ae}=R(68673);const ce=R(91671);const le=ce((()=>R(10136)));const _e=ce((()=>R(75462)));const Ee=ce((()=>R(96263)));const Te=new WeakMap;class AsyncWebAssemblyModulesPlugin{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=Te.get(E);if(N===undefined){N={renderModuleContent:new j(["source","module","renderContext"])};Te.set(E,N)}return N}constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("AsyncWebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{const R=AsyncWebAssemblyModulesPlugin.getCompilationHooks(E);E.dependencyFactories.set(ie,N);N.hooks.createParser.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const E=Ee();return new E}));N.hooks.createGenerator.for("webassembly/async").tap("AsyncWebAssemblyModulesPlugin",(()=>{const N=_e();const R=le();return q.byType({javascript:new N(E.outputOptions.webassemblyModuleFilename),webassembly:new R(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,j)=>{const{moduleGraph:$,chunkGraph:q,runtimeTemplate:G}=E;const{chunk:ie,outputOptions:ce,dependencyTemplates:le,codeGenerationResults:_e}=j;for(const E of q.getOrderedChunkModulesIterable(ie,ae)){if(E.type==="webassembly/async"){const j=ce.webassemblyModuleFilename;N.push({render:()=>this.renderModule(E,{chunk:ie,dependencyTemplates:le,runtimeTemplate:G,moduleGraph:$,chunkGraph:q,codeGenerationResults:_e},R),filenameTemplate:j,pathOptions:{module:E,runtime:ie.runtime,chunkGraph:q},auxiliary:true,identifier:`webassemblyAsyncModule${q.getModuleId(E)}`,hash:q.getModuleHash(E,ie.runtime)})}}return N}))}))}renderModule(E,N,R){const{codeGenerationResults:j,chunk:$}=N;try{const q=j.getSource(E,$.runtime,"webassembly");return G((()=>R.renderModuleContent.call(q,E,N)),"AsyncWebAssemblyModulesPlugin.getCompilationHooks().renderModuleContent")}catch(N){N.module=E;throw N}}}E.exports=AsyncWebAssemblyModulesPlugin},96263:(E,N,R)=>{"use strict";const j=R(98093);const{decode:$}=R(73432);const q=R(2172);const G=R(96076);const ie=R(33081);const ae={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends q{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";N.module.buildMeta.async=true;const R=$(E,ae);const q=R.body[0];const ce=[];j.traverse(q,{ModuleExport({node:E}){ce.push(E.name)},ModuleImport({node:E}){const R=new ie(E.module,E.name,E.descr,false);N.module.addDependency(R)}});N.module.addDependency(new G(ce,false));return N}}E.exports=WebAssemblyParser},59422:(E,N,R)=>{"use strict";const j=R(81627);E.exports=class UnsupportedWebAssemblyFeatureError extends j{constructor(E){super(E);this.name="UnsupportedWebAssemblyFeatureError";this.hideStack=true}}},61006:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{compareModulesByIdentifier:G}=R(68673);const ie=R(20612);const getAllWasmModules=(E,N,R)=>{const j=R.getAllAsyncChunks();const $=[];for(const E of j){for(const R of N.getOrderedChunkModulesIterable(E,G)){if(R.type.startsWith("webassembly")){$.push(R)}}}return $};const generateImportObject=(E,N,R,$,G)=>{const ae=E.moduleGraph;const ce=new Map;const le=[];const _e=ie.getUsedDependencies(ae,N,R);for(const N of _e){const R=N.dependency;const ie=ae.getModule(R);const _e=R.name;const Ee=ie&&ae.getExportsInfo(ie).getUsedName(_e,G);const Te=R.description;const we=R.onlyDirectImport;const Ie=N.module;const Ne=N.name;if(we){const N=`m${ce.size}`;ce.set(N,E.getModuleId(ie));le.push({module:Ie,name:Ne,value:`${N}[${JSON.stringify(Ee)}]`})}else{const N=Te.signature.params.map(((E,N)=>"p"+N+E.valtype));const R=`${j.moduleCache}[${JSON.stringify(E.getModuleId(ie))}]`;const G=`${R}.exports`;const ae=`wasmImportedFuncCache${$.length}`;$.push(`var ${ae};`);le.push({module:Ie,name:Ne,value:q.asString([(ie.type.startsWith("webassembly")?`${R} ? ${G}[${JSON.stringify(Ee)}] : `:"")+`function(${N}) {`,q.indent([`if(${ae} === undefined) ${ae} = ${G};`,`return ${ae}[${JSON.stringify(Ee)}](${N});`]),"}"])})}}let Ee;if(R){Ee=["return {",q.indent([le.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"};"]}else{const E=new Map;for(const N of le){let R=E.get(N.module);if(R===undefined){E.set(N.module,R=[])}R.push(N)}Ee=["return {",q.indent([Array.from(E,(([E,N])=>q.asString([`${JSON.stringify(E)}: {`,q.indent([N.map((E=>`${JSON.stringify(E.name)}: ${E.value}`)).join(",\n")]),"}"]))).join(",\n")]),"};"]}const Te=JSON.stringify(E.getModuleId(N));if(ce.size===1){const E=Array.from(ce.values())[0];const N=`installedWasmModules[${JSON.stringify(E)}]`;const R=Array.from(ce.keys())[0];return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return ${N}; }).then(function(${R}) {`,q.indent(Ee),"});"]),"},"])}else if(ce.size>0){const E=Array.from(ce.values(),(E=>`installedWasmModules[${JSON.stringify(E)}]`)).join(", ");const N=Array.from(ce.keys(),((E,N)=>`${E} = array[${N}]`)).join(", ");return q.asString([`${Te}: function() {`,q.indent([`return promiseResolve().then(function() { return Promise.all([${E}]); }).then(function(array) {`,q.indent([`var ${N};`,...Ee]),"});"]),"},"])}else{return q.asString([`${Te}: function() {`,q.indent(Ee),"},"])}};class WasmChunkLoadingRuntimeModule extends ${constructor({generateLoadBinaryCode:E,supportsStreaming:N,mangleImports:R,runtimeRequirements:j}){super("wasm chunk loading",$.STAGE_ATTACH);this.generateLoadBinaryCode=E;this.supportsStreaming=N;this.mangleImports=R;this._runtimeRequirements=j}generate(){const{chunkGraph:E,compilation:N,chunk:R,mangleImports:$}=this;const{moduleGraph:G,outputOptions:ae}=N;const ce=j.ensureChunkHandlers;const le=this._runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const _e=getAllWasmModules(G,E,R);const Ee=[];const Te=_e.map((N=>generateImportObject(E,N,this.mangleImports,Ee,R.runtime)));const we=E.getChunkModuleIdMap(R,(E=>E.type.startsWith("webassembly")));const createImportObject=E=>$?`{ ${JSON.stringify(ie.MANGLED_MODULE)}: ${E} }`:E;const Ie=N.getPath(JSON.stringify(ae.webassemblyModuleFilename),{hash:`" + ${j.getFullHash}() + "`,hashWithLength:E=>`" + ${j.getFullHash}}().slice(0, ${E}) + "`,module:{id:'" + wasmModuleId + "',hash:`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly"))))}[chunkId][wasmModuleId] + "`,hashWithLength(N){return`" + ${JSON.stringify(E.getChunkModuleRenderedHashMap(R,(E=>E.type.startsWith("webassembly")),N))}[chunkId][wasmModuleId] + "`}},runtime:R.runtime});const Ne=le?`${j.hmrRuntimeStatePrefix}_wasm`:undefined;return q.asString(["// object to store loaded and loading wasm modules",`var installedWasmModules = ${Ne?`${Ne} = ${Ne} || `:""}{};`,"","function promiseResolve() { return Promise.resolve(); }","",q.asString(Ee),"var wasmImportObjects = {",q.indent(Te),"};","",`var wasmModuleMap = ${JSON.stringify(we,undefined,"\t")};`,"","// object with all WebAssembly.instance exports",`${j.wasmInstances} = {};`,"","// Fetch + compile chunk loading for webassembly",`${ce}.wasm = function(chunkId, promises) {`,q.indent(["",`var wasmModules = wasmModuleMap[chunkId] || [];`,"","wasmModules.forEach(function(wasmModuleId, idx) {",q.indent(["var installedWasmModuleData = installedWasmModules[wasmModuleId];","",'// a Promise means "currently loading" or "already loaded".',"if(installedWasmModuleData)",q.indent(["promises.push(installedWasmModuleData);"]),"else {",q.indent([`var importObject = wasmImportObjects[wasmModuleId]();`,`var req = ${this.generateLoadBinaryCode(Ie)};`,"var promise;",this.supportsStreaming?q.asString(["if(importObject && typeof importObject.then === 'function' && typeof WebAssembly.compileStreaming === 'function') {",q.indent(["promise = Promise.all([WebAssembly.compileStreaming(req), importObject]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"]),"} else if(typeof WebAssembly.instantiateStreaming === 'function') {",q.indent([`promise = WebAssembly.instantiateStreaming(req, ${createImportObject("importObject")});`])]):q.asString(["if(importObject && typeof importObject.then === 'function') {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = Promise.all([",q.indent(["bytesPromise.then(function(bytes) { return WebAssembly.compile(bytes); }),","importObject"]),"]).then(function(items) {",q.indent([`return WebAssembly.instantiate(items[0], ${createImportObject("items[1]")});`]),"});"])]),"} else {",q.indent(["var bytesPromise = req.then(function(x) { return x.arrayBuffer(); });","promise = bytesPromise.then(function(bytes) {",q.indent([`return WebAssembly.instantiate(bytes, ${createImportObject("importObject")});`]),"});"]),"}","promises.push(installedWasmModules[wasmModuleId] = promise.then(function(res) {",q.indent([`return ${j.wasmInstances}[wasmModuleId] = (res.instance || res).exports;`]),"}));"]),"}"]),"});"]),"};"])}}E.exports=WasmChunkLoadingRuntimeModule},8576:(E,N,R)=>{"use strict";const j=R(72380);const $=R(59422);class WasmFinalizeExportsPlugin{apply(E){E.hooks.compilation.tap("WasmFinalizeExportsPlugin",(E=>{E.hooks.finishModules.tap("WasmFinalizeExportsPlugin",(N=>{for(const R of N){if(R.type.startsWith("webassembly")===true){const N=R.buildMeta.jsIncompatibleExports;if(N===undefined){continue}for(const q of E.moduleGraph.getIncomingConnections(R)){if(q.isTargetActive(undefined)&&q.originModule.type.startsWith("webassembly")===false){const G=E.getDependencyReferencedExports(q.dependency,undefined);for(const ie of G){const G=Array.isArray(ie)?ie:ie.name;if(G.length===0)continue;const ae=G[0];if(typeof ae==="object")continue;if(Object.prototype.hasOwnProperty.call(N,ae)){const G=new $(`Export "${ae}" with ${N[ae]} can only be used for direct wasm to wasm dependencies\n`+`It's used from ${q.originModule.readableIdentifier(E.requestShortener)} at ${j(q.dependency.loc)}.`);G.module=R;E.errors.push(G)}}}}}}}))}))}}E.exports=WasmFinalizeExportsPlugin},56419:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const $=R(36253);const q=R(20612);const G=R(98093);const{moduleContextFromModuleAST:ie}=R(98093);const{editWithAST:ae,addWithAST:ce}=R(226);const{decode:le}=R(73432);const _e=R(30697);const compose=(...E)=>E.reduce(((E,N)=>R=>N(E(R))),(E=>E));const removeStartFunc=E=>N=>ae(E.ast,N,{Start(E){E.remove()}});const getImportedGlobals=E=>{const N=[];G.traverse(E,{ModuleImport({node:E}){if(G.isGlobalType(E.descr)){N.push(E)}}});return N};const getCountImportedFunc=E=>{let N=0;G.traverse(E,{ModuleImport({node:E}){if(G.isFuncImportDescr(E.descr)){N++}}});return N};const getNextTypeIndex=E=>{const N=G.getSectionMetadata(E,"type");if(N===undefined){return G.indexLiteral(0)}return G.indexLiteral(N.vectorOfSize.value)};const getNextFuncIndex=(E,N)=>{const R=G.getSectionMetadata(E,"func");if(R===undefined){return G.indexLiteral(0+N)}const j=R.vectorOfSize.value;return G.indexLiteral(j+N)};const createDefaultInitForGlobal=E=>{if(E.valtype[0]==="i"){return G.objectInstruction("const",E.valtype,[G.numberLiteralFromRaw(66)])}else if(E.valtype[0]==="f"){return G.objectInstruction("const",E.valtype,[G.floatLiteral(66,false,false,"66")])}else{throw new Error("unknown type: "+E.valtype)}};const rewriteImportedGlobals=E=>N=>{const R=E.additionalInitCode;const j=[];N=ae(E.ast,N,{ModuleImport(E){if(G.isGlobalType(E.node.descr)){const N=E.node.descr;N.mutability="var";const R=[createDefaultInitForGlobal(N),G.instruction("end")];j.push(G.global(N,R));E.remove()}},Global(E){const{node:N}=E;const[$]=N.init;if($.id==="get_global"){N.globalType.mutability="var";const E=$.args[0];N.init=[createDefaultInitForGlobal(N.globalType),G.instruction("end")];R.push(G.instruction("get_local",[E]),G.instruction("set_global",[G.indexLiteral(j.length)]))}j.push(N);E.remove()}});return ce(E.ast,N,j)};const rewriteExportNames=({ast:E,moduleGraph:N,module:R,externalExports:j,runtime:$})=>q=>ae(E,q,{ModuleExport(E){const q=j.has(E.node.name);if(q){E.remove();return}const G=N.getExportsInfo(R).getUsedName(E.node.name,$);if(!G){E.remove();return}E.node.name=G}});const rewriteImports=({ast:E,usedDependencyMap:N})=>R=>ae(E,R,{ModuleImport(E){const R=N.get(E.node.module+":"+E.node.name);if(R!==undefined){E.node.module=R.module;E.node.name=R.name}}});const addInitFunction=({ast:E,initFuncId:N,startAtFuncOffset:R,importedGlobals:j,additionalInitCode:$,nextFuncIndex:q,nextTypeIndex:ie})=>ae=>{const le=j.map((E=>{const N=G.identifier(`${E.module}.${E.name}`);return G.funcParam(E.descr.valtype,N)}));const _e=[];j.forEach(((E,N)=>{const R=[G.indexLiteral(N)];const j=[G.instruction("get_local",R),G.instruction("set_global",R)];_e.push(...j)}));if(typeof R==="number"){_e.push(G.callInstruction(G.numberLiteralFromRaw(R)))}for(const E of $){_e.push(E)}_e.push(G.instruction("end"));const Ee=[];const Te=G.signature(le,Ee);const we=G.func(N,Te,_e);const Ie=G.typeInstruction(undefined,Te);const Ne=G.indexInFuncSection(ie);const Me=G.moduleExport(N.value,G.moduleExportDescr("Func",q));return ce(E,ae,[we,Me,Ne,Ie])};const getUsedDependencyMap=(E,N,R)=>{const j=new Map;for(const $ of q.getUsedDependencies(E,N,R)){const E=$.dependency;const N=E.request;const R=E.name;j.set(N+":"+R,$)}return j};const Ee=new Set(["webassembly"]);class WebAssemblyGenerator extends ${constructor(E){super();this.options=E}getTypes(E){return Ee}getSize(E,N){const R=E.originalSource();if(!R){return 0}return R.size()}generate(E,{moduleGraph:N,runtime:R}){const $=E.originalSource().source();const q=G.identifier("");const ae=le($,{ignoreDataSection:true,ignoreCodeSection:true,ignoreCustomNameSection:true});const ce=ie(ae.body[0]);const Ee=getImportedGlobals(ae);const Te=getCountImportedFunc(ae);const we=ce.getStart();const Ie=getNextFuncIndex(ae,Te);const Ne=getNextTypeIndex(ae);const Me=getUsedDependencyMap(N,E,this.options.mangleImports);const Le=new Set(E.dependencies.filter((E=>E instanceof _e)).map((E=>{const N=E;return N.exportName})));const Be=[];const je=compose(rewriteExportNames({ast:ae,moduleGraph:N,module:E,externalExports:Le,runtime:R}),removeStartFunc({ast:ae}),rewriteImportedGlobals({ast:ae,additionalInitCode:Be}),rewriteImports({ast:ae,usedDependencyMap:Me}),addInitFunction({ast:ae,initFuncId:q,importedGlobals:Ee,additionalInitCode:Be,startAtFuncOffset:we,nextFuncIndex:Ie,nextTypeIndex:Ne}));const Ue=je($);const ze=Buffer.from(Ue);return new j(ze)}}E.exports=WebAssemblyGenerator},74167:(E,N,R)=>{"use strict";const j=R(81627);const getInitialModuleChains=(E,N,R,j)=>{const $=[{head:E,message:E.readableIdentifier(j)}];const q=new Set;const G=new Set;const ie=new Set;for(const E of $){const{head:ae,message:ce}=E;let le=true;const _e=new Set;for(const E of N.getIncomingConnections(ae)){const N=E.originModule;if(N){if(!R.getModuleChunks(N).some((E=>E.canBeInitial())))continue;le=false;if(_e.has(N))continue;_e.add(N);const q=N.readableIdentifier(j);const ae=E.explanation?` (${E.explanation})`:"";const Ee=`${q}${ae} --\x3e ${ce}`;if(ie.has(N)){G.add(`... --\x3e ${Ee}`);continue}ie.add(N);$.push({head:N,message:Ee})}else{le=false;const N=E.explanation?`(${E.explanation}) --\x3e ${ce}`:ce;q.add(N)}}if(le){q.add(ce)}}for(const E of G){q.add(E)}return Array.from(q)};E.exports=class WebAssemblyInInitialChunkError extends j{constructor(E,N,R,j){const $=getInitialModuleChains(E,N,R,j);const q=`WebAssembly module is included in initial chunk.\nThis is not allowed, because WebAssembly download and compilation must happen asynchronous.\nAdd an async split point (i. e. import()) somewhere between your entrypoint and the WebAssembly module:\n${$.map((E=>`* ${E}`)).join("\n")}`;super(q);this.name="WebAssemblyInInitialChunkError";this.hideStack=true;this.module=E}}},59363:(E,N,R)=>{"use strict";const{RawSource:j}=R(48135);const{UsageState:$}=R(76632);const q=R(36253);const G=R(63272);const ie=R(76150);const ae=R(58159);const ce=R(79983);const le=R(30697);const _e=R(33081);const Ee=new Set(["webassembly"]);class WebAssemblyJavascriptGenerator extends q{getTypes(E){return Ee}getSize(E,N){return 95+E.dependencies.length*5}generate(E,N){const{runtimeTemplate:R,moduleGraph:q,chunkGraph:Ee,runtimeRequirements:Te,runtime:we}=N;const Ie=[];const Ne=q.getExportsInfo(E);let Me=false;const Le=new Map;const Be=[];let je=0;for(const N of E.dependencies){const j=N&&N instanceof ce?N:undefined;if(q.getModule(N)){let $=Le.get(q.getModule(N));if($===undefined){Le.set(q.getModule(N),$={importVar:`m${je}`,index:je,request:j&&j.userRequest||undefined,names:new Set,reexports:[]});je++}if(N instanceof _e){$.names.add(N.name);if(N.description.type==="GlobalType"){const j=N.name;const G=q.getModule(N);if(G){const ie=q.getExportsInfo(G).getUsedName(j,we);if(ie){Be.push(R.exportFromImport({moduleGraph:q,module:G,request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te}))}}}}if(N instanceof le){$.names.add(N.name);const j=q.getExportsInfo(E).getUsedName(N.exportName,we);if(j){Te.add(ie.exports);const G=`${E.exportsArgument}[${JSON.stringify(j)}]`;const ce=ae.asString([`${G} = ${R.exportFromImport({moduleGraph:q,module:q.getModule(N),request:N.request,importVar:$.importVar,originModule:E,exportName:N.name,asiSafe:true,isCall:false,callContext:null,defaultInterop:true,initFragments:Ie,runtime:we,runtimeRequirements:Te})};`,`if(WebAssembly.Global) ${G} = `+`new WebAssembly.Global({ value: ${JSON.stringify(N.valueType)} }, ${G});`]);$.reexports.push(ce);Me=true}}}}const Ue=ae.asString(Array.from(Le,(([E,{importVar:N,request:j,reexports:$}])=>{const q=R.importStatement({module:E,chunkGraph:Ee,request:j,importVar:N,originModule:E,runtimeRequirements:Te});return q[0]+q[1]+$.join("\n")})));const ze=Ne.otherExportsInfo.getUsed(we)===$.Unused&&!Me;Te.add(ie.module);Te.add(ie.moduleId);Te.add(ie.wasmInstances);if(Ne.otherExportsInfo.getUsed(we)!==$.Unused){Te.add(ie.makeNamespaceObject);Te.add(ie.exports)}if(!ze){Te.add(ie.exports)}const We=new j(['"use strict";',"// Instantiate WebAssembly module",`var wasmExports = ${ie.wasmInstances}[${E.moduleArgument}.id];`,Ne.otherExportsInfo.getUsed(we)!==$.Unused?`${ie.makeNamespaceObject}(${E.exportsArgument});`:"","// export exports from WebAssembly module",ze?`${E.moduleArgument}.exports = wasmExports;`:"for(var name in wasmExports) "+`if(name) `+`${E.exportsArgument}[name] = wasmExports[name];`,"// exec imports from WebAssembly module (for esm order)",Ue,"","// exec wasm module",`wasmExports[""](${Be.join(", ")})`].join("\n"));return G.addToSource(We,Ie,N)}}E.exports=WebAssemblyJavascriptGenerator},84387:(E,N,R)=>{"use strict";const j=R(36253);const $=R(30697);const q=R(33081);const{compareModulesByIdentifier:G}=R(68673);const ie=R(91671);const ae=R(74167);const ce=ie((()=>R(56419)));const le=ie((()=>R(59363)));const _e=ie((()=>R(10342)));class WebAssemblyModulesPlugin{constructor(E){this.options=E}apply(E){E.hooks.compilation.tap("WebAssemblyModulesPlugin",((E,{normalModuleFactory:N})=>{E.dependencyFactories.set(q,N);E.dependencyFactories.set($,N);N.hooks.createParser.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=_e();return new E}));N.hooks.createGenerator.for("webassembly/sync").tap("WebAssemblyModulesPlugin",(()=>{const E=le();const N=ce();return j.byType({javascript:new E,webassembly:new N(this.options)})}));E.hooks.renderManifest.tap("WebAssemblyModulesPlugin",((N,R)=>{const{chunkGraph:j}=E;const{chunk:$,outputOptions:q,codeGenerationResults:ie}=R;for(const E of j.getOrderedChunkModulesIterable($,G)){if(E.type==="webassembly/sync"){const R=q.webassemblyModuleFilename;N.push({render:()=>ie.getSource(E,$.runtime,"webassembly"),filenameTemplate:R,pathOptions:{module:E,runtime:$.runtime,chunkGraph:j},auxiliary:true,identifier:`webassemblyModule${j.getModuleId(E)}`,hash:j.getModuleHash(E,$.runtime)})}}return N}));E.hooks.afterChunks.tap("WebAssemblyModulesPlugin",(()=>{const N=E.chunkGraph;const R=new Set;for(const j of E.chunks){if(j.canBeInitial()){for(const E of N.getChunkModulesIterable(j)){if(E.type==="webassembly/sync"){R.add(E)}}}}for(const N of R){E.errors.push(new ae(N,E.moduleGraph,E.chunkGraph,E.requestShortener))}}))}))}}E.exports=WebAssemblyModulesPlugin},10342:(E,N,R)=>{"use strict";const j=R(98093);const{moduleContextFromModuleAST:$}=R(98093);const{decode:q}=R(73432);const G=R(2172);const ie=R(96076);const ae=R(30697);const ce=R(33081);const le=new Set(["i32","f32","f64"]);const getJsIncompatibleType=E=>{for(const N of E.params){if(!le.has(N.valtype)){return`${N.valtype} as parameter`}}for(const N of E.results){if(!le.has(N))return`${N} as result`}return null};const getJsIncompatibleTypeOfFuncSignature=E=>{for(const N of E.args){if(!le.has(N)){return`${N} as parameter`}}for(const N of E.result){if(!le.has(N))return`${N} as result`}return null};const _e={ignoreCodeSection:true,ignoreDataSection:true,ignoreCustomNameSection:true};class WebAssemblyParser extends G{constructor(E){super();this.hooks=Object.freeze({});this.options=E}parse(E,N){if(!Buffer.isBuffer(E)){throw new Error("WebAssemblyParser input must be a Buffer")}N.module.buildInfo.strict=true;N.module.buildMeta.exportsType="namespace";const R=q(E,_e);const G=R.body[0];const Ee=$(G);const Te=[];let we=N.module.buildMeta.jsIncompatibleExports=undefined;const Ie=[];j.traverse(G,{ModuleExport({node:E}){const R=E.descr;if(R.exportType==="Func"){const j=R.id.value;const $=Ee.getFunction(j);const q=getJsIncompatibleTypeOfFuncSignature($);if(q){if(we===undefined){we=N.module.buildMeta.jsIncompatibleExports={}}we[E.name]=q}}Te.push(E.name);if(E.descr&&E.descr.exportType==="Global"){const R=Ie[E.descr.id.value];if(R){const j=new ae(E.name,R.module,R.name,R.descr.valtype);N.module.addDependency(j)}}},Global({node:E}){const N=E.init[0];let R=null;if(N.id==="get_global"){const E=N.args[0].value;if(E{"use strict";const j=R(58159);const $=R(33081);const q="a";const getUsedDependencies=(E,N,R)=>{const G=[];let ie=0;for(const ae of N.dependencies){if(ae instanceof $){if(ae.description.type==="GlobalType"||E.getModule(ae)===null){continue}const N=ae.name;if(R){G.push({dependency:ae,name:j.numberToIdentifier(ie++),module:q})}else{G.push({dependency:ae,name:N,module:ae.request})}}}return G};N.getUsedDependencies=getUsedDependencies;N.MANGLED_MODULE=q},69085:(E,N,R)=>{"use strict";const j=new WeakMap;const getEnabledTypes=E=>{let N=j.get(E);if(N===undefined){N=new Set;j.set(E,N)}return N};class EnableWasmLoadingPlugin{constructor(E){this.type=E}static setEnabled(E,N){getEnabledTypes(E).add(N)}static checkEnabled(E,N){if(!getEnabledTypes(E).has(N)){throw new Error(`Library type "${N}" is not enabled. `+"EnableWasmLoadingPlugin need to be used to enable this type of wasm loading. "+'This usually happens through the "output.enabledWasmLoadingTypes" option. '+'If you are using a function as entry which sets "wasmLoading", you need to add all potential library types to "output.enabledWasmLoadingTypes". '+"These types are enabled: "+Array.from(getEnabledTypes(E)).join(", "))}}apply(E){const{type:N}=this;const j=getEnabledTypes(E);if(j.has(N))return;j.add(N);if(typeof N==="string"){switch(N){case"fetch":{const N=R(71100);const j=R(52687);new N({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);(new j).apply(E);break}case"async-node":{const j=R(71049);const $=R(21273);new j({mangleImports:E.options.optimization.mangleWasmImports}).apply(E);new $({type:N}).apply(E);break}case"async-node-module":{const j=R(21273);new j({type:N,import:true}).apply(E);break}case"universal":throw new Error("Universal WebAssembly Loading is not implemented yet");default:throw new Error(`Unsupported wasm loading type ${N}.\nPlugins which provide custom wasm loading types must call EnableWasmLoadingPlugin.setEnabled(compiler, type) to disable this error.`)}}else{}}}E.exports=EnableWasmLoadingPlugin},52687:(E,N,R)=>{"use strict";const j=R(76150);const $=R(34943);class FetchCompileAsyncWasmPlugin{apply(E){E.hooks.thisCompilation.tap("FetchCompileAsyncWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.instantiateWasm).tap("FetchCompileAsyncWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/async"))){return}R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true}))}))}))}}E.exports=FetchCompileAsyncWasmPlugin},71100:(E,N,R)=>{"use strict";const j=R(76150);const $=R(61006);class FetchCompileWasmPlugin{constructor(E){this.options=E||{}}apply(E){E.hooks.thisCompilation.tap("FetchCompileWasmPlugin",(E=>{const N=E.outputOptions.wasmLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.wasmLoading!==undefined?R.wasmLoading:N;return j==="fetch"};const generateLoadBinaryCode=E=>`fetch(${j.publicPath} + ${E})`;E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("FetchCompileWasmPlugin",((N,R)=>{if(!isEnabledForChunk(N))return;const q=E.chunkGraph;if(!q.hasModuleInGraph(N,(E=>E.type==="webassembly/sync"))){return}R.add(j.moduleCache);R.add(j.publicPath);E.addRuntimeModule(N,new $({generateLoadBinaryCode:generateLoadBinaryCode,supportsStreaming:true,mangleImports:this.options.mangleImports,runtimeRequirements:R}))}))}))}}E.exports=FetchCompileWasmPlugin},76853:(E,N,R)=>{"use strict";const j=R(76150);const $=R(4038);class JsonpChunkLoadingPlugin{apply(E){E.hooks.thisCompilation.tap("JsonpChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="jsonp"};const R=new WeakSet;const handler=(N,q)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;q.add(j.moduleFactoriesAddOnly);q.add(j.hasOwnProperty);E.addRuntimeModule(N,new $(q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.onChunksLoaded).tap("JsonpChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.loadScript);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("JsonpChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=JsonpChunkLoadingPlugin},4038:(E,N,R)=>{"use strict";const{SyncWaterfallHook:j}=R(92960);const $=R(3080);const q=R(76150);const G=R(66804);const ie=R(58159);const ae=R(18161).chunkHasJs;const{getInitialChunkIds:ce}=R(13085);const le=R(87274);const _e=new WeakMap;class JsonpChunkLoadingRuntimeModule extends G{static getCompilationHooks(E){if(!(E instanceof $)){throw new TypeError("The 'compilation' argument must be an instance of Compilation")}let N=_e.get(E);if(N===undefined){N={linkPreload:new j(["source","chunk"]),linkPrefetch:new j(["source","chunk"])};_e.set(E,N)}return N}constructor(E){super("jsonp chunk loading",G.STAGE_ATTACH);this._runtimeRequirements=E}generate(){const{chunkGraph:E,compilation:N,chunk:j}=this;const{runtimeTemplate:$,outputOptions:{globalObject:G,chunkLoadingGlobal:_e,hotUpdateGlobal:Ee,crossOriginLoading:Te,scriptType:we}}=N;const{linkPreload:Ie,linkPrefetch:Ne}=JsonpChunkLoadingRuntimeModule.getCompilationHooks(N);const Me=q.ensureChunkHandlers;const Le=this._runtimeRequirements.has(q.baseURI);const Be=this._runtimeRequirements.has(q.ensureChunkHandlers);const je=this._runtimeRequirements.has(q.chunkCallback);const Ue=this._runtimeRequirements.has(q.onChunksLoaded);const ze=this._runtimeRequirements.has(q.hmrDownloadUpdateHandlers);const We=this._runtimeRequirements.has(q.hmrDownloadManifest);const Je=this._runtimeRequirements.has(q.prefetchChunkHandlers);const Ve=this._runtimeRequirements.has(q.preloadChunkHandlers);const qe=`${G}[${JSON.stringify(_e)}]`;const He=E.getChunkConditionMap(j,ae);const Ge=le(He);const Ke=ce(j,E);const Qe=ze?`${q.hmrRuntimeStatePrefix}_jsonp`:undefined;return ie.asString([Le?ie.asString([`${q.baseURI} = document.baseURI || self.location.href;`]):"// no baseURI","","// object to store loaded and loading chunks","// undefined = chunk not loaded, null = chunk preloaded/prefetched","// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded",`var installedChunks = ${Qe?`${Qe} = ${Qe} || `:""}{`,ie.indent(Array.from(Ke,(E=>`${JSON.stringify(E)}: 0`)).join(",\n")),"};","",Be?ie.asString([`${Me}.j = ${$.basicFunction("chunkId, promises",Ge!==false?ie.indent(["// JSONP chunk loading for javascript",`var installedChunkData = ${q.hasOwnProperty}(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;`,'if(installedChunkData !== 0) { // 0 means "already installed".',ie.indent(["",'// a Promise means "currently loading".',"if(installedChunkData) {",ie.indent(["promises.push(installedChunkData[2]);"]),"} else {",ie.indent([Ge===true?"if(true) { // all chunks have JS":`if(${Ge("chunkId")}) {`,ie.indent(["// setup Promise in chunk cache",`var promise = new Promise(${$.expressionFunction(`installedChunkData = installedChunks[chunkId] = [resolve, reject]`,"resolve, reject")});`,"promises.push(installedChunkData[2] = promise);","","// start chunk loading",`var url = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",[`if(${q.hasOwnProperty}(installedChunks, chunkId)) {`,ie.indent(["installedChunkData = installedChunks[chunkId];","if(installedChunkData !== 0) installedChunks[chunkId] = undefined;","if(installedChunkData) {",ie.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","installedChunkData[1](error);"]),"}"]),"}"])};`,`${q.loadScript}(url, loadingEnded, "chunk-" + chunkId, chunkId);`]),"} else installedChunks[chunkId] = 0;"]),"}"]),"}"]):ie.indent(["installedChunks[chunkId] = 0;"]))};`]):"// no chunk on demand loading","",Je&&Ge!==false?`${q.prefetchChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ne.call(ie.asString(["var link = document.createElement('link');",Te?`link.crossOrigin = ${JSON.stringify(Te)};`:"",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "prefetch";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`]),j),"document.head.appendChild(link);"]),"}"])};`:"// no prefetching","",Ve&&Ge!==false?`${q.preloadChunkHandlers}.j = ${$.basicFunction("chunkId",[`if((!${q.hasOwnProperty}(installedChunks, chunkId) || installedChunks[chunkId] === undefined) && ${Ge===true?"true":Ge("chunkId")}) {`,ie.indent(["installedChunks[chunkId] = null;",Ie.call(ie.asString(["var link = document.createElement('link');",we?`link.type = ${JSON.stringify(we)};`:"","link.charset = 'utf-8';",`if (${q.scriptNonce}) {`,ie.indent(`link.setAttribute("nonce", ${q.scriptNonce});`),"}",'link.rel = "preload";','link.as = "script";',`link.href = ${q.publicPath} + ${q.getChunkScriptFilename}(chunkId);`,Te?ie.asString(["if (link.href.indexOf(window.location.origin + '/') !== 0) {",ie.indent(`link.crossOrigin = ${JSON.stringify(Te)};`),"}"]):""]),j),"document.head.appendChild(link);"]),"}"])};`:"// no preloaded","",ze?ie.asString(["var currentUpdatedModulesList;","var waitingUpdateResolves = {};","function loadUpdateChunk(chunkId) {",ie.indent([`return new Promise(${$.basicFunction("resolve, reject",["waitingUpdateResolves[chunkId] = resolve;","// start update chunk loading",`var url = ${q.publicPath} + ${q.getChunkUpdateScriptFilename}(chunkId);`,"// create error before stack unwound to get useful stacktrace later","var error = new Error();",`var loadingEnded = ${$.basicFunction("event",["if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId] = undefined","var errorType = event && (event.type === 'load' ? 'missing' : event.type);","var realSrc = event && event.target && event.target.src;","error.message = 'Loading hot update chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';","error.name = 'ChunkLoadError';","error.type = errorType;","error.request = realSrc;","reject(error);"]),"}"])};`,`${q.loadScript}(url, loadingEnded);`])});`]),"}","",`${G}[${JSON.stringify(Ee)}] = ${$.basicFunction("chunkId, moreModules, runtime",["for(var moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(currentUpdatedModulesList) currentUpdatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","if(waitingUpdateResolves[chunkId]) {",ie.indent(["waitingUpdateResolves[chunkId]();","waitingUpdateResolves[chunkId] = undefined;"]),"}"])};`,"",ie.getFunctionContent(R(22215)).replace(/\$key\$/g,"jsonp").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,q.moduleCache).replace(/\$moduleFactories\$/g,q.moduleFactories).replace(/\$ensureChunkHandlers\$/g,q.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,q.hasOwnProperty).replace(/\$hmrModuleData\$/g,q.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,q.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,q.hmrInvalidateModuleHandlers)]):"// no HMR","",We?ie.asString([`${q.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${q.publicPath} + ${q.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest","",Ue?`${q.onChunksLoaded}.j = ${$.returningFunction("installedChunks[chunkId] === 0","chunkId")};`:"// no on chunks loaded","",je||Be?ie.asString(["// install a JSONP callback for chunk loading",`var webpackJsonpCallback = ${$.basicFunction("parentChunkLoadingFunction, data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),'// add "moreModules" to the modules object,','// then flag all "chunkIds" as loaded and fire callback',"var moduleId, chunkId, i = 0;",`if(chunkIds.some(${$.returningFunction("installedChunks[id] !== 0","id")})) {`,ie.indent(["for(moduleId in moreModules) {",ie.indent([`if(${q.hasOwnProperty}(moreModules, moduleId)) {`,ie.indent(`${q.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) var result = runtime(__webpack_require__);"]),"}","if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);","for(;i < chunkIds.length; i++) {",ie.indent(["chunkId = chunkIds[i];",`if(${q.hasOwnProperty}(installedChunks, chunkId) && installedChunks[chunkId]) {`,ie.indent("installedChunks[chunkId][0]();"),"}","installedChunks[chunkIds[i]] = 0;"]),"}",Ue?`return ${q.onChunksLoaded}(result);`:""])}`,"",`var chunkLoadingGlobal = ${qe} = ${qe} || [];`,"chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));","chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));"]):"// no jsonp function"])}}E.exports=JsonpChunkLoadingRuntimeModule},58421:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);const q=R(4038);class JsonpTemplatePlugin{static getCompilationHooks(E){return q.getCompilationHooks(E)}apply(E){E.options.output.chunkLoading="jsonp";(new j).apply(E);new $("jsonp").apply(E)}}E.exports=JsonpTemplatePlugin},2982:(E,N,R)=>{"use strict";const j=R(73837);const $=R(63221);const q=R(46312);const G=R(63076);const ie=R(63433);const ae=R(81721);const{applyWebpackOptionsDefaults:ce,applyWebpackOptionsBaseDefaults:le}=R(54411);const{getNormalizedWebpackOptions:_e}=R(96590);const Ee=R(93632);const Te=R(91671);const we=Te((()=>R(33316)));const createMultiCompiler=(E,N)=>{const R=E.map((E=>createCompiler(E)));const j=new ie(R,N);for(const E of R){if(E.options.dependencies){j.setDependencies(E,E.options.dependencies)}}return j};const createCompiler=E=>{const N=_e(E);le(N);const R=new G(N.context,N);new Ee({infrastructureLogging:N.infrastructureLogging}).apply(R);if(Array.isArray(N.plugins)){for(const E of N.plugins){if(typeof E==="function"){E.call(R,R)}else{E.apply(R)}}}ce(N);R.hooks.environment.call();R.hooks.afterEnvironment.call();(new ae).process(N,R);R.hooks.initialize.call();return R};const webpack=(E,N)=>{const create=()=>{if(!$(E)){we()(q,E)}let N;let R=false;let j;if(Array.isArray(E)){N=createMultiCompiler(E,E);R=E.some((E=>E.watch));j=E.map((E=>E.watchOptions||{}))}else{const $=E;N=createCompiler($);R=$.watch;j=$.watchOptions||{}}return{compiler:N,watch:R,watchOptions:j}};if(N){try{const{compiler:E,watch:R,watchOptions:j}=create();if(R){E.watch(j,N)}else{E.run(((R,j)=>{E.close((E=>{N(R||E,j)}))}))}return E}catch(E){process.nextTick((()=>N(E)));return null}}else{const{compiler:E,watch:N}=create();if(N){j.deprecate((()=>{}),"A 'callback' argument needs to be provided to the 'webpack(options, callback)' function when the 'watch' option is set. There is no way to handle the 'watch' option without a callback.","DEP_WEBPACK_WATCH_WITHOUT_CALLBACK")()}return E}};E.exports=webpack},82779:(E,N,R)=>{"use strict";const j=R(76150);const $=R(44160);const q=R(64997);const G=R(92208);class ImportScriptsChunkLoadingPlugin{apply(E){new q({chunkLoading:"import-scripts",asyncChunkLoading:true}).apply(E);E.hooks.thisCompilation.tap("ImportScriptsChunkLoadingPlugin",(E=>{const N=E.outputOptions.chunkLoading;const isEnabledForChunk=E=>{const R=E.getEntryOptions();const j=R&&R.chunkLoading!==undefined?R.chunkLoading:N;return j==="import-scripts"};const R=new WeakSet;const handler=(N,$)=>{if(R.has(N))return;R.add(N);if(!isEnabledForChunk(N))return;const q=!!E.outputOptions.trustedTypes;$.add(j.moduleFactoriesAddOnly);$.add(j.hasOwnProperty);if(q)$.add(j.createScriptUrl);E.addRuntimeModule(N,new G($,q))};E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.baseURI).tap("ImportScriptsChunkLoadingPlugin",handler);E.hooks.runtimeRequirementInTree.for(j.createScriptUrl).tap("RuntimePlugin",((N,R)=>{E.addRuntimeModule(N,new $);return true}));E.hooks.runtimeRequirementInTree.for(j.ensureChunkHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkScriptFilename)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadUpdateHandlers).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getChunkUpdateScriptFilename);N.add(j.moduleCache);N.add(j.hmrModuleData);N.add(j.moduleFactoriesAddOnly)}));E.hooks.runtimeRequirementInTree.for(j.hmrDownloadManifest).tap("ImportScriptsChunkLoadingPlugin",((E,N)=>{if(!isEnabledForChunk(E))return;N.add(j.publicPath);N.add(j.getUpdateManifestFilename)}))}))}}E.exports=ImportScriptsChunkLoadingPlugin},92208:(E,N,R)=>{"use strict";const j=R(76150);const $=R(66804);const q=R(58159);const{getChunkFilenameTemplate:G,chunkHasJs:ie}=R(18161);const{getInitialChunkIds:ae}=R(13085);const ce=R(87274);const{getUndoPath:le}=R(49197);class ImportScriptsChunkLoadingRuntimeModule extends ${constructor(E,N){super("importScripts chunk loading",$.STAGE_ATTACH);this.runtimeRequirements=E;this._withCreateScriptUrl=N}generate(){const{chunk:E,chunkGraph:N,compilation:{runtimeTemplate:$,outputOptions:{globalObject:_e,chunkLoadingGlobal:Ee,hotUpdateGlobal:Te}},_withCreateScriptUrl:we}=this;const Ie=j.ensureChunkHandlers;const Ne=this.runtimeRequirements.has(j.baseURI);const Me=this.runtimeRequirements.has(j.ensureChunkHandlers);const Le=this.runtimeRequirements.has(j.hmrDownloadUpdateHandlers);const Be=this.runtimeRequirements.has(j.hmrDownloadManifest);const je=`${_e}[${JSON.stringify(Ee)}]`;const Ue=ce(N.getChunkConditionMap(E,ie));const ze=ae(E,N);const We=this.compilation.getPath(G(E,this.compilation.outputOptions),{chunk:E,contentHashType:"javascript"});const Je=le(We,this.compilation.outputOptions.path,false);const Ve=Le?`${j.hmrRuntimeStatePrefix}_importScripts`:undefined;return q.asString([Ne?q.asString([`${j.baseURI} = self.location + ${JSON.stringify(Je?"/../"+Je:"")};`]):"// no baseURI","","// object to store loaded chunks",'// "1" means "already loaded"',`var installedChunks = ${Ve?`${Ve} = ${Ve} || `:""}{`,q.indent(Array.from(ze,(E=>`${JSON.stringify(E)}: 1`)).join(",\n")),"};","",Me?q.asString(["// importScripts chunk loading",`var installChunk = ${$.basicFunction("data",[$.destructureArray(["chunkIds","moreModules","runtime"],"data"),"for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(`${j.moduleFactories}[moduleId] = moreModules[moduleId];`),"}"]),"}","if(runtime) runtime(__webpack_require__);","while(chunkIds.length)",q.indent("installedChunks[chunkIds.pop()] = 1;"),"parentChunkLoadingFunction(data);"])};`]):"// no chunk install function needed",Me?q.asString([`${Ie}.i = ${$.basicFunction("chunkId, promises",Ue!==false?['// "1" is the signal for "already loaded"',"if(!installedChunks[chunkId]) {",q.indent([Ue===true?"if(true) { // all chunks have JS":`if(${Ue("chunkId")}) {`,q.indent(`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkScriptFilename}(chunkId)`});`),"}"]),"}"]:"installedChunks[chunkId] = 1;")};`,"",`var chunkLoadingGlobal = ${je} = ${je} || [];`,"var parentChunkLoadingFunction = chunkLoadingGlobal.push.bind(chunkLoadingGlobal);","chunkLoadingGlobal.push = installChunk;"]):"// no chunk loading","",Le?q.asString(["function loadUpdateChunk(chunkId, updatedModulesList) {",q.indent(["var success = false;",`${_e}[${JSON.stringify(Te)}] = ${$.basicFunction("_, moreModules, runtime",["for(var moduleId in moreModules) {",q.indent([`if(${j.hasOwnProperty}(moreModules, moduleId)) {`,q.indent(["currentUpdate[moduleId] = moreModules[moduleId];","if(updatedModulesList) updatedModulesList.push(moduleId);"]),"}"]),"}","if(runtime) currentUpdateRuntime.push(runtime);","success = true;"])};`,"// start update chunk loading",`importScripts(${we?`${j.createScriptUrl}(${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId))`:`${j.publicPath} + ${j.getChunkUpdateScriptFilename}(chunkId)`});`,'if(!success) throw new Error("Loading update chunk failed for unknown reason");']),"}","",q.getFunctionContent(R(22215)).replace(/\$key\$/g,"importScrips").replace(/\$installedChunks\$/g,"installedChunks").replace(/\$loadUpdateChunk\$/g,"loadUpdateChunk").replace(/\$moduleCache\$/g,j.moduleCache).replace(/\$moduleFactories\$/g,j.moduleFactories).replace(/\$ensureChunkHandlers\$/g,j.ensureChunkHandlers).replace(/\$hasOwnProperty\$/g,j.hasOwnProperty).replace(/\$hmrModuleData\$/g,j.hmrModuleData).replace(/\$hmrDownloadUpdateHandlers\$/g,j.hmrDownloadUpdateHandlers).replace(/\$hmrInvalidateModuleHandlers\$/g,j.hmrInvalidateModuleHandlers)]):"// no HMR","",Be?q.asString([`${j.hmrDownloadManifest} = ${$.basicFunction("",['if (typeof fetch === "undefined") throw new Error("No browser support: need fetch API");',`return fetch(${j.publicPath} + ${j.getUpdateManifestFilename}()).then(${$.basicFunction("response",["if(response.status === 404) return; // no update available",'if(!response.ok) throw new Error("Failed to fetch update manifest " + response.statusText);',"return response.json();"])});`])};`]):"// no HMR manifest"])}}E.exports=ImportScriptsChunkLoadingRuntimeModule},67439:(E,N,R)=>{"use strict";const j=R(41113);const $=R(50369);class WebWorkerTemplatePlugin{apply(E){E.options.output.chunkLoading="import-scripts";(new j).apply(E);new $("import-scripts").apply(E)}}E.exports=WebWorkerTemplatePlugin},3385:(E,N,R)=>{"use strict";Object.defineProperty(N,"__esModule",{value:true});N.importAssertions=importAssertions;var j=_interopRequireWildcard(R(14150));function _getRequireWildcardCache(E){if(typeof WeakMap!=="function")return null;var N=new WeakMap;var R=new WeakMap;return(_getRequireWildcardCache=function(E){return E?R:N})(E)}function _interopRequireWildcard(E,N){if(!N&&E&&E.__esModule){return E}if(E===null||typeof E!=="object"&&typeof E!=="function"){return{default:E}}var R=_getRequireWildcardCache(N);if(R&&R.has(E)){return R.get(E)}var j={};var $=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var q in E){if(q!=="default"&&Object.prototype.hasOwnProperty.call(E,q)){var G=$?Object.getOwnPropertyDescriptor(E,q):null;if(G&&(G.get||G.set)){Object.defineProperty(j,q,G)}else{j[q]=E[q]}}}j.default=E;if(R){R.set(E,j)}return j}const $="{".charCodeAt(0);const q=" ".charCodeAt(0);const G="assert";const ie=1,ae=2,ce=4;function importAssertions(E){const N=E.acorn||j;const{tokTypes:R,TokenType:ae}=N;return class extends E{constructor(...E){super(...E);this.assertToken=new ae(G)}_codeAt(E){return this.input.charCodeAt(E)}_eat(E){if(this.type!==E){this.unexpected()}this.next()}readToken(E){let N=0;for(;N=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(R._default)){this.checkExport(N,"default",this.lastTokStart);var j;if(this.type===R._function||(j=this.isAsyncFunction())){var $=this.startNode();this.next();if(j){this.next()}E.declaration=this.parseFunction($,ie|ce,false,j)}else if(this.type===R._class){var q=this.startNode();E.declaration=this.parseClass(q,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==R.string){this.unexpected()}E.source=this.parseExprAtom();if(this.type===this.assertToken){this.next();const N=this.parseImportAssertions();if(N){E.assertions=N}}}else{for(var G=0,ae=E.specifiers;GE){return false}R+=N[j+1];if(R>=E){return true}}}function isIdentifierStart(E,N){if(E<65){return E===36}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ie.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)}function isIdentifierChar(E,N){if(E<48){return E===36}if(E<58){return true}if(E<65){return false}if(E<91){return true}if(E<97){return E===95}if(E<123){return true}if(E<=65535){return E>=170&&ae.test(String.fromCharCode(E))}if(N===false){return false}return isInAstralSet(E,ce)||isInAstralSet(E,le)}var _e=function TokenType(E,N){if(N===void 0)N={};this.label=E;this.keyword=N.keyword;this.beforeExpr=!!N.beforeExpr;this.startsExpr=!!N.startsExpr;this.isLoop=!!N.isLoop;this.isAssign=!!N.isAssign;this.prefix=!!N.prefix;this.postfix=!!N.postfix;this.binop=N.binop||null;this.updateContext=null};function binop(E,N){return new _e(E,{beforeExpr:true,binop:N})}var Ee={beforeExpr:true},Te={startsExpr:true};var we={};function kw(E,N){if(N===void 0)N={};N.keyword=E;return we[E]=new _e(E,N)}var Ie={num:new _e("num",Te),regexp:new _e("regexp",Te),string:new _e("string",Te),name:new _e("name",Te),privateId:new _e("privateId",Te),eof:new _e("eof"),bracketL:new _e("[",{beforeExpr:true,startsExpr:true}),bracketR:new _e("]"),braceL:new _e("{",{beforeExpr:true,startsExpr:true}),braceR:new _e("}"),parenL:new _e("(",{beforeExpr:true,startsExpr:true}),parenR:new _e(")"),comma:new _e(",",Ee),semi:new _e(";",Ee),colon:new _e(":",Ee),dot:new _e("."),question:new _e("?",Ee),questionDot:new _e("?."),arrow:new _e("=>",Ee),template:new _e("template"),invalidTemplate:new _e("invalidTemplate"),ellipsis:new _e("...",Ee),backQuote:new _e("`",Te),dollarBraceL:new _e("${",{beforeExpr:true,startsExpr:true}),eq:new _e("=",{beforeExpr:true,isAssign:true}),assign:new _e("_=",{beforeExpr:true,isAssign:true}),incDec:new _e("++/--",{prefix:true,postfix:true,startsExpr:true}),prefix:new _e("!/~",{beforeExpr:true,prefix:true,startsExpr:true}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("/<=/>=",7),bitShift:binop("<>/>>>",8),plusMin:new _e("+/-",{beforeExpr:true,binop:9,prefix:true,startsExpr:true}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new _e("**",{beforeExpr:true}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",Ee),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",Ee),_do:kw("do",{isLoop:true,beforeExpr:true}),_else:kw("else",Ee),_finally:kw("finally"),_for:kw("for",{isLoop:true}),_function:kw("function",Te),_if:kw("if"),_return:kw("return",Ee),_switch:kw("switch"),_throw:kw("throw",Ee),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:true}),_with:kw("with"),_new:kw("new",{beforeExpr:true,startsExpr:true}),_this:kw("this",Te),_super:kw("super",Te),_class:kw("class",Te),_extends:kw("extends",Ee),_export:kw("export"),_import:kw("import",Te),_null:kw("null",Te),_true:kw("true",Te),_false:kw("false",Te),_in:kw("in",{beforeExpr:true,binop:7}),_instanceof:kw("instanceof",{beforeExpr:true,binop:7}),_typeof:kw("typeof",{beforeExpr:true,prefix:true,startsExpr:true}),_void:kw("void",{beforeExpr:true,prefix:true,startsExpr:true}),_delete:kw("delete",{beforeExpr:true,prefix:true,startsExpr:true})};var Ne=/\r\n?|\n|\u2028|\u2029/;var Me=new RegExp(Ne.source,"g");function isNewLine(E,N){return E===10||E===13||!N&&(E===8232||E===8233)}var Le=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/;var Be=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;var je=Object.prototype;var Ue=je.hasOwnProperty;var ze=je.toString;function has(E,N){return Ue.call(E,N)}var We=Array.isArray||function(E){return ze.call(E)==="[object Array]"};function wordsRegexp(E){return new RegExp("^(?:"+E.replace(/ /g,"|")+")$")}var Je=function Position(E,N){this.line=E;this.column=N};Je.prototype.offset=function offset(E){return new Je(this.line,this.column+E)};var Ve=function SourceLocation(E,N,R){this.start=N;this.end=R;if(E.sourceFile!==null){this.source=E.sourceFile}};function getLineInfo(E,N){for(var R=1,j=0;;){Me.lastIndex=j;var $=Me.exec(E);if($&&$.index=2015){N.ecmaVersion-=2009}if(N.allowReserved==null){N.allowReserved=N.ecmaVersion<5}if(We(N.onToken)){var j=N.onToken;N.onToken=function(E){return j.push(E)}}if(We(N.onComment)){N.onComment=pushComment(N,N.onComment)}return N}function pushComment(E,N){return function(R,j,$,q,G,ie){var ae={type:R?"Block":"Line",value:j,start:$,end:q};if(E.locations){ae.loc=new Ve(this,G,ie)}if(E.ranges){ae.range=[$,q]}N.push(ae)}}var Ge=1,Ke=2,Qe=Ge|Ke,Xe=4,Ye=8,Ze=16,et=32,tt=64,rt=128;function functionFlags(E,N){return Ke|(E?Xe:0)|(N?Ye:0)}var nt=0,it=1,ot=2,st=3,ct=4,ut=5;var dt=function Parser(E,R,$){this.options=E=getOptions(E);this.sourceFile=E.sourceFile;this.keywords=wordsRegexp(j[E.ecmaVersion>=6?6:E.sourceType==="module"?"5module":5]);var q="";if(E.allowReserved!==true){q=N[E.ecmaVersion>=6?6:E.ecmaVersion===5?5:3];if(E.sourceType==="module"){q+=" await"}}this.reservedWords=wordsRegexp(q);var G=(q?q+" ":"")+N.strict;this.reservedWordsStrict=wordsRegexp(G);this.reservedWordsStrictBind=wordsRegexp(G+" "+N.strictBind);this.input=String(R);this.containsEsc=false;if($){this.pos=$;this.lineStart=this.input.lastIndexOf("\n",$-1)+1;this.curLine=this.input.slice(0,this.lineStart).split(Ne).length}else{this.pos=this.lineStart=0;this.curLine=1}this.type=Ie.eof;this.value=null;this.start=this.end=this.pos;this.startLoc=this.endLoc=this.curPosition();this.lastTokEndLoc=this.lastTokStartLoc=null;this.lastTokStart=this.lastTokEnd=this.pos;this.context=this.initialContext();this.exprAllowed=true;this.inModule=E.sourceType==="module";this.strict=this.inModule||this.strictDirective(this.pos);this.potentialArrowAt=-1;this.potentialArrowInForAwait=false;this.yieldPos=this.awaitPos=this.awaitIdentPos=0;this.labels=[];this.undefinedExports=Object.create(null);if(this.pos===0&&E.allowHashBang&&this.input.slice(0,2)==="#!"){this.skipLineComment(2)}this.scopeStack=[];this.enterScope(Ge);this.regexpState=null;this.privateNameStack=[]};var pt={inFunction:{configurable:true},inGenerator:{configurable:true},inAsync:{configurable:true},canAwait:{configurable:true},allowSuper:{configurable:true},allowDirectSuper:{configurable:true},treatFunctionsAsVar:{configurable:true},inNonArrowFunction:{configurable:true}};dt.prototype.parse=function parse(){var E=this.options.program||this.startNode();this.nextToken();return this.parseTopLevel(E)};pt.inFunction.get=function(){return(this.currentVarScope().flags&Ke)>0};pt.inGenerator.get=function(){return(this.currentVarScope().flags&Ye)>0&&!this.currentVarScope().inClassFieldInit};pt.inAsync.get=function(){return(this.currentVarScope().flags&Xe)>0&&!this.currentVarScope().inClassFieldInit};pt.canAwait.get=function(){for(var E=this.scopeStack.length-1;E>=0;E--){var N=this.scopeStack[E];if(N.inClassFieldInit){return false}if(N.flags&Ke){return(N.flags&Xe)>0}}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};pt.allowSuper.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&tt)>0||R||this.options.allowSuperOutsideMethod};pt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&rt)>0};pt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};pt.inNonArrowFunction.get=function(){var E=this.currentThisScope();var N=E.flags;var R=E.inClassFieldInit;return(N&Ke)>0||R};dt.extend=function extend(){var E=[],N=arguments.length;while(N--)E[N]=arguments[N];var R=this;for(var j=0;j=,?^&]/.test($)||$==="!"&&this.input.charAt(j+1)==="=")}E+=N[0].length;Be.lastIndex=E;E+=Be.exec(this.input)[0].length;if(this.input[E]===";"){E++}}};ft.eat=function(E){if(this.type===E){this.next();return true}else{return false}};ft.isContextual=function(E){return this.type===Ie.name&&this.value===E&&!this.containsEsc};ft.eatContextual=function(E){if(!this.isContextual(E)){return false}this.next();return true};ft.expectContextual=function(E){if(!this.eatContextual(E)){this.unexpected()}};ft.canInsertSemicolon=function(){return this.type===Ie.eof||this.type===Ie.braceR||Ne.test(this.input.slice(this.lastTokEnd,this.start))};ft.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon){this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc)}return true}};ft.semicolon=function(){if(!this.eat(Ie.semi)&&!this.insertSemicolon()){this.unexpected()}};ft.afterTrailingComma=function(E,N){if(this.type===E){if(this.options.onTrailingComma){this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc)}if(!N){this.next()}return true}};ft.expect=function(E){this.eat(E)||this.unexpected()};ft.unexpected=function(E){this.raise(E!=null?E:this.start,"Unexpected token")};function DestructuringErrors(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ft.checkPatternErrors=function(E,N){if(!E){return}if(E.trailingComma>-1){this.raiseRecoverable(E.trailingComma,"Comma is not permitted after the rest element")}var R=N?E.parenthesizedAssign:E.parenthesizedBind;if(R>-1){this.raiseRecoverable(R,"Parenthesized pattern")}};ft.checkExpressionErrors=function(E,N){if(!E){return false}var R=E.shorthandAssign;var j=E.doubleProto;if(!N){return R>=0||j>=0}if(R>=0){this.raise(R,"Shorthand property assignments are valid only in destructuring patterns")}if(j>=0){this.raiseRecoverable(j,"Redefinition of __proto__ property")}};ft.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&j<56320){return true}if(E){return false}if(j===123){return true}if(isIdentifierStart(j,true)){var q=R+1;while(isIdentifierChar(j=this.input.charCodeAt(q),true)){++q}if(j===92||j>55295&&j<56320){return true}var G=this.input.slice(R,q);if(!$.test(G)){return true}}return false};ht.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async")){return false}Be.lastIndex=this.pos;var E=Be.exec(this.input);var N=this.pos+E[0].length,R;return!Ne.test(this.input.slice(this.pos,N))&&this.input.slice(N,N+8)==="function"&&(N+8===this.input.length||!(isIdentifierChar(R=this.input.charCodeAt(N+8))||R>55295&&R<56320))};ht.parseStatement=function(E,N,R){var j=this.type,$=this.startNode(),q;if(this.isLet(E)){j=Ie._var;q="let"}switch(j){case Ie._break:case Ie._continue:return this.parseBreakContinueStatement($,j.keyword);case Ie._debugger:return this.parseDebuggerStatement($);case Ie._do:return this.parseDoStatement($);case Ie._for:return this.parseForStatement($);case Ie._function:if(E&&(this.strict||E!=="if"&&E!=="label")&&this.options.ecmaVersion>=6){this.unexpected()}return this.parseFunctionStatement($,false,!E);case Ie._class:if(E){this.unexpected()}return this.parseClass($,true);case Ie._if:return this.parseIfStatement($);case Ie._return:return this.parseReturnStatement($);case Ie._switch:return this.parseSwitchStatement($);case Ie._throw:return this.parseThrowStatement($);case Ie._try:return this.parseTryStatement($);case Ie._const:case Ie._var:q=q||this.value;if(E&&q!=="var"){this.unexpected()}return this.parseVarStatement($,q);case Ie._while:return this.parseWhileStatement($);case Ie._with:return this.parseWithStatement($);case Ie.braceL:return this.parseBlock(true,$);case Ie.semi:return this.parseEmptyStatement($);case Ie._export:case Ie._import:if(this.options.ecmaVersion>10&&j===Ie._import){Be.lastIndex=this.pos;var G=Be.exec(this.input);var ie=this.pos+G[0].length,ae=this.input.charCodeAt(ie);if(ae===40||ae===46){return this.parseExpressionStatement($,this.parseExpression())}}if(!this.options.allowImportExportEverywhere){if(!N){this.raise(this.start,"'import' and 'export' may only appear at the top level")}if(!this.inModule){this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}}return j===Ie._import?this.parseImport($):this.parseExport($,R);default:if(this.isAsyncFunction()){if(E){this.unexpected()}this.next();return this.parseFunctionStatement($,true,!E)}var ce=this.value,le=this.parseExpression();if(j===Ie.name&&le.type==="Identifier"&&this.eat(Ie.colon)){return this.parseLabeledStatement($,ce,le,E)}else{return this.parseExpressionStatement($,le)}}};ht.parseBreakContinueStatement=function(E,N){var R=N==="break";this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.label=null}else if(this.type!==Ie.name){this.unexpected()}else{E.label=this.parseIdent();this.semicolon()}var j=0;for(;j=6){this.eat(Ie.semi)}else{this.semicolon()}return this.finishNode(E,"DoWhileStatement")};ht.parseForStatement=function(E){this.next();var N=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;this.labels.push(_t);this.enterScope(0);this.expect(Ie.parenL);if(this.type===Ie.semi){if(N>-1){this.unexpected(N)}return this.parseFor(E,null)}var R=this.isLet();if(this.type===Ie._var||this.type===Ie._const||R){var j=this.startNode(),$=R?"let":this.value;this.next();this.parseVar(j,true,$);this.finishNode(j,"VariableDeclaration");if((this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&j.declarations.length===1){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}return this.parseForIn(E,j)}if(N>-1){this.unexpected(N)}return this.parseFor(E,j)}var q=new DestructuringErrors;var G=this.parseExpression(N>-1?"await":true,q);if(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of")){if(this.options.ecmaVersion>=9){if(this.type===Ie._in){if(N>-1){this.unexpected(N)}}else{E.await=N>-1}}this.toAssignable(G,false,q);this.checkLValPattern(G);return this.parseForIn(E,G)}else{this.checkExpressionErrors(q,true)}if(N>-1){this.unexpected(N)}return this.parseFor(E,G)};ht.parseFunctionStatement=function(E,N,R){this.next();return this.parseFunction(E,bt|(R?0:xt),false,N)};ht.parseIfStatement=function(E){this.next();E.test=this.parseParenExpression();E.consequent=this.parseStatement("if");E.alternate=this.eat(Ie._else)?this.parseStatement("if"):null;return this.finishNode(E,"IfStatement")};ht.parseReturnStatement=function(E){if(!this.inFunction&&!this.options.allowReturnOutsideFunction){this.raise(this.start,"'return' outside of function")}this.next();if(this.eat(Ie.semi)||this.insertSemicolon()){E.argument=null}else{E.argument=this.parseExpression();this.semicolon()}return this.finishNode(E,"ReturnStatement")};ht.parseSwitchStatement=function(E){this.next();E.discriminant=this.parseParenExpression();E.cases=[];this.expect(Ie.braceL);this.labels.push(yt);this.enterScope(0);var N;for(var R=false;this.type!==Ie.braceR;){if(this.type===Ie._case||this.type===Ie._default){var j=this.type===Ie._case;if(N){this.finishNode(N,"SwitchCase")}E.cases.push(N=this.startNode());N.consequent=[];this.next();if(j){N.test=this.parseExpression()}else{if(R){this.raiseRecoverable(this.lastTokStart,"Multiple default clauses")}R=true;N.test=null}this.expect(Ie.colon)}else{if(!N){this.unexpected()}N.consequent.push(this.parseStatement(null))}}this.exitScope();if(N){this.finishNode(N,"SwitchCase")}this.next();this.labels.pop();return this.finishNode(E,"SwitchStatement")};ht.parseThrowStatement=function(E){this.next();if(Ne.test(this.input.slice(this.lastTokEnd,this.start))){this.raise(this.lastTokEnd,"Illegal newline after throw")}E.argument=this.parseExpression();this.semicolon();return this.finishNode(E,"ThrowStatement")};var vt=[];ht.parseTryStatement=function(E){this.next();E.block=this.parseBlock();E.handler=null;if(this.type===Ie._catch){var N=this.startNode();this.next();if(this.eat(Ie.parenL)){N.param=this.parseBindingAtom();var R=N.param.type==="Identifier";this.enterScope(R?et:0);this.checkLValPattern(N.param,R?ct:ot);this.expect(Ie.parenR)}else{if(this.options.ecmaVersion<10){this.unexpected()}N.param=null;this.enterScope(0)}N.body=this.parseBlock(false);this.exitScope();E.handler=this.finishNode(N,"CatchClause")}E.finalizer=this.eat(Ie._finally)?this.parseBlock():null;if(!E.handler&&!E.finalizer){this.raise(E.start,"Missing catch or finally clause")}return this.finishNode(E,"TryStatement")};ht.parseVarStatement=function(E,N){this.next();this.parseVar(E,false,N);this.semicolon();return this.finishNode(E,"VariableDeclaration")};ht.parseWhileStatement=function(E){this.next();E.test=this.parseParenExpression();this.labels.push(_t);E.body=this.parseStatement("while");this.labels.pop();return this.finishNode(E,"WhileStatement")};ht.parseWithStatement=function(E){if(this.strict){this.raise(this.start,"'with' in strict mode")}this.next();E.object=this.parseParenExpression();E.body=this.parseStatement("with");return this.finishNode(E,"WithStatement")};ht.parseEmptyStatement=function(E){this.next();return this.finishNode(E,"EmptyStatement")};ht.parseLabeledStatement=function(E,N,R,j){for(var $=0,q=this.labels;$=0;ae--){var ce=this.labels[ae];if(ce.statementStart===E.start){ce.statementStart=this.start;ce.kind=ie}else{break}}this.labels.push({name:N,kind:ie,statementStart:this.start});E.body=this.parseStatement(j?j.indexOf("label")===-1?j+"label":j:"label");this.labels.pop();E.label=R;return this.finishNode(E,"LabeledStatement")};ht.parseExpressionStatement=function(E,N){E.expression=N;this.semicolon();return this.finishNode(E,"ExpressionStatement")};ht.parseBlock=function(E,N,R){if(E===void 0)E=true;if(N===void 0)N=this.startNode();N.body=[];this.expect(Ie.braceL);if(E){this.enterScope(0)}while(this.type!==Ie.braceR){var j=this.parseStatement(null);N.body.push(j)}if(R){this.strict=false}this.next();if(E){this.exitScope()}return this.finishNode(N,"BlockStatement")};ht.parseFor=function(E,N){E.init=N;this.expect(Ie.semi);E.test=this.type===Ie.semi?null:this.parseExpression();this.expect(Ie.semi);E.update=this.type===Ie.parenR?null:this.parseExpression();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,"ForStatement")};ht.parseForIn=function(E,N){var R=this.type===Ie._in;this.next();if(N.type==="VariableDeclaration"&&N.declarations[0].init!=null&&(!R||this.options.ecmaVersion<8||this.strict||N.kind!=="var"||N.declarations[0].id.type!=="Identifier")){this.raise(N.start,(R?"for-in":"for-of")+" loop variable declaration may not have an initializer")}E.left=N;E.right=R?this.parseExpression():this.parseMaybeAssign();this.expect(Ie.parenR);E.body=this.parseStatement("for");this.exitScope();this.labels.pop();return this.finishNode(E,R?"ForInStatement":"ForOfStatement")};ht.parseVar=function(E,N,R){E.declarations=[];E.kind=R;for(;;){var j=this.startNode();this.parseVarId(j,R);if(this.eat(Ie.eq)){j.init=this.parseMaybeAssign(N)}else if(R==="const"&&!(this.type===Ie._in||this.options.ecmaVersion>=6&&this.isContextual("of"))){this.unexpected()}else if(j.id.type!=="Identifier"&&!(N&&(this.type===Ie._in||this.isContextual("of")))){this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value")}else{j.init=null}E.declarations.push(this.finishNode(j,"VariableDeclarator"));if(!this.eat(Ie.comma)){break}}return E};ht.parseVarId=function(E,N){E.id=this.parseBindingAtom();this.checkLValPattern(E.id,N==="var"?it:ot,false)};var bt=1,xt=2,St=4;ht.parseFunction=function(E,N,R,j){this.initFunction(E);if(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!j){if(this.type===Ie.star&&N&xt){this.unexpected()}E.generator=this.eat(Ie.star)}if(this.options.ecmaVersion>=8){E.async=!!j}if(N&bt){E.id=N&St&&this.type!==Ie.name?null:this.parseIdent();if(E.id&&!(N&xt)){this.checkLValSimple(E.id,this.strict||E.generator||E.async?this.treatFunctionsAsVar?it:ot:st)}}var $=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(E.async,E.generator));if(!(N&bt)){E.id=this.type===Ie.name?this.parseIdent():null}this.parseFunctionParams(E);this.parseFunctionBody(E,R,false);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(E,N&bt?"FunctionDeclaration":"FunctionExpression")};ht.parseFunctionParams=function(E){this.expect(Ie.parenL);E.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams()};ht.parseClass=function(E,N){this.next();var R=this.strict;this.strict=true;this.parseClassId(E,N);this.parseClassSuper(E);var j=this.enterClassBody();var $=this.startNode();var q=false;$.body=[];this.expect(Ie.braceL);while(this.type!==Ie.braceR){var G=this.parseClassElement(E.superClass!==null);if(G){$.body.push(G);if(G.type==="MethodDefinition"&&G.kind==="constructor"){if(q){this.raise(G.start,"Duplicate constructor in the same class")}q=true}else if(G.key.type==="PrivateIdentifier"&&isPrivateNameConflicted(j,G)){this.raiseRecoverable(G.key.start,"Identifier '#"+G.key.name+"' has already been declared")}}}this.strict=R;this.next();E.body=this.finishNode($,"ClassBody");this.exitClassBody();return this.finishNode(E,N?"ClassDeclaration":"ClassExpression")};ht.parseClassElement=function(E){if(this.eat(Ie.semi)){return null}var N=this.options.ecmaVersion;var R=this.startNode();var j="";var $=false;var q=false;var G="method";R.static=false;if(this.eatContextual("static")){if(this.isClassElementNameStart()||this.type===Ie.star){R.static=true}else{j="static"}}if(!j&&N>=8&&this.eatContextual("async")){if((this.isClassElementNameStart()||this.type===Ie.star)&&!this.canInsertSemicolon()){q=true}else{j="async"}}if(!j&&(N>=9||!q)&&this.eat(Ie.star)){$=true}if(!j&&!q&&!$){var ie=this.value;if(this.eatContextual("get")||this.eatContextual("set")){if(this.isClassElementNameStart()){G=ie}else{j=ie}}}if(j){R.computed=false;R.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc);R.key.name=j;this.finishNode(R.key,"Identifier")}else{this.parseClassElementName(R)}if(N<13||this.type===Ie.parenL||G!=="method"||$||q){var ae=!R.static&&checkKeyName(R,"constructor");var ce=ae&&E;if(ae&&G!=="method"){this.raise(R.key.start,"Constructor can't have get/set modifier")}R.kind=ae?"constructor":G;this.parseClassMethod(R,$,q,ce)}else{this.parseClassField(R)}return R};ht.isClassElementNameStart=function(){return this.type===Ie.name||this.type===Ie.privateId||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword};ht.parseClassElementName=function(E){if(this.type===Ie.privateId){if(this.value==="constructor"){this.raise(this.start,"Classes can't have an element named '#constructor'")}E.computed=false;E.key=this.parsePrivateIdent()}else{this.parsePropertyName(E)}};ht.parseClassMethod=function(E,N,R,j){var $=E.key;if(E.kind==="constructor"){if(N){this.raise($.start,"Constructor can't be a generator")}if(R){this.raise($.start,"Constructor can't be an async method")}}else if(E.static&&checkKeyName(E,"prototype")){this.raise($.start,"Classes may not have a static property named prototype")}var q=E.value=this.parseMethod(N,R,j);if(E.kind==="get"&&q.params.length!==0){this.raiseRecoverable(q.start,"getter should have no params")}if(E.kind==="set"&&q.params.length!==1){this.raiseRecoverable(q.start,"setter should have exactly one param")}if(E.kind==="set"&&q.params[0].type==="RestElement"){this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params")}return this.finishNode(E,"MethodDefinition")};ht.parseClassField=function(E){if(checkKeyName(E,"constructor")){this.raise(E.key.start,"Classes can't have a field named 'constructor'")}else if(E.static&&checkKeyName(E,"prototype")){this.raise(E.key.start,"Classes can't have a static field named 'prototype'")}if(this.eat(Ie.eq)){var N=this.currentThisScope();var R=N.inClassFieldInit;N.inClassFieldInit=true;E.value=this.parseMaybeAssign();N.inClassFieldInit=R}else{E.value=null}this.semicolon();return this.finishNode(E,"PropertyDefinition")};ht.parseClassId=function(E,N){if(this.type===Ie.name){E.id=this.parseIdent();if(N){this.checkLValSimple(E.id,ot,false)}}else{if(N===true){this.unexpected()}E.id=null}};ht.parseClassSuper=function(E){E.superClass=this.eat(Ie._extends)?this.parseExprSubscripts():null};ht.enterClassBody=function(){var E={declared:Object.create(null),used:[]};this.privateNameStack.push(E);return E.declared};ht.exitClassBody=function(){var E=this.privateNameStack.pop();var N=E.declared;var R=E.used;var j=this.privateNameStack.length;var $=j===0?null:this.privateNameStack[j-1];for(var q=0;q=11){if(this.eatContextual("as")){E.exported=this.parseIdent(true);this.checkExport(N,E.exported.name,this.lastTokStart)}else{E.exported=null}}this.expectContextual("from");if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom();this.semicolon();return this.finishNode(E,"ExportAllDeclaration")}if(this.eat(Ie._default)){this.checkExport(N,"default",this.lastTokStart);var R;if(this.type===Ie._function||(R=this.isAsyncFunction())){var j=this.startNode();this.next();if(R){this.next()}E.declaration=this.parseFunction(j,bt|St,false,R)}else if(this.type===Ie._class){var $=this.startNode();E.declaration=this.parseClass($,"nullableID")}else{E.declaration=this.parseMaybeAssign();this.semicolon()}return this.finishNode(E,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement()){E.declaration=this.parseStatement(null);if(E.declaration.type==="VariableDeclaration"){this.checkVariableExport(N,E.declaration.declarations)}else{this.checkExport(N,E.declaration.id.name,E.declaration.id.start)}E.specifiers=[];E.source=null}else{E.declaration=null;E.specifiers=this.parseExportSpecifiers(N);if(this.eatContextual("from")){if(this.type!==Ie.string){this.unexpected()}E.source=this.parseExprAtom()}else{for(var q=0,G=E.specifiers;q=6&&E){switch(E.type){case"Identifier":if(this.inAsync&&E.name==="await"){this.raise(E.start,"Cannot use 'await' as identifier inside an async function")}break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":E.type="ObjectPattern";if(R){this.checkPatternErrors(R,true)}for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.toAssignable(q,N);if(q.type==="RestElement"&&(q.argument.type==="ArrayPattern"||q.argument.type==="ObjectPattern")){this.raise(q.argument.start,"Unexpected token")}}break;case"Property":if(E.kind!=="init"){this.raise(E.key.start,"Object pattern can't contain getter or setter")}this.toAssignable(E.value,N);break;case"ArrayExpression":E.type="ArrayPattern";if(R){this.checkPatternErrors(R,true)}this.toAssignableList(E.elements,N);break;case"SpreadElement":E.type="RestElement";this.toAssignable(E.argument,N);if(E.argument.type==="AssignmentPattern"){this.raise(E.argument.start,"Rest elements cannot have a default value")}break;case"AssignmentExpression":if(E.operator!=="="){this.raise(E.left.end,"Only '=' operator can be used for specifying default value.")}E.type="AssignmentPattern";delete E.operator;this.toAssignable(E.left,N);break;case"ParenthesizedExpression":this.toAssignable(E.expression,N,R);break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!N){break}default:this.raise(E.start,"Assigning to rvalue")}}else if(R){this.checkPatternErrors(R,true)}return E};Et.toAssignableList=function(E,N){var R=E.length;for(var j=0;j=6){switch(this.type){case Ie.bracketL:var E=this.startNode();this.next();E.elements=this.parseBindingList(Ie.bracketR,true,true);return this.finishNode(E,"ArrayPattern");case Ie.braceL:return this.parseObj(true)}}return this.parseIdent()};Et.parseBindingList=function(E,N,R){var j=[],$=true;while(!this.eat(E)){if($){$=false}else{this.expect(Ie.comma)}if(N&&this.type===Ie.comma){j.push(null)}else if(R&&this.afterTrailingComma(E)){break}else if(this.type===Ie.ellipsis){var q=this.parseRestBinding();this.parseBindingListItem(q);j.push(q);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}this.expect(E);break}else{var G=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(G);j.push(G)}}return j};Et.parseBindingListItem=function(E){return E};Et.parseMaybeDefault=function(E,N,R){R=R||this.parseBindingAtom();if(this.options.ecmaVersion<6||!this.eat(Ie.eq)){return R}var j=this.startNodeAt(E,N);j.left=R;j.right=this.parseMaybeAssign();return this.finishNode(j,"AssignmentPattern")};Et.checkLValSimple=function(E,N,R){if(N===void 0)N=nt;var j=N!==nt;switch(E.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(E.name)){this.raiseRecoverable(E.start,(j?"Binding ":"Assigning to ")+E.name+" in strict mode")}if(j){if(N===ot&&E.name==="let"){this.raiseRecoverable(E.start,"let is disallowed as a lexically bound name")}if(R){if(has(R,E.name)){this.raiseRecoverable(E.start,"Argument name clash")}R[E.name]=true}if(N!==ut){this.declareName(E.name,N,E.start)}}break;case"ChainExpression":this.raiseRecoverable(E.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(j){this.raiseRecoverable(E.start,"Binding member expression")}break;case"ParenthesizedExpression":if(j){this.raiseRecoverable(E.start,"Binding parenthesized expression")}return this.checkLValSimple(E.expression,N,R);default:this.raise(E.start,(j?"Binding":"Assigning to")+" rvalue")}};Et.checkLValPattern=function(E,N,R){if(N===void 0)N=nt;switch(E.type){case"ObjectPattern":for(var j=0,$=E.properties;j<$.length;j+=1){var q=$[j];this.checkLValInnerPattern(q,N,R)}break;case"ArrayPattern":for(var G=0,ie=E.elements;G=9&&E.type==="SpreadElement"){return}if(this.options.ecmaVersion>=6&&(E.computed||E.method||E.shorthand)){return}var j=E.key;var $;switch(j.type){case"Identifier":$=j.name;break;case"Literal":$=String(j.value);break;default:return}var q=E.kind;if(this.options.ecmaVersion>=6){if($==="__proto__"&&q==="init"){if(N.proto){if(R){if(R.doubleProto<0){R.doubleProto=j.start}}else{this.raiseRecoverable(j.start,"Redefinition of __proto__ property")}}N.proto=true}return}$="$"+$;var G=N[$];if(G){var ie;if(q==="init"){ie=this.strict&&G.init||G.get||G.set}else{ie=G.init||G[q]}if(ie){this.raiseRecoverable(j.start,"Redefinition of property")}}else{G=N[$]={init:false,get:false,set:false}}G[q]=true};Tt.parseExpression=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeAssign(E,N);if(this.type===Ie.comma){var q=this.startNodeAt(R,j);q.expressions=[$];while(this.eat(Ie.comma)){q.expressions.push(this.parseMaybeAssign(E,N))}return this.finishNode(q,"SequenceExpression")}return $};Tt.parseMaybeAssign=function(E,N,R){if(this.isContextual("yield")){if(this.inGenerator){return this.parseYield(E)}else{this.exprAllowed=false}}var j=false,$=-1,q=-1;if(N){$=N.parenthesizedAssign;q=N.trailingComma;N.parenthesizedAssign=N.trailingComma=-1}else{N=new DestructuringErrors;j=true}var G=this.start,ie=this.startLoc;if(this.type===Ie.parenL||this.type===Ie.name){this.potentialArrowAt=this.start;this.potentialArrowInForAwait=E==="await"}var ae=this.parseMaybeConditional(E,N);if(R){ae=R.call(this,ae,G,ie)}if(this.type.isAssign){var ce=this.startNodeAt(G,ie);ce.operator=this.value;if(this.type===Ie.eq){ae=this.toAssignable(ae,false,N)}if(!j){N.parenthesizedAssign=N.trailingComma=N.doubleProto=-1}if(N.shorthandAssign>=ae.start){N.shorthandAssign=-1}if(this.type===Ie.eq){this.checkLValPattern(ae)}else{this.checkLValSimple(ae)}ce.left=ae;this.next();ce.right=this.parseMaybeAssign(E);return this.finishNode(ce,"AssignmentExpression")}else{if(j){this.checkExpressionErrors(N,true)}}if($>-1){N.parenthesizedAssign=$}if(q>-1){N.trailingComma=q}return ae};Tt.parseMaybeConditional=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseExprOps(E,N);if(this.checkExpressionErrors(N)){return $}if(this.eat(Ie.question)){var q=this.startNodeAt(R,j);q.test=$;q.consequent=this.parseMaybeAssign();this.expect(Ie.colon);q.alternate=this.parseMaybeAssign(E);return this.finishNode(q,"ConditionalExpression")}return $};Tt.parseExprOps=function(E,N){var R=this.start,j=this.startLoc;var $=this.parseMaybeUnary(N,false);if(this.checkExpressionErrors(N)){return $}return $.start===R&&$.type==="ArrowFunctionExpression"?$:this.parseExprOp($,R,j,-1,E)};Tt.parseExprOp=function(E,N,R,j,$){var q=this.type.binop;if(q!=null&&(!$||this.type!==Ie._in)){if(q>j){var G=this.type===Ie.logicalOR||this.type===Ie.logicalAND;var ie=this.type===Ie.coalesce;if(ie){q=Ie.logicalAND.binop}var ae=this.value;this.next();var ce=this.start,le=this.startLoc;var _e=this.parseExprOp(this.parseMaybeUnary(null,false),ce,le,q,$);var Ee=this.buildBinary(N,R,E,_e,ae,G||ie);if(G&&this.type===Ie.coalesce||ie&&(this.type===Ie.logicalOR||this.type===Ie.logicalAND)){this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses")}return this.parseExprOp(Ee,N,R,j,$)}}return E};Tt.buildBinary=function(E,N,R,j,$,q){var G=this.startNodeAt(E,N);G.left=R;G.operator=$;G.right=j;return this.finishNode(G,q?"LogicalExpression":"BinaryExpression")};Tt.parseMaybeUnary=function(E,N,R){var j=this.start,$=this.startLoc,q;if(this.isContextual("await")&&this.canAwait){q=this.parseAwait();N=true}else if(this.type.prefix){var G=this.startNode(),ie=this.type===Ie.incDec;G.operator=this.value;G.prefix=true;this.next();G.argument=this.parseMaybeUnary(null,true,ie);this.checkExpressionErrors(E,true);if(ie){this.checkLValSimple(G.argument)}else if(this.strict&&G.operator==="delete"&&G.argument.type==="Identifier"){this.raiseRecoverable(G.start,"Deleting local variable in strict mode")}else if(G.operator==="delete"&&isPrivateFieldAccess(G.argument)){this.raiseRecoverable(G.start,"Private fields can not be deleted")}else{N=true}q=this.finishNode(G,ie?"UpdateExpression":"UnaryExpression")}else{q=this.parseExprSubscripts(E);if(this.checkExpressionErrors(E)){return q}while(this.type.postfix&&!this.canInsertSemicolon()){var ae=this.startNodeAt(j,$);ae.operator=this.value;ae.prefix=false;ae.argument=q;this.checkLValSimple(q);this.next();q=this.finishNode(ae,"UpdateExpression")}}if(!R&&this.eat(Ie.starstar)){if(N){this.unexpected(this.lastTokStart)}else{return this.buildBinary(j,$,q,this.parseMaybeUnary(null,false),"**",false)}}else{return q}};function isPrivateFieldAccess(E){return E.type==="MemberExpression"&&E.property.type==="PrivateIdentifier"||E.type==="ChainExpression"&&isPrivateFieldAccess(E.expression)}Tt.parseExprSubscripts=function(E){var N=this.start,R=this.startLoc;var j=this.parseExprAtom(E);if(j.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")"){return j}var $=this.parseSubscripts(j,N,R);if(E&&$.type==="MemberExpression"){if(E.parenthesizedAssign>=$.start){E.parenthesizedAssign=-1}if(E.parenthesizedBind>=$.start){E.parenthesizedBind=-1}if(E.trailingComma>=$.start){E.trailingComma=-1}}return $};Tt.parseSubscripts=function(E,N,R,j){var $=this.options.ecmaVersion>=8&&E.type==="Identifier"&&E.name==="async"&&this.lastTokEnd===E.end&&!this.canInsertSemicolon()&&E.end-E.start===5&&this.potentialArrowAt===E.start;var q=false;while(true){var G=this.parseSubscript(E,N,R,j,$,q);if(G.optional){q=true}if(G===E||G.type==="ArrowFunctionExpression"){if(q){var ie=this.startNodeAt(N,R);ie.expression=G;G=this.finishNode(ie,"ChainExpression")}return G}E=G}};Tt.parseSubscript=function(E,N,R,j,$,q){var G=this.options.ecmaVersion>=11;var ie=G&&this.eat(Ie.questionDot);if(j&&ie){this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions")}var ae=this.eat(Ie.bracketL);if(ae||ie&&this.type!==Ie.parenL&&this.type!==Ie.backQuote||this.eat(Ie.dot)){var ce=this.startNodeAt(N,R);ce.object=E;if(ae){ce.property=this.parseExpression();this.expect(Ie.bracketR)}else if(this.type===Ie.privateId&&E.type!=="Super"){ce.property=this.parsePrivateIdent()}else{ce.property=this.parseIdent(this.options.allowReserved!=="never")}ce.computed=!!ae;if(G){ce.optional=ie}E=this.finishNode(ce,"MemberExpression")}else if(!j&&this.eat(Ie.parenL)){var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te=this.awaitIdentPos;this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;var we=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false,le);if($&&!ie&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();if(this.awaitIdentPos>0){this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function")}this.yieldPos=_e;this.awaitPos=Ee;this.awaitIdentPos=Te;return this.parseArrowExpression(this.startNodeAt(N,R),we,true)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;this.awaitIdentPos=Te||this.awaitIdentPos;var Ne=this.startNodeAt(N,R);Ne.callee=E;Ne.arguments=we;if(G){Ne.optional=ie}E=this.finishNode(Ne,"CallExpression")}else if(this.type===Ie.backQuote){if(ie||q){this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions")}var Me=this.startNodeAt(N,R);Me.tag=E;Me.quasi=this.parseTemplate({isTagged:true});E=this.finishNode(Me,"TaggedTemplateExpression")}return E};Tt.parseExprAtom=function(E){if(this.type===Ie.slash){this.readRegexp()}var N,R=this.potentialArrowAt===this.start;switch(this.type){case Ie._super:if(!this.allowSuper){this.raise(this.start,"'super' keyword outside a method")}N=this.startNode();this.next();if(this.type===Ie.parenL&&!this.allowDirectSuper){this.raise(N.start,"super() call outside constructor of a subclass")}if(this.type!==Ie.dot&&this.type!==Ie.bracketL&&this.type!==Ie.parenL){this.unexpected()}return this.finishNode(N,"Super");case Ie._this:N=this.startNode();this.next();return this.finishNode(N,"ThisExpression");case Ie.name:var j=this.start,$=this.startLoc,q=this.containsEsc;var G=this.parseIdent(false);if(this.options.ecmaVersion>=8&&!q&&G.name==="async"&&!this.canInsertSemicolon()&&this.eat(Ie._function)){return this.parseFunction(this.startNodeAt(j,$),0,false,true)}if(R&&!this.canInsertSemicolon()){if(this.eat(Ie.arrow)){return this.parseArrowExpression(this.startNodeAt(j,$),[G],false)}if(this.options.ecmaVersion>=8&&G.name==="async"&&this.type===Ie.name&&!q&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){G=this.parseIdent(false);if(this.canInsertSemicolon()||!this.eat(Ie.arrow)){this.unexpected()}return this.parseArrowExpression(this.startNodeAt(j,$),[G],true)}}return G;case Ie.regexp:var ie=this.value;N=this.parseLiteral(ie.value);N.regex={pattern:ie.pattern,flags:ie.flags};return N;case Ie.num:case Ie.string:return this.parseLiteral(this.value);case Ie._null:case Ie._true:case Ie._false:N=this.startNode();N.value=this.type===Ie._null?null:this.type===Ie._true;N.raw=this.type.keyword;this.next();return this.finishNode(N,"Literal");case Ie.parenL:var ae=this.start,ce=this.parseParenAndDistinguishExpression(R);if(E){if(E.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ce)){E.parenthesizedAssign=ae}if(E.parenthesizedBind<0){E.parenthesizedBind=ae}}return ce;case Ie.bracketL:N=this.startNode();this.next();N.elements=this.parseExprList(Ie.bracketR,true,true,E);return this.finishNode(N,"ArrayExpression");case Ie.braceL:return this.parseObj(false,E);case Ie._function:N=this.startNode();this.next();return this.parseFunction(N,0);case Ie._class:return this.parseClass(this.startNode(),false);case Ie._new:return this.parseNew();case Ie.backQuote:return this.parseTemplate();case Ie._import:if(this.options.ecmaVersion>=11){return this.parseExprImport()}else{return this.unexpected()}default:this.unexpected()}};Tt.parseExprImport=function(){var E=this.startNode();if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword import")}var N=this.parseIdent(true);switch(this.type){case Ie.parenL:return this.parseDynamicImport(E);case Ie.dot:E.meta=N;return this.parseImportMeta(E);default:this.unexpected()}};Tt.parseDynamicImport=function(E){this.next();E.source=this.parseMaybeAssign();if(!this.eat(Ie.parenR)){var N=this.start;if(this.eat(Ie.comma)&&this.eat(Ie.parenR)){this.raiseRecoverable(N,"Trailing comma is not allowed in import()")}else{this.unexpected(N)}}return this.finishNode(E,"ImportExpression")};Tt.parseImportMeta=function(E){this.next();var N=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="meta"){this.raiseRecoverable(E.property.start,"The only valid meta property for import is 'import.meta'")}if(N){this.raiseRecoverable(E.start,"'import.meta' must not contain escaped characters")}if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere){this.raiseRecoverable(E.start,"Cannot use 'import.meta' outside a module")}return this.finishNode(E,"MetaProperty")};Tt.parseLiteral=function(E){var N=this.startNode();N.value=E;N.raw=this.input.slice(this.start,this.end);if(N.raw.charCodeAt(N.raw.length-1)===110){N.bigint=N.raw.slice(0,-1).replace(/_/g,"")}this.next();return this.finishNode(N,"Literal")};Tt.parseParenExpression=function(){this.expect(Ie.parenL);var E=this.parseExpression();this.expect(Ie.parenR);return E};Tt.parseParenAndDistinguishExpression=function(E){var N=this.start,R=this.startLoc,j,$=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var q=this.start,G=this.startLoc;var ie=[],ae=true,ce=false;var le=new DestructuringErrors,_e=this.yieldPos,Ee=this.awaitPos,Te;this.yieldPos=0;this.awaitPos=0;while(this.type!==Ie.parenR){ae?ae=false:this.expect(Ie.comma);if($&&this.afterTrailingComma(Ie.parenR,true)){ce=true;break}else if(this.type===Ie.ellipsis){Te=this.start;ie.push(this.parseParenItem(this.parseRestBinding()));if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}break}else{ie.push(this.parseMaybeAssign(false,le,this.parseParenItem))}}var we=this.start,Ne=this.startLoc;this.expect(Ie.parenR);if(E&&!this.canInsertSemicolon()&&this.eat(Ie.arrow)){this.checkPatternErrors(le,false);this.checkYieldAwaitInDefaultParams();this.yieldPos=_e;this.awaitPos=Ee;return this.parseParenArrowList(N,R,ie)}if(!ie.length||ce){this.unexpected(this.lastTokStart)}if(Te){this.unexpected(Te)}this.checkExpressionErrors(le,true);this.yieldPos=_e||this.yieldPos;this.awaitPos=Ee||this.awaitPos;if(ie.length>1){j=this.startNodeAt(q,G);j.expressions=ie;this.finishNodeAt(j,"SequenceExpression",we,Ne)}else{j=ie[0]}}else{j=this.parseParenExpression()}if(this.options.preserveParens){var Me=this.startNodeAt(N,R);Me.expression=j;return this.finishNode(Me,"ParenthesizedExpression")}else{return j}};Tt.parseParenItem=function(E){return E};Tt.parseParenArrowList=function(E,N,R){return this.parseArrowExpression(this.startNodeAt(E,N),R)};var kt=[];Tt.parseNew=function(){if(this.containsEsc){this.raiseRecoverable(this.start,"Escape sequence in keyword new")}var E=this.startNode();var N=this.parseIdent(true);if(this.options.ecmaVersion>=6&&this.eat(Ie.dot)){E.meta=N;var R=this.containsEsc;E.property=this.parseIdent(true);if(E.property.name!=="target"){this.raiseRecoverable(E.property.start,"The only valid meta property for new is 'new.target'")}if(R){this.raiseRecoverable(E.start,"'new.target' must not contain escaped characters")}if(!this.inNonArrowFunction){this.raiseRecoverable(E.start,"'new.target' can only be used in functions")}return this.finishNode(E,"MetaProperty")}var j=this.start,$=this.startLoc,q=this.type===Ie._import;E.callee=this.parseSubscripts(this.parseExprAtom(),j,$,true);if(q&&E.callee.type==="ImportExpression"){this.raise(j,"Cannot use new with import()")}if(this.eat(Ie.parenL)){E.arguments=this.parseExprList(Ie.parenR,this.options.ecmaVersion>=8,false)}else{E.arguments=kt}return this.finishNode(E,"NewExpression")};Tt.parseTemplateElement=function(E){var N=E.isTagged;var R=this.startNode();if(this.type===Ie.invalidTemplate){if(!N){this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal")}R.value={raw:this.value,cooked:null}}else{R.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}}this.next();R.tail=this.type===Ie.backQuote;return this.finishNode(R,"TemplateElement")};Tt.parseTemplate=function(E){if(E===void 0)E={};var N=E.isTagged;if(N===void 0)N=false;var R=this.startNode();this.next();R.expressions=[];var j=this.parseTemplateElement({isTagged:N});R.quasis=[j];while(!j.tail){if(this.type===Ie.eof){this.raise(this.pos,"Unterminated template literal")}this.expect(Ie.dollarBraceL);R.expressions.push(this.parseExpression());this.expect(Ie.braceR);R.quasis.push(j=this.parseTemplateElement({isTagged:N}))}this.next();return this.finishNode(R,"TemplateLiteral")};Tt.isAsyncProp=function(E){return!E.computed&&E.key.type==="Identifier"&&E.key.name==="async"&&(this.type===Ie.name||this.type===Ie.num||this.type===Ie.string||this.type===Ie.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===Ie.star)&&!Ne.test(this.input.slice(this.lastTokEnd,this.start))};Tt.parseObj=function(E,N){var R=this.startNode(),j=true,$={};R.properties=[];this.next();while(!this.eat(Ie.braceR)){if(!j){this.expect(Ie.comma);if(this.options.ecmaVersion>=5&&this.afterTrailingComma(Ie.braceR)){break}}else{j=false}var q=this.parseProperty(E,N);if(!E){this.checkPropClash(q,$,N)}R.properties.push(q)}return this.finishNode(R,E?"ObjectPattern":"ObjectExpression")};Tt.parseProperty=function(E,N){var R=this.startNode(),j,$,q,G;if(this.options.ecmaVersion>=9&&this.eat(Ie.ellipsis)){if(E){R.argument=this.parseIdent(false);if(this.type===Ie.comma){this.raise(this.start,"Comma is not permitted after the rest element")}return this.finishNode(R,"RestElement")}if(this.type===Ie.parenL&&N){if(N.parenthesizedAssign<0){N.parenthesizedAssign=this.start}if(N.parenthesizedBind<0){N.parenthesizedBind=this.start}}R.argument=this.parseMaybeAssign(false,N);if(this.type===Ie.comma&&N&&N.trailingComma<0){N.trailingComma=this.start}return this.finishNode(R,"SpreadElement")}if(this.options.ecmaVersion>=6){R.method=false;R.shorthand=false;if(E||N){q=this.start;G=this.startLoc}if(!E){j=this.eat(Ie.star)}}var ie=this.containsEsc;this.parsePropertyName(R);if(!E&&!ie&&this.options.ecmaVersion>=8&&!j&&this.isAsyncProp(R)){$=true;j=this.options.ecmaVersion>=9&&this.eat(Ie.star);this.parsePropertyName(R,N)}else{$=false}this.parsePropertyValue(R,E,j,$,q,G,N,ie);return this.finishNode(R,"Property")};Tt.parsePropertyValue=function(E,N,R,j,$,q,G,ie){if((R||j)&&this.type===Ie.colon){this.unexpected()}if(this.eat(Ie.colon)){E.value=N?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(false,G);E.kind="init"}else if(this.options.ecmaVersion>=6&&this.type===Ie.parenL){if(N){this.unexpected()}E.kind="init";E.method=true;E.value=this.parseMethod(R,j)}else if(!N&&!ie&&this.options.ecmaVersion>=5&&!E.computed&&E.key.type==="Identifier"&&(E.key.name==="get"||E.key.name==="set")&&(this.type!==Ie.comma&&this.type!==Ie.braceR&&this.type!==Ie.eq)){if(R||j){this.unexpected()}E.kind=E.key.name;this.parsePropertyName(E);E.value=this.parseMethod(false);var ae=E.kind==="get"?0:1;if(E.value.params.length!==ae){var ce=E.value.start;if(E.kind==="get"){this.raiseRecoverable(ce,"getter should have no params")}else{this.raiseRecoverable(ce,"setter should have exactly one param")}}else{if(E.kind==="set"&&E.value.params[0].type==="RestElement"){this.raiseRecoverable(E.value.params[0].start,"Setter cannot use rest params")}}}else if(this.options.ecmaVersion>=6&&!E.computed&&E.key.type==="Identifier"){if(R||j){this.unexpected()}this.checkUnreserved(E.key);if(E.key.name==="await"&&!this.awaitIdentPos){this.awaitIdentPos=$}E.kind="init";if(N){E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else if(this.type===Ie.eq&&G){if(G.shorthandAssign<0){G.shorthandAssign=this.start}E.value=this.parseMaybeDefault($,q,this.copyNode(E.key))}else{E.value=this.copyNode(E.key)}E.shorthand=true}else{this.unexpected()}};Tt.parsePropertyName=function(E){if(this.options.ecmaVersion>=6){if(this.eat(Ie.bracketL)){E.computed=true;E.key=this.parseMaybeAssign();this.expect(Ie.bracketR);return E.key}else{E.computed=false}}return E.key=this.type===Ie.num||this.type===Ie.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Tt.initFunction=function(E){E.id=null;if(this.options.ecmaVersion>=6){E.generator=E.expression=false}if(this.options.ecmaVersion>=8){E.async=false}};Tt.parseMethod=function(E,N,R){var j=this.startNode(),$=this.yieldPos,q=this.awaitPos,G=this.awaitIdentPos;this.initFunction(j);if(this.options.ecmaVersion>=6){j.generator=E}if(this.options.ecmaVersion>=8){j.async=!!N}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;this.enterScope(functionFlags(N,j.generator)|tt|(R?rt:0));this.expect(Ie.parenL);j.params=this.parseBindingList(Ie.parenR,false,this.options.ecmaVersion>=8);this.checkYieldAwaitInDefaultParams();this.parseFunctionBody(j,false,true);this.yieldPos=$;this.awaitPos=q;this.awaitIdentPos=G;return this.finishNode(j,"FunctionExpression")};Tt.parseArrowExpression=function(E,N,R){var j=this.yieldPos,$=this.awaitPos,q=this.awaitIdentPos;this.enterScope(functionFlags(R,false)|Ze);this.initFunction(E);if(this.options.ecmaVersion>=8){E.async=!!R}this.yieldPos=0;this.awaitPos=0;this.awaitIdentPos=0;E.params=this.toAssignableList(N,true);this.parseFunctionBody(E,true,false);this.yieldPos=j;this.awaitPos=$;this.awaitIdentPos=q;return this.finishNode(E,"ArrowFunctionExpression")};Tt.parseFunctionBody=function(E,N,R){var j=N&&this.type!==Ie.braceL;var $=this.strict,q=false;if(j){E.body=this.parseMaybeAssign();E.expression=true;this.checkParams(E,false)}else{var G=this.options.ecmaVersion>=7&&!this.isSimpleParamList(E.params);if(!$||G){q=this.strictDirective(this.end);if(q&&G){this.raiseRecoverable(E.start,"Illegal 'use strict' directive in function with non-simple parameter list")}}var ie=this.labels;this.labels=[];if(q){this.strict=true}this.checkParams(E,!$&&!q&&!N&&!R&&this.isSimpleParamList(E.params));if(this.strict&&E.id){this.checkLValSimple(E.id,ut)}E.body=this.parseBlock(false,undefined,q&&!$);E.expression=false;this.adaptDirectivePrologue(E.body.body);this.labels=ie}this.exitScope()};Tt.isSimpleParamList=function(E){for(var N=0,R=E;N-1||$.functions.indexOf(E)>-1||$.var.indexOf(E)>-1;$.lexical.push(E);if(this.inModule&&$.flags&Ge){delete this.undefinedExports[E]}}else if(N===ct){var q=this.currentScope();q.lexical.push(E)}else if(N===st){var G=this.currentScope();if(this.treatFunctionsAsVar){j=G.lexical.indexOf(E)>-1}else{j=G.lexical.indexOf(E)>-1||G.var.indexOf(E)>-1}G.functions.push(E)}else{for(var ie=this.scopeStack.length-1;ie>=0;--ie){var ae=this.scopeStack[ie];if(ae.lexical.indexOf(E)>-1&&!(ae.flags&et&&ae.lexical[0]===E)||!this.treatFunctionsAsVarInScope(ae)&&ae.functions.indexOf(E)>-1){j=true;break}ae.var.push(E);if(this.inModule&&ae.flags&Ge){delete this.undefinedExports[E]}if(ae.flags&Qe){break}}}if(j){this.raiseRecoverable(R,"Identifier '"+E+"' has already been declared")}};Dt.checkLocalExport=function(E){if(this.scopeStack[0].lexical.indexOf(E.name)===-1&&this.scopeStack[0].var.indexOf(E.name)===-1){this.undefinedExports[E.name]=E}};Dt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Dt.currentVarScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe){return N}}};Dt.currentThisScope=function(){for(var E=this.scopeStack.length-1;;E--){var N=this.scopeStack[E];if(N.flags&Qe&&!(N.flags&Ze)){return N}}};var wt=function Node(E,N,R){this.type="";this.start=N;this.end=0;if(E.options.locations){this.loc=new Ve(E,R)}if(E.options.directSourceFile){this.sourceFile=E.options.directSourceFile}if(E.options.ranges){this.range=[N,0]}};var Pt=dt.prototype;Pt.startNode=function(){return new wt(this,this.start,this.startLoc)};Pt.startNodeAt=function(E,N){return new wt(this,E,N)};function finishNodeAt(E,N,R,j){E.type=N;E.end=R;if(this.options.locations){E.loc.end=j}if(this.options.ranges){E.range[1]=R}return E}Pt.finishNode=function(E,N){return finishNodeAt.call(this,E,N,this.lastTokEnd,this.lastTokEndLoc)};Pt.finishNodeAt=function(E,N,R,j){return finishNodeAt.call(this,E,N,R,j)};Pt.copyNode=function(E){var N=new wt(this,E.start,this.startLoc);for(var R in E){N[R]=E[R]}return N};var Ft=function TokContext(E,N,R,j,$){this.token=E;this.isExpr=!!N;this.preserveSpace=!!R;this.override=j;this.generator=!!$};var It={b_stat:new Ft("{",false),b_expr:new Ft("{",true),b_tmpl:new Ft("${",false),p_stat:new Ft("(",false),p_expr:new Ft("(",true),q_tmpl:new Ft("`",true,true,(function(E){return E.tryReadTemplateToken()})),f_stat:new Ft("function",false),f_expr:new Ft("function",true),f_expr_gen:new Ft("function",true,false,null,true),f_gen:new Ft("function",false,false,null,true)};var Nt=dt.prototype;Nt.initialContext=function(){return[It.b_stat]};Nt.braceIsBlock=function(E){var N=this.curContext();if(N===It.f_expr||N===It.f_stat){return true}if(E===Ie.colon&&(N===It.b_stat||N===It.b_expr)){return!N.isExpr}if(E===Ie._return||E===Ie.name&&this.exprAllowed){return Ne.test(this.input.slice(this.lastTokEnd,this.start))}if(E===Ie._else||E===Ie.semi||E===Ie.eof||E===Ie.parenR||E===Ie.arrow){return true}if(E===Ie.braceL){return N===It.b_stat}if(E===Ie._var||E===Ie._const||E===Ie.name){return false}return!this.exprAllowed};Nt.inGeneratorContext=function(){for(var E=this.context.length-1;E>=1;E--){var N=this.context[E];if(N.token==="function"){return N.generator}}return false};Nt.updateContext=function(E){var N,R=this.type;if(R.keyword&&E===Ie.dot){this.exprAllowed=false}else if(N=R.updateContext){N.call(this,E)}else{this.exprAllowed=R.beforeExpr}};Ie.parenR.updateContext=Ie.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=true;return}var E=this.context.pop();if(E===It.b_stat&&this.curContext().token==="function"){E=this.context.pop()}this.exprAllowed=!E.isExpr};Ie.braceL.updateContext=function(E){this.context.push(this.braceIsBlock(E)?It.b_stat:It.b_expr);this.exprAllowed=true};Ie.dollarBraceL.updateContext=function(){this.context.push(It.b_tmpl);this.exprAllowed=true};Ie.parenL.updateContext=function(E){var N=E===Ie._if||E===Ie._for||E===Ie._with||E===Ie._while;this.context.push(N?It.p_stat:It.p_expr);this.exprAllowed=true};Ie.incDec.updateContext=function(){};Ie._function.updateContext=Ie._class.updateContext=function(E){if(E.beforeExpr&&E!==Ie._else&&!(E===Ie.semi&&this.curContext()!==It.p_stat)&&!(E===Ie._return&&Ne.test(this.input.slice(this.lastTokEnd,this.start)))&&!((E===Ie.colon||E===Ie.braceL)&&this.curContext()===It.b_stat)){this.context.push(It.f_expr)}else{this.context.push(It.f_stat)}this.exprAllowed=false};Ie.backQuote.updateContext=function(){if(this.curContext()===It.q_tmpl){this.context.pop()}else{this.context.push(It.q_tmpl)}this.exprAllowed=false};Ie.star.updateContext=function(E){if(E===Ie._function){var N=this.context.length-1;if(this.context[N]===It.f_expr){this.context[N]=It.f_expr_gen}else{this.context[N]=It.f_gen}}this.exprAllowed=true};Ie.name.updateContext=function(E){var N=false;if(this.options.ecmaVersion>=6&&E!==Ie.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext()){N=true}}this.exprAllowed=N};var Ot="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS";var Mt=Ot+" Extended_Pictographic";var Rt=Mt;var Lt=Rt+" EBase EComp EMod EPres ExtPict";var Bt={9:Ot,10:Mt,11:Rt,12:Lt};var jt="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu";var Ut="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb";var zt=Ut+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd";var Wt=zt+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho";var $t=Wt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi";var Jt={9:Ut,10:zt,11:Wt,12:$t};var Vt={};function buildUnicodeData(E){var N=Vt[E]={binary:wordsRegexp(Bt[E]+" "+jt),nonBinary:{General_Category:wordsRegexp(jt),Script:wordsRegexp(Jt[E])}};N.nonBinary.Script_Extensions=N.nonBinary.Script;N.nonBinary.gc=N.nonBinary.General_Category;N.nonBinary.sc=N.nonBinary.Script;N.nonBinary.scx=N.nonBinary.Script_Extensions}buildUnicodeData(9);buildUnicodeData(10);buildUnicodeData(11);buildUnicodeData(12);var qt=dt.prototype;var Ht=function RegExpValidationState(E){this.parser=E;this.validFlags="gim"+(E.options.ecmaVersion>=6?"uy":"")+(E.options.ecmaVersion>=9?"s":"")+(E.options.ecmaVersion>=13?"d":"");this.unicodeProperties=Vt[E.options.ecmaVersion>=12?12:E.options.ecmaVersion];this.source="";this.flags="";this.start=0;this.switchU=false;this.switchN=false;this.pos=0;this.lastIntValue=0;this.lastStringValue="";this.lastAssertionIsQuantifiable=false;this.numCapturingParens=0;this.maxBackReference=0;this.groupNames=[];this.backReferenceNames=[]};Ht.prototype.reset=function reset(E,N,R){var j=R.indexOf("u")!==-1;this.start=E|0;this.source=N+"";this.flags=R;this.switchU=j&&this.parser.options.ecmaVersion>=6;this.switchN=j&&this.parser.options.ecmaVersion>=9};Ht.prototype.raise=function raise(E){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+E)};Ht.prototype.at=function at(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return-1}var $=R.charCodeAt(E);if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j){return $}var q=R.charCodeAt(E+1);return q>=56320&&q<=57343?($<<10)+q-56613888:$};Ht.prototype.nextIndex=function nextIndex(E,N){if(N===void 0)N=false;var R=this.source;var j=R.length;if(E>=j){return j}var $=R.charCodeAt(E),q;if(!(N||this.switchU)||$<=55295||$>=57344||E+1>=j||(q=R.charCodeAt(E+1))<56320||q>57343){return E+1}return E+2};Ht.prototype.current=function current(E){if(E===void 0)E=false;return this.at(this.pos,E)};Ht.prototype.lookahead=function lookahead(E){if(E===void 0)E=false;return this.at(this.nextIndex(this.pos,E),E)};Ht.prototype.advance=function advance(E){if(E===void 0)E=false;this.pos=this.nextIndex(this.pos,E)};Ht.prototype.eat=function eat(E,N){if(N===void 0)N=false;if(this.current(N)===E){this.advance(N);return true}return false};function codePointToString(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}qt.validateRegExpFlags=function(E){var N=E.validFlags;var R=E.flags;for(var j=0;j-1){this.raise(E.start,"Duplicate regular expression flag")}}};qt.validateRegExpPattern=function(E){this.regexp_pattern(E);if(!E.switchN&&this.options.ecmaVersion>=9&&E.groupNames.length>0){E.switchN=true;this.regexp_pattern(E)}};qt.regexp_pattern=function(E){E.pos=0;E.lastIntValue=0;E.lastStringValue="";E.lastAssertionIsQuantifiable=false;E.numCapturingParens=0;E.maxBackReference=0;E.groupNames.length=0;E.backReferenceNames.length=0;this.regexp_disjunction(E);if(E.pos!==E.source.length){if(E.eat(41)){E.raise("Unmatched ')'")}if(E.eat(93)||E.eat(125)){E.raise("Lone quantifier brackets")}}if(E.maxBackReference>E.numCapturingParens){E.raise("Invalid escape")}for(var N=0,R=E.backReferenceNames;N=9){R=E.eat(60)}if(E.eat(61)||E.eat(33)){this.regexp_disjunction(E);if(!E.eat(41)){E.raise("Unterminated group")}E.lastAssertionIsQuantifiable=!R;return true}}E.pos=N;return false};qt.regexp_eatQuantifier=function(E,N){if(N===void 0)N=false;if(this.regexp_eatQuantifierPrefix(E,N)){E.eat(63);return true}return false};qt.regexp_eatQuantifierPrefix=function(E,N){return E.eat(42)||E.eat(43)||E.eat(63)||this.regexp_eatBracedQuantifier(E,N)};qt.regexp_eatBracedQuantifier=function(E,N){var R=E.pos;if(E.eat(123)){var j=0,$=-1;if(this.regexp_eatDecimalDigits(E)){j=E.lastIntValue;if(E.eat(44)&&this.regexp_eatDecimalDigits(E)){$=E.lastIntValue}if(E.eat(125)){if($!==-1&&$=9){this.regexp_groupSpecifier(E)}else if(E.current()===63){E.raise("Invalid group")}this.regexp_disjunction(E);if(E.eat(41)){E.numCapturingParens+=1;return true}E.raise("Unterminated group")}return false};qt.regexp_eatExtendedAtom=function(E){return E.eat(46)||this.regexp_eatReverseSolidusAtomEscape(E)||this.regexp_eatCharacterClass(E)||this.regexp_eatUncapturingGroup(E)||this.regexp_eatCapturingGroup(E)||this.regexp_eatInvalidBracedQuantifier(E)||this.regexp_eatExtendedPatternCharacter(E)};qt.regexp_eatInvalidBracedQuantifier=function(E){if(this.regexp_eatBracedQuantifier(E,true)){E.raise("Nothing to repeat")}return false};qt.regexp_eatSyntaxCharacter=function(E){var N=E.current();if(isSyntaxCharacter(N)){E.lastIntValue=N;E.advance();return true}return false};function isSyntaxCharacter(E){return E===36||E>=40&&E<=43||E===46||E===63||E>=91&&E<=94||E>=123&&E<=125}qt.regexp_eatPatternCharacters=function(E){var N=E.pos;var R=0;while((R=E.current())!==-1&&!isSyntaxCharacter(R)){E.advance()}return E.pos!==N};qt.regexp_eatExtendedPatternCharacter=function(E){var N=E.current();if(N!==-1&&N!==36&&!(N>=40&&N<=43)&&N!==46&&N!==63&&N!==91&&N!==94&&N!==124){E.advance();return true}return false};qt.regexp_groupSpecifier=function(E){if(E.eat(63)){if(this.regexp_eatGroupName(E)){if(E.groupNames.indexOf(E.lastStringValue)!==-1){E.raise("Duplicate capture group name")}E.groupNames.push(E.lastStringValue);return}E.raise("Invalid group")}};qt.regexp_eatGroupName=function(E){E.lastStringValue="";if(E.eat(60)){if(this.regexp_eatRegExpIdentifierName(E)&&E.eat(62)){return true}E.raise("Invalid capture group name")}return false};qt.regexp_eatRegExpIdentifierName=function(E){E.lastStringValue="";if(this.regexp_eatRegExpIdentifierStart(E)){E.lastStringValue+=codePointToString(E.lastIntValue);while(this.regexp_eatRegExpIdentifierPart(E)){E.lastStringValue+=codePointToString(E.lastIntValue)}return true}return false};qt.regexp_eatRegExpIdentifierStart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierStart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierStart(E){return isIdentifierStart(E,true)||E===36||E===95}qt.regexp_eatRegExpIdentifierPart=function(E){var N=E.pos;var R=this.options.ecmaVersion>=11;var j=E.current(R);E.advance(R);if(j===92&&this.regexp_eatRegExpUnicodeEscapeSequence(E,R)){j=E.lastIntValue}if(isRegExpIdentifierPart(j)){E.lastIntValue=j;return true}E.pos=N;return false};function isRegExpIdentifierPart(E){return isIdentifierChar(E,true)||E===36||E===95||E===8204||E===8205}qt.regexp_eatAtomEscape=function(E){if(this.regexp_eatBackReference(E)||this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)||E.switchN&&this.regexp_eatKGroupName(E)){return true}if(E.switchU){if(E.current()===99){E.raise("Invalid unicode escape")}E.raise("Invalid escape")}return false};qt.regexp_eatBackReference=function(E){var N=E.pos;if(this.regexp_eatDecimalEscape(E)){var R=E.lastIntValue;if(E.switchU){if(R>E.maxBackReference){E.maxBackReference=R}return true}if(R<=E.numCapturingParens){return true}E.pos=N}return false};qt.regexp_eatKGroupName=function(E){if(E.eat(107)){if(this.regexp_eatGroupName(E)){E.backReferenceNames.push(E.lastStringValue);return true}E.raise("Invalid named reference")}return false};qt.regexp_eatCharacterEscape=function(E){return this.regexp_eatControlEscape(E)||this.regexp_eatCControlLetter(E)||this.regexp_eatZero(E)||this.regexp_eatHexEscapeSequence(E)||this.regexp_eatRegExpUnicodeEscapeSequence(E,false)||!E.switchU&&this.regexp_eatLegacyOctalEscapeSequence(E)||this.regexp_eatIdentityEscape(E)};qt.regexp_eatCControlLetter=function(E){var N=E.pos;if(E.eat(99)){if(this.regexp_eatControlLetter(E)){return true}E.pos=N}return false};qt.regexp_eatZero=function(E){if(E.current()===48&&!isDecimalDigit(E.lookahead())){E.lastIntValue=0;E.advance();return true}return false};qt.regexp_eatControlEscape=function(E){var N=E.current();if(N===116){E.lastIntValue=9;E.advance();return true}if(N===110){E.lastIntValue=10;E.advance();return true}if(N===118){E.lastIntValue=11;E.advance();return true}if(N===102){E.lastIntValue=12;E.advance();return true}if(N===114){E.lastIntValue=13;E.advance();return true}return false};qt.regexp_eatControlLetter=function(E){var N=E.current();if(isControlLetter(N)){E.lastIntValue=N%32;E.advance();return true}return false};function isControlLetter(E){return E>=65&&E<=90||E>=97&&E<=122}qt.regexp_eatRegExpUnicodeEscapeSequence=function(E,N){if(N===void 0)N=false;var R=E.pos;var j=N||E.switchU;if(E.eat(117)){if(this.regexp_eatFixedHexDigits(E,4)){var $=E.lastIntValue;if(j&&$>=55296&&$<=56319){var q=E.pos;if(E.eat(92)&&E.eat(117)&&this.regexp_eatFixedHexDigits(E,4)){var G=E.lastIntValue;if(G>=56320&&G<=57343){E.lastIntValue=($-55296)*1024+(G-56320)+65536;return true}}E.pos=q;E.lastIntValue=$}return true}if(j&&E.eat(123)&&this.regexp_eatHexDigits(E)&&E.eat(125)&&isValidUnicode(E.lastIntValue)){return true}if(j){E.raise("Invalid unicode escape")}E.pos=R}return false};function isValidUnicode(E){return E>=0&&E<=1114111}qt.regexp_eatIdentityEscape=function(E){if(E.switchU){if(this.regexp_eatSyntaxCharacter(E)){return true}if(E.eat(47)){E.lastIntValue=47;return true}return false}var N=E.current();if(N!==99&&(!E.switchN||N!==107)){E.lastIntValue=N;E.advance();return true}return false};qt.regexp_eatDecimalEscape=function(E){E.lastIntValue=0;var N=E.current();if(N>=49&&N<=57){do{E.lastIntValue=10*E.lastIntValue+(N-48);E.advance()}while((N=E.current())>=48&&N<=57);return true}return false};qt.regexp_eatCharacterClassEscape=function(E){var N=E.current();if(isCharacterClassEscape(N)){E.lastIntValue=-1;E.advance();return true}if(E.switchU&&this.options.ecmaVersion>=9&&(N===80||N===112)){E.lastIntValue=-1;E.advance();if(E.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(E)&&E.eat(125)){return true}E.raise("Invalid property name")}return false};function isCharacterClassEscape(E){return E===100||E===68||E===115||E===83||E===119||E===87}qt.regexp_eatUnicodePropertyValueExpression=function(E){var N=E.pos;if(this.regexp_eatUnicodePropertyName(E)&&E.eat(61)){var R=E.lastStringValue;if(this.regexp_eatUnicodePropertyValue(E)){var j=E.lastStringValue;this.regexp_validateUnicodePropertyNameAndValue(E,R,j);return true}}E.pos=N;if(this.regexp_eatLoneUnicodePropertyNameOrValue(E)){var $=E.lastStringValue;this.regexp_validateUnicodePropertyNameOrValue(E,$);return true}return false};qt.regexp_validateUnicodePropertyNameAndValue=function(E,N,R){if(!has(E.unicodeProperties.nonBinary,N)){E.raise("Invalid property name")}if(!E.unicodeProperties.nonBinary[N].test(R)){E.raise("Invalid property value")}};qt.regexp_validateUnicodePropertyNameOrValue=function(E,N){if(!E.unicodeProperties.binary.test(N)){E.raise("Invalid property name")}};qt.regexp_eatUnicodePropertyName=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyNameCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyNameCharacter(E){return isControlLetter(E)||E===95}qt.regexp_eatUnicodePropertyValue=function(E){var N=0;E.lastStringValue="";while(isUnicodePropertyValueCharacter(N=E.current())){E.lastStringValue+=codePointToString(N);E.advance()}return E.lastStringValue!==""};function isUnicodePropertyValueCharacter(E){return isUnicodePropertyNameCharacter(E)||isDecimalDigit(E)}qt.regexp_eatLoneUnicodePropertyNameOrValue=function(E){return this.regexp_eatUnicodePropertyValue(E)};qt.regexp_eatCharacterClass=function(E){if(E.eat(91)){E.eat(94);this.regexp_classRanges(E);if(E.eat(93)){return true}E.raise("Unterminated character class")}return false};qt.regexp_classRanges=function(E){while(this.regexp_eatClassAtom(E)){var N=E.lastIntValue;if(E.eat(45)&&this.regexp_eatClassAtom(E)){var R=E.lastIntValue;if(E.switchU&&(N===-1||R===-1)){E.raise("Invalid character class")}if(N!==-1&&R!==-1&&N>R){E.raise("Range out of order in character class")}}}};qt.regexp_eatClassAtom=function(E){var N=E.pos;if(E.eat(92)){if(this.regexp_eatClassEscape(E)){return true}if(E.switchU){var R=E.current();if(R===99||isOctalDigit(R)){E.raise("Invalid class escape")}E.raise("Invalid escape")}E.pos=N}var j=E.current();if(j!==93){E.lastIntValue=j;E.advance();return true}return false};qt.regexp_eatClassEscape=function(E){var N=E.pos;if(E.eat(98)){E.lastIntValue=8;return true}if(E.switchU&&E.eat(45)){E.lastIntValue=45;return true}if(!E.switchU&&E.eat(99)){if(this.regexp_eatClassControlLetter(E)){return true}E.pos=N}return this.regexp_eatCharacterClassEscape(E)||this.regexp_eatCharacterEscape(E)};qt.regexp_eatClassControlLetter=function(E){var N=E.current();if(isDecimalDigit(N)||N===95){E.lastIntValue=N%32;E.advance();return true}return false};qt.regexp_eatHexEscapeSequence=function(E){var N=E.pos;if(E.eat(120)){if(this.regexp_eatFixedHexDigits(E,2)){return true}if(E.switchU){E.raise("Invalid escape")}E.pos=N}return false};qt.regexp_eatDecimalDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isDecimalDigit(R=E.current())){E.lastIntValue=10*E.lastIntValue+(R-48);E.advance()}return E.pos!==N};function isDecimalDigit(E){return E>=48&&E<=57}qt.regexp_eatHexDigits=function(E){var N=E.pos;var R=0;E.lastIntValue=0;while(isHexDigit(R=E.current())){E.lastIntValue=16*E.lastIntValue+hexToInt(R);E.advance()}return E.pos!==N};function isHexDigit(E){return E>=48&&E<=57||E>=65&&E<=70||E>=97&&E<=102}function hexToInt(E){if(E>=65&&E<=70){return 10+(E-65)}if(E>=97&&E<=102){return 10+(E-97)}return E-48}qt.regexp_eatLegacyOctalEscapeSequence=function(E){if(this.regexp_eatOctalDigit(E)){var N=E.lastIntValue;if(this.regexp_eatOctalDigit(E)){var R=E.lastIntValue;if(N<=3&&this.regexp_eatOctalDigit(E)){E.lastIntValue=N*64+R*8+E.lastIntValue}else{E.lastIntValue=N*8+R}}else{E.lastIntValue=N}return true}return false};qt.regexp_eatOctalDigit=function(E){var N=E.current();if(isOctalDigit(N)){E.lastIntValue=N-48;E.advance();return true}E.lastIntValue=0;return false};function isOctalDigit(E){return E>=48&&E<=55}qt.regexp_eatFixedHexDigits=function(E,N){var R=E.pos;E.lastIntValue=0;for(var j=0;j=this.input.length){return this.finishToken(Ie.eof)}if(E.override){return E.override(this)}else{this.readToken(this.fullCharCodeAtPos())}};Kt.readToken=function(E){if(isIdentifierStart(E,this.options.ecmaVersion>=6)||E===92){return this.readWord()}return this.getTokenFromCode(E)};Kt.fullCharCodeAtPos=function(){var E=this.input.charCodeAt(this.pos);if(E<=55295||E>=56320){return E}var N=this.input.charCodeAt(this.pos+1);return N<=56319||N>=57344?E:(E<<10)+N-56613888};Kt.skipBlockComment=function(){var E=this.options.onComment&&this.curPosition();var N=this.pos,R=this.input.indexOf("*/",this.pos+=2);if(R===-1){this.raise(this.pos-2,"Unterminated comment")}this.pos=R+2;if(this.options.locations){Me.lastIndex=N;var j;while((j=Me.exec(this.input))&&j.index8&&E<14||E>=5760&&Le.test(String.fromCharCode(E))){++this.pos}else{break e}}}};Kt.finishToken=function(E,N){this.end=this.pos;if(this.options.locations){this.endLoc=this.curPosition()}var R=this.type;this.type=E;this.value=N;this.updateContext(R)};Kt.readToken_dot=function(){var E=this.input.charCodeAt(this.pos+1);if(E>=48&&E<=57){return this.readNumber(true)}var N=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&E===46&&N===46){this.pos+=3;return this.finishToken(Ie.ellipsis)}else{++this.pos;return this.finishToken(Ie.dot)}};Kt.readToken_slash=function(){var E=this.input.charCodeAt(this.pos+1);if(this.exprAllowed){++this.pos;return this.readRegexp()}if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.slash,1)};Kt.readToken_mult_modulo_exp=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;var j=E===42?Ie.star:Ie.modulo;if(this.options.ecmaVersion>=7&&E===42&&N===42){++R;j=Ie.starstar;N=this.input.charCodeAt(this.pos+2)}if(N===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(j,R)};Kt.readToken_pipe_amp=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(this.options.ecmaVersion>=12){var R=this.input.charCodeAt(this.pos+2);if(R===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(E===124?Ie.logicalOR:Ie.logicalAND,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(E===124?Ie.bitwiseOR:Ie.bitwiseAND,1)};Kt.readToken_caret=function(){var E=this.input.charCodeAt(this.pos+1);if(E===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.bitwiseXOR,1)};Kt.readToken_plus_min=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===E){if(N===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ne.test(this.input.slice(this.lastTokEnd,this.pos)))){this.skipLineComment(3);this.skipSpace();return this.nextToken()}return this.finishOp(Ie.incDec,2)}if(N===61){return this.finishOp(Ie.assign,2)}return this.finishOp(Ie.plusMin,1)};Kt.readToken_lt_gt=function(E){var N=this.input.charCodeAt(this.pos+1);var R=1;if(N===E){R=E===62&&this.input.charCodeAt(this.pos+2)===62?3:2;if(this.input.charCodeAt(this.pos+R)===61){return this.finishOp(Ie.assign,R+1)}return this.finishOp(Ie.bitShift,R)}if(N===33&&E===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45){this.skipLineComment(4);this.skipSpace();return this.nextToken()}if(N===61){R=2}return this.finishOp(Ie.relational,R)};Kt.readToken_eq_excl=function(E){var N=this.input.charCodeAt(this.pos+1);if(N===61){return this.finishOp(Ie.equality,this.input.charCodeAt(this.pos+2)===61?3:2)}if(E===61&&N===62&&this.options.ecmaVersion>=6){this.pos+=2;return this.finishToken(Ie.arrow)}return this.finishOp(E===61?Ie.eq:Ie.prefix,1)};Kt.readToken_question=function(){var E=this.options.ecmaVersion;if(E>=11){var N=this.input.charCodeAt(this.pos+1);if(N===46){var R=this.input.charCodeAt(this.pos+2);if(R<48||R>57){return this.finishOp(Ie.questionDot,2)}}if(N===63){if(E>=12){var j=this.input.charCodeAt(this.pos+2);if(j===61){return this.finishOp(Ie.assign,3)}}return this.finishOp(Ie.coalesce,2)}}return this.finishOp(Ie.question,1)};Kt.readToken_numberSign=function(){var E=this.options.ecmaVersion;var N=35;if(E>=13){++this.pos;N=this.fullCharCodeAtPos();if(isIdentifierStart(N,true)||N===92){return this.finishToken(Ie.privateId,this.readWord1())}}this.raise(this.pos,"Unexpected character '"+codePointToString$1(N)+"'")};Kt.getTokenFromCode=function(E){switch(E){case 46:return this.readToken_dot();case 40:++this.pos;return this.finishToken(Ie.parenL);case 41:++this.pos;return this.finishToken(Ie.parenR);case 59:++this.pos;return this.finishToken(Ie.semi);case 44:++this.pos;return this.finishToken(Ie.comma);case 91:++this.pos;return this.finishToken(Ie.bracketL);case 93:++this.pos;return this.finishToken(Ie.bracketR);case 123:++this.pos;return this.finishToken(Ie.braceL);case 125:++this.pos;return this.finishToken(Ie.braceR);case 58:++this.pos;return this.finishToken(Ie.colon);case 96:if(this.options.ecmaVersion<6){break}++this.pos;return this.finishToken(Ie.backQuote);case 48:var N=this.input.charCodeAt(this.pos+1);if(N===120||N===88){return this.readRadixNumber(16)}if(this.options.ecmaVersion>=6){if(N===111||N===79){return this.readRadixNumber(8)}if(N===98||N===66){return this.readRadixNumber(2)}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(false);case 34:case 39:return this.readString(E);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(E);case 124:case 38:return this.readToken_pipe_amp(E);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(E);case 60:case 62:return this.readToken_lt_gt(E);case 61:case 33:return this.readToken_eq_excl(E);case 63:return this.readToken_question();case 126:return this.finishOp(Ie.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+codePointToString$1(E)+"'")};Kt.finishOp=function(E,N){var R=this.input.slice(this.pos,this.pos+N);this.pos+=N;return this.finishToken(E,R)};Kt.readRegexp=function(){var E,N,R=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(R,"Unterminated regular expression")}var j=this.input.charAt(this.pos);if(Ne.test(j)){this.raise(R,"Unterminated regular expression")}if(!E){if(j==="["){N=true}else if(j==="]"&&N){N=false}else if(j==="/"&&!N){break}E=j==="\\"}else{E=false}++this.pos}var $=this.input.slice(R,this.pos);++this.pos;var q=this.pos;var G=this.readWord1();if(this.containsEsc){this.unexpected(q)}var ie=this.regexpState||(this.regexpState=new Ht(this));ie.reset(R,$,G);this.validateRegExpFlags(ie);this.validateRegExpPattern(ie);var ae=null;try{ae=new RegExp($,G)}catch(E){}return this.finishToken(Ie.regexp,{pattern:$,flags:G,value:ae})};Kt.readInt=function(E,N,R){var j=this.options.ecmaVersion>=12&&N===undefined;var $=R&&this.input.charCodeAt(this.pos)===48;var q=this.pos,G=0,ie=0;for(var ae=0,ce=N==null?Infinity:N;ae=97){_e=le-97+10}else if(le>=65){_e=le-65+10}else if(le>=48&&le<=57){_e=le-48}else{_e=Infinity}if(_e>=E){break}ie=le;G=G*E+_e}if(j&&ie===95){this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits")}if(this.pos===q||N!=null&&this.pos-q!==N){return null}return G};function stringToNumber(E,N){if(N){return parseInt(E,8)}return parseFloat(E.replace(/_/g,""))}function stringToBigInt(E){if(typeof BigInt!=="function"){return null}return BigInt(E.replace(/_/g,""))}Kt.readRadixNumber=function(E){var N=this.pos;this.pos+=2;var R=this.readInt(E);if(R==null){this.raise(this.start+2,"Expected number in radix "+E)}if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110){R=stringToBigInt(this.input.slice(N,this.pos));++this.pos}else if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,R)};Kt.readNumber=function(E){var N=this.pos;if(!E&&this.readInt(10,undefined,true)===null){this.raise(N,"Invalid number")}var R=this.pos-N>=2&&this.input.charCodeAt(N)===48;if(R&&this.strict){this.raise(N,"Invalid number")}var j=this.input.charCodeAt(this.pos);if(!R&&!E&&this.options.ecmaVersion>=11&&j===110){var $=stringToBigInt(this.input.slice(N,this.pos));++this.pos;if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}return this.finishToken(Ie.num,$)}if(R&&/[89]/.test(this.input.slice(N,this.pos))){R=false}if(j===46&&!R){++this.pos;this.readInt(10);j=this.input.charCodeAt(this.pos)}if((j===69||j===101)&&!R){j=this.input.charCodeAt(++this.pos);if(j===43||j===45){++this.pos}if(this.readInt(10)===null){this.raise(N,"Invalid number")}}if(isIdentifierStart(this.fullCharCodeAtPos())){this.raise(this.pos,"Identifier directly after number")}var q=stringToNumber(this.input.slice(N,this.pos),R);return this.finishToken(Ie.num,q)};Kt.readCodePoint=function(){var E=this.input.charCodeAt(this.pos),N;if(E===123){if(this.options.ecmaVersion<6){this.unexpected()}var R=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos);++this.pos;if(N>1114111){this.invalidStringToken(R,"Code point out of bounds")}}else{N=this.readHexChar(4)}return N};function codePointToString$1(E){if(E<=65535){return String.fromCharCode(E)}E-=65536;return String.fromCharCode((E>>10)+55296,(E&1023)+56320)}Kt.readString=function(E){var N="",R=++this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated string constant")}var j=this.input.charCodeAt(this.pos);if(j===E){break}if(j===92){N+=this.input.slice(R,this.pos);N+=this.readEscapedChar(false);R=this.pos}else{if(isNewLine(j,this.options.ecmaVersion>=10)){this.raise(this.start,"Unterminated string constant")}++this.pos}}N+=this.input.slice(R,this.pos++);return this.finishToken(Ie.string,N)};var Qt={};Kt.tryReadTemplateToken=function(){this.inTemplateElement=true;try{this.readTmplToken()}catch(E){if(E===Qt){this.readInvalidTemplateToken()}else{throw E}}this.inTemplateElement=false};Kt.invalidStringToken=function(E,N){if(this.inTemplateElement&&this.options.ecmaVersion>=9){throw Qt}else{this.raise(E,N)}};Kt.readTmplToken=function(){var E="",N=this.pos;for(;;){if(this.pos>=this.input.length){this.raise(this.start,"Unterminated template")}var R=this.input.charCodeAt(this.pos);if(R===96||R===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===Ie.template||this.type===Ie.invalidTemplate)){if(R===36){this.pos+=2;return this.finishToken(Ie.dollarBraceL)}else{++this.pos;return this.finishToken(Ie.backQuote)}}E+=this.input.slice(N,this.pos);return this.finishToken(Ie.template,E)}if(R===92){E+=this.input.slice(N,this.pos);E+=this.readEscapedChar(true);N=this.pos}else if(isNewLine(R)){E+=this.input.slice(N,this.pos);++this.pos;switch(R){case 13:if(this.input.charCodeAt(this.pos)===10){++this.pos}case 10:E+="\n";break;default:E+=String.fromCharCode(R);break}if(this.options.locations){++this.curLine;this.lineStart=this.pos}N=this.pos}else{++this.pos}}};Kt.readInvalidTemplateToken=function(){for(;this.pos=48&&N<=55){var j=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0];var $=parseInt(j,8);if($>255){j=j.slice(0,-1);$=parseInt(j,8)}this.pos+=j.length-1;N=this.input.charCodeAt(this.pos);if((j!=="0"||N===56||N===57)&&(this.strict||E)){this.invalidStringToken(this.pos-1-j.length,E?"Octal literal in template string":"Octal literal in strict mode")}return String.fromCharCode($)}if(isNewLine(N)){return""}return String.fromCharCode(N)}};Kt.readHexChar=function(E){var N=this.pos;var R=this.readInt(16,E);if(R===null){this.invalidStringToken(N,"Bad character escape sequence")}return R};Kt.readWord1=function(){this.containsEsc=false;var E="",N=true,R=this.pos;var j=this.options.ecmaVersion>=6;while(this.pos{"use strict";const j=R(33839);const $=R(44084);const q=R(65821);const G=R(50666);const mapToBufferedMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=Buffer.from(E.mappings,"utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&Buffer.from(E,"utf-8")))}return N};const bufferedMapToMap=E=>{if(typeof E!=="object"||!E)return E;const N=Object.assign({},E);if(E.mappings){N.mappings=E.mappings.toString("utf-8")}if(E.sourcesContent){N.sourcesContent=E.sourcesContent.map((E=>E&&E.toString("utf-8")))}return N};class CachedSource extends j{constructor(E,N){super();this._source=E;this._cachedSourceType=N?N.source:undefined;this._cachedSource=undefined;this._cachedBuffer=N?N.buffer:undefined;this._cachedSize=N?N.size:undefined;this._cachedMaps=N?N.maps:new Map;this._cachedHashUpdate=N?N.hash:undefined}getCachedData(){const E=new Map;for(const N of this._cachedMaps){let R=N[1];if(R.bufferedMap===undefined){R.bufferedMap=mapToBufferedMap(this._getMapFromCacheEntry(R))}E.set(N[0],{map:undefined,bufferedMap:R.bufferedMap})}if(this._cachedSource){this.buffer()}return{buffer:this._cachedBuffer,source:this._cachedSourceType!==undefined?this._cachedSourceType:typeof this._cachedSource==="string"?true:Buffer.isBuffer(this._cachedSource)?false:undefined,size:this._cachedSize,maps:E,hash:this._cachedHashUpdate}}originalLazy(){return this._source}original(){if(typeof this._source==="function")this._source=this._source();return this._source}source(){const E=this._getCachedSource();if(E!==undefined)return E;return this._cachedSource=this.original().source()}_getMapFromCacheEntry(E){if(E.map!==undefined){return E.map}else if(E.bufferedMap!==undefined){return E.map=bufferedMapToMap(E.bufferedMap)}}_getCachedSource(){if(this._cachedSource!==undefined)return this._cachedSource;if(this._cachedBuffer&&this._cachedSourceType!==undefined){return this._cachedSource=this._cachedSourceType?this._cachedBuffer.toString("utf-8"):this._cachedBuffer}}buffer(){if(this._cachedBuffer!==undefined)return this._cachedBuffer;if(this._cachedSource!==undefined){if(Buffer.isBuffer(this._cachedSource)){return this._cachedBuffer=this._cachedSource}return this._cachedBuffer=Buffer.from(this._cachedSource,"utf-8")}if(typeof this.original().buffer==="function"){return this._cachedBuffer=this.original().buffer()}const E=this.source();if(Buffer.isBuffer(E)){return this._cachedBuffer=E}return this._cachedBuffer=Buffer.from(E,"utf-8")}size(){if(this._cachedSize!==undefined)return this._cachedSize;if(this._cachedBuffer!==undefined){return this._cachedSize=this._cachedBuffer.length}const E=this._getCachedSource();if(E!==undefined){return this._cachedSize=Buffer.byteLength(E)}return this._cachedSize=this.original().size()}sourceAndMap(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){const E=this._getMapFromCacheEntry(R);return{source:this.source(),map:E}}let j=this._getCachedSource();let $;if(j!==undefined){$=this.original().map(E)}else{const N=this.original().sourceAndMap(E);j=N.source;$=N.map;this._cachedSource=j}this._cachedMaps.set(N,{map:$,bufferedMap:undefined});return{source:j,map:$}}streamChunks(E,N,R,j){const ie=E?JSON.stringify(E):"{}";if(this._cachedMaps.has(ie)&&(this._cachedBuffer!==undefined||this._cachedSource!==undefined)){const{source:G,map:ie}=this.sourceAndMap(E);if(ie){return $(G,ie,N,R,j,!!(E&&E.finalSource),true)}else{return q(G,N,R,j,!!(E&&E.finalSource))}}const{result:ae,source:ce,map:le}=G(this.original(),E,N,R,j);this._cachedSource=ce;this._cachedMaps.set(ie,{map:le,bufferedMap:undefined});return ae}map(E){const N=E?JSON.stringify(E):"{}";const R=this._cachedMaps.get(N);if(R!==undefined){return this._getMapFromCacheEntry(R)}const j=this.original().map(E);this._cachedMaps.set(N,{map:j,bufferedMap:undefined});return j}updateHash(E){if(this._cachedHashUpdate!==undefined){for(const N of this._cachedHashUpdate)E.update(N);return}const N=[];let R=undefined;const j={update:E=>{if(typeof E==="string"&&E.length<10240){if(R===undefined){R=E}else{R+=E;if(R.length>102400){N.push(Buffer.from(R));R=undefined}}}else{if(R!==undefined){N.push(Buffer.from(R));R=undefined}N.push(E)}}};this.original().updateHash(j);if(R!==undefined){N.push(Buffer.from(R))}for(const R of N)E.update(R);this._cachedHashUpdate=N}}E.exports=CachedSource},7961:(E,N,R)=>{"use strict";const j=R(33839);class CompatSource extends j{static from(E){return E instanceof j?E:new CompatSource(E)}constructor(E){super();this._sourceLike=E}source(){return this._sourceLike.source()}buffer(){if(typeof this._sourceLike.buffer==="function"){return this._sourceLike.buffer()}return super.buffer()}size(){if(typeof this._sourceLike.size==="function"){return this._sourceLike.size()}return super.size()}map(E){if(typeof this._sourceLike.map==="function"){return this._sourceLike.map(E)}return super.map(E)}sourceAndMap(E){if(typeof this._sourceLike.sourceAndMap==="function"){return this._sourceLike.sourceAndMap(E)}return super.sourceAndMap(E)}updateHash(E){if(typeof this._sourceLike.updateHash==="function"){return this._sourceLike.updateHash(E)}if(typeof this._sourceLike.map==="function"){throw new Error("A Source-like object with a 'map' method must also provide an 'updateHash' method")}E.update(this.buffer())}}E.exports=CompatSource},96123:(E,N,R)=>{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=new WeakSet;class ConcatSource extends j{constructor(){super();this._children=[];for(let E=0;E{const Ne=R+$;const Me=R===1?j+G:j;if(_e){if(R!==1||j!==0){N(undefined,$+1,G,-1,-1,-1,-1)}_e=false}const Le=q<0||q>=Te.length?-1:Te[q];const Be=Ee<0||Ee>=we.length?-1:we[Ee];Ie=Le<0?0:R;if(ce){if(E!==undefined)le+=E;if(Le>=0){N(undefined,Ne,Me,Le,ie,ae,Be)}}else{if(Le<0){N(E,Ne,Me,-1,-1,-1,-1)}else{N(E,Ne,Me,Le,ie,ae,Be)}}}),((E,N,j)=>{let $=ie.get(N);if($===undefined){ie.set(N,$=ie.size);R($,N,j)}Te[E]=$}),((E,N)=>{let R=ae.get(N);if(R===undefined){ae.set(N,R=ae.size);j(R,N)}we[E]=R}));if(Le!==undefined)le+=Le;if(_e){if(Ne!==1||Me!==0){N(undefined,$+1,G,-1,-1,-1,-1);_e=false}}if(Ne>1){G=Me}else{G+=Me}_e=_e||ce&&Ie===Ne;$+=Ne-1}return{generatedLine:$+1,generatedColumn:G,source:ce?le:undefined}}updateHash(E){if(!this._isOptimized)this._optimize();E.update("ConcatSource");for(const N of this._children){N.updateHash(E)}}_optimize(){const E=[];let N=undefined;let R=undefined;const addStringToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E)}else{R=[typeof R==="string"?R:R.source(),E]}};const addSourceToRawSources=E=>{if(R===undefined){R=E}else if(Array.isArray(R)){R.push(E.source())}else{R=[typeof R==="string"?R:R.source(),E.source()]}};const mergeRawSources=()=>{if(Array.isArray(R)){const N=new $(R.join(""));ae.add(N);E.push(N)}else if(typeof R==="string"){const N=new $(R);ae.add(N);E.push(N)}else{E.push(R)}};for(const j of this._children){if(typeof j==="string"){if(N===undefined){N=j}else{N+=j}}else{if(N!==undefined){addStringToRawSources(N);N=undefined}if(ae.has(j)){addSourceToRawSources(j)}else{if(R!==undefined){mergeRawSources();R=undefined}E.push(j)}}}if(N!==undefined){addStringToRawSources(N)}if(R!==undefined){mergeRawSources()}this._children=E;this._isOptimized=true}}E.exports=ConcatSource},11176:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(41286);const G=R(13597);const ie=R(33839);const ae=/[^\n;{}]+[;{} \r\t]*\n?|[;{} \r\t]+\n?|\n/g;class OriginalSource extends ie{constructor(E,N){super();const R=Buffer.isBuffer(E);this._value=R?undefined:E;this._valueAsBuffer=R?E:undefined;this._name=N}getName(){return this._name}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return j(this,E)}sourceAndMap(E){return $(this,E)}streamChunks(E,N,R,j){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}R(0,this._name,this._value);const $=!!(E&&E.finalSource);if(!E||E.columns!==false){const E=this._value.match(ae);let R=1;let j=0;if(E!==null){for(const q of E){const E=q.endsWith("\n");if(E&&q.length===1){if(!$)N(q,R,j,-1,-1,-1,-1)}else{const E=$?undefined:q;N(E,R,j,0,R,j,-1)}if(E){R++;j=0}else{j+=q.length}}}return{generatedLine:R,generatedColumn:j,source:$?this._value:undefined}}else if($){const E=G(this._value);const{generatedLine:R,generatedColumn:j}=E;if(j===0){for(let E=1;E{"use strict";const j=R(33839);const $=R(76274);const q=R(60715);const{getMap:G,getSourceAndMap:ie}=R(53562);const ae=/\n(?=.|\s)/g;class PrefixSource extends j{constructor(E,N){super();this._source=typeof N==="string"||Buffer.isBuffer(N)?new $(N,true):N;this._prefix=E}getPrefix(){return this._prefix}original(){return this._source}source(){const E=this._source.source();const N=this._prefix;return N+E.replace(ae,"\n"+N)}map(E){return G(this,E)}sourceAndMap(E){return ie(this,E)}streamChunks(E,N,R,j){const $=this._prefix;const G=$.length;const ie=!!(E&&E.columns===false);const{generatedLine:ce,generatedColumn:le,source:_e}=q(this._source,E,((E,R,j,q,ae,ce,le)=>{if(j!==0){j+=G}else if(E!==undefined){if(ie||q<0){E=$+E}else if(G>0){N($,R,j,-1,-1,-1,-1);j+=G}}else if(!ie){j+=G}N(E,R,j,q,ae,ce,le)}),R,j);return{generatedLine:ce,generatedColumn:le===0?0:G+le,source:_e!==undefined?$+_e.replace(ae,"\n"+$):undefined}}updateHash(E){E.update("PrefixSource");this._source.updateHash(E);E.update(this._prefix)}}E.exports=PrefixSource},76274:(E,N,R)=>{"use strict";const j=R(65821);const $=R(33839);class RawSource extends ${constructor(E,N=false){super();const R=Buffer.isBuffer(E);if(!R&&typeof E!=="string"){throw new TypeError("argument 'value' must be either string of Buffer")}this._valueIsBuffer=!N&&R;this._value=N&&R?undefined:E;this._valueAsBuffer=R?E:undefined;this._valueAsString=R?undefined:E}isBuffer(){return this._valueIsBuffer}source(){if(this._value===undefined){this._value=this._valueAsBuffer.toString("utf-8")}return this._value}buffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}return this._valueAsBuffer}map(E){return null}streamChunks(E,N,R,$){if(this._value===undefined){this._value=Buffer.from(this._valueAsBuffer,"utf-8")}if(this._valueAsString===undefined){this._valueAsString=typeof this._value==="string"?this._value:this._value.toString("utf-8")}return j(this._valueAsString,N,R,$,!!(E&&E.finalSource))}updateHash(E){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._value,"utf-8")}E.update("RawSource");E.update(this._valueAsBuffer)}}E.exports=RawSource},79722:(E,N,R)=>{"use strict";const{getMap:j,getSourceAndMap:$}=R(53562);const q=R(60715);const G=R(33839);const ie=R(41286);const ae=typeof process==="object"&&process.versions&&typeof process.versions.v8==="string"&&!/^[0-6]\./.test(process.versions.v8);const ce=536870912;class Replacement{constructor(E,N,R,j){this.start=E;this.end=N;this.content=R;this.name=j;if(!ae){this.index=-1}}}class ReplaceSource extends G{constructor(E,N){super();this._source=E;this._name=N;this._replacements=[];this._isSorted=true}getName(){return this._name}getReplacements(){this._sortReplacements();return this._replacements}replace(E,N,R,j){if(typeof R!=="string")throw new Error("insertion must be a string, but is a "+typeof R);this._replacements.push(new Replacement(E,N,R,j));this._isSorted=false}insert(E,N,R){if(typeof N!=="string")throw new Error("insertion must be a string, but is a "+typeof N+": "+N);this._replacements.push(new Replacement(E,E-1,N,R));this._isSorted=false}source(){if(this._replacements.length===0){return this._source.source()}let E=this._source.source();let N=0;const R=[];this._sortReplacements();for(const j of this._replacements){const $=Math.floor(j.start);const q=Math.floor(j.end+1);if(N<$){const j=$-N;R.push(E.slice(0,j));E=E.slice(j);N=$}R.push(j.content);if(NE.index=N));this._replacements.sort((function(E,N){const R=E.start-N.start;if(R!==0)return R;const j=E.end-N.end;if(j!==0)return j;return E.index-N.index}))}this._isSorted=true}streamChunks(E,N,R,j){this._sortReplacements();const $=this._replacements;let G=0;let ae=0;let le=-1;let _e=ae<$.length?Math.floor($[ae].start):ce;let Ee=0;let Te=0;let we=0;const Ie=[];const Ne=new Map;const Me=[];const checkOriginalContent=(E,N,R,j)=>{let $=E{let je=0;let Ue=G+E.length;if(le>G){if(le>=Ue){const N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length}else{Te=-E.length;we=N}G=Ue;return}je=le-G;if(checkOriginalContent(ie,Ie,Le,E.slice(0,je))){Le+=je}G+=je;const N=R+Ee;if(we===N){Te-=je}else{Te=-je;we=N}q+=je}if(_eG){const R=_e-G;const j=E.slice(je,je+R);N(j,ze,q+(ze===we?Te:0),ie,Ie,Le,Be<0||Be>=Me.length?-1:Me[Be]);q+=R;je+=R;G=_e;if(checkOriginalContent(ie,Ie,Le,j)){Le+=j.length}}const We=/[^\n]+\n?|\n/g;const{content:Je,name:Ve}=$[ae];let qe=We.exec(Je);let He=Be;if(ie>=0&&Ve){let E=Ne.get(Ve);if(E===undefined){E=Ne.size;Ne.set(Ve,E);j(E,Ve)}He=E}while(qe!==null){const E=qe[0];N(E,ze,q+(ze===we?Te:0),ie,Ie,Le,He);He=-1;qe=We.exec(Je);if(qe===null&&!E.endsWith("\n")){if(we===ze){Te+=E.length}else{Te=E.length;we=ze}}else{Ee++;ze++;Te=-q;we=ze}}le=Math.max(le,Math.floor($[ae].end+1));ae++;_e=ae<$.length?Math.floor($[ae].start):ce;const Ge=E.length-Ue+le-je;if(Ge>0){if(le>=Ue){let N=R+Ee;if(E.endsWith("\n")){Ee--;if(we===N){Te+=q}}else if(we===N){Te-=E.length-je}else{Te=je-E.length;we=N}G=Ue;return}const N=R+Ee;if(checkOriginalContent(ie,Ie,Le,E.slice(je,je+Ge))){Le+=Ge}je+=Ge;G+=Ge;if(we===N){Te-=Ge}else{Te=-Ge;we=N}q+=Ge}}while(_e{while(Ie.length{let R=Ne.get(N);if(R===undefined){R=Ne.size;Ne.set(N,R);j(R,N)}Me[E]=R}));let je="";for(;ae<$.length;ae++){je+=$[ae].content}let Ue=Le+Ee;const ze=/[^\n]+\n?|\n/g;let We=ze.exec(je);while(We!==null){const E=We[0];N(E,Ue,Be+(Ue===we?Te:0),-1,-1,-1,-1);We=ze.exec(je);if(We===null&&!E.endsWith("\n")){if(we===Ue){Te+=E.length}else{Te=E.length;we=Ue}}else{Ee++;Ue++;Te=-Be;we=Ue}}return{generatedLine:Ue,generatedColumn:Be+(Ue===we?Te:0)}}updateHash(E){this._sortReplacements();E.update("ReplaceSource");this._source.updateHash(E);E.update(this._name||"");for(const N of this._replacements){E.update(`${N.start}${N.end}${N.content}${N.name}`)}}}E.exports=ReplaceSource},93883:(E,N,R)=>{"use strict";const j=R(33839);class SizeOnlySource extends j{constructor(E){super();this._size=E}_error(){return new Error("Content and Map of this Source is not available (only size() is supported)")}size(){return this._size}source(){throw this._error()}buffer(){throw this._error()}map(E){throw this._error()}updateHash(){throw this._error()}}E.exports=SizeOnlySource},33839:E=>{"use strict";class Source{source(){throw new Error("Abstract")}buffer(){const E=this.source();if(Buffer.isBuffer(E))return E;return Buffer.from(E,"utf-8")}size(){return this.buffer().length}map(E){return null}sourceAndMap(E){return{source:this.source(),map:this.map(E)}}updateHash(E){throw new Error("Abstract")}}E.exports=Source},82340:(E,N,R)=>{"use strict";const j=R(33839);const $=R(44084);const q=R(86924);const{getMap:G,getSourceAndMap:ie}=R(53562);class SourceMapSource extends j{constructor(E,N,R,j,$,q){super();const G=Buffer.isBuffer(E);this._valueAsString=G?undefined:E;this._valueAsBuffer=G?E:undefined;this._name=N;this._hasSourceMap=!!R;const ie=Buffer.isBuffer(R);const ae=typeof R==="string";this._sourceMapAsObject=ie||ae?undefined:R;this._sourceMapAsString=ae?R:undefined;this._sourceMapAsBuffer=ie?R:undefined;this._hasOriginalSource=!!j;const ce=Buffer.isBuffer(j);this._originalSourceAsString=ce?undefined:j;this._originalSourceAsBuffer=ce?j:undefined;this._hasInnerSourceMap=!!$;const le=Buffer.isBuffer($);const _e=typeof $==="string";this._innerSourceMapAsObject=le||_e?undefined:$;this._innerSourceMapAsString=_e?$:undefined;this._innerSourceMapAsBuffer=le?$:undefined;this._removeOriginalSource=q}_ensureValueBuffer(){if(this._valueAsBuffer===undefined){this._valueAsBuffer=Buffer.from(this._valueAsString,"utf-8")}}_ensureValueString(){if(this._valueAsString===undefined){this._valueAsString=this._valueAsBuffer.toString("utf-8")}}_ensureOriginalSourceBuffer(){if(this._originalSourceAsBuffer===undefined&&this._hasOriginalSource){this._originalSourceAsBuffer=Buffer.from(this._originalSourceAsString,"utf-8")}}_ensureOriginalSourceString(){if(this._originalSourceAsString===undefined&&this._hasOriginalSource){this._originalSourceAsString=this._originalSourceAsBuffer.toString("utf-8")}}_ensureInnerSourceMapObject(){if(this._innerSourceMapAsObject===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsObject=JSON.parse(this._innerSourceMapAsString)}}_ensureInnerSourceMapBuffer(){if(this._innerSourceMapAsBuffer===undefined&&this._hasInnerSourceMap){this._ensureInnerSourceMapString();this._innerSourceMapAsBuffer=Buffer.from(this._innerSourceMapAsString,"utf-8")}}_ensureInnerSourceMapString(){if(this._innerSourceMapAsString===undefined&&this._hasInnerSourceMap){if(this._innerSourceMapAsBuffer!==undefined){this._innerSourceMapAsString=this._innerSourceMapAsBuffer.toString("utf-8")}else{this._innerSourceMapAsString=JSON.stringify(this._innerSourceMapAsObject)}}}_ensureSourceMapObject(){if(this._sourceMapAsObject===undefined){this._ensureSourceMapString();this._sourceMapAsObject=JSON.parse(this._sourceMapAsString)}}_ensureSourceMapBuffer(){if(this._sourceMapAsBuffer===undefined){this._ensureSourceMapString();this._sourceMapAsBuffer=Buffer.from(this._sourceMapAsString,"utf-8")}}_ensureSourceMapString(){if(this._sourceMapAsString===undefined){if(this._sourceMapAsBuffer!==undefined){this._sourceMapAsString=this._sourceMapAsBuffer.toString("utf-8")}else{this._sourceMapAsString=JSON.stringify(this._sourceMapAsObject)}}}getArgsAsBuffers(){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();return[this._valueAsBuffer,this._name,this._sourceMapAsBuffer,this._originalSourceAsBuffer,this._innerSourceMapAsBuffer,this._removeOriginalSource]}buffer(){this._ensureValueBuffer();return this._valueAsBuffer}source(){this._ensureValueString();return this._valueAsString}map(E){if(!this._hasInnerSourceMap){this._ensureSourceMapObject();return this._sourceMapAsObject}return G(this,E)}sourceAndMap(E){if(!this._hasInnerSourceMap){this._ensureValueString();this._ensureSourceMapObject();return{source:this._valueAsString,map:this._sourceMapAsObject}}return ie(this,E)}streamChunks(E,N,R,j){this._ensureValueString();this._ensureSourceMapObject();this._ensureOriginalSourceString();if(this._hasInnerSourceMap){this._ensureInnerSourceMapObject();return q(this._valueAsString,this._sourceMapAsObject,this._name,this._originalSourceAsString,this._innerSourceMapAsObject,this._removeOriginalSource,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}else{return $(this._valueAsString,this._sourceMapAsObject,N,R,j,!!(E&&E.finalSource),!!(E&&E.columns!==false))}}updateHash(E){this._ensureValueBuffer();this._ensureSourceMapBuffer();this._ensureOriginalSourceBuffer();this._ensureInnerSourceMapBuffer();E.update("SourceMapSource");E.update(this._valueAsBuffer);E.update(this._sourceMapAsBuffer);if(this._hasOriginalSource){E.update(this._originalSourceAsBuffer)}if(this._hasInnerSourceMap){E.update(this._innerSourceMapAsBuffer)}E.update(this._removeOriginalSource?"true":"false")}}E.exports=SourceMapSource},47310:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");const R=32;const createMappingsSerializer=E=>{const N=E&&E.columns===false;return N?createLinesOnlyMappingsSerializer():createFullMappingsSerializer()};const createFullMappingsSerializer=()=>{let E=1;let j=0;let $=0;let q=1;let G=0;let ie=0;let ae=false;let ce=false;let le=true;return(_e,Ee,Te,we,Ie,Ne)=>{if(ae&&E===_e){if(Te===$&&we===q&&Ie===G&&!ce&&Ne<0){return""}}else{if(Te<0){return""}}let Me;if(E<_e){Me=";".repeat(_e-E);E=_e;j=0;le=false}else if(le){Me="";le=false}else{Me=","}const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Me+=N[E];break}else{Me+=N[E|R]}}};writeValue(Ee-j);j=Ee;if(Te>=0){ae=true;if(Te===$){Me+="A"}else{writeValue(Te-$);$=Te}writeValue(we-q);q=we;if(Ie===G){Me+="A"}else{writeValue(Ie-G);G=Ie}if(Ne>=0){writeValue(Ne-ie);ie=Ne;ce=true}else{ce=false}}else{ae=false}return Me}};const createLinesOnlyMappingsSerializer=()=>{let E=0;let j=1;let $=0;let q=1;return(G,ie,ae,ce,le,_e)=>{if(ae<0){return""}if(E===G){return""}let Ee;const writeValue=E=>{const j=E>>>31&1;const $=E>>31;const q=E+$^$;let G=q<<1|j;for(;;){const E=G&31;G>>=5;if(G===0){Ee+=N[E];break}else{Ee+=N[E|R]}}};E=G;if(G===j+1){j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return";AACA"}else{Ee=";AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee=";".repeat(G-j);j=G;if(ae===$){$=ae;if(ce===q+1){q=ce;return Ee+"AACA"}else{Ee+="AA";writeValue(ce-q);q=ce;return Ee+"A"}}else{Ee+="A";writeValue(ae-$);$=ae;writeValue(ce-q);q=ce;return Ee+"A"}}}};E.exports=createMappingsSerializer},53562:(E,N,R)=>{"use strict";const j=R(47310);N.getSourceAndMap=(E,N)=>{let R="";let $="";let q=[];let G=[];let ie=[];const ae=j(N);const{source:ce}=E.streamChunks(Object.assign({},N,{finalSource:true}),((E,N,j,q,G,ie,ce)=>{if(E!==undefined)R+=E;$+=ae(N,j,q,G,ie,ce)}),((E,N,R)=>{while(q.length{while(ie.length0?{version:3,file:"x",mappings:$,sources:q,sourcesContent:G.length>0?G:undefined,names:ie}:null}};N.getMap=(E,N)=>{let R="";let $=[];let q=[];let G=[];const ie=j(N);E.streamChunks(Object.assign({},N,{source:false,finalSource:true}),((E,N,j,$,q,G,ae)=>{R+=ie(N,j,$,q,G,ae)}),((E,N,R)=>{while($.length{while(G.length0?{version:3,file:"x",mappings:R,sources:$,sourcesContent:q.length>0?q:undefined,names:G}:null}},13597:E=>{"use strict";const N="\n".charCodeAt(0);const getGeneratedSourceInfo=E=>{if(E===undefined){return{}}const R=E.lastIndexOf("\n");if(R===-1){return{generatedLine:1,generatedColumn:E.length,source:E}}let j=2;for(let $=0;${"use strict";const getSource=(E,N)=>{if(N<0)return null;const{sourceRoot:R,sources:j}=E;const $=j[N];if(!R)return $;if(R.endsWith("/"))return R+$;return R+"/"+$};E.exports=getSource},93581:E=>{"use strict";const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";const R=32;const j=64;const $=j|1;const q=j|2;const G=31;const ie=new Uint8Array("z".charCodeAt(0)+1);{ie.fill(q);for(let E=0;E{const q=new Uint32Array([0,0,1,0,0]);let ce=0;let le=0;let _e=0;let Ee=1;let Te=-1;for(let we=0;weae)continue;const Ne=ie[Ie];if((Ne&j)!==0){if(q[0]>Te){if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}Te=q[0]}ce=0;if(Ne===$){Ee++;q[0]=0;Te=-1}}else if((Ne&R)===0){le|=Ne<<_e;const E=le&1?-(le>>1):le>>1;q[ce++]+=E;_e=0;le=0}else{le|=(Ne&G)<<_e;_e+=5}}if(ce===1){N(Ee,q[0],-1,-1,-1,-1)}else if(ce===4){N(Ee,q[0],q[1],q[2],q[3],-1)}else if(ce===5){N(Ee,q[0],q[1],q[2],q[3],q[4])}};E.exports=readMappings},41286:E=>{const splitIntoLines=E=>{const N=[];const R=E.length;let j=0;for(;j{"use strict";const j=R(47310);const $=R(60715);const streamAndGetSourceAndMap=(E,N,R,q,G)=>{let ie="";let ae="";let ce=[];let le=[];let _e=[];const Ee=j(Object.assign({},N,{columns:true}));const Te=!!(N&&N.finalSource);const{generatedLine:we,generatedColumn:Ie,source:Ne}=$(E,N,((E,N,j,$,q,G,ce)=>{if(E!==undefined)ie+=E;ae+=Ee(N,j,$,q,G,ce);return R(Te?undefined:E,N,j,$,q,G,ce)}),((E,N,R)=>{while(ce.length{while(_e.length0?{version:3,file:"x",mappings:ae,sources:ce,sourcesContent:le.length>0?le:undefined,names:_e}:null}};E.exports=streamAndGetSourceAndMap},60715:(E,N,R)=>{"use strict";const j=R(65821);const $=R(44084);E.exports=(E,N,R,q,G)=>{if(typeof E.streamChunks==="function"){return E.streamChunks(N,R,q,G)}else{const ie=E.sourceAndMap(N);if(ie.map){return $(ie.source,ie.map,R,q,G,!!(N&&N.finalSource),!!(N&&N.columns!==false))}else{return j(ie.source,R,q,G,!!(N&&N.finalSource))}}}},86924:(E,N,R)=>{"use strict";const j=R(44084);const $=R(41286);const streamChunksOfCombinedSourceMap=(E,N,R,q,G,ie,ae,ce,le,_e,Ee)=>{let Te=new Map;let we=new Map;const Ie=[];const Ne=[];const Me=[];let Le=-2;const Be=[];const je=[];const Ue=[];const ze=[];const We=[];const Je=[];const Ve=[];const findInnerMapping=(E,N)=>{if(E>Ve.length)return-1;const{mappingsData:R}=Ve[E-1];let j=0;let $=R.length/5;while(j<$){let E=j+$>>1;if(R[E*5]<=N){j=E+1}else{$=E}}if(j===0)return-1;return j-1};return j(E,N,((N,j,G,_e,Ee,qe,He)=>{if(_e===Le){const Le=findInnerMapping(Ee,qe);if(Le!==-1){const{chunks:E,mappingsData:R}=Ve[Ee-1];const q=Le*5;const ie=R[q+1];const _e=R[q+2];let Ie=R[q+3];let Ge=R[q+4];if(ie>=0){const Ee=E[Le];const Ve=R[q];const Ke=qe-Ve;if(Ke>0){let E=ie=0){Xe=Ge=0){let E=ze[ie];if(E===undefined){const N=Ue[ie];E=N?$(N):null;ze[ie]=E}if(E!==null){const N=Me[He];const R=_e<=E.length?E[_e-1].slice(Ie,Ie+N.length):"";if(N===R){Xe=He=Ie.length?-1:Ie[_e];if(Ge<0){ae(N,j,G,-1,-1,-1,-1)}else{let E=-1;if(He>=0&&He{if(N===R){Le=E;if(q!==undefined)$=q;else q=$;Ie[E]=-2;j($,G,((E,N,R,j,$,q,G)=>{while(Ve.length{Ue[E]=R;ze[E]=undefined;Be[E]=-2;je[E]=[N,R]}),((E,N)=>{We[E]=-2;Je[E]=N}),false,Ee)}else{let R=Te.get(N);if(R===undefined){Te.set(N,R=Te.size);ce(R,N,$)}Ie[E]=R}}),((E,N)=>{Ne[E]=-2;Me[E]=N}),_e,Ee)};E.exports=streamChunksOfCombinedSourceMap},65821:(E,N,R)=>{"use strict";const j=R(13597);const $=R(41286);const streamChunksOfRawSource=(E,N,R,j)=>{let q=1;const G=$(E);let ie;for(ie of G){N(ie,q,0,-1,-1,-1,-1);q++}return G.length===0||ie.endsWith("\n")?{generatedLine:G.length+1,generatedColumn:0}:{generatedLine:G.length,generatedColumn:ie.length}};E.exports=(E,N,R,$,q)=>q?j(E):streamChunksOfRawSource(E,N,R,$)},44084:(E,N,R)=>{"use strict";const j=R(13597);const $=R(86507);const q=R(93581);const G=R(41286);const streamChunksOfSourceMapFull=(E,N,R,j,ie)=>{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,names:_e,mappings:Ee}=N;for(let E=0;E{if(Be&&Me<=ae.length){let j;const $=Me;const q=Le;const G=ae[Me-1];if(E!==Me){j=G.slice(Le);Me++;Le=0}else{j=G.slice(Le,N);Le=N}if(j){R(j,$,q,je,Ue,ze,We)}Be=false}if(E>Me&&Le>0){if(Me<=ae.length){const E=ae[Me-1].slice(Le);R(E,Me,Le,-1,-1,-1,-1)}Me++;Le=0}while(E>Me){if(Me<=ae.length){R(ae[Me-1],Me,0,-1,-1,-1,-1)}Me++}if(N>Le){if(Me<=ae.length){const E=ae[Me-1].slice(Le,N);R(E,Me,Le,-1,-1,-1,-1)}Le=N}if(j>=0&&(E{const ae=G(E);if(ae.length===0){return{generatedLine:1,generatedColumn:0}}const{sources:ce,sourcesContent:le,mappings:_e}=N;for(let E=0;E{if(j<0||Eae.length){return}while(E>Ee){if(Ee<=ae.length){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}Ee++}if(E<=ae.length){R(ae[E-1],E,0,j,$,q,-1);Ee++}};q(_e,onMapping);for(;Ee<=ae.length;Ee++){R(ae[Ee-1],Ee,0,-1,-1,-1,-1)}const Te=ae[ae.length-1];const we=Te.endsWith("\n");const Ie=we?ae.length+1:ae.length;const Ne=we?0:Te.length;return{generatedLine:Ie,generatedColumn:Ne}};const streamChunksOfSourceMapFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0)return ae;const{sources:_e,sourcesContent:Ee,names:Te,mappings:we}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}if(Te){for(let E=0;E{if(E>=ce&&(N>=le||E>ce)){return}if(j>=0){R(undefined,E,N,j,$,q,G);Ie=E}else if(Ie===E){R(undefined,E,N,-1,-1,-1,-1);Ie=0}};q(we,onMapping);return ae};const streamChunksOfSourceMapLinesFinal=(E,N,R,G,ie)=>{const ae=j(E);const{generatedLine:ce,generatedColumn:le}=ae;if(ce===1&&le===0){return{generatedLine:1,generatedColumn:0}}const{sources:_e,sourcesContent:Ee,mappings:Te}=N;for(let E=0;E<_e.length;E++){G(E,$(N,E),Ee&&Ee[E]||undefined)}const we=le===0?ce-1:ce;let Ie=1;const onMapping=(E,N,j,$,q,G)=>{if(j>=0&&Ie<=E&&E<=we){R(undefined,E,0,j,$,q,-1);Ie=E+1}};q(Te,onMapping);return ae};E.exports=(E,N,R,j,$,q,G)=>{if(G){return q?streamChunksOfSourceMapFinal(E,N,R,j,$):streamChunksOfSourceMapFull(E,N,R,j,$)}else{return q?streamChunksOfSourceMapLinesFinal(E,N,R,j,$):streamChunksOfSourceMapLinesFull(E,N,R,j,$)}}},48135:(E,N,R)=>{const defineExport=(E,R)=>{let j;Object.defineProperty(N,E,{get:()=>{if(R!==undefined){j=R();R=undefined}return j},configurable:true})};defineExport("Source",(()=>R(33839)));defineExport("RawSource",(()=>R(76274)));defineExport("OriginalSource",(()=>R(11176)));defineExport("SourceMapSource",(()=>R(82340)));defineExport("CachedSource",(()=>R(76185)));defineExport("ConcatSource",(()=>R(96123)));defineExport("ReplaceSource",(()=>R(79722)));defineExport("PrefixSource",(()=>R(96276)));defineExport("SizeOnlySource",(()=>R(93883)));defineExport("CompatSource",(()=>R(7961)))},63221:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=$e,E.exports["default"]=$e;const R={amd:{$ref:"#/definitions/Amd"},bail:{$ref:"#/definitions/Bail"},cache:{$ref:"#/definitions/CacheOptions"},context:{$ref:"#/definitions/Context"},dependencies:{$ref:"#/definitions/Dependencies"},devServer:{$ref:"#/definitions/DevServer"},devtool:{$ref:"#/definitions/DevTool"},entry:{$ref:"#/definitions/Entry"},experiments:{$ref:"#/definitions/Experiments"},externals:{$ref:"#/definitions/Externals"},externalsPresets:{$ref:"#/definitions/ExternalsPresets"},externalsType:{$ref:"#/definitions/ExternalsType"},ignoreWarnings:{$ref:"#/definitions/IgnoreWarnings"},infrastructureLogging:{$ref:"#/definitions/InfrastructureLogging"},loader:{$ref:"#/definitions/Loader"},mode:{$ref:"#/definitions/Mode"},module:{$ref:"#/definitions/ModuleOptions"},name:{$ref:"#/definitions/Name"},node:{$ref:"#/definitions/Node"},optimization:{$ref:"#/definitions/Optimization"},output:{$ref:"#/definitions/Output"},parallelism:{$ref:"#/definitions/Parallelism"},performance:{$ref:"#/definitions/Performance"},plugins:{$ref:"#/definitions/Plugins"},profile:{$ref:"#/definitions/Profile"},recordsInputPath:{$ref:"#/definitions/RecordsInputPath"},recordsOutputPath:{$ref:"#/definitions/RecordsOutputPath"},recordsPath:{$ref:"#/definitions/RecordsPath"},resolve:{$ref:"#/definitions/Resolve"},resolveLoader:{$ref:"#/definitions/ResolveLoader"},snapshot:{$ref:"#/definitions/SnapshotOptions"},stats:{$ref:"#/definitions/StatsValue"},target:{$ref:"#/definitions/Target"},watch:{$ref:"#/definitions/Watch"},watchOptions:{$ref:"#/definitions/WatchOptions"}},j=Object.prototype.hasOwnProperty,$={allowCollectingMemory:{type:"boolean"},buildDependencies:{type:"object",additionalProperties:{type:"array",items:{type:"string",minLength:1}}},cacheDirectory:{type:"string",absolutePath:!0},cacheLocation:{type:"string",absolutePath:!0},compression:{enum:[!1,"gzip","brotli"]},hashAlgorithm:{type:"string"},idleTimeout:{type:"number",minimum:0},idleTimeoutAfterLargeChanges:{type:"number",minimum:0},idleTimeoutForInitialStore:{type:"number",minimum:0},immutablePaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},managedPaths:{type:"array",items:{anyOf:[{instanceof:"RegExp"},{type:"string",absolutePath:!0,minLength:1}]}},maxAge:{type:"number",minimum:0},maxMemoryGenerations:{type:"number",minimum:0},memoryCacheUnaffected:{type:"boolean"},name:{type:"string"},profile:{type:"boolean"},store:{enum:["pack"]},type:{enum:["filesystem"]},version:{type:"string"}};function s(E,{instancePath:R="",parentData:q,parentDataProperty:G,rootData:ie=E}={}){let ae=null,ce=0;const le=ce;let _e=!1;const Ee=ce;if(!1!==E){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Te=Ee===ce;if(_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.type&&(N="type")){const E={params:{missingProperty:N}};null===ae?ae=[E]:ae.push(E),ce++}else{const N=ce;for(const N in E)if("cacheUnaffected"!==N&&"maxGenerations"!==N&&"type"!==N){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(N===ce){if(void 0!==E.cacheUnaffected){const N=ce;if("boolean"!=typeof E.cacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var we=N===ce}else we=!0;if(we){if(void 0!==E.maxGenerations){let N=E.maxGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<1||isNaN(N)){const E={params:{comparison:">=",limit:1}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}we=R===ce}else we=!0;if(we)if(void 0!==E.type){const N=ce;if("memory"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}we=N===ce}else we=!0}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}if(Te=R===ce,_e=_e||Te,!_e){const R=ce;if(ce==ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let R;if(void 0===E.type&&(R="type")){const E={params:{missingProperty:R}};null===ae?ae=[E]:ae.push(E),ce++}else{const R=ce;for(const N in E)if(!j.call($,N)){const E={params:{additionalProperty:N}};null===ae?ae=[E]:ae.push(E),ce++;break}if(R===ce){if(void 0!==E.allowCollectingMemory){const N=ce;if("boolean"!=typeof E.allowCollectingMemory){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}var Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.buildDependencies){let N=E.buildDependencies;const R=ce;if(ce===R)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let N=0;N=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutAfterLargeChanges){let N=E.idleTimeoutAfterLargeChanges;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.idleTimeoutForInitialStore){let N=E.idleTimeoutForInitialStore;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.immutablePaths){let R=E.immutablePaths;const j=ce;if(ce===j)if(Array.isArray(R)){const E=R.length;for(let j=0;j=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.maxMemoryGenerations){let N=E.maxMemoryGenerations;const R=ce;if(ce===R)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"number"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=R===ce}else Ie=!0;if(Ie){if(void 0!==E.memoryCacheUnaffected){const N=ce;if("boolean"!=typeof E.memoryCacheUnaffected){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.name){const N=ce;if("string"!=typeof E.name){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile){const E={params:{type:"boolean"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.store){const N=ce;if("pack"!==E.store){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie){if(void 0!==E.type){const N=ce;if("filesystem"!==E.type){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0;if(Ie)if(void 0!==E.version){const N=ce;if("string"!=typeof E.version){const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ie=N===ce}else Ie=!0}}}}}}}}}}}}}}}}}}}}else{const E={params:{type:"object"}};null===ae?ae=[E]:ae.push(E),ce++}Te=R===ce,_e=_e||Te}}if(!_e){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,s.errors=ae,!1}return ce=le,null!==ae&&(le?ae.length=le:ae=null),s.errors=ae,0===ce}function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!0!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;s(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?s.errors:q.concat(s.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,o.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),o.errors=q,0===G}const q={chunkLoading:{$ref:"#/definitions/ChunkLoading"},dependOn:{anyOf:[{type:"array",items:{type:"string",minLength:1},minItems:1,uniqueItems:!0},{type:"string",minLength:1}]},filename:{$ref:"#/definitions/EntryFilename"},import:{$ref:"#/definitions/EntryItem"},layer:{$ref:"#/definitions/Layer"},library:{$ref:"#/definitions/LibraryOptions"},publicPath:{$ref:"#/definitions/PublicPath"},runtime:{$ref:"#/definitions/EntryRuntime"},wasmLoading:{$ref:"#/definitions/WasmLoading"}};function i(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G,R=G;let j=!1;const $=G;if("jsonp"!==E&&"import-scripts"!==E&&"require"!==E&&"async-node"!==E&&"import"!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var _e=$===G;if(j=j||_e,!j){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G,j=j||_e}if(j)G=R,null!==q&&(R?q.length=R:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,i.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),i.errors=q,0===G}function l(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;const ae=ie;let ce=!1,le=null;const _e=ie,Ee=ie;let Te=!1;const we=ie;if(ie===we)if("string"==typeof E){if(E.includes("!")||!1!==N.test(E)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(E.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var Ie=we===ie;if(Te=Te||Ie,!Te){const N=ie;if(!(E instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}Ie=N===ie,Te=Te||Ie}if(Te)ie=Ee,null!==G&&(Ee?G.length=Ee:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(_e===ie&&(ce=!0,le=0),!ce){const E={params:{passingSchemas:le}};return null===G?G=[E]:G.push(E),ie++,l.errors=G,!1}return ie=ae,null!==G&&(ae?G.length=ae:G=null),l.errors=G,0===ie}function p(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const N=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("amd"!==N&&"commonjs"!==N&&"commonjs2"!==N&&"root"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.amd){const N=G;if("string"!=typeof E.amd){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}var _e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs){const N=G;if("string"!=typeof E.commonjs){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e){if(void 0!==E.commonjs2){const N=G;if("string"!=typeof E.commonjs2){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0;if(_e)if(void 0!==E.root){const N=G;if("string"!=typeof E.root){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}_e=N===G}else _e=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,p.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),p.errors=q,0===G}function f(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=q===ae;if($=$||_e,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,$=$||_e}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){const R=ae;l(E.filename,{instancePath:N+"/filename",parentData:E,parentDataProperty:"filename",rootData:G})||(ie=null===ie?l.errors:ie.concat(l.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.import){let N=E.import;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if(Array.isArray(N))if(N.length<1){const E={params:{limit:1}};null===ie?ie=[E]:ie.push(E),ae++}else{var Ee=!0;const E=N.length;for(let R=0;R1){const j={};for(;R--;){let $=N[R];if("string"==typeof $){if("number"==typeof j[$]){E=j[$];const N={params:{i:R,j:E}};null===ie?ie=[N]:ie.push(N),ae++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(null!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var we=q===ae;if($=$||we,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,$=$||we}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.library){const R=ae;u(E.library,{instancePath:N+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?u.errors:ie.concat(u.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.publicPath){const R=ae;c(E.publicPath,{instancePath:N+"/publicPath",parentData:E,parentDataProperty:"publicPath",rootData:G})||(ie=null===ie?c.errors:ie.concat(c.errors),ae=ie.length),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.runtime){let N=E.runtime;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(ae===E)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,y.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.wasmLoading){const R=ae;m(E.wasmLoading,{instancePath:N+"/wasmLoading",parentData:E,parentDataProperty:"wasmLoading",rootData:G})||(ie=null===ie?m.errors:ie.concat(m.errors),ae=ie.length),ce=R===ae}else ce=!0}}}}}}}}}}}return y.errors=ie,0===ae}function h(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return h.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const le=G,_e=G;let Ee=!1;const Te=G,we=G;let Ie=!1;const Ne=G;if(G===Ne)if(Array.isArray(j))if(j.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var ie=!0;const E=j.length;for(let N=0;N1){const R={};for(;N--;){let $=j[N];if("string"==typeof $){if("number"==typeof R[$]){E=R[$];const j={params:{i:N,j:E}};null===q?q=[j]:q.push(j),G++;break}R[$]=N}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var ae=Ne===G;if(Ie=Ie||ae,!Ie){const E=G;if(G===E)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,Ie=Ie||ae}if(Ie)G=we,null!==q&&(we?q.length=we:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=Te===G;if(Ee=Ee||ce,!Ee){const ie=G;y(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?y.errors:q.concat(y.errors),G=q.length),ce=ie===G,Ee=Ee||ce}if(!Ee){const E={params:{}};return null===q?q=[E]:q.push(E),G++,h.errors=q,!1}if(G=_e,null!==q&&(_e?q.length=_e:q=null),le!==G)break}}return h.errors=q,0===G}function d(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1,ce=null;const le=G,_e=G;let Ee=!1;const Te=G;if(G===Te)if(Array.isArray(E))if(E.length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else{var we=!0;const N=E.length;for(let R=0;R1){const j={};for(;R--;){let $=E[R];if("string"==typeof $){if("number"==typeof j[$]){N=j[$];const E={params:{i:R,j:N}};null===q?q=[E]:q.push(E),G++;break}j[$]=R}}}}}else{const E={params:{type:"array"}};null===q?q=[E]:q.push(E),G++}var Ie=Te===G;if(Ee=Ee||Ie,!Ee){const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}Ie=N===G,Ee=Ee||Ie}if(Ee)G=_e,null!==q&&(_e?q.length=_e:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}if(le===G&&(ae=!0,ce=0),!ae){const E={params:{passingSchemas:ce}};return null===q?q=[E]:q.push(E),G++,d.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),d.errors=q,0===G}function g(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;h(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?h.errors:q.concat(h.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const ie=G;d(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?d.errors:q.concat(d.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,g.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),g.errors=q,0===G}function b(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=ce===G;if(ae=ae||le,!ae){const ie=G;g(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?g.errors:q.concat(g.errors),G=q.length),le=ie===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,b.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),b.errors=q,0===G}const G={asyncWebAssembly:{type:"boolean"},backCompat:{type:"boolean"},buildHttp:{anyOf:[{$ref:"#/definitions/HttpUriAllowedUris"},{$ref:"#/definitions/HttpUriOptions"}]},cacheUnaffected:{type:"boolean"},futureDefaults:{type:"boolean"},layers:{type:"boolean"},lazyCompilation:{anyOf:[{type:"boolean"},{$ref:"#/definitions/LazyCompilationOptions"}]},outputModule:{type:"boolean"},syncWebAssembly:{type:"boolean"},topLevelAwait:{type:"boolean"}},ie=new RegExp("^https?://","u");function P(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ae=G;let ce=!1,le=null;const _e=G;if(G==G)if(Array.isArray(E)){const N=E.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var _e=Te===ae;if(Ee=Ee||_e,!Ee){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}_e=E===ae,Ee=Ee||_e}if(Ee)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=G===ae;if(q=q||Ee,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,q=q||Ee}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.idHint){const N=ae;if("string"!=typeof E.idHint)return pe.errors=[{params:{type:"string"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.layer){let N=E.layer;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Te=q===ae;if($=$||Te,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Te=E===ae,$=$||Te,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,$=$||Te}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var we=Ee===ae;if(_e=_e||we,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}we=E===ae,_e=_e||we}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=Ee===ae;if(_e=_e||Ie,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,_e=_e||Ie}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=Ee===ae;if(_e=_e||Ne,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=E===ae,_e=_e||Ne}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return pe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Me=Ee===ae;if(_e=_e||Me,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Me=E===ae,_e=_e||Me}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=Ee===ae;if(_e=_e||Be,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=E===ae,_e=_e||Be}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=Ee===ae;if(_e=_e||je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=E===ae,_e=_e||je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=q===ae;if($=$||Ue,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ue=E===ae,$=$||Ue,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ue=E===ae,$=$||Ue}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.priority){let N=E.priority;const R=ae;if("number"!=typeof N||!isFinite(N))return pe.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.reuseExistingChunk){const N=ae;if("boolean"!=typeof E.reuseExistingChunk)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.test){let N=E.test;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var ze=q===ae;if($=$||ze,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(ze=E===ae,$=$||ze,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,$=$||ze}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.type){let N=E.type;const R=ae,j=ae;let $=!1;const q=ae;if(!(N instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var We=q===ae;if($=$||We,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(We=E===ae,$=$||We,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,$=$||We}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,pe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return pe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}}}}return pe.errors=ie,0===ae}function fe(E,{instancePath:R="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return fe.errors=[{params:{type:"object"}}],!1;{const $=ae;for(const N in E)if(!j.call(Me,N))return fe.errors=[{params:{additionalProperty:N}}],!1;if($===ae){if(void 0!==E.automaticNameDelimiter){let N=E.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof N)return fe.errors=[{params:{type:"string"}}],!1;if(N.length<1)return fe.errors=[{params:{}}],!1}var ce=R===ae}else ce=!0;if(ce){if(void 0!==E.cacheGroups){let N=E.cacheGroups;const j=ae,$=ae,q=ae;if(ae===q)if(N&&"object"==typeof N&&!Array.isArray(N)){let E;if(void 0===N.test&&(E="test")){const E={};null===ie?ie=[E]:ie.push(E),ae++}else if(void 0!==N.test){let E=N.test;const R=ae;let j=!1;const $=ae;if(!(E instanceof RegExp)){const E={};null===ie?ie=[E]:ie.push(E),ae++}var le=$===ae;if(j=j||le,!j){const N=ae;if("string"!=typeof E){const E={};null===ie?ie=[E]:ie.push(E),ae++}if(le=N===ae,j=j||le,!j){const N=ae;if(!(E instanceof Function)){const E={};null===ie?ie=[E]:ie.push(E),ae++}le=N===ae,j=j||le}}if(j)ae=R,null!==ie&&(R?ie.length=R:ie=null);else{const E={};null===ie?ie=[E]:ie.push(E),ae++}}}else{const E={};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae)return fe.errors=[{params:{}}],!1;if(ae=$,null!==ie&&($?ie.length=$:ie=null),ae===j){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;for(const E in N){let j=N[E];const $=ae,q=ae;let ce=!1;const le=ae;if(!1!==j){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var _e=le===ae;if(ce=ce||_e,!ce){const $=ae;if(!(j instanceof RegExp)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if("string"!=typeof j){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;if(!(j instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(_e=$===ae,ce=ce||_e,!ce){const $=ae;pe(j,{instancePath:R+"/cacheGroups/"+E.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:N,parentDataProperty:E,rootData:G})||(ie=null===ie?pe.errors:ie.concat(pe.errors),ae=ie.length),_e=$===ae,ce=ce||_e}}}}if(!ce){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}if(ae=q,null!==ie&&(q?ie.length=q:ie=null),$!==ae)break}}ce=j===ae}else ce=!0;if(ce){if(void 0!==E.chunks){let N=E.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==N&&"async"!==N&&"all"!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ee=q===ae;if($=$||Ee,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ee=E===ae,$=$||Ee}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.defaultSizeTypes){let N=E.defaultSizeTypes;const R=ae;if(ae===R){if(!Array.isArray(N))return fe.errors=[{params:{type:"array"}}],!1;if(N.length<1)return fe.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Te=Ee===ae;if(_e=_e||Te,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Te=E===ae,_e=_e||Te}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.fallbackCacheGroup){let N=E.fallbackCacheGroup;const R=ae;if(ae===R){if(!N||"object"!=typeof N||Array.isArray(N))return fe.errors=[{params:{type:"object"}}],!1;{const E=ae;for(const E in N)if("automaticNameDelimiter"!==E&&"chunks"!==E&&"maxAsyncSize"!==E&&"maxInitialSize"!==E&&"maxSize"!==E&&"minSize"!==E&&"minSizeReduction"!==E)return fe.errors=[{params:{additionalProperty:E}}],!1;if(E===ae){if(void 0!==N.automaticNameDelimiter){let E=N.automaticNameDelimiter;const R=ae;if(ae===R){if("string"!=typeof E)return fe.errors=[{params:{type:"string"}}],!1;if(E.length<1)return fe.errors=[{params:{}}],!1}var we=R===ae}else we=!0;if(we){if(void 0!==N.chunks){let E=N.chunks;const R=ae,j=ae;let $=!1;const q=ae;if("initial"!==E&&"async"!==E&&"all"!==E){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const N=ae;if(!(E instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=N===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxAsyncSize){let E=N.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ne=_e===ae;if(le=le||Ne,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ne=N===ae,le=le||Ne}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxInitialSize){let E=N.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Le=_e===ae;if(le=le||Le,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Le=N===ae,le=le||Le}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.maxSize){let E=N.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Be=_e===ae;if(le=le||Be,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Be=N===ae,le=le||Be}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we){if(void 0!==N.minSize){let E=N.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var je=_e===ae;if(le=le||je,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}je=N===ae,le=le||je}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0;if(we)if(void 0!==N.minSizeReduction){let E=N.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let le=!1;const _e=ae;if(ae===_e)if("number"==typeof E&&isFinite(E)){if(E<0||isNaN(E)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ue=_e===ae;if(le=le||Ue,!le){const N=ae;if(ae===N)if(E&&"object"==typeof E&&!Array.isArray(E))for(const N in E){let R=E[N];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ue=N===ae,le=le||Ue}if(le)ae=ce,null!==ie&&(ce?ie.length=ce:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),we=R===ae}else we=!0}}}}}}}}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.filename){let R=E.filename;const j=ae,$=ae;let q=!1;const G=ae;if(ae===G)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}else if(R.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var ze=G===ae;if(q=q||ze,!q){const E=ae;if(!(R instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}ze=E===ae,q=q||ze}if(!q){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=$,null!==ie&&($?ie.length=$:ie=null),ce=j===ae}else ce=!0;if(ce){if(void 0!==E.hidePathInfo){const N=ae;if("boolean"!=typeof E.hidePathInfo)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncRequests){let N=E.maxAsyncRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxAsyncSize){let N=E.maxAsyncSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var We=Ee===ae;if(_e=_e||We,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}We=E===ae,_e=_e||We}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialRequests){let N=E.maxInitialRequests;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxInitialSize){let N=E.maxInitialSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Je=Ee===ae;if(_e=_e||Je,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Je=E===ae,_e=_e||Je}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.maxSize){let N=E.maxSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ve=Ee===ae;if(_e=_e||Ve,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ve=E===ae,_e=_e||Ve}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minChunks){let N=E.minChunks;const R=ae;if(ae===R){if("number"!=typeof N||!isFinite(N))return fe.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return fe.errors=[{params:{comparison:">=",limit:1}}],!1}ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minRemainingSize){let N=E.minRemainingSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var qe=Ee===ae;if(_e=_e||qe,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}qe=E===ae,_e=_e||qe}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSize){let N=E.minSize;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var He=Ee===ae;if(_e=_e||He,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}He=E===ae,_e=_e||He}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.minSizeReduction){let N=E.minSizeReduction;const R=ae,j=ae;let $=!1,q=null;const G=ae,le=ae;let _e=!1;const Ee=ae;if(ae===Ee)if("number"==typeof N&&isFinite(N)){if(N<0||isNaN(N)){const E={params:{comparison:">=",limit:0}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}var Ge=Ee===ae;if(_e=_e||Ge,!_e){const E=ae;if(ae===E)if(N&&"object"==typeof N&&!Array.isArray(N))for(const E in N){let R=N[E];const j=ae;if("number"!=typeof R||!isFinite(R)){const E={params:{type:"number"}};null===ie?ie=[E]:ie.push(E),ae++}if(j!==ae)break}else{const E={params:{type:"object"}};null===ie?ie=[E]:ie.push(E),ae++}Ge=E===ae,_e=_e||Ge}if(_e)ae=le,null!==ie&&(le?ie.length=le:ie=null);else{const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(G===ae&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce){if(void 0!==E.name){let N=E.name;const R=ae,j=ae;let $=!1;const q=ae;if(!1!==N){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}var Ke=q===ae;if($=$||Ke,!$){const E=ae;if("string"!=typeof N){const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}if(Ke=E===ae,$=$||Ke,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ke=E===ae,$=$||Ke}}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,fe.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),ce=R===ae}else ce=!0;if(ce)if(void 0!==E.usedExports){const N=ae;if("boolean"!=typeof E.usedExports)return fe.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0}}}}}}}}}}}}}}}}}}}}return fe.errors=ie,0===ae}function ue(E,{instancePath:N="",parentData:R,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return ue.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if(!j.call(Ne,N))return ue.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.checkWasmTypes){const N=ie;if("boolean"!=typeof E.checkWasmTypes)return ue.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.chunkIds){let N=E.chunkIds;const R=ie;if("natural"!==N&&"named"!==N&&"deterministic"!==N&&"size"!==N&&"total-size"!==N&&!1!==N)return ue.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.concatenateModules){const N=ie;if("boolean"!=typeof E.concatenateModules)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emitOnErrors){const N=ie;if("boolean"!=typeof E.emitOnErrors)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.flagIncludedChunks){const N=ie;if("boolean"!=typeof E.flagIncludedChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.innerGraph){const N=ie;if("boolean"!=typeof E.innerGraph)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mangleExports){let N=E.mangleExports;const R=ie,j=ie;let $=!1;const q=ie;if("size"!==N&&"deterministic"!==N){const E={params:{}};null===G?G=[E]:G.push(E),ie++}var ce=q===ie;if($=$||ce,!$){const E=ie;if("boolean"!=typeof N){const E={params:{type:"boolean"}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,$=$||ce}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,ue.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0;if(ae){if(void 0!==E.mangleWasmImports){const N=ie;if("boolean"!=typeof E.mangleWasmImports)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.mergeDuplicateChunks){const N=ie;if("boolean"!=typeof E.mergeDuplicateChunks)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimize){const N=ie;if("boolean"!=typeof E.minimize)return ue.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.minimizer){let N=E.minimizer;const R=ie;if(ie===R){if(!Array.isArray(N))return ue.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let R=0;R=",limit:1}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ae,j=ae;let $=!1;const q=ae;if(ae===q)if("string"==typeof N){if(N.length<1){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}}else{const E={params:{type:"string"}};null===ie?ie=[E]:ie.push(E),ae++}var Ie=q===ae;if($=$||Ie,!$){const E=ae;if(!(N instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}Ie=E===ae,$=$||Ie}if(!$){const E={params:{}};return null===ie?ie=[E]:ie.push(E),ae++,De.errors=ie,!1}ae=j,null!==ie&&(j?ie.length=j:ie=null),le=R===ae}else le=!0;if(le){if(void 0!==E.hashSalt){let N=E.hashSalt;const R=ae;if(ae==ae){if("string"!=typeof N)return De.errors=[{params:{type:"string"}}],!1;if(N.length<1)return De.errors=[{params:{}}],!1}le=R===ae}else le=!0;if(le){if(void 0!==E.hotUpdateChunkFilename){let R=E.hotUpdateChunkFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.hotUpdateGlobal){const N=ae;if("string"!=typeof E.hotUpdateGlobal)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.hotUpdateMainFilename){let R=E.hotUpdateMainFilename;const j=ae;if(ae==ae){if("string"!=typeof R)return De.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!1!==N.test(R))return De.errors=[{params:{}}],!1}le=j===ae}else le=!0;if(le){if(void 0!==E.iife){const N=ae;if("boolean"!=typeof E.iife)return De.errors=[{params:{type:"boolean"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importFunctionName){const N=ae;if("string"!=typeof E.importFunctionName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.importMetaName){const N=ae;if("string"!=typeof E.importMetaName)return De.errors=[{params:{type:"string"}}],!1;le=N===ae}else le=!0;if(le){if(void 0!==E.library){const N=ae;ve(E.library,{instancePath:R+"/library",parentData:E,parentDataProperty:"library",rootData:G})||(ie=null===ie?ve.errors:ie.concat(ve.errors),ae=ie.length),le=N===ae}else le=!0;if(le){if(void 0!==E.libraryExport){let N=E.libraryExport;const R=ae,j=ae;let $=!1,q=null;const G=ae,ce=ae;let _e=!1;const Ee=ae;if(ae===Ee)if(Array.isArray(N)){const E=N.length;for(let R=0;R=",limit:1}}],!1}_e=R===ce}else _e=!0;if(_e){if(void 0!==E.performance){const N=ce;Pe(E.performance,{instancePath:$+"/performance",parentData:E,parentDataProperty:"performance",rootData:ie})||(ae=null===ae?Pe.errors:ae.concat(Pe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.plugins){const N=ce;Ae(E.plugins,{instancePath:$+"/plugins",parentData:E,parentDataProperty:"plugins",rootData:ie})||(ae=null===ae?Ae.errors:ae.concat(Ae.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.profile){const N=ce;if("boolean"!=typeof E.profile)return $e.errors=[{params:{type:"boolean"}}],!1;_e=N===ce}else _e=!0;if(_e){if(void 0!==E.recordsInputPath){let R=E.recordsInputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Ne=G===ce;if(q=q||Ne,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Ne=E===ce,q=q||Ne}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsOutputPath){let R=E.recordsOutputPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Me=G===ce;if(q=q||Me,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Me=E===ce,q=q||Me}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.recordsPath){let R=E.recordsPath;const j=ce,$=ce;let q=!1;const G=ce;if(!1!==R){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}var Le=G===ce;if(q=q||Le,!q){const E=ce;if(ce===E)if("string"==typeof R){if(R.includes("!")||!0!==N.test(R)){const E={params:{}};null===ae?ae=[E]:ae.push(E),ce++}}else{const E={params:{type:"string"}};null===ae?ae=[E]:ae.push(E),ce++}Le=E===ce,q=q||Le}if(!q){const E={params:{}};return null===ae?ae=[E]:ae.push(E),ce++,$e.errors=ae,!1}ce=$,null!==ae&&($?ae.length=$:ae=null),_e=j===ce}else _e=!0;if(_e){if(void 0!==E.resolve){const N=ce;xe(E.resolve,{instancePath:$+"/resolve",parentData:E,parentDataProperty:"resolve",rootData:ie})||(ae=null===ae?xe.errors:ae.concat(xe.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.resolveLoader){const N=ce;ke(E.resolveLoader,{instancePath:$+"/resolveLoader",parentData:E,parentDataProperty:"resolveLoader",rootData:ie})||(ae=null===ae?ke.errors:ae.concat(ke.errors),ce=ae.length),_e=N===ce}else _e=!0;if(_e){if(void 0!==E.snapshot){let R=E.snapshot;const j=ce;if(ce==ce){if(!R||"object"!=typeof R||Array.isArray(R))return $e.errors=[{params:{type:"object"}}],!1;{const E=ce;for(const E in R)if("buildDependencies"!==E&&"immutablePaths"!==E&&"managedPaths"!==E&&"module"!==E&&"resolve"!==E&&"resolveBuildDependencies"!==E)return $e.errors=[{params:{additionalProperty:E}}],!1;if(E===ce){if(void 0!==R.buildDependencies){let E=R.buildDependencies;const N=ce;if(ce===N){if(!E||"object"!=typeof E||Array.isArray(E))return $e.errors=[{params:{type:"object"}}],!1;{const N=ce;for(const N in E)if("hash"!==N&&"timestamp"!==N)return $e.errors=[{params:{additionalProperty:N}}],!1;if(N===ce){if(void 0!==E.hash){const N=ce;if("boolean"!=typeof E.hash)return $e.errors=[{params:{type:"boolean"}}],!1;var Be=N===ce}else Be=!0;if(Be)if(void 0!==E.timestamp){const N=ce;if("boolean"!=typeof E.timestamp)return $e.errors=[{params:{type:"boolean"}}],!1;Be=N===ce}else Be=!0}}}var je=N===ce}else je=!0;if(je){if(void 0!==R.immutablePaths){let E=R.immutablePaths;const j=ce;if(ce===j){if(!Array.isArray(E))return $e.errors=[{params:{type:"array"}}],!1;{const R=E.length;for(let j=0;j{"use strict";function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.path&&(N="path"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("context"!==N&&"entryOnly"!==N&&"format"!==N&&"name"!==N&&"path"!==N&&"type"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.context){let N=E.context;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}var q=0===R}else q=!0;if(q){if(void 0!==E.entryOnly){const N=0;if("boolean"!=typeof E.entryOnly)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.format){const N=0;if("boolean"!=typeof E.format)return r.errors=[{params:{type:"boolean"}}],!1;q=0===N}else q=!0;if(q){if(void 0!==E.name){let N=E.name;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q){if(void 0!==E.path){let N=E.path;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0;if(q)if(void 0!==E.type){let N=E.type;const R=0;if(0===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}q=0===R}else q=!0}}}}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},69744:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.content&&(N="content"))return t.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("content"!==N&&"name"!==N&&"type"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.content){let N=E.content;const R=G,j=G;let $=!1,_e=null;const Ee=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N))if(Object.keys(N).length<1){const E={params:{limit:1}};null===q?q=[E]:q.push(E),G++}else for(const E in N){let R=N[E];const j=G;if(G===j)if(R&&"object"==typeof R&&!Array.isArray(R)){let E;if(void 0===R.id&&(E="id")){const N={params:{missingProperty:E}};null===q?q=[N]:q.push(N),G++}else{const E=G;for(const E in R)if("buildMeta"!==E&&"exports"!==E&&"id"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.buildMeta){let E=R.buildMeta;const N=G;if(!E||"object"!=typeof E||Array.isArray(E)){const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=N===G}else ie=!0;if(ie){if(void 0!==R.exports){let E=R.exports;const N=G,j=G;let $=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("context"!==N&&"hashDigest"!==N&&"hashDigestLength"!==N&&"hashFunction"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.context){let R=E.context;const j=ie;if(ie===j){if("string"!=typeof R)return e.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return e.errors=[{params:{}}],!1}var ae=j===ie}else ae=!0;if(ae){if(void 0!==E.hashDigest){let N=E.hashDigest;const R=ie;if("hex"!==N&&"latin1"!==N&&"base64"!==N)return e.errors=[{params:{}}],!1;ae=R===ie}else ae=!0;if(ae){if(void 0!==E.hashDigestLength){let N=E.hashDigestLength;const R=ie;if(ie===R){if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return e.errors=[{params:{comparison:">=",limit:1}}],!1}ae=R===ie}else ae=!0;if(ae)if(void 0!==E.hashFunction){let N=E.hashFunction;const R=ie,j=ie;let $=!1,q=null;const le=ie,_e=ie;let Ee=!1;const Te=ie;if(ie===Te)if("string"==typeof N){if(N.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=Te===ie;if(Ee=Ee||ce,!Ee){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,Ee=Ee||ce}if(Ee)ie=_e,null!==G&&(_e?G.length=_e:G=null);else{const E={params:{}};null===G?G=[E]:G.push(E),ie++}if(le===ie&&($=!0,q=0),!$){const E={params:{passingSchemas:q}};return null===G?G=[E]:G.push(E),ie++,e.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return e.errors=G,0===ie}E.exports=e,E.exports["default"]=e},44194:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.resourceRegExp&&(N="resourceRegExp")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("contextRegExp"!==N&&"resourceRegExp"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.contextRegExp){const N=G;if(!(E.contextRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=N===G}else le=!0;if(le)if(void 0!==E.resourceRegExp){const N=G;if(!(E.resourceRegExp instanceof RegExp)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(G===N)if(E&&"object"==typeof E&&!Array.isArray(E)){let N;if(void 0===E.checkResource&&(N="checkResource")){const E={params:{missingProperty:N}};null===q?q=[E]:q.push(E),G++}else{const N=G;for(const N in E)if("checkResource"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G&&void 0!==E.checkResource&&!(E.checkResource instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},71633:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("parse"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.parse&&!(E.parse instanceof Function))return r.errors=[{params:{}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},80274:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function e(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==E.debug){const N=0;if("boolean"!=typeof E.debug)return e.errors=[{params:{type:"boolean"}}],!1;var G=0===N}else G=!0;if(G){if(void 0!==E.minimize){const N=0;if("boolean"!=typeof E.minimize)return e.errors=[{params:{type:"boolean"}}],!1;G=0===N}else G=!0;if(G)if(void 0!==E.options){let R=E.options;const j=0;if(0===j){if(!R||"object"!=typeof R||Array.isArray(R))return e.errors=[{params:{type:"object"}}],!1;if(void 0!==R.context){let E=R.context;if("string"!=typeof E)return e.errors=[{params:{type:"string"}}],!1;if(E.includes("!")||!0!==N.test(E))return e.errors=[{params:{}}],!1}}G=0===j}else G=!0}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},73971:E=>{"use strict";E.exports=t,E.exports["default"]=t;const N={activeModules:{type:"boolean"},dependencies:{type:"boolean"},dependenciesCount:{type:"number"},entries:{type:"boolean"},handler:{oneOf:[{$ref:"#/definitions/HandlerFunction"}]},modules:{type:"boolean"},modulesCount:{type:"number"},percentBy:{enum:["entries","modules","dependencies",null]},profile:{enum:[!0,!1,null]}},R=Object.prototype.hasOwnProperty;function r(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ae;for(const j in E)if(!R.call(N,j))return r.errors=[{params:{additionalProperty:j}}],!1;if(j===ae){if(void 0!==E.activeModules){const N=ae;if("boolean"!=typeof E.activeModules)return r.errors=[{params:{type:"boolean"}}],!1;var ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependencies){const N=ae;if("boolean"!=typeof E.dependencies)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.dependenciesCount){let N=E.dependenciesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.entries){const N=ae;if("boolean"!=typeof E.entries)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.handler){const N=ae,R=ae;let j=!1,$=null;const q=ae;if(!(E.handler instanceof Function)){const E={params:{}};null===ie?ie=[E]:ie.push(E),ae++}if(q===ae&&(j=!0,$=0),!j){const E={params:{passingSchemas:$}};return null===ie?ie=[E]:ie.push(E),ae++,r.errors=ie,!1}ae=R,null!==ie&&(R?ie.length=R:ie=null),ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modules){const N=ae;if("boolean"!=typeof E.modules)return r.errors=[{params:{type:"boolean"}}],!1;ce=N===ae}else ce=!0;if(ce){if(void 0!==E.modulesCount){let N=E.modulesCount;const R=ae;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;ce=R===ae}else ce=!0;if(ce){if(void 0!==E.percentBy){let N=E.percentBy;const R=ae;if("entries"!==N&&"modules"!==N&&"dependencies"!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0;if(ce)if(void 0!==E.profile){let N=E.profile;const R=ae;if(!0!==N&&!1!==N&&null!==N)return r.errors=[{params:{}}],!1;ce=R===ae}else ce=!0}}}}}}}}}}return r.errors=ie,0===ae}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var le=ce===G;if(ae=ae||le,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}le=N===G,ae=ae||le}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}},68337:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=l,E.exports["default"]=l;const R={append:{anyOf:[{enum:[!1,null]},{type:"string",minLength:1}]},columns:{type:"boolean"},exclude:{oneOf:[{$ref:"#/definitions/rules"}]},fallbackModuleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},fileContext:{type:"string"},filename:{anyOf:[{enum:[!1,null]},{type:"string",absolutePath:!1,minLength:1}]},include:{oneOf:[{$ref:"#/definitions/rules"}]},module:{type:"boolean"},moduleFilenameTemplate:{anyOf:[{type:"string",minLength:1},{instanceof:"Function"}]},namespace:{type:"string"},noSources:{type:"boolean"},publicPath:{type:"string"},sourceRoot:{type:"string"},test:{$ref:"#/definitions/rules"}},j=Object.prototype.hasOwnProperty;function s(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.paths&&(N="paths"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=G;for(const N in E)if("paths"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.paths){let N=E.paths;if(G==G){if(!Array.isArray(N))return r.errors=[{params:{type:"array"}}],!1;if(N.length<1)return r.errors=[{params:{limit:1}}],!1;{const E=N.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,n.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),n.errors=q,0===G}function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const j=ie;for(const N in E)if("dataUrl"!==N&&"emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(j===ie){if(void 0!==E.dataUrl){const N=ie;n(E.dataUrl,{instancePath:R+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:q})||(G=null===G?n.errors:G.concat(n.errors),ie=G.length);var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}}return r.errors=G,0===ie}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),e.errors=q,0===G}E.exports=e,E.exports["default"]=e},3720:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G==G)if(E&&"object"==typeof E&&!Array.isArray(E)){const N=G;for(const N in E)if("encoding"!==N&&"mimetype"!==N){const E={params:{additionalProperty:N}};null===q?q=[E]:q.push(E),G++;break}if(N===G){if(void 0!==E.encoding){let N=E.encoding;const R=G;if(!1!==N&&"base64"!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var le=R===G}else le=!0;if(le)if(void 0!==E.mimetype){const N=G;if("string"!=typeof E.mimetype){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}le=N===G}else le=!0}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var _e=ce===G;if(ae=ae||_e,!ae){const N=G;if(!(E instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}_e=N===G,ae=ae||_e}if(!ae){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}return G=ie,null!==q&&(ie?q.length=ie:q=null),t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=G;for(const N in E)if("dataUrl"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;R===G&&void 0!==E.dataUrl&&(t(E.dataUrl,{instancePath:N+"/dataUrl",parentData:E,parentDataProperty:"dataUrl",rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length))}}return r.errors=q,0===G}function a(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),a.errors=q,0===G}E.exports=a,E.exports["default"]=a},33605:E=>{"use strict";function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("dataUrlCondition"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(N===G&&void 0!==E.dataUrlCondition){let N=E.dataUrlCondition;const R=G;let j=!1;const $=G;if(G==G)if(N&&"object"==typeof N&&!Array.isArray(N)){const E=G;for(const E in N)if("maxSize"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G&&void 0!==N.maxSize){let E=N.maxSize;if("number"!=typeof E||!isFinite(E)){const E={params:{type:"number"}};null===q?q=[E]:q.push(E),G++}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ie=$===G;if(j=j||ie,!j){const E=G;if(!(N instanceof Function)){const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=E===G,j=j||ie}if(!j){const E={params:{}};return null===q?q=[E]:q.push(E),G++,t.errors=q,!1}G=R,null!==q&&(R?q.length=R:q=null)}}}return t.errors=q,0===G}function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return t(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?t.errors:q.concat(t.errors),G=q.length),r.errors=q,0===G}E.exports=r,E.exports["default"]=r},87441:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function r(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){let G=null,ie=0;if(0===ie){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const R=ie;for(const N in E)if("emit"!==N&&"filename"!==N&&"publicPath"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(R===ie){if(void 0!==E.emit){const N=ie;if("boolean"!=typeof E.emit)return r.errors=[{params:{type:"boolean"}}],!1;var ae=N===ie}else ae=!0;if(ae){if(void 0!==E.filename){let R=E.filename;const j=ie,$=ie;let q=!1;const le=ie;if(ie===le)if("string"==typeof R){if(R.includes("!")||!1!==N.test(R)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}else if(R.length<1){const E={params:{}};null===G?G=[E]:G.push(E),ie++}}else{const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var ce=le===ie;if(q=q||ce,!q){const E=ie;if(!(R instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}ce=E===ie,q=q||ce}if(!q){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=$,null!==G&&($?G.length=$:G=null),ae=j===ie}else ae=!0;if(ae)if(void 0!==E.publicPath){let N=E.publicPath;const R=ie,j=ie;let $=!1;const q=ie;if("string"!=typeof N){const E={params:{type:"string"}};null===G?G=[E]:G.push(E),ie++}var le=q===ie;if($=$||le,!$){const E=ie;if(!(N instanceof Function)){const E={params:{}};null===G?G=[E]:G.push(E),ie++}le=E===ie,$=$||le}if(!$){const E={params:{}};return null===G?G=[E]:G.push(E),ie++,r.errors=G,!1}ie=j,null!==G&&(j?G.length=j:G=null),ae=R===ie}else ae=!0}}}}return r.errors=G,0===ie}function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;return r(E,{instancePath:N,parentData:R,parentDataProperty:j,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length),n.errors=q,0===G}E.exports=n,E.exports["default"]=n},28633:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return t.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return r.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{"use strict";function o(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){return"var"!==E&&"module"!==E&&"assign"!==E&&"this"!==E&&"window"!==E&&"self"!==E&&"global"!==E&&"commonjs"!==E&&"commonjs2"!==E&&"commonjs-module"!==E&&"amd"!==E&&"amd-require"!==E&&"umd"!==E&&"umd2"!==E&&"jsonp"!==E&&"system"!==E&&"promise"!==E&&"import"!==E&&"script"!==E&&"node-commonjs"!==E?(o.errors=[{params:{}}],!1):(o.errors=null,!0)}E.exports=o,E.exports["default"]=o},43329:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=d,E.exports["default"]=d;const R={exposes:{$ref:"#/definitions/Exposes"},filename:{type:"string",absolutePath:!1},library:{$ref:"#/definitions/LibraryOptions"},name:{type:"string"},remoteType:{oneOf:[{$ref:"#/definitions/ExternalsType"}]},remotes:{$ref:"#/definitions/Remotes"},runtime:{$ref:"#/definitions/EntryRuntime"},shareScope:{type:"string",minLength:1},shared:{$ref:"#/definitions/Shared"}},j=Object.prototype.hasOwnProperty;function n(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!Array.isArray(E))return n.errors=[{params:{type:"array"}}],!1;{const N=E.length;for(let R=0;R{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;function t(E,{instancePath:R="",parentData:j,parentDataProperty:$,rootData:q=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return t.errors=[{params:{type:"object"}}],!1;{const R=0;for(const N in E)if("outputPath"!==N)return t.errors=[{params:{additionalProperty:N}}],!1;if(0===R&&void 0!==E.outputPath){let R=E.outputPath;if("string"!=typeof R)return t.errors=[{params:{type:"string"}}],!1;if(R.includes("!")||!0!==N.test(R))return t.errors=[{params:{}}],!1}}return t.errors=null,!0}E.exports=t,E.exports["default"]=t},18511:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},52042:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("prioritiseInitial"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N&&void 0!==E.prioritiseInitial&&"boolean"!=typeof E.prioritiseInitial)return r.errors=[{params:{type:"boolean"}}],!1}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},77593:E=>{"use strict";function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxSize"!==N&&"minSize"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q){if(void 0!==E.maxSize){let N=E.maxSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minSize){let N=E.minSize;const R=0;if("number"!=typeof N||!isFinite(N))return e.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return e.errors=null,!0}E.exports=e,E.exports["default"]=e},72713:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.maxChunks&&(N="maxChunks"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"maxChunks"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.maxChunks){let N=E.maxChunks;const R=0;if(0===R){if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;if(N<1||isNaN(N))return r.errors=[{params:{comparison:">=",limit:1}}],!1}q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},83889:E=>{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{let N;if(void 0===E.minChunkSize&&(N="minChunkSize"))return r.errors=[{params:{missingProperty:N}}],!1;{const N=0;for(const N in E)if("chunkOverhead"!==N&&"entryChunkMultiplicator"!==N&&"minChunkSize"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(0===N){if(void 0!==E.chunkOverhead){let N=E.chunkOverhead;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;var q=0===R}else q=!0;if(q){if(void 0!==E.entryChunkMultiplicator){let N=E.entryChunkMultiplicator;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0;if(q)if(void 0!==E.minChunkSize){let N=E.minChunkSize;const R=0;if("number"!=typeof N||!isFinite(N))return r.errors=[{params:{type:"number"}}],!1;q=0===R}else q=!0}}}}return r.errors=null,!0}E.exports=r,E.exports["default"]=r},44363:E=>{const N=/^(?:[A-Za-z]:[\\/]|\\\\|\/)/;E.exports=n,E.exports["default"]=n;const R=new RegExp("^https?://","u");function e(E,{instancePath:j="",parentData:$,parentDataProperty:q,rootData:G=E}={}){let ie=null,ae=0;if(0===ae){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;{let j;if(void 0===E.allowedUris&&(j="allowedUris"))return e.errors=[{params:{missingProperty:j}}],!1;{const j=ae;for(const N in E)if("allowedUris"!==N&&"cacheLocation"!==N&&"frozen"!==N&&"lockfileLocation"!==N&&"upgrade"!==N)return e.errors=[{params:{additionalProperty:N}}],!1;if(j===ae){if(void 0!==E.allowedUris){let N=E.allowedUris;const j=ae;if(ae==ae){if(!Array.isArray(N))return e.errors=[{params:{type:"array"}}],!1;{const E=N.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;{const N=G;for(const N in E)if("eager"!==N&&"import"!==N&&"packageName"!==N&&"requiredVersion"!==N&&"shareKey"!==N&&"shareScope"!==N&&"singleton"!==N&&"strictVersion"!==N)return r.errors=[{params:{additionalProperty:N}}],!1;if(N===G){if(void 0!==E.eager){const N=G;if("boolean"!=typeof E.eager)return r.errors=[{params:{type:"boolean"}}],!1;var ie=N===G}else ie=!0;if(ie){if(void 0!==E.import){let N=E.import;const R=G,j=G;let $=!1;const ce=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const E=G;if(G==G)if("string"==typeof N){if(N.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=E===G,$=$||ae}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.packageName){let N=E.packageName;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.requiredVersion){let N=E.requiredVersion;const R=G,j=G;let $=!1;const ae=G;if(!1!==N){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ce=ae===G;if($=$||ce,!$){const E=G;if("string"!=typeof N){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,$=$||ce}if(!$){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}G=j,null!==q&&(j?q.length=j:q=null),ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareKey){let N=E.shareKey;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.shareScope){let N=E.shareScope;const R=G;if(G===R){if("string"!=typeof N)return r.errors=[{params:{type:"string"}}],!1;if(N.length<1)return r.errors=[{params:{}}],!1}ie=R===G}else ie=!0;if(ie){if(void 0!==E.singleton){const N=G;if("boolean"!=typeof E.singleton)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0;if(ie)if(void 0!==E.strictVersion){const N=G;if("boolean"!=typeof E.strictVersion)return r.errors=[{params:{type:"boolean"}}],!1;ie=N===G}else ie=!0}}}}}}}}}return r.errors=q,0===G}function e(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return e.errors=[{params:{type:"object"}}],!1;for(const R in E){let j=E[R];const ae=G,ce=G;let le=!1;const _e=G;r(j,{instancePath:N+"/"+R.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:E,parentDataProperty:R,rootData:$})||(q=null===q?r.errors:q.concat(r.errors),G=q.length);var ie=_e===G;if(le=le||ie,!le){const E=G;if(G==G)if("string"==typeof j){if(j.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=E===G,le=le||ie}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,e.errors=q,!1}if(G=ce,null!==q&&(ce?q.length=ce:q=null),ae!==G)break}}return e.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";function r(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;if(0===G){if(!E||"object"!=typeof E||Array.isArray(E))return r.errors=[{params:{type:"object"}}],!1;for(const N in E){let R=E[N];const j=G,$=G;let le=!1;const _e=G;if(G==G)if(R&&"object"==typeof R&&!Array.isArray(R)){const E=G;for(const E in R)if("eager"!==E&&"shareKey"!==E&&"shareScope"!==E&&"version"!==E){const N={params:{additionalProperty:E}};null===q?q=[N]:q.push(N),G++;break}if(E===G){if(void 0!==R.eager){const E=G;if("boolean"!=typeof R.eager){const E={params:{type:"boolean"}};null===q?q=[E]:q.push(E),G++}var ie=E===G}else ie=!0;if(ie){if(void 0!==R.shareKey){let E=R.shareKey;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie){if(void 0!==R.shareScope){let E=R.shareScope;const N=G;if(G===N)if("string"==typeof E){if(E.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0;if(ie)if(void 0!==R.version){let E=R.version;const N=G,j=G;let $=!1;const ce=G;if(!1!==E){const E={params:{}};null===q?q=[E]:q.push(E),G++}var ae=ce===G;if($=$||ae,!$){const N=G;if("string"!=typeof E){const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ae=N===G,$=$||ae}if($)G=j,null!==q&&(j?q.length=j:q=null);else{const E={params:{}};null===q?q=[E]:q.push(E),G++}ie=N===G}else ie=!0}}}}else{const E={params:{type:"object"}};null===q?q=[E]:q.push(E),G++}var ce=_e===G;if(le=le||ce,!le){const E=G;if(G==G)if("string"==typeof R){if(R.length<1){const E={params:{}};null===q?q=[E]:q.push(E),G++}}else{const E={params:{type:"string"}};null===q?q=[E]:q.push(E),G++}ce=E===G,le=le||ce}if(!le){const E={params:{}};return null===q?q=[E]:q.push(E),G++,r.errors=q,!1}if(G=$,null!==q&&($?q.length=$:q=null),j!==G)break}}return r.errors=q,0===G}function t(E,{instancePath:N="",parentData:R,parentDataProperty:j,rootData:$=E}={}){let q=null,G=0;const ie=G;let ae=!1;const ce=G;if(G===ce)if(Array.isArray(E)){const R=E.length;for(let j=0;j{"use strict";E.exports=function(E){E.prototype[Symbol.iterator]=function*(){for(let E=this.head;E;E=E.next){yield E.value}}}},83314:(E,N,R)=>{"use strict";E.exports=Yallist;Yallist.Node=Node;Yallist.create=Yallist;function Yallist(E){var N=this;if(!(N instanceof Yallist)){N=new Yallist}N.tail=null;N.head=null;N.length=0;if(E&&typeof E.forEach==="function"){E.forEach((function(E){N.push(E)}))}else if(arguments.length>0){for(var R=0,j=arguments.length;R1){R=N}else if(this.head){j=this.head.next;R=this.head.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=0;j!==null;$++){R=E(R,j.value,$);j=j.next}return R};Yallist.prototype.reduceReverse=function(E,N){var R;var j=this.tail;if(arguments.length>1){R=N}else if(this.tail){j=this.tail.prev;R=this.tail.value}else{throw new TypeError("Reduce of empty list with no initial value")}for(var $=this.length-1;j!==null;$--){R=E(R,j.value,$);j=j.prev}return R};Yallist.prototype.toArray=function(){var E=new Array(this.length);for(var N=0,R=this.head;R!==null;N++){E[N]=R.value;R=R.next}return E};Yallist.prototype.toArrayReverse=function(){var E=new Array(this.length);for(var N=0,R=this.tail;R!==null;N++){E[N]=R.value;R=R.prev}return E};Yallist.prototype.slice=function(E,N){N=N||this.length;if(N<0){N+=this.length}E=E||0;if(E<0){E+=this.length}var R=new Yallist;if(Nthis.length){N=this.length}for(var j=0,$=this.head;$!==null&&jthis.length){N=this.length}for(var j=this.length,$=this.tail;$!==null&&j>N;j--){$=$.prev}for(;$!==null&&j>E;j--,$=$.prev){R.push($.value)}return R};Yallist.prototype.splice=function(E,N,...R){if(E>this.length){E=this.length-1}if(E<0){E=this.length+E}for(var j=0,$=this.head;$!==null&&j{class Node{constructor(E){this.value=E;this.next=undefined}}class Queue{constructor(){this.clear()}enqueue(E){const N=new Node(E);if(this._head){this._tail.next=N;this._tail=N}else{this._head=N;this._tail=N}this._size++}dequeue(){const E=this._head;if(!E){return}this._head=this._head.next;this._size--;return E.value}clear(){this._head=undefined;this._tail=undefined;this._size=0}get size(){return this._size}*[Symbol.iterator](){let E=this._head;while(E){yield E.value;E=E.next}}}E.exports=Queue},32090:(E,N,R)=>{const j=R(63686);const $=j.makeLogger;j.makeLogger=function(E,N){const R=$(E,N);const j=R.logWarning;R.logWarning=function(E){if(E.indexOf("This version may or may not be compatible with ts-loader")!==-1)return;return j(E)};return R};E.exports=R(82070);E.exports.typescript=R(53779)},39491:E=>{"use strict";E.exports=require("assert")},14300:E=>{"use strict";E.exports=require("buffer")},32081:E=>{"use strict";E.exports=require("child_process")},96206:E=>{"use strict";E.exports=require("console")},22057:E=>{"use strict";E.exports=require("constants")},6113:E=>{"use strict";E.exports=require("crypto")},82361:E=>{"use strict";E.exports=require("events")},57147:E=>{"use strict";E.exports=require("fs")},13685:E=>{"use strict";E.exports=require("http")},95687:E=>{"use strict";E.exports=require("https")},31405:E=>{"use strict";E.exports=require("inspector")},22037:E=>{"use strict";E.exports=require("os")},71017:E=>{"use strict";E.exports=require("path")},4074:E=>{"use strict";E.exports=require("perf_hooks")},35125:E=>{"use strict";E.exports=require("pnpapi")},77282:E=>{"use strict";E.exports=require("process")},63477:E=>{"use strict";E.exports=require("querystring")},12781:E=>{"use strict";E.exports=require("stream")},76224:E=>{"use strict";E.exports=require("tty")},57310:E=>{"use strict";E.exports=require("url")},73837:E=>{"use strict";E.exports=require("util")},26144:E=>{"use strict";E.exports=require("vm")},71267:E=>{"use strict";E.exports=require("worker_threads")},59796:E=>{"use strict";E.exports=require("zlib")},44858:function(E,N,R){(function(E,j){true?j(N,R(37362)):0})(this,(function(E,N){"use strict";function _interopDefaultLegacy(E){return E&&typeof E==="object"&&"default"in E?E:{default:E}}var j=_interopDefaultLegacy(N);function characters(E){return E.split("")}function member(E,N){return N.includes(E)}class DefaultsError extends Error{constructor(E,N){super();this.name="DefaultsError";this.message=E;this.defs=N}}function defaults(E,N,R){if(E===true){E={}}else if(E!=null&&typeof E==="object"){E={...E}}const j=E||{};if(R)for(const E in j)if(HOP(j,E)&&!HOP(N,E)){throw new DefaultsError("`"+E+"` is not a supported option",N)}for(const R in N)if(HOP(N,R)){if(!E||!HOP(E,R)){j[R]=N[R]}else if(R==="ecma"){let N=E[R]|0;if(N>5&&N<2015)N+=2009;j[R]=N}else{j[R]=E&&HOP(E,R)?E[R]:N[R]}}return j}function noop(){}function return_false(){return false}function return_true(){return true}function return_this(){return this}function return_null(){return null}var $=function(){function MAP(N,R,j){var $=[],q=[],G;function doit(){var ie=R(N[G],G);var ae=ie instanceof Last;if(ae)ie=ie.v;if(ie instanceof AtTop){ie=ie.v;if(ie instanceof Splice){q.push.apply(q,j?ie.v.slice().reverse():ie.v)}else{q.push(ie)}}else if(ie!==E){if(ie instanceof Splice){$.push.apply($,j?ie.v.slice().reverse():ie.v)}else{$.push(ie)}}return ae}if(Array.isArray(N)){if(j){for(G=N.length;--G>=0;)if(doit())break;$.reverse();q.reverse()}else{for(G=0;G=0;){if(E[R]===N)E.splice(R,1)}}function mergeSort(E,N){if(E.length<2)return E.slice();function merge(E,R){var j=[],$=0,q=0,G=0;while(${R+=E}))}return R}function has_annotation(E,N){return E._annotations&N}function set_annotation(E,N){E._annotations|=N}var ie="";var ae=true;var ce="break case catch class const continue debugger default delete do else export extends finally for function if in instanceof let new return switch throw try typeof var void while with";var le="false null true";var _e="enum implements import interface package private protected public static super this "+le+" "+ce;var Ee="return new delete throw else case yield await";ce=makePredicate(ce);_e=makePredicate(_e);Ee=makePredicate(Ee);le=makePredicate(le);var Te=makePredicate(characters("+-*&%=<>!?|~^"));var we=/[0-9a-f]/i;var Ie=/^0x[0-9a-f]+$/i;var Ne=/^0[0-7]+$/;var Me=/^0o[0-7]+$/i;var Le=/^0b[01]+$/i;var Be=/^\d*\.?\d*(?:e[+-]?\d*(?:\d\.?|\.?\d)\d*)?$/i;var je=/^(0[xob])?[0-9a-f]+n$/i;var Ue=makePredicate(["in","instanceof","typeof","new","void","delete","++","--","+","-","!","~","&","|","^","*","**","/","%",">>","<<",">>>","<",">","<=",">=","==","===","!=","!==","?","=","+=","-=","||=","&&=","??=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&=","&&","??","||"]);var ze=makePredicate(characters("  \n\r\t\f\v​           \u2028\u2029   \ufeff"));var We=makePredicate(characters("\n\r\u2028\u2029"));var Je=makePredicate(characters(";]),:"));var Ve=makePredicate(characters("[{(,;:"));var qe=makePredicate(characters("[]{}(),;:"));var He={ID_Start:/[$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/(?:[$0-9A-Z_a-z\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF])+/};function get_full_char(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){if(is_surrogate_pair_tail(E.charCodeAt(N+1))){return E.charAt(N)+E.charAt(N+1)}}else if(is_surrogate_pair_tail(E.charCodeAt(N))){if(is_surrogate_pair_head(E.charCodeAt(N-1))){return E.charAt(N-1)+E.charAt(N)}}return E.charAt(N)}function get_full_char_code(E,N){if(is_surrogate_pair_head(E.charCodeAt(N))){return 65536+(E.charCodeAt(N)-55296<<10)+E.charCodeAt(N+1)-56320}return E.charCodeAt(N)}function get_full_char_length(E){var N=0;for(var R=0;R65535){E-=65536;return String.fromCharCode((E>>10)+55296)+String.fromCharCode(E%1024+56320)}return String.fromCharCode(E)}function is_surrogate_pair_head(E){return E>=55296&&E<=56319}function is_surrogate_pair_tail(E){return E>=56320&&E<=57343}function is_digit(E){return E>=48&&E<=57}function is_identifier_start(E){return He.ID_Start.test(E)}function is_identifier_char(E){return He.ID_Continue.test(E)}const Ge=/^[a-z_$][a-z0-9_$]*$/i;function is_basic_identifier_string(E){return Ge.test(E)}function is_identifier_string(E,N){if(Ge.test(E)){return true}if(!N&&/[\ud800-\udfff]/.test(E)){return false}var R=He.ID_Start.exec(E);if(!R||R.index!==0){return false}E=E.slice(R[0].length);if(!E){return true}R=He.ID_Continue.exec(E);return!!R&&R[0].length===E.length}function parse_js_number(E,N=true){if(!N&&E.includes("e")){return NaN}if(Ie.test(E)){return parseInt(E.substr(2),16)}else if(Ne.test(E)){return parseInt(E.substr(1),8)}else if(Me.test(E)){return parseInt(E.substr(2),8)}else if(Le.test(E)){return parseInt(E.substr(2),2)}else if(Be.test(E)){return parseFloat(E)}else{var R=parseFloat(E);if(R==E)return R}}class JS_Parse_Error extends Error{constructor(E,N,R,j,$){super();this.name="SyntaxError";this.message=E;this.filename=N;this.line=R;this.col=j;this.pos=$}}function js_error(E,N,R,j,$){throw new JS_Parse_Error(E,N,R,j,$)}function is_token(E,N,R){return E.type==N&&(R==null||E.value==R)}var Ke={};function tokenizer(E,N,R,j){var $={text:E,filename:N,pos:0,tokpos:0,line:1,tokline:0,col:0,tokcol:0,newline_before:false,regex_allowed:false,brace_counter:0,template_braces:[],comments_before:[],directives:{},directive_stack:[]};function peek(){return get_full_char($.text,$.pos)}function is_option_chain_op(){const E=$.text.charCodeAt($.pos+1)===46;if(!E)return false;const N=$.text.charCodeAt($.pos+2);return N<48||N>57}function next(E,N){var R=get_full_char($.text,$.pos++);if(E&&!R)throw Ke;if(We.has(R)){$.newline_before=$.newline_before||!N;++$.line;$.col=0;if(R=="\r"&&peek()=="\n"){++$.pos;R="\n"}}else{if(R.length>1){++$.pos;++$.col}++$.col}return R}function forward(E){while(E--)next()}function looking_at(E){return $.text.substr($.pos,E.length)==E}function find_eol(){var E=$.text;for(var N=$.pos,R=$.text.length;N="0"&&E<="7"}function read_escaped_char(E,N,R){var j=next(true,E);switch(j.charCodeAt(0)){case 110:return"\n";case 114:return"\r";case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 120:return String.fromCharCode(hex_bytes(2,N));case 117:if(peek()=="{"){next(true);if(peek()==="}")parse_error("Expecting hex-character between {}");while(peek()=="0")next(true);var q,G=find("}",true)-$.pos;if(G>6||(q=hex_bytes(G,N))>1114111){parse_error("Unicode reference out of bounds")}next(true);return from_char_code(q)}return String.fromCharCode(hex_bytes(4,N));case 10:return"";case 13:if(peek()=="\n"){next(true,E);return""}}if(is_octal(j)){if(R&&N){const E=j==="0"&&!is_octal(peek());if(!E){parse_error("Octal escape sequences are not allowed in template strings")}}return read_octal_escape_sequence(j,N)}return j}function read_octal_escape_sequence(E,N){var R=peek();if(R>="0"&&R<="7"){E+=next(true);if(E[0]<="3"&&(R=peek())>="0"&&R<="7")E+=next(true)}if(E==="0")return"\0";if(E.length>0&&next_token.has_directive("use strict")&&N)parse_error("Legacy octal escape sequences are not allowed in strict mode");return String.fromCharCode(parseInt(E,8))}function hex_bytes(E,N){var R=0;for(;E>0;--E){if(!N&&isNaN(parseInt(peek(),16))){return parseInt(R,16)||""}var j=next(true);if(isNaN(parseInt(j,16)))parse_error("Invalid hex-character pattern in string");R+=j}return parseInt(R,16)}var Me=with_eof_error("Unterminated string constant",(function(){const E=$.pos;var N=next(),R=[];for(;;){var j=next(true,true);if(j=="\\")j=read_escaped_char(true,true);else if(j=="\r"||j=="\n")parse_error("Unterminated string constant");else if(j==N)break;R.push(j)}var q=token("string",R.join(""));ie=$.text.slice(E,$.pos);q.quote=N;return q}));var Le=with_eof_error("Unterminated template",(function(E){if(E){$.template_braces.push($.brace_counter)}var N="",R="",j,q;next(true,true);while((j=next(true,true))!="`"){if(j=="\r"){if(peek()=="\n")++$.pos;j="\n"}else if(j=="$"&&peek()=="{"){next(true,true);$.brace_counter++;q=token(E?"template_head":"template_substitution",N);ie=R;ae=false;return q}R+=j;if(j=="\\"){var ce=$.pos;var le=G&&(G.type==="name"||G.type==="punc"&&(G.value===")"||G.value==="]"));j=read_escaped_char(true,!le,true);R+=$.text.substr(ce,$.pos-ce)}N+=j}$.template_braces.pop();q=token(E?"template_head":"template_substitution",N);ie=R;ae=true;return q}));function skip_line_comment(E){var N=$.regex_allowed;var R=find_eol(),j;if(R==-1){j=$.text.substr($.pos);$.pos=$.text.length}else{j=$.text.substring($.pos,R);$.pos=R}$.col=$.tokcol+($.pos-$.tokpos);$.comments_before.push(token(E,j,true));$.regex_allowed=N;return next_token}var Be=with_eof_error("Unterminated multiline comment",(function(){var E=$.regex_allowed;var N=find("*/",true);var R=$.text.substring($.pos,N).replace(/\r\n|\r|\u2028|\u2029/g,"\n");forward(get_full_char_length(R)+2);$.comments_before.push(token("comment2",R,true));$.newline_before=$.newline_before||R.includes("\n");$.regex_allowed=E;return next_token}));var Je=with_eof_error("Unterminated identifier name",(function(){var E=[],N,R=false;var read_escaped_identifier_char=function(){R=true;next();if(peek()!=="u"){parse_error("Expecting UnicodeEscapeSequence -- uXXXX or u{XXXX}")}return read_escaped_char(false,true)};if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_start(N)){parse_error("First identifier char is an invalid identifier char")}}else if(is_identifier_start(N)){next()}else{return""}E.push(N);while((N=peek())!=null){if((N=peek())==="\\"){N=read_escaped_identifier_char();if(!is_identifier_char(N)){parse_error("Invalid escaped identifier char")}}else{if(!is_identifier_char(N)){break}next()}E.push(N)}const j=E.join("");if(_e.has(j)&&R){parse_error("Escaped characters are not allowed in keywords")}return j}));var He=with_eof_error("Unterminated regular expression",(function(E){var N=false,R,j=false;while(R=next(true))if(We.has(R)){parse_error("Unexpected line terminator")}else if(N){E+="\\"+R;N=false}else if(R=="["){j=true;E+=R}else if(R=="]"&&j){j=false;E+=R}else if(R=="/"&&!j){break}else if(R=="\\"){N=true}else{E+=R}const $=Je();return token("regexp","/"+E+"/"+$)}));function read_operator(E){function grow(E){if(!peek())return E;var N=E+peek();if(Ue.has(N)){next();return grow(N)}else{return E}}return token("operator",grow(E||next()))}function handle_slash(){next();switch(peek()){case"/":next();return skip_line_comment("comment1");case"*":next();return Be()}return $.regex_allowed?He(""):read_operator("/")}function handle_eq_sign(){next();if(peek()===">"){next();return token("arrow","=>")}else{return read_operator("=")}}function handle_dot(){next();if(is_digit(peek().charCodeAt(0))){return read_num(".")}if(peek()==="."){next();next();return token("expand","...")}return token("punc",".")}function read_word(){var E=Je();if(q)return token("name",E);return le.has(E)?token("atom",E):!ce.has(E)?token("name",E):Ue.has(E)?token("operator",E):token("keyword",E)}function read_private_word(){next();return token("privatename",Je())}function with_eof_error(E,N){return function(R){try{return N(R)}catch(N){if(N===Ke)parse_error(E);else throw N}}}function next_token(E){if(E!=null)return He(E);if(j&&$.pos==0&&looking_at("#!")){start_token();forward(2);skip_line_comment("comment5")}for(;;){skip_whitespace();start_token();if(R){if(looking_at("\x3c!--")){forward(4);skip_line_comment("comment3");continue}if(looking_at("--\x3e")&&$.newline_before){forward(3);skip_line_comment("comment4");continue}}var N=peek();if(!N)return token("eof");var q=N.charCodeAt(0);switch(q){case 34:case 39:return Me();case 46:return handle_dot();case 47:{var G=handle_slash();if(G===next_token)continue;return G}case 61:return handle_eq_sign();case 63:{if(!is_option_chain_op())break;next();next();return token("punc","?.")}case 96:return Le(true);case 123:$.brace_counter++;break;case 125:$.brace_counter--;if($.template_braces.length>0&&$.template_braces[$.template_braces.length-1]===$.brace_counter)return Le(false);break}if(is_digit(q))return read_num();if(qe.has(N))return token("punc",next());if(Te.has(N))return read_operator();if(q==92||is_identifier_start(N))return read_word();if(q==35)return read_private_word();break}parse_error("Unexpected character '"+N+"'")}next_token.next=next;next_token.peek=peek;next_token.context=function(E){if(E)$=E;return $};next_token.add_directive=function(E){$.directive_stack[$.directive_stack.length-1].push(E);if($.directives[E]===undefined){$.directives[E]=1}else{$.directives[E]++}};next_token.push_directives_stack=function(){$.directive_stack.push([])};next_token.pop_directives_stack=function(){var E=$.directive_stack[$.directive_stack.length-1];for(var N=0;N0};return next_token}var Qe=makePredicate(["typeof","void","delete","--","++","!","~","-","+"]);var Xe=makePredicate(["--","++"]);var Ye=makePredicate(["=","+=","-=","??=","&&=","||=","/=","*=","**=","%=",">>=","<<=",">>>=","|=","^=","&="]);var Ze=makePredicate(["??=","&&=","||="]);var et=function(E,N){for(var R=0;R","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]],{});var tt=makePredicate(["atom","num","big_int","string","regexp","name"]);function parse(E,N){const R=new WeakMap;N=defaults(N,{bare_returns:false,ecma:null,expression:false,filename:null,html5_comments:true,module:false,shebang:true,strict:false,toplevel:null},true);var j={input:typeof E=="string"?tokenizer(E,N.filename,N.html5_comments,N.shebang):E,token:null,prev:null,peeked:null,in_function:0,in_async:-1,in_generator:-1,in_directives:true,in_loop:0,labels:[]};j.token=next();function is(E,N){return is_token(j.token,E,N)}function peek(){return j.peeked||(j.peeked=j.input())}function next(){j.prev=j.token;if(!j.peeked)peek();j.token=j.peeked;j.peeked=null;j.in_directives=j.in_directives&&(j.token.type=="string"||is("punc",";"));return j.token}function prev(){return j.prev}function croak(E,N,R,$){var q=j.input.context();js_error(E,q.filename,N!=null?N:q.tokline,R!=null?R:q.tokcol,$!=null?$:q.tokpos)}function token_error(E,N){croak(N,E.line,E.col)}function unexpected(E){if(E==null)E=j.token;token_error(E,"Unexpected token: "+E.type+" ("+E.value+")")}function expect_token(E,N){if(is(E,N)){return next()}token_error(j.token,"Unexpected token "+j.token.type+" «"+j.token.value+"»"+", expected "+E+" «"+N+"»")}function expect(E){return expect_token("punc",E)}function has_newline_before(E){return E.nlb||!E.comments_before.every((E=>!E.nlb))}function can_insert_semicolon(){return!N.strict&&(is("eof")||is("punc","}")||has_newline_before(j.token))}function is_in_generator(){return j.in_generator===j.in_function}function is_in_async(){return j.in_async===j.in_function}function can_await(){return j.in_async===j.in_function||j.in_function===0&&j.input.has_directive("use strict")}function semicolon(E){if(is("punc",";"))next();else if(!E&&!can_insert_semicolon())unexpected()}function parenthesised(){expect("(");var E=expression(true);expect(")");return E}function embed_tokens(E){return function _embed_tokens_wrapper(...N){const R=j.token;const $=E(...N);$.start=R;$.end=prev();return $}}function handle_regexp(){if(is("operator","/")||is("operator","/=")){j.peeked=null;j.token=j.input(j.token.value.substr(1))}}var $=embed_tokens((function statement(E,R,$){handle_regexp();switch(j.token.type){case"string":if(j.in_directives){var q=peek();if(!ie.includes("\\")&&(is_token(q,"punc",";")||is_token(q,"punc","}")||has_newline_before(q)||is_token(q,"eof"))){j.input.add_directive(j.token.value)}else{j.in_directives=false}}var G=j.in_directives,ae=simple_statement();return G&&ae.body instanceof mn?new ut(ae.body):ae;case"template_head":case"num":case"big_int":case"regexp":case"operator":case"atom":return simple_statement();case"name":if(j.token.value=="async"&&is_token(peek(),"keyword","function")){next();next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,true,E)}if(j.token.value=="import"&&!is_token(peek(),"punc","(")&&!is_token(peek(),"punc",".")){next();var ce=import_();semicolon();return ce}return is_token(peek(),"punc",":")?labeled_statement():simple_statement();case"punc":switch(j.token.value){case"{":return new ft({start:j.token,body:block_(),end:prev()});case"[":case"(":return simple_statement();case";":j.in_directives=false;next();return new mt;default:unexpected()}case"keyword":switch(j.token.value){case"break":next();return break_cont($t);case"continue":next();return break_cont(Jt);case"debugger":next();semicolon();return new ct;case"do":next();var le=in_loop(statement);expect_token("keyword","while");var _e=parenthesised();semicolon(true);return new bt({body:le,condition:_e});case"while":next();return new xt({condition:parenthesised(),body:in_loop((function(){return statement(false,true)}))});case"for":next();return for_();case"class":next();if(R){croak("classes are not allowed as the body of a loop")}if($){croak("classes are not allowed as the body of an if")}return class_(jr,E);case"function":next();if(R){croak("functions are not allowed as the body of a loop")}return function_(Nt,false,false,E);case"if":next();return if_();case"return":if(j.in_function==0&&!N.bare_returns)croak("'return' outside of function");next();var Ee=null;if(is("punc",";")){next()}else if(!can_insert_semicolon()){Ee=expression(true);semicolon()}return new Ut({value:Ee});case"switch":next();return new Gt({expression:parenthesised(),body:in_loop(switch_body_)});case"throw":next();if(has_newline_before(j.token))croak("Illegal newline after 'throw'");var Ee=expression(true);semicolon();return new zt({value:Ee});case"try":next();return try_();case"var":next();var ce=var_();semicolon();return ce;case"let":next();var ce=let_();semicolon();return ce;case"const":next();var ce=const_();semicolon();return ce;case"with":if(j.input.has_directive("use strict")){croak("Strict mode may not include a with statement")}next();return new kt({expression:parenthesised(),body:statement()});case"export":if(!is_token(peek(),"punc","(")){next();var ce=export_();if(is("punc",";"))semicolon();return ce}}}unexpected()}));function labeled_statement(){var E=as_symbol(an);if(E.name==="await"&&is_in_async()){token_error(j.prev,"await cannot be used as label inside async function")}if(j.labels.some((N=>N.name===E.name))){croak("Label "+E.name+" defined twice")}expect(":");j.labels.push(E);var N=$();j.labels.pop();if(!(N instanceof yt)){E.references.forEach((function(N){if(N instanceof Jt){N=N.label.start;croak("Continue label `"+E.name+"` refers to non-IterationStatement.",N.line,N.col,N.pos)}}))}return new _t({body:N,label:E})}function simple_statement(E){return new dt({body:(E=expression(true),semicolon(),E)})}function break_cont(E){var N=null,R;if(!can_insert_semicolon()){N=as_symbol(ln,true)}if(N!=null){R=j.labels.find((E=>E.name===N.name));if(!R)croak("Undefined label "+N.name);N.thedef=R}else if(j.in_loop==0)croak(E.TYPE+" not inside a loop or switch");semicolon();var $=new E({label:N});if(R)R.references.push($);return $}function for_(){var E="`for await` invalid in this context";var N=j.token;if(N.type=="name"&&N.value=="await"){if(!can_await()){token_error(N,E)}next()}else{N=false}expect("(");var R=null;if(!is("punc",";")){R=is("keyword","var")?(next(),var_(true)):is("keyword","let")?(next(),let_(true)):is("keyword","const")?(next(),const_(true)):expression(true,true);var $=is("operator","in");var q=is("name","of");if(N&&!q){token_error(N,E)}if($||q){if(R instanceof tr){if(R.definitions.length>1)token_error(R.start,"Only one variable declaration allowed in for..in loop")}else if(!(is_assignable(R)||(R=to_destructuring(R))instanceof Ot)){token_error(R.start,"Invalid left-hand side in for..in loop")}next();if($){return for_in(R)}else{return for_of(R,!!N)}}}else if(N){token_error(N,E)}return regular_for(R)}function regular_for(E){expect(";");var N=is("punc",";")?null:expression(true);expect(";");var R=is("punc",")")?null:expression(true);expect(")");return new St({init:E,condition:N,step:R,body:in_loop((function(){return $(false,true)}))})}function for_of(E,N){var R=E instanceof tr?E.definitions[0].name:null;var j=expression(true);expect(")");return new Tt({await:N,init:E,name:R,object:j,body:in_loop((function(){return $(false,true)}))})}function for_in(E){var N=expression(true);expect(")");return new Et({init:E,object:N,body:in_loop((function(){return $(false,true)}))})}var arrow_function=function(E,N,R){if(has_newline_before(j.token)){croak("Unexpected newline before arrow (=>)")}expect_token("arrow","=>");var $=_function_body(is("punc","{"),false,R);var q=$ instanceof Array&&$.length?$[$.length-1].end:$ instanceof Array?E:$.end;return new It({start:E,end:q,async:R,argnames:N,body:$})};var function_=function(E,N,R,j){var $=E===Nt;var q=is("operator","*");if(q){next()}var G=is("name")?as_symbol($?Kr:Yr):null;if($&&!G){if(j){E=Ft}else{unexpected()}}if(G&&E!==Pt&&!(G instanceof $r))unexpected(prev());var ie=[];var ae=_function_body(true,q||N,R,G,ie);return new E({start:ie.start,end:ae.end,is_generator:q,async:R,name:G,argnames:ie,body:ae})};function track_used_binding_identifiers(E,N){var R=new Set;var j=false;var $=false;var q=false;var G=!!N;var ie={add_parameter:function(N){if(R.has(N.value)){if(j===false){j=N}ie.check_strict()}else{R.add(N.value);if(E){switch(N.value){case"arguments":case"eval":case"yield":if(G){token_error(N,"Unexpected "+N.value+" identifier as parameter inside strict mode")}break;default:if(_e.has(N.value)){unexpected()}}}}},mark_default_assignment:function(E){if($===false){$=E}},mark_spread:function(E){if(q===false){q=E}},mark_strict_mode:function(){G=true},is_strict:function(){return $!==false||q!==false||G},check_strict:function(){if(ie.is_strict()&&j!==false){token_error(j,"Parameter "+j.value+" was used already")}}};return ie}function parameters(E){var N=track_used_binding_identifiers(true,j.input.has_directive("use strict"));expect("(");while(!is("punc",")")){var R=parameter(N);E.push(R);if(!is("punc",")")){expect(",")}if(R instanceof At){break}}next()}function parameter(E,N){var R;var $=false;if(E===undefined){E=track_used_binding_identifiers(true,j.input.has_directive("use strict"))}if(is("expand","...")){$=j.token;E.mark_spread(j.token);next()}R=binding_element(E,N);if(is("operator","=")&&$===false){E.mark_default_assignment(j.token);next();R=new kr({start:R.start,left:R,operator:"=",right:expression(false),end:j.token})}if($!==false){if(!is("punc",")")){unexpected()}R=new At({start:$,expression:R,end:$})}E.check_strict();return R}function binding_element(E,N){var R=[];var $=true;var q=false;var G;var ie=j.token;if(E===undefined){E=track_used_binding_identifiers(false,j.input.has_directive("use strict"))}N=N===undefined?Gr:N;if(is("punc","[")){next();while(!is("punc","]")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("punc")){switch(j.token.value){case",":R.push(new Sn({start:j.token,end:j.token}));continue;case"]":break;case"[":case"{":R.push(binding_element(E,N));break;default:unexpected()}}else if(is("name")){E.add_parameter(j.token);R.push(as_symbol(N))}else{croak("Invalid function parameter")}if(is("operator","=")&&q===false){E.mark_default_assignment(j.token);next();R[R.length-1]=new kr({start:R[R.length-1].start,left:R[R.length-1],operator:"=",right:expression(false),end:j.token})}if(q){if(!is("punc","]")){croak("Rest element must be last element")}R[R.length-1]=new At({start:G,expression:R[R.length-1],end:G})}}expect("]");E.check_strict();return new Ot({start:ie,names:R,is_array:true,end:prev()})}else if(is("punc","{")){next();while(!is("punc","}")){if($){$=false}else{expect(",")}if(is("expand","...")){q=true;G=j.token;E.mark_spread(j.token);next()}if(is("name")&&(is_token(peek(),"punc")||is_token(peek(),"operator"))&&[",","}","="].includes(peek().value)){E.add_parameter(j.token);var ae=prev();var ce=as_symbol(N);if(q){R.push(new At({start:G,expression:ce,end:ce.end}))}else{R.push(new wr({start:ae,key:ce.name,value:ce,end:ce.end}))}}else if(is("punc","}")){continue}else{var le=j.token;var _e=as_property_name();if(_e===null){unexpected(prev())}else if(prev().type==="name"&&!is("punc",":")){R.push(new wr({start:prev(),key:_e,value:new N({start:prev(),name:_e,end:prev()}),end:prev()}))}else{expect(":");R.push(new wr({start:le,quote:le.quote,key:_e,value:binding_element(E,N),end:prev()}))}}if(q){if(!is("punc","}")){croak("Rest element must be last element")}}else if(is("operator","=")){E.mark_default_assignment(j.token);next();R[R.length-1].value=new kr({start:R[R.length-1].value.start,left:R[R.length-1].value,operator:"=",right:expression(false),end:j.token})}}expect("}");E.check_strict();return new Ot({start:ie,names:R,is_array:false,end:prev()})}else if(is("name")){E.add_parameter(j.token);return as_symbol(N)}else{croak("Invalid function parameter")}}function params_or_seq_(E,N){var R;var $;var q;var G=[];expect("(");while(!is("punc",")")){if(R)unexpected(R);if(is("expand","...")){R=j.token;if(N)$=j.token;next();G.push(new At({start:prev(),expression:expression(),end:j.token}))}else{G.push(expression())}if(!is("punc",")")){expect(",");if(is("punc",")")){q=prev();if(N)$=q}}}expect(")");if(E&&is("arrow","=>")){if(R&&q)unexpected(q)}else if($){unexpected($)}return G}function _function_body(E,N,R,$,q){var G=j.in_loop;var ie=j.labels;var ae=j.in_generator;var ce=j.in_async;++j.in_function;if(N)j.in_generator=j.in_function;if(R)j.in_async=j.in_function;if(q)parameters(q);if(E)j.in_directives=true;j.in_loop=0;j.labels=[];if(E){j.input.push_directives_stack();var le=block_();if($)_verify_symbol($);if(q)q.forEach(_verify_symbol);j.input.pop_directives_stack()}else{var le=[new Ut({start:j.token,value:expression(false),end:j.token})]}--j.in_function;j.in_loop=G;j.labels=ie;j.in_generator=ae;j.in_async=ce;return le}function _await_expression(){if(!can_await()){croak("Unexpected await expression outside async function",j.prev.line,j.prev.col,j.prev.pos)}return new Vt({start:prev(),end:j.token,expression:maybe_unary(true)})}function _yield_expression(){if(!is_in_generator()){croak("Unexpected yield expression outside generator function",j.prev.line,j.prev.col,j.prev.pos)}var E=j.token;var N=false;var R=true;if(can_insert_semicolon()||is("punc")&&Je.has(j.token.value)){R=false}else if(is("operator","*")){N=true;next()}return new qt({start:E,is_star:N,expression:R?expression():null,end:prev()})}function if_(){var E=parenthesised(),N=$(false,false,true),R=null;if(is("keyword","else")){next();R=$(false,false,true)}return new Ht({condition:E,body:N,alternative:R})}function block_(){expect("{");var E=[];while(!is("punc","}")){if(is("eof"))unexpected();E.push($())}next();return E}function switch_body_(){expect("{");var E=[],N=null,R=null,q;while(!is("punc","}")){if(is("eof"))unexpected();if(is("keyword","case")){if(R)R.end=prev();N=[];R=new Xt({start:(q=j.token,next(),q),expression:expression(true),body:N});E.push(R);expect(":")}else if(is("keyword","default")){if(R)R.end=prev();N=[];R=new Qt({start:(q=j.token,next(),expect(":"),q),body:N});E.push(R)}else{if(!N)unexpected();N.push($())}}if(R)R.end=prev();next();return E}function try_(){var E=block_(),N=null,R=null;if(is("keyword","catch")){var $=j.token;next();if(is("punc","{")){var q=null}else{expect("(");var q=parameter(undefined,tn);expect(")")}N=new Zt({start:$,argname:q,body:block_(),end:prev()})}if(is("keyword","finally")){var $=j.token;next();R=new er({start:$,body:block_(),end:prev()})}if(!N&&!R)croak("Missing catch/finally blocks");return new Yt({body:E,bcatch:N,bfinally:R})}function vardefs(E,N){var R=[];var $;for(;;){var q=N==="var"?Jr:N==="const"?qr:N==="let"?Hr:null;if(is("punc","{")||is("punc","[")){$=new ar({start:j.token,name:binding_element(undefined,q),value:is("operator","=")?(expect_token("operator","="),expression(false,E)):null,end:prev()})}else{$=new ar({start:j.token,name:as_symbol(q),value:is("operator","=")?(next(),expression(false,E)):!E&&N==="const"?croak("Missing initializer in const declaration"):null,end:prev()});if($.name.name=="import")croak("Unexpected token: import")}R.push($);if(!is("punc",","))break;next()}return R}var var_=function(E){return new rr({start:prev(),definitions:vardefs(E,"var"),end:prev()})};var let_=function(E){return new nr({start:prev(),definitions:vardefs(E,"let"),end:prev()})};var const_=function(E){return new ir({start:prev(),definitions:vardefs(E,"const"),end:prev()})};var new_=function(E){var N=j.token;expect_token("operator","new");if(is("punc",".")){next();expect_token("name","target");return subscripts(new Wr({start:N,end:prev()}),E)}var R=expr_atom(false),$;if(is("punc","(")){next();$=expr_list(")",true)}else{$=[]}var q=new pr({start:N,expression:R,args:$,end:prev()});annotate(q);return subscripts(q,E)};function as_atom_node(){var E=j.token,N;switch(E.type){case"name":N=_make_symbol(on);break;case"num":N=new gn({start:E,end:E,value:E.value,raw:ie});break;case"big_int":N=new hn({start:E,end:E,value:E.value});break;case"string":N=new mn({start:E,end:E,value:E.value,quote:E.quote});break;case"regexp":const[R,j,$]=E.value.match(/^\/(.*)\/(\w*)$/);N=new _n({start:E,end:E,value:{source:j,flags:$}});break;case"atom":switch(E.value){case"false":N=new kn({start:E,end:E});break;case"true":N=new Cn({start:E,end:E});break;case"null":N=new vn({start:E,end:E});break}break}next();return N}function to_fun_args(E,N){var insert_default=function(E,N){if(N){return new kr({start:E.start,left:E,operator:"=",right:N,end:N.end})}return E};if(E instanceof Dr){return insert_default(new Ot({start:E.start,end:E.end,is_array:false,names:E.properties.map((E=>to_fun_args(E)))}),N)}else if(E instanceof wr){E.value=to_fun_args(E.value);return insert_default(E,N)}else if(E instanceof Sn){return E}else if(E instanceof Ot){E.names=E.names.map((E=>to_fun_args(E)));return insert_default(E,N)}else if(E instanceof on){return insert_default(new Gr({name:E.name,start:E.start,end:E.end}),N)}else if(E instanceof At){E.expression=to_fun_args(E.expression);return insert_default(E,N)}else if(E instanceof Cr){return insert_default(new Ot({start:E.start,end:E.end,is_array:true,names:E.elements.map((E=>to_fun_args(E)))}),N)}else if(E instanceof Tr){return insert_default(to_fun_args(E.left,E.right),N)}else if(E instanceof kr){E.left=to_fun_args(E.left);return E}else{croak("Invalid function parameter",E.start.line,E.start.col)}}var expr_atom=function(E,N){if(is("operator","new")){return new_(E)}if(is("operator","import")){return import_meta()}var $=j.token;var G;var ie=is("name","async")&&(G=peek()).value!="["&&G.type!="arrow"&&as_atom_node();if(is("punc")){switch(j.token.value){case"(":if(ie&&!E)break;var ae=params_or_seq_(N,!ie);if(N&&is("arrow","=>")){return arrow_function($,ae.map((E=>to_fun_args(E))),!!ie)}var le=ie?new dr({expression:ie,args:ae}):ae.length==1?ae[0]:new fr({expressions:ae});if(le.start){const E=$.comments_before.length;R.set($,E);le.start.comments_before.unshift(...$.comments_before);$.comments_before=le.start.comments_before;if(E==0&&$.comments_before.length>0){var _e=$.comments_before[0];if(!_e.nlb){_e.nlb=$.nlb;$.nlb=false}}$.comments_after=le.start.comments_after}le.start=$;var Ee=prev();if(le.end){Ee.comments_before=le.end.comments_before;le.end.comments_after.push(...Ee.comments_after);Ee.comments_after=le.end.comments_after}le.end=Ee;if(le instanceof dr)annotate(le);return subscripts(le,E);case"[":return subscripts(q(),E);case"{":return subscripts(ce(),E)}if(!ie)unexpected()}if(N&&is("name")&&is_token(peek(),"arrow")){var Te=new Gr({name:j.token.value,start:$,end:$});next();return arrow_function($,[Te],!!ie)}if(is("keyword","function")){next();var we=function_(Ft,false,!!ie);we.start=$;we.end=prev();return subscripts(we,E)}if(ie)return subscripts(ie,E);if(is("keyword","class")){next();var Ie=class_(Ur);Ie.start=$;Ie.end=prev();return subscripts(Ie,E)}if(is("template_head")){return subscripts(template_string(),E)}if(tt.has(j.token.type)){return subscripts(as_atom_node(),E)}unexpected()};function template_string(){var E=[],N=j.token;E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}));while(!ae){next();handle_regexp();E.push(expression(true));E.push(new Lt({start:j.token,raw:ie,value:j.token.value,end:j.token}))}next();return new Rt({start:N,segments:E,end:j.token})}function expr_list(E,N,R){var $=true,q=[];while(!is("punc",E)){if($)$=false;else expect(",");if(N&&is("punc",E))break;if(is("punc",",")&&R){q.push(new Sn({start:j.token,end:j.token}))}else if(is("expand","...")){next();q.push(new At({start:prev(),expression:expression(),end:j.token}))}else{q.push(expression(false))}}next();return q}var q=embed_tokens((function(){expect("[");return new Cr({elements:expr_list("]",!N.strict,true)})}));var G=embed_tokens(((E,N)=>function_(Pt,E,N)));var ce=embed_tokens((function object_or_destructuring_(){var E=j.token,R=true,$=[];expect("{");while(!is("punc","}")){if(R)R=false;else expect(",");if(!N.strict&&is("punc","}"))break;E=j.token;if(E.type=="expand"){next();$.push(new At({start:E,expression:expression(false),end:prev()}));continue}var q=as_property_name();var G;if(!is("punc",":")){var ie=concise_method_or_getset(q,E);if(ie){$.push(ie);continue}G=new on({start:prev(),name:q,end:prev()})}else if(q===null){unexpected(prev())}else{next();G=expression(false)}if(is("operator","=")){next();G=new Tr({start:E,left:G,operator:"=",right:expression(false),logical:false,end:prev()})}$.push(new wr({start:E,quote:E.quote,key:q instanceof ot?q:""+q,value:G,end:prev()}))}next();return new Dr({properties:$})}));function class_(E,N){var R,$,q,G,ie=[];j.input.push_directives_stack();j.input.add_directive("use strict");if(j.token.type=="name"&&j.token.value!="extends"){q=as_symbol(E===jr?Zr:en)}if(E===jr&&!q){if(N){E=Ur}else{unexpected()}}if(j.token.value=="extends"){next();G=expression(true)}expect("{");while(is("punc",";")){next()}while(!is("punc","}")){R=j.token;$=concise_method_or_getset(as_property_name(),R,true);if(!$){unexpected()}ie.push($);while(is("punc",";")){next()}}j.input.pop_directives_stack();next();return new E({start:R,name:q,extends:G,properties:ie,end:prev()})}function concise_method_or_getset(E,N,R){const get_symbol_ast=(E,R=Qr)=>{if(typeof E==="string"||typeof E==="number"){return new R({start:N,name:""+E,end:prev()})}else if(E===null){unexpected()}return E};const is_not_method_start=()=>!is("punc","(")&&!is("punc",",")&&!is("punc","}")&&!is("operator","=");var j=false;var $=false;var q=false;var ie=false;var ae=null;if(R&&E==="static"&&is_not_method_start()){$=true;E=as_property_name()}if(E==="async"&&is_not_method_start()){j=true;E=as_property_name()}if(prev().type==="operator"&&prev().value==="*"){q=true;E=as_property_name()}if((E==="get"||E==="set")&&is_not_method_start()){ae=E;E=as_property_name()}if(prev().type==="privatename"){ie=true}const ce=prev();if(ae!=null){if(!ie){const R=ae==="get"?Nr:Ir;E=get_symbol_ast(E);return new R({start:N,static:$,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(),end:prev()})}else{const R=ae==="get"?Fr:Pr;return new R({start:N,static:$,key:get_symbol_ast(E),value:G(),end:prev()})}}if(is("punc","(")){E=get_symbol_ast(E);const R=ie?Mr:Or;var le=new R({start:N,static:$,is_generator:q,async:j,key:E,quote:E instanceof Qr?ce.quote:undefined,value:G(q,j),end:prev()});return le}if(R){const R=get_symbol_ast(E,Xr);const j=R instanceof Xr?ce.quote:undefined;const q=ie?Br:Lr;if(is("operator","=")){next();return new q({start:N,static:$,quote:j,key:R,value:expression(false),end:prev()})}else if(is("name")||is("privatename")||is("operator","*")||is("punc",";")||is("punc","}")){return new q({start:N,static:$,quote:j,key:R,end:prev()})}}}function import_(){var E=prev();var N;var R;if(is("name")){N=as_symbol(rn)}if(is("punc",",")){next()}R=map_names(true);if(R||N){expect_token("name","from")}var $=j.token;if($.type!=="string"){unexpected()}next();return new cr({start:E,imported_name:N,imported_names:R,module_name:new mn({start:$,value:$.value,quote:$.quote,end:$}),end:j.token})}function import_meta(){var E=j.token;expect_token("operator","import");expect_token("punc",".");expect_token("name","meta");return subscripts(new lr({start:E,end:prev()}),false)}function map_name(E){function make_symbol(E){return new E({name:as_property_name(),start:prev(),end:prev()})}var N=E?nn:cn;var R=E?rn:sn;var $=j.token;var q;var G;if(E){q=make_symbol(N)}else{G=make_symbol(R)}if(is("name","as")){next();if(E){G=make_symbol(R)}else{q=make_symbol(N)}}else if(E){G=new R(q)}else{q=new N(G)}return new sr({start:$,foreign_name:q,name:G,end:prev()})}function map_nameAsterisk(E,N){var R=E?nn:cn;var $=E?rn:sn;var q=j.token;var G;var ie=prev();N=N||new $({name:"*",start:q,end:ie});G=new R({name:"*",start:q,end:ie});return new sr({start:q,foreign_name:G,name:N,end:ie})}function map_names(E){var N;if(is("punc","{")){next();N=[];while(!is("punc","}")){N.push(map_name(E));if(is("punc",",")){next()}}next()}else if(is("operator","*")){var R;next();if(E&&is("name","as")){next();R=as_symbol(E?rn:cn)}N=[map_nameAsterisk(E,R)]}return N}function export_(){var E=j.token;var N;var R;if(is("keyword","default")){N=true;next()}else if(R=map_names(false)){if(is("name","from")){next();var q=j.token;if(q.type!=="string"){unexpected()}next();return new ur({start:E,is_default:N,exported_names:R,module_name:new mn({start:q,value:q.value,quote:q.quote,end:q}),end:prev()})}else{return new ur({start:E,is_default:N,exported_names:R,end:prev()})}}var G;var ie;var ae;if(is("punc","{")||N&&(is("keyword","class")||is("keyword","function"))&&is_token(peek(),"punc")){ie=expression(false);semicolon()}else if((G=$(N))instanceof tr&&N){unexpected(G.start)}else if(G instanceof tr||G instanceof Nt||G instanceof jr){ae=G}else if(G instanceof Ur||G instanceof Ft){ie=G}else if(G instanceof dt){ie=G.body}else{unexpected(G.start)}return new ur({start:E,is_default:N,exported_value:ie,exported_definition:ae,end:prev()})}function as_property_name(){var E=j.token;switch(E.type){case"punc":if(E.value==="["){next();var N=expression(false);expect("]");return N}else unexpected(E);case"operator":if(E.value==="*"){next();return null}if(!["delete","in","instanceof","new","typeof","void"].includes(E.value)){unexpected(E)}case"name":case"privatename":case"string":case"num":case"big_int":case"keyword":case"atom":next();return E.value;default:unexpected(E)}}function as_name(){var E=j.token;if(E.type!="name"&&E.type!="privatename")unexpected();next();return E.value}function _make_symbol(E){var N=j.token.value;return new(N=="this"?un:N=="super"?dn:E)({name:String(N),start:j.token,end:j.token})}function _verify_symbol(E){var N=E.name;if(is_in_generator()&&N=="yield"){token_error(E.start,"Yield cannot be used as identifier inside generators")}if(j.input.has_directive("use strict")){if(N=="yield"){token_error(E.start,"Unexpected yield identifier inside strict mode")}if(E instanceof $r&&(N=="arguments"||N=="eval")){token_error(E.start,"Unexpected "+N+" in strict mode")}}}function as_symbol(E,N){if(!is("name")){if(!N)croak("Name expected");return null}var R=_make_symbol(E);_verify_symbol(R);next();return R}function annotate(E){var N=E.start;var j=N.comments_before;const $=R.get(N);var q=$!=null?$:j.length;while(--q>=0){var G=j[q];if(/[@#]__/.test(G.value)){if(/[@#]__PURE__/.test(G.value)){set_annotation(E,An);break}if(/[@#]__INLINE__/.test(G.value)){set_annotation(E,wn);break}if(/[@#]__NOINLINE__/.test(G.value)){set_annotation(E,Pn);break}}}}var subscripts=function(E,N,R){var j=E.start;if(is("punc",".")){next();const $=is("privatename")?hr:gr;return subscripts(new $({start:j,expression:E,optional:false,property:as_name(),end:prev()}),N,R)}if(is("punc","[")){next();var $=expression(true);expect("]");return subscripts(new _r({start:j,expression:E,optional:false,property:$,end:prev()}),N,R)}if(N&&is("punc","(")){next();var q=new dr({start:j,expression:E,optional:false,args:call_args(),end:prev()});annotate(q);return subscripts(q,true,R)}if(is("punc","?.")){next();let R;if(N&&is("punc","(")){next();const N=new dr({start:j,optional:true,expression:E,args:call_args(),end:prev()});annotate(N);R=subscripts(N,true,true)}else if(is("name")||is("privatename")){const $=is("privatename")?hr:gr;R=subscripts(new $({start:j,expression:E,optional:true,property:as_name(),end:prev()}),N,true)}else if(is("punc","[")){next();const $=expression(true);expect("]");R=subscripts(new _r({start:j,expression:E,optional:true,property:$,end:prev()}),N,true)}if(!R)unexpected();if(R instanceof yr)return R;return new yr({start:j,expression:R,end:prev()})}if(is("template_head")){if(R){unexpected()}return subscripts(new Mt({start:j,prefix:E,template_string:template_string(),end:prev()}),N)}return E};function call_args(){var E=[];while(!is("punc",")")){if(is("expand","...")){next();E.push(new At({start:prev(),expression:expression(false),end:prev()}))}else{E.push(expression(false))}if(!is("punc",")")){expect(",")}}next();return E}var maybe_unary=function(E,N){var R=j.token;if(R.type=="name"&&R.value=="await"&&can_await()){next();return _await_expression()}if(is("operator")&&Qe.has(R.value)){next();handle_regexp();var $=make_unary(br,R,maybe_unary(E));$.start=R;$.end=prev();return $}var q=expr_atom(E,N);while(is("operator")&&Xe.has(j.token.value)&&!has_newline_before(j.token)){if(q instanceof It)unexpected();q=make_unary(xr,j.token,q);q.start=R;q.end=j.token;next()}return q};function make_unary(E,N,R){var $=N.value;switch($){case"++":case"--":if(!is_assignable(R))croak("Invalid use of "+$+" operator",N.line,N.col,N.pos);break;case"delete":if(R instanceof on&&j.input.has_directive("use strict"))croak("Calling delete on expression not allowed in strict mode",R.start.line,R.start.col,R.start.pos);break}return new E({operator:$,expression:R})}var expr_op=function(E,N,R){var $=is("operator")?j.token.value:null;if($=="in"&&R)$=null;if($=="**"&&E instanceof br&&!is_token(E.start,"punc","(")&&E.operator!=="--"&&E.operator!=="++")unexpected(E.start);var q=$!=null?et[$]:null;if(q!=null&&(q>N||$==="**"&&N===q)){next();var G=expr_op(maybe_unary(true),q,R);return expr_op(new Sr({start:E.start,left:E,operator:$,right:G,end:G.end}),N,R)}return E};function expr_ops(E){return expr_op(maybe_unary(true,true),0,E)}var maybe_conditional=function(E){var N=j.token;var R=expr_ops(E);if(is("operator","?")){next();var $=expression(false);expect(":");return new Er({start:N,condition:R,consequent:$,alternative:expression(false,E),end:prev()})}return R};function is_assignable(E){return E instanceof mr||E instanceof on}function to_destructuring(E){if(E instanceof Dr){E=new Ot({start:E.start,names:E.properties.map(to_destructuring),is_array:false,end:E.end})}else if(E instanceof Cr){var N=[];for(var R=0;R=0;){q+="this."+N[G]+" = props."+N[G]+";"}const ie=j&&Object.create(j.prototype);if(ie&&ie.initialize||R&&R.initialize)q+="this.initialize();";q+="}";q+="this.flags = 0;";q+="}";var ae=new Function(q)();if(ie){ae.prototype=ie;ae.BASE=j}if(j)j.SUBCLASSES.push(ae);ae.prototype.CTOR=ae;ae.prototype.constructor=ae;ae.PROPS=N||null;ae.SELF_PROPS=$;ae.SUBCLASSES=[];if(E){ae.prototype.TYPE=ae.TYPE=E}if(R)for(G in R)if(HOP(R,G)){if(G[0]==="$"){ae[G.substr(1)]=R[G]}else{ae.prototype[G]=R[G]}}ae.DEFMETHOD=function(E,N){this.prototype[E]=N};return ae}const has_tok_flag=(E,N)=>Boolean(E.flags&N);const set_tok_flag=(E,N,R)=>{if(R){E.flags|=N}else{E.flags&=~N}};const rt=1;const nt=2;const it=4;class AST_Token{constructor(E,N,R,j,$,q,G,ie,ae){this.flags=q?1:0;this.type=E;this.value=N;this.line=R;this.col=j;this.pos=$;this.comments_before=G;this.comments_after=ie;this.file=ae;Object.seal(this)}get nlb(){return has_tok_flag(this,rt)}set nlb(E){set_tok_flag(this,rt,E)}get quote(){return!has_tok_flag(this,it)?"":has_tok_flag(this,nt)?"'":'"'}set quote(E){set_tok_flag(this,nt,E==="'");set_tok_flag(this,it,!!E)}}var ot=DEFNODE("Node","start end",{_clone:function(E){if(E){var N=this.clone();return N.transform(new TreeTransformer((function(E){if(E!==N){return E.clone(true)}})))}return new this.CTOR(this)},clone:function(E){return this._clone(E)},$documentation:"Base class of all AST nodes",$propdoc:{start:"[AST_Token] The first token of this node",end:"[AST_Token] The last token of this node"},_walk:function(E){return E._visit(this)},walk:function(E){return this._walk(E)},_children_backwards:()=>{}},null);var st=DEFNODE("Statement",null,{$documentation:"Base class of all statements"});var ct=DEFNODE("Debugger",null,{$documentation:"Represents a debugger statement"},st);var ut=DEFNODE("Directive","value quote",{$documentation:'Represents a directive, like "use strict";',$propdoc:{value:"[string] The value of this directive as a plain string (it's not an AST_String!)",quote:"[string] the original quote character"}},st);var dt=DEFNODE("SimpleStatement","body",{$documentation:"A statement consisting of an expression, i.e. a = 1 + 2",$propdoc:{body:"[AST_Node] an expression node (should not be instanceof AST_Statement)"},_walk:function(E){return E._visit(this,(function(){this.body._walk(E)}))},_children_backwards(E){E(this.body)}},st);function walk_body(E,N){const R=E.body;for(var j=0,$=R.length;j<$;j++){R[j]._walk(N)}}function clone_block_scope(E){var N=this._clone(E);if(this.block_scope){N.block_scope=this.block_scope.clone()}return N}var pt=DEFNODE("Block","body block_scope",{$documentation:"A body of statements (usually braced)",$propdoc:{body:"[AST_Statement*] an array of statements",block_scope:"[AST_Scope] the block scope"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N])},clone:clone_block_scope},st);var ft=DEFNODE("BlockStatement",null,{$documentation:"A block statement"},pt);var mt=DEFNODE("EmptyStatement",null,{$documentation:"The empty statement (empty block or simply a semicolon)"},st);var ht=DEFNODE("StatementWithBody","body",{$documentation:"Base class for all statements that contain one nested body: `For`, `ForIn`, `Do`, `While`, `With`",$propdoc:{body:"[AST_Statement] the body; this should always be present, even if it's an AST_EmptyStatement"}},st);var _t=DEFNODE("LabeledStatement","label",{$documentation:"Statement with a label",$propdoc:{label:"[AST_Label] a label definition"},_walk:function(E){return E._visit(this,(function(){this.label._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.label)},clone:function(E){var N=this._clone(E);if(E){var R=N.label;var j=this.label;N.walk(new TreeWalker((function(E){if(E instanceof Wt&&E.label&&E.label.thedef===j){E.label.thedef=R;R.references.push(E)}})))}return N}},ht);var yt=DEFNODE("IterationStatement","block_scope",{$documentation:"Internal class. All loops inherit from it.",$propdoc:{block_scope:"[AST_Scope] the block scope for this iteration statement."},clone:clone_block_scope},ht);var vt=DEFNODE("DWLoop","condition",{$documentation:"Base class for do/while statements",$propdoc:{condition:"[AST_Node] the loop condition. Should not be instanceof AST_Statement"}},yt);var bt=DEFNODE("Do",null,{$documentation:"A `do` statement",_walk:function(E){return E._visit(this,(function(){this.body._walk(E);this.condition._walk(E)}))},_children_backwards(E){E(this.condition);E(this.body)}},vt);var xt=DEFNODE("While",null,{$documentation:"A `while` statement",_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.condition)}},vt);var St=DEFNODE("For","init condition step",{$documentation:"A `for` statement",$propdoc:{init:"[AST_Node?] the `for` initialization code, or null if empty",condition:"[AST_Node?] the `for` termination clause, or null if empty",step:"[AST_Node?] the `for` update clause, or null if empty"},_walk:function(E){return E._visit(this,(function(){if(this.init)this.init._walk(E);if(this.condition)this.condition._walk(E);if(this.step)this.step._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.step)E(this.step);if(this.condition)E(this.condition);if(this.init)E(this.init)}},yt);var Et=DEFNODE("ForIn","init object",{$documentation:"A `for ... in` statement",$propdoc:{init:"[AST_Node] the `for/in` initialization code",object:"[AST_Node] the object that we're looping through"},_walk:function(E){return E._visit(this,(function(){this.init._walk(E);this.object._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);if(this.object)E(this.object);if(this.init)E(this.init)}},yt);var Tt=DEFNODE("ForOf","await",{$documentation:"A `for ... of` statement"},Et);var kt=DEFNODE("With","expression",{$documentation:"A `with` statement",$propdoc:{expression:"[AST_Node] the `with` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);this.body._walk(E)}))},_children_backwards(E){E(this.body);E(this.expression)}},ht);var Ct=DEFNODE("Scope","variables functions uses_with uses_eval parent_scope enclosed cname",{$documentation:"Base class for all statements introducing a lexical scope",$propdoc:{variables:"[Map/S] a map of name -> SymbolDef for all variables/functions defined in this scope",uses_with:"[boolean/S] tells whether this scope uses the `with` statement",uses_eval:"[boolean/S] tells whether this scope contains a direct call to the global `eval`",parent_scope:"[AST_Scope?/S] link to the parent scope",enclosed:"[SymbolDef*/S] a list of all symbol definitions that are accessed from this scope or any subscopes",cname:"[integer/S] current index for mangling variables (used internally by the mangler)"},get_defun_scope:function(){var E=this;while(E.is_block_scope()){E=E.parent_scope}return E},clone:function(E,N){var R=this._clone(E);if(E&&this.variables&&N&&!this._block_scope){R.figure_out_scope({},{toplevel:N,parent_scope:this.parent_scope})}else{if(this.variables)R.variables=new Map(this.variables);if(this.enclosed)R.enclosed=this.enclosed.slice();if(this._block_scope)R._block_scope=this._block_scope}return R},pinned:function(){return this.uses_eval||this.uses_with}},pt);var Dt=DEFNODE("Toplevel","globals",{$documentation:"The toplevel scope",$propdoc:{globals:"[Map/S] a map of name -> SymbolDef for all undeclared names"},wrap_commonjs:function(E){var N=this.body;var R="(function(exports){'$ORIG';})(typeof "+E+"=='undefined'?("+E+"={}):"+E+");";R=parse(R);R=R.transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(N)}})));return R},wrap_enclose:function(E){if(typeof E!="string")E="";var N=E.indexOf(":");if(N<0)N=E.length;var R=this.body;return parse(["(function(",E.slice(0,N),'){"$ORIG"})(',E.slice(N+1),")"].join("")).transform(new TreeTransformer((function(E){if(E instanceof ut&&E.value=="$ORIG"){return $.splice(R)}})))}},Ct);var At=DEFNODE("Expansion","expression",{$documentation:"An expandible argument, such as ...rest, a splat, such as [1,2,...all], or an expansion in a variable declaration, such as var [first, ...rest] = list",$propdoc:{expression:"[AST_Node] the thing to be expanded"},_walk:function(E){return E._visit(this,(function(){this.expression.walk(E)}))},_children_backwards(E){E(this.expression)}});var wt=DEFNODE("Lambda","name argnames uses_arguments is_generator async",{$documentation:"Base class for functions",$propdoc:{name:"[AST_SymbolDeclaration?] the name of this function",argnames:"[AST_SymbolFunarg|AST_Destructuring|AST_Expansion|AST_DefaultAssign*] array of function arguments, destructurings, or expanding arguments",uses_arguments:"[boolean/S] tells whether this function accesses the arguments array",is_generator:"[boolean] is this a generator method",async:"[boolean] is this method async"},args_as_names:function(){var E=[];for(var N=0;N b)"},wt);var Nt=DEFNODE("Defun",null,{$documentation:"A function definition"},wt);var Ot=DEFNODE("Destructuring","names is_array",{$documentation:"A destructuring of several names. Used in destructuring assignment and with destructuring function argument names",$propdoc:{names:"[AST_Node*] Array of properties or elements",is_array:"[Boolean] Whether the destructuring represents an object or array"},_walk:function(E){return E._visit(this,(function(){this.names.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.names.length;while(N--)E(this.names[N])},all_symbols:function(){var E=[];this.walk(new TreeWalker((function(N){if(N instanceof zr){E.push(N)}})));return E}});var Mt=DEFNODE("PrefixedTemplateString","template_string prefix",{$documentation:"A templatestring with a prefix, such as String.raw`foobarbaz`",$propdoc:{template_string:"[AST_TemplateString] The template string",prefix:"[AST_Node] The prefix, which will get called."},_walk:function(E){return E._visit(this,(function(){this.prefix._walk(E);this.template_string._walk(E)}))},_children_backwards(E){E(this.template_string);E(this.prefix)}});var Rt=DEFNODE("TemplateString","segments",{$documentation:"A template string literal",$propdoc:{segments:"[AST_Node*] One or more segments, starting with AST_TemplateSegment. AST_Node may follow AST_TemplateSegment, but each AST_Node must be followed by AST_TemplateSegment."},_walk:function(E){return E._visit(this,(function(){this.segments.forEach((function(N){N._walk(E)}))}))},_children_backwards(E){let N=this.segments.length;while(N--)E(this.segments[N])}});var Lt=DEFNODE("TemplateSegment","value raw",{$documentation:"A segment of a template string literal",$propdoc:{value:"Content of the segment",raw:"Raw source of the segment"}});var Bt=DEFNODE("Jump",null,{$documentation:"Base class for “jumps” (for now that's `return`, `throw`, `break` and `continue`)"},st);var jt=DEFNODE("Exit","value",{$documentation:"Base class for “exits” (`return` and `throw`)",$propdoc:{value:"[AST_Node?] the value returned or thrown by this statement; could be null for AST_Return"},_walk:function(E){return E._visit(this,this.value&&function(){this.value._walk(E)})},_children_backwards(E){if(this.value)E(this.value)}},Bt);var Ut=DEFNODE("Return",null,{$documentation:"A `return` statement"},jt);var zt=DEFNODE("Throw",null,{$documentation:"A `throw` statement"},jt);var Wt=DEFNODE("LoopControl","label",{$documentation:"Base class for loop control statements (`break` and `continue`)",$propdoc:{label:"[AST_LabelRef?] the label, or null if none"},_walk:function(E){return E._visit(this,this.label&&function(){this.label._walk(E)})},_children_backwards(E){if(this.label)E(this.label)}},Bt);var $t=DEFNODE("Break",null,{$documentation:"A `break` statement"},Wt);var Jt=DEFNODE("Continue",null,{$documentation:"A `continue` statement"},Wt);var Vt=DEFNODE("Await","expression",{$documentation:"An `await` statement",$propdoc:{expression:"[AST_Node] the mandatory expression being awaited"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E)}))},_children_backwards(E){E(this.expression)}});var qt=DEFNODE("Yield","expression is_star",{$documentation:"A `yield` statement",$propdoc:{expression:"[AST_Node?] the value returned or thrown by this statement; could be null (representing undefined) but only when is_star is set to false",is_star:"[Boolean] Whether this is a yield or yield* statement"},_walk:function(E){return E._visit(this,this.expression&&function(){this.expression._walk(E)})},_children_backwards(E){if(this.expression)E(this.expression)}});var Ht=DEFNODE("If","condition alternative",{$documentation:"A `if` statement",$propdoc:{condition:"[AST_Node] the `if` condition",alternative:"[AST_Statement?] the `else` part, or null if not present"},_walk:function(E){return E._visit(this,(function(){this.condition._walk(E);this.body._walk(E);if(this.alternative)this.alternative._walk(E)}))},_children_backwards(E){if(this.alternative){E(this.alternative)}E(this.body);E(this.condition)}},ht);var Gt=DEFNODE("Switch","expression",{$documentation:"A `switch` statement",$propdoc:{expression:"[AST_Node] the `switch` “discriminant”"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},pt);var Kt=DEFNODE("SwitchBranch",null,{$documentation:"Base class for `switch` branches"},pt);var Qt=DEFNODE("Default",null,{$documentation:"A `default` switch branch"},Kt);var Xt=DEFNODE("Case","expression",{$documentation:"A `case` switch branch",$propdoc:{expression:"[AST_Node] the `case` expression"},_walk:function(E){return E._visit(this,(function(){this.expression._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);E(this.expression)}},Kt);var Yt=DEFNODE("Try","bcatch bfinally",{$documentation:"A `try` statement",$propdoc:{bcatch:"[AST_Catch?] the catch block, or null if not present",bfinally:"[AST_Finally?] the finally block, or null if not present"},_walk:function(E){return E._visit(this,(function(){walk_body(this,E);if(this.bcatch)this.bcatch._walk(E);if(this.bfinally)this.bfinally._walk(E)}))},_children_backwards(E){if(this.bfinally)E(this.bfinally);if(this.bcatch)E(this.bcatch);let N=this.body.length;while(N--)E(this.body[N])}},pt);var Zt=DEFNODE("Catch","argname",{$documentation:"A `catch` node; only makes sense as part of a `try` statement",$propdoc:{argname:"[AST_SymbolCatch|AST_Destructuring|AST_Expansion|AST_DefaultAssign] symbol for the exception"},_walk:function(E){return E._visit(this,(function(){if(this.argname)this.argname._walk(E);walk_body(this,E)}))},_children_backwards(E){let N=this.body.length;while(N--)E(this.body[N]);if(this.argname)E(this.argname)}},pt);var er=DEFNODE("Finally",null,{$documentation:"A `finally` node; only makes sense as part of a `try` statement"},pt);var tr=DEFNODE("Definitions","definitions",{$documentation:"Base class for `var` or `const` nodes (variable declarations/initializations)",$propdoc:{definitions:"[AST_VarDef*] array of variable definitions"},_walk:function(E){return E._visit(this,(function(){var N=this.definitions;for(var R=0,j=N.length;R a`"},Sr);var Cr=DEFNODE("Array","elements",{$documentation:"An array literal",$propdoc:{elements:"[AST_Node*] array of elements"},_walk:function(E){return E._visit(this,(function(){var N=this.elements;for(var R=0,j=N.length;RN._walk(E)))}))},_children_backwards(E){let N=this.properties.length;while(N--)E(this.properties[N]);if(this.extends)E(this.extends);if(this.name)E(this.name)}},Ct);var Lr=DEFNODE("ClassProperty","static quote",{$documentation:"A class property",$propdoc:{static:"[boolean] whether this is a static key",quote:"[string] which quote is being used"},_walk:function(E){return E._visit(this,(function(){if(this.key instanceof ot)this.key._walk(E);if(this.value instanceof ot)this.value._walk(E)}))},_children_backwards(E){if(this.value instanceof ot)E(this.value);if(this.key instanceof ot)E(this.key)},computed_key(){return!(this.key instanceof Xr)}},Ar);var Br=DEFNODE("ClassProperty","",{$documentation:"A class property for a private property"},Lr);var jr=DEFNODE("DefClass",null,{$documentation:"A class definition"},Rr);var Ur=DEFNODE("ClassExpression",null,{$documentation:"A class expression."},Rr);var zr=DEFNODE("Symbol","scope name thedef",{$propdoc:{name:"[string] name of this symbol",scope:"[AST_Scope/S] the current scope (not necessarily the definition scope)",thedef:"[SymbolDef/S] the definition of this symbol"},$documentation:"Base class for all symbols"});var Wr=DEFNODE("NewTarget",null,{$documentation:"A reference to new.target"});var $r=DEFNODE("SymbolDeclaration","init",{$documentation:"A declaration symbol (symbol in var/const, function name or argument, symbol in catch)"},zr);var Jr=DEFNODE("SymbolVar",null,{$documentation:"Symbol defining a variable"},$r);var Vr=DEFNODE("SymbolBlockDeclaration",null,{$documentation:"Base class for block-scoped declaration symbols"},$r);var qr=DEFNODE("SymbolConst",null,{$documentation:"A constant declaration"},Vr);var Hr=DEFNODE("SymbolLet",null,{$documentation:"A block-scoped `let` declaration"},Vr);var Gr=DEFNODE("SymbolFunarg",null,{$documentation:"Symbol naming a function argument"},Jr);var Kr=DEFNODE("SymbolDefun",null,{$documentation:"Symbol defining a function"},$r);var Qr=DEFNODE("SymbolMethod",null,{$documentation:"Symbol in an object defining a method"},zr);var Xr=DEFNODE("SymbolClassProperty",null,{$documentation:"Symbol for a class property"},zr);var Yr=DEFNODE("SymbolLambda",null,{$documentation:"Symbol naming a function expression"},$r);var Zr=DEFNODE("SymbolDefClass",null,{$documentation:"Symbol naming a class's name in a class declaration. Lexically scoped to its containing scope, and accessible within the class."},Vr);var en=DEFNODE("SymbolClass",null,{$documentation:"Symbol naming a class's name. Lexically scoped to the class."},$r);var tn=DEFNODE("SymbolCatch",null,{$documentation:"Symbol naming the exception in catch"},Vr);var rn=DEFNODE("SymbolImport",null,{$documentation:"Symbol referring to an imported name"},Vr);var nn=DEFNODE("SymbolImportForeign",null,{$documentation:"A symbol imported from a module, but it is defined in the other module, and its real name is irrelevant for this module's purposes"},zr);var an=DEFNODE("Label","references",{$documentation:"Symbol naming a label (declaration)",$propdoc:{references:"[AST_LoopControl*] a list of nodes referring to this label"},initialize:function(){this.references=[];this.thedef=this}},zr);var on=DEFNODE("SymbolRef",null,{$documentation:"Reference to some symbol (not definition/declaration)"},zr);var sn=DEFNODE("SymbolExport",null,{$documentation:"Symbol referring to a name to export"},on);var cn=DEFNODE("SymbolExportForeign",null,{$documentation:"A symbol exported from this module, but it is used in the other module, and its real name is irrelevant for this module's purposes"},zr);var ln=DEFNODE("LabelRef",null,{$documentation:"Reference to a label symbol"},zr);var un=DEFNODE("This",null,{$documentation:"The `this` symbol"},zr);var dn=DEFNODE("Super",null,{$documentation:"The `super` symbol"},un);var pn=DEFNODE("Constant",null,{$documentation:"Base class for all constants",getValue:function(){return this.value}});var mn=DEFNODE("String","value quote",{$documentation:"A string literal",$propdoc:{value:"[string] the contents of this string",quote:"[string] the original quote character"}},pn);var gn=DEFNODE("Number","value raw",{$documentation:"A number literal",$propdoc:{value:"[number] the numeric value",raw:"[string] numeric value as string"}},pn);var hn=DEFNODE("BigInt","value",{$documentation:"A big int literal",$propdoc:{value:"[string] big int value"}},pn);var _n=DEFNODE("RegExp","value",{$documentation:"A regexp literal",$propdoc:{value:"[RegExp] the actual regexp"}},pn);var yn=DEFNODE("Atom",null,{$documentation:"Base class for atoms"},pn);var vn=DEFNODE("Null",null,{$documentation:"The `null` atom",value:null},yn);var bn=DEFNODE("NaN",null,{$documentation:"The impossible value",value:0/0},yn);var xn=DEFNODE("Undefined",null,{$documentation:"The `undefined` value",value:function(){}()},yn);var Sn=DEFNODE("Hole",null,{$documentation:"A hole in an array",value:function(){}()},yn);var En=DEFNODE("Infinity",null,{$documentation:"The `Infinity` value",value:1/0},yn);var Tn=DEFNODE("Boolean",null,{$documentation:"Base class for booleans"},yn);var kn=DEFNODE("False",null,{$documentation:"The `false` atom",value:false},Tn);var Cn=DEFNODE("True",null,{$documentation:"The `true` atom",value:true},Tn);function walk(E,N,R=[E]){const j=R.push.bind(R);while(R.length){const E=R.pop();const $=N(E,R);if($){if($===Dn)return true;continue}E._children_backwards(j)}return false}function walk_parent(E,N,R){const j=[E];const $=j.push.bind(j);const q=R?R.slice():[];const G=[];let ie;const ae={parent:(E=0)=>{if(E===-1){return ie}if(R&&E>=q.length){E-=q.length;return R[R.length-(E+1)]}return q[q.length-(1+E)]}};while(j.length){ie=j.pop();while(G.length&&j.length==G[G.length-1]){q.pop();G.pop()}const E=N(ie,ae);if(E){if(E===Dn)return true;continue}const R=j.length;ie._children_backwards($);if(j.length>R){q.push(ie);G.push(R-1)}}return false}const Dn=Symbol("abort walk");class TreeWalker{constructor(E){this.visit=E;this.stack=[];this.directives=Object.create(null)}_visit(E,N){this.push(E);var R=this.visit(E,N?function(){N.call(E)}:noop);if(!R&&N){N.call(E)}this.pop();return R}parent(E){return this.stack[this.stack.length-2-(E||0)]}push(E){if(E instanceof wt){this.directives=Object.create(this.directives)}else if(E instanceof ut&&!this.directives[E.value]){this.directives[E.value]=E}else if(E instanceof Rr){this.directives=Object.create(this.directives);if(!this.directives["use strict"]){this.directives["use strict"]=E}}this.stack.push(E)}pop(){var E=this.stack.pop();if(E instanceof wt||E instanceof Rr){this.directives=Object.getPrototypeOf(this.directives)}}self(){return this.stack[this.stack.length-1]}find_parent(E){var N=this.stack;for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof E)return j}}has_directive(E){var N=this.directives[E];if(N)return N;var R=this.stack[this.stack.length-1];if(R instanceof Ct&&R.body){for(var j=0;j=0;){var j=N[R];if(j instanceof _t&&j.label.name==E.label.name)return j.body}else for(var R=N.length;--R>=0;){var j=N[R];if(j instanceof yt||E instanceof $t&&j instanceof Gt)return j}}}class TreeTransformer extends TreeWalker{constructor(E,N){super();this.before=E;this.after=N}}const An=1;const wn=2;const Pn=4;var Fn=Object.freeze({__proto__:null,AST_Accessor:Pt,AST_Array:Cr,AST_Arrow:It,AST_Assign:Tr,AST_Atom:yn,AST_Await:Vt,AST_BigInt:hn,AST_Binary:Sr,AST_Block:pt,AST_BlockStatement:ft,AST_Boolean:Tn,AST_Break:$t,AST_Call:dr,AST_Case:Xt,AST_Catch:Zt,AST_Chain:yr,AST_Class:Rr,AST_ClassExpression:Ur,AST_ClassPrivateProperty:Br,AST_ClassProperty:Lr,AST_ConciseMethod:Or,AST_Conditional:Er,AST_Const:ir,AST_Constant:pn,AST_Continue:Jt,AST_Debugger:ct,AST_Default:Qt,AST_DefaultAssign:kr,AST_DefClass:jr,AST_Definitions:tr,AST_Defun:Nt,AST_Destructuring:Ot,AST_Directive:ut,AST_Do:bt,AST_Dot:gr,AST_DotHash:hr,AST_DWLoop:vt,AST_EmptyStatement:mt,AST_Exit:jt,AST_Expansion:At,AST_Export:ur,AST_False:kn,AST_Finally:er,AST_For:St,AST_ForIn:Et,AST_ForOf:Tt,AST_Function:Ft,AST_Hole:Sn,AST_If:Ht,AST_Import:cr,AST_ImportMeta:lr,AST_Infinity:En,AST_IterationStatement:yt,AST_Jump:Bt,AST_Label:an,AST_LabeledStatement:_t,AST_LabelRef:ln,AST_Lambda:wt,AST_Let:nr,AST_LoopControl:Wt,AST_NameMapping:sr,AST_NaN:bn,AST_New:pr,AST_NewTarget:Wr,AST_Node:ot,AST_Null:vn,AST_Number:gn,AST_Object:Dr,AST_ObjectGetter:Nr,AST_ObjectKeyVal:wr,AST_ObjectProperty:Ar,AST_ObjectSetter:Ir,AST_PrefixedTemplateString:Mt,AST_PrivateGetter:Fr,AST_PrivateMethod:Mr,AST_PrivateSetter:Pr,AST_PropAccess:mr,AST_RegExp:_n,AST_Return:Ut,AST_Scope:Ct,AST_Sequence:fr,AST_SimpleStatement:dt,AST_Statement:st,AST_StatementWithBody:ht,AST_String:mn,AST_Sub:_r,AST_Super:dn,AST_Switch:Gt,AST_SwitchBranch:Kt,AST_Symbol:zr,AST_SymbolBlockDeclaration:Vr,AST_SymbolCatch:tn,AST_SymbolClass:en,AST_SymbolClassProperty:Xr,AST_SymbolConst:qr,AST_SymbolDeclaration:$r,AST_SymbolDefClass:Zr,AST_SymbolDefun:Kr,AST_SymbolExport:sn,AST_SymbolExportForeign:cn,AST_SymbolFunarg:Gr,AST_SymbolImport:rn,AST_SymbolImportForeign:nn,AST_SymbolLambda:Yr,AST_SymbolLet:Hr,AST_SymbolMethod:Qr,AST_SymbolRef:on,AST_SymbolVar:Jr,AST_TemplateSegment:Lt,AST_TemplateString:Rt,AST_This:un,AST_Throw:zt,AST_Token:AST_Token,AST_Toplevel:Dt,AST_True:Cn,AST_Try:Yt,AST_Unary:vr,AST_UnaryPostfix:xr,AST_UnaryPrefix:br,AST_Undefined:xn,AST_Var:rr,AST_VarDef:ar,AST_While:xt,AST_With:kt,AST_Yield:qt,TreeTransformer:TreeTransformer,TreeWalker:TreeWalker,walk:walk,walk_abort:Dn,walk_body:walk_body,walk_parent:walk_parent,_INLINE:wn,_NOINLINE:Pn,_PURE:An});function def_transform(E,N){E.DEFMETHOD("transform",(function(E,R){let j=undefined;E.push(this);if(E.before)j=E.before(this,N,R);if(j===undefined){j=this;N(j,E);if(E.after){const N=E.after(j,R);if(N!==undefined)j=N}}E.pop();return j}))}function do_list(E,N){return $(E,(function(E){return E.transform(N,true)}))}def_transform(ot,noop);def_transform(_t,(function(E,N){E.label=E.label.transform(N);E.body=E.body.transform(N)}));def_transform(dt,(function(E,N){E.body=E.body.transform(N)}));def_transform(pt,(function(E,N){E.body=do_list(E.body,N)}));def_transform(bt,(function(E,N){E.body=E.body.transform(N);E.condition=E.condition.transform(N)}));def_transform(xt,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N)}));def_transform(St,(function(E,N){if(E.init)E.init=E.init.transform(N);if(E.condition)E.condition=E.condition.transform(N);if(E.step)E.step=E.step.transform(N);E.body=E.body.transform(N)}));def_transform(Et,(function(E,N){E.init=E.init.transform(N);E.object=E.object.transform(N);E.body=E.body.transform(N)}));def_transform(kt,(function(E,N){E.expression=E.expression.transform(N);E.body=E.body.transform(N)}));def_transform(jt,(function(E,N){if(E.value)E.value=E.value.transform(N)}));def_transform(Wt,(function(E,N){if(E.label)E.label=E.label.transform(N)}));def_transform(Ht,(function(E,N){E.condition=E.condition.transform(N);E.body=E.body.transform(N);if(E.alternative)E.alternative=E.alternative.transform(N)}));def_transform(Gt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Xt,(function(E,N){E.expression=E.expression.transform(N);E.body=do_list(E.body,N)}));def_transform(Yt,(function(E,N){E.body=do_list(E.body,N);if(E.bcatch)E.bcatch=E.bcatch.transform(N);if(E.bfinally)E.bfinally=E.bfinally.transform(N)}));def_transform(Zt,(function(E,N){if(E.argname)E.argname=E.argname.transform(N);E.body=do_list(E.body,N)}));def_transform(tr,(function(E,N){E.definitions=do_list(E.definitions,N)}));def_transform(ar,(function(E,N){E.name=E.name.transform(N);if(E.value)E.value=E.value.transform(N)}));def_transform(Ot,(function(E,N){E.names=do_list(E.names,N)}));def_transform(wt,(function(E,N){if(E.name)E.name=E.name.transform(N);E.argnames=do_list(E.argnames,N);if(E.body instanceof ot){E.body=E.body.transform(N)}else{E.body=do_list(E.body,N)}}));def_transform(dr,(function(E,N){E.expression=E.expression.transform(N);E.args=do_list(E.args,N)}));def_transform(fr,(function(E,N){const R=do_list(E.expressions,N);E.expressions=R.length?R:[new gn({value:0})]}));def_transform(gr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(_r,(function(E,N){E.expression=E.expression.transform(N);E.property=E.property.transform(N)}));def_transform(yr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(qt,(function(E,N){if(E.expression)E.expression=E.expression.transform(N)}));def_transform(Vt,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(vr,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(Sr,(function(E,N){E.left=E.left.transform(N);E.right=E.right.transform(N)}));def_transform(Er,(function(E,N){E.condition=E.condition.transform(N);E.consequent=E.consequent.transform(N);E.alternative=E.alternative.transform(N)}));def_transform(Cr,(function(E,N){E.elements=do_list(E.elements,N)}));def_transform(Dr,(function(E,N){E.properties=do_list(E.properties,N)}));def_transform(Ar,(function(E,N){if(E.key instanceof ot){E.key=E.key.transform(N)}if(E.value)E.value=E.value.transform(N)}));def_transform(Rr,(function(E,N){if(E.name)E.name=E.name.transform(N);if(E.extends)E.extends=E.extends.transform(N);E.properties=do_list(E.properties,N)}));def_transform(At,(function(E,N){E.expression=E.expression.transform(N)}));def_transform(sr,(function(E,N){E.foreign_name=E.foreign_name.transform(N);E.name=E.name.transform(N)}));def_transform(cr,(function(E,N){if(E.imported_name)E.imported_name=E.imported_name.transform(N);if(E.imported_names)do_list(E.imported_names,N);E.module_name=E.module_name.transform(N)}));def_transform(ur,(function(E,N){if(E.exported_definition)E.exported_definition=E.exported_definition.transform(N);if(E.exported_value)E.exported_value=E.exported_value.transform(N);if(E.exported_names)do_list(E.exported_names,N);if(E.module_name)E.module_name=E.module_name.transform(N)}));def_transform(Rt,(function(E,N){E.segments=do_list(E.segments,N)}));def_transform(Mt,(function(E,N){E.prefix=E.prefix.transform(N);E.template_string=E.template_string.transform(N)}));(function(){var normalize_directives=function(E){var N=true;for(var R=0;R1||E.guardedHandlers&&E.guardedHandlers.length){throw new Error("Multiple catch clauses are not supported.")}return new Yt({start:my_start_token(E),end:my_end_token(E),body:from_moz(E.block).body,bcatch:from_moz(N[0]),bfinally:E.finalizer?new er(from_moz(E.finalizer)):null})},Property:function(E){var N=E.key;var R={start:my_start_token(N||E.value),end:my_end_token(E.value),key:N.type=="Identifier"?N.name:N.value,value:from_moz(E.value)};if(E.computed){R.key=from_moz(E.key)}if(E.method){R.is_generator=E.value.generator;R.async=E.value.async;if(!E.computed){R.key=new Qr({name:R.key})}else{R.key=from_moz(E.key)}return new Or(R)}if(E.kind=="init"){if(N.type!="Identifier"&&N.type!="Literal"){R.key=from_moz(N)}return new wr(R)}if(typeof R.key==="string"||typeof R.key==="number"){R.key=new Qr({name:R.key})}R.value=new Pt(R.value);if(E.kind=="get")return new Nr(R);if(E.kind=="set")return new Ir(R);if(E.kind=="method"){R.async=E.value.async;R.is_generator=E.value.generator;R.quote=E.computed?'"':null;return new Or(R)}},MethodDefinition:function(E){var N={start:my_start_token(E),end:my_end_token(E),key:E.computed?from_moz(E.key):new Qr({name:E.key.name||E.key.value}),value:from_moz(E.value),static:E.static};if(E.kind=="get"){return new Nr(N)}if(E.kind=="set"){return new Ir(N)}N.is_generator=E.value.generator;N.async=E.value.async;return new Or(N)},FieldDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in FieldDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},PropertyDefinition:function(E){let N;if(E.computed){N=from_moz(E.key)}else{if(E.key.type!=="Identifier")throw new Error("Non-Identifier key in PropertyDefinition");N=from_moz(E.key)}return new Lr({start:my_start_token(E),end:my_end_token(E),key:N,value:from_moz(E.value),static:E.static})},ArrayExpression:function(E){return new Cr({start:my_start_token(E),end:my_end_token(E),elements:E.elements.map((function(E){return E===null?new Sn:from_moz(E)}))})},ObjectExpression:function(E){return new Dr({start:my_start_token(E),end:my_end_token(E),properties:E.properties.map((function(E){if(E.type==="SpreadElement"){return from_moz(E)}E.type="Property";return from_moz(E)}))})},SequenceExpression:function(E){return new fr({start:my_start_token(E),end:my_end_token(E),expressions:E.expressions.map(from_moz)})},MemberExpression:function(E){return new(E.computed?_r:gr)({start:my_start_token(E),end:my_end_token(E),property:E.computed?from_moz(E.property):E.property.name,expression:from_moz(E.object),optional:E.optional||false})},ChainExpression:function(E){return new yr({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.expression)})},SwitchCase:function(E){return new(E.test?Xt:Qt)({start:my_start_token(E),end:my_end_token(E),expression:from_moz(E.test),body:E.consequent.map(from_moz)})},VariableDeclaration:function(E){return new(E.kind==="const"?ir:E.kind==="let"?nr:rr)({start:my_start_token(E),end:my_end_token(E),definitions:E.declarations.map(from_moz)})},ImportDeclaration:function(E){var N=null;var R=null;E.specifiers.forEach((function(E){if(E.type==="ImportSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:from_moz(E.imported),name:from_moz(E.local)}))}else if(E.type==="ImportDefaultSpecifier"){N=from_moz(E.local)}else if(E.type==="ImportNamespaceSpecifier"){if(!R){R=[]}R.push(new sr({start:my_start_token(E),end:my_end_token(E),foreign_name:new nn({name:"*"}),name:from_moz(E.local)}))}}));return new cr({start:my_start_token(E),end:my_end_token(E),imported_name:N,imported_names:R,module_name:from_moz(E.source)})},ExportAllDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_names:[new sr({name:new cn({name:"*"}),foreign_name:new cn({name:"*"})})],module_name:from_moz(E.source)})},ExportNamedDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_definition:from_moz(E.declaration),exported_names:E.specifiers&&E.specifiers.length?E.specifiers.map((function(E){return new sr({foreign_name:from_moz(E.exported),name:from_moz(E.local)})})):null,module_name:from_moz(E.source)})},ExportDefaultDeclaration:function(E){return new ur({start:my_start_token(E),end:my_end_token(E),exported_value:from_moz(E.declaration),is_default:true})},Literal:function(E){var N=E.value,R={start:my_start_token(E),end:my_end_token(E)};var j=E.regex;if(j&&j.pattern){R.value={source:j.pattern,flags:j.flags};return new _n(R)}else if(j){const j=E.raw||N;const $=j.match(/^\/(.*)\/(\w*)$/);if(!$)throw new Error("Invalid regex source "+j);const[q,G,ie]=$;R.value={source:G,flags:ie};return new _n(R)}if(N===null)return new vn(R);switch(typeof N){case"string":R.value=N;return new mn(R);case"number":R.value=N;R.raw=E.raw||N.toString();return new gn(R);case"boolean":return new(N?Cn:kn)(R)}},MetaProperty:function(E){if(E.meta.name==="new"&&E.property.name==="target"){return new Wr({start:my_start_token(E),end:my_end_token(E)})}else if(E.meta.name==="import"&&E.property.name==="meta"){return new lr({start:my_start_token(E),end:my_end_token(E)})}},Identifier:function(E){var R=N[N.length-2];return new(R.type=="LabeledStatement"?an:R.type=="VariableDeclarator"&&R.id===E?R.kind=="const"?qr:R.kind=="let"?Hr:Jr:/Import.*Specifier/.test(R.type)?R.local===E?rn:nn:R.type=="ExportSpecifier"?R.local===E?sn:cn:R.type=="FunctionExpression"?R.id===E?Yr:Gr:R.type=="FunctionDeclaration"?R.id===E?Kr:Gr:R.type=="ArrowFunctionExpression"?R.params.includes(E)?Gr:on:R.type=="ClassExpression"?R.id===E?en:on:R.type=="Property"?R.key===E&&R.computed||R.value===E?on:Qr:R.type=="PropertyDefinition"||R.type==="FieldDefinition"?R.key===E&&R.computed||R.value===E?on:Xr:R.type=="ClassDeclaration"?R.id===E?Zr:on:R.type=="MethodDefinition"?R.computed?on:Qr:R.type=="CatchClause"?tn:R.type=="BreakStatement"||R.type=="ContinueStatement"?ln:on)({start:my_start_token(E),end:my_end_token(E),name:E.name})},BigIntLiteral(E){return new hn({start:my_start_token(E),end:my_end_token(E),value:E.value})}};E.UpdateExpression=E.UnaryExpression=function To_Moz_Unary(E){var N="prefix"in E?E.prefix:E.type=="UnaryExpression"?true:false;return new(N?br:xr)({start:my_start_token(E),end:my_end_token(E),operator:E.operator,expression:from_moz(E.argument)})};E.ClassDeclaration=E.ClassExpression=function From_Moz_Class(E){return new(E.type==="ClassDeclaration"?jr:Ur)({start:my_start_token(E),end:my_end_token(E),name:from_moz(E.id),extends:from_moz(E.superClass),properties:E.body.body.map(from_moz)})};map("EmptyStatement",mt);map("BlockStatement",ft,"body@body");map("IfStatement",Ht,"test>condition, consequent>body, alternate>alternative");map("LabeledStatement",_t,"label>label, body>body");map("BreakStatement",$t,"label>label");map("ContinueStatement",Jt,"label>label");map("WithStatement",kt,"object>expression, body>body");map("SwitchStatement",Gt,"discriminant>expression, cases@body");map("ReturnStatement",Ut,"argument>value");map("ThrowStatement",zt,"argument>value");map("WhileStatement",xt,"test>condition, body>body");map("DoWhileStatement",bt,"test>condition, body>body");map("ForStatement",St,"init>init, test>condition, update>step, body>body");map("ForInStatement",Et,"left>init, right>object, body>body");map("ForOfStatement",Tt,"left>init, right>object, body>body, await=await");map("AwaitExpression",Vt,"argument>expression");map("YieldExpression",qt,"argument>expression, delegate=is_star");map("DebuggerStatement",ct);map("VariableDeclarator",ar,"id>name, init>value");map("CatchClause",Zt,"param>argname, body%body");map("ThisExpression",un);map("Super",dn);map("BinaryExpression",Sr,"operator=operator, left>left, right>right");map("LogicalExpression",Sr,"operator=operator, left>left, right>right");map("AssignmentExpression",Tr,"operator=operator, left>left, right>right");map("ConditionalExpression",Er,"test>condition, consequent>consequent, alternate>alternative");map("NewExpression",pr,"callee>expression, arguments@args");map("CallExpression",dr,"callee>expression, optional=optional, arguments@args");def_to_moz(Dt,(function To_Moz_Program(E){return to_moz_scope("Program",E)}));def_to_moz(At,(function To_Moz_Spread(E){return{type:to_moz_in_destructuring()?"RestElement":"SpreadElement",argument:to_moz(E.expression)}}));def_to_moz(Mt,(function To_Moz_TaggedTemplateExpression(E){return{type:"TaggedTemplateExpression",tag:to_moz(E.prefix),quasi:to_moz(E.template_string)}}));def_to_moz(Rt,(function To_Moz_TemplateLiteral(E){var N=[];var R=[];for(var j=0;j({type:"BigIntLiteral",value:E.value})));Tn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);vn.DEFMETHOD("to_mozilla_ast",pn.prototype.to_mozilla_ast);Sn.DEFMETHOD("to_mozilla_ast",(function To_Moz_ArrayHole(){return null}));pt.DEFMETHOD("to_mozilla_ast",ft.prototype.to_mozilla_ast);wt.DEFMETHOD("to_mozilla_ast",Ft.prototype.to_mozilla_ast);function my_start_token(E){var N=E.loc,R=N&&N.start;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.start,false,[],[],N&&N.source)}function my_end_token(E){var N=E.loc,R=N&&N.end;var j=E.range;return new AST_Token("","",R&&R.line||0,R&&R.column||0,j?j[0]:E.end,false,[],[],N&&N.source)}function map(N,R,j){var $="function From_Moz_"+N+"(M){\n";$+="return new U2."+R.name+"({\n"+"start: my_start_token(M),\n"+"end: my_end_token(M)";var q="function To_Moz_"+N+"(M){\n";q+="return {\n"+"type: "+JSON.stringify(N);if(j)j.split(/\s*,\s*/).forEach((function(E){var N=/([a-z0-9$_]+)([=@>%])([a-z0-9$_]+)/i.exec(E);if(!N)throw new Error("Can't understand property map: "+E);var R=N[1],j=N[2],G=N[3];$+=",\n"+G+": ";q+=",\n"+R+": ";switch(j){case"@":$+="M."+R+".map(from_moz)";q+="M."+G+".map(to_moz)";break;case">":$+="from_moz(M."+R+")";q+="to_moz(M."+G+")";break;case"=":$+="M."+R;q+="M."+G;break;case"%":$+="from_moz(M."+R+").body";q+="to_moz_block(M)";break;default:throw new Error("Can't understand operator in propmap: "+E)}}));$+="\n})\n}";q+="\n}\n}";$=new Function("U2","my_start_token","my_end_token","from_moz","return("+$+")")(Fn,my_start_token,my_end_token,from_moz);q=new Function("to_moz","to_moz_block","to_moz_scope","return("+q+")")(to_moz,to_moz_block,to_moz_scope);E[N]=$;def_to_moz(R,q)}var N=null;function from_moz(R){N.push(R);var j=R!=null?E[R.type](R):null;N.pop();return j}ot.from_mozilla_ast=function(E){var R=N;N=[];var j=from_moz(E);N=R;return j};function set_moz_loc(E,N){var R=E.start;var j=E.end;if(!(R&&j)){return N}if(R.pos!=null&&j.endpos!=null){N.range=[R.pos,j.endpos]}if(R.line){N.loc={start:{line:R.line,column:R.col},end:j.endline?{line:j.endline,column:j.endcol}:null};if(R.file){N.loc.source=R.file}}return N}function def_to_moz(E,N){E.DEFMETHOD("to_mozilla_ast",(function(E){return set_moz_loc(this,N(this,E))}))}var R=null;function to_moz(E){if(R===null){R=[]}R.push(E);var N=E!=null?E.to_mozilla_ast(R[R.length-2]):null;R.pop();if(R.length===0){R=null}return N}function to_moz_in_destructuring(){var E=R.length;while(E--){if(R[E]instanceof Ot){return true}}return false}function to_moz_block(E){return{type:"BlockStatement",body:E.body.map(to_moz)}}function to_moz_scope(E,N){var R=N.body.map(to_moz);if(N.body[0]instanceof dt&&N.body[0].body instanceof mn){R.unshift(to_moz(new mt(N.body[0])))}return{type:E,body:R}}})();function first_in_statement(E){let N=E.parent(-1);for(let R=0,j;j=E.parent(R);R++){if(j instanceof st&&j.body===N)return true;if(j instanceof fr&&j.expressions[0]===N||j.TYPE==="Call"&&j.expression===N||j instanceof Mt&&j.prefix===N||j instanceof gr&&j.expression===N||j instanceof _r&&j.expression===N||j instanceof Er&&j.condition===N||j instanceof Sr&&j.left===N||j instanceof xr&&j.expression===N){N=j}else{return false}}}function left_is_object(E){if(E instanceof Dr)return true;if(E instanceof fr)return left_is_object(E.expressions[0]);if(E.TYPE==="Call")return left_is_object(E.expression);if(E instanceof Mt)return left_is_object(E.prefix);if(E instanceof gr||E instanceof _r)return left_is_object(E.expression);if(E instanceof Er)return left_is_object(E.condition);if(E instanceof Sr)return left_is_object(E.left);if(E instanceof xr)return left_is_object(E.expression);return false}const In=/^$|[;{][\s\n]*$/;const Nn=10;const On=32;const Mn=/[@#]__(PURE|INLINE|NOINLINE)__/g;function is_some_comments(E){return(E.type==="comment2"||E.type==="comment1")&&/@preserve|@lic|@cc_on|^\**!/i.test(E.value)}function OutputStream(E){var N=!E;E=defaults(E,{ascii_only:false,beautify:false,braces:false,comments:"some",ecma:5,ie8:false,indent_level:4,indent_start:0,inline_script:true,keep_numbers:false,keep_quoted_props:false,max_line_len:false,preamble:null,preserve_annotations:false,quote_keys:false,quote_style:0,safari10:false,semicolons:true,shebang:true,shorthand:undefined,source_map:null,webkit:false,width:80,wrap_iife:false,wrap_func_args:true},true);if(E.shorthand===undefined)E.shorthand=E.ecma>5;var R=return_false;if(E.comments){let N=E.comments;if(typeof E.comments==="string"&&/^\/.*\/[a-zA-Z]*$/.test(E.comments)){var j=E.comments.lastIndexOf("/");N=new RegExp(E.comments.substr(1,j-1),E.comments.substr(j+1))}if(N instanceof RegExp){R=function(E){return E.type!="comment5"&&N.test(E.value)}}else if(typeof N==="function"){R=function(E){return E.type!="comment5"&&N(this,E)}}else if(N==="some"){R=is_some_comments}else{R=return_true}}var $=0;var q=0;var G=1;var ie=0;var ae="";let ce=new Set;var le=E.ascii_only?function(N,R){if(E.ecma>=2015&&!E.safari10){N=N.replace(/[\ud800-\udbff][\udc00-\udfff]/g,(function(E){var N=get_full_char_code(E,0).toString(16);return"\\u{"+N+"}"}))}return N.replace(/[\u0000-\u001f\u007f-\uffff]/g,(function(E){var N=E.charCodeAt(0).toString(16);if(N.length<=2&&!R){while(N.length<2)N="0"+N;return"\\x"+N}else{while(N.length<4)N="0"+N;return"\\u"+N}}))}:function(E){return E.replace(/[\ud800-\udbff][\udc00-\udfff]|([\ud800-\udbff]|[\udc00-\udfff])/g,(function(E,N){if(N){return"\\u"+N.charCodeAt(0).toString(16)}return E}))};function make_string(N,R){var j=0,$=0;N=N.replace(/[\\\b\f\n\r\v\t\x22\x27\u2028\u2029\0\ufeff]/g,(function(R,q){switch(R){case'"':++j;return'"';case"'":++$;return"'";case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r";case"\t":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\v":return E.ie8?"\\x0B":"\\v";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";case"\ufeff":return"\\ufeff";case"\0":return/[0-9]/.test(get_full_char(N,q+1))?"\\x00":"\\0"}return R}));function quote_single(){return"'"+N.replace(/\x27/g,"\\'")+"'"}function quote_double(){return'"'+N.replace(/\x22/g,'\\"')+'"'}function quote_template(){return"`"+N.replace(/`/g,"\\`")+"`"}N=le(N);if(R==="`")return quote_template();switch(E.quote_style){case 1:return quote_single();case 2:return quote_double();case 3:return R=="'"?quote_single():quote_double();default:return j>$?quote_single():quote_double()}}function encode_string(N,R){var j=make_string(N,R);if(E.inline_script){j=j.replace(/<\x2f(script)([>\/\t\n\f\r ])/gi,"<\\/$1$2");j=j.replace(/\x3c!--/g,"\\x3c!--");j=j.replace(/--\x3e/g,"--\\x3e")}return j}function make_name(E){E=E.toString();E=le(E,true);return E}function make_indent(N){return" ".repeat(E.indent_start+$-N*E.indent_level)}var _e=false;var Ee=false;var Te=false;var we=0;var Ie=false;var Ne=false;var Me=-1;var Le="";var Be,je,Ue=E.source_map&&[];var ze=Ue?function(){Ue.forEach((function(N){try{let R=!N.name&&N.token.type=="name"?N.token.value:N.name;if(R instanceof zr){R=R.name}E.source_map.add(N.token.file,N.line,N.col,N.token.line,N.token.col,is_basic_identifier_string(R)?R:undefined)}catch(E){}}));Ue=[]}:noop;var We=E.max_line_len?function(){if(q>E.max_line_len){if(we){var N=ae.slice(0,we);var R=ae.slice(we);if(Ue){var j=R.length-q;Ue.forEach((function(E){E.line++;E.col+=j}))}ae=N+"\n"+R;G++;ie++;q=R.length}}if(we){we=0;ze()}}:noop;var Je=makePredicate("( [ + * / - , . `");function print(N){N=String(N);var R=get_full_char(N,0);if(Ie&&R){Ie=false;if(R!=="\n"){print("\n");qe()}}if(Ne&&R){Ne=false;if(!/[\s;})]/.test(R)){Ve()}}Me=-1;var j=Le.charAt(Le.length-1);if(Te){Te=false;if(j===":"&&R==="}"||(!R||!";}".includes(R))&&j!==";"){if(E.semicolons||Je.has(R)){ae+=";";q++;ie++}else{We();if(q>0){ae+="\n";ie++;G++;q=0}if(/^\s+$/.test(N)){Te=true}}if(!E.beautify)Ee=false}}if(Ee){if(is_identifier_char(j)&&(is_identifier_char(R)||R=="\\")||R=="/"&&R==j||(R=="+"||R=="-")&&R==Le){ae+=" ";q++;ie++}Ee=false}if(Be){Ue.push({token:Be,name:je,line:G,col:q});Be=false;if(!we)ze()}ae+=N;_e=N[N.length-1]=="(";ie+=N.length;var $=N.split(/\r?\n/),ce=$.length-1;G+=ce;q+=$[0].length;if(ce>0){We();q=$[ce].length}Le=N}var star=function(){print("*")};var Ve=E.beautify?function(){print(" ")}:function(){Ee=true};var qe=E.beautify?function(N){if(E.beautify){print(make_indent(N?.5:0))}}:noop;var He=E.beautify?function(E,N){if(E===true)E=next_indent();var R=$;$=E;var j=N();$=R;return j}:function(E,N){return N()};var Ge=E.beautify?function(){if(Me<0)return print("\n");if(ae[Me]!="\n"){ae=ae.slice(0,Me)+"\n"+ae.slice(Me);ie++;G++}Me++}:E.max_line_len?function(){We();we=ae.length}:noop;var Ke=E.beautify?function(){print(";")}:function(){Te=true};function force_semicolon(){Te=false;print(";")}function next_indent(){return $+E.indent_level}function with_block(E){var N;print("{");Ge();He(next_indent(),(function(){N=E()}));qe();print("}");return N}function with_parens(E){print("(");var N=E();print(")");return N}function with_square(E){print("[");var N=E();print("]");return N}function comma(){print(",");Ve()}function colon(){print(":");Ve()}var Qe=Ue?function(E,N){Be=E;je=N}:noop;function get(){if(we){We()}return ae}function has_nlb(){let E=ae.length-1;while(E>=0){const N=ae.charCodeAt(E);if(N===Nn){return true}if(N!==On){return false}E--}return true}function filter_comment(N){if(!E.preserve_annotations){N=N.replace(Mn," ")}if(/^\s*$/.test(N)){return""}return N.replace(/(<\s*\/\s*)(script)/i,"<\\/$2")}function prepend_comments(N){var j=this;var $=N.start;if(!$)return;var q=j.printed_comments;const G=N instanceof jt&&N.value;if($.comments_before&&q.has($.comments_before)){if(G){$.comments_before=[]}else{return}}var ae=$.comments_before;if(!ae){ae=$.comments_before=[]}q.add(ae);if(G){var ce=new TreeWalker((function(E){var N=ce.parent();if(N instanceof jt||N instanceof Sr&&N.left===E||N.TYPE=="Call"&&N.expression===E||N instanceof Er&&N.condition===E||N instanceof gr&&N.expression===E||N instanceof fr&&N.expressions[0]===E||N instanceof _r&&N.expression===E||N instanceof xr){if(!E.start)return;var R=E.start.comments_before;if(R&&!q.has(R)){q.add(R);ae=ae.concat(R)}}else{return true}}));ce.push(N);N.value.walk(ce)}if(ie==0){if(ae.length>0&&E.shebang&&ae[0].type==="comment5"&&!q.has(ae[0])){print("#!"+ae.shift().value+"\n");qe()}var le=E.preamble;if(le){print(le.replace(/\r\n?|[\n\u2028\u2029]|\s*$/g,"\n"))}}ae=ae.filter(R,N).filter((E=>!q.has(E)));if(ae.length==0)return;var _e=has_nlb();ae.forEach((function(E,N){q.add(E);if(!_e){if(E.nlb){print("\n");qe();_e=true}else if(N>0){Ve()}}if(/comment[134]/.test(E.type)){var R=filter_comment(E.value);if(R){print("//"+R+"\n");qe()}_e=true}else if(E.type=="comment2"){var R=filter_comment(E.value);if(R){print("/*"+R+"*/")}_e=false}}));if(!_e){if($.nlb){print("\n");qe()}else{Ve()}}}function append_comments(E,N){var j=this;var $=E.end;if(!$)return;var q=j.printed_comments;var G=$[N?"comments_before":"comments_after"];if(!G||q.has(G))return;if(!(E instanceof st||G.every((E=>!/comment[134]/.test(E.type)))))return;q.add(G);var ie=ae.length;G.filter(R,E).forEach((function(E,R){if(q.has(E))return;q.add(E);Ne=false;if(Ie){print("\n");qe();Ie=false}else if(E.nlb&&(R>0||!has_nlb())){print("\n");qe()}else if(R>0||!N){Ve()}if(/comment[134]/.test(E.type)){const N=filter_comment(E.value);if(N){print("//"+N)}Ie=true}else if(E.type=="comment2"){const N=filter_comment(E.value);if(N){print("/*"+N+"*/")}Ne=true}}));if(ae.length>ie)Me=ie}var Xe=[];return{get:get,toString:get,indent:qe,in_directive:false,use_asm:null,active_scope:null,indentation:function(){return $},current_width:function(){return q-$},should_break:function(){return E.width&&this.current_width()>=E.width},has_parens:function(){return _e},newline:Ge,print:print,star:star,space:Ve,comma:comma,colon:colon,last:function(){return Le},semicolon:Ke,force_semicolon:force_semicolon,to_utf8:le,print_name:function(E){print(make_name(E))},print_string:function(E,N,R){var j=encode_string(E,N);if(R===true&&!j.includes("\\")){if(!In.test(ae)){force_semicolon()}force_semicolon()}print(j)},print_template_string_chars:function(E){var N=encode_string(E,"`").replace(/\${/g,"\\${");return print(N.substr(1,N.length-2))},encode_string:encode_string,next_indent:next_indent,with_indent:He,with_block:with_block,with_parens:with_parens,with_square:with_square,add_mapping:Qe,option:function(N){return E[N]},printed_comments:ce,prepend_comments:N?noop:prepend_comments,append_comments:N||R===return_false?noop:append_comments,line:function(){return G},col:function(){return q},pos:function(){return ie},push_node:function(E){Xe.push(E)},pop_node:function(){return Xe.pop()},parent:function(E){return Xe[Xe.length-2-(E||0)]}}}(function(){function DEFPRINT(E,N){E.DEFMETHOD("_codegen",N)}ot.DEFMETHOD("print",(function(E,N){var R=this,j=R._codegen;if(R instanceof Ct){E.active_scope=R}else if(!E.use_asm&&R instanceof ut&&R.value=="use asm"){E.use_asm=E.active_scope}function doit(){E.prepend_comments(R);R.add_source_map(E);j(R,E);E.append_comments(R)}E.push_node(R);if(N||R.needs_parens(E)){E.with_parens(doit)}else{doit()}E.pop_node();if(R===E.use_asm){E.use_asm=null}}));ot.DEFMETHOD("_print",ot.prototype.print);ot.DEFMETHOD("print_to_string",(function(E){var N=OutputStream(E);this.print(N);return N.get()}));function PARENS(E,N){if(Array.isArray(E)){E.forEach((function(E){PARENS(E,N)}))}else{E.DEFMETHOD("needs_parens",N)}}PARENS(ot,return_false);PARENS(Ft,(function(E){if(!E.has_parens()&&first_in_statement(E)){return true}if(E.option("webkit")){var N=E.parent();if(N instanceof mr&&N.expression===this){return true}}if(E.option("wrap_iife")){var N=E.parent();if(N instanceof dr&&N.expression===this){return true}}if(E.option("wrap_func_args")){var N=E.parent();if(N instanceof dr&&N.args.includes(this)){return true}}return false}));PARENS(It,(function(E){var N=E.parent();if(E.option("wrap_func_args")&&N instanceof dr&&N.args.includes(this)){return true}return N instanceof mr&&N.expression===this}));PARENS(Dr,(function(E){return!E.has_parens()&&first_in_statement(E)}));PARENS(Ur,first_in_statement);PARENS(vr,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&this instanceof br&&N.left===this&&this.operator!=="++"&&this.operator!=="--"}));PARENS(Vt,(function(E){var N=E.parent();return N instanceof mr&&N.expression===this||N instanceof dr&&N.expression===this||N instanceof Sr&&N.operator==="**"&&N.left===this||E.option("safari10")&&N instanceof br}));PARENS(fr,(function(E){var N=E.parent();return N instanceof dr||N instanceof vr||N instanceof Sr||N instanceof ar||N instanceof mr||N instanceof Cr||N instanceof Ar||N instanceof Er||N instanceof It||N instanceof kr||N instanceof At||N instanceof Tt&&this===N.object||N instanceof qt||N instanceof ur}));PARENS(Sr,(function(E){var N=E.parent();if(N instanceof dr&&N.expression===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true;if(N instanceof Sr){const E=N.operator;const R=this.operator;if(R==="??"&&(E==="||"||E==="&&")){return true}if(E==="??"&&(R==="||"||R==="&&")){return true}const j=et[E];const $=et[R];if(j>$||j==$&&(this===N.right||E=="**")){return true}}}));PARENS(qt,(function(E){var N=E.parent();if(N instanceof Sr&&N.operator!=="=")return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof vr)return true;if(N instanceof mr&&N.expression===this)return true}));PARENS(mr,(function(E){var N=E.parent();if(N instanceof pr&&N.expression===this){return walk(this,(E=>{if(E instanceof Ct)return true;if(E instanceof dr){return Dn}}))}}));PARENS(dr,(function(E){var N=E.parent(),R;if(N instanceof pr&&N.expression===this||N instanceof ur&&N.is_default&&this.expression instanceof Ft)return true;return this.expression instanceof Ft&&N instanceof mr&&N.expression===this&&(R=E.parent(1))instanceof Tr&&R.left===N}));PARENS(pr,(function(E){var N=E.parent();if(this.args.length===0&&(N instanceof mr||N instanceof dr&&N.expression===this))return true}));PARENS(gn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R<0||/^0/.test(make_num(R))){return true}}}));PARENS(hn,(function(E){var N=E.parent();if(N instanceof mr&&N.expression===this){var R=this.getValue();if(R.startsWith("-")){return true}}}));PARENS([Tr,Er],(function(E){var N=E.parent();if(N instanceof vr)return true;if(N instanceof Sr&&!(N instanceof Tr))return true;if(N instanceof dr&&N.expression===this)return true;if(N instanceof Er&&N.condition===this)return true;if(N instanceof mr&&N.expression===this)return true;if(this instanceof Tr&&this.left instanceof Ot&&this.left.is_array===false)return true}));DEFPRINT(ut,(function(E,N){N.print_string(E.value,E.quote);N.semicolon()}));DEFPRINT(At,(function(E,N){N.print("...");E.expression.print(N)}));DEFPRINT(Ot,(function(E,N){N.print(E.is_array?"[":"{");var R=E.names.length;E.names.forEach((function(E,j){if(j>0)N.comma();E.print(N);if(j==R-1&&E instanceof Sn)N.comma()}));N.print(E.is_array?"]":"}")}));DEFPRINT(ct,(function(E,N){N.print("debugger");N.semicolon()}));function display_body(E,N,R,j){var $=E.length-1;R.in_directive=j;E.forEach((function(E,j){if(R.in_directive===true&&!(E instanceof ut||E instanceof mt||E instanceof dt&&E.body instanceof mn)){R.in_directive=false}if(!(E instanceof mt)){R.indent();E.print(R);if(!(j==$&&N)){R.newline();if(N)R.newline()}}if(R.in_directive===true&&E instanceof dt&&E.body instanceof mn){R.in_directive=false}}));R.in_directive=false}ht.DEFMETHOD("_do_print_body",(function(E){force_statement(this.body,E)}));DEFPRINT(st,(function(E,N){E.body.print(N);N.semicolon()}));DEFPRINT(Dt,(function(E,N){display_body(E.body,true,N,true);N.print("")}));DEFPRINT(_t,(function(E,N){E.label.print(N);N.colon();E.body.print(N)}));DEFPRINT(dt,(function(E,N){E.body.print(N);N.semicolon()}));function print_braced_empty(E,N){N.print("{");N.with_indent(N.next_indent(),(function(){N.append_comments(E,true)}));N.print("}")}function print_braced(E,N,R){if(E.body.length>0){N.with_block((function(){display_body(E.body,false,N,R)}))}else print_braced_empty(E,N)}DEFPRINT(ft,(function(E,N){print_braced(E,N)}));DEFPRINT(mt,(function(E,N){N.semicolon()}));DEFPRINT(bt,(function(E,N){N.print("do");N.space();make_block(E.body,N);N.space();N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.semicolon()}));DEFPRINT(xt,(function(E,N){N.print("while");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(St,(function(E,N){N.print("for");N.space();N.with_parens((function(){if(E.init){if(E.init instanceof tr){E.init.print(N)}else{parenthesize_for_noin(E.init,N,true)}N.print(";");N.space()}else{N.print(";")}if(E.condition){E.condition.print(N);N.print(";");N.space()}else{N.print(";")}if(E.step){E.step.print(N)}}));N.space();E._do_print_body(N)}));DEFPRINT(Et,(function(E,N){N.print("for");if(E.await){N.space();N.print("await")}N.space();N.with_parens((function(){E.init.print(N);N.space();N.print(E instanceof Tt?"of":"in");N.space();E.object.print(N)}));N.space();E._do_print_body(N)}));DEFPRINT(kt,(function(E,N){N.print("with");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();E._do_print_body(N)}));wt.DEFMETHOD("_do_print",(function(E,N){var R=this;if(!N){if(R.async){E.print("async");E.space()}E.print("function");if(R.is_generator){E.star()}if(R.name){E.space()}}if(R.name instanceof zr){R.name.print(E)}else if(N&&R.name instanceof ot){E.with_square((function(){R.name.print(E)}))}E.with_parens((function(){R.argnames.forEach((function(N,R){if(R)E.comma();N.print(E)}))}));E.space();print_braced(R,E,true)}));DEFPRINT(wt,(function(E,N){E._do_print(N)}));DEFPRINT(Mt,(function(E,N){var R=E.prefix;var j=R instanceof wt||R instanceof Sr||R instanceof Er||R instanceof fr||R instanceof vr||R instanceof gr&&R.expression instanceof Dr;if(j)N.print("(");E.prefix.print(N);if(j)N.print(")");E.template_string.print(N)}));DEFPRINT(Rt,(function(E,N){var R=N.parent()instanceof Mt;N.print("`");for(var j=0;j");E.space();const $=N.body[0];if(N.body.length===1&&$ instanceof Ut){const N=$.value;if(!N){E.print("{}")}else if(left_is_object(N)){E.print("(");N.print(E);E.print(")")}else{N.print(E)}}else{print_braced(N,E)}if(j){E.print(")")}}));jt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.value){E.space();const N=this.value.start.comments_before;if(N&&N.length&&!E.printed_comments.has(N)){E.print("(");this.value.print(E);E.print(")")}else{this.value.print(E)}}E.semicolon()}));DEFPRINT(Ut,(function(E,N){E._do_print(N,"return")}));DEFPRINT(zt,(function(E,N){E._do_print(N,"throw")}));DEFPRINT(qt,(function(E,N){var R=E.is_star?"*":"";N.print("yield"+R);if(E.expression){N.space();E.expression.print(N)}}));DEFPRINT(Vt,(function(E,N){N.print("await");N.space();var R=E.expression;var j=!(R instanceof dr||R instanceof on||R instanceof mr||R instanceof vr||R instanceof pn||R instanceof Vt||R instanceof Dr);if(j)N.print("(");E.expression.print(N);if(j)N.print(")")}));Wt.DEFMETHOD("_do_print",(function(E,N){E.print(N);if(this.label){E.space();this.label.print(E)}E.semicolon()}));DEFPRINT($t,(function(E,N){E._do_print(N,"break")}));DEFPRINT(Jt,(function(E,N){E._do_print(N,"continue")}));function make_then(E,N){var R=E.body;if(N.option("braces")||N.option("ie8")&&R instanceof bt)return make_block(R,N);if(!R)return N.force_semicolon();while(true){if(R instanceof Ht){if(!R.alternative){make_block(E.body,N);return}R=R.alternative}else if(R instanceof ht){R=R.body}else break}force_statement(E.body,N)}DEFPRINT(Ht,(function(E,N){N.print("if");N.space();N.with_parens((function(){E.condition.print(N)}));N.space();if(E.alternative){make_then(E,N);N.space();N.print("else");N.space();if(E.alternative instanceof Ht)E.alternative.print(N);else force_statement(E.alternative,N)}else{E._do_print_body(N)}}));DEFPRINT(Gt,(function(E,N){N.print("switch");N.space();N.with_parens((function(){E.expression.print(N)}));N.space();var R=E.body.length-1;if(R<0)print_braced_empty(E,N);else N.with_block((function(){E.body.forEach((function(E,j){N.indent(true);E.print(N);if(j0)N.newline()}))}))}));Kt.DEFMETHOD("_do_print_body",(function(E){E.newline();this.body.forEach((function(N){E.indent();N.print(E);E.newline()}))}));DEFPRINT(Qt,(function(E,N){N.print("default:");E._do_print_body(N)}));DEFPRINT(Xt,(function(E,N){N.print("case");N.space();E.expression.print(N);N.print(":");E._do_print_body(N)}));DEFPRINT(Yt,(function(E,N){N.print("try");N.space();print_braced(E,N);if(E.bcatch){N.space();E.bcatch.print(N)}if(E.bfinally){N.space();E.bfinally.print(N)}}));DEFPRINT(Zt,(function(E,N){N.print("catch");if(E.argname){N.space();N.with_parens((function(){E.argname.print(N)}))}N.space();print_braced(E,N)}));DEFPRINT(er,(function(E,N){N.print("finally");N.space();print_braced(E,N)}));tr.DEFMETHOD("_do_print",(function(E,N){E.print(N);E.space();this.definitions.forEach((function(N,R){if(R)E.comma();N.print(E)}));var R=E.parent();var j=R instanceof St||R instanceof Et;var $=!j||R&&R.init!==this;if($)E.semicolon()}));DEFPRINT(nr,(function(E,N){E._do_print(N,"let")}));DEFPRINT(rr,(function(E,N){E._do_print(N,"var")}));DEFPRINT(ir,(function(E,N){E._do_print(N,"const")}));DEFPRINT(cr,(function(E,N){N.print("import");N.space();if(E.imported_name){E.imported_name.print(N)}if(E.imported_name&&E.imported_names){N.print(",");N.space()}if(E.imported_names){if(E.imported_names.length===1&&E.imported_names[0].foreign_name.name==="*"){E.imported_names[0].print(N)}else{N.print("{");E.imported_names.forEach((function(R,j){N.space();R.print(N);if(j{if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator=="in"){return Dn}}))}E.print(N,j)}DEFPRINT(ar,(function(E,N){E.name.print(N);if(E.value){N.space();N.print("=");N.space();var R=N.parent(1);var j=R instanceof St||R instanceof Et;parenthesize_for_noin(E.value,N,j)}}));DEFPRINT(dr,(function(E,N){E.expression.print(N);if(E instanceof pr&&E.args.length===0)return;if(E.expression instanceof dr||E.expression instanceof wt){N.add_mapping(E.start)}if(E.optional)N.print("?.");N.with_parens((function(){E.args.forEach((function(E,R){if(R)N.comma();E.print(N)}))}))}));DEFPRINT(pr,(function(E,N){N.print("new");N.space();dr.prototype._codegen(E,N)}));fr.DEFMETHOD("_do_print",(function(E){this.expressions.forEach((function(N,R){if(R>0){E.comma();if(E.should_break()){E.newline();E.indent()}}N.print(E)}))}));DEFPRINT(fr,(function(E,N){E._do_print(N)}));DEFPRINT(gr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;var $=_e.has(j)?N.option("ie8"):!is_identifier_string(j,N.option("ecma")>=2015||N.option("safari10"));if(E.optional)N.print("?.");if($){N.print("[");N.add_mapping(E.end);N.print_string(j);N.print("]")}else{if(R instanceof gn&&R.getValue()>=0){if(!/[xa-f.)]/i.test(N.last())){N.print(".")}}if(!E.optional)N.print(".");N.add_mapping(E.end);N.print_name(j)}}));DEFPRINT(hr,(function(E,N){var R=E.expression;R.print(N);var j=E.property;if(E.optional)N.print("?");N.print(".#");N.print_name(j)}));DEFPRINT(_r,(function(E,N){E.expression.print(N);if(E.optional)N.print("?.");N.print("[");E.property.print(N);N.print("]")}));DEFPRINT(yr,(function(E,N){E.expression.print(N)}));DEFPRINT(br,(function(E,N){var R=E.operator;N.print(R);if(/^[a-z]/i.test(R)||/[+-]$/.test(R)&&E.expression instanceof br&&/^[+-]/.test(E.expression.operator)){N.space()}E.expression.print(N)}));DEFPRINT(xr,(function(E,N){E.expression.print(N);N.print(E.operator)}));DEFPRINT(Sr,(function(E,N){var R=E.operator;E.left.print(N);if(R[0]==">"&&E.left instanceof xr&&E.left.operator=="--"){N.print(" ")}else{N.space()}N.print(R);if((R=="<"||R=="<<")&&E.right instanceof br&&E.right.operator=="!"&&E.right.expression instanceof br&&E.right.expression.operator=="--"){N.print(" ")}else{N.space()}E.right.print(N)}));DEFPRINT(Er,(function(E,N){E.condition.print(N);N.space();N.print("?");N.space();E.consequent.print(N);N.space();N.colon();E.alternative.print(N)}));DEFPRINT(Cr,(function(E,N){N.with_square((function(){var R=E.elements,j=R.length;if(j>0)N.space();R.forEach((function(E,R){if(R)N.comma();E.print(N);if(R===j-1&&E instanceof Sn)N.comma()}));if(j>0)N.space()}))}));DEFPRINT(Dr,(function(E,N){if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.print(",");N.newline()}N.indent();E.print(N)}));N.newline()}));else print_braced_empty(E,N)}));DEFPRINT(Rr,(function(E,N){N.print("class");N.space();if(E.name){E.name.print(N);N.space()}if(E.extends){var R=!(E.extends instanceof on)&&!(E.extends instanceof mr)&&!(E.extends instanceof Ur)&&!(E.extends instanceof Ft);N.print("extends");if(R){N.print("(")}else{N.space()}E.extends.print(N);if(R){N.print(")")}else{N.space()}}if(E.properties.length>0)N.with_block((function(){E.properties.forEach((function(E,R){if(R){N.newline()}N.indent();E.print(N)}));N.newline()}));else N.print("{}")}));DEFPRINT(Wr,(function(E,N){N.print("new.target")}));function print_property_name(E,N,R){if(R.option("quote_keys")){return R.print_string(E)}if(""+ +E==E&&E>=0){if(R.option("keep_numbers")){return R.print(E)}return R.print(make_num(E))}var j=_e.has(E)?R.option("ie8"):R.option("ecma")<2015||R.option("safari10")?!is_basic_identifier_string(E):!is_identifier_string(E,true);if(j||N&&R.option("keep_quoted_props")){return R.print_string(E,N)}return R.print_name(E)}DEFPRINT(wr,(function(E,N){function get_name(E){var N=E.definition();return N?N.mangled_name||N.name:E.name}var R=N.option("shorthand");if(R&&E.value instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value)===E.key&&!_e.has(E.key)){print_property_name(E.key,E.quote,N)}else if(R&&E.value instanceof kr&&E.value.left instanceof zr&&is_identifier_string(E.key,N.option("ecma")>=2015||N.option("safari10"))&&get_name(E.value.left)===E.key){print_property_name(E.key,E.quote,N);N.space();N.print("=");N.space();E.value.right.print(N)}else{if(!(E.key instanceof ot)){print_property_name(E.key,E.quote,N)}else{N.with_square((function(){E.key.print(N)}))}N.colon();E.value.print(N)}}));DEFPRINT(Br,((E,N)=>{if(E.static){N.print("static");N.space()}N.print("#");print_property_name(E.key.name,E.quote,N);if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));DEFPRINT(Lr,((E,N)=>{if(E.static){N.print("static");N.space()}if(E.key instanceof Xr){print_property_name(E.key.name,E.quote,N)}else{N.print("[");E.key.print(N);N.print("]")}if(E.value){N.print("=");E.value.print(N)}N.semicolon()}));Ar.DEFMETHOD("_print_getter_setter",(function(E,N,R){var j=this;if(j.static){R.print("static");R.space()}if(E){R.print(E);R.space()}if(j.key instanceof Qr){if(N)R.print("#");print_property_name(j.key.name,j.quote,R)}else{R.with_square((function(){j.key.print(R)}))}j.value._do_print(R,true)}));DEFPRINT(Ir,(function(E,N){E._print_getter_setter("set",false,N)}));DEFPRINT(Nr,(function(E,N){E._print_getter_setter("get",false,N)}));DEFPRINT(Pr,(function(E,N){E._print_getter_setter("set",true,N)}));DEFPRINT(Fr,(function(E,N){E._print_getter_setter("get",true,N)}));DEFPRINT(Mr,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,true,N)}));DEFPRINT(Or,(function(E,N){var R;if(E.is_generator&&E.async){R="async*"}else if(E.is_generator){R="*"}else if(E.async){R="async"}E._print_getter_setter(R,false,N)}));zr.DEFMETHOD("_do_print",(function(E){var N=this.definition();E.print_name(N?N.mangled_name||N.name:this.name)}));DEFPRINT(zr,(function(E,N){E._do_print(N)}));DEFPRINT(Sn,noop);DEFPRINT(un,(function(E,N){N.print("this")}));DEFPRINT(dn,(function(E,N){N.print("super")}));DEFPRINT(pn,(function(E,N){N.print(E.getValue())}));DEFPRINT(mn,(function(E,N){N.print_string(E.getValue(),E.quote,N.in_directive)}));DEFPRINT(gn,(function(E,N){if((N.option("keep_numbers")||N.use_asm)&&E.raw){N.print(E.raw)}else{N.print(make_num(E.getValue()))}}));DEFPRINT(hn,(function(E,N){N.print(E.getValue()+"n")}));const E=/(<\s*\/\s*script)/i;const slash_script_replace=(E,N)=>N.replace("/","\\/");DEFPRINT(_n,(function(N,R){let{source:j,flags:$}=N.getValue();j=regexp_source_fix(j);$=$?sort_regexp_flags($):"";j=j.replace(E,slash_script_replace);R.print(R.to_utf8(`/${j}/${$}`));const q=R.parent();if(q instanceof Sr&&/^\w/.test(q.operator)&&q.left===N){R.print(" ")}}));function force_statement(E,N){if(N.option("braces")){make_block(E,N)}else{if(!E||E instanceof mt)N.force_semicolon();else E.print(N)}}function best_of(E){var N=E[0],R=N.length;for(var j=1;jE===null&&N===null||E.TYPE===N.TYPE&&E.shallow_cmp(N);const equivalent_to=(E,N)=>{if(!shallow_cmp(E,N))return false;const R=[E];const j=[N];const $=R.push.bind(R);const q=j.push.bind(j);while(R.length&&j.length){const E=R.pop();const N=j.pop();if(!shallow_cmp(E,N))return false;E._children_backwards($);N._children_backwards(q);if(R.length!==j.length){return false}}return R.length==0&&j.length==0};const mkshallow=E=>{const N=Object.keys(E).map((N=>{if(E[N]==="eq"){return`this.${N} === other.${N}`}else if(E[N]==="exist"){return`(this.${N} == null ? other.${N} == null : this.${N} === other.${N})`}else{throw new Error(`mkshallow: Unexpected instruction: ${E[N]}`)}})).join(" && ");return new Function("other","return "+N)};const pass_through=()=>true;ot.prototype.shallow_cmp=function(){throw new Error("did not find a shallow_cmp function for "+this.constructor.name)};ct.prototype.shallow_cmp=pass_through;ut.prototype.shallow_cmp=mkshallow({value:"eq"});dt.prototype.shallow_cmp=pass_through;pt.prototype.shallow_cmp=pass_through;mt.prototype.shallow_cmp=pass_through;_t.prototype.shallow_cmp=mkshallow({"label.name":"eq"});bt.prototype.shallow_cmp=pass_through;xt.prototype.shallow_cmp=pass_through;St.prototype.shallow_cmp=mkshallow({init:"exist",condition:"exist",step:"exist"});Et.prototype.shallow_cmp=pass_through;Tt.prototype.shallow_cmp=pass_through;kt.prototype.shallow_cmp=pass_through;Dt.prototype.shallow_cmp=pass_through;At.prototype.shallow_cmp=pass_through;wt.prototype.shallow_cmp=mkshallow({is_generator:"eq",async:"eq"});Ot.prototype.shallow_cmp=mkshallow({is_array:"eq"});Mt.prototype.shallow_cmp=pass_through;Rt.prototype.shallow_cmp=pass_through;Lt.prototype.shallow_cmp=mkshallow({value:"eq"});Bt.prototype.shallow_cmp=pass_through;Wt.prototype.shallow_cmp=pass_through;Vt.prototype.shallow_cmp=pass_through;qt.prototype.shallow_cmp=mkshallow({is_star:"eq"});Ht.prototype.shallow_cmp=mkshallow({alternative:"exist"});Gt.prototype.shallow_cmp=pass_through;Kt.prototype.shallow_cmp=pass_through;Yt.prototype.shallow_cmp=mkshallow({bcatch:"exist",bfinally:"exist"});Zt.prototype.shallow_cmp=mkshallow({argname:"exist"});er.prototype.shallow_cmp=pass_through;tr.prototype.shallow_cmp=pass_through;ar.prototype.shallow_cmp=mkshallow({value:"exist"});sr.prototype.shallow_cmp=pass_through;cr.prototype.shallow_cmp=mkshallow({imported_name:"exist",imported_names:"exist"});lr.prototype.shallow_cmp=pass_through;ur.prototype.shallow_cmp=mkshallow({exported_definition:"exist",exported_value:"exist",exported_names:"exist",module_name:"eq",is_default:"eq"});dr.prototype.shallow_cmp=pass_through;fr.prototype.shallow_cmp=pass_through;mr.prototype.shallow_cmp=pass_through;yr.prototype.shallow_cmp=pass_through;gr.prototype.shallow_cmp=mkshallow({property:"eq"});hr.prototype.shallow_cmp=mkshallow({property:"eq"});vr.prototype.shallow_cmp=mkshallow({operator:"eq"});Sr.prototype.shallow_cmp=mkshallow({operator:"eq"});Er.prototype.shallow_cmp=pass_through;Cr.prototype.shallow_cmp=pass_through;Dr.prototype.shallow_cmp=pass_through;Ar.prototype.shallow_cmp=pass_through;wr.prototype.shallow_cmp=mkshallow({key:"eq"});Ir.prototype.shallow_cmp=mkshallow({static:"eq"});Nr.prototype.shallow_cmp=mkshallow({static:"eq"});Or.prototype.shallow_cmp=mkshallow({static:"eq",is_generator:"eq",async:"eq"});Rr.prototype.shallow_cmp=mkshallow({name:"exist",extends:"exist"});Lr.prototype.shallow_cmp=mkshallow({static:"eq"});zr.prototype.shallow_cmp=mkshallow({name:"eq"});Wr.prototype.shallow_cmp=pass_through;un.prototype.shallow_cmp=pass_through;dn.prototype.shallow_cmp=pass_through;mn.prototype.shallow_cmp=mkshallow({value:"eq"});gn.prototype.shallow_cmp=mkshallow({value:"eq"});hn.prototype.shallow_cmp=mkshallow({value:"eq"});_n.prototype.shallow_cmp=function(E){return this.value.flags===E.value.flags&&this.value.source===E.value.source};yn.prototype.shallow_cmp=pass_through;const Rn=1<<0;const Ln=1<<1;let Bn=null;let jn=null;class SymbolDef{constructor(E,N,R){this.name=N.name;this.orig=[N];this.init=R;this.eliminated=0;this.assignments=0;this.scope=E;this.replaced=0;this.global=false;this.export=0;this.mangled_name=null;this.undeclared=false;this.id=SymbolDef.next_id++;this.chained=false;this.direct_access=false;this.escaped=0;this.recursive_refs=0;this.references=[];this.should_replace=undefined;this.single_use=false;this.fixed=false;Object.seal(this)}fixed_value(){if(!this.fixed||this.fixed instanceof ot)return this.fixed;return this.fixed()}unmangleable(E){if(!E)E={};if(Bn&&Bn.has(this.id)&&keep_name(E.keep_fnames,this.orig[0].name))return true;return this.global&&!E.toplevel||this.export&Rn||this.undeclared||!E.eval&&this.scope.pinned()||(this.orig[0]instanceof Yr||this.orig[0]instanceof Kr)&&keep_name(E.keep_fnames,this.orig[0].name)||this.orig[0]instanceof Qr||(this.orig[0]instanceof en||this.orig[0]instanceof Zr)&&keep_name(E.keep_classnames,this.orig[0].name)}mangle(E){const N=E.cache&&E.cache.props;if(this.global&&N&&N.has(this.name)){this.mangled_name=N.get(this.name)}else if(!this.mangled_name&&!this.unmangleable(E)){var R=this.scope;var j=this.orig[0];if(E.ie8&&j instanceof Yr)R=R.parent_scope;const $=redefined_catch_def(this);this.mangled_name=$?$.mangled_name||$.name:R.next_mangled(E,this);if(this.global&&N){N.set(this.name,this.mangled_name)}}}}SymbolDef.next_id=1;function redefined_catch_def(E){if(E.orig[0]instanceof tn&&E.scope.is_block_scope()){return E.scope.get_defun_scope().variables.get(E.name)}}Ct.DEFMETHOD("figure_out_scope",(function(E,{parent_scope:N=null,toplevel:R=this}={}){E=defaults(E,{cache:null,ie8:false,safari10:false});if(!(R instanceof Dt)){throw new Error("Invalid toplevel scope")}var j=this.parent_scope=N;var $=new Map;var q=null;var G=null;var ie=[];var ae=new TreeWalker(((N,R)=>{if(N.is_block_scope()){const $=j;N.block_scope=j=new Ct(N);j._block_scope=true;const q=N instanceof Zt?$.parent_scope:$;j.init_scope_vars(q);j.uses_with=$.uses_with;j.uses_eval=$.uses_eval;if(E.safari10){if(N instanceof St||N instanceof Et){ie.push(j)}}if(N instanceof Gt){const E=j;j=$;N.expression.walk(ae);j=E;for(let E=0;E{if(E===N)return true;if(N instanceof Vr){return E instanceof Yr}return!(E instanceof Hr||E instanceof qr)}))){js_error(`"${N.name}" is redeclared`,N.start.file,N.start.line,N.start.col,N.start.pos)}if(!(N instanceof Gr))mark_export(we,2);if(q!==j){N.mark_enclosed();var we=j.find_variable(N);if(N.thedef!==we){N.thedef=we;N.reference()}}}else if(N instanceof ln){var Ie=$.get(N.name);if(!Ie)throw new Error(string_template("Undefined label {name} [{line},{col}]",{name:N.name,line:N.start.line,col:N.start.col}));N.thedef=Ie}if(!(j instanceof Dt)&&(N instanceof ur||N instanceof cr)){js_error(`"${N.TYPE}" statement may only appear at the top level`,N.start.file,N.start.line,N.start.col,N.start.pos)}}));this.walk(ae);function mark_export(E,N){if(G){var R=0;do{N++}while(ae.parent(R++)!==G)}var j=ae.parent(N);if(E.export=j instanceof ur?Rn:0){var $=j.exported_definition;if(($ instanceof Nt||$ instanceof jr)&&j.is_default){E.export=Ln}}}const ce=this instanceof Dt;if(ce){this.globals=new Map}var ae=new TreeWalker((E=>{if(E instanceof Wt&&E.label){E.label.thedef.references.push(E);return true}if(E instanceof on){var N=E.name;if(N=="eval"&&ae.parent()instanceof dr){for(var j=E.scope;j&&!j.uses_eval;j=j.parent_scope){j.uses_eval=true}}var $;if(ae.parent()instanceof sr&&ae.parent(1).module_name||!($=E.scope.find_variable(N))){$=R.def_global(E);if(E instanceof sn)$.export=Rn}else if($.scope instanceof wt&&N=="arguments"){$.scope.uses_arguments=true}E.thedef=$;E.reference();if(E.scope.is_block_scope()&&!($.orig[0]instanceof Vr)){E.scope=E.scope.get_defun_scope()}return true}var q;if(E instanceof tn&&(q=redefined_catch_def(E.definition()))){var j=E.scope;while(j){push_uniq(j.enclosed,q);if(j===q.scope)break;j=j.parent_scope}}}));this.walk(ae);if(E.ie8||E.safari10){walk(this,(E=>{if(E instanceof tn){var N=E.name;var j=E.thedef.references;var $=E.scope.get_defun_scope();var q=$.find_variable(N)||R.globals.get(N)||$.def_variable(E);j.forEach((function(E){E.thedef=q;E.reference()}));E.thedef=q;E.reference();return true}}))}if(E.safari10){for(const E of ie){E.parent_scope.variables.forEach((function(N){push_uniq(E.enclosed,N)}))}}}));Dt.DEFMETHOD("def_global",(function(E){var N=this.globals,R=E.name;if(N.has(R)){return N.get(R)}else{var j=new SymbolDef(this,E);j.undeclared=true;j.global=true;N.set(R,j);return j}}));Ct.DEFMETHOD("init_scope_vars",(function(E){this.variables=new Map;this.uses_with=false;this.uses_eval=false;this.parent_scope=E;this.enclosed=[];this.cname=-1}));Ct.DEFMETHOD("conflicting_def",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)||this.parent_scope&&this.parent_scope.conflicting_def(E)}));Ct.DEFMETHOD("conflicting_def_shallow",(function(E){return this.enclosed.find((N=>N.name===E))||this.variables.has(E)}));Ct.DEFMETHOD("add_child_scope",(function(E){if(E.parent_scope===this)return;E.parent_scope=this;const N=(()=>{const E=[];let N=this;do{E.push(N)}while(N=N.parent_scope);E.reverse();return E})();const R=new Set(E.enclosed);const j=[];for(const E of N){j.forEach((N=>push_uniq(E.enclosed,N)));for(const N of E.variables.values()){if(R.has(N)){push_uniq(j,N);push_uniq(E.enclosed,N)}}}}));function find_scopes_visible_from(E){const N=new Set;for(const R of new Set(E)){(function bubble_up(E){if(E==null||N.has(E))return;N.add(E);bubble_up(E.parent_scope)})(R)}return[...N]}Ct.DEFMETHOD("create_symbol",(function(E,{source:N,tentative_name:R,scope:j,conflict_scopes:$=[j],init:q=null}={}){let G;$=find_scopes_visible_from($);if(R){R=G=R.replace(/(?:^[^a-z_$]|[^a-z0-9_$])/gi,"_");let E=0;while($.find((E=>E.conflicting_def_shallow(G)))){G=R+"$"+E++}}if(!G){throw new Error("No symbol name could be generated in create_symbol()")}const ie=make_node(E,N,{name:G,scope:j});this.def_variable(ie,q||null);ie.mark_enclosed();return ie}));ot.DEFMETHOD("is_block_scope",return_false);Rr.DEFMETHOD("is_block_scope",return_false);wt.DEFMETHOD("is_block_scope",return_false);Dt.DEFMETHOD("is_block_scope",return_false);Kt.DEFMETHOD("is_block_scope",return_false);pt.DEFMETHOD("is_block_scope",return_true);Ct.DEFMETHOD("is_block_scope",(function(){return this._block_scope||false}));yt.DEFMETHOD("is_block_scope",return_true);wt.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false;this.def_variable(new Gr({name:"arguments",start:this.start,end:this.end}))}));It.DEFMETHOD("init_scope_vars",(function(){Ct.prototype.init_scope_vars.apply(this,arguments);this.uses_arguments=false}));zr.DEFMETHOD("mark_enclosed",(function(){var E=this.definition();var N=this.scope;while(N){push_uniq(N.enclosed,E);if(N===E.scope)break;N=N.parent_scope}}));zr.DEFMETHOD("reference",(function(){this.definition().references.push(this);this.mark_enclosed()}));Ct.DEFMETHOD("find_variable",(function(E){if(E instanceof zr)E=E.name;return this.variables.get(E)||this.parent_scope&&this.parent_scope.find_variable(E)}));Ct.DEFMETHOD("def_function",(function(E,N){var R=this.def_variable(E,N);if(!R.init||R.init instanceof Nt)R.init=N;return R}));Ct.DEFMETHOD("def_variable",(function(E,N){var R=this.variables.get(E.name);if(R){R.orig.push(E);if(R.init&&(R.scope!==E.scope||R.init instanceof Ft)){R.init=N}}else{R=new SymbolDef(this,E,N);this.variables.set(E.name,R);R.global=!this.parent_scope}return E.thedef=R}));function next_mangled(E,N){var R=E.enclosed;e:while(true){var j=Un(++E.cname);if(_e.has(j))continue;if(N.reserved.has(j))continue;if(jn&&jn.has(j))continue e;for(let E=R.length;--E>=0;){const $=R[E];const q=$.mangled_name||$.unmangleable(N)&&$.name;if(j==q)continue e}return j}}Ct.DEFMETHOD("next_mangled",(function(E){return next_mangled(this,E)}));Dt.DEFMETHOD("next_mangled",(function(E){let N;const R=this.mangled_names;do{N=next_mangled(this,E)}while(R.has(N));return N}));Ft.DEFMETHOD("next_mangled",(function(E,N){var R=N.orig[0]instanceof Gr&&this.name&&this.name.definition();var j=R?R.mangled_name||R.name:null;while(true){var $=next_mangled(this,E);if(!j||j!=$)return $}}));zr.DEFMETHOD("unmangleable",(function(E){var N=this.definition();return!N||N.unmangleable(E)}));an.DEFMETHOD("unmangleable",return_false);zr.DEFMETHOD("unreferenced",(function(){return!this.definition().references.length&&!this.scope.pinned()}));zr.DEFMETHOD("definition",(function(){return this.thedef}));zr.DEFMETHOD("global",(function(){return this.thedef.global}));Dt.DEFMETHOD("_default_mangler_options",(function(E){E=defaults(E,{eval:false,ie8:false,keep_classnames:false,keep_fnames:false,module:false,reserved:[],toplevel:false});if(E.module)E.toplevel=true;if(!Array.isArray(E.reserved)&&!(E.reserved instanceof Set)){E.reserved=[]}E.reserved=new Set(E.reserved);E.reserved.add("arguments");return E}));Dt.DEFMETHOD("mangle_names",(function(E){E=this._default_mangler_options(E);var N=-1;var R=[];if(E.keep_fnames){Bn=new Set}const j=this.mangled_names=new Set;if(E.cache){this.globals.forEach(collect);if(E.cache.props){E.cache.props.forEach((function(E){j.add(E)}))}}var $=new TreeWalker((function(j,$){if(j instanceof _t){var q=N;$();N=q;return true}if(j instanceof Ct){j.variables.forEach(collect);return}if(j.is_block_scope()){j.block_scope.variables.forEach(collect);return}if(Bn&&j instanceof ar&&j.value instanceof wt&&!j.value.name&&keep_name(E.keep_fnames,j.name.name)){Bn.add(j.name.definition().id);return}if(j instanceof an){let E;do{E=Un(++N)}while(_e.has(E));j.mangled_name=E;return true}if(!(E.ie8||E.safari10)&&j instanceof tn){R.push(j.definition());return}}));this.walk($);if(E.keep_fnames||E.keep_classnames){jn=new Set;R.forEach((N=>{if(N.name.length<6&&N.unmangleable(E)){jn.add(N.name)}}))}R.forEach((N=>{N.mangle(E)}));Bn=null;jn=null;function collect(N){const j=!E.reserved.has(N.name)&&!(N.export&Rn);if(j){R.push(N)}}}));Dt.DEFMETHOD("find_colliding_names",(function(E){const N=E.cache&&E.cache.props;const R=new Set;E.reserved.forEach(to_avoid);this.globals.forEach(add_def);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(add_def);if(E instanceof tn)add_def(E.definition())})));return R;function to_avoid(E){R.add(E)}function add_def(R){var j=R.name;if(R.global&&N&&N.has(j))j=N.get(j);else if(!R.unmangleable(E))return;to_avoid(j)}}));Dt.DEFMETHOD("expand_names",(function(E){Un.reset();Un.sort();E=this._default_mangler_options(E);var N=this.find_colliding_names(E);var R=0;this.globals.forEach(rename);this.walk(new TreeWalker((function(E){if(E instanceof Ct)E.variables.forEach(rename);if(E instanceof tn)rename(E.definition())})));function next_name(){var E;do{E=Un(R++)}while(N.has(E)||_e.has(E));return E}function rename(N){if(N.global&&E.cache)return;if(N.unmangleable(E))return;if(E.reserved.has(N.name))return;const R=redefined_catch_def(N);const j=N.name=R?R.name:next_name();N.orig.forEach((function(E){E.name=j}));N.references.forEach((function(E){E.name=j}))}}));ot.DEFMETHOD("tail_node",return_this);fr.DEFMETHOD("tail_node",(function(){return this.expressions[this.expressions.length-1]}));Dt.DEFMETHOD("compute_char_frequency",(function(E){E=this._default_mangler_options(E);try{ot.prototype.print=function(N,R){this._print(N,R);if(this instanceof zr&&!this.unmangleable(E)){Un.consider(this.name,-1)}else if(E.properties){if(this instanceof hr){Un.consider("#"+this.property,-1)}else if(this instanceof gr){Un.consider(this.property,-1)}else if(this instanceof _r){skip_string(this.property)}}};Un.consider(this.print_to_string(),1)}finally{ot.prototype.print=ot.prototype._print}Un.sort();function skip_string(E){if(E instanceof mn){Un.consider(E.value,-1)}else if(E instanceof Er){skip_string(E.consequent);skip_string(E.alternative)}else if(E instanceof fr){skip_string(E.tail_node())}}}));const Un=(()=>{const E="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_".split("");const N="0123456789".split("");let R;let j;function reset(){j=new Map;E.forEach((function(E){j.set(E,0)}));N.forEach((function(E){j.set(E,0)}))}base54.consider=function(E,N){for(var R=E.length;--R>=0;){j.set(E[R],j.get(E[R])+N)}};function compare(E,N){return j.get(N)-j.get(E)}base54.sort=function(){R=mergeSort(E,compare).concat(mergeSort(N,compare))};base54.reset=reset;reset();function base54(E){var N="",j=54;E++;do{E--;N+=R[E%j];E=Math.floor(E/j);j=64}while(E>0);return N}return base54})();let zn=undefined;ot.prototype.size=function(E,N){zn=E&&E.mangle_options;let R=0;walk_parent(this,((E,N)=>{R+=E._size(N);if(E instanceof It&&E.is_braceless()){R+=E.body[0].value._size(N);return true}}),N||E&&E.stack);zn=undefined;return R};ot.prototype._size=()=>0;ct.prototype._size=()=>8;ut.prototype._size=function(){return 2+this.value.length};const list_overhead=E=>E.length&&E.length-1;pt.prototype._size=function(){return 2+list_overhead(this.body)};Dt.prototype._size=function(){return list_overhead(this.body)};mt.prototype._size=()=>1;_t.prototype._size=()=>2;bt.prototype._size=()=>9;xt.prototype._size=()=>7;St.prototype._size=()=>8;Et.prototype._size=()=>8;kt.prototype._size=()=>6;At.prototype._size=()=>3;const lambda_modifiers=E=>(E.is_generator?1:0)+(E.async?6:0);Pt.prototype._size=function(){return lambda_modifiers(this)+4+list_overhead(this.argnames)+list_overhead(this.body)};Ft.prototype._size=function(E){const N=!!first_in_statement(E);return N*2+lambda_modifiers(this)+12+list_overhead(this.argnames)+list_overhead(this.body)};Nt.prototype._size=function(){return lambda_modifiers(this)+13+list_overhead(this.argnames)+list_overhead(this.body)};It.prototype._size=function(){let E=2+list_overhead(this.argnames);if(!(this.argnames.length===1&&this.argnames[0]instanceof zr)){E+=2}const N=this.is_braceless()?0:list_overhead(this.body)+2;return lambda_modifiers(this)+E+N};Ot.prototype._size=()=>2;Rt.prototype._size=function(){return 2+Math.floor(this.segments.length/2)*3};Lt.prototype._size=function(){return this.value.length};Ut.prototype._size=function(){return this.value?7:6};zt.prototype._size=()=>6;$t.prototype._size=function(){return this.label?6:5};Jt.prototype._size=function(){return this.label?9:8};Ht.prototype._size=()=>4;Gt.prototype._size=function(){return 8+list_overhead(this.body)};Xt.prototype._size=function(){return 5+list_overhead(this.body)};Qt.prototype._size=function(){return 8+list_overhead(this.body)};Yt.prototype._size=function(){return 3+list_overhead(this.body)};Zt.prototype._size=function(){let E=7+list_overhead(this.body);if(this.argname){E+=2}return E};er.prototype._size=function(){return 7+list_overhead(this.body)};const def_size=(E,N)=>E+list_overhead(N.definitions);rr.prototype._size=function(){return def_size(4,this)};nr.prototype._size=function(){return def_size(4,this)};ir.prototype._size=function(){return def_size(6,this)};ar.prototype._size=function(){return this.value?1:0};sr.prototype._size=function(){return this.name?4:0};cr.prototype._size=function(){let E=6;if(this.imported_name)E+=1;if(this.imported_name||this.imported_names)E+=5;if(this.imported_names){E+=2+list_overhead(this.imported_names)}return E};lr.prototype._size=()=>11;ur.prototype._size=function(){let E=7+(this.is_default?8:0);if(this.exported_value){E+=this.exported_value._size()}if(this.exported_names){E+=2+list_overhead(this.exported_names)}if(this.module_name){E+=5}return E};dr.prototype._size=function(){if(this.optional){return 4+list_overhead(this.args)}return 2+list_overhead(this.args)};pr.prototype._size=function(){return 6+list_overhead(this.args)};fr.prototype._size=function(){return list_overhead(this.expressions)};gr.prototype._size=function(){if(this.optional){return this.property.length+2}return this.property.length+1};hr.prototype._size=function(){if(this.optional){return this.property.length+3}return this.property.length+2};_r.prototype._size=function(){return this.optional?4:2};vr.prototype._size=function(){if(this.operator==="typeof")return 7;if(this.operator==="void")return 5;return this.operator.length};Sr.prototype._size=function(E){if(this.operator==="in")return 4;let N=this.operator.length;if((this.operator==="+"||this.operator==="-")&&this.right instanceof vr&&this.right.operator===this.operator){N+=1}if(this.needs_parens(E)){N+=2}return N};Er.prototype._size=()=>3;Cr.prototype._size=function(){return 2+list_overhead(this.elements)};Dr.prototype._size=function(E){let N=2;if(first_in_statement(E)){N+=2}return N+list_overhead(this.properties)};const key_size=E=>typeof E==="string"?E.length:0;wr.prototype._size=function(){return key_size(this.key)+1};const static_size=E=>E?7:0;Nr.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Ir.prototype._size=function(){return 5+static_size(this.static)+key_size(this.key)};Or.prototype._size=function(){return static_size(this.static)+key_size(this.key)+lambda_modifiers(this)};Mr.prototype._size=function(){return Or.prototype._size.call(this)+1};Fr.prototype._size=Pr.prototype._size=function(){return Or.prototype._size.call(this)+4};Rr.prototype._size=function(){return(this.name?8:7)+(this.extends?8:0)};Lr.prototype._size=function(){return static_size(this.static)+(typeof this.key==="string"?this.key.length+2:0)+(this.value?1:0)};Br.prototype._size=function(){return Lr.prototype._size.call(this)+1};zr.prototype._size=function(){return!zn||this.definition().unmangleable(zn)?this.name.length:1};Xr.prototype._size=function(){return this.name.length};on.prototype._size=$r.prototype._size=function(){const{name:E,thedef:N}=this;if(N&&N.global)return E.length;if(E==="arguments")return 9;return zr.prototype._size.call(this)};Wr.prototype._size=()=>10;nn.prototype._size=function(){return this.name.length};cn.prototype._size=function(){return this.name.length};un.prototype._size=()=>4;dn.prototype._size=()=>5;mn.prototype._size=function(){return this.value.length+2};gn.prototype._size=function(){const{value:E}=this;if(E===0)return 1;if(E>0&&Math.floor(E)===E){return Math.floor(Math.log10(E)+1)}return E.toString().length};hn.prototype._size=function(){return this.value.length};_n.prototype._size=function(){return this.value.toString().length};vn.prototype._size=()=>4;bn.prototype._size=()=>3;xn.prototype._size=()=>6;Sn.prototype._size=()=>0;En.prototype._size=()=>8;Cn.prototype._size=()=>4;kn.prototype._size=()=>5;Vt.prototype._size=()=>6;qt.prototype._size=()=>6;const Wn=1;const $n=2;const Jn=4;const Vn=8;const qn=16;const Hn=32;const Gn=256;const Kn=512;const Qn=1024;const Xn=Gn|Kn|Qn;const has_flag=(E,N)=>E.flags&N;const set_flag=(E,N)=>{E.flags|=N};const clear_flag=(E,N)=>{E.flags&=~N};class Compressor extends TreeWalker{constructor(E,{false_by_default:N=false,mangle_options:R=false}){super();if(E.defaults!==undefined&&!E.defaults)N=true;this.options=defaults(E,{arguments:false,arrows:!N,booleans:!N,booleans_as_integers:false,collapse_vars:!N,comparisons:!N,computed_props:!N,conditionals:!N,dead_code:!N,defaults:true,directives:!N,drop_console:false,drop_debugger:!N,ecma:5,evaluate:!N,expression:false,global_defs:false,hoist_funs:false,hoist_props:!N,hoist_vars:false,ie8:false,if_return:!N,inline:!N,join_vars:!N,keep_classnames:false,keep_fargs:true,keep_fnames:false,keep_infinity:false,loops:!N,module:false,negate_iife:!N,passes:1,properties:!N,pure_getters:!N&&"strict",pure_funcs:null,reduce_funcs:!N,reduce_vars:!N,sequences:!N,side_effects:!N,switches:!N,top_retain:null,toplevel:!!(E&&E["top_retain"]),typeofs:!N,unsafe:false,unsafe_arrows:false,unsafe_comps:false,unsafe_Function:false,unsafe_math:false,unsafe_symbols:false,unsafe_methods:false,unsafe_proto:false,unsafe_regexp:false,unsafe_undefined:false,unused:!N,warnings:false},true);var j=this.options["global_defs"];if(typeof j=="object")for(var $ in j){if($[0]==="@"&&HOP(j,$)){j[$.slice(1)]=parse(j[$],{expression:true})}}if(this.options["inline"]===true)this.options["inline"]=3;var q=this.options["pure_funcs"];if(typeof q=="function"){this.pure_funcs=q}else{this.pure_funcs=q?function(E){return!q.includes(E.expression.print_to_string())}:return_true}var G=this.options["top_retain"];if(G instanceof RegExp){this.top_retain=function(E){return G.test(E.name)}}else if(typeof G=="function"){this.top_retain=G}else if(G){if(typeof G=="string"){G=G.split(/,/)}this.top_retain=function(E){return G.includes(E.name)}}if(this.options["module"]){this.directives["use strict"]=true;this.options["toplevel"]=true}var ie=this.options["toplevel"];this.toplevel=typeof ie=="string"?{funcs:/funcs/.test(ie),vars:/vars/.test(ie)}:{funcs:ie,vars:ie};var ae=this.options["sequences"];this.sequences_limit=ae==1?800:ae|0;this.evaluated_regexps=new Map;this._toplevel=undefined;this.mangle_options=R}option(E){return this.options[E]}exposed(E){if(E.export)return true;if(E.global)for(var N=0,R=E.orig.length;N0||this.option("reduce_vars")){this._toplevel.reset_opt_flags(this)}this._toplevel=this._toplevel.transform(this);if(N>1){let E=0;walk(this._toplevel,(()=>{E++}));if(E=0){$.body[G]=$.body[G].transform(j)}}else if($ instanceof Ht){$.body=$.body.transform(j);if($.alternative){$.alternative=$.alternative.transform(j)}}else if($ instanceof kt){$.body=$.body.transform(j)}return $}));R.transform(j)}));function read_property(E,N){N=get_value(N);if(N instanceof ot)return;var R;if(E instanceof Cr){var j=E.elements;if(N=="length")return make_node_from_constant(j.length,E);if(typeof N=="number"&&N in j)R=j[N]}else if(E instanceof Dr){N=""+N;var $=E.properties;for(var q=$.length;--q>=0;){var G=$[q];if(!(G instanceof wr))return;if(!R&&$[q].key===N)R=$[q].value}}return R instanceof on&&R.fixed_value()||R}function is_modified(E,N,R,j,$,q){var G=N.parent($);var ie=is_lhs(R,G);if(ie)return ie;if(!q&&G instanceof dr&&G.expression===R&&!(j instanceof It)&&!(j instanceof Rr)&&!G.is_callee_pure(E)&&(!(j instanceof Ft)||!(G instanceof pr)&&j.contains_this())){return true}if(G instanceof Cr){return is_modified(E,N,G,G,$+1)}if(G instanceof wr&&R===G.value){var ae=N.parent($+1);return is_modified(E,N,ae,ae,$+2)}if(G instanceof mr&&G.expression===R){var ce=read_property(j,G.property);return!q&&is_modified(E,N,G,ce,$+1)}}(function(E){E(ot,noop);function reset_def(E,N){N.assignments=0;N.chained=false;N.direct_access=false;N.escaped=0;N.recursive_refs=0;N.references=[];N.single_use=undefined;if(N.scope.pinned()){N.fixed=false}else if(N.orig[0]instanceof qr||!E.exposed(N)){N.fixed=N.init}else{N.fixed=false}}function reset_variables(E,N,R){R.variables.forEach((function(R){reset_def(N,R);if(R.fixed===null){E.defs_to_safe_ids.set(R.id,E.safe_ids);mark(E,R,true)}else if(R.fixed){E.loop_ids.set(R.id,E.in_loop);mark(E,R,true)}}))}function reset_block_variables(E,N){if(N.block_scope)N.block_scope.variables.forEach((N=>{reset_def(E,N)}))}function push(E){E.safe_ids=Object.create(E.safe_ids)}function pop(E){E.safe_ids=Object.getPrototypeOf(E.safe_ids)}function mark(E,N,R){E.safe_ids[N.id]=R}function safe_to_read(E,N){if(N.single_use=="m")return false;if(E.safe_ids[N.id]){if(N.fixed==null){var R=N.orig[0];if(R instanceof Gr||R.name=="arguments")return false;N.fixed=make_node(xn,R)}return true}return N.fixed instanceof Nt}function safe_to_assign(E,N,R,j){if(N.fixed===undefined)return true;let $;if(N.fixed===null&&($=E.defs_to_safe_ids.get(N.id))){$[N.id]=false;E.defs_to_safe_ids.delete(N.id);return true}if(!HOP(E.safe_ids,N.id))return false;if(!safe_to_read(E,N))return false;if(N.fixed===false)return false;if(N.fixed!=null&&(!j||N.references.length>N.assignments))return false;if(N.fixed instanceof Nt){return j instanceof ot&&N.fixed.parent_scope===R}return N.orig.every((E=>!(E instanceof qr||E instanceof Kr||E instanceof Yr)))}function ref_once(E,N,R){return N.option("unused")&&!R.scope.pinned()&&R.references.length-R.recursive_refs==1&&E.loop_ids.get(R.id)===E.in_loop}function is_immutable(E){if(!E)return false;return E.is_constant()||E instanceof wt||E instanceof un}function mark_escaped(E,N,R,j,$,q=0,G=1){var ie=E.parent(q);if($){if($.is_constant())return;if($ instanceof Ur)return}if(ie instanceof Tr&&(ie.operator==="="||ie.logical)&&j===ie.right||ie instanceof dr&&(j!==ie.expression||ie instanceof pr)||ie instanceof jt&&j===ie.value&&j.scope!==N.scope||ie instanceof ar&&j===ie.value||ie instanceof qt&&j===ie.value&&j.scope!==N.scope){if(G>1&&!($&&$.is_constant_expression(R)))G=1;if(!N.escaped||N.escaped>G)N.escaped=G;return}else if(ie instanceof Cr||ie instanceof Vt||ie instanceof Sr&&ei.has(ie.operator)||ie instanceof Er&&j!==ie.condition||ie instanceof At||ie instanceof fr&&j===ie.tail_node()){mark_escaped(E,N,R,ie,ie,q+1,G)}else if(ie instanceof wr&&j===ie.value){var ae=E.parent(q+1);mark_escaped(E,N,R,ae,ae,q+2,G)}else if(ie instanceof mr&&j===ie.expression){$=read_property($,ie.property);mark_escaped(E,N,R,ie,$,q+1,G+1);if($)return}if(q>0)return;if(ie instanceof fr&&j!==ie.tail_node())return;if(ie instanceof dt)return;N.direct_access=true}const suppress=E=>walk(E,(E=>{if(!(E instanceof zr))return;var N=E.definition();if(!N)return;if(E instanceof on)N.references.push(E);N.fixed=false}));E(Pt,(function(E,N,R){push(E);reset_variables(E,R,this);N();pop(E);return true}));E(Tr,(function(E,N,R){var j=this;if(j.left instanceof Ot){suppress(j.left);return}const finish_walk=()=>{if(j.logical){j.left.walk(E);push(E);j.right.walk(E);pop(E);return true}};var $=j.left;if(!($ instanceof on))return finish_walk();var q=$.definition();var G=safe_to_assign(E,q,$.scope,j.right);q.assignments++;if(!G)return finish_walk();var ie=q.fixed;if(!ie&&j.operator!="="&&!j.logical)return finish_walk();var ae=j.operator=="=";var ce=ae?j.right:j;if(is_modified(R,E,j,ce,0))return finish_walk();q.references.push($);if(!j.logical){if(!ae)q.chained=true;q.fixed=ae?function(){return j.right}:function(){return make_node(Sr,j,{operator:j.operator.slice(0,-1),left:ie instanceof ot?ie:ie(),right:j.right})}}if(j.logical){mark(E,q,false);push(E);j.right.walk(E);pop(E);return true}mark(E,q,false);j.right.walk(E);mark(E,q,true);mark_escaped(E,q,$.scope,j,ce,0,1);return true}));E(Sr,(function(E){if(!ei.has(this.operator))return;this.left.walk(E);push(E);this.right.walk(E);pop(E);return true}));E(pt,(function(E,N,R){reset_block_variables(R,this)}));E(Xt,(function(E){push(E);this.expression.walk(E);pop(E);push(E);walk_body(this,E);pop(E);return true}));E(Rr,(function(E,N){clear_flag(this,qn);push(E);N();pop(E);return true}));E(Er,(function(E){this.condition.walk(E);push(E);this.consequent.walk(E);pop(E);push(E);this.alternative.walk(E);pop(E);return true}));E(yr,(function(E,N){const R=E.safe_ids;N();E.safe_ids=R;return true}));E(dr,(function(E){this.expression.walk(E);if(this.optional){push(E)}for(const N of this.args)N.walk(E);return true}));E(mr,(function(E){if(!this.optional)return;this.expression.walk(E);push(E);if(this.property instanceof ot)this.property.walk(E);return true}));E(Qt,(function(E,N){push(E);N();pop(E);return true}));function mark_lambda(E,N,R){clear_flag(this,qn);push(E);reset_variables(E,R,this);if(this.uses_arguments){N();pop(E);return}var j;if(!this.name&&(j=E.parent())instanceof dr&&j.expression===this&&!j.args.some((E=>E instanceof At))&&this.argnames.every((E=>E instanceof zr))){this.argnames.forEach(((N,R)=>{if(!N.definition)return;var $=N.definition();if($.orig.length>1)return;if($.fixed===undefined&&(!this.uses_arguments||E.has_directive("use strict"))){$.fixed=function(){return j.args[R]||make_node(xn,j)};E.loop_ids.set($.id,E.in_loop);mark(E,$,true)}else{$.fixed=false}}))}N();pop(E);return true}E(wt,mark_lambda);E(bt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);if(has_break_or_continue(this)){pop(E);push(E)}this.condition.walk(E);pop(E);E.in_loop=j;return true}));E(St,(function(E,N,R){reset_block_variables(R,this);if(this.init)this.init.walk(E);const j=E.in_loop;E.in_loop=this;push(E);if(this.condition)this.condition.walk(E);this.body.walk(E);if(this.step){if(has_break_or_continue(this)){pop(E);push(E)}this.step.walk(E)}pop(E);E.in_loop=j;return true}));E(Et,(function(E,N,R){reset_block_variables(R,this);suppress(this.init);this.object.walk(E);const j=E.in_loop;E.in_loop=this;push(E);this.body.walk(E);pop(E);E.in_loop=j;return true}));E(Ht,(function(E){this.condition.walk(E);push(E);this.body.walk(E);pop(E);if(this.alternative){push(E);this.alternative.walk(E);pop(E)}return true}));E(_t,(function(E){push(E);this.body.walk(E);pop(E);return true}));E(tn,(function(){this.definition().fixed=false}));E(on,(function(E,N,R){var j=this.definition();j.references.push(this);if(j.references.length==1&&!j.fixed&&j.orig[0]instanceof Kr){E.loop_ids.set(j.id,E.in_loop)}var $;if(j.fixed===undefined||!safe_to_read(E,j)){j.fixed=false}else if(j.fixed){$=this.fixed_value();if($ instanceof wt&&recursive_ref(E,j)){j.recursive_refs++}else if($&&!R.exposed(j)&&ref_once(E,R,j)){j.single_use=$ instanceof wt&&!$.pinned()||$ instanceof Rr||j.scope===this.scope&&$.is_constant_expression()}else{j.single_use=false}if(is_modified(R,E,this,$,0,is_immutable($))){if(j.single_use){j.single_use="m"}else{j.fixed=false}}}mark_escaped(E,j,this.scope,this,$,0,1)}));E(Dt,(function(E,N,R){this.globals.forEach((function(E){reset_def(R,E)}));reset_variables(E,R,this)}));E(Yt,(function(E,N,R){reset_block_variables(R,this);push(E);walk_body(this,E);pop(E);if(this.bcatch){push(E);this.bcatch.walk(E);pop(E)}if(this.bfinally)this.bfinally.walk(E);return true}));E(vr,(function(E){var N=this;if(N.operator!=="++"&&N.operator!=="--")return;var R=N.expression;if(!(R instanceof on))return;var j=R.definition();var $=safe_to_assign(E,j,R.scope,true);j.assignments++;if(!$)return;var q=j.fixed;if(!q)return;j.references.push(R);j.chained=true;j.fixed=function(){return make_node(Sr,N,{operator:N.operator.slice(0,-1),left:make_node(br,N,{operator:"+",expression:q instanceof ot?q:q()}),right:make_node(gn,N,{value:1})})};mark(E,j,true);return true}));E(ar,(function(E,N){var R=this;if(R.name instanceof Ot){suppress(R.name);return}var j=R.name.definition();if(R.value){if(safe_to_assign(E,j,R.name.scope,R.value)){j.fixed=function(){return R.value};E.loop_ids.set(j.id,E.in_loop);mark(E,j,false);N();mark(E,j,true);return true}else{j.fixed=false}}}));E(xt,(function(E,N,R){reset_block_variables(R,this);const j=E.in_loop;E.in_loop=this;push(E);N();pop(E);E.in_loop=j;return true}))})((function(E,N){E.DEFMETHOD("reduce_vars",N)}));Dt.DEFMETHOD("reset_opt_flags",(function(E){const N=this;const R=E.option("reduce_vars");const j=new TreeWalker((function($,q){clear_flag($,Xn);if(R){if(E.top_retain&&$ instanceof Nt&&j.parent()===N){set_flag($,Qn)}return $.reduce_vars(j,q,E)}}));j.safe_ids=Object.create(null);j.in_loop=null;j.loop_ids=new Map;j.defs_to_safe_ids=new Map;N.walk(j)}));zr.DEFMETHOD("fixed_value",(function(){var E=this.thedef.fixed;if(!E||E instanceof ot)return E;return E()}));on.DEFMETHOD("is_immutable",(function(){var E=this.definition().orig;return E.length==1&&E[0]instanceof Yr}));function is_func_expr(E){return E instanceof It||E instanceof Ft}function is_lhs_read_only(E){if(E instanceof un)return true;if(E instanceof on)return E.definition().orig[0]instanceof Yr;if(E instanceof mr){E=E.expression;if(E instanceof on){if(E.is_immutable())return false;E=E.fixed_value()}if(!E)return true;if(E instanceof _n)return false;if(E instanceof pn)return true;return is_lhs_read_only(E)}return false}function is_ref_of(E,N){if(!(E instanceof on))return false;var R=E.definition().orig;for(var j=R.length;--j>=0;){if(R[j]instanceof N)return true}}function find_scope(E){for(let N=0;;N++){const R=E.parent(N);if(R instanceof Dt)return R;if(R instanceof wt)return R;if(R.block_scope)return R.block_scope}}function find_variable(E,N){var R,j=0;while(R=E.parent(j++)){if(R instanceof Ct)break;if(R instanceof Zt&&R.argname){R=R.argname.definition().scope;break}}return R.find_variable(N)}function make_sequence(E,N){if(N.length==1)return N[0];if(N.length==0)throw new Error("trying to create a sequence with length zero!");return make_node(fr,E,{expressions:N.reduce(merge_sequence,[])})}function make_node_from_constant(E,N){switch(typeof E){case"string":return make_node(mn,N,{value:E});case"number":if(isNaN(E))return make_node(bn,N);if(isFinite(E)){return 1/E<0?make_node(br,N,{operator:"-",expression:make_node(gn,N,{value:-E})}):make_node(gn,N,{value:E})}return E<0?make_node(br,N,{operator:"-",expression:make_node(En,N)}):make_node(En,N);case"boolean":return make_node(E?Cn:kn,N);case"undefined":return make_node(xn,N);default:if(E===null){return make_node(vn,N,{value:null})}if(E instanceof RegExp){return make_node(_n,N,{value:{source:regexp_source_fix(E.source),flags:E.flags}})}throw new Error(string_template("Can't handle constant of type: {type}",{type:typeof E}))}}function maintain_this_binding(E,N,R){if(E instanceof br&&E.operator=="delete"||E instanceof dr&&E.expression===N&&(R instanceof mr||R instanceof on&&R.name=="eval")){return make_sequence(N,[make_node(gn,N,{value:0}),R])}return R}function merge_sequence(E,N){if(N instanceof fr){E.push(...N.expressions)}else{E.push(N)}return E}function as_statement_array(E){if(E===null)return[];if(E instanceof ft)return E.body;if(E instanceof mt)return[];if(E instanceof st)return[E];throw new Error("Can't convert thing to statement array")}function is_empty(E){if(E===null)return true;if(E instanceof mt)return true;if(E instanceof ft)return E.body.length==0;return false}function can_be_evicted_from_block(E){return!(E instanceof jr||E instanceof Nt||E instanceof nr||E instanceof ir||E instanceof ur||E instanceof cr)}function loop_body(E){if(E instanceof yt){return E.body instanceof ft?E.body:E}return E}function is_iife_call(E){if(E.TYPE!="Call")return false;return E.expression instanceof Ft||is_iife_call(E.expression)}function is_undeclared_ref(E){return E instanceof on&&E.definition().undeclared}var Yn=makePredicate("Array Boolean clearInterval clearTimeout console Date decodeURI decodeURIComponent encodeURI encodeURIComponent Error escape eval EvalError Function isFinite isNaN JSON Math Number parseFloat parseInt RangeError ReferenceError RegExp Object setInterval setTimeout String SyntaxError TypeError unescape URIError");on.DEFMETHOD("is_declared",(function(E){return!this.definition().undeclared||E.option("unsafe")&&Yn.has(this.name)}));var Zn=makePredicate("Infinity NaN undefined");function is_identifier_atom(E){return E instanceof En||E instanceof bn||E instanceof xn}function tighten_body(E,N){var R,j;var q=N.find_parent(Ct).get_defun_scope();find_loop_scope_try();var G,ie=10;do{G=false;eliminate_spurious_blocks(E);if(N.option("dead_code")){eliminate_dead_code(E,N)}if(N.option("if_return")){handle_if_return(E,N)}if(N.sequences_limit>0){sequencesize(E,N);sequencesize_2(E,N)}if(N.option("join_vars")){join_consecutive_vars(E)}if(N.option("collapse_vars")){collapse(E,N)}}while(G&&ie-- >0);function find_loop_scope_try(){var E=N.self(),$=0;do{if(E instanceof Zt||E instanceof er){$++}else if(E instanceof yt){R=true}else if(E instanceof Ct){q=E;break}else if(E instanceof Yt){j=true}}while(E=N.parent($++))}function collapse(E,N){if(q.pinned())return E;var ie;var ae=[];var ce=E.length;var le=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te1)||E instanceof yt&&!(E instanceof St)||E instanceof Wt||E instanceof Yt||E instanceof kt||E instanceof qt||E instanceof ur||E instanceof Rr||R instanceof St&&E!==R.init||!ze&&(E instanceof on&&!E.is_declared(N)&&!oi.has(E))||E instanceof on&&R instanceof dr&&has_annotation(R,Pn)){qe=true;return E}if(!Me&&(!je||!ze)&&(R instanceof Sr&&ei.has(R.operator)&&R.left!==E||R instanceof Er&&R.condition!==E||R instanceof Ht&&R.condition!==E)){Me=R}if(Ge&&!(E instanceof $r)&&Le.equivalent_to(E)){if(Me){qe=true;return E}if(is_lhs(E,R)){if(Ie)He++;return E}else{He++;if(Ie&&we instanceof ar)return E}G=qe=true;if(we instanceof xr){return make_node(br,we,we)}if(we instanceof ar){var $=we.name.definition();var q=we.value;if($.references.length-$.replaced==1&&!N.exposed($)){$.replaced++;if(Je&&is_identifier_atom(q)){return q.transform(N)}else{return maintain_this_binding(R,E,q)}}return make_node(Tr,we,{operator:"=",logical:false,left:make_node(on,we.name,we.name),right:q})}clear_flag(we,Hn);return we}var ie;if(E instanceof dr||E instanceof jt&&(Ue||Le instanceof mr||may_modify(Le))||E instanceof mr&&(Ue||E.expression.may_throw_on_access(N))||E instanceof on&&(Be.get(E.name)||Ue&&may_modify(E))||E instanceof ar&&E.value&&(Be.has(E.name.name)||Ue&&may_modify(E.name))||(ie=is_lhs(E.left,E))&&(ie instanceof mr||Be.has(ie.name))||We&&(j?E.has_side_effects(N):side_effects_external(E))){Ne=E;if(E instanceof Ct)qe=true}return handle_custom_scan_order(E)}),(function(E){if(qe)return;if(Ne===E)qe=true;if(Me===E)Me=null}));var _e=new TreeTransformer((function(E){if(qe)return E;if(!Ve){if(E!==Ee[Te])return E;Te++;if(Te=0){if(ce==0&&N.option("unused"))extract_args();var Ee=[];extract_candidates(E[ce]);while(ae.length>0){Ee=ae.pop();var Te=0;var we=Ee[Ee.length-1];var Ie=null;var Ne=null;var Me=null;var Le=get_lhs(we);if(!Le||is_lhs_read_only(Le)||Le.has_side_effects(N))continue;var Be=get_lvalues(we);var je=is_lhs_local(Le);if(Le instanceof on)Be.set(Le.name,false);var Ue=value_has_side_effects(we);var ze=replace_all_symbols();var We=we.may_throw(N);var Je=we.name instanceof Gr;var Ve=Je;var qe=false,He=0,Ge=!ie||!Ve;if(!Ge){for(var Ke=N.self().argnames.lastIndexOf(we.name)+1;!qe&&KeHe)He=false;else{qe=false;Te=0;Ve=Je;for(var Qe=ce;!qe&&Qe!(E instanceof At)))){var j=N.has_directive("use strict");if(j&&!member(j,R.body))j=false;var $=R.argnames.length;ie=E.args.slice($);var q=new Set;for(var G=$;--G>=0;){var ce=R.argnames[G];var le=E.args[G];const $=ce.definition&&ce.definition();const Ee=$&&$.orig.length>1;if(Ee)continue;ie.unshift(make_node(ar,ce,{name:ce,value:le}));if(q.has(ce.name))continue;q.add(ce.name);if(ce instanceof At){var _e=E.args.slice(G);if(_e.every((E=>!has_overlapping_symbol(R,E,j)))){ae.unshift([make_node(ar,ce,{name:ce.expression,value:make_node(Cr,E,{elements:_e})})])}}else{if(!le){le=make_node(xn,ce).transform(N)}else if(le instanceof wt&&le.pinned()||has_overlapping_symbol(R,le,j)){le=null}if(le)ae.unshift([make_node(ar,ce,{name:ce,value:le})])}}}}function extract_candidates(E){Ee.push(E);if(E instanceof Tr){if(!E.left.has_side_effects(N)&&!(E.right instanceof yr)){ae.push(Ee.slice())}extract_candidates(E.right)}else if(E instanceof Sr){extract_candidates(E.left);extract_candidates(E.right)}else if(E instanceof dr&&!has_annotation(E,Pn)){extract_candidates(E.expression);E.args.forEach(extract_candidates)}else if(E instanceof Xt){extract_candidates(E.expression)}else if(E instanceof Er){extract_candidates(E.condition);extract_candidates(E.consequent);extract_candidates(E.alternative)}else if(E instanceof tr){var R=E.definitions.length;var j=R-200;if(j<0)j=0;for(;j1&&!(E.name instanceof Gr)||(j>1?mangleable_var(E):!N.exposed(R))){return make_node(on,E.name,E.name)}}else{const N=E instanceof Tr?E.left:E.expression;return!is_ref_of(N,qr)&&!is_ref_of(N,Hr)&&N}}function get_rvalue(E){if(E instanceof Tr){return E.right}else{return E.value}}function get_lvalues(E){var R=new Map;if(E instanceof vr)return R;var j=new TreeWalker((function(E){var $=E;while($ instanceof mr)$=$.expression;if($ instanceof on||$ instanceof un){R.set($.name,R.get($.name)||is_modified(N,j,E,E,0))}}));get_rvalue(E).walk(j);return R}function remove_candidate(R){if(R.name instanceof Gr){var j=N.parent(),q=N.self().argnames;var G=q.indexOf(R.name);if(G<0){j.args.length=Math.min(j.args.length,q.length-1)}else{var ie=j.args;if(ie[G])ie[G]=make_node(gn,ie[G],{value:0})}return true}var ae=false;return E[ce].transform(new TreeTransformer((function(E,N,j){if(ae)return E;if(E===R||E.body===R){ae=true;if(E instanceof ar){E.value=E.name instanceof qr?make_node(xn,E.value):null;return E}return j?$.skip:null}}),(function(E){if(E instanceof fr)switch(E.expressions.length){case 0:return null;case 1:return E.expressions[0]}})))}function is_lhs_local(E){while(E instanceof mr)E=E.expression;return E instanceof on&&E.definition().scope===q&&!(R&&(Be.has(E.name)||we instanceof vr||we instanceof Tr&&!we.logical&&we.operator!="="))}function value_has_side_effects(E){if(E instanceof vr)return ti.has(E.operator);return get_rvalue(E).has_side_effects(N)}function replace_all_symbols(){if(Ue)return false;if(Ie)return true;if(Le instanceof on){var E=Le.definition();if(E.references.length-E.replaced==(we instanceof ar?1:2)){return true}}return false}function may_modify(E){if(!E.definition)return true;var N=E.definition();if(N.orig.length==1&&N.orig[0]instanceof Kr)return false;if(N.scope.get_defun_scope()!==q)return true;return!N.references.every((E=>{var N=E.scope.get_defun_scope();if(N.TYPE=="Scope")N=N.parent_scope;return N===q}))}function side_effects_external(E,N){if(E instanceof Tr)return side_effects_external(E.left,true);if(E instanceof vr)return side_effects_external(E.expression,true);if(E instanceof ar)return E.value&&side_effects_external(E.value);if(N){if(E instanceof gr)return side_effects_external(E.expression,true);if(E instanceof _r)return side_effects_external(E.expression,true);if(E instanceof on)return E.definition().scope!==q}return false}}function eliminate_spurious_blocks(E){var N=[];for(var R=0;R=0;){var ie=E[q];var ae=next_index(q);var ce=E[ae];if($&&!ce&&ie instanceof Ut){if(!ie.value){G=true;E.splice(q,1);continue}if(ie.value instanceof br&&ie.value.operator=="void"){G=true;E[q]=make_node(dt,ie,{body:ie.value.expression});continue}}if(ie instanceof Ht){var le=aborts(ie.body);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.condition=ie.condition.negate(N);var _e=as_statement_array_with_return(ie.body,le);ie.body=make_node(ft,ie,{body:as_statement_array(ie.alternative).concat(extract_functions())});ie.alternative=make_node(ft,ie,{body:_e});E[q]=ie.transform(N);continue}var le=aborts(ie.alternative);if(can_merge_flow(le)){if(le.label){remove(le.label.thedef.references,le)}G=true;ie=ie.clone();ie.body=make_node(ft,ie.body,{body:as_statement_array(ie.body).concat(extract_functions())});var _e=as_statement_array_with_return(ie.alternative,le);ie.alternative=make_node(ft,ie.alternative,{body:_e});E[q]=ie.transform(N);continue}}if(ie instanceof Ht&&ie.body instanceof Ut){var Ee=ie.body.value;if(!Ee&&!ie.alternative&&($&&!ce||ce instanceof Ut&&!ce.value)){G=true;E[q]=make_node(dt,ie.condition,{body:ie.condition});continue}if(Ee&&!ie.alternative&&ce instanceof Ut&&ce.value){G=true;ie=ie.clone();ie.alternative=ce;E[q]=ie.transform(N);E.splice(ae,1);continue}if(Ee&&!ie.alternative&&(!ce&&$&&j||ce instanceof Ut)){G=true;ie=ie.clone();ie.alternative=ce||make_node(Ut,ie,{value:null});E[q]=ie.transform(N);if(ce)E.splice(ae,1);continue}var Te=E[prev_index(q)];if(N.option("sequences")&&$&&!ie.alternative&&Te instanceof Ht&&Te.body instanceof Ut&&next_index(ae)==E.length&&ce instanceof dt){G=true;ie=ie.clone();ie.alternative=make_node(ft,ce,{body:[ce,make_node(Ut,ce,{value:null})]});E[q]=ie.transform(N);E.splice(ae,1);continue}}}function has_multiple_if_returns(E){var N=0;for(var R=E.length;--R>=0;){var j=E[R];if(j instanceof Ht&&j.body instanceof Ut){if(++N>1)return true}}return false}function is_return_void(E){return!E||E instanceof br&&E.operator=="void"}function can_merge_flow(j){if(!j)return false;for(var G=q+1,ie=E.length;G=0;){var j=E[R];if(!(j instanceof rr&&declarations_only(j))){break}}return R}}function eliminate_dead_code(E,N){var R;var j=N.self();for(var $=0,q=0,ie=E.length;$!E.value))}function sequencesize(E,N){if(E.length<2)return;var R=[],j=0;function push_seq(){if(!R.length)return;var N=make_sequence(R[0],R);E[j++]=make_node(dt,N,{body:N});R=[]}for(var $=0,q=E.length;$=N.sequences_limit)push_seq();var ae=ie.body;if(R.length>0)ae=ae.drop_side_effect_free(N);if(ae)merge_sequence(R,ae)}else if(ie instanceof tr&&declarations_only(ie)||ie instanceof Nt){E[j++]=ie}else{push_seq();E[j++]=ie}}push_seq();E.length=j;if(j!=q)G=true}function to_simple_statement(E,N){if(!(E instanceof ft))return E;var R=null;for(var j=0,$=E.body.length;j<$;j++){var q=E.body[j];if(q instanceof rr&&declarations_only(q)){N.push(q)}else if(R){return false}else{R=q}}return R}function sequencesize_2(E,N){function cons_seq(E){R--;G=true;var $=j.body;return make_sequence($,[$,E]).transform(N)}var R=0,j;for(var $=0;${if(E instanceof Ct)return true;if(E instanceof Sr&&E.operator==="in"){return Dn}}));if(!E){if(q.init)q.init=cons_seq(q.init);else{q.init=j.body;R--;G=true}}}}else if(q instanceof Et){if(!(q.init instanceof ir)&&!(q.init instanceof nr)){q.object=cons_seq(q.object)}}else if(q instanceof Ht){q.condition=cons_seq(q.condition)}else if(q instanceof Gt){q.expression=cons_seq(q.expression)}else if(q instanceof kt){q.expression=cons_seq(q.expression)}}if(N.option("conditionals")&&q instanceof Ht){var ie=[];var ae=to_simple_statement(q.body,ie);var ce=to_simple_statement(q.alternative,ie);if(ae!==false&&ce!==false&&ie.length>0){var le=ie.length;ie.push(make_node(Ht,q,{condition:q.condition,body:ae||make_node(mt,q.body),alternative:ce}));ie.unshift(R,1);[].splice.apply(E,ie);$+=le;R+=le+1;j=null;G=true;continue}}E[R++]=q;j=q instanceof dt?q:null}E.length=R}function join_object_assignments(E,R){if(!(E instanceof tr))return;var j=E.definitions[E.definitions.length-1];if(!(j.value instanceof Dr))return;var $;if(R instanceof Tr&&!R.logical){$=[R]}else if(R instanceof fr){$=R.expressions.slice()}if(!$)return;var G=false;do{var ie=$[0];if(!(ie instanceof Tr))break;if(ie.operator!="=")break;if(!(ie.left instanceof mr))break;var ae=ie.left.expression;if(!(ae instanceof on))break;if(j.name.name!=ae.name)break;if(!ie.right.is_constant_expression(q))break;var ce=ie.left.property;if(ce instanceof ot){ce=ce.evaluate(N)}if(ce instanceof ot)break;ce=""+ce;var le=N.option("ecma")<2015&&N.has_directive("use strict")?function(E){return E.key!=ce&&(E.key&&E.key.name!=ce)}:function(E){return E.key&&E.key.name!=ce};if(!j.value.properties.every(le))break;var _e=j.value.properties.filter((function(E){return E.key===ce}))[0];if(!_e){j.value.properties.push(make_node(wr,ie,{key:ce,value:ie.right}))}else{_e.value=new fr({start:_e.start,expressions:[_e.value.clone(),ie.right.clone()],end:_e.end})}$.shift();G=true}while($.length);return G&&$}function join_consecutive_vars(E){var N;for(var R=0,j=-1,$=E.length;R<$;R++){var q=E[R];var ie=E[j];if(q instanceof tr){if(ie&&ie.TYPE==q.TYPE){ie.definitions=ie.definitions.concat(q.definitions);G=true}else if(N&&N.TYPE==q.TYPE&&declarations_only(q)){N.definitions=N.definitions.concat(q.definitions);G=true}else{E[++j]=q;N=q}}else if(q instanceof jt){q.value=extract_object_assignments(q.value)}else if(q instanceof St){var ae=join_object_assignments(ie,q.init);if(ae){G=true;q.init=ae.length?make_sequence(q.init,ae):null;E[++j]=q}else if(ie instanceof rr&&(!q.init||q.init.TYPE==ie.TYPE)){if(q.init){ie.definitions=ie.definitions.concat(q.init.definitions)}q.init=ie;E[j]=q;G=true}else if(N&&q.init&&N.TYPE==q.init.TYPE&&declarations_only(q.init)){N.definitions=N.definitions.concat(q.init.definitions);q.init=null;E[++j]=q;G=true}else{E[++j]=q}}else if(q instanceof Et){q.object=extract_object_assignments(q.object)}else if(q instanceof Ht){q.condition=extract_object_assignments(q.condition)}else if(q instanceof dt){var ae=join_object_assignments(ie,q.body);if(ae){G=true;if(!ae.length)continue;q.body=make_sequence(q.body,ae)}E[++j]=q}else if(q instanceof Gt){q.expression=extract_object_assignments(q.expression)}else if(q instanceof kt){q.expression=extract_object_assignments(q.expression)}else{E[++j]=q}}E.length=j+1;function extract_object_assignments(N){E[++j]=q;var R=join_object_assignments(ie,N);if(R){G=true;if(R.length){return make_sequence(N,R)}else if(N instanceof fr){return N.tail_node().left}else{return N.left}}return N}}}function trim_unreachable_code(E,N,R){walk(N,(j=>{if(j instanceof rr){j.remove_initializers();R.push(j);return true}if(j instanceof Nt&&(j===N||!E.has_directive("use strict"))){R.push(j===N?j:make_node(rr,j,{definitions:[make_node(ar,j,{name:make_node(Jr,j.name,j.name),value:null})]}));return true}if(j instanceof ur||j instanceof cr){R.push(j);return true}if(j instanceof Ct){return true}}))}function get_value(E){if(E instanceof pn){return E.getValue()}if(E instanceof br&&E.operator=="void"&&E.expression instanceof pn){return}return E}function is_undefined(E,N){return has_flag(E,Vn)||E instanceof xn||E instanceof br&&E.operator=="void"&&!E.expression.has_side_effects(N)}(function(E){ot.DEFMETHOD("may_throw_on_access",(function(E){return!E.option("pure_getters")||this._dot_throw(E)}));function is_strict(E){return/strict/.test(E.option("pure_getters"))}E(ot,is_strict);E(vn,return_true);E(xn,return_true);E(pn,return_false);E(Cr,return_false);E(Dr,(function(E){if(!is_strict(E))return false;for(var N=this.properties.length;--N>=0;)if(this.properties[N]._dot_throw(E))return true;return false}));E(Rr,return_false);E(Ar,return_false);E(Nr,return_true);E(At,(function(E){return this.expression._dot_throw(E)}));E(Ft,return_false);E(It,return_false);E(xr,return_false);E(br,(function(){return this.operator=="void"}));E(Sr,(function(E){return(this.operator=="&&"||this.operator=="||"||this.operator=="??")&&(this.left._dot_throw(E)||this.right._dot_throw(E))}));E(Tr,(function(E){if(this.logical)return true;return this.operator=="="&&this.right._dot_throw(E)}));E(Er,(function(E){return this.consequent._dot_throw(E)||this.alternative._dot_throw(E)}));E(gr,(function(E){if(!is_strict(E))return false;if(this.property=="prototype"){return!(this.expression instanceof Ft||this.expression instanceof Rr)}return true}));E(yr,(function(E){return this.expression._dot_throw(E)}));E(fr,(function(E){return this.tail_node()._dot_throw(E)}));E(on,(function(E){if(this.name==="arguments")return false;if(has_flag(this,Vn))return true;if(!is_strict(E))return false;if(is_undeclared_ref(this)&&this.is_declared(E))return false;if(this.is_immutable())return false;var N=this.fixed_value();return!N||N._dot_throw(E)}))})((function(E,N){E.DEFMETHOD("_dot_throw",N)}));(function(E){const N=makePredicate("! delete");const R=makePredicate("in instanceof == != === !== < <= >= >");E(ot,return_false);E(br,(function(){return N.has(this.operator)}));E(Sr,(function(){return R.has(this.operator)||ei.has(this.operator)&&this.left.is_boolean()&&this.right.is_boolean()}));E(Er,(function(){return this.consequent.is_boolean()&&this.alternative.is_boolean()}));E(Tr,(function(){return this.operator=="="&&this.right.is_boolean()}));E(fr,(function(){return this.tail_node().is_boolean()}));E(Cn,return_true);E(kn,return_true)})((function(E,N){E.DEFMETHOD("is_boolean",N)}));(function(E){E(ot,return_false);E(gn,return_true);var N=makePredicate("+ - ~ ++ --");E(vr,(function(){return N.has(this.operator)}));var R=makePredicate("- * / % & | ^ << >> >>>");E(Sr,(function(E){return R.has(this.operator)||this.operator=="+"&&this.left.is_number(E)&&this.right.is_number(E)}));E(Tr,(function(E){return R.has(this.operator.slice(0,-1))||this.operator=="="&&this.right.is_number(E)}));E(fr,(function(E){return this.tail_node().is_number(E)}));E(Er,(function(E){return this.consequent.is_number(E)&&this.alternative.is_number(E)}))})((function(E,N){E.DEFMETHOD("is_number",N)}));(function(E){E(ot,return_false);E(mn,return_true);E(Rt,return_true);E(br,(function(){return this.operator=="typeof"}));E(Sr,(function(E){return this.operator=="+"&&(this.left.is_string(E)||this.right.is_string(E))}));E(Tr,(function(E){return(this.operator=="="||this.operator=="+=")&&this.right.is_string(E)}));E(fr,(function(E){return this.tail_node().is_string(E)}));E(Er,(function(E){return this.consequent.is_string(E)&&this.alternative.is_string(E)}))})((function(E,N){E.DEFMETHOD("is_string",N)}));var ei=makePredicate("&& || ??");var ti=makePredicate("delete ++ --");function is_lhs(E,N){if(N instanceof vr&&ti.has(N.operator))return N.expression;if(N instanceof Tr&&N.left===E)return E}(function(E){function to_node(E,N){if(E instanceof ot)return make_node(E.CTOR,N,E);if(Array.isArray(E))return make_node(Cr,N,{elements:E.map((function(E){return to_node(E,N)}))});if(E&&typeof E=="object"){var R=[];for(var j in E)if(HOP(E,j)){R.push(make_node(wr,N,{key:j,value:to_node(E[j],N)}))}return make_node(Dr,N,{properties:R})}return make_node_from_constant(E,N)}Dt.DEFMETHOD("resolve_defines",(function(E){if(!E.option("global_defs"))return this;this.figure_out_scope({ie8:E.option("ie8")});return this.transform(new TreeTransformer((function(N){var R=N._find_defs(E,"");if(!R)return;var j=0,$=N,q;while(q=this.parent(j++)){if(!(q instanceof mr))break;if(q.expression!==$)break;$=q}if(is_lhs($,q)){return}return R})))}));E(ot,noop);E(yr,(function(E,N){return this.expression._find_defs(E,N)}));E(gr,(function(E,N){return this.expression._find_defs(E,"."+this.property+N)}));E($r,(function(){if(!this.global())return}));E(on,(function(E,N){if(!this.global())return;var R=E.option("global_defs");var j=this.name+N;if(HOP(R,j))return to_node(R[j],this)}))})((function(E,N){E.DEFMETHOD("_find_defs",N)}));function best_of_expression(E,N){return E.size()>N.size()?N:E}function best_of_statement(E,N){return best_of_expression(make_node(dt,E,{body:E}),make_node(dt,N,{body:N})).body}function best_of(E,N,R){return(first_in_statement(E)?best_of_statement:best_of_expression)(N,R)}function convert_to_predicate(E){const N=new Map;for(var R of Object.keys(E)){N.set(R,makePredicate(E[R]))}return N}var ri=["constructor","toString","valueOf"];var ni=convert_to_predicate({Array:["indexOf","join","lastIndexOf","slice"].concat(ri),Boolean:ri,Function:ri,Number:["toExponential","toFixed","toPrecision"].concat(ri),Object:ri,RegExp:["test"].concat(ri),String:["charAt","charCodeAt","concat","indexOf","italics","lastIndexOf","match","replace","search","slice","split","substr","substring","toLowerCase","toUpperCase","trim"].concat(ri)});var ii=convert_to_predicate({Array:["isArray"],Math:["abs","acos","asin","atan","ceil","cos","exp","floor","log","round","sin","sqrt","tan","atan2","pow","max","min"],Number:["isFinite","isNaN"],Object:["create","getOwnPropertyDescriptor","getOwnPropertyNames","getPrototypeOf","isExtensible","isFrozen","isSealed","keys"],String:["fromCharCode"]});(function(E){ot.DEFMETHOD("evaluate",(function(E){if(!E.option("evaluate"))return this;var N=this._eval(E,1);if(!N||N instanceof RegExp)return N;if(typeof N=="function"||typeof N=="object")return this;return N}));var N=makePredicate("! ~ - + void");ot.DEFMETHOD("is_constant",(function(){if(this instanceof pn){return!(this instanceof _n)}else{return this instanceof br&&this.expression instanceof pn&&N.has(this.operator)}}));E(st,(function(){throw new Error(string_template("Cannot evaluate a statement [{file}:{line},{col}]",this.start))}));E(wt,return_this);E(Rr,return_this);E(ot,return_this);E(pn,(function(){return this.getValue()}));E(hn,return_this);E(_n,(function(E){let N=E.evaluated_regexps.get(this);if(N===undefined){try{N=(0,eval)(this.print_to_string())}catch(E){N=null}E.evaluated_regexps.set(this,N)}return N||this}));E(Rt,(function(){if(this.segments.length!==1)return this;return this.segments[0].value}));E(Ft,(function(E){if(E.option("unsafe")){var fn=function(){};fn.node=this;fn.toString=()=>this.print_to_string();return fn}return this}));E(Cr,(function(E,N){if(E.option("unsafe")){var R=[];for(var j=0,$=this.elements.length;j<$;j++){var q=this.elements[j];var G=q._eval(E,N);if(q===G)return this;R.push(G)}return R}return this}));E(Dr,(function(E,N){if(E.option("unsafe")){var R={};for(var j=0,$=this.properties.length;j<$;j++){var q=this.properties[j];if(q instanceof At)return this;var G=q.key;if(G instanceof zr){G=G.name}else if(G instanceof ot){G=G._eval(E,N);if(G===q.key)return this}if(typeof Object.prototype[G]==="function"){return this}if(q.value instanceof Ft)continue;R[G]=q.value._eval(E,N);if(R[G]===q.value)return this}return R}return this}));var R=makePredicate("! typeof void");E(br,(function(E,N){var j=this.expression;if(E.option("typeofs")&&this.operator=="typeof"&&(j instanceof wt||j instanceof on&&j.fixed_value()instanceof wt)){return typeof function(){}}if(!R.has(this.operator))N++;j=j._eval(E,N);if(j===this.expression)return this;switch(this.operator){case"!":return!j;case"typeof":if(j instanceof RegExp)return this;return typeof j;case"void":return void j;case"~":return~j;case"-":return-j;case"+":return+j}return this}));var j=makePredicate("&& || ?? === !==");const $=makePredicate("== != === !==");const has_identity=E=>typeof E==="object"||typeof E==="function"||typeof E==="symbol";E(Sr,(function(E,N){if(!j.has(this.operator))N++;var R=this.left._eval(E,N);if(R===this.left)return this;var q=this.right._eval(E,N);if(q===this.right)return this;var G;if(R!=null&&q!=null&&$.has(this.operator)&&has_identity(R)&&has_identity(q)&&typeof R===typeof q){return this}switch(this.operator){case"&&":G=R&&q;break;case"||":G=R||q;break;case"??":G=R!=null?R:q;break;case"|":G=R|q;break;case"&":G=R&q;break;case"^":G=R^q;break;case"+":G=R+q;break;case"*":G=R*q;break;case"**":G=Math.pow(R,q);break;case"/":G=R/q;break;case"%":G=R%q;break;case"-":G=R-q;break;case"<<":G=R<>":G=R>>q;break;case">>>":G=R>>>q;break;case"==":G=R==q;break;case"===":G=R===q;break;case"!=":G=R!=q;break;case"!==":G=R!==q;break;case"<":G=R":G=R>q;break;case">=":G=R>=q;break;default:return this}if(isNaN(G)&&E.find_parent(kt)){return this}return G}));E(Er,(function(E,N){var R=this.condition._eval(E,N);if(R===this.condition)return this;var j=R?this.consequent:this.alternative;var $=j._eval(E,N);return $===j?this:$}));const q=new Set;E(on,(function(E,N){if(q.has(this))return this;var R=this.fixed_value();if(!R)return this;q.add(this);const j=R._eval(E,N);q.delete(this);if(j===R)return this;if(j&&typeof j=="object"){var $=this.definition().escaped;if($&&N>$)return this}return j}));var G={Array:Array,Math:Math,Number:Number,Object:Object,String:String};var ie=convert_to_predicate({Math:["E","LN10","LN2","LOG2E","LOG10E","PI","SQRT1_2","SQRT2"],Number:["MAX_VALUE","MIN_VALUE","NaN","NEGATIVE_INFINITY","POSITIVE_INFINITY"]});const ae=new Set(["dotAll","global","ignoreCase","multiline","sticky","unicode"]);E(mr,(function(E,N){if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")){var R=this.property;if(R instanceof ot){R=R._eval(E,N);if(R===this.property)return this}var j=this.expression;var $;if(is_undeclared_ref(j)){var q;var ce=j.name==="hasOwnProperty"&&R==="call"&&(q=E.parent()&&E.parent().args)&&(q&&q[0]&&q[0].evaluate(E));ce=ce instanceof gr?ce.expression:ce;if(ce==null||ce.thedef&&ce.thedef.undeclared){return this.clone()}var le=ie.get(j.name);if(!le||!le.has(R))return this;$=G[j.name]}else{$=j._eval(E,N+1);if($ instanceof RegExp){if(R=="source"){return regexp_source_fix($.source)}else if(R=="flags"||ae.has(R)){return $[R]}}if(!$||$===j||!HOP($,R))return this;if(typeof $=="function")switch(R){case"name":return $.node.name?$.node.name.name:"";case"length":return $.node.length_property();default:return this}}return $[R]}return this}));E(yr,(function(E,N){const R=this.expression._eval(E,N);return R===this.expression?this:R}));E(dr,(function(E,N){var R=this.expression;if(this.optional){const R=this.expression._eval(E,N);if(R==null)return undefined}if(E.option("unsafe")&&R instanceof mr){var j=R.property;if(j instanceof ot){j=j._eval(E,N);if(j===R.property)return this}var $;var q=R.expression;if(is_undeclared_ref(q)){var ie=q.name==="hasOwnProperty"&&j==="call"&&(this.args[0]&&this.args[0].evaluate(E));ie=ie instanceof gr?ie.expression:ie;if(ie==null||ie.thedef&&ie.thedef.undeclared){return this.clone()}var ae=ii.get(q.name);if(!ae||!ae.has(j))return this;$=G[q.name]}else{$=q._eval(E,N+1);if($===q||!$)return this;var ce=ni.get($.constructor.name);if(!ce||!ce.has(j))return this}var le=[];for(var _e=0,Ee=this.args.length;_e";return R;case"<":R.operator=">=";return R;case">=":R.operator="<";return R;case">":R.operator="<=";return R}}switch(j){case"==":R.operator="!=";return R;case"!=":R.operator="==";return R;case"===":R.operator="!==";return R;case"!==":R.operator="===";return R;case"&&":R.operator="||";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"||":R.operator="&&";R.left=R.left.negate(E,N);R.right=R.right.negate(E);return best(this,R,N);case"??":R.right=R.right.negate(E);return best(this,R,N)}return basic_negation(this)}))})((function(E,N){E.DEFMETHOD("negate",(function(E,R){return N.call(this,E,R)}))}));var ai=makePredicate("Boolean decodeURI decodeURIComponent Date encodeURI encodeURIComponent Error escape EvalError isFinite isNaN Number Object parseFloat parseInt RangeError ReferenceError String SyntaxError TypeError unescape URIError");dr.DEFMETHOD("is_callee_pure",(function(E){if(E.option("unsafe")){var N=this.expression;var R=this.args&&this.args[0]&&this.args[0].evaluate(E);if(N.expression&&N.expression.name==="hasOwnProperty"&&(R==null||R.thedef&&R.thedef.undeclared)){return false}if(is_undeclared_ref(N)&&ai.has(N.name))return true;let j;if(N instanceof gr&&is_undeclared_ref(N.expression)&&(j=ii.get(N.expression.name))&&j.has(N.property)){return true}}return!!has_annotation(this,An)||!E.pure_funcs(this)}));ot.DEFMETHOD("is_call_pure",return_false);gr.DEFMETHOD("is_call_pure",(function(E){if(!E.option("unsafe"))return;const N=this.expression;let R;if(N instanceof Cr){R=ni.get("Array")}else if(N.is_boolean()){R=ni.get("Boolean")}else if(N.is_number(E)){R=ni.get("Number")}else if(N instanceof _n){R=ni.get("RegExp")}else if(N.is_string(E)){R=ni.get("String")}else if(!this.may_throw_on_access(E)){R=ni.get("Object")}return R&&R.has(this.property)}));const oi=new Set(["Number","String","Array","Object","Function","Promise"]);(function(E){E(ot,return_true);E(mt,return_false);E(pn,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].has_side_effects(N))return true;return false}E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(!this.is_callee_pure(E)&&(!this.expression.is_call_pure(E)||this.expression.has_side_effects(E))){return true}return any(this.args,E)}));E(Gt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Xt,(function(E){return this.expression.has_side_effects(E)||any(this.body,E)}));E(Yt,(function(E){return any(this.body,E)||this.bcatch&&this.bcatch.has_side_effects(E)||this.bfinally&&this.bfinally.has_side_effects(E)}));E(Ht,(function(E){return this.condition.has_side_effects(E)||this.body&&this.body.has_side_effects(E)||this.alternative&&this.alternative.has_side_effects(E)}));E(_t,(function(E){return this.body.has_side_effects(E)}));E(dt,(function(E){return this.body.has_side_effects(E)}));E(wt,return_false);E(Rr,(function(E){if(this.extends&&this.extends.has_side_effects(E)){return true}return any(this.properties,E)}));E(Sr,(function(E){return this.left.has_side_effects(E)||this.right.has_side_effects(E)}));E(Tr,return_true);E(Er,(function(E){return this.condition.has_side_effects(E)||this.consequent.has_side_effects(E)||this.alternative.has_side_effects(E)}));E(vr,(function(E){return ti.has(this.operator)||this.expression.has_side_effects(E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E($r,return_false);E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.value&&this.value.has_side_effects(E)}));E(Lr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)||this.static&&this.value&&this.value.has_side_effects(E)}));E(Or,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.has_side_effects(E)}));E(Cr,(function(E){return any(this.elements,E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E)){return false}return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.has_side_effects(E)||this.property.has_side_effects(E)}));E(yr,(function(E){return this.expression.has_side_effects(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(tr,(function(E){return any(this.definitions,E)}));E(ar,(function(){return this.value}));E(Lt,return_false);E(Rt,(function(E){return any(this.segments,E)}))})((function(E,N){E.DEFMETHOD("has_side_effects",N)}));(function(E){E(ot,return_true);E(pn,return_false);E(mt,return_false);E(wt,return_false);E($r,return_false);E(un,return_false);function any(E,N){for(var R=E.length;--R>=0;)if(E[R].may_throw(N))return true;return false}E(Rr,(function(E){if(this.extends&&this.extends.may_throw(E))return true;return any(this.properties,E)}));E(Cr,(function(E){return any(this.elements,E)}));E(Tr,(function(E){if(this.right.may_throw(E))return true;if(!E.has_directive("use strict")&&this.operator=="="&&this.left instanceof on){return false}return this.left.may_throw(E)}));E(Sr,(function(E){return this.left.may_throw(E)||this.right.may_throw(E)}));E(pt,(function(E){return any(this.body,E)}));E(dr,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;if(any(this.args,E))return true;if(this.is_callee_pure(E))return false;if(this.expression.may_throw(E))return true;return!(this.expression instanceof wt)||any(this.expression.body,E)}));E(Xt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(Er,(function(E){return this.condition.may_throw(E)||this.consequent.may_throw(E)||this.alternative.may_throw(E)}));E(tr,(function(E){return any(this.definitions,E)}));E(Ht,(function(E){return this.condition.may_throw(E)||this.body&&this.body.may_throw(E)||this.alternative&&this.alternative.may_throw(E)}));E(_t,(function(E){return this.body.may_throw(E)}));E(Dr,(function(E){return any(this.properties,E)}));E(Ar,(function(E){return this.value?this.value.may_throw(E):false}));E(Lr,(function(E){return this.computed_key()&&this.key.may_throw(E)||this.static&&this.value&&this.value.may_throw(E)}));E(Or,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Nr,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ir,(function(E){return this.computed_key()&&this.key.may_throw(E)}));E(Ut,(function(E){return this.value&&this.value.may_throw(E)}));E(fr,(function(E){return any(this.expressions,E)}));E(dt,(function(E){return this.body.may_throw(E)}));E(gr,(function(E){return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)}));E(_r,(function(E){if(this.optional&&is_nullish(this.expression,E))return false;return!this.optional&&this.expression.may_throw_on_access(E)||this.expression.may_throw(E)||this.property.may_throw(E)}));E(yr,(function(E){return this.expression.may_throw(E)}));E(Gt,(function(E){return this.expression.may_throw(E)||any(this.body,E)}));E(on,(function(E){return!this.is_declared(E)&&!oi.has(this.name)}));E(Xr,return_false);E(Yt,(function(E){return this.bcatch?this.bcatch.may_throw(E):any(this.body,E)||this.bfinally&&this.bfinally.may_throw(E)}));E(vr,(function(E){if(this.operator=="typeof"&&this.expression instanceof on)return false;return this.expression.may_throw(E)}));E(ar,(function(E){if(!this.value)return false;return this.value.may_throw(E)}))})((function(E,N){E.DEFMETHOD("may_throw",N)}));(function(E){function all_refs_local(E){let N=true;walk(this,(R=>{if(R instanceof on){if(has_flag(this,qn)){N=false;return Dn}var j=R.definition();if(member(j,this.enclosed)&&!this.variables.has(j.name)){if(E){var $=E.find_variable(R);if(j.undeclared?!$:$===j){N="f";return true}}N=false;return Dn}return true}if(R instanceof un&&this instanceof It){N=false;return Dn}}));return N}E(ot,return_false);E(pn,return_true);E(Rr,(function(E){if(this.extends&&!this.extends.is_constant_expression(E)){return false}for(const N of this.properties){if(N.computed_key()&&!N.key.is_constant_expression(E)){return false}if(N.static&&N.value&&!N.value.is_constant_expression(E)){return false}}return all_refs_local.call(this,E)}));E(wt,all_refs_local);E(vr,(function(){return this.expression.is_constant_expression()}));E(Sr,(function(){return this.left.is_constant_expression()&&this.right.is_constant_expression()}));E(Cr,(function(){return this.elements.every((E=>E.is_constant_expression()))}));E(Dr,(function(){return this.properties.every((E=>E.is_constant_expression()))}));E(Ar,(function(){return!!(!(this.key instanceof ot)&&this.value&&this.value.is_constant_expression())}))})((function(E,N){E.DEFMETHOD("is_constant_expression",N)}));function aborts(E){return E&&E.aborts()}(function(E){E(st,return_null);E(Bt,return_this);function block_aborts(){for(var E=0;E{if(E instanceof $r){const R=E.definition();if((N||R.global)&&!G.has(R.id)){G.set(R.id,R)}}}))}if(R.value){if(R.name instanceof Ot){R.walk(_e)}else{var $=R.name.definition();map_add(ce,$.id,R.value);if(!$.chained&&R.name.fixed_value()===R.value){ie.set($.id,R)}}if(R.value.has_side_effects(E)){R.value.walk(_e)}}}));return true}return scan_ref_scoped($,q)}));N.walk(_e);_e=new TreeWalker(scan_ref_scoped);G.forEach((function(E){var N=ce.get(E.id);if(N)N.forEach((function(E){E.walk(_e)}))}));var Ee=new TreeTransformer((function before(ce,_e,Te){var we=Ee.parent();if(j){const E=q(ce);if(E instanceof on){var Ie=E.definition();var Ne=G.has(Ie.id);if(ce instanceof Tr){if(!Ne||ie.has(Ie.id)&&ie.get(Ie.id)!==ce){return maintain_this_binding(we,ce,ce.right.transform(Ee))}}else if(!Ne)return Te?$.skip:make_node(gn,ce,{value:0})}}if(le!==N)return;var Ie;if(ce.name&&(ce instanceof Ur&&!keep_name(E.option("keep_classnames"),(Ie=ce.name.definition()).name)||ce instanceof Ft&&!keep_name(E.option("keep_fnames"),(Ie=ce.name.definition()).name))){if(!G.has(Ie.id)||Ie.orig.length>1)ce.name=null}if(ce instanceof wt&&!(ce instanceof Pt)){var Me=!E.option("keep_fargs");for(var Le=ce.argnames,Be=Le.length;--Be>=0;){var je=Le[Be];if(je instanceof At){je=je.expression}if(je instanceof kr){je=je.left}if(!(je instanceof Ot)&&!G.has(je.definition().id)){set_flag(je,Wn);if(Me){Le.pop()}}else{Me=false}}}if((ce instanceof Nt||ce instanceof jr)&&ce!==N){const N=ce.name.definition();let j=N.global&&!R||G.has(N.id);if(!j){N.eliminated++;if(ce instanceof jr){const N=ce.drop_side_effect_free(E);if(N){return make_node(dt,ce,{body:N})}}return Te?$.skip:make_node(mt,ce)}}if(ce instanceof tr&&!(we instanceof Et&&we.init===ce)){var Ue=!(we instanceof Dt)&&!(ce instanceof rr);var ze=[],We=[],Je=[];var Ve=[];ce.definitions.forEach((function(N){if(N.value)N.value=N.value.transform(Ee);var R=N.name instanceof Ot;var $=R?new SymbolDef(null,{name:""}):N.name.definition();if(Ue&&$.global)return Je.push(N);if(!(j||Ue)||R&&(N.name.names.length||N.name.is_array||E.option("pure_getters")!=true)||G.has($.id)){if(N.value&&ie.has($.id)&&ie.get($.id)!==N){N.value=N.value.drop_side_effect_free(E)}if(N.name instanceof Jr){var q=ae.get($.id);if(q.length>1&&(!N.value||$.orig.indexOf(N.name)>$.eliminated)){if(N.value){var le=make_node(on,N.name,N.name);$.references.push(le);var _e=make_node(Tr,N,{operator:"=",logical:false,left:le,right:N.value});if(ie.get($.id)===N){ie.set($.id,_e)}Ve.push(_e.transform(Ee))}remove(q,N);$.eliminated++;return}}if(N.value){if(Ve.length>0){if(Je.length>0){Ve.push(N.value);N.value=make_sequence(N.value,Ve)}else{ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}Ve=[]}Je.push(N)}else{We.push(N)}}else if($.orig[0]instanceof tn){var Te=N.value&&N.value.drop_side_effect_free(E);if(Te)Ve.push(Te);N.value=null;We.push(N)}else{var Te=N.value&&N.value.drop_side_effect_free(E);if(Te){Ve.push(Te)}$.eliminated++}}));if(We.length>0||Je.length>0){ce.definitions=We.concat(Je);ze.push(ce)}if(Ve.length>0){ze.push(make_node(dt,ce,{body:make_sequence(ce,Ve)}))}switch(ze.length){case 0:return Te?$.skip:make_node(mt,ce);case 1:return ze[0];default:return Te?$.splice(ze):make_node(ft,ce,{body:ze})}}if(ce instanceof St){_e(ce,this);var qe;if(ce.init instanceof ft){qe=ce.init;ce.init=qe.body.pop();qe.body.push(ce)}if(ce.init instanceof dt){ce.init=ce.init.body}else if(is_empty(ce.init)){ce.init=null}return!qe?ce:Te?$.splice(qe.body):qe}if(ce instanceof _t&&ce.body instanceof St){_e(ce,this);if(ce.body instanceof ft){var qe=ce.body;ce.body=qe.body.pop();qe.body.push(ce);return Te?$.splice(qe.body):qe}return ce}if(ce instanceof ft){_e(ce,this);if(Te&&ce.body.every(can_be_evicted_from_block)){return $.splice(ce.body)}return ce}if(ce instanceof Ct){const E=le;le=ce;_e(ce,this);le=E;return ce}}));N.transform(Ee);function scan_ref_scoped(E,R){var j;const $=q(E);if($ instanceof on&&!is_ref_of(E.left,Vr)&&N.variables.get($.name)===(j=$.definition())){if(E instanceof Tr){E.right.walk(_e);if(!j.chained&&E.left.fixed_value()===E.right){ie.set(j.id,E)}}return true}if(E instanceof on){j=E.definition();if(!G.has(j.id)){G.set(j.id,j);if(j.orig[0]instanceof tn){const E=j.scope.is_block_scope()&&j.scope.get_defun_scope().variables.get(j.name);if(E)G.set(E.id,E)}}return true}if(E instanceof Ct){var ae=le;le=E;R();le=ae;return true}}}));Ct.DEFMETHOD("hoist_declarations",(function(E){var N=this;if(E.has_directive("use asm"))return N;if(!Array.isArray(N.body))return N;var R=E.option("hoist_funs");var j=E.option("hoist_vars");if(R||j){var $=[];var q=[];var G=new Map,ie=0,ae=0;walk(N,(E=>{if(E instanceof Ct&&E!==N)return true;if(E instanceof rr){++ae;return true}}));j=j&&ae>1;var ce=new TreeTransformer((function before(ae){if(ae!==N){if(ae instanceof ut){$.push(ae);return make_node(mt,ae)}if(R&&ae instanceof Nt&&!(ce.parent()instanceof ur)&&ce.parent()===N){q.push(ae);return make_node(mt,ae)}if(j&&ae instanceof rr&&!ae.definitions.some((E=>E.name instanceof Ot))){ae.definitions.forEach((function(E){G.set(E.name.name,E);++ie}));var le=ae.to_assignments(E);var _e=ce.parent();if(_e instanceof Et&&_e.init===ae){if(le==null){var Ee=ae.definitions[0].name;return make_node(on,Ee,Ee)}return le}if(_e instanceof St&&_e.init===ae){return le}if(!le)return make_node(mt,ae);return make_node(dt,ae,{body:le})}if(ae instanceof Ct)return ae}}));N=N.transform(ce);if(ie>0){var le=[];const E=N instanceof wt;const R=E?N.args_as_names():null;G.forEach(((N,j)=>{if(E&&R.some((E=>E.name===N.name.name))){G.delete(j)}else{N=N.clone();N.value=null;le.push(N);G.set(j,N)}}));if(le.length>0){for(var _e=0;_eE instanceof At||E.computed_key()))){ie(G,this);const E=new Map;const R=[];le.properties.forEach((({key:j,value:$})=>{const ie=find_scope(q);const ce=N.create_symbol(ae.CTOR,{source:ae,scope:ie,conflict_scopes:new Set([ie,...ae.definition().references.map((E=>E.scope))]),tentative_name:ae.name+"_"+j});E.set(String(j),ce.definition());R.push(make_node(ar,G,{name:ce,value:$}))}));j.set(ce.id,E);return $.splice(R)}}else if(G instanceof mr&&G.expression instanceof on){const E=j.get(G.expression.definition().id);if(E){const N=E.get(String(get_value(G.property)));const R=make_node(on,G,{name:N.name,scope:G.expression.scope,thedef:N});R.reference({});return R}}}));return N.transform(q)}));(function(E){function trim(E,N,R){var j=E.length;if(!j)return null;var $=[],q=false;for(var G=0;G0){G[0].body=q.concat(G[0].body)}E.body=G;while(R=G[G.length-1]){var we=R.body[R.body.length-1];if(we instanceof $t&&N.loopcontrol_target(we)===E)R.body.pop();if(R.body.length||R instanceof Xt&&(ie||R.expression.has_side_effects(N)))break;if(G.pop()===ie)ie=null}if(G.length==0){return make_node(ft,E,{body:q.concat(make_node(dt,E.expression,{body:E.expression}))}).optimize(N)}if(G.length==1&&(G[0]===ae||G[0]===ie)){var Ie=false;var Ne=new TreeWalker((function(N){if(Ie||N instanceof wt||N instanceof dt)return true;if(N instanceof $t&&Ne.loopcontrol_target(N)===E)Ie=true}));E.walk(Ne);if(!Ie){var Me=G[0].body.slice();var _e=G[0].expression;if(_e)Me.unshift(make_node(dt,_e,{body:_e}));Me.unshift(make_node(dt,E.expression,{body:E.expression}));return make_node(ft,E,{body:Me}).optimize(N)}}return E;function eliminate_branch(E,R){if(R&&!aborts(R)){R.body=R.body.concat(E.body)}else{trim_unreachable_code(N,E,q)}}}));def_optimize(Yt,(function(E,N){tighten_body(E.body,N);if(E.bcatch&&E.bfinally&&E.bfinally.body.every(is_empty))E.bfinally=null;if(N.option("dead_code")&&E.body.every(is_empty)){var R=[];if(E.bcatch){trim_unreachable_code(N,E.bcatch,R)}if(E.bfinally)R.push(...E.bfinally.body);return make_node(ft,E,{body:R}).optimize(N)}return E}));tr.DEFMETHOD("remove_initializers",(function(){var E=[];this.definitions.forEach((function(N){if(N.name instanceof $r){N.value=null;E.push(N)}else{walk(N.name,(R=>{if(R instanceof $r){E.push(make_node(ar,N,{name:R,value:null}))}}))}}));this.definitions=E}));tr.DEFMETHOD("to_assignments",(function(E){var N=E.option("reduce_vars");var R=[];for(const E of this.definitions){if(E.value){var j=make_node(on,E.name,E.name);R.push(make_node(Tr,E,{operator:"=",logical:false,left:j,right:E.value}));if(N)j.definition().fixed=false}else if(E.value){var $=make_node(ar,E,{name:E.name,value:E.value});var q=make_node(rr,E,{definitions:[$]});R.push(q)}const G=E.name.definition();G.eliminated++;G.replaced--}if(R.length==0)return null;return make_sequence(this,R)}));def_optimize(tr,(function(E){if(E.definitions.length==0)return make_node(mt,E);return E}));def_optimize(ar,(function(E,N){if(E.name instanceof Hr&&E.value!=null&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(cr,(function(E){return E}));function retain_top_func(E,N){return N.top_retain&&E instanceof Nt&&has_flag(E,Qn)&&E.name&&N.top_retain(E.name)}def_optimize(dr,(function(E,N){var R=E.expression;var j=R;inline_array_like_spread(E.args);var $=E.args.every((E=>!(E instanceof At)));if(N.option("reduce_vars")&&j instanceof on&&!has_annotation(E,Pn)){const E=j.fixed_value();if(!retain_top_func(E,N)){j=E}}if(E.optional&&is_nullish(j,N)){return make_node(xn,E)}var q=j instanceof wt;if(q&&j.pinned())return E;if(N.option("unused")&&$&&q&&!j.uses_arguments){var G=0,ie=0;for(var ae=0,ce=E.args.length;ae=j.argnames.length;if(_e||has_flag(j.argnames[ae],Wn)){var le=E.args[ae].drop_side_effect_free(N);if(le){E.args[G++]=le}else if(!_e){E.args[G++]=make_node(gn,E.args[ae],{value:0});continue}}else{E.args[G++]=E.args[ae]}ie=G}E.args.length=ie}if(N.option("unsafe")){if(is_undeclared_ref(R))switch(R.name){case"Array":if(E.args.length!=1){return make_node(Cr,E,{elements:E.args}).optimize(N)}else if(E.args[0]instanceof gn&&E.args[0].value<=11){const N=[];for(let R=0;R=1&&E.args.length<=2&&E.args.every((E=>{var R=E.evaluate(N);Ee.push(R);return E!==R}))){let[R,j]=Ee;R=regexp_source_fix(new RegExp(R).source);const $=make_node(_n,E,{value:{source:R,flags:j}});if($._eval(N)!==$){return $}}break}else if(R instanceof gr)switch(R.property){case"toString":if(E.args.length==0&&!R.expression.may_throw_on_access(N)){return make_node(Sr,E,{left:make_node(mn,E,{value:""}),operator:"+",right:R.expression}).optimize(N)}break;case"join":if(R.expression instanceof Cr)e:{var Te;if(E.args.length>0){Te=E.args[0].evaluate(N);if(Te===E.args[0])break e}var we=[];var Ie=[];for(var ae=0,ce=R.expression.elements.length;ae0){we.push(make_node(mn,E,{value:Ie.join(Te)}));Ie.length=0}we.push(Ne)}}if(Ie.length>0){we.push(make_node(mn,E,{value:Ie.join(Te)}))}if(we.length==0)return make_node(mn,E,{value:""});if(we.length==1){if(we[0].is_string(N)){return we[0]}return make_node(Sr,we[0],{operator:"+",left:make_node(mn,E,{value:""}),right:we[0]})}if(Te==""){var Le;if(we[0].is_string(N)||we[1].is_string(N)){Le=we.shift()}else{Le=make_node(mn,E,{value:""})}return we.reduce((function(E,N){return make_node(Sr,N,{operator:"+",left:E,right:N})}),Le).optimize(N)}var le=E.clone();le.expression=le.expression.clone();le.expression.expression=le.expression.expression.clone();le.expression.expression.elements=we;return best_of(N,E,le)}break;case"charAt":if(R.expression.is_string(N)){var Be=E.args[0];var je=Be?Be.evaluate(N):0;if(je!==Be){return make_node(_r,R,{expression:R.expression,property:make_node_from_constant(je|0,Be||R)}).optimize(N)}}break;case"apply":if(E.args.length==2&&E.args[1]instanceof Cr){var Ue=E.args[1].elements.slice();Ue.unshift(E.args[0]);return make_node(dr,E,{expression:make_node(gr,R,{expression:R.expression,optional:false,property:"call"}),args:Ue}).optimize(N)}break;case"call":var ze=R.expression;if(ze instanceof on){ze=ze.fixed_value()}if(ze instanceof wt&&!ze.contains_this()){return(E.args.length?make_sequence(this,[E.args[0],make_node(dr,E,{expression:R.expression,args:E.args.slice(1)})]):make_node(dr,E,{expression:R.expression,args:[]})).optimize(N)}break}}if(N.option("unsafe_Function")&&is_undeclared_ref(R)&&R.name=="Function"){if(E.args.length==0)return make_node(Ft,E,{argnames:[],body:[]}).optimize(N);if(E.args.every((E=>E instanceof mn))){try{var We="n(function("+E.args.slice(0,-1).map((function(E){return E.value})).join(",")+"){"+E.args[E.args.length-1].value+"})";var Je=parse(We);var Ve={ie8:N.option("ie8")};Je.figure_out_scope(Ve);var qe=new Compressor(N.options,{mangle_options:N.mangle_options});Je=Je.transform(qe);Je.figure_out_scope(Ve);Un.reset();Je.compute_char_frequency(Ve);Je.mangle_names(Ve);var He;walk(Je,(E=>{if(is_func_expr(E)){He=E;return Dn}}));var We=OutputStream();ft.prototype._codegen.call(He,He,We);E.args=[make_node(mn,E,{value:He.argnames.map((function(E){return E.print_to_string()})).join(",")}),make_node(mn,E.args[E.args.length-1],{value:We.get().replace(/^{|}$/g,"")})];return E}catch(E){if(!(E instanceof JS_Parse_Error)){throw E}}}}var Ge=q&&j.body[0];var Ke=q&&!j.is_generator&&!j.async;var Qe=Ke&&N.option("inline")&&!E.is_callee_pure(N);if(Qe&&Ge instanceof Ut){let R=Ge.value;if(!R||R.is_constant_expression()){if(R){R=R.clone(true)}else{R=make_node(xn,E)}const j=E.args.concat(R);return make_sequence(E,j).optimize(N)}if(j.argnames.length===1&&j.argnames[0]instanceof Gr&&E.args.length<2&&R instanceof on&&R.name===j.argnames[0].name){const R=(E.args[0]||make_node(xn)).optimize(N);let j;if(R instanceof mr&&(j=N.parent())instanceof dr&&j.expression===E){return make_sequence(E,[make_node(gn,E,{value:0}),R])}return R}}if(Qe){var Xe,Ye,Ze=-1;let q;let G;let ie;if($&&!j.uses_arguments&&!(N.parent()instanceof Rr)&&!(j.name&&j instanceof Ft)&&(G=can_flatten_body(Ge))&&(R===j||has_annotation(E,wn)||N.option("unused")&&(q=R.definition()).references.length==1&&!recursive_ref(N,q)&&j.is_constant_expression(R.scope))&&!has_annotation(E,An|Pn)&&!j.contains_this()&&can_inject_symbols()&&(ie=find_scope(N))&&!scope_encloses_variables_in_this_scope(ie,j)&&!function in_default_assign(){let E=0;let R;while(R=N.parent(E++)){if(R instanceof kr)return true;if(R instanceof pt)break}return false}()&&!(Xe instanceof Rr)){set_flag(j,Gn);ie.add_child_scope(j);return make_sequence(E,flatten_fn(G)).optimize(N)}}if(Qe&&has_annotation(E,wn)){set_flag(j,Gn);j=make_node(j.CTOR===Nt?Ft:j.CTOR,j,j);j.figure_out_scope({},{parent_scope:find_scope(N),toplevel:N.get_toplevel()});return make_node(dr,E,{expression:j,args:E.args}).optimize(N)}const et=Ke&&N.option("side_effects")&&j.body.every(is_empty);if(et){var Ue=E.args.concat(make_node(xn,E));return make_sequence(E,Ue).optimize(N)}if(N.option("negate_iife")&&N.parent()instanceof dt&&is_iife_call(E)){return E.negate(N,true)}var tt=E.evaluate(N);if(tt!==E){tt=make_node_from_constant(tt,E).optimize(N);return best_of(N,tt,E)}return E;function return_value(N){if(!N)return make_node(xn,E);if(N instanceof Ut){if(!N.value)return make_node(xn,E);return N.value.clone(true)}if(N instanceof dt){return make_node(br,N,{operator:"void",expression:N.body.clone(true)})}}function can_flatten_body(E){var R=j.body;var $=R.length;if(N.option("inline")<3){return $==1&&return_value(E)}E=null;for(var q=0;q<$;q++){var G=R[q];if(G instanceof rr){if(E&&!G.definitions.every((E=>!E.value))){return false}}else if(E){return false}else if(!(G instanceof mt)){E=G}}return return_value(E)}function can_inject_args(E,N){for(var R=0,$=j.argnames.length;R<$;R++){var q=j.argnames[R];if(q instanceof kr){if(has_flag(q.left,Wn))continue;return false}if(q instanceof Ot)return false;if(q instanceof At){if(has_flag(q.expression,Wn))continue;return false}if(has_flag(q,Wn))continue;if(!N||E.has(q.name)||Zn.has(q.name)||Xe.conflicting_def(q.name)){return false}if(Ye)Ye.push(q.definition())}return true}function can_inject_vars(E,N){var R=j.body.length;for(var $=0;$=0;){var ie=q.definitions[G].name;if(ie instanceof Ot||E.has(ie.name)||Zn.has(ie.name)||Xe.conflicting_def(ie.name)){return false}if(Ye)Ye.push(ie.definition())}}return true}function can_inject_symbols(){var E=new Set;do{Xe=N.parent(++Ze);if(Xe.is_block_scope()&&Xe.block_scope){Xe.block_scope.variables.forEach((function(N){E.add(N.name)}))}if(Xe instanceof Zt){if(Xe.argname){E.add(Xe.argname.name)}}else if(Xe instanceof yt){Ye=[]}else if(Xe instanceof on){if(Xe.fixed_value()instanceof Ct)return false}}while(!(Xe instanceof Ct));var R=!(Xe instanceof Dt)||N.toplevel.vars;var $=N.option("inline");if(!can_inject_vars(E,$>=3&&R))return false;if(!can_inject_args(E,$>=2&&R))return false;return!Ye||Ye.length==0||!is_reachable(j,Ye)}function append_var(N,R,j,$){var q=j.definition();const G=Xe.variables.has(j.name);if(!G){Xe.variables.set(j.name,q);Xe.enclosed.push(q);N.push(make_node(ar,j,{name:j,value:null}))}var ie=make_node(on,j,j);q.references.push(ie);if($)R.push(make_node(Tr,E,{operator:"=",logical:false,left:ie,right:$.clone()}))}function flatten_args(N,R){var $=j.argnames.length;for(var q=E.args.length;--q>=$;){R.push(E.args[q])}for(q=$;--q>=0;){var G=j.argnames[q];var ie=E.args[q];if(has_flag(G,Wn)||!G.name||Xe.conflicting_def(G.name)){if(ie)R.push(ie)}else{var ae=make_node(Jr,G,G);G.definition().orig.push(ae);if(!ie&&Ye)ie=make_node(xn,E);append_var(N,R,ae,ie)}}N.reverse();R.reverse()}function flatten_vars(E,N){var R=N.length;for(var $=0,q=j.body.length;$E.name!=le.name))){var _e=j.variables.get(le.name);var Ee=make_node(on,le,le);_e.references.push(Ee);N.splice(R++,0,make_node(Tr,ce,{operator:"=",logical:false,left:Ee,right:make_node(xn,le)}))}}}}function flatten_fn(E){var R=[];var $=[];flatten_args(R,$);flatten_vars(R,$);$.push(E);if(R.length){const E=Xe.body.indexOf(N.parent(Ze-1))+1;Xe.body.splice(E,0,make_node(rr,j,{definitions:R}))}return $.map((E=>E.clone(true)))}}));def_optimize(pr,(function(E,N){if(N.option("unsafe")&&is_undeclared_ref(E.expression)&&["Object","RegExp","Function","Error","Array"].includes(E.expression.name))return make_node(dr,E,E).transform(N);return E}));def_optimize(fr,(function(E,N){if(!N.option("side_effects"))return E;var R=[];filter_for_side_effects();var j=R.length-1;trim_right_for_undefined();if(j==0){E=maintain_this_binding(N.parent(),N.self(),R[0]);if(!(E instanceof fr))E=E.optimize(N);return E}E.expressions=R;return E;function filter_for_side_effects(){var j=first_in_statement(N);var $=E.expressions.length-1;E.expressions.forEach((function(E,q){if(q<$)E=E.drop_side_effect_free(N,j);if(E){merge_sequence(R,E);j=false}}))}function trim_right_for_undefined(){while(j>0&&is_undefined(R[j],N))j--;if(j0){var R=this.clone();R.right=make_sequence(this.right,N.slice(q));N=N.slice(0,q);N.push(R);return make_sequence(this,N).optimize(E)}}}return this}));var li=makePredicate("== === != !== * & | ^");function is_object(E){return E instanceof Cr||E instanceof wt||E instanceof Dr||E instanceof Rr}def_optimize(Sr,(function(E,N){function reversible(){return E.left.is_constant()||E.right.is_constant()||!E.left.has_side_effects(N)&&!E.right.has_side_effects(N)}function reverse(N){if(reversible()){if(N)E.operator=N;var R=E.left;E.left=E.right;E.right=R}}if(li.has(E.operator)){if(E.right.is_constant()&&!E.left.is_constant()){if(!(E.left instanceof Sr&&et[E.left.operator]>=et[E.operator])){reverse()}}}E=E.lift_sequences(N);if(N.option("comparisons"))switch(E.operator){case"===":case"!==":var R=true;if(E.left.is_string(N)&&E.right.is_string(N)||E.left.is_number(N)&&E.right.is_number(N)||E.left.is_boolean()&&E.right.is_boolean()||E.left.equivalent_to(E.right)){E.operator=E.operator.substr(0,2)}case"==":case"!=":if(!R&&is_undefined(E.left,N)){E.left=make_node(vn,E.left)}else if(N.option("typeofs")&&E.left instanceof mn&&E.left.value=="undefined"&&E.right instanceof br&&E.right.operator=="typeof"){var j=E.right.expression;if(j instanceof on?j.is_declared(N):!(j instanceof mr&&N.option("ie8"))){E.right=j;E.left=make_node(xn,E.left).optimize(N);if(E.operator.length==2)E.operator+="="}}else if(E.left instanceof on&&E.right instanceof on&&E.left.definition()===E.right.definition()&&is_object(E.left.fixed_value())){return make_node(E.operator[0]=="="?Cn:kn,E)}break;case"&&":case"||":var $=E.left;if($.operator==E.operator){$=$.right}if($ instanceof Sr&&$.operator==(E.operator=="&&"?"!==":"===")&&E.right instanceof Sr&&$.operator==E.right.operator&&(is_undefined($.left,N)&&E.right.left instanceof vn||$.left instanceof vn&&is_undefined(E.right.left,N))&&!$.right.has_side_effects(N)&&$.right.equivalent_to(E.right.right)){var q=make_node(Sr,E,{operator:$.operator.slice(0,-1),left:make_node(vn,E),right:$.right});if($!==E.left){q=make_node(Sr,E,{operator:E.operator,left:E.left.left,right:q})}return q}break}if(E.operator=="+"&&N.in_boolean_context()){var G=E.left.evaluate(N);var ie=E.right.evaluate(N);if(G&&typeof G=="string"){return make_sequence(E,[E.right,make_node(Cn,E)]).optimize(N)}if(ie&&typeof ie=="string"){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}}if(N.option("comparisons")&&E.is_boolean()){if(!(N.parent()instanceof Sr)||N.parent()instanceof Tr){var ae=make_node(br,E,{operator:"!",expression:E.negate(N,first_in_statement(N))});E=best_of(N,E,ae)}if(N.option("unsafe_comps")){switch(E.operator){case"<":reverse(">");break;case"<=":reverse(">=");break}}}if(E.operator=="+"){if(E.right instanceof mn&&E.right.getValue()==""&&E.left.is_string(N)){return E.left}if(E.left instanceof mn&&E.left.getValue()==""&&E.right.is_string(N)){return E.right}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.left instanceof mn&&E.left.left.getValue()==""&&E.right.is_string(N)){E.left=E.left.right;return E}}if(N.option("evaluate")){switch(E.operator){case"&&":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}else if(!(G instanceof ot)){return make_sequence(E,[E.left,E.right]).optimize(N)}var ie=E.right.evaluate(N);if(!ie){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(kn,E)]).optimize(N)}else{set_flag(E,Jn)}}else if(!(ie instanceof ot)){var ce=N.parent();if(ce.operator=="&&"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}if(E.left.operator=="||"){var le=E.left.right.evaluate(N);if(!le)return make_node(Er,E,{condition:E.left.left,consequent:E.right,alternative:E.left.right}).optimize(N)}break;case"||":var G=has_flag(E.left,$n)?true:has_flag(E.left,Jn)?false:E.left.evaluate(N);if(!G){return make_sequence(E,[E.left,E.right]).optimize(N)}else if(!(G instanceof ot)){return maintain_this_binding(N.parent(),N.self(),E.left).optimize(N)}var ie=E.right.evaluate(N);if(!ie){var ce=N.parent();if(ce.operator=="||"&&ce.left===N.self()||N.in_boolean_context()){return E.left.optimize(N)}}else if(!(ie instanceof ot)){if(N.in_boolean_context()){return make_sequence(E,[E.left,make_node(Cn,E)]).optimize(N)}else{set_flag(E,$n)}}if(E.left.operator=="&&"){var le=E.left.right.evaluate(N);if(le&&!(le instanceof ot))return make_node(Er,E,{condition:E.left.left,consequent:E.left.right,alternative:E.right}).optimize(N)}break;case"??":if(is_nullish(E.left,N)){return E.right}var G=E.left.evaluate(N);if(!(G instanceof ot)){return G==null?E.right:E.left}if(N.in_boolean_context()){const R=E.right.evaluate(N);if(!(R instanceof ot)&&!R){return E.left}}}var _e=true;switch(E.operator){case"+":if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right});var Te=Ee.optimize(N);if(Ee!==Te){E=make_node(Sr,E,{operator:"+",left:E.left.left,right:Te})}}if(E.left instanceof Sr&&E.left.operator=="+"&&E.left.is_string(N)&&E.right instanceof Sr&&E.right.operator=="+"&&E.right.is_string(N)){var Ee=make_node(Sr,E,{operator:"+",left:E.left.right,right:E.right.left});var we=Ee.optimize(N);if(Ee!==we){E=make_node(Sr,E,{operator:"+",left:make_node(Sr,E.left,{operator:"+",left:E.left.left,right:we}),right:E.right.right})}}if(E.right instanceof br&&E.right.operator=="-"&&E.left.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.left,right:E.right.expression});break}if(E.left instanceof br&&E.left.operator=="-"&&reversible()&&E.right.is_number(N)){E=make_node(Sr,E,{operator:"-",left:E.right,right:E.left.expression});break}if(E.left instanceof Rt){var Ie=E.left;var Te=E.right.evaluate(N);if(Te!=E.right){Ie.segments[Ie.segments.length-1].value+=String(Te);return Ie}}if(E.right instanceof Rt){var Te=E.right;var Ie=E.left.evaluate(N);if(Ie!=E.left){Te.segments[0].value=String(Ie)+Te.segments[0].value;return Te}}if(E.left instanceof Rt&&E.right instanceof Rt){var Ie=E.left;var Ne=Ie.segments;var Te=E.right;Ne[Ne.length-1].value+=Te.segments[0].value;for(var Me=1;Me=et[E.operator])){var Le=make_node(Sr,E,{operator:E.operator,left:E.right,right:E.left});if(E.right instanceof pn&&!(E.left instanceof pn)){E=best_of(N,Le,E)}else{E=best_of(N,E,Le)}}if(_e&&E.is_number(N)){if(E.right instanceof Sr&&E.right.operator==E.operator){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left,right:E.right.left,start:E.left.start,end:E.right.left.end}),right:E.right.right})}if(E.right instanceof pn&&E.left instanceof Sr&&E.left.operator==E.operator){if(E.left.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.left,right:E.right,start:E.left.left.start,end:E.right.end}),right:E.left.right})}else if(E.left.right instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:E.left.right,right:E.right,start:E.left.right.start,end:E.right.end}),right:E.left.left})}}if(E.left instanceof Sr&&E.left.operator==E.operator&&E.left.right instanceof pn&&E.right instanceof Sr&&E.right.operator==E.operator&&E.right.left instanceof pn){E=make_node(Sr,E,{operator:E.operator,left:make_node(Sr,E.left,{operator:E.operator,left:make_node(Sr,E.left.left,{operator:E.operator,left:E.left.right,right:E.right.left,start:E.left.right.start,end:E.right.left.end}),right:E.left.left}),right:E.right.right})}}}}if(E.right instanceof Sr&&E.right.operator==E.operator&&(ei.has(E.operator)||E.operator=="+"&&(E.right.left.is_string(N)||E.left.is_string(N)&&E.right.right.is_string(N)))){E.left=make_node(Sr,E.left,{operator:E.operator,left:E.left.transform(N),right:E.right.left.transform(N)});E.right=E.right.right.transform(N);return E.transform(N)}var Be=E.evaluate(N);if(Be!==E){Be=make_node_from_constant(Be,E).optimize(N);return best_of(N,Be,E)}return E}));def_optimize(sn,(function(E){return E}));function recursive_ref(E,N){var R;for(var j=0;R=E.parent(j);j++){if(R instanceof wt||R instanceof Rr){var $=R.name;if($&&$.definition()===N)break}}return R}function within_array_or_object_literal(E){var N,R=0;while(N=E.parent(R++)){if(N instanceof st)return false;if(N instanceof Cr||N instanceof wr||N instanceof Dr){return true}}return false}def_optimize(on,(function(E,N){if(!N.option("ie8")&&is_undeclared_ref(E)&&!N.find_parent(kt)){switch(E.name){case"undefined":return make_node(xn,E).optimize(N);case"NaN":return make_node(bn,E).optimize(N);case"Infinity":return make_node(En,E).optimize(N)}}const R=N.parent();if(N.option("reduce_vars")&&is_lhs(E,R)!==E){const q=E.definition();const G=find_scope(N);if(N.top_retain&&q.global&&N.top_retain(q)){q.fixed=false;q.single_use=false;return E}let ie=E.fixed_value();let ae=q.single_use&&!(R instanceof dr&&R.is_callee_pure(N)||has_annotation(R,Pn))&&!(R instanceof ur&&ie instanceof wt&&ie.name);if(ae&&ie instanceof ot){ae=!ie.has_side_effects(N)&&!ie.may_throw(N)}if(ae&&(ie instanceof wt||ie instanceof Rr)){if(retain_top_func(ie,N)){ae=false}else if(q.scope!==E.scope&&(q.escaped==1||has_flag(ie,qn)||within_array_or_object_literal(N)||!N.option("reduce_funcs"))){ae=false}else if(recursive_ref(N,q)){ae=false}else if(q.scope!==E.scope||q.orig[0]instanceof Gr){ae=ie.is_constant_expression(E.scope);if(ae=="f"){var j=E.scope;do{if(j instanceof Nt||is_func_expr(j)){set_flag(j,qn)}}while(j=j.parent_scope)}}}if(ae&&ie instanceof wt){ae=q.scope===E.scope&&!scope_encloses_variables_in_this_scope(G,ie)||R instanceof dr&&R.expression===E&&!scope_encloses_variables_in_this_scope(G,ie)&&!(ie.name&&ie.name.definition().recursive_refs>0)}if(ae&&ie){if(ie instanceof jr){set_flag(ie,Gn);ie=make_node(Ur,ie,ie)}if(ie instanceof Nt){set_flag(ie,Gn);ie=make_node(Ft,ie,ie)}if(q.recursive_refs>0&&ie.name instanceof Kr){const E=ie.name.definition();let N=ie.variables.get(ie.name.name);let R=N&&N.orig[0];if(!(R instanceof Yr)){R=make_node(Yr,ie.name,ie.name);R.scope=ie;ie.name=R;N=ie.def_function(R)}walk(ie,(R=>{if(R instanceof on&&R.definition()===E){R.thedef=N;N.references.push(R)}}))}if((ie instanceof wt||ie instanceof Rr)&&ie.parent_scope!==G){ie=ie.clone(true,N.get_toplevel());G.add_child_scope(ie)}return ie.optimize(N)}if(ie){let R;if(ie instanceof un){if(!(q.orig[0]instanceof Gr)&&q.references.every((E=>q.scope===E.scope))){R=ie}}else{var $=ie.evaluate(N);if($!==ie&&(N.option("unsafe_regexp")||!($ instanceof RegExp))){R=make_node_from_constant($,ie)}}if(R){const j=E.size(N);const $=R.size(N);let G=0;if(N.option("unused")&&!N.exposed(q)){G=(j+2+$)/(q.references.length-q.assignments)}if($<=j+G){return R}}}}return E}));function scope_encloses_variables_in_this_scope(E,N){for(const R of N.enclosed){if(N.variables.has(R.name)){continue}const j=E.find_variable(R.name);if(j){if(j===R)continue;return true}}return false}function is_atomic(E,N){return E instanceof on||E.TYPE===N.TYPE}def_optimize(xn,(function(E,N){if(N.option("unsafe_undefined")){var R=find_variable(N,"undefined");if(R){var j=make_node(on,E,{name:"undefined",scope:R.scope,thedef:R});set_flag(j,Vn);return j}}var $=is_lhs(N.self(),N.parent());if($&&is_atomic($,E))return E;return make_node(br,E,{operator:"void",expression:make_node(gn,E,{value:0})})}));def_optimize(En,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&is_atomic(R,E))return E;if(N.option("keep_infinity")&&!(R&&!is_atomic(R,E))&&!find_variable(N,"Infinity")){return E}return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:1}),right:make_node(gn,E,{value:0})})}));def_optimize(bn,(function(E,N){var R=is_lhs(N.self(),N.parent());if(R&&!is_atomic(R,E)||find_variable(N,"NaN")){return make_node(Sr,E,{operator:"/",left:make_node(gn,E,{value:0}),right:make_node(gn,E,{value:0})})}return E}));function is_reachable(E,N){const find_ref=E=>{if(E instanceof on&&member(E.definition(),N)){return Dn}};return walk_parent(E,((N,R)=>{if(N instanceof Ct&&N!==E){var j=R.parent();if(j instanceof dr&&j.expression===N)return;if(walk(N,find_ref))return Dn;return true}}))}const ui=makePredicate("+ - / * % >> << >>> | ^ &");const di=makePredicate("* | ^ &");def_optimize(Tr,(function(E,N){if(E.logical){return E.lift_sequences(N)}var R;if(N.option("dead_code")&&E.left instanceof on&&(R=E.left.definition()).scope===N.find_parent(wt)){var j=0,$,q=E;do{$=q;q=N.parent(j++);if(q instanceof jt){if(in_try(j,q))break;if(is_reachable(R.scope,[R]))break;if(E.operator=="=")return E.right;R.fixed=false;return make_node(Sr,E,{operator:E.operator.slice(0,-1),left:E.left,right:E.right}).optimize(N)}}while(q instanceof Sr&&q.right===$||q instanceof fr&&q.tail_node()===$)}E=E.lift_sequences(N);if(E.operator=="="&&E.left instanceof on&&E.right instanceof Sr){if(E.right.left instanceof on&&E.right.left.name==E.left.name&&ui.has(E.right.operator)){E.operator=E.right.operator+"=";E.right=E.right.right}else if(E.right.right instanceof on&&E.right.right.name==E.left.name&&di.has(E.right.operator)&&!E.right.left.has_side_effects(N)){E.operator=E.right.operator+"=";E.right=E.right.left}}return E;function in_try(R,j){var $=E.right;E.right=make_node(vn,$);var q=j.may_throw(N);E.right=$;var G=E.left.definition().scope;var ie;while((ie=N.parent(R++))!==G){if(ie instanceof Yt){if(ie.bfinally)return true;if(q&&ie.bcatch)return true}}}}));def_optimize(kr,(function(E,N){if(!N.option("evaluate")){return E}var R=E.right.evaluate(N);if(R===undefined){E=E.left}else if(R!==E.right){R=make_node_from_constant(R,E.right);E.right=best_of_expression(R,E.right)}return E}));function is_nullish(E,N){let R;return E instanceof vn||is_undefined(E,N)||E instanceof on&&(R=E.definition().fixed)instanceof ot&&is_nullish(R,N)||E instanceof mr&&E.optional&&is_nullish(E.expression,N)||E instanceof dr&&E.optional&&is_nullish(E.expression,N)||E instanceof yr&&is_nullish(E.expression,N)}function is_nullish_check(E,N,R){if(N.may_throw(R))return false;let j;if(E instanceof Sr&&E.operator==="=="&&((j=is_nullish(E.left,R)&&E.left)||(j=is_nullish(E.right,R)&&E.right))&&(j===E.left?E.right:E.left).equivalent_to(N)){return true}if(E instanceof Sr&&E.operator==="||"){let j;let $;const find_comparison=E=>{if(!(E instanceof Sr&&(E.operator==="==="||E.operator==="=="))){return false}let q=0;let G;if(E.left instanceof vn){q++;j=E;G=E.right}if(E.right instanceof vn){q++;j=E;G=E.left}if(is_undefined(E.left,R)){q++;$=E;G=E.right}if(is_undefined(E.right,R)){q++;$=E;G=E.left}if(q!==1){return false}if(!G.equivalent_to(N)){return false}return true};if(!find_comparison(E.left))return false;if(!find_comparison(E.right))return false;if(j&&$&&j!==$){return true}}return false}def_optimize(Er,(function(E,N){if(!N.option("conditionals"))return E;if(E.condition instanceof fr){var R=E.condition.expressions.slice();E.condition=R.pop();R.push(E);return make_sequence(E,R)}var j=E.condition.evaluate(N);if(j!==E.condition){if(j){return maintain_this_binding(N.parent(),N.self(),E.consequent)}else{return maintain_this_binding(N.parent(),N.self(),E.alternative)}}var $=j.negate(N,first_in_statement(N));if(best_of(N,j,$)===$){E=make_node(Er,E,{condition:$,consequent:E.alternative,alternative:E.consequent})}var q=E.condition;var G=E.consequent;var ie=E.alternative;if(q instanceof on&&G instanceof on&&q.definition()===G.definition()){return make_node(Sr,E,{operator:"||",left:q,right:ie})}if(G instanceof Tr&&ie instanceof Tr&&G.operator===ie.operator&&G.logical===ie.logical&&G.left.equivalent_to(ie.left)&&(!E.condition.has_side_effects(N)||G.operator=="="&&!G.left.has_side_effects(N))){return make_node(Tr,E,{operator:G.operator,left:G.left,logical:G.logical,right:make_node(Er,E,{condition:E.condition,consequent:G.right,alternative:ie.right})})}var ae;if(G instanceof dr&&ie.TYPE===G.TYPE&&G.args.length>0&&G.args.length==ie.args.length&&G.expression.equivalent_to(ie.expression)&&!E.condition.has_side_effects(N)&&!G.expression.has_side_effects(N)&&typeof(ae=single_arg_diff())=="number"){var ce=G.clone();ce.args[ae]=make_node(Er,E,{condition:E.condition,consequent:G.args[ae],alternative:ie.args[ae]});return ce}if(ie instanceof Er&&G.equivalent_to(ie.consequent)){return make_node(Er,E,{condition:make_node(Sr,E,{operator:"||",left:q,right:ie.condition}),consequent:G,alternative:ie.alternative}).optimize(N)}if(N.option("ecma")>=2020&&is_nullish_check(q,ie,N)){return make_node(Sr,E,{operator:"??",left:ie,right:G}).optimize(N)}if(ie instanceof fr&&G.equivalent_to(ie.expressions[ie.expressions.length-1])){return make_sequence(E,[make_node(Sr,E,{operator:"||",left:q,right:make_sequence(E,ie.expressions.slice(0,-1))}),G]).optimize(N)}if(ie instanceof Sr&&ie.operator=="&&"&&G.equivalent_to(ie.right)){return make_node(Sr,E,{operator:"&&",left:make_node(Sr,E,{operator:"||",left:q,right:ie.left}),right:G}).optimize(N)}if(G instanceof Er&&G.alternative.equivalent_to(ie)){return make_node(Er,E,{condition:make_node(Sr,E,{left:E.condition,operator:"&&",right:G.condition}),consequent:G.consequent,alternative:ie})}if(G.equivalent_to(ie)){return make_sequence(E,[E.condition,G]).optimize(N)}if(G instanceof Sr&&G.operator=="||"&&G.right.equivalent_to(ie)){return make_node(Sr,E,{operator:"||",left:make_node(Sr,E,{operator:"&&",left:E.condition,right:G.left}),right:ie}).optimize(N)}var le=N.in_boolean_context();if(is_true(E.consequent)){if(is_false(E.alternative)){return booleanize(E.condition)}return make_node(Sr,E,{operator:"||",left:booleanize(E.condition),right:E.alternative})}if(is_false(E.consequent)){if(is_true(E.alternative)){return booleanize(E.condition.negate(N))}return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition.negate(N)),right:E.alternative})}if(is_true(E.alternative)){return make_node(Sr,E,{operator:"||",left:booleanize(E.condition.negate(N)),right:E.consequent})}if(is_false(E.alternative)){return make_node(Sr,E,{operator:"&&",left:booleanize(E.condition),right:E.consequent})}return E;function booleanize(E){if(E.is_boolean())return E;return make_node(br,E,{operator:"!",expression:E.negate(N)})}function is_true(E){return E instanceof Cn||le&&E instanceof pn&&E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&!E.expression.getValue()}function is_false(E){return E instanceof kn||le&&E instanceof pn&&!E.getValue()||E instanceof br&&E.operator=="!"&&E.expression instanceof pn&&E.expression.getValue()}function single_arg_diff(){var E=G.args;var N=ie.args;for(var R=0,j=E.length;R=2015;var j=this.expression;if(j instanceof Dr){var $=j.properties;for(var q=$.length;--q>=0;){var G=$[q];if(""+(G instanceof Or?G.key.name:G.key)==E){const E=$.every((E=>(E instanceof wr||R&&E instanceof Or&&!E.is_generator)&&!E.computed_key()));if(!E)return;if(!safe_to_flatten(G.value,N))return;return make_node(_r,this,{expression:make_node(Cr,j,{elements:$.map((function(E){var N=E.value;if(N instanceof Pt){N=make_node(Ft,N,N)}var R=E.key;if(R instanceof ot&&!(R instanceof Qr)){return make_sequence(E,[R,N])}return N}))}),property:make_node(gn,this,{value:q})})}}}}));def_optimize(_r,(function(E,N){var R=E.expression;var j=E.property;if(N.option("properties")){var $=j.evaluate(N);if($!==j){if(typeof $=="string"){if($=="undefined"){$=undefined}else{var q=parseFloat($);if(q.toString()==$){$=q}}}j=E.property=best_of_expression(j,make_node_from_constant($,j).transform(N));var G=""+$;if(is_basic_identifier_string(G)&&G.length<=j.size()+1){return make_node(gr,E,{expression:R,optional:E.optional,property:G,quote:j.quote}).optimize(N)}}}var ie;e:if(N.option("arguments")&&R instanceof on&&R.name=="arguments"&&R.definition().orig.length==1&&(ie=R.scope)instanceof wt&&ie.uses_arguments&&!(ie instanceof It)&&j instanceof gn){var ae=j.getValue();var ce=new Set;var le=ie.argnames;for(var _e=0;_e1){Te=null}}else if(!Te&&!N.option("keep_fargs")&&ae=ie.argnames.length){Te=ie.create_symbol(Gr,{source:ie,scope:ie,tentative_name:"argument_"+ie.argnames.length});ie.argnames.push(Te)}}if(Te){var Ie=make_node(on,E,Te);Ie.reference({});clear_flag(Te,Wn);return Ie}}if(is_lhs(E,N.parent()))return E;if($!==j){var Ne=E.flatten_object(G,N);if(Ne){R=E.expression=Ne.expression;j=E.property=Ne.property}}if(N.option("properties")&&N.option("side_effects")&&j instanceof gn&&R instanceof Cr){var ae=j.getValue();var Me=R.elements;var Le=Me[ae];e:if(safe_to_flatten(Le,N)){var Be=true;var je=[];for(var Ue=Me.length;--Ue>ae;){var q=Me[Ue].drop_side_effect_free(N);if(q){je.unshift(q);if(Be&&q.has_side_effects(N))Be=false}}if(Le instanceof At)break e;Le=Le instanceof Sn?make_node(xn,Le):Le;if(!Be)je.unshift(Le);while(--Ue>=0){var q=Me[Ue];if(q instanceof At)break e;q=q.drop_side_effect_free(N);if(q)je.unshift(q);else ae--}if(Be){je.push(Le);return make_sequence(E,je).optimize(N)}else return make_node(_r,E,{expression:make_node(Cr,R,{elements:je}),property:make_node(gn,j,{value:ae})})}}var ze=E.evaluate(N);if(ze!==E){ze=make_node_from_constant(ze,E).optimize(N);return best_of(N,ze,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));def_optimize(yr,(function(E,N){E.expression=E.expression.optimize(N);return E}));wt.DEFMETHOD("contains_this",(function(){return walk(this,(E=>{if(E instanceof un)return Dn;if(E!==this&&E instanceof Ct&&!(E instanceof It)){return true}}))}));def_optimize(gr,(function(E,N){const R=N.parent();if(is_lhs(E,R))return E;if(N.option("unsafe_proto")&&E.expression instanceof gr&&E.expression.property=="prototype"){var j=E.expression.expression;if(is_undeclared_ref(j))switch(j.name){case"Array":E.expression=make_node(Cr,E.expression,{elements:[]});break;case"Function":E.expression=make_node(Ft,E.expression,{argnames:[],body:[]});break;case"Number":E.expression=make_node(gn,E.expression,{value:0});break;case"Object":E.expression=make_node(Dr,E.expression,{properties:[]});break;case"RegExp":E.expression=make_node(_n,E.expression,{value:{source:"t",flags:""}});break;case"String":E.expression=make_node(mn,E.expression,{value:""});break}}if(!(R instanceof dr)||!has_annotation(R,Pn)){const R=E.flatten_object(E.property,N);if(R)return R.optimize(N)}let $=E.evaluate(N);if($!==E){$=make_node_from_constant($,E).optimize(N);return best_of(N,$,E)}if(E.optional&&is_nullish(E.expression,N)){return make_node(xn,E)}return E}));function literals_in_boolean_context(E,N){if(N.in_boolean_context()){return best_of(N,E,make_sequence(E,[E,make_node(Cn,E)]).optimize(N))}return E}function inline_array_like_spread(E){for(var N=0;NE instanceof Sn))){E.splice(N,1,...j.elements);N--}}}}def_optimize(Cr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_array_like_spread(E.elements);return E}));function inline_object_prop_spread(E,N){for(var R=0;RE instanceof wr))){E.splice(R,1,...$.properties);R--}else if($ instanceof pn&&!($ instanceof mn)){E.splice(R,1)}else if(is_nullish($,N)){E.splice(R,1)}}}}def_optimize(Dr,(function(E,N){var R=literals_in_boolean_context(E,N);if(R!==E){return R}inline_object_prop_spread(E.properties,N);return E}));def_optimize(_n,literals_in_boolean_context);def_optimize(Ut,(function(E,N){if(E.value&&is_undefined(E.value,N)){E.value=null}return E}));def_optimize(It,opt_AST_Lambda);def_optimize(Ft,(function(E,N){E=opt_AST_Lambda(E,N);if(N.option("unsafe_arrows")&&N.option("ecma")>=2015&&!E.name&&!E.is_generator&&!E.uses_arguments&&!E.pinned()){const R=walk(E,(E=>{if(E instanceof un)return Dn}));if(!R)return make_node(It,E,E).optimize(N)}return E}));def_optimize(Rr,(function(E){return E}));def_optimize(qt,(function(E,N){if(E.expression&&!E.is_star&&is_undefined(E.expression,N)){E.expression=null}return E}));def_optimize(Rt,(function(E,N){if(!N.option("evaluate")||N.parent()instanceof Mt){return E}var R=[];for(var j=0;j=2015&&(!(R instanceof RegExp)||R.test(E.key+""))){var j=E.key;var $=E.value;var q=$ instanceof It&&Array.isArray($.body)&&!$.contains_this();if((q||$ instanceof Ft)&&!$.name){return make_node(Or,E,{async:$.async,is_generator:$.is_generator,key:j instanceof ot?j:make_node(Qr,E,{name:j}),value:make_node(Pt,$,$),quote:E.quote})}}return E}));def_optimize(Ot,(function(E,N){if(N.option("pure_getters")==true&&N.option("unused")&&!E.is_array&&Array.isArray(E.names)&&!is_destructuring_export_decl(N)&&!(E.names[E.names.length-1]instanceof At)){var R=[];for(var j=0;j1)throw new Error("inline source map only works with singular input");N.sourceMap.content=read_source_map(E[q])}}}$=N.parse.toplevel}if(j&&N.mangle.properties.keep_quoted!=="strict"){reserve_quoted_keys($,j)}if(N.wrap){$=$.wrap_commonjs(N.wrap)}if(N.enclose){$=$.wrap_enclose(N.enclose)}if(R)R.rename=Date.now();if(R)R.compress=Date.now();if(N.compress){$=new Compressor(N.compress,{mangle_options:N.mangle}).compress($)}if(R)R.scope=Date.now();if(N.mangle)$.figure_out_scope(N.mangle);if(R)R.mangle=Date.now();if(N.mangle){Un.reset();$.compute_char_frequency(N.mangle);$.mangle_names(N.mangle)}if(R)R.properties=Date.now();if(N.mangle&&N.mangle.properties){$=mangle_properties($,N.mangle.properties)}if(R)R.format=Date.now();var G={};if(N.format.ast){G.ast=$}if(N.format.spidermonkey){G.ast=$.to_mozilla_ast()}if(!HOP(N.format,"code")||N.format.code){if(N.sourceMap){N.format.source_map=await SourceMap({file:N.sourceMap.filename,orig:N.sourceMap.content,root:N.sourceMap.root});if(N.sourceMap.includeSources){if(E instanceof Dt){throw new Error("original source content unavailable")}else for(var q in E)if(HOP(E,q)){N.format.source_map.get().setSourceContent(q,E[q])}}}delete N.format.ast;delete N.format.code;delete N.format.spidermonkey;var ie=OutputStream(N.format);$.print(ie);G.code=ie.get();if(N.sourceMap){if(N.sourceMap.asObject){G.map=N.format.source_map.get().toJSON()}else{G.map=N.format.source_map.toString()}if(N.sourceMap.url=="inline"){var ae=typeof G.map==="object"?JSON.stringify(G.map):G.map;G.code+="\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,"+mi(ae)}else if(N.sourceMap.url){G.code+="\n//# sourceMappingURL="+N.sourceMap.url}}}if(N.nameCache&&N.mangle){if(N.mangle.cache)N.nameCache.vars=cache_to_json(N.mangle.cache);if(N.mangle.properties&&N.mangle.properties.cache){N.nameCache.props=cache_to_json(N.mangle.properties.cache)}}if(N.format&&N.format.source_map){N.format.source_map.destroy()}if(R){R.end=Date.now();G.timings={parse:.001*(R.rename-R.parse),rename:.001*(R.compress-R.rename),compress:.001*(R.scope-R.compress),scope:.001*(R.mangle-R.scope),mangle:.001*(R.properties-R.mangle),properties:.001*(R.format-R.properties),format:.001*(R.end-R.format),total:.001*(R.end-R.start)}}return G}async function run_cli({program:E,packageJson:N,fs:j,path:$}){const q=new Set(["cname","parent_scope","scope","uses_eval","uses_with"]);var G={};var ie={compress:false,mangle:false};const ae=await _default_options();E.version(N.name+" "+N.version);E.parseArgv=E.parse;E.parse=undefined;if(process.argv.includes("ast"))E.helpInformation=describe_ast;else if(process.argv.includes("options"))E.helpInformation=function(){var E=[];for(var N in ae){E.push("--"+(N==="sourceMap"?"source-map":N)+" options:");E.push(format_object(ae[N]));E.push("")}return E.join("\n")};E.option("-p, --parse ","Specify parser options.",parse_js());E.option("-c, --compress [options]","Enable compressor/specify compressor options.",parse_js());E.option("-m, --mangle [options]","Mangle names/specify mangler options.",parse_js());E.option("--mangle-props [options]","Mangle properties/specify mangler options.",parse_js());E.option("-f, --format [options]","Format options.",parse_js());E.option("-b, --beautify [options]","Alias for --format.",parse_js());E.option("-o, --output ","Output file (default STDOUT).");E.option("--comments [filter]","Preserve copyright comments in the output.");E.option("--config-file ","Read minify() options from JSON file.");E.option("-d, --define [=value]","Global definitions.",parse_js("define"));E.option("--ecma ","Specify ECMAScript release: 5, 2015, 2016 or 2017...");E.option("-e, --enclose [arg[,...][:value[,...]]]","Embed output in a big function with configurable arguments and values.");E.option("--ie8","Support non-standard Internet Explorer 8.");E.option("--keep-classnames","Do not mangle/drop class names.");E.option("--keep-fnames","Do not mangle/drop function names. Useful for code relying on Function.prototype.name.");E.option("--module","Input is an ES6 module");E.option("--name-cache ","File to hold mangled name mappings.");E.option("--rename","Force symbol expansion.");E.option("--no-rename","Disable symbol expansion.");E.option("--safari10","Support non-standard Safari 10.");E.option("--source-map [options]","Enable source map/specify source map options.",parse_js());E.option("--timings","Display operations run time on STDERR.");E.option("--toplevel","Compress and/or mangle variables in toplevel scope.");E.option("--wrap ","Embed everything as a function with “exports” corresponding to “name” globally.");E.arguments("[files...]").parseArgv(process.argv);if(E.configFile){ie=JSON.parse(read_file(E.configFile))}if(!E.output&&E.sourceMap&&E.sourceMap.url!="inline"){fatal("ERROR: cannot write source map to STDOUT")}["compress","enclose","ie8","mangle","module","safari10","sourceMap","toplevel","wrap"].forEach((function(N){if(N in E){ie[N]=E[N]}}));if("ecma"in E){if(E.ecma!=(E.ecma|0))fatal("ERROR: ecma must be an integer");const N=E.ecma|0;if(N>5&&N<2015)ie.ecma=N+2009;else ie.ecma=N}if(E.format||E.beautify){const N=E.format||E.beautify;ie.format=typeof N==="object"?N:{}}if(E.comments){if(typeof ie.format!="object")ie.format={};ie.format.comments=typeof E.comments=="string"?E.comments=="false"?false:E.comments:"some"}if(E.define){if(typeof ie.compress!="object")ie.compress={};if(typeof ie.compress.global_defs!="object")ie.compress.global_defs={};for(var ce in E.define){ie.compress.global_defs[ce]=E.define[ce]}}if(E.keepClassnames){ie.keep_classnames=true}if(E.keepFnames){ie.keep_fnames=true}if(E.mangleProps){if(E.mangleProps.domprops){delete E.mangleProps.domprops}else{if(typeof E.mangleProps!="object")E.mangleProps={};if(!Array.isArray(E.mangleProps.reserved))E.mangleProps.reserved=[]}if(typeof ie.mangle!="object")ie.mangle={};ie.mangle.properties=E.mangleProps}if(E.nameCache){ie.nameCache=JSON.parse(read_file(E.nameCache,"{}"))}if(E.output=="ast"){ie.format={ast:true,code:false}}if(E.parse){if(!E.parse.acorn&&!E.parse.spidermonkey){ie.parse=E.parse}else if(E.sourceMap&&E.sourceMap.content=="inline"){fatal("ERROR: inline source map only works with built-in parser")}}if(~E.rawArgs.indexOf("--rename")){ie.rename=true}else if(!E.rename){ie.rename=false}let convert_path=E=>E;if(typeof E.sourceMap=="object"&&"base"in E.sourceMap){convert_path=function(){var N=E.sourceMap.base;delete ie.sourceMap.base;return function(E){return $.relative(N,E)}}()}let le;if(ie.files&&ie.files.length){le=ie.files;delete ie.files}else if(E.args.length){le=E.args}if(le){simple_glob(le).forEach((function(E){G[convert_path(E)]=read_file(E)}))}else{await new Promise((E=>{var N=[];process.stdin.setEncoding("utf8");process.stdin.on("data",(function(E){N.push(E)})).on("end",(function(){G=[N.join("")];E()}));process.stdin.resume()}))}await run_cli();function convert_ast(E){return ot.from_mozilla_ast(Object.keys(G).reduce(E,null))}async function run_cli(){var N=E.sourceMap&&E.sourceMap.content;if(N&&N!=="inline"){ie.sourceMap.content=read_file(N,N)}if(E.timings)ie.timings=true;try{if(E.parse){if(E.parse.acorn){G=convert_ast((function(N,j){return R(20976).parse(G[j],{ecmaVersion:2018,locations:true,program:N,sourceFile:j,sourceType:ie.module||E.parse.module?"module":"script"})}))}else if(E.parse.spidermonkey){G=convert_ast((function(E,N){var R=JSON.parse(G[N]);if(!E)return R;E.body=E.body.concat(R.body);return E}))}}}catch(E){fatal(E)}let $;try{$=await minify(G,ie)}catch(E){if(E.name=="SyntaxError"){print_error("Parse error at "+E.filename+":"+E.line+","+E.col);var ae=E.col;var ce=G[E.filename].split(/\r?\n/);var le=ce[E.line-1];if(!le&&!ae){le=ce[E.line-2];ae=le.length}if(le){var _e=70;if(ae>_e){le=le.slice(ae-_e);ae=_e}print_error(le.slice(0,80));print_error(le.slice(0,ae).replace(/\S/g," ")+"^")}}if(E.defs){print_error("Supported options:");print_error(format_object(E.defs))}fatal(E);return}if(E.output=="ast"){if(!ie.compress&&!ie.mangle){$.ast.figure_out_scope({})}console.log(JSON.stringify($.ast,(function(E,N){if(N)switch(E){case"thedef":return symdef(N);case"enclosed":return N.length?N.map(symdef):undefined;case"variables":case"globals":return N.size?collect_from_map(N,symdef):undefined}if(q.has(E))return;if(N instanceof AST_Token)return;if(N instanceof Map)return;if(N instanceof ot){var R={_class:"AST_"+N.TYPE};if(N.block_scope){R.variables=N.block_scope.variables;R.enclosed=N.block_scope.enclosed}N.CTOR.PROPS.forEach((function(E){R[E]=N[E]}));return R}return N}),2))}else if(E.output=="spidermonkey"){try{const E=await minify($.code,{compress:false,mangle:false,format:{ast:true,code:false}});console.log(JSON.stringify(E.ast.to_mozilla_ast(),null,2))}catch(E){fatal(E);return}}else if(E.output){j.writeFileSync(E.output,$.code);if(ie.sourceMap&&ie.sourceMap.url!=="inline"&&$.map){j.writeFileSync(E.output+".map",$.map)}}else{console.log($.code)}if(E.nameCache){j.writeFileSync(E.nameCache,JSON.stringify(ie.nameCache))}if($.timings)for(var Ee in $.timings){print_error("- "+Ee+": "+$.timings[Ee].toFixed(3)+"s")}}function fatal(E){if(E instanceof Error)E=E.stack.replace(/^\S*?Error:/,"ERROR:");print_error(E);process.exit(1)}function simple_glob(E){if(Array.isArray(E)){return[].concat.apply([],E.map(simple_glob))}if(E&&E.match(/[*?]/)){var N=$.dirname(E);try{var R=j.readdirSync(N)}catch(E){}if(R){var q="^"+$.basename(E).replace(/[.+^$[\]\\(){}]/g,"\\$&").replace(/\*/g,"[^/\\\\]*").replace(/\?/g,"[^/\\\\]")+"$";var G=process.platform==="win32"?"i":"";var ie=new RegExp(q,G);var ae=R.filter((function(E){return ie.test(E)})).map((function(E){return $.join(N,E)}));if(ae.length)return ae}}return[E]}function read_file(E,N){try{return j.readFileSync(E,"utf8")}catch(E){if((E.code=="ENOENT"||E.code=="ENAMETOOLONG")&&N!=null)return N;fatal(E)}}function parse_js(E){return function(N,R){R=R||{};try{walk(parse(N,{expression:true}),(N=>{if(N instanceof Tr){var j=N.left.print_to_string();var $=N.right;if(E){R[j]=$}else if($ instanceof Cr){R[j]=$.elements.map(to_string)}else if($ instanceof _n){$=$.value;R[j]=new RegExp($.source,$.flags)}else{R[j]=to_string($)}return true}if(N instanceof zr||N instanceof mr){var j=N.print_to_string();R[j]=true;return true}if(!(N instanceof fr))throw N;function to_string(E){return E instanceof pn?E.getValue():E.print_to_string({quote_keys:true})}}))}catch(j){if(E){fatal("Error parsing arguments for '"+E+"': "+N)}else{R[N]=null}}return R}}function symdef(E){var N=1e6+E.id+" "+E.name;if(E.mangled_name)N+=" "+E.mangled_name;return N}function collect_from_map(E,N){var R=[];E.forEach((function(E){R.push(N(E))}));return R}function format_object(E){var N=[];var R="";Object.keys(E).map((function(N){if(R.length!/^\$/.test(E)));if(R.length>0){E.space();E.with_parens((function(){R.forEach((function(N,R){if(R)E.space();E.print(N)}))}))}if(N.documentation){E.space();E.print_string(N.documentation)}if(N.SUBCLASSES.length>0){E.space();E.with_block((function(){N.SUBCLASSES.forEach((function(N){E.indent();doitem(N);E.newline()}))}))}}doitem(ot);return E+"\n"}}async function _default_options(){const E={};Object.keys(infer_options({0:0})).forEach((N=>{const R=infer_options({[N]:{0:0}});if(R)E[N]=R}));return E}async function infer_options(E){try{await minify("",E)}catch(E){return E.defs}}E._default_options=_default_options;E._run_cli=run_cli;E.minify=minify}))},76218:(E,N)=>{"use strict";N.parse=parse,N.init=void 0;const R=1===new Uint8Array(new Uint16Array([1]).buffer)[0];function parse(E,N="@"){if(!j)return $.then((()=>parse(E)));const q=E.length+1,G=(j.__heap_base.value||j.__heap_base)+4*q-j.memory.buffer.byteLength;G>0&&j.memory.grow(Math.ceil(G/65536));const ie=j.sa(q-1);if((R?C:Q)(E,new Uint16Array(j.memory.buffer,ie,q)),!j.parse())throw Object.assign(new Error(`Parse error ${N}:${E.slice(0,j.e()).split("\n").length}:${j.e()-E.lastIndexOf("\n",j.e()-1)}`),{idx:j.e()});const ae=[],ce=[];for(;j.ri();){const N=j.is(),R=j.ie(),$=j.ai(),q=j.id(),G=j.ss(),ie=j.se();let ce;j.ip()&&(ce=J(E.slice(-1===q?N-1:N,-1===q?R+1:R))),ae.push({n:ce,s:N,e:R,ss:G,se:ie,d:q,a:$})}for(;j.re();){const N=E.slice(j.es(),j.ee()),R=N[0];ce.push('"'===R||"'"===R?J(N):N)}function J(E){try{return(0,eval)(E)}catch(E){}}return[ae,ce,!!j.f()]}function Q(E,N){const R=E.length;let j=0;for(;j>>8}}function C(E,N){const R=E.length;let j=0;for(;jE.charCodeAt(0))))).then(WebAssembly.instantiate).then((({exports:E})=>{j=E}));var q;N.init=$},894:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON Schema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},6680:E=>{"use strict";E.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},83196:E=>{"use strict";E.exports={i8:"5.1.1"}},29389:E=>{"use strict";E.exports={version:"4.3.0"}},42600:E=>{"use strict";E.exports={i8:"4.3.0"}},53765:E=>{"use strict";E.exports=JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["ecma","es"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/mrb-publish+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana"},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana"},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}')},76052:E=>{"use strict";E.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"iojs","version":"1.0.0","date":"2015-01-14"},{"name":"iojs","version":"1.1.0","date":"2015-02-03"},{"name":"iojs","version":"1.2.0","date":"2015-02-11"},{"name":"iojs","version":"1.3.0","date":"2015-02-20"},{"name":"iojs","version":"1.5.0","date":"2015-03-06"},{"name":"iojs","version":"1.6.0","date":"2015-03-20"},{"name":"iojs","version":"2.0.0","date":"2015-05-04"},{"name":"iojs","version":"2.1.0","date":"2015-05-24"},{"name":"iojs","version":"2.2.0","date":"2015-06-01"},{"name":"iojs","version":"2.3.0","date":"2015-06-13"},{"name":"iojs","version":"2.4.0","date":"2015-07-17"},{"name":"iojs","version":"2.5.0","date":"2015-07-28"},{"name":"iojs","version":"3.0.0","date":"2015-08-04"},{"name":"iojs","version":"3.1.0","date":"2015-08-19"},{"name":"iojs","version":"3.2.0","date":"2015-08-25"},{"name":"iojs","version":"3.3.0","date":"2015-09-02"},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false}]')},78864:E=>{"use strict";E.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},11519:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"TerserPluginOptions","type":"object","additionalProperties":false,"properties":{"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"terserOptions":{"description":"Options for `terser`.","additionalProperties":true,"type":"object"},"extractComments":{"description":"Whether comments shall be extracted to a separate file.","anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"},{"additionalProperties":false,"properties":{"condition":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"RegExp"},{"instanceof":"Function"}]},"filename":{"anyOf":[{"type":"string","minLength":1},{"instanceof":"Function"}]},"banner":{"anyOf":[{"type":"boolean"},{"type":"string","minLength":1},{"instanceof":"Function"}]}},"type":"object"}]},"parallel":{"description":"Use multi-process parallel running to improve the build speed.","anyOf":[{"type":"boolean"},{"type":"integer"}]},"minify":{"description":"Allows you to override default minify function.","instanceof":"Function"}}}')},54703:E=>{"use strict";E.exports=JSON.parse('{"name":"terser","description":"JavaScript parser, mangler/compressor and beautifier toolkit for ES6+","homepage":"https://terser.org","author":"Mihai Bazon (http://lisperator.net/)","license":"BSD-2-Clause","version":"5.7.1","engines":{"node":">=10"},"maintainers":["Fábio Santos "],"repository":"https://github.com/terser/terser","main":"dist/bundle.min.js","type":"module","module":"./main.js","exports":{".":[{"import":"./main.js","require":"./dist/bundle.min.js"},"./dist/bundle.min.js"],"./package":"./package.json","./package.json":"./package.json","./bin/terser":"./bin/terser"},"types":"tools/terser.d.ts","bin":{"terser":"bin/terser"},"files":["bin","dist","lib","tools","LICENSE","README.md","CHANGELOG.md","PATRONS.md","main.js"],"dependencies":{"commander":"^2.20.0","source-map":"~0.7.2","source-map-support":"~0.5.19"},"devDependencies":{"@ls-lint/ls-lint":"^1.9.2","acorn":"^8.0.5","astring":"^1.6.2","eslint":"^7.19.0","eslump":"^2.0.0","esm":"^3.2.25","mocha":"^8.2.1","pre-commit":"^1.2.2","rimraf":"^3.0.2","rollup":"2.38.4","semver":"^7.3.4"},"scripts":{"test":"node test/compress.js && mocha test/mocha","test:compress":"node test/compress.js","test:mocha":"mocha test/mocha","lint":"eslint lib","lint-fix":"eslint --fix lib","ls-lint":"ls-lint","build":"rimraf dist/bundle* && rollup --config --silent","prepare":"npm run build","postversion":"echo \'Remember to update the changelog!\'"},"keywords":["uglify","terser","uglify-es","uglify-js","minify","minifier","javascript","ecmascript","es5","es6","es7","es8","es2015","es2016","es2017","async","await"],"eslintConfig":{"parserOptions":{"sourceType":"module","ecmaVersion":"2020"},"env":{"node":true,"browser":true,"es2020":true},"globals":{"describe":false,"it":false,"require":false,"global":false,"process":false},"rules":{"brace-style":["error","1tbs",{"allowSingleLine":true}],"quotes":["error","double","avoid-escape"],"no-debugger":"error","no-undef":"error","no-unused-vars":["error",{"varsIgnorePattern":"^_"}],"no-tabs":"error","semi":["error","always"],"no-extra-semi":"error","no-irregular-whitespace":"error","space-before-blocks":["error","always"]}},"pre-commit":["build","lint-fix","ls-lint","test"]}')},37589:E=>{"use strict";E.exports={i8:"5.62.1"}},46312:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Amd":{"description":"Set the value of `require.amd` and `define.amd`. Or disable AMD support.","anyOf":[{"description":"You can pass `false` to disable AMD support.","enum":[false]},{"description":"You can pass an object to set the value of `require.amd` and `define.amd`.","type":"object"}]},"AssetFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, asset: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsAsset) => boolean)"}]},"AssetFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/AssetFilterItemTypes"}]}},{"$ref":"#/definitions/AssetFilterItemTypes"}]},"AssetGeneratorDataUrl":{"description":"The options for data url generator.","anyOf":[{"$ref":"#/definitions/AssetGeneratorDataUrlOptions"},{"$ref":"#/definitions/AssetGeneratorDataUrlFunction"}]},"AssetGeneratorDataUrlFunction":{"description":"Function that executes for module and should return an DataUrl string.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => string)"},"AssetGeneratorDataUrlOptions":{"description":"Options object for data url generation.","type":"object","additionalProperties":false,"properties":{"encoding":{"description":"Asset encoding (defaults to base64).","enum":[false,"base64"]},"mimetype":{"description":"Asset mimetype (getting from file extension by default).","type":"string"}}},"AssetGeneratorOptions":{"description":"Generator options for asset modules.","type":"object","implements":["#/definitions/AssetInlineGeneratorOptions","#/definitions/AssetResourceGeneratorOptions"],"additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"},"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AssetInlineGeneratorOptions":{"description":"Generator options for asset/inline modules.","type":"object","additionalProperties":false,"properties":{"dataUrl":{"$ref":"#/definitions/AssetGeneratorDataUrl"}}},"AssetModuleFilename":{"description":"The filename of asset modules as relative path inside the \'output.path\' directory.","anyOf":[{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"AssetParserDataUrlFunction":{"description":"Function that executes for module and should return whenever asset should be inlined as DataUrl.","instanceof":"Function","tsType":"((source: string | Buffer, context: { filename: string, module: import(\'../lib/Module\') }) => boolean)"},"AssetParserDataUrlOptions":{"description":"Options object for DataUrl condition.","type":"object","additionalProperties":false,"properties":{"maxSize":{"description":"Maximum size of asset that should be inline as modules. Default: 8kb.","type":"number"}}},"AssetParserOptions":{"description":"Parser options for asset modules.","type":"object","additionalProperties":false,"properties":{"dataUrlCondition":{"description":"The condition for inlining the asset as DataUrl.","anyOf":[{"$ref":"#/definitions/AssetParserDataUrlOptions"},{"$ref":"#/definitions/AssetParserDataUrlFunction"}]}}},"AssetResourceGeneratorOptions":{"description":"Generator options for asset/resource modules.","type":"object","additionalProperties":false,"properties":{"emit":{"description":"Emit an output asset from this asset module. This can be set to \'false\' to omit emitting e. g. for SSR.","type":"boolean"},"filename":{"$ref":"#/definitions/FilenameTemplate"},"publicPath":{"$ref":"#/definitions/RawPublicPath"}}},"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"Bail":{"description":"Report the first error as a hard error instead of tolerating it.","type":"boolean"},"CacheOptions":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Enable in memory caching.","enum":[true]},{"$ref":"#/definitions/CacheOptionsNormalized"}]},"CacheOptionsNormalized":{"description":"Cache generated modules and chunks to improve performance for multiple incremental builds.","anyOf":[{"description":"Disable caching.","enum":[false]},{"$ref":"#/definitions/MemoryCacheOptions"},{"$ref":"#/definitions/FileCacheOptions"}]},"Charset":{"description":"Add charset attribute for script tag.","type":"boolean"},"ChunkFilename":{"description":"Specifies the filename template of output files of non-initial chunks on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"ChunkFormat":{"description":"The format of chunks (formats included by default are \'array-push\' (web/WebWorker), \'commonjs\' (node.js), \'module\' (ESM), but others might be added by plugins).","anyOf":[{"enum":["array-push","commonjs","module",false]},{"type":"string"}]},"ChunkLoadTimeout":{"description":"Number of milliseconds before chunk request expires.","type":"number"},"ChunkLoading":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/ChunkLoadingType"}]},"ChunkLoadingGlobal":{"description":"The global variable used by webpack for loading of chunks.","type":"string"},"ChunkLoadingType":{"description":"The method of loading chunks (methods included by default are \'jsonp\' (web), \'import\' (ESM), \'importScripts\' (WebWorker), \'require\' (sync node.js), \'async-node\' (async node.js), but others might be added by plugins).","anyOf":[{"enum":["jsonp","import-scripts","require","async-node","import"]},{"type":"string"}]},"Clean":{"description":"Clean the output directory before emit.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CleanOptions"}]},"CleanOptions":{"description":"Advanced options for cleaning assets.","type":"object","additionalProperties":false,"properties":{"dry":{"description":"Log the assets that should be removed instead of deleting them.","type":"boolean"},"keep":{"description":"Keep these assets.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((filename: string) => boolean)"}]}}},"CompareBeforeEmit":{"description":"Check if to be emitted file already exists and have the same content before writing to output filesystem.","type":"boolean"},"Context":{"description":"The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.","type":"string","absolutePath":true},"CrossOriginLoading":{"description":"This option enables cross-origin loading of chunks.","enum":[false,"anonymous","use-credentials"]},"Dependencies":{"description":"References to other configurations to depend on.","type":"array","items":{"description":"References to another configuration to depend on.","type":"string"}},"DevServer":{"description":"Options for the webpack-dev-server.","type":"object"},"DevTool":{"description":"A developer tool to enhance debugging (false | eval | [inline-|hidden-|eval-][nosources-][cheap-[module-]]source-map).","anyOf":[{"enum":[false,"eval"]},{"type":"string","pattern":"^(inline-|hidden-|eval-)?(nosources-)?(cheap-(module-)?)?source-map$"}]},"DevtoolFallbackModuleFilenameTemplate":{"description":"Similar to `output.devtoolModuleFilenameTemplate`, but used in the case of duplicate module identifiers.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolModuleFilenameTemplate":{"description":"Filename template string of function for the sources array in a generated SourceMap.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"DevtoolNamespace":{"description":"Module namespace to use when interpolating filename template string for the sources array in a generated SourceMap. Defaults to `output.library` if not set. It\'s useful for avoiding runtime collisions in sourcemaps from multiple webpack projects built as libraries.","type":"string"},"EmptyGeneratorOptions":{"description":"No generator options are supported for this module type.","type":"object","additionalProperties":false},"EmptyParserOptions":{"description":"No parser options are supported for this module type.","type":"object","additionalProperties":false},"EnabledChunkLoadingTypes":{"description":"List of chunk loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/ChunkLoadingType"}},"EnabledLibraryTypes":{"description":"List of library types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/LibraryType"}},"EnabledWasmLoadingTypes":{"description":"List of wasm loading types enabled for use by entry points.","type":"array","items":{"$ref":"#/definitions/WasmLoadingType"}},"Entry":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamic"},{"$ref":"#/definitions/EntryStatic"}]},"EntryDescription":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","anyOf":[{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1}]},"filename":{"$ref":"#/definitions/EntryFilename"},"import":{"$ref":"#/definitions/EntryItem"},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}},"required":["import"]},"EntryDescriptionNormalized":{"description":"An object with entry point description.","type":"object","additionalProperties":false,"properties":{"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"dependOn":{"description":"The entrypoints that the current entrypoint depend on. They must be loaded when this entrypoint is loaded.","type":"array","items":{"description":"An entrypoint that the current entrypoint depend on. It must be loaded when this entrypoint is loaded.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"filename":{"$ref":"#/definitions/Filename"},"import":{"description":"Module(s) that are loaded upon startup. The last one is exported.","type":"array","items":{"description":"Module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},"layer":{"$ref":"#/definitions/Layer"},"library":{"$ref":"#/definitions/LibraryOptions"},"publicPath":{"$ref":"#/definitions/PublicPath"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"EntryDynamic":{"description":"A Function returning an entry object, an entry string, an entry array or a promise to these things.","instanceof":"Function","tsType":"(() => EntryStatic | Promise)"},"EntryDynamicNormalized":{"description":"A Function returning a Promise resolving to a normalized entry.","instanceof":"Function","tsType":"(() => Promise)"},"EntryFilename":{"description":"Specifies the filename of the output file on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"EntryItem":{"description":"Module(s) that are loaded upon startup.","anyOf":[{"description":"All modules are loaded upon startup. The last one is exported.","type":"array","items":{"description":"A module that is loaded upon startup. Only the last one is exported.","type":"string","minLength":1},"minItems":1,"uniqueItems":true},{"description":"The string is resolved to a module which is loaded upon startup.","type":"string","minLength":1}]},"EntryNormalized":{"description":"The entry point(s) of the compilation.","anyOf":[{"$ref":"#/definitions/EntryDynamicNormalized"},{"$ref":"#/definitions/EntryStaticNormalized"}]},"EntryObject":{"description":"Multiple entry bundles are created. The key is the entry name. The value can be a string, an array or an entry description object.","type":"object","additionalProperties":{"description":"An entry point with name.","anyOf":[{"$ref":"#/definitions/EntryItem"},{"$ref":"#/definitions/EntryDescription"}]}},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"EntryStatic":{"description":"A static entry description.","anyOf":[{"$ref":"#/definitions/EntryObject"},{"$ref":"#/definitions/EntryUnnamed"}]},"EntryStaticNormalized":{"description":"Multiple entry bundles are created. The key is the entry name. The value is an entry description object.","type":"object","additionalProperties":{"description":"An object with entry point description.","oneOf":[{"$ref":"#/definitions/EntryDescriptionNormalized"}]}},"EntryUnnamed":{"description":"An entry point without name.","oneOf":[{"$ref":"#/definitions/EntryItem"}]},"Environment":{"description":"The abilities of the environment where the webpack generated code should run.","type":"object","additionalProperties":false,"properties":{"arrowFunction":{"description":"The environment supports arrow functions (\'() => { ... }\').","type":"boolean"},"bigIntLiteral":{"description":"The environment supports BigInt as literal (123n).","type":"boolean"},"const":{"description":"The environment supports const and let for variable declarations.","type":"boolean"},"destructuring":{"description":"The environment supports destructuring (\'{ a, b } = obj\').","type":"boolean"},"dynamicImport":{"description":"The environment supports an async import() function to import EcmaScript modules.","type":"boolean"},"forOf":{"description":"The environment supports \'for of\' iteration (\'for (const x of array) { ... }\').","type":"boolean"},"module":{"description":"The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from \'...\').","type":"boolean"}}},"Experiments":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","anyOf":[{"$ref":"#/definitions/HttpUriAllowedUris"},{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsCommon":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExperimentsNormalized":{"description":"Enables/Disables experiments (experimental features with relax SemVer compatibility).","type":"object","implements":["#/definitions/ExperimentsCommon"],"additionalProperties":false,"properties":{"asyncWebAssembly":{"description":"Support WebAssembly as asynchronous EcmaScript Module.","type":"boolean"},"backCompat":{"description":"Enable backward-compat layer with deprecation warnings for many webpack 4 APIs.","type":"boolean"},"buildHttp":{"description":"Build http(s): urls using a lockfile and resource content cache.","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]},"cacheUnaffected":{"description":"Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"futureDefaults":{"description":"Apply defaults of next major version.","type":"boolean"},"layers":{"description":"Enable module layers.","type":"boolean"},"lazyCompilation":{"description":"Compile entrypoints and import()s only when they are accessed.","oneOf":[{"$ref":"#/definitions/LazyCompilationOptions"}]},"outputModule":{"description":"Allow output javascript files as module source type.","type":"boolean"},"syncWebAssembly":{"description":"Support WebAssembly as synchronous EcmaScript Module (outdated).","type":"boolean"},"topLevelAwait":{"description":"Allow using top-level-await in EcmaScript Modules.","type":"boolean"}}},"ExternalItem":{"description":"Specify dependency that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"description":"Every matched dependency becomes external.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An exact matched dependency becomes external. The same string is used as external dependency.","type":"string"},{"description":"If an dependency matches exactly a property of the object, the property value is used as dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItemValue"},"properties":{"byLayer":{"description":"Specify externals depending on the layer.","anyOf":[{"type":"object","additionalProperties":{"$ref":"#/definitions/ExternalItem"}},{"instanceof":"Function","tsType":"((layer: string | null) => ExternalItem)"}]}}},{"description":"The function is called on each dependency (`function(context, request, callback(err, result))`).","instanceof":"Function","tsType":"(((data: ExternalItemFunctionData, callback: (err?: Error, result?: ExternalItemValue) => void) => void) | ((data: ExternalItemFunctionData) => Promise))"}]},"ExternalItemFunctionData":{"description":"Data object passed as argument when a function is set for \'externals\'.","type":"object","additionalProperties":false,"properties":{"context":{"description":"The directory in which the request is placed.","type":"string"},"contextInfo":{"description":"Contextual information.","type":"object","tsType":"import(\'../lib/ModuleFactory\').ModuleFactoryCreateDataContextInfo"},"dependencyType":{"description":"The category of the referencing dependencies.","type":"string"},"getResolve":{"description":"Get a resolve function with the current resolver options.","instanceof":"Function","tsType":"((options?: ResolveOptions) => ((context: string, request: string, callback: (err?: Error, result?: string) => void) => void) | ((context: string, request: string) => Promise))"},"request":{"description":"The request as written by the user in the require/import expression/statement.","type":"string"}}},"ExternalItemValue":{"description":"The dependency used for the external.","anyOf":[{"type":"array","items":{"description":"A part of the target of the external.","type":"string","minLength":1}},{"description":"`true`: The dependency name is used as target of the external.","type":"boolean"},{"description":"The target of the external.","type":"string"},{"type":"object"}]},"Externals":{"description":"Specify dependencies that shouldn\'t be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.","anyOf":[{"type":"array","items":{"$ref":"#/definitions/ExternalItem"}},{"$ref":"#/definitions/ExternalItem"}]},"ExternalsPresets":{"description":"Enable presets of externals for specific targets.","type":"object","additionalProperties":false,"properties":{"electron":{"description":"Treat common electron built-in modules in main and preload context like \'electron\', \'ipc\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronMain":{"description":"Treat electron built-in modules in the main context like \'app\', \'ipc-main\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronPreload":{"description":"Treat electron built-in modules in the preload context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"electronRenderer":{"description":"Treat electron built-in modules in the renderer context like \'web-frame\', \'ipc-renderer\' or \'shell\' as external and load them via require() when used.","type":"boolean"},"node":{"description":"Treat node.js built-in modules like fs, path or vm as external and load them via require() when used.","type":"boolean"},"nwjs":{"description":"Treat NW.js legacy nw.gui module as external and load it via require() when used.","type":"boolean"},"web":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via import when used (Note that this changes execution order as externals are executed before any other code in the chunk).","type":"boolean"},"webAsync":{"description":"Treat references to \'http(s)://...\' and \'std:...\' as external and load them via async import() when used (Note that this external type is an async module, which has various effects on the execution).","type":"boolean"}}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"FileCacheOptions":{"description":"Options object for persistent file-based caching.","type":"object","additionalProperties":false,"properties":{"allowCollectingMemory":{"description":"Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.","type":"boolean"},"buildDependencies":{"description":"Dependencies the build depends on (in multiple categories, default categories: \'defaultWebpack\').","type":"object","additionalProperties":{"description":"List of dependencies the build depends on.","type":"array","items":{"description":"Request to a dependency (resolved as directory relative to the context directory).","type":"string","minLength":1}}},"cacheDirectory":{"description":"Base directory for the cache (defaults to node_modules/.cache/webpack).","type":"string","absolutePath":true},"cacheLocation":{"description":"Locations for the cache (defaults to cacheDirectory / name).","type":"string","absolutePath":true},"compression":{"description":"Compression type used for the cache files.","enum":[false,"gzip","brotli"]},"hashAlgorithm":{"description":"Algorithm used for generation the hash (see node.js crypto package).","type":"string"},"idleTimeout":{"description":"Time in ms after which idle period the cache storing should happen.","type":"number","minimum":0},"idleTimeoutAfterLargeChanges":{"description":"Time in ms after which idle period the cache storing should happen when larger changes has been detected (cumulative build time > 2 x avg cache store time).","type":"number","minimum":0},"idleTimeoutForInitialStore":{"description":"Time in ms after which idle period the initial cache storing should happen.","type":"number","minimum":0},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"maxAge":{"description":"Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).","type":"number","minimum":0},"maxMemoryGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.","type":"number","minimum":0},"memoryCacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.","type":"boolean"},"name":{"description":"Name for the cache. Different names will lead to different coexisting caches.","type":"string"},"profile":{"description":"Track and log detailed timing information for individual cache items.","type":"boolean"},"store":{"description":"When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).","enum":["pack"]},"type":{"description":"Filesystem caching.","enum":["filesystem"]},"version":{"description":"Version of the cache data. Different versions won\'t allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn\'t allow to reuse cache. This will invalidate the cache.","type":"string"}},"required":["type"]},"Filename":{"description":"Specifies the filename of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","oneOf":[{"$ref":"#/definitions/FilenameTemplate"}]},"FilenameTemplate":{"description":"Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by \'/\'! The specified path is joined with the value of the \'output.path\' option to determine the location on disk.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"FilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((value: string) => boolean)"}]},"FilterTypes":{"description":"Filtering values.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/FilterItemTypes"}]}},{"$ref":"#/definitions/FilterItemTypes"}]},"GeneratorOptionsByModuleType":{"description":"Specify options for each generator.","type":"object","additionalProperties":{"description":"Options for generating.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetGeneratorOptions"},"asset/inline":{"$ref":"#/definitions/AssetInlineGeneratorOptions"},"asset/resource":{"$ref":"#/definitions/AssetResourceGeneratorOptions"},"javascript":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/auto":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/dynamic":{"$ref":"#/definitions/EmptyGeneratorOptions"},"javascript/esm":{"$ref":"#/definitions/EmptyGeneratorOptions"}}},"GlobalObject":{"description":"An expression which is used to address the global object/scope in runtime code.","type":"string","minLength":1},"HashDigest":{"description":"Digest type used for the hash.","type":"string"},"HashDigestLength":{"description":"Number of chars which are used for the hash.","type":"number","minimum":1},"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../lib/util/Hash\')"}]},"HashSalt":{"description":"Any string which is added to the hash to salt it.","type":"string","minLength":1},"HotUpdateChunkFilename":{"description":"The filename of the Hot Update Chunks. They are inside the output.path directory.","type":"string","absolutePath":false},"HotUpdateGlobal":{"description":"The global variable used by webpack for loading of hot update chunks.","type":"string"},"HotUpdateMainFilename":{"description":"The filename of the Hot Update Main File. It is inside the \'output.path\' directory.","type":"string","absolutePath":false},"HttpUriAllowedUris":{"description":"List of allowed URIs for building http resources.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/HttpUriOptionsAllowedUris"}]},"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}},"IgnoreWarnings":{"description":"Ignore specific warnings.","type":"array","items":{"description":"Ignore specific warnings.","anyOf":[{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},{"type":"object","additionalProperties":false,"properties":{"file":{"description":"A RegExp to select the origin file for the warning.","instanceof":"RegExp","tsType":"RegExp"},"message":{"description":"A RegExp to select the warning message.","instanceof":"RegExp","tsType":"RegExp"},"module":{"description":"A RegExp to select the origin module for the warning.","instanceof":"RegExp","tsType":"RegExp"}}},{"description":"A custom function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}]}},"IgnoreWarningsNormalized":{"description":"Ignore specific warnings.","type":"array","items":{"description":"A function to select warnings based on the raw warning instance.","instanceof":"Function","tsType":"((warning: import(\'../lib/WebpackError\'), compilation: import(\'../lib/Compilation\')) => boolean)"}},"Iife":{"description":"Wrap javascript code into IIFE\'s to avoid leaking into global scope.","type":"boolean"},"ImportFunctionName":{"description":"The name of the native import() function (can be exchanged for a polyfill).","type":"string"},"ImportMetaName":{"description":"The name of the native import.meta object (can be exchanged for a polyfill).","type":"string"},"InfrastructureLogging":{"description":"Options for infrastructure level logging.","type":"object","additionalProperties":false,"properties":{"appendOnly":{"description":"Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.","type":"boolean"},"colors":{"description":"Enables/Disables colorful output. This option is only used when no custom console is provided.","type":"boolean"},"console":{"description":"Custom console used for logging.","tsType":"Console"},"debug":{"description":"Enable debug logging for specific loggers.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"level":{"description":"Log level.","enum":["none","error","warn","info","log","verbose"]},"stream":{"description":"Stream used for logging output. Defaults to process.stderr. This option is only used when no custom console is provided.","tsType":"NodeJS.WritableStream"}}},"JavascriptParserOptions":{"description":"Parser options for javascript modules.","type":"object","additionalProperties":true,"properties":{"amd":{"$ref":"#/definitions/Amd"},"browserify":{"description":"Enable/disable special handling for browserify bundles.","type":"boolean"},"commonjs":{"description":"Enable/disable parsing of CommonJs syntax.","type":"boolean"},"commonjsMagicComments":{"description":"Enable/disable parsing of magic comments in CommonJs syntax.","type":"boolean"},"exportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\" and \\"export ... from ...\\".","enum":["error","warn","auto",false]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies.","type":"string"},"harmony":{"description":"Enable/disable parsing of EcmaScript Modules syntax.","type":"boolean"},"import":{"description":"Enable/disable parsing of import() syntax.","type":"boolean"},"importExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"import ... from ...\\".","enum":["error","warn","auto",false]},"node":{"$ref":"#/definitions/Node"},"reexportExportsPresence":{"description":"Specifies the behavior of invalid export names in \\"export ... from ...\\". This might be useful to disable during the migration from \\"export ... from ...\\" to \\"export type ... from ...\\" when reexporting types in TypeScript.","enum":["error","warn","auto",false]},"requireContext":{"description":"Enable/disable parsing of require.context syntax.","type":"boolean"},"requireEnsure":{"description":"Enable/disable parsing of require.ensure syntax.","type":"boolean"},"requireInclude":{"description":"Enable/disable parsing of require.include syntax.","type":"boolean"},"requireJs":{"description":"Enable/disable parsing of require.js special syntax like require.config, requirejs.config, require.version and requirejs.onError.","type":"boolean"},"strictExportPresence":{"description":"Deprecated in favor of \\"exportsPresence\\". Emit errors instead of warnings when imported names don\'t exist in imported module.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects.","type":"boolean"},"system":{"description":"Enable/disable parsing of System.js special syntax like System.import, System.get, System.set and System.register.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way.","type":"string"},"url":{"description":"Enable/disable parsing of new URL() syntax.","anyOf":[{"enum":["relative"]},{"type":"boolean"}]},"worker":{"description":"Disable or configure parsing of WebWorker syntax like new Worker() or navigator.serviceWorker.register().","anyOf":[{"type":"array","items":{"description":"Specify a syntax that should be parsed as WebWorker reference. \'Abc\' handles \'new Abc()\', \'Abc from xyz\' handles \'import { Abc } from \\"xyz\\"; new Abc()\', \'abc()\' handles \'abc()\', and combinations are also possible.","type":"string","minLength":1}},{"type":"boolean"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies.","instanceof":"RegExp","tsType":"RegExp"}}},"Layer":{"description":"Specifies the layer in which modules of this entrypoint are placed.","anyOf":[{"enum":[null]},{"type":"string","minLength":1}]},"LazyCompilationDefaultBackendOptions":{"description":"Options for the default backend.","type":"object","additionalProperties":false,"properties":{"client":{"description":"A custom client.","type":"string"},"listen":{"description":"Specifies where to listen to from the server.","anyOf":[{"description":"A port.","type":"number"},{"description":"Listen options.","type":"object","additionalProperties":true,"properties":{"host":{"description":"A host.","type":"string"},"port":{"description":"A port.","type":"number"}},"tsType":"import(\\"net\\").ListenOptions"},{"description":"A custom listen function.","instanceof":"Function","tsType":"((server: import(\\"net\\").Server) => void)"}]},"protocol":{"description":"Specifies the protocol the client should use to connect to the server.","enum":["http","https"]},"server":{"description":"Specifies how to create the server handling the EventSource requests.","anyOf":[{"description":"ServerOptions for the http or https createServer call.","type":"object","additionalProperties":true,"properties":{},"tsType":"(import(\\"https\\").ServerOptions | import(\\"http\\").ServerOptions)"},{"description":"A custom create server function.","instanceof":"Function","tsType":"(() => import(\\"net\\").Server)"}]}}},"LazyCompilationOptions":{"description":"Options for compiling entrypoints and import()s only when they are accessed.","type":"object","additionalProperties":false,"properties":{"backend":{"description":"Specifies the backend that should be used for handling client keep alive.","anyOf":[{"description":"A custom backend.","instanceof":"Function","tsType":"(((compiler: import(\'../lib/Compiler\'), callback: (err?: Error, api?: import(\\"../lib/hmr/LazyCompilationPlugin\\").BackendApi) => void) => void) | ((compiler: import(\'../lib/Compiler\')) => Promise))"},{"$ref":"#/definitions/LazyCompilationDefaultBackendOptions"}]},"entries":{"description":"Enable/disable lazy compilation for entries.","type":"boolean"},"imports":{"description":"Enable/disable lazy compilation for import() modules.","type":"boolean"},"test":{"description":"Specify which entrypoints or import()ed modules should be lazily compiled. This is matched with the imported module and not the entrypoint name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => boolean)"}]}}},"Library":{"description":"Make the output files a library, exporting the exports of the entry point.","anyOf":[{"$ref":"#/definitions/LibraryName"},{"$ref":"#/definitions/LibraryOptions"}]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Loader":{"description":"Custom values available in the loader context.","type":"object"},"MemoryCacheOptions":{"description":"Options object for in-memory caching.","type":"object","additionalProperties":false,"properties":{"cacheUnaffected":{"description":"Additionally cache computation of modules that are unchanged and reference only unchanged modules.","type":"boolean"},"maxGenerations":{"description":"Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).","type":"number","minimum":1},"type":{"description":"In memory caching.","enum":["memory"]}},"required":["type"]},"Mode":{"description":"Enable production optimizations or development hints.","enum":["development","production","none"]},"ModuleFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((name: string, module: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsModule, type: \'module\' | \'chunk\' | \'root-of-chunk\' | \'nested\') => boolean)"}]},"ModuleFilterTypes":{"description":"Filtering modules.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/ModuleFilterItemTypes"}]}},{"$ref":"#/definitions/ModuleFilterItemTypes"}]},"ModuleOptions":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"exprContextCritical":{"description":"Enable warnings for full dynamic dependencies.","type":"boolean"},"exprContextRecursive":{"description":"Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRecursive\'.","type":"boolean"},"exprContextRegExp":{"description":"Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"exprContextRequest":{"description":"Set the default request for full dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.exprContextRequest\'.","type":"string"},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"strictExportPresence":{"description":"Emit errors instead of warnings when imported names don\'t exist in imported module. Deprecated: This option has moved to \'module.parser.javascript.strictExportPresence\'.","type":"boolean"},"strictThisContextOnImports":{"description":"Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to \'module.parser.javascript.strictThisContextOnImports\'.","type":"boolean"},"unknownContextCritical":{"description":"Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextCritical\'.","type":"boolean"},"unknownContextRecursive":{"description":"Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRecursive\'.","type":"boolean"},"unknownContextRegExp":{"description":"Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRegExp\'.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"boolean"}]},"unknownContextRequest":{"description":"Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to \'module.parser.javascript.unknownContextRequest\'.","type":"string"},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]},"wrappedContextCritical":{"description":"Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextCritical\'.","type":"boolean"},"wrappedContextRecursive":{"description":"Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRecursive\'.","type":"boolean"},"wrappedContextRegExp":{"description":"Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to \'module.parser.javascript.wrappedContextRegExp\'.","instanceof":"RegExp","tsType":"RegExp"}}},"ModuleOptionsNormalized":{"description":"Options affecting the normal modules (`NormalModuleFactory`).","type":"object","additionalProperties":false,"properties":{"defaultRules":{"description":"An array of rules applied by default for modules.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"generator":{"$ref":"#/definitions/GeneratorOptionsByModuleType"},"noParse":{"$ref":"#/definitions/NoParse"},"parser":{"$ref":"#/definitions/ParserOptionsByModuleType"},"rules":{"description":"An array of rules applied for modules.","oneOf":[{"$ref":"#/definitions/RuleSetRules"}]},"unsafeCache":{"description":"Cache the resolving of module requests.","anyOf":[{"type":"boolean"},{"instanceof":"Function","tsType":"Function"}]}},"required":["defaultRules","generator","parser","rules"]},"Name":{"description":"Name of the configuration. Used when loading multiple configurations.","type":"string"},"NoParse":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"type":"array","items":{"description":"Don\'t parse files matching. It\'s matched against the full resolved request.","anyOf":[{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"minItems":1},{"description":"A regular expression, when matched the module is not parsed.","instanceof":"RegExp","tsType":"RegExp"},{"description":"An absolute path, when the module starts with this path it is not parsed.","type":"string","absolutePath":true},{"instanceof":"Function","tsType":"Function"}]},"Node":{"description":"Include polyfills or mocks for various node stuff.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/NodeOptions"}]},"NodeOptions":{"description":"Options object for node compatibility features.","type":"object","additionalProperties":false,"properties":{"__dirname":{"description":"Include a polyfill for the \'__dirname\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"__filename":{"description":"Include a polyfill for the \'__filename\' variable.","enum":[false,true,"warn-mock","mock","eval-only"]},"global":{"description":"Include a polyfill for the \'global\' variable.","enum":[false,true,"warn"]}}},"Optimization":{"description":"Enables/Disables integrated optimizations.","type":"object","additionalProperties":false,"properties":{"checkWasmTypes":{"description":"Check for incompatible wasm types when importing/exporting from/to ESM.","type":"boolean"},"chunkIds":{"description":"Define the algorithm to choose chunk ids (named: readable ids for better debugging, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, total-size: numeric ids focused on minimal total download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","deterministic","size","total-size",false]},"concatenateModules":{"description":"Concatenate modules when possible to generate less modules, more efficient code and enable more optimizations by the minimizer.","type":"boolean"},"emitOnErrors":{"description":"Emit assets even when errors occur. Critical errors are emitted into the generated code and will cause errors at runtime.","type":"boolean"},"flagIncludedChunks":{"description":"Also flag chunks as loaded which contain a subset of the modules.","type":"boolean"},"innerGraph":{"description":"Creates a module-internal dependency graph for top level symbols, exports and imports, to improve unused exports detection.","type":"boolean"},"mangleExports":{"description":"Rename exports when possible to generate shorter code (depends on optimization.usedExports and optimization.providedExports, true/\\"deterministic\\": generate short deterministic names optimized for caching, \\"size\\": generate the shortest possible names).","anyOf":[{"enum":["size","deterministic"]},{"type":"boolean"}]},"mangleWasmImports":{"description":"Reduce size of WASM by changing imports to shorter strings.","type":"boolean"},"mergeDuplicateChunks":{"description":"Merge chunks which contain the same modules.","type":"boolean"},"minimize":{"description":"Enable minimizing the output. Uses optimization.minimizer.","type":"boolean"},"minimizer":{"description":"Minimizer(s) to use for minimizing the output.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"moduleIds":{"description":"Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).","enum":["natural","named","hashed","deterministic","size",false]},"noEmitOnErrors":{"description":"Avoid emitting assets when errors occur (deprecated: use \'emitOnErrors\' instead).","type":"boolean","cli":{"exclude":true}},"nodeEnv":{"description":"Set process.env.NODE_ENV to a specific value.","anyOf":[{"enum":[false]},{"type":"string"}]},"portableRecords":{"description":"Generate records with relative paths to be able to move the context folder.","type":"boolean"},"providedExports":{"description":"Figure out which exports are provided by modules to generate more efficient code.","type":"boolean"},"realContentHash":{"description":"Use real [contenthash] based on final content of the assets.","type":"boolean"},"removeAvailableModules":{"description":"Removes modules from chunks when these modules are already included in all parents.","type":"boolean"},"removeEmptyChunks":{"description":"Remove chunks which are empty.","type":"boolean"},"runtimeChunk":{"$ref":"#/definitions/OptimizationRuntimeChunk"},"sideEffects":{"description":"Skip over modules which contain no side effects when exports are not used (false: disabled, \'flag\': only use manually placed side effects flag, true: also analyse source code for side effects).","anyOf":[{"enum":["flag"]},{"type":"boolean"}]},"splitChunks":{"description":"Optimize duplication and caching by splitting chunks by shared modules and cache group.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/OptimizationSplitChunksOptions"}]},"usedExports":{"description":"Figure out which exports are used by modules to mangle export names, omit unused exports and generate more efficient code (true: analyse used exports for each runtime, \\"global\\": analyse exports globally for all runtimes combined).","anyOf":[{"enum":["global"]},{"type":"boolean"}]}}},"OptimizationRuntimeChunk":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":["single","multiple"]},{"type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name or name factory for the runtime chunks.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}}}]},"OptimizationRuntimeChunkNormalized":{"description":"Create an additional chunk which contains only the webpack runtime and chunk hash maps.","anyOf":[{"enum":[false]},{"type":"object","additionalProperties":false,"properties":{"name":{"description":"The name factory for the runtime chunks.","instanceof":"Function","tsType":"Function"}}}]},"OptimizationSplitChunksCacheGroup":{"description":"Options object for describing behavior of a cache group selecting modules that should be cached together.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining cache group content (defaults to \\"initial\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"enforce":{"description":"Ignore minimum size, minimum chunks and maximum requests and always create chunks for this cache group.","type":"boolean"},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"idHint":{"description":"Sets the hint for chunk id.","type":"string"},"layer":{"description":"Assign modules to a cache group by module layer.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks for this cache group a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"priority":{"description":"Priority of this cache group.","type":"number"},"reuseExistingChunk":{"description":"Try to reuse existing chunk (with name) when it has matching modules.","type":"boolean"},"test":{"description":"Assign modules to a cache group by module name.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"type":{"description":"Assign modules to a cache group by module type.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksGetCacheGroups":{"description":"A function returning cache groups.","instanceof":"Function","tsType":"((module: import(\'../lib/Module\')) => OptimizationSplitChunksCacheGroup | OptimizationSplitChunksCacheGroup[] | void)"},"OptimizationSplitChunksOptions":{"description":"Options object for splitting chunks into smaller chunks.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"cacheGroups":{"description":"Assign modules to a cache group (modules from different cache groups are tried to keep in separate chunks, default categories: \'default\', \'defaultVendors\').","type":"object","additionalProperties":{"description":"Configuration for a cache group.","anyOf":[{"enum":[false]},{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"},{"$ref":"#/definitions/OptimizationSplitChunksCacheGroup"}]},"not":{"description":"Using the cacheGroup shorthand syntax with a cache group named \'test\' is a potential config error\\nDid you intent to define a cache group with a test instead?\\ncacheGroups: {\\n : {\\n test: ...\\n }\\n}.","type":"object","additionalProperties":true,"properties":{"test":{"description":"The test property is a cache group name, but using the test option of the cache group could be intended instead.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]}},"required":["test"]}},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"defaultSizeTypes":{"description":"Sets the size types which are used when a number is used for sizes.","type":"array","items":{"description":"Size type, like \'javascript\', \'webassembly\'.","type":"string"},"minItems":1},"enforceSizeThreshold":{"description":"Size threshold at which splitting is enforced and other restrictions (minRemainingSize, maxAsyncRequests, maxInitialRequests) are ignored.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"fallbackCacheGroup":{"description":"Options for modules not selected by any other cache group.","type":"object","additionalProperties":false,"properties":{"automaticNameDelimiter":{"description":"Sets the name delimiter for created chunks.","type":"string","minLength":1},"chunks":{"description":"Select chunks for determining shared modules (defaults to \\"async\\", \\"initial\\" and \\"all\\" requires adding these chunks to the HTML).","anyOf":[{"enum":["initial","async","all"]},{"instanceof":"Function","tsType":"((chunk: import(\'../lib/Chunk\')) => boolean)"}]},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]}}},"filename":{"description":"Sets the template for the filename for created chunks.","anyOf":[{"type":"string","absolutePath":false,"minLength":1},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"hidePathInfo":{"description":"Prevents exposing path info when creating names for parts splitted by maxSize.","type":"boolean"},"maxAsyncRequests":{"description":"Maximum number of requests which are accepted for on-demand loading.","type":"number","minimum":1},"maxAsyncSize":{"description":"Maximal size hint for the on-demand chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxInitialRequests":{"description":"Maximum number of initial chunks which are accepted for an entry point.","type":"number","minimum":1},"maxInitialSize":{"description":"Maximal size hint for the initial chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"maxSize":{"description":"Maximal size hint for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minChunks":{"description":"Minimum number of times a module has to be duplicated until it\'s considered for splitting.","type":"number","minimum":1},"minRemainingSize":{"description":"Minimal size for the chunks the stay after moving the modules to a new chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSize":{"description":"Minimal size for the created chunks.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"minSizeReduction":{"description":"Minimum size reduction due to the created chunk.","oneOf":[{"$ref":"#/definitions/OptimizationSplitChunksSizes"}]},"name":{"description":"Give chunks created a name (chunks with equal name are merged).","anyOf":[{"enum":[false]},{"type":"string"},{"instanceof":"Function","tsType":"Function"}]},"usedExports":{"description":"Compare used exports when checking common modules. Modules will only be put in the same chunk when exports are equal.","type":"boolean"}}},"OptimizationSplitChunksSizes":{"description":"Size description for limits.","anyOf":[{"description":"Size of the javascript part of the chunk.","type":"number","minimum":0},{"description":"Specify size limits per size type.","type":"object","additionalProperties":{"description":"Size of the part of the chunk with the type of the key.","type":"number"}}]},"Output":{"description":"Options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"auxiliaryComment":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/AuxiliaryComment"}]},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/Library"},"libraryExport":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryExport"}]},"libraryTarget":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/LibraryType"}]},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks. \'output.uniqueName\' is used a default policy name. Passing a string sets a custom policy name.","anyOf":[{"enum":[true]},{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1},{"$ref":"#/definitions/TrustedTypes"}]},"umdNamedDefine":{"cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/UmdNamedDefine"}]},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"OutputModule":{"description":"Output javascript files as module source type.","type":"boolean"},"OutputNormalized":{"description":"Normalized options affecting the output of the compilation. `output` options tell webpack how to write the compiled files to disk.","type":"object","additionalProperties":false,"properties":{"assetModuleFilename":{"$ref":"#/definitions/AssetModuleFilename"},"charset":{"$ref":"#/definitions/Charset"},"chunkFilename":{"$ref":"#/definitions/ChunkFilename"},"chunkFormat":{"$ref":"#/definitions/ChunkFormat"},"chunkLoadTimeout":{"$ref":"#/definitions/ChunkLoadTimeout"},"chunkLoading":{"$ref":"#/definitions/ChunkLoading"},"chunkLoadingGlobal":{"$ref":"#/definitions/ChunkLoadingGlobal"},"clean":{"$ref":"#/definitions/Clean"},"compareBeforeEmit":{"$ref":"#/definitions/CompareBeforeEmit"},"crossOriginLoading":{"$ref":"#/definitions/CrossOriginLoading"},"devtoolFallbackModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolFallbackModuleFilenameTemplate"},"devtoolModuleFilenameTemplate":{"$ref":"#/definitions/DevtoolModuleFilenameTemplate"},"devtoolNamespace":{"$ref":"#/definitions/DevtoolNamespace"},"enabledChunkLoadingTypes":{"$ref":"#/definitions/EnabledChunkLoadingTypes"},"enabledLibraryTypes":{"$ref":"#/definitions/EnabledLibraryTypes"},"enabledWasmLoadingTypes":{"$ref":"#/definitions/EnabledWasmLoadingTypes"},"environment":{"$ref":"#/definitions/Environment"},"filename":{"$ref":"#/definitions/Filename"},"globalObject":{"$ref":"#/definitions/GlobalObject"},"hashDigest":{"$ref":"#/definitions/HashDigest"},"hashDigestLength":{"$ref":"#/definitions/HashDigestLength"},"hashFunction":{"$ref":"#/definitions/HashFunction"},"hashSalt":{"$ref":"#/definitions/HashSalt"},"hotUpdateChunkFilename":{"$ref":"#/definitions/HotUpdateChunkFilename"},"hotUpdateGlobal":{"$ref":"#/definitions/HotUpdateGlobal"},"hotUpdateMainFilename":{"$ref":"#/definitions/HotUpdateMainFilename"},"iife":{"$ref":"#/definitions/Iife"},"importFunctionName":{"$ref":"#/definitions/ImportFunctionName"},"importMetaName":{"$ref":"#/definitions/ImportMetaName"},"library":{"$ref":"#/definitions/LibraryOptions"},"module":{"$ref":"#/definitions/OutputModule"},"path":{"$ref":"#/definitions/Path"},"pathinfo":{"$ref":"#/definitions/Pathinfo"},"publicPath":{"$ref":"#/definitions/PublicPath"},"scriptType":{"$ref":"#/definitions/ScriptType"},"sourceMapFilename":{"$ref":"#/definitions/SourceMapFilename"},"sourcePrefix":{"$ref":"#/definitions/SourcePrefix"},"strictModuleErrorHandling":{"$ref":"#/definitions/StrictModuleErrorHandling"},"strictModuleExceptionHandling":{"$ref":"#/definitions/StrictModuleExceptionHandling"},"trustedTypes":{"$ref":"#/definitions/TrustedTypes"},"uniqueName":{"$ref":"#/definitions/UniqueName"},"wasmLoading":{"$ref":"#/definitions/WasmLoading"},"webassemblyModuleFilename":{"$ref":"#/definitions/WebassemblyModuleFilename"},"workerChunkLoading":{"$ref":"#/definitions/ChunkLoading"},"workerWasmLoading":{"$ref":"#/definitions/WasmLoading"}}},"Parallelism":{"description":"The number of parallel processed modules in the compilation.","type":"number","minimum":1},"ParserOptionsByModuleType":{"description":"Specify options for each parser.","type":"object","additionalProperties":{"description":"Options for parsing.","type":"object","additionalProperties":true},"properties":{"asset":{"$ref":"#/definitions/AssetParserOptions"},"asset/inline":{"$ref":"#/definitions/EmptyParserOptions"},"asset/resource":{"$ref":"#/definitions/EmptyParserOptions"},"asset/source":{"$ref":"#/definitions/EmptyParserOptions"},"javascript":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/auto":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/dynamic":{"$ref":"#/definitions/JavascriptParserOptions"},"javascript/esm":{"$ref":"#/definitions/JavascriptParserOptions"}}},"Path":{"description":"The output directory as **absolute path** (required).","type":"string","absolutePath":true},"Pathinfo":{"description":"Include comments with information about the modules.","anyOf":[{"enum":["verbose"]},{"type":"boolean"}]},"Performance":{"description":"Configuration for web performance recommendations.","anyOf":[{"enum":[false]},{"$ref":"#/definitions/PerformanceOptions"}]},"PerformanceOptions":{"description":"Configuration object for web performance recommendations.","type":"object","additionalProperties":false,"properties":{"assetFilter":{"description":"Filter function to select assets that are checked.","instanceof":"Function","tsType":"Function"},"hints":{"description":"Sets the format of the hints: warnings, errors or nothing at all.","enum":[false,"warning","error"]},"maxAssetSize":{"description":"File size limit (in bytes) when exceeded, that webpack will provide performance hints.","type":"number"},"maxEntrypointSize":{"description":"Total size of an entry point (in bytes).","type":"number"}}},"Plugins":{"description":"Add additional plugins to the compiler.","type":"array","items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"$ref":"#/definitions/WebpackPluginInstance"},{"$ref":"#/definitions/WebpackPluginFunction"}]}},"Profile":{"description":"Capture timing information for each module.","type":"boolean"},"PublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"enum":["auto"]},{"$ref":"#/definitions/RawPublicPath"}]},"RawPublicPath":{"description":"The \'publicPath\' specifies the public URL address of the output files when referenced in a browser.","anyOf":[{"type":"string"},{"instanceof":"Function","tsType":"((pathData: import(\\"../lib/Compilation\\").PathData, assetInfo?: import(\\"../lib/Compilation\\").AssetInfo) => string)"}]},"RecordsInputPath":{"description":"Store compiler state to a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsOutputPath":{"description":"Load compiler state from a json file.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"RecordsPath":{"description":"Store/Load compiler state from/to a json file. This will result in persistent ids of modules and chunks. An absolute path is expected. `recordsPath` is used for `recordsInputPath` and `recordsOutputPath` if they left undefined.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"Resolve":{"description":"Options for the resolver.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveAlias":{"description":"Redirect module requests.","anyOf":[{"type":"array","items":{"description":"Alias configuration.","type":"object","additionalProperties":false,"properties":{"alias":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]},"name":{"description":"Request to be redirected.","type":"string"},"onlyModule":{"description":"Redirect only exact matching request.","type":"boolean"}},"required":["alias","name"]}},{"type":"object","additionalProperties":{"description":"New request.","anyOf":[{"description":"Multiple alternative requests.","type":"array","items":{"description":"One choice of request.","type":"string","minLength":1}},{"description":"Ignore request (replace with empty module).","enum":[false]},{"description":"New request.","type":"string","minLength":1}]}}]},"ResolveLoader":{"description":"Options for the resolver when resolving loaders.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"ResolveOptions":{"description":"Options object for resolving requests.","type":"object","additionalProperties":false,"properties":{"alias":{"$ref":"#/definitions/ResolveAlias"},"aliasFields":{"description":"Fields in the description file (usually package.json) which are used to redirect requests inside the module.","type":"array","items":{"description":"Field in the description file (usually package.json) which are used to redirect requests inside the module.","anyOf":[{"type":"array","items":{"description":"Part of the field path in the description file (usually package.json) which are used to redirect requests inside the module.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"byDependency":{"description":"Extra resolve options per dependency category. Typical categories are \\"commonjs\\", \\"amd\\", \\"esm\\".","type":"object","additionalProperties":{"description":"Options object for resolving requests.","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]}},"cache":{"description":"Enable caching of successfully resolved requests (cache entries are revalidated).","type":"boolean"},"cachePredicate":{"description":"Predicate function to decide which requests should be cached.","instanceof":"Function","tsType":"((request: import(\'enhanced-resolve\').ResolveRequest) => boolean)"},"cacheWithContext":{"description":"Include the context information in the cache identifier when caching.","type":"boolean"},"conditionNames":{"description":"Condition names for exports field entry point.","type":"array","items":{"description":"Condition names for exports field entry point.","type":"string"}},"descriptionFiles":{"description":"Filenames used to find a description file (like a package.json).","type":"array","items":{"description":"Filename used to find a description file (like a package.json).","type":"string","minLength":1}},"enforceExtension":{"description":"Enforce the resolver to use one of the extensions from the extensions option (User must specify requests without extension).","type":"boolean"},"exportsFields":{"description":"Field names from the description file (usually package.json) which are used to provide entry points of a package.","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide entry points of a package.","type":"string"}},"extensions":{"description":"Extensions added to the request when trying to find the file.","type":"array","items":{"description":"Extension added to the request when trying to find the file.","type":"string"}},"fallback":{"description":"Redirect module requests when normal resolving fails.","oneOf":[{"$ref":"#/definitions/ResolveAlias"}]},"fileSystem":{"description":"Filesystem for the resolver.","tsType":"(import(\'../lib/util/fs\').InputFileSystem)"},"fullySpecified":{"description":"Treats the request specified by the user as fully specified, meaning no extensions are added and the mainFiles in directories are not resolved (This doesn\'t affect requests from mainFields, aliasFields or aliases).","type":"boolean"},"importsFields":{"description":"Field names from the description file (usually package.json) which are used to provide internal request of a package (requests starting with # are considered as internal).","type":"array","items":{"description":"Field name from the description file (usually package.json) which is used to provide internal request of a package (requests starting with # are considered as internal).","type":"string"}},"mainFields":{"description":"Field names from the description file (package.json) which are used to find the default entry point.","type":"array","items":{"description":"Field name from the description file (package.json) which are used to find the default entry point.","anyOf":[{"type":"array","items":{"description":"Part of the field path from the description file (package.json) which are used to find the default entry point.","type":"string","minLength":1}},{"type":"string","minLength":1}]}},"mainFiles":{"description":"Filenames used to find the default entry point if there is no description file or main field.","type":"array","items":{"description":"Filename used to find the default entry point if there is no description file or main field.","type":"string","minLength":1}},"modules":{"description":"Folder names or directory paths where to find modules.","type":"array","items":{"description":"Folder name or directory path where to find modules.","type":"string","minLength":1}},"plugins":{"description":"Plugins for the resolver.","type":"array","cli":{"exclude":true},"items":{"description":"Plugin of type object or instanceof Function.","anyOf":[{"enum":["..."]},{"$ref":"#/definitions/ResolvePluginInstance"}]}},"preferAbsolute":{"description":"Prefer to resolve server-relative URLs (starting with \'/\') as absolute paths before falling back to resolve in \'resolve.roots\'.","type":"boolean"},"preferRelative":{"description":"Prefer to resolve module requests as relative request and fallback to resolving as module.","type":"boolean"},"resolver":{"description":"Custom resolver.","tsType":"(import(\'enhanced-resolve\').Resolver)"},"restrictions":{"description":"A list of resolve restrictions. Resolve results must fulfill all of these restrictions to resolve successfully. Other resolve paths are taken when restrictions are not met.","type":"array","items":{"description":"Resolve restriction. Resolve result must fulfill this restriction.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true,"minLength":1}]}},"roots":{"description":"A list of directories in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"array","items":{"description":"Directory in which requests that are server-relative URLs (starting with \'/\') are resolved.","type":"string"}},"symlinks":{"description":"Enable resolving symlinks to the original location.","type":"boolean"},"unsafeCache":{"description":"Enable caching of successfully resolved requests (cache entries are not revalidated).","anyOf":[{"type":"boolean"},{"type":"object","additionalProperties":true}]},"useSyncFileSystemCalls":{"description":"Use synchronous filesystem calls for the resolver.","type":"boolean"}}},"ResolvePluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(resolver: import(\'enhanced-resolve\').Resolver) => void"}},"required":["apply"]},"RuleSetCondition":{"description":"A condition matcher.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditions"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionAbsolute":{"description":"A condition matcher matching an absolute path.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":true},{"instanceof":"Function","tsType":"((value: string) => boolean)"},{"$ref":"#/definitions/RuleSetLogicalConditionsAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditionOrConditions":{"description":"One or multiple rule conditions.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetCondition"},{"$ref":"#/definitions/RuleSetConditions"}]},"RuleSetConditionOrConditionsAbsolute":{"description":"One or multiple rule conditions matching an absolute path.","cli":{"helper":true},"anyOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"},{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"RuleSetConditions":{"description":"A list of rule conditions.","type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]}},"RuleSetConditionsAbsolute":{"description":"A list of rule conditions matching an absolute path.","type":"array","items":{"description":"A rule condition matching an absolute path.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]}},"RuleSetLoader":{"description":"A loader request.","type":"string","minLength":1},"RuleSetLoaderOptions":{"description":"Options passed to a loader.","anyOf":[{"type":"string"},{"type":"object"}]},"RuleSetLogicalConditions":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetCondition"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditions"}]}}},"RuleSetLogicalConditionsAbsolute":{"description":"Logic operators used in a condition matcher.","type":"object","additionalProperties":false,"properties":{"and":{"description":"Logical AND.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]},"not":{"description":"Logical NOT.","oneOf":[{"$ref":"#/definitions/RuleSetConditionAbsolute"}]},"or":{"description":"Logical OR.","oneOf":[{"$ref":"#/definitions/RuleSetConditionsAbsolute"}]}}},"RuleSetRule":{"description":"A rule description with conditions and effects for modules.","type":"object","additionalProperties":false,"properties":{"assert":{"description":"Match on import assertions of the dependency.","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"compiler":{"description":"Match the child compiler name.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"dependency":{"description":"Match dependency type.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"descriptionData":{"description":"Match values of properties in the description file (usually package.json).","type":"object","additionalProperties":{"$ref":"#/definitions/RuleSetConditionOrConditions"}},"enforce":{"description":"Enforce this rule as pre or post step.","enum":["pre","post"]},"exclude":{"description":"Shortcut for resource.exclude.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"generator":{"description":"The options for the module generator.","type":"object"},"include":{"description":"Shortcut for resource.include.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuer":{"description":"Match the issuer of the module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"issuerLayer":{"description":"Match layer of the issuer of this module (The module pointing to this module).","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"layer":{"description":"Specifies the layer in which the module should be placed in.","type":"string"},"loader":{"description":"Shortcut for use.loader.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"mimetype":{"description":"Match module mimetype when load from Data URI.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"oneOf":{"description":"Only execute the first matching rule in this array.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"options":{"description":"Shortcut for use.options.","cli":{"exclude":true},"oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]},"parser":{"description":"Options for parsing.","type":"object","additionalProperties":true},"realResource":{"description":"Match the real resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resolve":{"description":"Options for the resolver.","type":"object","oneOf":[{"$ref":"#/definitions/ResolveOptions"}]},"resource":{"description":"Match the resource path of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"resourceFragment":{"description":"Match the resource fragment of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"resourceQuery":{"description":"Match the resource query of the module.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"rules":{"description":"Match and execute these rules when this rule is matched.","type":"array","items":{"description":"A rule.","oneOf":[{"$ref":"#/definitions/RuleSetRule"}]}},"scheme":{"description":"Match module scheme.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditions"}]},"sideEffects":{"description":"Flags a module as with or without side effects.","type":"boolean"},"test":{"description":"Shortcut for resource.test.","oneOf":[{"$ref":"#/definitions/RuleSetConditionOrConditionsAbsolute"}]},"type":{"description":"Module type to use for the module.","type":"string"},"use":{"description":"Modifiers applied to the module when rule is matched.","oneOf":[{"$ref":"#/definitions/RuleSetUse"}]}}},"RuleSetRules":{"description":"A list of rules.","type":"array","items":{"description":"A rule.","anyOf":[{"cli":{"exclude":true},"enum":["..."]},{"$ref":"#/definitions/RuleSetRule"}]}},"RuleSetUse":{"description":"A list of descriptions of loaders applied.","anyOf":[{"type":"array","items":{"description":"An use item.","oneOf":[{"$ref":"#/definitions/RuleSetUseItem"}]}},{"instanceof":"Function","tsType":"((data: { resource: string, realResource: string, resourceQuery: string, issuer: string, compiler: string }) => RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetUseItem"}]},"RuleSetUseItem":{"description":"A description of an applied loader.","anyOf":[{"type":"object","additionalProperties":false,"properties":{"ident":{"description":"Unique loader options identifier.","type":"string"},"loader":{"description":"Loader name.","oneOf":[{"$ref":"#/definitions/RuleSetLoader"}]},"options":{"description":"Loader options.","oneOf":[{"$ref":"#/definitions/RuleSetLoaderOptions"}]}}},{"instanceof":"Function","tsType":"((data: object) => RuleSetUseItem|RuleSetUseItem[])"},{"$ref":"#/definitions/RuleSetLoader"}]},"ScriptType":{"description":"This option enables loading async chunks via a custom script type, such as script type=\\"module\\".","enum":[false,"text/javascript","module"]},"SnapshotOptions":{"description":"Options affecting how file system snapshots are created and validated.","type":"object","additionalProperties":false,"properties":{"buildDependencies":{"description":"Options for snapshotting build dependencies to determine if the whole cache need to be invalidated.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"immutablePaths":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","type":"array","items":{"description":"List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.","anyOf":[{"description":"A RegExp matching an immutable directory (usually a package manager cache directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to an immutable directory (usually a package manager cache directory).","type":"string","absolutePath":true,"minLength":1}]}},"managedPaths":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","type":"array","items":{"description":"List of paths that are managed by a package manager and can be trusted to not be modified otherwise.","anyOf":[{"description":"A RegExp matching a managed directory (usually a node_modules directory, including the tailing slash)","instanceof":"RegExp","tsType":"RegExp"},{"description":"A path to a managed directory (usually a node_modules directory).","type":"string","absolutePath":true,"minLength":1}]}},"module":{"description":"Options for snapshotting dependencies of modules to determine if they need to be built again.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolve":{"description":"Options for snapshotting dependencies of request resolving to determine if requests need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}},"resolveBuildDependencies":{"description":"Options for snapshotting the resolving of build dependencies to determine if the build dependencies need to be re-resolved.","type":"object","additionalProperties":false,"properties":{"hash":{"description":"Use hashes of the content of the files/directories to determine invalidation.","type":"boolean"},"timestamp":{"description":"Use timestamps of the files/directories to determine invalidation.","type":"boolean"}}}}},"SourceMapFilename":{"description":"The filename of the SourceMaps for the JavaScript files. They are inside the \'output.path\' directory.","type":"string","absolutePath":false},"SourcePrefix":{"description":"Prefixes every line of the source in the bundle with this string.","type":"string"},"StatsOptions":{"description":"Stats options object.","type":"object","additionalProperties":false,"properties":{"all":{"description":"Fallback value for stats options when an option is not defined (has precedence over local webpack defaults).","type":"boolean"},"assets":{"description":"Add assets information.","type":"boolean"},"assetsSort":{"description":"Sort the assets by that field.","type":"string"},"assetsSpace":{"description":"Space to display assets (groups will be collapsed to fit this space).","type":"number"},"builtAt":{"description":"Add built at time information.","type":"boolean"},"cached":{"description":"Add information about cached (not built) modules (deprecated: use \'cachedModules\' instead).","type":"boolean"},"cachedAssets":{"description":"Show cached assets (setting this to `false` only shows emitted files).","type":"boolean"},"cachedModules":{"description":"Add information about cached (not built) modules.","type":"boolean"},"children":{"description":"Add children information.","type":"boolean"},"chunkGroupAuxiliary":{"description":"Display auxiliary assets in chunk groups.","type":"boolean"},"chunkGroupChildren":{"description":"Display children of chunk groups.","type":"boolean"},"chunkGroupMaxAssets":{"description":"Limit of assets displayed in chunk groups.","type":"number"},"chunkGroups":{"description":"Display all chunk groups with the corresponding bundles.","type":"boolean"},"chunkModules":{"description":"Add built modules information to chunk information.","type":"boolean"},"chunkModulesSpace":{"description":"Space to display chunk modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"chunkOrigins":{"description":"Add the origins of chunks and chunk merging info.","type":"boolean"},"chunkRelations":{"description":"Add information about parent, children and sibling chunks to chunk information.","type":"boolean"},"chunks":{"description":"Add chunk information.","type":"boolean"},"chunksSort":{"description":"Sort the chunks by that field.","type":"string"},"colors":{"description":"Enables/Disables colorful output.","anyOf":[{"description":"Enables/Disables colorful output.","type":"boolean"},{"type":"object","additionalProperties":false,"properties":{"bold":{"description":"Custom color for bold text.","type":"string"},"cyan":{"description":"Custom color for cyan text.","type":"string"},"green":{"description":"Custom color for green text.","type":"string"},"magenta":{"description":"Custom color for magenta text.","type":"string"},"red":{"description":"Custom color for red text.","type":"string"},"yellow":{"description":"Custom color for yellow text.","type":"string"}}}]},"context":{"description":"Context directory for request shortening.","type":"string","absolutePath":true},"dependentModules":{"description":"Show chunk modules that are dependencies of other modules of the chunk.","type":"boolean"},"depth":{"description":"Add module depth in module graph.","type":"boolean"},"entrypoints":{"description":"Display the entry points with the corresponding bundles.","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"env":{"description":"Add --env information.","type":"boolean"},"errorDetails":{"description":"Add details to errors (like resolving log).","anyOf":[{"enum":["auto"]},{"type":"boolean"}]},"errorStack":{"description":"Add internal stack trace to errors.","type":"boolean"},"errors":{"description":"Add errors.","type":"boolean"},"errorsCount":{"description":"Add errors count.","type":"boolean"},"exclude":{"description":"Please use excludeModules instead.","cli":{"exclude":true},"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"excludeAssets":{"description":"Suppress assets that match the specified filters. Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/AssetFilterTypes"}]},"excludeModules":{"description":"Suppress modules that match the specified filters. Filters can be Strings, RegExps, Booleans or Functions.","anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ModuleFilterTypes"}]},"groupAssetsByChunk":{"description":"Group assets by how their are related to chunks.","type":"boolean"},"groupAssetsByEmitStatus":{"description":"Group assets by their status (emitted, compared for emit or cached).","type":"boolean"},"groupAssetsByExtension":{"description":"Group assets by their extension.","type":"boolean"},"groupAssetsByInfo":{"description":"Group assets by their asset info (immutable, development, hotModuleReplacement, etc).","type":"boolean"},"groupAssetsByPath":{"description":"Group assets by their path.","type":"boolean"},"groupModulesByAttributes":{"description":"Group modules by their attributes (errors, warnings, assets, optional, orphan, or dependent).","type":"boolean"},"groupModulesByCacheStatus":{"description":"Group modules by their status (cached or built and cacheable).","type":"boolean"},"groupModulesByExtension":{"description":"Group modules by their extension.","type":"boolean"},"groupModulesByLayer":{"description":"Group modules by their layer.","type":"boolean"},"groupModulesByPath":{"description":"Group modules by their path.","type":"boolean"},"groupModulesByType":{"description":"Group modules by their type.","type":"boolean"},"groupReasonsByOrigin":{"description":"Group reasons by their origin module.","type":"boolean"},"hash":{"description":"Add the hash of the compilation.","type":"boolean"},"ids":{"description":"Add ids.","type":"boolean"},"logging":{"description":"Add logging output.","anyOf":[{"description":"Specify log level of logging output.","enum":["none","error","warn","info","log","verbose"]},{"description":"Enable/disable logging output (`true`: shows normal logging output, loglevel: log).","type":"boolean"}]},"loggingDebug":{"description":"Include debug logging of specified loggers (i. e. for plugins or loaders). Filters can be Strings, RegExps or Functions.","anyOf":[{"description":"Enable/Disable debug logging for all loggers.","type":"boolean"},{"$ref":"#/definitions/FilterTypes"}]},"loggingTrace":{"description":"Add stack traces to logging output.","type":"boolean"},"moduleAssets":{"description":"Add information about assets inside modules.","type":"boolean"},"moduleTrace":{"description":"Add dependencies and origin of warnings/errors.","type":"boolean"},"modules":{"description":"Add built modules information.","type":"boolean"},"modulesSort":{"description":"Sort the modules by that field.","type":"string"},"modulesSpace":{"description":"Space to display modules (groups will be collapsed to fit this space, value is in number of modules/groups).","type":"number"},"nestedModules":{"description":"Add information about modules nested in other modules (like with module concatenation).","type":"boolean"},"nestedModulesSpace":{"description":"Space to display modules nested within other modules (groups will be collapsed to fit this space, value is in number of modules/group).","type":"number"},"optimizationBailout":{"description":"Show reasons why optimization bailed out for modules.","type":"boolean"},"orphanModules":{"description":"Add information about orphan modules.","type":"boolean"},"outputPath":{"description":"Add output path information.","type":"boolean"},"performance":{"description":"Add performance hint flags.","type":"boolean"},"preset":{"description":"Preset for the default values.","anyOf":[{"type":"boolean"},{"type":"string"}]},"providedExports":{"description":"Show exports provided by modules.","type":"boolean"},"publicPath":{"description":"Add public path information.","type":"boolean"},"reasons":{"description":"Add information about the reasons why modules are included.","type":"boolean"},"reasonsSpace":{"description":"Space to display reasons (groups will be collapsed to fit this space).","type":"number"},"relatedAssets":{"description":"Add information about assets that are related to other assets (like SourceMaps for assets).","type":"boolean"},"runtime":{"description":"Add information about runtime modules (deprecated: use \'runtimeModules\' instead).","type":"boolean"},"runtimeModules":{"description":"Add information about runtime modules.","type":"boolean"},"source":{"description":"Add the source code of modules.","type":"boolean"},"timings":{"description":"Add timing information.","type":"boolean"},"usedExports":{"description":"Show exports used by modules.","type":"boolean"},"version":{"description":"Add webpack version information.","type":"boolean"},"warnings":{"description":"Add warnings.","type":"boolean"},"warningsCount":{"description":"Add warnings count.","type":"boolean"},"warningsFilter":{"description":"Suppress listing warnings that match the specified filters (they will still be counted). Filters can be Strings, RegExps or Functions.","oneOf":[{"$ref":"#/definitions/WarningFilterTypes"}]}}},"StatsValue":{"description":"Stats options object or preset name.","anyOf":[{"enum":["none","summary","errors-only","errors-warnings","minimal","normal","detailed","verbose"]},{"type":"boolean"},{"$ref":"#/definitions/StatsOptions"}]},"StrictModuleErrorHandling":{"description":"Handles error in module loading correctly at a performance cost. This will handle module error compatible with the EcmaScript Modules spec.","type":"boolean"},"StrictModuleExceptionHandling":{"description":"Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.","type":"boolean"},"Target":{"description":"Environment to build for. An array of environments to build for all of them when possible.","anyOf":[{"type":"array","items":{"description":"Environment to build for.","type":"string","minLength":1},"minItems":1},{"enum":[false]},{"type":"string","minLength":1}]},"TrustedTypes":{"description":"Use a Trusted Types policy to create urls for chunks.","type":"object","additionalProperties":false,"properties":{"policyName":{"description":"The name of the Trusted Types policy created by webpack to serve bundle chunks.","type":"string","minLength":1}}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"},"UniqueName":{"description":"A unique name of the webpack build to avoid multiple webpack runtimes to conflict when using globals.","type":"string","minLength":1},"WarningFilterItemTypes":{"description":"Filtering value, regexp or function.","cli":{"helper":true},"anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","absolutePath":false},{"instanceof":"Function","tsType":"((warning: import(\'../lib/stats/DefaultStatsFactoryPlugin\').StatsError, value: string) => boolean)"}]},"WarningFilterTypes":{"description":"Filtering warnings.","cli":{"helper":true},"anyOf":[{"type":"array","items":{"description":"Rule to filter.","cli":{"helper":true},"oneOf":[{"$ref":"#/definitions/WarningFilterItemTypes"}]}},{"$ref":"#/definitions/WarningFilterItemTypes"}]},"WasmLoading":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":[false]},{"$ref":"#/definitions/WasmLoadingType"}]},"WasmLoadingType":{"description":"The method of loading WebAssembly Modules (methods included by default are \'fetch\' (web/WebWorker), \'async-node\' (node.js), but others might be added by plugins).","anyOf":[{"enum":["fetch-streaming","fetch","async-node"]},{"type":"string"}]},"Watch":{"description":"Enter watch mode, which rebuilds on file change.","type":"boolean"},"WatchOptions":{"description":"Options for the watcher.","type":"object","additionalProperties":false,"properties":{"aggregateTimeout":{"description":"Delay the rebuilt after the first change. Value is a time in ms.","type":"number"},"followSymlinks":{"description":"Resolve symlinks and watch symlink and real file. This is usually not needed as webpack already resolves symlinks (\'resolve.symlinks\').","type":"boolean"},"ignored":{"description":"Ignore some files from watching (glob pattern or regexp).","anyOf":[{"type":"array","items":{"description":"A glob pattern for files that should be ignored from watching.","type":"string","minLength":1}},{"instanceof":"RegExp","tsType":"RegExp"},{"description":"A single glob pattern for files that should be ignored from watching.","type":"string","minLength":1}]},"poll":{"description":"Enable polling mode for watching.","anyOf":[{"description":"`number`: use polling with specified interval.","type":"number"},{"description":"`true`: use polling.","type":"boolean"}]},"stdin":{"description":"Stop watching when stdin stream has ended.","type":"boolean"}}},"WebassemblyModuleFilename":{"description":"The filename of WebAssembly modules as relative path inside the \'output.path\' directory.","type":"string","absolutePath":false},"WebpackOptionsNormalized":{"description":"Normalized webpack options object.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptionsNormalized"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/EntryNormalized"},"experiments":{"$ref":"#/definitions/ExperimentsNormalized"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarningsNormalized"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptionsNormalized"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/OutputNormalized"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}},"required":["cache","snapshot","entry","experiments","externals","externalsPresets","infrastructureLogging","module","node","optimization","output","plugins","resolve","resolveLoader","stats","watchOptions"]},"WebpackPluginFunction":{"description":"Function acting as plugin.","instanceof":"Function","tsType":"(this: import(\'../lib/Compiler\'), compiler: import(\'../lib/Compiler\')) => void"},"WebpackPluginInstance":{"description":"Plugin instance.","type":"object","additionalProperties":true,"properties":{"apply":{"description":"The run point of the plugin, required method.","instanceof":"Function","tsType":"(compiler: import(\'../lib/Compiler\')) => void"}},"required":["apply"]}},"title":"WebpackOptions","description":"Options object as provided by the user.","type":"object","additionalProperties":false,"properties":{"amd":{"$ref":"#/definitions/Amd"},"bail":{"$ref":"#/definitions/Bail"},"cache":{"$ref":"#/definitions/CacheOptions"},"context":{"$ref":"#/definitions/Context"},"dependencies":{"$ref":"#/definitions/Dependencies"},"devServer":{"$ref":"#/definitions/DevServer"},"devtool":{"$ref":"#/definitions/DevTool"},"entry":{"$ref":"#/definitions/Entry"},"experiments":{"$ref":"#/definitions/Experiments"},"externals":{"$ref":"#/definitions/Externals"},"externalsPresets":{"$ref":"#/definitions/ExternalsPresets"},"externalsType":{"$ref":"#/definitions/ExternalsType"},"ignoreWarnings":{"$ref":"#/definitions/IgnoreWarnings"},"infrastructureLogging":{"$ref":"#/definitions/InfrastructureLogging"},"loader":{"$ref":"#/definitions/Loader"},"mode":{"$ref":"#/definitions/Mode"},"module":{"$ref":"#/definitions/ModuleOptions"},"name":{"$ref":"#/definitions/Name"},"node":{"$ref":"#/definitions/Node"},"optimization":{"$ref":"#/definitions/Optimization"},"output":{"$ref":"#/definitions/Output"},"parallelism":{"$ref":"#/definitions/Parallelism"},"performance":{"$ref":"#/definitions/Performance"},"plugins":{"$ref":"#/definitions/Plugins"},"profile":{"$ref":"#/definitions/Profile"},"recordsInputPath":{"$ref":"#/definitions/RecordsInputPath"},"recordsOutputPath":{"$ref":"#/definitions/RecordsOutputPath"},"recordsPath":{"$ref":"#/definitions/RecordsPath"},"resolve":{"$ref":"#/definitions/Resolve"},"resolveLoader":{"$ref":"#/definitions/ResolveLoader"},"snapshot":{"$ref":"#/definitions/SnapshotOptions"},"stats":{"$ref":"#/definitions/StatsValue"},"target":{"$ref":"#/definitions/Target"},"watch":{"$ref":"#/definitions/Watch"},"watchOptions":{"$ref":"#/definitions/WatchOptions"}}}')},87298:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"BannerFunction":{"description":"The banner as function, it will be wrapped in a comment.","instanceof":"Function","tsType":"(data: { hash: string, chunk: import(\'../../lib/Chunk\'), filename: string }) => string"},"Rule":{"description":"Filtering rule as regex or string.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"Rules":{"description":"Filtering rules.","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/Rule"}]}},{"$ref":"#/definitions/Rule"}]}},"title":"BannerPluginArgument","anyOf":[{"description":"The banner as string, it will be wrapped in a comment.","type":"string","minLength":1},{"title":"BannerPluginOptions","type":"object","additionalProperties":false,"properties":{"banner":{"description":"Specifies the banner.","anyOf":[{"type":"string"},{"$ref":"#/definitions/BannerFunction"}]},"entryOnly":{"description":"If true, the banner will only be added to the entry chunks.","type":"boolean"},"exclude":{"description":"Exclude all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"include":{"description":"Include all modules matching any of these conditions.","oneOf":[{"$ref":"#/definitions/Rules"}]},"raw":{"description":"If true, banner will not be wrapped in a comment.","type":"boolean"},"test":{"description":"Include all modules that pass test assertion.","oneOf":[{"$ref":"#/definitions/Rules"}]}},"required":["banner"]},{"$ref":"#/definitions/BannerFunction"}]}')},28991:E=>{"use strict";E.exports=JSON.parse('{"title":"DllPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest file (defaults to the webpack context).","type":"string","minLength":1},"entryOnly":{"description":"If true, only entry points will be exposed (default: true).","type":"boolean"},"format":{"description":"If true, manifest json file (output) will be formatted.","type":"boolean"},"name":{"description":"Name of the exposed dll function (external name, use value of \'output.library\').","type":"string","minLength":1},"path":{"description":"Absolute path to the manifest json file (output).","type":"string","minLength":1},"type":{"description":"Type of the dll bundle (external type, use value of \'output.libraryTarget\').","type":"string","minLength":1}},"required":["path"]}')},67138:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"DllReferencePluginOptionsContent":{"description":"The mappings from request to module info.","type":"object","additionalProperties":{"description":"Module info.","type":"object","additionalProperties":false,"properties":{"buildMeta":{"description":"Meta information about the module.","type":"object"},"exports":{"description":"Information about the provided exports of the module.","anyOf":[{"description":"List of provided exports of the module.","type":"array","items":{"description":"Name of the export.","type":"string","minLength":1}},{"description":"Exports unknown/dynamic.","enum":[true]}]},"id":{"description":"Module ID.","anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},"required":["id"]},"minProperties":1},"DllReferencePluginOptionsManifest":{"description":"An object containing content, name and type.","type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"type":{"description":"The type how the dll is exposed (external type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]}},"required":["content"]},"DllReferencePluginOptionsSourceType":{"description":"The type how the dll is exposed (external type).","enum":["var","assign","this","window","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]}},"title":"DllReferencePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"manifest":{"description":"An object containing content and name or a string to the absolute path of the JSON manifest to be loaded upon compilation.","anyOf":[{"type":"string","absolutePath":true},{"$ref":"#/definitions/DllReferencePluginOptionsManifest"}]},"name":{"description":"The name where the dll is exposed (external name, defaults to manifest.name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget, defaults to manifest.type).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["manifest"]},{"type":"object","additionalProperties":false,"properties":{"content":{"description":"The mappings from request to module info.","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsContent"}]},"context":{"description":"Context of requests in the manifest (or content property) as absolute path.","type":"string","absolutePath":true},"extensions":{"description":"Extensions used to resolve modules in the dll bundle (only used when using \'scope\').","type":"array","items":{"description":"An extension.","type":"string"}},"name":{"description":"The name where the dll is exposed (external name).","type":"string","minLength":1},"scope":{"description":"Prefix which is used for accessing the content of the dll.","type":"string","minLength":1},"sourceType":{"description":"How the dll is exposed (libraryTarget).","oneOf":[{"$ref":"#/definitions/DllReferencePluginOptionsSourceType"}]},"type":{"description":"The way how the export of the dll bundle is used.","enum":["require","object"]}},"required":["content","name"]}]}')},39586:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HashFunction":{"description":"Algorithm used for generation the hash (see node.js crypto package).","anyOf":[{"type":"string","minLength":1},{"instanceof":"Function","tsType":"typeof import(\'../../lib/util/Hash\')"}]}},"title":"HashedModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"context":{"description":"The context directory for creating names.","type":"string","absolutePath":true},"hashDigest":{"description":"The encoding to use when generating the hash, defaults to \'base64\'. All encodings from Node.JS\' hash.digest are supported.","enum":["hex","latin1","base64"]},"hashDigestLength":{"description":"The prefix length of the hash digest to use, defaults to 4.","type":"number","minimum":1},"hashFunction":{"description":"The hashing algorithm to use, defaults to \'md4\'. All functions from Node.JS\' crypto.createHash are supported.","oneOf":[{"$ref":"#/definitions/HashFunction"}]}}}')},8679:E=>{"use strict";E.exports=JSON.parse('{"title":"IgnorePluginOptions","anyOf":[{"type":"object","additionalProperties":false,"properties":{"contextRegExp":{"description":"A RegExp to test the context (directory) against.","instanceof":"RegExp","tsType":"RegExp"},"resourceRegExp":{"description":"A RegExp to test the request against.","instanceof":"RegExp","tsType":"RegExp"}},"required":["resourceRegExp"]},{"type":"object","additionalProperties":false,"properties":{"checkResource":{"description":"A filter function for resource and context.","instanceof":"Function","tsType":"((resource: string, context: string) => boolean)"}},"required":["checkResource"]}]}')},89408:E=>{"use strict";E.exports=JSON.parse('{"title":"JsonModulesPluginParserOptions","type":"object","additionalProperties":false,"properties":{"parse":{"description":"Function that executes for a module source string and should return json-compatible data.","instanceof":"Function","tsType":"((input: string) => any)"}}}')},30685:E=>{"use strict";E.exports=JSON.parse('{"title":"LoaderOptionsPluginOptions","type":"object","additionalProperties":true,"properties":{"debug":{"description":"Whether loaders should be in debug mode or not. debug will be removed as of webpack 3.","type":"boolean"},"minimize":{"description":"Where loaders can be switched to minimize mode.","type":"boolean"},"options":{"description":"A configuration object that can be used to configure older loaders.","type":"object","additionalProperties":true,"properties":{"context":{"description":"The context that can be used to configure older loaders.","type":"string","absolutePath":true}}}}}')},43691:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HandlerFunction":{"description":"Function that executes for every progress step.","instanceof":"Function","tsType":"((percentage: number, msg: string, ...args: string[]) => void)"},"ProgressPluginOptions":{"description":"Options object for the ProgressPlugin.","type":"object","additionalProperties":false,"properties":{"activeModules":{"description":"Show active modules count and one active module in progress message.","type":"boolean"},"dependencies":{"description":"Show dependencies count in progress message.","type":"boolean"},"dependenciesCount":{"description":"Minimum dependencies count to start with. For better progress calculation. Default: 10000.","type":"number"},"entries":{"description":"Show entries count in progress message.","type":"boolean"},"handler":{"description":"Function that executes for every progress step.","oneOf":[{"$ref":"#/definitions/HandlerFunction"}]},"modules":{"description":"Show modules count in progress message.","type":"boolean"},"modulesCount":{"description":"Minimum modules count to start with. For better progress calculation. Default: 5000.","type":"number"},"percentBy":{"description":"Collect percent algorithm. By default it calculates by a median from modules, entries and dependencies percent.","enum":["entries","modules","dependencies",null]},"profile":{"description":"Collect profile data for progress steps. Default: false.","enum":[true,false,null]}}}},"title":"ProgressPluginArgument","anyOf":[{"$ref":"#/definitions/ProgressPluginOptions"},{"$ref":"#/definitions/HandlerFunction"}]}')},78061:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"rule":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string","minLength":1}]},"rules":{"description":"Include source maps for modules based on their extension (defaults to .js and .css).","anyOf":[{"type":"array","items":{"description":"A rule condition.","oneOf":[{"$ref":"#/definitions/rule"}]}},{"$ref":"#/definitions/rule"}]}},"title":"SourceMapDevToolPluginOptions","type":"object","additionalProperties":false,"properties":{"append":{"description":"Appends the given value to the original asset. Usually the #sourceMappingURL comment. [url] is replaced with a URL to the source map file. false disables the appending.","anyOf":[{"description":"Append no SourceMap comment to the bundle, but still generate SourceMaps.","enum":[false,null]},{"type":"string","minLength":1}]},"columns":{"description":"Indicates whether column mappings should be used (defaults to true).","type":"boolean"},"exclude":{"description":"Exclude modules that match the given value from source map generation.","oneOf":[{"$ref":"#/definitions/rules"}]},"fallbackModuleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap used only if \'moduleFilenameTemplate\' would result in a conflict.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"fileContext":{"description":"Path prefix to which the [file] placeholder is relative to.","type":"string"},"filename":{"description":"Defines the output filename of the SourceMap (will be inlined if no value is provided).","anyOf":[{"description":"Disable separate SourceMap file and inline SourceMap as DataUrl.","enum":[false,null]},{"type":"string","absolutePath":false,"minLength":1}]},"include":{"description":"Include source maps for module paths that match the given value.","oneOf":[{"$ref":"#/definitions/rules"}]},"module":{"description":"Indicates whether SourceMaps from loaders should be used (defaults to true).","type":"boolean"},"moduleFilenameTemplate":{"description":"Generator string or function to create identifiers of modules for the \'sources\' array in the SourceMap.","anyOf":[{"type":"string","minLength":1},{"description":"Custom function generating the identifier.","instanceof":"Function","tsType":"Function"}]},"namespace":{"description":"Namespace prefix to allow multiple webpack roots in the devtools.","type":"string"},"noSources":{"description":"Omit the \'sourceContents\' array from the SourceMap.","type":"boolean"},"publicPath":{"description":"Provide a custom public path for the SourceMapping comment.","type":"string"},"sourceRoot":{"description":"Provide a custom value for the \'sourceRoot\' property in the SourceMap.","type":"string"},"test":{"$ref":"#/definitions/rules"}}}')},91014:E=>{"use strict";E.exports=JSON.parse('{"title":"WatchIgnorePluginOptions","type":"object","additionalProperties":false,"properties":{"paths":{"description":"A list of RegExps or absolute paths to directories or files that should be ignored.","type":"array","items":{"description":"RegExp or absolute path to directories or files that should be ignored.","anyOf":[{"instanceof":"RegExp","tsType":"RegExp"},{"type":"string"}]},"minItems":1}},"required":["paths"]}')},93944:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ContainerPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename for this container relative path inside the `output.path` directory.","type":"string","absolutePath":false,"minLength":1},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name for this container.","type":"string","minLength":1},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"The name of the share scope which is shared with the host (defaults to \'default\').","type":"string","minLength":1}},"required":["name","exposes"]}')},38279:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}}},"title":"ContainerReferencePluginOptions","type":"object","additionalProperties":false,"properties":{"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"shareScope":{"description":"The name of the share scope shared with all remotes (defaults to \'default\').","type":"string","minLength":1}},"required":["remoteType","remotes"]}')},85195:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"AuxiliaryComment":{"description":"Add a comment in the UMD wrapper.","anyOf":[{"description":"Append the same comment above each import style.","type":"string"},{"$ref":"#/definitions/LibraryCustomUmdCommentObject"}]},"EntryRuntime":{"description":"The name of the runtime chunk. If set a runtime chunk with this name is created or an existing entrypoint is used as runtime.","anyOf":[{"enum":[false]},{"type":"string","minLength":1}]},"Exposes":{"description":"Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.","anyOf":[{"type":"array","items":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesObject"}]}},{"$ref":"#/definitions/ExposesObject"}]},"ExposesConfig":{"description":"Advanced configuration for modules that should be exposed by this container.","type":"object","additionalProperties":false,"properties":{"import":{"description":"Request to a module that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]},"name":{"description":"Custom chunk name for the exposed module.","type":"string"}},"required":["import"]},"ExposesItem":{"description":"Module that should be exposed by this container.","type":"string","minLength":1},"ExposesItems":{"description":"Modules that should be exposed by this container.","type":"array","items":{"$ref":"#/definitions/ExposesItem"}},"ExposesObject":{"description":"Modules that should be exposed by this container. Property names are used as public paths.","type":"object","additionalProperties":{"description":"Modules that should be exposed by this container.","anyOf":[{"$ref":"#/definitions/ExposesConfig"},{"$ref":"#/definitions/ExposesItem"},{"$ref":"#/definitions/ExposesItems"}]}},"ExternalsType":{"description":"Specifies the default type of externals (\'amd*\', \'umd*\', \'system\' and \'jsonp\' depend on output.libraryTarget set to the same value).","enum":["var","module","assign","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system","promise","import","script","node-commonjs"]},"LibraryCustomUmdCommentObject":{"description":"Set explicit comments for `commonjs`, `commonjs2`, `amd`, and `root`.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Set comment for `amd` section in UMD.","type":"string"},"commonjs":{"description":"Set comment for `commonjs` (exports) section in UMD.","type":"string"},"commonjs2":{"description":"Set comment for `commonjs2` (module.exports) section in UMD.","type":"string"},"root":{"description":"Set comment for `root` (global variable) section in UMD.","type":"string"}}},"LibraryCustomUmdObject":{"description":"Description object for all UMD variants of the library name.","type":"object","additionalProperties":false,"properties":{"amd":{"description":"Name of the exposed AMD library in the UMD.","type":"string","minLength":1},"commonjs":{"description":"Name of the exposed commonjs export in the UMD.","type":"string","minLength":1},"root":{"description":"Name of the property exposed globally by a UMD library.","anyOf":[{"type":"array","items":{"description":"Part of the name of the property exposed globally by a UMD library.","type":"string","minLength":1}},{"type":"string","minLength":1}]}}},"LibraryExport":{"description":"Specify which export should be exposed as library.","anyOf":[{"type":"array","items":{"description":"Part of the export that should be exposed as library.","type":"string","minLength":1}},{"type":"string","minLength":1}]},"LibraryName":{"description":"The name of the library (some types allow unnamed libraries too).","anyOf":[{"type":"array","items":{"description":"A part of the library name.","type":"string","minLength":1},"minItems":1},{"type":"string","minLength":1},{"$ref":"#/definitions/LibraryCustomUmdObject"}]},"LibraryOptions":{"description":"Options for library.","type":"object","additionalProperties":false,"properties":{"auxiliaryComment":{"$ref":"#/definitions/AuxiliaryComment"},"export":{"$ref":"#/definitions/LibraryExport"},"name":{"$ref":"#/definitions/LibraryName"},"type":{"$ref":"#/definitions/LibraryType"},"umdNamedDefine":{"$ref":"#/definitions/UmdNamedDefine"}},"required":["type"]},"LibraryType":{"description":"Type of library (types included by default are \'var\', \'module\', \'assign\', \'assign-properties\', \'this\', \'window\', \'self\', \'global\', \'commonjs\', \'commonjs2\', \'commonjs-module\', \'amd\', \'amd-require\', \'umd\', \'umd2\', \'jsonp\', \'system\', but others might be added by plugins).","anyOf":[{"enum":["var","module","assign","assign-properties","this","window","self","global","commonjs","commonjs2","commonjs-module","amd","amd-require","umd","umd2","jsonp","system"]},{"type":"string"}]},"Remotes":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime. When provided, property name is used as request scope, otherwise request scope is automatically inferred from container location.","anyOf":[{"type":"array","items":{"description":"Container locations and request scopes from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesObject"}]}},{"$ref":"#/definitions/RemotesObject"}]},"RemotesConfig":{"description":"Advanced configuration for container locations from which modules should be resolved and loaded at runtime.","type":"object","additionalProperties":false,"properties":{"external":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]},"shareScope":{"description":"The name of the share scope shared with this remote.","type":"string","minLength":1}},"required":["external"]},"RemotesItem":{"description":"Container location from which modules should be resolved and loaded at runtime.","type":"string","minLength":1},"RemotesItems":{"description":"Container locations from which modules should be resolved and loaded at runtime.","type":"array","items":{"$ref":"#/definitions/RemotesItem"}},"RemotesObject":{"description":"Container locations from which modules should be resolved and loaded at runtime. Property names are used as request scopes.","type":"object","additionalProperties":{"description":"Container locations from which modules should be resolved and loaded at runtime.","anyOf":[{"$ref":"#/definitions/RemotesConfig"},{"$ref":"#/definitions/RemotesItem"},{"$ref":"#/definitions/RemotesItems"}]}},"Shared":{"description":"Modules that should be shared in the share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedItem"},{"$ref":"#/definitions/SharedObject"}]}},{"$ref":"#/definitions/SharedObject"}]},"SharedConfig":{"description":"Advanced configuration for modules that should be shared in the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided and fallback module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Provided module that should be provided to share scope. Also acts as fallback module if no shared module is found in share scope or version isn\'t valid. Defaults to the property name.","anyOf":[{"description":"No provided or fallback module.","enum":[false]},{"$ref":"#/definitions/SharedItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"SharedItem":{"description":"A module that should be shared in the share scope.","type":"string","minLength":1},"SharedObject":{"description":"Modules that should be shared in the share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be shared in the share scope.","anyOf":[{"$ref":"#/definitions/SharedConfig"},{"$ref":"#/definitions/SharedItem"}]}},"UmdNamedDefine":{"description":"If `output.libraryTarget` is set to umd and `output.library` is set, setting this to true will name the AMD module.","type":"boolean"}},"title":"ModuleFederationPluginOptions","type":"object","additionalProperties":false,"properties":{"exposes":{"$ref":"#/definitions/Exposes"},"filename":{"description":"The filename of the container as relative path inside the `output.path` directory.","type":"string","absolutePath":false},"library":{"$ref":"#/definitions/LibraryOptions"},"name":{"description":"The name of the container.","type":"string"},"remoteType":{"description":"The external type of the remote containers.","oneOf":[{"$ref":"#/definitions/ExternalsType"}]},"remotes":{"$ref":"#/definitions/Remotes"},"runtime":{"$ref":"#/definitions/EntryRuntime"},"shareScope":{"description":"Share scope name used for all shared modules (defaults to \'default\').","type":"string","minLength":1},"shared":{"$ref":"#/definitions/Shared"}}}')},78555:E=>{"use strict";E.exports=JSON.parse('{"title":"ProfilingPluginOptions","type":"object","additionalProperties":false,"properties":{"outputPath":{"description":"Path to the output file e.g. `path.resolve(__dirname, \'profiling/events.json\')`. Defaults to `events.json`.","type":"string","absolutePath":true}}}')},9659:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceChunkIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},37931:E=>{"use strict";E.exports=JSON.parse('{"title":"OccurrenceModuleIdsPluginOptions","type":"object","additionalProperties":false,"properties":{"prioritiseInitial":{"description":"Prioritise initial size over total size.","type":"boolean"}}}')},3484:E=>{"use strict";E.exports=JSON.parse('{"title":"AggressiveSplittingPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Extra cost for each chunk (Default: 9.8kiB).","type":"number"},"entryChunkMultiplicator":{"description":"Extra cost multiplicator for entry chunks (Default: 10).","type":"number"},"maxSize":{"description":"Byte, max size of per file (Default: 50kiB).","type":"number"},"minSize":{"description":"Byte, split point. (Default: 30kiB).","type":"number"}}}')},10692:E=>{"use strict";E.exports=JSON.parse('{"title":"LimitChunkCountPluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"maxChunks":{"description":"Limit the maximum number of chunks using a value greater greater than or equal to 1.","type":"number","minimum":1}},"required":["maxChunks"]}')},84638:E=>{"use strict";E.exports=JSON.parse('{"title":"MinChunkSizePluginOptions","type":"object","additionalProperties":false,"properties":{"chunkOverhead":{"description":"Constant overhead for a chunk.","type":"number"},"entryChunkMultiplicator":{"description":"Multiplicator for initial chunks.","type":"number"},"minChunkSize":{"description":"Minimum number of characters.","type":"number"}},"required":["minChunkSize"]}')},5404:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"HttpUriOptions":{"description":"Options for building http resources.","type":"object","additionalProperties":false,"properties":{"allowedUris":{"$ref":"#/definitions/HttpUriOptionsAllowedUris"},"cacheLocation":{"description":"Location where resource content is stored for lockfile entries. It\'s also possible to disable storing by passing false.","anyOf":[{"enum":[false]},{"type":"string","absolutePath":true}]},"frozen":{"description":"When set, anything that would lead to a modification of the lockfile or any resource content, will result in an error.","type":"boolean"},"lockfileLocation":{"description":"Location of the lockfile.","type":"string","absolutePath":true},"upgrade":{"description":"When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.","type":"boolean"}},"required":["allowedUris"]},"HttpUriOptionsAllowedUris":{"description":"List of allowed URIs (resp. the beginning of them).","type":"array","items":{"description":"List of allowed URIs (resp. the beginning of them).","anyOf":[{"description":"Allowed URI pattern.","instanceof":"RegExp","tsType":"RegExp"},{"description":"Allowed URI (resp. the beginning of it).","type":"string","pattern":"^https?://"},{"description":"Allowed URI filter function.","instanceof":"Function","tsType":"((uri: string) => boolean)"}]}}},"title":"HttpUriPluginOptions","oneOf":[{"$ref":"#/definitions/HttpUriOptions"}]}')},52021:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Consumes":{"description":"Modules that should be consumed from share scope. When provided, property names are used to match requested modules in this compilation.","anyOf":[{"type":"array","items":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesItem"},{"$ref":"#/definitions/ConsumesObject"}]}},{"$ref":"#/definitions/ConsumesObject"}]},"ConsumesConfig":{"description":"Advanced configuration for modules that should be consumed from share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the fallback module directly instead behind an async request. This allows to use fallback module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"import":{"description":"Fallback module if no shared module is found in share scope. Defaults to the property name.","anyOf":[{"description":"No fallback module.","enum":[false]},{"$ref":"#/definitions/ConsumesItem"}]},"packageName":{"description":"Package name to determine required version from description file. This is only needed when package name can\'t be automatically determined from request.","type":"string","minLength":1},"requiredVersion":{"description":"Version requirement from module in share scope.","anyOf":[{"description":"No version requirement check.","enum":[false]},{"description":"Version as string. Can be prefixed with \'^\' or \'~\' for minimum matches. Each part of the version should be separated by a dot \'.\'.","type":"string"}]},"shareKey":{"description":"Module is looked up under this key from the share scope.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"singleton":{"description":"Allow only a single version of the shared module in share scope (disabled by default).","type":"boolean"},"strictVersion":{"description":"Do not accept shared module if version is not valid (defaults to yes, if local fallback module is available and shared module is not a singleton, otherwise no, has no effect if there is no required version specified).","type":"boolean"}}},"ConsumesItem":{"description":"A module that should be consumed from share scope.","type":"string","minLength":1},"ConsumesObject":{"description":"Modules that should be consumed from share scope. Property names are used to match requested modules in this compilation. Relative requests are resolved, module requests are matched unresolved, absolute paths will match resolved requests. A trailing slash will match all requests with this prefix. In this case shareKey must also have a trailing slash.","type":"object","additionalProperties":{"description":"Modules that should be consumed from share scope.","anyOf":[{"$ref":"#/definitions/ConsumesConfig"},{"$ref":"#/definitions/ConsumesItem"}]}}},"title":"ConsumeSharedPluginOptions","description":"Options for consuming shared modules.","type":"object","additionalProperties":false,"properties":{"consumes":{"$ref":"#/definitions/Consumes"},"shareScope":{"description":"Share scope name used for all consumed modules (defaults to \'default\').","type":"string","minLength":1}},"required":["consumes"]}')},97295:E=>{"use strict";E.exports=JSON.parse('{"definitions":{"Provides":{"description":"Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.","anyOf":[{"type":"array","items":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesItem"},{"$ref":"#/definitions/ProvidesObject"}]}},{"$ref":"#/definitions/ProvidesObject"}]},"ProvidesConfig":{"description":"Advanced configuration for modules that should be provided as shared modules to the share scope.","type":"object","additionalProperties":false,"properties":{"eager":{"description":"Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.","type":"boolean"},"shareKey":{"description":"Key in the share scope under which the shared modules should be stored.","type":"string","minLength":1},"shareScope":{"description":"Share scope name.","type":"string","minLength":1},"version":{"description":"Version of the provided module. Will replace lower matching versions, but not higher.","anyOf":[{"description":"Don\'t provide a version.","enum":[false]},{"description":"Version as string. Each part of the version should be separated by a dot \'.\'.","type":"string"}]}}},"ProvidesItem":{"description":"Request to a module that should be provided as shared module to the share scope (will be resolved when relative).","type":"string","minLength":1},"ProvidesObject":{"description":"Modules that should be provided as shared modules to the share scope. Property names are used as share keys.","type":"object","additionalProperties":{"description":"Modules that should be provided as shared modules to the share scope.","anyOf":[{"$ref":"#/definitions/ProvidesConfig"},{"$ref":"#/definitions/ProvidesItem"}]}}},"title":"ProvideSharedPluginOptions","type":"object","additionalProperties":false,"properties":{"provides":{"$ref":"#/definitions/Provides"},"shareScope":{"description":"Share scope name used for all provided modules (defaults to \'default\').","type":"string","minLength":1}},"required":["provides"]}')}};var __webpack_module_cache__={};function __webpack_require__(E){var N=__webpack_module_cache__[E];if(N!==undefined){return N.exports}var R=__webpack_module_cache__[E]={id:E,loaded:false,exports:{}};var j=true;try{__webpack_modules__[E].call(R.exports,R,R.exports,__webpack_require__);j=false}finally{if(j)delete __webpack_module_cache__[E]}R.loaded=true;return R.exports}(()=>{__webpack_require__.o=(E,N)=>Object.prototype.hasOwnProperty.call(E,N)})();(()=>{__webpack_require__.nmd=E=>{E.paths=[];if(!E.children)E.children=[];return E}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var __webpack_exports__=__webpack_require__(32090);module.exports=__webpack_exports__})(); \ No newline at end of file diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts new file mode 100644 index 00000000..107dd400 --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.d.ts @@ -0,0 +1,24 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + + +/// + + +/// +/// +/// +/// diff --git a/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts new file mode 100644 index 00000000..fdcbb9fa --- /dev/null +++ b/node_modules/@vercel/ncc/dist/ncc/loaders/typescript/lib/lib.dom.d.ts @@ -0,0 +1,18924 @@ +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. +***************************************************************************** */ + + + +/// + + +///////////////////////////// +/// Window APIs +///////////////////////////// + +interface AddEventListenerOptions extends EventListenerOptions { + once?: boolean; + passive?: boolean; + signal?: AbortSignal; +} + +interface AesCbcParams extends Algorithm { + iv: BufferSource; +} + +interface AesCtrParams extends Algorithm { + counter: BufferSource; + length: number; +} + +interface AesDerivedKeyParams extends Algorithm { + length: number; +} + +interface AesGcmParams extends Algorithm { + additionalData?: BufferSource; + iv: BufferSource; + tagLength?: number; +} + +interface AesKeyAlgorithm extends KeyAlgorithm { + length: number; +} + +interface AesKeyGenParams extends Algorithm { + length: number; +} + +interface Algorithm { + name: string; +} + +interface AnalyserOptions extends AudioNodeOptions { + fftSize?: number; + maxDecibels?: number; + minDecibels?: number; + smoothingTimeConstant?: number; +} + +interface AnimationEventInit extends EventInit { + animationName?: string; + elapsedTime?: number; + pseudoElement?: string; +} + +interface AnimationPlaybackEventInit extends EventInit { + currentTime?: number | null; + timelineTime?: number | null; +} + +interface AssignedNodesOptions { + flatten?: boolean; +} + +interface AudioBufferOptions { + length: number; + numberOfChannels?: number; + sampleRate: number; +} + +interface AudioBufferSourceOptions { + buffer?: AudioBuffer | null; + detune?: number; + loop?: boolean; + loopEnd?: number; + loopStart?: number; + playbackRate?: number; +} + +interface AudioConfiguration { + bitrate?: number; + channels?: string; + contentType: string; + samplerate?: number; + spatialRendering?: boolean; +} + +interface AudioContextOptions { + latencyHint?: AudioContextLatencyCategory | number; + sampleRate?: number; +} + +interface AudioNodeOptions { + channelCount?: number; + channelCountMode?: ChannelCountMode; + channelInterpretation?: ChannelInterpretation; +} + +interface AudioProcessingEventInit extends EventInit { + inputBuffer: AudioBuffer; + outputBuffer: AudioBuffer; + playbackTime: number; +} + +interface AudioTimestamp { + contextTime?: number; + performanceTime?: DOMHighResTimeStamp; +} + +interface AudioWorkletNodeOptions extends AudioNodeOptions { + numberOfInputs?: number; + numberOfOutputs?: number; + outputChannelCount?: number[]; + parameterData?: Record; + processorOptions?: any; +} + +interface AuthenticationExtensionsClientInputs { + appid?: string; + appidExclude?: string; + credProps?: boolean; + uvm?: boolean; +} + +interface AuthenticationExtensionsClientOutputs { + appid?: boolean; + credProps?: CredentialPropertiesOutput; + uvm?: UvmEntries; +} + +interface AuthenticatorSelectionCriteria { + authenticatorAttachment?: AuthenticatorAttachment; + requireResidentKey?: boolean; + residentKey?: ResidentKeyRequirement; + userVerification?: UserVerificationRequirement; +} + +interface BiquadFilterOptions extends AudioNodeOptions { + Q?: number; + detune?: number; + frequency?: number; + gain?: number; + type?: BiquadFilterType; +} + +interface BlobEventInit { + data: Blob; + timecode?: DOMHighResTimeStamp; +} + +interface BlobPropertyBag { + endings?: EndingType; + type?: string; +} + +interface CSSStyleSheetInit { + baseURL?: string; + disabled?: boolean; + media?: MediaList | string; +} + +interface CacheQueryOptions { + ignoreMethod?: boolean; + ignoreSearch?: boolean; + ignoreVary?: boolean; +} + +interface CanvasRenderingContext2DSettings { + alpha?: boolean; + colorSpace?: PredefinedColorSpace; + desynchronized?: boolean; + willReadFrequently?: boolean; +} + +interface ChannelMergerOptions extends AudioNodeOptions { + numberOfInputs?: number; +} + +interface ChannelSplitterOptions extends AudioNodeOptions { + numberOfOutputs?: number; +} + +interface ClientQueryOptions { + includeUncontrolled?: boolean; + type?: ClientTypes; +} + +interface ClipboardEventInit extends EventInit { + clipboardData?: DataTransfer | null; +} + +interface ClipboardItemOptions { + presentationStyle?: PresentationStyle; +} + +interface CloseEventInit extends EventInit { + code?: number; + reason?: string; + wasClean?: boolean; +} + +interface CompositionEventInit extends UIEventInit { + data?: string; +} + +interface ComputedEffectTiming extends EffectTiming { + activeDuration?: CSSNumberish; + currentIteration?: number | null; + endTime?: CSSNumberish; + localTime?: CSSNumberish | null; + progress?: CSSNumberish | null; + startTime?: CSSNumberish; +} + +interface ComputedKeyframe { + composite: CompositeOperationOrAuto; + computedOffset: number; + easing: string; + offset: number | null; + [property: string]: string | number | null | undefined; +} + +interface ConstantSourceOptions { + offset?: number; +} + +interface ConstrainBooleanParameters { + exact?: boolean; + ideal?: boolean; +} + +interface ConstrainDOMStringParameters { + exact?: string | string[]; + ideal?: string | string[]; +} + +interface ConstrainDoubleRange extends DoubleRange { + exact?: number; + ideal?: number; +} + +interface ConstrainULongRange extends ULongRange { + exact?: number; + ideal?: number; +} + +interface ConvolverOptions extends AudioNodeOptions { + buffer?: AudioBuffer | null; + disableNormalization?: boolean; +} + +interface CredentialCreationOptions { + publicKey?: PublicKeyCredentialCreationOptions; + signal?: AbortSignal; +} + +interface CredentialPropertiesOutput { + rk?: boolean; +} + +interface CredentialRequestOptions { + mediation?: CredentialMediationRequirement; + publicKey?: PublicKeyCredentialRequestOptions; + signal?: AbortSignal; +} + +interface CryptoKeyPair { + privateKey?: CryptoKey; + publicKey?: CryptoKey; +} + +interface CustomEventInit extends EventInit { + detail?: T; +} + +interface DOMMatrix2DInit { + a?: number; + b?: number; + c?: number; + d?: number; + e?: number; + f?: number; + m11?: number; + m12?: number; + m21?: number; + m22?: number; + m41?: number; + m42?: number; +} + +interface DOMMatrixInit extends DOMMatrix2DInit { + is2D?: boolean; + m13?: number; + m14?: number; + m23?: number; + m24?: number; + m31?: number; + m32?: number; + m33?: number; + m34?: number; + m43?: number; + m44?: number; +} + +interface DOMPointInit { + w?: number; + x?: number; + y?: number; + z?: number; +} + +interface DOMQuadInit { + p1?: DOMPointInit; + p2?: DOMPointInit; + p3?: DOMPointInit; + p4?: DOMPointInit; +} + +interface DOMRectInit { + height?: number; + width?: number; + x?: number; + y?: number; +} + +interface DelayOptions extends AudioNodeOptions { + delayTime?: number; + maxDelayTime?: number; +} + +interface DeviceMotionEventAccelerationInit { + x?: number | null; + y?: number | null; + z?: number | null; +} + +interface DeviceMotionEventInit extends EventInit { + acceleration?: DeviceMotionEventAccelerationInit; + accelerationIncludingGravity?: DeviceMotionEventAccelerationInit; + interval?: number; + rotationRate?: DeviceMotionEventRotationRateInit; +} + +interface DeviceMotionEventRotationRateInit { + alpha?: number | null; + beta?: number | null; + gamma?: number | null; +} + +interface DeviceOrientationEventInit extends EventInit { + absolute?: boolean; + alpha?: number | null; + beta?: number | null; + gamma?: number | null; +} + +interface DisplayMediaStreamConstraints { + audio?: boolean | MediaTrackConstraints; + video?: boolean | MediaTrackConstraints; +} + +interface DocumentTimelineOptions { + originTime?: DOMHighResTimeStamp; +} + +interface DoubleRange { + max?: number; + min?: number; +} + +interface DragEventInit extends MouseEventInit { + dataTransfer?: DataTransfer | null; +} + +interface DynamicsCompressorOptions extends AudioNodeOptions { + attack?: number; + knee?: number; + ratio?: number; + release?: number; + threshold?: number; +} + +interface EcKeyAlgorithm extends KeyAlgorithm { + namedCurve: NamedCurve; +} + +interface EcKeyGenParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcKeyImportParams extends Algorithm { + namedCurve: NamedCurve; +} + +interface EcdhKeyDeriveParams extends Algorithm { + public: CryptoKey; +} + +interface EcdsaParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface EffectTiming { + delay?: number; + direction?: PlaybackDirection; + duration?: number | string; + easing?: string; + endDelay?: number; + fill?: FillMode; + iterationStart?: number; + iterations?: number; + playbackRate?: number; +} + +interface ElementCreationOptions { + is?: string; +} + +interface ElementDefinitionOptions { + extends?: string; +} + +interface ErrorEventInit extends EventInit { + colno?: number; + error?: any; + filename?: string; + lineno?: number; + message?: string; +} + +interface EventInit { + bubbles?: boolean; + cancelable?: boolean; + composed?: boolean; +} + +interface EventListenerOptions { + capture?: boolean; +} + +interface EventModifierInit extends UIEventInit { + altKey?: boolean; + ctrlKey?: boolean; + metaKey?: boolean; + modifierAltGraph?: boolean; + modifierCapsLock?: boolean; + modifierFn?: boolean; + modifierFnLock?: boolean; + modifierHyper?: boolean; + modifierNumLock?: boolean; + modifierScrollLock?: boolean; + modifierSuper?: boolean; + modifierSymbol?: boolean; + modifierSymbolLock?: boolean; + shiftKey?: boolean; +} + +interface EventSourceInit { + withCredentials?: boolean; +} + +interface FilePropertyBag extends BlobPropertyBag { + lastModified?: number; +} + +interface FileSystemFlags { + create?: boolean; + exclusive?: boolean; +} + +interface FocusEventInit extends UIEventInit { + relatedTarget?: EventTarget | null; +} + +interface FocusOptions { + preventScroll?: boolean; +} + +interface FontFaceDescriptors { + display?: string; + featureSettings?: string; + stretch?: string; + style?: string; + unicodeRange?: string; + variant?: string; + weight?: string; +} + +interface FontFaceSetLoadEventInit extends EventInit { + fontfaces?: FontFace[]; +} + +interface FormDataEventInit extends EventInit { + formData: FormData; +} + +interface FullscreenOptions { + navigationUI?: FullscreenNavigationUI; +} + +interface GainOptions extends AudioNodeOptions { + gain?: number; +} + +interface GamepadEventInit extends EventInit { + gamepad: Gamepad; +} + +interface GetAnimationsOptions { + subtree?: boolean; +} + +interface GetNotificationOptions { + tag?: string; +} + +interface GetRootNodeOptions { + composed?: boolean; +} + +interface HashChangeEventInit extends EventInit { + newURL?: string; + oldURL?: string; +} + +interface HkdfParams extends Algorithm { + hash: HashAlgorithmIdentifier; + info: BufferSource; + salt: BufferSource; +} + +interface HmacImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface HmacKeyAlgorithm extends KeyAlgorithm { + hash: KeyAlgorithm; + length: number; +} + +interface HmacKeyGenParams extends Algorithm { + hash: HashAlgorithmIdentifier; + length?: number; +} + +interface IDBDatabaseInfo { + name?: string; + version?: number; +} + +interface IDBIndexParameters { + multiEntry?: boolean; + unique?: boolean; +} + +interface IDBObjectStoreParameters { + autoIncrement?: boolean; + keyPath?: string | string[] | null; +} + +interface IDBVersionChangeEventInit extends EventInit { + newVersion?: number | null; + oldVersion?: number; +} + +interface IIRFilterOptions extends AudioNodeOptions { + feedback: number[]; + feedforward: number[]; +} + +interface IdleRequestOptions { + timeout?: number; +} + +interface ImageBitmapOptions { + colorSpaceConversion?: ColorSpaceConversion; + imageOrientation?: ImageOrientation; + premultiplyAlpha?: PremultiplyAlpha; + resizeHeight?: number; + resizeQuality?: ResizeQuality; + resizeWidth?: number; +} + +interface ImageBitmapRenderingContextSettings { + alpha?: boolean; +} + +interface ImageDataSettings { + colorSpace?: PredefinedColorSpace; +} + +interface ImportMeta { + url: string; +} + +interface InputEventInit extends UIEventInit { + data?: string | null; + dataTransfer?: DataTransfer | null; + inputType?: string; + isComposing?: boolean; + targetRanges?: StaticRange[]; +} + +interface IntersectionObserverEntryInit { + boundingClientRect: DOMRectInit; + intersectionRatio: number; + intersectionRect: DOMRectInit; + isIntersecting: boolean; + rootBounds: DOMRectInit | null; + target: Element; + time: DOMHighResTimeStamp; +} + +interface IntersectionObserverInit { + root?: Element | Document | null; + rootMargin?: string; + threshold?: number | number[]; +} + +interface JsonWebKey { + alg?: string; + crv?: string; + d?: string; + dp?: string; + dq?: string; + e?: string; + ext?: boolean; + k?: string; + key_ops?: string[]; + kty?: string; + n?: string; + oth?: RsaOtherPrimesInfo[]; + p?: string; + q?: string; + qi?: string; + use?: string; + x?: string; + y?: string; +} + +interface KeyAlgorithm { + name: string; +} + +interface KeyboardEventInit extends EventModifierInit { + /** @deprecated */ + charCode?: number; + code?: string; + isComposing?: boolean; + key?: string; + /** @deprecated */ + keyCode?: number; + location?: number; + repeat?: boolean; +} + +interface Keyframe { + composite?: CompositeOperationOrAuto; + easing?: string; + offset?: number | null; + [property: string]: string | number | null | undefined; +} + +interface KeyframeAnimationOptions extends KeyframeEffectOptions { + id?: string; +} + +interface KeyframeEffectOptions extends EffectTiming { + composite?: CompositeOperation; + iterationComposite?: IterationCompositeOperation; + pseudoElement?: string | null; +} + +interface MediaCapabilitiesDecodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaDecodingConfiguration; +} + +interface MediaCapabilitiesEncodingInfo extends MediaCapabilitiesInfo { + configuration?: MediaEncodingConfiguration; +} + +interface MediaCapabilitiesInfo { + powerEfficient: boolean; + smooth: boolean; + supported: boolean; +} + +interface MediaConfiguration { + audio?: AudioConfiguration; + video?: VideoConfiguration; +} + +interface MediaDecodingConfiguration extends MediaConfiguration { + type: MediaDecodingType; +} + +interface MediaElementAudioSourceOptions { + mediaElement: HTMLMediaElement; +} + +interface MediaEncodingConfiguration extends MediaConfiguration { + type: MediaEncodingType; +} + +interface MediaEncryptedEventInit extends EventInit { + initData?: ArrayBuffer | null; + initDataType?: string; +} + +interface MediaImage { + sizes?: string; + src: string; + type?: string; +} + +interface MediaKeyMessageEventInit extends EventInit { + message: ArrayBuffer; + messageType: MediaKeyMessageType; +} + +interface MediaKeySystemConfiguration { + audioCapabilities?: MediaKeySystemMediaCapability[]; + distinctiveIdentifier?: MediaKeysRequirement; + initDataTypes?: string[]; + label?: string; + persistentState?: MediaKeysRequirement; + sessionTypes?: string[]; + videoCapabilities?: MediaKeySystemMediaCapability[]; +} + +interface MediaKeySystemMediaCapability { + contentType?: string; + encryptionScheme?: string | null; + robustness?: string; +} + +interface MediaMetadataInit { + album?: string; + artist?: string; + artwork?: MediaImage[]; + title?: string; +} + +interface MediaPositionState { + duration?: number; + playbackRate?: number; + position?: number; +} + +interface MediaQueryListEventInit extends EventInit { + matches?: boolean; + media?: string; +} + +interface MediaRecorderErrorEventInit extends EventInit { + error: DOMException; +} + +interface MediaRecorderOptions { + audioBitsPerSecond?: number; + bitsPerSecond?: number; + mimeType?: string; + videoBitsPerSecond?: number; +} + +interface MediaSessionActionDetails { + action: MediaSessionAction; + fastSeek?: boolean | null; + seekOffset?: number | null; + seekTime?: number | null; +} + +interface MediaStreamAudioSourceOptions { + mediaStream: MediaStream; +} + +interface MediaStreamConstraints { + audio?: boolean | MediaTrackConstraints; + peerIdentity?: string; + video?: boolean | MediaTrackConstraints; +} + +interface MediaStreamTrackEventInit extends EventInit { + track: MediaStreamTrack; +} + +interface MediaTrackCapabilities { + aspectRatio?: DoubleRange; + autoGainControl?: boolean[]; + channelCount?: ULongRange; + cursor?: string[]; + deviceId?: string; + displaySurface?: string; + echoCancellation?: boolean[]; + facingMode?: string[]; + frameRate?: DoubleRange; + groupId?: string; + height?: ULongRange; + latency?: DoubleRange; + logicalSurface?: boolean; + noiseSuppression?: boolean[]; + resizeMode?: string[]; + sampleRate?: ULongRange; + sampleSize?: ULongRange; + width?: ULongRange; +} + +interface MediaTrackConstraintSet { + aspectRatio?: ConstrainDouble; + channelCount?: ConstrainULong; + deviceId?: ConstrainDOMString; + echoCancellation?: ConstrainBoolean; + facingMode?: ConstrainDOMString; + frameRate?: ConstrainDouble; + groupId?: ConstrainDOMString; + height?: ConstrainULong; + latency?: ConstrainDouble; + sampleRate?: ConstrainULong; + sampleSize?: ConstrainULong; + suppressLocalAudioPlayback?: ConstrainBoolean; + width?: ConstrainULong; +} + +interface MediaTrackConstraints extends MediaTrackConstraintSet { + advanced?: MediaTrackConstraintSet[]; +} + +interface MediaTrackSettings { + aspectRatio?: number; + deviceId?: string; + echoCancellation?: boolean; + facingMode?: string; + frameRate?: number; + groupId?: string; + height?: number; + restrictOwnAudio?: boolean; + sampleRate?: number; + sampleSize?: number; + width?: number; +} + +interface MediaTrackSupportedConstraints { + aspectRatio?: boolean; + deviceId?: boolean; + echoCancellation?: boolean; + facingMode?: boolean; + frameRate?: boolean; + groupId?: boolean; + height?: boolean; + sampleRate?: boolean; + sampleSize?: boolean; + suppressLocalAudioPlayback?: boolean; + width?: boolean; +} + +interface MessageEventInit extends EventInit { + data?: T; + lastEventId?: string; + origin?: string; + ports?: MessagePort[]; + source?: MessageEventSource | null; +} + +interface MouseEventInit extends EventModifierInit { + button?: number; + buttons?: number; + clientX?: number; + clientY?: number; + movementX?: number; + movementY?: number; + relatedTarget?: EventTarget | null; + screenX?: number; + screenY?: number; +} + +interface MultiCacheQueryOptions extends CacheQueryOptions { + cacheName?: string; +} + +interface MutationObserverInit { + /** + * Set to a list of attribute local names (without namespace) if not all attribute mutations need to be observed and attributes is true or omitted. + */ + attributeFilter?: string[]; + /** + * Set to true if attributes is true or omitted and target's attribute value before the mutation needs to be recorded. + */ + attributeOldValue?: boolean; + /** + * Set to true if mutations to target's attributes are to be observed. Can be omitted if attributeOldValue or attributeFilter is specified. + */ + attributes?: boolean; + /** + * Set to true if mutations to target's data are to be observed. Can be omitted if characterDataOldValue is specified. + */ + characterData?: boolean; + /** + * Set to true if characterData is set to true or omitted and target's data before the mutation needs to be recorded. + */ + characterDataOldValue?: boolean; + /** + * Set to true if mutations to target's children are to be observed. + */ + childList?: boolean; + /** + * Set to true if mutations to not just target, but also target's descendants are to be observed. + */ + subtree?: boolean; +} + +interface NotificationAction { + action: string; + icon?: string; + title: string; +} + +interface NotificationOptions { + actions?: NotificationAction[]; + badge?: string; + body?: string; + data?: any; + dir?: NotificationDirection; + icon?: string; + image?: string; + lang?: string; + renotify?: boolean; + requireInteraction?: boolean; + silent?: boolean; + tag?: string; + timestamp?: DOMTimeStamp; + vibrate?: VibratePattern; +} + +interface OfflineAudioCompletionEventInit extends EventInit { + renderedBuffer: AudioBuffer; +} + +interface OfflineAudioContextOptions { + length: number; + numberOfChannels?: number; + sampleRate: number; +} + +interface OptionalEffectTiming { + delay?: number; + direction?: PlaybackDirection; + duration?: number | string; + easing?: string; + endDelay?: number; + fill?: FillMode; + iterationStart?: number; + iterations?: number; + playbackRate?: number; +} + +interface OscillatorOptions extends AudioNodeOptions { + detune?: number; + frequency?: number; + periodicWave?: PeriodicWave; + type?: OscillatorType; +} + +interface PageTransitionEventInit extends EventInit { + persisted?: boolean; +} + +interface PannerOptions extends AudioNodeOptions { + coneInnerAngle?: number; + coneOuterAngle?: number; + coneOuterGain?: number; + distanceModel?: DistanceModelType; + maxDistance?: number; + orientationX?: number; + orientationY?: number; + orientationZ?: number; + panningModel?: PanningModelType; + positionX?: number; + positionY?: number; + positionZ?: number; + refDistance?: number; + rolloffFactor?: number; +} + +interface PaymentCurrencyAmount { + currency: string; + value: string; +} + +interface PaymentDetailsBase { + displayItems?: PaymentItem[]; + modifiers?: PaymentDetailsModifier[]; +} + +interface PaymentDetailsInit extends PaymentDetailsBase { + id?: string; + total: PaymentItem; +} + +interface PaymentDetailsModifier { + additionalDisplayItems?: PaymentItem[]; + data?: any; + supportedMethods: string; + total?: PaymentItem; +} + +interface PaymentDetailsUpdate extends PaymentDetailsBase { + paymentMethodErrors?: any; + total?: PaymentItem; +} + +interface PaymentItem { + amount: PaymentCurrencyAmount; + label: string; + pending?: boolean; +} + +interface PaymentMethodChangeEventInit extends PaymentRequestUpdateEventInit { + methodDetails?: any; + methodName?: string; +} + +interface PaymentMethodData { + data?: any; + supportedMethods: string; +} + +interface PaymentRequestUpdateEventInit extends EventInit { +} + +interface PaymentValidationErrors { + error?: string; + paymentMethod?: any; +} + +interface Pbkdf2Params extends Algorithm { + hash: HashAlgorithmIdentifier; + iterations: number; + salt: BufferSource; +} + +interface PerformanceMarkOptions { + detail?: any; + startTime?: DOMHighResTimeStamp; +} + +interface PerformanceMeasureOptions { + detail?: any; + duration?: DOMHighResTimeStamp; + end?: string | DOMHighResTimeStamp; + start?: string | DOMHighResTimeStamp; +} + +interface PerformanceObserverInit { + buffered?: boolean; + entryTypes?: string[]; + type?: string; +} + +interface PeriodicWaveConstraints { + disableNormalization?: boolean; +} + +interface PeriodicWaveOptions extends PeriodicWaveConstraints { + imag?: number[] | Float32Array; + real?: number[] | Float32Array; +} + +interface PermissionDescriptor { + name: PermissionName; +} + +interface PointerEventInit extends MouseEventInit { + coalescedEvents?: PointerEvent[]; + height?: number; + isPrimary?: boolean; + pointerId?: number; + pointerType?: string; + predictedEvents?: PointerEvent[]; + pressure?: number; + tangentialPressure?: number; + tiltX?: number; + tiltY?: number; + twist?: number; + width?: number; +} + +interface PopStateEventInit extends EventInit { + state?: any; +} + +interface PositionOptions { + enableHighAccuracy?: boolean; + maximumAge?: number; + timeout?: number; +} + +interface PostMessageOptions { + transfer?: any[]; +} + +interface ProgressEventInit extends EventInit { + lengthComputable?: boolean; + loaded?: number; + total?: number; +} + +interface PromiseRejectionEventInit extends EventInit { + promise: Promise; + reason?: any; +} + +interface PropertyIndexedKeyframes { + composite?: CompositeOperationOrAuto | CompositeOperationOrAuto[]; + easing?: string | string[]; + offset?: number | (number | null)[]; + [property: string]: string | string[] | number | null | (number | null)[] | undefined; +} + +interface PublicKeyCredentialCreationOptions { + attestation?: AttestationConveyancePreference; + authenticatorSelection?: AuthenticatorSelectionCriteria; + challenge: BufferSource; + excludeCredentials?: PublicKeyCredentialDescriptor[]; + extensions?: AuthenticationExtensionsClientInputs; + pubKeyCredParams: PublicKeyCredentialParameters[]; + rp: PublicKeyCredentialRpEntity; + timeout?: number; + user: PublicKeyCredentialUserEntity; +} + +interface PublicKeyCredentialDescriptor { + id: BufferSource; + transports?: AuthenticatorTransport[]; + type: PublicKeyCredentialType; +} + +interface PublicKeyCredentialEntity { + name: string; +} + +interface PublicKeyCredentialParameters { + alg: COSEAlgorithmIdentifier; + type: PublicKeyCredentialType; +} + +interface PublicKeyCredentialRequestOptions { + allowCredentials?: PublicKeyCredentialDescriptor[]; + challenge: BufferSource; + extensions?: AuthenticationExtensionsClientInputs; + rpId?: string; + timeout?: number; + userVerification?: UserVerificationRequirement; +} + +interface PublicKeyCredentialRpEntity extends PublicKeyCredentialEntity { + id?: string; +} + +interface PublicKeyCredentialUserEntity extends PublicKeyCredentialEntity { + displayName: string; + id: BufferSource; +} + +interface PushSubscriptionJSON { + endpoint?: string; + expirationTime?: DOMTimeStamp | null; + keys?: Record; +} + +interface PushSubscriptionOptionsInit { + applicationServerKey?: BufferSource | string | null; + userVisibleOnly?: boolean; +} + +interface QueuingStrategy { + highWaterMark?: number; + size?: QueuingStrategySize; +} + +interface QueuingStrategyInit { + /** + * Creates a new ByteLengthQueuingStrategy with the provided high water mark. + * + * Note that the provided high water mark will not be validated ahead of time. Instead, if it is negative, NaN, or not a number, the resulting ByteLengthQueuingStrategy will cause the corresponding stream constructor to throw. + */ + highWaterMark: number; +} + +interface RTCAnswerOptions extends RTCOfferAnswerOptions { +} + +interface RTCCertificateExpiration { + expires?: DOMTimeStamp; +} + +interface RTCConfiguration { + bundlePolicy?: RTCBundlePolicy; + certificates?: RTCCertificate[]; + iceCandidatePoolSize?: number; + iceServers?: RTCIceServer[]; + iceTransportPolicy?: RTCIceTransportPolicy; + rtcpMuxPolicy?: RTCRtcpMuxPolicy; +} + +interface RTCDTMFToneChangeEventInit extends EventInit { + tone?: string; +} + +interface RTCDataChannelEventInit extends EventInit { + channel: RTCDataChannel; +} + +interface RTCDataChannelInit { + id?: number; + maxPacketLifeTime?: number; + maxRetransmits?: number; + negotiated?: boolean; + ordered?: boolean; + protocol?: string; +} + +interface RTCDtlsFingerprint { + algorithm?: string; + value?: string; +} + +interface RTCIceCandidateInit { + candidate?: string; + sdpMLineIndex?: number | null; + sdpMid?: string | null; + usernameFragment?: string | null; +} + +interface RTCIceCandidatePairStats extends RTCStats { + availableIncomingBitrate?: number; + availableOutgoingBitrate?: number; + bytesReceived?: number; + bytesSent?: number; + currentRoundTripTime?: number; + localCandidateId: string; + nominated?: boolean; + remoteCandidateId: string; + requestsReceived?: number; + requestsSent?: number; + responsesReceived?: number; + responsesSent?: number; + state: RTCStatsIceCandidatePairState; + totalRoundTripTime?: number; + transportId: string; +} + +interface RTCIceServer { + credential?: string; + credentialType?: RTCIceCredentialType; + urls: string | string[]; + username?: string; +} + +interface RTCInboundRtpStreamStats extends RTCReceivedRtpStreamStats { + firCount?: number; + framesDecoded?: number; + nackCount?: number; + pliCount?: number; + qpSum?: number; + remoteId?: string; +} + +interface RTCLocalSessionDescriptionInit { + sdp?: string; + type?: RTCSdpType; +} + +interface RTCOfferAnswerOptions { +} + +interface RTCOfferOptions extends RTCOfferAnswerOptions { + iceRestart?: boolean; + offerToReceiveAudio?: boolean; + offerToReceiveVideo?: boolean; +} + +interface RTCOutboundRtpStreamStats extends RTCSentRtpStreamStats { + firCount?: number; + framesEncoded?: number; + nackCount?: number; + pliCount?: number; + qpSum?: number; + remoteId?: string; +} + +interface RTCPeerConnectionIceErrorEventInit extends EventInit { + address?: string | null; + errorCode: number; + errorText?: string; + port?: number | null; + url?: string; +} + +interface RTCPeerConnectionIceEventInit extends EventInit { + candidate?: RTCIceCandidate | null; + url?: string | null; +} + +interface RTCReceivedRtpStreamStats extends RTCRtpStreamStats { + jitter?: number; + packetsDiscarded?: number; + packetsLost?: number; + packetsReceived?: number; +} + +interface RTCRtcpParameters { + cname?: string; + reducedSize?: boolean; +} + +interface RTCRtpCapabilities { + codecs: RTCRtpCodecCapability[]; + headerExtensions: RTCRtpHeaderExtensionCapability[]; +} + +interface RTCRtpCodecCapability { + channels?: number; + clockRate: number; + mimeType: string; + sdpFmtpLine?: string; +} + +interface RTCRtpCodecParameters { + channels?: number; + clockRate: number; + mimeType: string; + payloadType: number; + sdpFmtpLine?: string; +} + +interface RTCRtpCodingParameters { + rid?: string; +} + +interface RTCRtpContributingSource { + audioLevel?: number; + rtpTimestamp: number; + source: number; + timestamp: DOMHighResTimeStamp; +} + +interface RTCRtpEncodingParameters extends RTCRtpCodingParameters { + active?: boolean; + maxBitrate?: number; + priority?: RTCPriorityType; + scaleResolutionDownBy?: number; +} + +interface RTCRtpHeaderExtensionCapability { + uri?: string; +} + +interface RTCRtpHeaderExtensionParameters { + encrypted?: boolean; + id: number; + uri: string; +} + +interface RTCRtpParameters { + codecs: RTCRtpCodecParameters[]; + headerExtensions: RTCRtpHeaderExtensionParameters[]; + rtcp: RTCRtcpParameters; +} + +interface RTCRtpReceiveParameters extends RTCRtpParameters { +} + +interface RTCRtpSendParameters extends RTCRtpParameters { + degradationPreference?: RTCDegradationPreference; + encodings: RTCRtpEncodingParameters[]; + transactionId: string; +} + +interface RTCRtpStreamStats extends RTCStats { + codecId?: string; + kind: string; + ssrc: number; + transportId?: string; +} + +interface RTCRtpSynchronizationSource extends RTCRtpContributingSource { +} + +interface RTCRtpTransceiverInit { + direction?: RTCRtpTransceiverDirection; + sendEncodings?: RTCRtpEncodingParameters[]; + streams?: MediaStream[]; +} + +interface RTCSentRtpStreamStats extends RTCRtpStreamStats { + bytesSent?: number; + packetsSent?: number; +} + +interface RTCSessionDescriptionInit { + sdp?: string; + type: RTCSdpType; +} + +interface RTCStats { + id: string; + timestamp: DOMHighResTimeStamp; + type: RTCStatsType; +} + +interface RTCTrackEventInit extends EventInit { + receiver: RTCRtpReceiver; + streams?: MediaStream[]; + track: MediaStreamTrack; + transceiver: RTCRtpTransceiver; +} + +interface RTCTransportStats extends RTCStats { + bytesReceived?: number; + bytesSent?: number; + dtlsCipher?: string; + dtlsState: RTCDtlsTransportState; + localCertificateId?: string; + remoteCertificateId?: string; + rtcpTransportStatsId?: string; + selectedCandidatePairId?: string; + srtpCipher?: string; + tlsVersion?: string; +} + +interface ReadableStreamDefaultReadDoneResult { + done: true; + value?: undefined; +} + +interface ReadableStreamDefaultReadValueResult { + done: false; + value: T; +} + +interface ReadableWritablePair { + readable: ReadableStream; + /** + * Provides a convenient, chainable way of piping this readable stream through a transform stream (or any other { writable, readable } pair). It simply pipes the stream into the writable side of the supplied pair, and returns the readable side for further use. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + */ + writable: WritableStream; +} + +interface RegistrationOptions { + scope?: string; + type?: WorkerType; + updateViaCache?: ServiceWorkerUpdateViaCache; +} + +interface RequestInit { + /** + * A BodyInit object or null to set request's body. + */ + body?: BodyInit | null; + /** + * A string indicating how the request will interact with the browser's cache to set request's cache. + */ + cache?: RequestCache; + /** + * A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL. Sets request's credentials. + */ + credentials?: RequestCredentials; + /** + * A Headers object, an object literal, or an array of two-item arrays to set request's headers. + */ + headers?: HeadersInit; + /** + * A cryptographic hash of the resource to be fetched by request. Sets request's integrity. + */ + integrity?: string; + /** + * A boolean to set request's keepalive. + */ + keepalive?: boolean; + /** + * A string to set request's method. + */ + method?: string; + /** + * A string to indicate whether the request will use CORS, or will be restricted to same-origin URLs. Sets request's mode. + */ + mode?: RequestMode; + /** + * A string indicating whether request follows redirects, results in an error upon encountering a redirect, or returns the redirect (in an opaque fashion). Sets request's redirect. + */ + redirect?: RequestRedirect; + /** + * A string whose value is a same-origin URL, "about:client", or the empty string, to set request's referrer. + */ + referrer?: string; + /** + * A referrer policy to set request's referrerPolicy. + */ + referrerPolicy?: ReferrerPolicy; + /** + * An AbortSignal to set request's signal. + */ + signal?: AbortSignal | null; + /** + * Can only be null. Used to disassociate request from any Window. + */ + window?: any; +} + +interface ResizeObserverOptions { + box?: ResizeObserverBoxOptions; +} + +interface ResponseInit { + headers?: HeadersInit; + status?: number; + statusText?: string; +} + +interface RsaHashedImportParams extends Algorithm { + hash: HashAlgorithmIdentifier; +} + +interface RsaHashedKeyAlgorithm extends RsaKeyAlgorithm { + hash: KeyAlgorithm; +} + +interface RsaHashedKeyGenParams extends RsaKeyGenParams { + hash: HashAlgorithmIdentifier; +} + +interface RsaKeyAlgorithm extends KeyAlgorithm { + modulusLength: number; + publicExponent: BigInteger; +} + +interface RsaKeyGenParams extends Algorithm { + modulusLength: number; + publicExponent: BigInteger; +} + +interface RsaOaepParams extends Algorithm { + label?: BufferSource; +} + +interface RsaOtherPrimesInfo { + d?: string; + r?: string; + t?: string; +} + +interface RsaPssParams extends Algorithm { + saltLength: number; +} + +interface SVGBoundingBoxOptions { + clipped?: boolean; + fill?: boolean; + markers?: boolean; + stroke?: boolean; +} + +interface ScrollIntoViewOptions extends ScrollOptions { + block?: ScrollLogicalPosition; + inline?: ScrollLogicalPosition; +} + +interface ScrollOptions { + behavior?: ScrollBehavior; +} + +interface ScrollToOptions extends ScrollOptions { + left?: number; + top?: number; +} + +interface SecurityPolicyViolationEventInit extends EventInit { + blockedURI?: string; + columnNumber?: number; + disposition: SecurityPolicyViolationEventDisposition; + documentURI: string; + effectiveDirective: string; + lineNumber?: number; + originalPolicy: string; + referrer?: string; + sample?: string; + sourceFile?: string; + statusCode: number; + violatedDirective: string; +} + +interface ShadowRootInit { + delegatesFocus?: boolean; + mode: ShadowRootMode; + slotAssignment?: SlotAssignmentMode; +} + +interface ShareData { + files?: File[]; + text?: string; + title?: string; + url?: string; +} + +interface SpeechSynthesisErrorEventInit extends SpeechSynthesisEventInit { + error: SpeechSynthesisErrorCode; +} + +interface SpeechSynthesisEventInit extends EventInit { + charIndex?: number; + charLength?: number; + elapsedTime?: number; + name?: string; + utterance: SpeechSynthesisUtterance; +} + +interface StaticRangeInit { + endContainer: Node; + endOffset: number; + startContainer: Node; + startOffset: number; +} + +interface StereoPannerOptions extends AudioNodeOptions { + pan?: number; +} + +interface StorageEstimate { + quota?: number; + usage?: number; +} + +interface StorageEventInit extends EventInit { + key?: string | null; + newValue?: string | null; + oldValue?: string | null; + storageArea?: Storage | null; + url?: string; +} + +interface StreamPipeOptions { + preventAbort?: boolean; + preventCancel?: boolean; + /** + * Pipes this readable stream to a given writable stream destination. The way in which the piping process behaves under various error conditions can be customized with a number of passed options. It returns a promise that fulfills when the piping process completes successfully, or rejects if any errors were encountered. + * + * Piping a stream will lock it for the duration of the pipe, preventing any other consumer from acquiring a reader. + * + * Errors and closures of the source and destination streams propagate as follows: + * + * An error in this source readable stream will abort destination, unless preventAbort is truthy. The returned promise will be rejected with the source's error, or with any error that occurs during aborting the destination. + * + * An error in destination will cancel this source readable stream, unless preventCancel is truthy. The returned promise will be rejected with the destination's error, or with any error that occurs during canceling the source. + * + * When this source readable stream closes, destination will be closed, unless preventClose is truthy. The returned promise will be fulfilled once this process completes, unless an error is encountered while closing the destination, in which case it will be rejected with that error. + * + * If destination starts out closed or closing, this source readable stream will be canceled, unless preventCancel is true. The returned promise will be rejected with an error indicating piping to a closed stream failed, or with any error that occurs during canceling the source. + * + * The signal option can be set to an AbortSignal to allow aborting an ongoing pipe operation via the corresponding AbortController. In this case, this source readable stream will be canceled, and destination aborted, unless the respective options preventCancel or preventAbort are set. + */ + preventClose?: boolean; + signal?: AbortSignal; +} + +interface SubmitEventInit extends EventInit { + submitter?: HTMLElement | null; +} + +interface TextDecodeOptions { + stream?: boolean; +} + +interface TextDecoderOptions { + fatal?: boolean; + ignoreBOM?: boolean; +} + +interface TextEncoderEncodeIntoResult { + read?: number; + written?: number; +} + +interface TouchEventInit extends EventModifierInit { + changedTouches?: Touch[]; + targetTouches?: Touch[]; + touches?: Touch[]; +} + +interface TouchInit { + altitudeAngle?: number; + azimuthAngle?: number; + clientX?: number; + clientY?: number; + force?: number; + identifier: number; + pageX?: number; + pageY?: number; + radiusX?: number; + radiusY?: number; + rotationAngle?: number; + screenX?: number; + screenY?: number; + target: EventTarget; + touchType?: TouchType; +} + +interface TrackEventInit extends EventInit { + track?: TextTrack | null; +} + +interface Transformer { + flush?: TransformerFlushCallback; + readableType?: undefined; + start?: TransformerStartCallback; + transform?: TransformerTransformCallback; + writableType?: undefined; +} + +interface TransitionEventInit extends EventInit { + elapsedTime?: number; + propertyName?: string; + pseudoElement?: string; +} + +interface UIEventInit extends EventInit { + detail?: number; + view?: Window | null; + /** @deprecated */ + which?: number; +} + +interface ULongRange { + max?: number; + min?: number; +} + +interface UnderlyingSink { + abort?: UnderlyingSinkAbortCallback; + close?: UnderlyingSinkCloseCallback; + start?: UnderlyingSinkStartCallback; + type?: undefined; + write?: UnderlyingSinkWriteCallback; +} + +interface UnderlyingSource { + cancel?: UnderlyingSourceCancelCallback; + pull?: UnderlyingSourcePullCallback; + start?: UnderlyingSourceStartCallback; + type?: undefined; +} + +interface VideoConfiguration { + bitrate: number; + colorGamut?: ColorGamut; + contentType: string; + framerate: number; + hdrMetadataType?: HdrMetadataType; + height: number; + scalabilityMode?: string; + transferFunction?: TransferFunction; + width: number; +} + +interface WaveShaperOptions extends AudioNodeOptions { + curve?: number[] | Float32Array; + oversample?: OverSampleType; +} + +interface WebGLContextAttributes { + alpha?: boolean; + antialias?: boolean; + depth?: boolean; + desynchronized?: boolean; + failIfMajorPerformanceCaveat?: boolean; + powerPreference?: WebGLPowerPreference; + premultipliedAlpha?: boolean; + preserveDrawingBuffer?: boolean; + stencil?: boolean; +} + +interface WebGLContextEventInit extends EventInit { + statusMessage?: string; +} + +interface WheelEventInit extends MouseEventInit { + deltaMode?: number; + deltaX?: number; + deltaY?: number; + deltaZ?: number; +} + +interface WindowPostMessageOptions extends PostMessageOptions { + targetOrigin?: string; +} + +interface WorkerOptions { + credentials?: RequestCredentials; + name?: string; + type?: WorkerType; +} + +interface WorkletOptions { + credentials?: RequestCredentials; +} + +type NodeFilter = ((node: Node) => number) | { acceptNode(node: Node): number; }; + +declare var NodeFilter: { + readonly FILTER_ACCEPT: number; + readonly FILTER_REJECT: number; + readonly FILTER_SKIP: number; + readonly SHOW_ALL: number; + readonly SHOW_ATTRIBUTE: number; + readonly SHOW_CDATA_SECTION: number; + readonly SHOW_COMMENT: number; + readonly SHOW_DOCUMENT: number; + readonly SHOW_DOCUMENT_FRAGMENT: number; + readonly SHOW_DOCUMENT_TYPE: number; + readonly SHOW_ELEMENT: number; + readonly SHOW_ENTITY: number; + readonly SHOW_ENTITY_REFERENCE: number; + readonly SHOW_NOTATION: number; + readonly SHOW_PROCESSING_INSTRUCTION: number; + readonly SHOW_TEXT: number; +}; + +type XPathNSResolver = ((prefix: string | null) => string | null) | { lookupNamespaceURI(prefix: string | null): string | null; }; + +/** The ANGLE_instanced_arrays extension is part of the WebGL API and allows to draw the same object, or groups of similar objects multiple times, if they share the same vertex data, primitive count and type. */ +interface ANGLE_instanced_arrays { + drawArraysInstancedANGLE(mode: GLenum, first: GLint, count: GLsizei, primcount: GLsizei): void; + drawElementsInstancedANGLE(mode: GLenum, count: GLsizei, type: GLenum, offset: GLintptr, primcount: GLsizei): void; + vertexAttribDivisorANGLE(index: GLuint, divisor: GLuint): void; + readonly VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE: GLenum; +} + +interface ARIAMixin { + ariaAtomic: string; + ariaAutoComplete: string; + ariaBusy: string; + ariaChecked: string; + ariaColCount: string; + ariaColIndex: string; + ariaColSpan: string; + ariaCurrent: string; + ariaDisabled: string; + ariaExpanded: string; + ariaHasPopup: string; + ariaHidden: string; + ariaKeyShortcuts: string; + ariaLabel: string; + ariaLevel: string; + ariaLive: string; + ariaModal: string; + ariaMultiLine: string; + ariaMultiSelectable: string; + ariaOrientation: string; + ariaPlaceholder: string; + ariaPosInSet: string; + ariaPressed: string; + ariaReadOnly: string; + ariaRequired: string; + ariaRoleDescription: string; + ariaRowCount: string; + ariaRowIndex: string; + ariaRowSpan: string; + ariaSelected: string; + ariaSetSize: string; + ariaSort: string; + ariaValueMax: string; + ariaValueMin: string; + ariaValueNow: string; + ariaValueText: string; +} + +/** A controller object that allows you to abort one or more DOM requests as and when desired. */ +interface AbortController { + /** + * Returns the AbortSignal object associated with this object. + */ + readonly signal: AbortSignal; + /** + * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. + */ + abort(): void; +} + +declare var AbortController: { + prototype: AbortController; + new(): AbortController; +}; + +interface AbortSignalEventMap { + "abort": Event; +} + +/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ +interface AbortSignal extends EventTarget { + /** + * Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. + */ + readonly aborted: boolean; + onabort: ((this: AbortSignal, ev: Event) => any) | null; + addEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbortSignal, ev: AbortSignalEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AbortSignal: { + prototype: AbortSignal; + new(): AbortSignal; +}; + +interface AbstractRange { + /** + * Returns true if range is collapsed, and false otherwise. + */ + readonly collapsed: boolean; + /** + * Returns range's end node. + */ + readonly endContainer: Node; + /** + * Returns range's end offset. + */ + readonly endOffset: number; + /** + * Returns range's start node. + */ + readonly startContainer: Node; + /** + * Returns range's start offset. + */ + readonly startOffset: number; +} + +declare var AbstractRange: { + prototype: AbstractRange; + new(): AbstractRange; +}; + +interface AbstractWorkerEventMap { + "error": ErrorEvent; +} + +interface AbstractWorker { + onerror: ((this: AbstractWorker, ev: ErrorEvent) => any) | null; + addEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AbstractWorker, ev: AbstractWorkerEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +/** A node able to provide real-time frequency and time-domain analysis information. It is an AudioNode that passes the audio stream unchanged from the input to the output, but allows you to take the generated data, process it, and create audio visualizations. */ +interface AnalyserNode extends AudioNode { + fftSize: number; + readonly frequencyBinCount: number; + maxDecibels: number; + minDecibels: number; + smoothingTimeConstant: number; + getByteFrequencyData(array: Uint8Array): void; + getByteTimeDomainData(array: Uint8Array): void; + getFloatFrequencyData(array: Float32Array): void; + getFloatTimeDomainData(array: Float32Array): void; +} + +declare var AnalyserNode: { + prototype: AnalyserNode; + new(context: BaseAudioContext, options?: AnalyserOptions): AnalyserNode; +}; + +interface Animatable { + animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation; + getAnimations(options?: GetAnimationsOptions): Animation[]; +} + +interface AnimationEventMap { + "cancel": AnimationPlaybackEvent; + "finish": AnimationPlaybackEvent; + "remove": Event; +} + +interface Animation extends EventTarget { + currentTime: number | null; + effect: AnimationEffect | null; + readonly finished: Promise; + id: string; + oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; + onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null; + onremove: ((this: Animation, ev: Event) => any) | null; + readonly pending: boolean; + readonly playState: AnimationPlayState; + playbackRate: number; + readonly ready: Promise; + readonly replaceState: AnimationReplaceState; + startTime: number | null; + timeline: AnimationTimeline | null; + cancel(): void; + commitStyles(): void; + finish(): void; + pause(): void; + persist(): void; + play(): void; + reverse(): void; + updatePlaybackRate(playbackRate: number): void; + addEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Animation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Animation: { + prototype: Animation; + new(effect?: AnimationEffect | null, timeline?: AnimationTimeline | null): Animation; +}; + +interface AnimationEffect { + getComputedTiming(): ComputedEffectTiming; + getTiming(): EffectTiming; + updateTiming(timing?: OptionalEffectTiming): void; +} + +declare var AnimationEffect: { + prototype: AnimationEffect; + new(): AnimationEffect; +}; + +/** Events providing information related to animations. */ +interface AnimationEvent extends Event { + readonly animationName: string; + readonly elapsedTime: number; + readonly pseudoElement: string; +} + +declare var AnimationEvent: { + prototype: AnimationEvent; + new(type: string, animationEventInitDict?: AnimationEventInit): AnimationEvent; +}; + +interface AnimationFrameProvider { + cancelAnimationFrame(handle: number): void; + requestAnimationFrame(callback: FrameRequestCallback): number; +} + +interface AnimationPlaybackEvent extends Event { + readonly currentTime: number | null; + readonly timelineTime: number | null; +} + +declare var AnimationPlaybackEvent: { + prototype: AnimationPlaybackEvent; + new(type: string, eventInitDict?: AnimationPlaybackEventInit): AnimationPlaybackEvent; +}; + +interface AnimationTimeline { + readonly currentTime: number | null; +} + +declare var AnimationTimeline: { + prototype: AnimationTimeline; + new(): AnimationTimeline; +}; + +/** A DOM element's attribute as an object. In most DOM methods, you will probably directly retrieve the attribute as a string (e.g., Element.getAttribute(), but certain functions (e.g., Element.getAttributeNode()) or means of iterating give Attr types. */ +interface Attr extends Node { + readonly localName: string; + readonly name: string; + readonly namespaceURI: string | null; + readonly ownerDocument: Document; + readonly ownerElement: Element | null; + readonly prefix: string | null; + readonly specified: boolean; + value: string; +} + +declare var Attr: { + prototype: Attr; + new(): Attr; +}; + +/** A short audio asset residing in memory, created from an audio file using the AudioContext.decodeAudioData() method, or from raw data using AudioContext.createBuffer(). Once put into an AudioBuffer, the audio can then be played by being passed into an AudioBufferSourceNode. */ +interface AudioBuffer { + readonly duration: number; + readonly length: number; + readonly numberOfChannels: number; + readonly sampleRate: number; + copyFromChannel(destination: Float32Array, channelNumber: number, bufferOffset?: number): void; + copyToChannel(source: Float32Array, channelNumber: number, bufferOffset?: number): void; + getChannelData(channel: number): Float32Array; +} + +declare var AudioBuffer: { + prototype: AudioBuffer; + new(options: AudioBufferOptions): AudioBuffer; +}; + +/** An AudioScheduledSourceNode which represents an audio source consisting of in-memory audio data, stored in an AudioBuffer. It's especially useful for playing back audio which has particularly stringent timing accuracy requirements, such as for sounds that must match a specific rhythm and can be kept in memory rather than being played from disk or the network. */ +interface AudioBufferSourceNode extends AudioScheduledSourceNode { + buffer: AudioBuffer | null; + readonly detune: AudioParam; + loop: boolean; + loopEnd: number; + loopStart: number; + readonly playbackRate: AudioParam; + start(when?: number, offset?: number, duration?: number): void; + addEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioBufferSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioBufferSourceNode: { + prototype: AudioBufferSourceNode; + new(context: BaseAudioContext, options?: AudioBufferSourceOptions): AudioBufferSourceNode; +}; + +/** An audio-processing graph built from audio modules linked together, each represented by an AudioNode. */ +interface AudioContext extends BaseAudioContext { + readonly baseLatency: number; + close(): Promise; + createMediaElementSource(mediaElement: HTMLMediaElement): MediaElementAudioSourceNode; + createMediaStreamDestination(): MediaStreamAudioDestinationNode; + createMediaStreamSource(mediaStream: MediaStream): MediaStreamAudioSourceNode; + getOutputTimestamp(): AudioTimestamp; + resume(): Promise; + suspend(): Promise; + addEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioContext: { + prototype: AudioContext; + new(contextOptions?: AudioContextOptions): AudioContext; +}; + +/** AudioDestinationNode has no output (as it is the output, no more AudioNode can be linked after it in the audio graph) and one input. The number of channels in the input must be between 0 and the maxChannelCount value or an exception is raised. */ +interface AudioDestinationNode extends AudioNode { + readonly maxChannelCount: number; +} + +declare var AudioDestinationNode: { + prototype: AudioDestinationNode; + new(): AudioDestinationNode; +}; + +/** The position and orientation of the unique person listening to the audio scene, and is used in audio spatialization. All PannerNodes spatialize in relation to the AudioListener stored in the BaseAudioContext.listener attribute. */ +interface AudioListener { + readonly forwardX: AudioParam; + readonly forwardY: AudioParam; + readonly forwardZ: AudioParam; + readonly positionX: AudioParam; + readonly positionY: AudioParam; + readonly positionZ: AudioParam; + readonly upX: AudioParam; + readonly upY: AudioParam; + readonly upZ: AudioParam; + /** @deprecated */ + setOrientation(x: number, y: number, z: number, xUp: number, yUp: number, zUp: number): void; + /** @deprecated */ + setPosition(x: number, y: number, z: number): void; +} + +declare var AudioListener: { + prototype: AudioListener; + new(): AudioListener; +}; + +/** A generic interface for representing an audio processing module. Examples include: */ +interface AudioNode extends EventTarget { + channelCount: number; + channelCountMode: ChannelCountMode; + channelInterpretation: ChannelInterpretation; + readonly context: BaseAudioContext; + readonly numberOfInputs: number; + readonly numberOfOutputs: number; + connect(destinationNode: AudioNode, output?: number, input?: number): AudioNode; + connect(destinationParam: AudioParam, output?: number): void; + disconnect(): void; + disconnect(output: number): void; + disconnect(destinationNode: AudioNode): void; + disconnect(destinationNode: AudioNode, output: number): void; + disconnect(destinationNode: AudioNode, output: number, input: number): void; + disconnect(destinationParam: AudioParam): void; + disconnect(destinationParam: AudioParam, output: number): void; +} + +declare var AudioNode: { + prototype: AudioNode; + new(): AudioNode; +}; + +/** The Web Audio API's AudioParam interface represents an audio-related parameter, usually a parameter of an AudioNode (such as GainNode.gain). */ +interface AudioParam { + automationRate: AutomationRate; + readonly defaultValue: number; + readonly maxValue: number; + readonly minValue: number; + value: number; + cancelAndHoldAtTime(cancelTime: number): AudioParam; + cancelScheduledValues(cancelTime: number): AudioParam; + exponentialRampToValueAtTime(value: number, endTime: number): AudioParam; + linearRampToValueAtTime(value: number, endTime: number): AudioParam; + setTargetAtTime(target: number, startTime: number, timeConstant: number): AudioParam; + setValueAtTime(value: number, startTime: number): AudioParam; + setValueCurveAtTime(values: number[] | Float32Array, startTime: number, duration: number): AudioParam; +} + +declare var AudioParam: { + prototype: AudioParam; + new(): AudioParam; +}; + +interface AudioParamMap { + forEach(callbackfn: (value: AudioParam, key: string, parent: AudioParamMap) => void, thisArg?: any): void; +} + +declare var AudioParamMap: { + prototype: AudioParamMap; + new(): AudioParamMap; +}; + +/** + * The Web Audio API events that occur when a ScriptProcessorNode input buffer is ready to be processed. + * @deprecated As of the August 29 2014 Web Audio API spec publication, this feature has been marked as deprecated, and is soon to be replaced by AudioWorklet. + */ +interface AudioProcessingEvent extends Event { + /** @deprecated */ + readonly inputBuffer: AudioBuffer; + /** @deprecated */ + readonly outputBuffer: AudioBuffer; + /** @deprecated */ + readonly playbackTime: number; +} + +/** @deprecated */ +declare var AudioProcessingEvent: { + prototype: AudioProcessingEvent; + new(type: string, eventInitDict: AudioProcessingEventInit): AudioProcessingEvent; +}; + +interface AudioScheduledSourceNodeEventMap { + "ended": Event; +} + +interface AudioScheduledSourceNode extends AudioNode { + onended: ((this: AudioScheduledSourceNode, ev: Event) => any) | null; + start(when?: number): void; + stop(when?: number): void; + addEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioScheduledSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioScheduledSourceNode: { + prototype: AudioScheduledSourceNode; + new(): AudioScheduledSourceNode; +}; + +interface AudioWorklet extends Worklet { +} + +declare var AudioWorklet: { + prototype: AudioWorklet; + new(): AudioWorklet; +}; + +interface AudioWorkletNodeEventMap { + "processorerror": Event; +} + +interface AudioWorkletNode extends AudioNode { + onprocessorerror: ((this: AudioWorkletNode, ev: Event) => any) | null; + readonly parameters: AudioParamMap; + readonly port: MessagePort; + addEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: AudioWorkletNode, ev: AudioWorkletNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var AudioWorkletNode: { + prototype: AudioWorkletNode; + new(context: BaseAudioContext, name: string, options?: AudioWorkletNodeOptions): AudioWorkletNode; +}; + +interface AuthenticatorAssertionResponse extends AuthenticatorResponse { + readonly authenticatorData: ArrayBuffer; + readonly signature: ArrayBuffer; + readonly userHandle: ArrayBuffer | null; +} + +declare var AuthenticatorAssertionResponse: { + prototype: AuthenticatorAssertionResponse; + new(): AuthenticatorAssertionResponse; +}; + +interface AuthenticatorAttestationResponse extends AuthenticatorResponse { + readonly attestationObject: ArrayBuffer; +} + +declare var AuthenticatorAttestationResponse: { + prototype: AuthenticatorAttestationResponse; + new(): AuthenticatorAttestationResponse; +}; + +interface AuthenticatorResponse { + readonly clientDataJSON: ArrayBuffer; +} + +declare var AuthenticatorResponse: { + prototype: AuthenticatorResponse; + new(): AuthenticatorResponse; +}; + +interface BarProp { + readonly visible: boolean; +} + +declare var BarProp: { + prototype: BarProp; + new(): BarProp; +}; + +interface BaseAudioContextEventMap { + "statechange": Event; +} + +interface BaseAudioContext extends EventTarget { + readonly audioWorklet: AudioWorklet; + readonly currentTime: number; + readonly destination: AudioDestinationNode; + readonly listener: AudioListener; + onstatechange: ((this: BaseAudioContext, ev: Event) => any) | null; + readonly sampleRate: number; + readonly state: AudioContextState; + createAnalyser(): AnalyserNode; + createBiquadFilter(): BiquadFilterNode; + createBuffer(numberOfChannels: number, length: number, sampleRate: number): AudioBuffer; + createBufferSource(): AudioBufferSourceNode; + createChannelMerger(numberOfInputs?: number): ChannelMergerNode; + createChannelSplitter(numberOfOutputs?: number): ChannelSplitterNode; + createConstantSource(): ConstantSourceNode; + createConvolver(): ConvolverNode; + createDelay(maxDelayTime?: number): DelayNode; + createDynamicsCompressor(): DynamicsCompressorNode; + createGain(): GainNode; + createIIRFilter(feedforward: number[], feedback: number[]): IIRFilterNode; + createOscillator(): OscillatorNode; + createPanner(): PannerNode; + createPeriodicWave(real: number[] | Float32Array, imag: number[] | Float32Array, constraints?: PeriodicWaveConstraints): PeriodicWave; + /** @deprecated */ + createScriptProcessor(bufferSize?: number, numberOfInputChannels?: number, numberOfOutputChannels?: number): ScriptProcessorNode; + createStereoPanner(): StereoPannerNode; + createWaveShaper(): WaveShaperNode; + decodeAudioData(audioData: ArrayBuffer, successCallback?: DecodeSuccessCallback | null, errorCallback?: DecodeErrorCallback | null): Promise; + addEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: BaseAudioContext, ev: BaseAudioContextEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var BaseAudioContext: { + prototype: BaseAudioContext; + new(): BaseAudioContext; +}; + +/** The beforeunload event is fired when the window, the document and its resources are about to be unloaded. */ +interface BeforeUnloadEvent extends Event { + returnValue: any; +} + +declare var BeforeUnloadEvent: { + prototype: BeforeUnloadEvent; + new(): BeforeUnloadEvent; +}; + +/** A simple low-order filter, and is created using the AudioContext.createBiquadFilter() method. It is an AudioNode that can represent different kinds of filters, tone control devices, and graphic equalizers. */ +interface BiquadFilterNode extends AudioNode { + readonly Q: AudioParam; + readonly detune: AudioParam; + readonly frequency: AudioParam; + readonly gain: AudioParam; + type: BiquadFilterType; + getFrequencyResponse(frequencyHz: Float32Array, magResponse: Float32Array, phaseResponse: Float32Array): void; +} + +declare var BiquadFilterNode: { + prototype: BiquadFilterNode; + new(context: BaseAudioContext, options?: BiquadFilterOptions): BiquadFilterNode; +}; + +/** A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system. */ +interface Blob { + readonly size: number; + readonly type: string; + arrayBuffer(): Promise; + slice(start?: number, end?: number, contentType?: string): Blob; + stream(): ReadableStream; + text(): Promise; +} + +declare var Blob: { + prototype: Blob; + new(blobParts?: BlobPart[], options?: BlobPropertyBag): Blob; +}; + +interface BlobEvent extends Event { + readonly data: Blob; + readonly timecode: DOMHighResTimeStamp; +} + +declare var BlobEvent: { + prototype: BlobEvent; + new(type: string, eventInitDict: BlobEventInit): BlobEvent; +}; + +interface Body { + readonly body: ReadableStream | null; + readonly bodyUsed: boolean; + arrayBuffer(): Promise; + blob(): Promise; + formData(): Promise; + json(): Promise; + text(): Promise; +} + +interface BroadcastChannelEventMap { + "message": MessageEvent; + "messageerror": MessageEvent; +} + +interface BroadcastChannel extends EventTarget { + /** + * Returns the channel name (as passed to the constructor). + */ + readonly name: string; + onmessage: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + onmessageerror: ((this: BroadcastChannel, ev: MessageEvent) => any) | null; + /** + * Closes the BroadcastChannel object, opening it up to garbage collection. + */ + close(): void; + /** + * Sends the given message to other BroadcastChannel objects set up for this channel. Messages can be structured objects, e.g. nested objects and arrays. + */ + postMessage(message: any): void; + addEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: BroadcastChannel, ev: BroadcastChannelEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var BroadcastChannel: { + prototype: BroadcastChannel; + new(name: string): BroadcastChannel; +}; + +/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ +interface ByteLengthQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var ByteLengthQueuingStrategy: { + prototype: ByteLengthQueuingStrategy; + new(init: QueuingStrategyInit): ByteLengthQueuingStrategy; +}; + +/** A CDATA section that can be used within XML to include extended portions of unescaped text. The symbols < and & don’t need escaping as they normally do when inside a CDATA section. */ +interface CDATASection extends Text { +} + +declare var CDATASection: { + prototype: CDATASection; + new(): CDATASection; +}; + +interface CSSAnimation extends Animation { + readonly animationName: string; + addEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CSSAnimation, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CSSAnimation: { + prototype: CSSAnimation; + new(): CSSAnimation; +}; + +/** A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule. */ +interface CSSConditionRule extends CSSGroupingRule { + conditionText: string; +} + +declare var CSSConditionRule: { + prototype: CSSConditionRule; + new(): CSSConditionRule; +}; + +interface CSSCounterStyleRule extends CSSRule { + additiveSymbols: string; + fallback: string; + name: string; + negative: string; + pad: string; + prefix: string; + range: string; + speakAs: string; + suffix: string; + symbols: string; + system: string; +} + +declare var CSSCounterStyleRule: { + prototype: CSSCounterStyleRule; + new(): CSSCounterStyleRule; +}; + +interface CSSFontFaceRule extends CSSRule { + readonly style: CSSStyleDeclaration; +} + +declare var CSSFontFaceRule: { + prototype: CSSFontFaceRule; + new(): CSSFontFaceRule; +}; + +/** Any CSS at-rule that contains other rules nested within it. */ +interface CSSGroupingRule extends CSSRule { + readonly cssRules: CSSRuleList; + deleteRule(index: number): void; + insertRule(rule: string, index?: number): number; +} + +declare var CSSGroupingRule: { + prototype: CSSGroupingRule; + new(): CSSGroupingRule; +}; + +interface CSSImportRule extends CSSRule { + readonly href: string; + readonly media: MediaList; + readonly styleSheet: CSSStyleSheet; +} + +declare var CSSImportRule: { + prototype: CSSImportRule; + new(): CSSImportRule; +}; + +/** An object representing a set of style for a given keyframe. It corresponds to the contains of a single keyframe of a @keyframes at-rule. It implements the CSSRule interface with a type value of 8 (CSSRule.KEYFRAME_RULE). */ +interface CSSKeyframeRule extends CSSRule { + keyText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSKeyframeRule: { + prototype: CSSKeyframeRule; + new(): CSSKeyframeRule; +}; + +/** An object representing a complete set of keyframes for a CSS animation. It corresponds to the contains of a whole @keyframes at-rule. It implements the CSSRule interface with a type value of 7 (CSSRule.KEYFRAMES_RULE). */ +interface CSSKeyframesRule extends CSSRule { + readonly cssRules: CSSRuleList; + name: string; + appendRule(rule: string): void; + deleteRule(select: string): void; + findRule(select: string): CSSKeyframeRule | null; +} + +declare var CSSKeyframesRule: { + prototype: CSSKeyframesRule; + new(): CSSKeyframesRule; +}; + +/** A single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE). */ +interface CSSMediaRule extends CSSConditionRule { + readonly media: MediaList; +} + +declare var CSSMediaRule: { + prototype: CSSMediaRule; + new(): CSSMediaRule; +}; + +/** An object representing a single CSS @namespace at-rule. It implements the CSSRule interface, with a type value of 10 (CSSRule.NAMESPACE_RULE). */ +interface CSSNamespaceRule extends CSSRule { + readonly namespaceURI: string; + readonly prefix: string; +} + +declare var CSSNamespaceRule: { + prototype: CSSNamespaceRule; + new(): CSSNamespaceRule; +}; + +/** CSSPageRule is an interface representing a single CSS @page rule. It implements the CSSRule interface with a type value of 6 (CSSRule.PAGE_RULE). */ +interface CSSPageRule extends CSSGroupingRule { + selectorText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSPageRule: { + prototype: CSSPageRule; + new(): CSSPageRule; +}; + +/** A single CSS rule. There are several types of rules, listed in the Type constants section below. */ +interface CSSRule { + cssText: string; + readonly parentRule: CSSRule | null; + readonly parentStyleSheet: CSSStyleSheet | null; + /** @deprecated */ + readonly type: number; + readonly CHARSET_RULE: number; + readonly FONT_FACE_RULE: number; + readonly IMPORT_RULE: number; + readonly KEYFRAMES_RULE: number; + readonly KEYFRAME_RULE: number; + readonly MEDIA_RULE: number; + readonly NAMESPACE_RULE: number; + readonly PAGE_RULE: number; + readonly STYLE_RULE: number; + readonly SUPPORTS_RULE: number; +} + +declare var CSSRule: { + prototype: CSSRule; + new(): CSSRule; + readonly CHARSET_RULE: number; + readonly FONT_FACE_RULE: number; + readonly IMPORT_RULE: number; + readonly KEYFRAMES_RULE: number; + readonly KEYFRAME_RULE: number; + readonly MEDIA_RULE: number; + readonly NAMESPACE_RULE: number; + readonly PAGE_RULE: number; + readonly STYLE_RULE: number; + readonly SUPPORTS_RULE: number; +}; + +/** A CSSRuleList is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects. */ +interface CSSRuleList { + readonly length: number; + item(index: number): CSSRule | null; + [index: number]: CSSRule; +} + +declare var CSSRuleList: { + prototype: CSSRuleList; + new(): CSSRuleList; +}; + +/** An object that is a CSS declaration block, and exposes style information and various style-related methods and properties. */ +interface CSSStyleDeclaration { + alignContent: string; + alignItems: string; + alignSelf: string; + alignmentBaseline: string; + all: string; + animation: string; + animationDelay: string; + animationDirection: string; + animationDuration: string; + animationFillMode: string; + animationIterationCount: string; + animationName: string; + animationPlayState: string; + animationTimingFunction: string; + appearance: string; + aspectRatio: string; + backfaceVisibility: string; + background: string; + backgroundAttachment: string; + backgroundBlendMode: string; + backgroundClip: string; + backgroundColor: string; + backgroundImage: string; + backgroundOrigin: string; + backgroundPosition: string; + backgroundPositionX: string; + backgroundPositionY: string; + backgroundRepeat: string; + backgroundSize: string; + baselineShift: string; + blockSize: string; + border: string; + borderBlock: string; + borderBlockColor: string; + borderBlockEnd: string; + borderBlockEndColor: string; + borderBlockEndStyle: string; + borderBlockEndWidth: string; + borderBlockStart: string; + borderBlockStartColor: string; + borderBlockStartStyle: string; + borderBlockStartWidth: string; + borderBlockStyle: string; + borderBlockWidth: string; + borderBottom: string; + borderBottomColor: string; + borderBottomLeftRadius: string; + borderBottomRightRadius: string; + borderBottomStyle: string; + borderBottomWidth: string; + borderCollapse: string; + borderColor: string; + borderEndEndRadius: string; + borderEndStartRadius: string; + borderImage: string; + borderImageOutset: string; + borderImageRepeat: string; + borderImageSlice: string; + borderImageSource: string; + borderImageWidth: string; + borderInline: string; + borderInlineColor: string; + borderInlineEnd: string; + borderInlineEndColor: string; + borderInlineEndStyle: string; + borderInlineEndWidth: string; + borderInlineStart: string; + borderInlineStartColor: string; + borderInlineStartStyle: string; + borderInlineStartWidth: string; + borderInlineStyle: string; + borderInlineWidth: string; + borderLeft: string; + borderLeftColor: string; + borderLeftStyle: string; + borderLeftWidth: string; + borderRadius: string; + borderRight: string; + borderRightColor: string; + borderRightStyle: string; + borderRightWidth: string; + borderSpacing: string; + borderStartEndRadius: string; + borderStartStartRadius: string; + borderStyle: string; + borderTop: string; + borderTopColor: string; + borderTopLeftRadius: string; + borderTopRightRadius: string; + borderTopStyle: string; + borderTopWidth: string; + borderWidth: string; + bottom: string; + boxShadow: string; + boxSizing: string; + breakAfter: string; + breakBefore: string; + breakInside: string; + captionSide: string; + caretColor: string; + clear: string; + /** @deprecated */ + clip: string; + clipPath: string; + clipRule: string; + color: string; + colorInterpolation: string; + colorInterpolationFilters: string; + colorScheme: string; + columnCount: string; + columnFill: string; + columnGap: string; + columnRule: string; + columnRuleColor: string; + columnRuleStyle: string; + columnRuleWidth: string; + columnSpan: string; + columnWidth: string; + columns: string; + contain: string; + content: string; + counterIncrement: string; + counterReset: string; + counterSet: string; + cssFloat: string; + cssText: string; + cursor: string; + direction: string; + display: string; + dominantBaseline: string; + emptyCells: string; + fill: string; + fillOpacity: string; + fillRule: string; + filter: string; + flex: string; + flexBasis: string; + flexDirection: string; + flexFlow: string; + flexGrow: string; + flexShrink: string; + flexWrap: string; + float: string; + floodColor: string; + floodOpacity: string; + font: string; + fontFamily: string; + fontFeatureSettings: string; + fontKerning: string; + fontOpticalSizing: string; + fontSize: string; + fontSizeAdjust: string; + fontStretch: string; + fontStyle: string; + fontSynthesis: string; + fontVariant: string; + /** @deprecated */ + fontVariantAlternates: string; + fontVariantCaps: string; + fontVariantEastAsian: string; + fontVariantLigatures: string; + fontVariantNumeric: string; + fontVariantPosition: string; + fontVariationSettings: string; + fontWeight: string; + gap: string; + grid: string; + gridArea: string; + gridAutoColumns: string; + gridAutoFlow: string; + gridAutoRows: string; + gridColumn: string; + gridColumnEnd: string; + gridColumnGap: string; + gridColumnStart: string; + gridGap: string; + gridRow: string; + gridRowEnd: string; + gridRowGap: string; + gridRowStart: string; + gridTemplate: string; + gridTemplateAreas: string; + gridTemplateColumns: string; + gridTemplateRows: string; + height: string; + hyphens: string; + /** @deprecated */ + imageOrientation: string; + imageRendering: string; + inlineSize: string; + inset: string; + insetBlock: string; + insetBlockEnd: string; + insetBlockStart: string; + insetInline: string; + insetInlineEnd: string; + insetInlineStart: string; + isolation: string; + justifyContent: string; + justifyItems: string; + justifySelf: string; + left: string; + readonly length: number; + letterSpacing: string; + lightingColor: string; + lineBreak: string; + lineHeight: string; + listStyle: string; + listStyleImage: string; + listStylePosition: string; + listStyleType: string; + margin: string; + marginBlock: string; + marginBlockEnd: string; + marginBlockStart: string; + marginBottom: string; + marginInline: string; + marginInlineEnd: string; + marginInlineStart: string; + marginLeft: string; + marginRight: string; + marginTop: string; + marker: string; + markerEnd: string; + markerMid: string; + markerStart: string; + mask: string; + maskType: string; + maxBlockSize: string; + maxHeight: string; + maxInlineSize: string; + maxWidth: string; + minBlockSize: string; + minHeight: string; + minInlineSize: string; + minWidth: string; + mixBlendMode: string; + objectFit: string; + objectPosition: string; + offset: string; + offsetAnchor: string; + offsetDistance: string; + offsetPath: string; + offsetRotate: string; + opacity: string; + order: string; + orphans: string; + outline: string; + outlineColor: string; + outlineOffset: string; + outlineStyle: string; + outlineWidth: string; + overflow: string; + overflowAnchor: string; + overflowWrap: string; + overflowX: string; + overflowY: string; + overscrollBehavior: string; + overscrollBehaviorBlock: string; + overscrollBehaviorInline: string; + overscrollBehaviorX: string; + overscrollBehaviorY: string; + padding: string; + paddingBlock: string; + paddingBlockEnd: string; + paddingBlockStart: string; + paddingBottom: string; + paddingInline: string; + paddingInlineEnd: string; + paddingInlineStart: string; + paddingLeft: string; + paddingRight: string; + paddingTop: string; + pageBreakAfter: string; + pageBreakBefore: string; + pageBreakInside: string; + paintOrder: string; + readonly parentRule: CSSRule | null; + perspective: string; + perspectiveOrigin: string; + placeContent: string; + placeItems: string; + placeSelf: string; + pointerEvents: string; + position: string; + quotes: string; + resize: string; + right: string; + rotate: string; + rowGap: string; + rubyPosition: string; + scale: string; + scrollBehavior: string; + scrollMargin: string; + scrollMarginBlock: string; + scrollMarginBlockEnd: string; + scrollMarginBlockStart: string; + scrollMarginBottom: string; + scrollMarginInline: string; + scrollMarginInlineEnd: string; + scrollMarginInlineStart: string; + scrollMarginLeft: string; + scrollMarginRight: string; + scrollMarginTop: string; + scrollPadding: string; + scrollPaddingBlock: string; + scrollPaddingBlockEnd: string; + scrollPaddingBlockStart: string; + scrollPaddingBottom: string; + scrollPaddingInline: string; + scrollPaddingInlineEnd: string; + scrollPaddingInlineStart: string; + scrollPaddingLeft: string; + scrollPaddingRight: string; + scrollPaddingTop: string; + scrollSnapAlign: string; + scrollSnapStop: string; + scrollSnapType: string; + shapeImageThreshold: string; + shapeMargin: string; + shapeOutside: string; + shapeRendering: string; + stopColor: string; + stopOpacity: string; + stroke: string; + strokeDasharray: string; + strokeDashoffset: string; + strokeLinecap: string; + strokeLinejoin: string; + strokeMiterlimit: string; + strokeOpacity: string; + strokeWidth: string; + tabSize: string; + tableLayout: string; + textAlign: string; + textAlignLast: string; + textAnchor: string; + textCombineUpright: string; + textDecoration: string; + textDecorationColor: string; + textDecorationLine: string; + textDecorationSkipInk: string; + textDecorationStyle: string; + textDecorationThickness: string; + textEmphasis: string; + textEmphasisColor: string; + textEmphasisPosition: string; + textEmphasisStyle: string; + textIndent: string; + textOrientation: string; + textOverflow: string; + textRendering: string; + textShadow: string; + textTransform: string; + textUnderlineOffset: string; + textUnderlinePosition: string; + top: string; + touchAction: string; + transform: string; + transformBox: string; + transformOrigin: string; + transformStyle: string; + transition: string; + transitionDelay: string; + transitionDuration: string; + transitionProperty: string; + transitionTimingFunction: string; + translate: string; + unicodeBidi: string; + userSelect: string; + verticalAlign: string; + visibility: string; + /** @deprecated This is a legacy alias of `alignContent`. */ + webkitAlignContent: string; + /** @deprecated This is a legacy alias of `alignItems`. */ + webkitAlignItems: string; + /** @deprecated This is a legacy alias of `alignSelf`. */ + webkitAlignSelf: string; + /** @deprecated This is a legacy alias of `animation`. */ + webkitAnimation: string; + /** @deprecated This is a legacy alias of `animationDelay`. */ + webkitAnimationDelay: string; + /** @deprecated This is a legacy alias of `animationDirection`. */ + webkitAnimationDirection: string; + /** @deprecated This is a legacy alias of `animationDuration`. */ + webkitAnimationDuration: string; + /** @deprecated This is a legacy alias of `animationFillMode`. */ + webkitAnimationFillMode: string; + /** @deprecated This is a legacy alias of `animationIterationCount`. */ + webkitAnimationIterationCount: string; + /** @deprecated This is a legacy alias of `animationName`. */ + webkitAnimationName: string; + /** @deprecated This is a legacy alias of `animationPlayState`. */ + webkitAnimationPlayState: string; + /** @deprecated This is a legacy alias of `animationTimingFunction`. */ + webkitAnimationTimingFunction: string; + /** @deprecated This is a legacy alias of `appearance`. */ + webkitAppearance: string; + /** @deprecated This is a legacy alias of `backfaceVisibility`. */ + webkitBackfaceVisibility: string; + /** @deprecated This is a legacy alias of `backgroundClip`. */ + webkitBackgroundClip: string; + /** @deprecated This is a legacy alias of `backgroundOrigin`. */ + webkitBackgroundOrigin: string; + /** @deprecated This is a legacy alias of `backgroundSize`. */ + webkitBackgroundSize: string; + /** @deprecated This is a legacy alias of `borderBottomLeftRadius`. */ + webkitBorderBottomLeftRadius: string; + /** @deprecated This is a legacy alias of `borderBottomRightRadius`. */ + webkitBorderBottomRightRadius: string; + /** @deprecated This is a legacy alias of `borderRadius`. */ + webkitBorderRadius: string; + /** @deprecated This is a legacy alias of `borderTopLeftRadius`. */ + webkitBorderTopLeftRadius: string; + /** @deprecated This is a legacy alias of `borderTopRightRadius`. */ + webkitBorderTopRightRadius: string; + /** @deprecated */ + webkitBoxAlign: string; + /** @deprecated */ + webkitBoxFlex: string; + /** @deprecated */ + webkitBoxOrdinalGroup: string; + /** @deprecated */ + webkitBoxOrient: string; + /** @deprecated */ + webkitBoxPack: string; + /** @deprecated This is a legacy alias of `boxShadow`. */ + webkitBoxShadow: string; + /** @deprecated This is a legacy alias of `boxSizing`. */ + webkitBoxSizing: string; + /** @deprecated This is a legacy alias of `filter`. */ + webkitFilter: string; + /** @deprecated This is a legacy alias of `flex`. */ + webkitFlex: string; + /** @deprecated This is a legacy alias of `flexBasis`. */ + webkitFlexBasis: string; + /** @deprecated This is a legacy alias of `flexDirection`. */ + webkitFlexDirection: string; + /** @deprecated This is a legacy alias of `flexFlow`. */ + webkitFlexFlow: string; + /** @deprecated This is a legacy alias of `flexGrow`. */ + webkitFlexGrow: string; + /** @deprecated This is a legacy alias of `flexShrink`. */ + webkitFlexShrink: string; + /** @deprecated This is a legacy alias of `flexWrap`. */ + webkitFlexWrap: string; + /** @deprecated This is a legacy alias of `justifyContent`. */ + webkitJustifyContent: string; + webkitLineClamp: string; + /** @deprecated This is a legacy alias of `mask`. */ + webkitMask: string; + /** @deprecated This is a legacy alias of `maskBorder`. */ + webkitMaskBoxImage: string; + /** @deprecated This is a legacy alias of `maskBorderOutset`. */ + webkitMaskBoxImageOutset: string; + /** @deprecated This is a legacy alias of `maskBorderRepeat`. */ + webkitMaskBoxImageRepeat: string; + /** @deprecated This is a legacy alias of `maskBorderSlice`. */ + webkitMaskBoxImageSlice: string; + /** @deprecated This is a legacy alias of `maskBorderSource`. */ + webkitMaskBoxImageSource: string; + /** @deprecated This is a legacy alias of `maskBorderWidth`. */ + webkitMaskBoxImageWidth: string; + /** @deprecated This is a legacy alias of `maskClip`. */ + webkitMaskClip: string; + webkitMaskComposite: string; + /** @deprecated This is a legacy alias of `maskImage`. */ + webkitMaskImage: string; + /** @deprecated This is a legacy alias of `maskOrigin`. */ + webkitMaskOrigin: string; + /** @deprecated This is a legacy alias of `maskPosition`. */ + webkitMaskPosition: string; + /** @deprecated This is a legacy alias of `maskRepeat`. */ + webkitMaskRepeat: string; + /** @deprecated This is a legacy alias of `maskSize`. */ + webkitMaskSize: string; + /** @deprecated This is a legacy alias of `order`. */ + webkitOrder: string; + /** @deprecated This is a legacy alias of `perspective`. */ + webkitPerspective: string; + /** @deprecated This is a legacy alias of `perspectiveOrigin`. */ + webkitPerspectiveOrigin: string; + webkitTextFillColor: string; + webkitTextStroke: string; + webkitTextStrokeColor: string; + webkitTextStrokeWidth: string; + /** @deprecated This is a legacy alias of `transform`. */ + webkitTransform: string; + /** @deprecated This is a legacy alias of `transformOrigin`. */ + webkitTransformOrigin: string; + /** @deprecated This is a legacy alias of `transformStyle`. */ + webkitTransformStyle: string; + /** @deprecated This is a legacy alias of `transition`. */ + webkitTransition: string; + /** @deprecated This is a legacy alias of `transitionDelay`. */ + webkitTransitionDelay: string; + /** @deprecated This is a legacy alias of `transitionDuration`. */ + webkitTransitionDuration: string; + /** @deprecated This is a legacy alias of `transitionProperty`. */ + webkitTransitionProperty: string; + /** @deprecated This is a legacy alias of `transitionTimingFunction`. */ + webkitTransitionTimingFunction: string; + /** @deprecated This is a legacy alias of `userSelect`. */ + webkitUserSelect: string; + whiteSpace: string; + widows: string; + width: string; + willChange: string; + wordBreak: string; + wordSpacing: string; + /** @deprecated */ + wordWrap: string; + writingMode: string; + zIndex: string; + getPropertyPriority(property: string): string; + getPropertyValue(property: string): string; + item(index: number): string; + removeProperty(property: string): string; + setProperty(property: string, value: string | null, priority?: string): void; + [index: number]: string; +} + +declare var CSSStyleDeclaration: { + prototype: CSSStyleDeclaration; + new(): CSSStyleDeclaration; +}; + +/** CSSStyleRule represents a single CSS style rule. It implements the CSSRule interface with a type value of 1 (CSSRule.STYLE_RULE). */ +interface CSSStyleRule extends CSSRule { + selectorText: string; + readonly style: CSSStyleDeclaration; +} + +declare var CSSStyleRule: { + prototype: CSSStyleRule; + new(): CSSStyleRule; +}; + +/** A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet. */ +interface CSSStyleSheet extends StyleSheet { + readonly cssRules: CSSRuleList; + readonly ownerRule: CSSRule | null; + /** @deprecated */ + readonly rules: CSSRuleList; + /** @deprecated */ + addRule(selector?: string, style?: string, index?: number): number; + deleteRule(index: number): void; + insertRule(rule: string, index?: number): number; + /** @deprecated */ + removeRule(index?: number): void; +} + +declare var CSSStyleSheet: { + prototype: CSSStyleSheet; + new(options?: CSSStyleSheetInit): CSSStyleSheet; +}; + +/** An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE). */ +interface CSSSupportsRule extends CSSConditionRule { +} + +declare var CSSSupportsRule: { + prototype: CSSSupportsRule; + new(): CSSSupportsRule; +}; + +interface CSSTransition extends Animation { + readonly transitionProperty: string; + addEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: CSSTransition, ev: AnimationEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var CSSTransition: { + prototype: CSSTransition; + new(): CSSTransition; +}; + +/** Provides a storage mechanism for Request / Response object pairs that are cached, for example as part of the ServiceWorker life cycle. Note that the Cache interface is exposed to windowed scopes as well as workers. You don't have to use it in conjunction with service workers, even though it is defined in the service worker spec. */ +interface Cache { + add(request: RequestInfo): Promise; + addAll(requests: RequestInfo[]): Promise; + delete(request: RequestInfo, options?: CacheQueryOptions): Promise; + keys(request?: RequestInfo, options?: CacheQueryOptions): Promise>; + match(request: RequestInfo, options?: CacheQueryOptions): Promise; + matchAll(request?: RequestInfo, options?: CacheQueryOptions): Promise>; + put(request: RequestInfo, response: Response): Promise; +} + +declare var Cache: { + prototype: Cache; + new(): Cache; +}; + +/** The storage for Cache objects. */ +interface CacheStorage { + delete(cacheName: string): Promise; + has(cacheName: string): Promise; + keys(): Promise; + match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise; + open(cacheName: string): Promise; +} + +declare var CacheStorage: { + prototype: CacheStorage; + new(): CacheStorage; +}; + +interface CanvasCompositing { + globalAlpha: number; + globalCompositeOperation: string; +} + +interface CanvasDrawImage { + drawImage(image: CanvasImageSource, dx: number, dy: number): void; + drawImage(image: CanvasImageSource, dx: number, dy: number, dw: number, dh: number): void; + drawImage(image: CanvasImageSource, sx: number, sy: number, sw: number, sh: number, dx: number, dy: number, dw: number, dh: number): void; +} + +interface CanvasDrawPath { + beginPath(): void; + clip(fillRule?: CanvasFillRule): void; + clip(path: Path2D, fillRule?: CanvasFillRule): void; + fill(fillRule?: CanvasFillRule): void; + fill(path: Path2D, fillRule?: CanvasFillRule): void; + isPointInPath(x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInPath(path: Path2D, x: number, y: number, fillRule?: CanvasFillRule): boolean; + isPointInStroke(x: number, y: number): boolean; + isPointInStroke(path: Path2D, x: number, y: number): boolean; + stroke(): void; + stroke(path: Path2D): void; +} + +interface CanvasFillStrokeStyles { + fillStyle: string | CanvasGradient | CanvasPattern; + strokeStyle: string | CanvasGradient | CanvasPattern; + createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient; + createPattern(image: CanvasImageSource, repetition: string | null): CanvasPattern | null; + createRadialGradient(x0: number, y0: number, r0: number, x1: number, y1: number, r1: number): CanvasGradient; +} + +interface CanvasFilters { + filter: string; +} + +/** An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient(). */ +interface CanvasGradient { + /** + * Adds a color stop with the given color to the gradient at the given offset. 0.0 is the offset at one end of the gradient, 1.0 is the offset at the other end. + * + * Throws an "IndexSizeError" DOMException if the offset is out of range. Throws a "SyntaxError" DOMException if the color cannot be parsed. + */ + addColorStop(offset: number, color: string): void; +} + +declare var CanvasGradient: { + prototype: CanvasGradient; + new(): CanvasGradient; +}; + +interface CanvasImageData { + createImageData(sw: number, sh: number, settings?: ImageDataSettings): ImageData; + createImageData(imagedata: ImageData): ImageData; + getImageData(sx: number, sy: number, sw: number, sh: number, settings?: ImageDataSettings): ImageData; + putImageData(imagedata: ImageData, dx: number, dy: number): void; + putImageData(imagedata: ImageData, dx: number, dy: number, dirtyX: number, dirtyY: number, dirtyWidth: number, dirtyHeight: number): void; +} + +interface CanvasImageSmoothing { + imageSmoothingEnabled: boolean; + imageSmoothingQuality: ImageSmoothingQuality; +} + +interface CanvasPath { + arc(x: number, y: number, radius: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; + arcTo(x1: number, y1: number, x2: number, y2: number, radius: number): void; + bezierCurveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): void; + closePath(): void; + ellipse(x: number, y: number, radiusX: number, radiusY: number, rotation: number, startAngle: number, endAngle: number, counterclockwise?: boolean): void; + lineTo(x: number, y: number): void; + moveTo(x: number, y: number): void; + quadraticCurveTo(cpx: number, cpy: number, x: number, y: number): void; + rect(x: number, y: number, w: number, h: number): void; +} + +interface CanvasPathDrawingStyles { + lineCap: CanvasLineCap; + lineDashOffset: number; + lineJoin: CanvasLineJoin; + lineWidth: number; + miterLimit: number; + getLineDash(): number[]; + setLineDash(segments: number[]): void; +} + +/** An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method. */ +interface CanvasPattern { + /** + * Sets the transformation matrix that will be used when rendering the pattern during a fill or stroke painting operation. + */ + setTransform(transform?: DOMMatrix2DInit): void; +} + +declare var CanvasPattern: { + prototype: CanvasPattern; + new(): CanvasPattern; +}; + +interface CanvasRect { + clearRect(x: number, y: number, w: number, h: number): void; + fillRect(x: number, y: number, w: number, h: number): void; + strokeRect(x: number, y: number, w: number, h: number): void; +} + +/** The CanvasRenderingContext2D interface, part of the Canvas API, provides the 2D rendering context for the drawing surface of a element. It is used for drawing shapes, text, images, and other objects. */ +interface CanvasRenderingContext2D extends CanvasCompositing, CanvasDrawImage, CanvasDrawPath, CanvasFillStrokeStyles, CanvasFilters, CanvasImageData, CanvasImageSmoothing, CanvasPath, CanvasPathDrawingStyles, CanvasRect, CanvasShadowStyles, CanvasState, CanvasText, CanvasTextDrawingStyles, CanvasTransform, CanvasUserInterface { + readonly canvas: HTMLCanvasElement; + getContextAttributes(): CanvasRenderingContext2DSettings; +} + +declare var CanvasRenderingContext2D: { + prototype: CanvasRenderingContext2D; + new(): CanvasRenderingContext2D; +}; + +interface CanvasShadowStyles { + shadowBlur: number; + shadowColor: string; + shadowOffsetX: number; + shadowOffsetY: number; +} + +interface CanvasState { + restore(): void; + save(): void; +} + +interface CanvasText { + fillText(text: string, x: number, y: number, maxWidth?: number): void; + measureText(text: string): TextMetrics; + strokeText(text: string, x: number, y: number, maxWidth?: number): void; +} + +interface CanvasTextDrawingStyles { + direction: CanvasDirection; + font: string; + textAlign: CanvasTextAlign; + textBaseline: CanvasTextBaseline; +} + +interface CanvasTransform { + getTransform(): DOMMatrix; + resetTransform(): void; + rotate(angle: number): void; + scale(x: number, y: number): void; + setTransform(a: number, b: number, c: number, d: number, e: number, f: number): void; + setTransform(transform?: DOMMatrix2DInit): void; + transform(a: number, b: number, c: number, d: number, e: number, f: number): void; + translate(x: number, y: number): void; +} + +interface CanvasUserInterface { + drawFocusIfNeeded(element: Element): void; + drawFocusIfNeeded(path: Path2D, element: Element): void; +} + +/** The ChannelMergerNode interface, often used in conjunction with its opposite, ChannelSplitterNode, reunites different mono inputs into a single output. Each input is used to fill a channel of the output. This is useful for accessing each channels separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ +interface ChannelMergerNode extends AudioNode { +} + +declare var ChannelMergerNode: { + prototype: ChannelMergerNode; + new(context: BaseAudioContext, options?: ChannelMergerOptions): ChannelMergerNode; +}; + +/** The ChannelSplitterNode interface, often used in conjunction with its opposite, ChannelMergerNode, separates the different channels of an audio source into a set of mono outputs. This is useful for accessing each channel separately, e.g. for performing channel mixing where gain must be separately controlled on each channel. */ +interface ChannelSplitterNode extends AudioNode { +} + +declare var ChannelSplitterNode: { + prototype: ChannelSplitterNode; + new(context: BaseAudioContext, options?: ChannelSplitterOptions): ChannelSplitterNode; +}; + +/** The CharacterData abstract interface represents a Node object that contains characters. This is an abstract interface, meaning there aren't any object of type CharacterData: it is implemented by other interfaces, like Text, Comment, or ProcessingInstruction which aren't abstract. */ +interface CharacterData extends Node, ChildNode, NonDocumentTypeChildNode { + data: string; + readonly length: number; + readonly ownerDocument: Document; + appendData(data: string): void; + deleteData(offset: number, count: number): void; + insertData(offset: number, data: string): void; + replaceData(offset: number, count: number, data: string): void; + substringData(offset: number, count: number): string; +} + +declare var CharacterData: { + prototype: CharacterData; + new(): CharacterData; +}; + +interface ChildNode extends Node { + /** + * Inserts nodes just after node, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + after(...nodes: (Node | string)[]): void; + /** + * Inserts nodes just before node, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + before(...nodes: (Node | string)[]): void; + /** + * Removes node. + */ + remove(): void; + /** + * Replaces node with nodes, while replacing strings in nodes with equivalent Text nodes. + * + * Throws a "HierarchyRequestError" DOMException if the constraints of the node tree are violated. + */ + replaceWith(...nodes: (Node | string)[]): void; +} + +/** @deprecated */ +interface ClientRect extends DOMRect { +} + +interface Clipboard extends EventTarget { + read(): Promise; + readText(): Promise; + write(data: ClipboardItems): Promise; + writeText(data: string): Promise; +} + +declare var Clipboard: { + prototype: Clipboard; + new(): Clipboard; +}; + +/** Events providing information related to modification of the clipboard, that is cut, copy, and paste events. */ +interface ClipboardEvent extends Event { + readonly clipboardData: DataTransfer | null; +} + +declare var ClipboardEvent: { + prototype: ClipboardEvent; + new(type: string, eventInitDict?: ClipboardEventInit): ClipboardEvent; +}; + +interface ClipboardItem { + readonly types: ReadonlyArray; + getType(type: string): Promise; +} + +declare var ClipboardItem: { + prototype: ClipboardItem; + new(items: Record, options?: ClipboardItemOptions): ClipboardItem; +}; + +/** A CloseEvent is sent to clients using WebSockets when the connection is closed. This is delivered to the listener indicated by the WebSocket object's onclose attribute. */ +interface CloseEvent extends Event { + /** + * Returns the WebSocket connection close code provided by the server. + */ + readonly code: number; + /** + * Returns the WebSocket connection close reason provided by the server. + */ + readonly reason: string; + /** + * Returns true if the connection closed cleanly; false otherwise. + */ + readonly wasClean: boolean; +} + +declare var CloseEvent: { + prototype: CloseEvent; + new(type: string, eventInitDict?: CloseEventInit): CloseEvent; +}; + +/** Textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view. */ +interface Comment extends CharacterData { +} + +declare var Comment: { + prototype: Comment; + new(data?: string): Comment; +}; + +/** The DOM CompositionEvent represents events that occur due to the user indirectly entering text. */ +interface CompositionEvent extends UIEvent { + readonly data: string; + /** @deprecated */ + initCompositionEvent(typeArg: string, bubblesArg?: boolean, cancelableArg?: boolean, viewArg?: WindowProxy | null, dataArg?: string): void; +} + +declare var CompositionEvent: { + prototype: CompositionEvent; + new(type: string, eventInitDict?: CompositionEventInit): CompositionEvent; +}; + +interface ConstantSourceNode extends AudioScheduledSourceNode { + readonly offset: AudioParam; + addEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: ConstantSourceNode, ev: AudioScheduledSourceNodeEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var ConstantSourceNode: { + prototype: ConstantSourceNode; + new(context: BaseAudioContext, options?: ConstantSourceOptions): ConstantSourceNode; +}; + +/** An AudioNode that performs a Linear Convolution on a given AudioBuffer, often used to achieve a reverb effect. A ConvolverNode always has exactly one input and one output. */ +interface ConvolverNode extends AudioNode { + buffer: AudioBuffer | null; + normalize: boolean; +} + +declare var ConvolverNode: { + prototype: ConvolverNode; + new(context: BaseAudioContext, options?: ConvolverOptions): ConvolverNode; +}; + +/** This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams. */ +interface CountQueuingStrategy extends QueuingStrategy { + readonly highWaterMark: number; + readonly size: QueuingStrategySize; +} + +declare var CountQueuingStrategy: { + prototype: CountQueuingStrategy; + new(init: QueuingStrategyInit): CountQueuingStrategy; +}; + +interface Credential { + readonly id: string; + readonly type: string; +} + +declare var Credential: { + prototype: Credential; + new(): Credential; +}; + +interface CredentialsContainer { + create(options?: CredentialCreationOptions): Promise; + get(options?: CredentialRequestOptions): Promise; + preventSilentAccess(): Promise; + store(credential: Credential): Promise; +} + +declare var CredentialsContainer: { + prototype: CredentialsContainer; + new(): CredentialsContainer; +}; + +/** Basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives. */ +interface Crypto { + readonly subtle: SubtleCrypto; + getRandomValues(array: T): T; +} + +declare var Crypto: { + prototype: Crypto; + new(): Crypto; +}; + +/** The CryptoKey dictionary of the Web Crypto API represents a cryptographic key. */ +interface CryptoKey { + readonly algorithm: KeyAlgorithm; + readonly extractable: boolean; + readonly type: KeyType; + readonly usages: KeyUsage[]; +} + +declare var CryptoKey: { + prototype: CryptoKey; + new(): CryptoKey; +}; + +interface CustomElementRegistry { + define(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void; + get(name: string): CustomElementConstructor | undefined; + upgrade(root: Node): void; + whenDefined(name: string): Promise; +} + +declare var CustomElementRegistry: { + prototype: CustomElementRegistry; + new(): CustomElementRegistry; +}; + +interface CustomEvent extends Event { + /** + * Returns any custom data event was created with. Typically used for synthetic events. + */ + readonly detail: T; + /** @deprecated */ + initCustomEvent(type: string, bubbles?: boolean, cancelable?: boolean, detail?: T): void; +} + +declare var CustomEvent: { + prototype: CustomEvent; + new(type: string, eventInitDict?: CustomEventInit): CustomEvent; +}; + +/** An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API. */ +interface DOMException { + readonly code: number; + readonly message: string; + readonly name: string; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +} + +declare var DOMException: { + prototype: DOMException; + new(message?: string, name?: string): DOMException; + readonly ABORT_ERR: number; + readonly DATA_CLONE_ERR: number; + readonly DOMSTRING_SIZE_ERR: number; + readonly HIERARCHY_REQUEST_ERR: number; + readonly INDEX_SIZE_ERR: number; + readonly INUSE_ATTRIBUTE_ERR: number; + readonly INVALID_ACCESS_ERR: number; + readonly INVALID_CHARACTER_ERR: number; + readonly INVALID_MODIFICATION_ERR: number; + readonly INVALID_NODE_TYPE_ERR: number; + readonly INVALID_STATE_ERR: number; + readonly NAMESPACE_ERR: number; + readonly NETWORK_ERR: number; + readonly NOT_FOUND_ERR: number; + readonly NOT_SUPPORTED_ERR: number; + readonly NO_DATA_ALLOWED_ERR: number; + readonly NO_MODIFICATION_ALLOWED_ERR: number; + readonly QUOTA_EXCEEDED_ERR: number; + readonly SECURITY_ERR: number; + readonly SYNTAX_ERR: number; + readonly TIMEOUT_ERR: number; + readonly TYPE_MISMATCH_ERR: number; + readonly URL_MISMATCH_ERR: number; + readonly VALIDATION_ERR: number; + readonly WRONG_DOCUMENT_ERR: number; +}; + +/** An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property. */ +interface DOMImplementation { + createDocument(namespace: string | null, qualifiedName: string | null, doctype?: DocumentType | null): XMLDocument; + createDocumentType(qualifiedName: string, publicId: string, systemId: string): DocumentType; + createHTMLDocument(title?: string): Document; + /** @deprecated */ + hasFeature(...args: any[]): true; +} + +declare var DOMImplementation: { + prototype: DOMImplementation; + new(): DOMImplementation; +}; + +interface DOMMatrix extends DOMMatrixReadOnly { + a: number; + b: number; + c: number; + d: number; + e: number; + f: number; + m11: number; + m12: number; + m13: number; + m14: number; + m21: number; + m22: number; + m23: number; + m24: number; + m31: number; + m32: number; + m33: number; + m34: number; + m41: number; + m42: number; + m43: number; + m44: number; + invertSelf(): DOMMatrix; + multiplySelf(other?: DOMMatrixInit): DOMMatrix; + preMultiplySelf(other?: DOMMatrixInit): DOMMatrix; + rotateAxisAngleSelf(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; + rotateFromVectorSelf(x?: number, y?: number): DOMMatrix; + rotateSelf(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + scale3dSelf(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + scaleSelf(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + setMatrixValue(transformList: string): DOMMatrix; + skewXSelf(sx?: number): DOMMatrix; + skewYSelf(sy?: number): DOMMatrix; + translateSelf(tx?: number, ty?: number, tz?: number): DOMMatrix; +} + +declare var DOMMatrix: { + prototype: DOMMatrix; + new(init?: string | number[]): DOMMatrix; + fromFloat32Array(array32: Float32Array): DOMMatrix; + fromFloat64Array(array64: Float64Array): DOMMatrix; + fromMatrix(other?: DOMMatrixInit): DOMMatrix; +}; + +type SVGMatrix = DOMMatrix; +declare var SVGMatrix: typeof DOMMatrix; + +type WebKitCSSMatrix = DOMMatrix; +declare var WebKitCSSMatrix: typeof DOMMatrix; + +interface DOMMatrixReadOnly { + readonly a: number; + readonly b: number; + readonly c: number; + readonly d: number; + readonly e: number; + readonly f: number; + readonly is2D: boolean; + readonly isIdentity: boolean; + readonly m11: number; + readonly m12: number; + readonly m13: number; + readonly m14: number; + readonly m21: number; + readonly m22: number; + readonly m23: number; + readonly m24: number; + readonly m31: number; + readonly m32: number; + readonly m33: number; + readonly m34: number; + readonly m41: number; + readonly m42: number; + readonly m43: number; + readonly m44: number; + flipX(): DOMMatrix; + flipY(): DOMMatrix; + inverse(): DOMMatrix; + multiply(other?: DOMMatrixInit): DOMMatrix; + rotate(rotX?: number, rotY?: number, rotZ?: number): DOMMatrix; + rotateAxisAngle(x?: number, y?: number, z?: number, angle?: number): DOMMatrix; + rotateFromVector(x?: number, y?: number): DOMMatrix; + scale(scaleX?: number, scaleY?: number, scaleZ?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + scale3d(scale?: number, originX?: number, originY?: number, originZ?: number): DOMMatrix; + /** @deprecated */ + scaleNonUniform(scaleX?: number, scaleY?: number): DOMMatrix; + skewX(sx?: number): DOMMatrix; + skewY(sy?: number): DOMMatrix; + toFloat32Array(): Float32Array; + toFloat64Array(): Float64Array; + toJSON(): any; + transformPoint(point?: DOMPointInit): DOMPoint; + translate(tx?: number, ty?: number, tz?: number): DOMMatrix; + toString(): string; +} + +declare var DOMMatrixReadOnly: { + prototype: DOMMatrixReadOnly; + new(init?: string | number[]): DOMMatrixReadOnly; + fromFloat32Array(array32: Float32Array): DOMMatrixReadOnly; + fromFloat64Array(array64: Float64Array): DOMMatrixReadOnly; + fromMatrix(other?: DOMMatrixInit): DOMMatrixReadOnly; + toString(): string; +}; + +/** Provides the ability to parse XML or HTML source code from a string into a DOM Document. */ +interface DOMParser { + /** + * Parses string using either the HTML or XML parser, according to type, and returns the resulting Document. type can be "text/html" (which will invoke the HTML parser), or any of "text/xml", "application/xml", "application/xhtml+xml", or "image/svg+xml" (which will invoke the XML parser). + * + * For the XML parser, if string cannot be parsed, then the returned Document will contain elements describing the resulting error. + * + * Note that script elements are not evaluated during parsing, and the resulting document's encoding will always be UTF-8. + * + * Values other than the above for type will cause a TypeError exception to be thrown. + */ + parseFromString(string: string, type: DOMParserSupportedType): Document; +} + +declare var DOMParser: { + prototype: DOMParser; + new(): DOMParser; +}; + +interface DOMPoint extends DOMPointReadOnly { + w: number; + x: number; + y: number; + z: number; +} + +declare var DOMPoint: { + prototype: DOMPoint; + new(x?: number, y?: number, z?: number, w?: number): DOMPoint; + fromPoint(other?: DOMPointInit): DOMPoint; +}; + +type SVGPoint = DOMPoint; +declare var SVGPoint: typeof DOMPoint; + +interface DOMPointReadOnly { + readonly w: number; + readonly x: number; + readonly y: number; + readonly z: number; + matrixTransform(matrix?: DOMMatrixInit): DOMPoint; + toJSON(): any; +} + +declare var DOMPointReadOnly: { + prototype: DOMPointReadOnly; + new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly; + fromPoint(other?: DOMPointInit): DOMPointReadOnly; +}; + +interface DOMQuad { + readonly p1: DOMPoint; + readonly p2: DOMPoint; + readonly p3: DOMPoint; + readonly p4: DOMPoint; + getBounds(): DOMRect; + toJSON(): any; +} + +declare var DOMQuad: { + prototype: DOMQuad; + new(p1?: DOMPointInit, p2?: DOMPointInit, p3?: DOMPointInit, p4?: DOMPointInit): DOMQuad; + fromQuad(other?: DOMQuadInit): DOMQuad; + fromRect(other?: DOMRectInit): DOMQuad; +}; + +interface DOMRect extends DOMRectReadOnly { + height: number; + width: number; + x: number; + y: number; +} + +declare var DOMRect: { + prototype: DOMRect; + new(x?: number, y?: number, width?: number, height?: number): DOMRect; + fromRect(other?: DOMRectInit): DOMRect; +}; + +type SVGRect = DOMRect; +declare var SVGRect: typeof DOMRect; + +interface DOMRectList { + readonly length: number; + item(index: number): DOMRect | null; + [index: number]: DOMRect; +} + +declare var DOMRectList: { + prototype: DOMRectList; + new(): DOMRectList; +}; + +interface DOMRectReadOnly { + readonly bottom: number; + readonly height: number; + readonly left: number; + readonly right: number; + readonly top: number; + readonly width: number; + readonly x: number; + readonly y: number; + toJSON(): any; +} + +declare var DOMRectReadOnly: { + prototype: DOMRectReadOnly; + new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly; + fromRect(other?: DOMRectInit): DOMRectReadOnly; +}; + +/** A type returned by some APIs which contains a list of DOMString (strings). */ +interface DOMStringList { + /** + * Returns the number of strings in strings. + */ + readonly length: number; + /** + * Returns true if strings contains string, and false otherwise. + */ + contains(string: string): boolean; + /** + * Returns the string with index index from strings. + */ + item(index: number): string | null; + [index: number]: string; +} + +declare var DOMStringList: { + prototype: DOMStringList; + new(): DOMStringList; +}; + +/** Used by the dataset HTML attribute to represent data for custom attributes added to elements. */ +interface DOMStringMap { + [name: string]: string | undefined; +} + +declare var DOMStringMap: { + prototype: DOMStringMap; + new(): DOMStringMap; +}; + +/** A set of space-separated tokens. Such a set is returned by Element.classList, HTMLLinkElement.relList, HTMLAnchorElement.relList, HTMLAreaElement.relList, HTMLIframeElement.sandbox, or HTMLOutputElement.htmlFor. It is indexed beginning with 0 as with JavaScript Array objects. DOMTokenList is always case-sensitive. */ +interface DOMTokenList { + /** + * Returns the number of tokens. + */ + readonly length: number; + /** + * Returns the associated set as string. + * + * Can be set, to change the associated attribute. + */ + value: string; + toString(): string; + /** + * Adds all arguments passed, except those already present. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + add(...tokens: string[]): void; + /** + * Returns true if token is present, and false otherwise. + */ + contains(token: string): boolean; + /** + * Returns the token with index index. + */ + item(index: number): string | null; + /** + * Removes arguments passed, if they are present. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + remove(...tokens: string[]): void; + /** + * Replaces token with newToken. + * + * Returns true if token was replaced with newToken, and false otherwise. + * + * Throws a "SyntaxError" DOMException if one of the arguments is the empty string. + * + * Throws an "InvalidCharacterError" DOMException if one of the arguments contains any ASCII whitespace. + */ + replace(token: string, newToken: string): boolean; + /** + * Returns true if token is in the associated attribute's supported tokens. Returns false otherwise. + * + * Throws a TypeError if the associated attribute has no supported tokens defined. + */ + supports(token: string): boolean; + /** + * If force is not given, "toggles" token, removing it if it's present and adding it if it's not present. If force is true, adds token (same as add()). If force is false, removes token (same as remove()). + * + * Returns true if token is now present, and false otherwise. + * + * Throws a "SyntaxError" DOMException if token is empty. + * + * Throws an "InvalidCharacterError" DOMException if token contains any spaces. + */ + toggle(token: string, force?: boolean): boolean; + forEach(callbackfn: (value: string, key: number, parent: DOMTokenList) => void, thisArg?: any): void; + [index: number]: string; +} + +declare var DOMTokenList: { + prototype: DOMTokenList; + new(): DOMTokenList; +}; + +/** Used to hold the data that is being dragged during a drag and drop operation. It may hold one or more data items, each of one or more data types. For more information about drag and drop, see HTML Drag and Drop API. */ +interface DataTransfer { + /** + * Returns the kind of operation that is currently selected. If the kind of operation isn't one of those that is allowed by the effectAllowed attribute, then the operation will fail. + * + * Can be set, to change the selected operation. + * + * The possible values are "none", "copy", "link", and "move". + */ + dropEffect: "none" | "copy" | "link" | "move"; + /** + * Returns the kinds of operations that are to be allowed. + * + * Can be set (during the dragstart event), to change the allowed operations. + * + * The possible values are "none", "copy", "copyLink", "copyMove", "link", "linkMove", "move", "all", and "uninitialized", + */ + effectAllowed: "none" | "copy" | "copyLink" | "copyMove" | "link" | "linkMove" | "move" | "all" | "uninitialized"; + /** + * Returns a FileList of the files being dragged, if any. + */ + readonly files: FileList; + /** + * Returns a DataTransferItemList object, with the drag data. + */ + readonly items: DataTransferItemList; + /** + * Returns a frozen array listing the formats that were set in the dragstart event. In addition, if any files are being dragged, then one of the types will be the string "Files". + */ + readonly types: ReadonlyArray; + /** + * Removes the data of the specified formats. Removes all data if the argument is omitted. + */ + clearData(format?: string): void; + /** + * Returns the specified data. If there is no such data, returns the empty string. + */ + getData(format: string): string; + /** + * Adds the specified data. + */ + setData(format: string, data: string): void; + /** + * Uses the given element to update the drag feedback, replacing any previously specified feedback. + */ + setDragImage(image: Element, x: number, y: number): void; +} + +declare var DataTransfer: { + prototype: DataTransfer; + new(): DataTransfer; +}; + +/** One drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a DataTransferItem object. */ +interface DataTransferItem { + /** + * Returns the drag data item kind, one of: "string", "file". + */ + readonly kind: string; + /** + * Returns the drag data item type string. + */ + readonly type: string; + /** + * Returns a File object, if the drag data item kind is File. + */ + getAsFile(): File | null; + /** + * Invokes the callback with the string data as the argument, if the drag data item kind is text. + */ + getAsString(callback: FunctionStringCallback | null): void; + webkitGetAsEntry(): FileSystemEntry | null; +} + +declare var DataTransferItem: { + prototype: DataTransferItem; + new(): DataTransferItem; +}; + +/** A list of DataTransferItem objects representing items being dragged. During a drag operation, each DragEvent has a dataTransfer property and that property is a DataTransferItemList. */ +interface DataTransferItemList { + /** + * Returns the number of items in the drag data store. + */ + readonly length: number; + /** + * Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. + */ + add(data: string, type: string): DataTransferItem | null; + add(data: File): DataTransferItem | null; + /** + * Removes all the entries in the drag data store. + */ + clear(): void; + /** + * Removes the indexth entry in the drag data store. + */ + remove(index: number): void; + [index: number]: DataTransferItem; +} + +declare var DataTransferItemList: { + prototype: DataTransferItemList; + new(): DataTransferItemList; +}; + +/** A delay-line; an AudioNode audio-processing module that causes a delay between the arrival of an input data and its propagation to the output. */ +interface DelayNode extends AudioNode { + readonly delayTime: AudioParam; +} + +declare var DelayNode: { + prototype: DelayNode; + new(context: BaseAudioContext, options?: DelayOptions): DelayNode; +}; + +/** The DeviceMotionEvent provides web developers with information about the speed of changes for the device's position and orientation. */ +interface DeviceMotionEvent extends Event { + readonly acceleration: DeviceMotionEventAcceleration | null; + readonly accelerationIncludingGravity: DeviceMotionEventAcceleration | null; + readonly interval: number; + readonly rotationRate: DeviceMotionEventRotationRate | null; +} + +declare var DeviceMotionEvent: { + prototype: DeviceMotionEvent; + new(type: string, eventInitDict?: DeviceMotionEventInit): DeviceMotionEvent; +}; + +interface DeviceMotionEventAcceleration { + readonly x: number | null; + readonly y: number | null; + readonly z: number | null; +} + +interface DeviceMotionEventRotationRate { + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; +} + +/** The DeviceOrientationEvent provides web developers with information from the physical orientation of the device running the web page. */ +interface DeviceOrientationEvent extends Event { + readonly absolute: boolean; + readonly alpha: number | null; + readonly beta: number | null; + readonly gamma: number | null; +} + +declare var DeviceOrientationEvent: { + prototype: DeviceOrientationEvent; + new(type: string, eventInitDict?: DeviceOrientationEventInit): DeviceOrientationEvent; +}; + +interface DocumentEventMap extends DocumentAndElementEventHandlersEventMap, GlobalEventHandlersEventMap { + "fullscreenchange": Event; + "fullscreenerror": Event; + "pointerlockchange": Event; + "pointerlockerror": Event; + "readystatechange": Event; + "visibilitychange": Event; +} + +/** Any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. */ +interface Document extends Node, DocumentAndElementEventHandlers, DocumentOrShadowRoot, FontFaceSource, GlobalEventHandlers, NonElementParentNode, ParentNode, XPathEvaluatorBase { + /** + * Sets or gets the URL for the current document. + */ + readonly URL: string; + /** + * Sets or gets the color of all active links in the document. + * @deprecated + */ + alinkColor: string; + /** + * Returns a reference to the collection of elements contained by the object. + * @deprecated + */ + readonly all: HTMLAllCollection; + /** + * Retrieves a collection of all a objects that have a name and/or id property. Objects in this collection are in HTML source order. + * @deprecated + */ + readonly anchors: HTMLCollectionOf; + /** + * Retrieves a collection of all applet objects in the document. + * @deprecated + */ + readonly applets: HTMLCollection; + /** + * Deprecated. Sets or retrieves a value that indicates the background color behind the object. + * @deprecated + */ + bgColor: string; + /** + * Specifies the beginning and end of the document body. + */ + body: HTMLElement; + /** + * Returns document's encoding. + */ + readonly characterSet: string; + /** + * Gets or sets the character set used to encode the object. + * @deprecated This is a legacy alias of `characterSet`. + */ + readonly charset: string; + /** + * Gets a value that indicates whether standards-compliant mode is switched on for the object. + */ + readonly compatMode: string; + /** + * Returns document's content type. + */ + readonly contentType: string; + /** + * Returns the HTTP cookies that apply to the Document. If there are no cookies or cookies can't be applied to this resource, the empty string will be returned. + * + * Can be set, to add a new cookie to the element's set of HTTP cookies. + * + * If the contents are sandboxed into a unique origin (e.g. in an iframe with the sandbox attribute), a "SecurityError" DOMException will be thrown on getting and setting. + */ + cookie: string; + /** + * Returns the script element, or the SVG script element, that is currently executing, as long as the element represents a classic script. In the case of reentrant script execution, returns the one that most recently started executing amongst those that have not yet finished executing. + * + * Returns null if the Document is not currently executing a script or SVG script element (e.g., because the running script is an event handler, or a timeout), or if the currently executing script or SVG script element represents a module script. + */ + readonly currentScript: HTMLOrSVGScriptElement | null; + /** + * Returns the Window object of the active document. + */ + readonly defaultView: (WindowProxy & typeof globalThis) | null; + /** + * Sets or gets a value that indicates whether the document can be edited. + */ + designMode: string; + /** + * Sets or retrieves a value that indicates the reading order of the object. + */ + dir: string; + /** + * Gets an object representing the document type declaration associated with the current document. + */ + readonly doctype: DocumentType | null; + /** + * Gets a reference to the root node of the document. + */ + readonly documentElement: HTMLElement; + /** + * Returns document's URL. + */ + readonly documentURI: string; + /** + * Sets or gets the security domain of the document. + */ + domain: string; + /** + * Retrieves a collection of all embed objects in the document. + */ + readonly embeds: HTMLCollectionOf; + /** + * Sets or gets the foreground (text) color of the document. + * @deprecated + */ + fgColor: string; + /** + * Retrieves a collection, in source order, of all form objects in the document. + */ + readonly forms: HTMLCollectionOf; + /** @deprecated */ + readonly fullscreen: boolean; + /** + * Returns true if document has the ability to display elements fullscreen and fullscreen is supported, or false otherwise. + */ + readonly fullscreenEnabled: boolean; + /** + * Returns the head element. + */ + readonly head: HTMLHeadElement; + readonly hidden: boolean; + /** + * Retrieves a collection, in source order, of img objects in the document. + */ + readonly images: HTMLCollectionOf; + /** + * Gets the implementation object of the current document. + */ + readonly implementation: DOMImplementation; + /** + * Returns the character encoding used to create the webpage that is loaded into the document object. + * @deprecated This is a legacy alias of `characterSet`. + */ + readonly inputEncoding: string; + /** + * Gets the date that the page was last modified, if the page supplies one. + */ + readonly lastModified: string; + /** + * Sets or gets the color of the document links. + * @deprecated + */ + linkColor: string; + /** + * Retrieves a collection of all a objects that specify the href property and all area objects in the document. + */ + readonly links: HTMLCollectionOf; + /** + * Contains information about the current URL. + */ + get location(): Location; + set location(href: string | Location); + onfullscreenchange: ((this: Document, ev: Event) => any) | null; + onfullscreenerror: ((this: Document, ev: Event) => any) | null; + onpointerlockchange: ((this: Document, ev: Event) => any) | null; + onpointerlockerror: ((this: Document, ev: Event) => any) | null; + /** + * Fires when the state of the object has changed. + * @param ev The event + */ + onreadystatechange: ((this: Document, ev: Event) => any) | null; + onvisibilitychange: ((this: Document, ev: Event) => any) | null; + readonly ownerDocument: null; + readonly pictureInPictureEnabled: boolean; + /** + * Return an HTMLCollection of the embed elements in the Document. + */ + readonly plugins: HTMLCollectionOf; + /** + * Retrieves a value that indicates the current state of the object. + */ + readonly readyState: DocumentReadyState; + /** + * Gets the URL of the location that referred the user to the current page. + */ + readonly referrer: string; + /** @deprecated */ + readonly rootElement: SVGSVGElement | null; + /** + * Retrieves a collection of all script objects in the document. + */ + readonly scripts: HTMLCollectionOf; + readonly scrollingElement: Element | null; + readonly timeline: DocumentTimeline; + /** + * Contains the title of the document. + */ + title: string; + readonly visibilityState: VisibilityState; + /** + * Sets or gets the color of the links that the user has visited. + * @deprecated + */ + vlinkColor: string; + /** + * Moves node from another document and returns it. + * + * If node is a document, throws a "NotSupportedError" DOMException or, if node is a shadow root, throws a "HierarchyRequestError" DOMException. + */ + adoptNode(node: T): T; + /** @deprecated */ + captureEvents(): void; + /** @deprecated */ + caretRangeFromPoint(x: number, y: number): Range | null; + /** @deprecated */ + clear(): void; + /** + * Closes an output stream and forces the sent data to display. + */ + close(): void; + /** + * Creates an attribute object with a specified name. + * @param name String that sets the attribute object's name. + */ + createAttribute(localName: string): Attr; + createAttributeNS(namespace: string | null, qualifiedName: string): Attr; + /** + * Returns a CDATASection node whose data is data. + */ + createCDATASection(data: string): CDATASection; + /** + * Creates a comment object with the specified data. + * @param data Sets the comment object's data. + */ + createComment(data: string): Comment; + /** + * Creates a new document. + */ + createDocumentFragment(): DocumentFragment; + /** + * Creates an instance of the element for the specified tag. + * @param tagName The name of an element. + */ + createElement(tagName: K, options?: ElementCreationOptions): HTMLElementTagNameMap[K]; + /** @deprecated */ + createElement(tagName: K, options?: ElementCreationOptions): HTMLElementDeprecatedTagNameMap[K]; + createElement(tagName: string, options?: ElementCreationOptions): HTMLElement; + /** + * Returns an element with namespace namespace. Its namespace prefix will be everything before ":" (U+003E) in qualifiedName or null. Its local name will be everything after ":" (U+003E) in qualifiedName or qualifiedName. + * + * If localName does not match the Name production an "InvalidCharacterError" DOMException will be thrown. + * + * If one of the following conditions is true a "NamespaceError" DOMException will be thrown: + * + * localName does not match the QName production. + * Namespace prefix is not null and namespace is the empty string. + * Namespace prefix is "xml" and namespace is not the XML namespace. + * qualifiedName or namespace prefix is "xmlns" and namespace is not the XMLNS namespace. + * namespace is the XMLNS namespace and neither qualifiedName nor namespace prefix is "xmlns". + * + * When supplied, options's is can be used to create a customized built-in element. + */ + createElementNS(namespaceURI: "http://www.w3.org/1999/xhtml", qualifiedName: string): HTMLElement; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: K): SVGElementTagNameMap[K]; + createElementNS(namespaceURI: "http://www.w3.org/2000/svg", qualifiedName: string): SVGElement; + createElementNS(namespaceURI: string | null, qualifiedName: string, options?: ElementCreationOptions): Element; + createElementNS(namespace: string | null, qualifiedName: string, options?: string | ElementCreationOptions): Element; + createEvent(eventInterface: "AnimationEvent"): AnimationEvent; + createEvent(eventInterface: "AnimationPlaybackEvent"): AnimationPlaybackEvent; + createEvent(eventInterface: "AudioProcessingEvent"): AudioProcessingEvent; + createEvent(eventInterface: "BeforeUnloadEvent"): BeforeUnloadEvent; + createEvent(eventInterface: "BlobEvent"): BlobEvent; + createEvent(eventInterface: "ClipboardEvent"): ClipboardEvent; + createEvent(eventInterface: "CloseEvent"): CloseEvent; + createEvent(eventInterface: "CompositionEvent"): CompositionEvent; + createEvent(eventInterface: "CustomEvent"): CustomEvent; + createEvent(eventInterface: "DeviceMotionEvent"): DeviceMotionEvent; + createEvent(eventInterface: "DeviceOrientationEvent"): DeviceOrientationEvent; + createEvent(eventInterface: "DragEvent"): DragEvent; + createEvent(eventInterface: "ErrorEvent"): ErrorEvent; + createEvent(eventInterface: "FocusEvent"): FocusEvent; + createEvent(eventInterface: "FontFaceSetLoadEvent"): FontFaceSetLoadEvent; + createEvent(eventInterface: "FormDataEvent"): FormDataEvent; + createEvent(eventInterface: "GamepadEvent"): GamepadEvent; + createEvent(eventInterface: "HashChangeEvent"): HashChangeEvent; + createEvent(eventInterface: "IDBVersionChangeEvent"): IDBVersionChangeEvent; + createEvent(eventInterface: "InputEvent"): InputEvent; + createEvent(eventInterface: "KeyboardEvent"): KeyboardEvent; + createEvent(eventInterface: "MediaEncryptedEvent"): MediaEncryptedEvent; + createEvent(eventInterface: "MediaKeyMessageEvent"): MediaKeyMessageEvent; + createEvent(eventInterface: "MediaQueryListEvent"): MediaQueryListEvent; + createEvent(eventInterface: "MediaRecorderErrorEvent"): MediaRecorderErrorEvent; + createEvent(eventInterface: "MediaStreamTrackEvent"): MediaStreamTrackEvent; + createEvent(eventInterface: "MessageEvent"): MessageEvent; + createEvent(eventInterface: "MouseEvent"): MouseEvent; + createEvent(eventInterface: "MouseEvents"): MouseEvent; + createEvent(eventInterface: "MutationEvent"): MutationEvent; + createEvent(eventInterface: "MutationEvents"): MutationEvent; + createEvent(eventInterface: "OfflineAudioCompletionEvent"): OfflineAudioCompletionEvent; + createEvent(eventInterface: "PageTransitionEvent"): PageTransitionEvent; + createEvent(eventInterface: "PaymentMethodChangeEvent"): PaymentMethodChangeEvent; + createEvent(eventInterface: "PaymentRequestUpdateEvent"): PaymentRequestUpdateEvent; + createEvent(eventInterface: "PointerEvent"): PointerEvent; + createEvent(eventInterface: "PopStateEvent"): PopStateEvent; + createEvent(eventInterface: "ProgressEvent"): ProgressEvent; + createEvent(eventInterface: "PromiseRejectionEvent"): PromiseRejectionEvent; + createEvent(eventInterface: "RTCDTMFToneChangeEvent"): RTCDTMFToneChangeEvent; + createEvent(eventInterface: "RTCDataChannelEvent"): RTCDataChannelEvent; + createEvent(eventInterface: "RTCPeerConnectionIceErrorEvent"): RTCPeerConnectionIceErrorEvent; + createEvent(eventInterface: "RTCPeerConnectionIceEvent"): RTCPeerConnectionIceEvent; + createEvent(eventInterface: "RTCTrackEvent"): RTCTrackEvent; + createEvent(eventInterface: "SecurityPolicyViolationEvent"): SecurityPolicyViolationEvent; + createEvent(eventInterface: "SpeechSynthesisErrorEvent"): SpeechSynthesisErrorEvent; + createEvent(eventInterface: "SpeechSynthesisEvent"): SpeechSynthesisEvent; + createEvent(eventInterface: "StorageEvent"): StorageEvent; + createEvent(eventInterface: "SubmitEvent"): SubmitEvent; + createEvent(eventInterface: "TouchEvent"): TouchEvent; + createEvent(eventInterface: "TrackEvent"): TrackEvent; + createEvent(eventInterface: "TransitionEvent"): TransitionEvent; + createEvent(eventInterface: "UIEvent"): UIEvent; + createEvent(eventInterface: "UIEvents"): UIEvent; + createEvent(eventInterface: "WebGLContextEvent"): WebGLContextEvent; + createEvent(eventInterface: "WheelEvent"): WheelEvent; + createEvent(eventInterface: string): Event; + /** + * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list + * @param filter A custom NodeFilter function to use. For more information, see filter. Use null for no filter. + */ + createNodeIterator(root: Node, whatToShow?: number, filter?: NodeFilter | null): NodeIterator; + /** + * Returns a ProcessingInstruction node whose target is target and data is data. If target does not match the Name production an "InvalidCharacterError" DOMException will be thrown. If data contains "?>" an "InvalidCharacterError" DOMException will be thrown. + */ + createProcessingInstruction(target: string, data: string): ProcessingInstruction; + /** + * Returns an empty range object that has both of its boundary points positioned at the beginning of the document. + */ + createRange(): Range; + /** + * Creates a text string from the specified value. + * @param data String that specifies the nodeValue property of the text node. + */ + createTextNode(data: string): Text; + /** + * Creates a TreeWalker object that you can use to traverse filtered lists of nodes or elements in a document. + * @param root The root element or node to start traversing on. + * @param whatToShow The type of nodes or elements to appear in the node list. For more information, see whatToShow. + * @param filter A custom NodeFilter function to use. + */ + createTreeWalker(root: Node, whatToShow?: number, filter?: NodeFilter | null): TreeWalker; + /** + * Returns the element for the specified x coordinate and the specified y coordinate. + * @param x The x-offset + * @param y The y-offset + */ + elementFromPoint(x: number, y: number): Element | null; + elementsFromPoint(x: number, y: number): Element[]; + /** + * Executes a command on the current document, current selection, or the given range. + * @param commandId String that specifies the command to execute. This command can be any of the command identifiers that can be executed in script. + * @param showUI Display the user interface, defaults to false. + * @param value Value to assign. + * @deprecated + */ + execCommand(commandId: string, showUI?: boolean, value?: string): boolean; + /** + * Stops document's fullscreen element from being displayed fullscreen and resolves promise when done. + */ + exitFullscreen(): Promise; + exitPictureInPicture(): Promise; + exitPointerLock(): void; + /** + * Returns a reference to the first object with the specified value of the ID attribute. + * @param elementId String that specifies the ID value. + */ + getElementById(elementId: string): HTMLElement | null; + /** + * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. + */ + getElementsByClassName(classNames: string): HTMLCollectionOf; + /** + * Gets a collection of objects based on the value of the NAME or ID attribute. + * @param elementName Gets a collection of objects based on the value of the NAME or ID attribute. + */ + getElementsByName(elementName: string): NodeListOf; + /** + * Retrieves a collection of objects based on the specified element name. + * @param name Specifies the name of an element. + */ + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: string): HTMLCollectionOf; + /** + * If namespace and localName are "*" returns a HTMLCollection of all descendant elements. + * + * If only namespace is "*" returns a HTMLCollection of all descendant elements whose local name is localName. + * + * If only localName is "*" returns a HTMLCollection of all descendant elements whose namespace is namespace. + * + * Otherwise, returns a HTMLCollection of all descendant elements whose namespace is namespace and local name is localName. + */ + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** + * Returns an object representing the current selection of the document that is loaded into the object displaying a webpage. + */ + getSelection(): Selection | null; + /** + * Gets a value indicating whether the object currently has focus. + */ + hasFocus(): boolean; + hasStorageAccess(): Promise; + /** + * Returns a copy of node. If deep is true, the copy also includes the node's descendants. + * + * If node is a document or a shadow root, throws a "NotSupportedError" DOMException. + */ + importNode(node: T, deep?: boolean): T; + /** + * Opens a new window and loads a document specified by a given URL. Also, opens a new window that uses the url parameter and the name parameter to collect the output of the write method and the writeln method. + * @param url Specifies a MIME type for the document. + * @param name Specifies the name of the window. This name is used as the value for the TARGET attribute on a form or an anchor element. + * @param features Contains a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following values are supported. + * @param replace Specifies whether the existing entry for the document is replaced in the history list. + */ + open(unused1?: string, unused2?: string): Document; + open(url: string | URL, name: string, features: string): WindowProxy | null; + /** + * Returns a Boolean value that indicates whether a specified command can be successfully executed using execCommand, given the current state of the document. + * @param commandId Specifies a command identifier. + * @deprecated + */ + queryCommandEnabled(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the specified command is in the indeterminate state. + * @param commandId String that specifies a command identifier. + */ + queryCommandIndeterm(commandId: string): boolean; + /** + * Returns a Boolean value that indicates the current state of the command. + * @param commandId String that specifies a command identifier. + * @deprecated + */ + queryCommandState(commandId: string): boolean; + /** + * Returns a Boolean value that indicates whether the current command is supported on the current range. + * @param commandId Specifies a command identifier. + * @deprecated + */ + queryCommandSupported(commandId: string): boolean; + /** + * Returns the current value of the document, range, or current selection for the given command. + * @param commandId String that specifies a command identifier. + */ + queryCommandValue(commandId: string): string; + /** @deprecated */ + releaseEvents(): void; + requestStorageAccess(): Promise; + /** + * Writes one or more HTML expressions to a document in the specified window. + * @param content Specifies the text and HTML tags to write. + */ + write(...text: string[]): void; + /** + * Writes one or more HTML expressions, followed by a carriage return, to a document in the specified window. + * @param content The text and HTML tags to write. + */ + writeln(...text: string[]): void; + addEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Document: { + prototype: Document; + new(): Document; +}; + +interface DocumentAndElementEventHandlersEventMap { + "copy": ClipboardEvent; + "cut": ClipboardEvent; + "paste": ClipboardEvent; +} + +interface DocumentAndElementEventHandlers { + oncopy: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; + oncut: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; + onpaste: ((this: DocumentAndElementEventHandlers, ev: ClipboardEvent) => any) | null; + addEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: DocumentAndElementEventHandlers, ev: DocumentAndElementEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +/** A minimal document object that has no parent. It is used as a lightweight version of Document that stores a segment of a document structure comprised of nodes just like a standard document. The key difference is that because the document fragment isn't part of the active document tree structure, changes made to the fragment don't affect the document, cause reflow, or incur any performance impact that can occur when changes are made. */ +interface DocumentFragment extends Node, NonElementParentNode, ParentNode { + readonly ownerDocument: Document; + getElementById(elementId: string): HTMLElement | null; +} + +declare var DocumentFragment: { + prototype: DocumentFragment; + new(): DocumentFragment; +}; + +interface DocumentOrShadowRoot { + /** + * Returns the deepest element in the document through which or to which key events are being routed. This is, roughly speaking, the focused element in the document. + * + * For the purposes of this API, when a child browsing context is focused, its container is focused in the parent browsing context. For example, if the user moves the focus to a text control in an iframe, the iframe is the element returned by the activeElement API in the iframe's node document. + * + * Similarly, when the focused element is in a different node tree than documentOrShadowRoot, the element returned will be the host that's located in the same node tree as documentOrShadowRoot if documentOrShadowRoot is a shadow-including inclusive ancestor of the focused element, and null if not. + */ + readonly activeElement: Element | null; + /** + * Returns document's fullscreen element. + */ + readonly fullscreenElement: Element | null; + readonly pictureInPictureElement: Element | null; + readonly pointerLockElement: Element | null; + /** + * Retrieves a collection of styleSheet objects representing the style sheets that correspond to each instance of a link or style object in the document. + */ + readonly styleSheets: StyleSheetList; + getAnimations(): Animation[]; +} + +interface DocumentTimeline extends AnimationTimeline { +} + +declare var DocumentTimeline: { + prototype: DocumentTimeline; + new(options?: DocumentTimelineOptions): DocumentTimeline; +}; + +/** A Node containing a doctype. */ +interface DocumentType extends Node, ChildNode { + readonly name: string; + readonly ownerDocument: Document; + readonly publicId: string; + readonly systemId: string; +} + +declare var DocumentType: { + prototype: DocumentType; + new(): DocumentType; +}; + +/** A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way. */ +interface DragEvent extends MouseEvent { + /** + * Returns the DataTransfer object for the event. + */ + readonly dataTransfer: DataTransfer | null; +} + +declare var DragEvent: { + prototype: DragEvent; + new(type: string, eventInitDict?: DragEventInit): DragEvent; +}; + +/** Inherits properties from its parent, AudioNode. */ +interface DynamicsCompressorNode extends AudioNode { + readonly attack: AudioParam; + readonly knee: AudioParam; + readonly ratio: AudioParam; + readonly reduction: number; + readonly release: AudioParam; + readonly threshold: AudioParam; +} + +declare var DynamicsCompressorNode: { + prototype: DynamicsCompressorNode; + new(context: BaseAudioContext, options?: DynamicsCompressorOptions): DynamicsCompressorNode; +}; + +interface EXT_blend_minmax { + readonly MAX_EXT: GLenum; + readonly MIN_EXT: GLenum; +} + +interface EXT_color_buffer_float { +} + +interface EXT_color_buffer_half_float { + readonly FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT: GLenum; + readonly RGB16F_EXT: GLenum; + readonly RGBA16F_EXT: GLenum; + readonly UNSIGNED_NORMALIZED_EXT: GLenum; +} + +interface EXT_float_blend { +} + +/** The EXT_frag_depth extension is part of the WebGL API and enables to set a depth value of a fragment from within the fragment shader. */ +interface EXT_frag_depth { +} + +interface EXT_sRGB { + readonly FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT: GLenum; + readonly SRGB8_ALPHA8_EXT: GLenum; + readonly SRGB_ALPHA_EXT: GLenum; + readonly SRGB_EXT: GLenum; +} + +interface EXT_shader_texture_lod { +} + +interface EXT_texture_compression_rgtc { + readonly COMPRESSED_RED_GREEN_RGTC2_EXT: GLenum; + readonly COMPRESSED_RED_RGTC1_EXT: GLenum; + readonly COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT: GLenum; + readonly COMPRESSED_SIGNED_RED_RGTC1_EXT: GLenum; +} + +/** The EXT_texture_filter_anisotropic extension is part of the WebGL API and exposes two constants for anisotropic filtering (AF). */ +interface EXT_texture_filter_anisotropic { + readonly MAX_TEXTURE_MAX_ANISOTROPY_EXT: GLenum; + readonly TEXTURE_MAX_ANISOTROPY_EXT: GLenum; +} + +interface ElementEventMap { + "fullscreenchange": Event; + "fullscreenerror": Event; +} + +/** Element is the most general base class from which all objects in a Document inherit. It only has methods and properties common to all kinds of elements. More specific classes inherit from Element. */ +interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, NonDocumentTypeChildNode, ParentNode, Slottable { + readonly attributes: NamedNodeMap; + /** + * Allows for manipulation of element's class content attribute as a set of whitespace-separated tokens through a DOMTokenList object. + */ + readonly classList: DOMTokenList; + /** + * Returns the value of element's class content attribute. Can be set to change it. + */ + className: string; + readonly clientHeight: number; + readonly clientLeft: number; + readonly clientTop: number; + readonly clientWidth: number; + /** + * Returns the value of element's id content attribute. Can be set to change it. + */ + id: string; + /** + * Returns the local name. + */ + readonly localName: string; + /** + * Returns the namespace. + */ + readonly namespaceURI: string | null; + onfullscreenchange: ((this: Element, ev: Event) => any) | null; + onfullscreenerror: ((this: Element, ev: Event) => any) | null; + outerHTML: string; + readonly ownerDocument: Document; + readonly part: DOMTokenList; + /** + * Returns the namespace prefix. + */ + readonly prefix: string | null; + readonly scrollHeight: number; + scrollLeft: number; + scrollTop: number; + readonly scrollWidth: number; + /** + * Returns element's shadow root, if any, and if shadow root's mode is "open", and null otherwise. + */ + readonly shadowRoot: ShadowRoot | null; + /** + * Returns the value of element's slot content attribute. Can be set to change it. + */ + slot: string; + /** + * Returns the HTML-uppercased qualified name. + */ + readonly tagName: string; + /** + * Creates a shadow root for element and returns it. + */ + attachShadow(init: ShadowRootInit): ShadowRoot; + /** + * Returns the first (starting at element) inclusive ancestor that matches selectors, and null otherwise. + */ + closest(selector: K): HTMLElementTagNameMap[K] | null; + closest(selector: K): SVGElementTagNameMap[K] | null; + closest(selectors: string): E | null; + /** + * Returns element's first attribute whose qualified name is qualifiedName, and null if there is no such attribute otherwise. + */ + getAttribute(qualifiedName: string): string | null; + /** + * Returns element's attribute whose namespace is namespace and local name is localName, and null if there is no such attribute otherwise. + */ + getAttributeNS(namespace: string | null, localName: string): string | null; + /** + * Returns the qualified names of all element's attributes. Can contain duplicates. + */ + getAttributeNames(): string[]; + getAttributeNode(qualifiedName: string): Attr | null; + getAttributeNodeNS(namespace: string | null, localName: string): Attr | null; + getBoundingClientRect(): DOMRect; + getClientRects(): DOMRectList; + /** + * Returns a HTMLCollection of the elements in the object on which the method was invoked (a document or an element) that have all the classes given by classNames. The classNames argument is interpreted as a space-separated list of classes. + */ + getElementsByClassName(classNames: string): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: K): HTMLCollectionOf; + getElementsByTagName(qualifiedName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf; + getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf; + /** + * Returns true if element has an attribute whose qualified name is qualifiedName, and false otherwise. + */ + hasAttribute(qualifiedName: string): boolean; + /** + * Returns true if element has an attribute whose namespace is namespace and local name is localName. + */ + hasAttributeNS(namespace: string | null, localName: string): boolean; + /** + * Returns true if element has attributes, and false otherwise. + */ + hasAttributes(): boolean; + hasPointerCapture(pointerId: number): boolean; + insertAdjacentElement(where: InsertPosition, element: Element): Element | null; + insertAdjacentHTML(position: InsertPosition, text: string): void; + insertAdjacentText(where: InsertPosition, data: string): void; + /** + * Returns true if matching selectors against element's root yields element, and false otherwise. + */ + matches(selectors: string): boolean; + releasePointerCapture(pointerId: number): void; + /** + * Removes element's first attribute whose qualified name is qualifiedName. + */ + removeAttribute(qualifiedName: string): void; + /** + * Removes element's attribute whose namespace is namespace and local name is localName. + */ + removeAttributeNS(namespace: string | null, localName: string): void; + removeAttributeNode(attr: Attr): Attr; + /** + * Displays element fullscreen and resolves promise when done. + * + * When supplied, options's navigationUI member indicates whether showing navigation UI while in fullscreen is preferred or not. If set to "show", navigation simplicity is preferred over screen space, and if set to "hide", more screen space is preferred. User agents are always free to honor user preference over the application's. The default value "auto" indicates no application preference. + */ + requestFullscreen(options?: FullscreenOptions): Promise; + requestPointerLock(): void; + scroll(options?: ScrollToOptions): void; + scroll(x: number, y: number): void; + scrollBy(options?: ScrollToOptions): void; + scrollBy(x: number, y: number): void; + scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void; + scrollTo(options?: ScrollToOptions): void; + scrollTo(x: number, y: number): void; + /** + * Sets the value of element's first attribute whose qualified name is qualifiedName to value. + */ + setAttribute(qualifiedName: string, value: string): void; + /** + * Sets the value of element's attribute whose namespace is namespace and local name is localName to value. + */ + setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void; + setAttributeNode(attr: Attr): Attr | null; + setAttributeNodeNS(attr: Attr): Attr | null; + setPointerCapture(pointerId: number): void; + /** + * If force is not given, "toggles" qualifiedName, removing it if it is present and adding it if it is not present. If force is true, adds qualifiedName. If force is false, removes qualifiedName. + * + * Returns true if qualifiedName is now present, and false otherwise. + */ + toggleAttribute(qualifiedName: string, force?: boolean): boolean; + /** @deprecated This is a legacy alias of `matches`. */ + webkitMatchesSelector(selectors: string): boolean; + addEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: Element, ev: ElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var Element: { + prototype: Element; + new(): Element; +}; + +interface ElementCSSInlineStyle { + readonly style: CSSStyleDeclaration; +} + +interface ElementContentEditable { + contentEditable: string; + enterKeyHint: string; + inputMode: string; + readonly isContentEditable: boolean; +} + +/** Events providing information related to errors in scripts or in files. */ +interface ErrorEvent extends Event { + readonly colno: number; + readonly error: any; + readonly filename: string; + readonly lineno: number; + readonly message: string; +} + +declare var ErrorEvent: { + prototype: ErrorEvent; + new(type: string, eventInitDict?: ErrorEventInit): ErrorEvent; +}; + +/** An event which takes place in the DOM. */ +interface Event { + /** + * Returns true or false depending on how event was initialized. True if event goes through its target's ancestors in reverse tree order, and false otherwise. + */ + readonly bubbles: boolean; + cancelBubble: boolean; + /** + * Returns true or false depending on how event was initialized. Its return value does not always carry meaning, but true can indicate that part of the operation during which event was dispatched, can be canceled by invoking the preventDefault() method. + */ + readonly cancelable: boolean; + /** + * Returns true or false depending on how event was initialized. True if event invokes listeners past a ShadowRoot node that is the root of its target, and false otherwise. + */ + readonly composed: boolean; + /** + * Returns the object whose event listener's callback is currently being invoked. + */ + readonly currentTarget: EventTarget | null; + /** + * Returns true if preventDefault() was invoked successfully to indicate cancelation, and false otherwise. + */ + readonly defaultPrevented: boolean; + /** + * Returns the event's phase, which is one of NONE, CAPTURING_PHASE, AT_TARGET, and BUBBLING_PHASE. + */ + readonly eventPhase: number; + /** + * Returns true if event was dispatched by the user agent, and false otherwise. + */ + readonly isTrusted: boolean; + /** @deprecated */ + returnValue: boolean; + /** @deprecated */ + readonly srcElement: EventTarget | null; + /** + * Returns the object to which event is dispatched (its target). + */ + readonly target: EventTarget | null; + /** + * Returns the event's timestamp as the number of milliseconds measured relative to the time origin. + */ + readonly timeStamp: DOMHighResTimeStamp; + /** + * Returns the type of event, e.g. "click", "hashchange", or "submit". + */ + readonly type: string; + /** + * Returns the invocation target objects of event's path (objects on which listeners will be invoked), except for any nodes in shadow trees of which the shadow root's mode is "closed" that are not reachable from event's currentTarget. + */ + composedPath(): EventTarget[]; + /** @deprecated */ + initEvent(type: string, bubbles?: boolean, cancelable?: boolean): void; + /** + * If invoked when the cancelable attribute value is true, and while executing a listener for the event with passive set to false, signals to the operation that caused event to be dispatched that it needs to be canceled. + */ + preventDefault(): void; + /** + * Invoking this method prevents event from reaching any registered event listeners after the current one finishes running and, when dispatched in a tree, also prevents event from reaching any other objects. + */ + stopImmediatePropagation(): void; + /** + * When dispatched in a tree, invoking this method prevents event from reaching any objects other than the current object. + */ + stopPropagation(): void; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; + readonly NONE: number; +} + +declare var Event: { + prototype: Event; + new(type: string, eventInitDict?: EventInit): Event; + readonly AT_TARGET: number; + readonly BUBBLING_PHASE: number; + readonly CAPTURING_PHASE: number; + readonly NONE: number; +}; + +interface EventListener { + (evt: Event): void; +} + +interface EventListenerObject { + handleEvent(object: Event): void; +} + +interface EventSourceEventMap { + "error": Event; + "message": MessageEvent; + "open": Event; +} + +interface EventSource extends EventTarget { + onerror: ((this: EventSource, ev: Event) => any) | null; + onmessage: ((this: EventSource, ev: MessageEvent) => any) | null; + onopen: ((this: EventSource, ev: Event) => any) | null; + /** + * Returns the state of this EventSource object's connection. It can have the values described below. + */ + readonly readyState: number; + /** + * Returns the URL providing the event stream. + */ + readonly url: string; + /** + * Returns true if the credentials mode for connection requests to the URL providing the event stream is set to "include", and false otherwise. + */ + readonly withCredentials: boolean; + /** + * Aborts any instances of the fetch algorithm started for this EventSource object, and sets the readyState attribute to CLOSED. + */ + close(): void; + readonly CLOSED: number; + readonly CONNECTING: number; + readonly OPEN: number; + addEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: EventSource, ev: EventSourceEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var EventSource: { + prototype: EventSource; + new(url: string | URL, eventSourceInitDict?: EventSourceInit): EventSource; + readonly CLOSED: number; + readonly CONNECTING: number; + readonly OPEN: number; +}; + +/** EventTarget is a DOM interface implemented by objects that can receive events and may have listeners for them. */ +interface EventTarget { + /** + * Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. + * + * The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. + * + * When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. + * + * When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. + * + * When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. + * + * If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. + * + * The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. + */ + addEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: AddEventListenerOptions | boolean): void; + /** + * Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. + */ + dispatchEvent(event: Event): boolean; + /** + * Removes the event listener in target's event listener list with the same type, callback, and options. + */ + removeEventListener(type: string, callback: EventListenerOrEventListenerObject | null, options?: EventListenerOptions | boolean): void; +} + +declare var EventTarget: { + prototype: EventTarget; + new(): EventTarget; +}; + +/** @deprecated */ +interface External { + /** @deprecated */ + AddSearchProvider(): void; + /** @deprecated */ + IsSearchProviderInstalled(): void; +} + +/** @deprecated */ +declare var External: { + prototype: External; + new(): External; +}; + +/** Provides information about files and allows JavaScript in a web page to access their content. */ +interface File extends Blob { + readonly lastModified: number; + readonly name: string; + readonly webkitRelativePath: string; +} + +declare var File: { + prototype: File; + new(fileBits: BlobPart[], fileName: string, options?: FilePropertyBag): File; +}; + +/** An object of this type is returned by the files property of the HTML element; this lets you access the list of files selected with the element. It's also used for a list of files dropped into web content when using the drag and drop API; see the DataTransfer object for details on this usage. */ +interface FileList { + readonly length: number; + item(index: number): File | null; + [index: number]: File; +} + +declare var FileList: { + prototype: FileList; + new(): FileList; +}; + +interface FileReaderEventMap { + "abort": ProgressEvent; + "error": ProgressEvent; + "load": ProgressEvent; + "loadend": ProgressEvent; + "loadstart": ProgressEvent; + "progress": ProgressEvent; +} + +/** Lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read. */ +interface FileReader extends EventTarget { + readonly error: DOMException | null; + onabort: ((this: FileReader, ev: ProgressEvent) => any) | null; + onerror: ((this: FileReader, ev: ProgressEvent) => any) | null; + onload: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadend: ((this: FileReader, ev: ProgressEvent) => any) | null; + onloadstart: ((this: FileReader, ev: ProgressEvent) => any) | null; + onprogress: ((this: FileReader, ev: ProgressEvent) => any) | null; + readonly readyState: number; + readonly result: string | ArrayBuffer | null; + abort(): void; + readAsArrayBuffer(blob: Blob): void; + readAsBinaryString(blob: Blob): void; + readAsDataURL(blob: Blob): void; + readAsText(blob: Blob, encoding?: string): void; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; + addEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: FileReader, ev: FileReaderEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var FileReader: { + prototype: FileReader; + new(): FileReader; + readonly DONE: number; + readonly EMPTY: number; + readonly LOADING: number; +}; + +interface FileSystem { + readonly name: string; + readonly root: FileSystemDirectoryEntry; +} + +declare var FileSystem: { + prototype: FileSystem; + new(): FileSystem; +}; + +interface FileSystemDirectoryEntry extends FileSystemEntry { + createReader(): FileSystemDirectoryReader; + getDirectory(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; + getFile(path?: string | null, options?: FileSystemFlags, successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemDirectoryEntry: { + prototype: FileSystemDirectoryEntry; + new(): FileSystemDirectoryEntry; +}; + +/** @deprecated */ +interface FileSystemDirectoryReader { + /** @deprecated */ + readEntries(successCallback: FileSystemEntriesCallback, errorCallback?: ErrorCallback): void; +} + +/** @deprecated */ +declare var FileSystemDirectoryReader: { + prototype: FileSystemDirectoryReader; + new(): FileSystemDirectoryReader; +}; + +interface FileSystemEntry { + readonly filesystem: FileSystem; + readonly fullPath: string; + readonly isDirectory: boolean; + readonly isFile: boolean; + readonly name: string; + getParent(successCallback?: FileSystemEntryCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemEntry: { + prototype: FileSystemEntry; + new(): FileSystemEntry; +}; + +interface FileSystemFileEntry extends FileSystemEntry { + file(successCallback: FileCallback, errorCallback?: ErrorCallback): void; +} + +declare var FileSystemFileEntry: { + prototype: FileSystemFileEntry; + new(): FileSystemFileEntry; +}; + +/** Focus-related events like focus, blur, focusin, or focusout. */ +interface FocusEvent extends UIEvent { + readonly relatedTarget: EventTarget | null; +} + +declare var FocusEvent: { + prototype: FocusEvent; + new(type: string, eventInitDict?: FocusEventInit): FocusEvent; +}; + +interface FontFace { + ascentOverride: string; + descentOverride: string; + display: string; + family: string; + featureSettings: string; + lineGapOverride: string; + readonly loaded: Promise; + readonly status: FontFaceLoadStatus; + stretch: string; + style: string; + unicodeRange: string; + variant: string; + variationSettings: string; + weight: string; + load(): Promise; +} + +declare var FontFace: { + prototype: FontFace; + new(family: string, source: string | BinaryData, descriptors?: FontFaceDescriptors): FontFace; +}; + +interface FontFaceSetEventMap { + "loading": Event; + "loadingdone": Event; + "loadingerror": Event; +} + +interface FontFaceSet extends EventTarget { + onloading: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingdone: ((this: FontFaceSet, ev: Event) => any) | null; + onloadingerror: ((this: FontFaceSet, ev: Event) => any) | null; + readonly ready: Promise; + readonly status: FontFaceSetLoadStatus; + check(font: string, text?: string): boolean; + load(font: string, text?: string): Promise; + forEach(callbackfn: (value: FontFace, key: FontFace, parent: FontFaceSet) => void, thisArg?: any): void; + addEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: FontFaceSet, ev: FontFaceSetEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var FontFaceSet: { + prototype: FontFaceSet; + new(initialFaces: FontFace[]): FontFaceSet; +}; + +interface FontFaceSetLoadEvent extends Event { + readonly fontfaces: ReadonlyArray; +} + +declare var FontFaceSetLoadEvent: { + prototype: FontFaceSetLoadEvent; + new(type: string, eventInitDict?: FontFaceSetLoadEventInit): FontFaceSetLoadEvent; +}; + +interface FontFaceSource { + readonly fonts: FontFaceSet; +} + +/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */ +interface FormData { + append(name: string, value: string | Blob, fileName?: string): void; + delete(name: string): void; + get(name: string): FormDataEntryValue | null; + getAll(name: string): FormDataEntryValue[]; + has(name: string): boolean; + set(name: string, value: string | Blob, fileName?: string): void; + forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void; +} + +declare var FormData: { + prototype: FormData; + new(form?: HTMLFormElement): FormData; +}; + +interface FormDataEvent extends Event { + /** + * Returns a FormData object representing names and values of elements associated to the target form. Operations on the FormData object will affect form data to be submitted. + */ + readonly formData: FormData; +} + +declare var FormDataEvent: { + prototype: FormDataEvent; + new(type: string, eventInitDict: FormDataEventInit): FormDataEvent; +}; + +/** A change in volume. It is an AudioNode audio-processing module that causes a given gain to be applied to the input data before its propagation to the output. A GainNode always has exactly one input and one output, both with the same number of channels. */ +interface GainNode extends AudioNode { + readonly gain: AudioParam; +} + +declare var GainNode: { + prototype: GainNode; + new(context: BaseAudioContext, options?: GainOptions): GainNode; +}; + +/** This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id. */ +interface Gamepad { + readonly axes: ReadonlyArray; + readonly buttons: ReadonlyArray; + readonly connected: boolean; + readonly hapticActuators: ReadonlyArray; + readonly id: string; + readonly index: number; + readonly mapping: GamepadMappingType; + readonly timestamp: DOMHighResTimeStamp; +} + +declare var Gamepad: { + prototype: Gamepad; + new(): Gamepad; +}; + +/** An individual button of a gamepad or other controller, allowing access to the current state of different types of buttons available on the control device. */ +interface GamepadButton { + readonly pressed: boolean; + readonly touched: boolean; + readonly value: number; +} + +declare var GamepadButton: { + prototype: GamepadButton; + new(): GamepadButton; +}; + +/** This Gamepad API interface contains references to gamepads connected to the system, which is what the gamepad events Window.gamepadconnected and Window.gamepaddisconnected are fired in response to. */ +interface GamepadEvent extends Event { + readonly gamepad: Gamepad; +} + +declare var GamepadEvent: { + prototype: GamepadEvent; + new(type: string, eventInitDict: GamepadEventInit): GamepadEvent; +}; + +/** This Gamepad API interface represents hardware in the controller designed to provide haptic feedback to the user (if available), most commonly vibration hardware. */ +interface GamepadHapticActuator { + readonly type: GamepadHapticActuatorType; +} + +declare var GamepadHapticActuator: { + prototype: GamepadHapticActuator; + new(): GamepadHapticActuator; +}; + +interface GenericTransformStream { + readonly readable: ReadableStream; + readonly writable: WritableStream; +} + +/** An object able to programmatically obtain the position of the device. It gives Web content access to the location of the device. This allows a Web site or app to offer customized results based on the user's location. */ +interface Geolocation { + clearWatch(watchId: number): void; + getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): void; + watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback | null, options?: PositionOptions): number; +} + +declare var Geolocation: { + prototype: Geolocation; + new(): Geolocation; +}; + +interface GeolocationCoordinates { + readonly accuracy: number; + readonly altitude: number | null; + readonly altitudeAccuracy: number | null; + readonly heading: number | null; + readonly latitude: number; + readonly longitude: number; + readonly speed: number | null; +} + +declare var GeolocationCoordinates: { + prototype: GeolocationCoordinates; + new(): GeolocationCoordinates; +}; + +interface GeolocationPosition { + readonly coords: GeolocationCoordinates; + readonly timestamp: DOMTimeStamp; +} + +declare var GeolocationPosition: { + prototype: GeolocationPosition; + new(): GeolocationPosition; +}; + +interface GeolocationPositionError { + readonly code: number; + readonly message: string; + readonly PERMISSION_DENIED: number; + readonly POSITION_UNAVAILABLE: number; + readonly TIMEOUT: number; +} + +declare var GeolocationPositionError: { + prototype: GeolocationPositionError; + new(): GeolocationPositionError; + readonly PERMISSION_DENIED: number; + readonly POSITION_UNAVAILABLE: number; + readonly TIMEOUT: number; +}; + +interface GlobalEventHandlersEventMap { + "abort": UIEvent; + "animationcancel": AnimationEvent; + "animationend": AnimationEvent; + "animationiteration": AnimationEvent; + "animationstart": AnimationEvent; + "auxclick": MouseEvent; + "beforeinput": InputEvent; + "blur": FocusEvent; + "canplay": Event; + "canplaythrough": Event; + "change": Event; + "click": MouseEvent; + "close": Event; + "compositionend": CompositionEvent; + "compositionstart": CompositionEvent; + "compositionupdate": CompositionEvent; + "contextmenu": MouseEvent; + "cuechange": Event; + "dblclick": MouseEvent; + "drag": DragEvent; + "dragend": DragEvent; + "dragenter": DragEvent; + "dragleave": DragEvent; + "dragover": DragEvent; + "dragstart": DragEvent; + "drop": DragEvent; + "durationchange": Event; + "emptied": Event; + "ended": Event; + "error": ErrorEvent; + "focus": FocusEvent; + "focusin": FocusEvent; + "focusout": FocusEvent; + "formdata": FormDataEvent; + "gotpointercapture": PointerEvent; + "input": Event; + "invalid": Event; + "keydown": KeyboardEvent; + "keypress": KeyboardEvent; + "keyup": KeyboardEvent; + "load": Event; + "loadeddata": Event; + "loadedmetadata": Event; + "loadstart": Event; + "lostpointercapture": PointerEvent; + "mousedown": MouseEvent; + "mouseenter": MouseEvent; + "mouseleave": MouseEvent; + "mousemove": MouseEvent; + "mouseout": MouseEvent; + "mouseover": MouseEvent; + "mouseup": MouseEvent; + "pause": Event; + "play": Event; + "playing": Event; + "pointercancel": PointerEvent; + "pointerdown": PointerEvent; + "pointerenter": PointerEvent; + "pointerleave": PointerEvent; + "pointermove": PointerEvent; + "pointerout": PointerEvent; + "pointerover": PointerEvent; + "pointerup": PointerEvent; + "progress": ProgressEvent; + "ratechange": Event; + "reset": Event; + "resize": UIEvent; + "scroll": Event; + "securitypolicyviolation": SecurityPolicyViolationEvent; + "seeked": Event; + "seeking": Event; + "select": Event; + "selectionchange": Event; + "selectstart": Event; + "stalled": Event; + "submit": Event; + "suspend": Event; + "timeupdate": Event; + "toggle": Event; + "touchcancel": TouchEvent; + "touchend": TouchEvent; + "touchmove": TouchEvent; + "touchstart": TouchEvent; + "transitioncancel": TransitionEvent; + "transitionend": TransitionEvent; + "transitionrun": TransitionEvent; + "transitionstart": TransitionEvent; + "volumechange": Event; + "waiting": Event; + "webkitanimationend": Event; + "webkitanimationiteration": Event; + "webkitanimationstart": Event; + "webkittransitionend": Event; + "wheel": WheelEvent; +} + +interface GlobalEventHandlers { + /** + * Fires when the user aborts the download. + * @param ev The event. + */ + onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null; + onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the object loses the input focus. + * @param ev The focus event. + */ + onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; + /** + * Occurs when playback is possible, but would require further buffering. + * @param ev The event. + */ + oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the contents of the object or selection have changed. + * @param ev The event. + */ + onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user clicks the left mouse button on the object + * @param ev The mouse event. + */ + onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user clicks the right mouse button in the client area, opening the context menu. + * @param ev The mouse event. + */ + oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user double-clicks the object. + * @param ev The mouse event. + */ + ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires on the source object continuously during a drag operation. + * @param ev The event. + */ + ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user releases the mouse at the close of a drag operation. + * @param ev The event. + */ + ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target element when the user drags the object to a valid drop target. + * @param ev The drag event. + */ + ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target object when the user moves the mouse out of a valid drop target during a drag operation. + * @param ev The drag event. + */ + ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the target element continuously while the user drags the object over a valid drop target. + * @param ev The event. + */ + ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Fires on the source object when the user starts to drag a text selection or selected object. + * @param ev The event. + */ + ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null; + /** + * Occurs when the duration attribute is updated. + * @param ev The event. + */ + ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the media element is reset to its initial state. + * @param ev The event. + */ + onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the end of playback is reached. + * @param ev The event + */ + onended: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when an error occurs during object loading. + * @param ev The event. + */ + onerror: OnErrorEventHandler; + /** + * Fires when the object receives focus. + * @param ev The event. + */ + onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null; + onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null; + ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null; + oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user presses a key. + * @param ev The keyboard event + */ + onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires when the user presses an alphanumeric key. + * @param ev The event. + * @deprecated + */ + onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires when the user releases a key. + * @param ev The keyboard event + */ + onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null; + /** + * Fires immediately after the browser loads the object. + * @param ev The event. + */ + onload: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when media data is loaded at the current playback position. + * @param ev The event. + */ + onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the duration and dimensions of the media have been determined. + * @param ev The event. + */ + onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when Internet Explorer begins looking for media data. + * @param ev The event. + */ + onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + /** + * Fires when the user clicks the object with either mouse button. + * @param ev The mouse event. + */ + onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse over the object. + * @param ev The mouse event. + */ + onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer outside the boundaries of the object. + * @param ev The mouse event. + */ + onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user moves the mouse pointer into the object. + * @param ev The mouse event. + */ + onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Fires when the user releases a mouse button while the mouse is over the object. + * @param ev The mouse event. + */ + onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null; + /** + * Occurs when playback is paused. + * @param ev The event. + */ + onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the play method is requested. + * @param ev The event. + */ + onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the audio or video has started playing. + * @param ev The event. + */ + onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null; + /** + * Occurs to indicate progress while downloading media data. + * @param ev The event. + */ + onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null; + /** + * Occurs when the playback rate is increased or decreased. + * @param ev The event. + */ + onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the user resets a form. + * @param ev The event. + */ + onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null; + /** + * Fires when the user repositions the scroll box in the scroll bar on the object. + * @param ev The event. + */ + onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the seek operation ends. + * @param ev The event. + */ + onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the current playback position is moved. + * @param ev The event. + */ + onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Fires when the current selection changes. + * @param ev The event. + */ + onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when the download has stopped. + * @param ev The event. + */ + onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onsubmit: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs if the load operation has been intentionally halted. + * @param ev The event. + */ + onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs to indicate the current playback position. + * @param ev The event. + */ + ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null; + ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null; + ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined; + ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null; + /** + * Occurs when the volume is changed, or playback is muted or unmuted. + * @param ev The event. + */ + onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null; + /** + * Occurs when playback stops because the next frame of a video resource is not available. + * @param ev The event. + */ + onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null; + onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null; + addEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: GlobalEventHandlers, ev: GlobalEventHandlersEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +interface HTMLAllCollection { + /** + * Returns the number of elements in the collection. + */ + readonly length: number; + /** + * Returns the item with index index from the collection (determined by tree order). + */ + item(nameOrIndex?: string): HTMLCollection | Element | null; + /** + * Returns the item with ID or name name from the collection. + * + * If there are multiple matching items, then an HTMLCollection object containing all those elements is returned. + * + * Only button, form, iframe, input, map, meta, object, select, and textarea elements can have a name for the purpose of this method; their name is given by the value of their name attribute. + */ + namedItem(name: string): HTMLCollection | Element | null; + [index: number]: Element; +} + +declare var HTMLAllCollection: { + prototype: HTMLAllCollection; + new(): HTMLAllCollection; +}; + +/** Hyperlink elements and provides special properties and methods (beyond those of the regular HTMLElement object interface that they inherit from) for manipulating the layout and presentation of such elements. */ +interface HTMLAnchorElement extends HTMLElement, HTMLHyperlinkElementUtils { + /** + * Sets or retrieves the character set used to encode the object. + * @deprecated + */ + charset: string; + /** + * Sets or retrieves the coordinates of the object. + * @deprecated + */ + coords: string; + download: string; + /** + * Sets or retrieves the language code of the object. + */ + hreflang: string; + /** + * Sets or retrieves the shape of the object. + * @deprecated + */ + name: string; + ping: string; + referrerPolicy: string; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + */ + rel: string; + readonly relList: DOMTokenList; + /** + * Sets or retrieves the relationship between the object and the destination of the link. + * @deprecated + */ + rev: string; + /** + * Sets or retrieves the shape of the object. + * @deprecated + */ + shape: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + /** + * Retrieves or sets the text of the object as a string. + */ + text: string; + type: string; + addEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAnchorElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAnchorElement: { + prototype: HTMLAnchorElement; + new(): HTMLAnchorElement; +}; + +/** Provides special properties and methods (beyond those of the regular object HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of elements. */ +interface HTMLAreaElement extends HTMLElement, HTMLHyperlinkElementUtils { + /** + * Sets or retrieves a text alternative to the graphic. + */ + alt: string; + /** + * Sets or retrieves the coordinates of the object. + */ + coords: string; + download: string; + /** + * Sets or gets whether clicks in this region cause action. + * @deprecated + */ + noHref: boolean; + ping: string; + referrerPolicy: string; + rel: string; + readonly relList: DOMTokenList; + /** + * Sets or retrieves the shape of the object. + */ + shape: string; + /** + * Sets or retrieves the window or frame at which to target content. + */ + target: string; + addEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void; + addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; + removeEventListener(type: K, listener: (this: HTMLAreaElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void; + removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; +} + +declare var HTMLAreaElement: { + prototype: HTMLAreaElement; + new(): HTMLAreaElement; +}; + +/** Provides access to the properties of